(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00ee":function(e,t,n){"use strict";var r=n("b622"),a=r("toStringTag"),o={};o[a]="z",e.exports="[object z]"===String(o)},"010e":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}});return t}))},"02fb":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}});return t}))},"0388":function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n("7a23"),a=n("0898");const o=Object(a["b"])({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,dotStyle:{type:Object(a["c"])([String,Object,Array])},badgeStyle:{type:Object(a["c"])([String,Object,Array])},offset:{type:Object(a["c"])(Array),default:[0,0]},dotClass:{type:String},badgeClass:{type:String}});var i=n("2711"),s=n("304f"),l=n("83ec"),c=n("0e69"),u=n("344d");const d=["textContent"],f=Object(r["defineComponent"])({name:"ElBadge"}),h=Object(r["defineComponent"])({...f,props:o,setup(e,{expose:t}){const n=e,a=Object(s["d"])("badge"),o=Object(r["computed"])(()=>n.isDot?"":Object(l["d"])(n.value)&&Object(l["d"])(n.max)?n.max<n.value?n.max+"+":0!==n.value||n.showZero?""+n.value:"":""+n.value),i=Object(r["computed"])(()=>{var e,t,r,a,o,i;return[{backgroundColor:n.color,marginRight:Object(c["b"])(-(null!=(t=null==(e=n.offset)?void 0:e[0])?t:0)),marginTop:Object(c["b"])(null!=(a=null==(r=n.offset)?void 0:r[1])?a:0)},null!=(o=n.dotStyle)?o:{},null!=(i=n.badgeStyle)?i:{}]});return Object(u["a"])({from:"dot-style",replacement:"badge-style",version:"2.8.0",scope:"el-badge",ref:"https://element-plus.org/en-US/component/badge.html"},Object(r["computed"])(()=>!!n.dotStyle)),Object(u["a"])({from:"dot-class",replacement:"badge-class",version:"2.8.0",scope:"el-badge",ref:"https://element-plus.org/en-US/component/badge.html"},Object(r["computed"])(()=>!!n.dotClass)),t({content:o}),(e,t)=>(Object(r["openBlock"])(),Object(r["createElementBlock"])("div",{class:Object(r["normalizeClass"])(Object(r["unref"])(a).b())},[Object(r["renderSlot"])(e.$slots,"default"),Object(r["createVNode"])(r["Transition"],{name:Object(r["unref"])(a).namespace.value+"-zoom-in-center",persisted:""},{default:Object(r["withCtx"])(()=>[Object(r["withDirectives"])(Object(r["createElementVNode"])("sup",{class:Object(r["normalizeClass"])([Object(r["unref"])(a).e("content"),Object(r["unref"])(a).em("content",e.type),Object(r["unref"])(a).is("fixed",!!e.$slots.default),Object(r["unref"])(a).is("dot",e.isDot),e.dotClass,e.badgeClass]),style:Object(r["normalizeStyle"])(Object(r["unref"])(i)),textContent:Object(r["toDisplayString"])(Object(r["unref"])(o))},null,14,d),[[r["vShow"],!e.hidden&&(Object(r["unref"])(o)||e.isDot)]])]),_:1},8,["name"])],2))}});var p=Object(i["a"])(h,[["__file","badge.vue"]]),m=n("0c24");const v=Object(m["a"])(p)},"03ec":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e){var t=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+t},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 t}))},"04f8":function(e,t,n){"use strict";var r=n("2d00"),a=n("d039"),o=n("da84"),i=o.String;e.exports=!!Object.getOwnPropertySymbols&&!a((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"0512c":function(e,t,n){var r=function(e){return e&&"undefined"!==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,l=function(e,t){for(var n in t)a(e,n,{get:t[n],enumerable:!0})},c=function(e,t,n,r){var l=!0,c=!1,u=void 0;if(t&&"object"==typeof t||"function"==typeof t)try{for(var d,f=function(i,l){var c=l.value;!s.call(e,c)&&c!==n&&a(e,c,{get:function(){return t[c]},enumerable:!(r=o(t,c))||r.enumerable})},h=i(t)[Symbol.iterator]();!(l=(d=h.next()).done);l=!0)f(h,d)}catch(p){c=!0,u=p}finally{try{l||null==h.return||h.return()}finally{if(c)throw u}}return e},u=function(e){return c(a({},"__esModule",{value:!0}),e)},d={};l(d,{default:function(){return z}}),e.exports=u(d);var f,h,p,m,v,b,g,y,O,w,_,j,k,x,S,C=!1;function M(){if(!C){C=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(j=/\b(iPhone|iP[ao]d)/.exec(e),k=/\b(iP[ao]d)/.exec(e),w=/Android/i.exec(e),x=/FBAN\/\w+;/i.exec(e),S=/Mobile/i.exec(e),_=!!/Win64/.exec(e),t){f=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,f&&document&&document.documentMode&&(f=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);b=r?parseFloat(r[1])+4:f,h=t[2]?parseFloat(t[2]):NaN,p=t[3]?parseFloat(t[3]):NaN,m=t[4]?parseFloat(t[4]):NaN,m?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),v=t&&t[1]?parseFloat(t[1]):NaN):v=NaN}else f=h=p=v=m=NaN;if(n){if(n[1]){var a=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);g=!a||parseFloat(a[1].replace("_","."))}else g=!1;y=!!n[2],O=!!n[3]}else g=y=O=!1}}var A,T={ie:function(){return M()||f},ieCompatibilityMode:function(){return M()||b>f},ie64:function(){return T.ie()&&_},firefox:function(){return M()||h},opera:function(){return M()||p},webkit:function(){return M()||m},safari:function(){return T.webkit()},chrome:function(){return M()||v},windows:function(){return M()||y},osx:function(){return M()||g},linux:function(){return M()||O},iphone:function(){return M()||j},mobile:function(){return M()||j||k||w||S},nativeApp:function(){return M()||x},android:function(){return M()||w},ipad:function(){return M()||k}},E=T,L=!!(("undefined"===typeof window?"undefined":r(window))<"u"&&window.document&&window.document.createElement),P={canUseDOM:L,canUseWorkers:("undefined"===typeof Worker?"undefined":r(Worker))<"u",canUseEventListeners:L&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:L&&!!window.screen,isInWorker:!L},D=P;function N(e,t){if(!D.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof a[n]}return!r&&A&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}D.canUseDOM&&(A=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""));var R=N,I=10,B=40,F=800;function V(e){var t=0,n=0,r=0,a=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*I,a=n*I,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||a)&&e.deltaMode&&(1==e.deltaMode?(r*=B,a*=B):(r*=F,a*=F)),r&&!t&&(t=r<1?-1:1),a&&!n&&(n=a<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:a}}V.getEventType=function(){return E.firefox()?"DOMMouseScroll":R("wheel")?"wheel":"mousewheel"};var z=V},"0558":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e){return e%100===11||e%10!==1}function n(e,n,r,a){var o=e+" ";switch(r){case"s":return n||a?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?o+(n||a?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?o+(n||a?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return t(e)?o+(n||a?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":a?"dag":"degi";case"dd":return t(e)?n?o+"dagar":o+(a?"daga":"dögum"):n?o+"dagur":o+(a?"dag":"degi");case"M":return n?"mánuður":a?"mánuð":"mánuði";case"MM":return t(e)?n?o+"mánuðir":o+(a?"mánuði":"mánuðum"):n?o+"mánuður":o+(a?"mánuð":"mánuði");case"y":return n||a?"ár":"ári";case"yy":return t(e)?o+(n||a?"ár":"árum"):o+(n||a?"ár":"ári")}}var r=e.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:n,ss:n,m:n,mm:n,h:"klukkustund",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 r}))},"06cf":function(e,t,n){"use strict";var r=n("83ab"),a=n("c65b"),o=n("d1e7"),i=n("5c6c"),s=n("fc6a"),l=n("a04b"),c=n("1a2d"),u=n("0cfb"),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=s(e),t=l(t),u)try{return d(e,t)}catch(n){}if(c(e,t))return i(!a(o.f,e,t),e[t])}},"0721":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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 t}))},"079e":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e,t){return"元"===t[1]?1:parseInt(t[1]||e,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(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},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 t}))},"07fa":function(e,t,n){"use strict";var r=n("50c4");e.exports=function(e){return r(e.length)}},"0898":function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return s}));var r=n("7a23"),a=n("d095"),o=n("7d20");const i="__epPropKey",s=e=>e,l=e=>Object(o["isObject"])(e)&&!!e[i],c=(e,t)=>{if(!Object(o["isObject"])(e)||l(e))return e;const{values:n,required:a,default:s,type:c,validator:u}=e,d=n||u?a=>{let i=!1,l=[];if(n&&(l=Array.from(n),Object(o["hasOwn"])(e,"default")&&l.push(s),i||(i=l.includes(a))),u&&(i||(i=u(a))),!i&&l.length>0){const e=[...new Set(l)].map(e=>JSON.stringify(e)).join(", ");Object(r["warn"])(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${e}], got value ${JSON.stringify(a)}.`)}return i}:void 0,f={type:c,required:!!a,validator:d,[i]:!0};return Object(o["hasOwn"])(e,"default")&&(f.default=s),f},u=e=>Object(a["fromPairs"])(Object.entries(e).map(([e,t])=>[e,c(t,e)]))},"0a06":function(e,t,n){"use strict";var r=n("c532"),a=n("30b5"),o=n("f6b49"),i=n("5270"),s=n("4a7b"),l=n("83b9"),c=n("848b"),u=c.validators;function d(e){this.defaults=e,this.interceptors={request:new o,response:new o}}d.prototype.request=function(e,t){"string"===typeof e?(t=t||{},t.url=e):t=e||{},t=s(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var r=[],a=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var o,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!a){var d=[i,void 0];Array.prototype.unshift.apply(d,r),d=d.concat(l),o=Promise.resolve(t);while(d.length)o=o.then(d.shift(),d.shift());return o}var f=t;while(r.length){var h=r.shift(),p=r.shift();try{f=h(f)}catch(m){p(m);break}}try{o=i(f)}catch(m){return Promise.reject(m)}while(l.length)o=o.then(l.shift(),l.shift());return o},d.prototype.getUri=function(e){e=s(this.defaults,e);var t=l(e.baseURL,e.url);return a(t,e.params,e.paramsSerializer)},r.forEach(["delete","get","head","options"],(function(e){d.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,a){return this.request(s(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}d.prototype[e]=t(),d.prototype[e+"Form"]=t(!0)})),e.exports=d},"0a08":function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return d}));var r=n("7a23"),a=n("83ec"),o=n("461c"),i=n("8afb");const s={current:0},l=Object(r["ref"])(0),c=2e3,u=Symbol("elZIndexContextKey"),d=Symbol("zIndexContextKey"),f=e=>{const t=Object(r["getCurrentInstance"])()?Object(r["inject"])(u,s):s,n=e||(Object(r["getCurrentInstance"])()?Object(r["inject"])(d,void 0):void 0),f=Object(r["computed"])(()=>{const e=Object(r["unref"])(n);return Object(a["d"])(e)?e:c}),h=Object(r["computed"])(()=>f.value+l.value),p=()=>(t.current++,l.value=t.current,h.value);return o["isClient"]||Object(r["inject"])(u)||Object(i["a"])("ZIndexInjection","Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed\nusage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })"),{initialZIndex:f,currentZIndex:h,nextZIndex:p}}},"0a3c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(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=e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,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:r,longMonthsParse:r,shortMonthsParse:r,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}))},"0a56":function(e,t,n){"use strict";(function(e,r){n.d(t,"a",(function(){return bt}));var a=n("7a23"),o=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},i=(e,t,n)=>(o(e,t,"read from private field"),n?n.call(e):t.get(e)),s=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},l=(e,t,n,r)=>(o(e,t,"write to private field"),t.set(e,n),n);const c=[["aztec","Aztec"],["code_128","Code128"],["code_39","Code39"],["code_93","Code93"],["codabar","Codabar"],["databar","DataBar"],["databar_expanded","DataBarExpanded"],["data_matrix","DataMatrix"],["dx_film_edge","DXFilmEdge"],["ean_13","EAN-13"],["ean_8","EAN-8"],["itf","ITF"],["maxi_code","MaxiCode"],["micro_qr_code","MicroQRCode"],["pdf417","PDF417"],["qr_code","QRCode"],["rm_qr_code","rMQRCode"],["upc_a","UPC-A"],["upc_e","UPC-E"],["linear_codes","Linear-Codes"],["matrix_codes","Matrix-Codes"]],u=[...c,["unknown"]].map(e=>e[0]),d=new Map(c);function f(e){for(const[t,n]of d)if(e===n)return t;return"unknown"}function h(e){if(p(e))return{width:e.naturalWidth,height:e.naturalHeight};if(m(e))return{width:e.width.baseVal.value,height:e.height.baseVal.value};if(v(e))return{width:e.videoWidth,height:e.videoHeight};if(g(e))return{width:e.width,height:e.height};if(O(e))return{width:e.displayWidth,height:e.displayHeight};if(b(e))return{width:e.width,height:e.height};if(y(e))return{width:e.width,height:e.height};throw new TypeError("The provided value is not of type '(Blob or HTMLCanvasElement or HTMLImageElement or HTMLVideoElement or ImageBitmap or ImageData or OffscreenCanvas or SVGImageElement or VideoFrame)'.")}function p(e){try{return e instanceof HTMLImageElement}catch(t){return!1}}function m(e){try{return e instanceof SVGImageElement}catch(t){return!1}}function v(e){try{return e instanceof HTMLVideoElement}catch(t){return!1}}function b(e){try{return e instanceof HTMLCanvasElement}catch(t){return!1}}function g(e){try{return e instanceof ImageBitmap}catch(t){return!1}}function y(e){try{return e instanceof OffscreenCanvas}catch(t){return!1}}function O(e){try{return e instanceof VideoFrame}catch(t){return!1}}function w(e){try{return e instanceof Blob}catch(t){return!1}}function _(e){try{return e instanceof ImageData}catch(t){return!1}}function j(e,t){try{const n=new OffscreenCanvas(e,t);if(n.getContext("2d")instanceof OffscreenCanvasRenderingContext2D)return n;throw void 0}catch(n){const r=document.createElement("canvas");return r.width=e,r.height=t,r}}async function k(e){if(p(e)&&!await M(e))throw new DOMException("Failed to load or decode HTMLImageElement.","InvalidStateError");if(m(e)&&!await A(e))throw new DOMException("Failed to load or decode SVGImageElement.","InvalidStateError");if(O(e)&&T(e))throw new DOMException("VideoFrame is closed.","InvalidStateError");if(v(e)&&(0===e.readyState||1===e.readyState))throw new DOMException("Invalid element or state.","InvalidStateError");if(g(e)&&L(e))throw new DOMException("The image source is detached.","InvalidStateError");const{width:t,height:n}=h(e);if(0===t||0===n)return null;const r=j(t,n).getContext("2d");r.drawImage(e,0,0);try{return r.getImageData(0,0,t,n)}catch(a){throw new DOMException("Source would taint origin.","SecurityError")}}async function x(e){let t;try{if(globalThis.createImageBitmap)t=await createImageBitmap(e);else{if(!globalThis.Image)return e;{t=new Image;let n="";try{n=URL.createObjectURL(e),t.src=n,await t.decode()}finally{URL.revokeObjectURL(n)}}}}catch(n){throw new DOMException("Failed to load or decode Blob.","InvalidStateError")}return await k(t)}function S(e){const{width:t,height:n}=e;if(0===t||0===n)return null;const r=e.getContext("2d");try{return r.getImageData(0,0,t,n)}catch(a){throw new DOMException("Source would taint origin.","SecurityError")}}async function C(e){if(w(e))return await x(e);if(_(e)){if(E(e))throw new DOMException("The image data has been detached.","InvalidStateError");return e}return b(e)||y(e)?S(e):await k(e)}async function M(e){try{return await e.decode(),!0}catch(t){return!1}}async function A(e){var t;try{return await(null==(t=e.decode)?void 0:t.call(e)),!0}catch(n){return!1}}function T(e){return null===e.format}function E(e){return 0===e.data.buffer.byteLength}function L(e){return 0===e.width&&0===e.height}function P(e,t){return e instanceof DOMException?new DOMException(`${t}: ${e.message}`,e.name):e instanceof Error?new e.constructor(`${t}: ${e.message}`):new Error(`${t}: ${e}`)}const D=["Aztec","Codabar","Code128","Code39","Code93","DataBar","DataBarExpanded","DataMatrix","DXFilmEdge","EAN-13","EAN-8","ITF","Linear-Codes","Matrix-Codes","MaxiCode","MicroQRCode","None","PDF417","QRCode","rMQRCode","UPC-A","UPC-E"];function N(e){return e.join("|")}function R(e){const t=I(e);let n=0,r=D.length-1;for(;n<=r;){const e=Math.floor((n+r)/2),a=D[e],o=I(a);if(o===t)return a;o<t?n=e+1:r=e-1}return"None"}function I(e){return e.toLowerCase().replace(/_-\[\]/g,"")}function B(e,t){return e.Binarizer[t]}function F(e,t){return e.CharacterSet[t]}const V=["Text","Binary","Mixed","GS1","ISO15434","UnknownECI"];function z(e){return V[e.value]}function H(e,t){return e.EanAddOnSymbol[t]}function Y(e,t){return e.TextMode[t]}const U={formats:[],tryHarder:!0,tryRotate:!0,tryInvert:!0,tryDownscale:!0,binarizer:"LocalAverage",isPure:!1,downscaleFactor:3,downscaleThreshold:500,minLineCount:2,maxNumberOfSymbols:255,tryCode39ExtendedMode:!1,validateCode39CheckSum:!1,validateITFCheckSum:!1,returnCodabarStartEnd:!1,returnErrors:!1,eanAddOnSymbol:"Read",textMode:"Plain",characterSet:"Unknown"};function W(e,t){return{...t,formats:N(t.formats),binarizer:B(e,t.binarizer),eanAddOnSymbol:H(e,t.eanAddOnSymbol),textMode:Y(e,t.textMode),characterSet:F(e,t.characterSet)}}function $(e){return{...e,format:R(e.format),eccLevel:e.eccLevel,contentType:z(e.contentType)}}const q={locateFile:(e,t)=>{const n=e.match(/_(.+?)\.wasm$/);return n?`https://fastly.jsdelivr.net/npm/zxing-wasm@1.1.3/dist/${n[1]}/${e}`:t+e}};let G=new WeakMap;function X(e,t){var n;const r=G.get(e);if(null!=r&&r.modulePromise&&void 0===t)return r.modulePromise;const a=null!=(n=null==r?void 0:r.moduleOverrides)?n:q,o=e({...a});return G.set(e,{moduleOverrides:a,modulePromise:o}),o}async function K(e,t,n=U){const r={...U,...n},a=await X(e),{size:o}=t,i=new Uint8Array(await t.arrayBuffer()),s=a._malloc(o);a.HEAPU8.set(i,s);const l=a.readBarcodesFromImage(s,o,W(a,r));a._free(s);const c=[];for(let u=0;u<l.size();++u)c.push($(l.get(u)));return c}async function J(e,t,n=U){const r={...U,...n},a=await X(e),{data:o,width:i,height:s,data:{byteLength:l}}=t,c=a._malloc(l);a.HEAPU8.set(o,c);const u=a.readBarcodesFromPixmap(c,i,s,W(a,r));a._free(c);const d=[];for(let f=0;f<u.size();++f)d.push($(u.get(f)));return d}U.formats;var Z,Q=(()=>{var t=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0;return function(n={}){var a,o,i=n;i.ready=new Promise((e,t)=>{a=e,o=t});var s=Object.assign({},i),l="./this.program",c="object"==typeof window,u="function"==typeof importScripts;"object"==typeof e&&"object"==typeof e.versions&&e.versions.node;var d,f="";function h(e){return i.locateFile?i.locateFile(e,f):f+e}(c||u)&&(u?f=self.location.href:typeof document<"u"&&document.currentScript&&(f=document.currentScript.src),t&&(f=t),f=0!==f.indexOf("blob:")?f.substr(0,f.replace(/[?#].*/,"").lastIndexOf("/")+1):"",u&&(d=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)})),i.print||console.log.bind(console);var p,m=i.printErr||console.error.bind(console);Object.assign(i,s),s=null,i.arguments&&i.arguments,i.thisProgram&&(l=i.thisProgram),i.quit&&i.quit,i.wasmBinary&&(p=i.wasmBinary),"object"!=typeof WebAssembly&&V("no native wasm support detected");var v,b,g,y,O,w,_,j,k,x=!1;function S(){var e=v.buffer;i.HEAP8=b=new Int8Array(e),i.HEAP16=y=new Int16Array(e),i.HEAPU8=g=new Uint8Array(e),i.HEAPU16=O=new Uint16Array(e),i.HEAP32=w=new Int32Array(e),i.HEAPU32=_=new Uint32Array(e),i.HEAPF32=j=new Float32Array(e),i.HEAPF64=k=new Float64Array(e)}var C=[],M=[],A=[];function T(){if(i.preRun)for("function"==typeof i.preRun&&(i.preRun=[i.preRun]);i.preRun.length;)P(i.preRun.shift());X(C)}function E(){X(M)}function L(){if(i.postRun)for("function"==typeof i.postRun&&(i.postRun=[i.postRun]);i.postRun.length;)N(i.postRun.shift());X(A)}function P(e){C.unshift(e)}function D(e){M.unshift(e)}function N(e){A.unshift(e)}var R=0,I=null;function B(e){var t;R++,null===(t=i.monitorRunDependencies)||void 0===t||t.call(i,R)}function F(e){var t;if(R--,null===(t=i.monitorRunDependencies)||void 0===t||t.call(i,R),0==R&&I){var n=I;I=null,n()}}function V(e){var t;null===(t=i.onAbort)||void 0===t||t.call(i,e),e="Aborted("+e+")",m(e),x=!0,e+=". Build with -sASSERTIONS for more info.";var n=new WebAssembly.RuntimeError(e);throw o(n),n}var z,H="data:application/octet-stream;base64,",Y=e=>e.startsWith(H);function U(e){if(e==z&&p)return new Uint8Array(p);if(d)return d(e);throw"both async and sync fetching of the wasm failed"}function W(e){return p||!c&&!u||"function"!=typeof fetch?Promise.resolve().then(()=>U(e)):fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw"failed to load wasm binary file at '"+e+"'";return t.arrayBuffer()}).catch(()=>U(e))}function $(e,t,n){return W(e).then(e=>WebAssembly.instantiate(e,t)).then(e=>e).then(n,e=>{m("failed to asynchronously prepare wasm: "+e),V(e)})}function q(e,t,n,r){return e||"function"!=typeof WebAssembly.instantiateStreaming||Y(t)||"function"!=typeof fetch?$(t,n,r):fetch(t,{credentials:"same-origin"}).then(e=>{var a=WebAssembly.instantiateStreaming(e,n);return a.then(r,(function(e){return m("wasm streaming compile failed: "+e),m("falling back to ArrayBuffer instantiation"),$(t,n,r)}))})}function G(){var e={a:Jn};function t(e,t){return Zn=e.exports,v=Zn.ia,S(),ht=Zn.ma,D(Zn.ja),F(),Zn}function n(e){t(e.instance)}if(B(),i.instantiateWasm)try{return i.instantiateWasm(e,t)}catch(r){m("Module.instantiateWasm callback failed with error: "+r),o(r)}return q(p,z,e,n).catch(o),{}}z="zxing_reader.wasm",Y(z)||(z=h(z));var X=e=>{for(;e.length>0;)e.shift()(i)};i.noExitRuntime;var K=[],J=0,Z=e=>{var t=new te(e);return t.get_caught()||(t.set_caught(!0),J--),t.set_rethrown(!1),K.push(t),sr(t.excPtr),t.get_exception_ptr()},Q=0,ee=()=>{nr(0,0);var e=K.pop();ir(e.excPtr),Q=0};function te(e){this.excPtr=e,this.ptr=e-24,this.set_type=function(e){_[this.ptr+4>>2]=e},this.get_type=function(){return _[this.ptr+4>>2]},this.set_destructor=function(e){_[this.ptr+8>>2]=e},this.get_destructor=function(){return _[this.ptr+8>>2]},this.set_caught=function(e){e=e?1:0,b[this.ptr+12>>0]=e},this.get_caught=function(){return 0!=b[this.ptr+12>>0]},this.set_rethrown=function(e){e=e?1:0,b[this.ptr+13>>0]=e},this.get_rethrown=function(){return 0!=b[this.ptr+13>>0]},this.init=function(e,t){this.set_adjusted_ptr(0),this.set_type(e),this.set_destructor(t)},this.set_adjusted_ptr=function(e){_[this.ptr+16>>2]=e},this.get_adjusted_ptr=function(){return _[this.ptr+16>>2]},this.get_exception_ptr=function(){var e=cr(this.get_type());if(e)return _[this.excPtr>>2];var t=this.get_adjusted_ptr();return 0!==t?t:this.excPtr}}var ne=e=>{throw Q||(Q=e),Q},re=e=>{var t=Q;if(!t)return rr(0),0;var n=new te(t);n.set_adjusted_ptr(t);var r=n.get_type();if(!r)return rr(0),t;for(var a in e){var o=e[a];if(0===o||o===r)break;var i=n.ptr+16;if(lr(o,r,i))return rr(o),t}return rr(r),t},ae=()=>re([]),oe=e=>re([e]),ie=(e,t)=>re([e,t]),se=()=>{var e=K.pop();e||V("no exception to throw");var t=e.excPtr;throw e.get_rethrown()||(K.push(e),e.set_rethrown(!0),e.set_caught(!1),J++),Q=t,Q},le=(e,t,n)=>{var r=new te(e);throw r.init(t,n),Q=e,J++,Q},ce=()=>J,ue={},de=e=>{for(;e.length;){var t=e.pop(),n=e.pop();n(t)}};function fe(e){return this.fromWireType(w[e>>2])}var he,pe,me,ve={},be={},ge={},ye=e=>{throw new he(e)},Oe=(e,t,n)=>{function r(t){var r=n(t);r.length!==e.length&&ye("Mismatched type converter count");for(var a=0;a<e.length;++a)Ce(e[a],r[a])}e.forEach((function(e){ge[e]=t}));var a=new Array(t.length),o=[],i=0;t.forEach((e,t)=>{be.hasOwnProperty(e)?a[t]=be[e]:(o.push(e),ve.hasOwnProperty(e)||(ve[e]=[]),ve[e].push(()=>{a[t]=be[e],++i,i===o.length&&r(a)}))}),0===o.length&&r(a)},we=e=>{var t=ue[e];delete ue[e];var n=t.rawConstructor,r=t.rawDestructor,a=t.fields,o=a.map(e=>e.getterReturnType).concat(a.map(e=>e.setterArgumentType));Oe([e],o,e=>{var o={};return a.forEach((t,n)=>{var r=t.fieldName,i=e[n],s=t.getter,l=t.getterContext,c=e[n+a.length],u=t.setter,d=t.setterContext;o[r]={read:e=>i.fromWireType(s(l,e)),write:(e,t)=>{var n=[];u(d,e,c.toWireType(n,t)),de(n)}}}),[{name:t.name,fromWireType:e=>{var t={};for(var n in o)t[n]=o[n].read(e);return r(e),t},toWireType:(e,t)=>{for(var a in o)if(!(a in t))throw new TypeError(`Missing field: "${a}"`);var i=n();for(a in o)o[a].write(i,t[a]);return null!==e&&e.push(r,i),i},argPackAdvance:Ae,readValueFromPointer:fe,destructorFunction:r}]})},_e=(e,t,n,r,a)=>{},je=()=>{for(var e=new Array(256),t=0;t<256;++t)e[t]=String.fromCharCode(t);pe=e},ke=e=>{for(var t="",n=e;g[n];)t+=pe[g[n++]];return t},xe=e=>{throw new me(e)};function Se(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var r=t.name;if(e||xe(`type "${r}" must have a positive integer typeid pointer`),be.hasOwnProperty(e)){if(n.ignoreDuplicateRegistrations)return;xe(`Cannot register type '${r}' twice`)}if(be[e]=t,delete ge[e],ve.hasOwnProperty(e)){var a=ve[e];delete ve[e],a.forEach(e=>e())}}function Ce(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");return Se(e,t,n)}var Me,Ae=8,Te=(e,t,n,r)=>{t=ke(t),Ce(e,{name:t,fromWireType:function(e){return!!e},toWireType:function(e,t){return t?n:r},argPackAdvance:Ae,readValueFromPointer:function(e){return this.fromWireType(g[e])},destructorFunction:null})},Ee=e=>({count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType}),Le=e=>{function t(e){return e.$$.ptrType.registeredClass.name}xe(t(e)+" instance already deleted")},Pe=!1,De=e=>{},Ne=e=>{e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)},Re=e=>{e.count.value-=1;var t=0===e.count.value;t&&Ne(e)},Ie=(e,t,n)=>{if(t===n)return e;if(void 0===n.baseClass)return null;var r=Ie(e,t,n.baseClass);return null===r?null:n.downcast(r)},Be={},Fe=()=>Object.keys(We).length,Ve=()=>{var e=[];for(var t in We)We.hasOwnProperty(t)&&e.push(We[t]);return e},ze=[],He=()=>{for(;ze.length;){var e=ze.pop();e.$$.deleteScheduled=!1,e.delete()}},Ye=e=>{Me=e,ze.length&&Me&&Me(He)},Ue=()=>{i.getInheritedInstanceCount=Fe,i.getLiveInheritedInstances=Ve,i.flushPendingDeletes=He,i.setDelayFunction=Ye},We={},$e=(e,t)=>{for(void 0===t&&xe("ptr should not be undefined");e.baseClass;)t=e.upcast(t),e=e.baseClass;return t},qe=(e,t)=>(t=$e(e,t),We[t]),Ge=(e,t)=>{(!t.ptrType||!t.ptr)&&ye("makeClassHandle requires ptr and ptrType");var n=!!t.smartPtrType,r=!!t.smartPtr;return n!==r&&ye("Both smartPtrType and smartPtr must be specified"),t.count={value:1},Ke(Object.create(e,{$$:{value:t,writable:!0}}))};function Xe(e){var t=this.getPointee(e);if(!t)return this.destructor(e),null;var n=qe(this.registeredClass,t);if(void 0!==n){if(0===n.$$.count.value)return n.$$.ptr=t,n.$$.smartPtr=e,n.clone();var r=n.clone();return this.destructor(e),r}function a(){return this.isSmartPointer?Ge(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):Ge(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var o,i=this.registeredClass.getActualType(t),s=Be[i];if(!s)return a.call(this);o=this.isConst?s.constPointerType:s.pointerType;var l=Ie(t,this.registeredClass,o.registeredClass);return null===l?a.call(this):this.isSmartPointer?Ge(o.registeredClass.instancePrototype,{ptrType:o,ptr:l,smartPtrType:this,smartPtr:e}):Ge(o.registeredClass.instancePrototype,{ptrType:o,ptr:l})}var Ke=e=>typeof FinalizationRegistry>"u"?(Ke=e=>e,e):(Pe=new FinalizationRegistry(e=>{Re(e.$$)}),Ke=e=>{var t=e.$$,n=!!t.smartPtr;if(n){var r={$$:t};Pe.register(e,r,e)}return e},De=e=>Pe.unregister(e),Ke(e)),Je=()=>{Object.assign(Ze.prototype,{isAliasOf(e){if(!(this instanceof Ze)||!(e instanceof Ze))return!1;var t=this.$$.ptrType.registeredClass,n=this.$$.ptr;e.$$=e.$$;for(var r=e.$$.ptrType.registeredClass,a=e.$$.ptr;t.baseClass;)n=t.upcast(n),t=t.baseClass;for(;r.baseClass;)a=r.upcast(a),r=r.baseClass;return t===r&&n===a},clone(){if(this.$$.ptr||Le(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e=Ke(Object.create(Object.getPrototypeOf(this),{$$:{value:Ee(this.$$)}}));return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e},delete(){this.$$.ptr||Le(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&xe("Object already scheduled for deletion"),De(this),Re(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||Le(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&xe("Object already scheduled for deletion"),ze.push(this),1===ze.length&&Me&&Me(He),this.$$.deleteScheduled=!0,this}})};function Ze(){}var Qe=(e,t)=>Object.defineProperty(t,"name",{value:e}),et=(e,t,n)=>{if(void 0===e[t].overloadTable){var r=e[t];e[t]=function(){return e[t].overloadTable.hasOwnProperty(arguments.length)||xe(`Function '${n}' called with an invalid number of arguments (${arguments.length}) - expects one of (${e[t].overloadTable})!`),e[t].overloadTable[arguments.length].apply(this,arguments)},e[t].overloadTable=[],e[t].overloadTable[r.argCount]=r}},tt=(e,t,n)=>{i.hasOwnProperty(e)?((void 0===n||void 0!==i[e].overloadTable&&void 0!==i[e].overloadTable[n])&&xe(`Cannot register public name '${e}' twice`),et(i,e,e),i.hasOwnProperty(n)&&xe(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`),i[e].overloadTable[n]=t):(i[e]=t,void 0!==n&&(i[e].numArguments=n))},nt=48,rt=57,at=e=>{if(void 0===e)return"_unknown";e=e.replace(/[^a-zA-Z0-9_]/g,"$");var t=e.charCodeAt(0);return t>=nt&&t<=rt?"_"+e:e};function ot(e,t,n,r,a,o,i,s){this.name=e,this.constructor=t,this.instancePrototype=n,this.rawDestructor=r,this.baseClass=a,this.getActualType=o,this.upcast=i,this.downcast=s,this.pureVirtualFunctions=[]}var it=(e,t,n)=>{for(;t!==n;)t.upcast||xe(`Expected null or instance of ${n.name}, got an instance of ${t.name}`),e=t.upcast(e),t=t.baseClass;return e};function st(e,t){if(null===t)return this.isReference&&xe("null is not a valid "+this.name),0;t.$$||xe(`Cannot pass "${Ut(t)}" as a ${this.name}`),t.$$.ptr||xe("Cannot pass deleted object as a pointer of type "+this.name);var n=t.$$.ptrType.registeredClass,r=it(t.$$.ptr,n,this.registeredClass);return r}function lt(e,t){var n;if(null===t)return this.isReference&&xe("null is not a valid "+this.name),this.isSmartPointer?(n=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,n),n):0;(!t||!t.$$)&&xe(`Cannot pass "${Ut(t)}" as a ${this.name}`),t.$$.ptr||xe("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&t.$$.ptrType.isConst&&xe(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);var r=t.$$.ptrType.registeredClass;if(n=it(t.$$.ptr,r,this.registeredClass),this.isSmartPointer)switch(void 0===t.$$.smartPtr&&xe("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?n=t.$$.smartPtr:xe(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:n=t.$$.smartPtr;break;case 2:if(t.$$.smartPtrType===this)n=t.$$.smartPtr;else{var a=t.clone();n=this.rawShare(n,Bt.toHandle(()=>a.delete())),null!==e&&e.push(this.rawDestructor,n)}break;default:xe("Unsupporting sharing policy")}return n}function ct(e,t){if(null===t)return this.isReference&&xe("null is not a valid "+this.name),0;t.$$||xe(`Cannot pass "${Ut(t)}" as a ${this.name}`),t.$$.ptr||xe("Cannot pass deleted object as a pointer of type "+this.name),t.$$.ptrType.isConst&&xe(`Cannot convert argument of type ${t.$$.ptrType.name} to parameter type ${this.name}`);var n=t.$$.ptrType.registeredClass,r=it(t.$$.ptr,n,this.registeredClass);return r}function ut(e){return this.fromWireType(_[e>>2])}var dt=()=>{Object.assign(ft.prototype,{getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},destructor(e){var t;null===(t=this.rawDestructor)||void 0===t||t.call(this,e)},argPackAdvance:Ae,readValueFromPointer:ut,deleteObject(e){null!==e&&e.delete()},fromWireType:Xe})};function ft(e,t,n,r,a,o,i,s,l,c,u){this.name=e,this.registeredClass=t,this.isReference=n,this.isConst=r,this.isSmartPointer=a,this.pointeeType=o,this.sharingPolicy=i,this.rawGetPointee=s,this.rawConstructor=l,this.rawShare=c,this.rawDestructor=u,a||void 0!==t.baseClass?this.toWireType=lt:r?(this.toWireType=st,this.destructorFunction=null):(this.toWireType=ct,this.destructorFunction=null)}var ht,pt,mt=(e,t,n)=>{i.hasOwnProperty(e)||ye("Replacing nonexistant public symbol"),void 0!==i[e].overloadTable&&void 0!==n?i[e].overloadTable[n]=t:(i[e]=t,i[e].argCount=n)},vt=(e,t,n)=>{var r=i["dynCall_"+e];return n&&n.length?r.apply(null,[t].concat(n)):r.call(null,t)},bt=[],gt=e=>{var t=bt[e];return t||(e>=bt.length&&(bt.length=e+1),bt[e]=t=ht.get(e)),t},yt=(e,t,n)=>{if(e.includes("j"))return vt(e,t,n);var r=gt(t).apply(null,n);return r},Ot=(e,t)=>{var n=[];return function(){return n.length=0,Object.assign(n,arguments),yt(e,t,n)}},wt=(e,t)=>{function n(){return e.includes("j")?Ot(e,t):gt(t)}e=ke(e);var r=n();return"function"!=typeof r&&xe(`unknown function pointer with signature ${e}: ${t}`),r},_t=(e,t)=>{var n=Qe(t,(function(e){this.name=t,this.message=e;var n=new Error(e).stack;void 0!==n&&(this.stack=this.toString()+"\n"+n.replace(/^Error(:[^\n]*)?\n/,""))}));return n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},n},jt=e=>{var t=tr(e),n=ke(t);return Qn(t),n},kt=(e,t)=>{var n=[],r={};function a(e){if(!r[e]&&!be[e]){if(ge[e])return void ge[e].forEach(a);n.push(e),r[e]=!0}}throw t.forEach(a),new pt(e+": "+n.map(jt).join([", "]))},xt=(e,t,n,r,a,o,i,s,l,c,u,d,f)=>{u=ke(u),o=wt(a,o),s&&(s=wt(i,s)),c&&(c=wt(l,c)),f=wt(d,f);var h=at(u);tt(h,(function(){kt(`Cannot construct ${u} due to unbound types`,[r])})),Oe([e,t,n],r?[r]:[],(function(t){var n,a;t=t[0],r?(n=t.registeredClass,a=n.instancePrototype):a=Ze.prototype;var i=Qe(u,(function(){if(Object.getPrototypeOf(this)!==l)throw new me("Use 'new' to construct "+u);if(void 0===m.constructor_body)throw new me(u+" has no accessible constructor");var e=m.constructor_body[arguments.length];if(void 0===e)throw new me(`Tried to invoke ctor of ${u} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(m.constructor_body).toString()}) parameters instead!`);return e.apply(this,arguments)})),l=Object.create(a,{constructor:{value:i}});i.prototype=l;var d,p,m=new ot(u,i,l,f,n,o,s,c);m.baseClass&&(null!==(p=(d=m.baseClass).__derivedClasses)&&void 0!==p||(d.__derivedClasses=[]),m.baseClass.__derivedClasses.push(m));var v=new ft(u,m,!0,!1,!1),b=new ft(u+"*",m,!1,!1,!1),g=new ft(u+" const*",m,!1,!0,!1);return Be[e]={pointerType:b,constPointerType:g},mt(h,i),[v,b,g]}))},St=(e,t)=>{for(var n=[],r=0;r<e;r++)n.push(_[t+4*r>>2]);return n};function Ct(e){for(var t=1;t<e.length;++t)if(null!==e[t]&&void 0===e[t].destructorFunction)return!0;return!1}function Mt(e,t,n,r,a,o){var i=t.length;i<2&&xe("argTypes array size mismatch! Must at least get return value and 'this' types!");var s=null!==t[1]&&null!==n,l=Ct(t),c="void"!==t[0].name,u=i-2,d=new Array(u),f=[],h=[],p=function(){var n;arguments.length!==u&&xe(`function ${e} called with ${arguments.length} arguments, expected ${u}`),h.length=0,f.length=s?2:1,f[0]=a,s&&(n=t[1].toWireType(h,this),f[1]=n);for(var o=0;o<u;++o)d[o]=t[o+2].toWireType(h,arguments[o]),f.push(d[o]);var i=r.apply(null,f);function p(e){if(l)de(h);else for(var r=s?1:2;r<t.length;r++){var a=1===r?n:d[r-2];null!==t[r].destructorFunction&&t[r].destructorFunction(a)}if(c)return t[0].fromWireType(e)}return p(i)};return Qe(e,p)}var At=(e,t,n,r,a,o)=>{var i=St(t,n);a=wt(r,a),Oe([],[e],(function(e){e=e[0];var n="constructor "+e.name;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[t-1])throw new me(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class '${e.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return e.registeredClass.constructor_body[t-1]=()=>{kt(`Cannot construct ${e.name} due to unbound types`,i)},Oe([],i,r=>(r.splice(1,0,null),e.registeredClass.constructor_body[t-1]=Mt(n,r,null,a,o),[])),[]}))},Tt=e=>{e=e.trim();const t=e.indexOf("(");return-1!==t?e.substr(0,t):e},Et=(e,t,n,r,a,o,i,s,l)=>{var c=St(n,r);t=ke(t),t=Tt(t),o=wt(a,o),Oe([],[e],(function(e){e=e[0];var r=`${e.name}.${t}`;function a(){kt(`Cannot call ${r} due to unbound types`,c)}t.startsWith("@@")&&(t=Symbol[t.substring(2)]),s&&e.registeredClass.pureVirtualFunctions.push(t);var l=e.registeredClass.instancePrototype,u=l[t];return void 0===u||void 0===u.overloadTable&&u.className!==e.name&&u.argCount===n-2?(a.argCount=n-2,a.className=e.name,l[t]=a):(et(l,t,r),l[t].overloadTable[n-2]=a),Oe([],c,(function(a){var s=Mt(r,a,e,o,i);return void 0===l[t].overloadTable?(s.argCount=n-2,l[t]=s):l[t].overloadTable[n-2]=s,[]})),[]}))};function Lt(){Object.assign(Pt.prototype,{get(e){return this.allocated[e]},has(e){return void 0!==this.allocated[e]},allocate(e){var t=this.freelist.pop()||this.allocated.length;return this.allocated[t]=e,t},free(e){this.allocated[e]=void 0,this.freelist.push(e)}})}function Pt(){this.allocated=[void 0],this.freelist=[]}var Dt=new Pt,Nt=e=>{e>=Dt.reserved&&0===--Dt.get(e).refcount&&Dt.free(e)},Rt=()=>{for(var e=0,t=Dt.reserved;t<Dt.allocated.length;++t)void 0!==Dt.allocated[t]&&++e;return e},It=()=>{Dt.allocated.push({value:void 0},{value:null},{value:!0},{value:!1}),Dt.reserved=Dt.allocated.length,i.count_emval_handles=Rt},Bt={toValue:e=>(e||xe("Cannot use deleted val. handle = "+e),Dt.get(e).value),toHandle:e=>{switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:return Dt.allocate({refcount:1,value:e})}}},Ft=(e,t)=>{t=ke(t),Ce(e,{name:t,fromWireType:e=>{var t=Bt.toValue(e);return Nt(e),t},toWireType:(e,t)=>Bt.toHandle(t),argPackAdvance:Ae,readValueFromPointer:fe,destructorFunction:null})},Vt=(e,t,n)=>{switch(t){case 1:return n?function(e){return this.fromWireType(b[e>>0])}:function(e){return this.fromWireType(g[e>>0])};case 2:return n?function(e){return this.fromWireType(y[e>>1])}:function(e){return this.fromWireType(O[e>>1])};case 4:return n?function(e){return this.fromWireType(w[e>>2])}:function(e){return this.fromWireType(_[e>>2])};default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},zt=(e,t,n,r)=>{function a(){}t=ke(t),a.values={},Ce(e,{name:t,constructor:a,fromWireType:function(e){return this.constructor.values[e]},toWireType:(e,t)=>t.value,argPackAdvance:Ae,readValueFromPointer:Vt(t,n,r),destructorFunction:null}),tt(t,a)},Ht=(e,t)=>{var n=be[e];return void 0===n&&xe(t+" has unknown type "+jt(e)),n},Yt=(e,t,n)=>{var r=Ht(e,"enum");t=ke(t);var a=r.constructor,o=Object.create(r.constructor.prototype,{value:{value:n},constructor:{value:Qe(`${r.name}_${t}`,(function(){}))}});a.values[n]=o,a[t]=o},Ut=e=>{if(null===e)return"null";var t=typeof e;return"object"===t||"array"===t||"function"===t?e.toString():""+e},Wt=(e,t)=>{switch(t){case 4:return function(e){return this.fromWireType(j[e>>2])};case 8:return function(e){return this.fromWireType(k[e>>3])};default:throw new TypeError(`invalid float width (${t}): ${e}`)}},$t=(e,t,n)=>{t=ke(t),Ce(e,{name:t,fromWireType:e=>e,toWireType:(e,t)=>t,argPackAdvance:Ae,readValueFromPointer:Wt(t,n),destructorFunction:null})},qt=(e,t,n,r,a,o,i)=>{var s=St(t,n);e=ke(e),e=Tt(e),a=wt(r,a),tt(e,(function(){kt(`Cannot call ${e} due to unbound types`,s)}),t-1),Oe([],s,(function(n){var r=[n[0],null].concat(n.slice(1));return mt(e,Mt(e,r,null,a,o),t-1),[]}))},Gt=(e,t,n)=>{switch(t){case 1:return n?e=>b[e>>0]:e=>g[e>>0];case 2:return n?e=>y[e>>1]:e=>O[e>>1];case 4:return n?e=>w[e>>2]:e=>_[e>>2];default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},Xt=(e,t,n,r,a)=>{t=ke(t);var o=e=>e;if(0===r){var i=32-8*n;o=e=>e<<i>>>i}var s,l=t.includes("unsigned"),c=(e,t)=>{};s=l?function(e,t){return c(t,this.name),t>>>0}:function(e,t){return c(t,this.name),t},Ce(e,{name:t,fromWireType:o,toWireType:s,argPackAdvance:Ae,readValueFromPointer:Gt(t,n,0!==r),destructorFunction:null})},Kt=(e,t,n)=>{var r=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],a=r[t];function o(e){var t=_[e>>2],n=_[e+4>>2];return new a(b.buffer,n,t)}n=ke(n),Ce(e,{name:n,fromWireType:o,argPackAdvance:Ae,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},Jt=(e,t,n,r)=>{if(!(r>0))return 0;for(var a=n,o=n+r-1,i=0;i<e.length;++i){var s=e.charCodeAt(i);if(s>=55296&&s<=57343){var l=e.charCodeAt(++i);s=65536+((1023&s)<<10)|1023&l}if(s<=127){if(n>=o)break;t[n++]=s}else if(s<=2047){if(n+1>=o)break;t[n++]=192|s>>6,t[n++]=128|63&s}else if(s<=65535){if(n+2>=o)break;t[n++]=224|s>>12,t[n++]=128|s>>6&63,t[n++]=128|63&s}else{if(n+3>=o)break;t[n++]=240|s>>18,t[n++]=128|s>>12&63,t[n++]=128|s>>6&63,t[n++]=128|63&s}}return t[n]=0,n-a},Zt=(e,t,n)=>Jt(e,g,t,n),Qt=e=>{for(var t=0,n=0;n<e.length;++n){var r=e.charCodeAt(n);r<=127?t++:r<=2047?t+=2:r>=55296&&r<=57343?(t+=4,++n):t+=3}return t},en=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0,tn=(e,t,n)=>{for(var r=t+n,a=t;e[a]&&!(a>=r);)++a;if(a-t>16&&e.buffer&&en)return en.decode(e.subarray(t,a));for(var o="";t<a;){var i=e[t++];if(128&i){var s=63&e[t++];if(192!=(224&i)){var l=63&e[t++];if(i=224==(240&i)?(15&i)<<12|s<<6|l:(7&i)<<18|s<<12|l<<6|63&e[t++],i<65536)o+=String.fromCharCode(i);else{var c=i-65536;o+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else o+=String.fromCharCode((31&i)<<6|s)}else o+=String.fromCharCode(i)}return o},nn=(e,t)=>e?tn(g,e,t):"",rn=(e,t)=>{t=ke(t);var n="std::string"===t;Ce(e,{name:t,fromWireType(e){var t,r=_[e>>2],a=e+4;if(n)for(var o=a,i=0;i<=r;++i){var s=a+i;if(i==r||0==g[s]){var l=s-o,c=nn(o,l);void 0===t?t=c:(t+="\0",t+=c),o=s+1}}else{var u=new Array(r);for(i=0;i<r;++i)u[i]=String.fromCharCode(g[a+i]);t=u.join("")}return Qn(e),t},toWireType(e,t){t instanceof ArrayBuffer&&(t=new Uint8Array(t));var r,a="string"==typeof t;a||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Int8Array||xe("Cannot pass non-string to std::string"),r=n&&a?Qt(t):t.length;var o=er(4+r+1),i=o+4;if(_[o>>2]=r,n&&a)Zt(t,i,r+1);else if(a)for(var s=0;s<r;++s){var l=t.charCodeAt(s);l>255&&(Qn(i),xe("String has UTF-16 code units that do not fit in 8 bits")),g[i+s]=l}else for(s=0;s<r;++s)g[i+s]=t[s];return null!==e&&e.push(Qn,o),o},argPackAdvance:Ae,readValueFromPointer:ut,destructorFunction(e){Qn(e)}})},an=typeof TextDecoder<"u"?new TextDecoder("utf-16le"):void 0,on=(e,t)=>{for(var n=e,r=n>>1,a=r+t/2;!(r>=a)&&O[r];)++r;if(n=r<<1,n-e>32&&an)return an.decode(g.subarray(e,n));for(var o="",i=0;!(i>=t/2);++i){var s=y[e+2*i>>1];if(0==s)break;o+=String.fromCharCode(s)}return o},sn=(e,t,n)=>{var r;if(null!==(r=n)&&void 0!==r||(n=2147483647),n<2)return 0;n-=2;for(var a=t,o=n<2*e.length?n/2:e.length,i=0;i<o;++i){var s=e.charCodeAt(i);y[t>>1]=s,t+=2}return y[t>>1]=0,t-a},ln=e=>2*e.length,cn=(e,t)=>{for(var n=0,r="";!(n>=t/4);){var a=w[e+4*n>>2];if(0==a)break;if(++n,a>=65536){var o=a-65536;r+=String.fromCharCode(55296|o>>10,56320|1023&o)}else r+=String.fromCharCode(a)}return r},un=(e,t,n)=>{var r;if(null!==(r=n)&&void 0!==r||(n=2147483647),n<4)return 0;for(var a=t,o=a+n-4,i=0;i<e.length;++i){var s=e.charCodeAt(i);if(s>=55296&&s<=57343){var l=e.charCodeAt(++i);s=65536+((1023&s)<<10)|1023&l}if(w[t>>2]=s,t+=4,t+4>o)break}return w[t>>2]=0,t-a},dn=e=>{for(var t=0,n=0;n<e.length;++n){var r=e.charCodeAt(n);r>=55296&&r<=57343&&++n,t+=4}return t},fn=(e,t,n)=>{var r,a,o,i,s;n=ke(n),2===t?(r=on,a=sn,i=ln,o=()=>O,s=1):4===t&&(r=cn,a=un,i=dn,o=()=>_,s=2),Ce(e,{name:n,fromWireType:e=>{for(var n,a=_[e>>2],i=o(),l=e+4,c=0;c<=a;++c){var u=e+4+c*t;if(c==a||0==i[u>>s]){var d=u-l,f=r(l,d);void 0===n?n=f:(n+="\0",n+=f),l=u+t}}return Qn(e),n},toWireType:(e,r)=>{"string"!=typeof r&&xe("Cannot pass non-string to C++ string type "+n);var o=i(r),l=er(4+o+t);return _[l>>2]=o>>s,a(r,l+4,o+t),null!==e&&e.push(Qn,l),l},argPackAdvance:Ae,readValueFromPointer:fe,destructorFunction(e){Qn(e)}})},hn=(e,t,n,r,a,o)=>{ue[e]={name:ke(t),rawConstructor:wt(n,r),rawDestructor:wt(a,o),fields:[]}},pn=(e,t,n,r,a,o,i,s,l,c)=>{ue[e].fields.push({fieldName:ke(t),getterReturnType:n,getter:wt(r,a),getterContext:o,setterArgumentType:i,setter:wt(s,l),setterContext:c})},mn=(e,t)=>{t=ke(t),Ce(e,{isVoid:!0,name:t,argPackAdvance:0,fromWireType:()=>{},toWireType:(e,t)=>{}})},vn=[],bn=(e,t,n,r)=>(e=vn[e],t=Bt.toValue(t),e(null,t,n,r)),gn={},yn=e=>{var t=gn[e];return void 0===t?ke(e):t},On=()=>{if("object"==typeof globalThis)return globalThis;function e(e){e.$$$embind_global$$$=e;var t="object"==typeof $$$embind_global$$$&&e.$$$embind_global$$$==e;return t||delete e.$$$embind_global$$$,t}if("object"==typeof $$$embind_global$$$||("object"==typeof r&&e(r)?$$$embind_global$$$=r:"object"==typeof self&&e(self)&&($$$embind_global$$$=self),"object"==typeof $$$embind_global$$$))return $$$embind_global$$$;throw Error("unable to get global object.")},wn=e=>0===e?Bt.toHandle(On()):(e=yn(e),Bt.toHandle(On()[e])),_n=e=>{var t=vn.length;return vn.push(e),t},jn=(e,t)=>{for(var n=new Array(e),r=0;r<e;++r)n[r]=Ht(_[t+4*r>>2],"parameter "+r);return n},kn=Reflect.construct,xn=(e,t,n)=>{var r=[],a=e.toWireType(r,n);return r.length&&(_[t>>2]=Bt.toHandle(r)),a},Sn=(e,t,n)=>{var r=jn(e,t),a=r.shift();e--;var o=new Array(e),i=(t,i,s,l)=>{for(var c=0,u=0;u<e;++u)o[u]=r[u].readValueFromPointer(l+c),c+=r[u].argPackAdvance;var d=1===n?kn(i,o):i.apply(t,o);for(u=0;u<e;++u){var f,h;null===(f=(h=r[u]).deleteObject)||void 0===f||f.call(h,o[u])}return xn(a,s,d)},s=`methodCaller<(${r.map(e=>e.name).join(", ")}) => ${a.name}>`;return _n(Qe(s,i))},Cn=e=>{e>4&&(Dt.get(e).refcount+=1)},Mn=e=>{var t=Bt.toValue(e);de(t),Nt(e)},An=(e,t)=>{e=Ht(e,"_emval_take_value");var n=e.readValueFromPointer(t);return Bt.toHandle(n)},Tn=()=>{V("")},En=(e,t,n)=>g.copyWithin(e,t,t+n),Ln=()=>2147483648,Pn=e=>{var t=v.buffer,n=(e-t.byteLength+65535)/65536;try{return v.grow(n),S(),1}catch(r){}},Dn=e=>{var t=g.length;e>>>=0;var n=Ln();if(e>n)return!1;for(var r=(e,t)=>e+(t-e%t)%t,a=1;a<=4;a*=2){var o=t*(1+.2/a);o=Math.min(o,e+100663296);var i=Math.min(n,r(Math.max(e,o),65536)),s=Pn(i);if(s)return!0}return!1},Nn={},Rn=()=>l||"./this.program",In=()=>{if(!In.strings){var e=("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:e,_:Rn()};for(var n in Nn)void 0===Nn[n]?delete t[n]:t[n]=Nn[n];var r=[];for(var n in t)r.push(`${n}=${t[n]}`);In.strings=r}return In.strings},Bn=(e,t)=>{for(var n=0;n<e.length;++n)b[t++>>0]=e.charCodeAt(n);b[t>>0]=0},Fn=(e,t)=>{var n=0;return In().forEach((r,a)=>{var o=t+n;_[e+4*a>>2]=o,Bn(r,o),n+=r.length+1}),0},Vn=(e,t)=>{var n=In();_[e>>2]=n.length;var r=0;return n.forEach(e=>r+=e.length+1),_[t>>2]=r,0},zn=e=>e,Hn=e=>e%4===0&&(e%100!==0||e%400===0),Yn=(e,t)=>{for(var n=0,r=0;r<=t;n+=e[r++]);return n},Un=[31,29,31,30,31,30,31,31,30,31,30,31],Wn=[31,28,31,30,31,30,31,31,30,31,30,31],$n=(e,t)=>{for(var n=new Date(e.getTime());t>0;){var r=Hn(n.getFullYear()),a=n.getMonth(),o=(r?Un:Wn)[a];if(!(t>o-n.getDate()))return n.setDate(n.getDate()+t),n;t-=o-n.getDate()+1,n.setDate(1),a<11?n.setMonth(a+1):(n.setMonth(0),n.setFullYear(n.getFullYear()+1))}return n};function qn(e,t,n){var r=Qt(e)+1,a=new Array(r);return Jt(e,a,0,a.length),a}var Gn=(e,t)=>{b.set(e,t)},Xn=(e,t,n,r)=>{var a=_[r+40>>2],o={tm_sec:w[r>>2],tm_min:w[r+4>>2],tm_hour:w[r+8>>2],tm_mday:w[r+12>>2],tm_mon:w[r+16>>2],tm_year:w[r+20>>2],tm_wday:w[r+24>>2],tm_yday:w[r+28>>2],tm_isdst:w[r+32>>2],tm_gmtoff:w[r+36>>2],tm_zone:a?nn(a):""},i=nn(n),s={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var l in s)i=i.replace(new RegExp(l,"g"),s[l]);var c=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],u=["January","February","March","April","May","June","July","August","September","October","November","December"];function d(e,t,n){for(var r="number"==typeof e?e.toString():e||"";r.length<t;)r=n[0]+r;return r}function f(e,t){return d(e,t,"0")}function h(e,t){function n(e){return e<0?-1:e>0?1:0}var r;return 0===(r=n(e.getFullYear()-t.getFullYear()))&&0===(r=n(e.getMonth()-t.getMonth()))&&(r=n(e.getDate()-t.getDate())),r}function p(e){switch(e.getDay()){case 0:return new Date(e.getFullYear()-1,11,29);case 1:return e;case 2:return new Date(e.getFullYear(),0,3);case 3:return new Date(e.getFullYear(),0,2);case 4:return new Date(e.getFullYear(),0,1);case 5:return new Date(e.getFullYear()-1,11,31);case 6:return new Date(e.getFullYear()-1,11,30)}}function m(e){var t=$n(new Date(e.tm_year+1900,0,1),e.tm_yday),n=new Date(t.getFullYear(),0,4),r=new Date(t.getFullYear()+1,0,4),a=p(n),o=p(r);return h(a,t)<=0?h(o,t)<=0?t.getFullYear()+1:t.getFullYear():t.getFullYear()-1}var v={"%a":e=>c[e.tm_wday].substring(0,3),"%A":e=>c[e.tm_wday],"%b":e=>u[e.tm_mon].substring(0,3),"%B":e=>u[e.tm_mon],"%C":e=>{var t=e.tm_year+1900;return f(t/100|0,2)},"%d":e=>f(e.tm_mday,2),"%e":e=>d(e.tm_mday,2," "),"%g":e=>m(e).toString().substring(2),"%G":e=>m(e),"%H":e=>f(e.tm_hour,2),"%I":e=>{var t=e.tm_hour;return 0==t?t=12:t>12&&(t-=12),f(t,2)},"%j":e=>f(e.tm_mday+Yn(Hn(e.tm_year+1900)?Un:Wn,e.tm_mon-1),3),"%m":e=>f(e.tm_mon+1,2),"%M":e=>f(e.tm_min,2),"%n":()=>"\n","%p":e=>e.tm_hour>=0&&e.tm_hour<12?"AM":"PM","%S":e=>f(e.tm_sec,2),"%t":()=>"\t","%u":e=>e.tm_wday||7,"%U":e=>{var t=e.tm_yday+7-e.tm_wday;return f(Math.floor(t/7),2)},"%V":e=>{var t=Math.floor((e.tm_yday+7-(e.tm_wday+6)%7)/7);if((e.tm_wday+371-e.tm_yday-2)%7<=2&&t++,t){if(53==t){var n=(e.tm_wday+371-e.tm_yday)%7;4!=n&&(3!=n||!Hn(e.tm_year))&&(t=1)}}else{t=52;var r=(e.tm_wday+7-e.tm_yday-1)%7;(4==r||5==r&&Hn(e.tm_year%400-1))&&t++}return f(t,2)},"%w":e=>e.tm_wday,"%W":e=>{var t=e.tm_yday+7-(e.tm_wday+6)%7;return f(Math.floor(t/7),2)},"%y":e=>(e.tm_year+1900).toString().substring(2),"%Y":e=>e.tm_year+1900,"%z":e=>{var t=e.tm_gmtoff,n=t>=0;return t=Math.abs(t)/60,t=t/60*100+t%60,(n?"+":"-")+("0000"+t).slice(-4)},"%Z":e=>e.tm_zone,"%%":()=>"%"};for(var l in i=i.replace(/%%/g,"\0\0"),v)i.includes(l)&&(i=i.replace(new RegExp(l,"g"),v[l](o)));i=i.replace(/\0\0/g,"%");var b=qn(i);return b.length>t?0:(Gn(b,e),b.length-1)},Kn=(e,t,n,r,a)=>Xn(e,t,n,r);he=i.InternalError=class extends Error{constructor(e){super(e),this.name="InternalError"}},je(),me=i.BindingError=class extends Error{constructor(e){super(e),this.name="BindingError"}},Je(),Ue(),dt(),pt=i.UnboundTypeError=_t(Error,"UnboundTypeError"),Lt(),It();var Jn={s:Z,u:ee,b:ae,g:oe,q:ie,J:se,f:le,V:ce,d:ne,da:we,Q:_e,_:Te,ca:xt,ba:At,w:Et,Y:Ft,x:zt,h:Yt,L:$t,M:qt,t:Xt,o:Kt,K:rn,C:fn,A:hn,ea:pn,$:mn,R:bn,ha:Nt,fa:wn,Z:Sn,N:Cn,O:Mn,aa:An,B:Tn,X:En,W:Dn,T:Fn,U:Vn,E:Cr,D:vr,F:Sr,n:Mr,a:fr,e:gr,m:mr,k:Or,H:kr,v:_r,G:xr,z:Tr,P:Lr,l:yr,j:br,c:pr,p:hr,I:jr,r:Ar,i:wr,y:Er,ga:zn,S:Kn},Zn=G(),Qn=i._free=e=>(Qn=i._free=Zn.ka)(e),er=i._malloc=e=>(er=i._malloc=Zn.la)(e),tr=e=>(tr=Zn.na)(e),nr=(e,t)=>(nr=Zn.oa)(e,t),rr=e=>(rr=Zn.pa)(e),ar=()=>(ar=Zn.qa)(),or=e=>(or=Zn.ra)(e),ir=e=>(ir=Zn.sa)(e),sr=e=>(sr=Zn.ta)(e),lr=(e,t,n)=>(lr=Zn.ua)(e,t,n),cr=e=>(cr=Zn.va)(e);i.dynCall_viijii=(e,t,n,r,a,o,s)=>(i.dynCall_viijii=Zn.wa)(e,t,n,r,a,o,s);var ur,dr=i.dynCall_jiiii=(e,t,n,r,a)=>(dr=i.dynCall_jiiii=Zn.xa)(e,t,n,r,a);function fr(e,t){var n=ar();try{return gt(e)(t)}catch(r){if(or(n),r!==r+0)throw r;nr(1,0)}}function hr(e,t,n,r){var a=ar();try{gt(e)(t,n,r)}catch(o){if(or(a),o!==o+0)throw o;nr(1,0)}}function pr(e,t,n){var r=ar();try{gt(e)(t,n)}catch(a){if(or(r),a!==a+0)throw a;nr(1,0)}}function mr(e,t,n,r){var a=ar();try{return gt(e)(t,n,r)}catch(o){if(or(a),o!==o+0)throw o;nr(1,0)}}function vr(e,t,n,r,a){var o=ar();try{return gt(e)(t,n,r,a)}catch(i){if(or(o),i!==i+0)throw i;nr(1,0)}}function br(e,t){var n=ar();try{gt(e)(t)}catch(r){if(or(n),r!==r+0)throw r;nr(1,0)}}function gr(e,t,n){var r=ar();try{return gt(e)(t,n)}catch(a){if(or(r),a!==a+0)throw a;nr(1,0)}}function yr(e){var t=ar();try{gt(e)()}catch(n){if(or(t),n!==n+0)throw n;nr(1,0)}}function Or(e,t,n,r,a){var o=ar();try{return gt(e)(t,n,r,a)}catch(i){if(or(o),i!==i+0)throw i;nr(1,0)}}function wr(e,t,n,r,a,o,i,s,l,c,u){var d=ar();try{gt(e)(t,n,r,a,o,i,s,l,c,u)}catch(f){if(or(d),f!==f+0)throw f;nr(1,0)}}function _r(e,t,n,r,a,o,i){var s=ar();try{return gt(e)(t,n,r,a,o,i)}catch(l){if(or(s),l!==l+0)throw l;nr(1,0)}}function jr(e,t,n,r,a){var o=ar();try{gt(e)(t,n,r,a)}catch(i){if(or(o),i!==i+0)throw i;nr(1,0)}}function kr(e,t,n,r,a,o){var i=ar();try{return gt(e)(t,n,r,a,o)}catch(s){if(or(i),s!==s+0)throw s;nr(1,0)}}function xr(e,t,n,r,a,o,i,s){var l=ar();try{return gt(e)(t,n,r,a,o,i,s)}catch(c){if(or(l),c!==c+0)throw c;nr(1,0)}}function Sr(e,t,n,r){var a=ar();try{return gt(e)(t,n,r)}catch(o){if(or(a),o!==o+0)throw o;nr(1,0)}}function Cr(e,t,n,r){var a=ar();try{return gt(e)(t,n,r)}catch(o){if(or(a),o!==o+0)throw o;nr(1,0)}}function Mr(e){var t=ar();try{return gt(e)()}catch(n){if(or(t),n!==n+0)throw n;nr(1,0)}}function Ar(e,t,n,r,a,o,i,s){var l=ar();try{gt(e)(t,n,r,a,o,i,s)}catch(c){if(or(l),c!==c+0)throw c;nr(1,0)}}function Tr(e,t,n,r,a,o,i,s,l,c,u,d){var f=ar();try{return gt(e)(t,n,r,a,o,i,s,l,c,u,d)}catch(h){if(or(f),h!==h+0)throw h;nr(1,0)}}function Er(e,t,n,r,a,o,i,s,l,c,u,d,f,h,p,m){var v=ar();try{gt(e)(t,n,r,a,o,i,s,l,c,u,d,f,h,p,m)}catch(b){if(or(v),b!==b+0)throw b;nr(1,0)}}function Lr(e,t,n,r,a){var o=ar();try{return dr(e,t,n,r,a)}catch(i){if(or(o),i!==i+0)throw i;nr(1,0)}}function Pr(){function e(){ur||(ur=!0,i.calledRun=!0,!x&&(E(),a(i),i.onRuntimeInitialized&&i.onRuntimeInitialized(),L()))}R>0||(T(),R>0)||(i.setStatus?(i.setStatus("Running..."),setTimeout((function(){setTimeout((function(){i.setStatus("")}),1),e()}),1)):e())}if(i.dynCall_iiiiij=(e,t,n,r,a,o,s)=>(i.dynCall_iiiiij=Zn.ya)(e,t,n,r,a,o,s),i.dynCall_iiiiijj=(e,t,n,r,a,o,s,l,c)=>(i.dynCall_iiiiijj=Zn.za)(e,t,n,r,a,o,s,l,c),i.dynCall_iiiiiijj=(e,t,n,r,a,o,s,l,c,u)=>(i.dynCall_iiiiiijj=Zn.Aa)(e,t,n,r,a,o,s,l,c,u),I=function e(){ur||Pr(),ur||(I=e)},i.preInit)for("function"==typeof i.preInit&&(i.preInit=[i.preInit]);i.preInit.length>0;)i.preInit.pop()();return Pr(),n.ready}})();function ee(e){return X(Q,e)}async function te(e,t){return K(Q,e,t)}async function ne(e,t){return J(Q,e,t)}class re extends EventTarget{constructor(e={}){var t;super(),s(this,Z,void 0);try{const n=null==(t=null==e?void 0:e.formats)?void 0:t.filter(e=>"unknown"!==e);if(0===(null==n?void 0:n.length))throw new TypeError("Hint option provided, but is empty.");null==n||n.forEach(e=>{if(!d.has(e))throw new TypeError(`Failed to read the 'formats' property from 'BarcodeDetectorOptions': The provided value '${e}' is not a valid enum value of type BarcodeFormat.`)}),l(this,Z,null!=n?n:[]),ee().then(e=>{this.dispatchEvent(new CustomEvent("load",{detail:e}))}).catch(e=>{this.dispatchEvent(new CustomEvent("error",{detail:e}))})}catch(n){throw P(n,"Failed to construct 'BarcodeDetector'")}}static async getSupportedFormats(){return u.filter(e=>"unknown"!==e)}async detect(e){try{const n=await C(e);if(null===n)return[];let r;try{r=w(n)?await te(n,{tryHarder:!0,formats:i(this,Z).map(e=>d.get(e))}):await ne(n,{tryHarder:!0,formats:i(this,Z).map(e=>d.get(e))})}catch(t){throw console.error(t),new DOMException("Barcode detection service unavailable.","NotSupportedError")}return r.map(e=>{const{topLeft:{x:t,y:n},topRight:{x:r,y:a},bottomLeft:{x:o,y:i},bottomRight:{x:s,y:l}}=e.position,c=Math.min(t,r,o,s),u=Math.min(n,a,i,l),d=Math.max(t,r,o,s),h=Math.max(n,a,i,l);return{boundingBox:new DOMRectReadOnly(c,u,d-c,h-u),rawValue:e.text,format:f(e.format),cornerPoints:[{x:t,y:n},{x:r,y:a},{x:s,y:l},{x:o,y:i}]}})}catch(n){throw P(n,"Failed to execute 'detect' on 'BarcodeDetector'")}}}Z=new WeakMap;const ae=(e,t,n="error")=>{let r,a;const o=new Promise((o,i)=>{r=o,a=i,e.addEventListener(t,r),e.addEventListener(n,a)});return o.finally(()=>{e.removeEventListener(t,r),e.removeEventListener(n,a)}),o},oe=e=>new Promise(t=>setTimeout(t,e));Error;class ie extends Error{constructor(){super("this browser has no Stream API support"),this.name="StreamApiNotSupportedError"}}class se extends Error{constructor(){super("camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP."),this.name="InsecureContextError"}}class le extends Error{constructor(){super("Loading camera stream timed out after 6 seconds. If you are on iOS in PWA mode, this is a known issue (see https://github.com/gruhn/vue-qrcode-reader/issues/298)"),this.name="StreamLoadTimeoutError"}}let ce;async function ue(e){if(void 0===window.BarcodeDetector)return console.debug("[vue-qrcode-reader] Native BarcodeDetector not supported. Will use polyfill."),new re({formats:e});const t=await window.BarcodeDetector.getSupportedFormats(),n=e.filter(e=>!t.includes(e));return n.length>0?(console.debug(`[vue-qrcode-reader] Native BarcodeDetector does not support formats ${JSON.stringify(n)}. Will use polyfill.`),new re({formats:e})):(console.debug("[vue-qrcode-reader] Will use native BarcodeDetector."),new window.BarcodeDetector({formats:e}))}async function de(e){ce=await ue(e)}const fe=async(e,{detectHandler:t,locateHandler:n,minDelay:r,formats:a})=>{console.debug("[vue-qrcode-reader] start scanning"),await de(a);const o=a=>async i=>{if(0===e.readyState)console.debug("[vue-qrcode-reader] stop scanning: video element readyState is 0");else{const{lastScanned:s,contentBefore:l,lastScanHadContent:c}=a;if(i-s<r)window.requestAnimationFrame(o(a));else{const r=await ce.detect(e),a=r.some(e=>!l.includes(e.rawValue));a&&t(r);const s=r.length>0;s&&n(r),!s&&c&&n(r);const u={lastScanned:i,lastScanHadContent:s,contentBefore:a?r.map(e=>e.rawValue):l};window.requestAnimationFrame(o(u))}}};o({lastScanned:performance.now(),contentBefore:[],lastScanHadContent:!1})(performance.now())};var he={},pe={};Object.defineProperty(pe,"__esModule",{value:!0}),pe.compactObject=Te,pe.deprecated=Ce;var me=pe.detectBrowser=Me;function ve(e,t,n){return t=be(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function be(e){var t=ge(e,"string");return"symbol"===ye(t)?t:String(t)}function ge(e,t){if("object"!==ye(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==ye(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function ye(e){return ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ye(e)}pe.disableLog=ke,pe.disableWarnings=xe,pe.extractVersion=_e,pe.filterStats=Le,pe.log=Se,pe.walkStats=Ee,pe.wrapPeerConnectionEvent=je;var Oe=!0,we=!0;function _e(e,t,n){var r=e.match(t);return r&&r.length>=n&&parseInt(r[n],10)}function je(e,t,n){if(e.RTCPeerConnection){var r=e.RTCPeerConnection.prototype,a=r.addEventListener;r.addEventListener=function(e,r){if(e!==t)return a.apply(this,arguments);var o=function(e){var t=n(e);t&&(r.handleEvent?r.handleEvent(t):r(t))};return this._eventMap=this._eventMap||{},this._eventMap[t]||(this._eventMap[t]=new Map),this._eventMap[t].set(r,o),a.apply(this,[e,o])};var o=r.removeEventListener;r.removeEventListener=function(e,n){if(e!==t||!this._eventMap||!this._eventMap[t])return o.apply(this,arguments);if(!this._eventMap[t].has(n))return o.apply(this,arguments);var r=this._eventMap[t].get(n);return this._eventMap[t].delete(n),0===this._eventMap[t].size&&delete this._eventMap[t],0===Object.keys(this._eventMap).length&&delete this._eventMap,o.apply(this,[e,r])},Object.defineProperty(r,"on"+t,{get:function(){return this["_on"+t]},set:function(e){this["_on"+t]&&(this.removeEventListener(t,this["_on"+t]),delete this["_on"+t]),e&&this.addEventListener(t,this["_on"+t]=e)},enumerable:!0,configurable:!0})}}function ke(e){return"boolean"!=typeof e?new Error("Argument type: "+ye(e)+". Please use a boolean."):(Oe=e,e?"adapter.js logging disabled":"adapter.js logging enabled")}function xe(e){return"boolean"!=typeof e?new Error("Argument type: "+ye(e)+". Please use a boolean."):(we=!e,"adapter.js deprecation warnings "+(e?"disabled":"enabled"))}function Se(){if("object"===(typeof window>"u"?"undefined":ye(window))){if(Oe)return;typeof console<"u"&&"function"==typeof console.log&&console.log.apply(console,arguments)}}function Ce(e,t){we&&console.warn(e+" is deprecated, please use "+t+" instead.")}function Me(e){var t={browser:null,version:null};if(typeof e>"u"||!e.navigator||!e.navigator.userAgent)return t.browser="Not a browser.",t;var n=e.navigator;if(n.mozGetUserMedia)t.browser="firefox",t.version=_e(n.userAgent,/Firefox\/(\d+)\./,1);else if(n.webkitGetUserMedia||!1===e.isSecureContext&&e.webkitRTCPeerConnection)t.browser="chrome",t.version=_e(n.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else{if(!e.RTCPeerConnection||!n.userAgent.match(/AppleWebKit\/(\d+)\./))return t.browser="Not a supported browser.",t;t.browser="safari",t.version=_e(n.userAgent,/AppleWebKit\/(\d+)\./,1),t.supportsUnifiedPlan=e.RTCRtpTransceiver&&"currentDirection"in e.RTCRtpTransceiver.prototype}return t}function Ae(e){return"[object Object]"===Object.prototype.toString.call(e)}function Te(e){return Ae(e)?Object.keys(e).reduce((function(t,n){var r=Ae(e[n]),a=r?Te(e[n]):e[n],o=r&&!Object.keys(a).length;return void 0===a||o?t:Object.assign(t,ve({},n,a))}),{}):e}function Ee(e,t,n){!t||n.has(t.id)||(n.set(t.id,t),Object.keys(t).forEach((function(r){r.endsWith("Id")?Ee(e,e.get(t[r]),n):r.endsWith("Ids")&&t[r].forEach((function(t){Ee(e,e.get(t),n)}))})))}function Le(e,t,n){var r=n?"outbound-rtp":"inbound-rtp",a=new Map;if(null===t)return a;var o=[];return e.forEach((function(e){"track"===e.type&&e.trackIdentifier===t.id&&o.push(e)})),o.forEach((function(t){e.forEach((function(n){n.type===r&&n.trackId===t.id&&Ee(e,n,a)}))})),a}Object.defineProperty(he,"__esModule",{value:!0});var Pe=he.shimGetUserMedia=Fe,De=Re(pe);function Ne(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(Ne=function(e){return e?n:t})(e)}function Re(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==Ie(e)&&"function"!=typeof e)return{default:e};var n=Ne(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function Ie(e){return Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ie(e)}var Be=De.log;function Fe(e,t){var n=e&&e.navigator;if(n.mediaDevices){var r=function(e){if("object"!==Ie(e)||e.mandatory||e.optional)return e;var t={};return Object.keys(e).forEach((function(n){if("require"!==n&&"advanced"!==n&&"mediaSource"!==n){var r="object"===Ie(e[n])?e[n]:{ideal:e[n]};void 0!==r.exact&&"number"==typeof r.exact&&(r.min=r.max=r.exact);var a=function(e,t){return e?e+t.charAt(0).toUpperCase()+t.slice(1):"deviceId"===t?"sourceId":t};if(void 0!==r.ideal){t.optional=t.optional||[];var o={};"number"==typeof r.ideal?(o[a("min",n)]=r.ideal,t.optional.push(o),o={},o[a("max",n)]=r.ideal,t.optional.push(o)):(o[a("",n)]=r.ideal,t.optional.push(o))}void 0!==r.exact&&"number"!=typeof r.exact?(t.mandatory=t.mandatory||{},t.mandatory[a("",n)]=r.exact):["min","max"].forEach((function(e){void 0!==r[e]&&(t.mandatory=t.mandatory||{},t.mandatory[a(e,n)]=r[e])}))}})),e.advanced&&(t.optional=(t.optional||[]).concat(e.advanced)),t},a=function(e,a){if(t.version>=61)return a(e);if(e=JSON.parse(JSON.stringify(e)),e&&"object"===Ie(e.audio)){var o=function(e,t,n){t in e&&!(n in e)&&(e[n]=e[t],delete e[t])};e=JSON.parse(JSON.stringify(e)),o(e.audio,"autoGainControl","googAutoGainControl"),o(e.audio,"noiseSuppression","googNoiseSuppression"),e.audio=r(e.audio)}if(e&&"object"===Ie(e.video)){var i=e.video.facingMode;i=i&&("object"===Ie(i)?i:{ideal:i});var s,l=t.version<66;if(i&&("user"===i.exact||"environment"===i.exact||"user"===i.ideal||"environment"===i.ideal)&&(!n.mediaDevices.getSupportedConstraints||!n.mediaDevices.getSupportedConstraints().facingMode||l))if(delete e.video.facingMode,"environment"===i.exact||"environment"===i.ideal?s=["back","rear"]:("user"===i.exact||"user"===i.ideal)&&(s=["front"]),s)return n.mediaDevices.enumerateDevices().then((function(t){t=t.filter((function(e){return"videoinput"===e.kind}));var n=t.find((function(e){return s.some((function(t){return e.label.toLowerCase().includes(t)}))}));return!n&&t.length&&s.includes("back")&&(n=t[t.length-1]),n&&(e.video.deviceId=i.exact?{exact:n.deviceId}:{ideal:n.deviceId}),e.video=r(e.video),Be("chrome: "+JSON.stringify(e)),a(e)}));e.video=r(e.video)}return Be("chrome: "+JSON.stringify(e)),a(e)},o=function(e){return t.version>=64?e:{name:{PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"}[e.name]||e.name,message:e.message,constraint:e.constraint||e.constraintName,toString:function(){return this.name+(this.message&&": ")+this.message}}},i=function(e,t,r){a(e,(function(e){n.webkitGetUserMedia(e,t,(function(e){r&&r(o(e))}))}))};if(n.getUserMedia=i.bind(n),n.mediaDevices.getUserMedia){var s=n.mediaDevices.getUserMedia.bind(n.mediaDevices);n.mediaDevices.getUserMedia=function(e){return a(e,(function(e){return s(e).then((function(t){if(e.audio&&!t.getAudioTracks().length||e.video&&!t.getVideoTracks().length)throw t.getTracks().forEach((function(e){e.stop()})),new DOMException("","NotFoundError");return t}),(function(e){return Promise.reject(o(e))}))}))}}}}var Ve={};Object.defineProperty(Ve,"__esModule",{value:!0});var ze=Ve.shimGetUserMedia=$e,He=Ue(pe);function Ye(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(Ye=function(e){return e?n:t})(e)}function Ue(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==We(e)&&"function"!=typeof e)return{default:e};var n=Ye(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function We(e){return We="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},We(e)}function $e(e,t){var n=e&&e.navigator,r=e&&e.MediaStreamTrack;if(n.getUserMedia=function(e,t,r){He.deprecated("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),n.mediaDevices.getUserMedia(e).then(t,r)},!(t.version>55&&"autoGainControl"in n.mediaDevices.getSupportedConstraints())){var a=function(e,t,n){t in e&&!(n in e)&&(e[n]=e[t],delete e[t])},o=n.mediaDevices.getUserMedia.bind(n.mediaDevices);if(n.mediaDevices.getUserMedia=function(e){return"object"===We(e)&&"object"===We(e.audio)&&(e=JSON.parse(JSON.stringify(e)),a(e.audio,"autoGainControl","mozAutoGainControl"),a(e.audio,"noiseSuppression","mozNoiseSuppression")),o(e)},r&&r.prototype.getSettings){var i=r.prototype.getSettings;r.prototype.getSettings=function(){var e=i.apply(this,arguments);return a(e,"mozAutoGainControl","autoGainControl"),a(e,"mozNoiseSuppression","noiseSuppression"),e}}if(r&&r.prototype.applyConstraints){var s=r.prototype.applyConstraints;r.prototype.applyConstraints=function(e){return"audio"===this.kind&&"object"===We(e)&&(e=JSON.parse(JSON.stringify(e)),a(e,"autoGainControl","mozAutoGainControl"),a(e,"noiseSuppression","mozNoiseSuppression")),s.apply(this,[e])}}}}var qe={};Object.defineProperty(qe,"__esModule",{value:!0}),qe.shimAudioContext=st,qe.shimCallbacksAPI=tt,qe.shimConstraints=rt,qe.shimCreateOfferLegacy=it;var Ge=qe.shimGetUserMedia=nt;qe.shimLocalStreamsAPI=Qe,qe.shimRTCIceServerUrls=at,qe.shimRemoteStreamsAPI=et,qe.shimTrackEventTransceiver=ot;var Xe=Je(pe);function Ke(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(Ke=function(e){return e?n:t})(e)}function Je(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==Ze(e)&&"function"!=typeof e)return{default:e};var n=Ke(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function Ze(e){return Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ze(e)}function Qe(e){if("object"===Ze(e)&&e.RTCPeerConnection){if("getLocalStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getLocalStreams=function(){return this._localStreams||(this._localStreams=[]),this._localStreams}),!("addStream"in e.RTCPeerConnection.prototype)){var t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addStream=function(e){var n=this;this._localStreams||(this._localStreams=[]),this._localStreams.includes(e)||this._localStreams.push(e),e.getAudioTracks().forEach((function(r){return t.call(n,r,e)})),e.getVideoTracks().forEach((function(r){return t.call(n,r,e)}))},e.RTCPeerConnection.prototype.addTrack=function(e){for(var n=this,r=arguments.length,a=new Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];return a&&a.forEach((function(e){n._localStreams?n._localStreams.includes(e)||n._localStreams.push(e):n._localStreams=[e]})),t.apply(this,arguments)}}"removeStream"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.removeStream=function(e){var t=this;this._localStreams||(this._localStreams=[]);var n=this._localStreams.indexOf(e);if(-1!==n){this._localStreams.splice(n,1);var r=e.getTracks();this.getSenders().forEach((function(e){r.includes(e.track)&&t.removeTrack(e)}))}})}}function et(e){if("object"===Ze(e)&&e.RTCPeerConnection&&("getRemoteStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getRemoteStreams=function(){return this._remoteStreams?this._remoteStreams:[]}),!("onaddstream"in e.RTCPeerConnection.prototype))){Object.defineProperty(e.RTCPeerConnection.prototype,"onaddstream",{get:function(){return this._onaddstream},set:function(e){var t=this;this._onaddstream&&(this.removeEventListener("addstream",this._onaddstream),this.removeEventListener("track",this._onaddstreampoly)),this.addEventListener("addstream",this._onaddstream=e),this.addEventListener("track",this._onaddstreampoly=function(e){e.streams.forEach((function(e){if(t._remoteStreams||(t._remoteStreams=[]),!t._remoteStreams.includes(e)){t._remoteStreams.push(e);var n=new Event("addstream");n.stream=e,t.dispatchEvent(n)}}))})}});var t=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){var e=this;return this._onaddstreampoly||this.addEventListener("track",this._onaddstreampoly=function(t){t.streams.forEach((function(t){if(e._remoteStreams||(e._remoteStreams=[]),!(e._remoteStreams.indexOf(t)>=0)){e._remoteStreams.push(t);var n=new Event("addstream");n.stream=t,e.dispatchEvent(n)}}))}),t.apply(e,arguments)}}}function tt(e){if("object"===Ze(e)&&e.RTCPeerConnection){var t=e.RTCPeerConnection.prototype,n=t.createOffer,r=t.createAnswer,a=t.setLocalDescription,o=t.setRemoteDescription,i=t.addIceCandidate;t.createOffer=function(e,t){var r=arguments.length>=2?arguments[2]:arguments[0],a=n.apply(this,[r]);return t?(a.then(e,t),Promise.resolve()):a},t.createAnswer=function(e,t){var n=arguments.length>=2?arguments[2]:arguments[0],a=r.apply(this,[n]);return t?(a.then(e,t),Promise.resolve()):a};var s=function(e,t,n){var r=a.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r};t.setLocalDescription=s,s=function(e,t,n){var r=o.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r},t.setRemoteDescription=s,s=function(e,t,n){var r=i.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r},t.addIceCandidate=s}}function nt(e){var t=e&&e.navigator;if(t.mediaDevices&&t.mediaDevices.getUserMedia){var n=t.mediaDevices,r=n.getUserMedia.bind(n);t.mediaDevices.getUserMedia=function(e){return r(rt(e))}}!t.getUserMedia&&t.mediaDevices&&t.mediaDevices.getUserMedia&&(t.getUserMedia=function(e,n,r){t.mediaDevices.getUserMedia(e).then(n,r)}.bind(t))}function rt(e){return e&&void 0!==e.video?Object.assign({},e,{video:Xe.compactObject(e.video)}):e}function at(e){if(e.RTCPeerConnection){var t=e.RTCPeerConnection;e.RTCPeerConnection=function(e,n){if(e&&e.iceServers){for(var r=[],a=0;a<e.iceServers.length;a++){var o=e.iceServers[a];void 0===o.urls&&o.url?(Xe.deprecated("RTCIceServer.url","RTCIceServer.urls"),o=JSON.parse(JSON.stringify(o)),o.urls=o.url,delete o.url,r.push(o)):r.push(e.iceServers[a])}e.iceServers=r}return new t(e,n)},e.RTCPeerConnection.prototype=t.prototype,"generateCertificate"in t&&Object.defineProperty(e.RTCPeerConnection,"generateCertificate",{get:function(){return t.generateCertificate}})}}function ot(e){"object"===Ze(e)&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get:function(){return{receiver:this.receiver}}})}function it(e){var t=e.RTCPeerConnection.prototype.createOffer;e.RTCPeerConnection.prototype.createOffer=function(e){if(e){typeof e.offerToReceiveAudio<"u"&&(e.offerToReceiveAudio=!!e.offerToReceiveAudio);var n=this.getTransceivers().find((function(e){return"audio"===e.receiver.track.kind}));!1===e.offerToReceiveAudio&&n?"sendrecv"===n.direction?n.setDirection?n.setDirection("sendonly"):n.direction="sendonly":"recvonly"===n.direction&&(n.setDirection?n.setDirection("inactive"):n.direction="inactive"):!0===e.offerToReceiveAudio&&!n&&this.addTransceiver("audio",{direction:"recvonly"}),typeof e.offerToReceiveVideo<"u"&&(e.offerToReceiveVideo=!!e.offerToReceiveVideo);var r=this.getTransceivers().find((function(e){return"video"===e.receiver.track.kind}));!1===e.offerToReceiveVideo&&r?"sendrecv"===r.direction?r.setDirection?r.setDirection("sendonly"):r.direction="sendonly":"recvonly"===r.direction&&(r.setDirection?r.setDirection("inactive"):r.direction="inactive"):!0===e.offerToReceiveVideo&&!r&&this.addTransceiver("video",{direction:"recvonly"})}return t.apply(this,arguments)}}function st(e){"object"!==Ze(e)||e.AudioContext||(e.AudioContext=e.webkitAudioContext)}const lt=e=>{let t,n=!1;return(...r)=>(n||(t=e(r),n=!0),t)};function ct(e,t){if(!1===e)throw new Error(null!=t?t:"assertion failure")}function ut(e){throw new Error("this code should be unreachable")}const dt=lt(()=>{const e=me(window);switch(e.browser){case"chrome":Pe(window,e);break;case"firefox":ze(window,e);break;case"safari":Ge(window,e);break;default:throw new ie}});let ft=Promise.resolve({type:"stop",data:{}});async function ht(e,t,n){var r,a,o;if(console.debug("[vue-qrcode-reader] starting camera with constraints: ",JSON.stringify(t)),!0!==window.isSecureContext)throw new se;if(void 0===(null==(r=null==navigator?void 0:navigator.mediaDevices)?void 0:r.getUserMedia))throw new ie;dt(),console.debug("[vue-qrcode-reader] calling getUserMedia");const i=await navigator.mediaDevices.getUserMedia({audio:!1,video:t});void 0!==e.srcObject?e.srcObject=i:void 0!==e.mozSrcObject?e.mozSrcObject=i:window.URL.createObjectURL?e.src=window.URL.createObjectURL(i):window.webkitURL?e.src=window.webkitURL.createObjectURL(i):e.src=i.id,e.play(),console.debug("[vue-qrcode-reader] waiting for video element to load"),await Promise.race([ae(e,"loadeddata"),oe(6e3).then(()=>{throw new le})]),console.debug("[vue-qrcode-reader] video element loaded"),await oe(500);const[s]=i.getVideoTracks(),l=null!=(o=null==(a=null==s?void 0:s.getCapabilities)?void 0:a.call(s))?o:{};let c=!1;return n&&l.torch&&(await s.applyConstraints({advanced:[{torch:!0}]}),c=!0),console.debug("[vue-qrcode-reader] camera ready"),{type:"start",data:{videoEl:e,stream:i,capabilities:l,constraints:t,isTorchOn:c}}}async function pt(e,{constraints:t,torch:n,restart:r=!1}){ft=ft.then(a=>{if("start"===a.type){const{data:{videoEl:o,stream:i,constraints:s,isTorchOn:l}}=a;return r||e!==o||t!==s||n!==l?mt(o,i,l).then(()=>ht(e,t,n)):a}if("stop"===a.type||"failed"===a.type)return ht(e,t,n);ut()}).catch(e=>(console.debug(`[vue-qrcode-reader] starting camera failed with "${e}"`),{type:"failed",error:e}));const a=await ft;if("stop"===a.type)throw new Error("Something went wrong with the camera task queue (start task).");if("failed"===a.type)throw a.error;if("start"===a.type)return a.data.capabilities;ut()}async function mt(e,t,n){console.debug("[vue-qrcode-reader] stopping camera"),e.src="",e.srcObject=null,e.load(),await ae(e,"error");for(const r of t.getTracks())null!=n||await r.applyConstraints({advanced:[{torch:!1}]}),t.removeTrack(r),r.stop();return{type:"stop",data:{}}}async function vt(){if(ft=ft.then(e=>{if("stop"===e.type||"failed"===e.type)return e;const{data:{videoEl:t,stream:n,isTorchOn:r}}=e;return mt(t,n,r)}),"start"===(await ft).type)throw new Error("Something went wrong with the camera task queue (stop task).")}const bt=Object(a["defineComponent"])({__name:"QrcodeStream",props:{constraints:{type:Object,default(){return{facingMode:"environment"}}},formats:{type:Array,default:()=>["qr_code"]},paused:{type:Boolean,default:!1},torch:{type:Boolean,default:!1},track:{type:Function}},emits:["detect","camera-on","camera-off","error"],setup(e,{emit:t}){const n=e,r=t,o=Object(a["ref"])(n.constraints),i=Object(a["ref"])(n.formats);Object(a["watch"])(()=>n.constraints,(e,t)=>{JSON.stringify(e)!==JSON.stringify(t)&&(o.value=e)},{deep:!0}),Object(a["watch"])(()=>n.formats,(e,t)=>{JSON.stringify(e)!==JSON.stringify(t)&&(i.value=e)},{deep:!0});const s=Object(a["ref"])(),l=Object(a["ref"])(),c=Object(a["ref"])(),u=Object(a["ref"])(!1),d=Object(a["ref"])(!1);Object(a["onMounted"])(()=>{d.value=!0}),Object(a["onUnmounted"])(()=>{vt()});const f=Object(a["computed"])(()=>({torch:n.torch,constraints:o.value,shouldStream:d.value&&!n.paused}));Object(a["watch"])(f,async e=>{const t=c.value;ct(void 0!==t,"cameraSettings watcher should never be triggered when component is not mounted. Thus video element should always be defined.");const n=s.value;ct(void 0!==n,"cameraSettings watcher should never be triggered when component is not mounted. Thus canvas should always be defined.");const a=n.getContext("2d");if(ct(null!==a,"if cavnas is defined, canvas 2d context should also be non-null"),e.shouldStream){vt(),u.value=!1;try{const n=await pt(t,e);d.value?(u.value=!0,r("camera-on",n)):await vt()}catch(o){r("error",o)}}else n.width=t.videoWidth,n.height=t.videoHeight,a.drawImage(t,0,0,t.videoWidth,t.videoHeight),vt(),u.value=!1,r("camera-off")},{deep:!0}),Object(a["watch"])(i,async e=>{d.value&&await de(e)});const h=Object(a["computed"])(()=>f.value.shouldStream&&u.value);Object(a["watch"])(h,e=>{if(e){ct(void 0!==s.value,"shouldScan watcher should only be triggered when component is mounted. Thus pause frame canvas is defined"),p(s.value),ct(void 0!==l.value,"shouldScan watcher should only be triggered when component is mounted. Thus tracking canvas is defined"),p(l.value);const e=()=>void 0===n.track?500:40;ct(void 0!==c.value,"shouldScan watcher should only be triggered when component is mounted. Thus video element is defined"),fe(c.value,{detectHandler:e=>r("detect",e),formats:i.value,locateHandler:m,minDelay:e()})}});const p=e=>{const t=e.getContext("2d");ct(null!==t,"canvas 2d context should always be non-null"),t.clearRect(0,0,e.width,e.height)},m=e=>{const t=l.value;ct(void 0!==t,"onLocate handler should only be called when component is mounted. Thus tracking canvas is always defined.");const r=c.value;if(ct(void 0!==r,"onLocate handler should only be called when component is mounted. Thus video element is always defined."),0===e.length||void 0===n.track)p(t);else{const a=r.offsetWidth,o=r.offsetHeight,i=r.videoWidth,s=r.videoHeight,l=Math.max(a/i,o/s),c=i*l,u=s*l,d=c/i,f=u/s,h=(a-c)/2,p=(o-u)/2,m=({x:e,y:t})=>({x:Math.floor(e*d),y:Math.floor(t*f)}),v=({x:e,y:t})=>({x:Math.floor(e+h),y:Math.floor(t+p)}),b=e.map(e=>{const{boundingBox:t,cornerPoints:n}=e,{x:r,y:a}=v(m({x:t.x,y:t.y})),{x:o,y:i}=m({x:t.width,y:t.height});return{...e,cornerPoints:n.map(e=>v(m(e))),boundingBox:DOMRectReadOnly.fromRect({x:r,y:a,width:o,height:i})}});t.width=r.offsetWidth,t.height=r.offsetHeight;const g=t.getContext("2d");n.track(b,g)}},v={width:"100%",height:"100%",position:"relative","z-index":"0"},b={width:"100%",height:"100%",position:"absolute",top:"0",left:"0"},g={width:"100%",height:"100%","object-fit":"cover"},y=Object(a["computed"])(()=>h.value?g:{...g,visibility:"hidden",position:"absolute"});return(e,t)=>(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{style:v},[Object(a["createElementVNode"])("video",{ref_key:"videoRef",ref:c,style:Object(a["normalizeStyle"])(y.value),autoplay:"",muted:"",playsinline:""},null,4),Object(a["withDirectives"])(Object(a["createElementVNode"])("canvas",{id:"qrcode-stream-pause-frame",ref_key:"pauseFrameRef",ref:s,style:g},null,512),[[a["vShow"],!h.value]]),Object(a["createElementVNode"])("canvas",{id:"qrcode-stream-tracking-layer",ref_key:"trackingLayerRef",ref:l,style:b},null,512),Object(a["createElementVNode"])("div",{style:b},[Object(a["renderSlot"])(e.$slots,"default")])]))}})}).call(this,n("4362"),n("c8ba"))},"0a84":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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 t}))},"0c24":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return s}));var r=n("7d20");const a=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(null!=t?t:{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return e},o=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),i=(e,t)=>(e.install=n=>{n.directive(t,e)},e),s=e=>(e.install=r["NOOP"],e)},"0caa":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n,r){var a={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return r?a[n][0]:a[n][1]}var n=e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}});return n}))},"0cb2":function(e,t,n){"use strict";var r=n("e330"),a=n("7b0b"),o=Math.floor,i=r("".charAt),s=r("".replace),l=r("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,d,f){var h=n+e.length,p=r.length,m=u;return void 0!==d&&(d=a(d),m=c),s(f,m,(function(a,s){var c;switch(i(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,h);case"<":c=d[l(s,1,-1)];break;default:var u=+s;if(0===u)return a;if(u>p){var f=o(u/10);return 0===f?a:f<=p?void 0===r[f-1]?i(s,1):r[f-1]+i(s,1):a}c=r[u-1]}return void 0===c?"":c}))}},"0cfb":function(e,t,n){"use strict";var r=n("83ab"),a=n("d039"),o=n("cc12");e.exports=!r&&!a((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d26":function(e,t,n){"use strict";var r=n("e330"),a=Error,o=r("".replace),i=function(e){return String(new a(e).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(i);e.exports=function(e,t){if(l&&"string"==typeof e&&!a.prepareStackTrace)while(t--)e=o(e,s,"");return e}},"0d51":function(e,t,n){"use strict";var r=String;e.exports=function(e){try{return r(e)}catch(t){return"Object"}}},"0df6":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"0e49":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});return t}))},"0e69":function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return d}));var r=n("83ec"),a=(n("bfce"),n("8afb")),o=n("461c"),i=n("7d20");const s="utils/dom/style",l=(e="")=>e.split(" ").filter(e=>!!e.trim()),c=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},u=(e,t)=>{e&&t.trim()&&e.classList.add(...l(t))},d=(e,t)=>{e&&t.trim()&&e.classList.remove(...l(t))},f=(e,t)=>{var n;if(!o["isClient"]||!e||!t)return"";let r=Object(i["camelize"])(t);"float"===r&&(r="cssFloat");try{const t=e.style[r];if(t)return t;const a=null==(n=document.defaultView)?void 0:n.getComputedStyle(e,"");return a?a[r]:""}catch(a){return e.style[r]}};function h(e,t="px"){return e?Object(r["d"])(e)||Object(r["f"])(e)?`${e}${t}`:Object(i["isString"])(e)?e:void Object(a["a"])(s,"binding value must be a string or number"):""}},"0e6b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:0,doy:4}});return t}))},"0e81":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={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ı"},n=e.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(e,t,n){return e<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugü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(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var r=e%10,a=e%100-r,o=e>=100?100:null;return e+(t[r]||t[a]||t[o])}},week:{dow:1,doy:7}});return n}))},"0f14":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"sø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 t}))},"0f38":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t}))},"0f3d":function(e,t,n){"use strict";(function(e){function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}function i(){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(e){return!1}}function s(e,t,n){return s=i()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var a=Function.bind.apply(e,r),i=new a;return n&&o(i,n.prototype),i},s.apply(null,arguments)}function l(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function c(e){var t="function"===typeof Map?new Map:void 0;return c=function(e){if(null===e||!l(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return s(e,arguments,a(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o(n,e)},c(e)}Object.defineProperty(t,"__esModule",{value:!0});var u=/%[sdj%]/g,d=function(){};function f(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)})),t}function h(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=0,o=n.length;if("function"===typeof e)return e.apply(null,n);if("string"===typeof e){var i=e.replace(u,(function(e){if("%%"===e)return"%";if(a>=o)return e;switch(e){case"%s":return String(n[a++]);case"%d":return Number(n[a++]);case"%j":try{return JSON.stringify(n[a++])}catch(t){return"[Circular]"}break;default:return e}}));return i}return e}function p(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}function m(e,t){return void 0===e||null===e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!p(t)||"string"!==typeof e||e))}function v(e,t,n){var r=[],a=0,o=e.length;function i(e){r.push.apply(r,e||[]),a++,a===o&&n(r)}e.forEach((function(e){t(e,i)}))}function b(e,t,n){var r=0,a=e.length;function o(i){if(i&&i.length)n(i);else{var s=r;r+=1,s<a?t(e[s],o):n([])}}o([])}function g(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n]||[])})),t}"undefined"!==typeof e&&Object({NODE_ENV:"production",VUE_APP_BASE_URL:"https://app.thexchangeplatform.io/",VUE_APP_BASE_URL_WS:"wss://app.thexchangeplatform.io/",BASE_URL:"/"});var y=function(e){function t(t,n){var r;return r=e.call(this,"Async Validation Error")||this,r.errors=t,r.fields=n,r}return r(t,e),t}(c(Error));function O(e,t,n,r,a){if(t.first){var o=new Promise((function(t,o){var i=function(e){return r(e),e.length?o(new y(e,f(e))):t(a)},s=g(e);b(s,n,i)}));return o["catch"]((function(e){return e})),o}var i=!0===t.firstFields?Object.keys(e):t.firstFields||[],s=Object.keys(e),l=s.length,c=0,u=[],d=new Promise((function(t,o){var d=function(e){if(u.push.apply(u,e),c++,c===l)return r(u),u.length?o(new y(u,f(u))):t(a)};s.length||(r(u),t(a)),s.forEach((function(t){var r=e[t];-1!==i.indexOf(t)?b(r,n,d):v(r,n,d)}))}));return d["catch"]((function(e){return e})),d}function w(e){return!(!e||void 0===e.message)}function _(e,t){for(var n=e,r=0;r<t.length;r++){if(void 0==n)return n;n=n[t[r]]}return n}function j(e,t){return function(n){var r;return r=e.fullFields?_(t,e.fullFields):t[n.field||e.fullField],w(n)?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:"function"===typeof n?n():n,fieldValue:r,field:n.field||e.fullField}}}function k(e,t){if(t)for(var r in t)if(t.hasOwnProperty(r)){var a=t[r];"object"===typeof a&&"object"===typeof e[r]?e[r]=n({},e[r],a):e[r]=a}return e}var x,S=function(e,t,n,r,a,o){!e.required||n.hasOwnProperty(e.field)&&!m(t,o||e.type)||r.push(h(a.messages.required,e.fullField))},C=function(e,t,n,r,a){(/^\s+$/.test(t)||""===t)&&r.push(h(a.messages.whitespace,e.fullField))},M=function(){if(x)return x;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?: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}",r="[a-fA-F\\d]{1,4}",a=("\n(?:\n(?:"+r+":){7}(?:"+r+"|:)|                                    // 1:2:3:4:5:6:7::  1:2:3:4:5:6:7:8\n(?:"+r+":){6}(?:"+n+"|:"+r+"|:)|                             // 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(?:"+r+":){5}(?::"+n+"|(?::"+r+"){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(?:"+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+"){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(?:"+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+"){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(?:"+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+"){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(?:"+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+"){1,6}|:)| // 1::              1::3:4:5:6:7:8   1::8            1::3:4:5:6:7:1.2.3.4\n(?::(?:(?::"+r+"){0,5}:"+n+"|(?::"+r+"){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(),o=new RegExp("(?:^"+n+"$)|(?:^"+a+"$)"),i=new RegExp("^"+n+"$"),s=new RegExp("^"+a+"$"),l=function(e){return e&&e.exact?o:new RegExp("(?:"+t(e)+n+t(e)+")|(?:"+t(e)+a+t(e)+")","g")};l.v4=function(e){return e&&e.exact?i:new RegExp(""+t(e)+n+t(e),"g")},l.v6=function(e){return e&&e.exact?s:new RegExp(""+t(e)+a+t(e),"g")};var c="(?:(?:[a-z]+:)?//)",u="(?:\\S+(?::\\S*)?@)?",d=l.v4().source,f=l.v6().source,h="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",p="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",m="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",v="(?::\\d{2,5})?",b='(?:[/?#][^\\s"]*)?',g="(?:"+c+"|www\\.)"+u+"(?:localhost|"+d+"|"+f+"|"+h+p+m+")"+v+b;return x=new RegExp("(?:^"+g+"$)","i"),x},A={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},T={integer:function(e){return T.number(e)&&parseInt(e,10)===e},float:function(e){return T.number(e)&&!T.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"===typeof e.getTime&&"function"===typeof e.getMonth&&"function"===typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"===typeof e},object:function(e){return"object"===typeof e&&!T.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&e.length<=320&&!!e.match(A.email)},url:function(e){return"string"===typeof e&&e.length<=2048&&!!e.match(M())},hex:function(e){return"string"===typeof e&&!!e.match(A.hex)}},E=function(e,t,n,r,a){if(e.required&&void 0===t)S(e,t,n,r,a);else{var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],i=e.type;o.indexOf(i)>-1?T[i](t)||r.push(h(a.messages.types[i],e.fullField,e.type)):i&&typeof t!==e.type&&r.push(h(a.messages.types[i],e.fullField,e.type))}},L=function(e,t,n,r,a){var o="number"===typeof e.len,i="number"===typeof e.min,s="number"===typeof e.max,l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=t,u=null,d="number"===typeof t,f="string"===typeof t,p=Array.isArray(t);if(d?u="number":f?u="string":p&&(u="array"),!u)return!1;p&&(c=t.length),f&&(c=t.replace(l,"_").length),o?c!==e.len&&r.push(h(a.messages[u].len,e.fullField,e.len)):i&&!s&&c<e.min?r.push(h(a.messages[u].min,e.fullField,e.min)):s&&!i&&c>e.max?r.push(h(a.messages[u].max,e.fullField,e.max)):i&&s&&(c<e.min||c>e.max)&&r.push(h(a.messages[u].range,e.fullField,e.min,e.max))},P="enum",D=function(e,t,n,r,a){e[P]=Array.isArray(e[P])?e[P]:[],-1===e[P].indexOf(t)&&r.push(h(a.messages[P],e.fullField,e[P].join(", ")))},N=function(e,t,n,r,a){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(h(a.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){var o=new RegExp(e.pattern);o.test(t)||r.push(h(a.messages.pattern.mismatch,e.fullField,t,e.pattern))}},R={required:S,whitespace:C,type:E,range:L,enum:D,pattern:N},I=function(e,t,n,r,a){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(m(t,"string")&&!e.required)return n();R.required(e,t,r,o,a,"string"),m(t,"string")||(R.type(e,t,r,o,a),R.range(e,t,r,o,a),R.pattern(e,t,r,o,a),!0===e.whitespace&&R.whitespace(e,t,r,o,a))}n(o)},B=function(e,t,n,r,a){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(m(t)&&!e.required)return n();R.required(e,t,r,o,a),void 0!==t&&R.type(e,t,r,o,a)}n(o)},F=function(e,t,n,r,a){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(""===t&&(t=void 0),m(t)&&!e.required)return n();R.required(e,t,r,o,a),void 0!==t&&(R.type(e,t,r,o,a),R.range(e,t,r,o,a))}n(o)},V=function(e,t,n,r,a){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(m(t)&&!e.required)return n();R.required(e,t,r,o,a),void 0!==t&&R.type(e,t,r,o,a)}n(o)},z=function(e,t,n,r,a){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(m(t)&&!e.required)return n();R.required(e,t,r,o,a),m(t)||R.type(e,t,r,o,a)}n(o)},H=function(e,t,n,r,a){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(m(t)&&!e.required)return n();R.required(e,t,r,o,a),void 0!==t&&(R.type(e,t,r,o,a),R.range(e,t,r,o,a))}n(o)},Y=function(e,t,n,r,a){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(m(t)&&!e.required)return n();R.required(e,t,r,o,a),void 0!==t&&(R.type(e,t,r,o,a),R.range(e,t,r,o,a))}n(o)},U=function(e,t,n,r,a){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if((void 0===t||null===t)&&!e.required)return n();R.required(e,t,r,o,a,"array"),void 0!==t&&null!==t&&(R.type(e,t,r,o,a),R.range(e,t,r,o,a))}n(o)},W=function(e,t,n,r,a){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(m(t)&&!e.required)return n();R.required(e,t,r,o,a),void 0!==t&&R.type(e,t,r,o,a)}n(o)},$="enum",q=function(e,t,n,r,a){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(m(t)&&!e.required)return n();R.required(e,t,r,o,a),void 0!==t&&R[$](e,t,r,o,a)}n(o)},G=function(e,t,n,r,a){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(m(t,"string")&&!e.required)return n();R.required(e,t,r,o,a),m(t,"string")||R.pattern(e,t,r,o,a)}n(o)},X=function(e,t,n,r,a){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(m(t,"date")&&!e.required)return n();var s;if(R.required(e,t,r,o,a),!m(t,"date"))s=t instanceof Date?t:new Date(t),R.type(e,s,r,o,a),s&&R.range(e,s.getTime(),r,o,a)}n(o)},K=function(e,t,n,r,a){var o=[],i=Array.isArray(t)?"array":typeof t;R.required(e,t,r,o,a,i),n(o)},J=function(e,t,n,r,a){var o=e.type,i=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(m(t,o)&&!e.required)return n();R.required(e,t,r,i,a,o),m(t,o)||R.type(e,t,r,i,a)}n(i)},Z=function(e,t,n,r,a){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(m(t)&&!e.required)return n();R.required(e,t,r,o,a)}n(o)},Q={string:I,method:B,number:F,boolean:V,regexp:z,integer:H,float:Y,array:U,object:W,enum:q,pattern:G,date:X,url:J,hex:J,email:J,required:K,any:Z};function ee(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var te=ee(),ne=function(){function e(e){this.rules=null,this._messages=te,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==typeof e||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]}))},t.messages=function(e){return e&&(this._messages=k(ee(),e)),this._messages},t.validate=function(t,r,a){var o=this;void 0===r&&(r={}),void 0===a&&(a=function(){});var i=t,s=r,l=a;if("function"===typeof s&&(l=s,s={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(null,i),Promise.resolve(i);function c(e){var t=[],n={};function r(e){var n;Array.isArray(e)?t=(n=t).concat.apply(n,e):t.push(e)}for(var a=0;a<e.length;a++)r(e[a]);t.length?(n=f(t),l(t,n)):l(null,i)}if(s.messages){var u=this.messages();u===te&&(u=ee()),k(u,s.messages),s.messages=u}else s.messages=this.messages();var d={},p=s.keys||Object.keys(this.rules);p.forEach((function(e){var r=o.rules[e],a=i[e];r.forEach((function(r){var s=r;"function"===typeof s.transform&&(i===t&&(i=n({},i)),a=i[e]=s.transform(a)),s="function"===typeof s?{validator:s}:n({},s),s.validator=o.getValidationMethod(s),s.validator&&(s.field=e,s.fullField=s.fullField||e,s.type=o.getType(s),d[e]=d[e]||[],d[e].push({rule:s,value:a,source:i,field:e}))}))}));var m={};return O(d,s,(function(t,r){var a,o=t.rule,l=("object"===o.type||"array"===o.type)&&("object"===typeof o.fields||"object"===typeof o.defaultField);function c(e,t){return n({},t,{fullField:o.fullField+"."+e,fullFields:o.fullFields?[].concat(o.fullFields,[e]):[e]})}function u(a){void 0===a&&(a=[]);var u=Array.isArray(a)?a:[a];!s.suppressWarning&&u.length&&e.warning("async-validator:",u),u.length&&void 0!==o.message&&(u=[].concat(o.message));var d=u.map(j(o,i));if(s.first&&d.length)return m[o.field]=1,r(d);if(l){if(o.required&&!t.value)return void 0!==o.message?d=[].concat(o.message).map(j(o,i)):s.error&&(d=[s.error(o,h(s.messages.required,o.field))]),r(d);var f={};o.defaultField&&Object.keys(t.value).map((function(e){f[e]=o.defaultField})),f=n({},f,t.rule.fields);var p={};Object.keys(f).forEach((function(e){var t=f[e],n=Array.isArray(t)?t:[t];p[e]=n.map(c.bind(null,e))}));var v=new e(p);v.messages(s.messages),t.rule.options&&(t.rule.options.messages=s.messages,t.rule.options.error=s.error),v.validate(t.value,t.rule.options||s,(function(e){var t=[];d&&d.length&&t.push.apply(t,d),e&&e.length&&t.push.apply(t,e),r(t.length?t:null)}))}else r(d)}if(l=l&&(o.required||!o.required&&t.value),o.field=t.field,o.asyncValidator)a=o.asyncValidator(o,t.value,u,t.source,s);else if(o.validator){try{a=o.validator(o,t.value,u,t.source,s)}catch(d){null==console.error||console.error(d),s.suppressValidatorError||setTimeout((function(){throw d}),0),u(d.message)}!0===a?u():!1===a?u("function"===typeof o.message?o.message(o.fullField||o.field):o.message||(o.fullField||o.field)+" fails"):a instanceof Array?u(a):a instanceof Error&&u(a.message)}a&&a.then&&a.then((function(){return u()}),(function(e){return u(e)}))}),(function(e){c(e)}),i)},t.getType=function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!==typeof e.validator&&e.type&&!Q.hasOwnProperty(e.type))throw new Error(h("Unknown rule type %s",e.type));return e.type||"string"},t.getValidationMethod=function(e){if("function"===typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?Q.required:Q[this.getType(e)]||void 0},e}();ne.register=function(e,t){if("function"!==typeof t)throw new Error("Cannot register a validator by type, validator is not a function");Q[e]=t},ne.warning=d,ne.messages=te,ne.validators=Q,t["default"]=ne}).call(this,n("4362"))},"0ff2":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return t}))},"10e8":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<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 t}))},1127:function(e,t,n){"use strict";function r(e,t){o(e)&&(e="100%");var n=i(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t)),e)}function a(e){return Math.min(1,Math.max(0,e))}function o(e){return"string"===typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)}function i(e){return"string"===typeof e&&-1!==e.indexOf("%")}function s(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function l(e){return e<=1?"".concat(100*Number(e),"%"):e}function c(e){return 1===e.length?"0"+e:String(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.pad2=t.convertToPercentage=t.boundAlpha=t.isPercentage=t.isOnePointZero=t.clamp01=t.bound01=void 0,t.bound01=r,t.clamp01=a,t.isOnePointZero=o,t.isPercentage=i,t.boundAlpha=s,t.convertToPercentage=l,t.pad2=c},"13d2":function(e,t,n){"use strict";var r=n("e330"),a=n("d039"),o=n("1626"),i=n("1a2d"),s=n("83ab"),l=n("5e77").CONFIGURABLE,c=n("8925"),u=n("69f3"),d=u.enforce,f=u.get,h=String,p=Object.defineProperty,m=r("".slice),v=r("".replace),b=r([].join),g=s&&!a((function(){return 8!==p((function(){}),"length",{value:8}).length})),y=String(String).split("String"),O=e.exports=function(e,t,n){"Symbol("===m(h(t),0,7)&&(t="["+v(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||l&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),g&&n&&i(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(a){}var r=d(e);return i(r,"source")||(r.source=b(y,"string"==typeof t?t:"")),e};Function.prototype.toString=O((function(){return o(this)&&f(this).source||c(this)}),"toString")},"13e9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10===1?t[0]:t[1]:t[2]},translate:function(e,n,r,a){var o,i=t.words[r];return 1===r.length?"y"===r&&n?"једна година":a||n?i[0]:i[1]:(o=t.correctGrammaticalCase(e,i),"yy"===r&&n&&"годину"===o?e+" година":e+" "+o)}},n=e.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 e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"14d9":function(e,t,n){"use strict";var r=n("23e7"),a=n("7b0b"),o=n("07fa"),i=n("3a34"),s=n("3511"),l=n("d039"),c=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},d=c||!u();r({target:"Array",proto:!0,arity:1,forced:d},{push:function(e){var t=a(this),n=o(t),r=arguments.length;s(n+r);for(var l=0;l<r;l++)t[n]=arguments[l],n++;return i(t,n),n}})},1626:function(e,t,n){"use strict";var r="object"==typeof document&&document.all;e.exports="undefined"==typeof r&&void 0!==r?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},"167b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});return t}))},1787:function(e,t,n){"use strict";var r=n("861d");e.exports=function(e){return r(e)||null===e}},"19a5":function(e,t,n){"use strict";n.r(t),n.d(t,"__onlyVue27Plus",(function(){return F})),n.d(t,"__onlyVue3",(function(){return B})),n.d(t,"assert",(function(){return b})),n.d(t,"autoResetRef",(function(){return ve})),n.d(t,"bypassFilter",(function(){return D})),n.d(t,"clamp",(function(){return C})),n.d(t,"computedEager",(function(){return p})),n.d(t,"computedWithControl",(function(){return G})),n.d(t,"containsProp",(function(){return W})),n.d(t,"controlledComputed",(function(){return G})),n.d(t,"controlledRef",(function(){return je})),n.d(t,"createEventHook",(function(){return K})),n.d(t,"createFilterWrapper",(function(){return P})),n.d(t,"createGlobalState",(function(){return J})),n.d(t,"createInjectionState",(function(){return Z})),n.d(t,"createReactiveFn",(function(){return ue})),n.d(t,"createSharedComposable",(function(){return Q})),n.d(t,"createSingletonPromise",(function(){return Y})),n.d(t,"debounceFilter",(function(){return N})),n.d(t,"debouncedRef",(function(){return ge})),n.d(t,"debouncedWatch",(function(){return Xt})),n.d(t,"directiveHooks",(function(){return V})),n.d(t,"eagerComputed",(function(){return p})),n.d(t,"extendRef",(function(){return ee})),n.d(t,"formatDate",(function(){return ot})),n.d(t,"get",(function(){return te})),n.d(t,"hasOwn",(function(){return E})),n.d(t,"identity",(function(){return H})),n.d(t,"ignorableWatch",(function(){return sn})),n.d(t,"increaseWithUnit",(function(){return $})),n.d(t,"invoke",(function(){return U})),n.d(t,"isBoolean",(function(){return y})),n.d(t,"isClient",(function(){return m})),n.d(t,"isDef",(function(){return v})),n.d(t,"isDefined",(function(){return ne})),n.d(t,"isFunction",(function(){return O})),n.d(t,"isIOS",(function(){return T})),n.d(t,"isNumber",(function(){return w})),n.d(t,"isObject",(function(){return j})),n.d(t,"isString",(function(){return _})),n.d(t,"isWindow",(function(){return k})),n.d(t,"makeDestructurable",(function(){return ce})),n.d(t,"noop",(function(){return M})),n.d(t,"normalizeDate",(function(){return it})),n.d(t,"now",(function(){return x})),n.d(t,"objectPick",(function(){return q})),n.d(t,"pausableFilter",(function(){return I})),n.d(t,"pausableWatch",(function(){return yn})),n.d(t,"promiseTimeout",(function(){return z})),n.d(t,"rand",(function(){return A})),n.d(t,"reactify",(function(){return ue})),n.d(t,"reactifyObject",(function(){return de})),n.d(t,"reactiveComputed",(function(){return he})),n.d(t,"reactiveOmit",(function(){return pe})),n.d(t,"reactivePick",(function(){return me})),n.d(t,"refAutoReset",(function(){return ve})),n.d(t,"refDebounced",(function(){return ge})),n.d(t,"refDefault",(function(){return ye})),n.d(t,"refThrottled",(function(){return we})),n.d(t,"refWithControl",(function(){return _e})),n.d(t,"resolveRef",(function(){return ke})),n.d(t,"resolveUnref",(function(){return L})),n.d(t,"set",(function(){return xe})),n.d(t,"syncRef",(function(){return Se})),n.d(t,"syncRefs",(function(){return Ce})),n.d(t,"throttleFilter",(function(){return R})),n.d(t,"throttledRef",(function(){return we})),n.d(t,"throttledWatch",(function(){return Tn})),n.d(t,"timestamp",(function(){return S})),n.d(t,"toReactive",(function(){return fe})),n.d(t,"toRefs",(function(){return Ie})),n.d(t,"tryOnBeforeMount",(function(){return Be})),n.d(t,"tryOnBeforeUnmount",(function(){return Fe})),n.d(t,"tryOnMounted",(function(){return Ve})),n.d(t,"tryOnScopeDispose",(function(){return X})),n.d(t,"tryOnUnmounted",(function(){return ze})),n.d(t,"until",(function(){return Ye})),n.d(t,"useArrayEvery",(function(){return Ue})),n.d(t,"useArrayFilter",(function(){return We})),n.d(t,"useArrayFind",(function(){return $e})),n.d(t,"useArrayFindIndex",(function(){return qe})),n.d(t,"useArrayFindLast",(function(){return Xe})),n.d(t,"useArrayJoin",(function(){return Ke})),n.d(t,"useArrayMap",(function(){return Je})),n.d(t,"useArrayReduce",(function(){return Ze})),n.d(t,"useArraySome",(function(){return Qe})),n.d(t,"useArrayUnique",(function(){return et})),n.d(t,"useCounter",(function(){return tt})),n.d(t,"useDateFormat",(function(){return st})),n.d(t,"useDebounce",(function(){return ge})),n.d(t,"useDebounceFn",(function(){return be})),n.d(t,"useInterval",(function(){return mt})),n.d(t,"useIntervalFn",(function(){return lt})),n.d(t,"useLastChanged",(function(){return vt})),n.d(t,"useThrottle",(function(){return we})),n.d(t,"useThrottleFn",(function(){return Oe})),n.d(t,"useTimeout",(function(){return kt})),n.d(t,"useTimeoutFn",(function(){return bt})),n.d(t,"useToNumber",(function(){return xt})),n.d(t,"useToString",(function(){return St})),n.d(t,"useToggle",(function(){return Ct})),n.d(t,"watchArray",(function(){return Mt})),n.d(t,"watchAtMost",(function(){return Bt})),n.d(t,"watchDebounced",(function(){return Xt})),n.d(t,"watchIgnorable",(function(){return sn})),n.d(t,"watchOnce",(function(){return ln})),n.d(t,"watchPausable",(function(){return yn})),n.d(t,"watchThrottled",(function(){return Tn})),n.d(t,"watchTriggerable",(function(){return Vn})),n.d(t,"watchWithFilter",(function(){return Pt})),n.d(t,"whenever",(function(){return Un}));var r,a=n("d6e4"),o=Object.defineProperty,i=Object.defineProperties,s=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,d=(e,t,n)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||(t={}))c.call(t,n)&&d(e,n,t[n]);if(l)for(var n of l(t))u.call(t,n)&&d(e,n,t[n]);return e},h=(e,t)=>i(e,s(t));function p(e,t){var n;const r=Object(a["shallowRef"])();return Object(a["watchEffect"])(()=>{r.value=e()},h(f({},t),{flush:null!=(n=null==t?void 0:t.flush)?n:"sync"})),Object(a["readonly"])(r)}const m="undefined"!==typeof window,v=e=>"undefined"!==typeof e,b=(e,...t)=>{e||console.warn(...t)},g=Object.prototype.toString,y=e=>"boolean"===typeof e,O=e=>"function"===typeof e,w=e=>"number"===typeof e,_=e=>"string"===typeof e,j=e=>"[object Object]"===g.call(e),k=e=>"undefined"!==typeof window&&"[object Window]"===g.call(e),x=()=>Date.now(),S=()=>+Date.now(),C=(e,t,n)=>Math.min(n,Math.max(t,e)),M=()=>{},A=(e,t)=>(e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e),T=m&&(null==(r=null==window?void 0:window.navigator)?void 0:r.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent),E=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);function L(e){return"function"===typeof e?e():Object(a["unref"])(e)}function P(e,t){function n(...n){return new Promise((r,a)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(a)})}return n}const D=e=>e();function N(e,t={}){let n,r,a=M;const o=e=>{clearTimeout(e),a(),a=M},i=i=>{const s=L(e),l=L(t.maxWait);return n&&o(n),s<=0||void 0!==l&&l<=0?(r&&(o(r),r=null),Promise.resolve(i())):new Promise((e,c)=>{a=t.rejectOnCancel?c:e,l&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,e(i())},l)),n=setTimeout(()=>{r&&o(r),r=null,e(i())},s)})};return i}function R(e,t=!0,n=!0,r=!1){let a,o,i=0,s=!0,l=M;const c=()=>{a&&(clearTimeout(a),a=void 0,l(),l=M)},u=u=>{const d=L(e),f=Date.now()-i,h=()=>o=u();return c(),d<=0?(i=Date.now(),h()):(f>d&&(n||!s)?(i=Date.now(),h()):t&&(o=new Promise((e,t)=>{l=r?t:e,a=setTimeout(()=>{i=Date.now(),s=!0,e(h()),c()},Math.max(0,d-f))})),n||a||(a=setTimeout(()=>s=!0,d)),s=!1,o)};return u}function I(e=D){const t=Object(a["ref"])(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...n)=>{t.value&&e(...n)};return{isActive:Object(a["readonly"])(t),pause:n,resume:r,eventFilter:o}}function B(e="this function"){if(!a["isVue3"])throw new Error(`[VueUse] ${e} is only works on Vue 3.`)}function F(e="this function"){if(!a["isVue3"]&&!a["version"].startsWith("2.7."))throw new Error(`[VueUse] ${e} is only works on Vue 2.7 or above.`)}const V={mounted:a["isVue3"]?"mounted":"inserted",updated:a["isVue3"]?"updated":"componentUpdated",unmounted:a["isVue3"]?"unmounted":"unbind"};function z(e,t=!1,n="Timeout"){return new Promise((r,a)=>{t?setTimeout(()=>a(n),e):setTimeout(r,e)})}function H(e){return e}function Y(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const e=t;t=void 0,e&&await e},n}function U(e){return e()}function W(e,...t){return t.some(t=>t in e)}function $(e,t){var n;if("number"===typeof e)return e+t;const r=(null==(n=e.match(/^-?[0-9]+\.?[0-9]*/))?void 0:n[0])||"",a=e.slice(r.length),o=parseFloat(r)+t;return Number.isNaN(o)?e:o+a}function q(e,t,n=!1){return t.reduce((t,r)=>(r in e&&(n&&void 0===e[r]||(t[r]=e[r])),t),{})}function G(e,t){let n,r,o=void 0;const i=Object(a["ref"])(!0),s=()=>{i.value=!0,r()};Object(a["watch"])(e,s,{flush:"sync"});const l=O(t)?t:t.get,c=O(t)?void 0:t.set,u=Object(a["customRef"])((e,t)=>(n=e,r=t,{get(){return i.value&&(o=l(),i.value=!1),n(),o},set(e){null==c||c(e)}}));return Object.isExtensible(u)&&(u.trigger=s),u}function X(e){return!!Object(a["getCurrentScope"])()&&(Object(a["onScopeDispose"])(e),!0)}function K(){const e=[],t=t=>{const n=e.indexOf(t);-1!==n&&e.splice(n,1)},n=n=>{e.push(n);const r=()=>t(n);return X(r),{off:r}},r=t=>{e.forEach(e=>e(t))};return{on:n,off:t,trigger:r}}function J(e){let t,n=!1;const r=Object(a["effectScope"])(!0);return()=>(n||(t=r.run(e),n=!0),t)}function Z(e){const t=Symbol("InjectionState"),n=(...n)=>{const r=e(...n);return Object(a["provide"])(t,r),r},r=()=>Object(a["inject"])(t);return[n,r]}function Q(e){let t,n,r=0;const o=()=>{r-=1,n&&r<=0&&(n.stop(),t=void 0,n=void 0)};return(...i)=>(r+=1,t||(n=Object(a["effectScope"])(!0),t=n.run(()=>e(...i))),X(o),t)}function ee(e,t,{enumerable:n=!1,unwrap:r=!0}={}){F();for(const[o,i]of Object.entries(t))"value"!==o&&(Object(a["isRef"])(i)&&r?Object.defineProperty(e,o,{get(){return i.value},set(e){i.value=e},enumerable:n}):Object.defineProperty(e,o,{value:i,enumerable:n}));return e}function te(e,t){return null==t?Object(a["unref"])(e):Object(a["unref"])(e)[t]}function ne(e){return null!=Object(a["unref"])(e)}var re=Object.defineProperty,ae=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,se=(e,t,n)=>t in e?re(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,le=(e,t)=>{for(var n in t||(t={}))oe.call(t,n)&&se(e,n,t[n]);if(ae)for(var n of ae(t))ie.call(t,n)&&se(e,n,t[n]);return e};function ce(e,t){if("undefined"!==typeof Symbol){const n=le({},e);return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let e=0;return{next:()=>({value:t[e++],done:e>t.length})}}}),n}return Object.assign([...t],e)}function ue(e,t){const n=!1===(null==t?void 0:t.computedGetter)?a["unref"]:L;return function(...t){return Object(a["computed"])(()=>e.apply(this,t.map(e=>n(e))))}}function de(e,t={}){let n,r=[];if(Array.isArray(t))r=t;else{n=t;const{includeOwnProperties:a=!0}=t;r.push(...Object.keys(e)),a&&r.push(...Object.getOwnPropertyNames(e))}return Object.fromEntries(r.map(t=>{const r=e[t];return[t,"function"===typeof r?ue(r.bind(e),n):r]}))}function fe(e){if(!Object(a["isRef"])(e))return Object(a["reactive"])(e);const t=new Proxy({},{get(t,n,r){return Object(a["unref"])(Reflect.get(e.value,n,r))},set(t,n,r){return Object(a["isRef"])(e.value[n])&&!Object(a["isRef"])(r)?e.value[n].value=r:e.value[n]=r,!0},deleteProperty(t,n){return Reflect.deleteProperty(e.value,n)},has(t,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Object(a["reactive"])(t)}function he(e){return fe(Object(a["computed"])(e))}function pe(e,...t){const n=t.flat();return he(()=>Object.fromEntries(Object.entries(Object(a["toRefs"])(e)).filter(e=>!n.includes(e[0]))))}function me(e,...t){const n=t.flat();return Object(a["reactive"])(Object.fromEntries(n.map(t=>[t,Object(a["toRef"])(e,t)])))}function ve(e,t=1e4){return Object(a["customRef"])((n,r)=>{let a,o=e;const i=()=>setTimeout(()=>{o=e,r()},L(t));return X(()=>{clearTimeout(a)}),{get(){return n(),o},set(e){o=e,r(),clearTimeout(a),a=i()}}})}function be(e,t=200,n={}){return P(N(t,n),e)}function ge(e,t=200,n={}){const r=Object(a["ref"])(e.value),o=be(()=>{r.value=e.value},t,n);return Object(a["watch"])(e,()=>o()),r}function ye(e,t){return Object(a["computed"])({get(){var n;return null!=(n=e.value)?n:t},set(t){e.value=t}})}function Oe(e,t=200,n=!1,r=!0,a=!1){return P(R(t,n,r,a),e)}function we(e,t=200,n=!0,r=!0){if(t<=0)return e;const o=Object(a["ref"])(e.value),i=Oe(()=>{o.value=e.value},t,n,r);return Object(a["watch"])(e,()=>i()),o}function _e(e,t={}){let n,r,o=e;const i=Object(a["customRef"])((e,t)=>(n=e,r=t,{get(){return s()},set(e){l(e)}}));function s(e=!0){return e&&n(),o}function l(e,n=!0){var a,i;if(e===o)return;const s=o;!1!==(null==(a=t.onBeforeChange)?void 0:a.call(t,e,s))&&(o=e,null==(i=t.onChanged)||i.call(t,e,s),n&&r())}const c=()=>s(!1),u=e=>l(e,!1),d=()=>s(!1),f=e=>l(e,!1);return ee(i,{get:s,set:l,untrackedGet:c,silentSet:u,peek:d,lay:f},{enumerable:!0})}const je=_e;function ke(e){return"function"===typeof e?Object(a["computed"])(e):Object(a["ref"])(e)}function xe(...e){if(2===e.length){const[t,n]=e;t.value=n}if(3===e.length)if(a["isVue2"])Object(a["set"])(...e);else{const[t,n,r]=e;t[n]=r}}function Se(e,t,n={}){var r,o;const{flush:i="sync",deep:s=!1,immediate:l=!0,direction:c="both",transform:u={}}=n;let d,f;const h=null!=(r=u.ltr)?r:e=>e,p=null!=(o=u.rtl)?o:e=>e;return"both"!==c&&"ltr"!==c||(d=Object(a["watch"])(e,e=>t.value=h(e),{flush:i,deep:s,immediate:l})),"both"!==c&&"rtl"!==c||(f=Object(a["watch"])(t,t=>e.value=p(t),{flush:i,deep:s,immediate:l})),()=>{null==d||d(),null==f||f()}}function Ce(e,t,n={}){const{flush:r="sync",deep:o=!1,immediate:i=!0}=n;return Array.isArray(t)||(t=[t]),Object(a["watch"])(e,e=>t.forEach(t=>t.value=e),{flush:r,deep:o,immediate:i})}var Me=Object.defineProperty,Ae=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,De=(e,t,n)=>t in e?Me(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ne=(e,t)=>{for(var n in t||(t={}))Le.call(t,n)&&De(e,n,t[n]);if(Ee)for(var n of Ee(t))Pe.call(t,n)&&De(e,n,t[n]);return e},Re=(e,t)=>Ae(e,Te(t));function Ie(e){if(!Object(a["isRef"])(e))return Object(a["toRefs"])(e);const t=Array.isArray(e.value)?new Array(e.value.length):{};for(const n in e.value)t[n]=Object(a["customRef"])(()=>({get(){return e.value[n]},set(t){if(Array.isArray(e.value)){const r=[...e.value];r[n]=t,e.value=r}else{const r=Re(Ne({},e.value),{[n]:t});Object.setPrototypeOf(r,e.value),e.value=r}}}));return t}function Be(e,t=!0){Object(a["getCurrentInstance"])()?Object(a["onBeforeMount"])(e):t?e():Object(a["nextTick"])(e)}function Fe(e){Object(a["getCurrentInstance"])()&&Object(a["onBeforeUnmount"])(e)}function Ve(e,t=!0){Object(a["getCurrentInstance"])()?Object(a["onMounted"])(e):t?e():Object(a["nextTick"])(e)}function ze(e){Object(a["getCurrentInstance"])()&&Object(a["onUnmounted"])(e)}function He(e,t=!1){function n(n,{flush:r="sync",deep:o=!1,timeout:i,throwOnTimeout:s}={}){let l=null;const c=new Promise(i=>{l=Object(a["watch"])(e,e=>{n(e)!==t&&(null==l||l(),i(e))},{flush:r,deep:o,immediate:!0})}),u=[c];return null!=i&&u.push(z(i,s).then(()=>L(e)).finally(()=>null==l?void 0:l())),Promise.race(u)}function r(r,o){if(!Object(a["isRef"])(r))return n(e=>e===r,o);const{flush:i="sync",deep:s=!1,timeout:l,throwOnTimeout:c}=null!=o?o:{};let u=null;const d=new Promise(n=>{u=Object(a["watch"])([e,r],([e,r])=>{t!==(e===r)&&(null==u||u(),n(e))},{flush:i,deep:s,immediate:!0})}),f=[d];return null!=l&&f.push(z(l,c).then(()=>L(e)).finally(()=>(null==u||u(),L(e)))),Promise.race(f)}function o(e){return n(e=>Boolean(e),e)}function i(e){return r(null,e)}function s(e){return r(void 0,e)}function l(e){return n(Number.isNaN,e)}function c(e,t){return n(t=>{const n=Array.from(t);return n.includes(e)||n.includes(L(e))},t)}function u(e){return d(1,e)}function d(e=1,t){let r=-1;return n(()=>(r+=1,r>=e),t)}if(Array.isArray(L(e))){const r={toMatch:n,toContains:c,changed:u,changedTimes:d,get not(){return He(e,!t)}};return r}{const a={toMatch:n,toBe:r,toBeTruthy:o,toBeNull:i,toBeNaN:l,toBeUndefined:s,changed:u,changedTimes:d,get not(){return He(e,!t)}};return a}}function Ye(e){return He(e)}function Ue(e,t){return Object(a["computed"])(()=>L(e).every((e,n,r)=>t(L(e),n,r)))}function We(e,t){return Object(a["computed"])(()=>L(e).map(e=>L(e)).filter(t))}function $e(e,t){return Object(a["computed"])(()=>L(L(e).find((e,n,r)=>t(L(e),n,r))))}function qe(e,t){return Object(a["computed"])(()=>L(e).findIndex((e,n,r)=>t(L(e),n,r)))}function Ge(e,t){let n=e.length;while(n-- >0)if(t(e[n],n,e))return e[n]}function Xe(e,t){return Object(a["computed"])(()=>L(Array.prototype.findLast?L(e).findLast((e,n,r)=>t(L(e),n,r)):Ge(L(e),(e,n,r)=>t(L(e),n,r))))}function Ke(e,t){return Object(a["computed"])(()=>L(e).map(e=>L(e)).join(L(t)))}function Je(e,t){return Object(a["computed"])(()=>L(e).map(e=>L(e)).map(t))}function Ze(e,t,...n){const r=(e,n,r)=>t(L(e),L(n),r);return Object(a["computed"])(()=>{const t=L(e);return n.length?t.reduce(r,L(n[0])):t.reduce(r)})}function Qe(e,t){return Object(a["computed"])(()=>L(e).some((e,n,r)=>t(L(e),n,r)))}function et(e){return Object(a["computed"])(()=>[...new Set(L(e).map(e=>L(e)))])}function tt(e=0,t={}){const n=Object(a["ref"])(e),{max:r=1/0,min:o=-1/0}=t,i=(e=1)=>n.value=Math.min(r,n.value+e),s=(e=1)=>n.value=Math.max(o,n.value-e),l=()=>n.value,c=e=>n.value=Math.max(o,Math.min(r,e)),u=(t=e)=>(e=t,c(t));return{count:n,inc:i,dec:s,get:l,set:c,reset:u}}const nt=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,rt=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g,at=(e,t,n,r)=>{let a=e<12?"AM":"PM";return r&&(a=a.split("").reduce((e,t)=>e+(t+"."),"")),n?a.toLowerCase():a},ot=(e,t,n={})=>{var r;const a=e.getFullYear(),o=e.getMonth(),i=e.getDate(),s=e.getHours(),l=e.getMinutes(),c=e.getSeconds(),u=e.getMilliseconds(),d=e.getDay(),f=null!=(r=n.customMeridiem)?r:at,h={YY:()=>String(a).slice(-2),YYYY:()=>a,M:()=>o+1,MM:()=>(""+(o+1)).padStart(2,"0"),MMM:()=>e.toLocaleDateString(n.locales,{month:"short"}),MMMM:()=>e.toLocaleDateString(n.locales,{month:"long"}),D:()=>String(i),DD:()=>(""+i).padStart(2,"0"),H:()=>String(s),HH:()=>(""+s).padStart(2,"0"),h:()=>(""+(s%12||12)).padStart(1,"0"),hh:()=>(""+(s%12||12)).padStart(2,"0"),m:()=>String(l),mm:()=>(""+l).padStart(2,"0"),s:()=>String(c),ss:()=>(""+c).padStart(2,"0"),SSS:()=>(""+u).padStart(3,"0"),d:()=>d,dd:()=>e.toLocaleDateString(n.locales,{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(n.locales,{weekday:"short"}),dddd:()=>e.toLocaleDateString(n.locales,{weekday:"long"}),A:()=>f(s,l),AA:()=>f(s,l,!1,!0),a:()=>f(s,l,!0),aa:()=>f(s,l,!0,!0)};return t.replace(rt,(e,t)=>t||h[e]())},it=e=>{if(null===e)return new Date(NaN);if(void 0===e)return new Date;if(e instanceof Date)return new Date(e);if("string"===typeof e&&!/Z$/i.test(e)){const t=e.match(nt);if(t){const e=t[2]-1||0,n=(t[7]||"0").substring(0,3);return new Date(t[1],e,t[3]||1,t[4]||0,t[5]||0,t[6]||0,n)}}return new Date(e)};function st(e,t="HH:mm:ss",n={}){return Object(a["computed"])(()=>ot(it(L(e)),L(t),n))}function lt(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n;let i=null;const s=Object(a["ref"])(!1);function l(){i&&(clearInterval(i),i=null)}function c(){s.value=!1,l()}function u(){const n=L(t);n<=0||(s.value=!0,o&&e(),l(),i=setInterval(e,n))}if(r&&m&&u(),Object(a["isRef"])(t)||O(t)){const e=Object(a["watch"])(t,()=>{s.value&&m&&u()});X(e)}return X(c),{isActive:s,pause:c,resume:u}}var ct=Object.defineProperty,ut=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,ft=Object.prototype.propertyIsEnumerable,ht=(e,t,n)=>t in e?ct(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pt=(e,t)=>{for(var n in t||(t={}))dt.call(t,n)&&ht(e,n,t[n]);if(ut)for(var n of ut(t))ft.call(t,n)&&ht(e,n,t[n]);return e};function mt(e=1e3,t={}){const{controls:n=!1,immediate:r=!0,callback:o}=t,i=Object(a["ref"])(0),s=()=>i.value+=1,l=()=>{i.value=0},c=lt(o?()=>{s(),o(i.value)}:s,e,{immediate:r});return n?pt({counter:i,reset:l},c):i}function vt(e,t={}){var n;const r=Object(a["ref"])(null!=(n=t.initialValue)?n:null);return Object(a["watch"])(e,()=>r.value=S(),t),r}function bt(e,t,n={}){const{immediate:r=!0}=n,o=Object(a["ref"])(!1);let i=null;function s(){i&&(clearTimeout(i),i=null)}function l(){o.value=!1,s()}function c(...n){s(),o.value=!0,i=setTimeout(()=>{o.value=!1,i=null,e(...n)},L(t))}return r&&(o.value=!0,m&&c()),X(l),{isPending:Object(a["readonly"])(o),start:c,stop:l}}var gt=Object.defineProperty,yt=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,_t=(e,t,n)=>t in e?gt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jt=(e,t)=>{for(var n in t||(t={}))Ot.call(t,n)&&_t(e,n,t[n]);if(yt)for(var n of yt(t))wt.call(t,n)&&_t(e,n,t[n]);return e};function kt(e=1e3,t={}){const{controls:n=!1,callback:r}=t,o=bt(null!=r?r:M,e,t),i=Object(a["computed"])(()=>!o.isPending.value);return n?jt({ready:i},o):i}function xt(e,t={}){const{method:n="parseFloat",radix:r,nanToZero:o}=t;return Object(a["computed"])(()=>{let t=L(e);return"string"===typeof t&&(t=Number[n](t,r)),o&&isNaN(t)&&(t=0),t})}function St(e){return Object(a["computed"])(()=>""+L(e))}function Ct(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Object(a["isRef"])(e),i=Object(a["ref"])(e);function s(e){if(arguments.length)return i.value=e,i.value;{const e=L(n);return i.value=i.value===e?L(r):e,i.value}}return o?s:[i,s]}function Mt(e,t,n){let r=(null==n?void 0:n.immediate)?[]:[...e instanceof Function?e():Array.isArray(e)?e:Object(a["unref"])(e)];return Object(a["watch"])(e,(e,n,a)=>{const o=new Array(r.length),i=[];for(const t of e){let e=!1;for(let n=0;n<r.length;n++)if(!o[n]&&t===r[n]){o[n]=!0,e=!0;break}e||i.push(t)}const s=r.filter((e,t)=>!o[t]);t(e,r,i,s,a),r=[...e]},n)}var At=Object.getOwnPropertySymbols,Tt=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable,Lt=(e,t)=>{var n={};for(var r in e)Tt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&At)for(var r of At(e))t.indexOf(r)<0&&Et.call(e,r)&&(n[r]=e[r]);return n};function Pt(e,t,n={}){const r=n,{eventFilter:o=D}=r,i=Lt(r,["eventFilter"]);return Object(a["watch"])(e,P(o,t),i)}var Dt=Object.getOwnPropertySymbols,Nt=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,It=(e,t)=>{var n={};for(var r in e)Nt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Dt)for(var r of Dt(e))t.indexOf(r)<0&&Rt.call(e,r)&&(n[r]=e[r]);return n};function Bt(e,t,n){const r=n,{count:o}=r,i=It(r,["count"]),s=Object(a["ref"])(0),l=Pt(e,(...e)=>{s.value+=1,s.value>=L(o)&&Object(a["nextTick"])(()=>l()),t(...e)},i);return{count:s,stop:l}}var Ft=Object.defineProperty,Vt=Object.defineProperties,zt=Object.getOwnPropertyDescriptors,Ht=Object.getOwnPropertySymbols,Yt=Object.prototype.hasOwnProperty,Ut=Object.prototype.propertyIsEnumerable,Wt=(e,t,n)=>t in e?Ft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$t=(e,t)=>{for(var n in t||(t={}))Yt.call(t,n)&&Wt(e,n,t[n]);if(Ht)for(var n of Ht(t))Ut.call(t,n)&&Wt(e,n,t[n]);return e},qt=(e,t)=>Vt(e,zt(t)),Gt=(e,t)=>{var n={};for(var r in e)Yt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Ht)for(var r of Ht(e))t.indexOf(r)<0&&Ut.call(e,r)&&(n[r]=e[r]);return n};function Xt(e,t,n={}){const r=n,{debounce:a=0,maxWait:o}=r,i=Gt(r,["debounce","maxWait"]);return Pt(e,t,qt($t({},i),{eventFilter:N(a,{maxWait:o})}))}var Kt=Object.defineProperty,Jt=Object.defineProperties,Zt=Object.getOwnPropertyDescriptors,Qt=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,tn=Object.prototype.propertyIsEnumerable,nn=(e,t,n)=>t in e?Kt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rn=(e,t)=>{for(var n in t||(t={}))en.call(t,n)&&nn(e,n,t[n]);if(Qt)for(var n of Qt(t))tn.call(t,n)&&nn(e,n,t[n]);return e},an=(e,t)=>Jt(e,Zt(t)),on=(e,t)=>{var n={};for(var r in e)en.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Qt)for(var r of Qt(e))t.indexOf(r)<0&&tn.call(e,r)&&(n[r]=e[r]);return n};function sn(e,t,n={}){const r=n,{eventFilter:o=D}=r,i=on(r,["eventFilter"]),s=P(o,t);let l,c,u;if("sync"===i.flush){const t=Object(a["ref"])(!1);c=()=>{},l=e=>{t.value=!0,e(),t.value=!1},u=Object(a["watch"])(e,(...e)=>{t.value||s(...e)},i)}else{const t=[],n=Object(a["ref"])(0),r=Object(a["ref"])(0);c=()=>{n.value=r.value},t.push(Object(a["watch"])(e,()=>{r.value++},an(rn({},i),{flush:"sync"}))),l=e=>{const t=r.value;e(),n.value+=r.value-t},t.push(Object(a["watch"])(e,(...e)=>{const t=n.value>0&&n.value===r.value;n.value=0,r.value=0,t||s(...e)},i)),u=()=>{t.forEach(e=>e())}}return{stop:u,ignoreUpdates:l,ignorePrevAsyncUpdates:c}}function ln(e,t,n){const r=Object(a["watch"])(e,(...e)=>(Object(a["nextTick"])(()=>r()),t(...e)),n)}var cn=Object.defineProperty,un=Object.defineProperties,dn=Object.getOwnPropertyDescriptors,fn=Object.getOwnPropertySymbols,hn=Object.prototype.hasOwnProperty,pn=Object.prototype.propertyIsEnumerable,mn=(e,t,n)=>t in e?cn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vn=(e,t)=>{for(var n in t||(t={}))hn.call(t,n)&&mn(e,n,t[n]);if(fn)for(var n of fn(t))pn.call(t,n)&&mn(e,n,t[n]);return e},bn=(e,t)=>un(e,dn(t)),gn=(e,t)=>{var n={};for(var r in e)hn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&fn)for(var r of fn(e))t.indexOf(r)<0&&pn.call(e,r)&&(n[r]=e[r]);return n};function yn(e,t,n={}){const r=n,{eventFilter:a}=r,o=gn(r,["eventFilter"]),{eventFilter:i,pause:s,resume:l,isActive:c}=I(a),u=Pt(e,t,bn(vn({},o),{eventFilter:i}));return{stop:u,pause:s,resume:l,isActive:c}}var On=Object.defineProperty,wn=Object.defineProperties,_n=Object.getOwnPropertyDescriptors,jn=Object.getOwnPropertySymbols,kn=Object.prototype.hasOwnProperty,xn=Object.prototype.propertyIsEnumerable,Sn=(e,t,n)=>t in e?On(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Cn=(e,t)=>{for(var n in t||(t={}))kn.call(t,n)&&Sn(e,n,t[n]);if(jn)for(var n of jn(t))xn.call(t,n)&&Sn(e,n,t[n]);return e},Mn=(e,t)=>wn(e,_n(t)),An=(e,t)=>{var n={};for(var r in e)kn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&jn)for(var r of jn(e))t.indexOf(r)<0&&xn.call(e,r)&&(n[r]=e[r]);return n};function Tn(e,t,n={}){const r=n,{throttle:a=0,trailing:o=!0,leading:i=!0}=r,s=An(r,["throttle","trailing","leading"]);return Pt(e,t,Mn(Cn({},s),{eventFilter:R(a,o,i)}))}var En=Object.defineProperty,Ln=Object.defineProperties,Pn=Object.getOwnPropertyDescriptors,Dn=Object.getOwnPropertySymbols,Nn=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,In=(e,t,n)=>t in e?En(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Bn=(e,t)=>{for(var n in t||(t={}))Nn.call(t,n)&&In(e,n,t[n]);if(Dn)for(var n of Dn(t))Rn.call(t,n)&&In(e,n,t[n]);return e},Fn=(e,t)=>Ln(e,Pn(t));function Vn(e,t,n={}){let r;function a(){if(!r)return;const e=r;r=void 0,e()}function o(e){r=e}const i=(e,n)=>(a(),t(e,n,o)),s=sn(e,i,n),{ignoreUpdates:l}=s,c=()=>{let t;return l(()=>{t=i(zn(e),Yn(e))}),t};return Fn(Bn({},s),{trigger:c})}function zn(e){return Object(a["isReactive"])(e)?e:Array.isArray(e)?e.map(e=>Hn(e)):Hn(e)}function Hn(e){return"function"===typeof e?e():Object(a["unref"])(e)}function Yn(e){return Array.isArray(e)?e.map(()=>{}):void 0}function Un(e,t,n){return Object(a["watch"])(e,(e,n,r)=>{e&&t(e,n,r)},n)}},"1a2d":function(e,t,n){"use strict";var r=n("e330"),a=n("7b0b"),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(a(e),t)}},"1ac8":function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),n=this.year();return 1===t&&11===e?n+1:0===e&&t>=52?n-1:n}}}))},"1b45":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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 t}))},"1cfd":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},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 عام"]},a=function(e){return function(t,a,o,i){var s=n(t),l=r[e][n(t)];return 2===s&&(l=l[a?0:1]),l.replace(/%d/i,t)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],i=e.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(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return i}))},"1d2b":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},"1d80":function(e,t,n){"use strict";var r=n("7234"),a=TypeError;e.exports=function(e){if(r(e))throw new a("Can't call method on "+e);return e}},"1fb5":function(e,t,n){"use strict";t.byteLength=u,t.toByteArray=f,t.fromByteArray=m;for(var r=[],a=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=i.length;s<l;++s)r[s]=i[s],a[i.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function u(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r}function d(e,t,n){return 3*(t+n)/4-n}function f(e){var t,n,r=c(e),i=r[0],s=r[1],l=new o(d(e,i,s)),u=0,f=s>0?i-4:i;for(n=0;n<f;n+=4)t=a[e.charCodeAt(n)]<<18|a[e.charCodeAt(n+1)]<<12|a[e.charCodeAt(n+2)]<<6|a[e.charCodeAt(n+3)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;return 2===s&&(t=a[e.charCodeAt(n)]<<2|a[e.charCodeAt(n+1)]>>4,l[u++]=255&t),1===s&&(t=a[e.charCodeAt(n)]<<10|a[e.charCodeAt(n+1)]<<4|a[e.charCodeAt(n+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t),l}function h(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function p(e,t,n){for(var r,a=[],o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),a.push(h(r));return a.join("")}function m(e){for(var t,n=e.length,a=n%3,o=[],i=16383,s=0,l=n-a;s<l;s+=i)o.push(p(e,s,s+i>l?l:s+i));return 1===a?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===a&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")}a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63},"1fc1":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var a={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:n?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===r?n?"хвіліна":"хвіліну":"h"===r?n?"гадзіна":"гадзіну":e+" "+t(a[r],+e)}var r=e.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:n,mm:n,h:n,hh:n,d:"дзень",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!==2&&e%10!==3||e%100===12||e%100===13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}});return r}))},"201b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,n){return"ი"===n?t+"ში":t+n+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},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(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20===0||e%100===0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}});return t}))},2295:function(e,t,n){"use strict";n.d(t,"a",(function(){return E}));var r=n("7a23"),a=n("461c"),o=n("54bb"),i=n("0898"),s=n("31e7");const l=["success","info","warning","error"],c=Object(i["b"])({customClass:{type:String,default:""},dangerouslyUseHTMLString:{type:Boolean,default:!1},duration:{type:Number,default:4500},icon:{type:s["e"]},id:{type:String,default:""},message:{type:Object(i["c"])([String,Object]),default:""},offset:{type:Number,default:0},onClick:{type:Object(i["c"])(Function),default:()=>{}},onClose:{type:Object(i["c"])(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...l,""],default:""},zIndex:Number}),u={destroy:()=>!0};var d=n("2711"),f=n("edd9"),h=n("49c6");const p=["id"],m=["textContent"],v={key:0},b=["innerHTML"],g=Object(r["defineComponent"])({name:"ElNotification"}),y=Object(r["defineComponent"])({...g,props:c,emits:u,setup(e,{expose:t}){const n=e,{ns:i,zIndex:l}=Object(f["b"])("notification"),{nextZIndex:c,currentZIndex:u}=l,{Close:d}=s["a"],g=Object(r["ref"])(!1);let y=void 0;const O=Object(r["computed"])(()=>{const e=n.type;return e&&s["c"][n.type]?i.m(e):""}),w=Object(r["computed"])(()=>n.type&&s["c"][n.type]||n.icon),_=Object(r["computed"])(()=>n.position.endsWith("right")?"right":"left"),j=Object(r["computed"])(()=>n.position.startsWith("top")?"top":"bottom"),k=Object(r["computed"])(()=>{var e;return{[j.value]:n.offset+"px",zIndex:null!=(e=n.zIndex)?e:u.value}});function x(){n.duration>0&&({stop:y}=Object(a["useTimeoutFn"])(()=>{g.value&&C()},n.duration))}function S(){null==y||y()}function C(){g.value=!1}function M({code:e}){e===h["a"].delete||e===h["a"].backspace?S():e===h["a"].esc?g.value&&C():x()}return Object(r["onMounted"])(()=>{x(),c(),g.value=!0}),Object(a["useEventListener"])(document,"keydown",M),t({visible:g,close:C}),(e,t)=>(Object(r["openBlock"])(),Object(r["createBlock"])(r["Transition"],{name:Object(r["unref"])(i).b("fade"),onBeforeLeave:e.onClose,onAfterLeave:t[1]||(t[1]=t=>e.$emit("destroy")),persisted:""},{default:Object(r["withCtx"])(()=>[Object(r["withDirectives"])(Object(r["createElementVNode"])("div",{id:e.id,class:Object(r["normalizeClass"])([Object(r["unref"])(i).b(),e.customClass,Object(r["unref"])(_)]),style:Object(r["normalizeStyle"])(Object(r["unref"])(k)),role:"alert",onMouseenter:S,onMouseleave:x,onClick:t[0]||(t[0]=(...t)=>e.onClick&&e.onClick(...t))},[Object(r["unref"])(w)?(Object(r["openBlock"])(),Object(r["createBlock"])(Object(r["unref"])(o["a"]),{key:0,class:Object(r["normalizeClass"])([Object(r["unref"])(i).e("icon"),Object(r["unref"])(O)])},{default:Object(r["withCtx"])(()=>[(Object(r["openBlock"])(),Object(r["createBlock"])(Object(r["resolveDynamicComponent"])(Object(r["unref"])(w))))]),_:1},8,["class"])):Object(r["createCommentVNode"])("v-if",!0),Object(r["createElementVNode"])("div",{class:Object(r["normalizeClass"])(Object(r["unref"])(i).e("group"))},[Object(r["createElementVNode"])("h2",{class:Object(r["normalizeClass"])(Object(r["unref"])(i).e("title")),textContent:Object(r["toDisplayString"])(e.title)},null,10,m),Object(r["withDirectives"])(Object(r["createElementVNode"])("div",{class:Object(r["normalizeClass"])(Object(r["unref"])(i).e("content")),style:Object(r["normalizeStyle"])(e.title?void 0:{margin:0})},[Object(r["renderSlot"])(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(Object(r["openBlock"])(),Object(r["createElementBlock"])(r["Fragment"],{key:1},[Object(r["createCommentVNode"])(" Caution here, message could've been compromised, never use user's input as message "),Object(r["createElementVNode"])("p",{innerHTML:e.message},null,8,b)],2112)):(Object(r["openBlock"])(),Object(r["createElementBlock"])("p",v,Object(r["toDisplayString"])(e.message),1))])],6),[[r["vShow"],e.message]]),e.showClose?(Object(r["openBlock"])(),Object(r["createBlock"])(Object(r["unref"])(o["a"]),{key:0,class:Object(r["normalizeClass"])(Object(r["unref"])(i).e("closeBtn")),onClick:Object(r["withModifiers"])(C,["stop"])},{default:Object(r["withCtx"])(()=>[Object(r["createVNode"])(Object(r["unref"])(d))]),_:1},8,["class","onClick"])):Object(r["createCommentVNode"])("v-if",!0)],2)],46,p),[[r["vShow"],g.value]])]),_:3},8,["name","onBeforeLeave"]))}});var O=Object(d["a"])(y,[["__file","notification.vue"]]),w=n("83ec"),_=n("7d20"),j=n("8afb");const k={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},x=16;let S=1;const C=function(e={},t=null){if(!a["isClient"])return{close:()=>{}};("string"===typeof e||Object(r["isVNode"])(e))&&(e={message:e});const n=e.position||"top-right";let o=e.offset||0;k[n].forEach(({vm:e})=>{var t;o+=((null==(t=e.el)?void 0:t.offsetHeight)||0)+x}),o+=x;const i="notification_"+S++,s=e.onClose,l={...e,offset:o,id:i,onClose:()=>{M(i,n,s)}};let c=document.body;Object(w["b"])(e.appendTo)?c=e.appendTo:Object(_["isString"])(e.appendTo)&&(c=document.querySelector(e.appendTo)),Object(w["b"])(c)||(Object(j["a"])("ElNotification","the appendTo option is not an HTMLElement. Falling back to document.body."),c=document.body);const u=document.createElement("div"),d=Object(r["createVNode"])(O,l,Object(r["isVNode"])(l.message)?{default:()=>l.message}:null);return d.appContext=null!=t?t:C._context,d.props.onDestroy=()=>{Object(r["render"])(null,u)},Object(r["render"])(d,u),k[n].push({vm:d}),c.appendChild(u.firstElementChild),{close:()=>{d.component.exposed.visible.value=!1}}};function M(e,t,n){const r=k[t],a=r.findIndex(({vm:t})=>{var n;return(null==(n=t.component)?void 0:n.props.id)===e});if(-1===a)return;const{vm:o}=r[a];if(!o)return;null==n||n(o);const i=o.el.offsetHeight,s=t.split("-")[0];r.splice(a,1);const l=r.length;if(!(l<1))for(let c=a;c<l;c++){const{el:e,component:t}=r[c].vm,n=Number.parseInt(e.style[s],10)-i-x;t.props.offset=n}}function A(){for(const e of Object.values(k))e.forEach(({vm:e})=>{e.component.exposed.visible.value=!1})}l.forEach(e=>{C[e]=(t={})=>(("string"===typeof t||Object(r["isVNode"])(t))&&(t={message:t}),C({...t,type:e}))}),C.closeAll=A,C._context=null;var T=n("0c24");const E=Object(T["c"])(C,"$notify")},"22f8":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}});return t}))},"23cb":function(e,t,n){"use strict";var r=n("5926"),a=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?a(n+t,0):o(n,t)}},"23e7":function(e,t,n){"use strict";var r=n("da84"),a=n("06cf").f,o=n("9112"),i=n("cb2d"),s=n("6374"),l=n("e893"),c=n("94ca");e.exports=function(e,t){var n,u,d,f,h,p,m=e.target,v=e.global,b=e.stat;if(u=v?r:b?r[m]||s(m,{}):r[m]&&r[m].prototype,u)for(d in t){if(h=t[d],e.dontCallGetSet?(p=a(u,d),f=p&&p.value):f=u[d],n=c(v?d:m+(b?".":"#")+d,e.forced),!n&&void 0!==f){if(typeof h==typeof f)continue;l(h,f)}(e.sham||f&&f.sham)&&o(h,"sham",!0),i(u,d,h,e)}}},"241c":function(e,t,n){"use strict";var r=n("ca84"),a=n("7839"),o=a.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},2421:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"],a=e.defineLocale("ku",{months:r,monthsShort:r,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(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,n){return e<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(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return a}))},2554:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n,r){switch(n){case"m":return t?"jedna minuta":r?"jednu minutu":"jedne minute"}}function n(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",r;case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",r;case"h":return"jedan sat";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",r;case"dd":return r+=1===e?"dan":"dana",r;case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",r;case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",r}}var r=e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_č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:n,m:t,mm:n,h:n,hh:n,d:"dan",dd:n,M:"mjesec",MM:n,y:"godinu",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return r}))},"25de":function(e,t,n){"use strict";e.exports=n("c1dc")},"26f9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={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 n(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"}function r(e,t,n,r){return t?o(n)[0]:r?o(n)[1]:o(n)[2]}function a(e){return e%10===0||e>10&&e<20}function o(e){return t[e].split("_")}function i(e,t,n,i){var s=e+" ";return 1===e?s+r(e,t,n[0],i):t?s+(a(e)?o(n)[1]:o(n)[0]):i?s+o(n)[1]:s+(a(e)?o(n)[1]:o(n)[2])}var s=e.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:n,ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}});return s}))},2711:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n}},"271a":function(e,t,n){"use strict";var r=n("cb2d"),a=n("e330"),o=n("577e"),i=n("d6d6"),s=URLSearchParams,l=s.prototype,c=a(l.getAll),u=a(l.has),d=new s("a=1");!d.has("a",2)&&d.has("a",void 0)||r(l,"has",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return u(this,e);var r=c(this,e);i(t,1);var a=o(n),s=0;while(s<r.length)if(r[s++]===a)return!0;return!1}),{enumerable:!0,unsafe:!0})},"27b6":function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return i}));var r=n("7a23"),a=n("0898"),o=n("d5eb");const i=Object(a["a"])({type:String,values:o["a"],required:!1}),s=Symbol("size"),l=()=>{const e=Object(r["inject"])(s,{});return Object(r["computed"])(()=>Object(r["unref"])(e.size)||"")}},2921:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"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(e){return e},week:{dow:1,doy:4}});return t}))},"293c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var a=t.words[r];return 1===r.length?n?a[0]:a[1]:e+" "+t.correctGrammaticalCase(e,a)}},n=e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_č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 e=["[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 e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"2a04":function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";var e="week",t="year";return function(n,r,a){var o=r.prototype;o.week=function(n){if(void 0===n&&(n=null),null!==n)return this.add(7*(n-this.week()),"day");var r=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var o=a(this).startOf(t).add(1,t).date(r),i=a(this).endOf(e);if(o.isBefore(i))return 1}var s=a(this).startOf(t).date(r).startOf(e).subtract(1,"millisecond"),l=this.diff(s,e,!0);return l<0?a(this).startOf("week").week():Math.ceil(l)},o.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}))},"2ba4":function(e,t,n){"use strict";var r=n("40d5"),a=Function.prototype,o=a.apply,i=a.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?i.bind(o):function(){return i.apply(o,arguments)})},"2bfb":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return t}))},"2d00":function(e,t,n){"use strict";var r,a,o=n("da84"),i=n("342f"),s=o.process,l=o.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(r=u.split("."),a=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!a&&i&&(r=i.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/),r&&(a=+r[1]))),e.exports=a},"2e67":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"2e8c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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 t}))},"2ef0":function(e,t,n){(function(e,r){var a;
/**
 * @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,i="4.17.21",s=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",u="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",f=500,h="__lodash_placeholder__",p=1,m=2,v=4,b=1,g=2,y=1,O=2,w=4,_=8,j=16,k=32,x=64,S=128,C=256,M=512,A=30,T="...",E=800,L=16,P=1,D=2,N=3,R=1/0,I=9007199254740991,B=17976931348623157e292,F=NaN,V=4294967295,z=V-1,H=V>>>1,Y=[["ary",S],["bind",y],["bindKey",O],["curry",_],["curryRight",j],["flip",M],["partial",k],["partialRight",x],["rearg",C]],U="[object Arguments]",W="[object Array]",$="[object AsyncFunction]",q="[object Boolean]",G="[object Date]",X="[object DOMException]",K="[object Error]",J="[object Function]",Z="[object GeneratorFunction]",Q="[object Map]",ee="[object Number]",te="[object Null]",ne="[object Object]",re="[object Promise]",ae="[object Proxy]",oe="[object RegExp]",ie="[object Set]",se="[object String]",le="[object Symbol]",ce="[object Undefined]",ue="[object WeakMap]",de="[object WeakSet]",fe="[object ArrayBuffer]",he="[object DataView]",pe="[object Float32Array]",me="[object Float64Array]",ve="[object Int8Array]",be="[object Int16Array]",ge="[object Int32Array]",ye="[object Uint8Array]",Oe="[object Uint8ClampedArray]",we="[object Uint16Array]",_e="[object Uint32Array]",je=/\b__p \+= '';/g,ke=/\b(__p \+=) '' \+/g,xe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Se=/&(?:amp|lt|gt|quot|#39);/g,Ce=/[&<>"']/g,Me=RegExp(Se.source),Ae=RegExp(Ce.source),Te=/<%-([\s\S]+?)%>/g,Ee=/<%([\s\S]+?)%>/g,Le=/<%=([\s\S]+?)%>/g,Pe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,De=/^\w*$/,Ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Re=/[\\^$.*+?()[\]{}|]/g,Ie=RegExp(Re.source),Be=/^\s+/,Fe=/\s/,Ve=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ze=/\{\n\/\* \[wrapped with (.+)\] \*/,He=/,? & /,Ye=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ue=/[()=,{}\[\]\/\s]/,We=/\\(\\)?/g,$e=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qe=/\w*$/,Ge=/^[-+]0x[0-9a-f]+$/i,Xe=/^0b[01]+$/i,Ke=/^\[object .+?Constructor\]$/,Je=/^0o[0-7]+$/i,Ze=/^(?:0|[1-9]\d*)$/,Qe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,et=/($^)/,tt=/['\n\r\u2028\u2029\\]/g,nt="\\ud800-\\udfff",rt="\\u0300-\\u036f",at="\\ufe20-\\ufe2f",ot="\\u20d0-\\u20ff",it=rt+at+ot,st="\\u2700-\\u27bf",lt="a-z\\xdf-\\xf6\\xf8-\\xff",ct="\\xac\\xb1\\xd7\\xf7",ut="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",dt="\\u2000-\\u206f",ft=" \\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",ht="A-Z\\xc0-\\xd6\\xd8-\\xde",pt="\\ufe0e\\ufe0f",mt=ct+ut+dt+ft,vt="['’]",bt="["+nt+"]",gt="["+mt+"]",yt="["+it+"]",Ot="\\d+",wt="["+st+"]",_t="["+lt+"]",jt="[^"+nt+mt+Ot+st+lt+ht+"]",kt="\\ud83c[\\udffb-\\udfff]",xt="(?:"+yt+"|"+kt+")",St="[^"+nt+"]",Ct="(?:\\ud83c[\\udde6-\\uddff]){2}",Mt="[\\ud800-\\udbff][\\udc00-\\udfff]",At="["+ht+"]",Tt="\\u200d",Et="(?:"+_t+"|"+jt+")",Lt="(?:"+At+"|"+jt+")",Pt="(?:"+vt+"(?:d|ll|m|re|s|t|ve))?",Dt="(?:"+vt+"(?:D|LL|M|RE|S|T|VE))?",Nt=xt+"?",Rt="["+pt+"]?",It="(?:"+Tt+"(?:"+[St,Ct,Mt].join("|")+")"+Rt+Nt+")*",Bt="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ft="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Vt=Rt+Nt+It,zt="(?:"+[wt,Ct,Mt].join("|")+")"+Vt,Ht="(?:"+[St+yt+"?",yt,Ct,Mt,bt].join("|")+")",Yt=RegExp(vt,"g"),Ut=RegExp(yt,"g"),Wt=RegExp(kt+"(?="+kt+")|"+Ht+Vt,"g"),$t=RegExp([At+"?"+_t+"+"+Pt+"(?="+[gt,At,"$"].join("|")+")",Lt+"+"+Dt+"(?="+[gt,At+Et,"$"].join("|")+")",At+"?"+Et+"+"+Pt,At+"+"+Dt,Ft,Bt,Ot,zt].join("|"),"g"),qt=RegExp("["+Tt+nt+it+pt+"]"),Gt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Xt=["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"],Kt=-1,Jt={};Jt[pe]=Jt[me]=Jt[ve]=Jt[be]=Jt[ge]=Jt[ye]=Jt[Oe]=Jt[we]=Jt[_e]=!0,Jt[U]=Jt[W]=Jt[fe]=Jt[q]=Jt[he]=Jt[G]=Jt[K]=Jt[J]=Jt[Q]=Jt[ee]=Jt[ne]=Jt[oe]=Jt[ie]=Jt[se]=Jt[ue]=!1;var Zt={};Zt[U]=Zt[W]=Zt[fe]=Zt[he]=Zt[q]=Zt[G]=Zt[pe]=Zt[me]=Zt[ve]=Zt[be]=Zt[ge]=Zt[Q]=Zt[ee]=Zt[ne]=Zt[oe]=Zt[ie]=Zt[se]=Zt[le]=Zt[ye]=Zt[Oe]=Zt[we]=Zt[_e]=!0,Zt[K]=Zt[J]=Zt[ue]=!1;var Qt={"À":"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"},en={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},tn={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},nn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rn=parseFloat,an=parseInt,on="object"==typeof e&&e&&e.Object===Object&&e,sn="object"==typeof self&&self&&self.Object===Object&&self,ln=on||sn||Function("return this")(),cn=t&&!t.nodeType&&t,un=cn&&"object"==typeof r&&r&&!r.nodeType&&r,dn=un&&un.exports===cn,fn=dn&&on.process,hn=function(){try{var e=un&&un.require&&un.require("util").types;return e||fn&&fn.binding&&fn.binding("util")}catch(t){}}(),pn=hn&&hn.isArrayBuffer,mn=hn&&hn.isDate,vn=hn&&hn.isMap,bn=hn&&hn.isRegExp,gn=hn&&hn.isSet,yn=hn&&hn.isTypedArray;function On(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function wn(e,t,n,r){var a=-1,o=null==e?0:e.length;while(++a<o){var i=e[a];t(r,i,n(i),e)}return r}function _n(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(!1===t(e[n],n,e))break;return e}function jn(e,t){var n=null==e?0:e.length;while(n--)if(!1===t(e[n],n,e))break;return e}function kn(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(!t(e[n],n,e))return!1;return!0}function xn(e,t){var n=-1,r=null==e?0:e.length,a=0,o=[];while(++n<r){var i=e[n];t(i,n,e)&&(o[a++]=i)}return o}function Sn(e,t){var n=null==e?0:e.length;return!!n&&Bn(e,t,0)>-1}function Cn(e,t,n){var r=-1,a=null==e?0:e.length;while(++r<a)if(n(t,e[r]))return!0;return!1}function Mn(e,t){var n=-1,r=null==e?0:e.length,a=Array(r);while(++n<r)a[n]=t(e[n],n,e);return a}function An(e,t){var n=-1,r=t.length,a=e.length;while(++n<r)e[a+n]=t[n];return e}function Tn(e,t,n,r){var a=-1,o=null==e?0:e.length;r&&o&&(n=e[++a]);while(++a<o)n=t(n,e[a],a,e);return n}function En(e,t,n,r){var a=null==e?0:e.length;r&&a&&(n=e[--a]);while(a--)n=t(n,e[a],a,e);return n}function Ln(e,t){var n=-1,r=null==e?0:e.length;while(++n<r)if(t(e[n],n,e))return!0;return!1}var Pn=Hn("length");function Dn(e){return e.split("")}function Nn(e){return e.match(Ye)||[]}function Rn(e,t,n){var r;return n(e,(function(e,n,a){if(t(e,n,a))return r=n,!1})),r}function In(e,t,n,r){var a=e.length,o=n+(r?1:-1);while(r?o--:++o<a)if(t(e[o],o,e))return o;return-1}function Bn(e,t,n){return t===t?pr(e,t,n):In(e,Vn,n)}function Fn(e,t,n,r){var a=n-1,o=e.length;while(++a<o)if(r(e[a],t))return a;return-1}function Vn(e){return e!==e}function zn(e,t){var n=null==e?0:e.length;return n?$n(e,t)/n:F}function Hn(e){return function(t){return null==t?o:t[e]}}function Yn(e){return function(t){return null==e?o:e[t]}}function Un(e,t,n,r,a){return a(e,(function(e,a,o){n=r?(r=!1,e):t(n,e,a,o)})),n}function Wn(e,t){var n=e.length;e.sort(t);while(n--)e[n]=e[n].value;return e}function $n(e,t){var n,r=-1,a=e.length;while(++r<a){var i=t(e[r]);i!==o&&(n=n===o?i:n+i)}return n}function qn(e,t){var n=-1,r=Array(e);while(++n<e)r[n]=t(n);return r}function Gn(e,t){return Mn(t,(function(t){return[t,e[t]]}))}function Xn(e){return e?e.slice(0,gr(e)+1).replace(Be,""):e}function Kn(e){return function(t){return e(t)}}function Jn(e,t){return Mn(t,(function(t){return e[t]}))}function Zn(e,t){return e.has(t)}function Qn(e,t){var n=-1,r=e.length;while(++n<r&&Bn(t,e[n],0)>-1);return n}function er(e,t){var n=e.length;while(n--&&Bn(t,e[n],0)>-1);return n}function tr(e,t){var n=e.length,r=0;while(n--)e[n]===t&&++r;return r}var nr=Yn(Qt),rr=Yn(en);function ar(e){return"\\"+nn[e]}function or(e,t){return null==e?o:e[t]}function ir(e){return qt.test(e)}function sr(e){return Gt.test(e)}function lr(e){var t,n=[];while(!(t=e.next()).done)n.push(t.value);return n}function cr(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function ur(e,t){return function(n){return e(t(n))}}function dr(e,t){var n=-1,r=e.length,a=0,o=[];while(++n<r){var i=e[n];i!==t&&i!==h||(e[n]=h,o[a++]=n)}return o}function fr(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function hr(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function pr(e,t,n){var r=n-1,a=e.length;while(++r<a)if(e[r]===t)return r;return-1}function mr(e,t,n){var r=n+1;while(r--)if(e[r]===t)return r;return r}function vr(e){return ir(e)?Or(e):Pn(e)}function br(e){return ir(e)?wr(e):Dn(e)}function gr(e){var t=e.length;while(t--&&Fe.test(e.charAt(t)));return t}var yr=Yn(tn);function Or(e){var t=Wt.lastIndex=0;while(Wt.test(e))++t;return t}function wr(e){return e.match(Wt)||[]}function _r(e){return e.match($t)||[]}var jr=function e(t){t=null==t?ln:kr.defaults(ln.Object(),t,kr.pick(ln,Xt));var n=t.Array,r=t.Date,a=t.Error,Fe=t.Function,Ye=t.Math,nt=t.Object,rt=t.RegExp,at=t.String,ot=t.TypeError,it=n.prototype,st=Fe.prototype,lt=nt.prototype,ct=t["__core-js_shared__"],ut=st.toString,dt=lt.hasOwnProperty,ft=0,ht=function(){var e=/[^.]+$/.exec(ct&&ct.keys&&ct.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),pt=lt.toString,mt=ut.call(nt),vt=ln._,bt=rt("^"+ut.call(dt).replace(Re,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),gt=dn?t.Buffer:o,yt=t.Symbol,Ot=t.Uint8Array,wt=gt?gt.allocUnsafe:o,_t=ur(nt.getPrototypeOf,nt),jt=nt.create,kt=lt.propertyIsEnumerable,xt=it.splice,St=yt?yt.isConcatSpreadable:o,Ct=yt?yt.iterator:o,Mt=yt?yt.toStringTag:o,At=function(){try{var e=qi(nt,"defineProperty");return e({},"",{}),e}catch(t){}}(),Tt=t.clearTimeout!==ln.clearTimeout&&t.clearTimeout,Et=r&&r.now!==ln.Date.now&&r.now,Lt=t.setTimeout!==ln.setTimeout&&t.setTimeout,Pt=Ye.ceil,Dt=Ye.floor,Nt=nt.getOwnPropertySymbols,Rt=gt?gt.isBuffer:o,It=t.isFinite,Bt=it.join,Ft=ur(nt.keys,nt),Vt=Ye.max,zt=Ye.min,Ht=r.now,Wt=t.parseInt,$t=Ye.random,qt=it.reverse,Gt=qi(t,"DataView"),Qt=qi(t,"Map"),en=qi(t,"Promise"),tn=qi(t,"Set"),nn=qi(t,"WeakMap"),on=qi(nt,"create"),sn=nn&&new nn,cn={},un=Ls(Gt),fn=Ls(Qt),hn=Ls(en),Pn=Ls(tn),Dn=Ls(nn),Yn=yt?yt.prototype:o,pr=Yn?Yn.valueOf:o,Or=Yn?Yn.toString:o;function wr(e){if(xu(e)&&!lu(e)&&!(e instanceof Cr)){if(e instanceof Sr)return e;if(dt.call(e,"__wrapped__"))return Ds(e)}return new Sr(e)}var jr=function(){function e(){}return function(t){if(!ku(t))return{};if(jt)return jt(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function xr(){}function Sr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Cr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=V,this.__views__=[]}function Mr(){var e=new Cr(this.__wrapped__);return e.__actions__=ai(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ai(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ai(this.__views__),e}function Ar(){if(this.__filtered__){var e=new Cr(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Tr(){var e=this.__wrapped__.value(),t=this.__dir__,n=lu(e),r=t<0,a=n?e.length:0,o=Zi(0,a,this.__views__),i=o.start,s=o.end,l=s-i,c=r?s:i-1,u=this.__iteratees__,d=u.length,f=0,h=zt(l,this.__takeCount__);if(!n||!r&&a==l&&h==l)return Fo(e,this.__actions__);var p=[];e:while(l--&&f<h){c+=t;var m=-1,v=e[c];while(++m<d){var b=u[m],g=b.iteratee,y=b.type,O=g(v);if(y==D)v=O;else if(!O){if(y==P)continue e;break e}}p[f++]=v}return p}function Er(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function Lr(){this.__data__=on?on(null):{},this.size=0}function Pr(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function Dr(e){var t=this.__data__;if(on){var n=t[e];return n===d?o:n}return dt.call(t,e)?t[e]:o}function Nr(e){var t=this.__data__;return on?t[e]!==o:dt.call(t,e)}function Rr(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=on&&t===o?d:t,this}function Ir(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function Br(){this.__data__=[],this.size=0}function Fr(e){var t=this.__data__,n=ua(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():xt.call(t,n,1),--this.size,!0}function Vr(e){var t=this.__data__,n=ua(t,e);return n<0?o:t[n][1]}function zr(e){return ua(this.__data__,e)>-1}function Hr(e,t){var n=this.__data__,r=ua(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Yr(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t<n){var r=e[t];this.set(r[0],r[1])}}function Ur(){this.size=0,this.__data__={hash:new Er,map:new(Qt||Ir),string:new Er}}function Wr(e){var t=Wi(this,e)["delete"](e);return this.size-=t?1:0,t}function $r(e){return Wi(this,e).get(e)}function qr(e){return Wi(this,e).has(e)}function Gr(e,t){var n=Wi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Xr(e){var t=-1,n=null==e?0:e.length;this.__data__=new Yr;while(++t<n)this.add(e[t])}function Kr(e){return this.__data__.set(e,d),this}function Jr(e){return this.__data__.has(e)}function Zr(e){var t=this.__data__=new Ir(e);this.size=t.size}function Qr(){this.__data__=new Ir,this.size=0}function ea(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}function ta(e){return this.__data__.get(e)}function na(e){return this.__data__.has(e)}function ra(e,t){var n=this.__data__;if(n instanceof Ir){var r=n.__data__;if(!Qt||r.length<s-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Yr(r)}return n.set(e,t),this.size=n.size,this}function aa(e,t){var n=lu(e),r=!n&&su(e),a=!n&&!r&&hu(e),o=!n&&!r&&!a&&Vu(e),i=n||r||a||o,s=i?qn(e.length,at):[],l=s.length;for(var c in e)!t&&!dt.call(e,c)||i&&("length"==c||a&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||is(c,l))||s.push(c);return s}function oa(e){var t=e.length;return t?e[go(0,t-1)]:o}function ia(e,t){return As(ai(e),va(t,0,e.length))}function sa(e){return As(ai(e))}function la(e,t,n){(n!==o&&!au(e[t],n)||n===o&&!(t in e))&&pa(e,t,n)}function ca(e,t,n){var r=e[t];dt.call(e,t)&&au(r,n)&&(n!==o||t in e)||pa(e,t,n)}function ua(e,t){var n=e.length;while(n--)if(au(e[n][0],t))return n;return-1}function da(e,t,n,r){return _a(e,(function(e,a,o){t(r,e,n(e),o)})),r}function fa(e,t){return e&&oi(t,_d(t),e)}function ha(e,t){return e&&oi(t,jd(t),e)}function pa(e,t,n){"__proto__"==t&&At?At(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ma(e,t){var r=-1,a=t.length,i=n(a),s=null==e;while(++r<a)i[r]=s?o:vd(e,t[r]);return i}function va(e,t,n){return e===e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function ba(e,t,n,r,a,i){var s,l=t&p,c=t&m,u=t&v;if(n&&(s=a?n(e,r,a,i):n(e)),s!==o)return s;if(!ku(e))return e;var d=lu(e);if(d){if(s=ts(e),!l)return ai(e,s)}else{var f=Ji(e),h=f==J||f==Z;if(hu(e))return Go(e,l);if(f==ne||f==U||h&&!a){if(s=c||h?{}:ns(e),!l)return c?si(e,ha(s,e)):ii(e,fa(s,e))}else{if(!Zt[f])return a?e:{};s=rs(e,f,l)}}i||(i=new Zr);var b=i.get(e);if(b)return b;i.set(e,s),Iu(e)?e.forEach((function(r){s.add(ba(r,t,n,r,e,i))})):Su(e)&&e.forEach((function(r,a){s.set(a,ba(r,t,n,a,e,i))}));var g=u?c?Vi:Fi:c?jd:_d,y=d?o:g(e);return _n(y||e,(function(r,a){y&&(a=r,r=e[a]),ca(s,a,ba(r,t,n,a,e,i))})),s}function ga(e){var t=_d(e);return function(n){return ya(n,e,t)}}function ya(e,t,n){var r=n.length;if(null==e)return!r;e=nt(e);while(r--){var a=n[r],i=t[a],s=e[a];if(s===o&&!(a in e)||!i(s))return!1}return!0}function Oa(e,t,n){if("function"!=typeof e)throw new ot(c);return xs((function(){e.apply(o,n)}),t)}function wa(e,t,n,r){var a=-1,o=Sn,i=!0,l=e.length,c=[],u=t.length;if(!l)return c;n&&(t=Mn(t,Kn(n))),r?(o=Cn,i=!1):t.length>=s&&(o=Zn,i=!1,t=new Xr(t));e:while(++a<l){var d=e[a],f=null==n?d:n(d);if(d=r||0!==d?d:0,i&&f===f){var h=u;while(h--)if(t[h]===f)continue e;c.push(d)}else o(t,f,r)||c.push(d)}return c}wr.templateSettings={escape:Te,evaluate:Ee,interpolate:Le,variable:"",imports:{_:wr}},wr.prototype=xr.prototype,wr.prototype.constructor=wr,Sr.prototype=jr(xr.prototype),Sr.prototype.constructor=Sr,Cr.prototype=jr(xr.prototype),Cr.prototype.constructor=Cr,Er.prototype.clear=Lr,Er.prototype["delete"]=Pr,Er.prototype.get=Dr,Er.prototype.has=Nr,Er.prototype.set=Rr,Ir.prototype.clear=Br,Ir.prototype["delete"]=Fr,Ir.prototype.get=Vr,Ir.prototype.has=zr,Ir.prototype.set=Hr,Yr.prototype.clear=Ur,Yr.prototype["delete"]=Wr,Yr.prototype.get=$r,Yr.prototype.has=qr,Yr.prototype.set=Gr,Xr.prototype.add=Xr.prototype.push=Kr,Xr.prototype.has=Jr,Zr.prototype.clear=Qr,Zr.prototype["delete"]=ea,Zr.prototype.get=ta,Zr.prototype.has=na,Zr.prototype.set=ra;var _a=ui(Ea),ja=ui(La,!0);function ka(e,t){var n=!0;return _a(e,(function(e,r,a){return n=!!t(e,r,a),n})),n}function xa(e,t,n){var r=-1,a=e.length;while(++r<a){var i=e[r],s=t(i);if(null!=s&&(l===o?s===s&&!Fu(s):n(s,l)))var l=s,c=i}return c}function Sa(e,t,n,r){var a=e.length;n=Gu(n),n<0&&(n=-n>a?0:a+n),r=r===o||r>a?a:Gu(r),r<0&&(r+=a),r=n>r?0:Xu(r);while(n<r)e[n++]=t;return e}function Ca(e,t){var n=[];return _a(e,(function(e,r,a){t(e,r,a)&&n.push(e)})),n}function Ma(e,t,n,r,a){var o=-1,i=e.length;n||(n=os),a||(a=[]);while(++o<i){var s=e[o];t>0&&n(s)?t>1?Ma(s,t-1,n,r,a):An(a,s):r||(a[a.length]=s)}return a}var Aa=di(),Ta=di(!0);function Ea(e,t){return e&&Aa(e,t,_d)}function La(e,t){return e&&Ta(e,t,_d)}function Pa(e,t){return xn(t,(function(t){return wu(e[t])}))}function Da(e,t){t=Uo(t,e);var n=0,r=t.length;while(null!=e&&n<r)e=e[Es(t[n++])];return n&&n==r?e:o}function Na(e,t,n){var r=t(e);return lu(e)?r:An(r,n(e))}function Ra(e){return null==e?e===o?ce:te:Mt&&Mt in nt(e)?Gi(e):ys(e)}function Ia(e,t){return e>t}function Ba(e,t){return null!=e&&dt.call(e,t)}function Fa(e,t){return null!=e&&t in nt(e)}function Va(e,t,n){return e>=zt(t,n)&&e<Vt(t,n)}function za(e,t,r){var a=r?Cn:Sn,i=e[0].length,s=e.length,l=s,c=n(s),u=1/0,d=[];while(l--){var f=e[l];l&&t&&(f=Mn(f,Kn(t))),u=zt(f.length,u),c[l]=!r&&(t||i>=120&&f.length>=120)?new Xr(l&&f):o}f=e[0];var h=-1,p=c[0];e:while(++h<i&&d.length<u){var m=f[h],v=t?t(m):m;if(m=r||0!==m?m:0,!(p?Zn(p,v):a(d,v,r))){l=s;while(--l){var b=c[l];if(!(b?Zn(b,v):a(e[l],v,r)))continue e}p&&p.push(v),d.push(m)}}return d}function Ha(e,t,n,r){return Ea(e,(function(e,a,o){t(r,n(e),a,o)})),r}function Ya(e,t,n){t=Uo(t,e),e=ws(e,t);var r=null==e?e:e[Es(ol(t))];return null==r?o:On(r,e,n)}function Ua(e){return xu(e)&&Ra(e)==U}function Wa(e){return xu(e)&&Ra(e)==fe}function $a(e){return xu(e)&&Ra(e)==G}function qa(e,t,n,r,a){return e===t||(null==e||null==t||!xu(e)&&!xu(t)?e!==e&&t!==t:Ga(e,t,n,r,qa,a))}function Ga(e,t,n,r,a,o){var i=lu(e),s=lu(t),l=i?W:Ji(e),c=s?W:Ji(t);l=l==U?ne:l,c=c==U?ne:c;var u=l==ne,d=c==ne,f=l==c;if(f&&hu(e)){if(!hu(t))return!1;i=!0,u=!1}if(f&&!u)return o||(o=new Zr),i||Vu(e)?Ni(e,t,n,r,a,o):Ri(e,t,l,n,r,a,o);if(!(n&b)){var h=u&&dt.call(e,"__wrapped__"),p=d&&dt.call(t,"__wrapped__");if(h||p){var m=h?e.value():e,v=p?t.value():t;return o||(o=new Zr),a(m,v,n,r,o)}}return!!f&&(o||(o=new Zr),Ii(e,t,n,r,a,o))}function Xa(e){return xu(e)&&Ji(e)==Q}function Ka(e,t,n,r){var a=n.length,i=a,s=!r;if(null==e)return!i;e=nt(e);while(a--){var l=n[a];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}while(++a<i){l=n[a];var c=l[0],u=e[c],d=l[1];if(s&&l[2]){if(u===o&&!(c in e))return!1}else{var f=new Zr;if(r)var h=r(u,d,c,e,t,f);if(!(h===o?qa(d,u,b|g,r,f):h))return!1}}return!0}function Ja(e){if(!ku(e)||ds(e))return!1;var t=wu(e)?bt:Ke;return t.test(Ls(e))}function Za(e){return xu(e)&&Ra(e)==oe}function Qa(e){return xu(e)&&Ji(e)==ie}function eo(e){return xu(e)&&ju(e.length)&&!!Jt[Ra(e)]}function to(e){return"function"==typeof e?e:null==e?Ef:"object"==typeof e?lu(e)?so(e[0],e[1]):io(e):Uf(e)}function no(e){if(!hs(e))return Ft(e);var t=[];for(var n in nt(e))dt.call(e,n)&&"constructor"!=n&&t.push(n);return t}function ro(e){if(!ku(e))return gs(e);var t=hs(e),n=[];for(var r in e)("constructor"!=r||!t&&dt.call(e,r))&&n.push(r);return n}function ao(e,t){return e<t}function oo(e,t){var r=-1,a=uu(e)?n(e.length):[];return _a(e,(function(e,n,o){a[++r]=t(e,n,o)})),a}function io(e){var t=$i(e);return 1==t.length&&t[0][2]?ms(t[0][0],t[0][1]):function(n){return n===e||Ka(n,e,t)}}function so(e,t){return ls(e)&&ps(t)?ms(Es(e),t):function(n){var r=vd(n,e);return r===o&&r===t?gd(n,e):qa(t,r,b|g)}}function lo(e,t,n,r,a){e!==t&&Aa(t,(function(i,s){if(a||(a=new Zr),ku(i))co(e,t,s,n,lo,r,a);else{var l=r?r(js(e,s),i,s+"",e,t,a):o;l===o&&(l=i),la(e,s,l)}}),jd)}function co(e,t,n,r,a,i,s){var l=js(e,n),c=js(t,n),u=s.get(c);if(u)la(e,n,u);else{var d=i?i(l,c,n+"",e,t,s):o,f=d===o;if(f){var h=lu(c),p=!h&&hu(c),m=!h&&!p&&Vu(c);d=c,h||p||m?lu(l)?d=l:du(l)?d=ai(l):p?(f=!1,d=Go(c,!0)):m?(f=!1,d=Qo(c,!0)):d=[]:Du(c)||su(c)?(d=l,su(l)?d=Ju(l):ku(l)&&!wu(l)||(d=ns(c))):f=!1}f&&(s.set(c,d),a(d,c,r,i,s),s["delete"](c)),la(e,n,d)}}function uo(e,t){var n=e.length;if(n)return t+=t<0?n:0,is(t,n)?e[t]:o}function fo(e,t,n){t=t.length?Mn(t,(function(e){return lu(e)?function(t){return Da(t,1===e.length?e[0]:e)}:e})):[Ef];var r=-1;t=Mn(t,Kn(Ui()));var a=oo(e,(function(e,n,a){var o=Mn(t,(function(t){return t(e)}));return{criteria:o,index:++r,value:e}}));return Wn(a,(function(e,t){return ti(e,t,n)}))}function ho(e,t){return po(e,t,(function(t,n){return gd(e,n)}))}function po(e,t,n){var r=-1,a=t.length,o={};while(++r<a){var i=t[r],s=Da(e,i);n(s,i)&&ko(o,Uo(i,e),s)}return o}function mo(e){return function(t){return Da(t,e)}}function vo(e,t,n,r){var a=r?Fn:Bn,o=-1,i=t.length,s=e;e===t&&(t=ai(t)),n&&(s=Mn(e,Kn(n)));while(++o<i){var l=0,c=t[o],u=n?n(c):c;while((l=a(s,u,l,r))>-1)s!==e&&xt.call(s,l,1),xt.call(e,l,1)}return e}function bo(e,t){var n=e?t.length:0,r=n-1;while(n--){var a=t[n];if(n==r||a!==o){var o=a;is(a)?xt.call(e,a,1):Ro(e,a)}}return e}function go(e,t){return e+Dt($t()*(t-e+1))}function yo(e,t,r,a){var o=-1,i=Vt(Pt((t-e)/(r||1)),0),s=n(i);while(i--)s[a?i:++o]=e,e+=r;return s}function Oo(e,t){var n="";if(!e||t<1||t>I)return n;do{t%2&&(n+=e),t=Dt(t/2),t&&(e+=e)}while(t);return n}function wo(e,t){return Ss(Os(e,t,Ef),e+"")}function _o(e){return oa(zd(e))}function jo(e,t){var n=zd(e);return As(n,va(t,0,n.length))}function ko(e,t,n,r){if(!ku(e))return e;t=Uo(t,e);var a=-1,i=t.length,s=i-1,l=e;while(null!=l&&++a<i){var c=Es(t[a]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(a!=s){var d=l[c];u=r?r(d,c,l):o,u===o&&(u=ku(d)?d:is(t[a+1])?[]:{})}ca(l,c,u),l=l[c]}return e}var xo=sn?function(e,t){return sn.set(e,t),e}:Ef,So=At?function(e,t){return At(e,"toString",{configurable:!0,enumerable:!1,value:Cf(t),writable:!0})}:Ef;function Co(e){return As(zd(e))}function Mo(e,t,r){var a=-1,o=e.length;t<0&&(t=-t>o?0:o+t),r=r>o?o:r,r<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;var i=n(o);while(++a<o)i[a]=e[a+t];return i}function Ao(e,t){var n;return _a(e,(function(e,r,a){return n=t(e,r,a),!n})),!!n}function To(e,t,n){var r=0,a=null==e?r:e.length;if("number"==typeof t&&t===t&&a<=H){while(r<a){var o=r+a>>>1,i=e[o];null!==i&&!Fu(i)&&(n?i<=t:i<t)?r=o+1:a=o}return a}return Eo(e,t,Ef,n)}function Eo(e,t,n,r){var a=0,i=null==e?0:e.length;if(0===i)return 0;t=n(t);var s=t!==t,l=null===t,c=Fu(t),u=t===o;while(a<i){var d=Dt((a+i)/2),f=n(e[d]),h=f!==o,p=null===f,m=f===f,v=Fu(f);if(s)var b=r||m;else b=u?m&&(r||h):l?m&&h&&(r||!p):c?m&&h&&!p&&(r||!v):!p&&!v&&(r?f<=t:f<t);b?a=d+1:i=d}return zt(i,z)}function Lo(e,t){var n=-1,r=e.length,a=0,o=[];while(++n<r){var i=e[n],s=t?t(i):i;if(!n||!au(s,l)){var l=s;o[a++]=0===i?0:i}}return o}function Po(e){return"number"==typeof e?e:Fu(e)?F:+e}function Do(e){if("string"==typeof e)return e;if(lu(e))return Mn(e,Do)+"";if(Fu(e))return Or?Or.call(e):"";var t=e+"";return"0"==t&&1/e==-R?"-0":t}function No(e,t,n){var r=-1,a=Sn,o=e.length,i=!0,l=[],c=l;if(n)i=!1,a=Cn;else if(o>=s){var u=t?null:Ai(e);if(u)return fr(u);i=!1,a=Zn,c=new Xr}else c=t?[]:l;e:while(++r<o){var d=e[r],f=t?t(d):d;if(d=n||0!==d?d:0,i&&f===f){var h=c.length;while(h--)if(c[h]===f)continue e;t&&c.push(f),l.push(d)}else a(c,f,n)||(c!==l&&c.push(f),l.push(d))}return l}function Ro(e,t){return t=Uo(t,e),e=ws(e,t),null==e||delete e[Es(ol(t))]}function Io(e,t,n,r){return ko(e,t,n(Da(e,t)),r)}function Bo(e,t,n,r){var a=e.length,o=r?a:-1;while((r?o--:++o<a)&&t(e[o],o,e));return n?Mo(e,r?0:o,r?o+1:a):Mo(e,r?o+1:0,r?a:o)}function Fo(e,t){var n=e;return n instanceof Cr&&(n=n.value()),Tn(t,(function(e,t){return t.func.apply(t.thisArg,An([e],t.args))}),n)}function Vo(e,t,r){var a=e.length;if(a<2)return a?No(e[0]):[];var o=-1,i=n(a);while(++o<a){var s=e[o],l=-1;while(++l<a)l!=o&&(i[o]=wa(i[o]||s,e[l],t,r))}return No(Ma(i,1),t,r)}function zo(e,t,n){var r=-1,a=e.length,i=t.length,s={};while(++r<a){var l=r<i?t[r]:o;n(s,e[r],l)}return s}function Ho(e){return du(e)?e:[]}function Yo(e){return"function"==typeof e?e:Ef}function Uo(e,t){return lu(e)?e:ls(e,t)?[e]:Ts(Qu(e))}var Wo=wo;function $o(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:Mo(e,t,n)}var qo=Tt||function(e){return ln.clearTimeout(e)};function Go(e,t){if(t)return e.slice();var n=e.length,r=wt?wt(n):new e.constructor(n);return e.copy(r),r}function Xo(e){var t=new e.constructor(e.byteLength);return new Ot(t).set(new Ot(e)),t}function Ko(e,t){var n=t?Xo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Jo(e){var t=new e.constructor(e.source,qe.exec(e));return t.lastIndex=e.lastIndex,t}function Zo(e){return pr?nt(pr.call(e)):{}}function Qo(e,t){var n=t?Xo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ei(e,t){if(e!==t){var n=e!==o,r=null===e,a=e===e,i=Fu(e),s=t!==o,l=null===t,c=t===t,u=Fu(t);if(!l&&!u&&!i&&e>t||i&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!a)return 1;if(!r&&!i&&!u&&e<t||u&&n&&a&&!r&&!i||l&&n&&a||!s&&a||!c)return-1}return 0}function ti(e,t,n){var r=-1,a=e.criteria,o=t.criteria,i=a.length,s=n.length;while(++r<i){var l=ei(a[r],o[r]);if(l){if(r>=s)return l;var c=n[r];return l*("desc"==c?-1:1)}}return e.index-t.index}function ni(e,t,r,a){var o=-1,i=e.length,s=r.length,l=-1,c=t.length,u=Vt(i-s,0),d=n(c+u),f=!a;while(++l<c)d[l]=t[l];while(++o<s)(f||o<i)&&(d[r[o]]=e[o]);while(u--)d[l++]=e[o++];return d}function ri(e,t,r,a){var o=-1,i=e.length,s=-1,l=r.length,c=-1,u=t.length,d=Vt(i-l,0),f=n(d+u),h=!a;while(++o<d)f[o]=e[o];var p=o;while(++c<u)f[p+c]=t[c];while(++s<l)(h||o<i)&&(f[p+r[s]]=e[o++]);return f}function ai(e,t){var r=-1,a=e.length;t||(t=n(a));while(++r<a)t[r]=e[r];return t}function oi(e,t,n,r){var a=!n;n||(n={});var i=-1,s=t.length;while(++i<s){var l=t[i],c=r?r(n[l],e[l],l,n,e):o;c===o&&(c=e[l]),a?pa(n,l,c):ca(n,l,c)}return n}function ii(e,t){return oi(e,Xi(e),t)}function si(e,t){return oi(e,Ki(e),t)}function li(e,t){return function(n,r){var a=lu(n)?wn:da,o=t?t():{};return a(n,e,Ui(r,2),o)}}function ci(e){return wo((function(t,n){var r=-1,a=n.length,i=a>1?n[a-1]:o,s=a>2?n[2]:o;i=e.length>3&&"function"==typeof i?(a--,i):o,s&&ss(n[0],n[1],s)&&(i=a<3?o:i,a=1),t=nt(t);while(++r<a){var l=n[r];l&&e(t,l,r,i)}return t}))}function ui(e,t){return function(n,r){if(null==n)return n;if(!uu(n))return e(n,r);var a=n.length,o=t?a:-1,i=nt(n);while(t?o--:++o<a)if(!1===r(i[o],o,i))break;return n}}function di(e){return function(t,n,r){var a=-1,o=nt(t),i=r(t),s=i.length;while(s--){var l=i[e?s:++a];if(!1===n(o[l],l,o))break}return t}}function fi(e,t,n){var r=t&y,a=mi(e);function o(){var t=this&&this!==ln&&this instanceof o?a:e;return t.apply(r?n:this,arguments)}return o}function hi(e){return function(t){t=Qu(t);var n=ir(t)?br(t):o,r=n?n[0]:t.charAt(0),a=n?$o(n,1).join(""):t.slice(1);return r[e]()+a}}function pi(e){return function(t){return Tn(_f(Gd(t).replace(Yt,"")),e,"")}}function mi(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=jr(e.prototype),r=e.apply(n,t);return ku(r)?r:n}}function vi(e,t,r){var a=mi(e);function i(){var s=arguments.length,l=n(s),c=s,u=Yi(i);while(c--)l[c]=arguments[c];var d=s<3&&l[0]!==u&&l[s-1]!==u?[]:dr(l,u);if(s-=d.length,s<r)return Ci(e,t,yi,i.placeholder,o,l,d,o,o,r-s);var f=this&&this!==ln&&this instanceof i?a:e;return On(f,this,l)}return i}function bi(e){return function(t,n,r){var a=nt(t);if(!uu(t)){var i=Ui(n,3);t=_d(t),n=function(e){return i(a[e],e,a)}}var s=e(t,n,r);return s>-1?a[i?t[s]:s]:o}}function gi(e){return Bi((function(t){var n=t.length,r=n,a=Sr.prototype.thru;e&&t.reverse();while(r--){var i=t[r];if("function"!=typeof i)throw new ot(c);if(a&&!s&&"wrapper"==Hi(i))var s=new Sr([],!0)}r=s?r:n;while(++r<n){i=t[r];var l=Hi(i),u="wrapper"==l?zi(i):o;s=u&&us(u[0])&&u[1]==(S|_|k|C)&&!u[4].length&&1==u[9]?s[Hi(u[0])].apply(s,u[3]):1==i.length&&us(i)?s[l]():s.thru(i)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&lu(r))return s.plant(r).value();var a=0,o=n?t[a].apply(this,e):r;while(++a<n)o=t[a].call(this,o);return o}}))}function yi(e,t,r,a,i,s,l,c,u,d){var f=t&S,h=t&y,p=t&O,m=t&(_|j),v=t&M,b=p?o:mi(e);function g(){var o=arguments.length,y=n(o),O=o;while(O--)y[O]=arguments[O];if(m)var w=Yi(g),_=tr(y,w);if(a&&(y=ni(y,a,i,m)),s&&(y=ri(y,s,l,m)),o-=_,m&&o<d){var j=dr(y,w);return Ci(e,t,yi,g.placeholder,r,y,j,c,u,d-o)}var k=h?r:this,x=p?k[e]:e;return o=y.length,c?y=_s(y,c):v&&o>1&&y.reverse(),f&&u<o&&(y.length=u),this&&this!==ln&&this instanceof g&&(x=b||mi(x)),x.apply(k,y)}return g}function Oi(e,t){return function(n,r){return Ha(n,e,t(r),{})}}function wi(e,t){return function(n,r){var a;if(n===o&&r===o)return t;if(n!==o&&(a=n),r!==o){if(a===o)return r;"string"==typeof n||"string"==typeof r?(n=Do(n),r=Do(r)):(n=Po(n),r=Po(r)),a=e(n,r)}return a}}function _i(e){return Bi((function(t){return t=Mn(t,Kn(Ui())),wo((function(n){var r=this;return e(t,(function(e){return On(e,r,n)}))}))}))}function ji(e,t){t=t===o?" ":Do(t);var n=t.length;if(n<2)return n?Oo(t,e):t;var r=Oo(t,Pt(e/vr(t)));return ir(t)?$o(br(r),0,e).join(""):r.slice(0,e)}function ki(e,t,r,a){var o=t&y,i=mi(e);function s(){var t=-1,l=arguments.length,c=-1,u=a.length,d=n(u+l),f=this&&this!==ln&&this instanceof s?i:e;while(++c<u)d[c]=a[c];while(l--)d[c++]=arguments[++t];return On(f,o?r:this,d)}return s}function xi(e){return function(t,n,r){return r&&"number"!=typeof r&&ss(t,n,r)&&(n=r=o),t=qu(t),n===o?(n=t,t=0):n=qu(n),r=r===o?t<n?1:-1:qu(r),yo(t,n,r,e)}}function Si(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Ku(t),n=Ku(n)),e(t,n)}}function Ci(e,t,n,r,a,i,s,l,c,u){var d=t&_,f=d?s:o,h=d?o:s,p=d?i:o,m=d?o:i;t|=d?k:x,t&=~(d?x:k),t&w||(t&=~(y|O));var v=[e,t,a,p,f,m,h,l,c,u],b=n.apply(o,v);return us(e)&&ks(b,v),b.placeholder=r,Cs(b,e,t)}function Mi(e){var t=Ye[e];return function(e,n){if(e=Ku(e),n=null==n?0:zt(Gu(n),292),n&&It(e)){var r=(Qu(e)+"e").split("e"),a=t(r[0]+"e"+(+r[1]+n));return r=(Qu(a)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}var Ai=tn&&1/fr(new tn([,-0]))[1]==R?function(e){return new tn(e)}:Ff;function Ti(e){return function(t){var n=Ji(t);return n==Q?cr(t):n==ie?hr(t):Gn(t,e(t))}}function Ei(e,t,n,r,a,i,s,l){var u=t&O;if(!u&&"function"!=typeof e)throw new ot(c);var d=r?r.length:0;if(d||(t&=~(k|x),r=a=o),s=s===o?s:Vt(Gu(s),0),l=l===o?l:Gu(l),d-=a?a.length:0,t&x){var f=r,h=a;r=a=o}var p=u?o:zi(e),m=[e,t,n,r,a,f,h,i,s,l];if(p&&bs(m,p),e=m[0],t=m[1],n=m[2],r=m[3],a=m[4],l=m[9]=m[9]===o?u?0:e.length:Vt(m[9]-d,0),!l&&t&(_|j)&&(t&=~(_|j)),t&&t!=y)v=t==_||t==j?vi(e,t,l):t!=k&&t!=(y|k)||a.length?yi.apply(o,m):ki(e,t,n,r);else var v=fi(e,t,n);var b=p?xo:ks;return Cs(b(v,m),e,t)}function Li(e,t,n,r){return e===o||au(e,lt[n])&&!dt.call(r,n)?t:e}function Pi(e,t,n,r,a,i){return ku(e)&&ku(t)&&(i.set(t,e),lo(e,t,o,Pi,i),i["delete"](t)),e}function Di(e){return Du(e)?o:e}function Ni(e,t,n,r,a,i){var s=n&b,l=e.length,c=t.length;if(l!=c&&!(s&&c>l))return!1;var u=i.get(e),d=i.get(t);if(u&&d)return u==t&&d==e;var f=-1,h=!0,p=n&g?new Xr:o;i.set(e,t),i.set(t,e);while(++f<l){var m=e[f],v=t[f];if(r)var y=s?r(v,m,f,t,e,i):r(m,v,f,e,t,i);if(y!==o){if(y)continue;h=!1;break}if(p){if(!Ln(t,(function(e,t){if(!Zn(p,t)&&(m===e||a(m,e,n,r,i)))return p.push(t)}))){h=!1;break}}else if(m!==v&&!a(m,v,n,r,i)){h=!1;break}}return i["delete"](e),i["delete"](t),h}function Ri(e,t,n,r,a,o,i){switch(n){case he:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case fe:return!(e.byteLength!=t.byteLength||!o(new Ot(e),new Ot(t)));case q:case G:case ee:return au(+e,+t);case K:return e.name==t.name&&e.message==t.message;case oe:case se:return e==t+"";case Q:var s=cr;case ie:var l=r&b;if(s||(s=fr),e.size!=t.size&&!l)return!1;var c=i.get(e);if(c)return c==t;r|=g,i.set(e,t);var u=Ni(s(e),s(t),r,a,o,i);return i["delete"](e),u;case le:if(pr)return pr.call(e)==pr.call(t)}return!1}function Ii(e,t,n,r,a,i){var s=n&b,l=Fi(e),c=l.length,u=Fi(t),d=u.length;if(c!=d&&!s)return!1;var f=c;while(f--){var h=l[f];if(!(s?h in t:dt.call(t,h)))return!1}var p=i.get(e),m=i.get(t);if(p&&m)return p==t&&m==e;var v=!0;i.set(e,t),i.set(t,e);var g=s;while(++f<c){h=l[f];var y=e[h],O=t[h];if(r)var w=s?r(O,y,h,t,e,i):r(y,O,h,e,t,i);if(!(w===o?y===O||a(y,O,n,r,i):w)){v=!1;break}g||(g="constructor"==h)}if(v&&!g){var _=e.constructor,j=t.constructor;_==j||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof j&&j instanceof j||(v=!1)}return i["delete"](e),i["delete"](t),v}function Bi(e){return Ss(Os(e,o,Gs),e+"")}function Fi(e){return Na(e,_d,Xi)}function Vi(e){return Na(e,jd,Ki)}var zi=sn?function(e){return sn.get(e)}:Ff;function Hi(e){var t=e.name+"",n=cn[t],r=dt.call(cn,t)?n.length:0;while(r--){var a=n[r],o=a.func;if(null==o||o==e)return a.name}return t}function Yi(e){var t=dt.call(wr,"placeholder")?wr:e;return t.placeholder}function Ui(){var e=wr.iteratee||Lf;return e=e===Lf?to:e,arguments.length?e(arguments[0],arguments[1]):e}function Wi(e,t){var n=e.__data__;return cs(t)?n["string"==typeof t?"string":"hash"]:n.map}function $i(e){var t=_d(e),n=t.length;while(n--){var r=t[n],a=e[r];t[n]=[r,a,ps(a)]}return t}function qi(e,t){var n=or(e,t);return Ja(n)?n:o}function Gi(e){var t=dt.call(e,Mt),n=e[Mt];try{e[Mt]=o;var r=!0}catch(i){}var a=pt.call(e);return r&&(t?e[Mt]=n:delete e[Mt]),a}var Xi=Nt?function(e){return null==e?[]:(e=nt(e),xn(Nt(e),(function(t){return kt.call(e,t)})))}:Gf,Ki=Nt?function(e){var t=[];while(e)An(t,Xi(e)),e=_t(e);return t}:Gf,Ji=Ra;function Zi(e,t,n){var r=-1,a=n.length;while(++r<a){var o=n[r],i=o.size;switch(o.type){case"drop":e+=i;break;case"dropRight":t-=i;break;case"take":t=zt(t,e+i);break;case"takeRight":e=Vt(e,t-i);break}}return{start:e,end:t}}function Qi(e){var t=e.match(ze);return t?t[1].split(He):[]}function es(e,t,n){t=Uo(t,e);var r=-1,a=t.length,o=!1;while(++r<a){var i=Es(t[r]);if(!(o=null!=e&&n(e,i)))break;e=e[i]}return o||++r!=a?o:(a=null==e?0:e.length,!!a&&ju(a)&&is(i,a)&&(lu(e)||su(e)))}function ts(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&dt.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function ns(e){return"function"!=typeof e.constructor||hs(e)?{}:jr(_t(e))}function rs(e,t,n){var r=e.constructor;switch(t){case fe:return Xo(e);case q:case G:return new r(+e);case he:return Ko(e,n);case pe:case me:case ve:case be:case ge:case ye:case Oe:case we:case _e:return Qo(e,n);case Q:return new r;case ee:case se:return new r(e);case oe:return Jo(e);case ie:return new r;case le:return Zo(e)}}function as(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Ve,"{\n/* [wrapped with "+t+"] */\n")}function os(e){return lu(e)||su(e)||!!(St&&e&&e[St])}function is(e,t){var n=typeof e;return t=null==t?I:t,!!t&&("number"==n||"symbol"!=n&&Ze.test(e))&&e>-1&&e%1==0&&e<t}function ss(e,t,n){if(!ku(n))return!1;var r=typeof t;return!!("number"==r?uu(n)&&is(t,n.length):"string"==r&&t in n)&&au(n[t],e)}function ls(e,t){if(lu(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Fu(e))||(De.test(e)||!Pe.test(e)||null!=t&&e in nt(t))}function cs(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function us(e){var t=Hi(e),n=wr[t];if("function"!=typeof n||!(t in Cr.prototype))return!1;if(e===n)return!0;var r=zi(n);return!!r&&e===r[0]}function ds(e){return!!ht&&ht in e}(Gt&&Ji(new Gt(new ArrayBuffer(1)))!=he||Qt&&Ji(new Qt)!=Q||en&&Ji(en.resolve())!=re||tn&&Ji(new tn)!=ie||nn&&Ji(new nn)!=ue)&&(Ji=function(e){var t=Ra(e),n=t==ne?e.constructor:o,r=n?Ls(n):"";if(r)switch(r){case un:return he;case fn:return Q;case hn:return re;case Pn:return ie;case Dn:return ue}return t});var fs=ct?wu:Xf;function hs(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||lt;return e===n}function ps(e){return e===e&&!ku(e)}function ms(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==o||e in nt(n)))}}function vs(e){var t=Vc(e,(function(e){return n.size===f&&n.clear(),e})),n=t.cache;return t}function bs(e,t){var n=e[1],r=t[1],a=n|r,o=a<(y|O|S),i=r==S&&n==_||r==S&&n==C&&e[7].length<=t[8]||r==(S|C)&&t[7].length<=t[8]&&n==_;if(!o&&!i)return e;r&y&&(e[2]=t[2],a|=n&y?0:w);var s=t[3];if(s){var l=e[3];e[3]=l?ni(l,s,t[4]):s,e[4]=l?dr(e[3],h):t[4]}return s=t[5],s&&(l=e[5],e[5]=l?ri(l,s,t[6]):s,e[6]=l?dr(e[5],h):t[6]),s=t[7],s&&(e[7]=s),r&S&&(e[8]=null==e[8]?t[8]:zt(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=a,e}function gs(e){var t=[];if(null!=e)for(var n in nt(e))t.push(n);return t}function ys(e){return pt.call(e)}function Os(e,t,r){return t=Vt(t===o?e.length-1:t,0),function(){var a=arguments,o=-1,i=Vt(a.length-t,0),s=n(i);while(++o<i)s[o]=a[t+o];o=-1;var l=n(t+1);while(++o<t)l[o]=a[o];return l[t]=r(s),On(e,this,l)}}function ws(e,t){return t.length<2?e:Da(e,Mo(t,0,-1))}function _s(e,t){var n=e.length,r=zt(t.length,n),a=ai(e);while(r--){var i=t[r];e[r]=is(i,n)?a[i]:o}return e}function js(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var ks=Ms(xo),xs=Lt||function(e,t){return ln.setTimeout(e,t)},Ss=Ms(So);function Cs(e,t,n){var r=t+"";return Ss(e,as(r,Ps(Qi(r),n)))}function Ms(e){var t=0,n=0;return function(){var r=Ht(),a=L-(r-n);if(n=r,a>0){if(++t>=E)return arguments[0]}else t=0;return e.apply(o,arguments)}}function As(e,t){var n=-1,r=e.length,a=r-1;t=t===o?r:t;while(++n<t){var i=go(n,a),s=e[i];e[i]=e[n],e[n]=s}return e.length=t,e}var Ts=vs((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Ne,(function(e,n,r,a){t.push(r?a.replace(We,"$1"):n||e)})),t}));function Es(e){if("string"==typeof e||Fu(e))return e;var t=e+"";return"0"==t&&1/e==-R?"-0":t}function Ls(e){if(null!=e){try{return ut.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Ps(e,t){return _n(Y,(function(n){var r="_."+n[0];t&n[1]&&!Sn(e,r)&&e.push(r)})),e.sort()}function Ds(e){if(e instanceof Cr)return e.clone();var t=new Sr(e.__wrapped__,e.__chain__);return t.__actions__=ai(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Ns(e,t,r){t=(r?ss(e,t,r):t===o)?1:Vt(Gu(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];var i=0,s=0,l=n(Pt(a/t));while(i<a)l[s++]=Mo(e,i,i+=t);return l}function Rs(e){var t=-1,n=null==e?0:e.length,r=0,a=[];while(++t<n){var o=e[t];o&&(a[r++]=o)}return a}function Is(){var e=arguments.length;if(!e)return[];var t=n(e-1),r=arguments[0],a=e;while(a--)t[a-1]=arguments[a];return An(lu(r)?ai(r):[r],Ma(t,1))}var Bs=wo((function(e,t){return du(e)?wa(e,Ma(t,1,du,!0)):[]})),Fs=wo((function(e,t){var n=ol(t);return du(n)&&(n=o),du(e)?wa(e,Ma(t,1,du,!0),Ui(n,2)):[]})),Vs=wo((function(e,t){var n=ol(t);return du(n)&&(n=o),du(e)?wa(e,Ma(t,1,du,!0),o,n):[]}));function zs(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===o?1:Gu(t),Mo(e,t<0?0:t,r)):[]}function Hs(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===o?1:Gu(t),t=r-t,Mo(e,0,t<0?0:t)):[]}function Ys(e,t){return e&&e.length?Bo(e,Ui(t,3),!0,!0):[]}function Us(e,t){return e&&e.length?Bo(e,Ui(t,3),!0):[]}function Ws(e,t,n,r){var a=null==e?0:e.length;return a?(n&&"number"!=typeof n&&ss(e,t,n)&&(n=0,r=a),Sa(e,t,n,r)):[]}function $s(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=null==n?0:Gu(n);return a<0&&(a=Vt(r+a,0)),In(e,Ui(t,3),a)}function qs(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=r-1;return n!==o&&(a=Gu(n),a=n<0?Vt(r+a,0):zt(a,r-1)),In(e,Ui(t,3),a,!0)}function Gs(e){var t=null==e?0:e.length;return t?Ma(e,1):[]}function Xs(e){var t=null==e?0:e.length;return t?Ma(e,R):[]}function Ks(e,t){var n=null==e?0:e.length;return n?(t=t===o?1:Gu(t),Ma(e,t)):[]}function Js(e){var t=-1,n=null==e?0:e.length,r={};while(++t<n){var a=e[t];r[a[0]]=a[1]}return r}function Zs(e){return e&&e.length?e[0]:o}function Qs(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=null==n?0:Gu(n);return a<0&&(a=Vt(r+a,0)),Bn(e,t,a)}function el(e){var t=null==e?0:e.length;return t?Mo(e,0,-1):[]}var tl=wo((function(e){var t=Mn(e,Ho);return t.length&&t[0]===e[0]?za(t):[]})),nl=wo((function(e){var t=ol(e),n=Mn(e,Ho);return t===ol(n)?t=o:n.pop(),n.length&&n[0]===e[0]?za(n,Ui(t,2)):[]})),rl=wo((function(e){var t=ol(e),n=Mn(e,Ho);return t="function"==typeof t?t:o,t&&n.pop(),n.length&&n[0]===e[0]?za(n,o,t):[]}));function al(e,t){return null==e?"":Bt.call(e,t)}function ol(e){var t=null==e?0:e.length;return t?e[t-1]:o}function il(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=r;return n!==o&&(a=Gu(n),a=a<0?Vt(r+a,0):zt(a,r-1)),t===t?mr(e,t,a):In(e,Vn,a,!0)}function sl(e,t){return e&&e.length?uo(e,Gu(t)):o}var ll=wo(cl);function cl(e,t){return e&&e.length&&t&&t.length?vo(e,t):e}function ul(e,t,n){return e&&e.length&&t&&t.length?vo(e,t,Ui(n,2)):e}function dl(e,t,n){return e&&e.length&&t&&t.length?vo(e,t,o,n):e}var fl=Bi((function(e,t){var n=null==e?0:e.length,r=ma(e,t);return bo(e,Mn(t,(function(e){return is(e,n)?+e:e})).sort(ei)),r}));function hl(e,t){var n=[];if(!e||!e.length)return n;var r=-1,a=[],o=e.length;t=Ui(t,3);while(++r<o){var i=e[r];t(i,r,e)&&(n.push(i),a.push(r))}return bo(e,a),n}function pl(e){return null==e?e:qt.call(e)}function ml(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&ss(e,t,n)?(t=0,n=r):(t=null==t?0:Gu(t),n=n===o?r:Gu(n)),Mo(e,t,n)):[]}function vl(e,t){return To(e,t)}function bl(e,t,n){return Eo(e,t,Ui(n,2))}function gl(e,t){var n=null==e?0:e.length;if(n){var r=To(e,t);if(r<n&&au(e[r],t))return r}return-1}function yl(e,t){return To(e,t,!0)}function Ol(e,t,n){return Eo(e,t,Ui(n,2),!0)}function wl(e,t){var n=null==e?0:e.length;if(n){var r=To(e,t,!0)-1;if(au(e[r],t))return r}return-1}function _l(e){return e&&e.length?Lo(e):[]}function jl(e,t){return e&&e.length?Lo(e,Ui(t,2)):[]}function kl(e){var t=null==e?0:e.length;return t?Mo(e,1,t):[]}function xl(e,t,n){return e&&e.length?(t=n||t===o?1:Gu(t),Mo(e,0,t<0?0:t)):[]}function Sl(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===o?1:Gu(t),t=r-t,Mo(e,t<0?0:t,r)):[]}function Cl(e,t){return e&&e.length?Bo(e,Ui(t,3),!1,!0):[]}function Ml(e,t){return e&&e.length?Bo(e,Ui(t,3)):[]}var Al=wo((function(e){return No(Ma(e,1,du,!0))})),Tl=wo((function(e){var t=ol(e);return du(t)&&(t=o),No(Ma(e,1,du,!0),Ui(t,2))})),El=wo((function(e){var t=ol(e);return t="function"==typeof t?t:o,No(Ma(e,1,du,!0),o,t)}));function Ll(e){return e&&e.length?No(e):[]}function Pl(e,t){return e&&e.length?No(e,Ui(t,2)):[]}function Dl(e,t){return t="function"==typeof t?t:o,e&&e.length?No(e,o,t):[]}function Nl(e){if(!e||!e.length)return[];var t=0;return e=xn(e,(function(e){if(du(e))return t=Vt(e.length,t),!0})),qn(t,(function(t){return Mn(e,Hn(t))}))}function Rl(e,t){if(!e||!e.length)return[];var n=Nl(e);return null==t?n:Mn(n,(function(e){return On(t,o,e)}))}var Il=wo((function(e,t){return du(e)?wa(e,t):[]})),Bl=wo((function(e){return Vo(xn(e,du))})),Fl=wo((function(e){var t=ol(e);return du(t)&&(t=o),Vo(xn(e,du),Ui(t,2))})),Vl=wo((function(e){var t=ol(e);return t="function"==typeof t?t:o,Vo(xn(e,du),o,t)})),zl=wo(Nl);function Hl(e,t){return zo(e||[],t||[],ca)}function Yl(e,t){return zo(e||[],t||[],ko)}var Ul=wo((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,Rl(e,n)}));function Wl(e){var t=wr(e);return t.__chain__=!0,t}function $l(e,t){return t(e),e}function ql(e,t){return t(e)}var Gl=Bi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,a=function(t){return ma(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Cr&&is(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:ql,args:[a],thisArg:o}),new Sr(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(a)}));function Xl(){return Wl(this)}function Kl(){return new Sr(this.value(),this.__chain__)}function Jl(){this.__values__===o&&(this.__values__=$u(this.value()));var e=this.__index__>=this.__values__.length,t=e?o:this.__values__[this.__index__++];return{done:e,value:t}}function Zl(){return this}function Ql(e){var t,n=this;while(n instanceof xr){var r=Ds(n);r.__index__=0,r.__values__=o,t?a.__wrapped__=r:t=r;var a=r;n=n.__wrapped__}return a.__wrapped__=e,t}function ec(){var e=this.__wrapped__;if(e instanceof Cr){var t=e;return this.__actions__.length&&(t=new Cr(this)),t=t.reverse(),t.__actions__.push({func:ql,args:[pl],thisArg:o}),new Sr(t,this.__chain__)}return this.thru(pl)}function tc(){return Fo(this.__wrapped__,this.__actions__)}var nc=li((function(e,t,n){dt.call(e,n)?++e[n]:pa(e,n,1)}));function rc(e,t,n){var r=lu(e)?kn:ka;return n&&ss(e,t,n)&&(t=o),r(e,Ui(t,3))}function ac(e,t){var n=lu(e)?xn:Ca;return n(e,Ui(t,3))}var oc=bi($s),ic=bi(qs);function sc(e,t){return Ma(vc(e,t),1)}function lc(e,t){return Ma(vc(e,t),R)}function cc(e,t,n){return n=n===o?1:Gu(n),Ma(vc(e,t),n)}function uc(e,t){var n=lu(e)?_n:_a;return n(e,Ui(t,3))}function dc(e,t){var n=lu(e)?jn:ja;return n(e,Ui(t,3))}var fc=li((function(e,t,n){dt.call(e,n)?e[n].push(t):pa(e,n,[t])}));function hc(e,t,n,r){e=uu(e)?e:zd(e),n=n&&!r?Gu(n):0;var a=e.length;return n<0&&(n=Vt(a+n,0)),Bu(e)?n<=a&&e.indexOf(t,n)>-1:!!a&&Bn(e,t,n)>-1}var pc=wo((function(e,t,r){var a=-1,o="function"==typeof t,i=uu(e)?n(e.length):[];return _a(e,(function(e){i[++a]=o?On(t,e,r):Ya(e,t,r)})),i})),mc=li((function(e,t,n){pa(e,n,t)}));function vc(e,t){var n=lu(e)?Mn:oo;return n(e,Ui(t,3))}function bc(e,t,n,r){return null==e?[]:(lu(t)||(t=null==t?[]:[t]),n=r?o:n,lu(n)||(n=null==n?[]:[n]),fo(e,t,n))}var gc=li((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));function yc(e,t,n){var r=lu(e)?Tn:Un,a=arguments.length<3;return r(e,Ui(t,4),n,a,_a)}function Oc(e,t,n){var r=lu(e)?En:Un,a=arguments.length<3;return r(e,Ui(t,4),n,a,ja)}function wc(e,t){var n=lu(e)?xn:Ca;return n(e,zc(Ui(t,3)))}function _c(e){var t=lu(e)?oa:_o;return t(e)}function jc(e,t,n){t=(n?ss(e,t,n):t===o)?1:Gu(t);var r=lu(e)?ia:jo;return r(e,t)}function kc(e){var t=lu(e)?sa:Co;return t(e)}function xc(e){if(null==e)return 0;if(uu(e))return Bu(e)?vr(e):e.length;var t=Ji(e);return t==Q||t==ie?e.size:no(e).length}function Sc(e,t,n){var r=lu(e)?Ln:Ao;return n&&ss(e,t,n)&&(t=o),r(e,Ui(t,3))}var Cc=wo((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ss(e,t[0],t[1])?t=[]:n>2&&ss(t[0],t[1],t[2])&&(t=[t[0]]),fo(e,Ma(t,1),[])})),Mc=Et||function(){return ln.Date.now()};function Ac(e,t){if("function"!=typeof t)throw new ot(c);return e=Gu(e),function(){if(--e<1)return t.apply(this,arguments)}}function Tc(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Ei(e,S,o,o,o,o,t)}function Ec(e,t){var n;if("function"!=typeof t)throw new ot(c);return e=Gu(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Lc=wo((function(e,t,n){var r=y;if(n.length){var a=dr(n,Yi(Lc));r|=k}return Ei(e,r,t,n,a)})),Pc=wo((function(e,t,n){var r=y|O;if(n.length){var a=dr(n,Yi(Pc));r|=k}return Ei(t,r,e,n,a)}));function Dc(e,t,n){t=n?o:t;var r=Ei(e,_,o,o,o,o,o,t);return r.placeholder=Dc.placeholder,r}function Nc(e,t,n){t=n?o:t;var r=Ei(e,j,o,o,o,o,o,t);return r.placeholder=Nc.placeholder,r}function Rc(e,t,n){var r,a,i,s,l,u,d=0,f=!1,h=!1,p=!0;if("function"!=typeof e)throw new ot(c);function m(t){var n=r,i=a;return r=a=o,d=t,s=e.apply(i,n),s}function v(e){return d=e,l=xs(y,t),f?m(e):s}function b(e){var n=e-u,r=e-d,a=t-n;return h?zt(a,i-r):a}function g(e){var n=e-u,r=e-d;return u===o||n>=t||n<0||h&&r>=i}function y(){var e=Mc();if(g(e))return O(e);l=xs(y,b(e))}function O(e){return l=o,p&&r?m(e):(r=a=o,s)}function w(){l!==o&&qo(l),d=0,r=u=a=l=o}function _(){return l===o?s:O(Mc())}function j(){var e=Mc(),n=g(e);if(r=arguments,a=this,u=e,n){if(l===o)return v(u);if(h)return qo(l),l=xs(y,t),m(u)}return l===o&&(l=xs(y,t)),s}return t=Ku(t)||0,ku(n)&&(f=!!n.leading,h="maxWait"in n,i=h?Vt(Ku(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),j.cancel=w,j.flush=_,j}var Ic=wo((function(e,t){return Oa(e,1,t)})),Bc=wo((function(e,t,n){return Oa(e,Ku(t)||0,n)}));function Fc(e){return Ei(e,M)}function Vc(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ot(c);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var i=e.apply(this,r);return n.cache=o.set(a,i)||o,i};return n.cache=new(Vc.Cache||Yr),n}function zc(e){if("function"!=typeof e)throw new ot(c);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Hc(e){return Ec(2,e)}Vc.Cache=Yr;var Yc=Wo((function(e,t){t=1==t.length&&lu(t[0])?Mn(t[0],Kn(Ui())):Mn(Ma(t,1),Kn(Ui()));var n=t.length;return wo((function(r){var a=-1,o=zt(r.length,n);while(++a<o)r[a]=t[a].call(this,r[a]);return On(e,this,r)}))})),Uc=wo((function(e,t){var n=dr(t,Yi(Uc));return Ei(e,k,o,t,n)})),Wc=wo((function(e,t){var n=dr(t,Yi(Wc));return Ei(e,x,o,t,n)})),$c=Bi((function(e,t){return Ei(e,C,o,o,o,t)}));function qc(e,t){if("function"!=typeof e)throw new ot(c);return t=t===o?t:Gu(t),wo(e,t)}function Gc(e,t){if("function"!=typeof e)throw new ot(c);return t=null==t?0:Vt(Gu(t),0),wo((function(n){var r=n[t],a=$o(n,0,t);return r&&An(a,r),On(e,this,a)}))}function Xc(e,t,n){var r=!0,a=!0;if("function"!=typeof e)throw new ot(c);return ku(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),Rc(e,t,{leading:r,maxWait:t,trailing:a})}function Kc(e){return Tc(e,1)}function Jc(e,t){return Uc(Yo(t),e)}function Zc(){if(!arguments.length)return[];var e=arguments[0];return lu(e)?e:[e]}function Qc(e){return ba(e,v)}function eu(e,t){return t="function"==typeof t?t:o,ba(e,v,t)}function tu(e){return ba(e,p|v)}function nu(e,t){return t="function"==typeof t?t:o,ba(e,p|v,t)}function ru(e,t){return null==t||ya(e,t,_d(t))}function au(e,t){return e===t||e!==e&&t!==t}var ou=Si(Ia),iu=Si((function(e,t){return e>=t})),su=Ua(function(){return arguments}())?Ua:function(e){return xu(e)&&dt.call(e,"callee")&&!kt.call(e,"callee")},lu=n.isArray,cu=pn?Kn(pn):Wa;function uu(e){return null!=e&&ju(e.length)&&!wu(e)}function du(e){return xu(e)&&uu(e)}function fu(e){return!0===e||!1===e||xu(e)&&Ra(e)==q}var hu=Rt||Xf,pu=mn?Kn(mn):$a;function mu(e){return xu(e)&&1===e.nodeType&&!Du(e)}function vu(e){if(null==e)return!0;if(uu(e)&&(lu(e)||"string"==typeof e||"function"==typeof e.splice||hu(e)||Vu(e)||su(e)))return!e.length;var t=Ji(e);if(t==Q||t==ie)return!e.size;if(hs(e))return!no(e).length;for(var n in e)if(dt.call(e,n))return!1;return!0}function bu(e,t){return qa(e,t)}function gu(e,t,n){n="function"==typeof n?n:o;var r=n?n(e,t):o;return r===o?qa(e,t,o,n):!!r}function yu(e){if(!xu(e))return!1;var t=Ra(e);return t==K||t==X||"string"==typeof e.message&&"string"==typeof e.name&&!Du(e)}function Ou(e){return"number"==typeof e&&It(e)}function wu(e){if(!ku(e))return!1;var t=Ra(e);return t==J||t==Z||t==$||t==ae}function _u(e){return"number"==typeof e&&e==Gu(e)}function ju(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=I}function ku(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function xu(e){return null!=e&&"object"==typeof e}var Su=vn?Kn(vn):Xa;function Cu(e,t){return e===t||Ka(e,t,$i(t))}function Mu(e,t,n){return n="function"==typeof n?n:o,Ka(e,t,$i(t),n)}function Au(e){return Pu(e)&&e!=+e}function Tu(e){if(fs(e))throw new a(l);return Ja(e)}function Eu(e){return null===e}function Lu(e){return null==e}function Pu(e){return"number"==typeof e||xu(e)&&Ra(e)==ee}function Du(e){if(!xu(e)||Ra(e)!=ne)return!1;var t=_t(e);if(null===t)return!0;var n=dt.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ut.call(n)==mt}var Nu=bn?Kn(bn):Za;function Ru(e){return _u(e)&&e>=-I&&e<=I}var Iu=gn?Kn(gn):Qa;function Bu(e){return"string"==typeof e||!lu(e)&&xu(e)&&Ra(e)==se}function Fu(e){return"symbol"==typeof e||xu(e)&&Ra(e)==le}var Vu=yn?Kn(yn):eo;function zu(e){return e===o}function Hu(e){return xu(e)&&Ji(e)==ue}function Yu(e){return xu(e)&&Ra(e)==de}var Uu=Si(ao),Wu=Si((function(e,t){return e<=t}));function $u(e){if(!e)return[];if(uu(e))return Bu(e)?br(e):ai(e);if(Ct&&e[Ct])return lr(e[Ct]());var t=Ji(e),n=t==Q?cr:t==ie?fr:zd;return n(e)}function qu(e){if(!e)return 0===e?e:0;if(e=Ku(e),e===R||e===-R){var t=e<0?-1:1;return t*B}return e===e?e:0}function Gu(e){var t=qu(e),n=t%1;return t===t?n?t-n:t:0}function Xu(e){return e?va(Gu(e),0,V):0}function Ku(e){if("number"==typeof e)return e;if(Fu(e))return F;if(ku(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ku(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Xn(e);var n=Xe.test(e);return n||Je.test(e)?an(e.slice(2),n?2:8):Ge.test(e)?F:+e}function Ju(e){return oi(e,jd(e))}function Zu(e){return e?va(Gu(e),-I,I):0===e?e:0}function Qu(e){return null==e?"":Do(e)}var ed=ci((function(e,t){if(hs(t)||uu(t))oi(t,_d(t),e);else for(var n in t)dt.call(t,n)&&ca(e,n,t[n])})),td=ci((function(e,t){oi(t,jd(t),e)})),nd=ci((function(e,t,n,r){oi(t,jd(t),e,r)})),rd=ci((function(e,t,n,r){oi(t,_d(t),e,r)})),ad=Bi(ma);function od(e,t){var n=jr(e);return null==t?n:fa(n,t)}var id=wo((function(e,t){e=nt(e);var n=-1,r=t.length,a=r>2?t[2]:o;a&&ss(t[0],t[1],a)&&(r=1);while(++n<r){var i=t[n],s=jd(i),l=-1,c=s.length;while(++l<c){var u=s[l],d=e[u];(d===o||au(d,lt[u])&&!dt.call(e,u))&&(e[u]=i[u])}}return e})),sd=wo((function(e){return e.push(o,Pi),On(Cd,o,e)}));function ld(e,t){return Rn(e,Ui(t,3),Ea)}function cd(e,t){return Rn(e,Ui(t,3),La)}function ud(e,t){return null==e?e:Aa(e,Ui(t,3),jd)}function dd(e,t){return null==e?e:Ta(e,Ui(t,3),jd)}function fd(e,t){return e&&Ea(e,Ui(t,3))}function hd(e,t){return e&&La(e,Ui(t,3))}function pd(e){return null==e?[]:Pa(e,_d(e))}function md(e){return null==e?[]:Pa(e,jd(e))}function vd(e,t,n){var r=null==e?o:Da(e,t);return r===o?n:r}function bd(e,t){return null!=e&&es(e,t,Ba)}function gd(e,t){return null!=e&&es(e,t,Fa)}var yd=Oi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=pt.call(t)),e[t]=n}),Cf(Ef)),Od=Oi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=pt.call(t)),dt.call(e,t)?e[t].push(n):e[t]=[n]}),Ui),wd=wo(Ya);function _d(e){return uu(e)?aa(e):no(e)}function jd(e){return uu(e)?aa(e,!0):ro(e)}function kd(e,t){var n={};return t=Ui(t,3),Ea(e,(function(e,r,a){pa(n,t(e,r,a),e)})),n}function xd(e,t){var n={};return t=Ui(t,3),Ea(e,(function(e,r,a){pa(n,r,t(e,r,a))})),n}var Sd=ci((function(e,t,n){lo(e,t,n)})),Cd=ci((function(e,t,n,r){lo(e,t,n,r)})),Md=Bi((function(e,t){var n={};if(null==e)return n;var r=!1;t=Mn(t,(function(t){return t=Uo(t,e),r||(r=t.length>1),t})),oi(e,Vi(e),n),r&&(n=ba(n,p|m|v,Di));var a=t.length;while(a--)Ro(n,t[a]);return n}));function Ad(e,t){return Ed(e,zc(Ui(t)))}var Td=Bi((function(e,t){return null==e?{}:ho(e,t)}));function Ed(e,t){if(null==e)return{};var n=Mn(Vi(e),(function(e){return[e]}));return t=Ui(t),po(e,n,(function(e,n){return t(e,n[0])}))}function Ld(e,t,n){t=Uo(t,e);var r=-1,a=t.length;a||(a=1,e=o);while(++r<a){var i=null==e?o:e[Es(t[r])];i===o&&(r=a,i=n),e=wu(i)?i.call(e):i}return e}function Pd(e,t,n){return null==e?e:ko(e,t,n)}function Dd(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:ko(e,t,n,r)}var Nd=Ti(_d),Rd=Ti(jd);function Id(e,t,n){var r=lu(e),a=r||hu(e)||Vu(e);if(t=Ui(t,4),null==n){var o=e&&e.constructor;n=a?r?new o:[]:ku(e)&&wu(o)?jr(_t(e)):{}}return(a?_n:Ea)(e,(function(e,r,a){return t(n,e,r,a)})),n}function Bd(e,t){return null==e||Ro(e,t)}function Fd(e,t,n){return null==e?e:Io(e,t,Yo(n))}function Vd(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:Io(e,t,Yo(n),r)}function zd(e){return null==e?[]:Jn(e,_d(e))}function Hd(e){return null==e?[]:Jn(e,jd(e))}function Yd(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=Ku(n),n=n===n?n:0),t!==o&&(t=Ku(t),t=t===t?t:0),va(Ku(e),t,n)}function Ud(e,t,n){return t=qu(t),n===o?(n=t,t=0):n=qu(n),e=Ku(e),Va(e,t,n)}function Wd(e,t,n){if(n&&"boolean"!=typeof n&&ss(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=qu(e),t===o?(t=e,e=0):t=qu(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var a=$t();return zt(e+a*(t-e+rn("1e-"+((a+"").length-1))),t)}return go(e,t)}var $d=pi((function(e,t,n){return t=t.toLowerCase(),e+(n?qd(t):t)}));function qd(e){return wf(Qu(e).toLowerCase())}function Gd(e){return e=Qu(e),e&&e.replace(Qe,nr).replace(Ut,"")}function Xd(e,t,n){e=Qu(e),t=Do(t);var r=e.length;n=n===o?r:va(Gu(n),0,r);var a=n;return n-=t.length,n>=0&&e.slice(n,a)==t}function Kd(e){return e=Qu(e),e&&Ae.test(e)?e.replace(Ce,rr):e}function Jd(e){return e=Qu(e),e&&Ie.test(e)?e.replace(Re,"\\$&"):e}var Zd=pi((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Qd=pi((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),ef=hi("toLowerCase");function tf(e,t,n){e=Qu(e),t=Gu(t);var r=t?vr(e):0;if(!t||r>=t)return e;var a=(t-r)/2;return ji(Dt(a),n)+e+ji(Pt(a),n)}function nf(e,t,n){e=Qu(e),t=Gu(t);var r=t?vr(e):0;return t&&r<t?e+ji(t-r,n):e}function rf(e,t,n){e=Qu(e),t=Gu(t);var r=t?vr(e):0;return t&&r<t?ji(t-r,n)+e:e}function af(e,t,n){return n||null==t?t=0:t&&(t=+t),Wt(Qu(e).replace(Be,""),t||0)}function of(e,t,n){return t=(n?ss(e,t,n):t===o)?1:Gu(t),Oo(Qu(e),t)}function sf(){var e=arguments,t=Qu(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var lf=pi((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));function cf(e,t,n){return n&&"number"!=typeof n&&ss(e,t,n)&&(t=n=o),n=n===o?V:n>>>0,n?(e=Qu(e),e&&("string"==typeof t||null!=t&&!Nu(t))&&(t=Do(t),!t&&ir(e))?$o(br(e),0,n):e.split(t,n)):[]}var uf=pi((function(e,t,n){return e+(n?" ":"")+wf(t)}));function df(e,t,n){return e=Qu(e),n=null==n?0:va(Gu(n),0,e.length),t=Do(t),e.slice(n,n+t.length)==t}function ff(e,t,n){var r=wr.templateSettings;n&&ss(e,t,n)&&(t=o),e=Qu(e),t=nd({},t,r,Li);var i,s,l=nd({},t.imports,r.imports,Li),c=_d(l),d=Jn(l,c),f=0,h=t.interpolate||et,p="__p += '",m=rt((t.escape||et).source+"|"+h.source+"|"+(h===Le?$e:et).source+"|"+(t.evaluate||et).source+"|$","g"),v="//# sourceURL="+(dt.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Kt+"]")+"\n";e.replace(m,(function(t,n,r,a,o,l){return r||(r=a),p+=e.slice(f,l).replace(tt,ar),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),o&&(s=!0,p+="';\n"+o+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=l+t.length,t})),p+="';\n";var b=dt.call(t,"variable")&&t.variable;if(b){if(Ue.test(b))throw new a(u)}else p="with (obj) {\n"+p+"\n}\n";p=(s?p.replace(je,""):p).replace(ke,"$1").replace(xe,"$1;"),p="function("+(b||"obj")+") {\n"+(b?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var g=jf((function(){return Fe(c,v+"return "+p).apply(o,d)}));if(g.source=p,yu(g))throw g;return g}function hf(e){return Qu(e).toLowerCase()}function pf(e){return Qu(e).toUpperCase()}function mf(e,t,n){if(e=Qu(e),e&&(n||t===o))return Xn(e);if(!e||!(t=Do(t)))return e;var r=br(e),a=br(t),i=Qn(r,a),s=er(r,a)+1;return $o(r,i,s).join("")}function vf(e,t,n){if(e=Qu(e),e&&(n||t===o))return e.slice(0,gr(e)+1);if(!e||!(t=Do(t)))return e;var r=br(e),a=er(r,br(t))+1;return $o(r,0,a).join("")}function bf(e,t,n){if(e=Qu(e),e&&(n||t===o))return e.replace(Be,"");if(!e||!(t=Do(t)))return e;var r=br(e),a=Qn(r,br(t));return $o(r,a).join("")}function gf(e,t){var n=A,r=T;if(ku(t)){var a="separator"in t?t.separator:a;n="length"in t?Gu(t.length):n,r="omission"in t?Do(t.omission):r}e=Qu(e);var i=e.length;if(ir(e)){var s=br(e);i=s.length}if(n>=i)return e;var l=n-vr(r);if(l<1)return r;var c=s?$o(s,0,l).join(""):e.slice(0,l);if(a===o)return c+r;if(s&&(l+=c.length-l),Nu(a)){if(e.slice(l).search(a)){var u,d=c;a.global||(a=rt(a.source,Qu(qe.exec(a))+"g")),a.lastIndex=0;while(u=a.exec(d))var f=u.index;c=c.slice(0,f===o?l:f)}}else if(e.indexOf(Do(a),l)!=l){var h=c.lastIndexOf(a);h>-1&&(c=c.slice(0,h))}return c+r}function yf(e){return e=Qu(e),e&&Me.test(e)?e.replace(Se,yr):e}var Of=pi((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),wf=hi("toUpperCase");function _f(e,t,n){return e=Qu(e),t=n?o:t,t===o?sr(e)?_r(e):Nn(e):e.match(t)||[]}var jf=wo((function(e,t){try{return On(e,o,t)}catch(n){return yu(n)?n:new a(n)}})),kf=Bi((function(e,t){return _n(t,(function(t){t=Es(t),pa(e,t,Lc(e[t],e))})),e}));function xf(e){var t=null==e?0:e.length,n=Ui();return e=t?Mn(e,(function(e){if("function"!=typeof e[1])throw new ot(c);return[n(e[0]),e[1]]})):[],wo((function(n){var r=-1;while(++r<t){var a=e[r];if(On(a[0],this,n))return On(a[1],this,n)}}))}function Sf(e){return ga(ba(e,p))}function Cf(e){return function(){return e}}function Mf(e,t){return null==e||e!==e?t:e}var Af=gi(),Tf=gi(!0);function Ef(e){return e}function Lf(e){return to("function"==typeof e?e:ba(e,p))}function Pf(e){return io(ba(e,p))}function Df(e,t){return so(e,ba(t,p))}var Nf=wo((function(e,t){return function(n){return Ya(n,e,t)}})),Rf=wo((function(e,t){return function(n){return Ya(e,n,t)}}));function If(e,t,n){var r=_d(t),a=Pa(t,r);null!=n||ku(t)&&(a.length||!r.length)||(n=t,t=e,e=this,a=Pa(t,_d(t)));var o=!(ku(n)&&"chain"in n)||!!n.chain,i=wu(e);return _n(a,(function(n){var r=t[n];e[n]=r,i&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),a=n.__actions__=ai(this.__actions__);return a.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,An([this.value()],arguments))})})),e}function Bf(){return ln._===this&&(ln._=vt),this}function Ff(){}function Vf(e){return e=Gu(e),wo((function(t){return uo(t,e)}))}var zf=_i(Mn),Hf=_i(kn),Yf=_i(Ln);function Uf(e){return ls(e)?Hn(Es(e)):mo(e)}function Wf(e){return function(t){return null==e?o:Da(e,t)}}var $f=xi(),qf=xi(!0);function Gf(){return[]}function Xf(){return!1}function Kf(){return{}}function Jf(){return""}function Zf(){return!0}function Qf(e,t){if(e=Gu(e),e<1||e>I)return[];var n=V,r=zt(e,V);t=Ui(t),e-=V;var a=qn(r,t);while(++n<e)t(n);return a}function eh(e){return lu(e)?Mn(e,Es):Fu(e)?[e]:ai(Ts(Qu(e)))}function th(e){var t=++ft;return Qu(e)+t}var nh=wi((function(e,t){return e+t}),0),rh=Mi("ceil"),ah=wi((function(e,t){return e/t}),1),oh=Mi("floor");function ih(e){return e&&e.length?xa(e,Ef,Ia):o}function sh(e,t){return e&&e.length?xa(e,Ui(t,2),Ia):o}function lh(e){return zn(e,Ef)}function ch(e,t){return zn(e,Ui(t,2))}function uh(e){return e&&e.length?xa(e,Ef,ao):o}function dh(e,t){return e&&e.length?xa(e,Ui(t,2),ao):o}var fh=wi((function(e,t){return e*t}),1),hh=Mi("round"),ph=wi((function(e,t){return e-t}),0);function mh(e){return e&&e.length?$n(e,Ef):0}function vh(e,t){return e&&e.length?$n(e,Ui(t,2)):0}return wr.after=Ac,wr.ary=Tc,wr.assign=ed,wr.assignIn=td,wr.assignInWith=nd,wr.assignWith=rd,wr.at=ad,wr.before=Ec,wr.bind=Lc,wr.bindAll=kf,wr.bindKey=Pc,wr.castArray=Zc,wr.chain=Wl,wr.chunk=Ns,wr.compact=Rs,wr.concat=Is,wr.cond=xf,wr.conforms=Sf,wr.constant=Cf,wr.countBy=nc,wr.create=od,wr.curry=Dc,wr.curryRight=Nc,wr.debounce=Rc,wr.defaults=id,wr.defaultsDeep=sd,wr.defer=Ic,wr.delay=Bc,wr.difference=Bs,wr.differenceBy=Fs,wr.differenceWith=Vs,wr.drop=zs,wr.dropRight=Hs,wr.dropRightWhile=Ys,wr.dropWhile=Us,wr.fill=Ws,wr.filter=ac,wr.flatMap=sc,wr.flatMapDeep=lc,wr.flatMapDepth=cc,wr.flatten=Gs,wr.flattenDeep=Xs,wr.flattenDepth=Ks,wr.flip=Fc,wr.flow=Af,wr.flowRight=Tf,wr.fromPairs=Js,wr.functions=pd,wr.functionsIn=md,wr.groupBy=fc,wr.initial=el,wr.intersection=tl,wr.intersectionBy=nl,wr.intersectionWith=rl,wr.invert=yd,wr.invertBy=Od,wr.invokeMap=pc,wr.iteratee=Lf,wr.keyBy=mc,wr.keys=_d,wr.keysIn=jd,wr.map=vc,wr.mapKeys=kd,wr.mapValues=xd,wr.matches=Pf,wr.matchesProperty=Df,wr.memoize=Vc,wr.merge=Sd,wr.mergeWith=Cd,wr.method=Nf,wr.methodOf=Rf,wr.mixin=If,wr.negate=zc,wr.nthArg=Vf,wr.omit=Md,wr.omitBy=Ad,wr.once=Hc,wr.orderBy=bc,wr.over=zf,wr.overArgs=Yc,wr.overEvery=Hf,wr.overSome=Yf,wr.partial=Uc,wr.partialRight=Wc,wr.partition=gc,wr.pick=Td,wr.pickBy=Ed,wr.property=Uf,wr.propertyOf=Wf,wr.pull=ll,wr.pullAll=cl,wr.pullAllBy=ul,wr.pullAllWith=dl,wr.pullAt=fl,wr.range=$f,wr.rangeRight=qf,wr.rearg=$c,wr.reject=wc,wr.remove=hl,wr.rest=qc,wr.reverse=pl,wr.sampleSize=jc,wr.set=Pd,wr.setWith=Dd,wr.shuffle=kc,wr.slice=ml,wr.sortBy=Cc,wr.sortedUniq=_l,wr.sortedUniqBy=jl,wr.split=cf,wr.spread=Gc,wr.tail=kl,wr.take=xl,wr.takeRight=Sl,wr.takeRightWhile=Cl,wr.takeWhile=Ml,wr.tap=$l,wr.throttle=Xc,wr.thru=ql,wr.toArray=$u,wr.toPairs=Nd,wr.toPairsIn=Rd,wr.toPath=eh,wr.toPlainObject=Ju,wr.transform=Id,wr.unary=Kc,wr.union=Al,wr.unionBy=Tl,wr.unionWith=El,wr.uniq=Ll,wr.uniqBy=Pl,wr.uniqWith=Dl,wr.unset=Bd,wr.unzip=Nl,wr.unzipWith=Rl,wr.update=Fd,wr.updateWith=Vd,wr.values=zd,wr.valuesIn=Hd,wr.without=Il,wr.words=_f,wr.wrap=Jc,wr.xor=Bl,wr.xorBy=Fl,wr.xorWith=Vl,wr.zip=zl,wr.zipObject=Hl,wr.zipObjectDeep=Yl,wr.zipWith=Ul,wr.entries=Nd,wr.entriesIn=Rd,wr.extend=td,wr.extendWith=nd,If(wr,wr),wr.add=nh,wr.attempt=jf,wr.camelCase=$d,wr.capitalize=qd,wr.ceil=rh,wr.clamp=Yd,wr.clone=Qc,wr.cloneDeep=tu,wr.cloneDeepWith=nu,wr.cloneWith=eu,wr.conformsTo=ru,wr.deburr=Gd,wr.defaultTo=Mf,wr.divide=ah,wr.endsWith=Xd,wr.eq=au,wr.escape=Kd,wr.escapeRegExp=Jd,wr.every=rc,wr.find=oc,wr.findIndex=$s,wr.findKey=ld,wr.findLast=ic,wr.findLastIndex=qs,wr.findLastKey=cd,wr.floor=oh,wr.forEach=uc,wr.forEachRight=dc,wr.forIn=ud,wr.forInRight=dd,wr.forOwn=fd,wr.forOwnRight=hd,wr.get=vd,wr.gt=ou,wr.gte=iu,wr.has=bd,wr.hasIn=gd,wr.head=Zs,wr.identity=Ef,wr.includes=hc,wr.indexOf=Qs,wr.inRange=Ud,wr.invoke=wd,wr.isArguments=su,wr.isArray=lu,wr.isArrayBuffer=cu,wr.isArrayLike=uu,wr.isArrayLikeObject=du,wr.isBoolean=fu,wr.isBuffer=hu,wr.isDate=pu,wr.isElement=mu,wr.isEmpty=vu,wr.isEqual=bu,wr.isEqualWith=gu,wr.isError=yu,wr.isFinite=Ou,wr.isFunction=wu,wr.isInteger=_u,wr.isLength=ju,wr.isMap=Su,wr.isMatch=Cu,wr.isMatchWith=Mu,wr.isNaN=Au,wr.isNative=Tu,wr.isNil=Lu,wr.isNull=Eu,wr.isNumber=Pu,wr.isObject=ku,wr.isObjectLike=xu,wr.isPlainObject=Du,wr.isRegExp=Nu,wr.isSafeInteger=Ru,wr.isSet=Iu,wr.isString=Bu,wr.isSymbol=Fu,wr.isTypedArray=Vu,wr.isUndefined=zu,wr.isWeakMap=Hu,wr.isWeakSet=Yu,wr.join=al,wr.kebabCase=Zd,wr.last=ol,wr.lastIndexOf=il,wr.lowerCase=Qd,wr.lowerFirst=ef,wr.lt=Uu,wr.lte=Wu,wr.max=ih,wr.maxBy=sh,wr.mean=lh,wr.meanBy=ch,wr.min=uh,wr.minBy=dh,wr.stubArray=Gf,wr.stubFalse=Xf,wr.stubObject=Kf,wr.stubString=Jf,wr.stubTrue=Zf,wr.multiply=fh,wr.nth=sl,wr.noConflict=Bf,wr.noop=Ff,wr.now=Mc,wr.pad=tf,wr.padEnd=nf,wr.padStart=rf,wr.parseInt=af,wr.random=Wd,wr.reduce=yc,wr.reduceRight=Oc,wr.repeat=of,wr.replace=sf,wr.result=Ld,wr.round=hh,wr.runInContext=e,wr.sample=_c,wr.size=xc,wr.snakeCase=lf,wr.some=Sc,wr.sortedIndex=vl,wr.sortedIndexBy=bl,wr.sortedIndexOf=gl,wr.sortedLastIndex=yl,wr.sortedLastIndexBy=Ol,wr.sortedLastIndexOf=wl,wr.startCase=uf,wr.startsWith=df,wr.subtract=ph,wr.sum=mh,wr.sumBy=vh,wr.template=ff,wr.times=Qf,wr.toFinite=qu,wr.toInteger=Gu,wr.toLength=Xu,wr.toLower=hf,wr.toNumber=Ku,wr.toSafeInteger=Zu,wr.toString=Qu,wr.toUpper=pf,wr.trim=mf,wr.trimEnd=vf,wr.trimStart=bf,wr.truncate=gf,wr.unescape=yf,wr.uniqueId=th,wr.upperCase=Of,wr.upperFirst=wf,wr.each=uc,wr.eachRight=dc,wr.first=Zs,If(wr,function(){var e={};return Ea(wr,(function(t,n){dt.call(wr.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),wr.VERSION=i,_n(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){wr[e].placeholder=wr})),_n(["drop","take"],(function(e,t){Cr.prototype[e]=function(n){n=n===o?1:Vt(Gu(n),0);var r=this.__filtered__&&!t?new Cr(this):this.clone();return r.__filtered__?r.__takeCount__=zt(n,r.__takeCount__):r.__views__.push({size:zt(n,V),type:e+(r.__dir__<0?"Right":"")}),r},Cr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),_n(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=n==P||n==N;Cr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ui(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),_n(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Cr.prototype[e]=function(){return this[n](1).value()[0]}})),_n(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Cr.prototype[e]=function(){return this.__filtered__?new Cr(this):this[n](1)}})),Cr.prototype.compact=function(){return this.filter(Ef)},Cr.prototype.find=function(e){return this.filter(e).head()},Cr.prototype.findLast=function(e){return this.reverse().find(e)},Cr.prototype.invokeMap=wo((function(e,t){return"function"==typeof e?new Cr(this):this.map((function(n){return Ya(n,e,t)}))})),Cr.prototype.reject=function(e){return this.filter(zc(Ui(e)))},Cr.prototype.slice=function(e,t){e=Gu(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Cr(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(t=Gu(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},Cr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Cr.prototype.toArray=function(){return this.take(V)},Ea(Cr.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),a=wr[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);a&&(wr.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof Cr,c=s[0],u=l||lu(t),d=function(e){var t=a.apply(wr,An([e],s));return r&&f?t[0]:t};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var f=this.__chain__,h=!!this.__actions__.length,p=i&&!f,m=l&&!h;if(!i&&u){t=m?t:new Cr(this);var v=e.apply(t,s);return v.__actions__.push({func:ql,args:[d],thisArg:o}),new Sr(v,f)}return p&&m?e.apply(this,s):(v=this.thru(d),p?r?v.value()[0]:v.value():v)})})),_n(["pop","push","shift","sort","splice","unshift"],(function(e){var t=it[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);wr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var a=this.value();return t.apply(lu(a)?a:[],e)}return this[n]((function(n){return t.apply(lu(n)?n:[],e)}))}})),Ea(Cr.prototype,(function(e,t){var n=wr[t];if(n){var r=n.name+"";dt.call(cn,r)||(cn[r]=[]),cn[r].push({name:t,func:n})}})),cn[yi(o,O).name]=[{name:"wrapper",func:o}],Cr.prototype.clone=Mr,Cr.prototype.reverse=Ar,Cr.prototype.value=Tr,wr.prototype.at=Gl,wr.prototype.chain=Xl,wr.prototype.commit=Kl,wr.prototype.next=Jl,wr.prototype.plant=Ql,wr.prototype.reverse=ec,wr.prototype.toJSON=wr.prototype.valueOf=wr.prototype.value=tc,wr.prototype.first=wr.prototype.head,Ct&&(wr.prototype[Ct]=Zl),wr},kr=jr();ln._=kr,a=function(){return kr}.call(t,n,t,r),a===o||(r.exports=a)}).call(this)}).call(this,n("c8ba"),n("62e4")(e))},"304f":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return c}));var r=n("7a23");const a="el",o="is-",i=(e,t,n,r,a)=>{let o=`${e}-${t}`;return n&&(o+="-"+n),r&&(o+="__"+r),a&&(o+="--"+a),o},s=Symbol("namespaceContextKey"),l=e=>{const t=e||(Object(r["getCurrentInstance"])()?Object(r["inject"])(s,Object(r["ref"])(a)):Object(r["ref"])(a)),n=Object(r["computed"])(()=>Object(r["unref"])(t)||a);return n},c=(e,t)=>{const n=l(t),r=(t="")=>i(n.value,e,t,"",""),a=t=>t?i(n.value,e,"",t,""):"",s=t=>t?i(n.value,e,"","",t):"",c=(t,r)=>t&&r?i(n.value,e,t,r,""):"",u=(t,r)=>t&&r?i(n.value,e,"",t,r):"",d=(t,r)=>t&&r?i(n.value,e,t,"",r):"",f=(t,r,a)=>t&&r&&a?i(n.value,e,t,r,a):"",h=(e,...t)=>{const n=!(t.length>=1)||t[0];return e&&n?`${o}${e}`:""},p=e=>{const t={};for(const r in e)e[r]&&(t[`--${n.value}-${r}`]=e[r]);return t},m=t=>{const r={};for(const a in t)t[a]&&(r[`--${n.value}-${e}-${a}`]=t[a]);return r},v=e=>`--${n.value}-${e}`,b=t=>`--${n.value}-${e}-${t}`;return{namespace:n,b:r,e:a,m:s,be:c,em:u,bm:d,bem:f,is:h,cssVar:p,cssVarName:v,cssVarBlock:m,cssVarBlockName:b}}},"30b5":function(e,t,n){"use strict";var r=n("c532");function a(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var i=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),i.push(a(t)+"="+a(e))})))})),o=i.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},"31e7":function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return o}));var r=n("9ad7"),a=n("0898");const o=Object(a["c"])([String,Object,Function]),i={Close:r["Close"]},s={Close:r["Close"],SuccessFilled:r["SuccessFilled"],InfoFilled:r["InfoFilled"],WarningFilled:r["WarningFilled"],CircleCloseFilled:r["CircleCloseFilled"]},l={success:r["SuccessFilled"],warning:r["WarningFilled"],error:r["CircleCloseFilled"],info:r["InfoFilled"]},c={validating:r["Loading"],success:r["CircleCheck"],error:r["CircleClose"]}},"342f":function(e,t,n){"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},"344d":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("7a23"),a=n("8afb");const o=({from:e,replacement:t,scope:n,version:o,ref:i,type:s="API"},l)=>{Object(r["watch"])(()=>Object(r["unref"])(l),r=>{r&&Object(a["a"])(n,`[${s}] ${e} is about to be deprecated in version ${o}, please use ${t} instead.\nFor more detail, please visit: ${i}\n`)},{immediate:!0})}},3511:function(e,t,n){"use strict";var r=TypeError,a=9007199254740991;e.exports=function(e){if(e>a)throw r("Maximum allowed index exceeded");return e}},"37d8":function(e,t,n){var r,a;(function(o){e.exports?(o["default"]=o,e.exports=o):(r=[n("ea7f")],a=function(e){return o(e),o.Highcharts=e,o}.apply(t,r),void 0===a||(e.exports=a))})((function(e){function t(e,t,n,r){e.hasOwnProperty(t)||(e[t]=r.apply(null,n),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:t,module:e[t]}})))}e=e?e._modules:{},t(e,"Core/Axis/BrokenAxis.js",[e["Core/Axis/Stacking/StackItem.js"],e["Core/Utilities.js"]],(function(e,t){var n,r=t.addEvent,a=t.find,o=t.fireEvent,i=t.isArray,s=t.isNumber,l=t.pick;return function(t){function n(){"undefined"!==typeof this.brokenAxis&&this.brokenAxis.setBreaks(this.options.breaks,!1)}function c(){this.brokenAxis&&this.brokenAxis.hasBreaks&&(this.options.ordinal=!1)}function u(){var e=this.brokenAxis;if(e&&e.hasBreaks){for(var t=this.tickPositions,n=this.tickPositions.info,r=[],a=0;a<t.length;a++)e.isInAnyBreak(t[a])||r.push(t[a]);this.tickPositions=r,this.tickPositions.info=n}}function d(){this.brokenAxis||(this.brokenAxis=new b(this))}function f(){var e=this.options.connectNulls,t=this.points,n=this.xAxis,r=this.yAxis;if(this.isDirty)for(var a=t.length;a--;){var o=t[a],i=!(null===o.y&&!1===e)&&(n&&n.brokenAxis&&n.brokenAxis.isInAnyBreak(o.x,!0)||r&&r.brokenAxis&&r.brokenAxis.isInAnyBreak(o.y,!0));o.visible=!i&&!1!==o.options.visible}}function h(){this.drawBreaks(this.xAxis,["x"]),this.drawBreaks(this.yAxis,l(this.pointArrayMap,["y"]))}function p(e,t){var n,r,a,i,c=this,u=c.points;if(e&&e.brokenAxis&&e.brokenAxis.hasBreaks){var d=e.brokenAxis;t.forEach((function(t){n=d&&d.breakArray||[],r=e.isXAxis?e.min:l(c.options.threshold,e.min),u.forEach((function(c){i=l(c["stack"+t.toUpperCase()],c[t]),n.forEach((function(t){s(r)&&s(i)&&(a=!1,r<t.from&&i>t.to||r>t.from&&i<t.from?a="pointBreak":(r<t.from&&i>t.from&&i<t.to||r>t.from&&i>t.to&&i<t.from)&&(a="pointInBreak"),a&&o(e,a,{point:c,brk:t}))}))}))}))}}function m(){var t=this.currentDataGrouping,n=t&&t.gapSize;t=this.points.slice();var r,a=this.yAxis,o=this.options.gapSize,i=t.length-1;if(o&&0<i)for("value"!==this.options.gapUnit&&(o*=this.basePointRange),n&&n>o&&n>=this.basePointRange&&(o=n),r=void 0;i--;)r&&!1!==r.visible||(r=t[i+1]),n=t[i],!1!==r.visible&&!1!==n.visible&&(r.x-n.x>o&&(r=(n.x+r.x)/2,t.splice(i+1,0,{isNull:!0,x:r}),a.stacking&&this.options.stacking&&(r=a.stacking.stacks[this.stackKey][r]=new e(a,a.options.stackLabels,!1,r,this.stack),r.total=0)),r=n);return this.getGraphPath(t)}var v=[];t.compose=function(e,t){if(-1===v.indexOf(e)&&(v.push(e),e.keepProps.push("brokenAxis"),r(e,"init",d),r(e,"afterInit",n),r(e,"afterSetTickPositions",u),r(e,"afterSetOptions",c)),-1===v.indexOf(t)){v.push(t);var a=t.prototype;a.drawBreaks=p,a.gappedPath=m,r(t,"afterGeneratePoints",f),r(t,"afterRender",h)}return e};var b=function(){function e(e){this.hasBreaks=!1,this.axis=e}return e.isInBreak=function(e,t){var n=e.repeat||1/0,r=e.from,a=e.to-e.from;return t=t>=r?(t-r)%n:n-(r-t)%n,e.inclusive?t<=a:t<a&&0!==t},e.lin2Val=function(t){var n,r=this.brokenAxis;if(r=r&&r.breakArray,!r||!s(t))return t;for(n=0;n<r.length;n++){var a=r[n];if(a.from>=t)break;(a.to<t||e.isInBreak(a,t))&&(t+=a.len)}return t},e.val2Lin=function(t){var n=this.brokenAxis;if(n=n&&n.breakArray,!n||!s(t))return t;var r,a=t;for(r=0;r<n.length;r++){var o=n[r];if(o.to<=t)a-=o.len;else{if(o.from>=t)break;if(e.isInBreak(o,t)){a-=t-o.from;break}}}return a},e.prototype.findBreakAt=function(e,t){return a(t,(function(t){return t.from<e&&e<t.to}))},e.prototype.isInAnyBreak=function(t,n){var r,a=this.axis,o=a.options.breaks||[],i=o.length;if(i&&s(t)){for(;i--;)if(e.isInBreak(o[i],t)){var c=!0;r||(r=l(o[i].showPoints,!a.isXAxis))}var u=c&&n?c&&!r:c}return u},e.prototype.setBreaks=function(t,n){var r=this,a=r.axis,c=i(t)&&!!t.length;a.isDirty=r.hasBreaks!==c,r.hasBreaks=c,a.options.breaks=a.userOptions.breaks=t,a.forceRedraw=!0,a.series.forEach((function(e){e.isDirty=!0})),c||a.val2lin!==e.val2Lin||(delete a.val2lin,delete a.lin2val),c&&(a.userOptions.ordinal=!1,a.lin2val=e.lin2Val,a.val2lin=e.val2Lin,a.setExtremes=function(e,t,n,o,i){if(r.hasBreaks){for(var s,l=this.options.breaks||[];s=r.findBreakAt(e,l);)e=s.to;for(;s=r.findBreakAt(t,l);)t=s.from;t<e&&(t=e)}a.constructor.prototype.setExtremes.call(this,e,t,n,o,i)},a.setAxisTranslation=function(){if(a.constructor.prototype.setAxisTranslation.call(this),r.unitLength=void 0,r.hasBreaks){var t,n,i=a.options.breaks||[],c=[],u=[],d=l(a.pointRangePadding,0),f=0,h=a.userMin||a.min,p=a.userMax||a.max;i.forEach((function(n){t=n.repeat||1/0,s(h)&&s(p)&&(e.isInBreak(n,h)&&(h+=n.to%t-h%t),e.isInBreak(n,p)&&(p-=p%t-n.from%t))})),i.forEach((function(e){if(v=e.from,t=e.repeat||1/0,s(h)&&s(p)){for(;v-t>h;)v-=t;for(;v<h;)v+=t;for(n=v;n<p;n+=t)c.push({value:n,move:"in"}),c.push({value:n+e.to-e.from,move:"out",size:e.breakSize})}})),c.sort((function(e,t){return e.value===t.value?("in"===e.move?0:1)-("in"===t.move?0:1):e.value-t.value}));var m=0,v=h;c.forEach((function(e){m+="in"===e.move?1:-1,1===m&&"in"===e.move&&(v=e.value),0===m&&s(v)&&(u.push({from:v,to:e.value,len:e.value-v-(e.size||0)}),f+=e.value-v-(e.size||0))})),r.breakArray=u,s(h)&&s(p)&&s(a.min)&&(r.unitLength=p-h-f+d,o(a,"afterBreaks"),a.staticScale?a.transA=a.staticScale:r.unitLength&&(a.transA*=(p-a.min+d)/r.unitLength),d&&(a.minPixelPadding=a.transA*(a.minPointOffset||0)),a.min=h,a.max=p)}}),l(n,!0)&&a.chart.redraw()},e}();t.Additions=b}(n||(n={})),n})),t(e,"masters/modules/broken-axis.src.js",[e["Core/Globals.js"],e["Core/Axis/BrokenAxis.js"]],(function(e,t){t.compose(e.Axis,e.Series)})),t(e,"Extensions/DataGrouping/ApproximationRegistry.js",[],(function(){return{}})),t(e,"Extensions/DataGrouping/ApproximationDefaults.js",[e["Extensions/DataGrouping/ApproximationRegistry.js"],e["Core/Utilities.js"]],(function(e,t){function n(e){var t=e.length;return e=r(e),l(e)&&t&&(e=i(e/t)),e}function r(e){var t=e.length;if(!t&&e.hasNulls)var n=null;else if(t)for(n=0;t--;)n+=e[t];return n}var a=t.arrayMax,o=t.arrayMin,i=t.correctFloat,s=t.extend,l=t.isNumber;return t={average:n,averages:function(){var e=[];return[].forEach.call(arguments,(function(t){e.push(n(t))})),"undefined"===typeof e[0]?void 0:e},close:function(e){return e.length?e[e.length-1]:e.hasNulls?null:void 0},high:function(e){return e.length?a(e):e.hasNulls?null:void 0},hlc:function(t,n,r){if(t=e.high(t),n=e.low(n),r=e.close(r),l(t)||l(n)||l(r))return[t,n,r]},low:function(e){return e.length?o(e):e.hasNulls?null:void 0},ohlc:function(t,n,r,a){if(t=e.open(t),n=e.high(n),r=e.low(r),a=e.close(a),l(t)||l(n)||l(r)||l(a))return[t,n,r,a]},open:function(e){return e.length?e[0]:e.hasNulls?null:void 0},range:function(t,n){return t=e.low(t),n=e.high(n),l(t)||l(n)?[t,n]:null===t&&null===n?null:void 0},sum:r},s(e,t),t})),t(e,"Extensions/DataGrouping/DataGroupingDefaults.js",[],(function(){return{common:{groupPixelWidth:2,dateTimeLabelFormats:{millisecond:["%A, %b %e, %H:%M:%S.%L","%A, %b %e, %H:%M:%S.%L","-%H:%M:%S.%L"],second:["%A, %b %e, %H:%M:%S","%A, %b %e, %H:%M:%S","-%H:%M:%S"],minute:["%A, %b %e, %H:%M","%A, %b %e, %H:%M","-%H:%M"],hour:["%A, %b %e, %H:%M","%A, %b %e, %H:%M","-%H:%M"],day:["%A, %b %e, %Y","%A, %b %e","-%A, %b %e, %Y"],week:["Week from %A, %b %e, %Y","%A, %b %e","-%A, %b %e, %Y"],month:["%B %Y","%B","-%B %Y"],year:["%Y","%Y","-%Y"]}},seriesSpecific:{line:{},spline:{},area:{},areaspline:{},arearange:{},column:{groupPixelWidth:10},columnrange:{groupPixelWidth:10},candlestick:{groupPixelWidth:10},ohlc:{groupPixelWidth:5},hlc:{groupPixelWidth:5},heikinashi:{groupPixelWidth:10}},units:[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1]],["week",[1]],["month",[1,3,6]],["year",null]]}})),t(e,"Extensions/DataGrouping/DataGroupingAxisComposition.js",[e["Extensions/DataGrouping/DataGroupingDefaults.js"],e["Core/Utilities.js"]],(function(e,t){function n(e){var t=this,n=t.series;n.forEach((function(e){e.groupPixelWidth=void 0})),n.forEach((function(n){n.groupPixelWidth=t.getGroupPixelWidth&&t.getGroupPixelWidth(),n.groupPixelWidth&&(n.hasProcessed=!0),n.applyGrouping(!!e.hasExtremesChanged)}))}function r(){for(var t,n,r=this.series,a=r.length,o=0,i=!1;a--;)(n=r[a].options.dataGrouping)&&(o=Math.max(o,u(n.groupPixelWidth,e.common.groupPixelWidth)),t=(r[a].processedXData||r[a].data).length,(r[a].groupPixelWidth||t>this.chart.plotSizeX/o||t&&n.forced)&&(i=!0));return i?o:0}function a(){this.series.forEach((function(e){e.hasProcessed=!1}))}function o(e,t){var n;if(t=u(t,!0),e||(e={forced:!1,units:null}),this instanceof i)for(n=this.series.length;n--;)this.series[n].update({dataGrouping:e},!1);else this.chart.options.series.forEach((function(t){t.dataGrouping="boolean"===typeof e?e:c(e,t.dataGrouping)}));this.ordinal&&(this.ordinal.slope=void 0),t&&this.chart.redraw()}var i,s=t.addEvent,l=t.extend,c=t.merge,u=t.pick,d=[];return{compose:function(e){i=e,-1===d.indexOf(e)&&(d.push(e),s(e,"afterSetScale",a),s(e,"postProcessData",n),l(e.prototype,{applyGrouping:n,getGroupPixelWidth:r,setDataGrouping:o}))}}})),t(e,"Extensions/DataGrouping/DataGroupingSeriesComposition.js",[e["Extensions/DataGrouping/ApproximationRegistry.js"],e["Extensions/DataGrouping/DataGroupingDefaults.js"],e["Core/Axis/DateTimeAxis.js"],e["Core/Defaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n,r,a,o){function i(e){var r=this.chart,a=this.options.dataGrouping,o=!1!==this.allowDG&&a&&y(a.enabled,r.options.isStock),i=this.visible||!r.options.chart.ignoreHiddenSeries,s=this.currentDataGrouping,l=!1;if(o&&!this.requireSorting&&(this.requireSorting=l=!0),e=!1===!(this.isCartesian&&!this.isDirty&&!this.xAxis.isDirty&&!this.yAxis.isDirty&&!e)||!o,l&&(this.requireSorting=!1),!e){this.destroyGroupedData();var c=a.groupAll?this.xData:this.processedXData,u=a.groupAll?this.yData:this.processedYData;o=r.plotSizeX,e=this.xAxis;var d=e.options.ordinal,h=this.groupPixelWidth;if(l=void 0,h&&c&&c.length&&o){this.isDirty=l=!0,this.points=null;var v=e.getExtremes(),g=v.min;v=v.max,d=d&&e.ordinal&&e.ordinal.getGroupIntervalFactor(g,v,this)||1,o=e.getTimeTicks(n.Additions.prototype.normalizeTimeTickInterval(h*(v-g)/o*d,a.units||t.units),Math.min(g,c[0]),Math.max(v,c[c.length-1]),e.options.startOfWeek,c,this.closestPointRange),h=f.groupData.apply(this,[c,u,o,a.approximation]),c=h.groupedXData,u=h.groupedYData,d=0,a&&a.smoothed&&c.length&&(a.firstAnchor="firstPoint",a.anchor="middle",a.lastAnchor="lastPoint",m(32,!1,r,{"dataGrouping.smoothed":"use dataGrouping.anchor"})),r=c;var O=this.options.dataGrouping;if(g=this.currentDataGrouping&&this.currentDataGrouping.gapSize,O&&this.xData&&g&&this.groupMap){var w=r.length-1,_=O.anchor,j=y(O.firstAnchor,_);if(O=y(O.lastAnchor,_),_&&"start"!==_){var k=g*{middle:.5,end:1}[_];for(_=r.length-1;_--&&0<_;)r[_]+=k}if(j&&"start"!==j&&this.xData[0]>=r[0]){_=this.groupMap[0].start,k=this.groupMap[0].length;var x=void 0;b(_)&&b(k)&&(x=_+(k-1)),r[0]={middle:r[0]+.5*g,end:r[0]+g,firstPoint:this.xData[0],lastPoint:x&&this.xData[x]}[j]}O&&"start"!==O&&g&&r[w]>=v-g&&(v=this.groupMap[this.groupMap.length-1].start,r[w]={middle:r[w]+.5*g,end:r[w]+g,firstPoint:v&&this.xData[v],lastPoint:this.xData[this.xData.length-1]}[O])}for(v=1;v<o.length;v++)o.info.segmentStarts&&-1!==o.info.segmentStarts.indexOf(v)||(d=Math.max(o[v]-o[v-1],d));v=o.info,v.gapSize=d,this.closestPointRange=o.info.totalRange,this.groupMap=h.groupMap,i&&(i=c,p(i[0])&&b(e.min)&&b(e.dataMin)&&i[0]<e.min&&((!p(e.options.min)&&e.min<=e.dataMin||e.min===e.dataMin)&&(e.min=Math.min(i[0],e.min)),e.dataMin=Math.min(i[0],e.dataMin)),p(i[i.length-1])&&b(e.max)&&b(e.dataMax)&&i[i.length-1]>e.max&&((!p(e.options.max)&&b(e.dataMax)&&e.max>=e.dataMax||e.max===e.dataMax)&&(e.max=Math.max(i[i.length-1],e.max)),e.dataMax=Math.max(i[i.length-1],e.dataMax))),a.groupAll&&(this.allGroupedData=u,a=this.cropData(c,u,e.min,e.max,1),c=a.xData,u=a.yData,this.cropStart=a.start),this.processedXData=c,this.processedYData=u}else this.groupMap=null;this.hasGroupedData=l,this.currentDataGrouping=v,this.preventGraphAnimation=(s&&s.totalRange)!==(v&&v.totalRange)}}function s(){this.groupedData&&(this.groupedData.forEach((function(e,t){e&&(this.groupedData[t]=e.destroy?e.destroy():null)}),this),this.groupedData.length=0)}function l(){O.apply(this),this.destroyGroupedData(),this.groupedData=this.hasGroupedData?this.points:null}function c(){return this.is("arearange")?"range":this.is("ohlc")?"ohlc":this.is("hlc")?"hlc":this.is("column")?"sum":"average"}function u(t,n,r,a){var o=this,i=o.data,s=o.options&&o.options.data,l=[],c=[],u=[],d=t.length,f=!!n,h=[],m=o.pointArrayMap,v=m&&m.length,y=["x"].concat(m||["y"]),O=this.options.dataGrouping&&this.options.dataGrouping.groupAll,w=0,_=0;if(a="function"===typeof a?a:a&&e[a]?e[a]:e[o.getDGApproximation&&o.getDGApproximation()||"average"],v)for(var j=m.length;j--;)h.push([]);else h.push([]);j=v||1;for(var k=0;k<=d;k++)if(!(t[k]<r[0])){for(;"undefined"!==typeof r[w+1]&&t[k]>=r[w+1]||k===d;){var x=r[w];o.dataGroupInfo={start:O?_:o.cropStart+_,length:h[0].length};var S=a.apply(o,h);for(o.pointClass&&!p(o.dataGroupInfo.options)&&(o.dataGroupInfo.options=g(o.pointClass.prototype.optionsToObject.call({series:o},o.options.data[o.cropStart+_])),y.forEach((function(e){delete o.dataGroupInfo.options[e]}))),"undefined"!==typeof S&&(l.push(x),c.push(S),u.push(o.dataGroupInfo)),_=k,x=0;x<j;x++)h[x].length=0,h[x].hasNulls=!1;if(w+=1,k===d)break}if(k===d)break;if(m){x=o.options.dataGrouping&&o.options.dataGrouping.groupAll?k:o.cropStart+k,S=i&&i[x]||o.pointClass.prototype.applyOptions.apply({series:o},[s[x]]);var C=void 0;for(x=0;x<v;x++)C=S[m[x]],b(C)?h[x].push(C):null===C&&(h[x].hasNulls=!0)}else x=f?n[k]:null,b(x)?h[0].push(x):null===x&&(h[0].hasNulls=!0)}return{groupedXData:l,groupedYData:c,groupMap:u}}function d(e){e=e.options;var n=this.type,a=this.chart.options.plotOptions,o=this.useCommonDataGrouping&&t.common,i=t.seriesSpecific,s=r.defaultOptions.plotOptions[n].dataGrouping;if(a&&(i[n]||o)){var l=this.chart.rangeSelector;s||(s=g(t.common,i[n])),e.dataGrouping=g(o,s,a.series&&a.series.dataGrouping,a[n].dataGrouping,this.userOptions.dataGrouping,!e.isInternal&&l&&b(l.selected)&&l.buttonOptions[l.selected].dataGrouping)}}var f=a.series.prototype,h=o.addEvent,p=o.defined,m=o.error,v=o.extend,b=o.isNumber,g=o.merge,y=o.pick,O=f.generatePoints,w=[];return{compose:function(e){var t=e.prototype.pointClass;-1===w.indexOf(t)&&(w.push(t),h(t,"update",(function(){if(this.dataGroup)return m(24,!1,this.series.chart),!1}))),-1===w.indexOf(e)&&(w.push(e),h(e,"afterSetOptions",d),h(e,"destroy",s),v(e.prototype,{applyGrouping:i,destroyGroupedData:s,generatePoints:l,getDGApproximation:c,groupData:u}))},groupData:u}})),t(e,"Extensions/DataGrouping/DataGrouping.js",[e["Extensions/DataGrouping/DataGroupingAxisComposition.js"],e["Extensions/DataGrouping/DataGroupingDefaults.js"],e["Extensions/DataGrouping/DataGroupingSeriesComposition.js"],e["Core/FormatUtilities.js"],e["Core/Utilities.js"]],(function(e,t,n,r,a){function o(e){var n=this.chart,r=n.time,a=e.labelConfig,o=a.series,s=o.tooltipOptions,u=o.options.dataGrouping,d=o.xAxis,f=s.xDateFormat,h=s[e.isFooter?"footerFormat":"headerFormat"];if(d&&"datetime"===d.options.type&&u&&c(a.key)){var p=o.currentDataGrouping;if(u=u.dateTimeLabelFormats||t.common.dateTimeLabelFormats,p)if(s=u[p.unitName],1===p.count)f=s[0];else{f=s[1];var m=s[2]}else!f&&u&&d.dateTime&&(f=d.dateTime.getXDateFormat(a.x,s.dateTimeLabelFormats));f=r.dateFormat(f,a.key),m&&(f+=r.dateFormat(m,a.key+p.totalRange-1)),o.chart.styledMode&&(h=this.styledModeFormat(h)),e.text=i(h,{point:l(a.point,{key:f}),series:o},n),e.preventDefault()}}var i=r.format,s=a.addEvent,l=a.extend,c=a.isNumber,u=[];return r={compose:function(t,r,a){e.compose(t),n.compose(r),-1===u.indexOf(a)&&(u.push(a),s(a,"headerFormatter",o))},groupData:n.groupData},r})),t(e,"masters/modules/datagrouping.src.js",[e["Core/Globals.js"],e["Extensions/DataGrouping/ApproximationDefaults.js"],e["Extensions/DataGrouping/ApproximationRegistry.js"],e["Extensions/DataGrouping/DataGrouping.js"]],(function(e,t,n,r){e.dataGrouping={approximationDefaults:t,approximations:n},r.compose(e.Axis,e.Series,e.Tooltip)})),t(e,"Series/DataModifyComposition.js",[e["Core/Axis/Axis.js"],e["Core/Series/Point.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],(function(e,t,n,r){var a,o=t.prototype.tooltipFormatter,i=r.addEvent,s=r.arrayMax,l=r.arrayMin,c=r.correctFloat,u=r.defined,d=r.isArray,f=r.isNumber,h=r.isString,p=r.pick;return function(e){function t(e,t,n){this.isXAxis||(this.series.forEach((function(n){"compare"===e&&"boolean"!==typeof t?n.setCompare(t,!1):"cumulative"!==e||h(t)||n.setCumulative(t,!1)})),p(n,!0)&&this.chart.redraw())}function n(e){var t=this,n=t.series.chart.numberFormatter,r=function(r){e=e.replace("{point."+r+"}",(0<t[r]&&"change"===r?"+":"")+n(t[r],p(t.series.tooltipOptions.changeDecimals,2)))};return u(t.change)&&r("change"),u(t.cumulativeSum)&&r("cumulativeSum"),o.apply(this,[e])}function r(){var e=this.options.compare;if("percent"===e||"value"===e||this.options.cumulative){var t=new w(this);"percent"===e||"value"===e?t.initCompare(e):t.initCumulative()}this.dataModify=t}function a(e){e=e.dataExtremes;var t=e.activeYData;if(this.dataModify&&e){var n=void 0;this.options.compare?n=[this.dataModify.modifyValue(e.dataMin),this.dataModify.modifyValue(e.dataMax)]:this.options.cumulative&&d(t)&&2<=t.length&&(n=w.getCumulativeExtremes(t)),n&&(e.dataMin=l(n),e.dataMax=s(n))}}function m(e,t){this.options.compare=this.userOptions.compare=e,this.update({},p(t,!0)),!this.dataModify||"value"!==e&&"percent"!==e?this.points.forEach((function(e){delete e.change})):this.dataModify.initCompare(e)}function v(){if(this.xAxis&&this.processedYData&&this.dataModify){var e,t=this.processedXData,n=this.processedYData,r=n.length,a=!0===this.options.compareStart?0:1,o=-1;for(this.pointArrayMap&&(o=this.pointArrayMap.indexOf(this.options.pointValKey||this.pointValKey||"y")),e=0;e<r-a;e++){var i=n[e]&&-1<o?n[e][o]:n[e];if(f(i)&&0!==i&&t[e+a]>=(this.xAxis.min||0)){this.dataModify.compareValue=i;break}}}}function b(e,t){this.setModifier("compare",e,t)}function g(e,t){e=p(e,!1),this.options.cumulative=this.userOptions.cumulative=e,this.update({},p(t,!0)),this.dataModify?this.dataModify.initCumulative():this.points.forEach((function(e){delete e.cumulativeSum}))}function y(e,t){this.setModifier("cumulative",e,t)}var O=[];e.compose=function(e,o,s){if(-1===O.indexOf(e)){O.push(e);var l=e.prototype;l.setCompare=m,l.setCumulative=g,i(e,"afterInit",r),i(e,"afterGetExtremes",a),i(e,"afterProcessData",v)}return-1===O.indexOf(o)&&(O.push(o),o=o.prototype,o.setCompare=b,o.setModifier=t,o.setCumulative=y),-1===O.indexOf(s)&&(O.push(s),s.prototype.tooltipFormatter=n),e};var w=function(){function e(e){this.series=e}return e.prototype.modifyValue=function(){return 0},e.getCumulativeExtremes=function(e){var t=1/0,n=-1/0;return e.reduce((function(e,r){return r=e+r,t=Math.min(t,r,e),n=Math.max(n,r,e),r})),[t,n]},e.prototype.initCompare=function(e){this.modifyValue=function(t,n){null===t&&(t=0);var r=this.compareValue;return"undefined"!==typeof t&&"undefined"!==typeof r?(t="value"===e?t-r:t/r*100-(100===this.series.options.compareBase?0:100),"undefined"!==typeof n&&(n=this.series.points[n])&&(n.change=t),t):0}},e.prototype.initCumulative=function(){this.modifyValue=function(e,t){if(null===e&&(e=0),void 0!==e&&void 0!==t){var n=0<t?this.series.points[t-1]:null;return n&&n.cumulativeSum&&(e=c(n.cumulativeSum+e)),(t=this.series.points[t])&&(t.cumulativeSum=e),e}return 0}},e}();e.Additions=w}(a||(a={})),a})),t(e,"Core/Axis/NavigatorAxisComposition.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],(function(e,t){function n(){this.navigatorAxis||(this.navigatorAxis=new d(this))}function r(e){var t=this.chart.options,n=t.navigator,r=this.navigatorAxis,o=t.chart.zooming.pinchType,i=t.rangeSelector;t=t.chart.zooming.type,this.isXAxis&&(n&&n.enabled||i&&i.enabled)&&("y"===t?e.zoomed=!1:(!a&&"xy"===t||a&&"xy"===o)&&this.options.range&&(n=r.previousZoom,s(e.newMin)?r.previousZoom=[this.min,this.max]:n&&(e.newMin=n[0],e.newMax=n[1],r.previousZoom=void 0))),"undefined"!==typeof e.zoomed&&e.preventDefault()}var a=e.isTouchDevice,o=t.addEvent,i=t.correctFloat,s=t.defined,l=t.isNumber,c=t.pick,u=[],d=function(){function e(e){this.axis=e}return e.compose=function(e){-1===u.indexOf(e)&&(u.push(e),e.keepProps.push("navigatorAxis"),o(e,"init",n),o(e,"zoom",r))},e.prototype.destroy=function(){this.axis=void 0},e.prototype.toFixedRange=function(e,t,n,r){var a=this.axis,o=a.chart;e=c(n,a.translate(e,!0,!a.horiz)),t=c(r,a.translate(t,!0,!a.horiz)),o=o&&o.fixedRange,a=(a.pointRange||0)/2;var u=o&&(t-e)/o;return s(n)||(e=i(e+a)),s(r)||(t=i(t-a)),.7<u&&1.3>u&&(r?e=t-o:t=e+o),l(e)&&l(t)||(e=t=void 0),{min:e,max:t}},e}();return d})),t(e,"Stock/Navigator/NavigatorDefaults.js",[e["Core/Color/Color.js"],e["Core/Series/SeriesRegistry.js"]],(function(e,t){return e=e.parse,t=t.seriesTypes,t={height:40,margin:25,maskInside:!0,handles:{width:7,height:15,symbols:["navigator-handle","navigator-handle"],enabled:!0,lineWidth:1,backgroundColor:"#f2f2f2",borderColor:"#999999"},maskFill:e("#6685c2").setOpacity(.3).get(),outlineColor:"#cccccc",outlineWidth:1,series:{type:"undefined"===typeof t.areaspline?"line":"areaspline",fillOpacity:.05,lineWidth:1,compare:null,dataGrouping:{approximation:"average",enabled:!0,groupPixelWidth:2,firstAnchor:"firstPoint",anchor:"middle",lastAnchor:"lastPoint",units:[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2,3,4]],["week",[1,2,3]],["month",[1,3,6]],["year",null]]},dataLabels:{enabled:!1,zIndex:2},id:"highcharts-navigator-series",className:"highcharts-navigator-series",lineColor:null,marker:{enabled:!1},threshold:null},xAxis:{overscroll:0,className:"highcharts-navigator-xaxis",tickLength:0,lineWidth:0,gridLineColor:"#e6e6e6",gridLineWidth:1,tickPixelInterval:200,labels:{align:"left",style:{color:"#999999"},x:3,y:-4},crosshair:!1},yAxis:{className:"highcharts-navigator-yaxis",gridLineWidth:0,startOnTick:!1,endOnTick:!1,minPadding:.1,maxPadding:.1,labels:{enabled:!1},crosshair:!1,title:{text:null},tickLength:0,tickWidth:0}},t})),t(e,"Stock/Navigator/NavigatorSymbols.js",[],(function(){return{"navigator-handle":function(e,t,n,r,a){return void 0===a&&(a={}),e=a.width?a.width/2:n,t=Math.round(e/3)+.5,r=a.height||r,[["M",-e-1,.5],["L",e,.5],["L",e,r+.5],["L",-e-1,r+.5],["L",-e-1,.5],["M",-t,4],["L",-t,r-3],["M",t-1,4],["L",t-1,r-3]]}}})),t(e,"Stock/Navigator/NavigatorComposition.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Axis/NavigatorAxisComposition.js"],e["Stock/Navigator/NavigatorDefaults.js"],e["Stock/Navigator/NavigatorSymbols.js"],e["Core/Renderer/RendererRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n,r,a,o,i){function s(){this.navigator&&this.navigator.setBaseSeries(null,!1)}function l(){var e=this.legend,t=this.navigator;if(t){var n=e&&e.options,r=t.xAxis,a=t.yAxis,o=t.scrollbarHeight;this.inverted?(t.left=t.opposite?this.chartWidth-o-t.height:this.spacing[3]+o,t.top=this.plotTop+o):(t.left=j(r.left,this.plotLeft+o),t.top=t.navigatorOptions.top||this.chartHeight-t.height-o-this.spacing[2]-(this.rangeSelector&&this.extraBottomMargin?this.rangeSelector.getHeight():0)-(n&&"bottom"===n.verticalAlign&&"proximate"!==n.layout&&n.enabled&&!n.floating?e.legendHeight+j(n.margin,10):0)-(this.titleOffset?this.titleOffset[2]:0)),r&&a&&(this.inverted?r.options.left=a.options.left=t.left:r.options.top=a.options.top=t.top,r.setAxisSize(),a.setAxisSize())}}function c(e){this.navigator||this.scroller||!this.options.navigator.enabled&&!this.options.scrollbar.enabled||(this.scroller=this.navigator=new m(this),j(e.redraw,!0)&&this.redraw(e.animation))}function u(){var e=this.options;(e.navigator.enabled||e.scrollbar.enabled)&&(this.scroller=this.navigator=new m(this))}function d(){var e=this.options,t=e.navigator,n=e.rangeSelector;if((t&&t.enabled||n&&n.enabled)&&(!g&&"x"===e.chart.zooming.type||g&&"x"===e.chart.zooming.pinchType))return!1}function f(e){var t=e.navigator;t&&e.xAxis[0]&&(e=e.xAxis[0].getExtremes(),t.render(e.min,e.max))}function h(e){var t=e.options.navigator||{},n=e.options.scrollbar||{};this.navigator||this.scroller||!t.enabled&&!n.enabled||(_(!0,this.options.navigator,t),_(!0,this.options.scrollbar,n),delete e.options.navigator,delete e.options.scrollbar)}function p(){this.chart.navigator&&!this.options.isInternal&&this.chart.navigator.setBaseSeries(null,!1)}var m,v=e.defaultOptions,b=e.setOptions,g=t.isTouchDevice,y=o.getRendererType,O=i.addEvent,w=i.extend,_=i.merge,j=i.pick,k=[];return{compose:function(e,t,o,i){n.compose(e),m=o,-1===k.indexOf(t)&&(k.push(t),t.prototype.callbacks.push(f),O(t,"afterAddSeries",s),O(t,"afterSetChartSize",l),O(t,"afterUpdate",c),O(t,"beforeRender",u),O(t,"beforeShowResetZoom",d),O(t,"update",h)),-1===k.indexOf(i)&&(k.push(i),O(i,"afterUpdate",p)),-1===k.indexOf(y)&&(k.push(y),w(y().prototype.symbols,a)),-1===k.indexOf(b)&&(k.push(b),w(v,{navigator:r}))}}})),t(e,"Core/Axis/ScrollbarAxis.js",[e["Core/Utilities.js"]],(function(e){var t=e.addEvent,n=e.defined,r=e.pick;return function(){function e(){}return e.compose=function(a,o){if(-1!==e.composed.indexOf(a))return a;e.composed.push(a);var i=function(e){var t=r(e.options&&e.options.min,e.min),a=r(e.options&&e.options.max,e.max);return{axisMin:t,axisMax:a,scrollMin:n(e.dataMin)?Math.min(t,e.min,e.dataMin,r(e.threshold,1/0)):t,scrollMax:n(e.dataMax)?Math.max(a,e.max,e.dataMax,r(e.threshold,-1/0)):a}};return t(a,"afterInit",(function(){var e=this;e.options&&e.options.scrollbar&&e.options.scrollbar.enabled&&(e.options.scrollbar.vertical=!e.horiz,e.options.startOnTick=e.options.endOnTick=!1,e.scrollbar=new o(e.chart.renderer,e.options.scrollbar,e.chart),t(e.scrollbar,"changed",(function(t){var r=i(e),a=r.axisMax,o=r.scrollMin,s=r.scrollMax-o;n(r.axisMin)&&n(a)&&(e.horiz&&!e.reversed||!e.horiz&&e.reversed?(r=o+s*this.to,o+=s*this.from):(r=o+s*(1-this.from),o+=s*(1-this.to)),this.shouldUpdateExtremes(t.DOMType)?e.setExtremes(o,r,!0,"mousemove"!==t.DOMType&&"touchmove"!==t.DOMType,t):this.setRange(this.from,this.to))})))})),t(a,"afterRender",(function(){var e=i(this),t=e.scrollMin,r=e.scrollMax;e=this.scrollbar;var a=this.axisTitleMargin+(this.titleOffset||0),o=this.chart.scrollbarsOffsets,s=this.options.margin||0;e&&(this.horiz?(this.opposite||(o[1]+=a),e.position(this.left,this.top+this.height+2+o[1]-(this.opposite?s:0),this.width,this.height),this.opposite||(o[1]+=s),a=1):(this.opposite&&(o[0]+=a),e.position(e.options.opposite?this.left+this.width+2+o[0]-(this.opposite?0:s):this.opposite?0:s,this.top,this.width,this.height),this.opposite&&(o[0]+=s),a=0),o[a]+=e.size+e.options.margin,isNaN(t)||isNaN(r)||!n(this.min)||!n(this.max)||this.min===this.max?e.setRange(0,1):(o=(this.min-t)/(r-t),t=(this.max-t)/(r-t),this.horiz&&!this.reversed||!this.horiz&&this.reversed?e.setRange(o,t):e.setRange(1-t,1-o)))})),t(a,"afterGetOffset",(function(){var e=this.scrollbar&&!this.scrollbar.options.opposite;e=this.horiz?2:e?3:1;var t=this.scrollbar;t&&(this.chart.scrollbarsOffsets=[0,0],this.chart.axisOffset[e]+=t.size+t.options.margin)})),a},e.composed=[],e}()})),t(e,"Stock/Scrollbar/ScrollbarDefaults.js",[e["Core/Globals.js"]],(function(e){return{height:e.isTouchDevice?20:14,barBorderRadius:0,buttonBorderRadius:0,liveRedraw:void 0,margin:10,minWidth:6,opposite:!0,step:.2,zIndex:3,barBackgroundColor:"#cccccc",barBorderWidth:1,barBorderColor:"#cccccc",buttonArrowColor:"#333333",buttonBackgroundColor:"#e6e6e6",buttonBorderColor:"#cccccc",buttonBorderWidth:1,rifleColor:"#333333",trackBackgroundColor:"#f2f2f2",trackBorderColor:"#f2f2f2",trackBorderWidth:1}})),t(e,"Stock/Scrollbar/Scrollbar.js",[e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Axis/ScrollbarAxis.js"],e["Stock/Scrollbar/ScrollbarDefaults.js"],e["Core/Utilities.js"]],(function(e,t,n,r,a){var o=e.defaultOptions,i=a.addEvent,s=a.correctFloat,l=a.defined,c=a.destroyObjectProperties,u=a.fireEvent,d=a.merge,f=a.pick,h=a.removeEvent;return e=function(){function e(e,t,n){this._events=[],this.chart=void 0,this.from=this.chartY=this.chartX=0,this.scrollbar=this.renderer=this.options=this.group=void 0,this.scrollbarButtons=[],this.scrollbarGroup=void 0,this.scrollbarLeft=0,this.scrollbarRifles=void 0,this.scrollbarStrokeWidth=1,this.to=this.size=this.scrollbarTop=0,this.track=void 0,this.trackBorderWidth=1,this.userOptions=void 0,this.y=this.x=0,this.init(e,t,n)}return e.compose=function(t){n.compose(t,e)},e.swapXY=function(e,t){return t&&e.forEach((function(e){for(var t,n=e.length,r=0;r<n;r+=2)t=e[r+1],"number"===typeof t&&(e[r+1]=e[r+2],e[r+2]=t)})),e},e.prototype.addEvents=function(){var e=this.options.inverted?[1,0]:[0,1],n=this.scrollbarButtons,r=this.scrollbarGroup.element,a=this.track.element,o=this.mouseDownHandler.bind(this),s=this.mouseMoveHandler.bind(this),l=this.mouseUpHandler.bind(this);e=[[n[e[0]].element,"click",this.buttonToMinClick.bind(this)],[n[e[1]].element,"click",this.buttonToMaxClick.bind(this)],[a,"click",this.trackClick.bind(this)],[r,"mousedown",o],[r.ownerDocument,"mousemove",s],[r.ownerDocument,"mouseup",l]],t.hasTouch&&e.push([r,"touchstart",o],[r.ownerDocument,"touchmove",s],[r.ownerDocument,"touchend",l]),e.forEach((function(e){i.apply(null,e)})),this._events=e},e.prototype.buttonToMaxClick=function(e){var t=(this.to-this.from)*f(this.options.step,.2);this.updatePosition(this.from+t,this.to+t),u(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:e})},e.prototype.buttonToMinClick=function(e){var t=s(this.to-this.from)*f(this.options.step,.2);this.updatePosition(s(this.from-t),s(this.to-t)),u(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:e})},e.prototype.cursorToScrollbarPosition=function(e){var t=this.options;return t=t.minWidth>this.calculatedWidth?t.minWidth:0,{chartX:(e.chartX-this.x-this.xOffset)/(this.barWidth-t),chartY:(e.chartY-this.y-this.yOffset)/(this.barWidth-t)}},e.prototype.destroy=function(){var e=this,t=e.chart.scroller;e.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach((function(t){e[t]&&e[t].destroy&&(e[t]=e[t].destroy())})),t&&e===t.scrollbar&&(t.scrollbar=null,c(t.scrollbarButtons))},e.prototype.drawScrollbarButton=function(t){var n=this.renderer,r=this.scrollbarButtons,a=this.options,o=this.size,i=n.g().add(this.group);r.push(i),i=n.rect().addClass("highcharts-scrollbar-button").add(i),this.chart.styledMode||i.attr({stroke:a.buttonBorderColor,"stroke-width":a.buttonBorderWidth,fill:a.buttonBackgroundColor}),i.attr(i.crisp({x:-.5,y:-.5,width:o+1,height:o+1,r:a.buttonBorderRadius},i.strokeWidth())),i=n.path(e.swapXY([["M",o/2+(t?-1:1),o/2-3],["L",o/2+(t?-1:1),o/2+3],["L",o/2+(t?2:-2),o/2]],a.vertical)).addClass("highcharts-scrollbar-arrow").add(r[t]),this.chart.styledMode||i.attr({fill:a.buttonArrowColor})},e.prototype.init=function(e,t,n){this.scrollbarButtons=[],this.renderer=e,this.userOptions=t,this.options=d(r,o.scrollbar,t),this.chart=n,this.size=f(this.options.size,this.options.height),t.enabled&&(this.render(),this.addEvents())},e.prototype.mouseDownHandler=function(e){e=this.chart.pointer.normalize(e),e=this.cursorToScrollbarPosition(e),this.chartX=e.chartX,this.chartY=e.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0},e.prototype.mouseMoveHandler=function(e){var t=this.chart.pointer.normalize(e),n=this.options.vertical?"chartY":"chartX",r=this.initPositions||[];!this.grabbedCenter||e.touches&&0===e.touches[0][n]||(t=this.cursorToScrollbarPosition(t)[n],n=this[n],n=t-n,this.hasDragged=!0,this.updatePosition(r[0]+n,r[1]+n),this.hasDragged&&u(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:e.type,DOMEvent:e}))},e.prototype.mouseUpHandler=function(e){this.hasDragged&&u(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:e.type,DOMEvent:e}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null},e.prototype.position=function(e,t,n,r){var a=this.options.vertical,o=this.rendered?"animate":"attr",i=r,s=0;this.group.show(),this.x=e,this.y=t+this.trackBorderWidth,this.width=n,this.height=r,this.xOffset=i,this.yOffset=s,a?(this.width=this.yOffset=n=s=this.size,this.xOffset=i=0,this.barWidth=r-2*n,this.x=e+=this.options.margin):(this.height=this.xOffset=r=i=this.size,this.barWidth=n-2*r,this.y+=this.options.margin),this.group[o]({translateX:e,translateY:this.y}),this.track[o]({width:n,height:r}),this.scrollbarButtons[1][o]({translateX:a?0:n-i,translateY:a?r-s:0})},e.prototype.removeEvents=function(){this._events.forEach((function(e){h.apply(null,e)})),this._events.length=0},e.prototype.render=function(){var t=this.renderer,n=this.options,r=this.size,a=this.chart.styledMode,o=t.g("scrollbar").attr({zIndex:n.zIndex}).hide().add();this.group=o,this.track=t.rect().addClass("highcharts-scrollbar-track").attr({x:0,r:n.trackBorderRadius||0,height:r,width:r}).add(o),a||this.track.attr({fill:n.trackBackgroundColor,stroke:n.trackBorderColor,"stroke-width":n.trackBorderWidth}),this.trackBorderWidth=this.track.strokeWidth(),this.track.attr({y:-this.trackBorderWidth%2/2}),this.scrollbarGroup=t.g().add(o),this.scrollbar=t.rect().addClass("highcharts-scrollbar-thumb").attr({height:r,width:r,r:n.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=t.path(e.swapXY([["M",-3,r/4],["L",-3,2*r/3],["M",0,r/4],["L",0,2*r/3],["M",3,r/4],["L",3,2*r/3]],n.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),a||(this.scrollbar.attr({fill:n.barBackgroundColor,stroke:n.barBorderColor,"stroke-width":n.barBorderWidth}),this.scrollbarRifles.attr({stroke:n.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-this.scrollbarStrokeWidth%2/2,-this.scrollbarStrokeWidth%2/2),this.drawScrollbarButton(0),this.drawScrollbarButton(1)},e.prototype.setRange=function(e,t){var n=this.options,r=n.vertical,a=n.minWidth,o=this.barWidth,i=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";if(l(o)){var c=o*Math.min(t,1);e=Math.max(e,0);var u=Math.ceil(o*e);this.calculatedWidth=c=s(c-u),c<a&&(u=(o-a+c)*e,c=a),a=Math.floor(u+this.xOffset+this.yOffset),o=c/2-.5,this.from=e,this.to=t,r?(this.scrollbarGroup[i]({translateY:a}),this.scrollbar[i]({height:c}),this.scrollbarRifles[i]({translateY:o}),this.scrollbarTop=a,this.scrollbarLeft=0):(this.scrollbarGroup[i]({translateX:a}),this.scrollbar[i]({width:c}),this.scrollbarRifles[i]({translateX:o}),this.scrollbarLeft=a,this.scrollbarTop=0),12>=c?this.scrollbarRifles.hide():this.scrollbarRifles.show(),!1===n.showFull&&(0>=e&&1<=t?this.group.hide():this.group.show()),this.rendered=!0}},e.prototype.shouldUpdateExtremes=function(e){return f(this.options.liveRedraw,t.svg&&!t.isTouchDevice&&!this.chart.boosted)||"mouseup"===e||"touchend"===e||!l(e)},e.prototype.trackClick=function(e){var t=this.chart.pointer.normalize(e),n=this.to-this.from,r=this.y+this.scrollbarTop,a=this.x+this.scrollbarLeft;this.options.vertical&&t.chartY>r||!this.options.vertical&&t.chartX>a?this.updatePosition(this.from+n,this.to+n):this.updatePosition(this.from-n,this.to-n),u(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:e})},e.prototype.update=function(e){this.destroy(),this.init(this.chart.renderer,d(!0,this.options,e),this.chart)},e.prototype.updatePosition=function(e,t){1<t&&(e=s(1-s(t-e)),t=1),0>e&&(t=s(t-e),e=0),this.from=e,this.to=t},e.defaultOptions=r,e}(),o.scrollbar=d(!0,e.defaultOptions,o.scrollbar),e})),t(e,"Stock/Navigator/Navigator.js",[e["Core/Axis/Axis.js"],e["Core/Defaults.js"],e["Core/Globals.js"],e["Core/Axis/NavigatorAxisComposition.js"],e["Stock/Navigator/NavigatorComposition.js"],e["Stock/Scrollbar/Scrollbar.js"],e["Core/Utilities.js"]],(function(e,t,n,r,a,o,i){function s(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(t=[].filter.call(t,O),t.length)return Math[e].apply(0,t)}var l=t.defaultOptions,c=n.hasTouch,u=n.isTouchDevice,d=i.addEvent,f=i.clamp,h=i.correctFloat,p=i.defined,m=i.destroyObjectProperties,v=i.erase,b=i.extend,g=i.find,y=i.isArray,O=i.isNumber,w=i.merge,_=i.pick,j=i.removeEvent,k=i.splat;return function(){function t(e){this.zoomedMin=this.zoomedMax=this.yAxis=this.xAxis=this.top=this.size=this.shades=this.rendered=this.range=this.outlineHeight=this.outline=this.opposite=this.navigatorSize=this.navigatorSeries=this.navigatorOptions=this.navigatorGroup=this.navigatorEnabled=this.left=this.height=this.handles=this.chart=this.baseSeries=void 0,this.init(e)}return t.compose=function(e,n,r){a.compose(e,n,t,r)},t.prototype.drawHandle=function(e,t,n,r){var a=this.navigatorOptions.handles.height;this.handles[t][r](n?{translateX:Math.round(this.left+this.height/2),translateY:Math.round(this.top+parseInt(e,10)+.5-a)}:{translateX:Math.round(this.left+parseInt(e,10)),translateY:Math.round(this.top+this.height/2-a/2-1)})},t.prototype.drawOutline=function(e,t,n,r){var a=this.navigatorOptions.maskInside,o=this.outline.strokeWidth(),i=o/2,s=o%2/2;o=this.outlineHeight;var l=this.scrollbarHeight||0,c=this.size,u=this.left-l,d=this.top;n?(u-=i,n=d+t+s,t=d+e+s,s=[["M",u+o,d-l-s],["L",u+o,n],["L",u,n],["L",u,t],["L",u+o,t],["L",u+o,d+c+l]],a&&s.push(["M",u+o,n-i],["L",u+o,t+i])):(e+=u+l-s,t+=u+l-s,d+=i,s=[["M",u,d],["L",e,d],["L",e,d+o],["L",t,d+o],["L",t,d],["L",u+c+2*l,d]],a&&s.push(["M",e-i,d],["L",t+i,d])),this.outline[r]({d:s})},t.prototype.drawMasks=function(e,t,n,r){var a=this.left,o=this.top,i=this.height;if(n)var s=[a,a,a],l=[o,o+e,o+t],c=[i,i,i],u=[e,t-e,this.size-t];else s=[a,a+e,a+t],l=[o,o,o],c=[e,t-e,this.size-t],u=[i,i,i];this.shades.forEach((function(e,t){e[r]({x:s[t],y:l[t],width:c[t],height:u[t]})}))},t.prototype.renderElements=function(){var e=this,t=e.navigatorOptions,n=t.maskInside,r=e.chart,a=r.renderer,o={cursor:r.inverted?"ns-resize":"ew-resize"},i=e.navigatorGroup=a.g("navigator").attr({zIndex:8,visibility:"hidden"}).add();if([!n,n,!n].forEach((function(n,s){var l=a.rect().addClass("highcharts-navigator-mask"+(1===s?"-inside":"-outside")).add(i);r.styledMode||(l.attr({fill:n?t.maskFill:"rgba(0,0,0,0)"}),1===s&&l.css(o)),e.shades[s]=l})),e.outline=a.path().addClass("highcharts-navigator-outline").add(i),r.styledMode||e.outline.attr({"stroke-width":t.outlineWidth,stroke:t.outlineColor}),t.handles&&t.handles.enabled){var s=t.handles,l=s.height,c=s.width;[0,1].forEach((function(t){e.handles[t]=a.symbol(s.symbols[t],-c/2-1,0,c,l,s),r.inverted&&e.handles[t].attr({rotation:90,rotationOriginX:Math.floor(-c/2),rotationOriginY:(l+c)/2}),e.handles[t].attr({zIndex:7-t}).addClass("highcharts-navigator-handle highcharts-navigator-handle-"+["left","right"][t]).add(i),r.styledMode||e.handles[t].attr({fill:s.backgroundColor,stroke:s.borderColor,"stroke-width":s.lineWidth}).css(o)}))}},t.prototype.update=function(e){(this.series||[]).forEach((function(e){e.baseSeries&&delete e.baseSeries.navigatorSeries})),this.destroy(),w(!0,this.chart.options.navigator,e),this.init(this.chart)},t.prototype.render=function(e,t,n,r){var a,o=this.chart,i=this.xAxis,s=i.pointRange||0,l=i.navigatorAxis.fake?o.xAxis[0]:i,c=this.navigatorEnabled,u=this.rendered,d=o.inverted,m=o.xAxis[0].minRange,v=o.xAxis[0].options.maxRange,b=this.scrollbarHeight;if(!this.hasDragged||p(n)){if(e=h(e-s/2),t=h(t+s/2),!O(e)||!O(t)){if(!u)return;n=0,r=_(i.width,l.width)}this.left=_(i.left,o.plotLeft+b+(d?o.plotWidth:0));var g=this.size=a=_(i.len,(d?o.plotHeight:o.plotWidth)-2*b);o=d?b:a+2*b,n=_(n,i.toPixels(e,!0)),r=_(r,i.toPixels(t,!0)),O(n)&&1/0!==Math.abs(n)||(n=0,r=o),e=i.toValue(n,!0),t=i.toValue(r,!0);var y=Math.abs(h(t-e));y<m?this.grabbedLeft?n=i.toPixels(t-m-s,!0):this.grabbedRight&&(r=i.toPixels(e+m+s,!0)):p(v)&&h(y-s)>v&&(this.grabbedLeft?n=i.toPixels(t-v-s,!0):this.grabbedRight&&(r=i.toPixels(e+v+s,!0))),this.zoomedMax=f(Math.max(n,r),0,g),this.zoomedMin=f(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(n,r),0,g),this.range=this.zoomedMax-this.zoomedMin,g=Math.round(this.zoomedMax),n=Math.round(this.zoomedMin),c&&(this.navigatorGroup.attr({visibility:"inherit"}),u=u&&!this.hasDragged?"animate":"attr",this.drawMasks(n,g,d,u),this.drawOutline(n,g,d,u),this.navigatorOptions.handles.enabled&&(this.drawHandle(n,0,d,u),this.drawHandle(g,1,d,u))),this.scrollbar&&(d?(d=this.top-b,l=this.left-b+(c||!l.opposite?0:(l.titleOffset||0)+l.axisTitleMargin),b=a+2*b):(d=this.top+(c?this.height:-b),l=this.left-b),this.scrollbar.position(l,d,o,b),this.scrollbar.setRange(this.zoomedMin/(a||1),this.zoomedMax/(a||1))),this.rendered=!0}},t.prototype.addMouseEvents=function(){var e,t,n=this,r=n.chart,a=r.container,o=[];n.mouseMoveHandler=e=function(e){n.onMouseMove(e)},n.mouseUpHandler=t=function(e){n.onMouseUp(e)},o=n.getPartsEvents("mousedown"),o.push(d(r.renderTo,"mousemove",e),d(a.ownerDocument,"mouseup",t)),c&&(o.push(d(r.renderTo,"touchmove",e),d(a.ownerDocument,"touchend",t)),o.concat(n.getPartsEvents("touchstart"))),n.eventsToUnbind=o,n.series&&n.series[0]&&o.push(d(n.series[0].xAxis,"foundExtremes",(function(){r.navigator.modifyNavigatorAxisExtremes()})))},t.prototype.getPartsEvents=function(e){var t=this,n=[];return["shades","handles"].forEach((function(r){t[r].forEach((function(a,o){n.push(d(a.element,e,(function(e){t[r+"Mousedown"](e,o)})))}))})),n},t.prototype.shadesMousedown=function(e,t){e=this.chart.pointer.normalize(e);var n=this.chart,r=this.xAxis,a=this.zoomedMin,o=this.size,i=this.range,s=this.left,l=e.chartX;if(n.inverted&&(l=e.chartY,s=this.top),1===t)this.grabbedCenter=l,this.fixedWidth=i,this.dragOffset=l-a;else{if(e=l-s-i/2,0===t)e=Math.max(0,e);else if(2===t&&e+i>=o)if(e=o-i,this.reversedExtremes){e-=i;var c=this.getUnionExtremes().dataMin}else var u=this.getUnionExtremes().dataMax;e!==a&&(this.fixedWidth=i,t=r.navigatorAxis.toFixedRange(e,e+i,c,u),p(t.min)&&n.xAxis[0].setExtremes(Math.min(t.min,t.max),Math.max(t.min,t.max),!0,null,{trigger:"navigator"}))}},t.prototype.handlesMousedown=function(e,t){this.chart.pointer.normalize(e),e=this.chart;var n=e.xAxis[0],r=this.reversedExtremes;0===t?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=r?n.min:n.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=r?n.max:n.min),e.fixedRange=null},t.prototype.onMouseMove=function(e){var t=this,r=t.chart,a=t.navigatorSize,o=t.range,i=t.dragOffset,s=r.inverted,l=t.left;e.touches&&0===e.touches[0].pageX||(e=r.pointer.normalize(e),r=e.chartX,s&&(l=t.top,r=e.chartY),t.grabbedLeft?(t.hasDragged=!0,t.render(0,0,r-l,t.otherHandlePos)):t.grabbedRight?(t.hasDragged=!0,t.render(0,0,t.otherHandlePos,r-l)):t.grabbedCenter&&(t.hasDragged=!0,r<i?r=i:r>a+i-o&&(r=a+i-o),t.render(0,0,r-i,r-i+o)),t.hasDragged&&t.scrollbar&&_(t.scrollbar.options.liveRedraw,n.svg&&!u&&!this.chart.boosted)&&(e.DOMType=e.type,setTimeout((function(){t.onMouseUp(e)}),0)))},t.prototype.onMouseUp=function(e){var t=this.chart,n=this.xAxis,r=this.scrollbar,a=e.DOMEvent||e,o=t.inverted,i=this.rendered&&!this.hasDragged?"animate":"attr";if(this.hasDragged&&(!r||!r.hasDragged)||"scrollbar"===e.trigger){if(r=this.getUnionExtremes(),this.zoomedMin===this.otherHandlePos)var s=this.fixedExtreme;else if(this.zoomedMax===this.otherHandlePos)var l=this.fixedExtreme;this.zoomedMax===this.size&&(l=this.reversedExtremes?r.dataMin:r.dataMax),0===this.zoomedMin&&(s=this.reversedExtremes?r.dataMax:r.dataMin),n=n.navigatorAxis.toFixedRange(this.zoomedMin,this.zoomedMax,s,l),p(n.min)&&t.xAxis[0].setExtremes(Math.min(n.min,n.max),Math.max(n.min,n.max),!0,!this.hasDragged&&null,{trigger:"navigator",triggerOp:"navigator-drag",DOMEvent:a})}"mousemove"!==e.DOMType&&"touchmove"!==e.DOMType&&(this.grabbedLeft=this.grabbedRight=this.grabbedCenter=this.fixedWidth=this.fixedExtreme=this.otherHandlePos=this.hasDragged=this.dragOffset=null),this.navigatorEnabled&&O(this.zoomedMin)&&O(this.zoomedMax)&&(t=Math.round(this.zoomedMin),e=Math.round(this.zoomedMax),this.shades&&this.drawMasks(t,e,o,i),this.outline&&this.drawOutline(t,e,o,i),this.navigatorOptions.handles.enabled&&Object.keys(this.handles).length===this.handles.length&&(this.drawHandle(t,0,o,i),this.drawHandle(e,1,o,i)))},t.prototype.removeEvents=function(){this.eventsToUnbind&&(this.eventsToUnbind.forEach((function(e){e()})),this.eventsToUnbind=void 0),this.removeBaseSeriesEvents()},t.prototype.removeBaseSeriesEvents=function(){var e=this.baseSeries||[];this.navigatorEnabled&&e[0]&&(!1!==this.navigatorOptions.adaptToUpdatedData&&e.forEach((function(e){j(e,"updatedData",this.updatedDataHandler)}),this),e[0].xAxis&&j(e[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes))},t.prototype.init=function(t){var n=t.options,a=n.navigator||{},i=a.enabled,l=n.scrollbar||{},c=l.enabled;n=i&&a.height||0;var u=c&&l.height||0;this.handles=[],this.shades=[],this.chart=t,this.setBaseSeries(),this.height=n,this.scrollbarHeight=u,this.scrollbarEnabled=c,this.navigatorEnabled=i,this.navigatorOptions=a,this.scrollbarOptions=l,this.outlineHeight=n+u,this.opposite=_(a.opposite,!(i||!t.inverted));var f=this;i=f.baseSeries,l=t.xAxis.length,c=t.yAxis.length;var h=i&&i[0]&&i[0].xAxis||t.xAxis[0]||{options:{}};t.isDirtyBox=!0,f.navigatorEnabled?(f.xAxis=new e(t,w({breaks:h.options.breaks,ordinal:h.options.ordinal},a.xAxis,{id:"navigator-x-axis",yAxis:"navigator-y-axis",isX:!0,type:"datetime",index:l,isInternal:!0,offset:0,keepOrdinalPadding:!0,startOnTick:!1,endOnTick:!1,minPadding:0,maxPadding:0,zoomEnabled:!1},t.inverted?{offsets:[u,0,-u,0],width:n}:{offsets:[0,-u,0,u],height:n})),f.yAxis=new e(t,w(a.yAxis,{id:"navigator-y-axis",alignTicks:!1,offset:0,index:c,isInternal:!0,reversed:_(a.yAxis&&a.yAxis.reversed,t.yAxis[0]&&t.yAxis[0].reversed,!1),zoomEnabled:!1},t.inverted?{width:n}:{height:n})),i||a.series.data?f.updateNavigatorSeries(!1):0===t.series.length&&(f.unbindRedraw=d(t,"beforeRedraw",(function(){0<t.series.length&&!f.series&&(f.setBaseSeries(),f.unbindRedraw())}))),f.reversedExtremes=t.inverted&&!f.xAxis.reversed||!t.inverted&&f.xAxis.reversed,f.renderElements(),f.addMouseEvents()):(f.xAxis={chart:t,navigatorAxis:{fake:!0},translate:function(e,n){var r=t.xAxis[0],a=r.getExtremes(),o=r.len-2*u,i=s("min",r.options.min,a.dataMin);return r=s("max",r.options.max,a.dataMax)-i,n?e*r/o+i:o*(e-i)/r},toPixels:function(e){return this.translate(e)},toValue:function(e){return this.translate(e,!0)}},f.xAxis.navigatorAxis.axis=f.xAxis,f.xAxis.navigatorAxis.toFixedRange=r.prototype.toFixedRange.bind(f.xAxis.navigatorAxis)),t.options.scrollbar.enabled&&(t.scrollbar=f.scrollbar=new o(t.renderer,w(t.options.scrollbar,{margin:f.navigatorEnabled?0:10,vertical:t.inverted}),t),d(f.scrollbar,"changed",(function(e){var t=f.size,n=t*this.to;t*=this.from,f.hasDragged=f.scrollbar.hasDragged,f.render(0,0,t,n),this.shouldUpdateExtremes(e.DOMType)&&setTimeout((function(){f.onMouseUp(e)}))}))),f.addBaseSeriesEvents(),f.addChartEvents()},t.prototype.getUnionExtremes=function(e){var t,n=this.chart.xAxis[0],r=this.xAxis,a=r.options,o=n.options;return e&&null===n.dataMin||(t={dataMin:_(a&&a.min,s("min",o.min,n.dataMin,r.dataMin,r.min)),dataMax:_(a&&a.max,s("max",o.max,n.dataMax,r.dataMax,r.max))}),t},t.prototype.setBaseSeries=function(e,t){var n=this.chart,r=this.baseSeries=[];e=e||n.options&&n.options.navigator.baseSeries||(n.series.length?g(n.series,(function(e){return!e.options.isInternal})).index:0),(n.series||[]).forEach((function(t,n){t.options.isInternal||!t.options.showInNavigator&&(n!==e&&t.options.id!==e||!1===t.options.showInNavigator)||r.push(t)})),this.xAxis&&!this.xAxis.navigatorAxis.fake&&this.updateNavigatorSeries(!0,t)},t.prototype.updateNavigatorSeries=function(e,t){var n,r,a,o=this,i=o.chart,s=o.baseSeries,c={enableMouseTracking:!1,index:null,linkedTo:null,group:"nav",padXAxis:!1,xAxis:"navigator-x-axis",yAxis:"navigator-y-axis",showInLegend:!1,stacking:void 0,isInternal:!0,states:{inactive:{opacity:1}}},u=o.series=(o.series||[]).filter((function(e){var t=e.baseSeries;return!(0>s.indexOf(t))||(t&&(j(t,"updatedData",o.updatedDataHandler),delete t.navigatorSeries),e.chart&&e.destroy(),!1)})),d=o.navigatorOptions.series;s&&s.length&&s.forEach((function(e){var f=e.navigatorSeries,h=b({color:e.color,visible:e.visible},y(d)?l.navigator.series:d);f&&!1===o.navigatorOptions.adaptToUpdatedData||(c.name="Navigator "+s.length,n=e.options||{},a=n.navigatorOptions||{},h.dataLabels=k(h.dataLabels),r=w(n,c,h,a),r.pointRange=_(h.pointRange,a.pointRange,l.plotOptions[r.type||"line"].pointRange),h=a.data||h.data,o.hasNavigatorData=o.hasNavigatorData||!!h,r.data=h||n.data&&n.data.slice(0),f&&f.options?f.update(r,t):(e.navigatorSeries=i.initSeries(r),e.navigatorSeries.baseSeries=e,u.push(e.navigatorSeries)))})),(!d.data||s&&s.length)&&!y(d)||(o.hasNavigatorData=!1,d=k(d),d.forEach((function(e,t){c.name="Navigator "+(u.length+1),r=w(l.navigator.series,{color:i.series[t]&&!i.series[t].options.isInternal&&i.series[t].color||i.options.colors[t]||i.options.colors[0]},c,e),r.data=e.data,r.data&&(o.hasNavigatorData=!0,u.push(i.initSeries(r)))}))),e&&this.addBaseSeriesEvents()},t.prototype.addBaseSeriesEvents=function(){var e=this,t=this,n=t.baseSeries||[];n[0]&&n[0].xAxis&&n[0].eventsToUnbind.push(d(n[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes)),n.forEach((function(n){n.eventsToUnbind.push(d(n,"show",(function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!0,!1)}))),n.eventsToUnbind.push(d(n,"hide",(function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!1,!1)}))),!1!==e.navigatorOptions.adaptToUpdatedData&&n.xAxis&&n.eventsToUnbind.push(d(n,"updatedData",e.updatedDataHandler)),n.eventsToUnbind.push(d(n,"remove",(function(){this.navigatorSeries&&(v(t.series,this.navigatorSeries),p(this.navigatorSeries.options)&&this.navigatorSeries.remove(!1),delete this.navigatorSeries)})))}))},t.prototype.getBaseSeriesMin=function(e){return this.baseSeries.reduce((function(e,t){return Math.min(e,t.xData&&t.xData.length?t.xData[0]:e)}),e)},t.prototype.modifyNavigatorAxisExtremes=function(){var e=this.xAxis;if("undefined"!==typeof e.getExtremes){var t=this.getUnionExtremes(!0);!t||t.dataMin===e.min&&t.dataMax===e.max||(e.min=t.dataMin,e.max=t.dataMax)}},t.prototype.modifyBaseAxisExtremes=function(){var e=this.chart.navigator,t=this.getExtremes(),n=t.dataMin,r=t.dataMax;t=t.max-t.min;var a=e.stickToMin,o=e.stickToMax,i=_(this.options.overscroll,0),s=e.series&&e.series[0],l=!!this.setExtremes;if(!this.eventArgs||"rangeSelectorButton"!==this.eventArgs.trigger){if(a)var c=n,u=c+t;o&&(u=r+i,a||(c=Math.max(n,u-t,e.getBaseSeriesMin(s&&s.xData?s.xData[0]:-Number.MAX_VALUE)))),l&&(a||o)&&O(c)&&(this.min=this.userMin=c,this.max=this.userMax=u)}e.stickToMin=e.stickToMax=null},t.prototype.updatedDataHandler=function(){var e=this.chart.navigator,t=this.navigatorSeries;e.stickToMax=_(this.chart.options.navigator&&this.chart.options.navigator.stickToMax,e.reversedExtremes?0===Math.round(e.zoomedMin):Math.round(e.zoomedMax)>=Math.round(e.size)),e.stickToMin=e.shouldStickToMin(this,e),t&&!e.hasNavigatorData&&(t.options.pointStart=this.xData[0],t.setData(this.options.data,!1,null,!1))},t.prototype.shouldStickToMin=function(e,t){t=t.getBaseSeriesMin(e.xData[0]);var n=e.xAxis;e=n.max;var r=n.min;return n=n.options.range,!(!O(e)||!O(r))&&(n&&0<e-t?e-t<n:r<=t)},t.prototype.addChartEvents=function(){this.eventsToUnbind||(this.eventsToUnbind=[]),this.eventsToUnbind.push(d(this.chart,"redraw",(function(){var e=this.navigator,t=e&&(e.baseSeries&&e.baseSeries[0]&&e.baseSeries[0].xAxis||this.xAxis[0]);t&&e.render(t.min,t.max)})),d(this.chart,"getMargins",(function(){var e=this.navigator,t=e.opposite?"plotTop":"marginBottom";this.inverted&&(t=e.opposite?"marginRight":"plotLeft"),this[t]=(this[t]||0)+(e.navigatorEnabled||!this.inverted?e.outlineHeight:0)+e.navigatorOptions.margin})))},t.prototype.destroy=function(){var e=this;this.removeEvents(),this.xAxis&&(v(this.chart.xAxis,this.xAxis),v(this.chart.axes,this.xAxis)),this.yAxis&&(v(this.chart.yAxis,this.yAxis),v(this.chart.axes,this.yAxis)),(this.series||[]).forEach((function(e){e.destroy&&e.destroy()})),"series xAxis yAxis shades outline scrollbarTrack scrollbarRifles scrollbarGroup scrollbar navigatorGroup rendered".split(" ").forEach((function(t){e[t]&&e[t].destroy&&e[t].destroy(),e[t]=null})),[this.handles].forEach((function(e){m(e)}))},t}()})),t(e,"Stock/RangeSelector/RangeSelectorDefaults.js",[],(function(){return{lang:{rangeSelectorZoom:"Zoom",rangeSelectorFrom:"",rangeSelectorTo:"→"},rangeSelector:{allButtonsEnabled:!1,buttons:void 0,buttonSpacing:5,dropdown:"responsive",enabled:void 0,verticalAlign:"top",buttonTheme:{width:28,height:18,padding:2,zIndex:7},floating:!1,x:0,y:0,height:void 0,inputBoxBorderColor:"none",inputBoxHeight:17,inputBoxWidth:void 0,inputDateFormat:"%b %e, %Y",inputDateParser:void 0,inputEditDateFormat:"%Y-%m-%d",inputEnabled:!0,inputPosition:{align:"right",x:0,y:0},inputSpacing:5,selected:void 0,buttonPosition:{align:"left",x:0,y:0},inputStyle:{color:"#335cad",cursor:"pointer"},labelStyle:{color:"#666666"}}}})),t(e,"Stock/RangeSelector/RangeSelectorComposition.js",[e["Core/Defaults.js"],e["Stock/RangeSelector/RangeSelectorDefaults.js"],e["Core/Utilities.js"]],(function(e,t,n){function r(){var e=this.range,t=e.type,n=this.max,r=this.chart.time,a=function(e,n){var a="year"===t?"FullYear":"Month",o=new r.Date(e),i=r.get(a,o);return r.set(a,o,i+n),i===r.get(a,o)&&r.set("Date",o,0),o.getTime()-e};if(g(e))var o=n-e,i=e;else e&&(o=n+a(n,-(e.count||1)),this.chart&&(this.chart.fixedRange=n-o));var s=O(this.dataMin,Number.MIN_VALUE);return g(o)||(o=s),o<=s&&(o=s,"undefined"===typeof i&&(i=a(o,e.count)),this.newMax=Math.min(o+i,O(this.dataMax,Number.MAX_VALUE))),g(n)?!g(e)&&e&&e._offsetMin&&(o+=e._offsetMin):o=void 0,o}function a(){this.options.rangeSelector&&this.options.rangeSelector.enabled&&(this.rangeSelector=new d(this))}function o(){var e=this.axes,t=this.rangeSelector;t&&(g(t.deferredYTDClick)&&(t.clickButton(t.deferredYTDClick),delete t.deferredYTDClick),e.forEach((function(e){e.updateNames(),e.setScale()})),this.getAxisMargins(),t.render(),e=t.options.verticalAlign,t.options.floating||("bottom"===e?this.extraBottomMargin=!0:"middle"!==e&&(this.extraTopMargin=!0)))}function i(e){var t,n,r,a,o=e.rangeSelector,i=function(){o&&(t=e.xAxis[0].getExtremes(),n=e.legend,a=o&&o.options.verticalAlign,g(t.min)&&o.render(t.min,t.max),n.display&&"top"===a&&a===n.options.verticalAlign&&(r=y(e.spacingBox),r.y="vertical"===n.options.layout?e.plotTop:r.y+o.getHeight(),n.group.placed=!1,n.align(r)))};o&&(b(w,(function(t){return t[0]===e}))||w.push([e,[p(e.xAxis[0],"afterSetExtremes",(function(e){o&&o.render(e.min,e.max)})),p(e,"redraw",i)]]),i())}function s(){for(var e=0,t=w.length;e<t;++e){var n=w[e];if(n[0]===this){n[1].forEach((function(e){return e()})),w.splice(e,1);break}}}function l(){var e=this.rangeSelector;e&&(e=e.getHeight(),this.extraTopMargin&&(this.plotTop+=e),this.extraBottomMargin&&(this.marginBottom+=e))}function c(){var e=this.rangeSelector;e&&!e.options.floating&&(e.render(),e=e.options.verticalAlign,"bottom"===e?this.extraBottomMargin=!0:"middle"!==e&&(this.extraTopMargin=!0))}function u(e){var t=e.options.rangeSelector;e=this.extraBottomMargin;var n=this.extraTopMargin,r=this.rangeSelector;t&&t.enabled&&!m(r)&&this.options.rangeSelector&&(this.options.rangeSelector.enabled=!0,this.rangeSelector=r=new d(this)),this.extraTopMargin=this.extraBottomMargin=!1,r&&(i(this),t=t&&t.verticalAlign||r.options&&r.options.verticalAlign,r.options.floating||("bottom"===t?this.extraBottomMargin=!0:"middle"!==t&&(this.extraTopMargin=!0)),this.extraBottomMargin!==e||this.extraTopMargin!==n)&&(this.isDirtyBox=!0)}var d,f=e.defaultOptions,h=e.setOptions,p=n.addEvent,m=n.defined,v=n.extend,b=n.find,g=n.isNumber,y=n.merge,O=n.pick,w=[],_=[];return{compose:function(e,n,m){d=m,-1===_.indexOf(e)&&(_.push(e),e.prototype.minFromRange=r),-1===_.indexOf(n)&&(_.push(n),p(n,"afterGetContainer",a),p(n,"beforeRender",o),p(n,"destroy",s),p(n,"getMargins",l),p(n,"render",c),p(n,"update",u),n.prototype.callbacks.push(i)),-1===_.indexOf(h)&&(v(f,{rangeSelector:t.rangeSelector}),v(f.lang,t.lang))}}})),t(e,"Stock/RangeSelector/RangeSelector.js",[e["Core/Axis/Axis.js"],e["Core/Defaults.js"],e["Core/Globals.js"],e["Stock/RangeSelector/RangeSelectorComposition.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],(function(e,t,n,r,a,o){function i(e){if(-1!==e.indexOf("%L"))return"text";var t="aAdewbBmoyY".split("").some((function(t){return-1!==e.indexOf("%"+t)})),n="HkIlMS".split("").some((function(t){return-1!==e.indexOf("%"+t)}));return t&&n?"datetime-local":t?"date":n?"time":"text"}var s=t.defaultOptions,l=o.addEvent,c=o.createElement,u=o.css,d=o.defined,f=o.destroyObjectProperties,h=o.discardElement,p=o.extend,m=o.fireEvent,v=o.isNumber,b=o.merge,g=o.objectEach,y=o.pad,O=o.pick,w=o.pInt,_=o.splat;return t=function(){function t(e){this.buttons=void 0,this.buttonOptions=t.prototype.defaultButtons,this.initialButtonGroupWidth=0,this.options=void 0,this.chart=e,this.init(e)}return t.compose=function(e,n){r.compose(e,n,t)},t.prototype.clickButton=function(t,n){var r=this.chart,a=this.buttonOptions[t],o=r.xAxis[0],i=r.scroller&&r.scroller.getUnionExtremes()||o||{},s=a.type,c=a.dataGrouping,u=i.dataMin,f=i.dataMax,h=o&&Math.round(Math.min(o.max,O(f,o.max)));i=a._range;var p,b=!0;if(null!==u&&null!==f){if(r.fixedRange=i,this.setSelected(t),c&&(this.forcedDataGrouping=!0,e.prototype.setDataGrouping.call(o||{chart:this.chart},c,!1),this.frozenStates=a.preserveDataGrouping),"month"===s||"year"===s)if(o){s={range:a,max:h,chart:r,dataMin:u,dataMax:f};var g=o.minFromRange.call(s);v(s.newMax)&&(h=s.newMax),b=!1}else i=a;else if(i)g=Math.max(h-i,u),h=Math.min(g+i,f),b=!1;else if("ytd"===s){if(!o)return void(this.deferredYTDClick=t);"undefined"!==typeof f&&"undefined"!==typeof u||(u=Number.MAX_VALUE,f=Number.MIN_VALUE,r.series.forEach((function(e){(e=e.xData)&&(u=Math.min(e[0],u),f=Math.max(e[e.length-1],f))})),n=!1),s=this.getYTDExtremes(f,u,r.time.useUTC),g=p=s.min,h=s.max}else"all"===s&&o&&(r.navigator&&r.navigator.baseSeries[0]&&(r.navigator.baseSeries[0].xAxis.options.range=void 0),g=u,h=f);if(b&&a._offsetMin&&d(g)&&(g+=a._offsetMin),a._offsetMax&&d(h)&&(h+=a._offsetMax),this.dropdown&&(this.dropdown.selectedIndex=t+1),o)o.setExtremes(g,h,O(n,!0),void 0,{trigger:"rangeSelectorButton",rangeSelectorButton:a});else{var y=_(r.options.xAxis)[0],w=y.range;y.range=i;var j=y.min;y.min=p,l(r,"load",(function(){y.range=w,y.min=j}))}m(this,"afterBtnClick")}},t.prototype.setSelected=function(e){this.selected=this.options.selected=e},t.prototype.init=function(e){var t=this,n=e.options.rangeSelector,r=n.buttons||t.defaultButtons.slice(),a=n.selected,o=function(){var e=t.minInput,n=t.maxInput;e&&e.blur&&m(e,"blur"),n&&n.blur&&m(n,"blur")};t.chart=e,t.options=n,t.buttons=[],t.buttonOptions=r,this.eventsToUnbind=[],this.eventsToUnbind.push(l(e.container,"mousedown",o)),this.eventsToUnbind.push(l(e,"resize",o)),r.forEach(t.computeButtonRange),"undefined"!==typeof a&&r[a]&&this.clickButton(a,!1),this.eventsToUnbind.push(l(e,"load",(function(){e.xAxis&&e.xAxis[0]&&l(e.xAxis[0],"setExtremes",(function(n){this.max-this.min!==e.fixedRange&&"rangeSelectorButton"!==n.trigger&&"updatedData"!==n.trigger&&t.forcedDataGrouping&&!t.frozenStates&&this.setDataGrouping(!1,!1)}))})))},t.prototype.updateButtonStates=function(){var e=this,t=this.chart,n=this.dropdown,r=t.xAxis[0],a=Math.round(r.max-r.min),o=!r.hasVisibleSeries,i=t.scroller&&t.scroller.getUnionExtremes()||r,s=i.dataMin,l=i.dataMax;t=e.getYTDExtremes(l,s,t.time.useUTC);var c=t.min,u=t.max,d=e.selected,f=e.options.allButtonsEnabled,h=e.buttons,p=v(d);e.buttonOptions.forEach((function(t,i){var m=t._range,v=t.type,b=t.count||1,g=h[i],y=t._offsetMax-t._offsetMin,O=i===d,w=m>l-s,_=m<r.minRange;t=0;var j=!1,k=!1;m=m===a,("month"===v||"year"===v)&&a+36e5>=864e5*{month:28,year:365}[v]*b-y&&a-36e5<=864e5*{month:31,year:366}[v]*b+y?m=!0:"ytd"===v?(m=u-c+y===a,j=!O):"all"===v&&(m=r.max-r.min>=l-s,k=!O&&p&&m),v=!f&&(w||_||k||o),b=O&&m||m&&!p&&!j||O&&e.frozenStates,v?t=3:b&&(p=!0,t=2),g.state!==t&&(g.setState(t),n&&(n.options[i+1].disabled=v,2===t&&(n.selectedIndex=i+1)),0===t&&d===i&&e.setSelected())}))},t.prototype.computeButtonRange=function(e){var t=e.type,n=e.count||1,r={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};r[t]?e._range=r[t]*n:"month"!==t&&"year"!==t||(e._range=864e5*{month:30,year:365}[t]*n),e._offsetMin=O(e.offsetMin,0),e._offsetMax=O(e.offsetMax,0),e._range+=e._offsetMax-e._offsetMin},t.prototype.getInputValue=function(e){e="min"===e?this.minInput:this.maxInput;var t=this.chart.options.rangeSelector,n=this.chart.time;return e?("text"===e.type&&t.inputDateParser||this.defaultInputDateParser)(e.value,n.useUTC,n):0},t.prototype.setInputValue=function(e,t){var n=this.options,r=this.chart.time,a="min"===e?this.minInput:this.maxInput;if(e="min"===e?this.minDateBox:this.maxDateBox,a){var o=a.getAttribute("data-hc-time");o=d(o)?Number(o):void 0,d(t)&&(d(o)&&a.setAttribute("data-hc-time-previous",o),a.setAttribute("data-hc-time",t),o=t),a.value=r.dateFormat(this.inputTypeFormats[a.type]||n.inputEditDateFormat,o),e&&e.attr({text:r.dateFormat(n.inputDateFormat,o)})}},t.prototype.setInputExtremes=function(e,t,n){if(e="min"===e?this.minInput:this.maxInput){var r=this.inputTypeFormats[e.type],a=this.chart.time;r&&(t=a.dateFormat(r,t),e.min!==t&&(e.min=t),n=a.dateFormat(r,n),e.max!==n&&(e.max=n))}},t.prototype.showInput=function(e){var t="min"===e?this.minDateBox:this.maxDateBox;if((e="min"===e?this.minInput:this.maxInput)&&t&&this.inputGroup){var n="text"===e.type,r=this.inputGroup,a=r.translateX;r=r.translateY;var o=this.options.inputBoxWidth;u(e,{width:n?t.width+(o?-2:20)+"px":"auto",height:n?t.height-2+"px":"auto",border:"2px solid silver"}),u(e,n&&o?{left:a+t.x+"px",top:r+"px"}:{left:Math.min(Math.round(t.x+a-(e.offsetWidth-t.width)/2),this.chart.chartWidth-e.offsetWidth)+"px",top:r-(e.offsetHeight-t.height)/2+"px"})}},t.prototype.hideInput=function(e){(e="min"===e?this.minInput:this.maxInput)&&u(e,{top:"-9999em",border:0,width:"1px",height:"1px"})},t.prototype.defaultInputDateParser=function(e,t,r){var a,o=e.split("/").join("-").split(" ").join("T");(-1===o.indexOf("T")&&(o+="T00:00"),t)?o+="Z":((a=n.isSafari)&&(a=o,a=!(6<a.length&&(a.lastIndexOf("-")===a.length-6||a.lastIndexOf("+")===a.length-6))),a&&(a=new Date(o).getTimezoneOffset()/60,o+=0>=a?"+".concat(y(-a),":00"):"-".concat(y(a),":00")));return o=Date.parse(o),v(o)||(e=e.split("-"),o=Date.UTC(w(e[0]),w(e[1])-1,w(e[2]))),r&&t&&v(o)&&(o+=r.getTimezoneOffset(o)),o},t.prototype.drawInput=function(e){function t(){var t=l.maxInput,n=l.minInput,a=r.xAxis[0],o=r.scroller&&r.scroller.xAxis?r.scroller.xAxis:a,i=o.dataMin;o=o.dataMax;var s=l.getInputValue(e);s!==Number(y.getAttribute("data-hc-time-previous"))&&v(s)&&(y.setAttribute("data-hc-time-previous",s),m&&t&&v(i)?s>Number(t.getAttribute("data-hc-time"))?s=void 0:s<i&&(s=i):n&&v(o)&&(s<Number(n.getAttribute("data-hc-time"))?s=void 0:s>o&&(s=o)),"undefined"!==typeof s&&a.setExtremes(m?s:a.min,m?a.max:s,void 0,void 0,{trigger:"rangeSelectorInput"}))}var r=this.chart,a=this.div,o=this.inputGroup,l=this,d=r.renderer.style||{},f=r.renderer,h=r.options.rangeSelector,m="min"===e,g=s.lang[m?"rangeSelectorFrom":"rangeSelectorTo"]||"";g=f.label(g,0).addClass("highcharts-range-label").attr({padding:g?2:0,height:g?h.inputBoxHeight:0}).add(o),f=f.label("",0).addClass("highcharts-range-input").attr({padding:2,width:h.inputBoxWidth,height:h.inputBoxHeight,"text-align":"center"}).on("click",(function(){l.showInput(e),l[e+"Input"].focus()})),r.styledMode||f.attr({stroke:h.inputBoxBorderColor,"stroke-width":1}),f.add(o);var y=c("input",{name:e,className:"highcharts-range-selector"},void 0,a);y.setAttribute("type",i(h.inputDateFormat||"%b %e, %Y")),r.styledMode||(g.css(b(d,h.labelStyle)),f.css(b({color:"#333333"},d,h.inputStyle)),u(y,p({position:"absolute",border:0,boxShadow:"0 0 15px rgba(0,0,0,0.3)",width:"1px",height:"1px",padding:0,textAlign:"center",fontSize:d.fontSize,fontFamily:d.fontFamily,top:"-9999em"},h.inputStyle))),y.onfocus=function(){l.showInput(e)},y.onblur=function(){y===n.doc.activeElement&&t(),l.hideInput(e),l.setInputValue(e),y.blur()};var O=!1;return y.onchange=function(){O||(t(),l.hideInput(e),y.blur())},y.onkeypress=function(e){13===e.keyCode&&t()},y.onkeydown=function(e){O=!0,38!==e.keyCode&&40!==e.keyCode||t()},y.onkeyup=function(){O=!1},{dateBox:f,input:y,label:g}},t.prototype.getPosition=function(){var e=this.chart,t=e.options.rangeSelector;return e="top"===t.verticalAlign?e.plotTop-e.axisOffset[0]:0,{buttonTop:e+t.buttonPosition.y,inputTop:e+t.inputPosition.y-10}},t.prototype.getYTDExtremes=function(e,t,n){var r=this.chart.time,a=new r.Date(e),o=r.get("FullYear",a);return n=n?r.Date.UTC(o,0,1):+new r.Date(o,0,1),t=Math.max(t,n),a=a.getTime(),{max:Math.min(e||a,a),min:t}},t.prototype.render=function(e,t){var n=this.chart,r=n.renderer,a=n.container,o=n.options,i=o.rangeSelector,s=O(o.chart.style&&o.chart.style.zIndex,0)+1;if(o=i.inputEnabled,!1!==i.enabled){if(this.rendered||(this.group=r.g("range-selector-group").attr({zIndex:7}).add(),this.div=c("div",void 0,{position:"relative",height:0,zIndex:s}),this.buttonOptions.length&&this.renderButtons(),a.parentNode&&a.parentNode.insertBefore(this.div,a),o&&(this.inputGroup=r.g("input-group").add(this.group),r=this.drawInput("min"),this.minDateBox=r.dateBox,this.minLabel=r.label,this.minInput=r.input,r=this.drawInput("max"),this.maxDateBox=r.dateBox,this.maxLabel=r.label,this.maxInput=r.input)),o&&(this.setInputValue("min",e),this.setInputValue("max",t),e=n.scroller&&n.scroller.getUnionExtremes()||n.xAxis[0]||{},d(e.dataMin)&&d(e.dataMax)&&(n=n.xAxis[0].minRange||0,this.setInputExtremes("min",e.dataMin,Math.min(e.dataMax,this.getInputValue("max"))-n),this.setInputExtremes("max",Math.max(e.dataMin,this.getInputValue("min"))+n,e.dataMax)),this.inputGroup)){var l=0;[this.minLabel,this.minDateBox,this.maxLabel,this.maxDateBox].forEach((function(e){if(e){var t=e.getBBox().width;t&&(e.attr({x:l}),l+=t+i.inputSpacing)}}))}this.alignElements(),this.rendered=!0}},t.prototype.renderButtons=function(){var e=this,t=this.buttons,r=this.options,a=s.lang,o=this.chart.renderer,i=b(r.buttonTheme),u=i&&i.states,d=i.width||28;delete i.width,delete i.states,this.buttonGroup=o.g("range-selector-buttons").add(this.group);var f=this.dropdown=c("select",void 0,{position:"absolute",width:"1px",height:"1px",padding:0,border:0,top:"-9999em",cursor:"pointer",opacity:1e-4},this.div);l(f,"touchstart",(function(){f.style.fontSize="16px"})),[[n.isMS?"mouseover":"mouseenter"],[n.isMS?"mouseout":"mouseleave"],["change","click"]].forEach((function(n){var r=n[0],a=n[1];l(f,r,(function(){var n=t[e.currentButtonIndex()];n&&m(n.element,a||r)}))})),this.zoomText=o.label(a&&a.rangeSelectorZoom||"",0).attr({padding:r.buttonTheme.padding,height:r.buttonTheme.height,paddingLeft:0,paddingRight:0}).add(this.buttonGroup),this.chart.styledMode||(this.zoomText.css(r.labelStyle),i["stroke-width"]=O(i["stroke-width"],0)),c("option",{textContent:this.zoomText.textStr,disabled:!0},void 0,f),this.buttonOptions.forEach((function(n,r){c("option",{textContent:n.title||n.text},void 0,f),t[r]=o.button(n.text,0,0,(function(t){var a,o=n.events&&n.events.click;o&&(a=o.call(n,t)),!1!==a&&e.clickButton(r),e.isActive=!0}),i,u&&u.hover,u&&u.select,u&&u.disabled).attr({"text-align":"center",width:d}).add(e.buttonGroup),n.title&&t[r].attr("title",n.title)}))},t.prototype.alignElements=function(){var e=this,t=this.buttonGroup,n=this.buttons,r=this.chart,a=this.group,o=this.inputGroup,i=this.options,s=this.zoomText,l=r.options,c=l.exporting&&!1!==l.exporting.enabled&&l.navigation&&l.navigation.buttonOptions;l=i.buttonPosition;var u=i.inputPosition,d=i.verticalAlign,f=function(t,n){return c&&e.titleCollision(r)&&"top"===d&&"right"===n.align&&n.y-t.getBBox().height-12<(c.y||0)+(c.height||0)+r.spacing[0]?-40:0},h=r.plotLeft;if(a&&l&&u){var p=l.x-r.spacing[3];if(t){if(this.positionButtons(),!this.initialButtonGroupWidth){var m=0;s&&(m+=s.getBBox().width+5),n.forEach((function(e,t){m+=e.width,t!==n.length-1&&(m+=i.buttonSpacing)})),this.initialButtonGroupWidth=m}h-=r.spacing[3],this.updateButtonStates(),s=f(t,l),this.alignButtonGroup(s),a.placed=t.placed=r.hasLoaded}t=0,o&&(t=f(o,u),"left"===u.align?p=h:"right"===u.align&&(p=-Math.max(r.axisOffset[1],-t)),o.align({y:u.y,width:o.getBBox().width,align:u.align,x:u.x+p-2},!0,r.spacingBox),o.placed=r.hasLoaded),this.handleCollision(t),a.align({verticalAlign:d},!0,r.spacingBox),o=a.alignAttr.translateY,t=a.getBBox().height+20,f=0,"bottom"===d&&(f=(f=r.legend&&r.legend.options)&&"bottom"===f.verticalAlign&&f.enabled&&!f.floating?r.legend.legendHeight+O(f.margin,10):0,t=t+f-20,f=o-t-(i.floating?0:i.y)-(r.titleOffset?r.titleOffset[2]:0)-10),"top"===d?(i.floating&&(f=0),r.titleOffset&&r.titleOffset[0]&&(f=r.titleOffset[0]),f+=r.margin[0]-r.spacing[0]||0):"middle"===d&&(u.y===l.y?f=o:(u.y||l.y)&&(f=0>u.y||0>l.y?f-Math.min(u.y,l.y):o-t)),a.translate(i.x,i.y+Math.floor(f)),l=this.minInput,u=this.maxInput,o=this.dropdown,i.inputEnabled&&l&&u&&(l.style.marginTop=a.translateY+"px",u.style.marginTop=a.translateY+"px"),o&&(o.style.marginTop=a.translateY+"px")}},t.prototype.alignButtonGroup=function(e,t){var n=this.chart,r=this.buttonGroup,a=this.options.buttonPosition,o=n.plotLeft-n.spacing[3],i=a.x-n.spacing[3];"right"===a.align?i+=e-o:"center"===a.align&&(i-=o/2),r&&r.align({y:a.y,width:O(t,this.initialButtonGroupWidth),align:a.align,x:i},!0,n.spacingBox)},t.prototype.positionButtons=function(){var e=this.buttons,t=this.chart,n=this.options,r=this.zoomText,a=t.hasLoaded?"animate":"attr",o=n.buttonPosition,i=t=t.plotLeft;for(r&&"hidden"!==r.visibility&&(r[a]({x:O(t+o.x,t)}),i+=o.x+r.getBBox().width+5),r=0,o=this.buttonOptions.length;r<o;++r)"hidden"!==e[r].visibility?(e[r][a]({x:i}),i+=e[r].width+n.buttonSpacing):e[r][a]({x:t})},t.prototype.handleCollision=function(e){var t=this,n=this.chart,r=this.buttonGroup,a=this.inputGroup,o=this.options,i=o.buttonPosition,s=o.dropdown,l=o.inputPosition;o=function(){var e=0;return t.buttons.forEach((function(t){t=t.getBBox(),t.width>e&&(e=t.width)})),e};var c=function(t){if(a&&r){var n=a.alignAttr.translateX+a.alignOptions.x-e+a.getBBox().x+2,o=a.alignOptions.width,s=r.alignAttr.translateX+r.getBBox().x;return s+t>n&&n+o>s&&i.y<l.y+a.getBBox().height}return!1},u=function(){a&&r&&a.attr({translateX:a.alignAttr.translateX+(n.axisOffset[1]>=-e?0:-e),translateY:a.alignAttr.translateY+r.getBBox().height+10})};if(r){if("always"===s)return this.collapseButtons(e),void(c(o())&&u());"never"===s&&this.expandButtons()}a&&r?l.align===i.align||c(this.initialButtonGroupWidth+20)?"responsive"===s?(this.collapseButtons(e),c(o())&&u()):u():"responsive"===s&&this.expandButtons():r&&"responsive"===s&&(this.initialButtonGroupWidth>n.plotWidth?this.collapseButtons(e):this.expandButtons())},t.prototype.collapseButtons=function(e){var t=this.buttons,n=this.buttonOptions,r=this.chart,a=this.dropdown,o=this.options,i=this.zoomText,s=r.userOptions.rangeSelector&&r.userOptions.rangeSelector.buttonTheme||{},l=function(e){return{text:e?e+" ▾":"▾",width:"auto",paddingLeft:O(o.buttonTheme.paddingLeft,s.padding,8),paddingRight:O(o.buttonTheme.paddingRight,s.padding,8)}};i&&i.hide();var c=!1;n.forEach((function(e,n){n=t[n],2!==n.state?n.hide():(n.show(),n.attr(l(e.text)),c=!0)})),c||(a&&(a.selectedIndex=0),t[0].show(),t[0].attr(l(this.zoomText&&this.zoomText.textStr))),n=o.buttonPosition.align,this.positionButtons(),"right"!==n&&"center"!==n||this.alignButtonGroup(e,t[this.currentButtonIndex()].getBBox().width),this.showDropdown()},t.prototype.expandButtons=function(){var e=this.buttons,t=this.buttonOptions,n=this.options,r=this.zoomText;this.hideDropdown(),r&&r.show(),t.forEach((function(t,r){r=e[r],r.show(),r.attr({text:t.text,width:n.buttonTheme.width||28,paddingLeft:O(n.buttonTheme.paddingLeft,"unset"),paddingRight:O(n.buttonTheme.paddingRight,"unset")}),2>r.state&&r.setState(0)})),this.positionButtons()},t.prototype.currentButtonIndex=function(){var e=this.dropdown;return e&&0<e.selectedIndex?e.selectedIndex-1:0},t.prototype.showDropdown=function(){var e=this.buttonGroup,t=this.buttons,n=this.chart,r=this.dropdown;if(e&&r){var a=e.translateX;e=e.translateY,t=t[this.currentButtonIndex()].getBBox(),u(r,{left:n.plotLeft+a+"px",top:e+.5+"px",width:t.width+"px",height:t.height+"px"}),this.hasVisibleDropdown=!0}},t.prototype.hideDropdown=function(){var e=this.dropdown;e&&(u(e,{top:"-9999em",width:"1px",height:"1px"}),this.hasVisibleDropdown=!1)},t.prototype.getHeight=function(){var e=this.options,t=this.group,n=e.y,r=e.buttonPosition.y,a=e.inputPosition.y;return e.height?e.height:(this.alignElements(),e=t?t.getBBox(!0).height+13+n:0,t=Math.min(a,r),(0>a&&0>r||0<a&&0<r)&&(e+=Math.abs(t)),e)},t.prototype.titleCollision=function(e){return!(e.options.title.text||e.options.subtitle.text)},t.prototype.update=function(e){var t=this.chart;b(!0,t.options.rangeSelector,e),this.destroy(),this.init(t),this.render()},t.prototype.destroy=function(){var e=this,n=e.minInput,r=e.maxInput;e.eventsToUnbind&&(e.eventsToUnbind.forEach((function(e){return e()})),e.eventsToUnbind=void 0),f(e.buttons),n&&(n.onfocus=n.onblur=n.onchange=null),r&&(r.onfocus=r.onblur=r.onchange=null),g(e,(function(n,r){n&&"chart"!==r&&(n instanceof a?n.destroy():n instanceof window.HTMLElement&&h(n)),n!==t.prototype[r]&&(e[r]=null)}),this)},t}(),p(t.prototype,{defaultButtons:[{type:"month",count:1,text:"1m",title:"View 1 month"},{type:"month",count:3,text:"3m",title:"View 3 months"},{type:"month",count:6,text:"6m",title:"View 6 months"},{type:"ytd",text:"YTD",title:"View year to date"},{type:"year",count:1,text:"1y",title:"View 1 year"},{type:"all",text:"All",title:"View all"}],inputTypeFormats:{"datetime-local":"%Y-%m-%dT%H:%M:%S",date:"%Y-%m-%d",time:"%H:%M:%S"}}),t})),t(e,"Core/Axis/OrdinalAxis.js",[e["Core/Axis/Axis.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],(function(e,t,n,r){var a,o=r.addEvent,i=r.correctFloat,s=r.css,l=r.defined,c=r.error,u=r.pick,d=r.timeUnits,f=[];return function(e){function r(e,t,n,r,a,o,i){void 0===a&&(a=[]),void 0===o&&(o=0);var s,u,f={},h=this.options.tickPixelInterval,p=this.chart.time,m=[],v=0,b=[],g=-Number.MAX_VALUE;if(!this.options.ordinal&&!this.options.breaks||!a||3>a.length||"undefined"===typeof t)return p.getTimeTicks.apply(p,arguments);var y=a.length;for(s=0;s<y;s++){var O=s&&a[s-1]>n;if(a[s]<t&&(v=s),s===y-1||a[s+1]-a[s]>5*o||O){if(a[s]>g){for(u=p.getTimeTicks(e,a[v],a[s],r);u.length&&u[0]<=g;)u.shift();u.length&&(g=u[u.length-1]),m.push(b.length),b=b.concat(u)}v=s+1}if(O)break}if(u){if(u=u.info,i&&u.unitRange<=d.hour){for(s=b.length-1,v=1;v<s;v++)if(p.dateFormat("%d",b[v])!==p.dateFormat("%d",b[v-1])){f[b[v]]="day";var w=!0}w&&(f[b[0]]="day"),u.higherRanks=f}u.segmentStarts=m,b.info=u}else c(12,!1,this.chart);if(i&&l(h)){for(u=b.length,p=[],v=[],s=void 0,w=u;w--;)m=this.translate(b[w]),s&&(v[w]=s-m),p[w]=s=m;for(v.sort(),v=v[Math.floor(v.length/2)],v<.6*h&&(v=null),w=b[u-1]>n?u-1:u,s=void 0;w--;)m=p[w],u=Math.abs(s-m),s&&u<.8*h&&(null===v||u<.8*v)?(f[b[w]]&&!f[b[w+1]]?(u=w+1,s=m):u=w,b.splice(u,1)):s=m}return b}function a(e){var t=this.ordinal.positions;if(!t)return e;var n=t.length-1;if(0>e)e=t[0];else if(e>n)e=t[n];else{n=Math.floor(e);var r=e-n}return"undefined"!==typeof r&&"undefined"!==typeof t[n]?t[n]+(r?r*(t[n+1]-t[n]):0):e}function h(e){var t=this.ordinal,n=t.positions;if(!n)return e;var r=(e-(this.old?this.old.min:this.min))*(this.old?this.old.transA:this.transA)+this.minPixelPadding;if(0<r&&r<this.left+this.len||(t.extendedOrdinalPositions||(t.extendedOrdinalPositions=t.getExtendedPositions()),n=t.extendedOrdinalPositions),n&&n.length){if(e=t.getIndexOfPoint(r,n),t=i(e%1),0<=e&&e<n.length-1)return n[Math.floor(e)]+t*(n[Math.ceil(e)]-n[Math.floor(e)]);t=n.length,r=n[0],n=n[t-1];var a=(n-r)/(t-1);return 0>e?r+a*e:n+a*(e-t)}return e}function p(t,n){var r=e.Additions.findIndexOf(t,n,!0);return t[r]===n?r:r+(n-t[r])/(t[r+1]-t[r])}function m(){this.ordinal||(this.ordinal=new e.Additions(this))}function v(){this.isXAxis&&l(this.options.overscroll)&&this.max===this.dataMax&&(!this.chart.mouseIsDown||this.isInternal)&&(!this.eventArgs||this.eventArgs&&"navigator"!==this.eventArgs.trigger)&&(this.max+=this.options.overscroll,!this.isInternal&&l(this.userMin)&&(this.min+=this.options.overscroll))}function b(){this.horiz&&!this.isDirty&&(this.isDirty=this.isOrdinal&&this.chart.navigator&&!this.chart.navigator.adaptToUpdatedData)}function g(){this.ordinal&&(this.ordinal.beforeSetTickPositions(),this.tickInterval=this.ordinal.postProcessTickInterval(this.tickInterval))}function y(e){var t=this.xAxis[0],n=t.options.overscroll,r=e.originalEvent.chartX,a=this.options.chart.panning,o=!1;if(a&&"y"!==a.type&&t.options.ordinal&&t.series.length){var i=this.mouseDownX,l=t.getExtremes(),c=l.dataMax,u=l.min,d=l.max,f=this.hoverPoints,h=t.closestPointRange||t.ordinal&&t.ordinal.overscrollPointsRange;i=(i-r)/(t.translationSlope*(t.ordinal.slope||h)),h=t.ordinal.getExtendedPositions(),h={ordinal:{positions:h,extendedOrdinalPositions:h}};var p=t.index2val,m=t.val2lin,v=void 0,b=v=void 0,g=void 0;h.ordinal.positions?1<Math.abs(i)&&(f&&f.forEach((function(e){e.setState()})),0>i?(b=h,g=t.ordinal.positions?t:h):(b=t.ordinal.positions?t:h,g=h),v=g.ordinal.positions,c>v[v.length-1]&&v.push(c),this.fixedRange=d-u,v=t.navigatorAxis.toFixedRange(void 0,void 0,p.apply(b,[m.apply(b,[u,!0])+i]),p.apply(g,[m.apply(g,[d,!0])+i])),v.min>=Math.min(l.dataMin,u)&&v.max<=Math.max(c,d)+n&&t.setExtremes(v.min,v.max,!0,!1,{trigger:"pan"}),this.mouseDownX=r,s(this.container,{cursor:"move"})):o=!0}else o=!0;o||a&&/y/.test(a.type)?n&&(t.max=t.dataMax+n):e.preventDefault()}function O(){var e=this.xAxis;e&&e.options.ordinal&&(delete e.ordinal.index,delete e.ordinal.extendedOrdinalPositions)}function w(e,t){var n=this.ordinal,r=n.positions,a=n.slope,o=n.extendedOrdinalPositions;if(!r)return e;var i=r.length;if(r[0]<=e&&r[i-1]>=e)e=p(r,e);else{if(o||(o=n.getExtendedPositions&&n.getExtendedPositions(),n.extendedOrdinalPositions=o),!o||!o.length)return e;i=o.length,a||(a=(o[i-1]-o[0])/i),r=p(o,r[0]),e>=o[0]&&e<=o[i-1]?e=p(o,e)-r:e<o[0]?(e=o[0]-e,e=-r-e/a):(e-=o[i-1],e=e/a+i-r)}return t?e:a*(e||0)+n.offset}e.compose=function(e,t,n){if(-1===f.indexOf(e)){f.push(e);var i=e.prototype;i.getTimeTicks=r,i.index2val=a,i.lin2val=h,i.val2lin=w,i.ordinal2lin=i.val2lin,o(e,"afterInit",m),o(e,"foundExtremes",v),o(e,"afterSetScale",b),o(e,"initialAxisTranslation",g)}return-1===f.indexOf(n)&&(f.push(n),o(n,"pan",y)),-1===f.indexOf(t)&&(f.push(t),o(t,"updatedData",O)),e};var _=function(){function e(e){this.index={},this.axis=e}return e.prototype.beforeSetTickPositions=function(){var e=this.axis,t=e.ordinal,n=e.getExtremes(),r=n.min,a=n.max,o=e.isXAxis&&!!e.options.breaks;n=e.options.ordinal;var i,s,l=e.chart.options.chart.ignoreHiddenSeries,c=[],d=Number.MAX_VALUE,f=!1,h=!1,p=!1;if(n||o){var m=0;e.series.forEach((function(e,t){if(i=[],0<t&&"highcharts-navigator-series"!==e.options.id&&1<e.processedXData.length&&(h=m!==e.processedXData[1]-e.processedXData[0]),m=e.processedXData[1]-e.processedXData[0],e.boosted&&(p=e.boosted),!(l&&!1===e.visible||!1===e.takeOrdinalPosition&&!o)&&(c=c.concat(e.processedXData),v=c.length,c.sort((function(e,t){return e-t})),d=Math.min(d,u(e.closestPointRange,d)),v)){for(t=0;t<v-1;)c[t]!==c[t+1]&&i.push(c[t+1]),t++;i[0]!==c[0]&&i.unshift(c[0]),c=i}})),h&&p&&(c.pop(),c.shift());var v=c.length;if(2<v){var b=c[1]-c[0];for(s=v-1;s--&&!f;)c[s+1]-c[s]!==b&&(f=!0);!e.options.keepOrdinalPadding&&(c[0]-r>b||a-c[c.length-1]>b)&&(f=!0)}else e.options.overscroll&&(2===v?d=c[1]-c[0]:1===v?(d=e.options.overscroll,c=[c[0],c[0]+d]):d=t.overscrollPointsRange);f||e.forceOrdinal?(e.options.overscroll&&(t.overscrollPointsRange=d,c=c.concat(t.getOverscrollPositions())),t.positions=c,b=e.ordinal2lin(Math.max(r,c[0]),!0),s=Math.max(e.ordinal2lin(Math.min(a,c[c.length-1]),!0),1),t.slope=a=(a-r)/(s-b),t.offset=r-b*a):(t.overscrollPointsRange=u(e.closestPointRange,t.overscrollPointsRange),t.positions=e.ordinal.slope=t.offset=void 0)}e.isOrdinal=n&&f,t.groupIntervalFactor=null},e.findIndexOf=function(e,t,n){for(var r,a=0,o=e.length-1;a<o;)r=Math.ceil((a+o)/2),e[r]<=t?a=r:o=r-1;return e[a]===t||n?a:-1},e.prototype.getExtendedPositions=function(){var e=this,r=e.axis,a=r.constructor.prototype,o=r.chart,i=r.series[0].currentDataGrouping,s=i?i.count+i.unitName:"raw",l=r.options.overscroll,c=r.getExtremes(),u=void 0,d=e.index;if(d||(d=e.index={}),!d[s]){var f={series:[],chart:o,forceOrdinal:!1,getExtremes:function(){return{min:c.dataMin,max:c.dataMax+l}},getGroupPixelWidth:a.getGroupPixelWidth,getTimeTicks:a.getTimeTicks,options:{ordinal:!0},ordinal:{getGroupIntervalFactor:this.getGroupIntervalFactor},ordinal2lin:a.ordinal2lin,getIndexOfPoint:a.getIndexOfPoint,val2lin:a.val2lin};f.ordinal.axis=f,r.series.forEach((function(r){u={xAxis:f,xData:r.xData.slice(),chart:o,destroyGroupedData:t.noop,getProcessedData:n.prototype.getProcessedData,applyGrouping:n.prototype.applyGrouping},u.xData=u.xData.concat(e.getOverscrollPositions()),u.options={dataGrouping:i?{firstAnchor:"firstPoint",anchor:"middle",lastAnchor:"lastPoint",enabled:!0,forced:!0,approximation:"open",units:[[i.unitName,[i.count]]]}:{enabled:!1}},f.series.push(u),r.processData.apply(u)})),u.closestPointRange!==u.basePointRange&&u.currentDataGrouping&&(f.forceOrdinal=!0),r.ordinal.beforeSetTickPositions.apply({axis:f}),d[s]=f.ordinal.positions}return d[s]},e.prototype.getGroupIntervalFactor=function(e,t,n){n=n.processedXData;var r=n.length,a=[],o=this.groupIntervalFactor;if(!o){for(o=0;o<r-1;o++)a[o]=n[o+1]-n[o];a.sort((function(e,t){return e-t})),a=a[Math.floor(r/2)],e=Math.max(e,n[0]),t=Math.min(t,n[r-1]),this.groupIntervalFactor=o=r*a/(t-e)}return o},e.prototype.getIndexOfPoint=function(t,n){var r=this.axis,a=this.positions?this.positions[0]:0,o=r.series[0].points&&r.series[0].points[0]&&r.series[0].points[0].plotX||r.minPixelPadding;return 1<r.series.length&&r.series.forEach((function(e){e.points&&l(e.points[0])&&l(e.points[0].plotX)&&e.points[0].plotX<o&&e.points[0].plotX>=u(r.min,-1/0)&&(o=e.points[0].plotX)})),t=(t-o)/(r.translationSlope*(this.slope||r.closestPointRange||this.overscrollPointsRange)),e.findIndexOf(n,a)+t},e.prototype.getOverscrollPositions=function(){var e=this.axis,t=e.options.overscroll,n=this.overscrollPointsRange,r=[],a=e.dataMax;if(l(n))for(;a<=e.dataMax+t;)a+=n,r.push(a);return r},e.prototype.postProcessTickInterval=function(e){var t=this.axis,n=this.slope;return n?t.options.breaks?t.closestPointRange||e:e/(n/t.closestPointRange):e},e}();e.Additions=_}(a||(a={})),a})),t(e,"Series/HLC/HLCPoint.js",[e["Core/Series/SeriesRegistry.js"]],(function(e){var t=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();return function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.close=void 0,t.high=void 0,t.low=void 0,t.options=void 0,t.plotClose=void 0,t.series=void 0,t}return t(n,e),n}(e.seriesTypes.column.prototype.pointClass)})),t(e,"Series/HLC/HLCSeriesDefaults.js",[],(function(){return{lineWidth:1,tooltip:{pointFormat:'<span style="color:{point.color}">●</span> <b> {series.name}</b><br/>High: {point.high}<br/>Low: {point.low}<br/>Close: {point.close}<br/>'},threshold:null,states:{hover:{lineWidth:3}},stickyTracking:!0}})),t(e,"Series/HLC/HLCSeries.js",[e["Series/HLC/HLCPoint.js"],e["Series/HLC/HLCSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n,r){var a=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=n.seriesTypes.column,i=r.extend,s=r.merge;return r=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t.yData=void 0,t}return a(n,e),n.prototype.extendStem=function(e,t,n){var r=e[0];e=e[1],"number"===typeof r[2]&&(r[2]=Math.max(n+t,r[2])),"number"===typeof e[2]&&(e[2]=Math.min(n-t,e[2]))},n.prototype.getPointPath=function(e,t){t=t.strokeWidth();var n=e.series,r=t%2/2,a=Math.round(e.plotX)-r,o=Math.round(e.shapeArgs.width/2),i=[["M",a,Math.round(e.yBottom)],["L",a,Math.round(e.plotHigh)]];return null!==e.close&&(e=Math.round(e.plotClose)+r,i.push(["M",a,e],["L",a+o,e]),n.extendStem(i,t/2,e)),i},n.prototype.drawSinglePoint=function(e){var t=e.series,n=t.chart,r=e.graphic;"undefined"!==typeof e.plotY&&(r||(e.graphic=r=n.renderer.path().add(t.group)),n.styledMode||r.attr(t.pointAttribs(e,e.selected&&"select")),t=t.getPointPath(e,r),r[r?"animate":"attr"]({d:t}).addClass(e.getClassName(),!0))},n.prototype.drawPoints=function(){this.points.forEach(this.drawSinglePoint)},n.prototype.init=function(){e.prototype.init.apply(this,arguments),this.options.stacking=void 0},n.prototype.pointAttribs=function(t,n){return t=e.prototype.pointAttribs.call(this,t,n),delete t.fill,t},n.prototype.toYData=function(e){return[e.high,e.low,e.close]},n.prototype.translate=function(){var t=this,n=t.yAxis,r=this.pointArrayMap&&this.pointArrayMap.slice()||[],a=r.map((function(e){return"plot".concat(e.charAt(0).toUpperCase()+e.slice(1))}));a.push("yBottom"),r.push("low"),e.prototype.translate.apply(t),t.points.forEach((function(e){r.forEach((function(r,o){r=e[r],null!==r&&(t.dataModify&&(r=t.dataModify.modifyValue(r)),e[a[o]]=n.toPixels(r,!0))})),e.tooltipPos[1]=e.plotHigh+n.pos-t.chart.plotTop}))},n.defaultOptions=s(o.defaultOptions,t),n}(o),i(r.prototype,{pointClass:e,animate:null,directTouch:!1,pointArrayMap:["high","low","close"],pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"},pointValKey:"close"}),n.registerSeriesType("hlc",r),r})),t(e,"Series/OHLC/OHLCPoint.js",[e["Core/Series/SeriesRegistry.js"]],(function(e){var t=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();return function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.open=void 0,t.options=void 0,t.plotOpen=void 0,t.series=void 0,t}return t(n,e),n.prototype.getClassName=function(){return e.prototype.getClassName.call(this)+(this.open<this.close?" highcharts-point-up":" highcharts-point-down")},n.prototype.resolveUpColor=function(){this.open<this.close&&!this.options.color&&this.series.options.upColor&&(this.color=this.series.options.upColor)},n.prototype.resolveColor=function(){e.prototype.resolveColor.call(this),this.resolveUpColor()},n.prototype.getZone=function(){var t=e.prototype.getZone.call(this);return this.resolveUpColor(),t},n.prototype.applyOptions=function(){return e.prototype.applyOptions.apply(this,arguments),this.resolveColor&&this.resolveColor(),this},n}(e.seriesTypes.hlc.prototype.pointClass)})),t(e,"Series/OHLC/OHLCSeriesDefaults.js",[],(function(){return{tooltip:{pointFormat:'<span style="color:{point.color}">●</span> <b> {series.name}</b><br/>Open: {point.open}<br/>High: {point.high}<br/>Low: {point.low}<br/>Close: {point.close}<br/>'}}})),t(e,"Series/OHLC/OHLCSeries.js",[e["Series/OHLC/OHLCPoint.js"],e["Series/OHLC/OHLCSeriesDefaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n,r){function a(e){e=e.options;var t=e.dataGrouping;t&&e.useOhlcData&&"highcharts-navigator-series"!==e.id&&(t.approximation="ohlc")}function o(e){e=e.options,e.useOhlcData&&"highcharts-navigator-series"!==e.id&&c(this,{pointValKey:f.prototype.pointValKey,pointArrayMap:f.prototype.pointArrayMap,toYData:f.prototype.toYData})}var i=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=n.seriesTypes.hlc,l=r.addEvent,c=r.extend,u=r.merge,d=[],f=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return i(n,e),n.compose=function(e){for(var t=1;t<arguments.length;t++);-1===d.indexOf(e)&&(d.push(e),l(e,"afterSetOptions",a),l(e,"init",o))},n.prototype.getPointPath=function(t,n){var r=e.prototype.getPointPath.call(this,t,n);n=n.strokeWidth();var a=n%2/2,o=Math.round(t.plotX)-a,i=Math.round(t.shapeArgs.width/2);return null!==t.open&&(t=Math.round(t.plotOpen)+a,r.push(["M",o,t],["L",o-i,t]),e.prototype.extendStem.call(this,r,n/2,t)),r},n.prototype.pointAttribs=function(t,n){n=e.prototype.pointAttribs.call(this,t,n);var r=this.options;return delete n.fill,!t.options.color&&r.upColor&&t.open<t.close&&(n.stroke=r.upColor),n},n.prototype.toYData=function(e){return[e.open,e.high,e.low,e.close]},n.defaultOptions=u(s.defaultOptions,t),n}(s);return c(f.prototype,{pointClass:e,pointArrayMap:["open","high","low","close"]}),n.registerSeriesType("ohlc",f),f})),t(e,"Series/Candlestick/CandlestickSeriesDefaults.js",[e["Core/Defaults.js"],e["Core/Utilities.js"]],(function(e,t){return{states:{hover:{lineWidth:2}},threshold:null,lineColor:"#000000",lineWidth:1,upColor:"#ffffff",stickyTracking:!0}})),t(e,"Series/Candlestick/CandlestickSeries.js",[e["Series/Candlestick/CandlestickSeriesDefaults.js"],e["Core/Defaults.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t,n,r){var a=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=t.defaultOptions;t=n.seriesTypes;var i=t.column,s=t.ohlc,l=r.merge;return r=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return a(n,t),n.prototype.pointAttribs=function(e,t){var n=i.prototype.pointAttribs.call(this,e,t),r=this.options,a=e.open<e.close,o=r.lineColor||this.color,s=e.color||this.color;return n["stroke-width"]=r.lineWidth,n.fill=e.options.color||a&&r.upColor||s,n.stroke=e.options.lineColor||a&&r.upLineColor||o,t&&(e=r.states[t],n.fill=e.color||n.fill,n.stroke=e.lineColor||n.stroke,n["stroke-width"]=e.lineWidth||n["stroke-width"]),n},n.prototype.drawPoints=function(){for(var e=this.chart,t=this.yAxis.reversed,n=0,r=this.points;n<r.length;n++){var a=r[n],o=a.graphic,i=!o;if("undefined"!==typeof a.plotY){o||(a.graphic=o=e.renderer.path().add(this.group)),this.chart.styledMode||o.attr(this.pointAttribs(a,a.selected&&"select")).shadow(this.options.shadow);var s=o.strokeWidth()%2/2,l=Math.round(a.plotX)-s,c=a.plotOpen,u=a.plotClose,d=Math.min(c,u);c=Math.max(c,u);var f=Math.round(a.shapeArgs.width/2);u=t?c!==a.yBottom:Math.round(d)!==Math.round(a.plotHigh);var h=t?Math.round(d)!==Math.round(a.plotHigh):c!==a.yBottom;d=Math.round(d)+s,c=Math.round(c)+s,s=[],s.push(["M",l-f,c],["L",l-f,d],["L",l+f,d],["L",l+f,c],["Z"],["M",l,d],["L",l,u?Math.round(t?a.yBottom:a.plotHigh):d],["M",l,c],["L",l,h?Math.round(t?a.plotHigh:a.yBottom):c]),o[i?"attr":"animate"]({d:s}).addClass(a.getClassName(),!0)}}},n.defaultOptions=l(s.defaultOptions,o.plotOptions,{tooltip:s.defaultOptions.tooltip},e),n}(s),n.registerSeriesType("candlestick",r),r})),t(e,"Series/Flags/FlagsPoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],(function(e,t){var n=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),r=t.isNumber;return function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t.ttBelow=!1,t}return n(t,e),t.prototype.isValid=function(){return r(this.y)||"undefined"===typeof this.y},t.prototype.hasNewShapeType=function(){var e=this.options.shape||this.series.options.shape;return this.graphic&&e&&e!==this.graphic.symbolKey},t}(e.seriesTypes.column.prototype.pointClass)})),t(e,"Series/Flags/FlagsSeriesDefaults.js",[],(function(){return{pointRange:0,allowOverlapX:!1,shape:"flag",stackDistance:12,textAlign:"center",tooltip:{pointFormat:"{point.text}"},threshold:null,y:-30,fillColor:"#ffffff",lineWidth:1,states:{hover:{lineColor:"#000000",fillColor:"#ccd6eb"}},style:{fontSize:"11px",fontWeight:"bold"}}})),t(e,"Series/Flags/FlagsSymbols.js",[e["Core/Renderer/RendererRegistry.js"]],(function(e){var t;return function(t){function n(e,t,n,r,a){var o=a&&a.anchorX||e;a=a&&a.anchorY||t;var i=this.circle(o-1,a-1,2,2);return i.push(["M",o,a],["L",e,t+r],["L",e,t],["L",e+n,t],["L",e+n,t+r],["L",e,t+r],["Z"]),i}function r(e,t){e[t+"pin"]=function(n,r,a,o,i){var s=i&&i.anchorX;i=i&&i.anchorY,"circle"===t&&o>a&&(n-=Math.round((o-a)/2),a=o);var l=e[t](n,r,a,o);if(s&&i){var c=s;"circle"===t?c=n+a/2:(n=l[0],a=l[1],"M"===n[0]&&"L"===a[0]&&(c=(n[1]+a[1])/2)),l.push(["M",c,r>i?r:r+o],["L",s,i]),l=l.concat(e.circle(s-1,i-1,2,2))}return l}}var a=[];t.compose=function(t){if(-1===a.indexOf(t)){a.push(t);var o=t.prototype.symbols;o.flag=n,r(o,"circle"),r(o,"square")}var i=e.getRendererType();a.indexOf(i)&&(a.push(i),o=t.prototype.symbols,t=i.prototype.symbols,t.circlepin=o.circlepin,t.flag=o.flag.bind(o),t.squarepin=o.squarepin)}}(t||(t={})),t})),t(e,"Series/OnSeriesComposition.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/Series.js"],e["Core/Utilities.js"]],(function(e,t,n){var r,a=e.prototype,o=t.prototype,i=n.defined,s=n.stableSort;return function(e){function t(e){return o.getPlotBox.call(this.options.onSeries&&this.chart.get(this.options.onSeries)||this,e)}function n(){a.translate.apply(this);var e,t=this,n=t.options,r=t.chart,o=t.points,l=n.onSeries,c=(l=l&&r.get(l))&&l.options.step,u=l&&l.points,d=r.inverted,f=t.xAxis,h=t.yAxis;r=o.length-1,n=n.onKey||"y";var p,m=u&&u.length,v=0;if(l&&l.visible&&m){v=(l.pointXOffset||0)+(l.barW||0)/2;var b=l.currentDataGrouping,g=u[m-1].x+(b?b.totalRange:0);for(s(o,(function(e,t){return e.x-t.x})),n="plot"+n[0].toUpperCase()+n.substr(1);m--&&o[r];){var y=u[m];if(b=o[r],b.y=y.y,y.x<=b.x&&"undefined"!==typeof y[n]){if(b.x<=g&&(b.plotY=y[n],y.x<b.x&&!c&&(p=u[m+1])&&"undefined"!==typeof p[n])){var O=(b.x-y.x)/(p.x-y.x);b.plotY+=O*(p[n]-y[n]),b.y+=O*(p.y-y.y)}if(r--,m++,0>r)break}}}o.forEach((function(n,r){if(n.plotX+=v,("undefined"===typeof n.plotY||d)&&(0<=n.plotX&&n.plotX<=f.len?d?(n.plotY=f.translate(n.x,0,1,0,1),n.plotX=i(n.y)?h.translate(n.y,0,0,0,1):0):n.plotY=(f.opposite?0:t.yAxis.len)+f.offset:n.shapeArgs={}),(e=o[r-1])&&e.plotX===n.plotX){"undefined"===typeof e.stackIndex&&(e.stackIndex=0);var a=e.stackIndex+1}n.stackIndex=a})),this.onSeries=l}var r=[];e.compose=function(e){if(-1===r.indexOf(e)){r.push(e);var a=e.prototype;a.getPlotBox=t,a.translate=n}return e},e.getPlotBox=t,e.translate=n}(r||(r={})),r})),t(e,"Series/Flags/FlagsSeries.js",[e["Series/Flags/FlagsPoint.js"],e["Series/Flags/FlagsSeriesDefaults.js"],e["Series/Flags/FlagsSymbols.js"],e["Core/Globals.js"],e["Series/OnSeriesComposition.js"],e["Core/Renderer/RendererUtilities.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGElement.js"],e["Core/Utilities.js"]],(function(e,t,n,r,a,o,i,s,l){var c=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();r=r.noop;var u=o.distribute,d=i.series,f=i.seriesTypes.column,h=l.addEvent,p=l.defined;o=l.extend;var m=l.merge,v=l.objectEach,b=l.wrap;return l=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return c(r,e),r.prototype.animate=function(e){e&&this.setClip()},r.prototype.drawPoints=function(){var e,t=this.points,n=this.chart,r=n.renderer,a=n.inverted,o=this.options,i=o.y,l=this.yAxis,c={},d=[];for(e=t.length;e--;){var f=t[e],h=(a?f.plotY:f.plotX)>this.xAxis.len,g=f.plotX,y=f.stackIndex,O=f.options.shape||o.shape,w=f.plotY;"undefined"!==typeof w&&(w=f.plotY+i-("undefined"!==typeof y&&y*o.stackDistance)),f.anchorX=y?void 0:f.plotX;var _=y?void 0:f.plotY,j="flag"!==O;y=f.graphic,"undefined"!==typeof w&&0<=g&&!h?(y&&f.hasNewShapeType()&&(y=y.destroy()),y||(y=f.graphic=r.label("",null,null,O,null,null,o.useHTML).addClass("highcharts-point").add(this.markerGroup),f.graphic.div&&(f.graphic.div.point=f),y.isNew=!0),y.attr({align:j?"center":"left",width:o.width,height:o.height,"text-align":o.textAlign}),n.styledMode||y.attr(this.pointAttribs(f)).css(m(o.style,f.style)).shadow(o.shadow),0<g&&(g-=y.strokeWidth()%2),O={y:w,anchorY:_},o.allowOverlapX&&(O.x=g,O.anchorX=f.anchorX),y.attr({text:f.options.title||o.title||"A"})[y.isNew?"attr":"animate"](O),o.allowOverlapX||(c[f.plotX]?c[f.plotX].size=Math.max(c[f.plotX].size,y.width):c[f.plotX]={align:j?.5:0,size:y.width,target:g,anchorX:g}),f.tooltipPos=[g,w+l.pos-n.plotTop]):y&&(f.graphic=y.destroy())}if(!o.allowOverlapX){var k=100;for(v(c,(function(e){e.plotX=e.anchorX,d.push(e),k=Math.max(e.size,k)})),u(d,a?l.len:this.xAxis.len,k),n=0;n<t.length;n++)r=t[n],i=r.plotX,(i=(a=r.graphic)&&c[i])&&a&&(p(i.pos)?a[a.isNew?"attr":"animate"]({x:i.pos+(i.align||0)*i.size,anchorX:r.anchorX}).show().isNew=!1:a.hide().isNew=!0)}o.useHTML&&this.markerGroup&&b(this.markerGroup,"on",(function(e){return s.prototype.on.apply(e.apply(this,[].slice.call(arguments,1)),[].slice.call(arguments,1))}))},r.prototype.drawTracker=function(){var t=this.points;e.prototype.drawTracker.call(this);for(var n=function(e){var n=e.graphic;n&&(e.unbindMouseOver&&e.unbindMouseOver(),e.unbindMouseOver=h(n.element,"mouseover",(function(){0<e.stackIndex&&!e.raised&&(e._y=n.y,n.attr({y:e._y-8}),e.raised=!0);for(var r=0;r<t.length;r++){var a=t[r];a!==e&&a.raised&&a.graphic&&(a.graphic.attr({y:a._y}),a.raised=!1)}})))},r=0;r<t.length;r++)n(t[r])},r.prototype.pointAttribs=function(e,t){var n=this.options,r=e&&e.color||this.color,a=n.lineColor,o=e&&e.lineWidth;return e=e&&e.fillColor||n.fillColor,t&&(e=n.states[t].fillColor,a=n.states[t].lineColor,o=n.states[t].lineWidth),{fill:e||r,stroke:a||r,"stroke-width":o||n.lineWidth||0}},r.prototype.setClip=function(){d.prototype.setClip.apply(this,arguments),!1!==this.options.clip&&this.sharedClipKey&&this.markerGroup&&this.markerGroup.clip(this.chart.sharedClips[this.sharedClipKey])},r.compose=n.compose,r.defaultOptions=m(f.defaultOptions,t),r}(f),a.compose(l),o(l.prototype,{allowDG:!1,forceCrop:!0,invertible:!1,noSharedTooltip:!0,pointClass:e,sorted:!1,takeOrdinalPosition:!1,trackerGroups:["markerGroup"],buildKDTree:r,init:d.prototype.init}),i.registerSeriesType("flags",l),l})),t(e,"Core/Chart/StockChart.js",[e["Core/Axis/Axis.js"],e["Core/Chart/Chart.js"],e["Core/FormatUtilities.js"],e["Core/Defaults.js"],e["Stock/Navigator/NavigatorDefaults.js"],e["Stock/RangeSelector/RangeSelectorDefaults.js"],e["Stock/Scrollbar/ScrollbarDefaults.js"],e["Core/Series/Series.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],(function(e,t,n,r,a,o,i,s,l,c){function u(e,t){return"xAxis"===e?{minPadding:0,maxPadding:0,overscroll:0,ordinal:!0,title:{text:null},labels:{overflow:"justify"},showLastLabel:!0}:"yAxis"===e?{labels:{y:-2},opposite:_(t.opposite,!0),showLastLabel:!(!t.categories&&"category"!==t.type),title:{text:null}}:{}}function d(e,t){return"xAxis"===e?(e={type:"datetime",categories:void 0},_(t.navigator&&t.navigator.enabled,a.enabled,!0)&&(e.startOnTick=!1,e.endOnTick=!1),e):{}}var f=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=n.format,p=r.getOptions;n=c.addEvent;var m=c.clamp,v=c.defined,b=c.extend,g=c.find,y=c.isNumber,O=c.isString,w=c.merge,_=c.pick,j=c.splat;return c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t.prototype.init=function(t,n){var r=p(),s=t.xAxis,l=t.yAxis,c=_(t.navigator&&t.navigator.enabled,a.enabled,!0);t.xAxis=t.yAxis=void 0,c=w({chart:{panning:{enabled:!0,type:"x"},zooming:{pinchType:"x"}},navigator:{enabled:c},scrollbar:{enabled:_(i.enabled,!0)},rangeSelector:{enabled:_(o.rangeSelector.enabled,!0)},title:{text:null},tooltip:{split:_(r.tooltip.split,!0),crosshairs:!0},legend:{enabled:!1}},t,{isStock:!0}),t.xAxis=s,t.yAxis=l,c.xAxis=j(t.xAxis||{}).map((function(e,n){return w(u("xAxis",e),r.xAxis,r.xAxis&&r.xAxis[n],e,d("xAxis",t))})),c.yAxis=j(t.yAxis||{}).map((function(e,t){return w(u("yAxis",e),r.yAxis,r.yAxis&&r.yAxis[t],e)})),e.prototype.init.call(this,c,n)},t.prototype.createAxis=function(t,n){return n.axis=w(u(t,n.axis),n.axis,d(t,this.userOptions)),e.prototype.createAxis.call(this,t,n)},t}(t),function(e){e.stockChart=function(t,n,r){return new e(t,n,r)}}(c||(c={})),n(s,"setOptions",(function(e){var t;this.chart.options.isStock&&(this.is("column")||this.is("columnrange")?t={borderWidth:0,shadow:!1}:this.is("scatter")||this.is("sma")||(t={marker:{enabled:!1,radius:2}}),t&&(e.plotOptions[this.type]=w(e.plotOptions[this.type],t)))})),n(e,"autoLabelAlign",(function(e){var t=this.chart,n=this.options;t=t._labelPanes=t._labelPanes||{};var r=this.options.labels;this.chart.options.isStock&&"yAxis"===this.coll&&(n=n.top+","+n.height,!t[n]&&r.enabled&&(15===r.x&&(r.x=0),"undefined"===typeof r.align&&(r.align="right"),t[n]=this,e.align="right",e.preventDefault()))})),n(e,"destroy",(function(){var e=this.chart,t=this.options&&this.options.top+","+this.options.height;t&&e._labelPanes&&e._labelPanes[t]===this&&delete e._labelPanes[t]})),n(e,"getPlotLinePath",(function(e){function t(e){var t="xAxis"===e?"yAxis":"xAxis";return e=i.options[t],y(e)?[l[t][e]]:O(e)?[l.get(e)]:s.map((function(e){return e[t]}))}var n,r,a,o,i=this,s=this.isLinked&&!this.series?this.linkedParent.series:this.series,l=i.chart,c=l.renderer,u=i.left,d=i.top,f=[],h=[],p=e.translatedValue,b=e.value,w=e.force;if(l.options.isStock&&!1!==e.acrossPanes&&"xAxis"===i.coll||"yAxis"===i.coll){e.preventDefault(),h=t(i.coll);var j=i.isXAxis?l.yAxis:l.xAxis;j.forEach((function(e){if(!v(e.options.id)||-1===e.options.id.indexOf("navigator")){var t=e.isXAxis?"yAxis":"xAxis";t=v(e.options[t])?l[t][e.options[t]]:l[t][0],i===t&&h.push(e)}}));var k=h.length?[]:[i.isXAxis?l.yAxis[0]:l.xAxis[0]];h.forEach((function(e){-1!==k.indexOf(e)||g(k,(function(t){return t.pos===e.pos&&t.len===e.len}))||k.push(e)}));var x=_(p,i.translate(b,void 0,void 0,e.old));y(x)&&(i.horiz?k.forEach((function(e){var t;r=e.pos,o=r+e.len,n=a=Math.round(x+i.transB),"pass"!==w&&(n<u||n>u+i.width)&&(w?n=a=m(n,u,u+i.width):t=!0),t||f.push(["M",n,r],["L",a,o])})):k.forEach((function(e){var t;n=e.pos,a=n+e.len,r=o=Math.round(d+i.height-x),"pass"!==w&&(r<d||r>d+i.height)&&(w?r=o=m(r,d,d+i.height):t=!0),t||f.push(["M",n,r],["L",a,o])}))),e.path=0<f.length?c.crispPolyLine(f,e.lineWidth||1):null}})),l.prototype.crispPolyLine=function(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],a=e[n+1];r[1]===a[1]&&(r[1]=a[1]=Math.round(r[1])-t%2/2),r[2]===a[2]&&(r[2]=a[2]=Math.round(r[2])+t%2/2)}return e},n(e,"afterHideCrosshair",(function(){this.crossLabel&&(this.crossLabel=this.crossLabel.hide())})),n(e,"afterDrawCrosshair",(function(e){var t,n;if(this.crosshair&&this.crosshair.label&&this.crosshair.label.enabled&&this.cross&&y(this.min)&&y(this.max)){var r=this.chart,a=this.logarithmic,o=this.crosshair.label,i=this.horiz,s=this.opposite,l=this.left,c=this.top,u=this.crossLabel,d=o.format,f="",p="inside"===this.options.tickPosition,m=!1!==this.crosshair.snap,v=0,g=e.e||this.cross&&this.cross.e;e=e.point;var O=this.min,w=this.max;a&&(O=a.lin2log(O),w=a.lin2log(w)),a=i?"center":s?"right"===this.labelAlign?"right":"left":"left"===this.labelAlign?"left":"center",u||(u=this.crossLabel=r.renderer.label("",0,void 0,o.shape||"callout").addClass("highcharts-crosshair-label highcharts-color-"+(e&&e.series?e.series.colorIndex:this.series[0]&&this.series[0].colorIndex)).attr({align:o.align||a,padding:_(o.padding,8),r:_(o.borderRadius,3),zIndex:2}).add(this.labelGroup),r.styledMode||u.attr({fill:o.backgroundColor||e&&e.series&&e.series.color||"#666666",stroke:o.borderColor||"","stroke-width":o.borderWidth||0}).css(b({color:"#ffffff",fontWeight:"normal",fontSize:"11px",textAlign:"center"},o.style||{}))),i?(a=m?(e.plotX||0)+l:g.chartX,c+=s?0:this.height):(a=s?this.width+l:0,c=m?(e.plotY||0)+c:g.chartY),d||o.formatter||(this.dateTime&&(f="%b %d, %Y"),d="{value"+(f?":"+f:"")+"}"),f=m?this.isXAxis?e.x:e.y:this.toValue(i?g.chartX:g.chartY),m=e&&e.series?e.series.isPointInside(e):y(f)&&f>O&&f<w,g="",d?g=h(d,{value:f},r):o.formatter&&y(f)&&(g=o.formatter.call(this,f)),u.attr({text:g,x:a,y:c,visibility:m?"inherit":"hidden"}),o=u.getBBox(),y(u.y)&&(i?(p&&!s||!p&&s)&&(c=u.y-o.height):c=u.y-o.height/2),i?(t=l-o.x,n=l+this.width-o.x):(t="left"===this.labelAlign?l:0,n="right"===this.labelAlign?l+this.width:r.chartWidth),u.translateX<t&&(v=t-u.translateX),u.translateX+o.width>=n&&(v=-(u.translateX+o.width-n)),u.attr({x:a+v,y:c,anchorX:i?a:this.opposite?0:r.chartWidth,anchorY:i?this.opposite?r.chartHeight:0:c+o.height/2})}})),s.prototype.forceCropping=function(){var e=this.chart,t=this.options.dataGrouping;return!1!==this.allowDG&&t&&_(t.enabled,e.options.isStock)},n(t,"update",(function(e){e=e.options,"scrollbar"in e&&this.navigator&&(w(!0,this.options.scrollbar,e.scrollbar),this.navigator.update({}),delete e.scrollbar)})),c})),t(e,"masters/modules/stock.src.js",[e["Core/Globals.js"],e["Series/DataModifyComposition.js"],e["Stock/Navigator/Navigator.js"],e["Stock/RangeSelector/RangeSelector.js"],e["Stock/Scrollbar/Scrollbar.js"],e["Core/Axis/OrdinalAxis.js"],e["Series/OHLC/OHLCSeries.js"],e["Series/Flags/FlagsSeries.js"],e["Core/Chart/StockChart.js"]],(function(e,t,n,r,a,o,i,s,l){e.Navigator=n,e.RangeSelector=r,e.Scrollbar=a,e.StockChart=e.stockChart=l.stockChart,t.compose(e.Series,e.Axis,e.Point),s.compose(e.Renderer),n.compose(e.Axis,e.Chart,e.Series),i.compose(e.Series),o.compose(e.Axis,e.Series,e.Chart),r.compose(e.Axis,e.Chart),a.compose(e.Axis)}))}))},"37f5":function(e,t,n){"use strict";n.r(t),n.d(t,"set",(function(){return l})),n.d(t,"del",(function(){return c})),n.d(t,"Vue2",(function(){return i})),n.d(t,"isVue2",(function(){return a})),n.d(t,"isVue3",(function(){return o})),n.d(t,"install",(function(){return s}));var r=n("7a23");n.d(t,"Vue",(function(){return r})),n.d(t,"EffectScope",(function(){return r["EffectScope"]})),n.d(t,"ReactiveEffect",(function(){return r["ReactiveEffect"]})),n.d(t,"TrackOpTypes",(function(){return r["TrackOpTypes"]})),n.d(t,"TriggerOpTypes",(function(){return r["TriggerOpTypes"]})),n.d(t,"customRef",(function(){return r["customRef"]})),n.d(t,"effect",(function(){return r["effect"]})),n.d(t,"effectScope",(function(){return r["effectScope"]})),n.d(t,"getCurrentScope",(function(){return r["getCurrentScope"]})),n.d(t,"isProxy",(function(){return r["isProxy"]})),n.d(t,"isReactive",(function(){return r["isReactive"]})),n.d(t,"isReadonly",(function(){return r["isReadonly"]})),n.d(t,"isRef",(function(){return r["isRef"]})),n.d(t,"isShallow",(function(){return r["isShallow"]})),n.d(t,"markRaw",(function(){return r["markRaw"]})),n.d(t,"onScopeDispose",(function(){return r["onScopeDispose"]})),n.d(t,"proxyRefs",(function(){return r["proxyRefs"]})),n.d(t,"reactive",(function(){return r["reactive"]})),n.d(t,"readonly",(function(){return r["readonly"]})),n.d(t,"ref",(function(){return r["ref"]})),n.d(t,"shallowReactive",(function(){return r["shallowReactive"]})),n.d(t,"shallowReadonly",(function(){return r["shallowReadonly"]})),n.d(t,"shallowRef",(function(){return r["shallowRef"]})),n.d(t,"stop",(function(){return r["stop"]})),n.d(t,"toRaw",(function(){return r["toRaw"]})),n.d(t,"toRef",(function(){return r["toRef"]})),n.d(t,"toRefs",(function(){return r["toRefs"]})),n.d(t,"toValue",(function(){return r["toValue"]})),n.d(t,"triggerRef",(function(){return r["triggerRef"]})),n.d(t,"unref",(function(){return r["unref"]})),n.d(t,"camelize",(function(){return r["camelize"]})),n.d(t,"capitalize",(function(){return r["capitalize"]})),n.d(t,"normalizeClass",(function(){return r["normalizeClass"]})),n.d(t,"normalizeProps",(function(){return r["normalizeProps"]})),n.d(t,"normalizeStyle",(function(){return r["normalizeStyle"]})),n.d(t,"toDisplayString",(function(){return r["toDisplayString"]})),n.d(t,"toHandlerKey",(function(){return r["toHandlerKey"]})),n.d(t,"BaseTransition",(function(){return r["BaseTransition"]})),n.d(t,"BaseTransitionPropsValidators",(function(){return r["BaseTransitionPropsValidators"]})),n.d(t,"Comment",(function(){return r["Comment"]})),n.d(t,"DeprecationTypes",(function(){return r["DeprecationTypes"]})),n.d(t,"ErrorCodes",(function(){return r["ErrorCodes"]})),n.d(t,"ErrorTypeStrings",(function(){return r["ErrorTypeStrings"]})),n.d(t,"Fragment",(function(){return r["Fragment"]})),n.d(t,"KeepAlive",(function(){return r["KeepAlive"]})),n.d(t,"Static",(function(){return r["Static"]})),n.d(t,"Suspense",(function(){return r["Suspense"]})),n.d(t,"Teleport",(function(){return r["Teleport"]})),n.d(t,"Text",(function(){return r["Text"]})),n.d(t,"assertNumber",(function(){return r["assertNumber"]})),n.d(t,"callWithAsyncErrorHandling",(function(){return r["callWithAsyncErrorHandling"]})),n.d(t,"callWithErrorHandling",(function(){return r["callWithErrorHandling"]})),n.d(t,"cloneVNode",(function(){return r["cloneVNode"]})),n.d(t,"compatUtils",(function(){return r["compatUtils"]})),n.d(t,"computed",(function(){return r["computed"]})),n.d(t,"createBlock",(function(){return r["createBlock"]})),n.d(t,"createCommentVNode",(function(){return r["createCommentVNode"]})),n.d(t,"createElementBlock",(function(){return r["createElementBlock"]})),n.d(t,"createElementVNode",(function(){return r["createElementVNode"]})),n.d(t,"createHydrationRenderer",(function(){return r["createHydrationRenderer"]})),n.d(t,"createPropsRestProxy",(function(){return r["createPropsRestProxy"]})),n.d(t,"createRenderer",(function(){return r["createRenderer"]})),n.d(t,"createSlots",(function(){return r["createSlots"]})),n.d(t,"createStaticVNode",(function(){return r["createStaticVNode"]})),n.d(t,"createTextVNode",(function(){return r["createTextVNode"]})),n.d(t,"createVNode",(function(){return r["createVNode"]})),n.d(t,"defineAsyncComponent",(function(){return r["defineAsyncComponent"]})),n.d(t,"defineComponent",(function(){return r["defineComponent"]})),n.d(t,"defineEmits",(function(){return r["defineEmits"]})),n.d(t,"defineExpose",(function(){return r["defineExpose"]})),n.d(t,"defineModel",(function(){return r["defineModel"]})),n.d(t,"defineOptions",(function(){return r["defineOptions"]})),n.d(t,"defineProps",(function(){return r["defineProps"]})),n.d(t,"defineSlots",(function(){return r["defineSlots"]})),n.d(t,"devtools",(function(){return r["devtools"]})),n.d(t,"getCurrentInstance",(function(){return r["getCurrentInstance"]})),n.d(t,"getTransitionRawChildren",(function(){return r["getTransitionRawChildren"]})),n.d(t,"guardReactiveProps",(function(){return r["guardReactiveProps"]})),n.d(t,"h",(function(){return r["h"]})),n.d(t,"handleError",(function(){return r["handleError"]})),n.d(t,"hasInjectionContext",(function(){return r["hasInjectionContext"]})),n.d(t,"initCustomFormatter",(function(){return r["initCustomFormatter"]})),n.d(t,"inject",(function(){return r["inject"]})),n.d(t,"isMemoSame",(function(){return r["isMemoSame"]})),n.d(t,"isRuntimeOnly",(function(){return r["isRuntimeOnly"]})),n.d(t,"isVNode",(function(){return r["isVNode"]})),n.d(t,"mergeDefaults",(function(){return r["mergeDefaults"]})),n.d(t,"mergeModels",(function(){return r["mergeModels"]})),n.d(t,"mergeProps",(function(){return r["mergeProps"]})),n.d(t,"nextTick",(function(){return r["nextTick"]})),n.d(t,"onActivated",(function(){return r["onActivated"]})),n.d(t,"onBeforeMount",(function(){return r["onBeforeMount"]})),n.d(t,"onBeforeUnmount",(function(){return r["onBeforeUnmount"]})),n.d(t,"onBeforeUpdate",(function(){return r["onBeforeUpdate"]})),n.d(t,"onDeactivated",(function(){return r["onDeactivated"]})),n.d(t,"onErrorCaptured",(function(){return r["onErrorCaptured"]})),n.d(t,"onMounted",(function(){return r["onMounted"]})),n.d(t,"onRenderTracked",(function(){return r["onRenderTracked"]})),n.d(t,"onRenderTriggered",(function(){return r["onRenderTriggered"]})),n.d(t,"onServerPrefetch",(function(){return r["onServerPrefetch"]})),n.d(t,"onUnmounted",(function(){return r["onUnmounted"]})),n.d(t,"onUpdated",(function(){return r["onUpdated"]})),n.d(t,"openBlock",(function(){return r["openBlock"]})),n.d(t,"popScopeId",(function(){return r["popScopeId"]})),n.d(t,"provide",(function(){return r["provide"]})),n.d(t,"pushScopeId",(function(){return r["pushScopeId"]})),n.d(t,"queuePostFlushCb",(function(){return r["queuePostFlushCb"]})),n.d(t,"registerRuntimeCompiler",(function(){return r["registerRuntimeCompiler"]})),n.d(t,"renderList",(function(){return r["renderList"]})),n.d(t,"renderSlot",(function(){return r["renderSlot"]})),n.d(t,"resolveComponent",(function(){return r["resolveComponent"]})),n.d(t,"resolveDirective",(function(){return r["resolveDirective"]})),n.d(t,"resolveDynamicComponent",(function(){return r["resolveDynamicComponent"]})),n.d(t,"resolveFilter",(function(){return r["resolveFilter"]})),n.d(t,"resolveTransitionHooks",(function(){return r["resolveTransitionHooks"]})),n.d(t,"setBlockTracking",(function(){return r["setBlockTracking"]})),n.d(t,"setDevtoolsHook",(function(){return r["setDevtoolsHook"]})),n.d(t,"setTransitionHooks",(function(){return r["setTransitionHooks"]})),n.d(t,"ssrContextKey",(function(){return r["ssrContextKey"]})),n.d(t,"ssrUtils",(function(){return r["ssrUtils"]})),n.d(t,"toHandlers",(function(){return r["toHandlers"]})),n.d(t,"transformVNodeArgs",(function(){return r["transformVNodeArgs"]})),n.d(t,"useAttrs",(function(){return r["useAttrs"]})),n.d(t,"useModel",(function(){return r["useModel"]})),n.d(t,"useSSRContext",(function(){return r["useSSRContext"]})),n.d(t,"useSlots",(function(){return r["useSlots"]})),n.d(t,"useTransitionState",(function(){return r["useTransitionState"]})),n.d(t,"version",(function(){return r["version"]})),n.d(t,"warn",(function(){return r["warn"]})),n.d(t,"watch",(function(){return r["watch"]})),n.d(t,"watchEffect",(function(){return r["watchEffect"]})),n.d(t,"watchPostEffect",(function(){return r["watchPostEffect"]})),n.d(t,"watchSyncEffect",(function(){return r["watchSyncEffect"]})),n.d(t,"withAsyncContext",(function(){return r["withAsyncContext"]})),n.d(t,"withCtx",(function(){return r["withCtx"]})),n.d(t,"withDefaults",(function(){return r["withDefaults"]})),n.d(t,"withDirectives",(function(){return r["withDirectives"]})),n.d(t,"withMemo",(function(){return r["withMemo"]})),n.d(t,"withScopeId",(function(){return r["withScopeId"]})),n.d(t,"Transition",(function(){return r["Transition"]})),n.d(t,"TransitionGroup",(function(){return r["TransitionGroup"]})),n.d(t,"VueElement",(function(){return r["VueElement"]})),n.d(t,"createApp",(function(){return r["createApp"]})),n.d(t,"createSSRApp",(function(){return r["createSSRApp"]})),n.d(t,"defineCustomElement",(function(){return r["defineCustomElement"]})),n.d(t,"defineSSRCustomElement",(function(){return r["defineSSRCustomElement"]})),n.d(t,"hydrate",(function(){return r["hydrate"]})),n.d(t,"initDirectivesForSSR",(function(){return r["initDirectivesForSSR"]})),n.d(t,"render",(function(){return r["render"]})),n.d(t,"useCssModule",(function(){return r["useCssModule"]})),n.d(t,"useCssVars",(function(){return r["useCssVars"]})),n.d(t,"vModelCheckbox",(function(){return r["vModelCheckbox"]})),n.d(t,"vModelDynamic",(function(){return r["vModelDynamic"]})),n.d(t,"vModelRadio",(function(){return r["vModelRadio"]})),n.d(t,"vModelSelect",(function(){return r["vModelSelect"]})),n.d(t,"vModelText",(function(){return r["vModelText"]})),n.d(t,"vShow",(function(){return r["vShow"]})),n.d(t,"withKeys",(function(){return r["withKeys"]})),n.d(t,"withModifiers",(function(){return r["withModifiers"]})),n.d(t,"compile",(function(){return r["compile"]}));var a=!1,o=!0,i=void 0;function s(){}function l(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}function c(e,t){Array.isArray(e)?e.splice(t,1):delete e[t]}},3886:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}});return t}))},3934:function(e,t,n){"use strict";var r=n("c532");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function a(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=a(window.location.href),function(t){var n=r.isString(t)?a(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"39a6":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},"39bd":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(e,t,n,r){var a="";if(t)switch(n){case"s":a="काही सेकंद";break;case"ss":a="%d सेकंद";break;case"m":a="एक मिनिट";break;case"mm":a="%d मिनिटे";break;case"h":a="एक तास";break;case"hh":a="%d तास";break;case"d":a="एक दिवस";break;case"dd":a="%d दिवस";break;case"M":a="एक महिना";break;case"MM":a="%d महिने";break;case"y":a="एक वर्ष";break;case"yy":a="%d वर्षे";break}else switch(n){case"s":a="काही सेकंदां";break;case"ss":a="%d सेकंदां";break;case"m":a="एका मिनिटा";break;case"mm":a="%d मिनिटां";break;case"h":a="एका तासा";break;case"hh":a="%d तासां";break;case"d":a="एका दिवसा";break;case"dd":a="%d दिवसां";break;case"M":a="एका महिन्या";break;case"MM":a="%d महिन्यां";break;case"y":a="एका वर्षा";break;case"yy":a="%d वर्षां";break}return a.replace(/%d/i,e)}var a=e.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:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}});return a}))},"3a34":function(e,t,n){"use strict";var r=n("83ab"),a=n("e8b5"),o=TypeError,i=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(a(e)&&!i(e,"length").writable)throw new o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},"3a39":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=e.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(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<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 r}))},"3a6c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},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 t}))},"3a9b":function(e,t,n){"use strict";var r=n("e330");e.exports=r({}.isPrototypeOf)},"3b1b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"},n=e.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(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}});return n}))},"3bbe":function(e,t,n){"use strict";var r=n("1787"),a=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw new o("Can't set "+a(e)+" as a prototype")}},"3c0d":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={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/},n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^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],a=/^(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(e){return e>1&&e<5&&1!==~~(e/10)}function i(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?a+(o(e)?"sekundy":"sekund"):a+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?a+(o(e)?"minuty":"minut"):a+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?a+(o(e)?"hodiny":"hodin"):a+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?a+(o(e)?"dny":"dní"):a+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?a+(o(e)?"měsíce":"měsíců"):a+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?a+(o(e)?"roky":"let"):a+"lety"}}var s=e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:a,monthsShortRegex:a,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:r,longMonthsParse:r,shortMonthsParse:r,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: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 s}))},"3de5":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},r=e.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(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}});return r}))},"3e92":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},r=e.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(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}});return r}))},"3ef4":function(e,t,n){"use strict";n.d(t,"a",(function(){return I}));var r=n("7a23"),a=n("461c"),o=n("0388"),i=n("54bb"),s=n("f5f6"),l=n("0898"),c=n("31e7");const u=["success","info","warning","error"],d=Object(s["a"])({customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:a["isClient"]?document.body:void 0}),f=Object(l["b"])({customClass:{type:String,default:d.customClass},center:{type:Boolean,default:d.center},dangerouslyUseHTMLString:{type:Boolean,default:d.dangerouslyUseHTMLString},duration:{type:Number,default:d.duration},icon:{type:c["e"],default:d.icon},id:{type:String,default:d.id},message:{type:Object(l["c"])([String,Object,Function]),default:d.message},onClose:{type:Object(l["c"])(Function),default:d.onClose},showClose:{type:Boolean,default:d.showClose},type:{type:String,values:u,default:d.type},plain:{type:Boolean,default:d.plain},offset:{type:Number,default:d.offset},zIndex:{type:Number,default:d.zIndex},grouping:{type:Boolean,default:d.grouping},repeatNum:{type:Number,default:d.repeatNum}}),h={destroy:()=>!0},p=Object(r["shallowReactive"])([]),m=e=>{const t=p.findIndex(t=>t.id===e),n=p[t];let r;return t>0&&(r=p[t-1]),{current:n,prev:r}},v=e=>{const{prev:t}=m(e);return t?t.vm.exposed.bottom.value:0},b=(e,t)=>{const n=p.findIndex(t=>t.id===e);return n>0?16:t};var g=n("2711"),y=n("edd9"),O=n("49c6");const w=["id"],_=["innerHTML"],j=Object(r["defineComponent"])({name:"ElMessage"}),k=Object(r["defineComponent"])({...j,props:f,emits:h,setup(e,{expose:t}){const n=e,{Close:s}=c["b"],{ns:l,zIndex:u}=Object(y["b"])("message"),{currentZIndex:d,nextZIndex:f}=u,h=Object(r["ref"])(),p=Object(r["ref"])(!1),m=Object(r["ref"])(0);let g=void 0;const j=Object(r["computed"])(()=>n.type?"error"===n.type?"danger":n.type:"info"),k=Object(r["computed"])(()=>{const e=n.type;return{[l.bm("icon",e)]:e&&c["c"][e]}}),x=Object(r["computed"])(()=>n.icon||c["c"][n.type]||""),S=Object(r["computed"])(()=>v(n.id)),C=Object(r["computed"])(()=>b(n.id,n.offset)+S.value),M=Object(r["computed"])(()=>m.value+C.value),A=Object(r["computed"])(()=>({top:C.value+"px",zIndex:d.value}));function T(){0!==n.duration&&({stop:g}=Object(a["useTimeoutFn"])(()=>{L()},n.duration))}function E(){null==g||g()}function L(){p.value=!1}function P({code:e}){e===O["a"].esc&&L()}return Object(r["onMounted"])(()=>{T(),f(),p.value=!0}),Object(r["watch"])(()=>n.repeatNum,()=>{E(),T()}),Object(a["useEventListener"])(document,"keydown",P),Object(a["useResizeObserver"])(h,()=>{m.value=h.value.getBoundingClientRect().height}),t({visible:p,bottom:M,close:L}),(e,t)=>(Object(r["openBlock"])(),Object(r["createBlock"])(r["Transition"],{name:Object(r["unref"])(l).b("fade"),onBeforeLeave:e.onClose,onAfterLeave:t[0]||(t[0]=t=>e.$emit("destroy")),persisted:""},{default:Object(r["withCtx"])(()=>[Object(r["withDirectives"])(Object(r["createElementVNode"])("div",{id:e.id,ref_key:"messageRef",ref:h,class:Object(r["normalizeClass"])([Object(r["unref"])(l).b(),{[Object(r["unref"])(l).m(e.type)]:e.type},Object(r["unref"])(l).is("center",e.center),Object(r["unref"])(l).is("closable",e.showClose),Object(r["unref"])(l).is("plain",e.plain),e.customClass]),style:Object(r["normalizeStyle"])(Object(r["unref"])(A)),role:"alert",onMouseenter:E,onMouseleave:T},[e.repeatNum>1?(Object(r["openBlock"])(),Object(r["createBlock"])(Object(r["unref"])(o["a"]),{key:0,value:e.repeatNum,type:Object(r["unref"])(j),class:Object(r["normalizeClass"])(Object(r["unref"])(l).e("badge"))},null,8,["value","type","class"])):Object(r["createCommentVNode"])("v-if",!0),Object(r["unref"])(x)?(Object(r["openBlock"])(),Object(r["createBlock"])(Object(r["unref"])(i["a"]),{key:1,class:Object(r["normalizeClass"])([Object(r["unref"])(l).e("icon"),Object(r["unref"])(k)])},{default:Object(r["withCtx"])(()=>[(Object(r["openBlock"])(),Object(r["createBlock"])(Object(r["resolveDynamicComponent"])(Object(r["unref"])(x))))]),_:1},8,["class"])):Object(r["createCommentVNode"])("v-if",!0),Object(r["renderSlot"])(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(Object(r["openBlock"])(),Object(r["createElementBlock"])(r["Fragment"],{key:1},[Object(r["createCommentVNode"])(" Caution here, message could've been compromised, never use user's input as message "),Object(r["createElementVNode"])("p",{class:Object(r["normalizeClass"])(Object(r["unref"])(l).e("content")),innerHTML:e.message},null,10,_)],2112)):(Object(r["openBlock"])(),Object(r["createElementBlock"])("p",{key:0,class:Object(r["normalizeClass"])(Object(r["unref"])(l).e("content"))},Object(r["toDisplayString"])(e.message),3))]),e.showClose?(Object(r["openBlock"])(),Object(r["createBlock"])(Object(r["unref"])(i["a"]),{key:2,class:Object(r["normalizeClass"])(Object(r["unref"])(l).e("closeBtn")),onClick:Object(r["withModifiers"])(L,["stop"])},{default:Object(r["withCtx"])(()=>[Object(r["createVNode"])(Object(r["unref"])(s))]),_:1},8,["class","onClick"])):Object(r["createCommentVNode"])("v-if",!0)],46,w),[[r["vShow"],p.value]])]),_:3},8,["name","onBeforeLeave"]))}});var x=Object(g["a"])(k,[["__file","message.vue"]]),S=n("7d20"),C=n("83ec"),M=n("8afb"),A=n("93b2");let T=1;const E=e=>{const t=!e||Object(S["isString"])(e)||Object(r["isVNode"])(e)||Object(S["isFunction"])(e)?{message:e}:e,n={...d,...t};if(n.appendTo){if(Object(S["isString"])(n.appendTo)){let e=document.querySelector(n.appendTo);Object(C["b"])(e)||(Object(M["a"])("ElMessage","the appendTo option is not an HTMLElement. Falling back to document.body."),e=document.body),n.appendTo=e}}else n.appendTo=document.body;return n},L=e=>{const t=p.indexOf(e);if(-1===t)return;p.splice(t,1);const{handler:n}=e;n.close()},P=({appendTo:e,...t},n)=>{const a="message_"+T++,o=t.onClose,i=document.createElement("div"),s={...t,id:a,onClose:()=>{null==o||o(),L(d)},onDestroy:()=>{Object(r["render"])(null,i)}},l=Object(r["createVNode"])(x,s,Object(S["isFunction"])(s.message)||Object(r["isVNode"])(s.message)?{default:Object(S["isFunction"])(s.message)?s.message:()=>s.message}:null);l.appContext=n||D._context,Object(r["render"])(l,i),e.appendChild(i.firstElementChild);const c=l.component,u={close:()=>{c.exposed.visible.value=!1}},d={id:a,vnode:l,vm:c,handler:u,props:l.component.props};return d},D=(e={},t)=>{if(!a["isClient"])return{close:()=>{}};if(Object(C["d"])(A["b"].max)&&p.length>=A["b"].max)return{close:()=>{}};const n=E(e);if(n.grouping&&p.length){const e=p.find(({vnode:e})=>{var t;return(null==(t=e.props)?void 0:t.message)===n.message});if(e)return e.props.repeatNum+=1,e.props.type=n.type,e.handler}const r=P(n,t);return p.push(r),r.handler};function N(e){for(const t of p)e&&e!==t.props.type||t.handler.close()}u.forEach(e=>{D[e]=(t={},n)=>{const r=E(t);return D({...r,type:e},n)}}),D.closeAll=N,D._context=null;var R=n("0c24");const I=Object(R["c"])(D,"$message")},"3f4e":function(e,t,n){"use strict";function r(){return a().__VUE_DEVTOOLS_GLOBAL_HOOK__}function a(){return"undefined"!==typeof navigator&&"undefined"!==typeof window?window:"undefined"!==typeof globalThis?globalThis:{}}n.d(t,"a",(function(){return h}));const o="function"===typeof Proxy,i="devtools-plugin:setup",s="plugin:settings:set";let l,c;function u(){var e;return void 0!==l||("undefined"!==typeof window&&window.performance?(l=!0,c=window.performance):"undefined"!==typeof globalThis&&(null===(e=globalThis.perf_hooks)||void 0===e?void 0:e.performance)?(l=!0,c=globalThis.perf_hooks.performance):l=!1),l}function d(){return u()?c.now():Date.now()}class f{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const n={};if(e.settings)for(const i in e.settings){const t=e.settings[i];n[i]=t.defaultValue}const r="__vue-devtools-plugin-settings__"+e.id;let a=Object.assign({},n);try{const e=localStorage.getItem(r),t=JSON.parse(e);Object.assign(a,t)}catch(o){}this.fallbacks={getSettings(){return a},setSettings(e){try{localStorage.setItem(r,JSON.stringify(e))}catch(o){}a=e},now(){return d()}},t&&t.on(s,(e,t)=>{e===this.plugin.id&&this.fallbacks.setSettings(t)}),this.proxiedOn=new Proxy({},{get:(e,t)=>this.target?this.target.on[t]:(...e)=>{this.onQueue.push({method:t,args:e})}}),this.proxiedTarget=new Proxy({},{get:(e,t)=>this.target?this.target[t]:"on"===t?this.proxiedOn:Object.keys(this.fallbacks).includes(t)?(...e)=>(this.targetQueue.push({method:t,args:e,resolve:()=>{}}),this.fallbacks[t](...e)):(...e)=>new Promise(n=>{this.targetQueue.push({method:t,args:e,resolve:n})})})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function h(e,t){const n=e,s=a(),l=r(),c=o&&n.enableEarlyProxy;if(!l||!s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&c){const e=c?new f(n,l):null,r=s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[];r.push({pluginDescriptor:n,setupFn:t,proxy:e}),e&&t(e.proxiedTarget)}else l.emit(i,e,t)}},"40d5":function(e,t,n){"use strict";var r=n("d039");e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},"423e":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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 t}))},4362:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("df7c")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"440c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n,r){var a={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?a[n][0]:a[n][1]}function n(e){var t=e.substr(0,e.indexOf(" "));return a(t)?"a "+e:"an "+e}function r(e){var t=e.substr(0,e.indexOf(" "));return a(t)?"viru "+e:"virun "+e}function a(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10,n=e/10;return a(0===t?n:t)}if(e<1e4){while(e>=10)e/=10;return a(e)}return e/=1e3,a(e)}var o=e.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:n,past:r,s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},4452:function(e,t,n){!function(t,r){e.exports=r(n("ea7f"),n("7a23"))}(window,(function(e,t){return r=[function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";n.r(t),n.d(t,"Chart",(function(){return h})),n.d(t,"default",(function(){return p}));t=n(0);var r=n.n(t);function a(e,t){return function e(t,n,a){function o(o,i){!r.a.isObject(o,!a)||r.a.isClass(o)||r.a.isDOMElement(o)?t[i]=n[i]:t[i]=e(t[i]||r.a.isArray(o)?[]:{},o,a)}return r.a.isArray(n)?n.forEach(o):r.a.objectEach(n,o),t}({},e,t)}var o=n(1);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){var n;if(e)return"string"==typeof e?l(e,t):"Map"===(n="Object"===(n=Object.prototype.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}(e)||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.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){var r,a;r=e,a=n[t=t],(t=function(e){return e=function(e,t){if("object"!==i(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);if(n=n.call(e,t||"default"),"object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string"),"symbol"===i(e)?e:String(e)}(t))in r?Object.defineProperty(r,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[t]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={template:'<div ref="chart"></div>',props:{constructorType:{type:String,default:"chart"},options:{type:Object,required:!0},callback:Function,updateArgs:{type:Array,default:function(){return[!0,!0]}},highcharts:{type:Object},deepCopyOnUpdate:{type:Boolean,default:!0}}},f=function(e,t){return t.split(".")[0]<3?u(u({},d),{},{render:function(e){return e("div",{ref:"chart"})},beforeDestroy:function(){this.chart&&this.chart.destroy()},watch:{options:{handler:function(e){var t;(t=this.chart).update.apply(t,[a(e,this.deepCopyOnUpdate)].concat(s(this.updateArgs)))},deep:!0}},mounted:function(){var t=this.highcharts||e;this.options&&t[this.constructorType]?this.chart=t[this.constructorType](this.$refs.chart,a(this.options,!0),this.callback||null):this.options?console.warn("'".concat(this.constructorType,"' constructor-type is incorrect. Sometimes this error is caused by the fact, that the corresponding module wasn't imported.")):console.warn('The "options" parameter was not passed.')}}):u(u({},d),{},{render:function(){return Object(o.h)("div",{ref:"chartContainer"})},setup:function(t){var n=Object(o.ref)(null),r=Object(o.shallowRef)({});return Object(o.onMounted)((function(){var o=t.highcharts||e;t.options&&o[t.constructorType]?r.value=o[t.constructorType](n.value,a(t.options,!0),t.callback||null):t.options?console.warn("'".concat(t.constructorType,"' constructor-type is incorrect. Sometimes this error is caused by the fact, that the corresponding module wasn't imported.")):console.warn('The "options" parameter was not passed.')})),Object(o.watch)((function(){return t.options}),(function(e,n){var o;(o=r.value).update.apply(o,[a(e,t.deepCopyOnUpdate)].concat(s(t.updateArgs)))}),{deep:!0}),Object(o.onBeforeUnmount)((function(){r.value&&r.value.destroy()})),{chart:r,chartContainer:n,props:t}}})},h=f(r.a,o.version||n.n(o).a.version);function p(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};e.component(t.tagName||"highcharts",f(t.highcharts||r.a,e.version))}}],a={},n.m=r,n.c=a,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2);function n(e){var t;return(a[e]||(t=a[e]={i:e,l:!1,exports:{}},r[e].call(t.exports,t,t.exports,n),t.l=!0,t)).exports}var r,a}))},"44ad":function(e,t,n){"use strict";var r=n("e330"),a=n("d039"),o=n("c6b6"),i=Object,s=r("".split);e.exports=a((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"===o(e)?s(e,""):i(e)}:i},"44e7":function(e,t,n){"use strict";var r=n("861d"),a=n("c6b6"),o=n("b622"),i=o("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"===a(e))}},4581:function(e,t){e.exports=null},"461c":function(e,t,n){"use strict";(function(e){var r=n("19a5"),a=n("37f5");function o(e,t,n){let o;o=a.isRef(n)?{evaluating:n}:n||{};const{lazy:i=!1,evaluating:s,shallow:l=!1,onError:c=r.noop}=o,u=a.ref(!i),d=l?a.shallowRef(t):a.ref(t);let f=0;return a.watchEffect(async t=>{if(!u.value)return;f++;const n=f;let r=!1;s&&Promise.resolve().then(()=>{s.value=!0});try{const a=await e(e=>{t(()=>{s&&(s.value=!1),r||e()})});n===f&&(d.value=a)}catch(a){c(a)}finally{s&&n===f&&(s.value=!1),r=!0}}),i?a.computed(()=>(u.value=!0,d.value)):d}function i(e,t,n,r){let o=a.inject(e);return n&&(o=a.inject(e,n)),r&&(o=a.inject(e,n,r)),"function"===typeof t?a.computed(e=>t(o,e)):a.computed({get:e=>t.get(o,e),set:t.set})}const s=e=>function(...t){return e.apply(this,t.map(e=>a.unref(e)))};function l(e){var t;const n=r.resolveUnref(e);return null!=(t=null==n?void 0:n.$el)?t:n}const c=r.isClient?window:void 0,u=r.isClient?window.document:void 0,d=r.isClient?window.navigator:void 0,f=r.isClient?window.location:void 0;function h(...e){let t,n,o,i;if(r.isString(e[0])||Array.isArray(e[0])?([n,o,i]=e,t=c):[t,n,o,i]=e,!t)return r.noop;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const s=[],u=()=>{s.forEach(e=>e()),s.length=0},d=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),f=a.watch(()=>[l(t),r.resolveUnref(i)],([e,t])=>{u(),e&&s.push(...n.flatMap(n=>o.map(r=>d(e,n,r,t))))},{immediate:!0,flush:"post"}),h=()=>{f(),u()};return r.tryOnScopeDispose(h),h}let p=!1;function m(e,t,n={}){const{window:a=c,ignore:o=[],capture:i=!0,detectIframe:s=!1}=n;if(!a)return;r.isIOS&&!p&&(p=!0,Array.from(a.document.body.children).forEach(e=>e.addEventListener("click",r.noop)));let u=!0;const d=e=>o.some(t=>{if("string"===typeof t)return Array.from(a.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{const n=l(t);return n&&(e.target===n||e.composedPath().includes(n))}}),f=n=>{const r=l(e);r&&r!==n.target&&!n.composedPath().includes(r)&&(0===n.detail&&(u=!d(n)),u?t(n):u=!0)},m=[h(a,"click",f,{passive:!0,capture:i}),h(a,"pointerdown",t=>{const n=l(e);n&&(u=!t.composedPath().includes(n)&&!d(t))},{passive:!0}),s&&h(a,"blur",n=>{var r;const o=l(e);"IFRAME"!==(null==(r=a.document.activeElement)?void 0:r.tagName)||(null==o?void 0:o.contains(a.document.activeElement))||t(n)})].filter(Boolean),v=()=>m.forEach(e=>e());return v}var v=Object.defineProperty,b=Object.defineProperties,g=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,_=(e,t,n)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,j=(e,t)=>{for(var n in t||(t={}))O.call(t,n)&&_(e,n,t[n]);if(y)for(var n of y(t))w.call(t,n)&&_(e,n,t[n]);return e},k=(e,t)=>b(e,g(t));const x=e=>"function"===typeof e?e:"string"===typeof e?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0;function S(...e){let t,n,r={};3===e.length?(t=e[0],n=e[1],r=e[2]):2===e.length?"object"===typeof e[1]?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:a=c,eventName:o="keydown",passive:i=!1}=r,s=x(t),l=e=>{s(e)&&n(e)};return h(a,o,l,i)}function C(e,t,n={}){return S(e,t,k(j({},n),{eventName:"keydown"}))}function M(e,t,n={}){return S(e,t,k(j({},n),{eventName:"keypress"}))}function A(e,t,n={}){return S(e,t,k(j({},n),{eventName:"keyup"}))}const T=500;function E(e,t,n){var r,o;const i=a.computed(()=>l(e));let s;function c(){s&&(clearTimeout(s),s=void 0)}function u(e){var r,a,o,l;(null==(r=null==n?void 0:n.modifiers)?void 0:r.self)&&e.target!==i.value||(c(),(null==(a=null==n?void 0:n.modifiers)?void 0:a.prevent)&&e.preventDefault(),(null==(o=null==n?void 0:n.modifiers)?void 0:o.stop)&&e.stopPropagation(),s=setTimeout(()=>t(e),null!=(l=null==n?void 0:n.delay)?l:T))}const d={capture:null==(r=null==n?void 0:n.modifiers)?void 0:r.capture,once:null==(o=null==n?void 0:n.modifiers)?void 0:o.once};h(i,"pointerdown",u,d),h(i,"pointerup",c,d),h(i,"pointerleave",c,d)}const L=()=>{const{activeElement:e,body:t}=document;if(!e)return!1;if(e===t)return!1;switch(e.tagName){case"INPUT":case"TEXTAREA":return!0}return e.hasAttribute("contenteditable")},P=({keyCode:e,metaKey:t,ctrlKey:n,altKey:r})=>!(t||n||r)&&(e>=48&&e<=57||e>=96&&e<=105||e>=65&&e<=90);function D(e,t={}){const{document:n=u}=t,r=t=>{!L()&&P(t)&&e(t)};n&&h(n,"keydown",r,{passive:!0})}function N(e,t=null){const n=a.getCurrentInstance();let o=()=>{};const i=a.customRef((r,a)=>(o=a,{get(){var a,o;return r(),null!=(o=null==(a=null==n?void 0:n.proxy)?void 0:a.$refs[e])?o:t},set(){}}));return r.tryOnMounted(o),a.onUpdated(o),i}function R(e={}){var t;const{window:n=c}=e,a=null!=(t=e.document)?t:null==n?void 0:n.document,o=r.computedWithControl(()=>null,()=>null==a?void 0:a.activeElement);return n&&(h(n,"blur",e=>{null===e.relatedTarget&&o.trigger()},!0),h(n,"focus",o.trigger,!0)),o}function I(e,t={}){const{interrupt:n=!0,onError:o=r.noop,onFinished:i=r.noop}=t,s={pending:"pending",rejected:"rejected",fulfilled:"fulfilled"},l=Array.from(new Array(e.length),()=>({state:s.pending,data:null})),c=a.reactive(l),u=a.ref(-1);if(!e||0===e.length)return i(),{activeIndex:u,result:c};function d(e,t){u.value++,c[u.value].data=t,c[u.value].state=e}return e.reduce((t,r)=>t.then(t=>{var a;if((null==(a=c[u.value])?void 0:a.state)!==s.rejected||!n)return r(t).then(t=>(d(s.fulfilled,t),u.value===e.length-1&&i(),t));i()}).catch(e=>(d(s.rejected,e),o(),e)),Promise.resolve()),{activeIndex:u,result:c}}function B(e,t,n){const{immediate:o=!0,delay:i=0,onError:s=r.noop,onSuccess:l=r.noop,resetOnExecute:c=!0,shallow:u=!0,throwError:d}=null!=n?n:{},f=u?a.shallowRef(t):a.ref(t),h=a.ref(!1),p=a.ref(!1),m=a.ref(void 0);async function v(n=0,...a){c&&(f.value=t),m.value=void 0,h.value=!1,p.value=!0,n>0&&await r.promiseTimeout(n);const o="function"===typeof e?e(...a):e;try{const e=await o;f.value=e,h.value=!0,l(e)}catch(i){if(m.value=i,s(i),d)throw m}finally{p.value=!1}return f.value}return o&&v(i),{state:f,isReady:h,isLoading:p,error:m,execute:v}}const F={array:e=>JSON.stringify(e),object:e=>JSON.stringify(e),set:e=>JSON.stringify(Array.from(e)),map:e=>JSON.stringify(Object.fromEntries(e)),null:()=>""};function V(e){return e?e instanceof Map?F.map:e instanceof Set?F.set:Array.isArray(e)?F.array:F.object:F.null}function z(e,t){const n=a.ref(""),o=a.ref();function i(){if(r.isClient)return o.value=new Promise((n,a)=>{try{const o=r.resolveUnref(e);if(null==o)n("");else if("string"===typeof o)n(Y(new Blob([o],{type:"text/plain"})));else if(o instanceof Blob)n(Y(o));else if(o instanceof ArrayBuffer)n(window.btoa(String.fromCharCode(...new Uint8Array(o))));else if(o instanceof HTMLCanvasElement)n(o.toDataURL(null==t?void 0:t.type,null==t?void 0:t.quality));else if(o instanceof HTMLImageElement){const e=o.cloneNode(!1);e.crossOrigin="Anonymous",H(e).then(()=>{const r=document.createElement("canvas"),a=r.getContext("2d");r.width=e.width,r.height=e.height,a.drawImage(e,0,0,r.width,r.height),n(r.toDataURL(null==t?void 0:t.type,null==t?void 0:t.quality))}).catch(a)}else{if("object"===typeof o){const e=(null==t?void 0:t.serializer)||V(o),r=e(o);return n(Y(new Blob([r],{type:"application/json"})))}a(new Error("target is unsupported types"))}}catch(o){a(o)}}),o.value.then(e=>n.value=e),o.value}return a.isRef(e)||r.isFunction(e)?a.watch(e,i,{immediate:!0}):i(),{base64:n,promise:o,execute:i}}function H(e){return new Promise((t,n)=>{e.complete?t():(e.onload=()=>{t()},e.onerror=n)})}function Y(e){return new Promise((t,n)=>{const r=new FileReader;r.onload=e=>{t(e.target.result)},r.onerror=n,r.readAsDataURL(e)})}function U(e,t=!1){const n=a.ref(),o=()=>n.value=Boolean(e());return o(),r.tryOnMounted(o,t),n}function W({navigator:e=d}={}){const t=["chargingchange","chargingtimechange","dischargingtimechange","levelchange"],n=U(()=>e&&"getBattery"in e),r=a.ref(!1),o=a.ref(0),i=a.ref(0),s=a.ref(1);let l;function c(){r.value=this.charging,o.value=this.chargingTime||0,i.value=this.dischargingTime||0,s.value=this.level}return n.value&&e.getBattery().then(e=>{l=e,c.call(l);for(const n of t)h(l,n,c,{passive:!0})}),{isSupported:n,charging:r,chargingTime:o,dischargingTime:i,level:s}}function $(e){let{acceptAllDevices:t=!1}=e||{};const{filters:n,optionalServices:o,navigator:i=d}=e||{},s=U(()=>i&&"bluetooth"in i),l=a.shallowRef(void 0),c=a.shallowRef(null);async function u(){if(s.value){c.value=null,n&&n.length>0&&(t=!1);try{l.value=await(null==i?void 0:i.bluetooth.requestDevice({acceptAllDevices:t,filters:n,optionalServices:o}))}catch(e){c.value=e}}}a.watch(l,()=>{p()});const f=a.ref(),h=a.computed(()=>{var e;return(null==(e=f.value)?void 0:e.connected)||!1});async function p(){if(c.value=null,l.value&&l.value.gatt){l.value.addEventListener("gattserverdisconnected",()=>{});try{f.value=await l.value.gatt.connect()}catch(e){c.value=e}}}return r.tryOnMounted(()=>{var e;l.value&&(null==(e=l.value.gatt)||e.connect())}),r.tryOnScopeDispose(()=>{var e;l.value&&(null==(e=l.value.gatt)||e.disconnect())}),{isSupported:s,isConnected:h,device:l,requestDevice:u,server:f,error:c}}function q(e,t={}){const{window:n=c}=t,o=U(()=>n&&"matchMedia"in n&&"function"===typeof n.matchMedia);let i;const s=a.ref(!1),l=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",u):i.removeListener(u))},u=()=>{o.value&&(l(),i=n.matchMedia(r.resolveRef(e).value),s.value=i.matches,"addEventListener"in i?i.addEventListener("change",u):i.addListener(u))};return a.watchEffect(u),r.tryOnScopeDispose(()=>l()),s}const G={sm:640,md:768,lg:1024,xl:1280,"2xl":1536},X={sm:576,md:768,lg:992,xl:1200,xxl:1400},K={xs:600,sm:960,md:1264,lg:1904},J={xs:480,sm:576,md:768,lg:992,xl:1200,xxl:1600},Z={xs:600,sm:1024,md:1440,lg:1920},Q={mobileS:320,mobileM:375,mobileL:425,tablet:768,laptop:1024,laptopL:1440,desktop4K:2560},ee={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560};var te=Object.defineProperty,ne=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,oe=(e,t,n)=>t in e?te(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ie=(e,t)=>{for(var n in t||(t={}))re.call(t,n)&&oe(e,n,t[n]);if(ne)for(var n of ne(t))ae.call(t,n)&&oe(e,n,t[n]);return e};function se(e,t={}){function n(t,n){let a=e[t];return null!=n&&(a=r.increaseWithUnit(a,n)),"number"===typeof a&&(a+="px"),a}const{window:a=c}=t;function o(e){return!!a&&a.matchMedia(e).matches}const i=e=>q(`(min-width: ${n(e)})`,t),s=Object.keys(e).reduce((e,t)=>(Object.defineProperty(e,t,{get:()=>i(t),enumerable:!0,configurable:!0}),e),{});return ie({greater(e){return q(`(min-width: ${n(e,.1)})`,t)},greaterOrEqual:i,smaller(e){return q(`(max-width: ${n(e,-.1)})`,t)},smallerOrEqual(e){return q(`(max-width: ${n(e)})`,t)},between(e,r){return q(`(min-width: ${n(e)}) and (max-width: ${n(r,-.1)})`,t)},isGreater(e){return o(`(min-width: ${n(e,.1)})`)},isGreaterOrEqual(e){return o(`(min-width: ${n(e)})`)},isSmaller(e){return o(`(max-width: ${n(e,-.1)})`)},isSmallerOrEqual(e){return o(`(max-width: ${n(e)})`)},isInBetween(e,t){return o(`(min-width: ${n(e)}) and (max-width: ${n(t,-.1)})`)}},s)}const le=e=>{const{name:t,window:n=c}=e,o=U(()=>n&&"BroadcastChannel"in n),i=a.ref(!1),s=a.ref(),l=a.ref(),u=a.ref(null),d=e=>{s.value&&s.value.postMessage(e)},f=()=>{s.value&&s.value.close(),i.value=!0};return o.value&&r.tryOnMounted(()=>{u.value=null,s.value=new BroadcastChannel(t),s.value.addEventListener("message",e=>{l.value=e.data},{passive:!0}),s.value.addEventListener("messageerror",e=>{u.value=e},{passive:!0}),s.value.addEventListener("close",()=>{i.value=!0})}),r.tryOnScopeDispose(()=>{f()}),{isSupported:o,channel:s,data:l,post:d,close:f,error:u,isClosed:i}};function ce({window:e=c}={}){const t=t=>{const{state:n,length:r}=(null==e?void 0:e.history)||{},{hash:a,host:o,hostname:i,href:s,origin:l,pathname:c,port:u,protocol:d,search:f}=(null==e?void 0:e.location)||{};return{trigger:t,state:n,length:r,hash:a,host:o,hostname:i,href:s,origin:l,pathname:c,port:u,protocol:d,search:f}},n=a.ref(t("load"));return e&&(h(e,"popstate",()=>n.value=t("popstate"),{passive:!0}),h(e,"hashchange",()=>n.value=t("hashchange"),{passive:!0})),n}function ue(e,t=((e,t)=>e===t),n){const r=a.ref(e.value);return a.watch(()=>e.value,e=>{t(e,r.value)||(r.value=e)},n),r}function de(e={}){const{navigator:t=d,read:n=!1,source:o,copiedDuring:i=1500,legacy:s=!1}=e,l=["copy","cut"],c=U(()=>t&&"clipboard"in t),u=a.computed(()=>c.value||s),f=a.ref(""),p=a.ref(!1),m=r.useTimeoutFn(()=>p.value=!1,i);function v(){c.value?t.clipboard.readText().then(e=>{f.value=e}):f.value=y()}if(u.value&&n)for(const r of l)h(r,v);async function b(e=r.resolveUnref(o)){u.value&&null!=e&&(c.value?await t.clipboard.writeText(e):g(e),f.value=e,p.value=!0,m.start())}function g(e){const t=document.createElement("textarea");t.value=null!=e?e:"",t.style.position="absolute",t.style.opacity="0",document.body.appendChild(t),t.select(),document.execCommand("copy"),t.remove()}function y(){var e,t,n;return null!=(n=null==(t=null==(e=null==document?void 0:document.getSelection)?void 0:e.call(document))?void 0:t.toString())?n:""}return{isSupported:u,text:f,copied:p,copy:b}}var fe=Object.defineProperty,he=Object.defineProperties,pe=Object.getOwnPropertyDescriptors,me=Object.getOwnPropertySymbols,ve=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,ge=(e,t,n)=>t in e?fe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ye=(e,t)=>{for(var n in t||(t={}))ve.call(t,n)&&ge(e,n,t[n]);if(me)for(var n of me(t))be.call(t,n)&&ge(e,n,t[n]);return e},Oe=(e,t)=>he(e,pe(t));function we(e){return JSON.parse(JSON.stringify(e))}function _e(e,t={}){const n=a.ref({}),{manual:r,clone:o=we,deep:i=!0,immediate:s=!0}=t;function l(){n.value=o(a.unref(e))}return!r&&a.isRef(e)?a.watch(e,l,Oe(ye({},t),{deep:i,immediate:s})):l(),{cloned:n,sync:l}}const je="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof e?e:"undefined"!==typeof self?self:{},ke="__vueuse_ssr_handlers__";je[ke]=je[ke]||{};const xe=je[ke];function Se(e,t){return xe[e]||t}function Ce(e,t){xe[e]=t}function Me(e){return null==e?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":"boolean"===typeof e?"boolean":"string"===typeof e?"string":"object"===typeof e?"object":Number.isNaN(e)?"any":"number"}var Ae=Object.defineProperty,Te=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,Pe=(e,t,n)=>t in e?Ae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,De=(e,t)=>{for(var n in t||(t={}))Ee.call(t,n)&&Pe(e,n,t[n]);if(Te)for(var n of Te(t))Le.call(t,n)&&Pe(e,n,t[n]);return e};const Ne={boolean:{read:e=>"true"===e,write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Re="vueuse-storage";function Ie(e,t,n,o={}){var i;const{flush:s="pre",deep:l=!0,listenToStorageChanges:u=!0,writeDefaults:d=!0,mergeDefaults:f=!1,shallow:p,window:m=c,eventFilter:v,onError:b=(e=>{console.error(e)})}=o,g=(p?a.shallowRef:a.ref)(t);if(!n)try{n=Se("getDefaultStorage",()=>{var e;return null==(e=c)?void 0:e.localStorage})()}catch(M){b(M)}if(!n)return g;const y=r.resolveUnref(t),O=Me(y),w=null!=(i=o.serializer)?i:Ne[O],{pause:_,resume:j}=r.pausableWatch(g,()=>k(g.value),{flush:s,deep:l,eventFilter:v});return m&&u&&(h(m,"storage",C),h(m,Re,S)),C(),g;function k(t){try{if(null==t)n.removeItem(e);else{const r=w.write(t),a=n.getItem(e);a!==r&&(n.setItem(e,r),m&&m.dispatchEvent(new CustomEvent(Re,{detail:{key:e,oldValue:a,newValue:r,storageArea:n}})))}}catch(M){b(M)}}function x(t){const a=t?t.newValue:n.getItem(e);if(null==a)return d&&null!==y&&n.setItem(e,w.write(y)),y;if(!t&&f){const e=w.read(a);return r.isFunction(f)?f(e,y):"object"!==O||Array.isArray(e)?e:De(De({},y),e)}return"string"!==typeof a?a:w.read(a)}function S(e){C(e.detail)}function C(t){if(!t||t.storageArea===n)if(t&&null==t.key)g.value=y;else if(!t||t.key===e){_();try{g.value=x(t)}catch(M){b(M)}finally{t?a.nextTick(j):j()}}}}function Be(e){return q("(prefers-color-scheme: dark)",e)}var Fe=Object.defineProperty,Ve=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,Ye=(e,t,n)=>t in e?Fe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ue=(e,t)=>{for(var n in t||(t={}))ze.call(t,n)&&Ye(e,n,t[n]);if(Ve)for(var n of Ve(t))He.call(t,n)&&Ye(e,n,t[n]);return e};function We(e={}){const{selector:t="html",attribute:n="class",initialValue:o="auto",window:i=c,storage:s,storageKey:l="vueuse-color-scheme",listenToStorageChanges:u=!0,storageRef:d,emitAuto:f}=e,h=Ue({auto:"",light:"light",dark:"dark"},e.modes||{}),p=Be({window:i}),m=a.computed(()=>p.value?"dark":"light"),v=d||(null==l?a.ref(o):Ie(l,o,s,{window:i,listenToStorageChanges:u})),b=a.computed({get(){return"auto"!==v.value||f?v.value:m.value},set(e){v.value=e}}),g=Se("updateHTMLAttrs",(e,t,n)=>{const r=null==i?void 0:i.document.querySelector(e);if(r)if("class"===t){const e=n.split(/\s/g);Object.values(h).flatMap(e=>(e||"").split(/\s/g)).filter(Boolean).forEach(t=>{e.includes(t)?r.classList.add(t):r.classList.remove(t)})}else r.setAttribute(t,n)});function y(e){var r;const a="auto"===e?m.value:e;g(t,n,null!=(r=h[a])?r:a)}function O(t){e.onChanged?e.onChanged(t,y):y(t)}return a.watch(b,O,{flush:"post",immediate:!0}),f&&a.watch(m,()=>O(b.value),{flush:"post"}),r.tryOnMounted(()=>O(b.value)),b}function $e(e=a.ref(!1)){const t=r.createEventHook(),n=r.createEventHook(),o=r.createEventHook();let i=r.noop;const s=t=>(o.trigger(t),e.value=!0,new Promise(e=>{i=e})),l=n=>{e.value=!1,t.trigger(n),i({data:n,isCanceled:!1})},c=t=>{e.value=!1,n.trigger(t),i({data:t,isCanceled:!0})};return{isRevealed:a.computed(()=>e.value),reveal:s,confirm:l,cancel:c,onReveal:o.on,onConfirm:t.on,onCancel:n.on}}function qe(e,t,{window:n=c,initialValue:o=""}={}){const i=a.ref(o),s=a.computed(()=>{var e;return l(t)||(null==(e=null==n?void 0:n.document)?void 0:e.documentElement)});return a.watch([s,()=>r.resolveUnref(e)],([e,t])=>{var r;if(e&&n){const a=null==(r=n.getComputedStyle(e).getPropertyValue(t))?void 0:r.trim();i.value=a||o}},{immediate:!0}),a.watch(i,t=>{var n;(null==(n=s.value)?void 0:n.style)&&s.value.style.setProperty(r.resolveUnref(e),t)}),i}function Ge(){const e=a.getCurrentInstance(),t=r.computedWithControl(()=>null,()=>e.proxy.$el);return a.onUpdated(t.trigger),a.onMounted(t.trigger),t}function Xe(e,t){var n;const r=a.shallowRef(null!=(n=null==t?void 0:t.initialValue)?n:e[0]),o=a.computed({get(){var n;let a=(null==t?void 0:t.getIndexOf)?t.getIndexOf(r.value,e):e.indexOf(r.value);return a<0&&(a=null!=(n=null==t?void 0:t.fallbackIndex)?n:0),a},set(e){i(e)}});function i(t){const n=e.length,a=(t%n+n)%n,o=e[a];return r.value=o,o}function s(e=1){return i(o.value+e)}function l(e=1){return s(e)}function c(e=1){return s(-e)}return{state:r,index:o,next:l,prev:c}}var Ke=Object.defineProperty,Je=Object.defineProperties,Ze=Object.getOwnPropertyDescriptors,Qe=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable,nt=(e,t,n)=>t in e?Ke(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rt=(e,t)=>{for(var n in t||(t={}))et.call(t,n)&&nt(e,n,t[n]);if(Qe)for(var n of Qe(t))tt.call(t,n)&&nt(e,n,t[n]);return e},at=(e,t)=>Je(e,Ze(t));function ot(e={}){const{valueDark:t="dark",valueLight:n="",window:r=c}=e,o=We(at(rt({},e),{onChanged:(t,n)=>{var r;e.onChanged?null==(r=e.onChanged)||r.call(e,"dark"===t):n(t)},modes:{dark:t,light:n}})),i=Be({window:r}),s=a.computed({get(){return"dark"===o.value},set(e){e===i.value?o.value="auto":o.value=e?"dark":"light"}});return s}const it=e=>e,st=(e,t)=>e.value=t;function lt(e){return e?r.isFunction(e)?e:we:it}function ct(e){return e?r.isFunction(e)?e:we:it}function ut(e,t={}){const{clone:n=!1,dump:o=lt(n),parse:i=ct(n),setSource:s=st}=t;function l(){return a.markRaw({snapshot:o(e.value),timestamp:r.timestamp()})}const c=a.ref(l()),u=a.ref([]),d=a.ref([]),f=t=>{s(e,i(t.snapshot)),c.value=t},h=()=>{u.value.unshift(c.value),c.value=l(),t.capacity&&u.value.length>t.capacity&&u.value.splice(t.capacity,1/0),d.value.length&&d.value.splice(0,d.value.length)},p=()=>{u.value.splice(0,u.value.length),d.value.splice(0,d.value.length)},m=()=>{const e=u.value.shift();e&&(d.value.unshift(c.value),f(e))},v=()=>{const e=d.value.shift();e&&(u.value.unshift(c.value),f(e))},b=()=>{f(c.value)},g=a.computed(()=>[c.value,...u.value]),y=a.computed(()=>u.value.length>0),O=a.computed(()=>d.value.length>0);return{source:e,undoStack:u,redoStack:d,last:c,history:g,canUndo:y,canRedo:O,clear:p,commit:h,reset:b,undo:m,redo:v}}var dt=Object.defineProperty,ft=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,pt=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,vt=Object.prototype.propertyIsEnumerable,bt=(e,t,n)=>t in e?dt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,gt=(e,t)=>{for(var n in t||(t={}))mt.call(t,n)&&bt(e,n,t[n]);if(pt)for(var n of pt(t))vt.call(t,n)&&bt(e,n,t[n]);return e},yt=(e,t)=>ft(e,ht(t));function Ot(e,t={}){const{deep:n=!1,flush:a="pre",eventFilter:o}=t,{eventFilter:i,pause:s,resume:l,isActive:c}=r.pausableFilter(o),{ignoreUpdates:u,ignorePrevAsyncUpdates:d,stop:f}=r.watchIgnorable(e,b,{deep:n,flush:a,eventFilter:i});function h(e,t){d(),u(()=>{e.value=t})}const p=ut(e,yt(gt({},t),{clone:t.clone||n,setSource:h})),{clear:m,commit:v}=p;function b(){d(),v()}function g(e){l(),e&&b()}function y(e){let t=!1;const n=()=>t=!0;u(()=>{e(n)}),t||b()}function O(){f(),m()}return yt(gt({},p),{isTracking:c,pause:s,resume:g,commit:b,batch:y,dispose:O})}var wt=Object.defineProperty,_t=Object.defineProperties,jt=Object.getOwnPropertyDescriptors,kt=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,Ct=(e,t,n)=>t in e?wt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Mt=(e,t)=>{for(var n in t||(t={}))xt.call(t,n)&&Ct(e,n,t[n]);if(kt)for(var n of kt(t))St.call(t,n)&&Ct(e,n,t[n]);return e},At=(e,t)=>_t(e,jt(t));function Tt(e,t={}){const n=t.debounce?r.debounceFilter(t.debounce):void 0,a=Ot(e,At(Mt({},t),{eventFilter:n}));return Mt({},a)}function Et(e={}){const{window:t=c,eventFilter:n=r.bypassFilter}=e,o=a.ref({x:null,y:null,z:null}),i=a.ref({alpha:null,beta:null,gamma:null}),s=a.ref(0),l=a.ref({x:null,y:null,z:null});if(t){const e=r.createFilterWrapper(n,e=>{o.value=e.acceleration,l.value=e.accelerationIncludingGravity,i.value=e.rotationRate,s.value=e.interval});h(t,"devicemotion",e)}return{acceleration:o,accelerationIncludingGravity:l,rotationRate:i,interval:s}}function Lt(e={}){const{window:t=c}=e,n=U(()=>t&&"DeviceOrientationEvent"in t),r=a.ref(!1),o=a.ref(null),i=a.ref(null),s=a.ref(null);return t&&n.value&&h(t,"deviceorientation",e=>{r.value=e.absolute,o.value=e.alpha,i.value=e.beta,s.value=e.gamma}),{isSupported:n,isAbsolute:r,alpha:o,beta:i,gamma:s}}function Pt({window:e=c}={}){const t=a.ref(1);if(e){let n,a=function(){t.value=e.devicePixelRatio,o(),n=e.matchMedia(`(resolution: ${t.value}dppx)`),n.addEventListener("change",a,{once:!0})},o=function(){null==n||n.removeEventListener("change",a)};a(),r.tryOnScopeDispose(o)}return{pixelRatio:t}}function Dt(e,t={}){const{controls:n=!1,navigator:o=d}=t,i=U(()=>o&&"permissions"in o);let s;const l="string"===typeof e?{name:e}:e,c=a.ref(),u=()=>{s&&(c.value=s.state)},f=r.createSingletonPromise(async()=>{if(i.value){if(!s)try{s=await o.permissions.query(l),h(s,"change",u),u()}catch(e){c.value="prompt"}return s}});return f(),n?{state:c,isSupported:i,query:f}:c}function Nt(e={}){const{navigator:t=d,requestPermissions:n=!1,constraints:r={audio:!0,video:!0},onUpdated:o}=e,i=a.ref([]),s=a.computed(()=>i.value.filter(e=>"videoinput"===e.kind)),l=a.computed(()=>i.value.filter(e=>"audioinput"===e.kind)),c=a.computed(()=>i.value.filter(e=>"audiooutput"===e.kind)),u=U(()=>t&&t.mediaDevices&&t.mediaDevices.enumerateDevices),f=a.ref(!1);async function p(){u.value&&(i.value=await t.mediaDevices.enumerateDevices(),null==o||o(i.value))}async function m(){if(!u.value)return!1;if(f.value)return!0;const{state:e,query:n}=Dt("camera",{controls:!0});if(await n(),"granted"!==e.value){const e=await t.mediaDevices.getUserMedia(r);e.getTracks().forEach(e=>e.stop()),p(),f.value=!0}else f.value=!0;return f.value}return u.value&&(n&&m(),h(t.mediaDevices,"devicechange",p),p()),{devices:i,ensurePermissions:m,permissionGranted:f,videoInputs:s,audioInputs:l,audioOutputs:c,isSupported:u}}function Rt(e={}){var t;const n=a.ref(null!=(t=e.enabled)&&t),r=e.video,o=e.audio,{navigator:i=d}=e,s=U(()=>{var e;return null==(e=null==i?void 0:i.mediaDevices)?void 0:e.getDisplayMedia}),l={audio:o,video:r},c=a.shallowRef();async function u(){if(s.value&&!c.value)return c.value=await i.mediaDevices.getDisplayMedia(l),c.value}async function f(){var e;null==(e=c.value)||e.getTracks().forEach(e=>e.stop()),c.value=void 0}function h(){f(),n.value=!1}async function p(){return await u(),c.value&&(n.value=!0),c.value}return a.watch(n,e=>{e?u():f()},{immediate:!0}),{isSupported:s,stream:c,start:p,stop:h,enabled:n}}function It({document:e=u}={}){if(!e)return a.ref("visible");const t=a.ref(e.visibilityState);return h(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var Bt=Object.defineProperty,Ft=Object.defineProperties,Vt=Object.getOwnPropertyDescriptors,zt=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,Ut=(e,t,n)=>t in e?Bt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wt=(e,t)=>{for(var n in t||(t={}))Ht.call(t,n)&&Ut(e,n,t[n]);if(zt)for(var n of zt(t))Yt.call(t,n)&&Ut(e,n,t[n]);return e},$t=(e,t)=>Ft(e,Vt(t));function qt(e,t={}){var n,o,i;const s=null!=(n=t.draggingElement)?n:c,l=null!=(o=t.handle)?o:e,u=a.ref(null!=(i=r.resolveUnref(t.initialValue))?i:{x:0,y:0}),d=a.ref(),f=e=>!t.pointerTypes||t.pointerTypes.includes(e.pointerType),p=e=>{r.resolveUnref(t.preventDefault)&&e.preventDefault(),r.resolveUnref(t.stopPropagation)&&e.stopPropagation()},m=n=>{var a;if(!f(n))return;if(r.resolveUnref(t.exact)&&n.target!==r.resolveUnref(e))return;const o=r.resolveUnref(e).getBoundingClientRect(),i={x:n.clientX-o.left,y:n.clientY-o.top};!1!==(null==(a=t.onStart)?void 0:a.call(t,i,n))&&(d.value=i,p(n))},v=e=>{var n;f(e)&&d.value&&(u.value={x:e.clientX-d.value.x,y:e.clientY-d.value.y},null==(n=t.onMove)||n.call(t,u.value,e),p(e))},b=e=>{var n;f(e)&&d.value&&(d.value=void 0,null==(n=t.onEnd)||n.call(t,u.value,e),p(e))};return r.isClient&&(h(l,"pointerdown",m,!0),h(s,"pointermove",v,!0),h(s,"pointerup",b,!0)),$t(Wt({},r.toRefs(u)),{position:u,isDragging:a.computed(()=>!!d.value),style:a.computed(()=>`left:${u.value.x}px;top:${u.value.y}px;`)})}function Gt(e,t){const n=a.ref(!1);let o=0;return r.isClient&&(h(e,"dragenter",e=>{e.preventDefault(),o+=1,n.value=!0}),h(e,"dragover",e=>{e.preventDefault()}),h(e,"dragleave",e=>{e.preventDefault(),o-=1,0===o&&(n.value=!1)}),h(e,"drop",e=>{var r,a;e.preventDefault(),o=0,n.value=!1;const i=Array.from(null!=(a=null==(r=e.dataTransfer)?void 0:r.files)?a:[]);null==t||t(0===i.length?null:i)})),{isOverDropZone:n}}var Xt=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,Jt=Object.prototype.propertyIsEnumerable,Zt=(e,t)=>{var n={};for(var r in e)Kt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Xt)for(var r of Xt(e))t.indexOf(r)<0&&Jt.call(e,r)&&(n[r]=e[r]);return n};function Qt(e,t,n={}){const o=n,{window:i=c}=o,s=Zt(o,["window"]);let u;const d=U(()=>i&&"ResizeObserver"in i),f=()=>{u&&(u.disconnect(),u=void 0)},h=a.watch(()=>l(e),e=>{f(),d.value&&i&&e&&(u=new ResizeObserver(t),u.observe(e,s))},{immediate:!0,flush:"post"}),p=()=>{f(),h()};return r.tryOnScopeDispose(p),{isSupported:d,stop:p}}function en(e,t={}){const{reset:n=!0,windowResize:o=!0,windowScroll:i=!0,immediate:s=!0}=t,c=a.ref(0),u=a.ref(0),d=a.ref(0),f=a.ref(0),p=a.ref(0),m=a.ref(0),v=a.ref(0),b=a.ref(0);function g(){const t=l(e);if(!t)return void(n&&(c.value=0,u.value=0,d.value=0,f.value=0,p.value=0,m.value=0,v.value=0,b.value=0));const r=t.getBoundingClientRect();c.value=r.height,u.value=r.bottom,d.value=r.left,f.value=r.right,p.value=r.top,m.value=r.width,v.value=r.x,b.value=r.y}return Qt(e,g),a.watch(()=>l(e),e=>!e&&g()),i&&h("scroll",g,{capture:!0,passive:!0}),o&&h("resize",g,{passive:!0}),r.tryOnMounted(()=>{s&&g()}),{height:c,bottom:u,left:d,right:f,top:p,width:m,x:v,y:b,update:g}}function tn(e,t={}){const{immediate:n=!0,window:o=c}=t,i=a.ref(!1);let s=0,l=null;function u(t){if(!i.value||!o)return;const n=t-s;e({delta:n,timestamp:t}),s=t,l=o.requestAnimationFrame(u)}function d(){!i.value&&o&&(i.value=!0,l=o.requestAnimationFrame(u))}function f(){i.value=!1,null!=l&&o&&(o.cancelAnimationFrame(l),l=null)}return n&&d(),r.tryOnScopeDispose(f),{isActive:a.readonly(i),pause:f,resume:d}}var nn=Object.defineProperty,rn=Object.getOwnPropertySymbols,an=Object.prototype.hasOwnProperty,on=Object.prototype.propertyIsEnumerable,sn=(e,t,n)=>t in e?nn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ln=(e,t)=>{for(var n in t||(t={}))an.call(t,n)&&sn(e,n,t[n]);if(rn)for(var n of rn(t))on.call(t,n)&&sn(e,n,t[n]);return e};function cn(e){const t=a.ref(null),{x:n,y:o,document:i=u}=e,s=tn(()=>{t.value=(null==i?void 0:i.elementFromPoint(r.resolveUnref(n),r.resolveUnref(o)))||null});return ln({element:t},s)}function un(e,t={}){const n=t?t.delayEnter:0,r=t?t.delayLeave:0,o=a.ref(!1);let i;const s=e=>{const t=e?n:r;i&&(clearTimeout(i),i=void 0),t?i=setTimeout(()=>o.value=e,t):o.value=e};return window?(h(e,"mouseenter",()=>s(!0),{passive:!0}),h(e,"mouseleave",()=>s(!1),{passive:!0}),o):o}function dn(e,t={width:0,height:0},n={}){const{window:r=c,box:o="content-box"}=n,i=a.computed(()=>{var t,n;return null==(n=null==(t=l(e))?void 0:t.namespaceURI)?void 0:n.includes("svg")}),s=a.ref(t.width),u=a.ref(t.height);return Qt(e,([t])=>{const n="border-box"===o?t.borderBoxSize:"content-box"===o?t.contentBoxSize:t.devicePixelContentBoxSize;if(r&&i.value){const t=l(e);if(t){const e=r.getComputedStyle(t);s.value=parseFloat(e.width),u.value=parseFloat(e.height)}}else if(n){const e=Array.isArray(n)?n:[n];s.value=e.reduce((e,{inlineSize:t})=>e+t,0),u.value=e.reduce((e,{blockSize:t})=>e+t,0)}else s.value=t.contentRect.width,u.value=t.contentRect.height},n),a.watch(()=>l(e),e=>{s.value=e?t.width:0,u.value=e?t.height:0}),{width:s,height:u}}function fn(e,{window:t=c,scrollTarget:n}={}){const r=a.ref(!1),o=()=>{if(!t)return;const n=t.document,a=l(e);if(a){const e=a.getBoundingClientRect();r.value=e.top<=(t.innerHeight||n.documentElement.clientHeight)&&e.left<=(t.innerWidth||n.documentElement.clientWidth)&&e.bottom>=0&&e.right>=0}else r.value=!1};return a.watch(()=>l(e),()=>o(),{immediate:!0,flush:"post"}),t&&h(n||t,"scroll",o,{capture:!1,passive:!0}),r}const hn=new Map;function pn(e){const t=a.getCurrentScope();function n(n){var r;const a=hn.get(e)||[];a.push(n),hn.set(e,a);const i=()=>o(n);return null==(r=null==t?void 0:t.cleanups)||r.push(i),i}function r(e){function t(...n){o(t),e(...n)}return n(t)}function o(t){const n=hn.get(e);if(!n)return;const r=n.indexOf(t);r>-1&&n.splice(r,1),n.length||hn.delete(e)}function i(){hn.delete(e)}function s(t,n){var r;null==(r=hn.get(e))||r.forEach(e=>e(t,n))}return{on:n,once:r,off:o,emit:s,reset:i}}function mn(e,t=[],n={}){const o=a.ref(null),i=a.ref(null),s=a.ref("CONNECTING"),l=a.ref(null),c=a.ref(null),{withCredentials:u=!1}=n,d=()=>{l.value&&(l.value.close(),l.value=null,s.value="CLOSED")},f=new EventSource(e,{withCredentials:u});l.value=f,f.onopen=()=>{s.value="OPEN",c.value=null},f.onerror=e=>{s.value="CLOSED",c.value=e},f.onmessage=e=>{o.value=null,i.value=e.data};for(const r of t)h(f,r,e=>{o.value=r,i.value=e.data||null});return r.tryOnScopeDispose(()=>{d()}),{eventSource:l,event:o,data:i,status:s,error:c,close:d}}function vn(e={}){const{initialValue:t=""}=e,n=U(()=>"undefined"!==typeof window&&"EyeDropper"in window),r=a.ref(t);async function o(e){if(!n.value)return;const t=new window.EyeDropper,a=await t.open(e);return r.value=a.sRGBHex,a}return{isSupported:n,sRGBHex:r,open:o}}function bn(e=null,t={}){const{baseUrl:n="",rel:o="icon",document:i=u}=t,s=r.resolveRef(e),l=e=>{null==i||i.head.querySelectorAll(`link[rel*="${o}"]`).forEach(t=>t.href=`${n}${e}`)};return a.watch(s,(e,t)=>{r.isString(e)&&e!==t&&l(e)},{immediate:!0}),s}var gn=Object.defineProperty,yn=Object.defineProperties,On=Object.getOwnPropertyDescriptors,wn=Object.getOwnPropertySymbols,_n=Object.prototype.hasOwnProperty,jn=Object.prototype.propertyIsEnumerable,kn=(e,t,n)=>t in e?gn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xn=(e,t)=>{for(var n in t||(t={}))_n.call(t,n)&&kn(e,n,t[n]);if(wn)for(var n of wn(t))jn.call(t,n)&&kn(e,n,t[n]);return e},Sn=(e,t)=>yn(e,On(t));const Cn={json:"application/json",text:"text/plain"};function Mn(e){return e&&r.containsProp(e,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function An(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Tn(e){return"undefined"!==typeof Headers&&e instanceof Headers?Object.fromEntries([...e.entries()]):e}function En(e,...t){return"overwrite"===e?async e=>{const n=t[t.length-1];return void 0!==n&&await n(e),e}:async e=>(await t.reduce((t,n)=>t.then(async()=>{n&&(e=xn(xn({},e),await n(e)))}),Promise.resolve()),e)}function Ln(e={}){const t=e.combination||"chain",n=e.options||{},o=e.fetchOptions||{};function i(i,...s){const l=a.computed(()=>{const t=r.resolveUnref(e.baseUrl),n=r.resolveUnref(i);return t&&!An(n)?Dn(t,n):n});let c=n,u=o;return s.length>0&&(Mn(s[0])?c=Sn(xn(xn({},c),s[0]),{beforeFetch:En(t,n.beforeFetch,s[0].beforeFetch),afterFetch:En(t,n.afterFetch,s[0].afterFetch),onFetchError:En(t,n.onFetchError,s[0].onFetchError)}):u=Sn(xn(xn({},u),s[0]),{headers:xn(xn({},Tn(u.headers)||{}),Tn(s[0].headers)||{})})),s.length>1&&Mn(s[1])&&(c=Sn(xn(xn({},c),s[1]),{beforeFetch:En(t,n.beforeFetch,s[1].beforeFetch),afterFetch:En(t,n.afterFetch,s[1].afterFetch),onFetchError:En(t,n.onFetchError,s[1].onFetchError)})),Pn(l,u,c)}return i}function Pn(e,...t){var n;const o="function"===typeof AbortController;let i={},s={immediate:!0,refetch:!1,timeout:0};const l={method:"GET",type:"text",payload:void 0};t.length>0&&(Mn(t[0])?s=xn(xn({},s),t[0]):i=t[0]),t.length>1&&Mn(t[1])&&(s=xn(xn({},s),t[1]));const{fetch:u=(null==(n=c)?void 0:n.fetch),initialData:d,timeout:f}=s,h=r.createEventHook(),p=r.createEventHook(),m=r.createEventHook(),v=a.ref(!1),b=a.ref(!1),g=a.ref(!1),y=a.ref(null),O=a.shallowRef(null),w=a.shallowRef(null),_=a.shallowRef(d),j=a.computed(()=>o&&b.value);let k,x;const S=()=>{o&&k&&(k.abort(),k=void 0)},C=e=>{b.value=e,v.value=!e};f&&(x=r.useTimeoutFn(S,f,{immediate:!1}));const M=async(t=!1)=>{var n;C(!0),w.value=null,y.value=null,g.value=!1,o&&(S(),k=new AbortController,k.signal.onabort=()=>g.value=!0,i=Sn(xn({},i),{signal:k.signal}));const a={method:l.method,headers:{}};if(l.payload){const e=Tn(a.headers);l.payloadType&&(e["Content-Type"]=null!=(n=Cn[l.payloadType])?n:l.payloadType);const t=r.resolveUnref(l.payload);a.body="json"===l.payloadType?JSON.stringify(t):t}let c=!1;const d={url:r.resolveUnref(e),options:xn(xn({},a),i),cancel:()=>{c=!0}};if(s.beforeFetch&&Object.assign(d,await s.beforeFetch(d)),c||!u)return C(!1),Promise.resolve(null);let f=null;return x&&x.start(),new Promise((e,n)=>{var r;u(d.url,Sn(xn(xn({},a),d.options),{headers:xn(xn({},Tn(a.headers)),Tn(null==(r=d.options)?void 0:r.headers))})).then(async t=>{if(O.value=t,y.value=t.status,f=await t[l.type](),s.afterFetch&&y.value>=200&&y.value<300&&({data:f}=await s.afterFetch({data:f,response:t})),_.value=f,!t.ok)throw new Error(t.statusText);return h.trigger(t),e(t)}).catch(async r=>{let a=r.message||r.name;return s.onFetchError&&({data:f,error:a}=await s.onFetchError({data:f,error:r,response:O.value})),_.value=f,w.value=a,p.trigger(r),t?n(r):e(null)}).finally(()=>{C(!1),x&&x.stop(),m.trigger(null)})})},A=r.resolveRef(s.refetch);a.watch([A,r.resolveRef(e)],([e])=>e&&M(),{deep:!0});const T={isFinished:v,statusCode:y,response:O,error:w,data:_,isFetching:b,canAbort:j,aborted:g,abort:S,execute:M,onFetchResponse:h.on,onFetchError:p.on,onFetchFinally:m.on,get:E("GET"),put:E("PUT"),post:E("POST"),delete:E("DELETE"),patch:E("PATCH"),head:E("HEAD"),options:E("OPTIONS"),json:P("json"),text:P("text"),blob:P("blob"),arrayBuffer:P("arrayBuffer"),formData:P("formData")};function E(e){return(t,n)=>{if(!b.value){l.method=e,l.payload=t,l.payloadType=n,a.isRef(l.payload)&&a.watch([A,r.resolveRef(l.payload)],([e])=>e&&M(),{deep:!0});const o=r.resolveUnref(l.payload);return n||!o||Object.getPrototypeOf(o)!==Object.prototype||o instanceof FormData||(l.payloadType="json"),Sn(xn({},T),{then(e,t){return L().then(e,t)}})}}}function L(){return new Promise((e,t)=>{r.until(v).toBe(!0).then(()=>e(T)).catch(e=>t(e))})}function P(e){return()=>{if(!b.value)return l.type=e,Sn(xn({},T),{then(e,t){return L().then(e,t)}})}}return s.immediate&&setTimeout(M,0),Sn(xn({},T),{then(e,t){return L().then(e,t)}})}function Dn(e,t){return e.endsWith("/")||t.startsWith("/")?`${e}${t}`:`${e}/${t}`}var Nn=Object.defineProperty,Rn=Object.getOwnPropertySymbols,In=Object.prototype.hasOwnProperty,Bn=Object.prototype.propertyIsEnumerable,Fn=(e,t,n)=>t in e?Nn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Vn=(e,t)=>{for(var n in t||(t={}))In.call(t,n)&&Fn(e,n,t[n]);if(Rn)for(var n of Rn(t))Bn.call(t,n)&&Fn(e,n,t[n]);return e};const zn={multiple:!0,accept:"*"};function Hn(e={}){const{document:t=u}=e,n=a.ref(null);let o;t&&(o=t.createElement("input"),o.type="file",o.onchange=e=>{const t=e.target;n.value=t.files});const i=t=>{if(!o)return;const n=Vn(Vn(Vn({},zn),e),t);o.multiple=n.multiple,o.accept=n.accept,r.hasOwn(n,"capture")&&(o.capture=n.capture),o.click()},s=()=>{n.value=null,o&&(o.value="")};return{files:a.readonly(n),open:i,reset:s}}var Yn=Object.defineProperty,Un=Object.getOwnPropertySymbols,Wn=Object.prototype.hasOwnProperty,$n=Object.prototype.propertyIsEnumerable,qn=(e,t,n)=>t in e?Yn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Gn=(e,t)=>{for(var n in t||(t={}))Wn.call(t,n)&&qn(e,n,t[n]);if(Un)for(var n of Un(t))$n.call(t,n)&&qn(e,n,t[n]);return e};function Xn(e={}){const{window:t=c,dataType:n="Text"}=a.unref(e),r=t,o=U(()=>r&&"showSaveFilePicker"in r&&"showOpenFilePicker"in r),i=a.ref(),s=a.ref(),l=a.ref(),u=a.computed(()=>{var e,t;return null!=(t=null==(e=l.value)?void 0:e.name)?t:""}),d=a.computed(()=>{var e,t;return null!=(t=null==(e=l.value)?void 0:e.type)?t:""}),f=a.computed(()=>{var e,t;return null!=(t=null==(e=l.value)?void 0:e.size)?t:0}),h=a.computed(()=>{var e,t;return null!=(t=null==(e=l.value)?void 0:e.lastModified)?t:0});async function p(t={}){if(!o.value)return;const[n]=await r.showOpenFilePicker(Gn(Gn({},a.unref(e)),t));i.value=n,await g(),await y()}async function m(t={}){o.value&&(i.value=await r.showSaveFilePicker(Gn(Gn({},a.unref(e)),t)),s.value=void 0,await g(),await y())}async function v(e={}){if(o.value){if(!i.value)return b(e);if(s.value){const e=await i.value.createWritable();await e.write(s.value),await e.close()}await g()}}async function b(t={}){if(o.value){if(i.value=await r.showSaveFilePicker(Gn(Gn({},a.unref(e)),t)),s.value){const e=await i.value.createWritable();await e.write(s.value),await e.close()}await g()}}async function g(){var e;l.value=await(null==(e=i.value)?void 0:e.getFile())}async function y(){var e,t;"Text"===a.unref(n)&&(s.value=await(null==(e=l.value)?void 0:e.text())),"ArrayBuffer"===a.unref(n)&&(s.value=await(null==(t=l.value)?void 0:t.arrayBuffer())),"Blob"===a.unref(n)&&(s.value=l.value)}return a.watch(()=>a.unref(n),y),{isSupported:o,data:s,file:l,fileName:u,fileMIME:d,fileSize:f,fileLastModified:h,open:p,create:m,save:v,saveAs:b,updateData:y}}function Kn(e,t={}){const{initialValue:n=!1}=t,r=a.ref(!1),o=a.computed(()=>l(e));h(o,"focus",()=>r.value=!0),h(o,"blur",()=>r.value=!1);const i=a.computed({get:()=>r.value,set(e){var t,n;!e&&r.value?null==(t=o.value)||t.blur():e&&!r.value&&(null==(n=o.value)||n.focus())}});return a.watch(o,()=>{i.value=n},{immediate:!0,flush:"post"}),{focused:i}}function Jn(e,t={}){const n=R(t),r=a.computed(()=>l(e)),o=a.computed(()=>!(!r.value||!n.value)&&r.value.contains(n.value));return{focused:o}}function Zn(e){var t;const n=a.ref(0);if("undefined"===typeof performance)return n;const r=null!=(t=null==e?void 0:e.every)?t:10;let o=performance.now(),i=0;return tn(()=>{if(i+=1,i>=r){const e=performance.now(),t=e-o;n.value=Math.round(1e3/(t/i)),o=e,i=0}}),n}const Qn=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];function er(e,t={}){const{document:n=u,autoExit:o=!1}=t,i=e||(null==n?void 0:n.querySelector("html")),s=a.ref(!1);let c=Qn[0];const d=U(()=>{if(!n)return!1;for(const e of Qn)if(e[1]in n)return c=e,!0;return!1}),[f,p,m,,v]=c;async function b(){d.value&&((null==n?void 0:n[m])&&await n[p](),s.value=!1)}async function g(){if(!d.value)return;await b();const e=l(i);e&&(await e[f](),s.value=!0)}async function y(){s.value?await b():await g()}return n&&h(n,v,()=>{s.value=!!(null==n?void 0:n[m])},!1),o&&r.tryOnScopeDispose(b),{isSupported:d,isFullscreen:s,enter:g,exit:b,toggle:y}}function tr(e){return a.computed(()=>e.value?{buttons:{a:e.value.buttons[0],b:e.value.buttons[1],x:e.value.buttons[2],y:e.value.buttons[3]},bumper:{left:e.value.buttons[4],right:e.value.buttons[5]},triggers:{left:e.value.buttons[6],right:e.value.buttons[7]},stick:{left:{horizontal:e.value.axes[0],vertical:e.value.axes[1],button:e.value.buttons[10]},right:{horizontal:e.value.axes[2],vertical:e.value.axes[3],button:e.value.buttons[11]}},dpad:{up:e.value.buttons[12],down:e.value.buttons[13],left:e.value.buttons[14],right:e.value.buttons[15]},back:e.value.buttons[8],start:e.value.buttons[9]}:null)}function nr(e={}){const{navigator:t=d}=e,n=U(()=>t&&"getGamepads"in t),o=a.ref([]),i=r.createEventHook(),s=r.createEventHook(),l=e=>{const t=[],n="vibrationActuator"in e?e.vibrationActuator:null;return n&&t.push(n),e.hapticActuators&&t.push(...e.hapticActuators),{id:e.id,hapticActuators:t,index:e.index,mapping:e.mapping,connected:e.connected,timestamp:e.timestamp,axes:e.axes.map(e=>e),buttons:e.buttons.map(e=>({pressed:e.pressed,touched:e.touched,value:e.value}))}},c=()=>{const e=(null==t?void 0:t.getGamepads())||[];for(let t=0;t<e.length;++t){const n=e[t];if(n){const e=o.value.findIndex(({index:e})=>e===n.index);e>-1&&(o.value[e]=l(n))}}},{isActive:u,pause:f,resume:p}=tn(c),m=e=>{o.value.some(({index:t})=>t===e.index)||(o.value.push(l(e)),i.trigger(e.index)),p()},v=e=>{o.value=o.value.filter(t=>t.index!==e.index),s.trigger(e.index)};return h("gamepadconnected",e=>m(e.gamepad)),h("gamepaddisconnected",e=>v(e.gamepad)),r.tryOnMounted(()=>{const e=(null==t?void 0:t.getGamepads())||[];if(e)for(let t=0;t<e.length;++t){const n=e[t];n&&m(n)}}),f(),{isSupported:n,onConnected:i.on,onDisconnected:s.on,gamepads:o,pause:f,resume:p,isActive:u}}function rr(e={}){const{enableHighAccuracy:t=!0,maximumAge:n=3e4,timeout:o=27e3,navigator:i=d,immediate:s=!0}=e,l=U(()=>i&&"geolocation"in i),c=a.ref(null),u=a.ref(null),f=a.ref({accuracy:0,latitude:1/0,longitude:1/0,altitude:null,altitudeAccuracy:null,heading:null,speed:null});function h(e){c.value=e.timestamp,f.value=e.coords,u.value=null}let p;function m(){l.value&&(p=i.geolocation.watchPosition(h,e=>u.value=e,{enableHighAccuracy:t,maximumAge:n,timeout:o}))}function v(){p&&i&&i.geolocation.clearWatch(p)}return s&&m(),r.tryOnScopeDispose(()=>{v()}),{isSupported:l,coords:f,locatedAt:c,error:u,resume:m,pause:v}}const ar=["mousemove","mousedown","resize","keydown","touchstart","wheel"],or=6e4;function ir(e=or,t={}){const{initialState:n=!1,listenForVisibilityChange:o=!0,events:i=ar,window:s=c,eventFilter:l=r.throttleFilter(50)}=t,u=a.ref(n),d=a.ref(r.timestamp());let f;const p=r.createFilterWrapper(l,()=>{u.value=!1,d.value=r.timestamp(),clearTimeout(f),f=setTimeout(()=>u.value=!0,e)});if(s){const e=s.document;for(const t of i)h(s,t,p,{passive:!0});o&&h(e,"visibilitychange",()=>{e.hidden||p()})}return f=setTimeout(()=>u.value=!0,e),{idle:u,lastActive:d}}var sr=Object.defineProperty,lr=Object.getOwnPropertySymbols,cr=Object.prototype.hasOwnProperty,ur=Object.prototype.propertyIsEnumerable,dr=(e,t,n)=>t in e?sr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,fr=(e,t)=>{for(var n in t||(t={}))cr.call(t,n)&&dr(e,n,t[n]);if(lr)for(var n of lr(t))ur.call(t,n)&&dr(e,n,t[n]);return e};async function hr(e){return new Promise((t,n)=>{const r=new Image,{src:a,srcset:o,sizes:i}=e;r.src=a,o&&(r.srcset=o),i&&(r.sizes=i),r.onload=()=>t(r),r.onerror=n})}const pr=(e,t={})=>{const n=B(()=>hr(r.resolveUnref(e)),void 0,fr({resetOnExecute:!0},t));return a.watch(()=>r.resolveUnref(e),()=>n.execute(t.delay),{deep:!0}),n},mr=1;function vr(e,t={}){const{throttle:n=0,idle:o=200,onStop:i=r.noop,onScroll:s=r.noop,offset:l={left:0,right:0,top:0,bottom:0},eventListenerOptions:c={capture:!1,passive:!0},behavior:u="auto"}=t,d=a.ref(0),f=a.ref(0),p=a.computed({get(){return d.value},set(e){v(e,void 0)}}),m=a.computed({get(){return f.value},set(e){v(void 0,e)}});function v(t,n){var a,o,i;const s=r.resolveUnref(e);s&&(null==(i=s instanceof Document?document.body:s)||i.scrollTo({top:null!=(a=r.resolveUnref(n))?a:m.value,left:null!=(o=r.resolveUnref(t))?o:p.value,behavior:r.resolveUnref(u)}))}const b=a.ref(!1),g=a.reactive({left:!0,right:!1,top:!0,bottom:!1}),y=a.reactive({left:!1,right:!1,top:!1,bottom:!1}),O=e=>{b.value&&(b.value=!1,y.left=!1,y.right=!1,y.top=!1,y.bottom=!1,i(e))},w=r.useDebounceFn(O,n+o),_=e=>{const t=e.target===document?e.target.documentElement:e.target,n=t.scrollLeft;y.left=n<d.value,y.right=n>f.value,g.left=n<=0+(l.left||0),g.right=n+t.clientWidth>=t.scrollWidth-(l.right||0)-mr,d.value=n;let r=t.scrollTop;e.target!==document||r||(r=document.body.scrollTop),y.top=r<f.value,y.bottom=r>f.value,g.top=r<=0+(l.top||0),g.bottom=r+t.clientHeight>=t.scrollHeight-(l.bottom||0)-mr,f.value=r,b.value=!0,w(e),s(e)};return h(e,"scroll",n?r.useThrottleFn(_,n,!0,!1):_,c),h(e,"scrollend",O,c),{x:p,y:m,isScrolling:b,arrivedState:g,directions:y}}var br=Object.defineProperty,gr=Object.defineProperties,yr=Object.getOwnPropertyDescriptors,Or=Object.getOwnPropertySymbols,wr=Object.prototype.hasOwnProperty,_r=Object.prototype.propertyIsEnumerable,jr=(e,t,n)=>t in e?br(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kr=(e,t)=>{for(var n in t||(t={}))wr.call(t,n)&&jr(e,n,t[n]);if(Or)for(var n of Or(t))_r.call(t,n)&&jr(e,n,t[n]);return e},xr=(e,t)=>gr(e,yr(t));function Sr(e,t,n={}){var o,i;const s=null!=(o=n.direction)?o:"bottom",l=a.reactive(vr(e,xr(kr({},n),{offset:kr({[s]:null!=(i=n.distance)?i:0},n.offset)})));a.watch(()=>l.arrivedState[s],async o=>{var i,s;if(o){const o=r.resolveUnref(e),c={height:null!=(i=null==o?void 0:o.scrollHeight)?i:0,width:null!=(s=null==o?void 0:o.scrollWidth)?s:0};await t(l),n.preserveScrollPosition&&o&&a.nextTick(()=>{o.scrollTo({top:o.scrollHeight-c.height,left:o.scrollWidth-c.width})})}})}function Cr(e,t,n={}){const{root:o,rootMargin:i="0px",threshold:s=.1,window:u=c}=n,d=U(()=>u&&"IntersectionObserver"in u);let f=r.noop;const h=d.value?a.watch(()=>({el:l(e),root:l(o)}),({el:e,root:n})=>{if(f(),!e)return;const a=new IntersectionObserver(t,{root:n,rootMargin:i,threshold:s});a.observe(e),f=()=>{a.disconnect(),f=r.noop}},{immediate:!0,flush:"post"}):r.noop,p=()=>{f(),h()};return r.tryOnScopeDispose(p),{isSupported:d,stop:p}}const Mr=["mousedown","mouseup","keydown","keyup"];function Ar(e,t={}){const{events:n=Mr,document:r=u,initial:o=null}=t,i=a.ref(o);return r&&n.forEach(t=>{h(r,t,t=>{"function"===typeof t.getModifierState&&(i.value=t.getModifierState(e))})}),i}function Tr(e,t,n={}){const{window:r=c}=n;return Ie(e,t,null==r?void 0:r.localStorage,n)}const Er={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Lr(e={}){const{reactive:t=!1,target:n=c,aliasMap:o=Er,passive:i=!0,onEventFired:s=r.noop}=e,l=a.reactive(new Set),u={toJSON(){return{}},current:l},d=t?a.reactive(u):u,f=new Set,p=new Set;function m(e,n){e in d&&(t?d[e]=n:d[e].value=n)}function v(){l.clear();for(const e of p)m(e,!1)}function b(e,t){var n,r;const a=null==(n=e.key)?void 0:n.toLowerCase(),o=null==(r=e.code)?void 0:r.toLowerCase(),i=[o,a].filter(Boolean);a&&(t?l.add(a):l.delete(a));for(const s of i)p.add(s),m(s,t);"meta"!==a||t?"function"===typeof e.getModifierState&&e.getModifierState("Meta")&&t&&[...l,...i].forEach(e=>f.add(e)):(f.forEach(e=>{l.delete(e),m(e,!1)}),f.clear())}h(n,"keydown",e=>(b(e,!0),s(e)),{passive:i}),h(n,"keyup",e=>(b(e,!1),s(e)),{passive:i}),h("blur",v,{passive:!0}),h("focus",v,{passive:!0});const g=new Proxy(d,{get(e,n,r){if("string"!==typeof n)return Reflect.get(e,n,r);if(n=n.toLowerCase(),n in o&&(n=o[n]),!(n in d))if(/[+_-]/.test(n)){const e=n.split(/[+_-]/g).map(e=>e.trim());d[n]=a.computed(()=>e.every(e=>a.unref(g[e])))}else d[n]=a.ref(!1);const i=Reflect.get(e,n,r);return t?a.unref(i):i}});return g}var Pr=Object.defineProperty,Dr=Object.getOwnPropertySymbols,Nr=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,Ir=(e,t,n)=>t in e?Pr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Br=(e,t)=>{for(var n in t||(t={}))Nr.call(t,n)&&Ir(e,n,t[n]);if(Dr)for(var n of Dr(t))Rr.call(t,n)&&Ir(e,n,t[n]);return e};function Fr(e,t){r.resolveUnref(e)&&t(r.resolveUnref(e))}function Vr(e){let t=[];for(let n=0;n<e.length;++n)t=[...t,[e.start(n),e.end(n)]];return t}function zr(e){return Array.from(e).map(({label:e,kind:t,language:n,mode:r,activeCues:a,cues:o,inBandMetadataTrackDispatchType:i},s)=>({id:s,label:e,kind:t,language:n,mode:r,activeCues:a,cues:o,inBandMetadataTrackDispatchType:i}))}const Hr={src:"",tracks:[]};function Yr(e,t={}){t=Br(Br({},Hr),t);const{document:n=u}=t,o=a.ref(0),i=a.ref(0),s=a.ref(!1),l=a.ref(1),c=a.ref(!1),d=a.ref(!1),f=a.ref(!1),p=a.ref(1),m=a.ref(!1),v=a.ref([]),b=a.ref([]),g=a.ref(-1),y=a.ref(!1),O=a.ref(!1),w=n&&"pictureInPictureEnabled"in n,_=r.createEventHook(),j=t=>{Fr(e,e=>{if(t){const n=r.isNumber(t)?t:t.id;e.textTracks[n].mode="disabled"}else for(let t=0;t<e.textTracks.length;++t)e.textTracks[t].mode="disabled";g.value=-1})},k=(t,n=!0)=>{Fr(e,e=>{const a=r.isNumber(t)?t:t.id;n&&j(),e.textTracks[a].mode="showing",g.value=a})},x=()=>new Promise((t,r)=>{Fr(e,async e=>{w&&(y.value?n.exitPictureInPicture().then(t).catch(r):e.requestPictureInPicture().then(t).catch(r))})});a.watchEffect(()=>{if(!n)return;const a=r.resolveUnref(e);if(!a)return;const o=r.resolveUnref(t.src);let i=[];o&&(r.isString(o)?i=[{src:o}]:Array.isArray(o)?i=o:r.isObject(o)&&(i=[o]),a.querySelectorAll("source").forEach(e=>{e.removeEventListener("error",_.trigger),e.remove()}),i.forEach(({src:e,type:t})=>{const r=n.createElement("source");r.setAttribute("src",e),r.setAttribute("type",t||""),r.addEventListener("error",_.trigger),a.appendChild(r)}),a.load())}),r.tryOnScopeDispose(()=>{const t=r.resolveUnref(e);t&&t.querySelectorAll("source").forEach(e=>e.removeEventListener("error",_.trigger))}),a.watch(l,t=>{const n=r.resolveUnref(e);n&&(n.volume=t)}),a.watch(O,t=>{const n=r.resolveUnref(e);n&&(n.muted=t)}),a.watch(p,t=>{const n=r.resolveUnref(e);n&&(n.playbackRate=t)}),a.watchEffect(()=>{if(!n)return;const a=r.resolveUnref(t.tracks),o=r.resolveUnref(e);a&&a.length&&o&&(o.querySelectorAll("track").forEach(e=>e.remove()),a.forEach(({default:e,kind:t,label:r,src:a,srcLang:i},s)=>{const l=n.createElement("track");l.default=e||!1,l.kind=t,l.label=r,l.src=a,l.srclang=i,l.default&&(g.value=s),o.appendChild(l)}))});const{ignoreUpdates:S}=r.watchIgnorable(o,t=>{const n=r.resolveUnref(e);n&&(n.currentTime=t)}),{ignoreUpdates:C}=r.watchIgnorable(f,t=>{const n=r.resolveUnref(e);n&&(t?n.play():n.pause())});h(e,"timeupdate",()=>S(()=>o.value=r.resolveUnref(e).currentTime)),h(e,"durationchange",()=>i.value=r.resolveUnref(e).duration),h(e,"progress",()=>v.value=Vr(r.resolveUnref(e).buffered)),h(e,"seeking",()=>s.value=!0),h(e,"seeked",()=>s.value=!1),h(e,"waiting",()=>c.value=!0),h(e,"playing",()=>{c.value=!1,d.value=!1}),h(e,"ratechange",()=>p.value=r.resolveUnref(e).playbackRate),h(e,"stalled",()=>m.value=!0),h(e,"ended",()=>d.value=!0),h(e,"pause",()=>C(()=>f.value=!1)),h(e,"play",()=>C(()=>f.value=!0)),h(e,"enterpictureinpicture",()=>y.value=!0),h(e,"leavepictureinpicture",()=>y.value=!1),h(e,"volumechange",()=>{const t=r.resolveUnref(e);t&&(l.value=t.volume,O.value=t.muted)});const M=[],A=a.watch([e],()=>{const t=r.resolveUnref(e);t&&(A(),M[0]=h(t.textTracks,"addtrack",()=>b.value=zr(t.textTracks)),M[1]=h(t.textTracks,"removetrack",()=>b.value=zr(t.textTracks)),M[2]=h(t.textTracks,"change",()=>b.value=zr(t.textTracks)))});return r.tryOnScopeDispose(()=>M.forEach(e=>e())),{currentTime:o,duration:i,waiting:c,seeking:s,ended:d,stalled:m,buffered:v,playing:f,rate:p,volume:l,muted:O,tracks:b,selectedTrack:g,enableTrack:k,disableTrack:j,supportsPictureInPicture:w,togglePictureInPicture:x,isPictureInPicture:y,onSourceError:_.on}}const Ur=()=>{const e=a.reactive({});return{get:t=>e[t],set:(t,n)=>a.set(e,t,n),has:t=>r.hasOwn(e,t),delete:t=>a.del(e,t),clear:()=>{Object.keys(e).forEach(t=>{a.del(e,t)})}}};function Wr(e,t){const n=()=>(null==t?void 0:t.cache)?a.reactive(t.cache):a.isVue2?Ur():a.reactive(new Map),r=n(),o=(...e)=>(null==t?void 0:t.getKey)?t.getKey(...e):JSON.stringify(e),i=(t,...n)=>(r.set(t,e(...n)),r.get(t)),s=(...e)=>i(o(...e),...e),l=(...e)=>{r.delete(o(...e))},c=()=>{r.clear()},u=(...e)=>{const t=o(...e);return r.has(t)?r.get(t):i(t,...e)};return u.load=s,u.delete=l,u.clear=c,u.generateKey=o,u.cache=r,u}function $r(e={}){const t=a.ref(),n=U(()=>"undefined"!==typeof performance&&"memory"in performance);if(n.value){const{interval:n=1e3}=e;r.useIntervalFn(()=>{t.value=performance.memory},n,{immediate:e.immediate,immediateCallback:e.immediateCallback})}return{isSupported:n,memory:t}}function qr(){const e=a.ref(!1);return a.onMounted(()=>{e.value=!0}),e}function Gr(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:r=!1,initialValue:o={x:0,y:0},window:i=c,eventFilter:s}=e,l=a.ref(o.x),u=a.ref(o.y),d=a.ref(null),f=e=>{"page"===t?(l.value=e.pageX,u.value=e.pageY):"client"===t?(l.value=e.clientX,u.value=e.clientY):"movement"===t&&(l.value=e.movementX,u.value=e.movementY),d.value="mouse"},p=()=>{l.value=o.x,u.value=o.y},m=e=>{if(e.touches.length>0){const n=e.touches[0];"page"===t?(l.value=n.pageX,u.value=n.pageY):"client"===t&&(l.value=n.clientX,u.value=n.clientY),d.value="touch"}},v=e=>void 0===s?f(e):s(()=>f(e),{}),b=e=>void 0===s?m(e):s(()=>m(e),{});return i&&(h(i,"mousemove",v,{passive:!0}),h(i,"dragover",v,{passive:!0}),n&&"movement"!==t&&(h(i,"touchstart",b,{passive:!0}),h(i,"touchmove",b,{passive:!0}),r&&h(i,"touchend",p,{passive:!0}))),{x:l,y:u,sourceType:d}}function Xr(e,t={}){const{handleOutside:n=!0,window:r=c}=t,{x:o,y:i,sourceType:s}=Gr(t),u=a.ref(null!=e?e:null==r?void 0:r.document.body),d=a.ref(0),f=a.ref(0),p=a.ref(0),m=a.ref(0),v=a.ref(0),b=a.ref(0),g=a.ref(!0);let y=()=>{};return r&&(y=a.watch([u,o,i],()=>{const e=l(u);if(!e)return;const{left:t,top:a,width:s,height:c}=e.getBoundingClientRect();p.value=t+r.pageXOffset,m.value=a+r.pageYOffset,v.value=c,b.value=s;const h=o.value-p.value,y=i.value-m.value;g.value=0===s||0===c||h<0||y<0||h>s||y>c,!n&&g.value||(d.value=h,f.value=y)},{immediate:!0}),h(document,"mouseleave",()=>{g.value=!0})),{x:o,y:i,sourceType:s,elementX:d,elementY:f,elementPositionX:p,elementPositionY:m,elementHeight:v,elementWidth:b,isOutside:g,stop:y}}function Kr(e={}){const{touch:t=!0,drag:n=!0,initialValue:r=!1,window:o=c}=e,i=a.ref(r),s=a.ref(null);if(!o)return{pressed:i,sourceType:s};const u=e=>()=>{i.value=!0,s.value=e},d=()=>{i.value=!1,s.value=null},f=a.computed(()=>l(e.target)||o);return h(f,"mousedown",u("mouse"),{passive:!0}),h(o,"mouseleave",d,{passive:!0}),h(o,"mouseup",d,{passive:!0}),n&&(h(f,"dragstart",u("mouse"),{passive:!0}),h(o,"drop",d,{passive:!0}),h(o,"dragend",d,{passive:!0})),t&&(h(f,"touchstart",u("touch"),{passive:!0}),h(o,"touchend",d,{passive:!0}),h(o,"touchcancel",d,{passive:!0})),{pressed:i,sourceType:s}}var Jr=Object.getOwnPropertySymbols,Zr=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable,ea=(e,t)=>{var n={};for(var r in e)Zr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&Jr)for(var r of Jr(e))t.indexOf(r)<0&&Qr.call(e,r)&&(n[r]=e[r]);return n};function ta(e,t,n={}){const o=n,{window:i=c}=o,s=ea(o,["window"]);let u;const d=U(()=>i&&"MutationObserver"in i),f=()=>{u&&(u.disconnect(),u=void 0)},h=a.watch(()=>l(e),e=>{f(),d.value&&i&&e&&(u=new MutationObserver(t),u.observe(e,s))},{immediate:!0}),p=()=>{f(),h()};return r.tryOnScopeDispose(p),{isSupported:d,stop:p}}const na=(e={})=>{const{window:t=c}=e,n=null==t?void 0:t.navigator,r=U(()=>n&&"language"in n),o=a.ref(null==n?void 0:n.language);return h(t,"languagechange",()=>{n&&(o.value=n.language)}),{isSupported:r,language:o}};function ra(e={}){const{window:t=c}=e,n=null==t?void 0:t.navigator,r=U(()=>n&&"connection"in n),o=a.ref(!0),i=a.ref(!1),s=a.ref(void 0),l=a.ref(void 0),u=a.ref(void 0),d=a.ref(void 0),f=a.ref(void 0),p=a.ref(void 0),m=a.ref("unknown"),v=r.value&&n.connection;function b(){n&&(o.value=n.onLine,s.value=o.value?void 0:Date.now(),l.value=o.value?Date.now():void 0,v&&(u.value=v.downlink,d.value=v.downlinkMax,p.value=v.effectiveType,f.value=v.rtt,i.value=v.saveData,m.value=v.type))}return t&&(h(t,"offline",()=>{o.value=!1,s.value=Date.now()}),h(t,"online",()=>{o.value=!0,l.value=Date.now()})),v&&h(v,"change",b,!1),b(),{isSupported:r,isOnline:o,saveData:i,offlineAt:s,onlineAt:l,downlink:u,downlinkMax:d,effectiveType:p,rtt:f,type:m}}var aa=Object.defineProperty,oa=Object.getOwnPropertySymbols,ia=Object.prototype.hasOwnProperty,sa=Object.prototype.propertyIsEnumerable,la=(e,t,n)=>t in e?aa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ca=(e,t)=>{for(var n in t||(t={}))ia.call(t,n)&&la(e,n,t[n]);if(oa)for(var n of oa(t))sa.call(t,n)&&la(e,n,t[n]);return e};function ua(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,o=a.ref(new Date),i=()=>o.value=new Date,s="requestAnimationFrame"===n?tn(i,{immediate:!0}):r.useIntervalFn(i,n,{immediate:!0});return t?ca({now:o},s):o}function da(e){const t=a.ref(),n=()=>{t.value&&URL.revokeObjectURL(t.value),t.value=void 0};return a.watch(()=>a.unref(e),e=>{n(),e&&(t.value=URL.createObjectURL(e))},{immediate:!0}),r.tryOnScopeDispose(n),a.readonly(t)}function fa(e,t,n){if(r.isFunction(e)||a.isReadonly(e))return a.computed(()=>r.clamp(r.resolveUnref(e),r.resolveUnref(t),r.resolveUnref(n)));const o=a.ref(e);return a.computed({get(){return o.value=r.clamp(o.value,r.resolveUnref(t),r.resolveUnref(n))},set(e){o.value=r.clamp(e,r.resolveUnref(t),r.resolveUnref(n))}})}function ha(e){const{total:t=1/0,pageSize:n=10,page:o=1,onPageChange:i=r.noop,onPageSizeChange:s=r.noop,onPageCountChange:l=r.noop}=e,c=fa(n,1,1/0),u=a.computed(()=>Math.max(1,Math.ceil(a.unref(t)/a.unref(c)))),d=fa(o,1,u),f=a.computed(()=>1===d.value),h=a.computed(()=>d.value===u.value);function p(){d.value--}function m(){d.value++}a.isRef(o)&&r.syncRef(o,d),a.isRef(n)&&r.syncRef(n,c);const v={currentPage:d,currentPageSize:c,pageCount:u,isFirstPage:f,isLastPage:h,prev:p,next:m};return a.watch(d,()=>{i(a.reactive(v))}),a.watch(c,()=>{s(a.reactive(v))}),a.watch(u,()=>{l(a.reactive(v))}),v}function pa(e={}){const{isOnline:t}=ra(e);return t}function ma(e={}){const{window:t=c}=e,n=a.ref(!1),r=e=>{if(!t)return;e=e||t.event;const r=e.relatedTarget||e.toElement;n.value=!r};return t&&(h(t,"mouseout",r,{passive:!0}),h(t.document,"mouseleave",r,{passive:!0}),h(t.document,"mouseenter",r,{passive:!0})),n}function va(e,t={}){const{deviceOrientationTiltAdjust:n=(e=>e),deviceOrientationRollAdjust:r=(e=>e),mouseTiltAdjust:o=(e=>e),mouseRollAdjust:i=(e=>e),window:s=c}=t,l=a.reactive(Lt({window:s})),{elementX:u,elementY:d,elementWidth:f,elementHeight:h}=Xr(e,{handleOutside:!1,window:s}),p=a.computed(()=>l.isSupported&&(null!=l.alpha&&0!==l.alpha||null!=l.gamma&&0!==l.gamma)?"deviceOrientation":"mouse"),m=a.computed(()=>{if("deviceOrientation"===p.value){const e=-l.beta/90;return r(e)}{const e=-(d.value-h.value/2)/h.value;return i(e)}}),v=a.computed(()=>{if("deviceOrientation"===p.value){const e=l.gamma/90;return n(e)}{const e=(u.value-f.value/2)/f.value;return o(e)}});return{roll:m,tilt:v,source:p}}var ba=Object.defineProperty,ga=Object.defineProperties,ya=Object.getOwnPropertyDescriptors,Oa=Object.getOwnPropertySymbols,wa=Object.prototype.hasOwnProperty,_a=Object.prototype.propertyIsEnumerable,ja=(e,t,n)=>t in e?ba(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ka=(e,t)=>{for(var n in t||(t={}))wa.call(t,n)&&ja(e,n,t[n]);if(Oa)for(var n of Oa(t))_a.call(t,n)&&ja(e,n,t[n]);return e},xa=(e,t)=>ga(e,ya(t));const Sa={x:0,y:0,pointerId:0,pressure:0,tiltX:0,tiltY:0,width:0,height:0,twist:0,pointerType:null},Ca=Object.keys(Sa);function Ma(e={}){const{target:t=c}=e,n=a.ref(!1),o=a.ref(e.initialValue||{});Object.assign(o.value,Sa,o.value);const i=t=>{n.value=!0,e.pointerTypes&&!e.pointerTypes.includes(t.pointerType)||(o.value=r.objectPick(t,Ca,!1))};return t&&(h(t,"pointerdown",i,{passive:!0}),h(t,"pointermove",i,{passive:!0}),h(t,"pointerleave",()=>n.value=!1,{passive:!0})),xa(ka({},r.toRefs(o)),{isInside:n})}function Aa(e,t={}){const{document:n=u,pointerLockOptions:o}=t,i=U(()=>n&&"pointerLockElement"in n),s=a.ref(),c=a.ref();let d;async function f(t,n){var a;if(!i.value)throw new Error("Pointer Lock API is not supported by your browser.");if(c.value=t instanceof Event?t.currentTarget:null,d=t instanceof Event?null!=(a=l(e))?a:c.value:l(t),!d)throw new Error("Target element undefined.");return d.requestPointerLock(null!=n?n:o),await r.until(s).toBe(d)}async function p(){return!!s.value&&(n.exitPointerLock(),await r.until(s).toBeNull(),!0)}return i.value&&(h(n,"pointerlockchange",()=>{var e;const t=null!=(e=n.pointerLockElement)?e:s.value;d&&t===d&&(s.value=n.pointerLockElement,s.value||(d=c.value=null))}),h(n,"pointerlockerror",()=>{var e;const t=null!=(e=n.pointerLockElement)?e:s.value;if(d&&t===d){const e=n.pointerLockElement?"release":"acquire";throw new Error(`Failed to ${e} pointer lock.`)}})),{isSupported:i,element:s,triggerElement:c,lock:f,unlock:p}}function Ta(e,n={}){const{threshold:r=50,onSwipe:o,onSwipeEnd:i,onSwipeStart:s,passive:l=!0,window:u=c}=n,d=a.reactive({x:0,y:0}),f=a.reactive({x:0,y:0}),p=a.computed(()=>d.x-f.x),m=a.computed(()=>d.y-f.y),{max:v,abs:b}=Math,g=a.computed(()=>v(b(p.value),b(m.value))>=r),y=a.ref(!1),O=a.computed(()=>g.value?b(p.value)>b(m.value)?p.value>0?t.SwipeDirection.LEFT:t.SwipeDirection.RIGHT:m.value>0?t.SwipeDirection.UP:t.SwipeDirection.DOWN:t.SwipeDirection.NONE),w=e=>[e.touches[0].clientX,e.touches[0].clientY],_=(e,t)=>{d.x=e,d.y=t},j=(e,t)=>{f.x=e,f.y=t};let k;const x=Ea(null==u?void 0:u.document);k=l?x?{passive:!0}:{capture:!1}:x?{passive:!1,capture:!0}:{capture:!0};const S=e=>{y.value&&(null==i||i(e,O.value)),y.value=!1},C=[h(e,"touchstart",e=>{k.capture&&!k.passive&&e.preventDefault();const[t,n]=w(e);_(t,n),j(t,n),null==s||s(e)},k),h(e,"touchmove",e=>{const[t,n]=w(e);j(t,n),!y.value&&g.value&&(y.value=!0),y.value&&(null==o||o(e))},k),h(e,"touchend",S,k),h(e,"touchcancel",S,k)],M=()=>C.forEach(e=>e());return{isPassiveEventSupported:x,isSwiping:y,direction:O,coordsStart:d,coordsEnd:f,lengthX:p,lengthY:m,stop:M}}function Ea(e){if(!e)return!1;let t=!1;const n={get passive(){return t=!0,!1}};return e.addEventListener("x",r.noop,n),e.removeEventListener("x",r.noop),t}function La(e,n={}){const o=r.resolveRef(e),{threshold:i=50,onSwipe:s,onSwipeEnd:l,onSwipeStart:c}=n,u=a.reactive({x:0,y:0}),d=(e,t)=>{u.x=e,u.y=t},f=a.reactive({x:0,y:0}),p=(e,t)=>{f.x=e,f.y=t},m=a.computed(()=>u.x-f.x),v=a.computed(()=>u.y-f.y),{max:b,abs:g}=Math,y=a.computed(()=>b(g(m.value),g(v.value))>=i),O=a.ref(!1),w=a.ref(!1),_=a.computed(()=>y.value?g(m.value)>g(v.value)?m.value>0?t.SwipeDirection.LEFT:t.SwipeDirection.RIGHT:v.value>0?t.SwipeDirection.UP:t.SwipeDirection.DOWN:t.SwipeDirection.NONE),j=e=>{var t,r,a;const o=0===e.buttons,i=1===e.buttons;return null==(a=null!=(r=null==(t=n.pointerTypes)?void 0:t.includes(e.pointerType))?r:o||i)||a},k=[h(e,"pointerdown",e=>{var t,n;if(!j(e))return;w.value=!0,null==(n=null==(t=o.value)?void 0:t.style)||n.setProperty("touch-action","none");const r=e.target;null==r||r.setPointerCapture(e.pointerId);const{clientX:a,clientY:i}=e;d(a,i),p(a,i),null==c||c(e)}),h(e,"pointermove",e=>{if(!j(e))return;if(!w.value)return;const{clientX:t,clientY:n}=e;p(t,n),!O.value&&y.value&&(O.value=!0),O.value&&(null==s||s(e))}),h(e,"pointerup",e=>{var t,n;j(e)&&(O.value&&(null==l||l(e,_.value)),w.value=!1,O.value=!1,null==(n=null==(t=o.value)?void 0:t.style)||n.setProperty("touch-action","initial"))})],x=()=>k.forEach(e=>e());return{isSwiping:a.readonly(O),direction:a.readonly(_),posStart:a.readonly(u),posEnd:a.readonly(f),distanceX:m,distanceY:v,stop:x}}function Pa(e){const t=q("(prefers-color-scheme: light)",e),n=q("(prefers-color-scheme: dark)",e);return a.computed(()=>n.value?"dark":t.value?"light":"no-preference")}function Da(e){const t=q("(prefers-contrast: more)",e),n=q("(prefers-contrast: less)",e),r=q("(prefers-contrast: custom)",e);return a.computed(()=>t.value?"more":n.value?"less":r.value?"custom":"no-preference")}function Na(e={}){const{window:t=c}=e;if(!t)return a.ref(["en"]);const n=t.navigator,r=a.ref(n.languages);return h(t,"languagechange",()=>{r.value=n.languages}),r}function Ra(e){const t=q("(prefers-reduced-motion: reduce)",e);return a.computed(()=>t.value?"reduce":"no-preference")}function Ia(e,t){const n=a.shallowRef(t);return a.watch(r.resolveRef(e),(e,t)=>{n.value=t},{flush:"sync"}),a.readonly(n)}t.SwipeDirection=void 0,function(e){e["UP"]="UP",e["RIGHT"]="RIGHT",e["DOWN"]="DOWN",e["LEFT"]="LEFT",e["NONE"]="NONE"}(t.SwipeDirection||(t.SwipeDirection={}));const Ba=(e={})=>{const{window:t=c}=e,n=U(()=>t&&"screen"in t&&"orientation"in t.screen),r=n.value?t.screen.orientation:{},o=a.ref(r.type),i=a.ref(r.angle||0);n.value&&h(t,"orientationchange",()=>{o.value=r.type,i.value=r.angle});const s=e=>n.value?r.lock(e):Promise.reject(new Error("Not supported")),l=()=>{n.value&&r.unlock()};return{isSupported:n,orientation:o,angle:i,lockOrientation:s,unlockOrientation:l}},Fa="--vueuse-safe-area-top",Va="--vueuse-safe-area-right",za="--vueuse-safe-area-bottom",Ha="--vueuse-safe-area-left";function Ya(){const e=a.ref(""),t=a.ref(""),n=a.ref(""),o=a.ref("");if(r.isClient){const e=qe(Fa),t=qe(Va),n=qe(za),a=qe(Ha);e.value="env(safe-area-inset-top, 0px)",t.value="env(safe-area-inset-right, 0px)",n.value="env(safe-area-inset-bottom, 0px)",a.value="env(safe-area-inset-left, 0px)",i(),h("resize",r.useDebounceFn(i))}function i(){e.value=Ua(Fa),t.value=Ua(Va),n.value=Ua(za),o.value=Ua(Ha)}return{top:e,right:t,bottom:n,left:o,update:i}}function Ua(e){return getComputedStyle(document.documentElement).getPropertyValue(e)}function Wa(e,t=r.noop,n={}){const{immediate:o=!0,manual:i=!1,type:s="text/javascript",async:l=!0,crossOrigin:c,referrerPolicy:d,noModule:f,defer:h,document:p=u,attrs:m={}}=n,v=a.ref(null);let b=null;const g=n=>new Promise((a,o)=>{const i=e=>(v.value=e,a(e),e);if(!p)return void a(!1);let u=!1,b=p.querySelector(`script[src="${r.resolveUnref(e)}"]`);b?b.hasAttribute("data-loaded")&&i(b):(b=p.createElement("script"),b.type=s,b.async=l,b.src=r.resolveUnref(e),h&&(b.defer=h),c&&(b.crossOrigin=c),f&&(b.noModule=f),d&&(b.referrerPolicy=d),Object.entries(m).forEach(([e,t])=>null==b?void 0:b.setAttribute(e,t)),u=!0),b.addEventListener("error",e=>o(e)),b.addEventListener("abort",e=>o(e)),b.addEventListener("load",()=>{b.setAttribute("data-loaded","true"),t(b),i(b)}),u&&(b=p.head.appendChild(b)),n||i(b)}),y=(e=!0)=>(b||(b=g(e)),b),O=()=>{if(!p)return;b=null,v.value&&(v.value=null);const t=p.querySelector(`script[src="${r.resolveUnref(e)}"]`);t&&p.head.removeChild(t)};return o&&!i&&r.tryOnMounted(y),i||r.tryOnUnmounted(O),{scriptTag:v,load:y,unload:O}}function $a(e){const t=window.getComputedStyle(e);if("scroll"===t.overflowX||"scroll"===t.overflowY||"auto"===t.overflowX&&e.clientHeight<e.scrollHeight||"auto"===t.overflowY&&e.clientWidth<e.scrollWidth)return!0;{const t=e.parentNode;return!(!t||"BODY"===t.tagName)&&$a(t)}}function qa(e){const t=e||window.event,n=t.target;return!$a(n)&&(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))}function Ga(e,t=!1){const n=a.ref(t);let o,i=null;a.watch(r.resolveRef(e),e=>{if(e){const t=e;o=t.style.overflow,n.value&&(t.style.overflow="hidden")}},{immediate:!0});const s=()=>{const t=r.resolveUnref(e);t&&!n.value&&(r.isIOS&&(i=h(t,"touchmove",e=>{qa(e)},{passive:!1})),t.style.overflow="hidden",n.value=!0)},l=()=>{const t=r.resolveUnref(e);t&&n.value&&(r.isIOS&&(null==i||i()),t.style.overflow=o,n.value=!1)};return r.tryOnScopeDispose(l),a.computed({get(){return n.value},set(e){e?s():l()}})}function Xa(e,t,n={}){const{window:r=c}=n;return Ie(e,t,null==r?void 0:r.sessionStorage,n)}var Ka=Object.defineProperty,Ja=Object.getOwnPropertySymbols,Za=Object.prototype.hasOwnProperty,Qa=Object.prototype.propertyIsEnumerable,eo=(e,t,n)=>t in e?Ka(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,to=(e,t)=>{for(var n in t||(t={}))Za.call(t,n)&&eo(e,n,t[n]);if(Ja)for(var n of Ja(t))Qa.call(t,n)&&eo(e,n,t[n]);return e};function no(e={},t={}){const{navigator:n=d}=t,a=n,o=U(()=>a&&"canShare"in a),i=async(t={})=>{if(o.value){const n=to(to({},r.resolveUnref(e)),r.resolveUnref(t));let o=!0;if(n.files&&a.canShare&&(o=a.canShare({files:n.files})),o)return a.share(n)}};return{isSupported:o,share:i}}const ro=(e,t)=>e.sort(t),ao=(e,t)=>e-t;function oo(...e){var t,n,r,o;const[i]=e;let s=ao,l={};2===e.length?"object"===typeof e[1]?(l=e[1],s=null!=(t=l.compareFn)?t:ao):s=null!=(n=e[1])?n:ao:e.length>2&&(s=null!=(r=e[1])?r:ao,l=null!=(o=e[2])?o:{});const{dirty:c=!1,sortFn:u=ro}=l;return c?(a.watchEffect(()=>{const e=u(a.unref(i),s);a.isRef(i)?i.value=e:i.splice(0,i.length,...e)}),i):a.computed(()=>u([...a.unref(i)],s))}function io(e={}){const{interimResults:t=!0,continuous:n=!0,window:o=c}=e,i=r.resolveRef(e.lang||"en-US"),s=a.ref(!1),l=a.ref(!1),u=a.ref(""),d=a.shallowRef(void 0),f=(e=!s.value)=>{s.value=e},h=()=>{s.value=!0},p=()=>{s.value=!1},m=o&&(o.SpeechRecognition||o.webkitSpeechRecognition),v=U(()=>m);let b;return v.value&&(b=new m,b.continuous=n,b.interimResults=t,b.lang=a.unref(i),b.onstart=()=>{l.value=!1},a.watch(i,e=>{b&&!s.value&&(b.lang=e)}),b.onresult=e=>{const t=Array.from(e.results).map(e=>(l.value=e.isFinal,e[0])).map(e=>e.transcript).join("");u.value=t,d.value=void 0},b.onerror=e=>{d.value=e},b.onend=()=>{s.value=!1,b.lang=a.unref(i)},a.watch(s,()=>{s.value?b.start():b.stop()})),r.tryOnScopeDispose(()=>{s.value=!1}),{isSupported:v,isListening:s,isFinal:l,recognition:b,result:u,error:d,toggle:f,start:h,stop:p}}function so(e,t={}){const{pitch:n=1,rate:o=1,volume:i=1,window:s=c}=t,l=s&&s.speechSynthesis,u=U(()=>l),d=a.ref(!1),f=a.ref("init"),h=r.resolveRef(e||""),p=r.resolveRef(t.lang||"en-US"),m=a.shallowRef(void 0),v=(e=!d.value)=>{d.value=e},b=e=>{e.lang=a.unref(p),e.voice=a.unref(t.voice)||null,e.pitch=n,e.rate=o,e.volume=i,e.onstart=()=>{d.value=!0,f.value="play"},e.onpause=()=>{d.value=!1,f.value="pause"},e.onresume=()=>{d.value=!0,f.value="play"},e.onend=()=>{d.value=!1,f.value="end"},e.onerror=e=>{m.value=e}},g=a.computed(()=>{d.value=!1,f.value="init";const e=new SpeechSynthesisUtterance(h.value);return b(e),e}),y=()=>{l.cancel(),g&&l.speak(g.value)},O=()=>{l.cancel(),d.value=!1};return u.value&&(b(g.value),a.watch(p,e=>{g.value&&!d.value&&(g.value.lang=e)}),t.voice&&a.watch(t.voice,()=>{l.cancel()}),a.watch(d,()=>{d.value?l.resume():l.pause()})),r.tryOnScopeDispose(()=>{d.value=!1}),{isSupported:u,isPlaying:d,status:f,utterance:g,error:m,stop:O,toggle:v,speak:y}}function lo(e,t){const n=a.ref(e),r=a.computed(()=>Array.isArray(n.value)?n.value:Object.keys(n.value)),o=a.ref(r.value.indexOf(null!=t?t:r.value[0])),i=a.computed(()=>d(o.value)),s=a.computed(()=>0===o.value),l=a.computed(()=>o.value===r.value.length-1),c=a.computed(()=>r.value[o.value+1]),u=a.computed(()=>r.value[o.value-1]);function d(e){return Array.isArray(n.value)?n.value[e]:n.value[r.value[e]]}function f(e){if(r.value.includes(e))return d(r.value.indexOf(e))}function h(e){r.value.includes(e)&&(o.value=r.value.indexOf(e))}function p(){l.value||o.value++}function m(){s.value||o.value--}function v(e){w(e)&&h(e)}function b(e){return r.value.indexOf(e)===o.value+1}function g(e){return r.value.indexOf(e)===o.value-1}function y(e){return r.value.indexOf(e)===o.value}function O(e){return o.value<r.value.indexOf(e)}function w(e){return o.value>r.value.indexOf(e)}return{steps:n,stepNames:r,index:o,current:i,next:c,previous:u,isFirst:s,isLast:l,at:d,get:f,goTo:h,goToNext:p,goToPrevious:m,goBackTo:v,isNext:b,isPrevious:g,isCurrent:y,isBefore:O,isAfter:w}}var co=Object.defineProperty,uo=Object.getOwnPropertySymbols,fo=Object.prototype.hasOwnProperty,ho=Object.prototype.propertyIsEnumerable,po=(e,t,n)=>t in e?co(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mo=(e,t)=>{for(var n in t||(t={}))fo.call(t,n)&&po(e,n,t[n]);if(uo)for(var n of uo(t))ho.call(t,n)&&po(e,n,t[n]);return e};function vo(e,t,n,o={}){var i;const{flush:s="pre",deep:l=!0,listenToStorageChanges:u=!0,writeDefaults:d=!0,mergeDefaults:f=!1,shallow:p,window:m=c,eventFilter:v,onError:b=(e=>{console.error(e)})}=o,g=r.resolveUnref(t),y=Me(g),O=(p?a.shallowRef:a.ref)(t),w=null!=(i=o.serializer)?i:Ne[y];if(!n)try{n=Se("getDefaultStorage",()=>{var e;return null==(e=c)?void 0:e.localStorage})()}catch(j){b(j)}async function _(t){if(n&&(!t||t.key===e))try{const a=t?t.newValue:await n.getItem(e);if(null==a)O.value=g,d&&null!==g&&await n.setItem(e,await w.write(g));else if(f){const e=await w.read(a);r.isFunction(f)?O.value=f(e,g):"object"!==y||Array.isArray(e)?O.value=e:O.value=mo(mo({},g),e)}else O.value=await w.read(a)}catch(j){b(j)}}return _(),m&&u&&h(m,"storage",e=>setTimeout(()=>_(e),0)),n&&r.watchWithFilter(O,async()=>{try{null==O.value?await n.removeItem(e):await n.setItem(e,await w.write(O.value))}catch(j){b(j)}},{flush:s,deep:l,eventFilter:v}),O}let bo=0;function go(e,t={}){const n=a.ref(!1),{document:o=u,immediate:i=!0,manual:s=!1,id:l="vueuse_styletag_"+ ++bo}=t,c=a.ref(e);let d=()=>{};const f=()=>{if(!o)return;const e=o.getElementById(l)||o.createElement("style");e.isConnected||(e.type="text/css",e.id=l,t.media&&(e.media=t.media),o.head.appendChild(e)),n.value||(d=a.watch(c,t=>{e.textContent=t},{immediate:!0}),n.value=!0)},h=()=>{o&&n.value&&(d(),o.head.removeChild(o.getElementById(l)),n.value=!1)};return i&&!s&&r.tryOnMounted(f),s||r.tryOnScopeDispose(h),{id:l,css:c,unload:h,load:f,isLoaded:a.readonly(n)}}function yo(){const e=a.ref([]);return e.value.set=t=>{t&&e.value.push(t)},a.onBeforeUpdate(()=>{e.value.length=0}),e}function Oo(e={}){const{document:t=u,selector:n="html",observe:o=!1,initialValue:i="ltr"}=e;function s(){var e,r;return null!=(r=null==(e=null==t?void 0:t.querySelector(n))?void 0:e.getAttribute("dir"))?r:i}const l=a.ref(s());return r.tryOnMounted(()=>l.value=s()),o&&t&&ta(t.querySelector(n),()=>l.value=s(),{attributes:!0}),a.computed({get(){return l.value},set(e){var r,a;l.value=e,t&&(l.value?null==(r=t.querySelector(n))||r.setAttribute("dir",l.value):null==(a=t.querySelector(n))||a.removeAttribute("dir"))}})}function wo(e){var t;const n=null!=(t=e.rangeCount)?t:0,r=new Array(n);for(let a=0;a<n;a++){const t=e.getRangeAt(a);r[a]=t}return r}function _o(e={}){const{window:t=c}=e,n=a.ref(null),r=a.computed(()=>{var e,t;return null!=(t=null==(e=n.value)?void 0:e.toString())?t:""}),o=a.computed(()=>n.value?wo(n.value):[]),i=a.computed(()=>o.value.map(e=>e.getBoundingClientRect()));function s(){n.value=null,t&&(n.value=t.getSelection())}return t&&h(t.document,"selectionchange",s),{text:r,rects:i,ranges:o,selection:n}}function jo(e){const t=a.ref(null==e?void 0:e.element),n=a.ref(null==e?void 0:e.input);function r(){var n,r;t.value&&(t.value.style.height="1px",t.value.style.height=(null==(n=t.value)?void 0:n.scrollHeight)+"px",null==(r=null==e?void 0:e.onResize)||r.call(e))}return a.watch([n,t],r,{immediate:!0}),Qt(t,()=>r()),(null==e?void 0:e.watch)&&a.watch(e.watch,r,{immediate:!0,deep:!0}),{textarea:t,input:n,triggerResize:r}}var ko=Object.defineProperty,xo=Object.defineProperties,So=Object.getOwnPropertyDescriptors,Co=Object.getOwnPropertySymbols,Mo=Object.prototype.hasOwnProperty,Ao=Object.prototype.propertyIsEnumerable,To=(e,t,n)=>t in e?ko(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Eo=(e,t)=>{for(var n in t||(t={}))Mo.call(t,n)&&To(e,n,t[n]);if(Co)for(var n of Co(t))Ao.call(t,n)&&To(e,n,t[n]);return e},Lo=(e,t)=>xo(e,So(t));function Po(e,t={}){const{throttle:n=200,trailing:a=!0}=t,o=r.throttleFilter(n,a),i=Ot(e,Lo(Eo({},t),{eventFilter:o}));return Eo({},i)}var Do=Object.defineProperty,No=Object.getOwnPropertySymbols,Ro=Object.prototype.hasOwnProperty,Io=Object.prototype.propertyIsEnumerable,Bo=(e,t,n)=>t in e?Do(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Fo=(e,t)=>{for(var n in t||(t={}))Ro.call(t,n)&&Bo(e,n,t[n]);if(No)for(var n of No(t))Io.call(t,n)&&Bo(e,n,t[n]);return e},Vo=(e,t)=>{var n={};for(var r in e)Ro.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&No)for(var r of No(e))t.indexOf(r)<0&&Io.call(e,r)&&(n[r]=e[r]);return n};const zo=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:1/0,value:31536e6,name:"year"}],Ho={justNow:"just now",past:e=>e.match(/\d/)?e+" ago":e,future:e=>e.match(/\d/)?"in "+e:e,month:(e,t)=>1===e?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>1===e?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>1===e?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>1===e?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""},Yo=e=>e.toISOString().slice(0,10);function Uo(e,t={}){const{controls:n=!1,updateInterval:o=3e4}=t,i=ua({interval:o,controls:!0}),{now:s}=i,l=Vo(i,["now"]),c=a.computed(()=>Wo(new Date(r.resolveUnref(e)),t,a.unref(s.value)));return n?Fo({timeAgo:c},l):c}function Wo(e,t={},n=Date.now()){var r;const{max:a,messages:o=Ho,fullDateFormatter:i=Yo,units:s=zo,showSecond:l=!1,rounding:c="round"}=t,u="number"===typeof c?e=>+e.toFixed(c):Math[c],d=+n-+e,f=Math.abs(d);function h(e,t){return u(Math.abs(e)/t.value)}function p(e,t){const n=h(e,t),r=e>0,a=m(t.name,n,r);return m(r?"past":"future",a,r)}function m(e,t,n){const r=o[e];return"function"===typeof r?r(t,n):r.replace("{0}",t.toString())}if(f<6e4&&!l)return o.justNow;if("number"===typeof a&&f>a)return i(new Date(e));if("string"===typeof a){const t=null==(r=s.find(e=>e.name===a))?void 0:r.max;if(t&&f>t)return i(new Date(e))}for(const[v,b]of s.entries()){const e=h(d,b);if(e<=0&&s[v-1])return p(d,s[v-1]);if(f<b.max)return p(d,b)}return o.invalid}function $o(e,t,n){const{start:o}=r.useTimeoutFn(s,t),i=a.ref(!1);async function s(){i.value&&(await e(),o())}function l(){i.value||(i.value=!0,s())}function c(){i.value=!1}return(null==n?void 0:n.immediate)&&l(),r.tryOnScopeDispose(c),{isActive:i,pause:c,resume:l}}var qo=Object.defineProperty,Go=Object.getOwnPropertySymbols,Xo=Object.prototype.hasOwnProperty,Ko=Object.prototype.propertyIsEnumerable,Jo=(e,t,n)=>t in e?qo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zo=(e,t)=>{for(var n in t||(t={}))Xo.call(t,n)&&Jo(e,n,t[n]);if(Go)for(var n of Go(t))Ko.call(t,n)&&Jo(e,n,t[n]);return e};function Qo(e={}){const{controls:t=!1,offset:n=0,immediate:o=!0,interval:i="requestAnimationFrame",callback:s}=e,l=a.ref(r.timestamp()+n),c=()=>l.value=r.timestamp()+n,u=s?()=>{c(),s(l.value)}:c,d="requestAnimationFrame"===i?tn(u,{immediate:o}):r.useIntervalFn(u,i,{immediate:o});return t?Zo({timestamp:l},d):l}function ei(e=null,t={}){var n,o;const{document:i=u}=t,s=r.resolveRef(null!=(n=null!=e?e:null==i?void 0:i.title)?n:null),l=e&&r.isFunction(e);function c(e){if(!("titleTemplate"in t))return e;const n=t.titleTemplate||"%s";return r.isFunction(n)?n(e):a.unref(n).replace(/%s/g,e)}return a.watch(s,(e,t)=>{e!==t&&i&&(i.title=c(r.isString(e)?e:""))},{immediate:!0}),t.observe&&!t.titleTemplate&&i&&!l&&ta(null==(o=i.head)?void 0:o.querySelector("title"),()=>{i&&i.title!==s.value&&(s.value=c(i.title))},{childList:!0}),s}var ti=Object.defineProperty,ni=Object.getOwnPropertySymbols,ri=Object.prototype.hasOwnProperty,ai=Object.prototype.propertyIsEnumerable,oi=(e,t,n)=>t in e?ti(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ii=(e,t)=>{for(var n in t||(t={}))ri.call(t,n)&&oi(e,n,t[n]);if(ni)for(var n of ni(t))ai.call(t,n)&&oi(e,n,t[n]);return e};const si={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]},li=ii({linear:r.identity},si);function ci([e,t,n,r]){const a=(e,t)=>1-3*t+3*e,o=(e,t)=>3*t-6*e,i=e=>3*e,s=(e,t,n)=>((a(t,n)*e+o(t,n))*e+i(t))*e,l=(e,t,n)=>3*a(t,n)*e*e+2*o(t,n)*e+i(t),c=t=>{let r=t;for(let a=0;a<4;++a){const a=l(r,e,n);if(0===a)return r;const o=s(r,e,n)-t;r-=o/a}return r};return a=>e===t&&n===r?a:s(c(a),t,r)}function ui(e,t={}){const{delay:n=0,disabled:o=!1,duration:i=1e3,onFinished:s=r.noop,onStarted:l=r.noop,transition:c=r.identity}=t,u=a.computed(()=>{const e=a.unref(c);return r.isFunction(e)?e:ci(e)}),d=a.computed(()=>{const t=a.unref(e);return r.isNumber(t)?t:t.map(a.unref)}),f=a.computed(()=>r.isNumber(d.value)?[d.value]:d.value),h=a.ref(f.value.slice(0));let p,m,v,b,g;const{resume:y,pause:O}=tn(()=>{const e=Date.now(),t=r.clamp(1-(v-e)/p,0,1);h.value=g.map((e,n)=>{var r;return e+(null!=(r=m[n])?r:0)*u.value(t)}),t>=1&&(O(),s())},{immediate:!1}),w=()=>{O(),p=a.unref(i),m=h.value.map((e,t)=>{var n,r;return(null!=(n=f.value[t])?n:0)-(null!=(r=h.value[t])?r:0)}),g=h.value.slice(0),b=Date.now(),v=b+p,y(),l()},_=r.useTimeoutFn(w,n,{immediate:!1});return a.watch(f,()=>{a.unref(o)||(a.unref(n)<=0?w():_.start())},{deep:!0}),a.watch(()=>a.unref(o),e=>{e&&(h.value=f.value.slice(0),O())}),a.computed(()=>{const e=a.unref(o)?f:h;return r.isNumber(d.value)?e.value[0]:e.value})}function di(e="history",t={}){const{initialValue:n={},removeNullishValues:o=!0,removeFalsyValues:i=!1,write:s=!0,window:l=c}=t;if(!l)return a.reactive(n);const u=a.reactive({});function d(){if("history"===e)return l.location.search||"";if("hash"===e){const e=l.location.hash||"",t=e.indexOf("?");return t>0?e.slice(t):""}return(l.location.hash||"").replace(/^#/,"")}function f(t){const n=t.toString();if("history"===e)return`${n?"?"+n:""}${l.location.hash||""}`;if("hash-params"===e)return`${l.location.search||""}${n?"#"+n:""}`;const r=l.location.hash||"#",a=r.indexOf("?");return a>0?`${r.slice(0,a)}${n?"?"+n:""}`:`${r}${n?"?"+n:""}`}function p(){return new URLSearchParams(d())}function m(e){const t=new Set(Object.keys(u));for(const n of e.keys()){const r=e.getAll(n);u[n]=r.length>1?r:e.get(n)||"",t.delete(n)}Array.from(t).forEach(e=>delete u[e])}const{pause:v,resume:b}=r.pausableWatch(u,()=>{const e=new URLSearchParams("");Object.keys(u).forEach(t=>{const n=u[t];Array.isArray(n)?n.forEach(n=>e.append(t,n)):o&&null==n||i&&!n?e.delete(t):e.set(t,n)}),g(e)},{deep:!0});function g(e,t){v(),t&&m(e),l.history.replaceState(l.history.state,l.document.title,l.location.pathname+f(e)),b()}function y(){s&&g(p(),!0)}h(l,"popstate",y,!1),"history"!==e&&h(l,"hashchange",y,!1);const O=p();return O.keys().next().value?m(O):Object.assign(u,n),u}function fi(e={}){var t,n;const r=a.ref(null!=(t=e.enabled)&&t),o=a.ref(null==(n=e.autoSwitch)||n),i=a.ref(e.videoDeviceId),s=a.ref(e.audioDeviceId),{navigator:l=d}=e,c=U(()=>{var e;return null==(e=null==l?void 0:l.mediaDevices)?void 0:e.getUserMedia}),u=a.shallowRef();function f(e){return"none"!==e.value&&!1!==e.value&&(null==e.value||{deviceId:e.value})}async function h(){if(c.value&&!u.value)return u.value=await l.mediaDevices.getUserMedia({video:f(i),audio:f(s)}),u.value}async function p(){var e;null==(e=u.value)||e.getTracks().forEach(e=>e.stop()),u.value=void 0}function m(){p(),r.value=!1}async function v(){return await h(),u.value&&(r.value=!0),u.value}async function b(){return p(),await v()}return a.watch(r,e=>{e?h():p()},{immediate:!0}),a.watch([i,s],()=>{o.value&&u.value&&b()},{immediate:!0}),{isSupported:c,stream:u,start:v,stop:m,restart:b,videoDeviceId:i,audioDeviceId:s,enabled:r,autoSwitch:o}}function hi(e,t,n,o={}){var i,s,l,c,u;const{clone:d=!1,passive:f=!1,eventName:h,deep:p=!1,defaultValue:m}=o,v=a.getCurrentInstance(),b=n||(null==v?void 0:v.emit)||(null==(i=null==v?void 0:v.$emit)?void 0:i.bind(v))||(null==(l=null==(s=null==v?void 0:v.proxy)?void 0:s.$emit)?void 0:l.bind(null==v?void 0:v.proxy));let g=h;if(!t)if(a.isVue2){const e=null==(u=null==(c=null==v?void 0:v.proxy)?void 0:c.$options)?void 0:u.model;t=(null==e?void 0:e.value)||"value",h||(g=(null==e?void 0:e.event)||"input")}else t="modelValue";g=h||g||"update:"+t.toString();const y=e=>d?r.isFunction(d)?d(e):we(e):e,O=()=>r.isDef(e[t])?y(e[t]):m;if(f){const n=O(),r=a.ref(n);return a.watch(()=>e[t],e=>r.value=y(e)),a.watch(r,n=>{(n!==e[t]||p)&&b(g,n)},{deep:p}),r}return a.computed({get(){return O()},set(e){b(g,e)}})}function pi(e,t,n={}){const r={};for(const a in e)r[a]=hi(e,a,t,n);return r}function mi(e){const{pattern:t=[],interval:n=0,navigator:a=d}=e||{},o=U(()=>"undefined"!==typeof a&&"vibrate"in a),i=r.resolveRef(t);let s;const l=(e=i.value)=>{o.value&&a.vibrate(e)},c=()=>{o.value&&a.vibrate(0),null==s||s.pause()};return n>0&&(s=r.useIntervalFn(l,n,{immediate:!1,immediateCallback:!1})),{isSupported:o,pattern:t,intervalControls:s,vibrate:l,stop:c}}function vi(e,t){const{containerStyle:n,wrapperProps:r,scrollTo:a,calculateRange:o,currentList:i,containerRef:s}="itemHeight"in t?Ci(t,e):Si(t,e);return{list:i,scrollTo:a,containerProps:{ref:s,onScroll:()=>{o()},style:n},wrapperProps:r}}function bi(e){const t=a.ref(null),n=dn(t),r=a.ref([]),o=a.shallowRef(e),i=a.ref({start:0,end:10});return{state:i,source:o,currentList:r,size:n,containerRef:t}}function gi(e,t,n){return r=>{if("number"===typeof n)return Math.ceil(r/n);const{start:a=0}=e.value;let o=0,i=0;for(let e=a;e<t.value.length;e++){const t=n(e);if(o+=t,i=e,o>r)break}return i-a}}function yi(e,t){return n=>{if("number"===typeof t)return Math.floor(n/t)+1;let r=0,a=0;for(let o=0;o<e.value.length;o++){const e=t(o);if(r+=e,r>=n){a=o;break}}return a+1}}function Oi(e,t,n,r,{containerRef:a,state:o,currentList:i,source:s}){return()=>{const l=a.value;if(l){const a=n("vertical"===e?l.scrollTop:l.scrollLeft),c=r("vertical"===e?l.clientHeight:l.clientWidth),u=a-t,d=a+c+t;o.value={start:u<0?0:u,end:d>s.value.length?s.value.length:d},i.value=s.value.slice(o.value.start,o.value.end).map((e,t)=>({data:e,index:t+o.value.start}))}}}function wi(e,t){return n=>{if("number"===typeof e){const t=n*e;return t}const r=t.value.slice(0,n).reduce((t,n,r)=>t+e(r),0);return r}}function _i(e,t,n){a.watch([e.width,e.height,t],()=>{n()})}function ji(e,t){return a.computed(()=>"number"===typeof e?t.value.length*e:t.value.reduce((t,n,r)=>t+e(r),0))}const ki={horizontal:"scrollLeft",vertical:"scrollTop"};function xi(e,t,n,r){return a=>{r.value&&(r.value[ki[e]]=n(a),t())}}function Si(e,t){const n=bi(t),{state:r,source:o,currentList:i,size:s,containerRef:l}=n,c={overflowX:"auto"},{itemWidth:u,overscan:d=5}=e,f=gi(r,o,u),h=yi(o,u),p=Oi("horizontal",d,h,f,n),m=wi(u,o),v=a.computed(()=>m(r.value.start)),b=ji(u,o);_i(s,t,p);const g=xi("horizontal",p,m,l),y=a.computed(()=>({style:{height:"100%",width:b.value-v.value+"px",marginLeft:v.value+"px",display:"flex"}}));return{scrollTo:g,calculateRange:p,wrapperProps:y,containerStyle:c,currentList:i,containerRef:l}}function Ci(e,t){const n=bi(t),{state:r,source:o,currentList:i,size:s,containerRef:l}=n,c={overflowY:"auto"},{itemHeight:u,overscan:d=5}=e,f=gi(r,o,u),h=yi(o,u),p=Oi("vertical",d,h,f,n),m=wi(u,o),v=a.computed(()=>m(r.value.start)),b=ji(u,o);_i(s,t,p);const g=xi("vertical",p,m,l),y=a.computed(()=>({style:{width:"100%",height:b.value-v.value+"px",marginTop:v.value+"px"}}));return{calculateRange:p,scrollTo:g,containerStyle:c,wrapperProps:y,currentList:i,containerRef:l}}const Mi=(e={})=>{const{navigator:t=d,document:n=u}=e;let r;const o=U(()=>t&&"wakeLock"in t),i=a.ref(!1);async function s(){o.value&&r&&(n&&"visible"===n.visibilityState&&(r=await t.wakeLock.request("screen")),i.value=!r.released)}async function l(e){o.value&&(r=await t.wakeLock.request(e),i.value=!r.released)}async function c(){o.value&&r&&(await r.release(),i.value=!r.released,r=null)}return n&&h(n,"visibilitychange",s,{passive:!0}),{isSupported:o,isActive:i,request:l,release:c}},Ai=(e={})=>{const{window:t=c}=e,n=U(()=>!!t&&"Notification"in t),o=a.ref(null),i=async()=>{n.value&&"permission"in Notification&&"denied"!==Notification.permission&&await Notification.requestPermission()},s=r.createEventHook(),l=r.createEventHook(),u=r.createEventHook(),d=r.createEventHook(),f=async t=>{if(!n.value)return;await i();const r=Object.assign({},e,t);return o.value=new Notification(r.title||"",r),o.value.onclick=e=>s.trigger(e),o.value.onshow=e=>l.trigger(e),o.value.onerror=e=>u.trigger(e),o.value.onclose=e=>d.trigger(e),o.value},p=()=>{o.value&&o.value.close(),o.value=null};if(r.tryOnMounted(async()=>{n.value&&await i()}),r.tryOnScopeDispose(p),n.value&&t){const e=t.document;h(e,"visibilitychange",t=>{t.preventDefault(),"visible"===e.visibilityState&&p()})}return{isSupported:n,notification:o,show:f,close:p,onClick:s,onShow:l,onError:u,onClose:d}},Ti="ping";function Ei(e){return!0===e?{}:e}function Li(e,t={}){const{onConnected:n,onDisconnected:o,onError:i,onMessage:s,immediate:l=!0,autoClose:c=!0,protocols:u=[]}=t,d=a.ref(null),f=a.ref("CLOSED"),p=a.ref(),m=r.resolveRef(e);let v,b,g,y=!1,O=0,w=[];const _=(e=1e3,t)=>{p.value&&(y=!0,null==v||v(),p.value.close(e,t))},j=()=>{if(w.length&&p.value&&"OPEN"===f.value){for(const e of w)p.value.send(e);w=[]}},k=()=>{clearTimeout(g),g=void 0},x=(e,t=!0)=>p.value&&"OPEN"===f.value?(j(),p.value.send(e),!0):(t&&w.push(e),!1),S=()=>{if(y||"undefined"===typeof m.value)return;const e=new WebSocket(m.value,u);p.value=e,f.value="CONNECTING",e.onopen=()=>{f.value="OPEN",null==n||n(e),null==b||b(),j()},e.onclose=n=>{if(f.value="CLOSED",p.value=void 0,null==o||o(e,n),!y&&t.autoReconnect){const{retries:e=-1,delay:n=1e3,onFailed:r}=Ei(t.autoReconnect);O+=1,"number"===typeof e&&(e<0||O<e)||"function"===typeof e&&e()?setTimeout(S,n):null==r||r()}},e.onerror=t=>{null==i||i(e,t)},e.onmessage=n=>{if(t.heartbeat){k();const{message:e=Ti}=Ei(t.heartbeat);if(n.data===e)return}d.value=n.data,null==s||s(e,n)}};if(t.heartbeat){const{message:e=Ti,interval:n=1e3,pongTimeout:a=1e3}=Ei(t.heartbeat),{pause:o,resume:i}=r.useIntervalFn(()=>{x(e,!1),null==g&&(g=setTimeout(()=>{_()},a))},n,{immediate:!1});v=o,b=i}c&&(h(window,"beforeunload",()=>_()),r.tryOnScopeDispose(_));const C=()=>{_(),y=!1,O=0,S()};return l&&a.watch(m,C,{immediate:!0}),{data:d,status:f,close:_,send:x,open:C,ws:p}}function Pi(e,t,n){const{window:o=c}=null!=n?n:{},i=a.ref(null),s=a.shallowRef(),l=function(e){s.value&&s.value.postMessage(e)},u=function(){s.value&&s.value.terminate()};return o&&(r.isString(e)?s.value=new Worker(e,t):r.isFunction(e)?s.value=e():s.value=e,s.value.onmessage=e=>{i.value=e.data},r.tryOnScopeDispose(()=>{s.value&&s.value.terminate()})),{data:i,post:l,terminate:u,worker:s}}const Di=e=>t=>{const n=t.data[0];return Promise.resolve(e.apply(void 0,n)).then(e=>{postMessage(["SUCCESS",e])}).catch(e=>{postMessage(["ERROR",e])})},Ni=e=>{if(0===e.length)return"";const t=e.map(e=>`'${e}'`).toString();return`importScripts(${t})`},Ri=(e,t)=>{const n=`${Ni(t)}; onmessage=(${Di})(${e})`,r=new Blob([n],{type:"text/javascript"}),a=URL.createObjectURL(r);return a},Ii=(e,t={})=>{const{dependencies:n=[],timeout:o,window:i=c}=t,s=a.ref(),l=a.ref("PENDING"),u=a.ref({}),d=a.ref(),f=(e="PENDING")=>{s.value&&s.value._url&&i&&(s.value.terminate(),URL.revokeObjectURL(s.value._url),u.value={},s.value=void 0,i.clearTimeout(d.value),l.value=e)};f(),r.tryOnScopeDispose(f);const h=()=>{const t=Ri(e,n),r=new Worker(t);return r._url=t,r.onmessage=e=>{const{resolve:t=(()=>{}),reject:n=(()=>{})}=u.value,[r,a]=e.data;switch(r){case"SUCCESS":t(a),f(r);break;default:n(a),f("ERROR");break}},r.onerror=e=>{const{reject:t=(()=>{})}=u.value;t(e),f("ERROR")},o&&(d.value=setTimeout(()=>f("TIMEOUT_EXPIRED"),o)),r},p=(...e)=>new Promise((t,n)=>{u.value={resolve:t,reject:n},s.value&&s.value.postMessage([[...e]]),l.value="RUNNING"}),m=(...e)=>"RUNNING"===l.value?(console.error("[useWebWorkerFn] You can only run one instance of the worker at a time."),Promise.reject()):(s.value=h(),p(...e));return{workerFn:m,workerStatus:l,workerTerminate:f}};function Bi({window:e=c}={}){if(!e)return a.ref(!1);const t=a.ref(e.document.hasFocus());return h(e,"blur",()=>{t.value=!1}),h(e,"focus",()=>{t.value=!0}),t}function Fi({window:e=c}={}){if(!e)return{x:a.ref(0),y:a.ref(0)};const t=a.ref(e.scrollX),n=a.ref(e.scrollY);return h(e,"scroll",()=>{t.value=e.scrollX,n.value=e.scrollY},{capture:!1,passive:!0}),{x:t,y:n}}function Vi(e={}){const{window:t=c,initialWidth:n=1/0,initialHeight:o=1/0,listenOrientation:i=!0,includeScrollbar:s=!0}=e,l=a.ref(n),u=a.ref(o),d=()=>{t&&(s?(l.value=t.innerWidth,u.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,u.value=t.document.documentElement.clientHeight))};return d(),r.tryOnMounted(d),h("resize",d,{passive:!0}),i&&h("orientationchange",d,{passive:!0}),{width:l,height:u}}t.DefaultMagicKeysAliasMap=Er,t.StorageSerializers=Ne,t.TransitionPresets=li,t.asyncComputed=o,t.breakpointsAntDesign=J,t.breakpointsBootstrapV5=X,t.breakpointsMasterCss=ee,t.breakpointsQuasar=Z,t.breakpointsSematic=Q,t.breakpointsTailwind=G,t.breakpointsVuetify=K,t.cloneFnJSON=we,t.computedAsync=o,t.computedInject=i,t.createFetch=Ln,t.createUnrefFn=s,t.customStorageEventName=Re,t.defaultDocument=u,t.defaultLocation=f,t.defaultNavigator=d,t.defaultWindow=c,t.formatTimeAgo=Wo,t.getSSRHandler=Se,t.mapGamepadToXbox360Controller=tr,t.onClickOutside=m,t.onKeyDown=C,t.onKeyPressed=M,t.onKeyStroke=S,t.onKeyUp=A,t.onLongPress=E,t.onStartTyping=D,t.setSSRHandler=Ce,t.templateRef=N,t.unrefElement=l,t.useActiveElement=R,t.useAsyncQueue=I,t.useAsyncState=B,t.useBase64=z,t.useBattery=W,t.useBluetooth=$,t.useBreakpoints=se,t.useBroadcastChannel=le,t.useBrowserLocation=ce,t.useCached=ue,t.useClipboard=de,t.useCloned=_e,t.useColorMode=We,t.useConfirmDialog=$e,t.useCssVar=qe,t.useCurrentElement=Ge,t.useCycleList=Xe,t.useDark=ot,t.useDebouncedRefHistory=Tt,t.useDeviceMotion=Et,t.useDeviceOrientation=Lt,t.useDevicePixelRatio=Pt,t.useDevicesList=Nt,t.useDisplayMedia=Rt,t.useDocumentVisibility=It,t.useDraggable=qt,t.useDropZone=Gt,t.useElementBounding=en,t.useElementByPoint=cn,t.useElementHover=un,t.useElementSize=dn,t.useElementVisibility=fn,t.useEventBus=pn,t.useEventListener=h,t.useEventSource=mn,t.useEyeDropper=vn,t.useFavicon=bn,t.useFetch=Pn,t.useFileDialog=Hn,t.useFileSystemAccess=Xn,t.useFocus=Kn,t.useFocusWithin=Jn,t.useFps=Zn,t.useFullscreen=er,t.useGamepad=nr,t.useGeolocation=rr,t.useIdle=ir,t.useImage=pr,t.useInfiniteScroll=Sr,t.useIntersectionObserver=Cr,t.useKeyModifier=Ar,t.useLocalStorage=Tr,t.useMagicKeys=Lr,t.useManualRefHistory=ut,t.useMediaControls=Yr,t.useMediaQuery=q,t.useMemoize=Wr,t.useMemory=$r,t.useMounted=qr,t.useMouse=Gr,t.useMouseInElement=Xr,t.useMousePressed=Kr,t.useMutationObserver=ta,t.useNavigatorLanguage=na,t.useNetwork=ra,t.useNow=ua,t.useObjectUrl=da,t.useOffsetPagination=ha,t.useOnline=pa,t.usePageLeave=ma,t.useParallax=va,t.usePermission=Dt,t.usePointer=Ma,t.usePointerLock=Aa,t.usePointerSwipe=La,t.usePreferredColorScheme=Pa,t.usePreferredContrast=Da,t.usePreferredDark=Be,t.usePreferredLanguages=Na,t.usePreferredReducedMotion=Ra,t.usePrevious=Ia,t.useRafFn=tn,t.useRefHistory=Ot,t.useResizeObserver=Qt,t.useScreenOrientation=Ba,t.useScreenSafeArea=Ya,t.useScriptTag=Wa,t.useScroll=vr,t.useScrollLock=Ga,t.useSessionStorage=Xa,t.useShare=no,t.useSorted=oo,t.useSpeechRecognition=io,t.useSpeechSynthesis=so,t.useStepper=lo,t.useStorage=Ie,t.useStorageAsync=vo,t.useStyleTag=go,t.useSupported=U,t.useSwipe=Ta,t.useTemplateRefsList=yo,t.useTextDirection=Oo,t.useTextSelection=_o,t.useTextareaAutosize=jo,t.useThrottledRefHistory=Po,t.useTimeAgo=Uo,t.useTimeoutPoll=$o,t.useTimestamp=Qo,t.useTitle=ei,t.useTransition=ui,t.useUrlSearchParams=di,t.useUserMedia=fi,t.useVModel=hi,t.useVModels=pi,t.useVibrate=mi,t.useVirtualList=vi,t.useWakeLock=Mi,t.useWebNotification=Ai,t.useWebSocket=Li,t.useWebWorker=Pi,t.useWebWorkerFn=Ii,t.useWindowFocus=Bi,t.useWindowScroll=Fi,t.useWindowSize=Vi,Object.keys(r).forEach((function(e){"default"===e||t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}))}).call(this,n("c8ba"))},"467f":function(e,t,n){"use strict";var r=n("7917");e.exports=function(e,t,n){var a=n.config.validateStatus;n.status&&a&&!a(n.status)?t(new r("Request failed with status code "+n.status,[r.ERR_BAD_REQUEST,r.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}},"485a":function(e,t,n){"use strict";var r=n("c65b"),a=n("1626"),o=n("861d"),i=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&a(n=e.toString)&&!o(s=r(n,e)))return s;if(a(n=e.valueOf)&&!o(s=r(n,e)))return s;if("string"!==t&&a(n=e.toString)&&!o(s=r(n,e)))return s;throw new i("Can't convert object to primitive value")}},"485c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={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ı"},n=e.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(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10,r=e%100-n,a=e>=100?100:null;return e+(t[n]||t[r]||t[a])},week:{dow:1,doy:7}});return n}))},"49ab":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1200?"上午":1200===r?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},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 t}))},"49c6":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"}},"4a7b":function(e,t,n){"use strict";var r=n("c532");e.exports=function(e,t){t=t||{};var n={};function a(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function o(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:a(void 0,e[n]):a(e[n],t[n])}function i(e){if(!r.isUndefined(t[e]))return a(void 0,t[e])}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:a(void 0,e[n]):a(void 0,t[n])}function l(n){return n in t?a(e[n],t[n]):n in e?a(void 0,e[n]):void 0}var c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials: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:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,a=t(e);r.isUndefined(a)&&t!==l||(n[e]=a)})),n}},"4af5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidCSSUnit=t.stringInputToObject=t.inputToRGB=void 0;var r=n("d756"),a=n("fc75"),o=n("1127");function i(e){var t={r:0,g:0,b:0},n=1,a=null,i=null,s=null,l=!1,c=!1;return"string"===typeof e&&(e=h(e)),"object"===typeof e&&(p(e.r)&&p(e.g)&&p(e.b)?(t=(0,r.rgbToRgb)(e.r,e.g,e.b),l=!0,c="%"===String(e.r).substr(-1)?"prgb":"rgb"):p(e.h)&&p(e.s)&&p(e.v)?(a=(0,o.convertToPercentage)(e.s),i=(0,o.convertToPercentage)(e.v),t=(0,r.hsvToRgb)(e.h,a,i),l=!0,c="hsv"):p(e.h)&&p(e.s)&&p(e.l)&&(a=(0,o.convertToPercentage)(e.s),s=(0,o.convertToPercentage)(e.l),t=(0,r.hslToRgb)(e.h,a,s),l=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,o.boundAlpha)(n),{ok:l,format:e.format||c,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}t.inputToRGB=i;var s="[-\\+]?\\d+%?",l="[-\\+]?\\d*\\.\\d+%?",c="(?:".concat(l,")|(?:").concat(s,")"),u="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),d="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),f={CSS_UNIT:new RegExp(c),rgb:new RegExp("rgb"+u),rgba:new RegExp("rgba"+d),hsl:new RegExp("hsl"+u),hsla:new RegExp("hsla"+d),hsv:new RegExp("hsv"+u),hsva:new RegExp("hsva"+d),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function h(e){if(e=e.trim().toLowerCase(),0===e.length)return!1;var t=!1;if(a.names[e])e=a.names[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=f.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=f.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=f.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=f.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=f.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=f.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=f.hex8.exec(e),n?{r:(0,r.parseIntFromHex)(n[1]),g:(0,r.parseIntFromHex)(n[2]),b:(0,r.parseIntFromHex)(n[3]),a:(0,r.convertHexToDecimal)(n[4]),format:t?"name":"hex8"}:(n=f.hex6.exec(e),n?{r:(0,r.parseIntFromHex)(n[1]),g:(0,r.parseIntFromHex)(n[2]),b:(0,r.parseIntFromHex)(n[3]),format:t?"name":"hex"}:(n=f.hex4.exec(e),n?{r:(0,r.parseIntFromHex)(n[1]+n[1]),g:(0,r.parseIntFromHex)(n[2]+n[2]),b:(0,r.parseIntFromHex)(n[3]+n[3]),a:(0,r.convertHexToDecimal)(n[4]+n[4]),format:t?"name":"hex8"}:(n=f.hex3.exec(e),!!n&&{r:(0,r.parseIntFromHex)(n[1]+n[1]),g:(0,r.parseIntFromHex)(n[2]+n[2]),b:(0,r.parseIntFromHex)(n[3]+n[3]),format:t?"name":"hex"})))))))))}function p(e){return Boolean(f.CSS_UNIT.exec(String(e)))}t.stringInputToObject=h,t.isValidCSSUnit=p},"4ba9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi",r;case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta",r;case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati",r;case"dd":return r+=1===e?"dan":"dana",r;case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci",r;case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina",r}}var n=e.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:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"4c3d":function(e,t,n){"use strict";(function(t){var r=n("c532"),a=n("c8af"),o=n("7917"),i=n("cafa"),s=n("e467"),l={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function u(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n("b50d")),e}function d(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(a){if("SyntaxError"!==a.name)throw a}return(n||JSON.stringify)(e)}var f={transitional:i,adapter:u(),transformRequest:[function(e,t){if(a(t,"Accept"),a(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e))return e;if(r.isArrayBufferView(e))return e.buffer;if(r.isURLSearchParams(e))return c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var n,o=r.isObject(e),i=t&&t["Content-Type"];if((n=r.isFileList(e))||o&&"multipart/form-data"===i){var l=this.env&&this.env.FormData;return s(n?{"files[]":e}:e,l&&new l)}return o||"application/json"===i?(c(t,"application/json"),d(e)):e}],transformResponse:[function(e){var t=this.transitional||f.transitional,n=t&&t.silentJSONParsing,a=t&&t.forcedJSONParsing,i=!n&&"json"===this.responseType;if(i||a&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(i){if("SyntaxError"===s.name)throw o.from(s,o.ERR_BAD_RESPONSE,this,null,this.response);throw s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:n("4581")},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){f.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){f.headers[e]=r.merge(l)})),e.exports=f}).call(this,n("4362"))},"4c52":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=Symbol()},"4c98":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=e.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(e){return"م"===e},meridiem:function(e,t,n){return e<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(e){return e.replace(/[٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).split("").reverse().join("").replace(/[١٢](?![\u062a\u0643])/g,(function(e){return n[e]})).split("").reverse().join("").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}});return r}))},"4cb3":function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return u}));var r=n("7a23"),a=n("d095"),o={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const i=e=>(t,n)=>s(t,n,Object(r["unref"])(e)),s=(e,t,n)=>Object(a["get"])(n,e,e).replace(/\{(\w+)\}/g,(e,n)=>{var r;return""+(null!=(r=null==t?void 0:t[n])?r:`{${n}}`)}),l=e=>{const t=Object(r["computed"])(()=>Object(r["unref"])(e).name),n=Object(r["isRef"])(e)?e:Object(r["ref"])(e);return{lang:t,locale:n,t:i(e)}},c=Symbol("localeContextKey"),u=e=>{const t=e||Object(r["inject"])(c,Object(r["ref"])());return l(Object(r["computed"])(()=>t.value||o))}},"4d64":function(e,t,n){"use strict";var r=n("fc6a"),a=n("23cb"),o=n("07fa"),i=function(e){return function(t,n,i){var s=r(t),l=o(s);if(0===l)return!e&&-1;var c,u=a(i,l);if(e&&n!==n){while(l>u)if(c=s[u++],c!==c)return!0}else for(;l>u;u++)if((e||u in s)&&s[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},5038:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}});return t}))},"50b4":function(e,t,n){},"50c4":function(e,t,n){"use strict";var r=n("5926"),a=Math.min;e.exports=function(e){var t=r(e);return t>0?a(t,9007199254740991):0}},5120:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],n=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],r=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],a=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],o=["Do","Lu","Má","Cé","Dé","A","Sa"],i=e.defineLocale("ga",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:r,weekdaysShort:a,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(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}});return i}))},5143:function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return d}));var r=n("7a23"),a=n("0898"),o=n("7d20"),i=n("edd9"),s=n("8afb");const l="use-empty-values",c=["",void 0,null],u=void 0,d=Object(a["b"])({emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:e=>Object(o["isFunction"])(e)?!e():!e}}),f=(e,t)=>{let n=Object(i["c"])();n.value||(n=Object(r["ref"])({}));const a=Object(r["computed"])(()=>e.emptyValues||n.value.emptyValues||c),d=Object(r["computed"])(()=>Object(o["isFunction"])(e.valueOnClear)?e.valueOnClear():void 0!==e.valueOnClear?e.valueOnClear:Object(o["isFunction"])(n.value.valueOnClear)?n.value.valueOnClear():void 0!==n.value.valueOnClear?n.value.valueOnClear:void 0!==t?t:u),f=e=>a.value.includes(e);return a.value.includes(d.value)||Object(s["a"])(l,"value-on-clear should be a value of empty-values"),{emptyValues:a,valueOnClear:d,isEmptyValue:f}}},5270:function(e,t,n){"use strict";var r=n("c532"),a=n("c401"),o=n("2e67"),i=n("4c3d"),s=n("fb60");function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){l(e),e.headers=e.headers||{},e.data=a.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||i.adapter;return t(e).then((function(t){return l(e),t.data=a.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(l(e),t&&t.response&&(t.response.data=a.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},5294:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"],r=e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,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(e){return"شام"===e},meridiem:function(e,t,n){return e<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(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}});return r}))},"52bd":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return t}))},5494:function(e,t,n){"use strict";var r=n("83ab"),a=n("e330"),o=n("edd0"),i=URLSearchParams.prototype,s=a(i.forEach);r&&!("size"in i)&&o(i,"size",{get:function(){var e=0;return s(this,(function(){e++})),e},configurable:!0,enumerable:!0})},"54bb":function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n("7a23"),a=n("0898");const o=Object(a["b"])({size:{type:Object(a["c"])([Number,String])},color:{type:String}});var i=n("2711"),s=n("304f"),l=n("83ec"),c=n("0e69");const u=Object(r["defineComponent"])({name:"ElIcon",inheritAttrs:!1}),d=Object(r["defineComponent"])({...u,props:o,setup(e){const t=e,n=Object(s["d"])("icon"),a=Object(r["computed"])(()=>{const{size:e,color:n}=t;return e||n?{fontSize:Object(l["g"])(e)?void 0:Object(c["b"])(e),"--color":n}:{}});return(e,t)=>(Object(r["openBlock"])(),Object(r["createElementBlock"])("i",Object(r["mergeProps"])({class:Object(r["unref"])(n).b(),style:Object(r["unref"])(a)},e.$attrs),[Object(r["renderSlot"])(e.$slots,"default")],16))}});var f=Object(i["a"])(d,[["__file","icon.vue"]]),h=n("0c24");const p=Object(h["a"])(f)},5502:function(e,t,n){"use strict";n.d(t,"a",(function(){return X})),n.d(t,"b",(function(){return Q})),n.d(t,"c",(function(){return Z}));var r=n("7a23"),a=n("3f4e"),o="store";function i(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function s(e){return null!==e&&"object"===typeof e}function l(e){return e&&"function"===typeof e.then}function c(e,t){if(!e)throw new Error("[vuex] "+t)}function u(e,t){return function(){return e(t)}}function d(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function f(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;p(e,n,[],e._modules.root,!0),h(e,n,t)}function h(e,t,n){var a=e._state,o=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var s=e._wrappedGetters,l={},c={},d=Object(r["effectScope"])(!0);d.run((function(){i(s,(function(t,n){l[n]=u(t,e),c[n]=Object(r["computed"])((function(){return l[n]()})),Object.defineProperty(e.getters,n,{get:function(){return c[n].value},enumerable:!0})}))})),e._state=Object(r["reactive"])({data:t}),e._scope=d,e.strict&&O(e),a&&n&&e._withCommit((function(){a.data=null})),o&&o.stop()}function p(e,t,n,r,a){var o=!n.length,i=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[i]&&console.error("[vuex] duplicate namespace "+i+" for the namespaced module "+n.join("/")),e._modulesNamespaceMap[i]=r),!o&&!a){var s=w(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){l in s&&console.warn('[vuex] state field "'+l+'" was overridden by a module with the same name at "'+n.join(".")+'"'),s[l]=r.state}))}var c=r.context=m(e,i,n);r.forEachMutation((function(t,n){var r=i+n;b(e,r,t,c)})),r.forEachAction((function(t,n){var r=t.root?n:i+n,a=t.handler||t;g(e,r,a,c)})),r.forEachGetter((function(t,n){var r=i+n;y(e,r,t,c)})),r.forEachChild((function(r,o){p(e,t,n.concat(o),r,a)}))}function m(e,t,n){var r=""===t,a={dispatch:r?e.dispatch:function(n,r,a){var o=_(n,r,a),i=o.payload,s=o.options,l=o.type;if(s&&s.root||(l=t+l,e._actions[l]))return e.dispatch(l,i);console.error("[vuex] unknown local action type: "+o.type+", global type: "+l)},commit:r?e.commit:function(n,r,a){var o=_(n,r,a),i=o.payload,s=o.options,l=o.type;s&&s.root||(l=t+l,e._mutations[l])?e.commit(l,i,s):console.error("[vuex] unknown local mutation type: "+o.type+", global type: "+l)}};return Object.defineProperties(a,{getters:{get:r?function(){return e.getters}:function(){return v(e,t)}},state:{get:function(){return w(e.state,n)}}}),a}function v(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(a){if(a.slice(0,r)===t){var o=a.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[a]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function b(e,t,n,r){var a=e._mutations[t]||(e._mutations[t]=[]);a.push((function(t){n.call(e,r.state,t)}))}function g(e,t,n,r){var a=e._actions[t]||(e._actions[t]=[]);a.push((function(t){var a=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return l(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):a}))}function y(e,t,n,r){e._wrappedGetters[t]?console.error("[vuex] duplicate getter key: "+t):e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)}}function O(e){Object(r["watch"])((function(){return e._state.data}),(function(){c(e._committing,"do not mutate vuex store state outside mutation handlers.")}),{deep:!0,flush:"sync"})}function w(e,t){return t.reduce((function(e,t){return e[t]}),e)}function _(e,t,n){return s(e)&&e.type&&(n=t,t=e,e=e.type),c("string"===typeof e,"expects string as the type, but found "+typeof e+"."),{type:e,payload:t,options:n}}var j="vuex bindings",k="vuex:mutations",x="vuex:actions",S="vuex",C=0;function M(e,t){Object(a["a"])({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[j]},(function(n){n.addTimelineLayer({id:k,label:"Vuex Mutations",color:A}),n.addTimelineLayer({id:x,label:"Vuex Actions",color:A}),n.addInspector({id:S,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree((function(n){if(n.app===e&&n.inspectorId===S)if(n.filter){var r=[];N(r,t._modules.root,n.filter,""),n.rootNodes=r}else n.rootNodes=[D(t._modules.root,"")]})),n.on.getInspectorState((function(n){if(n.app===e&&n.inspectorId===S){var r=n.nodeId;v(t,r),n.state=R(B(t._modules,r),"root"===r?t.getters:t._makeLocalGettersCache,r)}})),n.on.editInspectorState((function(n){if(n.app===e&&n.inspectorId===S){var r=n.nodeId,a=n.path;"root"!==r&&(a=r.split("/").filter(Boolean).concat(a)),t._withCommit((function(){n.set(t._state.data,a,n.state.value)}))}})),t.subscribe((function(e,t){var r={};e.payload&&(r.payload=e.payload),r.state=t,n.notifyComponentUpdate(),n.sendInspectorTree(S),n.sendInspectorState(S),n.addTimelineEvent({layerId:k,event:{time:Date.now(),title:e.type,data:r}})})),t.subscribeAction({before:function(e,t){var r={};e.payload&&(r.payload=e.payload),e._id=C++,e._time=Date.now(),r.state=t,n.addTimelineEvent({layerId:x,event:{time:e._time,title:e.type,groupId:e._id,subtitle:"start",data:r}})},after:function(e,t){var r={},a=Date.now()-e._time;r.duration={_custom:{type:"duration",display:a+"ms",tooltip:"Action duration",value:a}},e.payload&&(r.payload=e.payload),r.state=t,n.addTimelineEvent({layerId:x,event:{time:Date.now(),title:e.type,groupId:e._id,subtitle:"end",data:r}})}})}))}var A=8702998,T=6710886,E=16777215,L={label:"namespaced",textColor:E,backgroundColor:T};function P(e){return e&&"root"!==e?e.split("/").slice(-2,-1)[0]:"Root"}function D(e,t){return{id:t||"root",label:P(t),tags:e.namespaced?[L]:[],children:Object.keys(e._children).map((function(n){return D(e._children[n],t+n+"/")}))}}function N(e,t,n,r){r.includes(n)&&e.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:t.namespaced?[L]:[]}),Object.keys(t._children).forEach((function(a){N(e,t._children[a],n,r+a+"/")}))}function R(e,t,n){t="root"===n?t:t[n];var r=Object.keys(t),a={state:Object.keys(e.state).map((function(t){return{key:t,editable:!0,value:e.state[t]}}))};if(r.length){var o=I(t);a.getters=Object.keys(o).map((function(e){return{key:e.endsWith("/")?P(e):e,editable:!1,value:F((function(){return o[e]}))}}))}return a}function I(e){var t={};return Object.keys(e).forEach((function(n){var r=n.split("/");if(r.length>1){var a=t,o=r.pop();r.forEach((function(e){a[e]||(a[e]={_custom:{value:{},display:e,tooltip:"Module",abstract:!0}}),a=a[e]._custom.value})),a[o]=F((function(){return e[n]}))}else t[n]=F((function(){return e[n]}))})),t}function B(e,t){var n=t.split("/").filter((function(e){return e}));return n.reduce((function(e,r,a){var o=e[r];if(!o)throw new Error('Missing module "'+r+'" for path "'+t+'".');return a===n.length-1?o:o._children}),"root"===t?e:e.root._children)}function F(e){try{return e()}catch(t){return t}}var V=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},z={namespaced:{configurable:!0}};z.namespaced.get=function(){return!!this._rawModule.namespaced},V.prototype.addChild=function(e,t){this._children[e]=t},V.prototype.removeChild=function(e){delete this._children[e]},V.prototype.getChild=function(e){return this._children[e]},V.prototype.hasChild=function(e){return e in this._children},V.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},V.prototype.forEachChild=function(e){i(this._children,e)},V.prototype.forEachGetter=function(e){this._rawModule.getters&&i(this._rawModule.getters,e)},V.prototype.forEachAction=function(e){this._rawModule.actions&&i(this._rawModule.actions,e)},V.prototype.forEachMutation=function(e){this._rawModule.mutations&&i(this._rawModule.mutations,e)},Object.defineProperties(V.prototype,z);var H=function(e){this.register([],e,!1)};function Y(e,t,n){if(q(e,n),t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void console.warn("[vuex] trying to add a new module '"+r+"' on hot reloading, manual reload is needed");Y(e.concat(r),t.getChild(r),n.modules[r])}}H.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},H.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},H.prototype.update=function(e){Y([],this.root,e)},H.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0),q(e,t);var a=new V(t,n);if(0===e.length)this.root=a;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],a)}t.modules&&i(t.modules,(function(t,a){r.register(e.concat(a),t,n)}))},H.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r?r.runtime&&t.removeChild(n):console.warn("[vuex] trying to unregister module '"+n+"', which is not registered")},H.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var U={assert:function(e){return"function"===typeof e},expected:"function"},W={assert:function(e){return"function"===typeof e||"object"===typeof e&&"function"===typeof e.handler},expected:'function or object with "handler" function'},$={getters:U,mutations:U,actions:W};function q(e,t){Object.keys($).forEach((function(n){if(t[n]){var r=$[n];i(t[n],(function(t,a){c(r.assert(t),G(e,n,a,t,r.expected))}))}}))}function G(e,t,n,r,a){var o=t+" should be "+a+' but "'+t+"."+n+'"';return e.length>0&&(o+=' in module "'+e.join(".")+'"'),o+=" is "+JSON.stringify(r)+".",o}function X(e){return new K(e)}var K=function e(t){var n=this;void 0===t&&(t={}),c("undefined"!==typeof Promise,"vuex requires a Promise polyfill in this browser."),c(this instanceof e,"store must be called with the new operator.");var r=t.plugins;void 0===r&&(r=[]);var a=t.strict;void 0===a&&(a=!1);var o=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new H(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=o;var i=this,s=this,l=s.dispatch,u=s.commit;this.dispatch=function(e,t){return l.call(i,e,t)},this.commit=function(e,t,n){return u.call(i,e,t,n)},this.strict=a;var d=this._modules.root.state;p(this,d,[],this._modules.root),h(this,d),r.forEach((function(e){return e(n)}))},J={state:{configurable:!0}};K.prototype.install=function(e,t){e.provide(t||o,this),e.config.globalProperties.$store=this;var n=void 0===this._devtools||this._devtools;n&&M(e,this)},J.state.get=function(){return this._state.data},J.state.set=function(e){c(!1,"use store.replaceState() to explicit replace store state.")},K.prototype.commit=function(e,t,n){var r=this,a=_(e,t,n),o=a.type,i=a.payload,s=a.options,l={type:o,payload:i},c=this._mutations[o];c?(this._withCommit((function(){c.forEach((function(e){e(i)}))})),this._subscribers.slice().forEach((function(e){return e(l,r.state)})),s&&s.silent&&console.warn("[vuex] mutation type: "+o+". Silent option has been removed. Use the filter functionality in the vue-devtools")):console.error("[vuex] unknown mutation type: "+o)},K.prototype.dispatch=function(e,t){var n=this,r=_(e,t),a=r.type,o=r.payload,i={type:a,payload:o},s=this._actions[a];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(i,n.state)}))}catch(c){console.warn("[vuex] error in before action subscribers: "),console.error(c)}var l=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(i,n.state)}))}catch(c){console.warn("[vuex] error in after action subscribers: "),console.error(c)}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(i,n.state,e)}))}catch(c){console.warn("[vuex] error in error action subscribers: "),console.error(c)}t(e)}))}))}console.error("[vuex] unknown action type: "+a)},K.prototype.subscribe=function(e,t){return d(e,this._subscribers,t)},K.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return d(n,this._actionSubscribers,t)},K.prototype.watch=function(e,t,n){var a=this;return c("function"===typeof e,"store.watch only accepts a function."),Object(r["watch"])((function(){return e(a.state,a.getters)}),t,Object.assign({},n))},K.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._state.data=e}))},K.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),c(Array.isArray(e),"module path must be a string or an Array."),c(e.length>0,"cannot register the root module by using registerModule."),this._modules.register(e,t),p(this,this.state,e,this._modules.get(e),n.preserveState),h(this,this.state)},K.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),c(Array.isArray(e),"module path must be a string or an Array."),this._modules.unregister(e),this._withCommit((function(){var n=w(t.state,e.slice(0,-1));delete n[e[e.length-1]]})),f(this)},K.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),c(Array.isArray(e),"module path must be a string or an Array."),this._modules.isRegistered(e)},K.prototype.hotUpdate=function(e){this._modules.update(e),f(this,!0)},K.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(K.prototype,J);ne((function(e,t){var n={};return te(t)||console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"),ee(t).forEach((function(t){var r=t.key,a=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=re(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof a?a.call(this,t,n):t[a]},n[r].vuex=!0})),n})),ne((function(e,t){var n={};return te(t)||console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"),ee(t).forEach((function(t){var r=t.key,a=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var o=re(this.$store,"mapMutations",e);if(!o)return;r=o.context.commit}return"function"===typeof a?a.apply(this,[r].concat(t)):r.apply(this.$store,[a].concat(t))}})),n}));var Z=ne((function(e,t){var n={};return te(t)||console.error("[vuex] mapGetters: mapper parameter must be either an Array or an Object"),ee(t).forEach((function(t){var r=t.key,a=t.val;a=e+a,n[r]=function(){if(!e||re(this.$store,"mapGetters",e)){if(a in this.$store.getters)return this.$store.getters[a];console.error("[vuex] unknown getter: "+a)}},n[r].vuex=!0})),n})),Q=ne((function(e,t){var n={};return te(t)||console.error("[vuex] mapActions: mapper parameter must be either an Array or an Object"),ee(t).forEach((function(t){var r=t.key,a=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var o=re(this.$store,"mapActions",e);if(!o)return;r=o.context.dispatch}return"function"===typeof a?a.apply(this,[r].concat(t)):r.apply(this.$store,[a].concat(t))}})),n}));function ee(e){return te(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function te(e){return Array.isArray(e)||s(e)}function ne(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function re(e,t,n){var r=e._modulesNamespaceMap[n];return r||console.error("[vuex] module namespace not found in "+t+"(): "+n),r}},"55c9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(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=e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,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:r,longMonthsParse:r,shortMonthsParse:r,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}))},5692:function(e,t,n){"use strict";var r=n("c6cd");e.exports=function(e,t){return r[e]||(r[e]=t||{})}},"56ef":function(e,t,n){"use strict";var r=n("d066"),a=n("e330"),o=n("241c"),i=n("7418"),s=n("825a"),l=a([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=i.f;return n?l(t,n(e)):t}},"576c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},"577e":function(e,t,n){"use strict";var r=n("f5df"),a=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return a(e)}},5926:function(e,t,n){"use strict";var r=n("b42e");e.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}},"598a":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],r=e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,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(e){return"މފ"===e},meridiem:function(e,t,n){return e<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(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}});return r}))},"59ed":function(e,t,n){"use strict";var r=n("1626"),a=n("0d51"),o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(a(e)+" is not a function")}},"5a0c":function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",a="second",o="minute",i="hour",s="day",l="week",c="month",u="quarter",d="year",f="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},b=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},g={s:b,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),a=n%60;return(t<=0?"+":"-")+b(r,2,"0")+":"+b(a,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),a=t.clone().add(r,c),o=n-a<0,i=t.clone().add(r+(o?-1:1),c);return+(-(r+(n-a)/(o?a-i:i-a))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:d,w:l,d:s,D:f,h:i,m:o,s:a,ms:r,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",O={};O[y]=v;var w="$isDayjsObject",_=function(e){return e instanceof S||!(!e||!e[w])},j=function e(t,n,r){var a;if(!t)return y;if("string"==typeof t){var o=t.toLowerCase();O[o]&&(a=o),n&&(O[o]=n,a=o);var i=t.split("-");if(!a&&i.length>1)return e(i[0])}else{var s=t.name;O[s]=t,a=s}return!r&&a&&(y=a),a||!r&&y},k=function(e,t){if(_(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new S(n)},x=g;x.l=j,x.i=_,x.w=function(e,t){return k(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var S=function(){function v(e){this.$L=j(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[w]=!0}var b=v.prototype;return b.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(x.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(p);if(r){var a=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],a,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},b.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},b.$utils=function(){return x},b.isValid=function(){return!(this.$d.toString()===h)},b.isSame=function(e,t){var n=k(e);return this.startOf(t)<=n&&n<=this.endOf(t)},b.isAfter=function(e,t){return k(e)<this.startOf(t)},b.isBefore=function(e,t){return this.endOf(t)<k(e)},b.$g=function(e,t,n){return x.u(e)?this[t]:this.set(n,e)},b.unix=function(){return Math.floor(this.valueOf()/1e3)},b.valueOf=function(){return this.$d.getTime()},b.startOf=function(e,t){var n=this,r=!!x.u(t)||t,u=x.p(e),h=function(e,t){var a=x.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?a:a.endOf(s)},p=function(e,t){return x.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,v=this.$M,b=this.$D,g="set"+(this.$u?"UTC":"");switch(u){case d:return r?h(1,0):h(31,11);case c:return r?h(1,v):h(0,v+1);case l:var y=this.$locale().weekStart||0,O=(m<y?m+7:m)-y;return h(r?b-O:b+(6-O),v);case s:case f:return p(g+"Hours",0);case i:return p(g+"Minutes",1);case o:return p(g+"Seconds",2);case a:return p(g+"Milliseconds",3);default:return this.clone()}},b.endOf=function(e){return this.startOf(e,!1)},b.$set=function(e,t){var n,l=x.p(e),u="set"+(this.$u?"UTC":""),h=(n={},n[s]=u+"Date",n[f]=u+"Date",n[c]=u+"Month",n[d]=u+"FullYear",n[i]=u+"Hours",n[o]=u+"Minutes",n[a]=u+"Seconds",n[r]=u+"Milliseconds",n)[l],p=l===s?this.$D+(t-this.$W):t;if(l===c||l===d){var m=this.clone().set(f,1);m.$d[h](p),m.init(),this.$d=m.set(f,Math.min(this.$D,m.daysInMonth())).$d}else h&&this.$d[h](p);return this.init(),this},b.set=function(e,t){return this.clone().$set(e,t)},b.get=function(e){return this[x.p(e)]()},b.add=function(r,u){var f,h=this;r=Number(r);var p=x.p(u),m=function(e){var t=k(h);return x.w(t.date(t.date()+Math.round(e*r)),h)};if(p===c)return this.set(c,this.$M+r);if(p===d)return this.set(d,this.$y+r);if(p===s)return m(1);if(p===l)return m(7);var v=(f={},f[o]=t,f[i]=n,f[a]=e,f)[p]||1,b=this.$d.getTime()+r*v;return x.w(b,this)},b.subtract=function(e,t){return this.add(-1*e,t)},b.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||h;var r=e||"YYYY-MM-DDTHH:mm:ssZ",a=x.z(this),o=this.$H,i=this.$m,s=this.$M,l=n.weekdays,c=n.months,u=n.meridiem,d=function(e,n,a,o){return e&&(e[n]||e(t,r))||a[n].slice(0,o)},f=function(e){return x.s(o%12||12,e,"0")},p=u||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(m,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return x.s(t.$y,4,"0");case"M":return s+1;case"MM":return x.s(s+1,2,"0");case"MMM":return d(n.monthsShort,s,c,3);case"MMMM":return d(c,s);case"D":return t.$D;case"DD":return x.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,l,2);case"ddd":return d(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(o);case"HH":return x.s(o,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return p(o,i,!0);case"A":return p(o,i,!1);case"m":return String(i);case"mm":return x.s(i,2,"0");case"s":return String(t.$s);case"ss":return x.s(t.$s,2,"0");case"SSS":return x.s(t.$ms,3,"0");case"Z":return a}return null}(e)||a.replace(":","")}))},b.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},b.diff=function(r,f,h){var p,m=this,v=x.p(f),b=k(r),g=(b.utcOffset()-this.utcOffset())*t,y=this-b,O=function(){return x.m(m,b)};switch(v){case d:p=O()/12;break;case c:p=O();break;case u:p=O()/3;break;case l:p=(y-g)/6048e5;break;case s:p=(y-g)/864e5;break;case i:p=y/n;break;case o:p=y/t;break;case a:p=y/e;break;default:p=y}return h?p:x.a(p)},b.daysInMonth=function(){return this.endOf(c).$D},b.$locale=function(){return O[this.$L]},b.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=j(e,t,!0);return r&&(n.$L=r),n},b.clone=function(){return x.w(this.$d,this)},b.toDate=function(){return new Date(this.valueOf())},b.toJSON=function(){return this.isValid()?this.toISOString():null},b.toISOString=function(){return this.$d.toISOString()},b.toString=function(){return this.$d.toUTCString()},v}(),C=S.prototype;return k.prototype=C,[["$ms",r],["$s",a],["$m",o],["$H",i],["$W",s],["$M",c],["$y",d],["$D",f]].forEach((function(e){C[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),k.extend=function(e,t){return e.$i||(e(t,S,k),e.$i=!0),k},k.locale=j,k.isDayjs=_,k.unix=function(e){return k(1e3*e)},k.en=O[y],k.Ls=O,k.p={},k}))},"5aff":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={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"},n=e.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(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var r=e%10,a=e%100-r,o=e>=100?100:null;return e+(t[r]||t[a]||t[o])}},week:{dow:1,doy:7}});return n}))},"5b14":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,r){var a=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"ss":return a+(r||t)?" másodperc":" másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return a+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return a+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return a+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return a+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return a+(r||t?" év":" éve")}return""}function r(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}var a=e.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(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",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},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},"5b81":function(e,t,n){"use strict";var r=n("23e7"),a=n("c65b"),o=n("e330"),i=n("1d80"),s=n("1626"),l=n("7234"),c=n("44e7"),u=n("577e"),d=n("dc4a"),f=n("90d8"),h=n("0cb2"),p=n("b622"),m=n("c430"),v=p("replace"),b=TypeError,g=o("".indexOf),y=o("".replace),O=o("".slice),w=Math.max;r({target:"String",proto:!0},{replaceAll:function(e,t){var n,r,o,p,_,j,k,x,S,C=i(this),M=0,A=0,T="";if(!l(e)){if(n=c(e),n&&(r=u(i(f(e))),!~g(r,"g")))throw new b("`.replaceAll` does not allow non-global regexes");if(o=d(e,v),o)return a(o,e,C,t);if(m&&n)return y(u(C),e,t)}p=u(C),_=u(e),j=s(t),j||(t=u(t)),k=_.length,x=w(1,k),M=g(p,_);while(-1!==M)S=j?u(t(_,M,p)):h(_,p,M,[],void 0,t),T+=O(p,A,M)+S,A=M+k,M=M+x>p.length?-1:g(p,_,M+x);return A<p.length&&(T+=O(p,A)),T}})},"5c3a":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},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 t}))},"5c6c":function(e,t,n){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5cbb":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}});return t}))},"5cce":function(e,t){e.exports={version:"0.27.2"}},"5e0f":function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t,n){var r=t.prototype,a=function(e){return e&&(e.indexOf?e:e.s)},o=function(e,t,n,r,o){var i=e.name?e:e.$locale(),s=a(i[t]),l=a(i[n]),c=s||l.map((function(e){return e.slice(0,r)}));if(!o)return c;var u=i.weekStart;return c.map((function(e,t){return c[(t+(u||0))%7]}))},i=function(){return n.Ls[n.locale()]},s=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}(e.formats[t.toUpperCase()])},l=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):o(e,"months")},monthsShort:function(t){return t?t.format("MMM"):o(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):o(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):o(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):o(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return s(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return l.bind(this)()},n.localeData=function(){var e=i();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return s(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return o(i(),"months")},n.monthsShort=function(){return o(i(),"monthsShort","months",3)},n.weekdays=function(e){return o(i(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return o(i(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return o(i(),"weekdaysMin","weekdays",2,e)}}}))},"5e76":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="top",a="bottom",o="right",i="left",s="auto",l=[r,a,o,i],c="start",u="end",d="clippingParents",f="viewport",h="popper",p="reference",m=l.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+u])}),[]),v=[].concat(l,[s]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+u])}),[]),b="beforeRead",g="read",y="afterRead",O="beforeMain",w="main",_="afterMain",j="beforeWrite",k="write",x="afterWrite",S=[b,g,y,O,w,_,j,k,x];function C(e){return e?(e.nodeName||"").toLowerCase():null}function M(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function A(e){var t=M(e).Element;return e instanceof t||e instanceof Element}function T(e){var t=M(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function E(e){if("undefined"==typeof ShadowRoot)return!1;var t=M(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function L(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},a=t.elements[e];!T(a)||!C(a)||(Object.assign(a.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)})))}))}function P(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],a=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]),i=o.reduce((function(e,t){return e[t]="",e}),{});!T(r)||!C(r)||(Object.assign(r.style,i),Object.keys(a).forEach((function(e){r.removeAttribute(e)})))}))}}var D={name:"applyStyles",enabled:!0,phase:"write",fn:L,effect:P,requires:["computeStyles"]};function N(e){return e.split("-")[0]}var R=Math.max,I=Math.min,B=Math.round;function F(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,a=1;if(T(e)&&t){var o=e.offsetHeight,i=e.offsetWidth;i>0&&(r=B(n.width)/i||1),o>0&&(a=B(n.height)/o||1)}return{width:n.width/r,height:n.height/a,top:n.top/a,right:n.right/r,bottom:n.bottom/a,left:n.left/r,x:n.left/r,y:n.top/a}}function V(e){var t=F(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function z(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&E(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function H(e){return M(e).getComputedStyle(e)}function Y(e){return["table","td","th"].indexOf(C(e))>=0}function U(e){return((A(e)?e.ownerDocument:e.document)||window.document).documentElement}function W(e){return"html"===C(e)?e:e.assignedSlot||e.parentNode||(E(e)?e.host:null)||U(e)}function $(e){return T(e)&&"fixed"!==H(e).position?e.offsetParent:null}function q(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&T(e)){var r=H(e);if("fixed"===r.position)return null}var a=W(e);for(E(a)&&(a=a.host);T(a)&&["html","body"].indexOf(C(a))<0;){var o=H(a);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return a;a=a.parentNode}return null}function G(e){for(var t=M(e),n=$(e);n&&Y(n)&&"static"===H(n).position;)n=$(n);return n&&("html"===C(n)||"body"===C(n)&&"static"===H(n).position)?t:n||q(e)||t}function X(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function K(e,t,n){return R(e,I(t,n))}function J(e,t,n){var r=K(e,t,n);return r>n?n:r}function Z(){return{top:0,right:0,bottom:0,left:0}}function Q(e){return Object.assign({},Z(),e)}function ee(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var te=function(e,t){return e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,Q("number"!=typeof e?e:ee(e,l))};function ne(e){var t,n=e.state,s=e.name,l=e.options,c=n.elements.arrow,u=n.modifiersData.popperOffsets,d=N(n.placement),f=X(d),h=[i,o].indexOf(d)>=0,p=h?"height":"width";if(c&&u){var m=te(l.padding,n),v=V(c),b="y"===f?r:i,g="y"===f?a:o,y=n.rects.reference[p]+n.rects.reference[f]-u[f]-n.rects.popper[p],O=u[f]-n.rects.reference[f],w=G(c),_=w?"y"===f?w.clientHeight||0:w.clientWidth||0:0,j=y/2-O/2,k=m[b],x=_-v[p]-m[g],S=_/2-v[p]/2+j,C=K(k,S,x),M=f;n.modifiersData[s]=(t={},t[M]=C,t.centerOffset=C-S,t)}}function re(e){var t=e.state,n=e.options,r=n.element,a=void 0===r?"[data-popper-arrow]":r;null!=a&&("string"==typeof a&&(a=t.elements.popper.querySelector(a),!a)||!z(t.elements.popper,a)||(t.elements.arrow=a))}var ae={name:"arrow",enabled:!0,phase:"main",fn:ne,effect:re,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function oe(e){return e.split("-")[1]}var ie={top:"auto",right:"auto",bottom:"auto",left:"auto"};function se(e){var t=e.x,n=e.y,r=window,a=r.devicePixelRatio||1;return{x:B(t*a)/a||0,y:B(n*a)/a||0}}function le(e){var t,n=e.popper,s=e.popperRect,l=e.placement,c=e.variation,d=e.offsets,f=e.position,h=e.gpuAcceleration,p=e.adaptive,m=e.roundOffsets,v=e.isFixed,b=d.x,g=void 0===b?0:b,y=d.y,O=void 0===y?0:y,w="function"==typeof m?m({x:g,y:O}):{x:g,y:O};g=w.x,O=w.y;var _=d.hasOwnProperty("x"),j=d.hasOwnProperty("y"),k=i,x=r,S=window;if(p){var C=G(n),A="clientHeight",T="clientWidth";if(C===M(n)&&(C=U(n),"static"!==H(C).position&&"absolute"===f&&(A="scrollHeight",T="scrollWidth")),C=C,l===r||(l===i||l===o)&&c===u){x=a;var E=v&&C===S&&S.visualViewport?S.visualViewport.height:C[A];O-=E-s.height,O*=h?1:-1}if(l===i||(l===r||l===a)&&c===u){k=o;var L=v&&C===S&&S.visualViewport?S.visualViewport.width:C[T];g-=L-s.width,g*=h?1:-1}}var P,D=Object.assign({position:f},p&&ie),N=!0===m?se({x:g,y:O}):{x:g,y:O};return g=N.x,O=N.y,h?Object.assign({},D,(P={},P[x]=j?"0":"",P[k]=_?"0":"",P.transform=(S.devicePixelRatio||1)<=1?"translate("+g+"px, "+O+"px)":"translate3d("+g+"px, "+O+"px, 0)",P)):Object.assign({},D,(t={},t[x]=j?O+"px":"",t[k]=_?g+"px":"",t.transform="",t))}function ce(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=void 0===r||r,o=n.adaptive,i=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,c={placement:N(t.placement),variation:oe(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,le(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,le(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var ue={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ce,data:{}},de={passive:!0};function fe(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,o=void 0===a||a,i=r.resize,s=void 0===i||i,l=M(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,de)})),s&&l.addEventListener("resize",n.update,de),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,de)})),s&&l.removeEventListener("resize",n.update,de)}}var he={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:fe,data:{}},pe={left:"right",right:"left",bottom:"top",top:"bottom"};function me(e){return e.replace(/left|right|bottom|top/g,(function(e){return pe[e]}))}var ve={start:"end",end:"start"};function be(e){return e.replace(/start|end/g,(function(e){return ve[e]}))}function ge(e){var t=M(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function ye(e){return F(U(e)).left+ge(e).scrollLeft}function Oe(e){var t=M(e),n=U(e),r=t.visualViewport,a=n.clientWidth,o=n.clientHeight,i=0,s=0;return r&&(a=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=r.offsetLeft,s=r.offsetTop)),{width:a,height:o,x:i+ye(e),y:s}}function we(e){var t,n=U(e),r=ge(e),a=null==(t=e.ownerDocument)?void 0:t.body,o=R(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=R(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-r.scrollLeft+ye(e),l=-r.scrollTop;return"rtl"===H(a||n).direction&&(s+=R(n.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:l}}function _e(e){var t=H(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function je(e){return["html","body","#document"].indexOf(C(e))>=0?e.ownerDocument.body:T(e)&&_e(e)?e:je(W(e))}function ke(e,t){var n;void 0===t&&(t=[]);var r=je(e),a=r===(null==(n=e.ownerDocument)?void 0:n.body),o=M(r),i=a?[o].concat(o.visualViewport||[],_e(r)?r:[]):r,s=t.concat(i);return a?s:s.concat(ke(W(i)))}function xe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Se(e){var t=F(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Ce(e,t){return t===f?xe(Oe(e)):A(t)?Se(t):xe(we(U(e)))}function Me(e){var t=ke(W(e)),n=["absolute","fixed"].indexOf(H(e).position)>=0,r=n&&T(e)?G(e):e;return A(r)?t.filter((function(e){return A(e)&&z(e,r)&&"body"!==C(e)})):[]}function Ae(e,t,n){var r="clippingParents"===t?Me(e):[].concat(t),a=[].concat(r,[n]),o=a[0],i=a.reduce((function(t,n){var r=Ce(e,n);return t.top=R(r.top,t.top),t.right=I(r.right,t.right),t.bottom=I(r.bottom,t.bottom),t.left=R(r.left,t.left),t}),Ce(e,o));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function Te(e){var t,n=e.reference,s=e.element,l=e.placement,d=l?N(l):null,f=l?oe(l):null,h=n.x+n.width/2-s.width/2,p=n.y+n.height/2-s.height/2;switch(d){case r:t={x:h,y:n.y-s.height};break;case a:t={x:h,y:n.y+n.height};break;case o:t={x:n.x+n.width,y:p};break;case i:t={x:n.x-s.width,y:p};break;default:t={x:n.x,y:n.y}}var m=d?X(d):null;if(null!=m){var v="y"===m?"height":"width";switch(f){case c:t[m]=t[m]-(n[v]/2-s[v]/2);break;case u:t[m]=t[m]+(n[v]/2-s[v]/2);break}}return t}function Ee(e,t){void 0===t&&(t={});var n=t,i=n.placement,s=void 0===i?e.placement:i,c=n.boundary,u=void 0===c?d:c,m=n.rootBoundary,v=void 0===m?f:m,b=n.elementContext,g=void 0===b?h:b,y=n.altBoundary,O=void 0!==y&&y,w=n.padding,_=void 0===w?0:w,j=Q("number"!=typeof _?_:ee(_,l)),k=g===h?p:h,x=e.rects.popper,S=e.elements[O?k:g],C=Ae(A(S)?S:S.contextElement||U(e.elements.popper),u,v),M=F(e.elements.reference),T=Te({reference:M,element:x,strategy:"absolute",placement:s}),E=xe(Object.assign({},x,T)),L=g===h?E:M,P={top:C.top-L.top+j.top,bottom:L.bottom-C.bottom+j.bottom,left:C.left-L.left+j.left,right:L.right-C.right+j.right},D=e.modifiersData.offset;if(g===h&&D){var N=D[s];Object.keys(P).forEach((function(e){var t=[o,a].indexOf(e)>=0?1:-1,n=[r,a].indexOf(e)>=0?"y":"x";P[e]+=N[n]*t}))}return P}function Le(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=n.boundary,o=n.rootBoundary,i=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?v:c,d=oe(r),f=d?s?m:m.filter((function(e){return oe(e)===d})):l,h=f.filter((function(e){return u.indexOf(e)>=0}));0===h.length&&(h=f);var p=h.reduce((function(t,n){return t[n]=Ee(e,{placement:n,boundary:a,rootBoundary:o,padding:i})[N(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}function Pe(e){if(N(e)===s)return[];var t=me(e);return[be(e),t,be(t)]}function De(e){var t=e.state,n=e.options,l=e.name;if(!t.modifiersData[l]._skip){for(var u=n.mainAxis,d=void 0===u||u,f=n.altAxis,h=void 0===f||f,p=n.fallbackPlacements,m=n.padding,v=n.boundary,b=n.rootBoundary,g=n.altBoundary,y=n.flipVariations,O=void 0===y||y,w=n.allowedAutoPlacements,_=t.options.placement,j=N(_),k=j===_,x=p||(k||!O?[me(_)]:Pe(_)),S=[_].concat(x).reduce((function(e,n){return e.concat(N(n)===s?Le(t,{placement:n,boundary:v,rootBoundary:b,padding:m,flipVariations:O,allowedAutoPlacements:w}):n)}),[]),C=t.rects.reference,M=t.rects.popper,A=new Map,T=!0,E=S[0],L=0;L<S.length;L++){var P=S[L],D=N(P),R=oe(P)===c,I=[r,a].indexOf(D)>=0,B=I?"width":"height",F=Ee(t,{placement:P,boundary:v,rootBoundary:b,altBoundary:g,padding:m}),V=I?R?o:i:R?a:r;C[B]>M[B]&&(V=me(V));var z=me(V),H=[];if(d&&H.push(F[D]<=0),h&&H.push(F[V]<=0,F[z]<=0),H.every((function(e){return e}))){E=P,T=!1;break}A.set(P,H)}if(T)for(var Y=O?3:1,U=function(e){var t=S.find((function(t){var n=A.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},W=Y;W>0;W--){var $=U(W);if("break"===$)break}t.placement!==E&&(t.modifiersData[l]._skip=!0,t.placement=E,t.reset=!0)}}var Ne={name:"flip",enabled:!0,phase:"main",fn:De,requiresIfExists:["offset"],data:{_skip:!1}};function Re(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Ie(e){return[r,o,a,i].some((function(t){return e[t]>=0}))}function Be(e){var t=e.state,n=e.name,r=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=Ee(t,{elementContext:"reference"}),s=Ee(t,{altBoundary:!0}),l=Re(i,r),c=Re(s,a,o),u=Ie(l),d=Ie(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}var Fe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Be};function Ve(e,t,n){var a=N(e),s=[i,r].indexOf(a)>=0?-1:1,l="function"==typeof n?n(Object.assign({},t,{placement:e})):n,c=l[0],u=l[1];return c=c||0,u=(u||0)*s,[i,o].indexOf(a)>=0?{x:u,y:c}:{x:c,y:u}}function ze(e){var t=e.state,n=e.options,r=e.name,a=n.offset,o=void 0===a?[0,0]:a,i=v.reduce((function(e,n){return e[n]=Ve(n,t.rects,o),e}),{}),s=i[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}var He={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ze};function Ye(e){var t=e.state,n=e.name;t.modifiersData[n]=Te({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Ue={name:"popperOffsets",enabled:!0,phase:"read",fn:Ye,data:{}};function We(e){return"x"===e?"y":"x"}function $e(e){var t=e.state,n=e.options,s=e.name,l=n.mainAxis,u=void 0===l||l,d=n.altAxis,f=void 0!==d&&d,h=n.boundary,p=n.rootBoundary,m=n.altBoundary,v=n.padding,b=n.tether,g=void 0===b||b,y=n.tetherOffset,O=void 0===y?0:y,w=Ee(t,{boundary:h,rootBoundary:p,padding:v,altBoundary:m}),_=N(t.placement),j=oe(t.placement),k=!j,x=X(_),S=We(x),C=t.modifiersData.popperOffsets,M=t.rects.reference,A=t.rects.popper,T="function"==typeof O?O(Object.assign({},t.rects,{placement:t.placement})):O,E="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(C){if(u){var D,B="y"===x?r:i,F="y"===x?a:o,z="y"===x?"height":"width",H=C[x],Y=H+w[B],U=H-w[F],W=g?-A[z]/2:0,$=j===c?M[z]:A[z],q=j===c?-A[z]:-M[z],Q=t.elements.arrow,ee=g&&Q?V(Q):{width:0,height:0},te=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Z(),ne=te[B],re=te[F],ae=K(0,M[z],ee[z]),ie=k?M[z]/2-W-ae-ne-E.mainAxis:$-ae-ne-E.mainAxis,se=k?-M[z]/2+W+ae+re+E.mainAxis:q+ae+re+E.mainAxis,le=t.elements.arrow&&G(t.elements.arrow),ce=le?"y"===x?le.clientTop||0:le.clientLeft||0:0,ue=null!=(D=null==L?void 0:L[x])?D:0,de=H+ie-ue-ce,fe=H+se-ue,he=K(g?I(Y,de):Y,H,g?R(U,fe):U);C[x]=he,P[x]=he-H}if(f){var pe,me="x"===x?r:i,ve="x"===x?a:o,be=C[S],ge="y"===S?"height":"width",ye=be+w[me],Oe=be-w[ve],we=-1!==[r,i].indexOf(_),_e=null!=(pe=null==L?void 0:L[S])?pe:0,je=we?ye:be-M[ge]-A[ge]-_e+E.altAxis,ke=we?be+M[ge]+A[ge]-_e-E.altAxis:Oe,xe=g&&we?J(je,be,ke):K(g?je:ye,be,g?ke:Oe);C[S]=xe,P[S]=xe-be}t.modifiersData[s]=P}}var qe={name:"preventOverflow",enabled:!0,phase:"main",fn:$e,requiresIfExists:["offset"]};function Ge(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Xe(e){return e!==M(e)&&T(e)?Ge(e):ge(e)}function Ke(e){var t=e.getBoundingClientRect(),n=B(t.width)/e.offsetWidth||1,r=B(t.height)/e.offsetHeight||1;return 1!==n||1!==r}function Je(e,t,n){void 0===n&&(n=!1);var r=T(t),a=T(t)&&Ke(t),o=U(t),i=F(e,a),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==C(t)||_e(o))&&(s=Xe(t)),T(t)?(l=F(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=ye(o))),{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function Ze(e){var t=new Map,n=new Set,r=[];function a(e){n.add(e.name);var o=[].concat(e.requires||[],e.requiresIfExists||[]);o.forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&a(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||a(e)})),r}function Qe(e){var t=Ze(e);return S.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}function et(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}function tt(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}var nt={placement:"bottom",modifiers:[],strategy:"absolute"};function rt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function at(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,a=t.defaultOptions,o=void 0===a?nt:a;return function(e,t,n){void 0===n&&(n=o);var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},nt,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},i=[],s=!1,l={state:a,setOptions:function(n){var i="function"==typeof n?n(a.options):n;u(),a.options=Object.assign({},o,a.options,i),a.scrollParents={reference:A(e)?ke(e):e.contextElement?ke(e.contextElement):[],popper:ke(t)};var s=Qe(tt([].concat(r,a.options.modifiers)));return a.orderedModifiers=s.filter((function(e){return e.enabled})),c(),l.update()},forceUpdate:function(){if(!s){var e=a.elements,t=e.reference,n=e.popper;if(rt(t,n)){a.rects={reference:Je(t,G(n),"fixed"===a.options.strategy),popper:V(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<a.orderedModifiers.length;r++)if(!0!==a.reset){var o=a.orderedModifiers[r],i=o.fn,c=o.options,u=void 0===c?{}:c,d=o.name;"function"==typeof i&&(a=i({state:a,options:u,name:d,instance:l})||a)}else a.reset=!1,r=-1}}},update:et((function(){return new Promise((function(e){l.forceUpdate(),e(a)}))})),destroy:function(){u(),s=!0}};if(!rt(e,t))return l;function c(){a.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var s=o({state:a,name:t,instance:l,options:r}),c=function(){};i.push(s||c)}}))}function u(){i.forEach((function(e){return e()})),i=[]}return l.setOptions(n).then((function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var ot=at(),it=[he,Ue,ue,D],st=at({defaultModifiers:it}),lt=[he,Ue,ue,D,He,Ne,qe,ae,Fe],ct=at({defaultModifiers:lt});t.afterMain=_,t.afterRead=y,t.afterWrite=x,t.applyStyles=D,t.arrow=ae,t.auto=s,t.basePlacements=l,t.beforeMain=O,t.beforeRead=b,t.beforeWrite=j,t.bottom=a,t.clippingParents=d,t.computeStyles=ue,t.createPopper=ct,t.createPopperBase=ot,t.createPopperLite=st,t.detectOverflow=Ee,t.end=u,t.eventListeners=he,t.flip=Ne,t.hide=Fe,t.left=i,t.main=w,t.modifierPhases=S,t.offset=He,t.placements=v,t.popper=h,t.popperGenerator=at,t.popperOffsets=Ue,t.preventOverflow=qe,t.read=g,t.reference=p,t.right=o,t.start=c,t.top=r,t.variationPlacements=m,t.viewport=f,t.write=k},"5e77":function(e,t,n){"use strict";var r=n("83ab"),a=n("1a2d"),o=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,s=a(o,"name"),l=s&&"something"===function(){}.name,c=s&&(!r||r&&i(o,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},"5f02":function(e,t,n){"use strict";var r=n("c532");e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},"5fbd":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"sö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(e){var t=e%10,n=1===~~(e%100/10)?":e":1===t||2===t?":a":":e";return e+n},week:{dow:1,doy:4}});return t}))},6117:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<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(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}});return t}))},"62e4":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},6374:function(e,t,n){"use strict";var r=n("da84"),a=Object.defineProperty;e.exports=function(e,t){try{a(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},6403:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t}))},"65db":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"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 t}))},6605:function(e,t,n){"use strict";n.d(t,"a",(function(){return et})),n.d(t,"b",(function(){return oe}));var r=n("7a23");n("3f4e");
/*!
  * vue-router v4.3.2
  * (c) 2024 Eduardo San Martin Morote
  * @license MIT
  */
const a="undefined"!==typeof document;function o(e){return e.__esModule||"Module"===e[Symbol.toStringTag]}const i=Object.assign;function s(e,t){const n={};for(const r in t){const a=t[r];n[r]=c(a)?a.map(e):e(a)}return n}const l=()=>{},c=Array.isArray;const u=/#/g,d=/&/g,f=/\//g,h=/=/g,p=/\?/g,m=/\+/g,v=/%5B/g,b=/%5D/g,g=/%5E/g,y=/%60/g,O=/%7B/g,w=/%7C/g,_=/%7D/g,j=/%20/g;function k(e){return encodeURI(""+e).replace(w,"|").replace(v,"[").replace(b,"]")}function x(e){return k(e).replace(O,"{").replace(_,"}").replace(g,"^")}function S(e){return k(e).replace(m,"%2B").replace(j,"+").replace(u,"%23").replace(d,"%26").replace(y,"`").replace(O,"{").replace(_,"}").replace(g,"^")}function C(e){return S(e).replace(h,"%3D")}function M(e){return k(e).replace(u,"%23").replace(p,"%3F")}function A(e){return null==e?"":M(e).replace(f,"%2F")}function T(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const E=/\/$/,L=e=>e.replace(E,"");function P(e,t,n="/"){let r,a={},o="",i="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,s>-1?s:t.length),a=e(o)),s>-1&&(r=r||t.slice(0,s),i=t.slice(s,t.length)),r=z(null!=r?r:t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:a,hash:T(i)}}function D(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function N(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function R(e,t,n){const r=t.matched.length-1,a=n.matched.length-1;return r>-1&&r===a&&I(t.matched[r],n.matched[a])&&B(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function I(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function B(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!F(e[n],t[n]))return!1;return!0}function F(e,t){return c(e)?V(e,t):c(t)?V(t,e):e===t}function V(e,t){return c(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):1===e.length&&e[0]===t}function z(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),a=r[r.length-1];".."!==a&&"."!==a||r.push("");let o,i,s=n.length-1;for(o=0;o<r.length;o++)if(i=r[o],"."!==i){if(".."!==i)break;s>1&&s--}return n.slice(0,s).join("/")+"/"+r.slice(o).join("/")}var H,Y;(function(e){e["pop"]="pop",e["push"]="push"})(H||(H={})),function(e){e["back"]="back",e["forward"]="forward",e["unknown"]=""}(Y||(Y={}));function U(e){if(!e)if(a){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),L(e)}const W=/^[^#]+#/;function $(e,t){return e.replace(W,"#")+t}function q(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const G=()=>({left:window.scrollX,top:window.scrollY});function X(e){let t;if("el"in e){const n=e.el,r="string"===typeof n&&n.startsWith("#");0;const a="string"===typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!a)return;t=q(a,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function K(e,t){const n=history.state?history.state.position-t:-1;return n+e}const J=new Map;function Z(e,t){J.set(e,t)}function Q(e){const t=J.get(e);return J.delete(e),t}let ee=()=>location.protocol+"//"+location.host;function te(e,t){const{pathname:n,search:r,hash:a}=t,o=e.indexOf("#");if(o>-1){let t=a.includes(e.slice(o))?e.slice(o).length:1,n=a.slice(t);return"/"!==n[0]&&(n="/"+n),N(n,"")}const i=N(n,e);return i+r+a}function ne(e,t,n,r){let a=[],o=[],s=null;const l=({state:o})=>{const i=te(e,location),l=n.value,c=t.value;let u=0;if(o){if(n.value=i,t.value=o,s&&s===l)return void(s=null);u=c?o.position-c.position:0}else r(i);a.forEach(e=>{e(n.value,l,{delta:u,type:H.pop,direction:u?u>0?Y.forward:Y.back:Y.unknown})})};function c(){s=n.value}function u(e){a.push(e);const t=()=>{const t=a.indexOf(e);t>-1&&a.splice(t,1)};return o.push(t),t}function d(){const{history:e}=window;e.state&&e.replaceState(i({},e.state,{scroll:G()}),"")}function f(){for(const e of o)e();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:c,listen:u,destroy:f}}function re(e,t,n,r=!1,a=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:a?G():null}}function ae(e){const{history:t,location:n}=window,r={value:te(e,n)},a={value:t.state};function o(r,o,i){const s=e.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+r:ee()+e+r;try{t[i?"replaceState":"pushState"](o,"",l),a.value=o}catch(c){console.error(c),n[i?"replace":"assign"](l)}}function s(e,n){const s=i({},t.state,re(a.value.back,e,a.value.forward,!0),n,{position:a.value.position});o(e,s,!0),r.value=e}function l(e,n){const s=i({},a.value,t.state,{forward:e,scroll:G()});o(s.current,s,!0);const l=i({},re(r.value,e,null),{position:s.position+1},n);o(e,l,!1),r.value=e}return a.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:r,state:a,push:l,replace:s}}function oe(e){e=U(e);const t=ae(e),n=ne(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}const a=i({location:"",base:e,go:r,createHref:$.bind(null,e)},t,n);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>t.state.value}),a}function ie(e){return"string"===typeof e||e&&"object"===typeof e}function se(e){return"string"===typeof e||"symbol"===typeof e}const le={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ce=Symbol("");var ue;(function(e){e[e["aborted"]=4]="aborted",e[e["cancelled"]=8]="cancelled",e[e["duplicated"]=16]="duplicated"})(ue||(ue={}));function de(e,t){return i(new Error,{type:e,[ce]:!0},t)}function fe(e,t){return e instanceof Error&&ce in e&&(null==t||!!(e.type&t))}const he="[^/]+?",pe={sensitive:!1,strict:!1,start:!0,end:!0},me=/[.+*?^${}()[\]/\\]/g;function ve(e,t){const n=i({},pe,t),r=[];let a=n.start?"^":"";const o=[];for(const i of e){const e=i.length?[]:[90];n.strict&&!i.length&&(a+="/");for(let t=0;t<i.length;t++){const r=i[t];let s=40+(n.sensitive?.25:0);if(0===r.type)t||(a+="/"),a+=r.value.replace(me,"\\$&"),s+=40;else if(1===r.type){const{value:e,repeatable:n,optional:l,regexp:c}=r;o.push({name:e,repeatable:n,optional:l});const u=c||he;if(u!==he){s+=10;try{new RegExp(`(${u})`)}catch(d){throw new Error(`Invalid custom RegExp for param "${e}" (${u}): `+d.message)}}let f=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;t||(f=l&&i.length<2?`(?:/${f})`:"/"+f),l&&(f+="?"),a+=f,s+=20,l&&(s+=-8),n&&(s+=-20),".*"===u&&(s+=-50)}e.push(s)}r.push(e)}if(n.strict&&n.end){const e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(a+="/?"),n.end?a+="$":n.strict&&(a+="(?:/|$)");const s=new RegExp(a,n.sensitive?"":"i");function l(e){const t=e.match(s),n={};if(!t)return null;for(let r=1;r<t.length;r++){const e=t[r]||"",a=o[r-1];n[a.name]=e&&a.repeatable?e.split("/"):e}return n}function u(t){let n="",r=!1;for(const a of e){r&&n.endsWith("/")||(n+="/"),r=!1;for(const e of a)if(0===e.type)n+=e.value;else if(1===e.type){const{value:o,repeatable:i,optional:s}=e,l=o in t?t[o]:"";if(c(l)&&!i)throw new Error(`Provided param "${o}" is an array but it is not repeatable (* or + modifiers)`);const u=c(l)?l.join("/"):l;if(!u){if(!s)throw new Error(`Missing required param "${o}"`);a.length<2&&(n.endsWith("/")?n=n.slice(0,-1):r=!0)}n+=u}}return n||"/"}return{re:s,score:r,keys:o,parse:l,stringify:u}}function be(e,t){let n=0;while(n<e.length&&n<t.length){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.length?1===t.length&&80===t[0]?1:-1:0}function ge(e,t){let n=0;const r=e.score,a=t.score;while(n<r.length&&n<a.length){const e=be(r[n],a[n]);if(e)return e;n++}if(1===Math.abs(a.length-r.length)){if(ye(r))return 1;if(ye(a))return-1}return a.length-r.length}function ye(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Oe={type:0,value:""},we=/[a-zA-Z0-9_]/;function _e(e){if(!e)return[[]];if("/"===e)return[[Oe]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=0,r=n;const a=[];let o;function i(){o&&a.push(o),o=[]}let s,l=0,c="",u="";function d(){c&&(0===n?o.push({type:0,value:c}):1===n||2===n||3===n?(o.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function f(){c+=s}while(l<e.length)if(s=e[l++],"\\"!==s||2===n)switch(n){case 0:"/"===s?(c&&d(),i()):":"===s?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:"("===s?n=2:we.test(s)?f():(d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case 2:")"===s?"\\"==u[u.length-1]?u=u.slice(0,-1)+s:n=3:u+=s;break;case 3:d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--,u="";break;default:t("Unknown state");break}else r=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),d(),i(),a}function je(e,t,n){const r=ve(_e(e.path),n);const a=i(r,{record:e,parent:t,children:[],alias:[]});return t&&!a.record.aliasOf===!t.record.aliasOf&&t.children.push(a),a}function ke(e,t){const n=[],r=new Map;function a(e){return r.get(e)}function o(e,n,r){const a=!r,c=Se(e);c.aliasOf=r&&r.record;const d=Te(t,e),f=[c];if("alias"in e){const t="string"===typeof e.alias?[e.alias]:e.alias;for(const e of t)f.push(i({},c,{components:r?r.record.components:c.components,path:e,aliasOf:r?r.record:c}))}let h,p;for(const t of f){const{path:i}=t;if(n&&"/"!==i[0]){const e=n.record.path,r="/"===e[e.length-1]?"":"/";t.path=n.record.path+(i&&r+i)}if(h=je(t,n,d),r?r.alias.push(h):(p=p||h,p!==h&&p.alias.push(h),a&&e.name&&!Me(h)&&s(e.name)),c.children){const e=c.children;for(let t=0;t<e.length;t++)o(e[t],h,r&&r.children[t])}r=r||h,(h.record.components&&Object.keys(h.record.components).length||h.record.name||h.record.redirect)&&u(h)}return p?()=>{s(p)}:l}function s(e){if(se(e)){const t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(s),t.alias.forEach(s))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(s),e.alias.forEach(s))}}function c(){return n}function u(e){let t=0;while(t<n.length&&ge(e,n[t])>=0&&(e.record.path!==n[t].record.path||!Ee(e,n[t])))t++;n.splice(t,0,e),e.record.name&&!Me(e)&&r.set(e.record.name,e)}function d(e,t){let a,o,s,l={};if("name"in e&&e.name){if(a=r.get(e.name),!a)throw de(1,{location:e});0,s=a.record.name,l=i(xe(t.params,a.keys.filter(e=>!e.optional).concat(a.parent?a.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&xe(e.params,a.keys.map(e=>e.name))),o=a.stringify(l)}else if(null!=e.path)o=e.path,a=n.find(e=>e.re.test(o)),a&&(l=a.parse(o),s=a.record.name);else{if(a=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!a)throw de(1,{location:e,currentLocation:t});s=a.record.name,l=i({},t.params,e.params),o=a.stringify(l)}const c=[];let u=a;while(u)c.unshift(u.record),u=u.parent;return{name:s,path:o,params:l,matched:c,meta:Ae(c)}}return t=Te({strict:!1,end:!0,sensitive:!1},t),e.forEach(e=>o(e)),{addRoute:o,resolve:d,removeRoute:s,getRoutes:c,getRecordMatcher:a}}function xe(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Se(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Ce(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Ce(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]="object"===typeof n?n[r]:n;return t}function Me(e){while(e){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ae(e){return e.reduce((e,t)=>i(e,t.meta),{})}function Te(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Ee(e,t){return t.children.some(t=>t===e||Ee(e,t))}function Le(e){const t={};if(""===e||"?"===e)return t;const n="?"===e[0],r=(n?e.slice(1):e).split("&");for(let a=0;a<r.length;++a){const e=r[a].replace(m," "),n=e.indexOf("="),o=T(n<0?e:e.slice(0,n)),i=n<0?null:T(e.slice(n+1));if(o in t){let e=t[o];c(e)||(e=t[o]=[e]),e.push(i)}else t[o]=i}return t}function Pe(e){let t="";for(let n in e){const r=e[n];if(n=C(n),null==r){void 0!==r&&(t+=(t.length?"&":"")+n);continue}const a=c(r)?r.map(e=>e&&S(e)):[r&&S(r)];a.forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))})}return t}function De(e){const t={};for(const n in e){const r=e[n];void 0!==r&&(t[n]=c(r)?r.map(e=>null==e?null:""+e):null==r?r:""+r)}return t}const Ne=Symbol(""),Re=Symbol(""),Ie=Symbol(""),Be=Symbol(""),Fe=Symbol("");function Ve(){let e=[];function t(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ze(e,t,n,r,a,o=(e=>e())){const i=r&&(r.enterCallbacks[a]=r.enterCallbacks[a]||[]);return()=>new Promise((s,l)=>{const c=e=>{!1===e?l(de(4,{from:n,to:t})):e instanceof Error?l(e):ie(e)?l(de(2,{from:t,to:e})):(i&&r.enterCallbacks[a]===i&&"function"===typeof e&&i.push(e),s())},u=o(()=>e.call(r&&r.instances[a],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(e=>l(e))})}function He(e,t,n,r,a=(e=>e())){const i=[];for(const s of e){0;for(const e in s.components){let l=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if(Ye(l)){const o=l.__vccOpts||l,c=o[t];c&&i.push(ze(c,n,r,s,e,a))}else{let c=l();0,i.push(()=>c.then(i=>{if(!i)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${s.path}"`));const l=o(i)?i.default:i;s.components[e]=l;const c=l.__vccOpts||l,u=c[t];return u&&ze(u,n,r,s,e,a)()}))}}}return i}function Ye(e){return"object"===typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}function Ue(e){const t=Object(r["inject"])(Ie),n=Object(r["inject"])(Be);const a=Object(r["computed"])(()=>{const n=Object(r["unref"])(e.to);return t.resolve(n)}),o=Object(r["computed"])(()=>{const{matched:e}=a.value,{length:t}=e,r=e[t-1],o=n.matched;if(!r||!o.length)return-1;const i=o.findIndex(I.bind(null,r));if(i>-1)return i;const s=Xe(e[t-2]);return t>1&&Xe(r)===s&&o[o.length-1].path!==s?o.findIndex(I.bind(null,e[t-2])):i}),i=Object(r["computed"])(()=>o.value>-1&&Ge(n.params,a.value.params)),s=Object(r["computed"])(()=>o.value>-1&&o.value===n.matched.length-1&&B(n.params,a.value.params));function c(n={}){return qe(n)?t[Object(r["unref"])(e.replace)?"replace":"push"](Object(r["unref"])(e.to)).catch(l):Promise.resolve()}return{route:a,href:Object(r["computed"])(()=>a.value.href),isActive:i,isExactActive:s,navigate:c}}const We=Object(r["defineComponent"])({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ue,setup(e,{slots:t}){const n=Object(r["reactive"])(Ue(e)),{options:a}=Object(r["inject"])(Ie),o=Object(r["computed"])(()=>({[Ke(e.activeClass,a.linkActiveClass,"router-link-active")]:n.isActive,[Ke(e.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&t.default(n);return e.custom?a:Object(r["h"])("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},a)}}}),$e=We;function qe(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(void 0===e.button||0===e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Ge(e,t){for(const n in t){const r=t[n],a=e[n];if("string"===typeof r){if(r!==a)return!1}else if(!c(a)||a.length!==r.length||r.some((e,t)=>e!==a[t]))return!1}return!0}function Xe(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ke=(e,t,n)=>null!=e?e:null!=t?t:n,Je=Object(r["defineComponent"])({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const a=Object(r["inject"])(Fe),o=Object(r["computed"])(()=>e.route||a.value),s=Object(r["inject"])(Re,0),l=Object(r["computed"])(()=>{let e=Object(r["unref"])(s);const{matched:t}=o.value;let n;while((n=t[e])&&!n.components)e++;return e}),c=Object(r["computed"])(()=>o.value.matched[l.value]);Object(r["provide"])(Re,Object(r["computed"])(()=>l.value+1)),Object(r["provide"])(Ne,c),Object(r["provide"])(Fe,o);const u=Object(r["ref"])();return Object(r["watch"])(()=>[u.value,c.value,e.name],([e,t,n],[r,a,o])=>{t&&(t.instances[n]=e,a&&a!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=a.leaveGuards),t.updateGuards.size||(t.updateGuards=a.updateGuards))),!e||!t||a&&I(t,a)&&r||(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{const a=o.value,s=e.name,l=c.value,d=l&&l.components[s];if(!d)return Ze(n.default,{Component:d,route:a});const f=l.props[s],h=f?!0===f?a.params:"function"===typeof f?f(a):f:null,p=e=>{e.component.isUnmounted&&(l.instances[s]=null)},m=Object(r["h"])(d,i({},h,t,{onVnodeUnmounted:p,ref:u}));return Ze(n.default,{Component:m,route:a})||m}}});function Ze(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Qe=Je;function et(e){const t=ke(e.routes,e),n=e.parseQuery||Le,o=e.stringifyQuery||Pe,u=e.history;const d=Ve(),f=Ve(),h=Ve(),p=Object(r["shallowRef"])(le);let m=le;a&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const v=s.bind(null,e=>""+e),b=s.bind(null,A),g=s.bind(null,T);function y(e,n){let r,a;return se(e)?(r=t.getRecordMatcher(e),a=n):a=e,t.addRoute(a,r)}function O(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function w(){return t.getRoutes().map(e=>e.record)}function _(e){return!!t.getRecordMatcher(e)}function j(e,r){if(r=i({},r||p.value),"string"===typeof e){const a=P(n,e,r.path),o=t.resolve({path:a.path},r),s=u.createHref(a.fullPath);return i(a,o,{params:g(o.params),hash:T(a.hash),redirectedFrom:void 0,href:s})}let a;if(null!=e.path)a=i({},e,{path:P(n,e.path,r.path).path});else{const t=i({},e.params);for(const e in t)null==t[e]&&delete t[e];a=i({},e,{params:b(t)}),r.params=b(r.params)}const s=t.resolve(a,r),l=e.hash||"";s.params=v(g(s.params));const c=D(o,i({},e,{hash:x(l),path:s.path})),d=u.createHref(c);return i({fullPath:c,hash:l,query:o===Pe?De(e.query):e.query||{}},s,{redirectedFrom:void 0,href:d})}function k(e){return"string"===typeof e?P(n,e,p.value.path):i({},e)}function S(e,t){if(m!==e)return de(8,{from:t,to:e})}function C(e){return L(e)}function M(e){return C(i(k(e),{replace:!0}))}function E(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let r="function"===typeof n?n(e):n;return"string"===typeof r&&(r=r.includes("?")||r.includes("#")?r=k(r):{path:r},r.params={}),i({query:e.query,hash:e.hash,params:null!=r.path?{}:e.params},r)}}function L(e,t){const n=m=j(e),r=p.value,a=e.state,s=e.force,l=!0===e.replace,c=E(n);if(c)return L(i(k(c),{state:"object"===typeof c?i({},a,c.state):a,force:s,replace:l}),t||n);const u=n;let d;return u.redirectedFrom=t,!s&&R(o,r,n)&&(d=de(16,{to:u,from:r}),te(r,r,!0,!1)),(d?Promise.resolve(d):B(u,r)).catch(e=>fe(e)?fe(e,2)?e:ee(e):q(e,u,r)).then(e=>{if(e){if(fe(e,2))return L(i({replace:l},k(e.to),{state:"object"===typeof e.to?i({},a,e.to.state):a,force:s}),t||u)}else e=V(u,r,!0,l,a);return F(u,r,e),e})}function N(e,t){const n=S(e,t);return n?Promise.reject(n):Promise.resolve()}function I(e){const t=ae.values().next().value;return t&&"function"===typeof t.runWithContext?t.runWithContext(e):e()}function B(e,t){let n;const[r,a,o]=tt(e,t);n=He(r.reverse(),"beforeRouteLeave",e,t);for(const s of r)s.leaveGuards.forEach(r=>{n.push(ze(r,e,t))});const i=N.bind(null,e,t);return n.push(i),ie(n).then(()=>{n=[];for(const r of d.list())n.push(ze(r,e,t));return n.push(i),ie(n)}).then(()=>{n=He(a,"beforeRouteUpdate",e,t);for(const r of a)r.updateGuards.forEach(r=>{n.push(ze(r,e,t))});return n.push(i),ie(n)}).then(()=>{n=[];for(const r of o)if(r.beforeEnter)if(c(r.beforeEnter))for(const a of r.beforeEnter)n.push(ze(a,e,t));else n.push(ze(r.beforeEnter,e,t));return n.push(i),ie(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=He(o,"beforeRouteEnter",e,t,I),n.push(i),ie(n))).then(()=>{n=[];for(const r of f.list())n.push(ze(r,e,t));return n.push(i),ie(n)}).catch(e=>fe(e,8)?e:Promise.reject(e))}function F(e,t,n){h.list().forEach(r=>I(()=>r(e,t,n)))}function V(e,t,n,r,o){const s=S(e,t);if(s)return s;const l=t===le,c=a?history.state:{};n&&(r||l?u.replace(e.fullPath,i({scroll:l&&c&&c.scroll},o)):u.push(e.fullPath,o)),p.value=e,te(e,t,n,l),ee()}let z;function Y(){z||(z=u.listen((e,t,n)=>{if(!oe.listening)return;const r=j(e),o=E(r);if(o)return void L(i(o,{replace:!0}),r).catch(l);m=r;const s=p.value;a&&Z(K(s.fullPath,n.delta),G()),B(r,s).catch(e=>fe(e,12)?e:fe(e,2)?(L(e.to,r).then(e=>{fe(e,20)&&!n.delta&&n.type===H.pop&&u.go(-1,!1)}).catch(l),Promise.reject()):(n.delta&&u.go(-n.delta,!1),q(e,r,s))).then(e=>{e=e||V(r,s,!1),e&&(n.delta&&!fe(e,8)?u.go(-n.delta,!1):n.type===H.pop&&fe(e,20)&&u.go(-1,!1)),F(r,s,e)}).catch(l)}))}let U,W=Ve(),$=Ve();function q(e,t,n){ee(e);const r=$.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function J(){return U&&p.value!==le?Promise.resolve():new Promise((e,t)=>{W.add([e,t])})}function ee(e){return U||(U=!e,Y(),W.list().forEach(([t,n])=>e?n(e):t()),W.reset()),e}function te(t,n,o,i){const{scrollBehavior:s}=e;if(!a||!s)return Promise.resolve();const l=!o&&Q(K(t.fullPath,0))||(i||!o)&&history.state&&history.state.scroll||null;return Object(r["nextTick"])().then(()=>s(t,n,l)).then(e=>e&&X(e)).catch(e=>q(e,t,n))}const ne=e=>u.go(e);let re;const ae=new Set,oe={currentRoute:p,listening:!0,addRoute:y,removeRoute:O,hasRoute:_,getRoutes:w,resolve:j,options:e,push:C,replace:M,go:ne,back:()=>ne(-1),forward:()=>ne(1),beforeEach:d.add,beforeResolve:f.add,afterEach:h.add,onError:$.add,isReady:J,install(e){const t=this;e.component("RouterLink",$e),e.component("RouterView",Qe),e.config.globalProperties.$router=t,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Object(r["unref"])(p)}),a&&!re&&p.value===le&&(re=!0,C(u.location).catch(e=>{0}));const n={};for(const r in le)Object.defineProperty(n,r,{get:()=>p.value[r],enumerable:!0});e.provide(Ie,t),e.provide(Be,Object(r["shallowReactive"])(n)),e.provide(Fe,p);const o=e.unmount;ae.add(e),e.unmount=function(){ae.delete(e),ae.size<1&&(m=le,z&&z(),z=null,p.value=le,re=!1,U=!1),o()}}};function ie(e){return e.reduce((e,t)=>e.then(()=>I(t)),Promise.resolve())}return oe}function tt(e,t){const n=[],r=[],a=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const o=t.matched[i];o&&(e.matched.find(e=>I(e,o))?r.push(o):n.push(o));const s=e.matched[i];s&&(t.matched.find(e=>I(e,s))||a.push(s))}return[n,r,a]}},6784:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"],r=e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,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(e){return"شام"===e},meridiem:function(e,t,n){return e<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(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}});return r}))},6887:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n){var r={mm:"munutenn",MM:"miz",dd:"devezh"};return e+" "+a(r[n],e)}function n(e){switch(r(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function r(e){return e>9?r(e%10):e}function a(e,t){return 2===t?o(e):e}function o(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}var i=[/^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,l=/^(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,u=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],d=[/^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],h=e.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:u,shortWeekdaysParse:d,minWeekdaysParse:f,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:l,monthsShortStrictRegex:c,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,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:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:n},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){var t=1===e?"añ":"vet";return e+t},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}});return h}))},"688b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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 t}))},6909:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t}))},"69f3":function(e,t,n){"use strict";var r,a,o,i=n("cdce"),s=n("da84"),l=n("861d"),c=n("9112"),u=n("1a2d"),d=n("c6cd"),f=n("f772"),h=n("d012"),p="Object already initialized",m=s.TypeError,v=s.WeakMap,b=function(e){return o(e)?a(e):r(e,{})},g=function(e){return function(t){var n;if(!l(t)||(n=a(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return n}};if(i||d.state){var y=d.state||(d.state=new v);y.get=y.get,y.has=y.has,y.set=y.set,r=function(e,t){if(y.has(e))throw new m(p);return t.facade=e,y.set(e,t),t},a=function(e){return y.get(e)||{}},o=function(e){return y.has(e)}}else{var O=f("state");h[O]=!0,r=function(e,t){if(u(e,O))throw new m(p);return t.facade=e,c(e,O,t),t},a=function(e){return u(e,O)?e[O]:{}},o=function(e){return u(e,O)}}e.exports={set:r,get:a,has:o,enforce:b,getterFor:g}},"6ab4":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("461c");const a=()=>r["isClient"]&&/firefox/i.test(window.navigator.userAgent)},"6b0d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n}},"6ce3":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sø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 t}))},"6d79":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},n=e.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(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}});return n}))},"6d83":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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 t}))},"6dee":function(e,t,n){"use strict";
/*!
  * core-base v9.13.1
  * (c) 2024 kazuya kawaguchi
  * Released under the MIT License.
  */var r=n("f4eb"),a=n("b090");const o=[];o[0]={["w"]:[0],["i"]:[3,0],["["]:[4],["o"]:[7]},o[1]={["w"]:[1],["."]:[2],["["]:[4],["o"]:[7]},o[2]={["w"]:[2],["i"]:[3,0],["0"]:[3,0]},o[3]={["i"]:[3,0],["0"]:[3,0],["w"]:[1,1],["."]:[2,1],["["]:[4,1],["o"]:[7,1]},o[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],["o"]:8,["l"]:[4,0]},o[5]={["'"]:[4,0],["o"]:8,["l"]:[5,0]},o[6]={['"']:[4,0],["o"]:8,["l"]:[6,0]};const i=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function s(e){return i.test(e)}function l(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t!==n||34!==t&&39!==t?e:e.slice(1,-1)}function c(e){if(void 0===e||null===e)return"o";const t=e.charCodeAt(0);switch(t){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function u(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(s(t)?l(t):"*"+t)}function d(e){const t=[];let n,r,a,i,s,l,d,f=-1,h=0,p=0;const m=[];function v(){const t=e[f+1];if(5===h&&"'"===t||6===h&&'"'===t)return f++,a="\\"+t,m[0](),!0}m[0]=()=>{void 0===r?r=a:r+=a},m[1]=()=>{void 0!==r&&(t.push(r),r=void 0)},m[2]=()=>{m[0](),p++},m[3]=()=>{if(p>0)p--,h=4,m[0]();else{if(p=0,void 0===r)return!1;if(r=u(r),!1===r)return!1;m[1]()}};while(null!==h)if(f++,n=e[f],"\\"!==n||!v()){if(i=c(n),d=o[h],s=d[i]||d["l"]||8,8===s)return;if(h=s[0],void 0!==s[1]&&(l=m[s[1]],l&&(a=n,!1===l())))return;if(7===h)return t}}const f=new Map;function h(e,t){return a.isObject(e)?e[t]:null}function p(e,t){if(!a.isObject(e))return null;let n=f.get(t);if(n||(n=d(t),n&&f.set(t,n)),!n)return null;const r=n.length;let o=e,i=0;while(i<r){const e=o[n[i]];if(void 0===e)return null;if(a.isFunction(o))return null;o=e,i++}return o}const m=e=>e,v=e=>"",b="text",g=e=>0===e.length?"":a.join(e),y=a.toDisplayString;function O(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function w(e){const t=a.isNumber(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(a.isNumber(e.named.count)||a.isNumber(e.named.n))?a.isNumber(e.named.count)?e.named.count:a.isNumber(e.named.n)?e.named.n:t:t}function _(e,t){t.count||(t.count=e),t.n||(t.n=e)}function j(e={}){const t=e.locale,n=w(e),r=a.isObject(e.pluralRules)&&a.isString(t)&&a.isFunction(e.pluralRules[t])?e.pluralRules[t]:O,o=a.isObject(e.pluralRules)&&a.isString(t)&&a.isFunction(e.pluralRules[t])?O:void 0,i=e=>e[r(n,e.length,o)],s=e.list||[],l=e=>s[e],c=e.named||{};a.isNumber(e.pluralIndex)&&_(n,c);const u=e=>c[e];function d(t){const n=a.isFunction(e.messages)?e.messages(t):!!a.isObject(e.messages)&&e.messages[t];return n||(e.parent?e.parent.message(t):v)}const f=t=>e.modifiers?e.modifiers[t]:m,h=a.isPlainObject(e.processor)&&a.isFunction(e.processor.normalize)?e.processor.normalize:g,p=a.isPlainObject(e.processor)&&a.isFunction(e.processor.interpolate)?e.processor.interpolate:y,j=a.isPlainObject(e.processor)&&a.isString(e.processor.type)?e.processor.type:b,k=(e,...t)=>{const[n,r]=t;let o="text",i="";1===t.length?a.isObject(n)?(i=n.modifier||i,o=n.type||o):a.isString(n)&&(i=n||i):2===t.length&&(a.isString(n)&&(i=n||i),a.isString(r)&&(o=r||o));const s=d(e)(x),l="vnode"===o&&a.isArray(s)&&i?s[0]:s;return i?f(i)(l,o):l},x={["list"]:l,["named"]:u,["plural"]:i,["linked"]:k,["message"]:d,["type"]:j,["interpolate"]:p,["normalize"]:h,["values"]:a.assign({},s,c)};return x}let k=null;function x(e){k=e}function S(){return k}function C(e,t,n){k&&k.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const M=A("function:translate");function A(e){return t=>k&&k.emit(e,t)}const T=r.CompileWarnCodes.__EXTEND_POINT__,E=a.incrementer(T),L={NOT_FOUND_KEY:T,FALLBACK_TO_TRANSLATE:E(),CANNOT_FORMAT_NUMBER:E(),FALLBACK_TO_NUMBER_FORMAT:E(),CANNOT_FORMAT_DATE:E(),FALLBACK_TO_DATE_FORMAT:E(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:E(),__EXTEND_POINT__:E()},P={[L.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[L.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[L.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[L.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[L.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[L.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[L.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function D(e,...t){return a.format(P[e],...t)}const N=r.CompileErrorCodes.__EXTEND_POINT__,R=a.incrementer(N),I={INVALID_ARGUMENT:N,INVALID_DATE_ARGUMENT:R(),INVALID_ISO_DATE_ARGUMENT:R(),NOT_SUPPORT_NON_STRING_MESSAGE:R(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:R(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:R(),NOT_SUPPORT_LOCALE_TYPE:R(),__EXTEND_POINT__:R()};function B(e){return r.createCompileError(e,null,void 0)}function F(e,t){return null!=t.locale?z(t.locale):z(e.locale)}let V;function z(e){if(a.isString(e))return e;if(a.isFunction(e)){if(e.resolvedOnce&&null!=V)return V;if("Function"===e.constructor.name){const t=e();if(a.isPromise(t))throw B(I.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return V=t}throw B(I.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw B(I.NOT_SUPPORT_LOCALE_TYPE)}function H(e,t,n){return[...new Set([n,...a.isArray(t)?t:a.isObject(t)?Object.keys(t):a.isString(t)?[t]:[n]])]}function Y(e,t,n){const r=a.isString(n)?n:X,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(r);if(!i){i=[];let e=[n];while(a.isArray(e))e=U(i,e,t);const s=a.isArray(t)||!a.isPlainObject(t)?t:t["default"]?t["default"]:null;e=a.isString(s)?[s]:s,a.isArray(e)&&U(i,e,!1),o.__localeChainCache.set(r,i)}return i}function U(e,t,n){let r=!0;for(let o=0;o<t.length&&a.isBoolean(r);o++){const i=t[o];a.isString(i)&&(r=W(e,t[o],n))}return r}function W(e,t,n){let r;const a=t.split("-");do{const t=a.join("-");r=$(e,t,n),a.splice(-1,1)}while(a.length&&!0===r);return r}function $(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r="!"!==t[t.length-1];const o=t.replace(/!/g,"");e.push(o),(a.isArray(n)||a.isPlainObject(n))&&n[o]&&(r=n[o])}return r}I.INVALID_ARGUMENT,I.INVALID_DATE_ARGUMENT,I.INVALID_ISO_DATE_ARGUMENT,I.NOT_SUPPORT_NON_STRING_MESSAGE,I.NOT_SUPPORT_LOCALE_PROMISE_VALUE,I.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,I.NOT_SUPPORT_LOCALE_TYPE;const q="9.13.1",G=-1,X="en-US",K="",J=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Z(){return{upper:(e,t)=>"text"===t&&a.isString(e)?e.toUpperCase():"vnode"===t&&a.isObject(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&a.isString(e)?e.toLowerCase():"vnode"===t&&a.isObject(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&a.isString(e)?J(e):"vnode"===t&&a.isObject(e)&&"__v_isVNode"in e?J(e.children):e}}let Q,ee,te;function ne(e){Q=e}function re(e){ee=e}function ae(e){te=e}let oe=null;const ie=e=>{oe=e},se=()=>oe;let le=null;const ce=e=>{le=e},ue=()=>le;let de=0;function fe(e={}){const t=a.isFunction(e.onWarn)?e.onWarn:a.warn,n=a.isString(e.version)?e.version:q,r=a.isString(e.locale)||a.isFunction(e.locale)?e.locale:X,o=a.isFunction(r)?X:r,i=a.isArray(e.fallbackLocale)||a.isPlainObject(e.fallbackLocale)||a.isString(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:o,s=a.isPlainObject(e.messages)?e.messages:{[o]:{}},l=a.isPlainObject(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},c=a.isPlainObject(e.numberFormats)?e.numberFormats:{[o]:{}},u=a.assign({},e.modifiers||{},Z()),d=e.pluralRules||{},f=a.isFunction(e.missing)?e.missing:null,p=!a.isBoolean(e.missingWarn)&&!a.isRegExp(e.missingWarn)||e.missingWarn,m=!a.isBoolean(e.fallbackWarn)&&!a.isRegExp(e.fallbackWarn)||e.fallbackWarn,v=!!e.fallbackFormat,b=!!e.unresolving,g=a.isFunction(e.postTranslation)?e.postTranslation:null,y=a.isPlainObject(e.processor)?e.processor:null,O=!a.isBoolean(e.warnHtmlMessage)||e.warnHtmlMessage,w=!!e.escapeParameter,_=a.isFunction(e.messageCompiler)?e.messageCompiler:Q,j=a.isFunction(e.messageResolver)?e.messageResolver:ee||h,k=a.isFunction(e.localeFallbacker)?e.localeFallbacker:te||H,x=a.isObject(e.fallbackContext)?e.fallbackContext:void 0,S=e,C=a.isObject(S.__datetimeFormatters)?S.__datetimeFormatters:new Map,M=a.isObject(S.__numberFormatters)?S.__numberFormatters:new Map,A=a.isObject(S.__meta)?S.__meta:{};de++;const T={version:n,cid:de,locale:r,fallbackLocale:i,messages:s,modifiers:u,pluralRules:d,missing:f,missingWarn:p,fallbackWarn:m,fallbackFormat:v,unresolving:b,postTranslation:g,processor:y,warnHtmlMessage:O,escapeParameter:w,messageCompiler:_,messageResolver:j,localeFallbacker:k,fallbackContext:x,onWarn:t,__meta:A};return T.datetimeFormats=l,T.numberFormats=c,T.__datetimeFormatters=C,T.__numberFormatters=M,T}function he(e,t){return e instanceof RegExp?e.test(t):e}function pe(e,t){return e instanceof RegExp?e.test(t):e}function me(e,t,n,r,o){const{missing:i,onWarn:s}=e;if(null!==i){const r=i(e,n,t,o);return a.isString(r)?r:t}return t}function ve(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function be(e,t){return e!==t&&e.split("-")[0]===t.split("-")[0]}function ge(e,t){const n=t.indexOf(e);if(-1===n)return!1;for(let r=n+1;r<t.length;r++)if(be(e,t[r]))return!0;return!1}function ye(e){const t=t=>Oe(t,e);return t}function Oe(e,t){const n=t.b||t.body;if(1===(n.t||n.type)){const t=n,r=t.c||t.cases;return e.plural(r.reduce((t,n)=>[...t,we(e,n)],[]))}return we(e,n)}function we(e,t){const n=t.s||t.static;if(n)return"text"===e.type?n:e.normalize([n]);{const n=(t.i||t.items).reduce((t,n)=>[...t,_e(e,n)],[]);return e.normalize(n)}}function _e(e,t){const n=t.t||t.type;switch(n){case 3:{const e=t;return e.v||e.value}case 9:{const e=t;return e.v||e.value}case 4:{const n=t;return e.interpolate(e.named(n.k||n.key))}case 5:{const n=t;return e.interpolate(e.list(null!=n.i?n.i:n.index))}case 6:{const n=t,r=n.m||n.modifier;return e.linked(_e(e,n.k||n.key),r?_e(e,r):void 0,e.type)}case 7:{const e=t;return e.v||e.value}case 8:{const e=t;return e.v||e.value}default:throw new Error("unhandled node type on format message part: "+n)}}const je=e=>e;let ke=Object.create(null);function xe(){ke=Object.create(null)}const Se=e=>a.isObject(e)&&(0===e.t||0===e.type)&&("b"in e||"body"in e);function Ce(e,t={}){let n=!1;const a=t.onError||r.defaultOnError;return t.onError=e=>{n=!0,a(e)},{...r.baseCompile(e,t),detectError:n}}const Me=(e,t)=>{if(!a.isString(e))throw B(I.NOT_SUPPORT_NON_STRING_MESSAGE);{!a.isBoolean(t.warnHtmlMessage)||t.warnHtmlMessage;const n=t.onCacheKey||je,r=n(e),o=ke[r];if(o)return o;const{code:i,detectError:s}=Ce(e,t),l=new Function("return "+i)();return s?l:ke[r]=l}};function Ae(e,t){if(a.isString(e)){!a.isBoolean(t.warnHtmlMessage)||t.warnHtmlMessage;const n=t.onCacheKey||je,r=n(e),o=ke[r];if(o)return o;const{ast:i,detectError:s}=Ce(e,{...t,location:!1,jit:!0}),l=ye(i);return s?l:ke[r]=l}{const t=e.cacheKey;if(t){const n=ke[t];return n||(ke[t]=ye(e))}return ye(e)}}const Te=()=>"",Ee=e=>a.isFunction(e);function Le(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:i,fallbackLocale:s,messages:l}=e,[c,u]=Ie(...t),d=a.isBoolean(u.missingWarn)?u.missingWarn:e.missingWarn,f=a.isBoolean(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,h=a.isBoolean(u.escapeParameter)?u.escapeParameter:e.escapeParameter,p=!!u.resolvedMessage,m=a.isString(u.default)||a.isBoolean(u.default)?a.isBoolean(u.default)?i?c:()=>c:u.default:n?i?c:()=>c:"",v=n||""!==m,b=F(e,u);h&&Pe(u);let[g,y,O]=p?[c,b,l[b]||{}]:De(e,c,b,s,f,d),w=g,_=c;if(p||a.isString(w)||Se(w)||Ee(w)||v&&(w=m,_=w),!p&&(!(a.isString(w)||Se(w)||Ee(w))||!a.isString(y)))return o?G:c;let k=!1;const x=()=>{k=!0},S=Ee(w)?w:Ne(e,c,y,w,_,x);if(k)return w;const C=Fe(e,y,O,u),M=j(C),A=Re(e,S,M),T=r?r(A,c):A;return T}function Pe(e){a.isArray(e.list)?e.list=e.list.map(e=>a.isString(e)?a.escapeHtml(e):e):a.isObject(e.named)&&Object.keys(e.named).forEach(t=>{a.isString(e.named[t])&&(e.named[t]=a.escapeHtml(e.named[t]))})}function De(e,t,n,r,o,i){const{messages:s,onWarn:l,messageResolver:c,localeFallbacker:u}=e,d=u(e,r,n);let f,h={},p=null;const m="translate";for(let v=0;v<d.length;v++){if(f=d[v],h=s[f]||{},null===(p=c(h,t))&&(p=h[t]),a.isString(p)||Se(p)||Ee(p))break;if(!ge(f,d)){const n=me(e,t,f,i,m);n!==t&&(p=n)}}return[p,f,h]}function Ne(e,t,n,r,a,o){const{messageCompiler:i,warnHtmlMessage:s}=e;if(Ee(r)){const e=r;return e.locale=e.locale||n,e.key=e.key||t,e}if(null==i){const e=()=>r;return e.locale=n,e.key=t,e}const l=i(r,Be(e,n,a,r,s,o));return l.locale=n,l.key=t,l.source=r,l}function Re(e,t,n){const r=t(n);return r}function Ie(...e){const[t,n,r]=e,o={};if(!a.isString(t)&&!a.isNumber(t)&&!Ee(t)&&!Se(t))throw B(I.INVALID_ARGUMENT);const i=a.isNumber(t)?String(t):(Ee(t),t);return a.isNumber(n)?o.plural=n:a.isString(n)?o.default=n:a.isPlainObject(n)&&!a.isEmptyObject(n)?o.named=n:a.isArray(n)&&(o.list=n),a.isNumber(r)?o.plural=r:a.isString(r)?o.default=r:a.isPlainObject(r)&&a.assign(o,r),[i,o]}function Be(e,t,n,r,o,i){return{locale:t,key:n,warnHtmlMessage:o,onError:e=>{throw i&&i(e),e},onCacheKey:e=>a.generateFormatCacheKey(t,n,e)}}function Fe(e,t,n,r){const{modifiers:o,pluralRules:i,messageResolver:s,fallbackLocale:l,fallbackWarn:c,missingWarn:u,fallbackContext:d}=e,f=r=>{let o=s(n,r);if(null==o&&d){const[,,e]=De(d,r,t,l,c,u);o=s(e,r)}if(a.isString(o)||Se(o)){let n=!1;const a=()=>{n=!0},i=Ne(e,r,t,o,r,a);return n?Te:i}return Ee(o)?o:Te},h={locale:t,modifiers:o,pluralRules:i,messages:f};return e.processor&&(h.processor=e.processor),r.list&&(h.list=r.list),r.named&&(h.named=r.named),a.isNumber(r.plural)&&(h.pluralIndex=r.plural),h}function Ve(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:s}=e,{__datetimeFormatters:l}=e,[c,u,d,f]=He(...t),h=a.isBoolean(d.missingWarn)?d.missingWarn:e.missingWarn;a.isBoolean(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,m=F(e,d),v=s(e,o,m);if(!a.isString(c)||""===c)return new Intl.DateTimeFormat(m,f).format(u);let b,g={},y=null;const O="datetime format";for(let j=0;j<v.length;j++){if(b=v[j],g=n[b]||{},y=g[c],a.isPlainObject(y))break;me(e,c,b,h,O)}if(!a.isPlainObject(y)||!a.isString(b))return r?G:c;let w=`${b}__${c}`;a.isEmptyObject(f)||(w=`${w}__${JSON.stringify(f)}`);let _=l.get(w);return _||(_=new Intl.DateTimeFormat(b,a.assign({},y,f)),l.set(w,_)),p?_.formatToParts(u):_.format(u)}const ze=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function He(...e){const[t,n,r,o]=e,i={};let s,l={};if(a.isString(t)){const e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw B(I.INVALID_ISO_DATE_ARGUMENT);const n=e[3]?e[3].trim().startsWith("T")?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();s=new Date(n);try{s.toISOString()}catch(c){throw B(I.INVALID_ISO_DATE_ARGUMENT)}}else if(a.isDate(t)){if(isNaN(t.getTime()))throw B(I.INVALID_DATE_ARGUMENT);s=t}else{if(!a.isNumber(t))throw B(I.INVALID_ARGUMENT);s=t}return a.isString(n)?i.key=n:a.isPlainObject(n)&&Object.keys(n).forEach(e=>{ze.includes(e)?l[e]=n[e]:i[e]=n[e]}),a.isString(r)?i.locale=r:a.isPlainObject(r)&&(l=r),a.isPlainObject(o)&&(l=o),[i.key||"",s,i,l]}function Ye(e,t,n){const r=e;for(const a in n){const e=`${t}__${a}`;r.__datetimeFormatters.has(e)&&r.__datetimeFormatters.delete(e)}}function Ue(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:s}=e,{__numberFormatters:l}=e,[c,u,d,f]=$e(...t),h=a.isBoolean(d.missingWarn)?d.missingWarn:e.missingWarn;a.isBoolean(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,m=F(e,d),v=s(e,o,m);if(!a.isString(c)||""===c)return new Intl.NumberFormat(m,f).format(u);let b,g={},y=null;const O="number format";for(let j=0;j<v.length;j++){if(b=v[j],g=n[b]||{},y=g[c],a.isPlainObject(y))break;me(e,c,b,h,O)}if(!a.isPlainObject(y)||!a.isString(b))return r?G:c;let w=`${b}__${c}`;a.isEmptyObject(f)||(w=`${w}__${JSON.stringify(f)}`);let _=l.get(w);return _||(_=new Intl.NumberFormat(b,a.assign({},y,f)),l.set(w,_)),p?_.formatToParts(u):_.format(u)}const We=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function $e(...e){const[t,n,r,o]=e,i={};let s={};if(!a.isNumber(t))throw B(I.INVALID_ARGUMENT);const l=t;return a.isString(n)?i.key=n:a.isPlainObject(n)&&Object.keys(n).forEach(e=>{We.includes(e)?s[e]=n[e]:i[e]=n[e]}),a.isString(r)?i.locale=r:a.isPlainObject(r)&&(s=r),a.isPlainObject(o)&&(s=o),[i.key||"",l,i,s]}function qe(e,t,n){const r=e;for(const a in n){const e=`${t}__${a}`;r.__numberFormatters.has(e)&&r.__numberFormatters.delete(e)}}t.CompileErrorCodes=r.CompileErrorCodes,t.createCompileError=r.createCompileError,t.CoreErrorCodes=I,t.CoreWarnCodes=L,t.DATETIME_FORMAT_OPTIONS_KEYS=ze,t.DEFAULT_LOCALE=X,t.DEFAULT_MESSAGE_DATA_TYPE=b,t.MISSING_RESOLVE_VALUE=K,t.NOT_REOSLVED=G,t.NUMBER_FORMAT_OPTIONS_KEYS=We,t.VERSION=q,t.clearCompileCache=xe,t.clearDateTimeFormat=Ye,t.clearNumberFormat=qe,t.compile=Ae,t.compileToFunction=Me,t.createCoreContext=fe,t.createCoreError=B,t.createMessageContext=j,t.datetime=Ve,t.fallbackWithLocaleChain=Y,t.fallbackWithSimple=H,t.getAdditionalMeta=se,t.getDevToolsHook=S,t.getFallbackContext=ue,t.getLocale=F,t.getWarnMessage=D,t.handleMissing=me,t.initI18nDevTools=C,t.isAlmostSameLocale=be,t.isImplicitFallback=ge,t.isMessageAST=Se,t.isMessageFunction=Ee,t.isTranslateFallbackWarn=he,t.isTranslateMissingWarn=pe,t.number=Ue,t.parse=d,t.parseDateTimeArgs=He,t.parseNumberArgs=$e,t.parseTranslateArgs=Ie,t.registerLocaleFallbacker=ae,t.registerMessageCompiler=ne,t.registerMessageResolver=re,t.resolveLocale=z,t.resolveValue=p,t.resolveWithKeyValue=h,t.setAdditionalMeta=ie,t.setDevToolsHook=x,t.setFallbackContext=ce,t.translate=Le,t.translateDevTools=M,t.updateFallbackLocale=ve},"6e98":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_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 t}))},"6f12":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_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(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"6f19":function(e,t,n){"use strict";var r=n("9112"),a=n("0d26"),o=n("b980"),i=Error.captureStackTrace;e.exports=function(e,t,n,s){o&&(i?i(e,t):r(e,"stack",a(n,s)))}},"6f50":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},7118:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),r=e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ô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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return r}))},"712a":function(e,t,n){(function(e,r){r(t,n("b8ca"))})(0,(function(e,t){"use strict";const n=Math.min,r=Math.max,a=Math.round,o=Math.floor,i=e=>({x:e,y:e});function s(e){return u(e)?(e.nodeName||"").toLowerCase():"#document"}function l(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function c(e){var t;return null==(t=(u(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function u(e){return e instanceof Node||e instanceof l(e).Node}function d(e){return e instanceof Element||e instanceof l(e).Element}function f(e){return e instanceof HTMLElement||e instanceof l(e).HTMLElement}function h(e){return"undefined"!==typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof l(e).ShadowRoot)}function p(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=O(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(a)}function m(e){return["table","td","th"].includes(s(e))}function v(e){const t=g(),n=O(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function b(e){let t=_(e);while(f(t)&&!y(t)){if(v(t))return t;t=_(t)}return null}function g(){return!("undefined"===typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function y(e){return["html","body","#document"].includes(s(e))}function O(e){return l(e).getComputedStyle(e)}function w(e){return d(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function _(e){if("html"===s(e))return e;const t=e.assignedSlot||e.parentNode||h(e)&&e.host||c(e);return h(t)?t.host:t}function j(e){const t=_(e);return y(t)?e.ownerDocument?e.ownerDocument.body:e.body:f(t)&&p(t)?t:j(t)}function k(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const a=j(e),o=a===(null==(r=e.ownerDocument)?void 0:r.body),i=l(a);return o?t.concat(i,i.visualViewport||[],p(a)?a:[],i.frameElement&&n?k(i.frameElement):[]):t.concat(a,k(a,[],n))}function x(e){const t=O(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=f(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,l=a(n)!==i||a(r)!==s;return l&&(n=i,r=s),{width:n,height:r,$:l}}function S(e){return d(e)?e:e.contextElement}function C(e){const t=S(e);if(!f(t))return i(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=x(t);let l=(s?a(n.width):n.width)/r,c=(s?a(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),c&&Number.isFinite(c)||(c=1),{x:l,y:c}}const M=i(0);function A(e){const t=l(e);return g()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:M}function T(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==l(e))&&t}function E(e,n,r,a){void 0===n&&(n=!1),void 0===r&&(r=!1);const o=e.getBoundingClientRect(),s=S(e);let c=i(1);n&&(a?d(a)&&(c=C(a)):c=C(e));const u=T(s,r,a)?A(s):i(0);let f=(o.left+u.x)/c.x,h=(o.top+u.y)/c.y,p=o.width/c.x,m=o.height/c.y;if(s){const e=l(s),t=a&&d(a)?l(a):a;let n=e,r=n.frameElement;while(r&&a&&t!==n){const e=C(r),t=r.getBoundingClientRect(),a=O(r),o=t.left+(r.clientLeft+parseFloat(a.paddingLeft))*e.x,i=t.top+(r.clientTop+parseFloat(a.paddingTop))*e.y;f*=e.x,h*=e.y,p*=e.x,m*=e.y,f+=o,h+=i,n=l(r),r=n.frameElement}}return t.rectToClientRect({width:p,height:m,x:f,y:h})}const L=[":popover-open",":modal"];function P(e){return L.some(t=>{try{return e.matches(t)}catch(n){return!1}})}function D(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e;const o="fixed"===a,l=c(r),u=!!t&&P(t.floating);if(r===l||u&&o)return n;let d={scrollLeft:0,scrollTop:0},h=i(1);const m=i(0),v=f(r);if((v||!v&&!o)&&(("body"!==s(r)||p(l))&&(d=w(r)),f(r))){const e=E(r);h=C(r),m.x=e.x+r.clientLeft,m.y=e.y+r.clientTop}return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-d.scrollLeft*h.x+m.x,y:n.y*h.y-d.scrollTop*h.y+m.y}}function N(e){return Array.from(e.getClientRects())}function R(e){return E(c(e)).left+w(e).scrollLeft}function I(e){const t=c(e),n=w(e),a=e.ownerDocument.body,o=r(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),i=r(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight);let s=-n.scrollLeft+R(e);const l=-n.scrollTop;return"rtl"===O(a).direction&&(s+=r(t.clientWidth,a.clientWidth)-o),{width:o,height:i,x:s,y:l}}function B(e,t){const n=l(e),r=c(e),a=n.visualViewport;let o=r.clientWidth,i=r.clientHeight,s=0,u=0;if(a){o=a.width,i=a.height;const e=g();(!e||e&&"fixed"===t)&&(s=a.offsetLeft,u=a.offsetTop)}return{width:o,height:i,x:s,y:u}}function F(e,t){const n=E(e,!0,"fixed"===t),r=n.top+e.clientTop,a=n.left+e.clientLeft,o=f(e)?C(e):i(1),s=e.clientWidth*o.x,l=e.clientHeight*o.y,c=a*o.x,u=r*o.y;return{width:s,height:l,x:c,y:u}}function V(e,n,r){let a;if("viewport"===n)a=B(e,r);else if("document"===n)a=I(c(e));else if(d(n))a=F(n,r);else{const t=A(e);a={...n,x:n.x-t.x,y:n.y-t.y}}return t.rectToClientRect(a)}function z(e,t){const n=_(e);return!(n===t||!d(n)||y(n))&&("fixed"===O(n).position||z(n,t))}function H(e,t){const n=t.get(e);if(n)return n;let r=k(e,[],!1).filter(e=>d(e)&&"body"!==s(e)),a=null;const o="fixed"===O(e).position;let i=o?_(e):e;while(d(i)&&!y(i)){const t=O(i),n=v(i);n||"fixed"!==t.position||(a=null);const s=o?!n&&!a:!n&&"static"===t.position&&!!a&&["absolute","fixed"].includes(a.position)||p(i)&&!n&&z(e,i);s?r=r.filter(e=>e!==i):a=t,i=_(i)}return t.set(e,r),r}function Y(e){let{element:t,boundary:a,rootBoundary:o,strategy:i}=e;const s="clippingAncestors"===a?P(t)?[]:H(t,this._c):[].concat(a),l=[...s,o],c=l[0],u=l.reduce((e,a)=>{const o=V(t,a,i);return e.top=r(o.top,e.top),e.right=n(o.right,e.right),e.bottom=n(o.bottom,e.bottom),e.left=r(o.left,e.left),e},V(t,c,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function U(e){const{width:t,height:n}=x(e);return{width:t,height:n}}function W(e,t,n){const r=f(t),a=c(t),o="fixed"===n,l=E(e,!0,o,t);let u={scrollLeft:0,scrollTop:0};const d=i(0);if(r||!r&&!o)if(("body"!==s(t)||p(a))&&(u=w(t)),r){const e=E(t,!0,o,t);d.x=e.x+t.clientLeft,d.y=e.y+t.clientTop}else a&&(d.x=R(a));const h=l.left+u.scrollLeft-d.x,m=l.top+u.scrollTop-d.y;return{x:h,y:m,width:l.width,height:l.height}}function $(e){return"static"===O(e).position}function q(e,t){return f(e)&&"fixed"!==O(e).position?t?t(e):e.offsetParent:null}function G(e,t){const n=l(e);if(P(e))return n;if(!f(e)){let t=_(e);while(t&&!y(t)){if(d(t)&&!$(t))return t;t=_(t)}return n}let r=q(e,t);while(r&&m(r)&&$(r))r=q(r,t);return r&&y(r)&&$(r)&&!v(r)?n:r||b(e)||n}const X=async function(e){const t=this.getOffsetParent||G,n=this.getDimensions,r=await n(e.floating);return{reference:W(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function K(e){return"rtl"===O(e).direction}const J={convertOffsetParentRelativeRectToViewportRelativeRect:D,getDocumentElement:c,getClippingRect:Y,getOffsetParent:G,getElementRects:X,getClientRects:N,getDimensions:U,getScale:C,isElement:d,isRTL:K};function Z(e,t){let a,i=null;const s=c(e);function l(){var e;clearTimeout(a),null==(e=i)||e.disconnect(),i=null}function u(c,d){void 0===c&&(c=!1),void 0===d&&(d=1),l();const{left:f,top:h,width:p,height:m}=e.getBoundingClientRect();if(c||t(),!p||!m)return;const v=o(h),b=o(s.clientWidth-(f+p)),g=o(s.clientHeight-(h+m)),y=o(f),O=-v+"px "+-b+"px "+-g+"px "+-y+"px",w={rootMargin:O,threshold:r(0,n(1,d))||1};let _=!0;function j(e){const t=e[0].intersectionRatio;if(t!==d){if(!_)return u();t?u(!1,t):a=setTimeout(()=>{u(!1,1e-7)},1e3)}_=!1}try{i=new IntersectionObserver(j,{...w,root:s.ownerDocument})}catch(k){i=new IntersectionObserver(j,w)}i.observe(e)}return u(!0),l}function Q(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:a=!0,ancestorResize:o=!0,elementResize:i="function"===typeof ResizeObserver,layoutShift:s="function"===typeof IntersectionObserver,animationFrame:l=!1}=r,c=S(e),u=a||o?[...c?k(c):[],...k(t)]:[];u.forEach(e=>{a&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const d=c&&s?Z(c,n):null;let f,h=-1,p=null;i&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=p)||e.observe(t)})),n()}),c&&!l&&p.observe(c),p.observe(t));let m=l?E(e):null;function v(){const t=E(e);!m||t.x===m.x&&t.y===m.y&&t.width===m.width&&t.height===m.height||n(),m=t,f=requestAnimationFrame(v)}return l&&v(),n(),()=>{var e;u.forEach(e=>{a&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=p)||e.disconnect(),p=null,l&&cancelAnimationFrame(f)}}const ee=t.detectOverflow,te=t.offset,ne=t.autoPlacement,re=t.shift,ae=t.flip,oe=t.size,ie=t.hide,se=t.arrow,le=t.inline,ce=t.limitShift,ue=(e,n,r)=>{const a=new Map,o={platform:J,...r},i={...o.platform,_c:a};return t.computePosition(e,n,{...o,platform:i})};e.arrow=se,e.autoPlacement=ne,e.autoUpdate=Q,e.computePosition=ue,e.detectOverflow=ee,e.flip=ae,e.getOverflowAncestors=k,e.hide=ie,e.inline=le,e.limitShift=ce,e.offset=te,e.platform=J,e.shift=re,e.size=oe}))},7156:function(e,t,n){"use strict";var r=n("1626"),a=n("861d"),o=n("d2bb");e.exports=function(e,t,n){var i,s;return o&&r(i=t.constructor)&&i!==n&&a(s=i.prototype)&&s!==n.prototype&&o(e,s),e}},7234:function(e,t,n){"use strict";e.exports=function(e){return null===e||void 0===e}},7282:function(e,t,n){"use strict";var r=n("e330"),a=n("59ed");e.exports=function(e,t,n){try{return r(a(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(o){}}},7333:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}});return t}))},"740b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tinycolor=t.TinyColor=void 0;var r=n("d756"),a=n("fc75"),o=n("4af5"),i=n("1127"),s=function(){function e(t,n){var a;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"===typeof t&&(t=(0,r.numberInputToObject)(t)),this.originalInput=t;var i=(0,o.inputToRGB)(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(a=n.format)&&void 0!==a?a:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e,t,n,r=this.toRgb(),a=r.r/255,o=r.g/255,i=r.b/255;return e=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4),t=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4),n=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4),.2126*e+.7152*t+.0722*n},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,i.boundAlpha)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var e=this.toHsl().s;return 0===e},e.prototype.toHsv=function(){var e=(0,r.rgbToHsv)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,r.rgbToHsv)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),a=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(a,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,r.rgbToHsl)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,r.rgbToHsl)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),a=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(a,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,r.rgbToHex)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,r.rgbaToHex)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,i.bound01)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,i.bound01)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,r.rgbToHex)(this.r,this.g,this.b,!1),t=0,n=Object.entries(a.names);t<n.length;t++){var o=n[t],i=o[0],s=o[1];if(e===s)return i}return!1},e.prototype.toString=function(e){var t=Boolean(e);e=null!==e&&void 0!==e?e:this.format;var n=!1,r=this.a<1&&this.a>=0,a=!t&&r&&(e.startsWith("hex")||"name"===e);return a?"name"===e&&0===this.a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=(0,i.clamp01)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=(0,i.clamp01)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=(0,i.clamp01)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=(0,i.clamp01)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),a=new e(t).toRgb(),o=n/100,i={r:(a.r-r.r)*o+r.r,g:(a.g-r.g)*o+r.g,b:(a.b-r.b)*o+r.b,a:(a.a-r.a)*o+r.a};return new e(i)},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),a=360/n,o=[this];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);var n=this.toHsv(),r=n.h,a=n.s,o=n.v,i=[],s=1/t;while(t--)i.push(new e({h:r,s:a,v:o})),o=(o+s)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),a=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/a,g:(n.g*n.a+r.g*r.a*(1-n.a))/a,b:(n.b*n.a+r.b*r.a*(1-n.a))/a,a:a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,a=[this],o=360/t,i=1;i<t;i++)a.push(new e({h:(r+i*o)%360,s:n.s,l:n.l}));return a},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function l(e,t){return void 0===e&&(e=""),void 0===t&&(t={}),new s(e,t)}t.TinyColor=s,t.tinycolor=l},7418:function(e,t,n){"use strict";t.f=Object.getOwnPropertySymbols},7437:function(e,t,n){},"74dc":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});return t}))},7558:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n,r){var a={s:["çend sanîye","çend sanîyeyan"],ss:[e+" sanîye",e+" sanîyeyan"],m:["deqîqeyek","deqîqeyekê"],mm:[e+" deqîqe",e+" deqîqeyan"],h:["saetek","saetekê"],hh:[e+" saet",e+" saetan"],d:["rojek","rojekê"],dd:[e+" roj",e+" rojan"],w:["hefteyek","hefteyekê"],ww:[e+" hefte",e+" hefteyan"],M:["mehek","mehekê"],MM:[e+" meh",e+" mehan"],y:["salek","salekê"],yy:[e+" sal",e+" salan"]};return t?a[n][0]:a[n][1]}function n(e){e=""+e;var t=e.substring(e.length-1),n=e.length>1?e.substring(e.length-2):"";return 12==n||13==n||"2"!=t&&"3"!=t&&"50"!=n&&"70"!=t&&"80"!=t?"ê":"yê"}var r=e.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(e,t,n){return e<12?n?"bn":"BN":n?"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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,w:t,ww:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(?:yê|ê|\.)/,ordinal:function(e,t){var r=t.toLowerCase();return r.includes("w")||r.includes("m")?e+".":e+n(e)},week:{dow:1,doy:4}});return r}))},7839:function(e,t,n){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},7917:function(e,t,n){"use strict";var r=n("c532");function a(e,t,n,r,a){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a)}r.inherits(a,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var o=a.prototype,i={};["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"].forEach((function(e){i[e]={value:e}})),Object.defineProperties(a,i),Object.defineProperty(o,"isAxiosError",{value:!0}),a.from=function(e,t,n,i,s,l){var c=Object.create(o);return r.toFlatObject(e,c,(function(e){return e!==Error.prototype})),a.call(c,e.message,t,n,i,s),c.name=e.name,l&&Object.assign(c,l),c},e.exports=a},"7a23":function(e,t,n){"use strict";n.r(t),n.d(t,"EffectScope",(function(){return i})),n.d(t,"ReactiveEffect",(function(){return d})),n.d(t,"TrackOpTypes",(function(){return tt})),n.d(t,"TriggerOpTypes",(function(){return nt})),n.d(t,"customRef",(function(){return Xe})),n.d(t,"effect",(function(){return v})),n.d(t,"effectScope",(function(){return s})),n.d(t,"getCurrentScope",(function(){return c})),n.d(t,"isProxy",(function(){return Ae})),n.d(t,"isReactive",(function(){return Se})),n.d(t,"isReadonly",(function(){return Ce})),n.d(t,"isRef",(function(){return Be})),n.d(t,"isShallow",(function(){return Me})),n.d(t,"markRaw",(function(){return Ee})),n.d(t,"onScopeDispose",(function(){return u})),n.d(t,"proxyRefs",(function(){return qe})),n.d(t,"reactive",(function(){return we})),n.d(t,"readonly",(function(){return je})),n.d(t,"ref",(function(){return Fe})),n.d(t,"shallowReactive",(function(){return _e})),n.d(t,"shallowReadonly",(function(){return ke})),n.d(t,"shallowRef",(function(){return Ve})),n.d(t,"stop",(function(){return b})),n.d(t,"toRaw",(function(){return Te})),n.d(t,"toRef",(function(){return Qe})),n.d(t,"toRefs",(function(){return Ke})),n.d(t,"toValue",(function(){return We})),n.d(t,"triggerRef",(function(){return Ye})),n.d(t,"unref",(function(){return Ue})),n.d(t,"camelize",(function(){return r["e"]})),n.d(t,"capitalize",(function(){return r["f"]})),n.d(t,"normalizeClass",(function(){return r["Q"]})),n.d(t,"normalizeProps",(function(){return r["R"]})),n.d(t,"normalizeStyle",(function(){return r["S"]})),n.d(t,"toDisplayString",(function(){return r["V"]})),n.d(t,"toHandlerKey",(function(){return r["W"]})),n.d(t,"BaseTransition",(function(){return $n})),n.d(t,"BaseTransitionPropsValidators",(function(){return Un})),n.d(t,"Comment",(function(){return yo})),n.d(t,"DeprecationTypes",(function(){return Ii})),n.d(t,"ErrorCodes",(function(){return dt})),n.d(t,"ErrorTypeStrings",(function(){return Ti})),n.d(t,"Fragment",(function(){return bo})),n.d(t,"KeepAlive",(function(){return or})),n.d(t,"Static",(function(){return Oo})),n.d(t,"Suspense",(function(){return vn})),n.d(t,"Teleport",(function(){return mo})),n.d(t,"Text",(function(){return go})),n.d(t,"assertNumber",(function(){return ut})),n.d(t,"callWithAsyncErrorHandling",(function(){return pt})),n.d(t,"callWithErrorHandling",(function(){return ht})),n.d(t,"cloneVNode",(function(){return Vo})),n.d(t,"compatUtils",(function(){return Ri})),n.d(t,"computed",(function(){return _i})),n.d(t,"createBlock",(function(){return To})),n.d(t,"createCommentVNode",(function(){return Yo})),n.d(t,"createElementBlock",(function(){return Ao})),n.d(t,"createElementVNode",(function(){return Ro})),n.d(t,"createHydrationRenderer",(function(){return Za})),n.d(t,"createPropsRestProxy",(function(){return Gr})),n.d(t,"createRenderer",(function(){return Ja})),n.d(t,"createSlots",(function(){return Sr})),n.d(t,"createStaticVNode",(function(){return Ho})),n.d(t,"createTextVNode",(function(){return zo})),n.d(t,"createVNode",(function(){return Io})),n.d(t,"defineAsyncComponent",(function(){return tr})),n.d(t,"defineComponent",(function(){return Qn})),n.d(t,"defineEmits",(function(){return Rr})),n.d(t,"defineExpose",(function(){return Ir})),n.d(t,"defineModel",(function(){return Vr})),n.d(t,"defineOptions",(function(){return Br})),n.d(t,"defineProps",(function(){return Nr})),n.d(t,"defineSlots",(function(){return Fr})),n.d(t,"devtools",(function(){return Ei})),n.d(t,"getCurrentInstance",(function(){return Qo})),n.d(t,"getTransitionRawChildren",(function(){return Zn})),n.d(t,"guardReactiveProps",(function(){return Fo})),n.d(t,"h",(function(){return ki})),n.d(t,"handleError",(function(){return mt})),n.d(t,"hasInjectionContext",(function(){return ba})),n.d(t,"initCustomFormatter",(function(){return xi})),n.d(t,"inject",(function(){return va})),n.d(t,"isMemoSame",(function(){return Ci})),n.d(t,"isRuntimeOnly",(function(){return fi})),n.d(t,"isVNode",(function(){return Eo})),n.d(t,"mergeDefaults",(function(){return $r})),n.d(t,"mergeModels",(function(){return qr})),n.d(t,"mergeProps",(function(){return qo})),n.d(t,"nextTick",(function(){return St})),n.d(t,"onActivated",(function(){return sr})),n.d(t,"onBeforeMount",(function(){return mr})),n.d(t,"onBeforeUnmount",(function(){return yr})),n.d(t,"onBeforeUpdate",(function(){return br})),n.d(t,"onDeactivated",(function(){return lr})),n.d(t,"onErrorCaptured",(function(){return kr})),n.d(t,"onMounted",(function(){return vr})),n.d(t,"onRenderTracked",(function(){return jr})),n.d(t,"onRenderTriggered",(function(){return _r})),n.d(t,"onServerPrefetch",(function(){return wr})),n.d(t,"onUnmounted",(function(){return Or})),n.d(t,"onUpdated",(function(){return gr})),n.d(t,"openBlock",(function(){return jo})),n.d(t,"popScopeId",(function(){return Gt})),n.d(t,"provide",(function(){return ma})),n.d(t,"pushScopeId",(function(){return qt})),n.d(t,"queuePostFlushCb",(function(){return Et})),n.d(t,"registerRuntimeCompiler",(function(){return di})),n.d(t,"renderList",(function(){return xr})),n.d(t,"renderSlot",(function(){return Cr})),n.d(t,"resolveComponent",(function(){return sn})),n.d(t,"resolveDirective",(function(){return un})),n.d(t,"resolveDynamicComponent",(function(){return cn})),n.d(t,"resolveFilter",(function(){return Ni})),n.d(t,"resolveTransitionHooks",(function(){return Gn})),n.d(t,"setBlockTracking",(function(){return Co})),n.d(t,"setDevtoolsHook",(function(){return Li})),n.d(t,"setTransitionHooks",(function(){return Jn})),n.d(t,"ssrContextKey",(function(){return Cn})),n.d(t,"ssrUtils",(function(){return Di})),n.d(t,"toHandlers",(function(){return Ar})),n.d(t,"transformVNodeArgs",(function(){return Po})),n.d(t,"useAttrs",(function(){return Yr})),n.d(t,"useModel",(function(){return ji})),n.d(t,"useSSRContext",(function(){return Mn})),n.d(t,"useSlots",(function(){return Hr})),n.d(t,"useTransitionState",(function(){return Hn})),n.d(t,"version",(function(){return Mi})),n.d(t,"warn",(function(){return Ai})),n.d(t,"watch",(function(){return Pn})),n.d(t,"watchEffect",(function(){return An})),n.d(t,"watchPostEffect",(function(){return Tn})),n.d(t,"watchSyncEffect",(function(){return En})),n.d(t,"withAsyncContext",(function(){return Xr})),n.d(t,"withCtx",(function(){return Kt})),n.d(t,"withDefaults",(function(){return zr})),n.d(t,"withDirectives",(function(){return Bn})),n.d(t,"withMemo",(function(){return Si})),n.d(t,"withScopeId",(function(){return Xt})),n.d(t,"Transition",(function(){return $i})),n.d(t,"TransitionGroup",(function(){return Qs})),n.d(t,"VueElement",(function(){return $s})),n.d(t,"createApp",(function(){return Ll})),n.d(t,"createSSRApp",(function(){return Pl})),n.d(t,"defineCustomElement",(function(){return Ys})),n.d(t,"defineSSRCustomElement",(function(){return Us})),n.d(t,"hydrate",(function(){return El})),n.d(t,"initDirectivesForSSR",(function(){return Il})),n.d(t,"render",(function(){return Tl})),n.d(t,"useCssModule",(function(){return qs})),n.d(t,"useCssVars",(function(){return vs})),n.d(t,"vModelCheckbox",(function(){return cl})),n.d(t,"vModelDynamic",(function(){return vl})),n.d(t,"vModelRadio",(function(){return dl})),n.d(t,"vModelSelect",(function(){return fl})),n.d(t,"vModelText",(function(){return ll})),n.d(t,"vShow",(function(){return fs})),n.d(t,"withKeys",(function(){return kl})),n.d(t,"withModifiers",(function(){return _l})),n.d(t,"compile",(function(){return Bl}));var r=n("9ff4");
/**
* @vue/reactivity v3.4.27
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let a,o;class i{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=a,!e&&a&&(this.index=(a.scopes||(a.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=a;try{return a=this,e()}finally{a=t}}else 0}on(){a=this}off(){a=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function s(e){return new i(e)}function l(e,t=a){t&&t.active&&t.effects.push(e)}function c(){return a}function u(e){a&&a.cleanups.push(e)}class d{constructor(e,t,n,r){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,l(this,r)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,w();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(f(t.computed),this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),_()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=g,t=o;try{return g=!0,o=this,this._runnings++,h(this),this.fn()}finally{p(this),this._runnings--,o=t,g=e}}stop(){this.active&&(h(this),p(this),this.onStop&&this.onStop(),this.active=!1)}}function f(e){return e.value}function h(e){e._trackId++,e._depsLength=0}function p(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)m(e.deps[t],e);e.deps.length=e._depsLength}}function m(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}function v(e,t){e.effect instanceof d&&(e=e.effect.fn);const n=new d(e,r["d"],()=>{n.dirty&&n.run()});t&&(Object(r["h"])(n,t),t.scope&&l(n,t.scope)),t&&t.lazy||n.run();const a=n.run.bind(n);return a.effect=n,a}function b(e){e.effect.stop()}let g=!0,y=0;const O=[];function w(){O.push(g),g=!1}function _(){const e=O.pop();g=void 0===e||e}function j(){y++}function k(){y--;while(!y&&S.length)S.shift()()}function x(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&m(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const S=[];function C(e,t,n){j();for(const r of e.keys()){let n;r._dirtyLevel<t&&(null!=n?n:n=e.get(r)===r._trackId)&&(r._shouldSchedule||(r._shouldSchedule=0===r._dirtyLevel),r._dirtyLevel=t),r._shouldSchedule&&(null!=n?n:n=e.get(r)===r._trackId)&&(r.trigger(),r._runnings&&!r.allowRecurse||2===r._dirtyLevel||(r._shouldSchedule=!1,r.scheduler&&S.push(r.scheduler)))}k()}const M=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},A=new WeakMap,T=Symbol(""),E=Symbol("");function L(e,t,n){if(g&&o){let t=A.get(e);t||A.set(e,t=new Map);let r=t.get(n);r||t.set(n,r=M(()=>t.delete(n))),x(o,r,void 0)}}function P(e,t,n,a,o,i){const s=A.get(e);if(!s)return;let l=[];if("clear"===t)l=[...s.values()];else if("length"===n&&Object(r["o"])(e)){const e=Number(a);s.forEach((t,n)=>{("length"===n||!Object(r["L"])(n)&&n>=e)&&l.push(t)})}else switch(void 0!==n&&l.push(s.get(n)),t){case"add":Object(r["o"])(e)?Object(r["u"])(n)&&l.push(s.get("length")):(l.push(s.get(T)),Object(r["x"])(e)&&l.push(s.get(E)));break;case"delete":Object(r["o"])(e)||(l.push(s.get(T)),Object(r["x"])(e)&&l.push(s.get(E)));break;case"set":Object(r["x"])(e)&&l.push(s.get(T));break}j();for(const r of l)r&&C(r,4,void 0);k()}function D(e,t){const n=A.get(e);return n&&n.get(t)}const N=Object(r["P"])("__proto__,__v_isRef,__isVue"),R=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(r["L"])),I=B();function B(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...e){const n=Te(this);for(let t=0,a=this.length;t<a;t++)L(n,"get",t+"");const r=n[t](...e);return-1===r||!1===r?n[t](...e.map(Te)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...e){w(),j();const n=Te(this)[t].apply(this,e);return k(),_(),n}}),e}function F(e){Object(r["L"])(e)||(e=String(e));const t=Te(this);return L(t,"has",e),t.hasOwnProperty(e)}class V{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const a=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!a;if("__v_isReadonly"===t)return a;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(a?o?ge:be:o?ve:me).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=Object(r["o"])(e);if(!a){if(i&&Object(r["k"])(I,t))return Reflect.get(I,t,n);if("hasOwnProperty"===t)return F}const s=Reflect.get(e,t,n);return(Object(r["L"])(t)?R.has(t):N(t))?s:(a||L(e,"get",t),o?s:Be(s)?i&&Object(r["u"])(t)?s:s.value:Object(r["A"])(s)?a?je(s):we(s):s)}}class z extends V{constructor(e=!1){super(!1,e)}set(e,t,n,a){let o=e[t];if(!this._isShallow){const t=Ce(o);if(Me(n)||Ce(n)||(o=Te(o),n=Te(n)),!Object(r["o"])(e)&&Be(o)&&!Be(n))return!t&&(o.value=n,!0)}const i=Object(r["o"])(e)&&Object(r["u"])(t)?Number(t)<e.length:Object(r["k"])(e,t),s=Reflect.set(e,t,n,a);return e===Te(a)&&(i?Object(r["j"])(n,o)&&P(e,"set",t,n,o):P(e,"add",t,n)),s}deleteProperty(e,t){const n=Object(r["k"])(e,t),a=e[t],o=Reflect.deleteProperty(e,t);return o&&n&&P(e,"delete",t,void 0,a),o}has(e,t){const n=Reflect.has(e,t);return Object(r["L"])(t)&&R.has(t)||L(e,"has",t),n}ownKeys(e){return L(e,"iterate",Object(r["o"])(e)?"length":T),Reflect.ownKeys(e)}}class H extends V{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Y=new z,U=new H,W=new z(!0),$=new H(!0),q=e=>e,G=e=>Reflect.getPrototypeOf(e);function X(e,t,n=!1,a=!1){e=e["__v_raw"];const o=Te(e),i=Te(t);n||(Object(r["j"])(t,i)&&L(o,"get",t),L(o,"get",i));const{has:s}=G(o),l=a?q:n?Pe:Le;return s.call(o,t)?l(e.get(t)):s.call(o,i)?l(e.get(i)):void(e!==o&&e.get(t))}function K(e,t=!1){const n=this["__v_raw"],a=Te(n),o=Te(e);return t||(Object(r["j"])(e,o)&&L(a,"has",e),L(a,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function J(e,t=!1){return e=e["__v_raw"],!t&&L(Te(e),"iterate",T),Reflect.get(e,"size",e)}function Z(e){e=Te(e);const t=Te(this),n=G(t),r=n.has.call(t,e);return r||(t.add(e),P(t,"add",e,e)),this}function Q(e,t){t=Te(t);const n=Te(this),{has:a,get:o}=G(n);let i=a.call(n,e);i||(e=Te(e),i=a.call(n,e));const s=o.call(n,e);return n.set(e,t),i?Object(r["j"])(t,s)&&P(n,"set",e,t,s):P(n,"add",e,t),this}function ee(e){const t=Te(this),{has:n,get:r}=G(t);let a=n.call(t,e);a||(e=Te(e),a=n.call(t,e));const o=r?r.call(t,e):void 0,i=t.delete(e);return a&&P(t,"delete",e,void 0,o),i}function te(){const e=Te(this),t=0!==e.size,n=void 0,r=e.clear();return t&&P(e,"clear",void 0,void 0,n),r}function ne(e,t){return function(n,r){const a=this,o=a["__v_raw"],i=Te(o),s=t?q:e?Pe:Le;return!e&&L(i,"iterate",T),o.forEach((e,t)=>n.call(r,s(e),s(t),a))}}function re(e,t,n){return function(...a){const o=this["__v_raw"],i=Te(o),s=Object(r["x"])(i),l="entries"===e||e===Symbol.iterator&&s,c="keys"===e&&s,u=o[e](...a),d=n?q:t?Pe:Le;return!t&&L(i,"iterate",c?E:T),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:l?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}function ae(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function oe(){const e={get(e){return X(this,e)},get size(){return J(this)},has:K,add:Z,set:Q,delete:ee,clear:te,forEach:ne(!1,!1)},t={get(e){return X(this,e,!1,!0)},get size(){return J(this)},has:K,add:Z,set:Q,delete:ee,clear:te,forEach:ne(!1,!0)},n={get(e){return X(this,e,!0)},get size(){return J(this,!0)},has(e){return K.call(this,e,!0)},add:ae("add"),set:ae("set"),delete:ae("delete"),clear:ae("clear"),forEach:ne(!0,!1)},r={get(e){return X(this,e,!0,!0)},get size(){return J(this,!0)},has(e){return K.call(this,e,!0)},add:ae("add"),set:ae("set"),delete:ae("delete"),clear:ae("clear"),forEach:ne(!0,!0)},a=["keys","values","entries",Symbol.iterator];return a.forEach(a=>{e[a]=re(a,!1,!1),n[a]=re(a,!0,!1),t[a]=re(a,!1,!0),r[a]=re(a,!0,!0)}),[e,n,t,r]}const[ie,se,le,ce]=oe();function ue(e,t){const n=t?e?ce:le:e?se:ie;return(t,a,o)=>"__v_isReactive"===a?!e:"__v_isReadonly"===a?e:"__v_raw"===a?t:Reflect.get(Object(r["k"])(n,a)&&a in t?n:t,a,o)}const de={get:ue(!1,!1)},fe={get:ue(!1,!0)},he={get:ue(!0,!1)},pe={get:ue(!0,!0)};const me=new WeakMap,ve=new WeakMap,be=new WeakMap,ge=new WeakMap;function ye(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Oe(e){return e["__v_skip"]||!Object.isExtensible(e)?0:ye(Object(r["Y"])(e))}function we(e){return Ce(e)?e:xe(e,!1,Y,de,me)}function _e(e){return xe(e,!1,W,fe,ve)}function je(e){return xe(e,!0,U,he,be)}function ke(e){return xe(e,!0,$,pe,ge)}function xe(e,t,n,a,o){if(!Object(r["A"])(e))return e;if(e["__v_raw"]&&(!t||!e["__v_isReactive"]))return e;const i=o.get(e);if(i)return i;const s=Oe(e);if(0===s)return e;const l=new Proxy(e,2===s?a:n);return o.set(e,l),l}function Se(e){return Ce(e)?Se(e["__v_raw"]):!(!e||!e["__v_isReactive"])}function Ce(e){return!(!e||!e["__v_isReadonly"])}function Me(e){return!(!e||!e["__v_isShallow"])}function Ae(e){return!!e&&!!e["__v_raw"]}function Te(e){const t=e&&e["__v_raw"];return t?Te(t):e}function Ee(e){return Object.isExtensible(e)&&Object(r["g"])(e,"__v_skip",!0),e}const Le=e=>Object(r["A"])(e)?we(e):e,Pe=e=>Object(r["A"])(e)?je(e):e;class De{constructor(e,t,n,r){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this["__v_isReadonly"]=!1,this.effect=new d(()=>e(this._value),()=>Ie(this,2===this.effect._dirtyLevel?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this["__v_isReadonly"]=n}get value(){const e=Te(this);return e._cacheable&&!e.effect.dirty||!Object(r["j"])(e._value,e._value=e.effect.run())||Ie(e,4),Re(e),e.effect._dirtyLevel>=2&&Ie(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Ne(e,t,n=!1){let a,o;const i=Object(r["r"])(e);i?(a=e,o=r["d"]):(a=e.get,o=e.set);const s=new De(a,o,i||!o,n);return s}function Re(e){var t;g&&o&&(e=Te(e),x(o,null!=(t=e.dep)?t:e.dep=M(()=>e.dep=void 0,e instanceof De?e:void 0),void 0))}function Ie(e,t=4,n){e=Te(e);const r=e.dep;r&&C(r,t,void 0)}function Be(e){return!(!e||!0!==e.__v_isRef)}function Fe(e){return ze(e,!1)}function Ve(e){return ze(e,!0)}function ze(e,t){return Be(e)?e:new He(e,t)}class He{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Te(e),this._value=t?e:Le(e)}get value(){return Re(this),this._value}set value(e){const t=this.__v_isShallow||Me(e)||Ce(e);e=t?e:Te(e),Object(r["j"])(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Le(e),Ie(this,4,e))}}function Ye(e){Ie(e,4,void 0)}function Ue(e){return Be(e)?e.value:e}function We(e){return Object(r["r"])(e)?e():Ue(e)}const $e={get:(e,t,n)=>Ue(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const a=e[t];return Be(a)&&!Be(n)?(a.value=n,!0):Reflect.set(e,t,n,r)}};function qe(e){return Se(e)?e:new Proxy(e,$e)}class Ge{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e(()=>Re(this),()=>Ie(this));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function Xe(e){return new Ge(e)}function Ke(e){const t=Object(r["o"])(e)?new Array(e.length):{};for(const n in e)t[n]=et(e,n);return t}class Je{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return D(Te(this._object),this._key)}}class Ze{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Qe(e,t,n){return Be(e)?e:Object(r["r"])(e)?new Ze(e):Object(r["A"])(e)&&arguments.length>1?et(e,t,n):Fe(e)}function et(e,t,n){const r=e[t];return Be(r)?r:new Je(e,t,n)}const tt={GET:"get",HAS:"has",ITERATE:"iterate"},nt={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},rt=[];function at(e,...t){w();const n=rt.length?rt[rt.length-1].component:null,r=n&&n.appContext.config.warnHandler,a=ot();if(r)ht(r,n,11,[e+t.map(e=>{var t,n;return null!=(n=null==(t=e.toString)?void 0:t.call(e))?n:JSON.stringify(e)}).join(""),n&&n.proxy,a.map(({vnode:e})=>`at <${Oi(n,e.type)}>`).join("\n"),a]);else{const n=["[Vue warn]: "+e,...t];a.length&&n.push("\n",...it(a)),console.warn(...n)}_()}function ot(){let e=rt[rt.length-1];if(!e)return[];const t=[];while(e){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function it(e){const t=[];return e.forEach((e,n)=>{t.push(...0===n?[]:["\n"],...st(e))}),t}function st({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=!!e.component&&null==e.component.parent,a=" at <"+Oi(e.component,e.type,r),o=">"+n;return e.props?[a,...lt(e.props),o]:[a+o]}function lt(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(n=>{t.push(...ct(n,e[n]))}),n.length>3&&t.push(" ..."),t}function ct(e,t,n){return Object(r["K"])(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"===typeof t||"boolean"===typeof t||null==t?n?t:[`${e}=${t}`]:Be(t)?(t=ct(e,Te(t.value),!0),n?t:[e+"=Ref<",t,">"]):Object(r["r"])(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Te(t),n?t:[e+"=",t])}function ut(e,t){}const dt={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},ft={["sp"]:"serverPrefetch hook",["bc"]:"beforeCreate hook",["c"]:"created hook",["bm"]:"beforeMount hook",["m"]:"mounted hook",["bu"]:"beforeUpdate hook",["u"]:"updated",["bum"]:"beforeUnmount hook",["um"]:"unmounted hook",["a"]:"activated hook",["da"]:"deactivated hook",["ec"]:"errorCaptured hook",["rtc"]:"renderTracked hook",["rtg"]:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function ht(e,t,n,r){try{return r?e(...r):e()}catch(a){mt(a,t,n)}}function pt(e,t,n,a){if(Object(r["r"])(e)){const o=ht(e,t,n,a);return o&&Object(r["D"])(o)&&o.catch(e=>{mt(e,t,n)}),o}if(Object(r["o"])(e)){const r=[];for(let o=0;o<e.length;o++)r.push(pt(e[o],t,n,a));return r}}function mt(e,t,n,r=!0){const a=t?t.vnode:null;if(t){let r=t.parent;const a=t.proxy,o="https://vuejs.org/error-reference/#runtime-"+n;while(r){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,a,o))return;r=r.parent}const i=t.appContext.config.errorHandler;if(i)return w(),ht(i,null,10,[e,a,o]),void _()}vt(e,n,a,r)}function vt(e,t,n,r=!0){console.error(e)}let bt=!1,gt=!1;const yt=[];let Ot=0;const wt=[];let _t=null,jt=0;const kt=Promise.resolve();let xt=null;function St(e){const t=xt||kt;return e?t.then(this?e.bind(this):e):t}function Ct(e){let t=Ot+1,n=yt.length;while(t<n){const r=t+n>>>1,a=yt[r],o=Dt(a);o<e||o===e&&a.pre?t=r+1:n=r}return t}function Mt(e){yt.length&&yt.includes(e,bt&&e.allowRecurse?Ot+1:Ot)||(null==e.id?yt.push(e):yt.splice(Ct(e.id),0,e),At())}function At(){bt||gt||(gt=!0,xt=kt.then(Rt))}function Tt(e){const t=yt.indexOf(e);t>Ot&&yt.splice(t,1)}function Et(e){Object(r["o"])(e)?wt.push(...e):_t&&_t.includes(e,e.allowRecurse?jt+1:jt)||wt.push(e),At()}function Lt(e,t,n=(bt?Ot+1:0)){for(0;n<yt.length;n++){const t=yt[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;0,yt.splice(n,1),n--,t()}}}function Pt(e){if(wt.length){const e=[...new Set(wt)].sort((e,t)=>Dt(e)-Dt(t));if(wt.length=0,_t)return void _t.push(...e);for(_t=e,jt=0;jt<_t.length;jt++)_t[jt]();_t=null,jt=0}}const Dt=e=>null==e.id?1/0:e.id,Nt=(e,t)=>{const n=Dt(e)-Dt(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Rt(e){gt=!1,bt=!0,yt.sort(Nt);r["d"];try{for(Ot=0;Ot<yt.length;Ot++){const e=yt[Ot];e&&!1!==e.active&&ht(e,null,14)}}finally{Ot=0,yt.length=0,Pt(e),bt=!1,xt=null,(yt.length||wt.length)&&Rt(e)}}let It,Bt=[],Ft=!1;function Vt(e,t){var n,r;if(It=e,It)It.enabled=!0,Bt.forEach(({event:e,args:t})=>It.emit(e,...t)),Bt=[];else if("undefined"!==typeof window&&window.HTMLElement&&!(null==(r=null==(n=window.navigator)?void 0:n.userAgent)?void 0:r.includes("jsdom"))){const e=t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[];e.push(e=>{Vt(e,t)}),setTimeout(()=>{It||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ft=!0,Bt=[])},3e3)}else Ft=!0,Bt=[]}function zt(e,t,...n){if(e.isUnmounted)return;const a=e.vnode.props||r["b"];let o=n;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in a){const e=("modelValue"===s?"model":s)+"Modifiers",{number:t,trim:i}=a[e]||r["b"];i&&(o=n.map(e=>Object(r["K"])(e)?e.trim():e)),t&&(o=n.map(r["O"]))}let l;let c=a[l=Object(r["W"])(t)]||a[l=Object(r["W"])(Object(r["e"])(t))];!c&&i&&(c=a[l=Object(r["W"])(Object(r["l"])(t))]),c&&pt(c,e,6,o);const u=a[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,pt(u,e,6,o)}}function Ht(e,t,n=!1){const a=t.emitsCache,o=a.get(e);if(void 0!==o)return o;const i=e.emits;let s={},l=!1;if(!Object(r["r"])(e)){const a=e=>{const n=Ht(e,t,!0);n&&(l=!0,Object(r["h"])(s,n))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return i||l?(Object(r["o"])(i)?i.forEach(e=>s[e]=null):Object(r["h"])(s,i),Object(r["A"])(e)&&a.set(e,s),s):(Object(r["A"])(e)&&a.set(e,null),null)}function Yt(e,t){return!(!e||!Object(r["B"])(t))&&(t=t.slice(2).replace(/Once$/,""),Object(r["k"])(e,t[0].toLowerCase()+t.slice(1))||Object(r["k"])(e,Object(r["l"])(t))||Object(r["k"])(e,t))}let Ut=null,Wt=null;function $t(e){const t=Ut;return Ut=e,Wt=e&&e.type.__scopeId||null,t}function qt(e){Wt=e}function Gt(){Wt=null}const Xt=e=>Kt;function Kt(e,t=Ut,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Co(-1);const a=$t(t);let o;try{o=e(...n)}finally{$t(a),r._d&&Co(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Jt(e){const{type:t,vnode:n,proxy:a,withProxy:o,propsOptions:[i],slots:s,attrs:l,emit:c,render:u,renderCache:d,props:f,data:h,setupState:p,ctx:m,inheritAttrs:v}=e,b=$t(e);let g,y;try{if(4&n.shapeFlag){const e=o||a,t=e;g=Uo(u.call(t,e,d,f,p,h,m)),y=l}else{const e=t;0,g=Uo(e.length>1?e(f,{attrs:l,slots:s,emit:c}):e(f,null)),y=t.props?l:Qt(l)}}catch(w){wo.length=0,mt(w,e,1),g=Io(yo)}let O=g;if(y&&!1!==v){const e=Object.keys(y),{shapeFlag:t}=O;e.length&&7&t&&(i&&e.some(r["z"])&&(y=en(y,i)),O=Vo(O,y,!1,!0))}return n.dirs&&(O=Vo(O,null,!1,!0),O.dirs=O.dirs?O.dirs.concat(n.dirs):n.dirs),n.transition&&(O.transition=n.transition),g=O,$t(b),g}function Zt(e,t=!0){let n;for(let r=0;r<e.length;r++){const t=e[r];if(!Eo(t))return;if(t.type!==yo||"v-if"===t.children){if(n)return;n=t}}return n}const Qt=e=>{let t;for(const n in e)("class"===n||"style"===n||Object(r["B"])(n))&&((t||(t={}))[n]=e[n]);return t},en=(e,t)=>{const n={};for(const a in e)Object(r["z"])(a)&&a.slice(9)in t||(n[a]=e[a]);return n};function tn(e,t,n){const{props:r,children:a,component:o}=e,{props:i,children:s,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!a&&!s||s&&s.$stable)||r!==i&&(r?!i||nn(r,i,c):!!i);if(1024&l)return!0;if(16&l)return r?nn(r,i,c):!!i;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(i[n]!==r[n]&&!Yt(c,n))return!0}}return!1}function nn(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let a=0;a<r.length;a++){const o=r[a];if(t[o]!==e[o]&&!Yt(n,o))return!0}return!1}function rn({vnode:e,parent:t},n){while(t){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r!==e)break;(e=t.vnode).el=n,t=t.parent}}const an="components",on="directives";function sn(e,t){return dn(an,e,!0,t)||e}const ln=Symbol.for("v-ndc");function cn(e){return Object(r["K"])(e)?dn(an,e,!1)||e:e||ln}function un(e){return dn(on,e)}function dn(e,t,n=!0,a=!1){const o=Ut||Zo;if(o){const n=o.type;if(e===an){const e=yi(n,!1);if(e&&(e===t||e===Object(r["e"])(t)||e===Object(r["f"])(Object(r["e"])(t))))return n}const i=fn(o[e]||n[e],t)||fn(o.appContext[e],t);return!i&&a?n:i}}function fn(e,t){return e&&(e[t]||e[Object(r["e"])(t)]||e[Object(r["f"])(Object(r["e"])(t))])}const hn=e=>e.__isSuspense;let pn=0;const mn={name:"Suspense",__isSuspense:!0,process(e,t,n,r,a,o,i,s,l,c){if(null==e)gn(t,n,r,a,o,i,s,l,c);else{if(o&&o.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.vnode=t,void(t.el=e.el);yn(e,t,n,r,a,i,s,l,c)}},hydrate:wn,create:On,normalize:_n},vn=mn;function bn(e,t){const n=e.props&&e.props[t];Object(r["r"])(n)&&n()}function gn(e,t,n,r,a,o,i,s,l){const{p:c,o:{createElement:u}}=l,d=u("div"),f=e.suspense=On(e,a,r,t,d,n,o,i,s,l);c(null,f.pendingBranch=e.ssContent,d,null,r,f,o,i),f.deps>0?(bn(e,"onPending"),bn(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,i),xn(f,e.ssFallback)):f.resolve(!1,!0)}function yn(e,t,n,r,a,o,i,s,{p:l,um:c,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const f=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:m,isInFallback:v,isHydrating:b}=d;if(m)d.pendingBranch=f,Lo(f,m)?(l(m,f,d.hiddenContainer,null,a,d,o,i,s),d.deps<=0?d.resolve():v&&(b||(l(p,h,n,r,a,null,o,i,s),xn(d,h)))):(d.pendingId=pn++,b?(d.isHydrating=!1,d.activeBranch=m):c(m,a,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),v?(l(null,f,d.hiddenContainer,null,a,d,o,i,s),d.deps<=0?d.resolve():(l(p,h,n,r,a,null,o,i,s),xn(d,h))):p&&Lo(f,p)?(l(p,f,n,r,a,d,o,i,s),d.resolve(!0)):(l(null,f,d.hiddenContainer,null,a,d,o,i,s),d.deps<=0&&d.resolve()));else if(p&&Lo(f,p))l(p,f,n,r,a,d,o,i,s),xn(d,f);else if(bn(t,"onPending"),d.pendingBranch=f,512&f.shapeFlag?d.pendingId=f.component.suspenseId:d.pendingId=pn++,l(null,f,d.hiddenContainer,null,a,d,o,i,s),d.deps<=0)d.resolve();else{const{timeout:e,pendingId:t}=d;e>0?setTimeout(()=>{d.pendingId===t&&d.fallback(h)},e):0===e&&d.fallback(h)}}function On(e,t,n,a,o,i,s,l,c,u,d=!1){const{p:f,m:h,um:p,n:m,o:{parentNode:v,remove:b}}=u;let g;const y=Sn(e);y&&t&&t.pendingBranch&&(g=t.pendingId,t.deps++);const O=e.props?Object(r["X"])(e.props.timeout):void 0;const w=i,_={vnode:e,parent:t,parentComponent:n,namespace:s,container:a,hiddenContainer:o,deps:0,pendingId:pn++,timeout:"number"===typeof O?O:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{vnode:r,activeBranch:a,pendingBranch:o,pendingId:s,effects:l,parentComponent:c,container:u}=_;let d=!1;_.isHydrating?_.isHydrating=!1:e||(d=a&&o.transition&&"out-in"===o.transition.mode,d&&(a.transition.afterLeave=()=>{s===_.pendingId&&(h(o,u,i===w?m(a):i,0),Et(l))}),a&&(v(a.el)!==_.hiddenContainer&&(i=m(a)),p(a,c,_,!0)),d||h(o,u,i,0)),xn(_,o),_.pendingBranch=null,_.isInFallback=!1;let f=_.parent,b=!1;while(f){if(f.pendingBranch){f.effects.push(...l),b=!0;break}f=f.parent}b||d||Et(l),_.effects=[],y&&t&&t.pendingBranch&&g===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),bn(r,"onResolve")},fallback(e){if(!_.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:a,namespace:o}=_;bn(t,"onFallback");const i=m(n),s=()=>{_.isInFallback&&(f(null,e,a,i,r,null,o,l,c),xn(_,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=s),_.isInFallback=!0,p(n,r,null,!0),u||s()},move(e,t,n){_.activeBranch&&h(_.activeBranch,e,t,n),_.container=e},next(){return _.activeBranch&&m(_.activeBranch)},registerDep(e,t){const n=!!_.pendingBranch;n&&_.deps++;const r=e.vnode.el;e.asyncDep.catch(t=>{mt(t,e,0)}).then(a=>{if(e.isUnmounted||_.isUnmounted||_.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:o}=e;ui(e,a,!1),r&&(o.el=r);const i=!r&&e.subTree.el;t(e,o,v(r||e.subTree.el),r?null:m(e.subTree),_,s,c),i&&b(i),rn(e,o.el),n&&0===--_.deps&&_.resolve()})},unmount(e,t){_.isUnmounted=!0,_.activeBranch&&p(_.activeBranch,n,e,t),_.pendingBranch&&p(_.pendingBranch,n,e,t)}};return _}function wn(e,t,n,r,a,o,i,s,l){const c=t.suspense=On(t,r,n,e.parentNode,document.createElement("div"),null,a,o,i,s,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,o,i);return 0===c.deps&&c.resolve(!1,!0),u}function _n(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=jn(r?n.default:n),e.ssFallback=r?jn(n.fallback):Io(yo)}function jn(e){let t;if(Object(r["r"])(e)){const n=So&&e._c;n&&(e._d=!1,jo()),e=e(),n&&(e._d=!0,t=_o,ko())}if(Object(r["o"])(e)){const t=Zt(e);0,e=t}return e=Uo(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function kn(e,t){t&&t.pendingBranch?Object(r["o"])(e)?t.effects.push(...e):t.effects.push(e):Et(e)}function xn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let a=t.el;while(!a&&t.component)t=t.component.subTree,a=t.el;n.el=a,r&&r.subTree===n&&(r.vnode.el=a,rn(r,a))}function Sn(e){const t=e.props&&e.props.suspensible;return null!=t&&!1!==t}const Cn=Symbol.for("v-scx"),Mn=()=>{{const e=va(Cn);return e}};function An(e,t){return Dn(e,null,t)}function Tn(e,t){return Dn(e,null,{flush:"post"})}function En(e,t){return Dn(e,null,{flush:"sync"})}const Ln={};function Pn(e,t,n){return Dn(e,t,n)}function Dn(e,t,{immediate:n,deep:a,flush:o,once:i,onTrack:s,onTrigger:l}=r["b"]){if(t&&i){const e=t;t=(...t)=>{e(...t),k()}}const u=Zo,f=e=>!0===a?e:In(e,!1===a?1:void 0);let h,p,m=!1,v=!1;if(Be(e)?(h=()=>e.value,m=Me(e)):Se(e)?(h=()=>f(e),m=!0):Object(r["o"])(e)?(v=!0,m=e.some(e=>Se(e)||Me(e)),h=()=>e.map(e=>Be(e)?e.value:Se(e)?f(e):Object(r["r"])(e)?ht(e,u,2):void 0)):h=Object(r["r"])(e)?t?()=>ht(e,u,2):()=>(p&&p(),pt(e,u,3,[g])):r["d"],t&&a){const e=h;h=()=>In(e())}let b,g=e=>{p=_.onStop=()=>{ht(e,u,4),p=_.onStop=void 0}};if(si){if(g=r["d"],t?n&&pt(t,u,3,[h(),v?[]:void 0,g]):h(),"sync"!==o)return r["d"];{const e=Mn();b=e.__watcherHandles||(e.__watcherHandles=[])}}let y=v?new Array(e.length).fill(Ln):Ln;const O=()=>{if(_.active&&_.dirty)if(t){const e=_.run();(a||m||(v?e.some((e,t)=>Object(r["j"])(e,y[t])):Object(r["j"])(e,y)))&&(p&&p(),pt(t,u,3,[e,y===Ln?void 0:v&&y[0]===Ln?[]:y,g]),y=e)}else _.run()};let w;O.allowRecurse=!!t,"sync"===o?w=O:"post"===o?w=()=>Ka(O,u&&u.suspense):(O.pre=!0,u&&(O.id=u.uid),w=()=>Mt(O));const _=new d(h,r["d"],w),j=c(),k=()=>{_.stop(),j&&Object(r["T"])(j.effects,_)};return t?n?O():y=_.run():"post"===o?Ka(_.run.bind(_),u&&u.suspense):_.run(),b&&b.push(k),k}function Nn(e,t,n){const a=this.proxy,o=Object(r["K"])(e)?e.includes(".")?Rn(a,e):()=>a[e]:e.bind(a,a);let i;Object(r["r"])(t)?i=t:(i=t.handler,n=t);const s=ni(this),l=Dn(o,i.bind(a),n);return s(),l}function Rn(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function In(e,t=1/0,n){if(t<=0||!Object(r["A"])(e)||e["__v_skip"])return e;if(n=n||new Set,n.has(e))return e;if(n.add(e),t--,Be(e))In(e.value,t,n);else if(Object(r["o"])(e))for(let r=0;r<e.length;r++)In(e[r],t,n);else if(Object(r["I"])(e)||Object(r["x"])(e))e.forEach(e=>{In(e,t,n)});else if(Object(r["C"])(e))for(const r in e)In(e[r],t,n);return e}function Bn(e,t){if(null===Ut)return e;const n=vi(Ut)||Ut.proxy,a=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[e,i,s,l=r["b"]]=t[o];e&&(Object(r["r"])(e)&&(e={mounted:e,updated:e}),e.deep&&In(i),a.push({dir:e,instance:n,value:i,oldValue:void 0,arg:s,modifiers:l}))}return e}function Fn(e,t,n,r){const a=e.dirs,o=t&&t.dirs;for(let i=0;i<a.length;i++){const s=a[i];o&&(s.oldValue=o[i].value);let l=s.dir[r];l&&(w(),pt(l,n,8,[e.el,s,e,t]),_())}}const Vn=Symbol("_leaveCb"),zn=Symbol("_enterCb");function Hn(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return vr(()=>{e.isMounted=!0}),yr(()=>{e.isUnmounting=!0}),e}const Yn=[Function,Array],Un={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Yn,onEnter:Yn,onAfterEnter:Yn,onEnterCancelled:Yn,onBeforeLeave:Yn,onLeave:Yn,onAfterLeave:Yn,onLeaveCancelled:Yn,onBeforeAppear:Yn,onAppear:Yn,onAfterAppear:Yn,onAppearCancelled:Yn},Wn={name:"BaseTransition",props:Un,setup(e,{slots:t}){const n=Qo(),r=Hn();return()=>{const a=t.default&&Zn(t.default(),!0);if(!a||!a.length)return;let o=a[0];if(a.length>1){let e=!1;for(const t of a)if(t.type!==yo){0,o=t,e=!0;break}}const i=Te(e),{mode:s}=i;if(r.isLeaving)return Xn(o);const l=Kn(o);if(!l)return Xn(o);const c=Gn(l,i,r,n);Jn(l,c);const u=n.subTree,d=u&&Kn(u);if(d&&d.type!==yo&&!Lo(l,d)){const e=Gn(d,i,r,n);if(Jn(d,e),"out-in"===s&&l.type!==yo)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},Xn(o);"in-out"===s&&l.type!==yo&&(e.delayLeave=(e,t,n)=>{const a=qn(r,d);a[String(d.key)]=d,e[Vn]=()=>{t(),e[Vn]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return o}}},$n=Wn;function qn(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Gn(e,t,n,a){const{appear:o,mode:i,persisted:s=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:v,onAppear:b,onAfterAppear:g,onAppearCancelled:y}=t,O=String(e.key),w=qn(n,e),_=(e,t)=>{e&&pt(e,a,9,t)},j=(e,t)=>{const n=t[1];_(e,t),Object(r["o"])(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},k={mode:i,persisted:s,beforeEnter(t){let r=l;if(!n.isMounted){if(!o)return;r=v||l}t[Vn]&&t[Vn](!0);const a=w[O];a&&Lo(e,a)&&a.el[Vn]&&a.el[Vn](),_(r,[t])},enter(e){let t=c,r=u,a=d;if(!n.isMounted){if(!o)return;t=b||c,r=g||u,a=y||d}let i=!1;const s=e[zn]=t=>{i||(i=!0,_(t?a:r,[e]),k.delayedLeave&&k.delayedLeave(),e[zn]=void 0)};t?j(t,[e,s]):s()},leave(t,r){const a=String(e.key);if(t[zn]&&t[zn](!0),n.isUnmounting)return r();_(f,[t]);let o=!1;const i=t[Vn]=n=>{o||(o=!0,r(),_(n?m:p,[t]),t[Vn]=void 0,w[a]===e&&delete w[a])};w[a]=e,h?j(h,[t,i]):i()},clone(e){return Gn(e,t,n,a)}};return k}function Xn(e){if(rr(e))return e=Vo(e),e.children=null,e}function Kn(e){if(!rr(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&Object(r["r"])(n.default))return n.default()}}function Jn(e,t){6&e.shapeFlag&&e.component?Jn(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Zn(e,t=!1,n){let r=[],a=0;for(let o=0;o<e.length;o++){let i=e[o];const s=null==n?i.key:String(n)+String(null!=i.key?i.key:o);i.type===bo?(128&i.patchFlag&&a++,r=r.concat(Zn(i.children,t,s))):(t||i.type!==yo)&&r.push(null!=s?Vo(i,{key:s}):i)}if(a>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}
/*! #__NO_SIDE_EFFECTS__ */function Qn(e,t){return Object(r["r"])(e)?(()=>Object(r["h"])({name:e.name},t,{setup:e}))():e}const er=e=>!!e.type.__asyncLoader
/*! #__NO_SIDE_EFFECTS__ */;function tr(e){Object(r["r"])(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:a,delay:o=200,timeout:i,suspensible:s=!0,onError:l}=e;let c,u=null,d=0;const f=()=>(d++,u=null,h()),h=()=>{let e;return u||(e=u=t().catch(e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise((t,n)=>{const r=()=>t(f()),a=()=>n(e);l(e,r,a,d+1)});throw e}).then(t=>e!==u&&u?u:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t)))};return Qn({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return c},setup(){const e=Zo;if(c)return()=>nr(c,e);const t=t=>{u=null,mt(t,e,13,!a)};if(s&&e.suspense||si)return h().then(t=>()=>nr(t,e)).catch(e=>(t(e),()=>a?Io(a,{error:e}):null));const r=Fe(!1),l=Fe(),d=Fe(!!o);return o&&setTimeout(()=>{d.value=!1},o),null!=i&&setTimeout(()=>{if(!r.value&&!l.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),l.value=e}},i),h().then(()=>{r.value=!0,e.parent&&rr(e.parent.vnode)&&(e.parent.effect.dirty=!0,Mt(e.parent.update))}).catch(e=>{t(e),l.value=e}),()=>r.value&&c?nr(c,e):l.value&&a?Io(a,{error:l.value}):n&&!d.value?Io(n):void 0}})}function nr(e,t){const{ref:n,props:r,children:a,ce:o}=t.vnode,i=Io(e,r,a);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const rr=e=>e.type.__isKeepAlive,ar={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Qo(),a=n.ctx;if(!a.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const o=new Map,i=new Set;let s=null;const l=n.suspense,{renderer:{p:c,m:u,um:d,o:{createElement:f}}}=a,h=f("div");function p(e){dr(e),d(e,n,l,!0)}function m(e){o.forEach((t,n)=>{const r=yi(t.type);!r||e&&e(r)||v(n)})}function v(e){const t=o.get(e);s&&Lo(t,s)?s&&dr(s):p(t),o.delete(e),i.delete(e)}a.activate=(e,t,n,a,o)=>{const i=e.component;u(e,t,n,0,l),c(i.vnode,e,t,n,i,l,a,e.slotScopeIds,o),Ka(()=>{i.isDeactivated=!1,i.a&&Object(r["n"])(i.a);const t=e.props&&e.props.onVnodeMounted;t&&Go(t,i.parent,e)},l)},a.deactivate=e=>{const t=e.component;u(e,h,null,1,l),Ka(()=>{t.da&&Object(r["n"])(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Go(n,t.parent,e),t.isDeactivated=!0},l)},Pn(()=>[e.include,e.exclude],([e,t])=>{e&&m(t=>ir(e,t)),t&&m(e=>!ir(t,e))},{flush:"post",deep:!0});let b=null;const g=()=>{null!=b&&o.set(b,fr(n.subTree))};return vr(g),gr(g),yr(()=>{o.forEach(e=>{const{subTree:t,suspense:r}=n,a=fr(t);if(e.type!==a.type||e.key!==a.key)p(e);else{dr(a);const e=a.component.da;e&&Ka(e,r)}})}),()=>{if(b=null,!t.default)return null;const n=t.default(),r=n[0];if(n.length>1)return s=null,n;if(!Eo(r)||!(4&r.shapeFlag)&&!(128&r.shapeFlag))return s=null,r;let a=fr(r);const l=a.type,c=yi(er(a)?a.type.__asyncResolved||{}:l),{include:u,exclude:d,max:f}=e;if(u&&(!c||!ir(u,c))||d&&c&&ir(d,c))return s=a,r;const h=null==a.key?l:a.key,p=o.get(h);return a.el&&(a=Vo(a),128&r.shapeFlag&&(r.ssContent=a)),b=h,p?(a.el=p.el,a.component=p.component,a.transition&&Jn(a,a.transition),a.shapeFlag|=512,i.delete(h),i.add(h)):(i.add(h),f&&i.size>parseInt(f,10)&&v(i.values().next().value)),a.shapeFlag|=256,s=a,hn(r.type)?r:a}}},or=ar;function ir(e,t){return Object(r["o"])(e)?e.some(e=>ir(e,t)):Object(r["K"])(e)?e.split(",").includes(t):!!Object(r["E"])(e)&&e.test(t)}function sr(e,t){cr(e,"a",t)}function lr(e,t){cr(e,"da",t)}function cr(e,t,n=Zo){const r=e.__wdc||(e.__wdc=()=>{let t=n;while(t){if(t.isDeactivated)return;t=t.parent}return e()});if(hr(t,r,n),n){let e=n.parent;while(e&&e.parent)rr(e.parent.vnode)&&ur(r,t,n,e),e=e.parent}}function ur(e,t,n,a){const o=hr(t,e,a,!0);Or(()=>{Object(r["T"])(a[t],o)},n)}function dr(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function fr(e){return 128&e.shapeFlag?e.ssContent:e}function hr(e,t,n=Zo,r=!1){if(n){const a=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;w();const a=ni(n),o=pt(t,n,e,r);return a(),_(),o});return r?a.unshift(o):a.push(o),o}}const pr=e=>(t,n=Zo)=>(!si||"sp"===e)&&hr(e,(...e)=>t(...e),n),mr=pr("bm"),vr=pr("m"),br=pr("bu"),gr=pr("u"),yr=pr("bum"),Or=pr("um"),wr=pr("sp"),_r=pr("rtg"),jr=pr("rtc");function kr(e,t=Zo){hr("ec",e,t)}function xr(e,t,n,a){let o;const i=n&&n[a];if(Object(r["o"])(e)||Object(r["K"])(e)){o=new Array(e.length);for(let n=0,r=e.length;n<r;n++)o[n]=t(e[n],n,void 0,i&&i[n])}else if("number"===typeof e){0,o=new Array(e);for(let n=0;n<e;n++)o[n]=t(n+1,n,void 0,i&&i[n])}else if(Object(r["A"])(e))if(e[Symbol.iterator])o=Array.from(e,(e,n)=>t(e,n,void 0,i&&i[n]));else{const n=Object.keys(e);o=new Array(n.length);for(let r=0,a=n.length;r<a;r++){const a=n[r];o[r]=t(e[a],a,r,i&&i[r])}}else o=[];return n&&(n[a]=o),o}function Sr(e,t){for(let n=0;n<t.length;n++){const a=t[n];if(Object(r["o"])(a))for(let t=0;t<a.length;t++)e[a[t].name]=a[t].fn;else a&&(e[a.name]=a.key?(...e)=>{const t=a.fn(...e);return t&&(t.key=a.key),t}:a.fn)}return e}function Cr(e,t,n={},r,a){if(Ut.isCE||Ut.parent&&er(Ut.parent)&&Ut.parent.isCE)return"default"!==t&&(n.name=t),Io("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),jo();const i=o&&Mr(o(n)),s=To(bo,{key:n.key||i&&i.key||"_"+t},i||(r?r():[]),i&&1===e._?64:-2);return!a&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),o&&o._c&&(o._d=!0),s}function Mr(e){return e.some(e=>!Eo(e)||e.type!==yo&&!(e.type===bo&&!Mr(e.children)))?e:null}function Ar(e,t){const n={};for(const a in e)n[t&&/[A-Z]/.test(a)?"on:"+a:Object(r["W"])(a)]=e[a];return n}const Tr=e=>e?ai(e)?vi(e)||e.proxy:Tr(e.parent):null,Er=Object(r["h"])(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Tr(e.parent),$root:e=>Tr(e.root),$emit:e=>e.emit,$options:e=>ta(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Mt(e.update)}),$nextTick:e=>e.n||(e.n=St.bind(e.proxy)),$watch:e=>Nn.bind(e)}),Lr=(e,t)=>e!==r["b"]&&!e.__isScriptSetup&&Object(r["k"])(e,t),Pr={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:a,data:o,props:i,accessCache:s,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=s[t];if(void 0!==l)switch(l){case 1:return a[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(Lr(a,t))return s[t]=1,a[t];if(o!==r["b"]&&Object(r["k"])(o,t))return s[t]=2,o[t];if((u=e.propsOptions[0])&&Object(r["k"])(u,t))return s[t]=3,i[t];if(n!==r["b"]&&Object(r["k"])(n,t))return s[t]=4,n[t];Kr&&(s[t]=0)}}const d=Er[t];let f,h;return d?("$attrs"===t&&L(e.attrs,"get",""),d(e)):(f=l.__cssModules)&&(f=f[t])?f:n!==r["b"]&&Object(r["k"])(n,t)?(s[t]=4,n[t]):(h=c.config.globalProperties,Object(r["k"])(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:a,setupState:o,ctx:i}=e;return Lr(o,t)?(o[t]=n,!0):a!==r["b"]&&Object(r["k"])(a,t)?(a[t]=n,!0):!Object(r["k"])(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:a,appContext:o,propsOptions:i}},s){let l;return!!n[s]||e!==r["b"]&&Object(r["k"])(e,s)||Lr(t,s)||(l=i[0])&&Object(r["k"])(l,s)||Object(r["k"])(a,s)||Object(r["k"])(Er,s)||Object(r["k"])(o.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:Object(r["k"])(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};const Dr=Object(r["h"])({},Pr,{get(e,t){if(t!==Symbol.unscopables)return Pr.get(e,t,e)},has(e,t){const n="_"!==t[0]&&!Object(r["s"])(t);return n}});function Nr(){return null}function Rr(){return null}function Ir(e){0}function Br(e){0}function Fr(){return null}function Vr(){0}function zr(e,t){return null}function Hr(){return Ur().slots}function Yr(){return Ur().attrs}function Ur(){const e=Qo();return e.setupContext||(e.setupContext=mi(e))}function Wr(e){return Object(r["o"])(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function $r(e,t){const n=Wr(e);for(const a in t){if(a.startsWith("__skip"))continue;let e=n[a];e?Object(r["o"])(e)||Object(r["r"])(e)?e=n[a]={type:e,default:t[a]}:e.default=t[a]:null===e&&(e=n[a]={default:t[a]}),e&&t["__skip_"+a]&&(e.skipFactory=!0)}return n}function qr(e,t){return e&&t?Object(r["o"])(e)&&Object(r["o"])(t)?e.concat(t):Object(r["h"])({},Wr(e),Wr(t)):e||t}function Gr(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Xr(e){const t=Qo();let n=e();return ri(),Object(r["D"])(n)&&(n=n.catch(e=>{throw ni(t),e})),[n,()=>ni(t)]}let Kr=!0;function Jr(e){const t=ta(e),n=e.proxy,a=e.ctx;Kr=!1,t.beforeCreate&&Qr(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:l,provide:c,inject:u,created:d,beforeMount:f,mounted:h,beforeUpdate:p,updated:m,activated:v,deactivated:b,beforeDestroy:g,beforeUnmount:y,destroyed:O,unmounted:w,render:_,renderTracked:j,renderTriggered:k,errorCaptured:x,serverPrefetch:S,expose:C,inheritAttrs:M,components:A,directives:T,filters:E}=t,L=null;if(u&&Zr(u,a,L),s)for(const D in s){const e=s[D];Object(r["r"])(e)&&(a[D]=e.bind(n))}if(o){0;const t=o.call(n,n);0,Object(r["A"])(t)&&(e.data=we(t))}if(Kr=!0,i)for(const D in i){const e=i[D],t=Object(r["r"])(e)?e.bind(n,n):Object(r["r"])(e.get)?e.get.bind(n,n):r["d"];0;const o=!Object(r["r"])(e)&&Object(r["r"])(e.set)?e.set.bind(n):r["d"],s=_i({get:t,set:o});Object.defineProperty(a,D,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(l)for(const r in l)ea(l[r],a,n,r);if(c){const e=Object(r["r"])(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{ma(t,e[t])})}function P(e,t){Object(r["o"])(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(d&&Qr(d,e,"c"),P(mr,f),P(vr,h),P(br,p),P(gr,m),P(sr,v),P(lr,b),P(kr,x),P(jr,j),P(_r,k),P(yr,y),P(Or,w),P(wr,S),Object(r["o"])(C))if(C.length){const t=e.exposed||(e.exposed={});C.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})})}else e.exposed||(e.exposed={});_&&e.render===r["d"]&&(e.render=_),null!=M&&(e.inheritAttrs=M),A&&(e.components=A),T&&(e.directives=T)}function Zr(e,t,n=r["d"]){Object(r["o"])(e)&&(e=ia(e));for(const a in e){const n=e[a];let o;o=Object(r["A"])(n)?"default"in n?va(n.from||a,n.default,!0):va(n.from||a):va(n),Be(o)?Object.defineProperty(t,a,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}):t[a]=o}}function Qr(e,t,n){pt(Object(r["o"])(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function ea(e,t,n,a){const o=a.includes(".")?Rn(n,a):()=>n[a];if(Object(r["K"])(e)){const n=t[e];Object(r["r"])(n)&&Pn(o,n)}else if(Object(r["r"])(e))Pn(o,e.bind(n));else if(Object(r["A"])(e))if(Object(r["o"])(e))e.forEach(e=>ea(e,t,n,a));else{const a=Object(r["r"])(e.handler)?e.handler.bind(n):t[e.handler];Object(r["r"])(a)&&Pn(o,a,e)}else 0}function ta(e){const t=e.type,{mixins:n,extends:a}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,l=i.get(t);let c;return l?c=l:o.length||n||a?(c={},o.length&&o.forEach(e=>na(c,e,s,!0)),na(c,t,s)):c=t,Object(r["A"])(t)&&i.set(t,c),c}function na(e,t,n,r=!1){const{mixins:a,extends:o}=t;o&&na(e,o,n,!0),a&&a.forEach(t=>na(e,t,n,!0));for(const i in t)if(r&&"expose"===i);else{const r=ra[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}const ra={data:aa,props:ca,emits:ca,methods:la,computed:la,beforeCreate:sa,created:sa,beforeMount:sa,mounted:sa,beforeUpdate:sa,updated:sa,beforeDestroy:sa,beforeUnmount:sa,destroyed:sa,unmounted:sa,activated:sa,deactivated:sa,errorCaptured:sa,serverPrefetch:sa,components:la,directives:la,watch:ua,provide:aa,inject:oa};function aa(e,t){return t?e?function(){return Object(r["h"])(Object(r["r"])(e)?e.call(this,this):e,Object(r["r"])(t)?t.call(this,this):t)}:t:e}function oa(e,t){return la(ia(e),ia(t))}function ia(e){if(Object(r["o"])(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function sa(e,t){return e?[...new Set([].concat(e,t))]:t}function la(e,t){return e?Object(r["h"])(Object.create(null),e,t):t}function ca(e,t){return e?Object(r["o"])(e)&&Object(r["o"])(t)?[...new Set([...e,...t])]:Object(r["h"])(Object.create(null),Wr(e),Wr(null!=t?t:{})):t}function ua(e,t){if(!e)return t;if(!t)return e;const n=Object(r["h"])(Object.create(null),e);for(const r in t)n[r]=sa(e[r],t[r]);return n}function da(){return{app:null,config:{isNativeTag:r["c"],performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let fa=0;function ha(e,t){return function(n,a=null){Object(r["r"])(n)||(n=Object(r["h"])({},n)),null==a||Object(r["A"])(a)||(a=null);const o=da(),i=new WeakSet;let s=!1;const l=o.app={_uid:fa++,_component:n,_props:a,_container:null,_context:o,_instance:null,version:Mi,get config(){return o.config},set config(e){0},use(e,...t){return i.has(e)||(e&&Object(r["r"])(e.install)?(i.add(e),e.install(l,...t)):Object(r["r"])(e)&&(i.add(e),e(l,...t))),l},mixin(e){return o.mixins.includes(e)||o.mixins.push(e),l},component(e,t){return t?(o.components[e]=t,l):o.components[e]},directive(e,t){return t?(o.directives[e]=t,l):o.directives[e]},mount(r,i,c){if(!s){0;const u=Io(n,a);return u.appContext=o,!0===c?c="svg":!1===c&&(c=void 0),i&&t?t(u,r):e(u,r,c),s=!0,l._container=r,r.__vue_app__=l,vi(u.component)||u.component.proxy}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(e,t){return o.provides[e]=t,l},runWithContext(e){const t=pa;pa=l;try{return e()}finally{pa=t}}};return l}}let pa=null;function ma(e,t){if(Zo){let n=Zo.provides;const r=Zo.parent&&Zo.parent.provides;r===n&&(n=Zo.provides=Object.create(r)),n[e]=t}else 0}function va(e,t,n=!1){const a=Zo||Ut;if(a||pa){const o=a?null==a.parent?a.vnode.appContext&&a.vnode.appContext.provides:a.parent.provides:pa._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Object(r["r"])(t)?t.call(a&&a.proxy):t}else 0}function ba(){return!!(Zo||Ut||pa)}const ga={},ya=()=>Object.create(ga),Oa=e=>Object.getPrototypeOf(e)===ga;function wa(e,t,n,r=!1){const a={},o=ya();e.propsDefaults=Object.create(null),ja(e,t,a,o);for(const i in e.propsOptions[0])i in a||(a[i]=void 0);n?e.props=r?a:_e(a):e.type.props?e.props=a:e.props=o,e.attrs=o}function _a(e,t,n,a){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,l=Te(o),[c]=e.propsOptions;let u=!1;if(!(a||s>0)||16&s){let a;ja(e,t,o,i)&&(u=!0);for(const i in l)t&&(Object(r["k"])(t,i)||(a=Object(r["l"])(i))!==i&&Object(r["k"])(t,a))||(c?!n||void 0===n[i]&&void 0===n[a]||(o[i]=ka(c,l,i,void 0,e,!0)):delete o[i]);if(i!==l)for(const e in i)t&&Object(r["k"])(t,e)||(delete i[e],u=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let a=0;a<n.length;a++){let s=n[a];if(Yt(e.emitsOptions,s))continue;const d=t[s];if(c)if(Object(r["k"])(i,s))d!==i[s]&&(i[s]=d,u=!0);else{const t=Object(r["e"])(s);o[t]=ka(c,l,t,d,e,!1)}else d!==i[s]&&(i[s]=d,u=!0)}}u&&P(e.attrs,"set","")}function ja(e,t,n,a){const[o,i]=e.propsOptions;let s,l=!1;if(t)for(let c in t){if(Object(r["G"])(c))continue;const u=t[c];let d;o&&Object(r["k"])(o,d=Object(r["e"])(c))?i&&i.includes(d)?(s||(s={}))[d]=u:n[d]=u:Yt(e.emitsOptions,c)||c in a&&u===a[c]||(a[c]=u,l=!0)}if(i){const t=Te(n),a=s||r["b"];for(let s=0;s<i.length;s++){const l=i[s];n[l]=ka(o,t,l,a[l],e,!Object(r["k"])(a,l))}}return l}function ka(e,t,n,a,o,i){const s=e[n];if(null!=s){const e=Object(r["k"])(s,"default");if(e&&void 0===a){const e=s.default;if(s.type!==Function&&!s.skipFactory&&Object(r["r"])(e)){const{propsDefaults:r}=o;if(n in r)a=r[n];else{const i=ni(o);a=r[n]=e.call(null,t),i()}}else a=e}s[0]&&(i&&!e?a=!1:!s[1]||""!==a&&a!==Object(r["l"])(n)||(a=!0))}return a}function xa(e,t,n=!1){const a=t.propsCache,o=a.get(e);if(o)return o;const i=e.props,s={},l=[];let c=!1;if(!Object(r["r"])(e)){const a=e=>{c=!0;const[n,a]=xa(e,t,!0);Object(r["h"])(s,n),a&&l.push(...a)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return Object(r["A"])(e)&&a.set(e,r["a"]),r["a"];if(Object(r["o"])(i))for(let d=0;d<i.length;d++){0;const e=Object(r["e"])(i[d]);Sa(e)&&(s[e]=r["b"])}else if(i){0;for(const e in i){const t=Object(r["e"])(e);if(Sa(t)){const n=i[e],a=s[t]=Object(r["o"])(n)||Object(r["r"])(n)?{type:n}:Object(r["h"])({},n);if(a){const e=Aa(Boolean,a.type),n=Aa(String,a.type);a[0]=e>-1,a[1]=n<0||e<n,(e>-1||Object(r["k"])(a,"default"))&&l.push(t)}}}}const u=[s,l];return Object(r["A"])(e)&&a.set(e,u),u}function Sa(e){return"$"!==e[0]&&!Object(r["G"])(e)}function Ca(e){if(null===e)return"null";if("function"===typeof e)return e.name||"";if("object"===typeof e){const t=e.constructor&&e.constructor.name;return t||""}return""}function Ma(e,t){return Ca(e)===Ca(t)}function Aa(e,t){return Object(r["o"])(t)?t.findIndex(t=>Ma(t,e)):Object(r["r"])(t)&&Ma(t,e)?0:-1}const Ta=e=>"_"===e[0]||"$stable"===e,Ea=e=>Object(r["o"])(e)?e.map(Uo):[Uo(e)],La=(e,t,n)=>{if(t._n)return t;const r=Kt((...e)=>Ea(t(...e)),n);return r._c=!1,r},Pa=(e,t,n)=>{const a=e._ctx;for(const o in e){if(Ta(o))continue;const n=e[o];if(Object(r["r"])(n))t[o]=La(o,n,a);else if(null!=n){0;const e=Ea(n);t[o]=()=>e}}},Da=(e,t)=>{const n=Ea(t);e.slots.default=()=>n},Na=(e,t)=>{const n=e.slots=ya();if(32&e.vnode.shapeFlag){const e=t._;e?(Object(r["h"])(n,t),Object(r["g"])(n,"_",e,!0)):Pa(t,n)}else t&&Da(e,t)},Ra=(e,t,n)=>{const{vnode:a,slots:o}=e;let i=!0,s=r["b"];if(32&a.shapeFlag){const e=t._;e?n&&1===e?i=!1:(Object(r["h"])(o,t),n||1!==e||delete o._):(i=!t.$stable,Pa(t,o)),s=t}else t&&(Da(e,t),s={default:1});if(i)for(const r in o)Ta(r)||null!=s[r]||delete o[r]};function Ia(e,t,n,a,o=!1){if(Object(r["o"])(e))return void e.forEach((e,i)=>Ia(e,t&&(Object(r["o"])(t)?t[i]:t),n,a,o));if(er(a)&&!o)return;const i=4&a.shapeFlag?vi(a.component)||a.component.proxy:a.el,s=o?null:i,{i:l,r:c}=e;const u=t&&t.r,d=l.refs===r["b"]?l.refs={}:l.refs,f=l.setupState;if(null!=u&&u!==c&&(Object(r["K"])(u)?(d[u]=null,Object(r["k"])(f,u)&&(f[u]=null)):Be(u)&&(u.value=null)),Object(r["r"])(c))ht(c,l,12,[s,d]);else{const t=Object(r["K"])(c),a=Be(c);if(t||a){const l=()=>{if(e.f){const n=t?Object(r["k"])(f,c)?f[c]:d[c]:c.value;o?Object(r["o"])(n)&&Object(r["T"])(n,i):Object(r["o"])(n)?n.includes(i)||n.push(i):t?(d[c]=[i],Object(r["k"])(f,c)&&(f[c]=d[c])):(c.value=[i],e.k&&(d[e.k]=c.value))}else t?(d[c]=s,Object(r["k"])(f,c)&&(f[c]=s)):a&&(c.value=s,e.k&&(d[e.k]=s))};s?(l.id=-1,Ka(l,n)):l()}else 0}}let Ba=!1;const Fa=e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName,Va=e=>e.namespaceURI.includes("MathML"),za=e=>Fa(e)?"svg":Va(e)?"mathml":void 0,Ha=e=>8===e.nodeType;function Ya(e){const{mt:t,p:n,o:{patchProp:a,createText:o,nextSibling:i,parentNode:s,remove:l,insert:c,createComment:u}}=e,d=(e,t)=>{if(!t.hasChildNodes())return __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&at("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,e,t),Pt(),void(t._vnode=e);Ba=!1,f(t.firstChild,e,null,null,null),Pt(),t._vnode=e,Ba&&console.error("Hydration completed but contains mismatches.")},f=(n,r,a,l,u,d=!1)=>{d=d||!!r.dynamicChildren;const O=Ha(n)&&"["===n.data,w=()=>v(n,r,a,l,u,O),{type:_,ref:j,shapeFlag:k,patchFlag:x}=r;let S=n.nodeType;r.el=n,-2===x&&(d=!1,r.dynamicChildren=null);let C=null;switch(_){case go:3!==S?""===r.children?(c(r.el=o(""),s(n),n),C=n):C=w():(n.data!==r.children&&(Ba=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&at("Hydration text mismatch in",n.parentNode,`\n  - rendered on server: ${JSON.stringify(n.data)}\n  - expected on client: ${JSON.stringify(r.children)}`),n.data=r.children),C=i(n));break;case yo:y(n)?(C=i(n),g(r.el=n.content.firstChild,n,a)):C=8!==S||O?w():i(n);break;case Oo:if(O&&(n=i(n),S=n.nodeType),1===S||3===S){C=n;const e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=1===C.nodeType?C.outerHTML:C.data),t===r.staticCount-1&&(r.anchor=C),C=i(C);return O?i(C):C}w();break;case bo:C=O?m(n,r,a,l,u,d):w();break;default:if(1&k)C=1===S&&r.type.toLowerCase()===n.tagName.toLowerCase()||y(n)?h(n,r,a,l,u,d):w();else if(6&k){r.slotScopeIds=u;const e=s(n);if(C=O?b(n):Ha(n)&&"teleport start"===n.data?b(n,n.data,"teleport end"):i(n),t(r,e,null,a,l,za(e),d),er(r)){let t;O?(t=Io(bo),t.anchor=C?C.previousSibling:e.lastChild):t=3===n.nodeType?zo(""):Io("div"),t.el=n,r.component.subTree=t}}else 64&k?C=8!==S?w():r.type.hydrate(n,r,a,l,u,d,e,p):128&k?C=r.type.hydrate(n,r,a,l,za(s(n)),u,d,e,f):__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&at("Invalid HostVNode type:",_,`(${typeof _})`)}return null!=j&&Ia(j,null,l,r),C},h=(e,t,n,o,i,s)=>{s=s||!!t.dynamicChildren;const{type:c,props:u,patchFlag:d,shapeFlag:f,dirs:h,transition:m}=t,v="input"===c||"option"===c;if(v||-1!==d){h&&Fn(t,null,n,"created");let c,b=!1;if(y(e)){b=no(o,m)&&n&&n.vnode.props&&n.vnode.props.appear;const r=e.content.firstChild;b&&m.beforeEnter(r),g(r,e,n),t.el=e=r}if(16&f&&(!u||!u.innerHTML&&!u.textContent)){let r=p(e.firstChild,t,e,n,o,i,s),a=!1;while(r){Ba=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&!a&&(at("Hydration children mismatch on",e,"\nServer rendered element contains more child nodes than client vdom."),a=!0);const t=r;r=r.nextSibling,l(t)}}else 8&f&&e.textContent!==t.children&&(Ba=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&at("Hydration text content mismatch on",e,`\n  - rendered on server: ${e.textContent}\n  - expected on client: ${t.children}`),e.textContent=t.children);if(u)if(__VUE_PROD_HYDRATION_MISMATCH_DETAILS__||v||!s||48&d)for(const o in u)__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&Ua(e,o,u[o],t,n)&&(Ba=!0),(v&&(o.endsWith("value")||"indeterminate"===o)||Object(r["B"])(o)&&!Object(r["G"])(o)||"."===o[0])&&a(e,o,null,u[o],void 0,void 0,n);else u.onClick&&a(e,"onClick",null,u.onClick,void 0,void 0,n);(c=u&&u.onVnodeBeforeMount)&&Go(c,n,t),h&&Fn(t,null,n,"beforeMount"),((c=u&&u.onVnodeMounted)||h||b)&&kn(()=>{c&&Go(c,n,t),b&&m.enter(e),h&&Fn(t,null,n,"mounted")},o)}return e.nextSibling},p=(e,t,r,a,o,i,s)=>{s=s||!!t.dynamicChildren;const l=t.children,c=l.length;let u=!1;for(let d=0;d<c;d++){const t=s?l[d]:l[d]=Uo(l[d]);if(e)e=f(e,t,a,o,i,s);else{if(t.type===go&&!t.children)continue;Ba=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&!u&&(at("Hydration children mismatch on",r,"\nServer rendered element contains fewer child nodes than client vdom."),u=!0),n(null,t,r,null,a,o,za(r),i)}}return e},m=(e,t,n,r,a,o)=>{const{slotScopeIds:l}=t;l&&(a=a?a.concat(l):l);const d=s(e),f=p(i(e),t,d,n,r,a,o);return f&&Ha(f)&&"]"===f.data?i(t.anchor=f):(Ba=!0,c(t.anchor=u("]"),d,f),f)},v=(e,t,r,a,o,c)=>{if(Ba=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&at("Hydration node mismatch:\n- rendered on server:",e,3===e.nodeType?"(text)":Ha(e)&&"["===e.data?"(start of fragment)":"","\n- expected on client:",t.type),t.el=null,c){const t=b(e);while(1){const n=i(e);if(!n||n===t)break;l(n)}}const u=i(e),d=s(e);return l(e),n(null,t,d,u,r,a,za(d),o),u},b=(e,t="[",n="]")=>{let r=0;while(e)if(e=i(e),e&&Ha(e)&&(e.data===t&&r++,e.data===n)){if(0===r)return i(e);r--}return e},g=(e,t,n)=>{const r=t.parentNode;r&&r.replaceChild(e,t);let a=n;while(a)a.vnode.el===t&&(a.vnode.el=a.subTree.el=e),a=a.parent},y=e=>1===e.nodeType&&"template"===e.tagName.toLowerCase();return[d,f]}function Ua(e,t,n,a,o){var i;let s,l,c,u;if("class"===t)c=e.getAttribute("class"),u=Object(r["Q"])(n),$a(Wa(c||""),Wa(u))||(s=l="class");else if("style"===t){c=e.getAttribute("style")||"",u=Object(r["K"])(n)?n:Object(r["U"])(Object(r["S"])(n));const t=qa(c),d=qa(u);if(a.dirs)for(const{dir:e,value:n}of a.dirs)"show"!==e.name||n||d.set("display","none");const f=null==o?void 0:o.subTree;if(a===f||(null==f?void 0:f.type)===bo&&f.children.includes(a)){const e=null==(i=null==o?void 0:o.getCssVars)?void 0:i.call(o);for(const t in e)d.set("--"+t,String(e[t]))}Ga(t,d)||(s=l="style")}else(e instanceof SVGElement&&Object(r["w"])(t)||e instanceof HTMLElement&&(Object(r["p"])(t)||Object(r["v"])(t)))&&(Object(r["p"])(t)?(c=e.hasAttribute(t),u=Object(r["m"])(n)):null==n?(c=e.hasAttribute(t),u=!1):(c=e.hasAttribute(t)?e.getAttribute(t):"value"===t&&"TEXTAREA"===e.tagName&&e.value,u=!!Object(r["F"])(n)&&String(n)),c!==u&&(s="attribute",l=t));if(s){const t=e=>!1===e?"(not rendered)":`${l}="${e}"`,n=`Hydration ${s} mismatch on`,r=`\n  - rendered on server: ${t(c)}\n  - expected on client: ${t(u)}\n  Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.\n  You should fix the source of the mismatch.`;return at(n,e,r),!0}return!1}function Wa(e){return new Set(e.trim().split(/\s+/))}function $a(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}function qa(e){const t=new Map;for(const n of e.split(";")){let[e,r]=n.split(":");e=null==e?void 0:e.trim(),r=null==r?void 0:r.trim(),e&&r&&t.set(e,r)}return t}function Ga(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e)if(r!==t.get(n))return!1;return!0}function Xa(){"boolean"!==typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&(Object(r["i"])().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1)}const Ka=kn;function Ja(e){return Qa(e)}function Za(e){return Qa(e,Ya)}function Qa(e,t){Xa();const n=Object(r["i"])();n.__VUE__=!0;const{insert:a,remove:o,patchProp:i,createElement:s,createText:l,createComment:c,setText:u,setElementText:f,parentNode:h,nextSibling:p,setScopeId:m=r["d"],insertStaticContent:v}=e,b=(e,t,n,r=null,a=null,o=null,i,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Lo(e,t)&&(r=q(e),H(e,a,o,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case go:g(e,t,n,r);break;case yo:y(e,t,n,r);break;case Oo:null==e&&O(t,n,r,i);break;case bo:L(e,t,n,r,a,o,i,s,l);break;default:1&d?x(e,t,n,r,a,o,i,s,l):6&d?P(e,t,n,r,a,o,i,s,l):(64&d||128&d)&&c.process(e,t,n,r,a,o,i,s,l,K)}null!=u&&a&&Ia(u,e&&e.ref,o,t||e,!t)},g=(e,t,n,r)=>{if(null==e)a(t.el=l(t.children),n,r);else{const n=t.el=e.el;t.children!==e.children&&u(n,t.children)}},y=(e,t,n,r)=>{null==e?a(t.el=c(t.children||""),n,r):t.el=e.el},O=(e,t,n,r)=>{[e.el,e.anchor]=v(e.children,t,n,r,e.el,e.anchor)},j=({el:e,anchor:t},n,r)=>{let o;while(e&&e!==t)o=p(e),a(e,n,r),e=o;a(t,n,r)},k=({el:e,anchor:t})=>{let n;while(e&&e!==t)n=p(e),o(e),e=n;o(t)},x=(e,t,n,r,a,o,i,s,l)=>{"svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e?S(t,n,r,a,o,i,s,l):A(e,t,a,o,i,s,l)},S=(e,t,n,o,l,c,u,d)=>{let h,p;const{props:m,shapeFlag:v,transition:b,dirs:g}=e;if(h=e.el=s(e.type,c,m&&m.is,m),8&v?f(h,e.children):16&v&&M(e.children,h,null,o,l,eo(e,c),u,d),g&&Fn(e,null,o,"created"),C(h,e,e.scopeId,u,o),m){for(const t in m)"value"===t||Object(r["G"])(t)||i(h,t,null,m[t],c,e.children,o,l,$);"value"in m&&i(h,"value",null,m.value,c),(p=m.onVnodeBeforeMount)&&Go(p,o,e)}g&&Fn(e,null,o,"beforeMount");const y=no(l,b);y&&b.beforeEnter(h),a(h,t,n),((p=m&&m.onVnodeMounted)||y||g)&&Ka(()=>{p&&Go(p,o,e),y&&b.enter(h),g&&Fn(e,null,o,"mounted")},l)},C=(e,t,n,r,a)=>{if(n&&m(e,n),r)for(let o=0;o<r.length;o++)m(e,r[o]);if(a){let n=a.subTree;if(t===n){const t=a.vnode;C(e,t,t.scopeId,t.slotScopeIds,a.parent)}}},M=(e,t,n,r,a,o,i,s,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=s?Wo(e[c]):Uo(e[c]);b(null,l,t,n,r,a,o,i,s)}},A=(e,t,n,a,o,s,l)=>{const c=t.el=e.el;let{patchFlag:u,dynamicChildren:d,dirs:h}=t;u|=16&e.patchFlag;const p=e.props||r["b"],m=t.props||r["b"];let v;if(n&&to(n,!1),(v=m.onVnodeBeforeUpdate)&&Go(v,n,t,e),h&&Fn(t,e,n,"beforeUpdate"),n&&to(n,!0),d?T(e.dynamicChildren,d,c,n,a,eo(t,o),s):l||B(e,t,c,null,n,a,eo(t,o),s,!1),u>0){if(16&u)E(c,t,p,m,n,a,o);else if(2&u&&p.class!==m.class&&i(c,"class",null,m.class,o),4&u&&i(c,"style",p.style,m.style,o),8&u){const r=t.dynamicProps;for(let t=0;t<r.length;t++){const s=r[t],l=p[s],u=m[s];u===l&&"value"!==s||i(c,s,l,u,o,e.children,n,a,$)}}1&u&&e.children!==t.children&&f(c,t.children)}else l||null!=d||E(c,t,p,m,n,a,o);((v=m.onVnodeUpdated)||h)&&Ka(()=>{v&&Go(v,n,t,e),h&&Fn(t,e,n,"updated")},a)},T=(e,t,n,r,a,o,i)=>{for(let s=0;s<t.length;s++){const l=e[s],c=t[s],u=l.el&&(l.type===bo||!Lo(l,c)||70&l.shapeFlag)?h(l.el):n;b(l,c,u,null,r,a,o,i,!0)}},E=(e,t,n,a,o,s,l)=>{if(n!==a){if(n!==r["b"])for(const c in n)Object(r["G"])(c)||c in a||i(e,c,n[c],null,l,t.children,o,s,$);for(const c in a){if(Object(r["G"])(c))continue;const u=a[c],d=n[c];u!==d&&"value"!==c&&i(e,c,d,u,l,t.children,o,s,$)}"value"in a&&i(e,"value",n.value,a.value,l)}},L=(e,t,n,r,o,i,s,c,u)=>{const d=t.el=e?e.el:l(""),f=t.anchor=e?e.anchor:l("");let{patchFlag:h,dynamicChildren:p,slotScopeIds:m}=t;m&&(c=c?c.concat(m):m),null==e?(a(d,n,r),a(f,n,r),M(t.children||[],n,f,o,i,s,c,u)):h>0&&64&h&&p&&e.dynamicChildren?(T(e.dynamicChildren,p,n,o,i,s,c),(null!=t.key||o&&t===o.subTree)&&ro(e,t,!0)):B(e,t,n,f,o,i,s,c,u)},P=(e,t,n,r,a,o,i,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?a.ctx.activate(t,n,r,i,l):D(t,n,r,a,o,i,l):N(e,t,l)},D=(e,t,n,r,a,o,i)=>{const s=e.component=Jo(e,r,a);if(rr(e)&&(s.ctx.renderer=K),li(s),s.asyncDep){if(a&&a.registerDep(s,R),!e.el){const e=s.subTree=Io(yo);y(null,e,t,n)}}else R(s,e,t,n,a,o,i)},N=(e,t,n)=>{const r=t.component=e.component;if(tn(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void I(r,t,n);r.next=t,Tt(r.update),r.effect.dirty=!0,r.update()}else t.el=e.el,r.vnode=t},R=(e,t,n,a,o,i,s)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:a,parent:c,vnode:u}=e;{const n=oo(e);if(n)return t&&(t.el=u.el,I(e,t,s)),void n.asyncDep.then(()=>{e.isUnmounted||l()})}let d,f=t;0,to(e,!1),t?(t.el=u.el,I(e,t,s)):t=u,n&&Object(r["n"])(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Go(d,c,t,u),to(e,!0);const p=Jt(e);0;const m=e.subTree;e.subTree=p,b(m,p,h(m.el),q(m),e,o,i),t.el=p.el,null===f&&rn(e,p.el),a&&Ka(a,o),(d=t.props&&t.props.onVnodeUpdated)&&Ka(()=>Go(d,c,t,u),o)}else{let s;const{el:l,props:c}=t,{bm:u,m:d,parent:f}=e,h=er(t);if(to(e,!1),u&&Object(r["n"])(u),!h&&(s=c&&c.onVnodeBeforeMount)&&Go(s,f,t),to(e,!0),l&&Z){const n=()=>{e.subTree=Jt(e),Z(l,e.subTree,e,o,null)};h?t.type.__asyncLoader().then(()=>!e.isUnmounted&&n()):n()}else{0;const r=e.subTree=Jt(e);0,b(null,r,n,a,e,o,i),t.el=r.el}if(d&&Ka(d,o),!h&&(s=c&&c.onVnodeMounted)){const e=t;Ka(()=>Go(s,f,e),o)}(256&t.shapeFlag||f&&er(f.vnode)&&256&f.vnode.shapeFlag)&&e.a&&Ka(e.a,o),e.isMounted=!0,t=n=a=null}},c=e.effect=new d(l,r["d"],()=>Mt(u),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,to(e,!0),u()},I=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,_a(e,t.props,r,n),Ra(e,t.children,n),w(),Lt(e),_()},B=(e,t,n,r,a,o,i,s,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:h,shapeFlag:p}=t;if(h>0){if(128&h)return void V(c,d,n,r,a,o,i,s,l);if(256&h)return void F(c,d,n,r,a,o,i,s,l)}8&p?(16&u&&$(c,a,o),d!==c&&f(n,d)):16&u?16&p?V(c,d,n,r,a,o,i,s,l):$(c,a,o,!0):(8&u&&f(n,""),16&p&&M(d,n,r,a,o,i,s,l))},F=(e,t,n,a,o,i,s,l,c)=>{e=e||r["a"],t=t||r["a"];const u=e.length,d=t.length,f=Math.min(u,d);let h;for(h=0;h<f;h++){const r=t[h]=c?Wo(t[h]):Uo(t[h]);b(e[h],r,n,null,o,i,s,l,c)}u>d?$(e,o,i,!0,!1,f):M(t,n,a,o,i,s,l,c,f)},V=(e,t,n,a,o,i,s,l,c)=>{let u=0;const d=t.length;let f=e.length-1,h=d-1;while(u<=f&&u<=h){const r=e[u],a=t[u]=c?Wo(t[u]):Uo(t[u]);if(!Lo(r,a))break;b(r,a,n,null,o,i,s,l,c),u++}while(u<=f&&u<=h){const r=e[f],a=t[h]=c?Wo(t[h]):Uo(t[h]);if(!Lo(r,a))break;b(r,a,n,null,o,i,s,l,c),f--,h--}if(u>f){if(u<=h){const e=h+1,r=e<d?t[e].el:a;while(u<=h)b(null,t[u]=c?Wo(t[u]):Uo(t[u]),n,r,o,i,s,l,c),u++}}else if(u>h)while(u<=f)H(e[u],o,i,!0),u++;else{const p=u,m=u,v=new Map;for(u=m;u<=h;u++){const e=t[u]=c?Wo(t[u]):Uo(t[u]);null!=e.key&&v.set(e.key,u)}let g,y=0;const O=h-m+1;let w=!1,_=0;const j=new Array(O);for(u=0;u<O;u++)j[u]=0;for(u=p;u<=f;u++){const r=e[u];if(y>=O){H(r,o,i,!0);continue}let a;if(null!=r.key)a=v.get(r.key);else for(g=m;g<=h;g++)if(0===j[g-m]&&Lo(r,t[g])){a=g;break}void 0===a?H(r,o,i,!0):(j[a-m]=u+1,a>=_?_=a:w=!0,b(r,t[a],n,null,o,i,s,l,c),y++)}const k=w?ao(j):r["a"];for(g=k.length-1,u=O-1;u>=0;u--){const e=m+u,r=t[e],f=e+1<d?t[e+1].el:a;0===j[u]?b(null,r,n,f,o,i,s,l,c):w&&(g<0||u!==k[g]?z(r,n,f,2):g--)}}},z=(e,t,n,r,o=null)=>{const{el:i,type:s,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void z(e.component.subTree,t,n,r);if(128&u)return void e.suspense.move(t,n,r);if(64&u)return void s.move(e,t,n,K);if(s===bo){a(i,t,n);for(let e=0;e<c.length;e++)z(c[e],t,n,r);return void a(e.anchor,t,n)}if(s===Oo)return void j(e,t,n);const d=2!==r&&1&u&&l;if(d)if(0===r)l.beforeEnter(i),a(i,t,n),Ka(()=>l.enter(i),o);else{const{leave:e,delayLeave:r,afterLeave:o}=l,s=()=>a(i,t,n),c=()=>{e(i,()=>{s(),o&&o()})};r?r(i,s,c):c()}else a(i,t,n)},H=(e,t,n,r=!1,a=!1)=>{const{type:o,props:i,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:f}=e;if(null!=s&&Ia(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const h=1&u&&f,p=!er(e);let m;if(p&&(m=i&&i.onVnodeBeforeUnmount)&&Go(m,t,e),6&u)W(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);h&&Fn(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,a,K,r):c&&(o!==bo||d>0&&64&d)?$(c,t,n,!1,!0):(o===bo&&384&d||!a&&16&u)&&$(l,t,n),r&&Y(e)}(p&&(m=i&&i.onVnodeUnmounted)||h)&&Ka(()=>{m&&Go(m,t,e),h&&Fn(e,null,t,"unmounted")},n)},Y=e=>{const{type:t,el:n,anchor:r,transition:a}=e;if(t===bo)return void U(n,r);if(t===Oo)return void k(e);const i=()=>{o(n),a&&!a.persisted&&a.afterLeave&&a.afterLeave()};if(1&e.shapeFlag&&a&&!a.persisted){const{leave:t,delayLeave:r}=a,o=()=>t(n,i);r?r(e.el,i,o):o()}else i()},U=(e,t)=>{let n;while(e!==t)n=p(e),o(e),e=n;o(t)},W=(e,t,n)=>{const{bum:a,scope:o,update:i,subTree:s,um:l}=e;a&&Object(r["n"])(a),o.stop(),i&&(i.active=!1,H(s,e,t,n)),l&&Ka(l,t),Ka(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},$=(e,t,n,r=!1,a=!1,o=0)=>{for(let i=o;i<e.length;i++)H(e[i],t,n,r,a)},q=e=>6&e.shapeFlag?q(e.component.subTree):128&e.shapeFlag?e.suspense.next():p(e.anchor||e.el);let G=!1;const X=(e,t,n)=>{null==e?t._vnode&&H(t._vnode,null,null,!0):b(t._vnode||null,e,t,null,null,null,n),G||(G=!0,Lt(),Pt(),G=!1),t._vnode=e},K={p:b,um:H,m:z,r:Y,mt:D,mc:M,pc:B,pbc:T,n:q,o:e};let J,Z;return t&&([J,Z]=t(K)),{render:X,hydrate:J,createApp:ha(X,J)}}function eo({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function to({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function no(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ro(e,t,n=!1){const a=e.children,o=t.children;if(Object(r["o"])(a)&&Object(r["o"])(o))for(let r=0;r<a.length;r++){const e=a[r];let t=o[r];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=o[r]=Wo(o[r]),t.el=e.el),n||ro(e,t)),t.type===go&&(t.el=e.el)}}function ao(e){const t=e.slice(),n=[0];let r,a,o,i,s;const l=e.length;for(r=0;r<l;r++){const l=e[r];if(0!==l){if(a=n[n.length-1],e[a]<l){t[r]=a,n.push(r);continue}o=0,i=n.length-1;while(o<i)s=o+i>>1,e[n[s]]<l?o=s+1:i=s;l<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}o=n.length,i=n[o-1];while(o-- >0)n[o]=i,i=t[i];return n}function oo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:oo(t)}const io=e=>e.__isTeleport,so=e=>e&&(e.disabled||""===e.disabled),lo=e=>"undefined"!==typeof SVGElement&&e instanceof SVGElement,co=e=>"function"===typeof MathMLElement&&e instanceof MathMLElement,uo=(e,t)=>{const n=e&&e.to;if(Object(r["K"])(n)){if(t){const e=t(n);return e}return null}return n},fo={name:"Teleport",__isTeleport:!0,process(e,t,n,r,a,o,i,s,l,c){const{mc:u,pc:d,pbc:f,o:{insert:h,querySelector:p,createText:m,createComment:v}}=c,b=so(t.props);let{shapeFlag:g,children:y,dynamicChildren:O}=t;if(null==e){const e=t.el=m(""),c=t.anchor=m("");h(e,n,r),h(c,n,r);const d=t.target=uo(t.props,p),f=t.targetAnchor=m("");d&&(h(f,d),"svg"===i||lo(d)?i="svg":("mathml"===i||co(d))&&(i="mathml"));const v=(e,t)=>{16&g&&u(y,e,t,a,o,i,s,l)};b?v(n,c):d&&v(d,f)}else{t.el=e.el;const r=t.anchor=e.anchor,u=t.target=e.target,h=t.targetAnchor=e.targetAnchor,m=so(e.props),v=m?n:u,g=m?r:h;if("svg"===i||lo(u)?i="svg":("mathml"===i||co(u))&&(i="mathml"),O?(f(e.dynamicChildren,O,v,a,o,i,s),ro(e,t,!0)):l||d(e,t,v,g,a,o,i,s,!1),b)m?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ho(t,n,r,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=uo(t.props,p);e&&ho(t,e,null,c,0)}else m&&ho(t,u,h,c,1)}vo(t)},remove(e,t,n,r,{um:a,o:{remove:o}},i){const{shapeFlag:s,children:l,anchor:c,targetAnchor:u,target:d,props:f}=e;if(d&&o(u),i&&o(c),16&s){const e=i||!so(f);for(let r=0;r<l.length;r++){const o=l[r];a(o,t,n,e,!!o.dynamicChildren)}}},move:ho,hydrate:po};function ho(e,t,n,{o:{insert:r},m:a},o=2){0===o&&r(e.targetAnchor,t,n);const{el:i,anchor:s,shapeFlag:l,children:c,props:u}=e,d=2===o;if(d&&r(i,t,n),(!d||so(u))&&16&l)for(let f=0;f<c.length;f++)a(c[f],t,n,2);d&&r(s,t,n)}function po(e,t,n,r,a,o,{o:{nextSibling:i,parentNode:s,querySelector:l}},c){const u=t.target=uo(t.props,l);if(u){const l=u._lpa||u.firstChild;if(16&t.shapeFlag)if(so(t.props))t.anchor=c(i(e),t,s(e),n,r,a,o),t.targetAnchor=l;else{t.anchor=i(e);let s=l;while(s)if(s=i(s),s&&8===s.nodeType&&"teleport anchor"===s.data){t.targetAnchor=s,u._lpa=t.targetAnchor&&i(t.targetAnchor);break}c(l,t,u,n,r,a,o)}vo(t)}return t.anchor&&i(t.anchor)}const mo=fo;function vo(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;while(n&&n!==e.targetAnchor)1===n.nodeType&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const bo=Symbol.for("v-fgt"),go=Symbol.for("v-txt"),yo=Symbol.for("v-cmt"),Oo=Symbol.for("v-stc"),wo=[];let _o=null;function jo(e=!1){wo.push(_o=e?null:[])}function ko(){wo.pop(),_o=wo[wo.length-1]||null}let xo,So=1;function Co(e){So+=e}function Mo(e){return e.dynamicChildren=So>0?_o||r["a"]:null,ko(),So>0&&_o&&_o.push(e),e}function Ao(e,t,n,r,a,o){return Mo(Ro(e,t,n,r,a,o,!0))}function To(e,t,n,r,a){return Mo(Io(e,t,n,r,a,!0))}function Eo(e){return!!e&&!0===e.__v_isVNode}function Lo(e,t){return e.type===t.type&&e.key===t.key}function Po(e){xo=e}const Do=({key:e})=>null!=e?e:null,No=({ref:e,ref_key:t,ref_for:n})=>("number"===typeof e&&(e=""+e),null!=e?Object(r["K"])(e)||Be(e)||Object(r["r"])(e)?{i:Ut,r:e,k:t,f:!!n}:e:null);function Ro(e,t=null,n=null,a=0,o=null,i=(e===bo?0:1),s=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Do(t),ref:t&&No(t),scopeId:Wt,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:a,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ut};return l?($o(c,n),128&i&&e.normalize(c)):n&&(c.shapeFlag|=Object(r["K"])(n)?8:16),So>0&&!s&&_o&&(c.patchFlag>0||6&i)&&32!==c.patchFlag&&_o.push(c),c}const Io=Bo;function Bo(e,t=null,n=null,a=0,o=null,i=!1){if(e&&e!==ln||(e=yo),Eo(e)){const r=Vo(e,t,!0);return n&&$o(r,n),So>0&&!i&&_o&&(6&r.shapeFlag?_o[_o.indexOf(e)]=r:_o.push(r)),r.patchFlag|=-2,r}if(wi(e)&&(e=e.__vccOpts),t){t=Fo(t);let{class:e,style:n}=t;e&&!Object(r["K"])(e)&&(t.class=Object(r["Q"])(e)),Object(r["A"])(n)&&(Ae(n)&&!Object(r["o"])(n)&&(n=Object(r["h"])({},n)),t.style=Object(r["S"])(n))}const s=Object(r["K"])(e)?1:hn(e)?128:io(e)?64:Object(r["A"])(e)?4:Object(r["r"])(e)?2:0;return Ro(e,t,n,a,o,s,i,!0)}function Fo(e){return e?Ae(e)||Oa(e)?Object(r["h"])({},e):e:null}function Vo(e,t,n=!1,a=!1){const{props:o,ref:i,patchFlag:s,children:l,transition:c}=e,u=t?qo(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Do(u),ref:t&&t.ref?n&&i?Object(r["o"])(i)?i.concat(No(t)):[i,No(t)]:No(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==bo?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Vo(e.ssContent),ssFallback:e.ssFallback&&Vo(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&a&&(d.transition=c.clone(d)),d}function zo(e=" ",t=0){return Io(go,null,e,t)}function Ho(e,t){const n=Io(Oo,null,e);return n.staticCount=t,n}function Yo(e="",t=!1){return t?(jo(),To(yo,null,e)):Io(yo,null,e)}function Uo(e){return null==e||"boolean"===typeof e?Io(yo):Object(r["o"])(e)?Io(bo,null,e.slice()):"object"===typeof e?Wo(e):Io(go,null,String(e))}function Wo(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Vo(e)}function $o(e,t){let n=0;const{shapeFlag:a}=e;if(null==t)t=null;else if(Object(r["o"])(t))n=16;else if("object"===typeof t){if(65&a){const n=t.default;return void(n&&(n._c&&(n._d=!1),$o(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||Oa(t)?3===r&&Ut&&(1===Ut.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Ut}}else Object(r["r"])(t)?(t={default:t,_ctx:Ut},n=32):(t=String(t),64&a?(n=16,t=[zo(t)]):n=8);e.children=t,e.shapeFlag|=n}function qo(...e){const t={};for(let n=0;n<e.length;n++){const a=e[n];for(const e in a)if("class"===e)t.class!==a.class&&(t.class=Object(r["Q"])([t.class,a.class]));else if("style"===e)t.style=Object(r["S"])([t.style,a.style]);else if(Object(r["B"])(e)){const n=t[e],o=a[e];!o||n===o||Object(r["o"])(n)&&n.includes(o)||(t[e]=n?[].concat(n,o):o)}else""!==e&&(t[e]=a[e])}return t}function Go(e,t,n,r=null){pt(e,t,7,[n,r])}const Xo=da();let Ko=0;function Jo(e,t,n){const a=e.type,o=(t?t.appContext:e.appContext)||Xo,s={uid:Ko++,vnode:e,type:a,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new i(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:xa(a,o),emitsOptions:Ht(a,o),emit:null,emitted:null,propsDefaults:r["b"],inheritAttrs:a.inheritAttrs,ctx:r["b"],data:r["b"],props:r["b"],attrs:r["b"],slots:r["b"],refs:r["b"],setupState:r["b"],setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=zt.bind(null,s),e.ce&&e.ce(s),s}let Zo=null;const Qo=()=>Zo||Ut;let ei,ti;{const e=Object(r["i"])(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};ei=t("__VUE_INSTANCE_SETTERS__",e=>Zo=e),ti=t("__VUE_SSR_SETTERS__",e=>si=e)}const ni=e=>{const t=Zo;return ei(e),e.scope.on(),()=>{e.scope.off(),ei(t)}},ri=()=>{Zo&&Zo.scope.off(),ei(null)};function ai(e){return 4&e.vnode.shapeFlag}let oi,ii,si=!1;function li(e,t=!1){t&&ti(t);const{props:n,children:r}=e.vnode,a=ai(e);wa(e,n,a,t),Na(e,r);const o=a?ci(e,t):void 0;return t&&ti(!1),o}function ci(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Pr);const{setup:a}=n;if(a){const n=e.setupContext=a.length>1?mi(e):null,o=ni(e);w();const i=ht(a,e,0,[e.props,n]);if(_(),o(),Object(r["D"])(i)){if(i.then(ri,ri),t)return i.then(n=>{ui(e,n,t)}).catch(t=>{mt(t,e,0)});e.asyncDep=i}else ui(e,i,t)}else hi(e,t)}function ui(e,t,n){Object(r["r"])(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Object(r["A"])(t)&&(e.setupState=qe(t)),hi(e,n)}function di(e){oi=e,ii=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,Dr))}}const fi=()=>!oi;function hi(e,t,n){const a=e.type;if(!e.render){if(!t&&oi&&!a.render){const t=a.template||ta(e).template;if(t){0;const{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:i,compilerOptions:s}=a,l=Object(r["h"])(Object(r["h"])({isCustomElement:n,delimiters:i},o),s);a.render=oi(t,l)}}e.render=a.render||r["d"],ii&&ii(e)}{const t=ni(e);w();try{Jr(e)}finally{_(),t()}}}const pi={get(e,t){return L(e,"get",""),e[t]}};function mi(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,pi),slots:e.slots,emit:e.emit,expose:t}}function vi(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(qe(Ee(e.exposed)),{get(t,n){return n in t?t[n]:n in Er?Er[n](e):void 0},has(e,t){return t in e||t in Er}}))}const bi=/(?:^|[-_])(\w)/g,gi=e=>e.replace(bi,e=>e.toUpperCase()).replace(/[-_]/g,"");function yi(e,t=!0){return Object(r["r"])(e)?e.displayName||e.name:e.name||t&&e.__name}function Oi(e,t,n=!1){let r=yi(t);if(!r&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(r=e[1])}if(!r&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};r=n(e.components||e.parent.type.components)||n(e.appContext.components)}return r?gi(r):n?"App":"Anonymous"}function wi(e){return Object(r["r"])(e)&&"__vccOpts"in e}const _i=(e,t)=>{const n=Ne(e,t,si);return n};function ji(e,t,n=r["b"]){const a=Qo();const o=Object(r["e"])(t),i=Object(r["l"])(t),s=Xe((s,l)=>{let c;return En(()=>{const n=e[t];Object(r["j"])(c,n)&&(c=n,l())}),{get(){return s(),n.get?n.get(c):c},set(e){const s=a.vnode.props;s&&(t in s||o in s||i in s)&&("onUpdate:"+t in s||"onUpdate:"+o in s||"onUpdate:"+i in s)||!Object(r["j"])(e,c)||(c=e,l()),a.emit("update:"+t,n.set?n.set(e):e)}}}),l="modelValue"===t?"modelModifiers":t+"Modifiers";return s[Symbol.iterator]=()=>{let t=0;return{next(){return t<2?{value:t++?e[l]||{}:s,done:!1}:{done:!0}}}},s}function ki(e,t,n){const a=arguments.length;return 2===a?Object(r["A"])(t)&&!Object(r["o"])(t)?Eo(t)?Io(e,null,[t]):Io(e,t):Io(e,null,t):(a>3?n=Array.prototype.slice.call(arguments,2):3===a&&Eo(n)&&(n=[n]),Io(e,t,n))}function xi(){return void 0}function Si(e,t,n,r){const a=n[r];if(a&&Ci(a,e))return a;const o=t();return o.memo=e.slice(),n[r]=o}function Ci(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let a=0;a<n.length;a++)if(Object(r["j"])(n[a],t[a]))return!1;return So>0&&_o&&_o.push(e),!0}const Mi="3.4.27",Ai=r["d"],Ti=ft,Ei=It,Li=Vt,Pi={createComponentInstance:Jo,setupComponent:li,renderComponentRoot:Jt,setCurrentRenderingInstance:$t,isVNode:Eo,normalizeVNode:Uo},Di=Pi,Ni=null,Ri=null,Ii=null,Bi="http://www.w3.org/2000/svg",Fi="http://www.w3.org/1998/Math/MathML",Vi="undefined"!==typeof document?document:null,zi=Vi&&Vi.createElement("template"),Hi={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const a="svg"===t?Vi.createElementNS(Bi,e):"mathml"===t?Vi.createElementNS(Fi,e):Vi.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&a.setAttribute("multiple",r.multiple),a},createText:e=>Vi.createTextNode(e),createComment:e=>Vi.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Vi.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,a,o){const i=n?n.previousSibling:t.lastChild;if(a&&(a===o||a.nextSibling)){while(1)if(t.insertBefore(a.cloneNode(!0),n),a===o||!(a=a.nextSibling))break}else{zi.innerHTML="svg"===r?`<svg>${e}</svg>`:"mathml"===r?`<math>${e}</math>`:e;const a=zi.content;if("svg"===r||"mathml"===r){const e=a.firstChild;while(e.firstChild)a.appendChild(e.firstChild);a.removeChild(e)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Yi="transition",Ui="animation",Wi=Symbol("_vtc"),$i=(e,{slots:t})=>ki($n,Ji(e),t);$i.displayName="Transition";const qi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Gi=$i.props=Object(r["h"])({},Un,qi),Xi=(e,t=[])=>{Object(r["o"])(e)?e.forEach(e=>e(...t)):e&&e(...t)},Ki=e=>!!e&&(Object(r["o"])(e)?e.some(e=>e.length>1):e.length>1);function Ji(e){const t={};for(const r in e)r in qi||(t[r]=e[r]);if(!1===e.css)return t;const{name:n="v",type:a,duration:o,enterFromClass:i=n+"-enter-from",enterActiveClass:s=n+"-enter-active",enterToClass:l=n+"-enter-to",appearFromClass:c=i,appearActiveClass:u=s,appearToClass:d=l,leaveFromClass:f=n+"-leave-from",leaveActiveClass:h=n+"-leave-active",leaveToClass:p=n+"-leave-to"}=e,m=Zi(o),v=m&&m[0],b=m&&m[1],{onBeforeEnter:g,onEnter:y,onEnterCancelled:O,onLeave:w,onLeaveCancelled:_,onBeforeAppear:j=g,onAppear:k=y,onAppearCancelled:x=O}=t,S=(e,t,n)=>{ts(e,t?d:l),ts(e,t?u:s),n&&n()},C=(e,t)=>{e._isLeaving=!1,ts(e,f),ts(e,p),ts(e,h),t&&t()},M=e=>(t,n)=>{const r=e?k:y,o=()=>S(t,e,n);Xi(r,[t,o]),ns(()=>{ts(t,e?c:i),es(t,e?d:l),Ki(r)||as(t,a,v,o)})};return Object(r["h"])(t,{onBeforeEnter(e){Xi(g,[e]),es(e,i),es(e,s)},onBeforeAppear(e){Xi(j,[e]),es(e,c),es(e,u)},onEnter:M(!1),onAppear:M(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>C(e,t);es(e,f),es(e,h),ls(),ns(()=>{e._isLeaving&&(ts(e,f),es(e,p),Ki(w)||as(e,a,b,n))}),Xi(w,[e,n])},onEnterCancelled(e){S(e,!1),Xi(O,[e])},onAppearCancelled(e){S(e,!0),Xi(x,[e])},onLeaveCancelled(e){C(e),Xi(_,[e])}})}function Zi(e){if(null==e)return null;if(Object(r["A"])(e))return[Qi(e.enter),Qi(e.leave)];{const t=Qi(e);return[t,t]}}function Qi(e){const t=Object(r["X"])(e);return t}function es(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[Wi]||(e[Wi]=new Set)).add(t)}function ts(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const n=e[Wi];n&&(n.delete(t),n.size||(e[Wi]=void 0))}function ns(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let rs=0;function as(e,t,n,r){const a=e._endId=++rs,o=()=>{a===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:s,propCount:l}=os(e,t);if(!i)return r();const c=i+"end";let u=0;const d=()=>{e.removeEventListener(c,f),o()},f=t=>{t.target===e&&++u>=l&&d()};setTimeout(()=>{u<l&&d()},s+1),e.addEventListener(c,f)}function os(e,t){const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),a=r(Yi+"Delay"),o=r(Yi+"Duration"),i=is(a,o),s=r(Ui+"Delay"),l=r(Ui+"Duration"),c=is(s,l);let u=null,d=0,f=0;t===Yi?i>0&&(u=Yi,d=i,f=o.length):t===Ui?c>0&&(u=Ui,d=c,f=l.length):(d=Math.max(i,c),u=d>0?i>c?Yi:Ui:null,f=u?u===Yi?o.length:l.length:0);const h=u===Yi&&/\b(transform|all)(,|$)/.test(r(Yi+"Property").toString());return{type:u,timeout:d,propCount:f,hasTransform:h}}function is(e,t){while(e.length<t.length)e=e.concat(e);return Math.max(...t.map((t,n)=>ss(t)+ss(e[n])))}function ss(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function ls(){return document.body.offsetHeight}function cs(e,t,n){const r=e[Wi];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const us=Symbol("_vod"),ds=Symbol("_vsh"),fs={beforeMount(e,{value:t},{transition:n}){e[us]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):hs(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!==!n&&(r?t?(r.beforeEnter(e),hs(e,!0),r.enter(e)):r.leave(e,()=>{hs(e,!1)}):hs(e,t))},beforeUnmount(e,{value:t}){hs(e,t)}};function hs(e,t){e.style.display=t?e[us]:"none",e[ds]=!t}function ps(){fs.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const ms=Symbol("");function vs(e){const t=Qo();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>gs(e,n))};const r=()=>{const r=e(t.proxy);bs(t.subTree,r),n(r)};vr(()=>{Tn(r);const e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),Or(()=>e.disconnect())})}function bs(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{bs(n.activeBranch,t)})}while(e.component)e=e.component.subTree;if(1&e.shapeFlag&&e.el)gs(e.el,t);else if(e.type===bo)e.children.forEach(e=>bs(e,t));else if(e.type===Oo){let{el:n,anchor:r}=e;while(n){if(gs(n,t),n===r)break;n=n.nextSibling}}}function gs(e,t){if(1===e.nodeType){const n=e.style;let r="";for(const e in t)n.setProperty("--"+e,t[e]),r+=`--${e}: ${t[e]};`;n[ms]=r}}const ys=/(^|;)\s*display\s*:/;function Os(e,t,n){const a=e.style,o=Object(r["K"])(n);let i=!1;if(n&&!o){if(t)if(Object(r["K"])(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&_s(a,t,"")}else for(const e in t)null==n[e]&&_s(a,e,"");for(const e in n)"display"===e&&(i=!0),_s(a,e,n[e])}else if(o){if(t!==n){const e=a[ms];e&&(n+=";"+e),a.cssText=n,i=ys.test(n)}}else t&&e.removeAttribute("style");us in e&&(e[us]=i?a.display:"",e[ds]&&(a.display="none"))}const ws=/\s*!important$/;function _s(e,t,n){if(Object(r["o"])(n))n.forEach(n=>_s(e,t,n));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const a=xs(e,t);ws.test(n)?e.setProperty(Object(r["l"])(a),n.replace(ws,""),"important"):e[a]=n}}const js=["Webkit","Moz","ms"],ks={};function xs(e,t){const n=ks[t];if(n)return n;let a=Object(r["e"])(t);if("filter"!==a&&a in e)return ks[t]=a;a=Object(r["f"])(a);for(let r=0;r<js.length;r++){const n=js[r]+a;if(n in e)return ks[t]=n}return t}const Ss="http://www.w3.org/1999/xlink";function Cs(e,t,n,a,o){if(a&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Ss,t.slice(6,t.length)):e.setAttributeNS(Ss,t,n);else{const a=Object(r["J"])(t);null==n||a&&!Object(r["m"])(n)?e.removeAttribute(t):e.setAttribute(t,a?"":n)}}function Ms(e,t,n,a,o,i,s){if("innerHTML"===t||"textContent"===t)return a&&s(a,o,i),void(e[t]=null==n?"":n);const l=e.tagName;if("value"===t&&"PROGRESS"!==l&&!l.includes("-")){const r="OPTION"===l?e.getAttribute("value")||"":e.value,a=null==n?"":n;return r===a&&"_value"in e||(e.value=a),null==n&&e.removeAttribute(t),void(e._value=n)}let c=!1;if(""===n||null==n){const a=typeof e[t];"boolean"===a?n=Object(r["m"])(n):null==n&&"string"===a?(n="",c=!0):"number"===a&&(n=0,c=!0)}try{e[t]=n}catch(u){0}c&&e.removeAttribute(t)}function As(e,t,n,r){e.addEventListener(t,n,r)}function Ts(e,t,n,r){e.removeEventListener(t,n,r)}const Es=Symbol("_vei");function Ls(e,t,n,r,a=null){const o=e[Es]||(e[Es]={}),i=o[t];if(r&&i)i.value=r;else{const[n,s]=Ds(t);if(r){const i=o[t]=Bs(r,a);As(e,n,i,s)}else i&&(Ts(e,n,i,s),o[t]=void 0)}}const Ps=/(?:Once|Passive|Capture)$/;function Ds(e){let t;if(Ps.test(e)){let n;t={};while(n=e.match(Ps))e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):Object(r["l"])(e.slice(2));return[n,t]}let Ns=0;const Rs=Promise.resolve(),Is=()=>Ns||(Rs.then(()=>Ns=0),Ns=Date.now());function Bs(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();pt(Fs(e,n.value),t,5,[e])};return n.value=e,n.attached=Is(),n}function Fs(e,t){if(Object(r["o"])(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}return t}const Vs=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,zs=(e,t,n,a,o,i,s,l,c)=>{const u="svg"===o;"class"===t?cs(e,a,u):"style"===t?Os(e,n,a):Object(r["B"])(t)?Object(r["z"])(t)||Ls(e,t,n,a,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):Hs(e,t,a,u))?Ms(e,t,a,i,s,l,c):("true-value"===t?e._trueValue=a:"false-value"===t&&(e._falseValue=a),Cs(e,t,a,u))};function Hs(e,t,n,a){if(a)return"innerHTML"===t||"textContent"===t||!!(t in e&&Vs(t)&&Object(r["r"])(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return(!Vs(t)||!Object(r["K"])(n))&&t in e}
/*! #__NO_SIDE_EFFECTS__ */function Ys(e,t){const n=Qn(e);class r extends $s{constructor(e){super(n,e,t)}}return r.def=n,r}
/*! #__NO_SIDE_EFFECTS__ */const Us=e=>Ys(e,El),Ws="undefined"!==typeof HTMLElement?HTMLElement:class{};class $s extends Ws{constructor(e,t={},n){super(),this._def=e,this._props=t,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),St(()=>{this._connected||(Tl(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(e=>{for(const t of e)this._setAttr(t.attributeName)}),this._ob.observe(this,{attributes:!0});const e=(e,t=!1)=>{const{props:n,styles:a}=e;let o;if(n&&!Object(r["o"])(n))for(const i in n){const e=n[i];(e===Number||e&&e.type===Number)&&(i in this._props&&(this._props[i]=Object(r["X"])(this._props[i])),(o||(o=Object.create(null)))[Object(r["e"])(i)]=!0)}this._numberProps=o,t&&this._resolveProps(e),this._applyStyles(a),this._update()},t=this._def.__asyncLoader;t?t().then(t=>e(t,!0)):e(this._def)}_resolveProps(e){const{props:t}=e,n=Object(r["o"])(t)?t:Object.keys(t||{});for(const r of Object.keys(this))"_"!==r[0]&&n.includes(r)&&this._setProp(r,this[r],!0,!1);for(const a of n.map(r["e"]))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(e){this._setProp(a,e)}})}_setAttr(e){let t=this.hasAttribute(e)?this.getAttribute(e):void 0;const n=Object(r["e"])(e);this._numberProps&&this._numberProps[n]&&(t=Object(r["X"])(t)),this._setProp(n,t,!1)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,a=!0){t!==this._props[e]&&(this._props[e]=t,a&&this._instance&&this._update(),n&&(!0===t?this.setAttribute(Object(r["l"])(e),""):"string"===typeof t||"number"===typeof t?this.setAttribute(Object(r["l"])(e),t+""):t||this.removeAttribute(Object(r["l"])(e))))}_update(){Tl(this._createVNode(),this.shadowRoot)}_createVNode(){const e=Io(this._def,Object(r["h"])({},this._props));return this._instance||(e.ce=e=>{this._instance=e,e.isCE=!0;const t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,{detail:t}))};e.emit=(e,...n)=>{t(e,n),Object(r["l"])(e)!==e&&t(Object(r["l"])(e),n)};let n=this;while(n=n&&(n.parentNode||n.host))if(n instanceof $s){e.parent=n._instance,e.provides=n._instance.provides;break}}),e}_applyStyles(e){e&&e.forEach(e=>{const t=document.createElement("style");t.textContent=e,this.shadowRoot.appendChild(t)})}}function qs(e="$style"){{const t=Qo();if(!t)return r["b"];const n=t.type.__cssModules;if(!n)return r["b"];const a=n[e];return a||r["b"]}}const Gs=new WeakMap,Xs=new WeakMap,Ks=Symbol("_moveCb"),Js=Symbol("_enterCb"),Zs={name:"TransitionGroup",props:Object(r["h"])({},Gi,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Qo(),r=Hn();let a,o;return gr(()=>{if(!a.length)return;const t=e.moveClass||(e.name||"v")+"-move";if(!rl(a[0].el,n.vnode.el,t))return;a.forEach(el),a.forEach(tl);const r=a.filter(nl);ls(),r.forEach(e=>{const n=e.el,r=n.style;es(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const a=n[Ks]=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",a),n[Ks]=null,ts(n,t))};n.addEventListener("transitionend",a)})}),()=>{const i=Te(e),s=Ji(i);let l=i.tag||bo;if(a=[],o)for(let e=0;e<o.length;e++){const t=o[e];t.el&&t.el instanceof Element&&(a.push(t),Jn(t,Gn(t,s,r,n)),Gs.set(t,t.el.getBoundingClientRect()))}o=t.default?Zn(t.default()):[];for(let e=0;e<o.length;e++){const t=o[e];null!=t.key&&Jn(t,Gn(t,s,r,n))}return Io(l,null,o)}}};Zs.props;const Qs=Zs;function el(e){const t=e.el;t[Ks]&&t[Ks](),t[Js]&&t[Js]()}function tl(e){Xs.set(e,e.el.getBoundingClientRect())}function nl(e){const t=Gs.get(e),n=Xs.get(e),r=t.left-n.left,a=t.top-n.top;if(r||a){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${r}px,${a}px)`,t.transitionDuration="0s",e}}function rl(e,t,n){const r=e.cloneNode(),a=e[Wi];a&&a.forEach(e=>{e.split(/\s+/).forEach(e=>e&&r.classList.remove(e))}),n.split(/\s+/).forEach(e=>e&&r.classList.add(e)),r.style.display="none";const o=1===t.nodeType?t:t.parentNode;o.appendChild(r);const{hasTransform:i}=os(r);return o.removeChild(r),i}const al=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Object(r["o"])(t)?e=>Object(r["n"])(t,e):t};function ol(e){e.target.composing=!0}function il(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const sl=Symbol("_assign"),ll={created(e,{modifiers:{lazy:t,trim:n,number:a}},o){e[sl]=al(o);const i=a||o.props&&"number"===o.props.type;As(e,t?"change":"input",t=>{if(t.target.composing)return;let a=e.value;n&&(a=a.trim()),i&&(a=Object(r["O"])(a)),e[sl](a)}),n&&As(e,"change",()=>{e.value=e.value.trim()}),t||(As(e,"compositionstart",ol),As(e,"compositionend",il),As(e,"change",il))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:a,number:o}},i){if(e[sl]=al(i),e.composing)return;const s=!o&&"number"!==e.type||/^0\d/.test(e.value)?e.value:Object(r["O"])(e.value),l=null==t?"":t;if(s!==l){if(document.activeElement===e&&"range"!==e.type){if(n)return;if(a&&e.value.trim()===l)return}e.value=l}}},cl={deep:!0,created(e,t,n){e[sl]=al(n),As(e,"change",()=>{const t=e._modelValue,n=pl(e),a=e.checked,o=e[sl];if(Object(r["o"])(t)){const e=Object(r["N"])(t,n),i=-1!==e;if(a&&!i)o(t.concat(n));else if(!a&&i){const n=[...t];n.splice(e,1),o(n)}}else if(Object(r["I"])(t)){const e=new Set(t);a?e.add(n):e.delete(n),o(e)}else o(ml(e,a))})},mounted:ul,beforeUpdate(e,t,n){e[sl]=al(n),ul(e,t,n)}};function ul(e,{value:t,oldValue:n},a){e._modelValue=t,Object(r["o"])(t)?e.checked=Object(r["N"])(t,a.props.value)>-1:Object(r["I"])(t)?e.checked=t.has(a.props.value):t!==n&&(e.checked=Object(r["M"])(t,ml(e,!0)))}const dl={created(e,{value:t},n){e.checked=Object(r["M"])(t,n.props.value),e[sl]=al(n),As(e,"change",()=>{e[sl](pl(e))})},beforeUpdate(e,{value:t,oldValue:n},a){e[sl]=al(a),t!==n&&(e.checked=Object(r["M"])(t,a.props.value))}},fl={deep:!0,created(e,{value:t,modifiers:{number:n}},a){const o=Object(r["I"])(t);As(e,"change",()=>{const t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?Object(r["O"])(pl(e)):pl(e));e[sl](e.multiple?o?new Set(t):t:t[0]),e._assigning=!0,St(()=>{e._assigning=!1})}),e[sl]=al(a)},mounted(e,{value:t,modifiers:{number:n}}){hl(e,t)},beforeUpdate(e,t,n){e[sl]=al(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||hl(e,t)}};function hl(e,t,n){const a=e.multiple,o=Object(r["o"])(t);if(!a||o||Object(r["I"])(t)){for(let n=0,i=e.options.length;n<i;n++){const i=e.options[n],s=pl(i);if(a)if(o){const e=typeof s;i.selected="string"===e||"number"===e?t.some(e=>String(e)===String(s)):Object(r["N"])(t,s)>-1}else i.selected=t.has(s);else if(Object(r["M"])(pl(i),t))return void(e.selectedIndex!==n&&(e.selectedIndex=n))}a||-1===e.selectedIndex||(e.selectedIndex=-1)}}function pl(e){return"_value"in e?e._value:e.value}function ml(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const vl={created(e,t,n){gl(e,t,n,null,"created")},mounted(e,t,n){gl(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){gl(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){gl(e,t,n,r,"updated")}};function bl(e,t){switch(e){case"SELECT":return fl;case"TEXTAREA":return ll;default:switch(t){case"checkbox":return cl;case"radio":return dl;default:return ll}}}function gl(e,t,n,r,a){const o=bl(e.tagName,n.props&&n.props.type),i=o[a];i&&i(e,t,n,r)}function yl(){ll.getSSRProps=({value:e})=>({value:e}),dl.getSSRProps=({value:e},t)=>{if(t.props&&Object(r["M"])(t.props.value,e))return{checked:!0}},cl.getSSRProps=({value:e},t)=>{if(Object(r["o"])(e)){if(t.props&&Object(r["N"])(e,t.props.value)>-1)return{checked:!0}}else if(Object(r["I"])(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},vl.getSSRProps=(e,t)=>{if("string"!==typeof t.type)return;const n=bl(t.type.toUpperCase(),t.props&&t.props.type);return n.getSSRProps?n.getSSRProps(e,t):void 0}}const Ol=["ctrl","shift","alt","meta"],wl={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Ol.some(n=>e[n+"Key"]&&!t.includes(n))},_l=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(n,...r)=>{for(let e=0;e<t.length;e++){const r=wl[t[e]];if(r&&r(n,t))return}return e(n,...r)})},jl={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},kl=(e,t)=>{const n=e._withKeys||(e._withKeys={}),a=t.join(".");return n[a]||(n[a]=n=>{if(!("key"in n))return;const a=Object(r["l"])(n.key);return t.some(e=>e===a||jl[e]===a)?e(n):void 0})},xl=Object(r["h"])({patchProp:zs},Hi);let Sl,Cl=!1;function Ml(){return Sl||(Sl=Ja(xl))}function Al(){return Sl=Cl?Sl:Za(xl),Cl=!0,Sl}const Tl=(...e)=>{Ml().render(...e)},El=(...e)=>{Al().hydrate(...e)},Ll=(...e)=>{const t=Ml().createApp(...e);const{mount:n}=t;return t.mount=e=>{const a=Nl(e);if(!a)return;const o=t._component;Object(r["r"])(o)||o.render||o.template||(o.template=a.innerHTML),a.innerHTML="";const i=n(a,!1,Dl(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),i},t},Pl=(...e)=>{const t=Al().createApp(...e);const{mount:n}=t;return t.mount=e=>{const t=Nl(e);if(t)return n(t,!0,Dl(t))},t};function Dl(e){return e instanceof SVGElement?"svg":"function"===typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function Nl(e){if(Object(r["K"])(e)){const t=document.querySelector(e);return t}return e}let Rl=!1;const Il=()=>{Rl||(Rl=!0,yl(),ps())};
/**
* vue v3.4.27
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const Bl=()=>{0}},"7aac":function(e,t,n){"use strict";var r=n("c532");e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,a,o,i){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(a)&&s.push("path="+a),r.isString(o)&&s.push("domain="+o),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7b0b":function(e,t,n){"use strict";var r=n("1d80"),a=Object;e.exports=function(e){return a(r(e))}},"7be6":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function r(e){return e>1&&e<5}function a(e,t,n,a){var o=e+" ";switch(n){case"s":return t||a?"pár sekúnd":"pár sekundami";case"ss":return t||a?o+(r(e)?"sekundy":"sekúnd"):o+"sekundami";case"m":return t?"minúta":a?"minútu":"minútou";case"mm":return t||a?o+(r(e)?"minúty":"minút"):o+"minútami";case"h":return t?"hodina":a?"hodinu":"hodinou";case"hh":return t||a?o+(r(e)?"hodiny":"hodín"):o+"hodinami";case"d":return t||a?"deň":"dňom";case"dd":return t||a?o+(r(e)?"dni":"dní"):o+"dňami";case"M":return t||a?"mesiac":"mesiacom";case"MM":return t||a?o+(r(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return t||a?"rok":"rokom";case"yy":return t||a?o+(r(e)?"roky":"rokov"):o+"rokmi"}}var o=e.defineLocale("sk",{months:t,monthsShort:n,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: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 o}))},"7d20":function(e,t,n){"use strict";e.exports=n("eafd")},"7f33":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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 t}))},8066:function(module,exports,__webpack_require__){(function(Buffer,process){!function(e,t){module.exports=t(__webpack_require__("7a23"))}(self,(function(__WEBPACK_EXTERNAL_MODULE__103__){return(()=>{var __webpack_modules__={194:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(645),a=n.n(r)()((function(e){return e[1]}));a.push([e.id,".textLayer{position:absolute;text-align:initial;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.2;line-height:1;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none}.textLayer span,.textLayer br{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:rgba(180, 0, 170, 1);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:rgba(0, 100, 0, 1)}.textLayer ::-moz-selection{background:rgba(0, 0, 255, 1)}.textLayer ::selection{background:rgba(0, 0, 255, 1)}.textLayer br::-moz-selection{background:transparent}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;left:0;top:100%;right:0;bottom:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.textLayer .endOfContent.active{top:0}:root{--annotation-unfocused-field-background: url(\"data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>\")}.annotationLayer section{position:absolute;text-align:initial}.annotationLayer .linkAnnotation>a,.annotationLayer .buttonWidgetAnnotation.pushButton>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer .buttonWidgetAnnotation.pushButton>canvas{position:relative;top:0;left:0;z-index:-1}.annotationLayer .linkAnnotation>a:hover,.annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{opacity:.2;background:rgba(255, 255, 0, 1);box-shadow:0 2px 10px rgba(255, 255, 0, 1)}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer}.annotationLayer .textWidgetAnnotation input,.annotationLayer .textWidgetAnnotation textarea,.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation.checkBox input,.annotationLayer .buttonWidgetAnnotation.radioButton input{background-image:var(--annotation-unfocused-field-background);border:1px solid transparent;box-sizing:border-box;font-size:9px;height:100%;margin:0;padding:0 3px;vertical-align:top;width:100%}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{font:message-box;font-size:9px;resize:none}.annotationLayer .textWidgetAnnotation input[disabled],.annotationLayer .textWidgetAnnotation textarea[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],.annotationLayer .buttonWidgetAnnotation.radioButton input[disabled]{background:none;border:1px solid transparent;cursor:not-allowed}.annotationLayer .textWidgetAnnotation input:hover,.annotationLayer .textWidgetAnnotation textarea:hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover,.annotationLayer .buttonWidgetAnnotation.radioButton input:hover{border:1px solid rgba(0, 0, 0, 1)}.annotationLayer .textWidgetAnnotation input:focus,.annotationLayer .textWidgetAnnotation textarea:focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:1px solid transparent}.annotationLayer .textWidgetAnnotation input :focus,.annotationLayer .textWidgetAnnotation textarea :focus,.annotationLayer .choiceWidgetAnnotation select :focus,.annotationLayer .buttonWidgetAnnotation.checkBox :focus,.annotationLayer .buttonWidgetAnnotation.radioButton :focus{background-image:none;background-color:transparent;outline:auto}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:rgba(0, 0, 0, 1);content:\"\";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation.checkBox input,.annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0}.annotationLayer .popupWrapper{position:absolute;width:20em}.annotationLayer .popup{position:absolute;z-index:200;max-width:20em;background-color:rgba(255, 255, 153, 1);box-shadow:0 2px 5px rgba(136, 136, 136, 1);border-radius:2px;padding:6px;margin-left:5px;cursor:pointer;font:message-box;font-size:9px;white-space:normal;word-wrap:break-word}.annotationLayer .popup>*{font-size:9px}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:5px}.annotationLayer .popupContent{border-top:1px solid rgba(51, 51, 51, 1);margin-top:2px;padding-top:2px}.annotationLayer .richText>*{white-space:pre-wrap}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.vue-pdf-embed__page{position:relative}.vue-pdf-embed__page canvas{display:block}",""]);const o=a},645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(r)for(var o=0;o<this.length;o++){var i=this[o][0];null!=i&&(a[i]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&a[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},783:function(module,__unused_webpack_exports,__webpack_require__){var factory;factory=function(){return(()=>{var __webpack_modules__=[,(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.addLinkAttributes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.url,r=t.target,a=t.rel,o=t.enabled,s=void 0===o||o;(0,i.assert)(n&&"string"==typeof n,'addLinkAttributes: A valid "url" parameter must provided.');var l=(0,i.removeNullCharacters)(n);s?e.href=e.title=l:(e.href="",e.title="Disabled: ".concat(l),e.onclick=function(){return!1});var c="";switch(r){case M.NONE:break;case M.SELF:c="_self";break;case M.BLANK:c="_blank";break;case M.PARENT:c="_parent";break;case M.TOP:c="_top"}e.target=c,e.rel="string"==typeof a?a:y},t.deprecated=function(e){console.log("Deprecated API usage: "+e)},t.getFilenameFromUrl=function(e){var t=e.indexOf("#"),n=e.indexOf("?"),r=Math.min(t>0?t:e.length,n>0?n:e.length);return e.substring(e.lastIndexOf("/",r)+1,r)},t.getPdfFilenameFromUrl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"document.pdf";if("string"!=typeof e)return t;if(A(e))return(0,i.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),t;var n=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/,r=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,a=n.exec(e),o=r.exec(a[1])||r.exec(a[2])||r.exec(a[3]);if(o&&(o=o[0]).includes("%"))try{o=r.exec(decodeURIComponent(o))[0]}catch(e){}return o||t},t.isDataScheme=A,t.isFetchSupported=L,t.isPdfFile=function(e){return"string"==typeof e&&/\.pdf$/i.test(e)},t.isValidFetchUrl=P,t.loadScript=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise((function(n,r){var a=document.createElement("script");a.src=e,a.onload=function(e){t&&a.remove(),n(e)},a.onerror=function(){r(new Error("Cannot load script at: ".concat(a.src)))},(document.head||document.documentElement).appendChild(a)}))},t.StatTimer=t.RenderingCancelledException=t.PDFDateString=t.PageViewport=t.LinkTarget=t.DOMSVGFactory=t.DOMCMapReaderFactory=t.DOMCanvasFactory=t.DEFAULT_LINK_REL=t.BaseCMapReaderFactory=t.BaseCanvasFactory=void 0;var a,o=(a=n(2))&&a.__esModule?a:{default:a},i=n(4);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){c(o,r,a,i,s,"next",e)}function s(e){c(o,r,a,i,s,"throw",e)}i(void 0)}))}}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function h(e){var t=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(e){return!1}}();return function(){var n,r=m(e);if(t){var a=m(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t,n){return t&&b(e.prototype,t),n&&b(e,n),e}var y="noopener noreferrer nofollow";t.DEFAULT_LINK_REL=y;var O="http://www.w3.org/2000/svg",w=function(){function e(){v(this,e),this.constructor===e&&(0,i.unreachable)("Cannot initialize BaseCanvasFactory.")}return g(e,[{key:"create",value:function(e,t){(0,i.unreachable)("Abstract method `create` called.")}},{key:"reset",value:function(e,t,n){if(!e.canvas)throw new Error("Canvas is not specified");if(t<=0||n<=0)throw new Error("Invalid canvas size");e.canvas.width=t,e.canvas.height=n}},{key:"destroy",value:function(e){if(!e.canvas)throw new Error("Canvas is not specified");e.canvas.width=0,e.canvas.height=0,e.canvas=null,e.context=null}}]),e}();t.BaseCanvasFactory=w;var _=function(e){d(n,e);var t=h(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=r.ownerDocument,o=void 0===a?globalThis.document:a;return v(this,n),(e=t.call(this))._document=o,e}return g(n,[{key:"create",value:function(e,t){if(e<=0||t<=0)throw new Error("Invalid canvas size");var n=this._document.createElement("canvas"),r=n.getContext("2d");return n.width=e,n.height=t,{canvas:n,context:r}}}]),n}(w);t.DOMCanvasFactory=_;var j=function(){function e(t){var n=t.baseUrl,r=void 0===n?null:n,a=t.isCompressed,o=void 0!==a&&a;v(this,e),this.constructor===e&&(0,i.unreachable)("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=r,this.isCompressed=o}var t;return g(e,[{key:"fetch",value:(t=u(o.default.mark((function e(t){var n,r,a,s=this;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.name,this.baseUrl){e.next=3;break}throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');case 3:if(n){e.next=5;break}throw new Error("CMap name must be specified.");case 5:return r=this.baseUrl+n+(this.isCompressed?".bcmap":""),a=this.isCompressed?i.CMapCompressionType.BINARY:i.CMapCompressionType.NONE,e.abrupt("return",this._fetchData(r,a).catch((function(e){throw new Error("Unable to load ".concat(s.isCompressed?"binary ":"","CMap at: ").concat(r))})));case 8:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"_fetchData",value:function(e,t){(0,i.unreachable)("Abstract method `_fetchData` called.")}}]),e}();t.BaseCMapReaderFactory=j;var k=function(e){d(n,e);var t=h(n);function n(){return v(this,n),t.apply(this,arguments)}return g(n,[{key:"_fetchData",value:function(e,t){var n=this;return L()&&P(e,document.baseURI)?fetch(e).then(function(){var e=u(o.default.mark((function e(r){var a;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r.ok){e.next=2;break}throw new Error(r.statusText);case 2:if(!n.isCompressed){e.next=10;break}return e.t0=Uint8Array,e.next=6,r.arrayBuffer();case 6:e.t1=e.sent,a=new e.t0(e.t1),e.next=15;break;case 10:return e.t2=i.stringToBytes,e.next=13,r.text();case 13:e.t3=e.sent,a=(0,e.t2)(e.t3);case 15:return e.abrupt("return",{cMapData:a,compressionType:t});case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()):new Promise((function(r,a){var o=new XMLHttpRequest;o.open("GET",e,!0),n.isCompressed&&(o.responseType="arraybuffer"),o.onreadystatechange=function(){if(o.readyState===XMLHttpRequest.DONE){var e;if((200===o.status||0===o.status)&&(n.isCompressed&&o.response?e=new Uint8Array(o.response):!n.isCompressed&&o.responseText&&(e=(0,i.stringToBytes)(o.responseText)),e))return void r({cMapData:e,compressionType:t});a(new Error(o.statusText))}},o.send(null)}))}}]),n}(j);t.DOMCMapReaderFactory=k;var x=function(){function e(){v(this,e)}return g(e,[{key:"create",value:function(e,t){(0,i.assert)(e>0&&t>0,"Invalid SVG dimensions");var n=document.createElementNS(O,"svg:svg");return n.setAttribute("version","1.1"),n.setAttribute("width",e+"px"),n.setAttribute("height",t+"px"),n.setAttribute("preserveAspectRatio","none"),n.setAttribute("viewBox","0 0 "+e+" "+t),n}},{key:"createElement",value:function(e){return(0,i.assert)("string"==typeof e,"Invalid SVG element type"),document.createElementNS(O,e)}}]),e}();t.DOMSVGFactory=x;var S=function(){function e(t){var n=t.viewBox,r=t.scale,a=t.rotation,o=t.offsetX,i=void 0===o?0:o,s=t.offsetY,l=void 0===s?0:s,c=t.dontFlip,u=void 0!==c&&c;v(this,e),this.viewBox=n,this.scale=r,this.rotation=a,this.offsetX=i,this.offsetY=l;var d,f,h,p,m,b,g,y,O=(n[2]+n[0])/2,w=(n[3]+n[1])/2;switch((a%=360)<0&&(a+=360),a){case 180:d=-1,f=0,h=0,p=1;break;case 90:d=0,f=1,h=1,p=0;break;case 270:d=0,f=-1,h=-1,p=0;break;case 0:d=1,f=0,h=0,p=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}u&&(h=-h,p=-p),0===d?(m=Math.abs(w-n[1])*r+i,b=Math.abs(O-n[0])*r+l,g=Math.abs(n[3]-n[1])*r,y=Math.abs(n[2]-n[0])*r):(m=Math.abs(O-n[0])*r+i,b=Math.abs(w-n[1])*r+l,g=Math.abs(n[2]-n[0])*r,y=Math.abs(n[3]-n[1])*r),this.transform=[d*r,f*r,h*r,p*r,m-d*r*O-h*r*w,b-f*r*O-p*r*w],this.width=g,this.height=y}return g(e,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.scale,r=void 0===n?this.scale:n,a=t.rotation,o=void 0===a?this.rotation:a,i=t.offsetX,s=void 0===i?this.offsetX:i,l=t.offsetY,c=void 0===l?this.offsetY:l,u=t.dontFlip,d=void 0!==u&&u;return new e({viewBox:this.viewBox.slice(),scale:r,rotation:o,offsetX:s,offsetY:c,dontFlip:d})}},{key:"convertToViewportPoint",value:function(e,t){return i.Util.applyTransform([e,t],this.transform)}},{key:"convertToViewportRectangle",value:function(e){var t=i.Util.applyTransform([e[0],e[1]],this.transform),n=i.Util.applyTransform([e[2],e[3]],this.transform);return[t[0],t[1],n[0],n[1]]}},{key:"convertToPdfPoint",value:function(e,t){return i.Util.applyInverseTransform([e,t],this.transform)}}]),e}();t.PageViewport=S;var C=function(e){d(n,e);var t=h(n);function n(e,r){var a;return v(this,n),(a=t.call(this,e)).type=r,a}return n}(i.BaseException);t.RenderingCancelledException=C;var M={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};function A(e){for(var t=e.length,n=0;n<t&&""===e[n].trim();)n++;return"data:"===e.substring(n,n+5).toLowerCase()}t.LinkTarget=M;var T,E=function(){function e(){v(this,e),this.started=Object.create(null),this.times=[]}return g(e,[{key:"time",value:function(e){e in this.started&&(0,i.warn)("Timer is already running for ".concat(e)),this.started[e]=Date.now()}},{key:"timeEnd",value:function(e){e in this.started||(0,i.warn)("Timer has not been started for ".concat(e)),this.times.push({name:e,start:this.started[e],end:Date.now()}),delete this.started[e]}},{key:"toString",value:function(){var e,t=[],n=0,r=s(this.times);try{for(r.s();!(e=r.n()).done;){var a=e.value.name;a.length>n&&(n=a.length)}}catch(e){r.e(e)}finally{r.f()}var o,i=s(this.times);try{for(i.s();!(o=i.n()).done;){var l=o.value,c=l.end-l.start;t.push("".concat(l.name.padEnd(n)," ").concat(c,"ms\n"))}}catch(e){i.e(e)}finally{i.f()}return t.join("")}}]),e}();function L(){return"undefined"!=typeof fetch&&"undefined"!=typeof Response&&"body"in Response.prototype&&"undefined"!=typeof ReadableStream}function P(e,t){try{var n=(t?new URL(e,t):new URL(e)).protocol;return"http:"===n||"https:"===n}catch(e){return!1}}t.StatTimer=E;var D=function(){function e(){v(this,e)}return g(e,null,[{key:"toDateObject",value:function(e){if(!e||!(0,i.isString)(e))return null;T||(T=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));var t=T.exec(e);if(!t)return null;var n=parseInt(t[1],10),r=parseInt(t[2],10);r=r>=1&&r<=12?r-1:0;var a=parseInt(t[3],10);a=a>=1&&a<=31?a:1;var o=parseInt(t[4],10);o=o>=0&&o<=23?o:0;var s=parseInt(t[5],10);s=s>=0&&s<=59?s:0;var l=parseInt(t[6],10);l=l>=0&&l<=59?l:0;var c=t[7]||"Z",u=parseInt(t[8],10);u=u>=0&&u<=23?u:0;var d=parseInt(t[9],10)||0;return d=d>=0&&d<=59?d:0,"-"===c?(o+=u,s+=d):"+"===c&&(o-=u,s-=d),new Date(Date.UTC(n,r,a,o,s,l))}}]),e}();t.PDFDateString=D},(e,t,n)=>{"use strict";e.exports=n(3)},(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var a=function(e){var t,n=Object.prototype,a=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var a=t&&t.prototype instanceof b?t:b,o=Object.create(a.prototype),i=new A(r||[]);return o._invoke=function(e,t,n){var r=f;return function(a,o){if(r===p)throw new Error("Generator is already running");if(r===m){if("throw"===a)throw o;return E()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var s=S(i,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var l=d(e,t,n);if("normal"===l.type){if(r=n.done?m:h,l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=m,n.method="throw",n.arg=l.arg)}}}(e,n,i),o}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f="suspendedStart",h="suspendedYield",p="executing",m="completed",v={};function b(){}function g(){}function y(){}var O={};O[i]=function(){return this};var w=Object.getPrototypeOf,_=w&&w(w(T([])));_&&_!==n&&a.call(_,i)&&(O=_);var j=y.prototype=b.prototype=Object.create(O);function k(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(o,i,s,l){var c=d(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"===r(f)&&a.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(f).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,l)}))}l(c.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}}function S(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var a=d(r,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,v;var o=a.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function T(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function n(){for(;++r<e.length;)if(a.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}return{next:E}}function E(){return{value:t,done:!0}}return g.prototype=j.constructor=y,y.constructor=g,g.displayName=c(y,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,l,"GeneratorFunction")),e.prototype=Object.create(j),e},e.awrap=function(e){return{__await:e}},k(x.prototype),x.prototype[s]=function(){return this},e.AsyncIterator=x,e.async=function(t,n,r,a,o){void 0===o&&(o=Promise);var i=new x(u(t,n,r,a),o);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},k(j),c(j,l,"Generator"),j[i]=function(){return this},j.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(M),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,a){return s.type="throw",s.arg=e,n.next=r,a&&(n.method="next",n.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),M(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;M(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}("object"===r(e=n.nmd(e))?e.exports:{});try{regeneratorRuntime=a}catch(e){Function("r","regeneratorRuntime = r")(a)}},(e,t,n)=>{"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function u(e){var t=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(e){return!1}}();return function(){var n,r=f(e);if(t){var a=f(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.arrayByteLength=A,t.arraysToBytes=function(e){var t=e.length;if(1===t&&e[0]instanceof Uint8Array)return e[0];for(var n=0,r=0;r<t;r++)n+=A(e[r]);for(var a=0,o=new Uint8Array(n),i=0;i<t;i++){var s=e[i];s instanceof Uint8Array||(s="string"==typeof s?M(s):new Uint8Array(s));var l=s.byteLength;o.set(s,a),a+=l}return o},t.assert=b,t.bytesToString=function(e){b(null!==e&&"object"===i(e)&&void 0!==e.length,"Invalid argument for bytesToString");var t=e.length,n=8192;if(t<n)return String.fromCharCode.apply(null,e);for(var r=[],a=0;a<t;a+=n){var o=Math.min(a+n,t),s=e.subarray(a,o);r.push(String.fromCharCode.apply(null,s))}return r.join("")},t.createObjectURL=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(URL.createObjectURL&&!n)return URL.createObjectURL(new Blob([e],{type:t}));for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="data:".concat(t,";base64,"),o=0,i=e.length;o<i;o+=3){var s=255&e[o],l=255&e[o+1],c=255&e[o+2],u=s>>2,d=(3&s)<<4|l>>4,f=o+1<i?(15&l)<<2|c>>6:64,h=o+2<i?63&c:64;a+=r[u]+r[d]+r[f]+r[h]}return a},t.createPromiseCapability=function(){var e=Object.create(null),t=!1;return Object.defineProperty(e,"settled",{get:function(){return t}}),e.promise=new Promise((function(n,r){e.resolve=function(e){t=!0,n(e)},e.reject=function(e){t=!0,r(e)}})),e},t.createValidAbsoluteUrl=function(e,t){if(!e)return null;try{var n=t?new URL(e,t):new URL(e);if(function(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(n))return n}catch(e){}return null},t.escapeString=function(e){return e.replace(/([()\\\n\r])/g,(function(e){return"\n"===e?"\\n":"\r"===e?"\\r":"\\".concat(e)}))},t.getModificationDate=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,t=[e.getUTCFullYear().toString(),(e.getUTCMonth()+1).toString().padStart(2,"0"),e.getUTCDate().toString().padStart(2,"0"),e.getUTCHours().toString().padStart(2,"0"),e.getUTCMinutes().toString().padStart(2,"0"),e.getUTCSeconds().toString().padStart(2,"0")];return t.join("")},t.getVerbosityLevel=function(){return p},t.info=function(e){p>=h.INFOS&&console.log("Info: ".concat(e))},t.isArrayBuffer=function(e){return"object"===i(e)&&null!==e&&void 0!==e.byteLength},t.isArrayEqual=function(e,t){if(e.length!==t.length)return!1;for(var n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0},t.isAscii=function(e){return/^[\x00-\x7F]*$/.test(e)},t.isBool=function(e){return"boolean"==typeof e},t.isNum=function(e){return"number"==typeof e},t.isSameOrigin=function(e,t){var n;try{if(!(n=new URL(e)).origin||"null"===n.origin)return!1}catch(e){return!1}var r=new URL(t,n);return n.origin===r.origin},t.isString=function(e){return"string"==typeof e},t.objectFromMap=function(e){var t,n,r,o=Object.create(null),i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},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 i,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw i}}}}(e);try{for(i.s();!(t=i.n()).done;){var s=(n=t.value,r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(n,r)||a(n,r)||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.")}()),l=s[0],c=s[1];o[l]=c}}catch(e){i.e(e)}finally{i.f()}return o},t.objectSize=function(e){return Object.keys(e).length},t.removeNullCharacters=function(e){return"string"!=typeof e?(m("The argument for removeNullCharacters must be a string."),e):e.replace(C,"")},t.setVerbosityLevel=function(e){Number.isInteger(e)&&(p=e)},t.shadow=g,t.string32=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},t.stringToBytes=M,t.stringToPDFString=function(e){var t=e.length,n=[];if("þ"===e[0]&&"ÿ"===e[1])for(var r=2;r<t;r+=2)n.push(String.fromCharCode(e.charCodeAt(r)<<8|e.charCodeAt(r+1)));else if("ÿ"===e[0]&&"þ"===e[1])for(var a=2;a<t;a+=2)n.push(String.fromCharCode(e.charCodeAt(a+1)<<8|e.charCodeAt(a)));else for(var o=0;o<t;++o){var i=N[e.charCodeAt(o)];n.push(i?String.fromCharCode(i):e.charAt(o))}return n.join("")},t.stringToUTF16BEString=function(e){for(var t=["þÿ"],n=0,r=e.length;n<r;n++){var a=e.charCodeAt(n);t.push(String.fromCharCode(a>>8&255),String.fromCharCode(255&a))}return t.join("")},t.stringToUTF8String=function(e){return decodeURIComponent(escape(e))},t.unreachable=v,t.utf8StringToString=function(e){return unescape(encodeURIComponent(e))},t.warn=m,t.VerbosityLevel=t.Util=t.UNSUPPORTED_FEATURES=t.UnknownErrorException=t.UnexpectedResponseException=t.TextRenderingMode=t.StreamType=t.PermissionFlag=t.PasswordResponses=t.PasswordException=t.PageActionEventType=t.OPS=t.MissingPDFException=t.IsLittleEndianCached=t.IsEvalSupportedCached=t.InvalidPDFException=t.ImageKind=t.IDENTITY_MATRIX=t.FormatError=t.FontType=t.FONT_IDENTITY_MATRIX=t.DocumentActionEventType=t.CMapCompressionType=t.BaseException=t.AnnotationType=t.AnnotationStateModelType=t.AnnotationReviewState=t.AnnotationReplyType=t.AnnotationMarkedState=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationBorderStyleType=t.AnnotationActionEventType=t.AbortException=void 0,n(5),t.IDENTITY_MATRIX=[1,0,0,1,0,0],t.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],t.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},t.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},t.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},t.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},t.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"},t.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"},t.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"},t.AnnotationReplyType={GROUP:"Group",REPLY:"R"},t.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},t.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},t.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},t.AnnotationActionEventType={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},t.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},t.PageActionEventType={O:"PageOpen",C:"PageClose"},t.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"},t.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};var h={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=h,t.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},t.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},t.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent"},t.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var p=h.WARNINGS;function m(e){p>=h.WARNINGS&&console.log("Warning: ".concat(e))}function v(e){throw new Error(e)}function b(e,t){e||v(t)}function g(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!1}),n}var y=function(){function e(t){this.constructor===e&&v("Cannot initialize BaseException."),this.message=t,this.name=this.constructor.name}return e.prototype=new Error,e.constructor=e,e}();t.BaseException=y;var O=function(e){l(n,e);var t=u(n);function n(e,r){var a;return s(this,n),(a=t.call(this,e)).code=r,a}return n}(y);t.PasswordException=O;var w=function(e){l(n,e);var t=u(n);function n(e,r){var a;return s(this,n),(a=t.call(this,e)).details=r,a}return n}(y);t.UnknownErrorException=w;var _=function(e){l(n,e);var t=u(n);function n(){return s(this,n),t.apply(this,arguments)}return n}(y);t.InvalidPDFException=_;var j=function(e){l(n,e);var t=u(n);function n(){return s(this,n),t.apply(this,arguments)}return n}(y);t.MissingPDFException=j;var k=function(e){l(n,e);var t=u(n);function n(e,r){var a;return s(this,n),(a=t.call(this,e)).status=r,a}return n}(y);t.UnexpectedResponseException=k;var x=function(e){l(n,e);var t=u(n);function n(){return s(this,n),t.apply(this,arguments)}return n}(y);t.FormatError=x;var S=function(e){l(n,e);var t=u(n);function n(){return s(this,n),t.apply(this,arguments)}return n}(y);t.AbortException=S;var C=/\x00/g;function M(e){b("string"==typeof e,"Invalid argument for stringToBytes");for(var t=e.length,n=new Uint8Array(t),r=0;r<t;++r)n[r]=255&e.charCodeAt(r);return n}function A(e){return void 0!==e.length?e.length:(b(void 0!==e.byteLength,"arrayByteLength - invalid argument."),e.byteLength)}var T={get value(){return g(this,"value",((e=new Uint8Array(4))[0]=1,1===new Uint32Array(e.buffer,0,1)[0]));var e}};t.IsLittleEndianCached=T;var E={get value(){return g(this,"value",function(){try{return new Function(""),!0}catch(e){return!1}}())}};t.IsEvalSupportedCached=E;var L,P=(L=Array(256).keys(),function(e){if(Array.isArray(e))return o(e)}(L)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(L)||a(L)||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.")}()).map((function(e){return e.toString(16).padStart(2,"0")})),D=function(){function e(){s(this,e)}var t,n,a;return t=e,a=[{key:"makeHexColor",value:function(e,t,n){return"#".concat(P[e]).concat(P[t]).concat(P[n])}},{key:"transform",value:function(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}},{key:"applyTransform",value:function(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}},{key:"applyInverseTransform",value:function(e,t){var n=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/n,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/n]}},{key:"getAxialAlignedBoundingBox",value:function(t,n){var r=e.applyTransform(t,n),a=e.applyTransform(t.slice(2,4),n),o=e.applyTransform([t[0],t[3]],n),i=e.applyTransform([t[2],t[1]],n);return[Math.min(r[0],a[0],o[0],i[0]),Math.min(r[1],a[1],o[1],i[1]),Math.max(r[0],a[0],o[0],i[0]),Math.max(r[1],a[1],o[1],i[1])]}},{key:"inverseTransform",value:function(e){var t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}},{key:"apply3dTransform",value:function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2],e[3]*t[0]+e[4]*t[1]+e[5]*t[2],e[6]*t[0]+e[7]*t[1]+e[8]*t[2]]}},{key:"singularValueDecompose2dScale",value:function(e){var t=[e[0],e[2],e[1],e[3]],n=e[0]*t[0]+e[1]*t[2],r=e[0]*t[1]+e[1]*t[3],a=e[2]*t[0]+e[3]*t[2],o=e[2]*t[1]+e[3]*t[3],i=(n+o)/2,s=Math.sqrt(Math.pow(n+o,2)-4*(n*o-a*r))/2,l=i+s||1,c=i-s||1;return[Math.sqrt(l),Math.sqrt(c)]}},{key:"normalizeRect",value:function(e){var t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}},{key:"intersect",value:function(t,n){function r(e,t){return e-t}var a=[t[0],t[2],n[0],n[2]].sort(r),o=[t[1],t[3],n[1],n[3]].sort(r),i=[];return t=e.normalizeRect(t),n=e.normalizeRect(n),a[0]===t[0]&&a[1]===n[0]||a[0]===n[0]&&a[1]===t[0]?(i[0]=a[1],i[2]=a[2],o[0]===t[1]&&o[1]===n[1]||o[0]===n[1]&&o[1]===t[1]?(i[1]=o[1],i[3]=o[2],i):null):null}}],(n=null)&&r(t.prototype,n),a&&r(t,a),e}();t.Util=D;var N=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,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,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,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364]},(e,t,n)=>{"use strict";var r=n(6);"undefined"!=typeof globalThis&&globalThis._pdfjsCompatibilityChecked||("undefined"!=typeof globalThis&&globalThis.Math===Math||(globalThis=n(7)),globalThis._pdfjsCompatibilityChecked=!0,!globalThis.btoa&&r.isNodeJS&&(globalThis.btoa=function(e){return Buffer.from(e,"binary").toString("base64")}),!globalThis.atob&&r.isNodeJS&&(globalThis.atob=function(e){return Buffer.from(e,"base64").toString("binary")}),Object.fromEntries||n(53),globalThis.Promise.allSettled||(globalThis.Promise=n(84)),function(){var e=!1;if("undefined"!=typeof ReadableStream)try{new ReadableStream({start:function(e){e.close()}}),e=!0}catch(e){}e||(globalThis.ReadableStream=n(112).ReadableStream)}())},(e,t)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isNodeJS=void 0;var r=!("object"!==("undefined"==typeof process?"undefined":n(process))||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type);t.isNodeJS=r},(e,t,n)=>{n(8),e.exports=n(10)},(e,t,n)=>{n(9)({global:!0},{globalThis:n(10)})},(e,t,n)=>{var r=n(10),a=n(11).f,o=n(26),i=n(29),s=n(30),l=n(40),c=n(52);e.exports=function(e,t){var n,u,d,f,h,p=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[p]||s(p,{}):(r[p]||{}).prototype)for(u in t){if(f=t[u],d=e.noTargetGet?(h=a(n,u))&&h.value:n[u],!c(m?u:p+(v?".":"#")+u,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;l(f,d)}(e.sham||d&&d.sham)&&o(f,"sham",!0),i(n,u,f,e)}}},e=>{var t=function(e){return e&&e.Math==Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof __webpack_require__.g&&__webpack_require__.g)||function(){return this}()||Function("return this")()},(e,t,n)=>{var r=n(12),a=n(14),o=n(15),i=n(16),s=n(20),l=n(22),c=n(24),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=i(e),t=s(t,!0),c)try{return u(e,t)}catch(e){}if(l(e,t))return o(!a.f.call(e,t),e[t])}},(e,t,n)=>{var r=n(13);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!n.call({1:2},1);t.f=a?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},(e,t,n)=>{var r=n(17),a=n(19);e.exports=function(e){return r(a(e))}},(e,t,n)=>{var r=n(13),a=n(18),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?o.call(e,""):Object(e)}:Object},e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},(e,t,n)=>{var r=n(21);e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},(e,t,n)=>{var r=n(23),a={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return a.call(r(e),t)}},(e,t,n)=>{var r=n(19);e.exports=function(e){return Object(r(e))}},(e,t,n)=>{var r=n(12),a=n(13),o=n(25);e.exports=!r&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},(e,t,n)=>{var r=n(10),a=n(21),o=r.document,i=a(o)&&a(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},(e,t,n)=>{var r=n(12),a=n(27),o=n(15);e.exports=r?function(e,t,n){return a.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},(e,t,n)=>{var r=n(12),a=n(24),o=n(28),i=n(20),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=i(t,!0),o(n),a)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},(e,t,n)=>{var r=n(21);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},(e,t,n)=>{var r=n(10),a=n(26),o=n(22),i=n(30),s=n(31),l=n(33),c=l.get,u=l.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,h=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||a(n,"name",t),(l=u(n)).source||(l.source=d.join("string"==typeof t?t:""))),e!==r?(c?!h&&e[t]&&(f=!0):delete e[t],f?e[t]=n:a(e,t,n)):f?e[t]=n:i(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},(e,t,n)=>{var r=n(10),a=n(26);e.exports=function(e,t){try{a(r,e,t)}catch(n){r[e]=t}return t}},(e,t,n)=>{var r=n(32),a=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return a.call(e)}),e.exports=r.inspectSource},(e,t,n)=>{var r=n(10),a=n(30),o="__core-js_shared__",i=r[o]||a(o,{});e.exports=i},(e,t,n)=>{var r,a,o,i=n(34),s=n(10),l=n(21),c=n(26),u=n(22),d=n(32),f=n(35),h=n(39),p="Object already initialized",m=s.WeakMap;if(i||d.state){var v=d.state||(d.state=new m),b=v.get,g=v.has,y=v.set;r=function(e,t){if(g.call(v,e))throw new TypeError(p);return t.facade=e,y.call(v,e,t),t},a=function(e){return b.call(v,e)||{}},o=function(e){return g.call(v,e)}}else{var O=f("state");h[O]=!0,r=function(e,t){if(u(e,O))throw new TypeError(p);return t.facade=e,c(e,O,t),t},a=function(e){return u(e,O)?e[O]:{}},o=function(e){return u(e,O)}}e.exports={set:r,get:a,has:o,enforce:function(e){return o(e)?a(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=a(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},(e,t,n)=>{var r=n(10),a=n(31),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(a(o))},(e,t,n)=>{var r=n(36),a=n(38),o=r("keys");e.exports=function(e){return o[e]||(o[e]=a(e))}},(e,t,n)=>{var r=n(37),a=n(32);(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.13.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},e=>{e.exports=!1},e=>{var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},e=>{e.exports={}},(e,t,n)=>{var r=n(22),a=n(41),o=n(11),i=n(27);e.exports=function(e,t){for(var n=a(t),s=i.f,l=o.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||s(e,u,l(t,u))}}},(e,t,n)=>{var r=n(42),a=n(44),o=n(51),i=n(28);e.exports=r("Reflect","ownKeys")||function(e){var t=a.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},(e,t,n)=>{var r=n(43),a=n(10),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(a[e]):r[e]&&r[e][t]||a[e]&&a[e][t]}},(e,t,n)=>{var r=n(10);e.exports=r},(e,t,n)=>{var r=n(45),a=n(50).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},(e,t,n)=>{var r=n(22),a=n(16),o=n(46).indexOf,i=n(39);e.exports=function(e,t){var n,s=a(e),l=0,c=[];for(n in s)!r(i,n)&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},(e,t,n)=>{var r=n(16),a=n(47),o=n(49),i=function(e){return function(t,n,i){var s,l=r(t),c=a(l.length),u=o(i,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},(e,t,n)=>{var r=n(48),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},e=>{var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},(e,t,n)=>{var r=n(48),a=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?a(n+t,0):o(n,t)}},e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},(e,t)=>{t.f=Object.getOwnPropertySymbols},(e,t,n)=>{var r=n(13),a=/#|\.prototype\./,o=function(e,t){var n=s[i(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},i=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},(e,t,n)=>{n(54),n(74);var r=n(43);e.exports=r.Object.fromEntries},(e,t,n)=>{"use strict";var r=n(16),a=n(55),o=n(65),i=n(33),s=n(66),l="Array Iterator",c=i.set,u=i.getterFor(l);e.exports=s(Array,"Array",(function(e,t){c(this,{type:l,target:r(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),o.Arguments=o.Array,a("keys"),a("values"),a("entries")},(e,t,n)=>{var r=n(56),a=n(61),o=n(27),i=r("unscopables"),s=Array.prototype;null==s[i]&&o.f(s,i,{configurable:!0,value:a(null)}),e.exports=function(e){s[i][e]=!0}},(e,t,n)=>{var r=n(10),a=n(36),o=n(22),i=n(38),s=n(57),l=n(60),c=a("wks"),u=r.Symbol,d=l?u:u&&u.withoutSetter||i;e.exports=function(e){return o(c,e)&&(s||"string"==typeof c[e])||(s&&o(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},(e,t,n)=>{var r=n(58),a=n(13);e.exports=!!Object.getOwnPropertySymbols&&!a((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},(e,t,n)=>{var r,a,o=n(10),i=n(59),s=o.process,l=s&&s.versions,c=l&&l.v8;c?a=(r=c.split("."))[0]<4?1:r[0]+r[1]:i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(a=r[1]),e.exports=a&&+a},(e,t,n)=>{var r=n(42);e.exports=r("navigator","userAgent")||""},(e,t,n)=>{var r=n(57);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},(e,t,n)=>{var r,a=n(28),o=n(62),i=n(50),s=n(39),l=n(64),c=n(25),u=n(35),d=u("IE_PROTO"),f=function(){},h=function(e){return"<script>"+e+"<\/script>"},p=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;p=r?function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F);for(var n=i.length;n--;)delete p.prototype[i[n]];return p()};s[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=a(e),n=new f,f.prototype=null,n[d]=e):n=p(),void 0===t?n:o(n,t)}},(e,t,n)=>{var r=n(12),a=n(27),o=n(28),i=n(63);e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=i(t),s=r.length,l=0;s>l;)a.f(e,n=r[l++],t[n]);return e}},(e,t,n)=>{var r=n(45),a=n(50);e.exports=Object.keys||function(e){return r(e,a)}},(e,t,n)=>{var r=n(42);e.exports=r("document","documentElement")},e=>{e.exports={}},(e,t,n)=>{"use strict";var r=n(9),a=n(67),o=n(69),i=n(72),s=n(71),l=n(26),c=n(29),u=n(56),d=n(37),f=n(65),h=n(68),p=h.IteratorPrototype,m=h.BUGGY_SAFARI_ITERATORS,v=u("iterator"),b="keys",g="values",y="entries",O=function(){return this};e.exports=function(e,t,n,u,h,w,_){a(n,t,u);var j,k,x,S=function(e){if(e===h&&E)return E;if(!m&&e in A)return A[e];switch(e){case b:case g:case y:return function(){return new n(this,e)}}return function(){return new n(this)}},C=t+" Iterator",M=!1,A=e.prototype,T=A[v]||A["@@iterator"]||h&&A[h],E=!m&&T||S(h),L="Array"==t&&A.entries||T;if(L&&(j=o(L.call(new e)),p!==Object.prototype&&j.next&&(d||o(j)===p||(i?i(j,p):"function"!=typeof j[v]&&l(j,v,O)),s(j,C,!0,!0),d&&(f[C]=O))),h==g&&T&&T.name!==g&&(M=!0,E=function(){return T.call(this)}),d&&!_||A[v]===E||l(A,v,E),f[t]=E,h)if(k={values:S(g),keys:w?E:S(b),entries:S(y)},_)for(x in k)(m||M||!(x in A))&&c(A,x,k[x]);else r({target:t,proto:!0,forced:m||M},k);return k}},(e,t,n)=>{"use strict";var r=n(68).IteratorPrototype,a=n(61),o=n(15),i=n(71),s=n(65),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=a(r,{next:o(1,n)}),i(e,c,!1,!0),s[c]=l,e}},(e,t,n)=>{"use strict";var r,a,o,i=n(13),s=n(69),l=n(26),c=n(22),u=n(56),d=n(37),f=u("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(a=s(s(o)))!==Object.prototype&&(r=a):h=!0);var p=null==r||i((function(){var e={};return r[f].call(e)!==e}));p&&(r={}),d&&!p||c(r,f)||l(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},(e,t,n)=>{var r=n(22),a=n(23),o=n(35),i=n(70),s=o("IE_PROTO"),l=Object.prototype;e.exports=i?Object.getPrototypeOf:function(e){return e=a(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},(e,t,n)=>{var r=n(13);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},(e,t,n)=>{var r=n(27).f,a=n(22),o=n(56)("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},(e,t,n)=>{var r=n(28),a=n(73);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,o){return r(n),a(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},(e,t,n)=>{var r=n(21);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},(e,t,n)=>{var r=n(9),a=n(75),o=n(83);r({target:"Object",stat:!0},{fromEntries:function(e){var t={};return a(e,(function(e,n){o(t,e,n)}),{AS_ENTRIES:!0}),t}})},(e,t,n)=>{var r=n(28),a=n(76),o=n(47),i=n(77),s=n(79),l=n(82),c=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var u,d,f,h,p,m,v,b=n&&n.that,g=!(!n||!n.AS_ENTRIES),y=!(!n||!n.IS_ITERATOR),O=!(!n||!n.INTERRUPTED),w=i(t,b,1+g+O),_=function(e){return u&&l(u),new c(!0,e)},j=function(e){return g?(r(e),O?w(e[0],e[1],_):w(e[0],e[1])):O?w(e,_):w(e)};if(y)u=e;else{if("function"!=typeof(d=s(e)))throw TypeError("Target is not iterable");if(a(d)){for(f=0,h=o(e.length);h>f;f++)if((p=j(e[f]))&&p instanceof c)return p;return new c(!1)}u=d.call(e)}for(m=u.next;!(v=m.call(u)).done;){try{p=j(v.value)}catch(e){throw l(u),e}if("object"==typeof p&&p&&p instanceof c)return p}return new c(!1)}},(e,t,n)=>{var r=n(56),a=n(65),o=r("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(a.Array===e||i[o]===e)}},(e,t,n)=>{var r=n(78);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},(e,t,n)=>{var r=n(80),a=n(65),o=n(56)("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||a[r(e)]}},(e,t,n)=>{var r=n(81),a=n(18),o=n(56)("toStringTag"),i="Arguments"==a(function(){return arguments}());e.exports=r?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?a(t):"Object"==(r=a(t))&&"function"==typeof t.callee?"Arguments":r}},(e,t,n)=>{var r={};r[n(56)("toStringTag")]="z",e.exports="[object z]"===String(r)},(e,t,n)=>{var r=n(28);e.exports=function(e){var t=e.return;if(void 0!==t)return r(t.call(e)).value}},(e,t,n)=>{"use strict";var r=n(20),a=n(27),o=n(15);e.exports=function(e,t,n){var i=r(t);i in e?a.f(e,i,o(0,n)):e[i]=n}},(e,t,n)=>{n(85),n(86),n(88),n(105),n(106),n(107),n(108),n(110);var r=n(43);e.exports=r.Promise},(e,t,n)=>{"use strict";var r=n(9),a=n(69),o=n(72),i=n(61),s=n(26),l=n(15),c=n(75),u=function(e,t){var n=this;if(!(n instanceof u))return new u(e,t);o&&(n=o(new Error(void 0),a(n))),void 0!==t&&s(n,"message",String(t));var r=[];return c(e,r.push,{that:r}),s(n,"errors",r),n};u.prototype=i(Error.prototype,{constructor:l(5,u),message:l(5,""),name:l(5,"AggregateError")}),r({global:!0},{AggregateError:u})},(e,t,n)=>{var r=n(81),a=n(29),o=n(87);r||a(Object.prototype,"toString",o,{unsafe:!0})},(e,t,n)=>{"use strict";var r=n(81),a=n(80);e.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}},(e,t,n)=>{"use strict";var r,a,o,i,s=n(9),l=n(37),c=n(10),u=n(42),d=n(89),f=n(29),h=n(90),p=n(72),m=n(71),v=n(91),b=n(21),g=n(78),y=n(92),O=n(31),w=n(75),_=n(93),j=n(94),k=n(95).set,x=n(98),S=n(100),C=n(102),M=n(101),A=n(103),T=n(33),E=n(52),L=n(56),P=n(104),D=n(97),N=n(58),R=L("species"),I="Promise",B=T.get,F=T.set,V=T.getterFor(I),z=d&&d.prototype,H=d,Y=z,U=c.TypeError,W=c.document,$=c.process,q=M.f,G=q,X=!!(W&&W.createEvent&&c.dispatchEvent),K="function"==typeof PromiseRejectionEvent,J="unhandledrejection",Z=!1,Q=E(I,(function(){var e=O(H)!==String(H);if(!e&&66===N)return!0;if(l&&!Y.finally)return!0;if(N>=51&&/native code/.test(H))return!1;var t=new H((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};return(t.constructor={})[R]=n,!(Z=t.then((function(){}))instanceof n)||!e&&P&&!K})),ee=Q||!_((function(e){H.all(e).catch((function(){}))})),te=function(e){var t;return!(!b(e)||"function"!=typeof(t=e.then))&&t},ne=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;x((function(){for(var r=e.value,a=1==e.state,o=0;n.length>o;){var i,s,l,c=n[o++],u=a?c.ok:c.fail,d=c.resolve,f=c.reject,h=c.domain;try{u?(a||(2===e.rejection&&ie(e),e.rejection=1),!0===u?i=r:(h&&h.enter(),i=u(r),h&&(h.exit(),l=!0)),i===c.promise?f(U("Promise-chain cycle")):(s=te(i))?s.call(i,d,f):d(i)):f(r)}catch(e){h&&!l&&h.exit(),f(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ae(e)}))}},re=function(e,t,n){var r,a;X?((r=W.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},!K&&(a=c["on"+e])?a(r):e===J&&C("Unhandled promise rejection",n)},ae=function(e){k.call(c,(function(){var t,n=e.facade,r=e.value;if(oe(e)&&(t=A((function(){D?$.emit("unhandledRejection",r,n):re(J,n,r)})),e.rejection=D||oe(e)?2:1,t.error))throw t.value}))},oe=function(e){return 1!==e.rejection&&!e.parent},ie=function(e){k.call(c,(function(){var t=e.facade;D?$.emit("rejectionHandled",t):re("rejectionhandled",t,e.value)}))},se=function(e,t,n){return function(r){e(t,r,n)}},le=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,ne(e,!0))},ce=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw U("Promise can't be resolved itself");var r=te(t);r?x((function(){var n={done:!1};try{r.call(t,se(ce,n,e),se(le,n,e))}catch(t){le(n,t,e)}})):(e.value=t,e.state=1,ne(e,!1))}catch(t){le({done:!1},t,e)}}};if(Q&&(Y=(H=function(e){y(this,H,I),g(e),r.call(this);var t=B(this);try{e(se(ce,t),se(le,t))}catch(e){le(t,e)}}).prototype,(r=function(e){F(this,{type:I,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(Y,{then:function(e,t){var n=V(this),r=q(j(this,H));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=D?$.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&ne(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r,t=B(e);this.promise=e,this.resolve=se(ce,t),this.reject=se(le,t)},M.f=q=function(e){return e===H||e===o?new a(e):G(e)},!l&&"function"==typeof d&&z!==Object.prototype)){i=z.then,Z||(f(z,"then",(function(e,t){var n=this;return new H((function(e,t){i.call(n,e,t)})).then(e,t)}),{unsafe:!0}),f(z,"catch",Y.catch,{unsafe:!0}));try{delete z.constructor}catch(e){}p&&p(z,Y)}s({global:!0,wrap:!0,forced:Q},{Promise:H}),m(H,I,!1,!0),v(I),o=u(I),s({target:I,stat:!0,forced:Q},{reject:function(e){var t=q(this);return t.reject.call(void 0,e),t.promise}}),s({target:I,stat:!0,forced:l||Q},{resolve:function(e){return S(l&&this===o?H:this,e)}}),s({target:I,stat:!0,forced:ee},{all:function(e){var t=this,n=q(t),r=n.resolve,a=n.reject,o=A((function(){var n=g(t.resolve),o=[],i=0,s=1;w(e,(function(e){var l=i++,c=!1;o.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,o[l]=e,--s||r(o))}),a)})),--s||r(o)}));return o.error&&a(o.value),n.promise},race:function(e){var t=this,n=q(t),r=n.reject,a=A((function(){var a=g(t.resolve);w(e,(function(e){a.call(t,e).then(n.resolve,r)}))}));return a.error&&r(a.value),n.promise}})},(e,t,n)=>{var r=n(10);e.exports=r.Promise},(e,t,n)=>{var r=n(29);e.exports=function(e,t,n){for(var a in t)r(e,a,t[a],n);return e}},(e,t,n)=>{"use strict";var r=n(42),a=n(27),o=n(56),i=n(12),s=o("species");e.exports=function(e){var t=r(e),n=a.f;i&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},e=>{e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},(e,t,n)=>{var r=n(56)("iterator"),a=!1;try{var o=0,i={next:function(){return{done:!!o++}},return:function(){a=!0}};i[r]=function(){return this},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},(e,t,n)=>{var r=n(28),a=n(78),o=n(56)("species");e.exports=function(e,t){var n,i=r(e).constructor;return void 0===i||null==(n=r(i)[o])?t:a(n)}},(e,t,n)=>{var r,a,o,i=n(10),s=n(13),l=n(77),c=n(64),u=n(25),d=n(96),f=n(97),h=i.location,p=i.setImmediate,m=i.clearImmediate,v=i.process,b=i.MessageChannel,g=i.Dispatch,y=0,O={},w="onreadystatechange",_=function(e){if(O.hasOwnProperty(e)){var t=O[e];delete O[e],t()}},j=function(e){return function(){_(e)}},k=function(e){_(e.data)},x=function(e){i.postMessage(e+"",h.protocol+"//"+h.host)};p&&m||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return O[++y]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(y),y},m=function(e){delete O[e]},f?r=function(e){v.nextTick(j(e))}:g&&g.now?r=function(e){g.now(j(e))}:b&&!d?(o=(a=new b).port2,a.port1.onmessage=k,r=l(o.postMessage,o,1)):i.addEventListener&&"function"==typeof postMessage&&!i.importScripts&&h&&"file:"!==h.protocol&&!s(x)?(r=x,i.addEventListener("message",k,!1)):r=w in u("script")?function(e){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),_(e)}}:function(e){setTimeout(j(e),0)}),e.exports={set:p,clear:m}},(e,t,n)=>{var r=n(59);e.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(r)},(e,t,n)=>{var r=n(18),a=n(10);e.exports="process"==r(a.process)},(e,t,n)=>{var r,a,o,i,s,l,c,u,d=n(10),f=n(11).f,h=n(95).set,p=n(96),m=n(99),v=n(97),b=d.MutationObserver||d.WebKitMutationObserver,g=d.document,y=d.process,O=d.Promise,w=f(d,"queueMicrotask"),_=w&&w.value;_||(r=function(){var e,t;for(v&&(e=y.domain)&&e.exit();a;){t=a.fn,a=a.next;try{t()}catch(e){throw a?i():o=void 0,e}}o=void 0,e&&e.enter()},p||v||m||!b||!g?O&&O.resolve?((c=O.resolve(void 0)).constructor=O,u=c.then,i=function(){u.call(c,r)}):i=v?function(){y.nextTick(r)}:function(){h.call(d,r)}:(s=!0,l=g.createTextNode(""),new b(r).observe(l,{characterData:!0}),i=function(){l.data=s=!s})),e.exports=_||function(e){var t={fn:e,next:void 0};o&&(o.next=t),a||(a=t,i()),o=t}},(e,t,n)=>{var r=n(59);e.exports=/web0s(?!.*chrome)/i.test(r)},(e,t,n)=>{var r=n(28),a=n(21),o=n(101);e.exports=function(e,t){if(r(e),a(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},(e,t,n)=>{"use strict";var r=n(78),a=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new a(e)}},(e,t,n)=>{var r=n(10);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},e=>{e.exports="object"==typeof window},(e,t,n)=>{"use strict";var r=n(9),a=n(78),o=n(101),i=n(103),s=n(75);r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=o.f(t),r=n.resolve,l=n.reject,c=i((function(){var n=a(t.resolve),o=[],i=0,l=1;s(e,(function(e){var a=i++,s=!1;o.push(void 0),l++,n.call(t,e).then((function(e){s||(s=!0,o[a]={status:"fulfilled",value:e},--l||r(o))}),(function(e){s||(s=!0,o[a]={status:"rejected",reason:e},--l||r(o))}))})),--l||r(o)}));return c.error&&l(c.value),n.promise}})},(e,t,n)=>{"use strict";var r=n(9),a=n(78),o=n(42),i=n(101),s=n(103),l=n(75),c="No one promise resolved";r({target:"Promise",stat:!0},{any:function(e){var t=this,n=i.f(t),r=n.resolve,u=n.reject,d=s((function(){var n=a(t.resolve),i=[],s=0,d=1,f=!1;l(e,(function(e){var a=s++,l=!1;i.push(void 0),d++,n.call(t,e).then((function(e){l||f||(f=!0,r(e))}),(function(e){l||f||(l=!0,i[a]=e,--d||u(new(o("AggregateError"))(i,c)))}))})),--d||u(new(o("AggregateError"))(i,c))}));return d.error&&u(d.value),n.promise}})},(e,t,n)=>{"use strict";var r=n(9),a=n(37),o=n(89),i=n(13),s=n(42),l=n(94),c=n(100),u=n(29);if(r({target:"Promise",proto:!0,real:!0,forced:!!o&&i((function(){o.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=l(this,s("Promise")),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then((function(){return n}))}:e,n?function(n){return c(t,e()).then((function(){throw n}))}:e)}}),!a&&"function"==typeof o){var d=s("Promise").prototype.finally;o.prototype.finally!==d&&u(o.prototype,"finally",d,{unsafe:!0})}},(e,t,n)=>{"use strict";var r=n(109).charAt,a=n(33),o=n(66),i="String Iterator",s=a.set,l=a.getterFor(i);o(String,"String",(function(e){s(this,{type:i,string:String(e),index:0})}),(function(){var e,t=l(this),n=t.string,a=t.index;return a>=n.length?{value:void 0,done:!0}:(e=r(n,a),t.index+=e.length,{value:e,done:!1})}))},(e,t,n)=>{var r=n(48),a=n(19),o=function(e){return function(t,n){var o,i,s=String(a(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(i=s.charCodeAt(l+1))<56320||i>57343?e?s.charAt(l):o:e?s.slice(l,l+2):i-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},(e,t,n)=>{var r=n(10),a=n(111),o=n(54),i=n(26),s=n(56),l=s("iterator"),c=s("toStringTag"),u=o.values;for(var d in a){var f=r[d],h=f&&f.prototype;if(h){if(h[l]!==u)try{i(h,l,u)}catch(e){h[l]=u}if(h[c]||i(h,c,d),a[d])for(var p in o)if(h[p]!==o[p])try{i(h,p,o[p])}catch(e){h[p]=o[p]}}}},e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t){!function(e){"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol:function(e){return"Symbol("+e+")"};function n(){}function r(){return"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==__webpack_require__.g?__webpack_require__.g:void 0}var a=r();function o(e){return"object"==typeof e&&null!==e||"function"==typeof e}var i=n,s=Promise,l=Promise.prototype.then,c=Promise.resolve.bind(s),u=Promise.reject.bind(s);function d(e){return new s(e)}function f(e){return c(e)}function h(e){return u(e)}function p(e,t,n){return l.call(e,t,n)}function m(e,t,n){p(p(e,t,n),void 0,i)}function v(e,t){m(e,t)}function b(e,t){m(e,void 0,t)}function g(e,t,n){return p(e,t,n)}function y(e){p(e,void 0,i)}var O=function(){var e=a&&a.queueMicrotask;if("function"==typeof e)return e;var t=f(void 0);return function(e){return p(t,e)}}();function w(e,t,n){if("function"!=typeof e)throw new TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,n)}function _(e,t,n){try{return f(w(e,t,n))}catch(e){return h(e)}}var j=16384,k=function(){function e(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}return Object.defineProperty(e.prototype,"length",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.push=function(e){var t=this._back,n=t;t._elements.length===j-1&&(n={_elements:[],_next:void 0}),t._elements.push(e),n!==t&&(this._back=n,t._next=n),++this._size},e.prototype.shift=function(){var e=this._front,t=e,n=this._cursor,r=n+1,a=e._elements,o=a[n];return r===j&&(t=e._next,r=0),--this._size,this._cursor=r,e!==t&&(this._front=t),a[n]=void 0,o},e.prototype.forEach=function(e){for(var t=this._cursor,n=this._front,r=n._elements;!(t===r.length&&void 0===n._next||t===r.length&&(t=0,0===(r=(n=n._next)._elements).length));)e(r[t]),++t},e.prototype.peek=function(){var e=this._front,t=this._cursor;return e._elements[t]},e}();function x(e,t){e._ownerReadableStream=t,t._reader=e,"readable"===t._state?A(e):"closed"===t._state?E(e):T(e,t._storedError)}function S(e,t){return br(e._ownerReadableStream,t)}function C(e){"readable"===e._ownerReadableStream._state?L(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):P(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function M(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function A(e){e._closedPromise=d((function(t,n){e._closedPromise_resolve=t,e._closedPromise_reject=n}))}function T(e,t){A(e),L(e,t)}function E(e){A(e),D(e)}function L(e,t){void 0!==e._closedPromise_reject&&(y(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}function P(e,t){T(e,t)}function D(e){void 0!==e._closedPromise_resolve&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}var N=t("[[AbortSteps]]"),R=t("[[ErrorSteps]]"),I=t("[[CancelSteps]]"),B=t("[[PullSteps]]"),F=Number.isFinite||function(e){return"number"==typeof e&&isFinite(e)},V=Math.trunc||function(e){return e<0?Math.ceil(e):Math.floor(e)};function z(e){return"object"==typeof e||"function"==typeof e}function H(e,t){if(void 0!==e&&!z(e))throw new TypeError(t+" is not an object.")}function Y(e,t){if("function"!=typeof e)throw new TypeError(t+" is not a function.")}function U(e){return"object"==typeof e&&null!==e||"function"==typeof e}function W(e,t){if(!U(e))throw new TypeError(t+" is not an object.")}function $(e,t,n){if(void 0===e)throw new TypeError("Parameter "+t+" is required in '"+n+"'.")}function q(e,t,n){if(void 0===e)throw new TypeError(t+" is required in '"+n+"'.")}function G(e){return Number(e)}function X(e){return 0===e?0:e}function K(e){return X(V(e))}function J(e,t){var n=0,r=Number.MAX_SAFE_INTEGER,a=Number(e);if(a=X(a),!F(a))throw new TypeError(t+" is not a finite number");if((a=K(a))<n||a>r)throw new TypeError(t+" is outside the accepted range of "+n+" to "+r+", inclusive");return F(a)&&0!==a?a:0}function Z(e,t){if(!mr(e))throw new TypeError(t+" is not a ReadableStream.")}function Q(e){return new ie(e)}function ee(e,t){e._reader._readRequests.push(t)}function te(e,t,n){var r=e._reader._readRequests.shift();n?r._closeSteps():r._chunkSteps(t)}function ne(e){return e._reader._readRequests.length}function re(e){var t=e._reader;return void 0!==t&&!!se(t)}var ae,oe,ie=function(){function e(e){if($(e,1,"ReadableStreamDefaultReader"),Z(e,"First parameter"),vr(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");x(this,e),this._readRequests=new k}return Object.defineProperty(e.prototype,"closed",{get:function(){return se(this)?this._closedPromise:h(ce("closed"))},enumerable:!1,configurable:!0}),e.prototype.cancel=function(e){return void 0===e&&(e=void 0),se(this)?void 0===this._ownerReadableStream?h(M("cancel")):S(this,e):h(ce("cancel"))},e.prototype.read=function(){if(!se(this))return h(ce("read"));if(void 0===this._ownerReadableStream)return h(M("read from"));var e,t,n=d((function(n,r){e=n,t=r}));return le(this,{_chunkSteps:function(t){return e({value:t,done:!1})},_closeSteps:function(){return e({value:void 0,done:!0})},_errorSteps:function(e){return t(e)}}),n},e.prototype.releaseLock=function(){if(!se(this))throw ce("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");C(this)}},e}();function se(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readRequests")}function le(e,t){var n=e._ownerReadableStream;n._disturbed=!0,"closed"===n._state?t._closeSteps():"errored"===n._state?t._errorSteps(n._storedError):n._readableStreamController[B](t)}function ce(e){return new TypeError("ReadableStreamDefaultReader.prototype."+e+" can only be used on a ReadableStreamDefaultReader")}Object.defineProperties(ie.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(ie.prototype,t.toStringTag,{value:"ReadableStreamDefaultReader",configurable:!0}),"symbol"==typeof t.asyncIterator&&((ae={})[t.asyncIterator]=function(){return this},oe=ae,Object.defineProperty(oe,t.asyncIterator,{enumerable:!1}));var ue=function(){function e(e,t){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=e,this._preventCancel=t}return e.prototype.next=function(){var e=this,t=function(){return e._nextSteps()};return this._ongoingPromise=this._ongoingPromise?g(this._ongoingPromise,t,t):t(),this._ongoingPromise},e.prototype.return=function(e){var t=this,n=function(){return t._returnSteps(e)};return this._ongoingPromise?g(this._ongoingPromise,n,n):n()},e.prototype._nextSteps=function(){var e=this;if(this._isFinished)return Promise.resolve({value:void 0,done:!0});var t,n,r=this._reader;if(void 0===r._ownerReadableStream)return h(M("iterate"));var a=d((function(e,r){t=e,n=r}));return le(r,{_chunkSteps:function(n){e._ongoingPromise=void 0,O((function(){return t({value:n,done:!1})}))},_closeSteps:function(){e._ongoingPromise=void 0,e._isFinished=!0,C(r),t({value:void 0,done:!0})},_errorSteps:function(t){e._ongoingPromise=void 0,e._isFinished=!0,C(r),n(t)}}),a},e.prototype._returnSteps=function(e){if(this._isFinished)return Promise.resolve({value:e,done:!0});this._isFinished=!0;var t=this._reader;if(void 0===t._ownerReadableStream)return h(M("finish iterating"));if(!this._preventCancel){var n=S(t,e);return C(t),g(n,(function(){return{value:e,done:!0}}))}return C(t),f({value:e,done:!0})},e}(),de={next:function(){return he(this)?this._asyncIteratorImpl.next():h(pe("next"))},return:function(e){return he(this)?this._asyncIteratorImpl.return(e):h(pe("return"))}};function fe(e,t){var n=Q(e),r=new ue(n,t),a=Object.create(de);return a._asyncIteratorImpl=r,a}function he(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_asyncIteratorImpl")}function pe(e){return new TypeError("ReadableStreamAsyncIterator."+e+" can only be used on a ReadableSteamAsyncIterator")}void 0!==oe&&Object.setPrototypeOf(de,oe);var me=Number.isNaN||function(e){return e!=e};function ve(e){return!!be(e)&&e!==1/0}function be(e){return!("number"!=typeof e||me(e)||e<0)}function ge(e){var t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value}function ye(e,t,n){if(!ve(n=Number(n)))throw new RangeError("Size must be a finite, non-NaN, non-negative number.");e._queue.push({value:t,size:n}),e._queueTotalSize+=n}function Oe(e){return e._queue.peek().value}function we(e){e._queue=new k,e._queueTotalSize=0}function _e(e){return e.slice()}function je(e,t,n,r,a){new Uint8Array(e).set(new Uint8Array(n,r,a),t)}function ke(e){return e}function xe(e){return!1}var Se=function(){function e(){throw new TypeError("Illegal constructor")}return Object.defineProperty(e.prototype,"view",{get:function(){if(!Ae(this))throw nt("view");return this._view},enumerable:!1,configurable:!0}),e.prototype.respond=function(e){if(!Ae(this))throw nt("respond");if($(e,1,"respond"),e=J(e,"First parameter"),void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");xe(this._view.buffer),Je(this._associatedReadableByteStreamController,e)},e.prototype.respondWithNewView=function(e){if(!Ae(this))throw nt("respondWithNewView");if($(e,1,"respondWithNewView"),!ArrayBuffer.isView(e))throw new TypeError("You can only respond with array buffer views");if(0===e.byteLength)throw new TypeError("chunk must have non-zero byteLength");if(0===e.buffer.byteLength)throw new TypeError("chunk's buffer must have non-zero byteLength");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");Ze(this._associatedReadableByteStreamController,e)},e}();Object.defineProperties(Se.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Se.prototype,t.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:!0});var Ce=function(){function e(){throw new TypeError("Illegal constructor")}return Object.defineProperty(e.prototype,"byobRequest",{get:function(){if(!Me(this))throw rt("byobRequest");if(null===this._byobRequest&&this._pendingPullIntos.length>0){var e=this._pendingPullIntos.peek(),t=new Uint8Array(e.buffer,e.byteOffset+e.bytesFilled,e.byteLength-e.bytesFilled),n=Object.create(Se.prototype);tt(n,this,t),this._byobRequest=n}return this._byobRequest},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!Me(this))throw rt("desiredSize");return Ke(this)},enumerable:!1,configurable:!0}),e.prototype.close=function(){if(!Me(this))throw rt("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var e=this._controlledReadableByteStream._state;if("readable"!==e)throw new TypeError("The stream (in "+e+" state) is not in the readable state and cannot be closed");qe(this)},e.prototype.enqueue=function(e){if(!Me(this))throw rt("enqueue");if($(e,1,"enqueue"),!ArrayBuffer.isView(e))throw new TypeError("chunk must be an array buffer view");if(0===e.byteLength)throw new TypeError("chunk must have non-zero byteLength");if(0===e.buffer.byteLength)throw new TypeError("chunk's buffer must have non-zero byteLength");if(this._closeRequested)throw new TypeError("stream is closed or draining");var t=this._controlledReadableByteStream._state;if("readable"!==t)throw new TypeError("The stream (in "+t+" state) is not in the readable state and cannot be enqueued to");Ge(this,e)},e.prototype.error=function(e){if(void 0===e&&(e=void 0),!Me(this))throw rt("error");Xe(this,e)},e.prototype[I]=function(e){this._pendingPullIntos.length>0&&(this._pendingPullIntos.peek().bytesFilled=0),we(this);var t=this._cancelAlgorithm(e);return $e(this),t},e.prototype[B]=function(e){var t=this._controlledReadableByteStream;if(this._queueTotalSize>0){var n=this._queue.shift();this._queueTotalSize-=n.byteLength,Ie(this);var r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);e._chunkSteps(r)}else{var a=this._autoAllocateChunkSize;if(void 0!==a){var o=void 0;try{o=new ArrayBuffer(a)}catch(t){return void e._errorSteps(t)}var i={buffer:o,byteOffset:0,byteLength:a,bytesFilled:0,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(i)}ee(t,e),Te(this)}},e}();function Me(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream")}function Ae(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")}function Te(e){We(e)&&(e._pulling?e._pullAgain=!0:(e._pulling=!0,m(e._pullAlgorithm(),(function(){e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,Te(e))}),(function(t){Xe(e,t)}))))}function Ee(e){Be(e),e._pendingPullIntos=new k}function Le(e,t){var n=!1;"closed"===e._state&&(n=!0);var r=Pe(t);"default"===t.readerType?te(e,r,n):it(e,r,n)}function Pe(e){var t=e.bytesFilled,n=e.elementSize;return new e.viewConstructor(e.buffer,e.byteOffset,t/n)}function De(e,t,n,r){e._queue.push({buffer:t,byteOffset:n,byteLength:r}),e._queueTotalSize+=r}function Ne(e,t){var n=t.elementSize,r=t.bytesFilled-t.bytesFilled%n,a=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),o=t.bytesFilled+a,i=o-o%n,s=a,l=!1;i>r&&(s=i-t.bytesFilled,l=!0);for(var c=e._queue;s>0;){var u=c.peek(),d=Math.min(s,u.byteLength),f=t.byteOffset+t.bytesFilled;je(t.buffer,f,u.buffer,u.byteOffset,d),u.byteLength===d?c.shift():(u.byteOffset+=d,u.byteLength-=d),e._queueTotalSize-=d,Re(e,d,t),s-=d}return l}function Re(e,t,n){Be(e),n.bytesFilled+=t}function Ie(e){0===e._queueTotalSize&&e._closeRequested?($e(e),gr(e._controlledReadableByteStream)):Te(e)}function Be(e){null!==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=null,e._byobRequest=null)}function Fe(e){for(;e._pendingPullIntos.length>0;){if(0===e._queueTotalSize)return;var t=e._pendingPullIntos.peek();Ne(e,t)&&(Ue(e),Le(e._controlledReadableByteStream,t))}}function Ve(e,t,n){var r=e._controlledReadableByteStream,a=1;t.constructor!==DataView&&(a=t.constructor.BYTES_PER_ELEMENT);var o=t.constructor,i={buffer:ke(t.buffer),byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:a,viewConstructor:o,readerType:"byob"};if(e._pendingPullIntos.length>0)return e._pendingPullIntos.push(i),void ot(r,n);if("closed"!==r._state){if(e._queueTotalSize>0){if(Ne(e,i)){var s=Pe(i);return Ie(e),void n._chunkSteps(s)}if(e._closeRequested){var l=new TypeError("Insufficient bytes to fill elements in the given buffer");return Xe(e,l),void n._errorSteps(l)}}e._pendingPullIntos.push(i),ot(r,n),Te(e)}else{var c=new o(i.buffer,i.byteOffset,0);n._closeSteps(c)}}function ze(e,t){t.buffer=ke(t.buffer);var n=e._controlledReadableByteStream;if(lt(n))for(;st(n)>0;)Le(n,Ue(e))}function He(e,t,n){if(n.bytesFilled+t>n.byteLength)throw new RangeError("bytesWritten out of range");if(Re(e,t,n),!(n.bytesFilled<n.elementSize)){Ue(e);var r=n.bytesFilled%n.elementSize;if(r>0){var a=n.byteOffset+n.bytesFilled,o=n.buffer.slice(a-r,a);De(e,o,0,o.byteLength)}n.buffer=ke(n.buffer),n.bytesFilled-=r,Le(e._controlledReadableByteStream,n),Fe(e)}}function Ye(e,t){var n=e._pendingPullIntos.peek();if("closed"===e._controlledReadableByteStream._state){if(0!==t)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");ze(e,n)}else He(e,t,n);Te(e)}function Ue(e){var t=e._pendingPullIntos.shift();return Be(e),t}function We(e){var t=e._controlledReadableByteStream;return"readable"===t._state&&!e._closeRequested&&!!e._started&&(!!(re(t)&&ne(t)>0)||!!(lt(t)&&st(t)>0)||Ke(e)>0)}function $e(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function qe(e){var t=e._controlledReadableByteStream;if(!e._closeRequested&&"readable"===t._state)if(e._queueTotalSize>0)e._closeRequested=!0;else{if(e._pendingPullIntos.length>0&&e._pendingPullIntos.peek().bytesFilled>0){var n=new TypeError("Insufficient bytes to fill elements in the given buffer");throw Xe(e,n),n}$e(e),gr(t)}}function Ge(e,t){var n=e._controlledReadableByteStream;if(!e._closeRequested&&"readable"===n._state){var r=t.buffer,a=t.byteOffset,o=t.byteLength,i=ke(r);re(n)?0===ne(n)?De(e,i,a,o):te(n,new Uint8Array(i,a,o),!1):lt(n)?(De(e,i,a,o),Fe(e)):De(e,i,a,o),Te(e)}}function Xe(e,t){var n=e._controlledReadableByteStream;"readable"===n._state&&(Ee(e),we(e),$e(e),yr(n,t))}function Ke(e){var t=e._controlledReadableByteStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function Je(e,t){if(!ve(t=Number(t)))throw new RangeError("bytesWritten must be a finite");Ye(e,t)}function Ze(e,t){var n=e._pendingPullIntos.peek();if(n.byteOffset+n.bytesFilled!==t.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(n.byteLength!==t.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");n.buffer=t.buffer,Ye(e,t.byteLength)}function Qe(e,t,n,r,a,o,i){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,t._byobRequest=null,t._queue=t._queueTotalSize=void 0,we(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=o,t._pullAlgorithm=r,t._cancelAlgorithm=a,t._autoAllocateChunkSize=i,t._pendingPullIntos=new k,e._readableStreamController=t,m(f(n()),(function(){t._started=!0,Te(t)}),(function(e){Xe(t,e)}))}function et(e,t,n){var r=Object.create(Ce.prototype),a=function(){},o=function(){return f(void 0)},i=function(){return f(void 0)};void 0!==t.start&&(a=function(){return t.start(r)}),void 0!==t.pull&&(o=function(){return t.pull(r)}),void 0!==t.cancel&&(i=function(e){return t.cancel(e)});var s=t.autoAllocateChunkSize;if(0===s)throw new TypeError("autoAllocateChunkSize must be greater than 0");Qe(e,r,a,o,i,n,s)}function tt(e,t,n){e._associatedReadableByteStreamController=t,e._view=n}function nt(e){return new TypeError("ReadableStreamBYOBRequest.prototype."+e+" can only be used on a ReadableStreamBYOBRequest")}function rt(e){return new TypeError("ReadableByteStreamController.prototype."+e+" can only be used on a ReadableByteStreamController")}function at(e){return new ct(e)}function ot(e,t){e._reader._readIntoRequests.push(t)}function it(e,t,n){var r=e._reader._readIntoRequests.shift();n?r._closeSteps(t):r._chunkSteps(t)}function st(e){return e._reader._readIntoRequests.length}function lt(e){var t=e._reader;return void 0!==t&&!!ut(t)}Object.defineProperties(Ce.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Ce.prototype,t.toStringTag,{value:"ReadableByteStreamController",configurable:!0});var ct=function(){function e(e){if($(e,1,"ReadableStreamBYOBReader"),Z(e,"First parameter"),vr(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!Me(e._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");x(this,e),this._readIntoRequests=new k}return Object.defineProperty(e.prototype,"closed",{get:function(){return ut(this)?this._closedPromise:h(ft("closed"))},enumerable:!1,configurable:!0}),e.prototype.cancel=function(e){return void 0===e&&(e=void 0),ut(this)?void 0===this._ownerReadableStream?h(M("cancel")):S(this,e):h(ft("cancel"))},e.prototype.read=function(e){if(!ut(this))return h(ft("read"));if(!ArrayBuffer.isView(e))return h(new TypeError("view must be an array buffer view"));if(0===e.byteLength)return h(new TypeError("view must have non-zero byteLength"));if(0===e.buffer.byteLength)return h(new TypeError("view's buffer must have non-zero byteLength"));if(void 0===this._ownerReadableStream)return h(M("read from"));var t,n,r=d((function(e,r){t=e,n=r}));return dt(this,e,{_chunkSteps:function(e){return t({value:e,done:!1})},_closeSteps:function(e){return t({value:e,done:!0})},_errorSteps:function(e){return n(e)}}),r},e.prototype.releaseLock=function(){if(!ut(this))throw ft("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");C(this)}},e}();function ut(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")}function dt(e,t,n){var r=e._ownerReadableStream;r._disturbed=!0,"errored"===r._state?n._errorSteps(r._storedError):Ve(r._readableStreamController,t,n)}function ft(e){return new TypeError("ReadableStreamBYOBReader.prototype."+e+" can only be used on a ReadableStreamBYOBReader")}function ht(e,t){var n=e.highWaterMark;if(void 0===n)return t;if(me(n)||n<0)throw new RangeError("Invalid highWaterMark");return n}function pt(e){var t=e.size;return t||function(){return 1}}function mt(e,t){H(e,t);var n=null==e?void 0:e.highWaterMark,r=null==e?void 0:e.size;return{highWaterMark:void 0===n?void 0:G(n),size:void 0===r?void 0:vt(r,t+" has member 'size' that")}}function vt(e,t){return Y(e,t),function(t){return G(e(t))}}function bt(e,t){H(e,t);var n=null==e?void 0:e.abort,r=null==e?void 0:e.close,a=null==e?void 0:e.start,o=null==e?void 0:e.type,i=null==e?void 0:e.write;return{abort:void 0===n?void 0:gt(n,e,t+" has member 'abort' that"),close:void 0===r?void 0:yt(r,e,t+" has member 'close' that"),start:void 0===a?void 0:Ot(a,e,t+" has member 'start' that"),write:void 0===i?void 0:wt(i,e,t+" has member 'write' that"),type:o}}function gt(e,t,n){return Y(e,n),function(n){return _(e,t,[n])}}function yt(e,t,n){return Y(e,n),function(){return _(e,t,[])}}function Ot(e,t,n){return Y(e,n),function(n){return w(e,t,[n])}}function wt(e,t,n){return Y(e,n),function(n,r){return _(e,t,[n,r])}}function _t(e,t){if(!Ct(e))throw new TypeError(t+" is not a WritableStream.")}Object.defineProperties(ct.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(ct.prototype,t.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});var jt=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),void 0===e?e=null:W(e,"First parameter");var n=mt(t,"Second parameter"),r=bt(e,"First parameter");if(St(this),void 0!==r.type)throw new RangeError("Invalid type is specified");var a=pt(n);on(this,r,ht(n,1),a)}return Object.defineProperty(e.prototype,"locked",{get:function(){if(!Ct(this))throw gn("locked");return Mt(this)},enumerable:!1,configurable:!0}),e.prototype.abort=function(e){return void 0===e&&(e=void 0),Ct(this)?Mt(this)?h(new TypeError("Cannot abort a stream that already has a writer")):At(this,e):h(gn("abort"))},e.prototype.close=function(){return Ct(this)?Mt(this)?h(new TypeError("Cannot close a stream that already has a writer")):Ft(this)?h(new TypeError("Cannot close an already-closing stream")):Tt(this):h(gn("close"))},e.prototype.getWriter=function(){if(!Ct(this))throw gn("getWriter");return kt(this)},e}();function kt(e){return new Wt(e)}function xt(e,t,n,r,a,o){void 0===a&&(a=1),void 0===o&&(o=function(){return 1});var i=Object.create(jt.prototype);return St(i),an(i,Object.create(nn.prototype),e,t,n,r,a,o),i}function St(e){e._state="writable",e._storedError=void 0,e._writer=void 0,e._writableStreamController=void 0,e._writeRequests=new k,e._inFlightWriteRequest=void 0,e._closeRequest=void 0,e._inFlightCloseRequest=void 0,e._pendingAbortRequest=void 0,e._backpressure=!1}function Ct(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_writableStreamController")}function Mt(e){return void 0!==e._writer}function At(e,t){var n=e._state;if("closed"===n||"errored"===n)return f(void 0);if(void 0!==e._pendingAbortRequest)return e._pendingAbortRequest._promise;var r=!1;"erroring"===n&&(r=!0,t=void 0);var a=d((function(n,a){e._pendingAbortRequest={_promise:void 0,_resolve:n,_reject:a,_reason:t,_wasAlreadyErroring:r}}));return e._pendingAbortRequest._promise=a,r||Pt(e,t),a}function Tt(e){var t=e._state;if("closed"===t||"errored"===t)return h(new TypeError("The stream (in "+t+" state) is not in the writable state and cannot be closed"));var n=d((function(t,n){var r={_resolve:t,_reject:n};e._closeRequest=r})),r=e._writer;return void 0!==r&&e._backpressure&&"writable"===t&&Pn(r),ln(e._writableStreamController),n}function Et(e){return d((function(t,n){var r={_resolve:t,_reject:n};e._writeRequests.push(r)}))}function Lt(e,t){"writable"!==e._state?Dt(e):Pt(e,t)}function Pt(e,t){var n=e._writableStreamController;e._state="erroring",e._storedError=t;var r=e._writer;void 0!==r&&Jt(r,t),!Vt(e)&&n._started&&Dt(e)}function Dt(e){e._state="errored",e._writableStreamController[R]();var t=e._storedError;if(e._writeRequests.forEach((function(e){e._reject(t)})),e._writeRequests=new k,void 0!==e._pendingAbortRequest){var n=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,n._wasAlreadyErroring)return n._reject(t),void Yt(e);m(e._writableStreamController[N](n._reason),(function(){n._resolve(),Yt(e)}),(function(t){n._reject(t),Yt(e)}))}else Yt(e)}function Nt(e){e._inFlightWriteRequest._resolve(void 0),e._inFlightWriteRequest=void 0}function Rt(e,t){e._inFlightWriteRequest._reject(t),e._inFlightWriteRequest=void 0,Lt(e,t)}function It(e){e._inFlightCloseRequest._resolve(void 0),e._inFlightCloseRequest=void 0,"erroring"===e._state&&(e._storedError=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._resolve(),e._pendingAbortRequest=void 0)),e._state="closed";var t=e._writer;void 0!==t&&Sn(t)}function Bt(e,t){e._inFlightCloseRequest._reject(t),e._inFlightCloseRequest=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._reject(t),e._pendingAbortRequest=void 0),Lt(e,t)}function Ft(e){return void 0!==e._closeRequest||void 0!==e._inFlightCloseRequest}function Vt(e){return void 0!==e._inFlightWriteRequest||void 0!==e._inFlightCloseRequest}function zt(e){e._inFlightCloseRequest=e._closeRequest,e._closeRequest=void 0}function Ht(e){e._inFlightWriteRequest=e._writeRequests.shift()}function Yt(e){void 0!==e._closeRequest&&(e._closeRequest._reject(e._storedError),e._closeRequest=void 0);var t=e._writer;void 0!==t&&kn(t,e._storedError)}function Ut(e,t){var n=e._writer;void 0!==n&&t!==e._backpressure&&(t?En(n):Pn(n)),e._backpressure=t}Object.defineProperties(jt.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(jt.prototype,t.toStringTag,{value:"WritableStream",configurable:!0});var Wt=function(){function e(e){if($(e,1,"WritableStreamDefaultWriter"),_t(e,"First parameter"),Mt(e))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=e,e._writer=this;var t=e._state;if("writable"===t)!Ft(e)&&e._backpressure?Cn(this):An(this),wn(this);else if("erroring"===t)Mn(this,e._storedError),wn(this);else if("closed"===t)An(this),jn(this);else{var n=e._storedError;Mn(this,n),_n(this,n)}}return Object.defineProperty(e.prototype,"closed",{get:function(){return $t(this)?this._closedPromise:h(yn("closed"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!$t(this))throw yn("desiredSize");if(void 0===this._ownerWritableStream)throw On("desiredSize");return Zt(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ready",{get:function(){return $t(this)?this._readyPromise:h(yn("ready"))},enumerable:!1,configurable:!0}),e.prototype.abort=function(e){return void 0===e&&(e=void 0),$t(this)?void 0===this._ownerWritableStream?h(On("abort")):qt(this,e):h(yn("abort"))},e.prototype.close=function(){if(!$t(this))return h(yn("close"));var e=this._ownerWritableStream;return void 0===e?h(On("close")):Ft(e)?h(new TypeError("Cannot close an already-closing stream")):Gt(this)},e.prototype.releaseLock=function(){if(!$t(this))throw yn("releaseLock");void 0!==this._ownerWritableStream&&Qt(this)},e.prototype.write=function(e){return void 0===e&&(e=void 0),$t(this)?void 0===this._ownerWritableStream?h(On("write to")):en(this,e):h(yn("write"))},e}();function $t(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")}function qt(e,t){return At(e._ownerWritableStream,t)}function Gt(e){return Tt(e._ownerWritableStream)}function Xt(e){var t=e._ownerWritableStream,n=t._state;return Ft(t)||"closed"===n?f(void 0):"errored"===n?h(t._storedError):Gt(e)}function Kt(e,t){"pending"===e._closedPromiseState?kn(e,t):xn(e,t)}function Jt(e,t){"pending"===e._readyPromiseState?Tn(e,t):Ln(e,t)}function Zt(e){var t=e._ownerWritableStream,n=t._state;return"errored"===n||"erroring"===n?null:"closed"===n?0:un(t._writableStreamController)}function Qt(e){var t=e._ownerWritableStream,n=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");Jt(e,n),Kt(e,n),t._writer=void 0,e._ownerWritableStream=void 0}function en(e,t){var n=e._ownerWritableStream,r=n._writableStreamController,a=cn(r,t);if(n!==e._ownerWritableStream)return h(On("write to"));var o=n._state;if("errored"===o)return h(n._storedError);if(Ft(n)||"closed"===o)return h(new TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===o)return h(n._storedError);var i=Et(n);return dn(r,t,a),i}Object.defineProperties(Wt.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Wt.prototype,t.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});var tn={},nn=function(){function e(){throw new TypeError("Illegal constructor")}return e.prototype.error=function(e){if(void 0===e&&(e=void 0),!rn(this))throw new TypeError("WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController");"writable"===this._controlledWritableStream._state&&bn(this,e)},e.prototype[N]=function(e){var t=this._abortAlgorithm(e);return sn(this),t},e.prototype[R]=function(){we(this)},e}();function rn(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledWritableStream")}function an(e,t,n,r,a,o,i,s){t._controlledWritableStream=e,e._writableStreamController=t,t._queue=void 0,t._queueTotalSize=void 0,we(t),t._started=!1,t._strategySizeAlgorithm=s,t._strategyHWM=i,t._writeAlgorithm=r,t._closeAlgorithm=a,t._abortAlgorithm=o;var l=vn(t);Ut(e,l),m(f(n()),(function(){t._started=!0,fn(t)}),(function(n){t._started=!0,Lt(e,n)}))}function on(e,t,n,r){var a=Object.create(nn.prototype),o=function(){},i=function(){return f(void 0)},s=function(){return f(void 0)},l=function(){return f(void 0)};void 0!==t.start&&(o=function(){return t.start(a)}),void 0!==t.write&&(i=function(e){return t.write(e,a)}),void 0!==t.close&&(s=function(){return t.close()}),void 0!==t.abort&&(l=function(e){return t.abort(e)}),an(e,a,o,i,s,l,n,r)}function sn(e){e._writeAlgorithm=void 0,e._closeAlgorithm=void 0,e._abortAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function ln(e){ye(e,tn,0),fn(e)}function cn(e,t){try{return e._strategySizeAlgorithm(t)}catch(t){return hn(e,t),1}}function un(e){return e._strategyHWM-e._queueTotalSize}function dn(e,t,n){try{ye(e,t,n)}catch(t){return void hn(e,t)}var r=e._controlledWritableStream;Ft(r)||"writable"!==r._state||Ut(r,vn(e)),fn(e)}function fn(e){var t=e._controlledWritableStream;if(e._started&&void 0===t._inFlightWriteRequest)if("erroring"!==t._state){if(0!==e._queue.length){var n=Oe(e);n===tn?pn(e):mn(e,n)}}else Dt(t)}function hn(e,t){"writable"===e._controlledWritableStream._state&&bn(e,t)}function pn(e){var t=e._controlledWritableStream;zt(t),ge(e);var n=e._closeAlgorithm();sn(e),m(n,(function(){It(t)}),(function(e){Bt(t,e)}))}function mn(e,t){var n=e._controlledWritableStream;Ht(n),m(e._writeAlgorithm(t),(function(){Nt(n);var t=n._state;if(ge(e),!Ft(n)&&"writable"===t){var r=vn(e);Ut(n,r)}fn(e)}),(function(t){"writable"===n._state&&sn(e),Rt(n,t)}))}function vn(e){return un(e)<=0}function bn(e,t){var n=e._controlledWritableStream;sn(e),Pt(n,t)}function gn(e){return new TypeError("WritableStream.prototype."+e+" can only be used on a WritableStream")}function yn(e){return new TypeError("WritableStreamDefaultWriter.prototype."+e+" can only be used on a WritableStreamDefaultWriter")}function On(e){return new TypeError("Cannot "+e+" a stream using a released writer")}function wn(e){e._closedPromise=d((function(t,n){e._closedPromise_resolve=t,e._closedPromise_reject=n,e._closedPromiseState="pending"}))}function _n(e,t){wn(e),kn(e,t)}function jn(e){wn(e),Sn(e)}function kn(e,t){void 0!==e._closedPromise_reject&&(y(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected")}function xn(e,t){_n(e,t)}function Sn(e){void 0!==e._closedPromise_resolve&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="resolved")}function Cn(e){e._readyPromise=d((function(t,n){e._readyPromise_resolve=t,e._readyPromise_reject=n})),e._readyPromiseState="pending"}function Mn(e,t){Cn(e),Tn(e,t)}function An(e){Cn(e),Pn(e)}function Tn(e,t){void 0!==e._readyPromise_reject&&(y(e._readyPromise),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected")}function En(e){Cn(e)}function Ln(e,t){Mn(e,t)}function Pn(e){void 0!==e._readyPromise_resolve&&(e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled")}function Dn(e){if("object"!=typeof e||null===e)return!1;try{return"boolean"==typeof e.aborted}catch(e){return!1}}Object.defineProperties(nn.prototype,{error:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(nn.prototype,t.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});var Nn="undefined"!=typeof DOMException?DOMException:void 0;function Rn(e){if("function"!=typeof e&&"object"!=typeof e)return!1;try{return new e,!0}catch(e){return!1}}function In(){var e=function(e,t){this.message=e||"",this.name=t||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return e.prototype=Object.create(Error.prototype),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,configurable:!0}),e}var Bn=Rn(Nn)?Nn:In();function Fn(e,t,r,a,o,i){var s=Q(e),l=kt(t);e._disturbed=!0;var c=!1,u=f(void 0);return d((function(h,g){var O;if(void 0!==i){if(O=function(){var n=new Bn("Aborted","AbortError"),r=[];a||r.push((function(){return"writable"===t._state?At(t,n):f(void 0)})),o||r.push((function(){return"readable"===e._state?br(e,n):f(void 0)})),M((function(){return Promise.all(r.map((function(e){return e()})))}),!0,n)},i.aborted)return void O();i.addEventListener("abort",O)}function w(){return d((function(e,t){function n(r){r?e():p(_(),n,t)}n(!1)}))}function _(){return c?f(!0):p(l._readyPromise,(function(){return d((function(e,t){le(s,{_chunkSteps:function(t){u=p(en(l,t),void 0,n),e(!1)},_closeSteps:function(){return e(!0)},_errorSteps:t})}))}))}if(x(e,s._closedPromise,(function(e){a?A(!0,e):M((function(){return At(t,e)}),!0,e)})),x(t,l._closedPromise,(function(t){o?A(!0,t):M((function(){return br(e,t)}),!0,t)})),S(e,s._closedPromise,(function(){r?A():M((function(){return Xt(l)}))})),Ft(t)||"closed"===t._state){var j=new TypeError("the destination writable stream closed before all data could be piped to it");o?A(!0,j):M((function(){return br(e,j)}),!0,j)}function k(){var e=u;return p(u,(function(){return e!==u?k():void 0}))}function x(e,t,n){"errored"===e._state?n(e._storedError):b(t,n)}function S(e,t,n){"closed"===e._state?n():v(t,n)}function M(e,n,r){function a(){m(e(),(function(){return T(n,r)}),(function(e){return T(!0,e)}))}c||(c=!0,"writable"!==t._state||Ft(t)?a():v(k(),a))}function A(e,n){c||(c=!0,"writable"!==t._state||Ft(t)?T(e,n):v(k(),(function(){return T(e,n)})))}function T(e,t){Qt(l),C(s),void 0!==i&&i.removeEventListener("abort",O),e?g(t):h(void 0)}y(w())}))}var Vn=function(){function e(){throw new TypeError("Illegal constructor")}return Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!zn(this))throw Qn("desiredSize");return Gn(this)},enumerable:!1,configurable:!0}),e.prototype.close=function(){if(!zn(this))throw Qn("close");if(!Kn(this))throw new TypeError("The stream is not in a state that permits close");Wn(this)},e.prototype.enqueue=function(e){if(void 0===e&&(e=void 0),!zn(this))throw Qn("enqueue");if(!Kn(this))throw new TypeError("The stream is not in a state that permits enqueue");return $n(this,e)},e.prototype.error=function(e){if(void 0===e&&(e=void 0),!zn(this))throw Qn("error");qn(this,e)},e.prototype[I]=function(e){we(this);var t=this._cancelAlgorithm(e);return Un(this),t},e.prototype[B]=function(e){var t=this._controlledReadableStream;if(this._queue.length>0){var n=ge(this);this._closeRequested&&0===this._queue.length?(Un(this),gr(t)):Hn(this),e._chunkSteps(n)}else ee(t,e),Hn(this)},e}();function zn(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream")}function Hn(e){Yn(e)&&(e._pulling?e._pullAgain=!0:(e._pulling=!0,m(e._pullAlgorithm(),(function(){e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,Hn(e))}),(function(t){qn(e,t)}))))}function Yn(e){var t=e._controlledReadableStream;return!!Kn(e)&&!!e._started&&(!!(vr(t)&&ne(t)>0)||Gn(e)>0)}function Un(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function Wn(e){if(Kn(e)){var t=e._controlledReadableStream;e._closeRequested=!0,0===e._queue.length&&(Un(e),gr(t))}}function $n(e,t){if(Kn(e)){var n=e._controlledReadableStream;if(vr(n)&&ne(n)>0)te(n,t,!1);else{var r=void 0;try{r=e._strategySizeAlgorithm(t)}catch(t){throw qn(e,t),t}try{ye(e,t,r)}catch(t){throw qn(e,t),t}}Hn(e)}}function qn(e,t){var n=e._controlledReadableStream;"readable"===n._state&&(we(e),Un(e),yr(n,t))}function Gn(e){var t=e._controlledReadableStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function Xn(e){return!Yn(e)}function Kn(e){var t=e._controlledReadableStream._state;return!e._closeRequested&&"readable"===t}function Jn(e,t,n,r,a,o,i){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,we(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=i,t._strategyHWM=o,t._pullAlgorithm=r,t._cancelAlgorithm=a,e._readableStreamController=t,m(f(n()),(function(){t._started=!0,Hn(t)}),(function(e){qn(t,e)}))}function Zn(e,t,n,r){var a=Object.create(Vn.prototype),o=function(){},i=function(){return f(void 0)},s=function(){return f(void 0)};void 0!==t.start&&(o=function(){return t.start(a)}),void 0!==t.pull&&(i=function(){return t.pull(a)}),void 0!==t.cancel&&(s=function(e){return t.cancel(e)}),Jn(e,a,o,i,s,n,r)}function Qn(e){return new TypeError("ReadableStreamDefaultController.prototype."+e+" can only be used on a ReadableStreamDefaultController")}function er(e,t){var n,r,a,o,i,s=Q(e),l=!1,c=!1,u=!1,h=d((function(e){i=e}));function p(){return l||(l=!0,le(s,{_chunkSteps:function(e){O((function(){l=!1;var t=e,n=e;c||$n(a._readableStreamController,t),u||$n(o._readableStreamController,n)}))},_closeSteps:function(){l=!1,c||Wn(a._readableStreamController),u||Wn(o._readableStreamController),c&&u||i(void 0)},_errorSteps:function(){l=!1}})),f(void 0)}function m(t){if(c=!0,n=t,u){var a=_e([n,r]),o=br(e,a);i(o)}return h}function v(t){if(u=!0,r=t,c){var a=_e([n,r]),o=br(e,a);i(o)}return h}function g(){}return a=hr(g,p,m),o=hr(g,p,v),b(s._closedPromise,(function(e){qn(a._readableStreamController,e),qn(o._readableStreamController,e),c&&u||i(void 0)})),[a,o]}function tr(e,t){H(e,t);var n=e,r=null==n?void 0:n.autoAllocateChunkSize,a=null==n?void 0:n.cancel,o=null==n?void 0:n.pull,i=null==n?void 0:n.start,s=null==n?void 0:n.type;return{autoAllocateChunkSize:void 0===r?void 0:J(r,t+" has member 'autoAllocateChunkSize' that"),cancel:void 0===a?void 0:nr(a,n,t+" has member 'cancel' that"),pull:void 0===o?void 0:rr(o,n,t+" has member 'pull' that"),start:void 0===i?void 0:ar(i,n,t+" has member 'start' that"),type:void 0===s?void 0:or(s,t+" has member 'type' that")}}function nr(e,t,n){return Y(e,n),function(n){return _(e,t,[n])}}function rr(e,t,n){return Y(e,n),function(n){return _(e,t,[n])}}function ar(e,t,n){return Y(e,n),function(n){return w(e,t,[n])}}function or(e,t){if("bytes"!=(e=""+e))throw new TypeError(t+" '"+e+"' is not a valid enumeration value for ReadableStreamType");return e}function ir(e,t){H(e,t);var n=null==e?void 0:e.mode;return{mode:void 0===n?void 0:sr(n,t+" has member 'mode' that")}}function sr(e,t){if("byob"!=(e=""+e))throw new TypeError(t+" '"+e+"' is not a valid enumeration value for ReadableStreamReaderMode");return e}function lr(e,t){H(e,t);var n=null==e?void 0:e.preventCancel;return{preventCancel:Boolean(n)}}function cr(e,t){H(e,t);var n=null==e?void 0:e.preventAbort,r=null==e?void 0:e.preventCancel,a=null==e?void 0:e.preventClose,o=null==e?void 0:e.signal;return void 0!==o&&ur(o,t+" has member 'signal' that"),{preventAbort:Boolean(n),preventCancel:Boolean(r),preventClose:Boolean(a),signal:o}}function ur(e,t){if(!Dn(e))throw new TypeError(t+" is not an AbortSignal.")}function dr(e,t){H(e,t);var n=null==e?void 0:e.readable;q(n,"readable","ReadableWritablePair"),Z(n,t+" has member 'readable' that");var r=null==e?void 0:e.writable;return q(r,"writable","ReadableWritablePair"),_t(r,t+" has member 'writable' that"),{readable:n,writable:r}}Object.defineProperties(Vn.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Vn.prototype,t.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});var fr=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),void 0===e?e=null:W(e,"First parameter");var n=mt(t,"Second parameter"),r=tr(e,"First parameter");if(pr(this),"bytes"===r.type){if(void 0!==n.size)throw new RangeError("The strategy for a byte stream cannot have a size function");et(this,r,ht(n,0))}else{var a=pt(n);Zn(this,r,ht(n,1),a)}}return Object.defineProperty(e.prototype,"locked",{get:function(){if(!mr(this))throw Or("locked");return vr(this)},enumerable:!1,configurable:!0}),e.prototype.cancel=function(e){return void 0===e&&(e=void 0),mr(this)?vr(this)?h(new TypeError("Cannot cancel a stream that already has a reader")):br(this,e):h(Or("cancel"))},e.prototype.getReader=function(e){if(void 0===e&&(e=void 0),!mr(this))throw Or("getReader");return void 0===ir(e,"First parameter").mode?Q(this):at(this)},e.prototype.pipeThrough=function(e,t){if(void 0===t&&(t={}),!mr(this))throw Or("pipeThrough");$(e,1,"pipeThrough");var n=dr(e,"First parameter"),r=cr(t,"Second parameter");if(vr(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(Mt(n.writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");return y(Fn(this,n.writable,r.preventClose,r.preventAbort,r.preventCancel,r.signal)),n.readable},e.prototype.pipeTo=function(e,t){if(void 0===t&&(t={}),!mr(this))return h(Or("pipeTo"));if(void 0===e)return h("Parameter 1 is required in 'pipeTo'.");if(!Ct(e))return h(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));var n;try{n=cr(t,"Second parameter")}catch(e){return h(e)}return vr(this)?h(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):Mt(e)?h(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):Fn(this,e,n.preventClose,n.preventAbort,n.preventCancel,n.signal)},e.prototype.tee=function(){if(!mr(this))throw Or("tee");return _e(er(this))},e.prototype.values=function(e){if(void 0===e&&(e=void 0),!mr(this))throw Or("values");return fe(this,lr(e,"First parameter").preventCancel)},e}();function hr(e,t,n,r,a){void 0===r&&(r=1),void 0===a&&(a=function(){return 1});var o=Object.create(fr.prototype);return pr(o),Jn(o,Object.create(Vn.prototype),e,t,n,r,a),o}function pr(e){e._state="readable",e._reader=void 0,e._storedError=void 0,e._disturbed=!1}function mr(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readableStreamController")}function vr(e){return void 0!==e._reader}function br(e,t){return e._disturbed=!0,"closed"===e._state?f(void 0):"errored"===e._state?h(e._storedError):(gr(e),g(e._readableStreamController[I](t),n))}function gr(e){e._state="closed";var t=e._reader;void 0!==t&&(D(t),se(t)&&(t._readRequests.forEach((function(e){e._closeSteps()})),t._readRequests=new k))}function yr(e,t){e._state="errored",e._storedError=t;var n=e._reader;void 0!==n&&(L(n,t),se(n)?(n._readRequests.forEach((function(e){e._errorSteps(t)})),n._readRequests=new k):(n._readIntoRequests.forEach((function(e){e._errorSteps(t)})),n._readIntoRequests=new k))}function Or(e){return new TypeError("ReadableStream.prototype."+e+" can only be used on a ReadableStream")}function wr(e,t){H(e,t);var n=null==e?void 0:e.highWaterMark;return q(n,"highWaterMark","QueuingStrategyInit"),{highWaterMark:G(n)}}Object.defineProperties(fr.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(fr.prototype,t.toStringTag,{value:"ReadableStream",configurable:!0}),"symbol"==typeof t.asyncIterator&&Object.defineProperty(fr.prototype,t.asyncIterator,{value:fr.prototype.values,writable:!0,configurable:!0});var _r=function(e){return e.byteLength},jr=function(){function e(e){$(e,1,"ByteLengthQueuingStrategy"),e=wr(e,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=e.highWaterMark}return Object.defineProperty(e.prototype,"highWaterMark",{get:function(){if(!xr(this))throw kr("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){if(!xr(this))throw kr("size");return _r},enumerable:!1,configurable:!0}),e}();function kr(e){return new TypeError("ByteLengthQueuingStrategy.prototype."+e+" can only be used on a ByteLengthQueuingStrategy")}function xr(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_byteLengthQueuingStrategyHighWaterMark")}Object.defineProperties(jr.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(jr.prototype,t.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});var Sr=function(){return 1},Cr=function(){function e(e){$(e,1,"CountQueuingStrategy"),e=wr(e,"First parameter"),this._countQueuingStrategyHighWaterMark=e.highWaterMark}return Object.defineProperty(e.prototype,"highWaterMark",{get:function(){if(!Ar(this))throw Mr("highWaterMark");return this._countQueuingStrategyHighWaterMark},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){if(!Ar(this))throw Mr("size");return Sr},enumerable:!1,configurable:!0}),e}();function Mr(e){return new TypeError("CountQueuingStrategy.prototype."+e+" can only be used on a CountQueuingStrategy")}function Ar(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_countQueuingStrategyHighWaterMark")}function Tr(e,t){H(e,t);var n=null==e?void 0:e.flush,r=null==e?void 0:e.readableType,a=null==e?void 0:e.start,o=null==e?void 0:e.transform,i=null==e?void 0:e.writableType;return{flush:void 0===n?void 0:Er(n,e,t+" has member 'flush' that"),readableType:r,start:void 0===a?void 0:Lr(a,e,t+" has member 'start' that"),transform:void 0===o?void 0:Pr(o,e,t+" has member 'transform' that"),writableType:i}}function Er(e,t,n){return Y(e,n),function(n){return _(e,t,[n])}}function Lr(e,t,n){return Y(e,n),function(n){return w(e,t,[n])}}function Pr(e,t,n){return Y(e,n),function(n,r){return _(e,t,[n,r])}}Object.defineProperties(Cr.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Cr.prototype,t.toStringTag,{value:"CountQueuingStrategy",configurable:!0});var Dr=function(){function e(e,t,n){void 0===e&&(e={}),void 0===t&&(t={}),void 0===n&&(n={}),void 0===e&&(e=null);var r=mt(t,"Second parameter"),a=mt(n,"Third parameter"),o=Tr(e,"First parameter");if(void 0!==o.readableType)throw new RangeError("Invalid readableType specified");if(void 0!==o.writableType)throw new RangeError("Invalid writableType specified");var i,s=ht(a,0),l=pt(a),c=ht(r,1),u=pt(r);Nr(this,d((function(e){i=e})),c,u,s,l),Yr(this,o),void 0!==o.start?i(o.start(this._transformStreamController)):i(void 0)}return Object.defineProperty(e.prototype,"readable",{get:function(){if(!Rr(this))throw ea("readable");return this._readable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"writable",{get:function(){if(!Rr(this))throw ea("writable");return this._writable},enumerable:!1,configurable:!0}),e}();function Nr(e,t,n,r,a,o){function i(){return t}function s(t){return Xr(e,t)}function l(t){return Kr(e,t)}function c(){return Jr(e)}function u(){return Zr(e)}function d(t){return Br(e,t),f(void 0)}e._writable=xt(i,s,c,l,n,r),e._readable=hr(i,u,d,a,o),e._backpressure=void 0,e._backpressureChangePromise=void 0,e._backpressureChangePromise_resolve=void 0,Fr(e,!0),e._transformStreamController=void 0}function Rr(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_transformStreamController")}function Ir(e,t){qn(e._readable._readableStreamController,t),Br(e,t)}function Br(e,t){Ur(e._transformStreamController),hn(e._writable._writableStreamController,t),e._backpressure&&Fr(e,!1)}function Fr(e,t){void 0!==e._backpressureChangePromise&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=d((function(t){e._backpressureChangePromise_resolve=t})),e._backpressure=t}Object.defineProperties(Dr.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Dr.prototype,t.toStringTag,{value:"TransformStream",configurable:!0});var Vr=function(){function e(){throw new TypeError("Illegal constructor")}return Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!zr(this))throw Qr("desiredSize");return Gn(this._controlledTransformStream._readable._readableStreamController)},enumerable:!1,configurable:!0}),e.prototype.enqueue=function(e){if(void 0===e&&(e=void 0),!zr(this))throw Qr("enqueue");Wr(this,e)},e.prototype.error=function(e){if(void 0===e&&(e=void 0),!zr(this))throw Qr("error");$r(this,e)},e.prototype.terminate=function(){if(!zr(this))throw Qr("terminate");Gr(this)},e}();function zr(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")}function Hr(e,t,n,r){t._controlledTransformStream=e,e._transformStreamController=t,t._transformAlgorithm=n,t._flushAlgorithm=r}function Yr(e,t){var n=Object.create(Vr.prototype),r=function(e){try{return Wr(n,e),f(void 0)}catch(e){return h(e)}},a=function(){return f(void 0)};void 0!==t.transform&&(r=function(e){return t.transform(e,n)}),void 0!==t.flush&&(a=function(){return t.flush(n)}),Hr(e,n,r,a)}function Ur(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0}function Wr(e,t){var n=e._controlledTransformStream,r=n._readable._readableStreamController;if(!Kn(r))throw new TypeError("Readable side is not in a state that permits enqueue");try{$n(r,t)}catch(e){throw Br(n,e),n._readable._storedError}Xn(r)!==n._backpressure&&Fr(n,!0)}function $r(e,t){Ir(e._controlledTransformStream,t)}function qr(e,t){return g(e._transformAlgorithm(t),void 0,(function(t){throw Ir(e._controlledTransformStream,t),t}))}function Gr(e){var t=e._controlledTransformStream;Wn(t._readable._readableStreamController),Br(t,new TypeError("TransformStream terminated"))}function Xr(e,t){var n=e._transformStreamController;return e._backpressure?g(e._backpressureChangePromise,(function(){var r=e._writable;if("erroring"===r._state)throw r._storedError;return qr(n,t)})):qr(n,t)}function Kr(e,t){return Ir(e,t),f(void 0)}function Jr(e){var t=e._readable,n=e._transformStreamController,r=n._flushAlgorithm();return Ur(n),g(r,(function(){if("errored"===t._state)throw t._storedError;Wn(t._readableStreamController)}),(function(n){throw Ir(e,n),t._storedError}))}function Zr(e){return Fr(e,!1),e._backpressureChangePromise}function Qr(e){return new TypeError("TransformStreamDefaultController.prototype."+e+" can only be used on a TransformStreamDefaultController")}function ea(e){return new TypeError("TransformStream.prototype."+e+" can only be used on a TransformStream")}Object.defineProperties(Vr.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Vr.prototype,t.toStringTag,{value:"TransformStreamDefaultController",configurable:!0}),e.ByteLengthQueuingStrategy=jr,e.CountQueuingStrategy=Cr,e.ReadableByteStreamController=Ce,e.ReadableStream=fr,e.ReadableStreamBYOBReader=ct,e.ReadableStreamBYOBRequest=Se,e.ReadableStreamDefaultController=Vn,e.ReadableStreamDefaultReader=ie,e.TransformStream=Dr,e.TransformStreamDefaultController=Vr,e.WritableStream=jt,e.WritableStreamDefaultController=nn,e.WritableStreamDefaultWriter=Wt,Object.defineProperty(e,"__esModule",{value:!0})}(t)},(__unused_webpack_module,exports,__w_pdfjs_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getDocument=getDocument,exports.setPDFNetworkStreamFactory=setPDFNetworkStreamFactory,exports.version=exports.PDFWorker=exports.PDFPageProxy=exports.PDFDocumentProxy=exports.PDFDataRangeTransport=exports.LoopbackPort=exports.DefaultCMapReaderFactory=exports.DefaultCanvasFactory=exports.build=void 0;var _regenerator=_interopRequireDefault(__w_pdfjs_require__(2)),_util=__w_pdfjs_require__(4),_display_utils=__w_pdfjs_require__(1),_font_loader=__w_pdfjs_require__(114),_node_utils=__w_pdfjs_require__(115),_annotation_storage=__w_pdfjs_require__(116),_api_compatibility=__w_pdfjs_require__(117),_canvas=__w_pdfjs_require__(118),_worker_options=__w_pdfjs_require__(120),_is_node=__w_pdfjs_require__(6),_message_handler=__w_pdfjs_require__(121),_metadata=__w_pdfjs_require__(122),_optional_content_config=__w_pdfjs_require__(123),_transport_stream=__w_pdfjs_require__(124);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function asyncGeneratorStep(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){asyncGeneratorStep(o,r,a,i,s,"next",e)}function s(e){asyncGeneratorStep(o,r,a,i,s,"throw",e)}i(void 0)}))}}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _createForOfIteratorHelper(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _iterableToArrayLimit(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}var DEFAULT_RANGE_CHUNK_SIZE=65536,RENDERING_CANCELLED_TIMEOUT=100,DefaultCanvasFactory=_is_node.isNodeJS?_node_utils.NodeCanvasFactory:_display_utils.DOMCanvasFactory;exports.DefaultCanvasFactory=DefaultCanvasFactory;var DefaultCMapReaderFactory=_is_node.isNodeJS?_node_utils.NodeCMapReaderFactory:_display_utils.DOMCMapReaderFactory,createPDFNetworkStream;function setPDFNetworkStreamFactory(e){createPDFNetworkStream=e}function getDocument(e){var t,n=new PDFDocumentLoadingTask;if("string"==typeof e||e instanceof URL)t={url:e};else if((0,_util.isArrayBuffer)(e))t={data:e};else if(e instanceof PDFDataRangeTransport)t={range:e};else{if("object"!==_typeof(e))throw new Error("Invalid parameter in getDocument, need either string, URL, Uint8Array, or parameter object.");if(!e.url&&!e.data&&!e.range)throw new Error("Invalid parameter object: need either .data, .range or .url");t=e}var r=Object.create(null),a=null,o=null;for(var i in t){var s=t[i];switch(i){case"url":if("undefined"!=typeof window)try{r[i]=new URL(s,window.location).href;continue}catch(e){(0,_util.warn)('Cannot create valid URL: "'.concat(e,'".'))}else if("string"==typeof s||s instanceof URL){r[i]=s.toString();continue}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.");case"range":a=s;continue;case"worker":o=s;continue;case"data":if(_is_node.isNodeJS&&"undefined"!=typeof Buffer&&s instanceof Buffer)r[i]=new Uint8Array(s);else{if(s instanceof Uint8Array)break;if("string"==typeof s)r[i]=(0,_util.stringToBytes)(s);else if("object"!==_typeof(s)||null===s||isNaN(s.length)){if(!(0,_util.isArrayBuffer)(s))throw new Error("Invalid PDF binary data: either typed array, string, or array-like object is expected in the data property.");r[i]=new Uint8Array(s)}else r[i]=new Uint8Array(s)}continue}r[i]=s}if(r.rangeChunkSize=r.rangeChunkSize||DEFAULT_RANGE_CHUNK_SIZE,r.CMapReaderFactory=r.CMapReaderFactory||DefaultCMapReaderFactory,r.ignoreErrors=!0!==r.stopAtErrors,r.fontExtraProperties=!0===r.fontExtraProperties,r.pdfBug=!0===r.pdfBug,r.enableXfa=!0===r.enableXfa,("string"!=typeof r.docBaseUrl||(0,_display_utils.isDataScheme)(r.docBaseUrl))&&(r.docBaseUrl=null),Number.isInteger(r.maxImageSize)||(r.maxImageSize=-1),"boolean"!=typeof r.isEvalSupported&&(r.isEvalSupported=!0),"boolean"!=typeof r.disableFontFace&&(r.disableFontFace=_api_compatibility.apiCompatibilityParams.disableFontFace||!1),void 0===r.ownerDocument&&(r.ownerDocument=globalThis.document),"boolean"!=typeof r.disableRange&&(r.disableRange=!1),"boolean"!=typeof r.disableStream&&(r.disableStream=!1),"boolean"!=typeof r.disableAutoFetch&&(r.disableAutoFetch=!1),(0,_util.setVerbosityLevel)(r.verbosity),!o){var l={verbosity:r.verbosity,port:_worker_options.GlobalWorkerOptions.workerPort};o=l.port?PDFWorker.fromPort(l):new PDFWorker(l),n._worker=o}var c=n.docId;return o.promise.then((function(){if(n.destroyed)throw new Error("Loading aborted");var e=_fetchDocument(o,r,a,c),t=new Promise((function(e){var t;a?t=new _transport_stream.PDFDataTransportStream({length:r.length,initialData:r.initialData,progressiveDone:r.progressiveDone,contentDispositionFilename:r.contentDispositionFilename,disableRange:r.disableRange,disableStream:r.disableStream},a):r.data||(t=createPDFNetworkStream({url:r.url,length:r.length,httpHeaders:r.httpHeaders,withCredentials:r.withCredentials,rangeChunkSize:r.rangeChunkSize,disableRange:r.disableRange,disableStream:r.disableStream})),e(t)}));return Promise.all([e,t]).then((function(e){var t=_slicedToArray(e,2),a=t[0],i=t[1];if(n.destroyed)throw new Error("Loading aborted");var s=new _message_handler.MessageHandler(c,a,o.port);s.postMessageTransfers=o.postMessageTransfers;var l=new WorkerTransport(s,n,i,r);n._transport=l,s.send("Ready",null)}))})).catch(n._capability.reject),n}function _fetchDocument(e,t,n,r){return e.destroyed?Promise.reject(new Error("Worker was destroyed")):(n&&(t.length=n.length,t.initialData=n.initialData,t.progressiveDone=n.progressiveDone,t.contentDispositionFilename=n.contentDispositionFilename),e.messageHandler.sendWithPromise("GetDocRequest",{docId:r,apiVersion:"2.9.359",source:{data:t.data,url:t.url,password:t.password,disableAutoFetch:t.disableAutoFetch,rangeChunkSize:t.rangeChunkSize,length:t.length},maxImageSize:t.maxImageSize,disableFontFace:t.disableFontFace,postMessageTransfers:e.postMessageTransfers,docBaseUrl:t.docBaseUrl,ignoreErrors:t.ignoreErrors,isEvalSupported:t.isEvalSupported,fontExtraProperties:t.fontExtraProperties,enableXfa:t.enableXfa}).then((function(t){if(e.destroyed)throw new Error("Worker was destroyed");return t})))}exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory;var PDFDocumentLoadingTask=(nextDocumentId=0,function(){function e(){_classCallCheck(this,e),this._capability=(0,_util.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+nextDocumentId++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}return _createClass(e,[{key:"promise",get:function(){return this._capability.promise}},{key:"destroy",value:function(){var e=this;return this.destroyed=!0,(this._transport?this._transport.destroy():Promise.resolve()).then((function(){e._transport=null,e._worker&&(e._worker.destroy(),e._worker=null)}))}}]),e}()),nextDocumentId,PDFDataRangeTransport=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.length=t,this.initialData=n,this.progressiveDone=r,this.contentDispositionFilename=a,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,_util.createPromiseCapability)()}return _createClass(e,[{key:"addRangeListener",value:function(e){this._rangeListeners.push(e)}},{key:"addProgressListener",value:function(e){this._progressListeners.push(e)}},{key:"addProgressiveReadListener",value:function(e){this._progressiveReadListeners.push(e)}},{key:"addProgressiveDoneListener",value:function(e){this._progressiveDoneListeners.push(e)}},{key:"onDataRange",value:function(e,t){var n,r=_createForOfIteratorHelper(this._rangeListeners);try{for(r.s();!(n=r.n()).done;)(0,n.value)(e,t)}catch(e){r.e(e)}finally{r.f()}}},{key:"onDataProgress",value:function(e,t){var n=this;this._readyCapability.promise.then((function(){var r,a=_createForOfIteratorHelper(n._progressListeners);try{for(a.s();!(r=a.n()).done;)(0,r.value)(e,t)}catch(e){a.e(e)}finally{a.f()}}))}},{key:"onDataProgressiveRead",value:function(e){var t=this;this._readyCapability.promise.then((function(){var n,r=_createForOfIteratorHelper(t._progressiveReadListeners);try{for(r.s();!(n=r.n()).done;)(0,n.value)(e)}catch(e){r.e(e)}finally{r.f()}}))}},{key:"onDataProgressiveDone",value:function(){var e=this;this._readyCapability.promise.then((function(){var t,n=_createForOfIteratorHelper(e._progressiveDoneListeners);try{for(n.s();!(t=n.n()).done;)(0,t.value)()}catch(e){n.e(e)}finally{n.f()}}))}},{key:"transportReady",value:function(){this._readyCapability.resolve()}},{key:"requestDataRange",value:function(e,t){(0,_util.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}},{key:"abort",value:function(){}}]),e}();exports.PDFDataRangeTransport=PDFDataRangeTransport;var PDFDocumentProxy=function(){function e(t,n){_classCallCheck(this,e),this._pdfInfo=t,this._transport=n}return _createClass(e,[{key:"annotationStorage",get:function(){return this._transport.annotationStorage}},{key:"numPages",get:function(){return this._pdfInfo.numPages}},{key:"fingerprint",get:function(){return this._pdfInfo.fingerprint}},{key:"isPureXfa",get:function(){return this._pdfInfo.isPureXfa}},{key:"getPage",value:function(e){return this._transport.getPage(e)}},{key:"getPageIndex",value:function(e){return this._transport.getPageIndex(e)}},{key:"getDestinations",value:function(){return this._transport.getDestinations()}},{key:"getDestination",value:function(e){return this._transport.getDestination(e)}},{key:"getPageLabels",value:function(){return this._transport.getPageLabels()}},{key:"getPageLayout",value:function(){return this._transport.getPageLayout()}},{key:"getPageMode",value:function(){return this._transport.getPageMode()}},{key:"getViewerPreferences",value:function(){return this._transport.getViewerPreferences()}},{key:"getOpenAction",value:function(){return this._transport.getOpenAction()}},{key:"getAttachments",value:function(){return this._transport.getAttachments()}},{key:"getJavaScript",value:function(){return this._transport.getJavaScript()}},{key:"getJSActions",value:function(){return this._transport.getDocJSActions()}},{key:"getOutline",value:function(){return this._transport.getOutline()}},{key:"getOptionalContentConfig",value:function(){return this._transport.getOptionalContentConfig()}},{key:"getPermissions",value:function(){return this._transport.getPermissions()}},{key:"getMetadata",value:function(){return this._transport.getMetadata()}},{key:"getMarkInfo",value:function(){return this._transport.getMarkInfo()}},{key:"getData",value:function(){return this._transport.getData()}},{key:"getDownloadInfo",value:function(){return this._transport.downloadInfoCapability.promise}},{key:"getStats",value:function(){return this._transport.getStats()}},{key:"cleanup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._transport.startCleanup(e||this.isPureXfa)}},{key:"destroy",value:function(){return this.loadingTask.destroy()}},{key:"loadingParams",get:function(){return this._transport.loadingParams}},{key:"loadingTask",get:function(){return this._transport.loadingTask}},{key:"saveDocument",value:function(){return arguments.length>0&&(0,_display_utils.deprecated)("saveDocument no longer accepts any options."),this._transport.annotationStorage.size<=0&&(0,_display_utils.deprecated)("saveDocument called while `annotationStorage` is empty, please use the getData-method instead."),this._transport.saveDocument()}},{key:"getFieldObjects",value:function(){return this._transport.getFieldObjects()}},{key:"hasJSActions",value:function(){return this._transport.hasJSActions()}},{key:"getCalculationOrderIds",value:function(){return this._transport.getCalculationOrderIds()}}]),e}();exports.PDFDocumentProxy=PDFDocumentProxy;var PDFPageProxy=function(){function e(t,n,r,a){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_classCallCheck(this,e),this._pageIndex=t,this._pageInfo=n,this._ownerDocument=a,this._transport=r,this._stats=o?new _display_utils.StatTimer:null,this._pdfBug=o,this.commonObjs=r.commonObjs,this.objs=new PDFObjects,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this._intentStates=new Map,this.destroyed=!1}return _createClass(e,[{key:"pageNumber",get:function(){return this._pageIndex+1}},{key:"rotate",get:function(){return this._pageInfo.rotate}},{key:"ref",get:function(){return this._pageInfo.ref}},{key:"userUnit",get:function(){return this._pageInfo.userUnit}},{key:"view",get:function(){return this._pageInfo.view}},{key:"getViewport",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scale,n=e.rotation,r=void 0===n?this.rotate:n,a=e.offsetX,o=void 0===a?0:a,i=e.offsetY,s=void 0===i?0:i,l=e.dontFlip,c=void 0!==l&&l;return new _display_utils.PageViewport({viewBox:this.view,scale:t,rotation:r,offsetX:o,offsetY:s,dontFlip:c})}},{key:"getAnnotations",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.intent,n=void 0===t?null:t;return this._annotationsPromise&&this._annotationsIntent===n||(this._annotationsPromise=this._transport.getAnnotations(this._pageIndex,n),this._annotationsIntent=n),this._annotationsPromise}},{key:"getJSActions",value:function(){return this._jsActionsPromise||(this._jsActionsPromise=this._transport.getPageJSActions(this._pageIndex))}},{key:"getXfa",value:function(){return this._xfaPromise||(this._xfaPromise=this._transport.getPageXfa(this._pageIndex))}},{key:"render",value:function(e){var t,n,r=this,a=e.canvasContext,o=e.viewport,i=e.intent,s=void 0===i?"display":i,l=e.renderInteractiveForms,c=void 0!==l&&l,u=e.transform,d=void 0===u?null:u,f=e.imageLayer,h=void 0===f?null:f,p=e.canvasFactory,m=void 0===p?null:p,v=e.background,b=void 0===v?null:v,g=e.includeAnnotationStorage,y=void 0!==g&&g,O=e.optionalContentConfigPromise,w=void 0===O?null:O;void 0!==(null===(t=arguments[0])||void 0===t?void 0:t.annotationStorage)&&((0,_display_utils.deprecated)("render no longer accepts an `annotationStorage` option, please use the `includeAnnotationStorage`-boolean instead."),y||(y=!!arguments[0].annotationStorage)),this._stats&&this._stats.time("Overall");var _="print"===s?"print":"display";this.pendingCleanup=!1,w||(w=this._transport.getOptionalContentConfig());var j=this._intentStates.get(_);j||(j=Object.create(null),this._intentStates.set(_,j)),j.streamReaderCancelTimeout&&(clearTimeout(j.streamReaderCancelTimeout),j.streamReaderCancelTimeout=null);var k=m||new DefaultCanvasFactory({ownerDocument:this._ownerDocument}),x=y?this._transport.annotationStorage.serializable:null;j.displayReadyCapability||(j.displayReadyCapability=(0,_util.createPromiseCapability)(),j.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList({pageIndex:this._pageIndex,intent:_,renderInteractiveForms:!0===c,annotationStorage:x}));var S=function(e){j.renderTasks.delete(C),(r.cleanupAfterRender||"print"===_)&&(r.pendingCleanup=!0),r._tryCleanup(),e?(C.capability.reject(e),r._abortOperatorList({intentState:j,reason:e})):C.capability.resolve(),r._stats&&(r._stats.timeEnd("Rendering"),r._stats.timeEnd("Overall"))},C=new InternalRenderTask({callback:S,params:{canvasContext:a,viewport:o,transform:d,imageLayer:h,background:b},objs:this.objs,commonObjs:this.commonObjs,operatorList:j.operatorList,pageIndex:this._pageIndex,canvasFactory:k,useRequestAnimationFrame:"print"!==_,pdfBug:this._pdfBug});((n=j).renderTasks||(n.renderTasks=new Set)).add(C);var M=C.task;return Promise.all([j.displayReadyCapability.promise,w]).then((function(e){var t=_slicedToArray(e,2),n=t[0],a=t[1];r.pendingCleanup?S():(r._stats&&r._stats.time("Rendering"),C.initializeGraphics({transparency:n,optionalContentConfig:a}),C.operatorListChanged())})).catch(S),M}},{key:"getOperatorList",value:function(){var e,t,n="oplist",r=this._intentStates.get(n);return r||(r=Object.create(null),this._intentStates.set(n,r)),r.opListReadCapability||((e=Object.create(null)).operatorListChanged=function(){r.operatorList.lastChunk&&(r.opListReadCapability.resolve(r.operatorList),r.renderTasks.delete(e))},r.opListReadCapability=(0,_util.createPromiseCapability)(),((t=r).renderTasks||(t.renderTasks=new Set)).add(e),r.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList({pageIndex:this._pageIndex,intent:n})),r.opListReadCapability.promise}},{key:"streamTextContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.normalizeWhitespace,n=void 0!==t&&t,r=e.disableCombineTextItems,a=void 0!==r&&r,o=e.includeMarkedContent,i=void 0!==o&&o,s=100;return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,normalizeWhitespace:!0===n,combineTextItems:!0!==a,includeMarkedContent:!0===i},{highWaterMark:s,size:function(e){return e.items.length}})}},{key:"getTextContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.streamTextContent(e);return new Promise((function(e,n){var r=t.getReader(),a={items:[],styles:Object.create(null)};!function t(){r.read().then((function(n){var r,o=n.value;n.done?e(a):(Object.assign(a.styles,o.styles),(r=a.items).push.apply(r,_toConsumableArray(o.items)),t())}),n)}()}))}},{key:"getStructTree",value:function(){return this._structTreePromise||(this._structTreePromise=this._transport.getStructTree(this._pageIndex))}},{key:"_destroy",value:function(){this.destroyed=!0,this._transport.pageCache[this._pageIndex]=null;var e,t=[],n=_createForOfIteratorHelper(this._intentStates);try{for(n.s();!(e=n.n()).done;){var r=_slicedToArray(e.value,2),a=r[0],o=r[1];if(this._abortOperatorList({intentState:o,reason:new Error("Page was destroyed."),force:!0}),"oplist"!==a){var i,s=_createForOfIteratorHelper(o.renderTasks);try{for(s.s();!(i=s.n()).done;){var l=i.value;t.push(l.completed),l.cancel()}}catch(e){s.e(e)}finally{s.f()}}}}catch(e){n.e(e)}finally{n.f()}return this.objs.clear(),this._annotationsPromise=null,this._jsActionsPromise=null,this._xfaPromise=null,this._structTreePromise=null,this.pendingCleanup=!1,Promise.all(t)}},{key:"cleanup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.pendingCleanup=!0,this._tryCleanup(e)}},{key:"_tryCleanup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.pendingCleanup)return!1;var t,n=_createForOfIteratorHelper(this._intentStates.values());try{for(n.s();!(t=n.n()).done;){var r=t.value,a=r.renderTasks,o=r.operatorList;if(a.size>0||!o.lastChunk)return!1}}catch(e){n.e(e)}finally{n.f()}return this._intentStates.clear(),this.objs.clear(),this._annotationsPromise=null,this._jsActionsPromise=null,this._xfaPromise=null,this._structTreePromise=null,e&&this._stats&&(this._stats=new _display_utils.StatTimer),this.pendingCleanup=!1,!0}},{key:"_startRenderPage",value:function(e,t){var n=this._intentStates.get(t);n&&(this._stats&&this._stats.timeEnd("Page Request"),n.displayReadyCapability&&n.displayReadyCapability.resolve(e))}},{key:"_renderPageChunk",value:function(e,t){for(var n=0,r=e.length;n<r;n++)t.operatorList.fnArray.push(e.fnArray[n]),t.operatorList.argsArray.push(e.argsArray[n]);t.operatorList.lastChunk=e.lastChunk;var a,o=_createForOfIteratorHelper(t.renderTasks);try{for(o.s();!(a=o.n()).done;)a.value.operatorListChanged()}catch(e){o.e(e)}finally{o.f()}e.lastChunk&&this._tryCleanup()}},{key:"_pumpOperatorList",value:function(e){var t=this;(0,_util.assert)(e.intent,'PDFPageProxy._pumpOperatorList: Expected "intent" argument.');var n=this._transport.messageHandler.sendWithStream("GetOperatorList",e).getReader(),r=this._intentStates.get(e.intent);r.streamReader=n,function e(){n.read().then((function(n){var a=n.value;n.done?r.streamReader=null:t._transport.destroyed||(t._renderPageChunk(a,r),e())}),(function(e){if(r.streamReader=null,!t._transport.destroyed){if(r.operatorList){r.operatorList.lastChunk=!0;var n,a=_createForOfIteratorHelper(r.renderTasks);try{for(a.s();!(n=a.n()).done;)n.value.operatorListChanged()}catch(e){a.e(e)}finally{a.f()}t._tryCleanup()}if(r.displayReadyCapability)r.displayReadyCapability.reject(e);else{if(!r.opListReadCapability)throw e;r.opListReadCapability.reject(e)}}}))}()}},{key:"_abortOperatorList",value:function(e){var t=this,n=e.intentState,r=e.reason,a=e.force,o=void 0!==a&&a;if((0,_util.assert)(r instanceof Error||"object"===_typeof(r)&&null!==r,'PDFPageProxy._abortOperatorList: Expected "reason" argument.'),n.streamReader){if(!o){if(n.renderTasks.size>0)return;if(r instanceof _display_utils.RenderingCancelledException)return void(n.streamReaderCancelTimeout=setTimeout((function(){t._abortOperatorList({intentState:n,reason:r,force:!0}),n.streamReaderCancelTimeout=null}),RENDERING_CANCELLED_TIMEOUT))}if(n.streamReader.cancel(new _util.AbortException(null==r?void 0:r.message)),n.streamReader=null,!this._transport.destroyed){var i,s=_createForOfIteratorHelper(this._intentStates);try{for(s.s();!(i=s.n()).done;){var l=_slicedToArray(i.value,2),c=l[0];if(l[1]===n){this._intentStates.delete(c);break}}}catch(e){s.e(e)}finally{s.f()}this.cleanup()}}}},{key:"stats",get:function(){return this._stats}}]),e}();exports.PDFPageProxy=PDFPageProxy;var LoopbackPort=function(){function e(){_classCallCheck(this,e),this._listeners=[],this._deferred=Promise.resolve(void 0)}return _createClass(e,[{key:"postMessage",value:function(e,t){var n=this,r=new WeakMap,a={data:function e(n){if("object"!==_typeof(n)||null===n)return n;if(r.has(n))return r.get(n);var a,o;if((a=n.buffer)&&(0,_util.isArrayBuffer)(a))return o=null!=t&&t.includes(a)?new n.constructor(a,n.byteOffset,n.byteLength):new n.constructor(n),r.set(n,o),o;if(n instanceof Map){o=new Map,r.set(n,o);var i,s=_createForOfIteratorHelper(n);try{for(s.s();!(i=s.n()).done;){var l=_slicedToArray(i.value,2),c=l[0],u=l[1];o.set(c,e(u))}}catch(e){s.e(e)}finally{s.f()}return o}if(n instanceof Set){o=new Set,r.set(n,o);var d,f=_createForOfIteratorHelper(n);try{for(f.s();!(d=f.n()).done;){var h=d.value;o.add(e(h))}}catch(e){f.e(e)}finally{f.f()}return o}if(n instanceof URL)throw new Error("LoopbackPort.postMessage - cannot clone: ".concat(n));for(var p in o=Array.isArray(n)?[]:Object.create(null),r.set(n,o),n){for(var m,v=void 0,b=n;!(v=Object.getOwnPropertyDescriptor(b,p));)b=Object.getPrototypeOf(b);if(void 0!==v.value)if("function"!=typeof v.value)o[p]=e(v.value);else if(null!==(m=n.hasOwnProperty)&&void 0!==m&&m.call(n,p))throw new Error("LoopbackPort.postMessage - cannot clone: ".concat(n[p]))}return o}(e)};this._deferred.then((function(){var e,t=_createForOfIteratorHelper(n._listeners);try{for(t.s();!(e=t.n()).done;)e.value.call(n,a)}catch(e){t.e(e)}finally{t.f()}}))}},{key:"addEventListener",value:function(e,t){this._listeners.push(t)}},{key:"removeEventListener",value:function(e,t){var n=this._listeners.indexOf(t);this._listeners.splice(n,1)}},{key:"terminate",value:function(){this._listeners.length=0}}]),e}();exports.LoopbackPort=LoopbackPort;var PDFWorker=function PDFWorkerClosure(){var pdfWorkerPorts=new WeakMap,isWorkerDisabled=!1,fallbackWorkerSrc,nextFakeWorkerId=0,fakeWorkerCapability;if(_is_node.isNodeJS)isWorkerDisabled=!0,fallbackWorkerSrc="./pdf.worker.js";else if("object"===("undefined"==typeof document?"undefined":_typeof(document))&&"currentScript"in document){var _document$currentScri,pdfjsFilePath=null===(_document$currentScri=document.currentScript)||void 0===_document$currentScri?void 0:_document$currentScri.src;pdfjsFilePath&&(fallbackWorkerSrc=pdfjsFilePath.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}function _getWorkerSrc(){if(_worker_options.GlobalWorkerOptions.workerSrc)return _worker_options.GlobalWorkerOptions.workerSrc;if(void 0!==fallbackWorkerSrc)return _is_node.isNodeJS||(0,_display_utils.deprecated)('No "GlobalWorkerOptions.workerSrc" specified.'),fallbackWorkerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}function getMainThreadWorkerMessageHandler(){var e;try{var t;e=null===(t=globalThis.pdfjsWorker)||void 0===t?void 0:t.WorkerMessageHandler}catch(e){}return e||null}function setupFakeWorkerGlobal(){if(fakeWorkerCapability)return fakeWorkerCapability.promise;fakeWorkerCapability=(0,_util.createPromiseCapability)();var loader=function(){var _ref12=_asyncToGenerator(_regenerator.default.mark((function _callee(){var mainWorkerMessageHandler,worker;return _regenerator.default.wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:if(mainWorkerMessageHandler=getMainThreadWorkerMessageHandler(),!mainWorkerMessageHandler){_context.next=3;break}return _context.abrupt("return",mainWorkerMessageHandler);case 3:if(!_is_node.isNodeJS){_context.next=6;break}return worker=eval("require")(_getWorkerSrc()),_context.abrupt("return",worker.WorkerMessageHandler);case 6:return _context.next=8,(0,_display_utils.loadScript)(_getWorkerSrc());case 8:return _context.abrupt("return",window.pdfjsWorker.WorkerMessageHandler);case 9:case"end":return _context.stop()}}),_callee)})));return function(){return _ref12.apply(this,arguments)}}();return loader().then(fakeWorkerCapability.resolve,fakeWorkerCapability.reject),fakeWorkerCapability.promise}function createCDNWrapper(e){var t="importScripts('"+e+"');";return URL.createObjectURL(new Blob([t]))}var PDFWorker=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.name,r=void 0===n?null:n,a=t.port,o=void 0===a?null:a,i=t.verbosity,s=void 0===i?(0,_util.getVerbosityLevel)():i;if(_classCallCheck(this,e),o&&pdfWorkerPorts.has(o))throw new Error("Cannot use more than one PDFWorker per port");if(this.name=r,this.destroyed=!1,this.postMessageTransfers=!0,this.verbosity=s,this._readyCapability=(0,_util.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,o)return pdfWorkerPorts.set(o,this),void this._initializeFromPort(o);this._initialize()}return _createClass(e,[{key:"promise",get:function(){return this._readyCapability.promise}},{key:"port",get:function(){return this._port}},{key:"messageHandler",get:function(){return this._messageHandler}},{key:"_initializeFromPort",value:function(e){this._port=e,this._messageHandler=new _message_handler.MessageHandler("main","worker",e),this._messageHandler.on("ready",(function(){})),this._readyCapability.resolve()}},{key:"_initialize",value:function(){var e=this;if("undefined"!=typeof Worker&&!isWorkerDisabled&&!getMainThreadWorkerMessageHandler()){var t=_getWorkerSrc();try{(0,_util.isSameOrigin)(window.location.href,t)||(t=createCDNWrapper(new URL(t,window.location).href));var n=new Worker(t),r=new _message_handler.MessageHandler("main","worker",n),a=function(){n.removeEventListener("error",o),r.destroy(),n.terminate(),e.destroyed?e._readyCapability.reject(new Error("Worker was destroyed")):e._setupFakeWorker()},o=function(){e._webWorker||a()};n.addEventListener("error",o),r.on("test",(function(t){n.removeEventListener("error",o),e.destroyed?a():t?(e._messageHandler=r,e._port=n,e._webWorker=n,t.supportTransfers||(e.postMessageTransfers=!1),e._readyCapability.resolve(),r.send("configure",{verbosity:e.verbosity})):(e._setupFakeWorker(),r.destroy(),n.terminate())})),r.on("ready",(function(t){if(n.removeEventListener("error",o),e.destroyed)a();else try{i()}catch(t){e._setupFakeWorker()}}));var i=function(){var t=new Uint8Array([e.postMessageTransfers?255:0]);try{r.send("test",t,[t.buffer])}catch(e){(0,_util.warn)("Cannot use postMessage transfers."),t[0]=0,r.send("test",t)}};return void i()}catch(e){(0,_util.info)("The worker has been disabled.")}}this._setupFakeWorker()}},{key:"_setupFakeWorker",value:function(){var e=this;isWorkerDisabled||((0,_util.warn)("Setting up fake worker."),isWorkerDisabled=!0),setupFakeWorkerGlobal().then((function(t){if(e.destroyed)e._readyCapability.reject(new Error("Worker was destroyed"));else{var n=new LoopbackPort;e._port=n;var r="fake"+nextFakeWorkerId++,a=new _message_handler.MessageHandler(r+"_worker",r,n);t.setup(a,n);var o=new _message_handler.MessageHandler(r,r+"_worker",n);e._messageHandler=o,e._readyCapability.resolve(),o.send("configure",{verbosity:e.verbosity})}})).catch((function(t){e._readyCapability.reject(new Error('Setting up fake worker failed: "'.concat(t.message,'".')))}))}},{key:"destroy",value:function(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),pdfWorkerPorts.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}}],[{key:"fromPort",value:function(t){if(!t||!t.port)throw new Error("PDFWorker.fromPort - invalid method signature.");return pdfWorkerPorts.has(t.port)?pdfWorkerPorts.get(t.port):new e(t)}},{key:"getWorkerSrc",value:function(){return _getWorkerSrc()}}]),e}();return PDFWorker}();exports.PDFWorker=PDFWorker;var WorkerTransport=function(){function e(t,n,r,a){_classCallCheck(this,e),this.messageHandler=t,this.loadingTask=n,this.commonObjs=new PDFObjects,this.fontLoader=new _font_loader.FontLoader({docId:n.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),ownerDocument:a.ownerDocument}),this._params=a,this.CMapReaderFactory=new a.CMapReaderFactory({baseUrl:a.cMapUrl,isCompressed:a.cMapPacked}),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=r,this._fullReader=null,this._lastProgress=null,this.pageCache=[],this.pagePromises=[],this.downloadInfoCapability=(0,_util.createPromiseCapability)(),this.setupMessageHandler()}var t;return _createClass(e,[{key:"annotationStorage",get:function(){return(0,_util.shadow)(this,"annotationStorage",new _annotation_storage.AnnotationStorage)}},{key:"destroy",value:function(){var e=this;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,_util.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));var t,n=[],r=_createForOfIteratorHelper(this.pageCache);try{for(r.s();!(t=r.n()).done;){var a=t.value;a&&n.push(a._destroy())}}catch(e){r.e(e)}finally{r.f()}this.pageCache.length=0,this.pagePromises.length=0,this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();var o=this.messageHandler.sendWithPromise("Terminate",null);return n.push(o),Promise.all(n).then((function(){e.commonObjs.clear(),e.fontLoader.clear(),e._hasJSActionsPromise=null,e._networkStream&&e._networkStream.cancelAllRequests(new _util.AbortException("Worker was terminated.")),e.messageHandler&&(e.messageHandler.destroy(),e.messageHandler=null),e.destroyCapability.resolve()}),this.destroyCapability.reject),this.destroyCapability.promise}},{key:"setupMessageHandler",value:function(){var e=this,t=this.messageHandler,n=this.loadingTask;t.on("GetReader",(function(t,n){(0,_util.assert)(e._networkStream,"GetReader - no `IPDFStream` instance available."),e._fullReader=e._networkStream.getFullReader(),e._fullReader.onProgress=function(t){e._lastProgress={loaded:t.loaded,total:t.total}},n.onPull=function(){e._fullReader.read().then((function(e){var t=e.value;e.done?n.close():((0,_util.assert)((0,_util.isArrayBuffer)(t),"GetReader - expected an ArrayBuffer."),n.enqueue(new Uint8Array(t),1,[t]))})).catch((function(e){n.error(e)}))},n.onCancel=function(t){e._fullReader.cancel(t),n.ready.catch((function(t){if(!e.destroyed)throw t}))}})),t.on("ReaderHeadersReady",(function(t){var r=(0,_util.createPromiseCapability)(),a=e._fullReader;return a.headersReady.then((function(){a.isStreamingSupported&&a.isRangeSupported||(e._lastProgress&&n.onProgress&&n.onProgress(e._lastProgress),a.onProgress=function(e){n.onProgress&&n.onProgress({loaded:e.loaded,total:e.total})}),r.resolve({isStreamingSupported:a.isStreamingSupported,isRangeSupported:a.isRangeSupported,contentLength:a.contentLength})}),r.reject),r.promise})),t.on("GetRangeReader",(function(t,n){(0,_util.assert)(e._networkStream,"GetRangeReader - no `IPDFStream` instance available.");var r=e._networkStream.getRangeReader(t.begin,t.end);r?(n.onPull=function(){r.read().then((function(e){var t=e.value;e.done?n.close():((0,_util.assert)((0,_util.isArrayBuffer)(t),"GetRangeReader - expected an ArrayBuffer."),n.enqueue(new Uint8Array(t),1,[t]))})).catch((function(e){n.error(e)}))},n.onCancel=function(t){r.cancel(t),n.ready.catch((function(t){if(!e.destroyed)throw t}))}):n.close()})),t.on("GetDoc",(function(t){var r=t.pdfInfo;e._numPages=r.numPages,n._capability.resolve(new PDFDocumentProxy(r,e))})),t.on("DocException",(function(e){var t;switch(e.name){case"PasswordException":t=new _util.PasswordException(e.message,e.code);break;case"InvalidPDFException":t=new _util.InvalidPDFException(e.message);break;case"MissingPDFException":t=new _util.MissingPDFException(e.message);break;case"UnexpectedResponseException":t=new _util.UnexpectedResponseException(e.message,e.status);break;case"UnknownErrorException":t=new _util.UnknownErrorException(e.message,e.details)}t instanceof Error||(0,_util.warn)("DocException - expected a valid Error."),n._capability.reject(t)})),t.on("PasswordRequest",(function(t){if(e._passwordCapability=(0,_util.createPromiseCapability)(),n.onPassword)try{n.onPassword((function(t){e._passwordCapability.resolve({password:t})}),t.code)}catch(t){e._passwordCapability.reject(t)}else e._passwordCapability.reject(new _util.PasswordException(t.message,t.code));return e._passwordCapability.promise})),t.on("DataLoaded",(function(t){n.onProgress&&n.onProgress({loaded:t.length,total:t.length}),e.downloadInfoCapability.resolve(t)})),t.on("StartRenderPage",(function(t){e.destroyed||e.pageCache[t.pageIndex]._startRenderPage(t.transparency,t.intent)})),t.on("commonobj",(function(n){var r;if(!e.destroyed){var a=_slicedToArray(n,3),o=a[0],i=a[1],s=a[2];if(!e.commonObjs.has(o))switch(i){case"Font":var l=e._params;if("error"in s){var c=s.error;(0,_util.warn)("Error during font loading: ".concat(c)),e.commonObjs.resolve(o,c);break}var u=null;l.pdfBug&&null!==(r=globalThis.FontInspector)&&void 0!==r&&r.enabled&&(u={registerFont:function(e,t){globalThis.FontInspector.fontAdded(e,t)}});var d=new _font_loader.FontFaceObject(s,{isEvalSupported:l.isEvalSupported,disableFontFace:l.disableFontFace,ignoreErrors:l.ignoreErrors,onUnsupportedFeature:e._onUnsupportedFeature.bind(e),fontRegistry:u});e.fontLoader.bind(d).catch((function(e){return t.sendWithPromise("FontFallback",{id:o})})).finally((function(){!l.fontExtraProperties&&d.data&&(d.data=null),e.commonObjs.resolve(o,d)}));break;case"FontPath":case"Image":e.commonObjs.resolve(o,s);break;default:throw new Error("Got unknown common object type ".concat(i))}}})),t.on("obj",(function(t){var n;if(!e.destroyed){var r=_slicedToArray(t,4),a=r[0],o=r[1],i=r[2],s=r[3],l=e.pageCache[o];if(!l.objs.has(a)){if("Image"!==i)throw new Error("Got unknown object type ".concat(i));l.objs.resolve(a,s),(null==s||null===(n=s.data)||void 0===n?void 0:n.length)>8e6&&(l.cleanupAfterRender=!0)}}})),t.on("DocProgress",(function(t){e.destroyed||n.onProgress&&n.onProgress({loaded:t.loaded,total:t.total})})),t.on("UnsupportedFeature",this._onUnsupportedFeature.bind(this)),t.on("FetchBuiltInCMap",(function(t,n){if(e.destroyed)n.error(new Error("Worker was destroyed"));else{var r=!1;n.onPull=function(){r?n.close():(r=!0,e.CMapReaderFactory.fetch(t).then((function(e){n.enqueue(e,1,[e.cMapData.buffer])})).catch((function(e){n.error(e)})))}}}))}},{key:"_onUnsupportedFeature",value:function(e){var t=e.featureId;this.destroyed||this.loadingTask.onUnsupportedFeature&&this.loadingTask.onUnsupportedFeature(t)}},{key:"getData",value:function(){return this.messageHandler.sendWithPromise("GetData",null)}},{key:"getPage",value:function(e){var t=this;if(!Number.isInteger(e)||e<=0||e>this._numPages)return Promise.reject(new Error("Invalid page request"));var n=e-1;if(n in this.pagePromises)return this.pagePromises[n];var r=this.messageHandler.sendWithPromise("GetPage",{pageIndex:n}).then((function(e){if(t.destroyed)throw new Error("Transport destroyed");var r=new PDFPageProxy(n,e,t,t._params.ownerDocument,t._params.pdfBug);return t.pageCache[n]=r,r}));return this.pagePromises[n]=r,r}},{key:"getPageIndex",value:function(e){return this.messageHandler.sendWithPromise("GetPageIndex",{ref:e}).catch((function(e){return Promise.reject(new Error(e))}))}},{key:"getAnnotations",value:function(e,t){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:e,intent:t})}},{key:"saveDocument",value:function(){var e,t,n=this;return this.messageHandler.sendWithPromise("SaveDocument",{numPages:this._numPages,annotationStorage:this.annotationStorage.serializable,filename:null!==(e=null===(t=this._fullReader)||void 0===t?void 0:t.filename)&&void 0!==e?e:null}).finally((function(){n.annotationStorage.resetModified()}))}},{key:"getFieldObjects",value:function(){return this.messageHandler.sendWithPromise("GetFieldObjects",null)}},{key:"hasJSActions",value:function(){return this._hasJSActionsPromise||(this._hasJSActionsPromise=this.messageHandler.sendWithPromise("HasJSActions",null))}},{key:"getCalculationOrderIds",value:function(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}},{key:"getDestinations",value:function(){return this.messageHandler.sendWithPromise("GetDestinations",null)}},{key:"getDestination",value:function(e){return"string"!=typeof e?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:e})}},{key:"getPageLabels",value:function(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}},{key:"getPageLayout",value:function(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}},{key:"getPageMode",value:function(){return this.messageHandler.sendWithPromise("GetPageMode",null)}},{key:"getViewerPreferences",value:function(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}},{key:"getOpenAction",value:function(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}},{key:"getAttachments",value:function(){return this.messageHandler.sendWithPromise("GetAttachments",null)}},{key:"getJavaScript",value:function(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}},{key:"getDocJSActions",value:function(){return this.messageHandler.sendWithPromise("GetDocJSActions",null)}},{key:"getPageJSActions",value:function(e){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:e})}},{key:"getPageXfa",value:function(e){return this.messageHandler.sendWithPromise("GetPageXfa",{pageIndex:e})}},{key:"getStructTree",value:function(e){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:e})}},{key:"getOutline",value:function(){return this.messageHandler.sendWithPromise("GetOutline",null)}},{key:"getOptionalContentConfig",value:function(){return this.messageHandler.sendWithPromise("GetOptionalContentConfig",null).then((function(e){return new _optional_content_config.OptionalContentConfig(e)}))}},{key:"getPermissions",value:function(){return this.messageHandler.sendWithPromise("GetPermissions",null)}},{key:"getMetadata",value:function(){var e=this;return this.messageHandler.sendWithPromise("GetMetadata",null).then((function(t){var n,r,a,o;return{info:t[0],metadata:t[1]?new _metadata.Metadata(t[1]):null,contentDispositionFilename:null!==(n=null===(r=e._fullReader)||void 0===r?void 0:r.filename)&&void 0!==n?n:null,contentLength:null!==(a=null===(o=e._fullReader)||void 0===o?void 0:o.contentLength)&&void 0!==a?a:null}}))}},{key:"getMarkInfo",value:function(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}},{key:"getStats",value:function(){return this.messageHandler.sendWithPromise("GetStats",null)}},{key:"startCleanup",value:(t=_asyncToGenerator(_regenerator.default.mark((function e(){var t,n,r,a,o=arguments;return _regenerator.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.length>0&&void 0!==o[0]&&o[0],e.next=3,this.messageHandler.sendWithPromise("Cleanup",null);case 3:if(!this.destroyed){e.next=5;break}return e.abrupt("return");case 5:n=0,r=this.pageCache.length;case 6:if(!(n<r)){e.next=16;break}if(a=this.pageCache[n]){e.next=10;break}return e.abrupt("continue",13);case 10:if(a.cleanup()){e.next=13;break}throw new Error("startCleanup: Page ".concat(n+1," is currently rendering."));case 13:n++,e.next=6;break;case 16:this.commonObjs.clear(),t||this.fontLoader.clear(),this._hasJSActionsPromise=null;case 19:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"loadingParams",get:function(){var e=this._params;return(0,_util.shadow)(this,"loadingParams",{disableAutoFetch:e.disableAutoFetch,disableFontFace:e.disableFontFace})}}]),e}(),PDFObjects=function(){function e(){_classCallCheck(this,e),this._objs=Object.create(null)}return _createClass(e,[{key:"_ensureObj",value:function(e){return this._objs[e]?this._objs[e]:this._objs[e]={capability:(0,_util.createPromiseCapability)(),data:null,resolved:!1}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return this._ensureObj(e).capability.promise.then(t),null;var n=this._objs[e];if(!n||!n.resolved)throw new Error("Requesting object that isn't resolved yet ".concat(e,"."));return n.data}},{key:"has",value:function(e){var t=this._objs[e];return(null==t?void 0:t.resolved)||!1}},{key:"resolve",value:function(e,t){var n=this._ensureObj(e);n.resolved=!0,n.data=t,n.capability.resolve(t)}},{key:"clear",value:function(){this._objs=Object.create(null)}}]),e}(),RenderTask=function(){function e(t){_classCallCheck(this,e),this._internalRenderTask=t,this.onContinue=null}return _createClass(e,[{key:"promise",get:function(){return this._internalRenderTask.capability.promise}},{key:"cancel",value:function(){this._internalRenderTask.cancel()}}]),e}(),InternalRenderTask=function(){var e=new WeakSet,t=function(){function t(e){var n=e.callback,r=e.params,a=e.objs,o=e.commonObjs,i=e.operatorList,s=e.pageIndex,l=e.canvasFactory,c=e.useRequestAnimationFrame,u=void 0!==c&&c,d=e.pdfBug,f=void 0!==d&&d;_classCallCheck(this,t),this.callback=n,this.params=r,this.objs=a,this.commonObjs=o,this.operatorListIdx=null,this.operatorList=i,this._pageIndex=s,this.canvasFactory=l,this._pdfBug=f,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===u&&"undefined"!=typeof window,this.cancelled=!1,this.capability=(0,_util.createPromiseCapability)(),this.task=new RenderTask(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=r.canvasContext.canvas}var n;return _createClass(t,[{key:"completed",get:function(){return this.capability.promise.catch((function(){}))}},{key:"initializeGraphics",value:function(t){var n,r=t.transparency,a=void 0!==r&&r,o=t.optionalContentConfig;if(!this.cancelled){if(this._canvas){if(e.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");e.add(this._canvas)}this._pdfBug&&null!==(n=globalThis.StepperManager)&&void 0!==n&&n.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());var i=this.params,s=i.canvasContext,l=i.viewport,c=i.transform,u=i.imageLayer,d=i.background;this.gfx=new _canvas.CanvasGraphics(s,this.commonObjs,this.objs,this.canvasFactory,u,o),this.gfx.beginDrawing({transform:c,viewport:l,transparency:a,background:d}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}}},{key:"cancel",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&e.delete(this._canvas),this.callback(t||new _display_utils.RenderingCancelledException("Rendering cancelled, page ".concat(this._pageIndex+1),"canvas"))}},{key:"operatorListChanged",value:function(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),this.running||this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}},{key:"_continue",value:function(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}},{key:"_scheduleNext",value:function(){var e=this;this._useRequestAnimationFrame?window.requestAnimationFrame((function(){e._nextBound().catch(e._cancelBound)})):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}},{key:"_next",value:(n=_asyncToGenerator(_regenerator.default.mark((function t(){return _regenerator.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.cancelled){t.next=2;break}return t.abrupt("return");case 2:this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this._canvas&&e.delete(this._canvas),this.callback()));case 4:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})}]),t}();return t}(),version="2.9.359";exports.version=version;var build="e667c8cbc";exports.build=build},(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.FontLoader=t.FontFaceObject=void 0;var a,o=(a=n(2))&&a.__esModule?a:{default:a},i=n(4);function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function l(e){var t=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(e){return!1}}();return function(){var n,r=u(e);if(t){var a=u(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function d(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t,n){return t&&m(e.prototype,t),n&&m(e,n),e}var b,g=function(){function e(t){var n=t.docId,r=t.onUnsupportedFeature,a=t.ownerDocument,o=void 0===a?globalThis.document:a;p(this,e),this.constructor===e&&(0,i.unreachable)("Cannot initialize BaseFontLoader."),this.docId=n,this._onUnsupportedFeature=r,this._document=o,this.nativeFontFaces=[],this.styleElement=null}var t,n;return v(e,[{key:"addNativeFontFace",value:function(e){this.nativeFontFaces.push(e),this._document.fonts.add(e)}},{key:"insertRule",value:function(e){var t=this.styleElement;t||((t=this.styleElement=this._document.createElement("style")).id="PDFJS_FONT_STYLE_TAG_".concat(this.docId),this._document.documentElement.getElementsByTagName("head")[0].appendChild(t));var n=t.sheet;n.insertRule(e,n.cssRules.length)}},{key:"clear",value:function(){var e,t=f(this.nativeFontFaces);try{for(t.s();!(e=t.n()).done;){var n=e.value;this._document.fonts.delete(n)}}catch(e){t.e(e)}finally{t.f()}this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}},{key:"bind",value:(t=o.default.mark((function e(t){var n,r,a=this;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.attached&&!t.missingFile){e.next=2;break}return e.abrupt("return");case 2:if(t.attached=!0,!this.isFontLoadingAPISupported){e.next=19;break}if(!(n=t.createNativeFontFace())){e.next=18;break}return this.addNativeFontFace(n),e.prev=7,e.next=10,n.loaded;case 10:e.next=18;break;case 12:throw e.prev=12,e.t0=e.catch(7),this._onUnsupportedFeature({featureId:i.UNSUPPORTED_FEATURES.errorFontLoadNative}),(0,i.warn)("Failed to load font '".concat(n.family,"': '").concat(e.t0,"'.")),t.disableFontFace=!0,e.t0;case 18:return e.abrupt("return");case 19:if(!(r=t.createFontFaceRule())){e.next=26;break}if(this.insertRule(r),!this.isSyncFontLoadingSupported){e.next=24;break}return e.abrupt("return");case 24:return e.next=26,new Promise((function(e){var n=a._queueLoadingCallback(e);a._prepareFontLoadEvent([r],[t],n)}));case 26:case"end":return e.stop()}}),e,this,[[7,12]])})),n=function(){var e=this,n=arguments;return new Promise((function(r,a){var o=t.apply(e,n);function i(e){d(o,r,a,i,s,"next",e)}function s(e){d(o,r,a,i,s,"throw",e)}i(void 0)}))},function(e){return n.apply(this,arguments)})},{key:"_queueLoadingCallback",value:function(e){(0,i.unreachable)("Abstract method `_queueLoadingCallback`.")}},{key:"isFontLoadingAPISupported",get:function(){var e;return(0,i.shadow)(this,"isFontLoadingAPISupported",!(null===(e=this._document)||void 0===e||!e.fonts))}},{key:"isSyncFontLoadingSupported",get:function(){(0,i.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}},{key:"_loadTestFont",get:function(){(0,i.unreachable)("Abstract method `_loadTestFont`.")}},{key:"_prepareFontLoadEvent",value:function(e,t,n){(0,i.unreachable)("Abstract method `_prepareFontLoadEvent`.")}}]),e}();t.FontLoader=b,t.FontLoader=b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(n,e);var t=l(n);function n(e){var r;return p(this,n),(r=t.call(this,e)).loadingContext={requests:[],nextRequestId:0},r.loadTestFontId=0,r}return v(n,[{key:"isSyncFontLoadingSupported",get:function(){var e=!1;if("undefined"==typeof navigator)e=!0;else{var t=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);(null==t?void 0:t[1])>=14&&(e=!0)}return(0,i.shadow)(this,"isSyncFontLoadingSupported",e)}},{key:"_queueLoadingCallback",value:function(e){var t=this.loadingContext,n={id:"pdfjs-font-loading-".concat(t.nextRequestId++),done:!1,complete:function(){for((0,i.assert)(!n.done,"completeRequest() cannot be called twice."),n.done=!0;t.requests.length>0&&t.requests[0].done;){var e=t.requests.shift();setTimeout(e.callback,0)}},callback:e};return t.requests.push(n),n}},{key:"_loadTestFont",get:function(){return(0,i.shadow)(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}},{key:"_prepareFontLoadEvent",value:function(e,t,n){var r,a,o=this;function s(e,t){return e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|255&e.charCodeAt(t+3)}function l(e,t,n,r){return e.substring(0,t)+r+e.substring(t+n)}var c=this._document.createElement("canvas");c.width=1,c.height=1;var u=c.getContext("2d"),d=0,h="lt".concat(Date.now()).concat(this.loadTestFontId++),p=this._loadTestFont,m=1482184792,v=s(p=l(p,976,h.length,h),16);for(r=0,a=h.length-3;r<a;r+=4)v=v-m+s(h,r)|0;r<h.length&&(v=v-m+s(h+"XXX",r)|0),p=l(p,16,4,(0,i.string32)(v));var b="url(data:font/opentype;base64,".concat(btoa(p),");"),g='@font-face {font-family:"'.concat(h,'";src:').concat(b,"}");this.insertRule(g);var y,O=[],w=f(t);try{for(w.s();!(y=w.n()).done;){var _=y.value;O.push(_.loadedName)}}catch(e){w.e(e)}finally{w.f()}O.push(h);var j=this._document.createElement("div");j.style.visibility="hidden",j.style.width=j.style.height="10px",j.style.position="absolute",j.style.top=j.style.left="0px";for(var k=0,x=O;k<x.length;k++){var S=x[k],C=this._document.createElement("span");C.textContent="Hi",C.style.fontFamily=S,j.appendChild(C)}this._document.body.appendChild(j),function e(t,n){if(++d>30)return(0,i.warn)("Load test font never loaded."),void n();u.font="30px "+t,u.fillText(".",0,20),u.getImageData(0,0,1,1).data[3]>0?n():setTimeout(e.bind(null,t,n))}(h,(function(){o._document.body.removeChild(j),n.complete()}))}}]),n}(g);var y=function(){function e(t,n){var r=n.isEvalSupported,a=void 0===r||r,o=n.disableFontFace,i=void 0!==o&&o,s=n.ignoreErrors,l=void 0!==s&&s,c=n.onUnsupportedFeature,u=n.fontRegistry,d=void 0===u?null:u;for(var f in p(this,e),this.compiledGlyphs=Object.create(null),t)this[f]=t[f];this.isEvalSupported=!1!==a,this.disableFontFace=!0===i,this.ignoreErrors=!0===l,this._onUnsupportedFeature=c,this.fontRegistry=d}return v(e,[{key:"createNativeFontFace",value:function(){if(!this.data||this.disableFontFace)return null;var e;if(this.cssFontInfo){var t={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(t.style="oblique ".concat(this.cssFontInfo.italicAngle,"deg")),e=new FontFace(this.cssFontInfo.fontFamily,this.data,t)}else e=new FontFace(this.loadedName,this.data,{});return this.fontRegistry&&this.fontRegistry.registerFont(this),e}},{key:"createFontFaceRule",value:function(){if(!this.data||this.disableFontFace)return null;var e,t=(0,i.bytesToString)(this.data),n="url(data:".concat(this.mimetype,";base64,").concat(btoa(t),");");if(this.cssFontInfo){var r="font-weight: ".concat(this.cssFontInfo.fontWeight,";");this.cssFontInfo.italicAngle&&(r+="font-style: oblique ".concat(this.cssFontInfo.italicAngle,"deg;")),e='@font-face {font-family:"'.concat(this.cssFontInfo.fontFamily,'";').concat(r,"src:").concat(n,"}")}else e='@font-face {font-family:"'.concat(this.loadedName,'";src:').concat(n,"}");return this.fontRegistry&&this.fontRegistry.registerFont(this,n),e}},{key:"getPathGenerator",value:function(e,t){if(void 0!==this.compiledGlyphs[t])return this.compiledGlyphs[t];var n;try{n=e.get(this.loadedName+"_path_"+t)}catch(e){if(!this.ignoreErrors)throw e;return this._onUnsupportedFeature({featureId:i.UNSUPPORTED_FEATURES.errorFontGetPath}),(0,i.warn)('getPathGenerator - ignoring character: "'.concat(e,'".')),this.compiledGlyphs[t]=function(e,t){}}if(this.isEvalSupported&&i.IsEvalSupportedCached.value){var r,a=[],o=f(n);try{for(o.s();!(r=o.n()).done;){var s=r.value,l=void 0!==s.args?s.args.join(","):"";a.push("c.",s.cmd,"(",l,");\n")}}catch(e){o.e(e)}finally{o.f()}return this.compiledGlyphs[t]=new Function("c","size",a.join(""))}return this.compiledGlyphs[t]=function(e,t){var r,a=f(n);try{for(a.s();!(r=a.n()).done;){var o=r.value;"scale"===o.cmd&&(o.args=[t,-t]),e[o.cmd].apply(e,o.args)}}catch(e){a.e(e)}finally{a.f()}}}}]),e}();t.FontFaceObject=y},(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.NodeCMapReaderFactory=t.NodeCanvasFactory=void 0;var a=n(1),o=n(6),i=n(4);function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){var t=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(e){return!1}}();return function(){var n,r=h(e);if(t){var a=h(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var m=function e(){p(this,e),(0,i.unreachable)("Not implemented: NodeCanvasFactory")};t.NodeCanvasFactory=m;var v=function e(){p(this,e),(0,i.unreachable)("Not implemented: NodeCMapReaderFactory")};t.NodeCMapReaderFactory=v,o.isNodeJS&&(t.NodeCanvasFactory=m=function(e){c(n,e);var t=d(n);function n(){return p(this,n),t.apply(this,arguments)}return l(n,[{key:"create",value:function(e,t){if(e<=0||t<=0)throw new Error("Invalid canvas size");var n=__webpack_require__(601).createCanvas(e,t);return{canvas:n,context:n.getContext("2d")}}}]),n}(a.BaseCanvasFactory),t.NodeCMapReaderFactory=v=function(e){c(n,e);var t=d(n);function n(){return p(this,n),t.apply(this,arguments)}return l(n,[{key:"_fetchData",value:function(e,t){return new Promise((function(n,r){__webpack_require__(767).readFile(e,(function(e,a){!e&&a?n({cMapData:new Uint8Array(a),compressionType:t}):r(new Error(e))}))}))}}]),n}(a.BaseCMapReaderFactory))},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationStorage=void 0;var r=n(4);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||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.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._storage=new Map,this._modified=!1,this.onSetModified=null,this.onResetModified=null}var t,n,o;return t=e,(n=[{key:"getValue",value:function(e,t){var n=this._storage.get(e);return void 0!==n?n:t}},{key:"setValue",value:function(e,t){var n=this._storage.get(e),r=!1;if(void 0!==n)for(var o=0,i=Object.entries(t);o<i.length;o++){var s=a(i[o],2),l=s[0],c=s[1];n[l]!==c&&(r=!0,n[l]=c)}else this._storage.set(e,t),r=!0;r&&this._setModified()}},{key:"getAll",value:function(){return this._storage.size>0?(0,r.objectFromMap)(this._storage):null}},{key:"size",get:function(){return this._storage.size}},{key:"_setModified",value:function(){this._modified||(this._modified=!0,"function"==typeof this.onSetModified&&this.onSetModified())}},{key:"resetModified",value:function(){this._modified&&(this._modified=!1,"function"==typeof this.onResetModified&&this.onResetModified())}},{key:"serializable",get:function(){return this._storage.size>0?this._storage:null}}])&&i(t.prototype,n),o&&i(t,o),e}();t.AnnotationStorage=s},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.apiCompatibilityParams=void 0;var r=n(6),a=Object.create(null);r.isNodeJS&&(a.disableFontFace=!0);var o=Object.freeze(a);t.apiCompatibilityParams=o},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CanvasGraphics=void 0;var r=n(4),a=n(119);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=d(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||d(e,t)||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.")}()}function d(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var h=4096,p=16;function m(e){if(!e.mozCurrentTransform){e._originalSave=e.save,e._originalRestore=e.restore,e._originalRotate=e.rotate,e._originalScale=e.scale,e._originalTranslate=e.translate,e._originalTransform=e.transform,e._originalSetTransform=e.setTransform,e._originalResetTransform=e.resetTransform,e._transformMatrix=e._transformMatrix||[1,0,0,1,0,0],e._transformStack=[];try{var t=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),"lineWidth");e._setLineWidth=t.set,e._getLineWidth=t.get,Object.defineProperty(e,"lineWidth",{set:function(e){this._setLineWidth(1.000001*e)},get:function(){return this._getLineWidth()}})}catch(e){}Object.defineProperty(e,"mozCurrentTransform",{get:function(){return this._transformMatrix}}),Object.defineProperty(e,"mozCurrentTransformInverse",{get:function(){var e=u(this._transformMatrix,6),t=e[0],n=e[1],r=e[2],a=e[3],o=e[4],i=e[5],s=t*a-n*r,l=n*r-t*a;return[a/s,n/l,r/l,t/s,(a*o-r*i)/l,(n*o-t*i)/s]}}),e.save=function(){var e=this._transformMatrix;this._transformStack.push(e),this._transformMatrix=e.slice(0,6),this._originalSave()},e.restore=function(){var e=this._transformStack.pop();e&&(this._transformMatrix=e,this._originalRestore())},e.translate=function(e,t){var n=this._transformMatrix;n[4]=n[0]*e+n[2]*t+n[4],n[5]=n[1]*e+n[3]*t+n[5],this._originalTranslate(e,t)},e.scale=function(e,t){var n=this._transformMatrix;n[0]=n[0]*e,n[1]=n[1]*e,n[2]=n[2]*t,n[3]=n[3]*t,this._originalScale(e,t)},e.transform=function(t,n,r,a,o,i){var s=this._transformMatrix;this._transformMatrix=[s[0]*t+s[2]*n,s[1]*t+s[3]*n,s[0]*r+s[2]*a,s[1]*r+s[3]*a,s[0]*o+s[2]*i+s[4],s[1]*o+s[3]*i+s[5]],e._originalTransform(t,n,r,a,o,i)},e.setTransform=function(t,n,r,a,o,i){this._transformMatrix=[t,n,r,a,o,i],e._originalSetTransform(t,n,r,a,o,i)},e.resetTransform=function(){this._transformMatrix=[1,0,0,1,0,0],e._originalResetTransform()},e.rotate=function(e){var t=Math.cos(e),n=Math.sin(e),r=this._transformMatrix;this._transformMatrix=[r[0]*t+r[2]*n,r[1]*t+r[3]*n,r[0]*-n+r[2]*t,r[1]*-n+r[3]*t,r[4],r[5]],this._originalRotate(e)}}}var v=function(){function e(t){s(this,e),this.canvasFactory=t,this.cache=Object.create(null)}return c(e,[{key:"getCanvas",value:function(e,t,n,r){var a;return void 0!==this.cache[e]?(a=this.cache[e],this.canvasFactory.reset(a,t,n),a.context.setTransform(1,0,0,1,0,0)):(a=this.canvasFactory.create(t,n),this.cache[e]=a),r&&m(a.context),a}},{key:"clear",value:function(){for(var e in this.cache){var t=this.cache[e];this.canvasFactory.destroy(t),delete this.cache[e]}}}]),e}(),b=function(){function e(){s(this,e),this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=r.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=r.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=r.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.resumeSMaskCtx=null,this.transferMaps=null}return c(e,[{key:"clone",value:function(){return Object.create(this)}},{key:"setCurrentPoint",value:function(e,t){this.x=e,this.y=t}}]),e}(),g=function(){function e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if("undefined"!=typeof ImageData&&t instanceof ImageData)e.putImageData(t,0,0);else{var a,o,i,s,l,c,u,d,f,h=t.height,m=t.width,v=h%p,b=(h-v)/p,g=0===v?b:b+1,y=e.createImageData(m,p),O=0,w=t.data,_=y.data;if(n)switch(n.length){case 1:c=n[0],u=n[0],d=n[0],f=n[0];break;case 4:c=n[0],u=n[1],d=n[2],f=n[3]}if(t.kind===r.ImageKind.GRAYSCALE_1BPP){var j=w.byteLength,k=new Uint32Array(_.buffer,0,_.byteLength>>2),x=k.length,S=m+7>>3,C=4294967295,M=r.IsLittleEndianCached.value?4278190080:255;if(f&&255===f[0]&&0===f[255]){var A=[M,C];C=A[0],M=A[1]}for(o=0;o<g;o++){for(s=o<b?p:v,a=0,i=0;i<s;i++){for(var T=j-O,E=0,L=T>S?m:8*T-7,P=-8&L,D=0,N=0;E<P;E+=8)N=w[O++],k[a++]=128&N?C:M,k[a++]=64&N?C:M,k[a++]=32&N?C:M,k[a++]=16&N?C:M,k[a++]=8&N?C:M,k[a++]=4&N?C:M,k[a++]=2&N?C:M,k[a++]=1&N?C:M;for(;E<L;E++)0===D&&(N=w[O++],D=128),k[a++]=N&D?C:M,D>>=1}for(;a<x;)k[a++]=0;e.putImageData(y,0,o*p)}}else if(t.kind===r.ImageKind.RGBA_32BPP){var R=!!(c||u||d);for(i=0,l=m*p*4,o=0;o<b;o++){if(_.set(w.subarray(O,O+l)),O+=l,R)for(var I=0;I<l;I+=4)c&&(_[I+0]=c[_[I+0]]),u&&(_[I+1]=u[_[I+1]]),d&&(_[I+2]=d[_[I+2]]);e.putImageData(y,0,i),i+=p}if(o<g){if(l=m*v*4,_.set(w.subarray(O,O+l)),R)for(var B=0;B<l;B+=4)c&&(_[B+0]=c[_[B+0]]),u&&(_[B+1]=u[_[B+1]]),d&&(_[B+2]=d[_[B+2]]);e.putImageData(y,0,i)}}else{if(t.kind!==r.ImageKind.RGB_24BPP)throw new Error("bad image kind: ".concat(t.kind));var F=!!(c||u||d);for(l=m*(s=p),o=0;o<g;o++){for(o>=b&&(l=m*(s=v)),a=0,i=l;i--;)_[a++]=w[O++],_[a++]=w[O++],_[a++]=w[O++],_[a++]=255;if(F)for(var V=0;V<a;V+=4)c&&(_[V+0]=c[_[V+0]]),u&&(_[V+1]=u[_[V+1]]),d&&(_[V+2]=d[_[V+2]]);e.putImageData(y,0,o*p)}}}}function t(e,t){for(var n=t.height,r=t.width,a=n%p,o=(n-a)/p,i=0===a?o:o+1,s=e.createImageData(r,p),l=0,c=t.data,u=s.data,d=0;d<i;d++){for(var f=d<o?p:a,h=3,m=0;m<f;m++)for(var v=void 0,b=0,g=0;g<r;g++)b||(v=c[l++],b=128),u[h]=v&b?0:255,h+=4,b>>=1;e.putImageData(s,0,d*p)}}function n(e,t){for(var n=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font"],r=0,a=n.length;r<a;r++){var o=n[r];void 0!==e[o]&&(t[o]=e[o])}void 0!==e.setLineDash&&(t.setLineDash(e.getLineDash()),t.lineDashOffset=e.lineDashOffset)}function l(e){e.strokeStyle="#000000",e.fillStyle="#000000",e.fillRule="nonzero",e.globalAlpha=1,e.lineWidth=1,e.lineCap="butt",e.lineJoin="miter",e.miterLimit=10,e.globalCompositeOperation="source-over",e.font="10px sans-serif",void 0!==e.setLineDash&&(e.setLineDash([]),e.lineDashOffset=0)}function u(e,t,n,r){for(var a=e.length,o=3;o<a;o+=4){var i=e[o];if(0===i)e[o-3]=t,e[o-2]=n,e[o-1]=r;else if(i<255){var s=255-i;e[o-3]=e[o-3]*i+t*s>>8,e[o-2]=e[o-2]*i+n*s>>8,e[o-1]=e[o-1]*i+r*s>>8}}}function d(e,t,n){for(var r=e.length,a=3;a<r;a+=4){var o=n?n[e[a]]:e[a];t[a]=t[a]*o*.00392156862745098|0}}function f(e,t,n){for(var r=e.length,a=3;a<r;a+=4){var o=77*e[a-3]+152*e[a-2]+28*e[a-1];t[a]=n?t[a]*n[o>>8]>>8:t[a]*o>>16}}function g(e,t,n){var r=t.canvas,a=t.context;e.setTransform(t.scaleX,0,0,t.scaleY,t.offsetX,t.offsetY),function(e,t,n,r,a,o,i){var s,l=!!o,c=l?o[0]:0,h=l?o[1]:0,p=l?o[2]:0;s="Luminosity"===a?f:d;for(var m=Math.min(r,Math.ceil(1048576/n)),v=0;v<r;v+=m){var b=Math.min(m,r-v),g=e.getImageData(0,v,n,b),y=t.getImageData(0,v,n,b);l&&u(g.data,c,h,p),s(g.data,y.data,i),e.putImageData(y,0,v)}}(a,n,r.width,r.height,t.subtype,t.backdrop,t.transferMap),e.drawImage(r,0,0)}var y=["butt","round","square"],O=["miter","round","bevel"],w={},_={},j=function(){function u(e,t,n,r,a,o){s(this,u),this.ctx=e,this.current=new b,this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=t,this.objs=n,this.canvasFactory=r,this.imageLayer=a,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.contentVisible=!0,this.markedContentStack=[],this.optionalContentConfig=o,this.cachedCanvases=new v(this.canvasFactory),e&&m(e),this._cachedGetSinglePixelWidth=null}return c(u,[{key:"beginDrawing",value:function(e){var t=e.transform,n=e.viewport,r=e.transparency,a=void 0!==r&&r,o=e.background,i=void 0===o?null:o,s=this.ctx.canvas.width,c=this.ctx.canvas.height;if(this.ctx.save(),this.ctx.fillStyle=i||"rgb(255, 255, 255)",this.ctx.fillRect(0,0,s,c),this.ctx.restore(),a){var u=this.cachedCanvases.getCanvas("transparent",s,c,!0);this.compositeCtx=this.ctx,this.transparentCanvas=u.canvas,this.ctx=u.context,this.ctx.save(),this.ctx.transform.apply(this.ctx,this.compositeCtx.mozCurrentTransform)}this.ctx.save(),l(this.ctx),t&&this.ctx.transform.apply(this.ctx,t),this.ctx.transform.apply(this.ctx,n.transform),this.baseTransform=this.ctx.mozCurrentTransform.slice(),this._combinedScaleFactor=Math.hypot(this.baseTransform[0],this.baseTransform[2]),this.imageLayer&&this.imageLayer.beginLayout()}},{key:"executeOperatorList",value:function(e,t,n,a){var o=e.argsArray,s=e.fnArray,l=t||0,c=o.length;if(c===l)return l;for(var u,d=c-l>10&&"function"==typeof n,f=d?Date.now()+15:0,h=0,p=this.commonObjs,m=this.objs;;){if(void 0!==a&&l===a.nextBreakPoint)return a.breakIt(l,n),l;if((u=s[l])!==r.OPS.dependency)this[u].apply(this,o[l]);else{var v,b=i(o[l]);try{for(b.s();!(v=b.n()).done;){var g=v.value,y=g.startsWith("g_")?p:m;if(!y.has(g))return y.get(g,n),l}}catch(e){b.e(e)}finally{b.f()}}if(++l===c)return l;if(d&&++h>10){if(Date.now()>f)return n(),l;h=0}}}},{key:"endDrawing",value:function(){for(;this.stateStack.length||null!==this.current.activeSMask;)this.restore();this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null),this.cachedCanvases.clear(),this.imageLayer&&this.imageLayer.endLayout()}},{key:"setLineWidth",value:function(e){this.current.lineWidth=e,this.ctx.lineWidth=e}},{key:"setLineCap",value:function(e){this.ctx.lineCap=y[e]}},{key:"setLineJoin",value:function(e){this.ctx.lineJoin=O[e]}},{key:"setMiterLimit",value:function(e){this.ctx.miterLimit=e}},{key:"setDash",value:function(e,t){var n=this.ctx;void 0!==n.setLineDash&&(n.setLineDash(e),n.lineDashOffset=t)}},{key:"setRenderingIntent",value:function(e){}},{key:"setFlatness",value:function(e){}},{key:"setGState",value:function(e){for(var t=0,n=e.length;t<n;t++){var r=e[t],a=r[0],o=r[1];switch(a){case"LW":this.setLineWidth(o);break;case"LC":this.setLineCap(o);break;case"LJ":this.setLineJoin(o);break;case"ML":this.setMiterLimit(o);break;case"D":this.setDash(o[0],o[1]);break;case"RI":this.setRenderingIntent(o);break;case"FL":this.setFlatness(o);break;case"Font":this.setFont(o[0],o[1]);break;case"CA":this.current.strokeAlpha=r[1];break;case"ca":this.current.fillAlpha=r[1],this.ctx.globalAlpha=r[1];break;case"BM":this.ctx.globalCompositeOperation=o;break;case"SMask":this.current.activeSMask&&(this.stateStack.length>0&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask?this.suspendSMaskGroup():this.endSMaskGroup()),this.current.activeSMask=o?this.tempSMask:null,this.current.activeSMask&&this.beginSMaskGroup(),this.tempSMask=null;break;case"TR":this.current.transferMaps=o}}}},{key:"beginSMaskGroup",value:function(){var e=this.current.activeSMask,t=e.canvas.width,r=e.canvas.height,a="smaskGroupAt"+this.groupLevel,o=this.cachedCanvases.getCanvas(a,t,r,!0),i=this.ctx,s=i.mozCurrentTransform;this.ctx.save();var l=o.context;l.scale(1/e.scaleX,1/e.scaleY),l.translate(-e.offsetX,-e.offsetY),l.transform.apply(l,s),e.startTransformInverse=l.mozCurrentTransformInverse,n(i,l),this.ctx=l,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(i),this.groupLevel++}},{key:"suspendSMaskGroup",value:function(){var e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),g(this.ctx,this.current.activeSMask,e),this.ctx.restore(),this.ctx.save(),n(e,this.ctx),this.current.resumeSMaskCtx=e;var t=r.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t),e.save(),e.setTransform(1,0,0,1,0,0),e.clearRect(0,0,e.canvas.width,e.canvas.height),e.restore()}},{key:"resumeSMaskGroup",value:function(){var e=this.current.resumeSMaskCtx,t=this.ctx;this.ctx=e,this.groupStack.push(t),this.groupLevel++}},{key:"endSMaskGroup",value:function(){var e=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),g(this.ctx,this.current.activeSMask,e),this.ctx.restore(),n(e,this.ctx);var t=r.Util.transform(this.current.activeSMask.startTransformInverse,e.mozCurrentTransform);this.ctx.transform.apply(this.ctx,t)}},{key:"save",value:function(){this.ctx.save();var e=this.current;this.stateStack.push(e),this.current=e.clone(),this.current.resumeSMaskCtx=null}},{key:"restore",value:function(){this.current.resumeSMaskCtx&&this.resumeSMaskGroup(),null===this.current.activeSMask||0!==this.stateStack.length&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask||this.endSMaskGroup(),0!==this.stateStack.length?(this.current=this.stateStack.pop(),this.ctx.restore(),this.pendingClip=null,this._cachedGetSinglePixelWidth=null):this.current.activeSMask=null}},{key:"transform",value:function(e,t,n,r,a,o){this.ctx.transform(e,t,n,r,a,o),this._cachedGetSinglePixelWidth=null}},{key:"constructPath",value:function(e,t){for(var n=this.ctx,a=this.current,o=a.x,i=a.y,s=0,l=0,c=e.length;s<c;s++)switch(0|e[s]){case r.OPS.rectangle:o=t[l++],i=t[l++];var u=t[l++],d=t[l++],f=o+u,h=i+d;n.moveTo(o,i),0===u||0===d?n.lineTo(f,h):(n.lineTo(f,i),n.lineTo(f,h),n.lineTo(o,h)),n.closePath();break;case r.OPS.moveTo:o=t[l++],i=t[l++],n.moveTo(o,i);break;case r.OPS.lineTo:o=t[l++],i=t[l++],n.lineTo(o,i);break;case r.OPS.curveTo:o=t[l+4],i=t[l+5],n.bezierCurveTo(t[l],t[l+1],t[l+2],t[l+3],o,i),l+=6;break;case r.OPS.curveTo2:n.bezierCurveTo(o,i,t[l],t[l+1],t[l+2],t[l+3]),o=t[l+2],i=t[l+3],l+=4;break;case r.OPS.curveTo3:o=t[l+2],i=t[l+3],n.bezierCurveTo(t[l],t[l+1],o,i,o,i),l+=4;break;case r.OPS.closePath:n.closePath()}a.setCurrentPoint(o,i)}},{key:"closePath",value:function(){this.ctx.closePath()}},{key:"stroke",value:function(e){e=void 0===e||e;var t=this.ctx,n=this.current.strokeColor;if(t.globalAlpha=this.current.strokeAlpha,this.contentVisible)if("object"===o(n)&&null!=n&&n.getPattern){var r=this.getSinglePixelWidth();t.save(),t.strokeStyle=n.getPattern(t,this),t.lineWidth=Math.max(r,this.current.lineWidth),t.stroke(),t.restore()}else{var a=this.getSinglePixelWidth();a<0&&-a>=this.current.lineWidth?(t.save(),t.resetTransform(),t.lineWidth=Math.round(this._combinedScaleFactor),t.stroke(),t.restore()):(t.lineWidth=Math.max(a,this.current.lineWidth),t.stroke())}e&&this.consumePath(),t.globalAlpha=this.current.fillAlpha}},{key:"closeStroke",value:function(){this.closePath(),this.stroke()}},{key:"fill",value:function(e){e=void 0===e||e;var t=this.ctx,n=this.current.fillColor,r=!1;this.current.patternFill&&(t.save(),t.fillStyle=n.getPattern(t,this),r=!0),this.contentVisible&&(this.pendingEOFill?(t.fill("evenodd"),this.pendingEOFill=!1):t.fill()),r&&t.restore(),e&&this.consumePath()}},{key:"eoFill",value:function(){this.pendingEOFill=!0,this.fill()}},{key:"fillStroke",value:function(){this.fill(!1),this.stroke(!1),this.consumePath()}},{key:"eoFillStroke",value:function(){this.pendingEOFill=!0,this.fillStroke()}},{key:"closeFillStroke",value:function(){this.closePath(),this.fillStroke()}},{key:"closeEOFillStroke",value:function(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()}},{key:"endPath",value:function(){this.consumePath()}},{key:"clip",value:function(){this.pendingClip=w}},{key:"eoClip",value:function(){this.pendingClip=_}},{key:"beginText",value:function(){this.current.textMatrix=r.IDENTITY_MATRIX,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}},{key:"endText",value:function(){var e=this.pendingTextPaths,t=this.ctx;if(void 0!==e){t.save(),t.beginPath();for(var n=0;n<e.length;n++){var r=e[n];t.setTransform.apply(t,r.transform),t.translate(r.x,r.y),r.addToPath(t,r.fontSize)}t.restore(),t.clip(),t.beginPath(),delete this.pendingTextPaths}else t.beginPath()}},{key:"setCharSpacing",value:function(e){this.current.charSpacing=e}},{key:"setWordSpacing",value:function(e){this.current.wordSpacing=e}},{key:"setHScale",value:function(e){this.current.textHScale=e/100}},{key:"setLeading",value:function(e){this.current.leading=-e}},{key:"setFont",value:function(e,t){var n=this.commonObjs.get(e),a=this.current;if(!n)throw new Error("Can't find font for ".concat(e));if(a.fontMatrix=n.fontMatrix||r.FONT_IDENTITY_MATRIX,0!==a.fontMatrix[0]&&0!==a.fontMatrix[3]||(0,r.warn)("Invalid font matrix for font "+e),t<0?(t=-t,a.fontDirection=-1):a.fontDirection=1,this.current.font=n,this.current.fontSize=t,!n.isType3Font){var o=n.loadedName||"sans-serif",i="normal";n.black?i="900":n.bold&&(i="bold");var s=n.italic?"italic":"normal",l='"'.concat(o,'", ').concat(n.fallbackName),c=t;t<16?c=16:t>100&&(c=100),this.current.fontSizeScale=t/c,this.ctx.font="".concat(s," ").concat(i," ").concat(c,"px ").concat(l)}}},{key:"setTextRenderingMode",value:function(e){this.current.textRenderingMode=e}},{key:"setTextRise",value:function(e){this.current.textRise=e}},{key:"moveText",value:function(e,t){this.current.x=this.current.lineX+=e,this.current.y=this.current.lineY+=t}},{key:"setLeadingMoveText",value:function(e,t){this.setLeading(-t),this.moveText(e,t)}},{key:"setTextMatrix",value:function(e,t,n,r,a,o){this.current.textMatrix=[e,t,n,r,a,o],this.current.textMatrixScale=Math.hypot(e,t),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}},{key:"nextLine",value:function(){this.moveText(0,this.current.leading)}},{key:"paintChar",value:function(e,t,n,a,o){var i,s=this.ctx,l=this.current,c=l.font,u=l.textRenderingMode,d=l.fontSize/l.fontSizeScale,f=u&r.TextRenderingMode.FILL_STROKE_MASK,h=!!(u&r.TextRenderingMode.ADD_TO_PATH_FLAG),p=l.patternFill&&!c.missingFile;(c.disableFontFace||h||p)&&(i=c.getPathGenerator(this.commonObjs,e)),c.disableFontFace||p?(s.save(),s.translate(t,n),s.beginPath(),i(s,d),a&&s.setTransform.apply(s,a),f!==r.TextRenderingMode.FILL&&f!==r.TextRenderingMode.FILL_STROKE||s.fill(),f!==r.TextRenderingMode.STROKE&&f!==r.TextRenderingMode.FILL_STROKE||(o&&(s.resetTransform(),s.lineWidth=Math.round(this._combinedScaleFactor)),s.stroke()),s.restore()):(f!==r.TextRenderingMode.FILL&&f!==r.TextRenderingMode.FILL_STROKE||s.fillText(e,t,n),f!==r.TextRenderingMode.STROKE&&f!==r.TextRenderingMode.FILL_STROKE||(o?(s.save(),s.moveTo(t,n),s.resetTransform(),s.lineWidth=Math.round(this._combinedScaleFactor),s.strokeText(e,0,0),s.restore()):s.strokeText(e,t,n))),h&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:s.mozCurrentTransform,x:t,y:n,fontSize:d,addToPath:i})}},{key:"isFontSubpixelAAEnabled",get:function(){var e=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10).context;e.scale(1.5,1),e.fillText("I",0,10);for(var t=e.getImageData(0,0,10,10).data,n=!1,a=3;a<t.length;a+=4)if(t[a]>0&&t[a]<255){n=!0;break}return(0,r.shadow)(this,"isFontSubpixelAAEnabled",n)}},{key:"showText",value:function(e){var t=this.current,n=t.font;if(n.isType3Font)return this.showType3Text(e);var a=t.fontSize;if(0!==a){var o,i=this.ctx,s=t.fontSizeScale,l=t.charSpacing,c=t.wordSpacing,u=t.fontDirection,d=t.textHScale*u,f=e.length,h=n.vertical,p=h?1:-1,m=n.defaultVMetrics,v=a*t.fontMatrix[0],b=t.textRenderingMode===r.TextRenderingMode.FILL&&!n.disableFontFace&&!t.patternFill;if(i.save(),t.patternFill){i.save();var g=t.fillColor.getPattern(i,this);o=i.mozCurrentTransform,i.restore(),i.fillStyle=g}i.transform.apply(i,t.textMatrix),i.translate(t.x,t.y+t.textRise),u>0?i.scale(d,-1):i.scale(d,1);var y=t.lineWidth,O=!1,w=t.textMatrixScale;if(0===w||0===y){var _=t.textRenderingMode&r.TextRenderingMode.FILL_STROKE_MASK;_!==r.TextRenderingMode.STROKE&&_!==r.TextRenderingMode.FILL_STROKE||(this._cachedGetSinglePixelWidth=null,O=(y=this.getSinglePixelWidth())<0)}else y/=w;1!==s&&(i.scale(s,s),y/=s),i.lineWidth=y;var j,k=0;for(j=0;j<f;++j){var x=e[j];if((0,r.isNum)(x))k+=p*x*a/1e3;else{var S=!1,C=(x.isSpace?c:0)+l,M=x.fontChar,A=x.accent,T=void 0,E=void 0,L=x.width;if(h){var P=x.vmetric||m,D=-(x.vmetric?P[1]:.5*L)*v,N=P[2]*v;L=P?-P[0]:L,T=D/s,E=(k+N)/s}else T=k/s,E=0;if(n.remeasure&&L>0){var R=1e3*i.measureText(M).width/a*s;if(L<R&&this.isFontSubpixelAAEnabled){var I=L/R;S=!0,i.save(),i.scale(I,1),T/=I}else L!==R&&(T+=(L-R)/2e3*a/s)}if(this.contentVisible&&(x.isInFont||n.missingFile))if(b&&!A)i.fillText(M,T,E);else if(this.paintChar(M,T,E,o,O),A){var B=T+a*A.offset.x/s,F=E-a*A.offset.y/s;this.paintChar(A.fontChar,B,F,o,O)}k+=h?L*v-C*u:L*v+C*u,S&&i.restore()}}h?t.y-=k:t.x+=k*d,i.restore()}}},{key:"showType3Text",value:function(e){var t,n,a,o,i=this.ctx,s=this.current,l=s.font,c=s.fontSize,u=s.fontDirection,d=l.vertical?1:-1,f=s.charSpacing,h=s.wordSpacing,p=s.textHScale*u,m=s.fontMatrix||r.FONT_IDENTITY_MATRIX,v=e.length;if(s.textRenderingMode!==r.TextRenderingMode.INVISIBLE&&0!==c){for(this._cachedGetSinglePixelWidth=null,i.save(),i.transform.apply(i,s.textMatrix),i.translate(s.x,s.y),i.scale(p,u),t=0;t<v;++t)if(n=e[t],(0,r.isNum)(n))o=d*n*c/1e3,this.ctx.translate(o,0),s.x+=o*p;else{var b=(n.isSpace?h:0)+f,g=l.charProcOperatorList[n.operatorListId];g?(this.contentVisible&&(this.processingType3=n,this.save(),i.scale(c,c),i.transform.apply(i,m),this.executeOperatorList(g),this.restore()),a=r.Util.applyTransform([n.width,0],m)[0]*c+b,i.translate(a,0),s.x+=a*p):(0,r.warn)('Type3 character "'.concat(n.operatorListId,'" is not available.'))}i.restore(),this.processingType3=null}}},{key:"setCharWidth",value:function(e,t){}},{key:"setCharWidthAndBounds",value:function(e,t,n,r,a,o){this.ctx.rect(n,r,a-n,o-r),this.clip(),this.endPath()}},{key:"getColorN_Pattern",value:function(e){var t,n=this;if("TilingPattern"===e[0]){var r=e[1],o=this.baseTransform||this.ctx.mozCurrentTransform.slice(),i={createCanvasGraphics:function(e){return new u(e,n.commonObjs,n.objs,n.canvasFactory)}};t=new a.TilingPattern(e,r,this.ctx,i,o)}else t=(0,a.getShadingPattern)(e);return t}},{key:"setStrokeColorN",value:function(){this.current.strokeColor=this.getColorN_Pattern(arguments)}},{key:"setFillColorN",value:function(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}},{key:"setStrokeRGBColor",value:function(e,t,n){var a=r.Util.makeHexColor(e,t,n);this.ctx.strokeStyle=a,this.current.strokeColor=a}},{key:"setFillRGBColor",value:function(e,t,n){var a=r.Util.makeHexColor(e,t,n);this.ctx.fillStyle=a,this.current.fillColor=a,this.current.patternFill=!1}},{key:"shadingFill",value:function(e){if(this.contentVisible){var t=this.ctx;this.save();var n=(0,a.getShadingPattern)(e);t.fillStyle=n.getPattern(t,this,!0);var o=t.mozCurrentTransformInverse;if(o){var i=t.canvas,s=i.width,l=i.height,c=r.Util.applyTransform([0,0],o),u=r.Util.applyTransform([0,l],o),d=r.Util.applyTransform([s,0],o),f=r.Util.applyTransform([s,l],o),h=Math.min(c[0],u[0],d[0],f[0]),p=Math.min(c[1],u[1],d[1],f[1]),m=Math.max(c[0],u[0],d[0],f[0]),v=Math.max(c[1],u[1],d[1],f[1]);this.ctx.fillRect(h,p,m-h,v-p)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.restore()}}},{key:"beginInlineImage",value:function(){(0,r.unreachable)("Should not call beginInlineImage")}},{key:"beginImageData",value:function(){(0,r.unreachable)("Should not call beginImageData")}},{key:"paintFormXObjectBegin",value:function(e,t){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(e)&&6===e.length&&this.transform.apply(this,e),this.baseTransform=this.ctx.mozCurrentTransform,t)){var n=t[2]-t[0],r=t[3]-t[1];this.ctx.rect(t[0],t[1],n,r),this.clip(),this.endPath()}}},{key:"paintFormXObjectEnd",value:function(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}},{key:"beginGroup",value:function(e){if(this.contentVisible){this.save();var t=this.ctx;e.isolated||(0,r.info)("TODO: Support non-isolated groups."),e.knockout&&(0,r.warn)("Knockout groups not supported.");var a=t.mozCurrentTransform;if(e.matrix&&t.transform.apply(t,e.matrix),!e.bbox)throw new Error("Bounding box is required.");var o=r.Util.getAxialAlignedBoundingBox(e.bbox,t.mozCurrentTransform),i=[0,0,t.canvas.width,t.canvas.height];o=r.Util.intersect(o,i)||[0,0,0,0];var s=Math.floor(o[0]),l=Math.floor(o[1]),c=Math.max(Math.ceil(o[2])-s,1),u=Math.max(Math.ceil(o[3])-l,1),d=1,f=1;c>h&&(d=c/h,c=h),u>h&&(f=u/h,u=h);var p="groupAt"+this.groupLevel;e.smask&&(p+="_smask_"+this.smaskCounter++%2);var m=this.cachedCanvases.getCanvas(p,c,u,!0),v=m.context;v.scale(1/d,1/f),v.translate(-s,-l),v.transform.apply(v,a),e.smask?this.smaskStack.push({canvas:m.canvas,context:v,offsetX:s,offsetY:l,scaleX:d,scaleY:f,subtype:e.smask.subtype,backdrop:e.smask.backdrop,transferMap:e.smask.transferMap||null,startTransformInverse:null}):(t.setTransform(1,0,0,1,0,0),t.translate(s,l),t.scale(d,f)),n(t,v),this.ctx=v,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(t),this.groupLevel++,this.current.activeSMask=null}}},{key:"endGroup",value:function(e){if(this.contentVisible){this.groupLevel--;var t=this.ctx;this.ctx=this.groupStack.pop(),void 0!==this.ctx.imageSmoothingEnabled?this.ctx.imageSmoothingEnabled=!1:this.ctx.mozImageSmoothingEnabled=!1,e.smask?this.tempSMask=this.smaskStack.pop():this.ctx.drawImage(t.canvas,0,0),this.restore()}}},{key:"beginAnnotations",value:function(){this.save(),this.baseTransform&&this.ctx.setTransform.apply(this.ctx,this.baseTransform)}},{key:"endAnnotations",value:function(){this.restore()}},{key:"beginAnnotation",value:function(e,t,n){if(this.save(),l(this.ctx),this.current=new b,Array.isArray(e)&&4===e.length){var r=e[2]-e[0],a=e[3]-e[1];this.ctx.rect(e[0],e[1],r,a),this.clip(),this.endPath()}this.transform.apply(this,t),this.transform.apply(this,n)}},{key:"endAnnotation",value:function(){this.restore()}},{key:"paintImageMaskXObject",value:function(e){if(this.contentVisible){var n=this.ctx,r=e.width,a=e.height,o=this.current.fillColor,i=this.current.patternFill,s=this.processingType3;if(s&&void 0===s.compiled&&(s.compiled=r<=1e3&&a<=1e3?function(e){var t,n,r,a,o=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),i=e.width,s=e.height,l=i+1,c=new Uint8Array(l*(s+1)),u=i+7&-8,d=e.data,f=new Uint8Array(u*s),h=0;for(t=0,n=d.length;t<n;t++)for(var p=d[t],m=128;m>0;)f[h++]=p&m?0:255,m>>=1;var v=0;for(0!==f[h=0]&&(c[0]=1,++v),r=1;r<i;r++)f[h]!==f[h+1]&&(c[r]=f[h]?2:1,++v),h++;for(0!==f[h]&&(c[r]=2,++v),t=1;t<s;t++){a=t*l,f[(h=t*u)-u]!==f[h]&&(c[a]=f[h]?1:8,++v);var b=(f[h]?4:0)+(f[h-u]?8:0);for(r=1;r<i;r++)o[b=(b>>2)+(f[h+1]?4:0)+(f[h-u+1]?8:0)]&&(c[a+r]=o[b],++v),h++;if(f[h-u]!==f[h]&&(c[a+r]=f[h]?2:4,++v),v>1e3)return null}for(a=t*l,0!==f[h=u*(s-1)]&&(c[a]=8,++v),r=1;r<i;r++)f[h]!==f[h+1]&&(c[a+r]=f[h]?4:8,++v),h++;if(0!==f[h]&&(c[a+r]=4,++v),v>1e3)return null;var g=new Int32Array([0,l,-1,0,-l,0,0,0,1]),y=[];for(t=0;v&&t<=s;t++){for(var O=t*l,w=O+i;O<w&&!c[O];)O++;if(O!==w){var _=[O%l,t],j=O,k=c[O];do{var x=g[k];do{O+=x}while(!c[O]);var S=c[O];5!==S&&10!==S?(k=S,c[O]=0):(k=S&51*k>>4,c[O]&=k>>2|k<<2),_.push(O%l,O/l|0),c[O]||--v}while(j!==O);y.push(_),--t}}return function(e){e.save(),e.scale(1/i,-1/s),e.translate(0,-s),e.beginPath();for(var t=0,n=y.length;t<n;t++){var r=y[t];e.moveTo(r[0],r[1]);for(var a=2,o=r.length;a<o;a+=2)e.lineTo(r[a],r[a+1])}e.fill(),e.beginPath(),e.restore()}}({data:e.data,width:r,height:a}):null),null!=s&&s.compiled)s.compiled(n);else{var l=this.cachedCanvases.getCanvas("maskCanvas",r,a),c=l.context;c.save(),t(c,e),c.globalCompositeOperation="source-in",c.fillStyle=i?o.getPattern(c,this):o,c.fillRect(0,0,r,a),c.restore(),this.paintInlineImageXObject(l.canvas)}}}},{key:"paintImageMaskXObjectRepeat",value:function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0;if(this.contentVisible){var s=e.width,l=e.height,c=this.current.fillColor,u=this.current.patternFill,d=this.cachedCanvases.getCanvas("maskCanvas",s,l),f=d.context;f.save(),t(f,e),f.globalCompositeOperation="source-in",f.fillStyle=u?c.getPattern(f,this):c,f.fillRect(0,0,s,l),f.restore();for(var h=this.ctx,p=0,m=i.length;p<m;p+=2)h.save(),h.transform(n,r,a,o,i[p],i[p+1]),h.scale(1,-1),h.drawImage(d.canvas,0,0,s,l,0,-1,1,1),h.restore()}}},{key:"paintImageMaskXObjectGroup",value:function(e){if(this.contentVisible)for(var n=this.ctx,r=this.current.fillColor,a=this.current.patternFill,o=0,i=e.length;o<i;o++){var s=e[o],l=s.width,c=s.height,u=this.cachedCanvases.getCanvas("maskCanvas",l,c),d=u.context;d.save(),t(d,s),d.globalCompositeOperation="source-in",d.fillStyle=a?r.getPattern(d,this):r,d.fillRect(0,0,l,c),d.restore(),n.save(),n.transform.apply(n,s.transform),n.scale(1,-1),n.drawImage(u.canvas,0,0,l,c,0,-1,1,1),n.restore()}}},{key:"paintImageXObject",value:function(e){if(this.contentVisible){var t=e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e);t?this.paintInlineImageXObject(t):(0,r.warn)("Dependent image isn't ready yet")}}},{key:"paintImageXObjectRepeat",value:function(e,t,n,a){if(this.contentVisible){var o=e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e);if(o){for(var i=o.width,s=o.height,l=[],c=0,u=a.length;c<u;c+=2)l.push({transform:[t,0,0,n,a[c],a[c+1]],x:0,y:0,w:i,h:s});this.paintInlineImageXObjectGroup(o,l)}else(0,r.warn)("Dependent image isn't ready yet")}}},{key:"paintInlineImageXObject",value:function(t){if(this.contentVisible){var n=t.width,r=t.height,a=this.ctx;this.save(),a.scale(1/n,-1/r);var o,i,s,l=a.mozCurrentTransformInverse,c=Math.max(Math.hypot(l[0],l[1]),1),u=Math.max(Math.hypot(l[2],l[3]),1);"function"==typeof HTMLElement&&t instanceof HTMLElement||!t.data?o=t:(e(s=(i=this.cachedCanvases.getCanvas("inlineImage",n,r)).context,t,this.current.transferMaps),o=i.canvas);for(var d=n,f=r,h="prescale1";c>2&&d>1||u>2&&f>1;){var p=d,m=f;c>2&&d>1&&(c/=d/(p=Math.ceil(d/2))),u>2&&f>1&&(u/=f/(m=Math.ceil(f/2))),(s=(i=this.cachedCanvases.getCanvas(h,p,m)).context).clearRect(0,0,p,m),s.drawImage(o,0,0,d,f,0,0,p,m),o=i.canvas,d=p,f=m,h="prescale1"===h?"prescale2":"prescale1"}if(a.drawImage(o,0,0,d,f,0,-r,n,r),this.imageLayer){var v=this.getCanvasPosition(0,-r);this.imageLayer.appendImage({imgData:t,left:v[0],top:v[1],width:n/l[0],height:r/l[3]})}this.restore()}}},{key:"paintInlineImageXObjectGroup",value:function(t,n){if(this.contentVisible){var r=this.ctx,a=t.width,o=t.height,i=this.cachedCanvases.getCanvas("inlineImage",a,o);e(i.context,t,this.current.transferMaps);for(var s=0,l=n.length;s<l;s++){var c=n[s];if(r.save(),r.transform.apply(r,c.transform),r.scale(1,-1),r.drawImage(i.canvas,c.x,c.y,c.w,c.h,0,-1,1,1),this.imageLayer){var u=this.getCanvasPosition(c.x,c.y);this.imageLayer.appendImage({imgData:t,left:u[0],top:u[1],width:a,height:o})}r.restore()}}}},{key:"paintSolidColorImageMask",value:function(){this.contentVisible&&this.ctx.fillRect(0,0,1,1)}},{key:"markPoint",value:function(e){}},{key:"markPointProps",value:function(e,t){}},{key:"beginMarkedContent",value:function(e){this.markedContentStack.push({visible:!0})}},{key:"beginMarkedContentProps",value:function(e,t){"OC"===e?this.markedContentStack.push({visible:this.optionalContentConfig.isVisible(t)}):this.markedContentStack.push({visible:!0}),this.contentVisible=this.isContentVisible()}},{key:"endMarkedContent",value:function(){this.markedContentStack.pop(),this.contentVisible=this.isContentVisible()}},{key:"beginCompat",value:function(){}},{key:"endCompat",value:function(){}},{key:"consumePath",value:function(){var e=this.ctx;this.pendingClip&&(this.pendingClip===_?e.clip("evenodd"):e.clip(),this.pendingClip=null),e.beginPath()}},{key:"getSinglePixelWidth",value:function(){if(null===this._cachedGetSinglePixelWidth){var e=this.ctx.mozCurrentTransform,t=Math.abs(e[0]*e[3]-e[2]*e[1]),n=Math.pow(e[0],2)+Math.pow(e[2],2),r=Math.pow(e[1],2)+Math.pow(e[3],2),a=Math.sqrt(Math.max(n,r))/t;n!==r&&this._combinedScaleFactor*a>1?this._cachedGetSinglePixelWidth=-this._combinedScaleFactor*a:t>Number.EPSILON?this._cachedGetSinglePixelWidth=a:this._cachedGetSinglePixelWidth=1}return this._cachedGetSinglePixelWidth}},{key:"getCanvasPosition",value:function(e,t){var n=this.ctx.mozCurrentTransform;return[n[0]*e+n[2]*t+n[4],n[1]*e+n[3]*t+n[5]]}},{key:"isContentVisible",value:function(){for(var e=this.markedContentStack.length-1;e>=0;e--)if(!this.markedContentStack[e].visible)return!1;return!0}}]),u}();for(var k in r.OPS)j.prototype[r.OPS[k]]=j.prototype[k];return j}();t.CanvasGraphics=g},(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.getShadingPattern=function(e){switch(e[0]){case"RadialAxial":return new y(e);case"Mesh":return new _(e);case"Dummy":return new j}throw new Error("Unknown IR type: ".concat(e[0]))},t.TilingPattern=void 0;var a,o=n(4);function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw o}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function u(e){var t=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(e){return!1}}();return function(){var n,r=f(e);if(t){var a=f(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),e}function v(e){return"undefined"!=typeof DOMMatrix?new DOMMatrix(e):(a||(a=document.createElementNS("http://www.w3.org/2000/svg","svg")),a.createSVGMatrix(e))}function b(e,t){if(t&&"undefined"!=typeof Path2D){var n=t[2]-t[0],r=t[3]-t[1],a=new Path2D;a.rect(t[0],t[1],n,r),e.clip(a)}}var g=function(){function e(){h(this,e),this.constructor===e&&(0,o.unreachable)("Cannot initialize BaseShadingPattern.")}return m(e,[{key:"getPattern",value:function(){(0,o.unreachable)("Abstract method `getPattern` called.")}}]),e}(),y=function(e){l(n,e);var t=u(n);function n(e){var r;return h(this,n),(r=t.call(this))._type=e[1],r._bbox=e[2],r._colorStops=e[3],r._p0=e[4],r._p1=e[5],r._r0=e[6],r._r1=e[7],r._matrix=e[8],r}return m(n,[{key:"getPattern",value:function(e,t,n){var r,a=t.cachedCanvases.getCanvas("pattern",e.canvas.width,e.canvas.height,!0),o=a.context;o.clearRect(0,0,o.canvas.width,o.canvas.height),o.beginPath(),o.rect(0,0,o.canvas.width,o.canvas.height),n?o.setTransform.apply(o,e.mozCurrentTransform):(o.setTransform.apply(o,t.baseTransform),this._matrix&&o.transform.apply(o,this._matrix)),b(o,this._bbox),"axial"===this._type?r=o.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):"radial"===this._type&&(r=o.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));var s,l=i(this._colorStops);try{for(l.s();!(s=l.n()).done;){var c=s.value;r.addColorStop(c[0],c[1])}}catch(e){l.e(e)}finally{l.f()}o.fillStyle=r,o.fill();var u=e.createPattern(a.canvas,"repeat");return u.setTransform(v(e.mozCurrentTransformInverse)),u}}]),n}(g);function O(e,t,n,r,a,o,i,s){var l,c=t.coords,u=t.colors,d=e.data,f=4*e.width;c[n+1]>c[r+1]&&(l=n,n=r,r=l,l=o,o=i,i=l),c[r+1]>c[a+1]&&(l=r,r=a,a=l,l=i,i=s,s=l),c[n+1]>c[r+1]&&(l=n,n=r,r=l,l=o,o=i,i=l);var h=(c[n]+t.offsetX)*t.scaleX,p=(c[n+1]+t.offsetY)*t.scaleY,m=(c[r]+t.offsetX)*t.scaleX,v=(c[r+1]+t.offsetY)*t.scaleY,b=(c[a]+t.offsetX)*t.scaleX,g=(c[a+1]+t.offsetY)*t.scaleY;if(!(p>=g))for(var y,O,w,_,j,k,x,S,C=u[o],M=u[o+1],A=u[o+2],T=u[i],E=u[i+1],L=u[i+2],P=u[s],D=u[s+1],N=u[s+2],R=Math.round(p),I=Math.round(g),B=R;B<=I;B++){if(B<v){var F=void 0;y=h-(h-m)*(F=B<p?0:p===v?1:(p-B)/(p-v)),O=C-(C-T)*F,w=M-(M-E)*F,_=A-(A-L)*F}else{var V=void 0;y=m-(m-b)*(V=B>g?1:v===g?0:(v-B)/(v-g)),O=T-(T-P)*V,w=E-(E-D)*V,_=L-(L-N)*V}var z=void 0;j=h-(h-b)*(z=B<p?0:B>g?1:(p-B)/(p-g)),k=C-(C-P)*z,x=M-(M-D)*z,S=A-(A-N)*z;for(var H=Math.round(Math.min(y,j)),Y=Math.round(Math.max(y,j)),U=f*B+4*H,W=H;W<=Y;W++)(z=(y-W)/(y-j))<0?z=0:z>1&&(z=1),d[U++]=O-(O-k)*z|0,d[U++]=w-(w-x)*z|0,d[U++]=_-(_-S)*z|0,d[U++]=255}}function w(e,t,n){var r,a,o=t.coords,i=t.colors;switch(t.type){case"lattice":var s=t.verticesPerRow,l=Math.floor(o.length/s)-1,c=s-1;for(r=0;r<l;r++)for(var u=r*s,d=0;d<c;d++,u++)O(e,n,o[u],o[u+1],o[u+s],i[u],i[u+1],i[u+s]),O(e,n,o[u+s+1],o[u+1],o[u+s],i[u+s+1],i[u+1],i[u+s]);break;case"triangles":for(r=0,a=o.length;r<a;r+=3)O(e,n,o[r],o[r+1],o[r+2],i[r],i[r+1],i[r+2]);break;default:throw new Error("illegal figure")}}var _=function(e){l(n,e);var t=u(n);function n(e){var r;return h(this,n),(r=t.call(this))._coords=e[2],r._colors=e[3],r._figures=e[4],r._bounds=e[5],r._matrix=e[6],r._bbox=e[7],r._background=e[8],r}return m(n,[{key:"_createMeshCanvas",value:function(e,t,n){var r=Math.floor(this._bounds[0]),a=Math.floor(this._bounds[1]),o=Math.ceil(this._bounds[2])-r,s=Math.ceil(this._bounds[3])-a,l=Math.min(Math.ceil(Math.abs(o*e[0]*1.1)),3e3),c=Math.min(Math.ceil(Math.abs(s*e[1]*1.1)),3e3),u=o/l,d=s/c,f={coords:this._coords,colors:this._colors,offsetX:-r,offsetY:-a,scaleX:1/u,scaleY:1/d},h=l+4,p=c+4,m=n.getCanvas("mesh",h,p,!1),v=m.context,b=v.createImageData(l,c);if(t)for(var g=b.data,y=0,O=g.length;y<O;y+=4)g[y]=t[0],g[y+1]=t[1],g[y+2]=t[2],g[y+3]=255;var _,j=i(this._figures);try{for(j.s();!(_=j.n()).done;)w(b,_.value,f)}catch(e){j.e(e)}finally{j.f()}return v.putImageData(b,2,2),{canvas:m.canvas,offsetX:r-2*u,offsetY:a-2*d,scaleX:u,scaleY:d}}},{key:"getPattern",value:function(e,t,n){var r;if(b(e,this._bbox),n)r=o.Util.singularValueDecompose2dScale(e.mozCurrentTransform);else if(r=o.Util.singularValueDecompose2dScale(t.baseTransform),this._matrix){var a=o.Util.singularValueDecompose2dScale(this._matrix);r=[r[0]*a[0],r[1]*a[1]]}var i=this._createMeshCanvas(r,n?null:this._background,t.cachedCanvases);return n||(e.setTransform.apply(e,t.baseTransform),this._matrix&&e.transform.apply(e,this._matrix)),e.translate(i.offsetX,i.offsetY),e.scale(i.scaleX,i.scaleY),e.createPattern(i.canvas,"no-repeat")}}]),n}(g),j=function(e){l(n,e);var t=u(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"getPattern",value:function(){return"hotpink"}}]),n}(g),k=1,x=2,S=function(){function e(t,n,r,a,o){h(this,e),this.operatorList=t[2],this.matrix=t[3]||[1,0,0,1,0,0],this.bbox=t[4],this.xstep=t[5],this.ystep=t[6],this.paintType=t[7],this.tilingType=t[8],this.color=n,this.ctx=r,this.canvasGraphicsFactory=a,this.baseTransform=o}return m(e,[{key:"createPatternCanvas",value:function(e){var t=this.operatorList,n=this.bbox,r=this.xstep,a=this.ystep,i=this.paintType,s=this.tilingType,l=this.color,c=this.canvasGraphicsFactory;(0,o.info)("TilingType: "+s);var u=n[0],d=n[1],f=n[2],h=n[3],p=o.Util.singularValueDecompose2dScale(this.matrix),m=o.Util.singularValueDecompose2dScale(this.baseTransform),v=[p[0]*m[0],p[1]*m[1]],b=this.getSizeAndScale(r,this.ctx.canvas.width,v[0]),g=this.getSizeAndScale(a,this.ctx.canvas.height,v[1]),y=e.cachedCanvases.getCanvas("pattern",b.size,g.size,!0),O=y.context,w=c.createCanvasGraphics(O);return w.groupLevel=e.groupLevel,this.setFillAndStrokeStyleToContext(w,i,l),w.transform(b.scale,0,0,g.scale,0,0),this.clipBbox(w,n,u,d,f,h),w.baseTransform=w.ctx.mozCurrentTransform.slice(),w.executeOperatorList(t),w.endDrawing(),{canvas:y.canvas,scaleX:b.scale,scaleY:g.scale}}},{key:"getSizeAndScale",value:function(t,n,r){t=Math.abs(t);var a=Math.max(e.MAX_PATTERN_SIZE,n),o=Math.ceil(t*r);return o>=a?o=a:r=o/t,{scale:r,size:o}}},{key:"clipBbox",value:function(e,t,n,r,a,o){if(Array.isArray(t)&&4===t.length){var i=a-n,s=o-r;e.ctx.rect(n,r,i,s),e.clip(),e.endPath()}}},{key:"setFillAndStrokeStyleToContext",value:function(e,t,n){var r=e.ctx,a=e.current;switch(t){case k:var i=this.ctx;r.fillStyle=i.fillStyle,r.strokeStyle=i.strokeStyle,a.fillColor=i.fillStyle,a.strokeColor=i.strokeStyle;break;case x:var s=o.Util.makeHexColor(n[0],n[1],n[2]);r.fillStyle=s,r.strokeStyle=s,a.fillColor=s,a.strokeColor=s;break;default:throw new o.FormatError("Unsupported paint type: ".concat(t))}}},{key:"getPattern",value:function(e,t,n){var r=(e=this.ctx).mozCurrentTransformInverse;n||(r=o.Util.transform(r,t.baseTransform),this.matrix&&(r=o.Util.transform(r,this.matrix)));var a=this.createPatternCanvas(t),i=v(r);i=i.scale(1/a.scaleX,1/a.scaleY);var s=e.createPattern(a.canvas,"repeat");return s.setTransform(i),s}}],[{key:"MAX_PATTERN_SIZE",get:function(){return(0,o.shadow)(this,"MAX_PATTERN_SIZE",3e3)}}]),e}();t.TilingPattern=S},(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalWorkerOptions=void 0;var n=Object.create(null);t.GlobalWorkerOptions=n,n.workerPort=void 0===n.workerPort?null:n.workerPort,n.workerSrc=void 0===n.workerSrc?"":n.workerSrc},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessageHandler=void 0;var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(4);function i(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var c=1,u=2,d=1,f=2,h=3,p=4,m=5,v=6,b=7,g=8;function y(e){if("object"!==l(e)||null===e)return e;switch(e.name){case"AbortException":return new o.AbortException(e.message);case"MissingPDFException":return new o.MissingPDFException(e.message);case"UnexpectedResponseException":return new o.UnexpectedResponseException(e.message,e.status);case"UnknownErrorException":return new o.UnknownErrorException(e.message,e.details);default:return new o.UnknownErrorException(e.message,e.toString())}}var O=function(){function e(t,n,r){var a=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sourceName=t,this.targetName=n,this.comObj=r,this.callbackId=1,this.streamId=1,this.postMessageTransfers=!0,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=function(e){var t=e.data;if(t.targetName===a.sourceName)if(t.stream)a._processStreamMessage(t);else if(t.callback){var n=t.callbackId,o=a.callbackCapabilities[n];if(!o)throw new Error("Cannot resolve callback ".concat(n));if(delete a.callbackCapabilities[n],t.callback===c)o.resolve(t.data);else{if(t.callback!==u)throw new Error("Unexpected callback case");o.reject(y(t.reason))}}else{var i=a.actionHandler[t.action];if(!i)throw new Error("Unknown action from worker: ".concat(t.action));if(t.callbackId){var s=a.sourceName,l=t.sourceName;new Promise((function(e){e(i(t.data))})).then((function(e){r.postMessage({sourceName:s,targetName:l,callback:c,callbackId:t.callbackId,data:e})}),(function(e){r.postMessage({sourceName:s,targetName:l,callback:u,callbackId:t.callbackId,reason:y(e)})}))}else t.streamId?a._createStreamSink(t):i(t.data)}},r.addEventListener("message",this._onComObjOnMessage)}var t,n,r,l,O;return t=e,n=[{key:"on",value:function(e,t){var n=this.actionHandler;if(n[e])throw new Error('There is already an actionName called "'.concat(e,'"'));n[e]=t}},{key:"send",value:function(e,t,n){this._postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:t},n)}},{key:"sendWithPromise",value:function(e,t,n){var r=this.callbackId++,a=(0,o.createPromiseCapability)();this.callbackCapabilities[r]=a;try{this._postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:r,data:t},n)}catch(e){a.reject(e)}return a.promise}},{key:"sendWithStream",value:function(e,t,n,r){var a=this,i=this.streamId++,s=this.sourceName,l=this.targetName,c=this.comObj;return new ReadableStream({start:function(n){var c=(0,o.createPromiseCapability)();return a.streamControllers[i]={controller:n,startCall:c,pullCall:null,cancelCall:null,isClosed:!1},a._postMessage({sourceName:s,targetName:l,action:e,streamId:i,data:t,desiredSize:n.desiredSize},r),c.promise},pull:function(e){var t=(0,o.createPromiseCapability)();return a.streamControllers[i].pullCall=t,c.postMessage({sourceName:s,targetName:l,stream:v,streamId:i,desiredSize:e.desiredSize}),t.promise},cancel:function(e){(0,o.assert)(e instanceof Error,"cancel must have a valid reason");var t=(0,o.createPromiseCapability)();return a.streamControllers[i].cancelCall=t,a.streamControllers[i].isClosed=!0,c.postMessage({sourceName:s,targetName:l,stream:d,streamId:i,reason:y(e)}),t.promise}},n)}},{key:"_createStreamSink",value:function(e){var t=this,n=this.actionHandler[e.action],r=e.streamId,a=this.sourceName,i=e.sourceName,s=this.comObj,l={enqueue:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,s=arguments.length>2?arguments[2]:void 0;if(!this.isCancelled){var l=this.desiredSize;this.desiredSize-=n,l>0&&this.desiredSize<=0&&(this.sinkCapability=(0,o.createPromiseCapability)(),this.ready=this.sinkCapability.promise),t._postMessage({sourceName:a,targetName:i,stream:p,streamId:r,chunk:e},s)}},close:function(){this.isCancelled||(this.isCancelled=!0,s.postMessage({sourceName:a,targetName:i,stream:h,streamId:r}),delete t.streamSinks[r])},error:function(e){(0,o.assert)(e instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,s.postMessage({sourceName:a,targetName:i,stream:m,streamId:r,reason:y(e)}))},sinkCapability:(0,o.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};l.sinkCapability.resolve(),l.ready=l.sinkCapability.promise,this.streamSinks[r]=l,new Promise((function(t){t(n(e.data,l))})).then((function(){s.postMessage({sourceName:a,targetName:i,stream:g,streamId:r,success:!0})}),(function(e){s.postMessage({sourceName:a,targetName:i,stream:g,streamId:r,reason:y(e)})}))}},{key:"_processStreamMessage",value:function(e){var t=e.streamId,n=this.sourceName,r=e.sourceName,a=this.comObj;switch(e.stream){case g:e.success?this.streamControllers[t].startCall.resolve():this.streamControllers[t].startCall.reject(y(e.reason));break;case b:e.success?this.streamControllers[t].pullCall.resolve():this.streamControllers[t].pullCall.reject(y(e.reason));break;case v:if(!this.streamSinks[t]){a.postMessage({sourceName:n,targetName:r,stream:b,streamId:t,success:!0});break}this.streamSinks[t].desiredSize<=0&&e.desiredSize>0&&this.streamSinks[t].sinkCapability.resolve(),this.streamSinks[t].desiredSize=e.desiredSize;var i=this.streamSinks[e.streamId].onPull;new Promise((function(e){e(i&&i())})).then((function(){a.postMessage({sourceName:n,targetName:r,stream:b,streamId:t,success:!0})}),(function(e){a.postMessage({sourceName:n,targetName:r,stream:b,streamId:t,reason:y(e)})}));break;case p:if((0,o.assert)(this.streamControllers[t],"enqueue should have stream controller"),this.streamControllers[t].isClosed)break;this.streamControllers[t].controller.enqueue(e.chunk);break;case h:if((0,o.assert)(this.streamControllers[t],"close should have stream controller"),this.streamControllers[t].isClosed)break;this.streamControllers[t].isClosed=!0,this.streamControllers[t].controller.close(),this._deleteStreamController(t);break;case m:(0,o.assert)(this.streamControllers[t],"error should have stream controller"),this.streamControllers[t].controller.error(y(e.reason)),this._deleteStreamController(t);break;case f:e.success?this.streamControllers[t].cancelCall.resolve():this.streamControllers[t].cancelCall.reject(y(e.reason)),this._deleteStreamController(t);break;case d:if(!this.streamSinks[t])break;var s=this.streamSinks[e.streamId].onCancel;new Promise((function(t){t(s&&s(y(e.reason)))})).then((function(){a.postMessage({sourceName:n,targetName:r,stream:f,streamId:t,success:!0})}),(function(e){a.postMessage({sourceName:n,targetName:r,stream:f,streamId:t,reason:y(e)})})),this.streamSinks[t].sinkCapability.reject(y(e.reason)),this.streamSinks[t].isCancelled=!0,delete this.streamSinks[t];break;default:throw new Error("Unexpected stream case")}}},{key:"_deleteStreamController",value:(l=a.default.mark((function e(t){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.allSettled([this.streamControllers[t].startCall,this.streamControllers[t].pullCall,this.streamControllers[t].cancelCall].map((function(e){return e&&e.promise})));case 2:delete this.streamControllers[t];case 3:case"end":return e.stop()}}),e,this)})),O=function(){var e=this,t=arguments;return new Promise((function(n,r){var a=l.apply(e,t);function o(e){i(a,n,r,o,s,"next",e)}function s(e){i(a,n,r,o,s,"throw",e)}o(void 0)}))},function(e){return O.apply(this,arguments)})},{key:"_postMessage",value:function(e,t){t&&this.postMessageTransfers?this.comObj.postMessage(e,t):this.comObj.postMessage(e)}},{key:"destroy",value:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}],n&&s(t.prototype,n),r&&s(t,r),e}();t.MessageHandler=O},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;var r=n(4);function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var o=function(){function e(t){var n=t.parsedData,r=t.rawData;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._metadataMap=n,this._data=r}var t,n,o;return t=e,(n=[{key:"getRaw",value:function(){return this._data}},{key:"get",value:function(e){var t;return null!==(t=this._metadataMap.get(e))&&void 0!==t?t:null}},{key:"getAll",value:function(){return(0,r.objectFromMap)(this._metadataMap)}},{key:"has",value:function(e){return this._metadataMap.has(e)}}])&&a(t.prototype,n),o&&a(t,o),e}();t.Metadata=o},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OptionalContentConfig=void 0;var r=n(4);function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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 i,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw i}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=function e(t,n){s(this,e),this.visible=!0,this.name=t,this.intent=n},c=function(){function e(t){if(s(this,e),this.name=null,this.creator=null,this._order=null,this._groups=new Map,null!==t){this.name=t.name,this.creator=t.creator,this._order=t.order;var n,r=a(t.groups);try{for(r.s();!(n=r.n()).done;){var o=n.value;this._groups.set(o.id,new l(o.name,o.intent))}}catch(e){r.e(e)}finally{r.f()}if("OFF"===t.baseState){var i,c=a(this._groups);try{for(c.s();!(i=c.n()).done;)i.value.visible=!1}catch(e){c.e(e)}finally{c.f()}}var u,d=a(t.on);try{for(d.s();!(u=d.n()).done;){var f=u.value;this._groups.get(f).visible=!0}}catch(e){d.e(e)}finally{d.f()}var h,p=a(t.off);try{for(p.s();!(h=p.n()).done;){var m=h.value;this._groups.get(m).visible=!1}}catch(e){p.e(e)}finally{p.f()}}}var t,n,o;return t=e,n=[{key:"_evaluateVisibilityExpression",value:function(e){var t=e.length;if(t<2)return!0;for(var n=e[0],a=1;a<t;a++){var o=e[a],i=void 0;if(Array.isArray(o))i=this._evaluateVisibilityExpression(o);else{if(!this._groups.has(o))return(0,r.warn)("Optional content group not found: ".concat(o)),!0;i=this._groups.get(o).visible}switch(n){case"And":if(!i)return!1;break;case"Or":if(i)return!0;break;case"Not":return!i;default:return!0}}return"And"===n}},{key:"isVisible",value:function(e){if("OCG"===e.type)return this._groups.has(e.id)?this._groups.get(e.id).visible:((0,r.warn)("Optional content group not found: ".concat(e.id)),!0);if("OCMD"===e.type){if(e.expression)return this._evaluateVisibilityExpression(e.expression);if(!e.policy||"AnyOn"===e.policy){var t,n=a(e.ids);try{for(n.s();!(t=n.n()).done;){var o=t.value;if(!this._groups.has(o))return(0,r.warn)("Optional content group not found: ".concat(o)),!0;if(this._groups.get(o).visible)return!0}}catch(e){n.e(e)}finally{n.f()}return!1}if("AllOn"===e.policy){var i,s=a(e.ids);try{for(s.s();!(i=s.n()).done;){var l=i.value;if(!this._groups.has(l))return(0,r.warn)("Optional content group not found: ".concat(l)),!0;if(!this._groups.get(l).visible)return!1}}catch(e){s.e(e)}finally{s.f()}return!0}if("AnyOff"===e.policy){var c,u=a(e.ids);try{for(u.s();!(c=u.n()).done;){var d=c.value;if(!this._groups.has(d))return(0,r.warn)("Optional content group not found: ".concat(d)),!0;if(!this._groups.get(d).visible)return!0}}catch(e){u.e(e)}finally{u.f()}return!1}if("AllOff"===e.policy){var f,h=a(e.ids);try{for(h.s();!(f=h.n()).done;){var p=f.value;if(!this._groups.has(p))return(0,r.warn)("Optional content group not found: ".concat(p)),!0;if(this._groups.get(p).visible)return!1}}catch(e){h.e(e)}finally{h.f()}return!0}return(0,r.warn)("Unknown optional content policy ".concat(e.policy,".")),!0}return(0,r.warn)("Unknown group type ".concat(e.type,".")),!0}},{key:"setVisibility",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this._groups.has(e)?this._groups.get(e).visible=!!t:(0,r.warn)("Optional content group not found: ".concat(e))}},{key:"getOrder",value:function(){return this._groups.size?this._order?this._order.slice():Array.from(this._groups.keys()):null}},{key:"getGroups",value:function(){return this._groups.size>0?(0,r.objectFromMap)(this._groups):null}},{key:"getGroup",value:function(e){return this._groups.get(e)||null}}],n&&i(t.prototype,n),o&&i(t,o),e}();t.OptionalContentConfig=c},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFDataTransportStream=void 0;var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(4),i=n(1);function s(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function l(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){s(o,r,a,i,l,"next",e)}function l(e){s(o,r,a,i,l,"throw",e)}i(void 0)}))}}function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}var p=function(){function e(t,n){var r=this;d(this,e),(0,o.assert)(n,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'),this._queuedChunks=[],this._progressiveDone=t.progressiveDone||!1,this._contentDispositionFilename=t.contentDispositionFilename||null;var a=t.initialData;if((null==a?void 0:a.length)>0){var i=new Uint8Array(a).buffer;this._queuedChunks.push(i)}this._pdfDataRangeTransport=n,this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._contentLength=t.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener((function(e,t){r._onReceiveData({begin:e,chunk:t})})),this._pdfDataRangeTransport.addProgressListener((function(e,t){r._onProgress({loaded:e,total:t})})),this._pdfDataRangeTransport.addProgressiveReadListener((function(e){r._onReceiveData({chunk:e})})),this._pdfDataRangeTransport.addProgressiveDoneListener((function(){r._onProgressiveDone()})),this._pdfDataRangeTransport.transportReady()}return h(e,[{key:"_onReceiveData",value:function(e){var t=new Uint8Array(e.chunk).buffer;if(void 0===e.begin)this._fullRequestReader?this._fullRequestReader._enqueue(t):this._queuedChunks.push(t);else{var n=this._rangeReaders.some((function(n){return n._begin===e.begin&&(n._enqueue(t),!0)}));(0,o.assert)(n,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}},{key:"_progressiveDataLength",get:function(){var e,t;return null!==(e=null===(t=this._fullRequestReader)||void 0===t?void 0:t._loaded)&&void 0!==e?e:0}},{key:"_onProgress",value:function(e){if(void 0===e.total){var t=this._rangeReaders[0];null!=t&&t.onProgress&&t.onProgress({loaded:e.loaded})}else{var n=this._fullRequestReader;null!=n&&n.onProgress&&n.onProgress({loaded:e.loaded,total:e.total})}}},{key:"_onProgressiveDone",value:function(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}},{key:"_removeRangeReader",value:function(e){var t=this._rangeReaders.indexOf(e);t>=0&&this._rangeReaders.splice(t,1)}},{key:"getFullReader",value:function(){(0,o.assert)(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");var e=this._queuedChunks;return this._queuedChunks=null,new m(this,e,this._progressiveDone,this._contentDispositionFilename)}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var n=new v(this,e,t);return this._pdfDataRangeTransport.requestDataRange(e,t),this._rangeReaders.push(n),n}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t,n=c(this._rangeReaders.slice(0));try{for(n.s();!(t=n.n()).done;)t.value.cancel(e)}catch(e){n.e(e)}finally{n.f()}this._pdfDataRangeTransport.abort()}}]),e}();t.PDFDataTransportStream=p;var m=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;d(this,e),this._stream=t,this._done=r||!1,this._filename=(0,i.isPdfFile)(a)?a:null,this._queuedChunks=n||[],this._loaded=0;var o,s=c(this._queuedChunks);try{for(s.s();!(o=s.n()).done;){var l=o.value;this._loaded+=l.byteLength}}catch(e){s.e(e)}finally{s.f()}this._requests=[],this._headersReady=Promise.resolve(),t._fullRequestReader=this,this.onProgress=null}var t;return h(e,[{key:"_enqueue",value:function(e){this._done||(this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._queuedChunks.push(e),this._loaded+=e.byteLength)}},{key:"headersReady",get:function(){return this._headersReady}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._stream._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._stream._isStreamingSupported}},{key:"contentLength",get:function(){return this._stream._contentLength}},{key:"read",value:(t=l(a.default.mark((function e(){var t,n;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(this._queuedChunks.length>0)){e.next=3;break}return t=this._queuedChunks.shift(),e.abrupt("return",{value:t,done:!1});case 3:if(!this._done){e.next=5;break}return e.abrupt("return",{value:void 0,done:!0});case 5:return n=(0,o.createPromiseCapability)(),this._requests.push(n),e.abrupt("return",n.promise);case 8:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._done=!0;var t,n=c(this._requests);try{for(n.s();!(t=n.n()).done;)t.value.resolve({value:void 0,done:!0})}catch(e){n.e(e)}finally{n.f()}this._requests.length=0}},{key:"progressiveDone",value:function(){this._done||(this._done=!0)}}]),e}(),v=function(){function e(t,n,r){d(this,e),this._stream=t,this._begin=n,this._end=r,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}var t;return h(e,[{key:"_enqueue",value:function(e){if(!this._done){if(0===this._requests.length)this._queuedChunk=e;else{this._requests.shift().resolve({value:e,done:!1});var t,n=c(this._requests);try{for(n.s();!(t=n.n()).done;)t.value.resolve({value:void 0,done:!0})}catch(e){n.e(e)}finally{n.f()}this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}},{key:"isStreamingSupported",get:function(){return!1}},{key:"read",value:(t=l(a.default.mark((function e(){var t,n;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._queuedChunk){e.next=4;break}return t=this._queuedChunk,this._queuedChunk=null,e.abrupt("return",{value:t,done:!1});case 4:if(!this._done){e.next=6;break}return e.abrupt("return",{value:void 0,done:!0});case 6:return n=(0,o.createPromiseCapability)(),this._requests.push(n),e.abrupt("return",n.promise);case 9:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._done=!0;var t,n=c(this._requests);try{for(n.s();!(t=n.n()).done;)t.value.resolve({value:void 0,done:!0})}catch(e){n.e(e)}finally{n.f()}this._requests.length=0,this._stream._removeRangeReader(this)}}]),e}()},(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationLayer=void 0;var a=n(1),o=n(4),i=n(116),s=n(126);function l(e,t,n){return l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(n):a.value}},l(e,t,n||e)}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||b(e,t)||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.")}()}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function f(e){var t=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(e){return!1}}();return function(){var n,r=m(e);if(t){var a=m(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?p(e):t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function v(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=b(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}function b(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e,t,n){return t&&O(e.prototype,t),n&&O(e,n),e}var _=function(){function e(){y(this,e)}return w(e,null,[{key:"create",value:function(e){switch(e.data.annotationType){case o.AnnotationType.LINK:return new k(e);case o.AnnotationType.TEXT:return new x(e);case o.AnnotationType.WIDGET:switch(e.data.fieldType){case"Tx":return new C(e);case"Btn":return e.data.radioButton?new A(e):e.data.checkBox?new M(e):new T(e);case"Ch":return new E(e)}return new S(e);case o.AnnotationType.POPUP:return new L(e);case o.AnnotationType.FREETEXT:return new D(e);case o.AnnotationType.LINE:return new N(e);case o.AnnotationType.SQUARE:return new R(e);case o.AnnotationType.CIRCLE:return new I(e);case o.AnnotationType.POLYLINE:return new B(e);case o.AnnotationType.CARET:return new V(e);case o.AnnotationType.INK:return new z(e);case o.AnnotationType.POLYGON:return new F(e);case o.AnnotationType.HIGHLIGHT:return new H(e);case o.AnnotationType.UNDERLINE:return new Y(e);case o.AnnotationType.SQUIGGLY:return new U(e);case o.AnnotationType.STRIKEOUT:return new W(e);case o.AnnotationType.STAMP:return new $(e);case o.AnnotationType.FILEATTACHMENT:return new q(e);default:return new j(e)}}}]),e}(),j=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.isRenderable,a=void 0!==r&&r,o=n.ignoreBorder,i=void 0!==o&&o,s=n.createQuadrilaterals,l=void 0!==s&&s;y(this,e),this.isRenderable=a,this.data=t.data,this.layer=t.layer,this.page=t.page,this.viewport=t.viewport,this.linkService=t.linkService,this.downloadManager=t.downloadManager,this.imageResourcesPath=t.imageResourcesPath,this.renderInteractiveForms=t.renderInteractiveForms,this.svgFactory=t.svgFactory,this.annotationStorage=t.annotationStorage,this.enableScripting=t.enableScripting,this.hasJSActions=t.hasJSActions,this._mouseState=t.mouseState,a&&(this.container=this._createContainer(i)),l&&(this.quadrilaterals=this._createQuadrilaterals(i))}return w(e,[{key:"_createContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.data,n=this.page,r=this.viewport,a=document.createElement("section"),i=t.rect[2]-t.rect[0],s=t.rect[3]-t.rect[1];a.setAttribute("data-annotation-id",t.id);var l=o.Util.normalizeRect([t.rect[0],n.view[3]-t.rect[1]+n.view[1],t.rect[2],n.view[3]-t.rect[3]+n.view[1]]);if(a.style.transform="matrix(".concat(r.transform.join(","),")"),a.style.transformOrigin="".concat(-l[0],"px ").concat(-l[1],"px"),!e&&t.borderStyle.width>0){a.style.borderWidth="".concat(t.borderStyle.width,"px"),t.borderStyle.style!==o.AnnotationBorderStyleType.UNDERLINE&&(i-=2*t.borderStyle.width,s-=2*t.borderStyle.width);var c=t.borderStyle.horizontalCornerRadius,u=t.borderStyle.verticalCornerRadius;if(c>0||u>0){var d="".concat(c,"px / ").concat(u,"px");a.style.borderRadius=d}switch(t.borderStyle.style){case o.AnnotationBorderStyleType.SOLID:a.style.borderStyle="solid";break;case o.AnnotationBorderStyleType.DASHED:a.style.borderStyle="dashed";break;case o.AnnotationBorderStyleType.BEVELED:(0,o.warn)("Unimplemented border style: beveled");break;case o.AnnotationBorderStyleType.INSET:(0,o.warn)("Unimplemented border style: inset");break;case o.AnnotationBorderStyleType.UNDERLINE:a.style.borderBottomStyle="solid"}t.color?a.style.borderColor=o.Util.makeHexColor(0|t.color[0],0|t.color[1],0|t.color[2]):a.style.borderWidth=0}return a.style.left="".concat(l[0],"px"),a.style.top="".concat(l[1],"px"),a.style.width="".concat(i,"px"),a.style.height="".concat(s,"px"),a}},{key:"_createQuadrilaterals",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.data.quadPoints)return null;var t,n=[],r=this.data.rect,a=v(this.data.quadPoints);try{for(a.s();!(t=a.n()).done;){var o=t.value;this.data.rect=[o[2].x,o[2].y,o[1].x,o[1].y],n.push(this._createContainer(e))}}catch(e){a.e(e)}finally{a.f()}return this.data.rect=r,n}},{key:"_createPopup",value:function(e,t){var n=this.container;this.quadrilaterals&&(e=e||this.quadrilaterals,n=this.quadrilaterals[0]),e||((e=document.createElement("div")).style.height=n.style.height,e.style.width=n.style.width,n.appendChild(e));var r=new P({container:n,trigger:e,color:t.color,title:t.title,modificationDate:t.modificationDate,contents:t.contents,hideWrapper:!0}).render();r.style.left=n.style.width,n.appendChild(r)}},{key:"_renderQuadrilaterals",value:function(e){var t,n=v(this.quadrilaterals);try{for(n.s();!(t=n.n()).done;)t.value.className=e}catch(e){n.e(e)}finally{n.f()}return this.quadrilaterals}},{key:"render",value:function(){(0,o.unreachable)("Abstract method `AnnotationElement.render` called")}}]),e}(),k=function(e){u(n,e);var t=f(n);function n(e){y(this,n);var r=!!(e.data.url||e.data.dest||e.data.action||e.data.isTooltipOnly||e.data.actions&&(e.data.actions.Action||e.data.actions["Mouse Up"]||e.data.actions["Mouse Down"]));return t.call(this,e,{isRenderable:r,createQuadrilaterals:!0})}return w(n,[{key:"render",value:function(){var e=this.data,t=this.linkService,n=document.createElement("a");return e.url?(0,a.addLinkAttributes)(n,{url:e.url,target:e.newWindow?a.LinkTarget.BLANK:t.externalLinkTarget,rel:t.externalLinkRel,enabled:t.externalLinkEnabled}):e.action?this._bindNamedAction(n,e.action):e.dest?this._bindLink(n,e.dest):e.actions&&(e.actions.Action||e.actions["Mouse Up"]||e.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions?this._bindJSAction(n,e):this._bindLink(n,""),this.quadrilaterals?this._renderQuadrilaterals("linkAnnotation").map((function(e,t){var r=0===t?n:n.cloneNode();return e.appendChild(r),e})):(this.container.className="linkAnnotation",this.container.appendChild(n),this.container)}},{key:"_bindLink",value:function(e,t){var n=this;e.href=this.linkService.getDestinationHash(t),e.onclick=function(){return t&&n.linkService.goToDestination(t),!1},(t||""===t)&&(e.className="internalLink")}},{key:"_bindNamedAction",value:function(e,t){var n=this;e.href=this.linkService.getAnchorUrl(""),e.onclick=function(){return n.linkService.executeNamedAction(t),!1},e.className="internalLink"}},{key:"_bindJSAction",value:function(e,t){var n=this;e.href=this.linkService.getAnchorUrl("");for(var r=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]),a=function(){var a=i[o],s=r.get(a);if(!s)return"continue";e[s]=function(){var e;return null===(e=n.linkService.eventBus)||void 0===e||e.dispatch("dispatcheventinsandbox",{source:n,detail:{id:t.id,name:a}}),!1}},o=0,i=Object.keys(t.actions);o<i.length;o++)a();e.className="internalLink"}}]),n}(j),x=function(e){u(n,e);var t=f(n);function n(e){y(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,{isRenderable:r})}return w(n,[{key:"render",value:function(){this.container.className="textAnnotation";var e=document.createElement("img");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",e.alt="[{{type}} Annotation]",e.dataset.l10nId="text_annotation_type",e.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(e,this.data),this.container.appendChild(e),this.container}}]),n}(j),S=function(e){u(n,e);var t=f(n);function n(){return y(this,n),t.apply(this,arguments)}return w(n,[{key:"render",value:function(){return this.data.alternativeText&&(this.container.title=this.data.alternativeText),this.container}},{key:"_getKeyModifier",value:function(e){return navigator.platform.includes("Win")&&e.ctrlKey||navigator.platform.includes("Mac")&&e.metaKey}},{key:"_setEventListener",value:function(e,t,n,r){var a=this;t.includes("mouse")?e.addEventListener(t,(function(e){var t;null===(t=a.linkService.eventBus)||void 0===t||t.dispatch("dispatcheventinsandbox",{source:a,detail:{id:a.data.id,name:n,value:r(e),shift:e.shiftKey,modifier:a._getKeyModifier(e)}})})):e.addEventListener(t,(function(e){var t;null===(t=a.linkService.eventBus)||void 0===t||t.dispatch("dispatcheventinsandbox",{source:a,detail:{id:a.data.id,name:n,value:e.target.checked}})}))}},{key:"_setEventListeners",value:function(e,t,n){var r,a=v(t);try{for(a.s();!(r=a.n()).done;){var o,i=c(r.value,2),s=i[0],l=i[1];("Action"===l||null!==(o=this.data.actions)&&void 0!==o&&o[l])&&this._setEventListener(e,s,l,n)}}catch(e){a.e(e)}finally{a.f()}}},{key:"_dispatchEventFromSandbox",value:function(e,t){for(var n=this,r=function(e,t,n){var r=n.detail[e];n.target.style[t]=s.ColorConverters["".concat(r[0],"_HTML")](r.slice(1))},a={display:function(e){var t=e.detail.display%2==1;e.target.style.visibility=t?"hidden":"visible",n.annotationStorage.setValue(n.data.id,{hidden:t,print:0===e.detail.display||3===e.detail.display})},print:function(e){n.annotationStorage.setValue(n.data.id,{print:e.detail.print})},hidden:function(e){e.target.style.visibility=e.detail.hidden?"hidden":"visible",n.annotationStorage.setValue(n.data.id,{hidden:e.detail.hidden})},focus:function(e){setTimeout((function(){return e.target.focus({preventScroll:!1})}),0)},userName:function(e){e.target.title=e.detail.userName},readonly:function(e){e.detail.readonly?e.target.setAttribute("readonly",""):e.target.removeAttribute("readonly")},required:function(e){e.detail.required?e.target.setAttribute("required",""):e.target.removeAttribute("required")},bgColor:function(e){r("bgColor","backgroundColor",e)},fillColor:function(e){r("fillColor","backgroundColor",e)},fgColor:function(e){r("fgColor","color",e)},textColor:function(e){r("textColor","color",e)},borderColor:function(e){r("borderColor","borderColor",e)},strokeColor:function(e){r("strokeColor","borderColor",e)}},o=0,i=Object.keys(t.detail);o<i.length;o++){var l=i[o],c=e[l]||a[l];c&&c(t)}}}]),n}(j),C=function(e){u(n,e);var t=f(n);function n(e){y(this,n);var r=e.renderInteractiveForms||!e.data.hasAppearance&&!!e.data.fieldValue;return t.call(this,e,{isRenderable:r})}return w(n,[{key:"setPropertyOnSiblings",value:function(e,t,n,r){var a,o=this.annotationStorage,i=v(document.getElementsByName(e.name));try{for(i.s();!(a=i.n()).done;){var s=a.value;if(s!==e){s[t]=n;var l=Object.create(null);l[r]=n,o.setValue(s.getAttribute("id"),l)}}}catch(e){i.e(e)}finally{i.f()}}},{key:"render",value:function(){var e=this,t=this.annotationStorage,n=this.data.id;this.container.className="textWidgetAnnotation";var r=null;if(this.renderInteractiveForms){var a=t.getValue(n,{value:this.data.fieldValue,valueAsString:this.data.fieldValue}),o=a.valueAsString||a.value||"",i={userValue:null,formattedValue:null,beforeInputSelectionRange:null,beforeInputValue:null};this.data.multiLine?(r=document.createElement("textarea")).textContent=o:((r=document.createElement("input")).type="text",r.setAttribute("value",o)),i.userValue=o,r.setAttribute("id",n),r.addEventListener("input",(function(a){t.setValue(n,{value:a.target.value}),e.setPropertyOnSiblings(r,"value",a.target.value,"value")}));var s=function(e){i.formattedValue&&(e.target.value=i.formattedValue),e.target.scrollLeft=0,i.beforeInputSelectionRange=null};if(this.enableScripting&&this.hasJSActions){var l;r.addEventListener("focus",(function(e){i.userValue&&(e.target.value=i.userValue)})),r.addEventListener("updatefromsandbox",(function(r){var a={value:function(e){i.userValue=e.detail.value||"",t.setValue(n,{value:i.userValue.toString()}),i.formattedValue||(e.target.value=i.userValue)},valueAsString:function(e){i.formattedValue=e.detail.valueAsString||"",e.target!==document.activeElement&&(e.target.value=i.formattedValue),t.setValue(n,{formattedValue:i.formattedValue})},selRange:function(e){var t=c(e.detail.selRange,2),n=t[0],r=t[1];n>=0&&r<e.target.value.length&&e.target.setSelectionRange(n,r)}};e._dispatchEventFromSandbox(a,r)})),r.addEventListener("keydown",(function(t){var r;i.beforeInputValue=t.target.value;var a=-1;"Escape"===t.key?a=0:"Enter"===t.key?a=2:"Tab"===t.key&&(a=3),-1!==a&&(i.userValue=t.target.value,null===(r=e.linkService.eventBus)||void 0===r||r.dispatch("dispatcheventinsandbox",{source:e,detail:{id:n,name:"Keystroke",value:t.target.value,willCommit:!0,commitKey:a,selStart:t.target.selectionStart,selEnd:t.target.selectionEnd}}))}));var u=s;s=null,r.addEventListener("blur",(function(t){var r;e._mouseState.isDown&&(i.userValue=t.target.value,null===(r=e.linkService.eventBus)||void 0===r||r.dispatch("dispatcheventinsandbox",{source:e,detail:{id:n,name:"Keystroke",value:t.target.value,willCommit:!0,commitKey:1,selStart:t.target.selectionStart,selEnd:t.target.selectionEnd}})),u(t)})),r.addEventListener("mousedown",(function(e){i.beforeInputValue=e.target.value,i.beforeInputSelectionRange=null})),r.addEventListener("keyup",(function(e){e.target.selectionStart===e.target.selectionEnd&&(i.beforeInputSelectionRange=null)})),r.addEventListener("select",(function(e){i.beforeInputSelectionRange=[e.target.selectionStart,e.target.selectionEnd]})),null!==(l=this.data.actions)&&void 0!==l&&l.Keystroke&&r.addEventListener("input",(function(t){var r,a=-1,o=-1;if(i.beforeInputSelectionRange){var s=c(i.beforeInputSelectionRange,2);a=s[0],o=s[1]}null===(r=e.linkService.eventBus)||void 0===r||r.dispatch("dispatcheventinsandbox",{source:e,detail:{id:n,name:"Keystroke",value:i.beforeInputValue,change:t.data,willCommit:!1,selStart:a,selEnd:o}})})),this._setEventListeners(r,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(function(e){return e.target.value}))}if(s&&r.addEventListener("blur",s),r.disabled=this.data.readOnly,r.name=this.data.fieldName,null!==this.data.maxLen&&(r.maxLength=this.data.maxLen),this.data.comb){var d=(this.data.rect[2]-this.data.rect[0])/this.data.maxLen;r.classList.add("comb"),r.style.letterSpacing="calc(".concat(d,"px - 1ch)")}}else(r=document.createElement("div")).textContent=this.data.fieldValue,r.style.verticalAlign="middle",r.style.display="table-cell";return this._setTextStyle(r),this.container.appendChild(r),this.container}},{key:"_setTextStyle",value:function(e){var t=this.data.defaultAppearanceData,n=t.fontSize,r=t.fontColor,a=e.style;n&&(a.fontSize="".concat(n,"px")),a.color=o.Util.makeHexColor(r[0],r[1],r[2]),null!==this.data.textAlignment&&(a.textAlign=["left","center","right"][this.data.textAlignment])}}]),n}(S),M=function(e){u(n,e);var t=f(n);function n(e){return y(this,n),t.call(this,e,{isRenderable:e.renderInteractiveForms})}return w(n,[{key:"render",value:function(){var e=this,t=this.annotationStorage,n=this.data,r=n.id,a=t.getValue(r,{value:n.fieldValue&&(n.exportValue&&n.exportValue===n.fieldValue||!n.exportValue&&"Off"!==n.fieldValue)}).value;"string"==typeof a&&(a="Off"!==a,t.setValue(r,{value:a})),this.container.className="buttonWidgetAnnotation checkBox";var o=document.createElement("input");return o.disabled=n.readOnly,o.type="checkbox",o.name=this.data.fieldName,a&&o.setAttribute("checked",!0),o.setAttribute("id",r),o.addEventListener("change",(function(e){var n,a=e.target.name,o=v(document.getElementsByName(a));try{for(o.s();!(n=o.n()).done;){var i=n.value;i!==e.target&&(i.checked=!1,t.setValue(i.parentNode.getAttribute("data-annotation-id"),{value:!1}))}}catch(e){o.e(e)}finally{o.f()}t.setValue(r,{value:e.target.checked})})),this.enableScripting&&this.hasJSActions&&(o.addEventListener("updatefromsandbox",(function(n){var a={value:function(e){e.target.checked="Off"!==e.detail.value,t.setValue(r,{value:e.target.checked})}};e._dispatchEventFromSandbox(a,n)})),this._setEventListeners(o,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(function(e){return e.target.checked}))),this.container.appendChild(o),this.container}}]),n}(S),A=function(e){u(n,e);var t=f(n);function n(e){return y(this,n),t.call(this,e,{isRenderable:e.renderInteractiveForms})}return w(n,[{key:"render",value:function(){var e=this;this.container.className="buttonWidgetAnnotation radioButton";var t=this.annotationStorage,n=this.data,r=n.id,a=t.getValue(r,{value:n.fieldValue===n.buttonValue}).value;"string"==typeof a&&(a=a!==n.buttonValue,t.setValue(r,{value:a}));var o=document.createElement("input");if(o.disabled=n.readOnly,o.type="radio",o.name=n.fieldName,a&&o.setAttribute("checked",!0),o.setAttribute("id",r),o.addEventListener("change",(function(e){var n,a=e.target,o=v(document.getElementsByName(a.name));try{for(o.s();!(n=o.n()).done;){var i=n.value;i!==a&&t.setValue(i.getAttribute("id"),{value:!1})}}catch(e){o.e(e)}finally{o.f()}t.setValue(r,{value:a.checked})})),this.enableScripting&&this.hasJSActions){var i=n.buttonValue;o.addEventListener("updatefromsandbox",(function(n){var a={value:function(e){var n,a=i===e.detail.value,o=v(document.getElementsByName(e.target.name));try{for(o.s();!(n=o.n()).done;){var s=n.value,l=s.getAttribute("id");s.checked=l===r&&a,t.setValue(l,{value:s.checked})}}catch(e){o.e(e)}finally{o.f()}}};e._dispatchEventFromSandbox(a,n)})),this._setEventListeners(o,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(function(e){return e.target.checked}))}return this.container.appendChild(o),this.container}}]),n}(S),T=function(e){u(n,e);var t=f(n);function n(){return y(this,n),t.apply(this,arguments)}return w(n,[{key:"render",value:function(){var e=l(m(n.prototype),"render",this).call(this);return e.className="buttonWidgetAnnotation pushButton",this.data.alternativeText&&(e.title=this.data.alternativeText),e}}]),n}(k),E=function(e){u(n,e);var t=f(n);function n(e){return y(this,n),t.call(this,e,{isRenderable:e.renderInteractiveForms})}return w(n,[{key:"render",value:function(){var e=this;this.container.className="choiceWidgetAnnotation";var t=this.annotationStorage,n=this.data.id;t.getValue(n,{value:this.data.fieldValue.length>0?this.data.fieldValue[0]:void 0});var r=document.createElement("select");r.disabled=this.data.readOnly,r.name=this.data.fieldName,r.setAttribute("id",n),this.data.combo||(r.size=this.data.options.length,this.data.multiSelect&&(r.multiple=!0));var a,o=v(this.data.options);try{for(o.s();!(a=o.n()).done;){var i=a.value,s=document.createElement("option");s.textContent=i.displayValue,s.value=i.exportValue,this.data.fieldValue.includes(i.exportValue)&&s.setAttribute("selected",!0),r.appendChild(s)}}catch(e){o.e(e)}finally{o.f()}var l=function(e,t){var n=t?"value":"textContent",r=e.target.options;return e.target.multiple?Array.prototype.filter.call(r,(function(e){return e.selected})).map((function(e){return e[n]})):-1===r.selectedIndex?null:r[r.selectedIndex][n]},c=function(e){var t=e.target.options;return Array.prototype.map.call(t,(function(e){return{displayValue:e.textContent,exportValue:e.value}}))};return this.enableScripting&&this.hasJSActions?(r.addEventListener("updatefromsandbox",(function(a){var o={value:function(e){var a=r.options,o=e.detail.value,i=new Set(Array.isArray(o)?o:[o]);Array.prototype.forEach.call(a,(function(e){e.selected=i.has(e.value)})),t.setValue(n,{value:l(e,!0)})},multipleSelection:function(e){r.multiple=!0},remove:function(e){var a=r.options,o=e.detail.remove;if(a[o].selected=!1,r.remove(o),a.length>0){var i=Array.prototype.findIndex.call(a,(function(e){return e.selected}));-1===i&&(a[0].selected=!0)}t.setValue(n,{value:l(e,!0),items:c(e)})},clear:function(e){for(;0!==r.length;)r.remove(0);t.setValue(n,{value:null,items:[]})},insert:function(e){var a=e.detail.insert,o=a.index,i=a.displayValue,s=a.exportValue,u=document.createElement("option");u.textContent=i,u.value=s,r.insertBefore(u,r.children[o]),t.setValue(n,{value:l(e,!0),items:c(e)})},items:function(e){for(var a=e.detail.items;0!==r.length;)r.remove(0);var o,i=v(a);try{for(i.s();!(o=i.n()).done;){var s=o.value,u=s.displayValue,d=s.exportValue,f=document.createElement("option");f.textContent=u,f.value=d,r.appendChild(f)}}catch(e){i.e(e)}finally{i.f()}r.options.length>0&&(r.options[0].selected=!0),t.setValue(n,{value:l(e,!0),items:c(e)})},indices:function(e){var r=new Set(e.detail.indices),a=e.target.options;Array.prototype.forEach.call(a,(function(e,t){e.selected=r.has(t)})),t.setValue(n,{value:l(e,!0)})},editable:function(e){e.target.disabled=!e.detail.editable}};e._dispatchEventFromSandbox(o,a)})),r.addEventListener("input",(function(r){var a,o=l(r,!0),i=l(r,!1);t.setValue(n,{value:o}),null===(a=e.linkService.eventBus)||void 0===a||a.dispatch("dispatcheventinsandbox",{source:e,detail:{id:n,name:"Keystroke",value:i,changeEx:o,willCommit:!0,commitKey:1,keyDown:!1}})})),this._setEventListeners(r,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"]],(function(e){return e.target.checked}))):r.addEventListener("input",(function(e){t.setValue(n,{value:l(e)})})),this.container.appendChild(r),this.container}}]),n}(S),L=function(e){u(n,e);var t=f(n);function n(e){y(this,n);var r=!(!e.data.title&&!e.data.contents);return t.call(this,e,{isRenderable:r})}return w(n,[{key:"render",value:function(){if(this.container.className="popupAnnotation",["Line","Square","Circle","PolyLine","Polygon","Ink"].includes(this.data.parentType))return this.container;var e='[data-annotation-id="'.concat(this.data.parentId,'"]'),t=this.layer.querySelectorAll(e);if(0===t.length)return this.container;var n=new P({container:this.container,trigger:Array.from(t),color:this.data.color,title:this.data.title,modificationDate:this.data.modificationDate,contents:this.data.contents}),r=this.page,a=o.Util.normalizeRect([this.data.parentRect[0],r.view[3]-this.data.parentRect[1]+r.view[1],this.data.parentRect[2],r.view[3]-this.data.parentRect[3]+r.view[1]]),i=a[0]+this.data.parentRect[2]-this.data.parentRect[0],s=a[1];return this.container.style.transformOrigin="".concat(-i,"px ").concat(-s,"px"),this.container.style.left="".concat(i,"px"),this.container.style.top="".concat(s,"px"),this.container.appendChild(n.render()),this.container}}]),n}(j),P=function(){function e(t){y(this,e),this.container=t.container,this.trigger=t.trigger,this.color=t.color,this.title=t.title,this.modificationDate=t.modificationDate,this.contents=t.contents,this.hideWrapper=t.hideWrapper||!1,this.pinned=!1}return w(e,[{key:"render",value:function(){var e=document.createElement("div");e.className="popupWrapper",this.hideElement=this.hideWrapper?e:this.container,this.hideElement.hidden=!0;var t=document.createElement("div");t.className="popup";var n=this.color;if(n){var r=.7*(255-n[0])+n[0],i=.7*(255-n[1])+n[1],s=.7*(255-n[2])+n[2];t.style.backgroundColor=o.Util.makeHexColor(0|r,0|i,0|s)}var l=document.createElement("h1");l.textContent=this.title,t.appendChild(l);var c=a.PDFDateString.toDateObject(this.modificationDate);if(c){var u=document.createElement("span");u.textContent="{{date}}, {{time}}",u.dataset.l10nId="annotation_date_string",u.dataset.l10nArgs=JSON.stringify({date:c.toLocaleDateString(),time:c.toLocaleTimeString()}),t.appendChild(u)}var d=this._formatContents(this.contents);t.appendChild(d),Array.isArray(this.trigger)||(this.trigger=[this.trigger]);var f,h=v(this.trigger);try{for(h.s();!(f=h.n()).done;){var p=f.value;p.addEventListener("click",this._toggle.bind(this)),p.addEventListener("mouseover",this._show.bind(this,!1)),p.addEventListener("mouseout",this._hide.bind(this,!1))}}catch(e){h.e(e)}finally{h.f()}return t.addEventListener("click",this._hide.bind(this,!0)),e.appendChild(t),e}},{key:"_formatContents",value:function(e){for(var t=document.createElement("p"),n=e.split(/(?:\r\n?|\n)/),r=0,a=n.length;r<a;++r){var o=n[r];t.appendChild(document.createTextNode(o)),r<a-1&&t.appendChild(document.createElement("br"))}return t}},{key:"_toggle",value:function(){this.pinned?this._hide(!0):this._show(!0)}},{key:"_show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&(this.pinned=!0),this.hideElement.hidden&&(this.hideElement.hidden=!1,this.container.style.zIndex+=1)}},{key:"_hide",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e&&(this.pinned=!1),this.hideElement.hidden||this.pinned||(this.hideElement.hidden=!0,this.container.style.zIndex-=1)}}]),e}(),D=function(e){u(n,e);var t=f(n);function n(e){y(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,{isRenderable:r,ignoreBorder:!0})}return w(n,[{key:"render",value:function(){return this.container.className="freeTextAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}]),n}(j),N=function(e){u(n,e);var t=f(n);function n(e){y(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,{isRenderable:r,ignoreBorder:!0})}return w(n,[{key:"render",value:function(){this.container.className="lineAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],n=e.rect[3]-e.rect[1],r=this.svgFactory.create(t,n),a=this.svgFactory.createElement("svg:line");return a.setAttribute("x1",e.rect[2]-e.lineCoordinates[0]),a.setAttribute("y1",e.rect[3]-e.lineCoordinates[1]),a.setAttribute("x2",e.rect[2]-e.lineCoordinates[2]),a.setAttribute("y2",e.rect[3]-e.lineCoordinates[3]),a.setAttribute("stroke-width",e.borderStyle.width||1),a.setAttribute("stroke","transparent"),r.appendChild(a),this.container.append(r),this._createPopup(a,e),this.container}}]),n}(j),R=function(e){u(n,e);var t=f(n);function n(e){y(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,{isRenderable:r,ignoreBorder:!0})}return w(n,[{key:"render",value:function(){this.container.className="squareAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],n=e.rect[3]-e.rect[1],r=this.svgFactory.create(t,n),a=e.borderStyle.width,o=this.svgFactory.createElement("svg:rect");return o.setAttribute("x",a/2),o.setAttribute("y",a/2),o.setAttribute("width",t-a),o.setAttribute("height",n-a),o.setAttribute("stroke-width",a||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","none"),r.appendChild(o),this.container.append(r),this._createPopup(o,e),this.container}}]),n}(j),I=function(e){u(n,e);var t=f(n);function n(e){y(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,{isRenderable:r,ignoreBorder:!0})}return w(n,[{key:"render",value:function(){this.container.className="circleAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],n=e.rect[3]-e.rect[1],r=this.svgFactory.create(t,n),a=e.borderStyle.width,o=this.svgFactory.createElement("svg:ellipse");return o.setAttribute("cx",t/2),o.setAttribute("cy",n/2),o.setAttribute("rx",t/2-a/2),o.setAttribute("ry",n/2-a/2),o.setAttribute("stroke-width",a||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","none"),r.appendChild(o),this.container.append(r),this._createPopup(o,e),this.container}}]),n}(j),B=function(e){u(n,e);var t=f(n);function n(e){var r;y(this,n);var a=!!(e.data.hasPopup||e.data.title||e.data.contents);return(r=t.call(this,e,{isRenderable:a,ignoreBorder:!0})).containerClassName="polylineAnnotation",r.svgElementName="svg:polyline",r}return w(n,[{key:"render",value:function(){this.container.className=this.containerClassName;var e,t=this.data,n=t.rect[2]-t.rect[0],r=t.rect[3]-t.rect[1],a=this.svgFactory.create(n,r),o=[],i=v(t.vertices);try{for(i.s();!(e=i.n()).done;){var s=e.value,l=s.x-t.rect[0],c=t.rect[3]-s.y;o.push(l+","+c)}}catch(e){i.e(e)}finally{i.f()}o=o.join(" ");var u=this.svgFactory.createElement(this.svgElementName);return u.setAttribute("points",o),u.setAttribute("stroke-width",t.borderStyle.width||1),u.setAttribute("stroke","transparent"),u.setAttribute("fill","none"),a.appendChild(u),this.container.append(a),this._createPopup(u,t),this.container}}]),n}(j),F=function(e){u(n,e);var t=f(n);function n(e){var r;return y(this,n),(r=t.call(this,e)).containerClassName="polygonAnnotation",r.svgElementName="svg:polygon",r}return n}(B),V=function(e){u(n,e);var t=f(n);function n(e){y(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,{isRenderable:r,ignoreBorder:!0})}return w(n,[{key:"render",value:function(){return this.container.className="caretAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}]),n}(j),z=function(e){u(n,e);var t=f(n);function n(e){var r;y(this,n);var a=!!(e.data.hasPopup||e.data.title||e.data.contents);return(r=t.call(this,e,{isRenderable:a,ignoreBorder:!0})).containerClassName="inkAnnotation",r.svgElementName="svg:polyline",r}return w(n,[{key:"render",value:function(){this.container.className=this.containerClassName;var e,t=this.data,n=t.rect[2]-t.rect[0],r=t.rect[3]-t.rect[1],a=this.svgFactory.create(n,r),o=v(t.inkLists);try{for(o.s();!(e=o.n()).done;){var i,s=e.value,l=[],c=v(s);try{for(c.s();!(i=c.n()).done;){var u=i.value,d=u.x-t.rect[0],f=t.rect[3]-u.y;l.push("".concat(d,",").concat(f))}}catch(e){c.e(e)}finally{c.f()}l=l.join(" ");var h=this.svgFactory.createElement(this.svgElementName);h.setAttribute("points",l),h.setAttribute("stroke-width",t.borderStyle.width||1),h.setAttribute("stroke","transparent"),h.setAttribute("fill","none"),this._createPopup(h,t),a.appendChild(h)}}catch(e){o.e(e)}finally{o.f()}return this.container.append(a),this.container}}]),n}(j),H=function(e){u(n,e);var t=f(n);function n(e){y(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,{isRenderable:r,ignoreBorder:!0,createQuadrilaterals:!0})}return w(n,[{key:"render",value:function(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("highlightAnnotation"):(this.container.className="highlightAnnotation",this.container)}}]),n}(j),Y=function(e){u(n,e);var t=f(n);function n(e){y(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,{isRenderable:r,ignoreBorder:!0,createQuadrilaterals:!0})}return w(n,[{key:"render",value:function(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("underlineAnnotation"):(this.container.className="underlineAnnotation",this.container)}}]),n}(j),U=function(e){u(n,e);var t=f(n);function n(e){y(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,{isRenderable:r,ignoreBorder:!0,createQuadrilaterals:!0})}return w(n,[{key:"render",value:function(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("squigglyAnnotation"):(this.container.className="squigglyAnnotation",this.container)}}]),n}(j),W=function(e){u(n,e);var t=f(n);function n(e){y(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,{isRenderable:r,ignoreBorder:!0,createQuadrilaterals:!0})}return w(n,[{key:"render",value:function(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("strikeoutAnnotation"):(this.container.className="strikeoutAnnotation",this.container)}}]),n}(j),$=function(e){u(n,e);var t=f(n);function n(e){y(this,n);var r=!!(e.data.hasPopup||e.data.title||e.data.contents);return t.call(this,e,{isRenderable:r,ignoreBorder:!0})}return w(n,[{key:"render",value:function(){return this.container.className="stampAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}]),n}(j),q=function(e){u(n,e);var t=f(n);function n(e){var r,i;y(this,n);var s=(i=t.call(this,e,{isRenderable:!0})).data.file,l=s.filename,c=s.content;return i.filename=(0,a.getFilenameFromUrl)(l),i.content=c,null===(r=i.linkService.eventBus)||void 0===r||r.dispatch("fileattachmentannotation",{source:p(i),id:(0,o.stringToPDFString)(l),filename:l,content:c}),i}return w(n,[{key:"render",value:function(){this.container.className="fileAttachmentAnnotation";var e=document.createElement("div");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.addEventListener("dblclick",this._download.bind(this)),this.data.hasPopup||!this.data.title&&!this.data.contents||this._createPopup(e,this.data),this.container.appendChild(e),this.container}},{key:"_download",value:function(){var e;null===(e=this.downloadManager)||void 0===e||e.openOrDownloadData(this.container,this.content,this.filename)}}]),n}(j),G=function(){function e(){y(this,e)}return w(e,null,[{key:"render",value:function(e){var t,n=[],r=[],s=v(e.annotations);try{for(s.s();!(t=s.n()).done;){var l=t.value;l&&(l.annotationType!==o.AnnotationType.POPUP?n.push(l):r.push(l))}}catch(e){s.e(e)}finally{s.f()}r.length&&n.push.apply(n,r);for(var c=0,u=n;c<u.length;c++){var d=u[c],f=_.create({data:d,layer:e.div,page:e.page,viewport:e.viewport,linkService:e.linkService,downloadManager:e.downloadManager,imageResourcesPath:e.imageResourcesPath||"",renderInteractiveForms:!1!==e.renderInteractiveForms,svgFactory:new a.DOMSVGFactory,annotationStorage:e.annotationStorage||new i.AnnotationStorage,enableScripting:e.enableScripting,hasJSActions:e.hasJSActions,mouseState:e.mouseState||{isDown:!1}});if(f.isRenderable){var h=f.render();if(d.hidden&&(h.style.visibility="hidden"),Array.isArray(h)){var p,m=v(h);try{for(m.s();!(p=m.n()).done;){var b=p.value;e.div.appendChild(b)}}catch(e){m.e(e)}finally{m.f()}}else f instanceof L?e.div.prepend(h):e.div.appendChild(h)}}}},{key:"update",value:function(e){var t,n="matrix(".concat(e.viewport.transform.join(","),")"),r=v(e.annotations);try{for(r.s();!(t=r.n()).done;){var a=t.value,o=e.div.querySelectorAll('[data-annotation-id="'.concat(a.id,'"]'));if(o){var i,s=v(o);try{for(s.s();!(i=s.n()).done;)i.value.style.transform=n}catch(e){s.e(e)}finally{s.f()}}}}catch(e){r.e(e)}finally{r.f()}e.div.hidden=!1}}]),e}();t.AnnotationLayer=G},(e,t)=>{"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e,t)||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.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e){return Math.floor(255*Math.max(0,Math.min(1,e))).toString(16).padStart(2,"0")}Object.defineProperty(t,"__esModule",{value:!0}),t.ColorConverters=void 0;var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,i;return t=e,i=[{key:"CMYK_G",value:function(e){var t=n(e,4),r=t[0],a=t[1],o=t[2],i=t[3];return["G",1-Math.min(1,.3*r+.59*o+.11*a+i)]}},{key:"G_CMYK",value:function(e){return["CMYK",0,0,0,1-n(e,1)[0]]}},{key:"G_RGB",value:function(e){var t=n(e,1)[0];return["RGB",t,t,t]}},{key:"G_HTML",value:function(e){var t=o(n(e,1)[0]);return"#".concat(t).concat(t).concat(t)}},{key:"RGB_G",value:function(e){var t=n(e,3);return["G",.3*t[0]+.59*t[1]+.11*t[2]]}},{key:"RGB_HTML",value:function(e){var t=n(e,3),r=t[0],a=t[1],i=t[2],s=o(r),l=o(a),c=o(i);return"#".concat(s).concat(l).concat(c)}},{key:"T_HTML",value:function(){return"#00000000"}},{key:"CMYK_RGB",value:function(e){var t=n(e,4),r=t[0],a=t[1],o=t[2],i=t[3];return["RGB",1-Math.min(1,r+i),1-Math.min(1,o+i),1-Math.min(1,a+i)]}},{key:"CMYK_HTML",value:function(e){return this.RGB_HTML(this.CMYK_RGB(e))}},{key:"RGB_CMYK",value:function(e){var t=n(e,3),r=1-t[0],a=1-t[1],o=1-t[2];return["CMYK",r,a,o,Math.min(r,a,o)]}}],(r=null)&&a(t.prototype,r),i&&a(t,i),e}();t.ColorConverters=i},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderTextLayer=function(e){var t=new m({textContent:e.textContent,textContentStream:e.textContentStream,container:e.container,viewport:e.viewport,textDivs:e.textDivs,textContentItemsStr:e.textContentItemsStr,enhanceTextSelection:e.enhanceTextSelection});return t._render(e.timeout),t};var r=n(4);function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s=30,l=new Map,c=/^\s+$/g;function u(e,t,n,a){var o=document.createElement("span"),i={angle:0,canvasWidth:0,hasText:""!==t.str,hasEOL:t.hasEOL,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1};e._textDivs.push(o);var u=r.Util.transform(e._viewport.transform,t.transform),d=Math.atan2(u[1],u[0]),f=n[t.fontName];f.vertical&&(d+=Math.PI/2);var h,p,m=Math.hypot(u[2],u[3]),v=m*function(e,t){var n=l.get(e);if(n)return n;t.save(),t.font="".concat(s,"px ").concat(e);var r=t.measureText(""),a=r.fontBoundingBoxAscent,o=Math.abs(r.fontBoundingBoxDescent);if(a){t.restore();var i=a/(a+o);return l.set(e,i),i}t.strokeStyle="red",t.clearRect(0,0,s,s),t.strokeText("g",0,0);var c=t.getImageData(0,0,s,s).data;o=0;for(var u=c.length-1-3;u>=0;u-=4)if(c[u]>0){o=Math.ceil(u/4/s);break}t.clearRect(0,0,s,s),t.strokeText("A",0,s),a=0;for(var d=0,f=(c=t.getImageData(0,0,s,s).data).length;d<f;d+=4)if(c[d]>0){a=s-Math.floor(d/4/s);break}if(t.restore(),a){var h=a/(a+o);return l.set(e,h),h}return l.set(e,.8),.8}(f.fontFamily,a);0===d?(h=u[4],p=u[5]-v):(h=u[4]+v*Math.sin(d),p=u[5]-v*Math.cos(d)),o.style.left="".concat(h,"px"),o.style.top="".concat(p,"px"),o.style.fontSize="".concat(m,"px"),o.style.fontFamily=f.fontFamily,o.setAttribute("role","presentation"),o.textContent=t.str,o.dir=t.dir,e._fontInspectorEnabled&&(o.dataset.fontName=t.fontName),0!==d&&(i.angle=d*(180/Math.PI));var b=!1;if(t.str.length>1||e._enhanceTextSelection&&c.test(t.str))b=!0;else if(t.transform[0]!==t.transform[3]){var g=Math.abs(t.transform[0]),y=Math.abs(t.transform[3]);g!==y&&Math.max(g,y)/Math.min(g,y)>1.5&&(b=!0)}if(b&&(f.vertical?i.canvasWidth=t.height*e._viewport.scale:i.canvasWidth=t.width*e._viewport.scale),e._textDivProperties.set(o,i),e._textContentStream&&e._layoutText(o),e._enhanceTextSelection&&i.hasText){var O=1,w=0;0!==d&&(O=Math.cos(d),w=Math.sin(d));var _,j,k=(f.vertical?t.height:t.width)*e._viewport.scale,x=m;0!==d?(_=[O,w,-w,O,h,p],j=r.Util.getAxialAlignedBoundingBox([0,0,k,x],_)):j=[h,p,h+k,p+x],e._bounds.push({left:j[0],top:j[1],right:j[2],bottom:j[3],div:o,size:[k,x],m:_})}}function d(e){if(!e._canceled){var t=e._textDivs,n=e._capability,r=t.length;if(r>1e5)return e._renderingDone=!0,void n.resolve();if(!e._textContentStream)for(var a=0;a<r;a++)e._layoutText(t[a]);e._renderingDone=!0,n.resolve()}}function f(e,t,n){for(var r=0,a=0;a<n;a++){var o=e[t++];o>0&&(r=r?Math.min(o,r):o)}return r}function h(e){for(var t=e._bounds,n=e._viewport,a=function(e,t,n){var r=n.map((function(e,t){return{x1:e.left,y1:e.top,x2:e.right,y2:e.bottom,index:t,x1New:void 0,x2New:void 0}}));p(e,r);var a,i=new Array(n.length),s=o(r);try{for(s.s();!(a=s.n()).done;){var l=a.value,c=l.index;i[c]={left:l.x1New,top:0,right:l.x2New,bottom:0}}}catch(e){s.e(e)}finally{s.f()}n.map((function(t,n){var a=i[n],o=r[n];o.x1=t.top,o.y1=e-a.right,o.x2=t.bottom,o.y2=e-a.left,o.index=n,o.x1New=void 0,o.x2New=void 0})),p(t,r);var u,d=o(r);try{for(d.s();!(u=d.n()).done;){var f=u.value,h=f.index;i[h].top=f.x1New,i[h].bottom=f.x2New}}catch(e){d.e(e)}finally{d.f()}return i}(n.width,n.height,t),i=0;i<a.length;i++){var s=t[i].div,l=e._textDivProperties.get(s);if(0!==l.angle){for(var c=a[i],u=t[i],d=u.m,h=d[0],m=d[1],v=[[0,0],[0,u.size[1]],[u.size[0],0],u.size],b=new Float64Array(64),g=0,y=v.length;g<y;g++){var O=r.Util.applyTransform(v[g],d);b[g+0]=h&&(c.left-O[0])/h,b[g+4]=m&&(c.top-O[1])/m,b[g+8]=h&&(c.right-O[0])/h,b[g+12]=m&&(c.bottom-O[1])/m,b[g+16]=m&&(c.left-O[0])/-m,b[g+20]=h&&(c.top-O[1])/h,b[g+24]=m&&(c.right-O[0])/-m,b[g+28]=h&&(c.bottom-O[1])/h,b[g+32]=h&&(c.left-O[0])/-h,b[g+36]=m&&(c.top-O[1])/-m,b[g+40]=h&&(c.right-O[0])/-h,b[g+44]=m&&(c.bottom-O[1])/-m,b[g+48]=m&&(c.left-O[0])/m,b[g+52]=h&&(c.top-O[1])/-h,b[g+56]=m&&(c.right-O[0])/m,b[g+60]=h&&(c.bottom-O[1])/-h}var w=1+Math.min(Math.abs(h),Math.abs(m));l.paddingLeft=f(b,32,16)/w,l.paddingTop=f(b,48,16)/w,l.paddingRight=f(b,0,16)/w,l.paddingBottom=f(b,16,16)/w,e._textDivProperties.set(s,l)}else l.paddingLeft=t[i].left-a[i].left,l.paddingTop=t[i].top-a[i].top,l.paddingRight=a[i].right-t[i].right,l.paddingBottom=a[i].bottom-t[i].bottom,e._textDivProperties.set(s,l)}}function p(e,t){t.sort((function(e,t){return e.x1-t.x1||e.index-t.index}));var n,r=[{start:-1/0,end:1/0,boundary:{x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0}}],a=o(t);try{for(a.s();!(n=a.n()).done;){for(var i=n.value,s=0;s<r.length&&r[s].end<=i.y1;)s++;for(var l=r.length-1;l>=0&&r[l].start>=i.y2;)l--;var c=void 0,u=void 0,d=void 0,f=void 0,h=-1/0;for(d=s;d<=l;d++){u=(c=r[d]).boundary;var p=void 0;(p=u.x2>i.x1?u.index>i.index?u.x1New:i.x1:void 0===u.x2New?(u.x2+i.x1)/2:u.x2New)>h&&(h=p)}for(i.x1New=h,d=s;d<=l;d++)void 0===(u=(c=r[d]).boundary).x2New?u.x2>i.x1?u.index>i.index&&(u.x2New=u.x2):u.x2New=h:u.x2New>h&&(u.x2New=Math.max(h,u.x2));var m=[],v=null;for(d=s;d<=l;d++){var b=(u=(c=r[d]).boundary).x2>i.x2?u:i;v===b?m[m.length-1].end=c.end:(m.push({start:c.start,end:c.end,boundary:b}),v=b)}for(r[s].start<i.y1&&(m[0].start=i.y1,m.unshift({start:r[s].start,end:i.y1,boundary:r[s].boundary})),i.y2<r[l].end&&(m[m.length-1].end=i.y2,m.push({start:i.y2,end:r[l].end,boundary:r[l].boundary})),d=s;d<=l;d++)if(void 0===(u=(c=r[d]).boundary).x2New){var g=!1;for(f=s-1;!g&&f>=0&&r[f].start>=u.y1;f--)g=r[f].boundary===u;for(f=l+1;!g&&f<r.length&&r[f].end<=u.y2;f++)g=r[f].boundary===u;for(f=0;!g&&f<m.length;f++)g=m[f].boundary===u;g||(u.x2New=h)}Array.prototype.splice.apply(r,[s,l-s+1].concat(m))}}catch(e){a.e(e)}finally{a.f()}for(var y=0,O=r;y<O.length;y++){var w=O[y].boundary;void 0===w.x2New&&(w.x2New=Math.max(e,w.x2))}}var m=function(){function e(t){var n,a=this,o=t.textContent,i=t.textContentStream,s=t.container,l=t.viewport,c=t.textDivs,u=t.textContentItemsStr,d=t.enhanceTextSelection;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._textContent=o,this._textContentStream=i,this._container=s,this._document=s.ownerDocument,this._viewport=l,this._textDivs=c||[],this._textContentItemsStr=u||[],this._enhanceTextSelection=!!d,this._fontInspectorEnabled=!(null===(n=globalThis.FontInspector)||void 0===n||!n.enabled),this._reader=null,this._layoutTextLastFontSize=null,this._layoutTextLastFontFamily=null,this._layoutTextCtx=null,this._textDivProperties=new WeakMap,this._renderingDone=!1,this._canceled=!1,this._capability=(0,r.createPromiseCapability)(),this._renderTimer=null,this._bounds=[],this._capability.promise.finally((function(){a._layoutTextCtx&&(a._layoutTextCtx.canvas.width=0,a._layoutTextCtx.canvas.height=0,a._layoutTextCtx=null)})).catch((function(){}))}var t,n,o;return t=e,n=[{key:"promise",get:function(){return this._capability.promise}},{key:"cancel",value:function(){this._canceled=!0,this._reader&&(this._reader.cancel(new r.AbortException("TextLayer task cancelled.")),this._reader=null),null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))}},{key:"_processItems",value:function(e,t){for(var n=0,r=e.length;n<r;n++)if(void 0!==e[n].str)this._textContentItemsStr.push(e[n].str),u(this,e[n],t,this._layoutTextCtx);else if("beginMarkedContentProps"===e[n].type||"beginMarkedContent"===e[n].type){var a=this._container;this._container=document.createElement("span"),this._container.classList.add("markedContent"),null!==e[n].id&&this._container.setAttribute("id","".concat(e[n].id)),a.appendChild(this._container)}else"endMarkedContent"===e[n].type&&(this._container=this._container.parentNode)}},{key:"_layoutText",value:function(e){var t=this._textDivProperties.get(e),n="";if(0!==t.canvasWidth&&t.hasText){var r=e.style,a=r.fontSize,o=r.fontFamily;a===this._layoutTextLastFontSize&&o===this._layoutTextLastFontFamily||(this._layoutTextCtx.font="".concat(a," ").concat(o),this._layoutTextLastFontSize=a,this._layoutTextLastFontFamily=o);var i=this._layoutTextCtx.measureText(e.textContent).width;i>0&&(t.scale=t.canvasWidth/i,n="scaleX(".concat(t.scale,")"))}if(0!==t.angle&&(n="rotate(".concat(t.angle,"deg) ").concat(n)),n.length>0&&(this._enhanceTextSelection&&(t.originalTransform=n),e.style.transform=n),t.hasText&&this._container.appendChild(e),t.hasEOL){var s=document.createElement("br");s.setAttribute("role","presentation"),this._container.appendChild(s)}}},{key:"_render",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=(0,r.createPromiseCapability)(),a=Object.create(null),o=this._document.createElement("canvas");if(o.height=o.width=s,o.mozOpaque=!0,this._layoutTextCtx=o.getContext("2d",{alpha:!1}),this._textContent){var i=this._textContent.items,l=this._textContent.styles;this._processItems(i,l),n.resolve()}else{if(!this._textContentStream)throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');var c=function t(){e._reader.read().then((function(r){var o=r.value;r.done?n.resolve():(Object.assign(a,o.styles),e._processItems(o.items,a),t())}),n.reject)};this._reader=this._textContentStream.getReader(),c()}n.promise.then((function(){a=null,t?e._renderTimer=setTimeout((function(){d(e),e._renderTimer=null}),t):d(e)}),this._capability.reject)}},{key:"expandTextDivs",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this._enhanceTextSelection&&this._renderingDone){null!==this._bounds&&(h(this),this._bounds=null);for(var t=[],n=[],r=0,a=this._textDivs.length;r<a;r++){var o=this._textDivs[r],i=this._textDivProperties.get(o);i.hasText&&(e?(t.length=0,n.length=0,i.originalTransform&&t.push(i.originalTransform),i.paddingTop>0?(n.push("".concat(i.paddingTop,"px")),t.push("translateY(".concat(-i.paddingTop,"px)"))):n.push(0),i.paddingRight>0?n.push("".concat(i.paddingRight/i.scale,"px")):n.push(0),i.paddingBottom>0?n.push("".concat(i.paddingBottom,"px")):n.push(0),i.paddingLeft>0?(n.push("".concat(i.paddingLeft/i.scale,"px")),t.push("translateX(".concat(-i.paddingLeft/i.scale,"px)"))):n.push(0),o.style.padding=n.join(" "),t.length&&(o.style.transform=t.join(" "))):(o.style.padding=null,o.style.transform=i.originalTransform))}}}}],n&&a(t.prototype,n),o&&a(t,o),e}()},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SVGGraphics=void 0;var r=n(4),a=n(1),o=n(6);function i(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||c(e)||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.")}()}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||c(e,t)||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.")}()}function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=c(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}function c(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),e}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var p=function e(){h(this,e),(0,r.unreachable)("Not implemented: SVGGraphics")};t.SVGGraphics=p;var m=function(e){if(Number.isInteger(e))return e.toString();var t=e.toFixed(10),n=t.length-1;if("0"!==t[n])return t;do{n--}while("0"===t[n]);return t.substring(0,"."===t[n]?n:n+1)},v=function(e){if(0===e[4]&&0===e[5]){if(0===e[1]&&0===e[2])return 1===e[0]&&1===e[3]?"":"scale(".concat(m(e[0])," ").concat(m(e[3]),")");if(e[0]===e[3]&&e[1]===-e[2]){var t=180*Math.acos(e[0])/Math.PI;return"rotate(".concat(m(t),")")}}else if(1===e[0]&&0===e[1]&&0===e[2]&&1===e[3])return"translate(".concat(m(e[4])," ").concat(m(e[5]),")");return"matrix(".concat(m(e[0])," ").concat(m(e[1])," ").concat(m(e[2])," ").concat(m(e[3])," ").concat(m(e[4])," ")+"".concat(m(e[5]),")")},b={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},g=["butt","round","square"],y=["miter","round","bevel"],O=function(){for(var e=new Uint8Array([137,80,78,71,13,10,26,10]),t=new Int32Array(256),n=0;n<256;n++){for(var a=n,i=0;i<8;i++)a=1&a?3988292384^a>>1&2147483647:a>>1&2147483647;t[n]=a}function s(e,n,r,a){var o=a,i=n.length;r[o]=i>>24&255,r[o+1]=i>>16&255,r[o+2]=i>>8&255,r[o+3]=255&i,r[o+=4]=255&e.charCodeAt(0),r[o+1]=255&e.charCodeAt(1),r[o+2]=255&e.charCodeAt(2),r[o+3]=255&e.charCodeAt(3),o+=4,r.set(n,o);var s=function(e,n,r){for(var a=-1,o=n;o<r;o++){var i=255&(a^e[o]);a=a>>>8^t[i]}return-1^a}(r,a+4,o+=n.length);r[o]=s>>24&255,r[o+1]=s>>16&255,r[o+2]=s>>8&255,r[o+3]=255&s}function l(e){var t=e.length,n=65535,r=Math.ceil(t/n),a=new Uint8Array(2+t+5*r+4),o=0;a[o++]=120,a[o++]=156;for(var i=0;t>n;)a[o++]=0,a[o++]=255,a[o++]=255,a[o++]=0,a[o++]=0,a.set(e.subarray(i,i+n),o),o+=n,i+=n,t-=n;a[o++]=1,a[o++]=255&t,a[o++]=t>>8&255,a[o++]=255&~t,a[o++]=(65535&~t)>>8&255,a.set(e.subarray(i),o),o+=e.length-i;var s=function(e,t,n){for(var r=1,a=0,o=t;o<n;++o)a=(a+(r=(r+(255&e[o]))%65521))%65521;return a<<16|r}(e,0,e.length);return a[o++]=s>>24&255,a[o++]=s>>16&255,a[o++]=s>>8&255,a[o++]=255&s,a}function c(t,n,a,i){var c,u,d,f=t.width,h=t.height,p=t.data;switch(n){case r.ImageKind.GRAYSCALE_1BPP:u=0,c=1,d=f+7>>3;break;case r.ImageKind.RGB_24BPP:u=2,c=8,d=3*f;break;case r.ImageKind.RGBA_32BPP:u=6,c=8,d=4*f;break;default:throw new Error("invalid format")}for(var m=new Uint8Array((1+d)*h),v=0,b=0,g=0;g<h;++g)m[v++]=0,m.set(p.subarray(b,b+d),v),b+=d,v+=d;if(n===r.ImageKind.GRAYSCALE_1BPP&&i){v=0;for(var y=0;y<h;y++){v++;for(var O=0;O<d;O++)m[v++]^=255}}var w=new Uint8Array([f>>24&255,f>>16&255,f>>8&255,255&f,h>>24&255,h>>16&255,h>>8&255,255&h,c,u,0,0,0]),_=function(e){if(!o.isNodeJS)return l(e);try{var t;t=parseInt(process.versions.node)>=8?e:Buffer.from(e);var n=__webpack_require__(324).deflateSync(t,{level:9});return n instanceof Uint8Array?n:new Uint8Array(n)}catch(e){(0,r.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+e)}return l(e)}(m),j=e.length+36+w.length+_.length,k=new Uint8Array(j),x=0;return k.set(e,x),s("IHDR",w,k,x+=e.length),s("IDATA",_,k,x+=12+w.length),x+=12+_.length,s("IEND",new Uint8Array(0),k,x),(0,r.createObjectURL)(k,"image/png",a)}return function(e,t,n){return c(e,void 0===e.kind?r.ImageKind.GRAYSCALE_1BPP:e.kind,t,n)}}(),w=function(){function e(){h(this,e),this.fontSizeScale=1,this.fontWeight=b.fontWeight,this.fontSize=0,this.textMatrix=r.IDENTITY_MATRIX,this.fontMatrix=r.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=r.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=b.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}return f(e,[{key:"clone",value:function(){return Object.create(this)}},{key:"setCurrentPoint",value:function(e,t){this.x=e,this.y=t}}]),e}(),_=0,j=0,k=0;t.SVGGraphics=p=function(){function e(t,n){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(var i in h(this,e),this.svgFactory=new a.DOMSVGFactory,this.current=new w,this.transformMatrix=r.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=t,this.objs=n,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!o,this._operatorIdMapping=[],r.OPS)this._operatorIdMapping[r.OPS[i]]=i}return f(e,[{key:"save",value:function(){this.transformStack.push(this.transformMatrix);var e=this.current;this.extraStack.push(e),this.current=e.clone()}},{key:"restore",value:function(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}},{key:"group",value:function(e){this.save(),this.executeOpTree(e),this.restore()}},{key:"loadDependencies",value:function(e){for(var t=this,n=e.fnArray,a=e.argsArray,o=0,i=n.length;o<i;o++)if(n[o]===r.OPS.dependency){var s,c=l(a[o]);try{var u=function(){var e=s.value,n=e.startsWith("g_")?t.commonObjs:t.objs,r=new Promise((function(t){n.get(e,t)}));t.current.dependencies.push(r)};for(c.s();!(s=c.n()).done;)u()}catch(e){c.e(e)}finally{c.f()}}return Promise.all(this.current.dependencies)}},{key:"transform",value:function(e,t,n,a,o,i){var s=[e,t,n,a,o,i];this.transformMatrix=r.Util.transform(this.transformMatrix,s),this.tgrp=null}},{key:"getSVG",value:function(e,t){var n=this;this.viewport=t;var a=this._initialize(t);return this.loadDependencies(e).then((function(){return n.transformMatrix=r.IDENTITY_MATRIX,n.executeOpTree(n.convertOpList(e)),a}))}},{key:"convertOpList",value:function(e){for(var t=this._operatorIdMapping,n=e.argsArray,r=e.fnArray,a=[],o=0,i=r.length;o<i;o++){var s=r[o];a.push({fnId:s,fn:t[s],args:n[o]})}return function(e){var t,n=[],r=[],a=l(e);try{for(a.s();!(t=a.n()).done;){var o=t.value;"save"!==o.fn?"restore"===o.fn?n=r.pop():n.push(o):(n.push({fnId:92,fn:"group",items:[]}),r.push(n),n=n[n.length-1].items)}}catch(e){a.e(e)}finally{a.f()}return n}(a)}},{key:"executeOpTree",value:function(e){var t,n=l(e);try{for(n.s();!(t=n.n()).done;){var a=t.value,o=a.fn,i=a.fnId,s=a.args;switch(0|i){case r.OPS.beginText:this.beginText();break;case r.OPS.dependency:break;case r.OPS.setLeading:this.setLeading(s);break;case r.OPS.setLeadingMoveText:this.setLeadingMoveText(s[0],s[1]);break;case r.OPS.setFont:this.setFont(s);break;case r.OPS.showText:case r.OPS.showSpacedText:this.showText(s[0]);break;case r.OPS.endText:this.endText();break;case r.OPS.moveText:this.moveText(s[0],s[1]);break;case r.OPS.setCharSpacing:this.setCharSpacing(s[0]);break;case r.OPS.setWordSpacing:this.setWordSpacing(s[0]);break;case r.OPS.setHScale:this.setHScale(s[0]);break;case r.OPS.setTextMatrix:this.setTextMatrix(s[0],s[1],s[2],s[3],s[4],s[5]);break;case r.OPS.setTextRise:this.setTextRise(s[0]);break;case r.OPS.setTextRenderingMode:this.setTextRenderingMode(s[0]);break;case r.OPS.setLineWidth:this.setLineWidth(s[0]);break;case r.OPS.setLineJoin:this.setLineJoin(s[0]);break;case r.OPS.setLineCap:this.setLineCap(s[0]);break;case r.OPS.setMiterLimit:this.setMiterLimit(s[0]);break;case r.OPS.setFillRGBColor:this.setFillRGBColor(s[0],s[1],s[2]);break;case r.OPS.setStrokeRGBColor:this.setStrokeRGBColor(s[0],s[1],s[2]);break;case r.OPS.setStrokeColorN:this.setStrokeColorN(s);break;case r.OPS.setFillColorN:this.setFillColorN(s);break;case r.OPS.shadingFill:this.shadingFill(s[0]);break;case r.OPS.setDash:this.setDash(s[0],s[1]);break;case r.OPS.setRenderingIntent:this.setRenderingIntent(s[0]);break;case r.OPS.setFlatness:this.setFlatness(s[0]);break;case r.OPS.setGState:this.setGState(s[0]);break;case r.OPS.fill:this.fill();break;case r.OPS.eoFill:this.eoFill();break;case r.OPS.stroke:this.stroke();break;case r.OPS.fillStroke:this.fillStroke();break;case r.OPS.eoFillStroke:this.eoFillStroke();break;case r.OPS.clip:this.clip("nonzero");break;case r.OPS.eoClip:this.clip("evenodd");break;case r.OPS.paintSolidColorImageMask:this.paintSolidColorImageMask();break;case r.OPS.paintImageXObject:this.paintImageXObject(s[0]);break;case r.OPS.paintInlineImageXObject:this.paintInlineImageXObject(s[0]);break;case r.OPS.paintImageMaskXObject:this.paintImageMaskXObject(s[0]);break;case r.OPS.paintFormXObjectBegin:this.paintFormXObjectBegin(s[0],s[1]);break;case r.OPS.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case r.OPS.closePath:this.closePath();break;case r.OPS.closeStroke:this.closeStroke();break;case r.OPS.closeFillStroke:this.closeFillStroke();break;case r.OPS.closeEOFillStroke:this.closeEOFillStroke();break;case r.OPS.nextLine:this.nextLine();break;case r.OPS.transform:this.transform(s[0],s[1],s[2],s[3],s[4],s[5]);break;case r.OPS.constructPath:this.constructPath(s[0],s[1]);break;case r.OPS.endPath:this.endPath();break;case 92:this.group(a.items);break;default:(0,r.warn)("Unimplemented operator ".concat(o))}}}catch(e){n.e(e)}finally{n.f()}}},{key:"setWordSpacing",value:function(e){this.current.wordSpacing=e}},{key:"setCharSpacing",value:function(e){this.current.charSpacing=e}},{key:"nextLine",value:function(){this.moveText(0,this.current.leading)}},{key:"setTextMatrix",value:function(e,t,n,r,a,o){var i=this.current;i.textMatrix=i.lineMatrix=[e,t,n,r,a,o],i.textMatrixScale=Math.hypot(e,t),i.x=i.lineX=0,i.y=i.lineY=0,i.xcoords=[],i.ycoords=[],i.tspan=this.svgFactory.createElement("svg:tspan"),i.tspan.setAttributeNS(null,"font-family",i.fontFamily),i.tspan.setAttributeNS(null,"font-size","".concat(m(i.fontSize),"px")),i.tspan.setAttributeNS(null,"y",m(-i.y)),i.txtElement=this.svgFactory.createElement("svg:text"),i.txtElement.appendChild(i.tspan)}},{key:"beginText",value:function(){var e=this.current;e.x=e.lineX=0,e.y=e.lineY=0,e.textMatrix=r.IDENTITY_MATRIX,e.lineMatrix=r.IDENTITY_MATRIX,e.textMatrixScale=1,e.tspan=this.svgFactory.createElement("svg:tspan"),e.txtElement=this.svgFactory.createElement("svg:text"),e.txtgrp=this.svgFactory.createElement("svg:g"),e.xcoords=[],e.ycoords=[]}},{key:"moveText",value:function(e,t){var n=this.current;n.x=n.lineX+=e,n.y=n.lineY+=t,n.xcoords=[],n.ycoords=[],n.tspan=this.svgFactory.createElement("svg:tspan"),n.tspan.setAttributeNS(null,"font-family",n.fontFamily),n.tspan.setAttributeNS(null,"font-size","".concat(m(n.fontSize),"px")),n.tspan.setAttributeNS(null,"y",m(-n.y))}},{key:"showText",value:function(e){var t=this.current,n=t.font,a=t.fontSize;if(0!==a){var o,i=t.fontSizeScale,s=t.charSpacing,c=t.wordSpacing,u=t.fontDirection,d=t.textHScale*u,f=n.vertical,h=f?1:-1,p=n.defaultVMetrics,g=a*t.fontMatrix[0],y=0,O=l(e);try{for(O.s();!(o=O.n()).done;){var w=o.value;if(null!==w)if((0,r.isNum)(w))y+=h*w*a/1e3;else{var _=(w.isSpace?c:0)+s,j=w.fontChar,k=void 0,x=void 0,S=w.width;if(f){var C=void 0,M=w.vmetric||p;C=-(C=w.vmetric?M[1]:.5*S)*g;var A=M[2]*g;S=M?-M[0]:S,k=C/i,x=(y+A)/i}else k=y/i,x=0;(w.isInFont||n.missingFile)&&(t.xcoords.push(t.x+k),f&&t.ycoords.push(-t.y+x),t.tspan.textContent+=j),y+=f?S*g-_*u:S*g+_*u}else y+=u*c}}catch(e){O.e(e)}finally{O.f()}t.tspan.setAttributeNS(null,"x",t.xcoords.map(m).join(" ")),f?t.tspan.setAttributeNS(null,"y",t.ycoords.map(m).join(" ")):t.tspan.setAttributeNS(null,"y",m(-t.y)),f?t.y-=y:t.x+=y*d,t.tspan.setAttributeNS(null,"font-family",t.fontFamily),t.tspan.setAttributeNS(null,"font-size","".concat(m(t.fontSize),"px")),t.fontStyle!==b.fontStyle&&t.tspan.setAttributeNS(null,"font-style",t.fontStyle),t.fontWeight!==b.fontWeight&&t.tspan.setAttributeNS(null,"font-weight",t.fontWeight);var T=t.textRenderingMode&r.TextRenderingMode.FILL_STROKE_MASK;if(T===r.TextRenderingMode.FILL||T===r.TextRenderingMode.FILL_STROKE?(t.fillColor!==b.fillColor&&t.tspan.setAttributeNS(null,"fill",t.fillColor),t.fillAlpha<1&&t.tspan.setAttributeNS(null,"fill-opacity",t.fillAlpha)):t.textRenderingMode===r.TextRenderingMode.ADD_TO_PATH?t.tspan.setAttributeNS(null,"fill","transparent"):t.tspan.setAttributeNS(null,"fill","none"),T===r.TextRenderingMode.STROKE||T===r.TextRenderingMode.FILL_STROKE){var E=1/(t.textMatrixScale||1);this._setStrokeAttributes(t.tspan,E)}var L=t.textMatrix;0!==t.textRise&&((L=L.slice())[5]+=t.textRise),t.txtElement.setAttributeNS(null,"transform","".concat(v(L)," scale(").concat(m(d),", -1)")),t.txtElement.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),t.txtElement.appendChild(t.tspan),t.txtgrp.appendChild(t.txtElement),this._ensureTransformGroup().appendChild(t.txtElement)}}},{key:"setLeadingMoveText",value:function(e,t){this.setLeading(-t),this.moveText(e,t)}},{key:"addFontStyle",value:function(e){if(!e.data)throw new Error('addFontStyle: No font data available, ensure that the "fontExtraProperties" API parameter is set.');this.cssStyle||(this.cssStyle=this.svgFactory.createElement("svg:style"),this.cssStyle.setAttributeNS(null,"type","text/css"),this.defs.appendChild(this.cssStyle));var t=(0,r.createObjectURL)(e.data,e.mimetype,this.forceDataSchema);this.cssStyle.textContent+='@font-face { font-family: "'.concat(e.loadedName,'";')+" src: url(".concat(t,"); }\n")}},{key:"setFont",value:function(e){var t=this.current,n=this.commonObjs.get(e[0]),a=e[1];t.font=n,!this.embedFonts||n.missingFile||this.embeddedFonts[n.loadedName]||(this.addFontStyle(n),this.embeddedFonts[n.loadedName]=n),t.fontMatrix=n.fontMatrix||r.FONT_IDENTITY_MATRIX;var o="normal";n.black?o="900":n.bold&&(o="bold");var i=n.italic?"italic":"normal";a<0?(a=-a,t.fontDirection=-1):t.fontDirection=1,t.fontSize=a,t.fontFamily=n.loadedName,t.fontWeight=o,t.fontStyle=i,t.tspan=this.svgFactory.createElement("svg:tspan"),t.tspan.setAttributeNS(null,"y",m(-t.y)),t.xcoords=[],t.ycoords=[]}},{key:"endText",value:function(){var e,t=this.current;t.textRenderingMode&r.TextRenderingMode.ADD_TO_PATH_FLAG&&null!==(e=t.txtElement)&&void 0!==e&&e.hasChildNodes()&&(t.element=t.txtElement,this.clip("nonzero"),this.endPath())}},{key:"setLineWidth",value:function(e){e>0&&(this.current.lineWidth=e)}},{key:"setLineCap",value:function(e){this.current.lineCap=g[e]}},{key:"setLineJoin",value:function(e){this.current.lineJoin=y[e]}},{key:"setMiterLimit",value:function(e){this.current.miterLimit=e}},{key:"setStrokeAlpha",value:function(e){this.current.strokeAlpha=e}},{key:"setStrokeRGBColor",value:function(e,t,n){this.current.strokeColor=r.Util.makeHexColor(e,t,n)}},{key:"setFillAlpha",value:function(e){this.current.fillAlpha=e}},{key:"setFillRGBColor",value:function(e,t,n){this.current.fillColor=r.Util.makeHexColor(e,t,n),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[],this.current.ycoords=[]}},{key:"setStrokeColorN",value:function(e){this.current.strokeColor=this._makeColorN_Pattern(e)}},{key:"setFillColorN",value:function(e){this.current.fillColor=this._makeColorN_Pattern(e)}},{key:"shadingFill",value:function(e){var t=this.viewport.width,n=this.viewport.height,a=r.Util.inverseTransform(this.transformMatrix),o=r.Util.applyTransform([0,0],a),i=r.Util.applyTransform([0,n],a),s=r.Util.applyTransform([t,0],a),l=r.Util.applyTransform([t,n],a),c=Math.min(o[0],i[0],s[0],l[0]),u=Math.min(o[1],i[1],s[1],l[1]),d=Math.max(o[0],i[0],s[0],l[0]),f=Math.max(o[1],i[1],s[1],l[1]),h=this.svgFactory.createElement("svg:rect");h.setAttributeNS(null,"x",c),h.setAttributeNS(null,"y",u),h.setAttributeNS(null,"width",d-c),h.setAttributeNS(null,"height",f-u),h.setAttributeNS(null,"fill",this._makeShadingPattern(e)),this.current.fillAlpha<1&&h.setAttributeNS(null,"fill-opacity",this.current.fillAlpha),this._ensureTransformGroup().appendChild(h)}},{key:"_makeColorN_Pattern",value:function(e){return"TilingPattern"===e[0]?this._makeTilingPattern(e):this._makeShadingPattern(e)}},{key:"_makeTilingPattern",value:function(e){var t=e[1],n=e[2],a=e[3]||r.IDENTITY_MATRIX,o=s(e[4],4),l=o[0],c=o[1],u=o[2],d=o[3],f=e[5],h=e[6],p=e[7],m="shading".concat(k++),v=s(r.Util.applyTransform([l,c],a),2),b=v[0],g=v[1],y=s(r.Util.applyTransform([u,d],a),2),O=y[0],w=y[1],_=s(r.Util.singularValueDecompose2dScale(a),2),j=f*_[0],x=h*_[1],S=this.svgFactory.createElement("svg:pattern");S.setAttributeNS(null,"id",m),S.setAttributeNS(null,"patternUnits","userSpaceOnUse"),S.setAttributeNS(null,"width",j),S.setAttributeNS(null,"height",x),S.setAttributeNS(null,"x","".concat(b)),S.setAttributeNS(null,"y","".concat(g));var C=this.svg,M=this.transformMatrix,A=this.current.fillColor,T=this.current.strokeColor,E=this.svgFactory.create(O-b,w-g);if(this.svg=E,this.transformMatrix=a,2===p){var L=r.Util.makeHexColor.apply(r.Util,i(t));this.current.fillColor=L,this.current.strokeColor=L}return this.executeOpTree(this.convertOpList(n)),this.svg=C,this.transformMatrix=M,this.current.fillColor=A,this.current.strokeColor=T,S.appendChild(E.childNodes[0]),this.defs.appendChild(S),"url(#".concat(m,")")}},{key:"_makeShadingPattern",value:function(e){switch(e[0]){case"RadialAxial":var t,n="shading".concat(k++),a=e[3];switch(e[1]){case"axial":var o=e[4],i=e[5];(t=this.svgFactory.createElement("svg:linearGradient")).setAttributeNS(null,"id",n),t.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),t.setAttributeNS(null,"x1",o[0]),t.setAttributeNS(null,"y1",o[1]),t.setAttributeNS(null,"x2",i[0]),t.setAttributeNS(null,"y2",i[1]);break;case"radial":var s=e[4],c=e[5],u=e[6],d=e[7];(t=this.svgFactory.createElement("svg:radialGradient")).setAttributeNS(null,"id",n),t.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),t.setAttributeNS(null,"cx",c[0]),t.setAttributeNS(null,"cy",c[1]),t.setAttributeNS(null,"r",d),t.setAttributeNS(null,"fx",s[0]),t.setAttributeNS(null,"fy",s[1]),t.setAttributeNS(null,"fr",u);break;default:throw new Error("Unknown RadialAxial type: ".concat(e[1]))}var f,h=l(a);try{for(h.s();!(f=h.n()).done;){var p=f.value,m=this.svgFactory.createElement("svg:stop");m.setAttributeNS(null,"offset",p[0]),m.setAttributeNS(null,"stop-color",p[1]),t.appendChild(m)}}catch(e){h.e(e)}finally{h.f()}return this.defs.appendChild(t),"url(#".concat(n,")");case"Mesh":return(0,r.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error("Unknown IR type: ".concat(e[0]))}}},{key:"setDash",value:function(e,t){this.current.dashArray=e,this.current.dashPhase=t}},{key:"constructPath",value:function(e,t){var n,a=this.current,o=a.x,i=a.y,s=[],c=0,u=l(e);try{for(u.s();!(n=u.n()).done;)switch(0|n.value){case r.OPS.rectangle:o=t[c++],i=t[c++];var d=t[c++],f=t[c++],h=o+d,p=i+f;s.push("M",m(o),m(i),"L",m(h),m(i),"L",m(h),m(p),"L",m(o),m(p),"Z");break;case r.OPS.moveTo:o=t[c++],i=t[c++],s.push("M",m(o),m(i));break;case r.OPS.lineTo:o=t[c++],i=t[c++],s.push("L",m(o),m(i));break;case r.OPS.curveTo:o=t[c+4],i=t[c+5],s.push("C",m(t[c]),m(t[c+1]),m(t[c+2]),m(t[c+3]),m(o),m(i)),c+=6;break;case r.OPS.curveTo2:s.push("C",m(o),m(i),m(t[c]),m(t[c+1]),m(t[c+2]),m(t[c+3])),o=t[c+2],i=t[c+3],c+=4;break;case r.OPS.curveTo3:o=t[c+2],i=t[c+3],s.push("C",m(t[c]),m(t[c+1]),m(o),m(i),m(o),m(i)),c+=4;break;case r.OPS.closePath:s.push("Z")}}catch(e){u.e(e)}finally{u.f()}s=s.join(" "),a.path&&e.length>0&&e[0]!==r.OPS.rectangle&&e[0]!==r.OPS.moveTo?s=a.path.getAttributeNS(null,"d")+s:(a.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().appendChild(a.path)),a.path.setAttributeNS(null,"d",s),a.path.setAttributeNS(null,"fill","none"),a.element=a.path,a.setCurrentPoint(o,i)}},{key:"endPath",value:function(){var e=this.current;if(e.path=null,this.pendingClip)if(e.element){var t="clippath".concat(_++),n=this.svgFactory.createElement("svg:clipPath");n.setAttributeNS(null,"id",t),n.setAttributeNS(null,"transform",v(this.transformMatrix));var r=e.element.cloneNode(!0);if("evenodd"===this.pendingClip?r.setAttributeNS(null,"clip-rule","evenodd"):r.setAttributeNS(null,"clip-rule","nonzero"),this.pendingClip=null,n.appendChild(r),this.defs.appendChild(n),e.activeClipUrl){e.clipGroup=null;var a,o=l(this.extraStack);try{for(o.s();!(a=o.n()).done;)a.value.clipGroup=null}catch(e){o.e(e)}finally{o.f()}n.setAttributeNS(null,"clip-path",e.activeClipUrl)}e.activeClipUrl="url(#".concat(t,")"),this.tgrp=null}else this.pendingClip=null}},{key:"clip",value:function(e){this.pendingClip=e}},{key:"closePath",value:function(){var e=this.current;if(e.path){var t="".concat(e.path.getAttributeNS(null,"d"),"Z");e.path.setAttributeNS(null,"d",t)}}},{key:"setLeading",value:function(e){this.current.leading=-e}},{key:"setTextRise",value:function(e){this.current.textRise=e}},{key:"setTextRenderingMode",value:function(e){this.current.textRenderingMode=e}},{key:"setHScale",value:function(e){this.current.textHScale=e/100}},{key:"setRenderingIntent",value:function(e){}},{key:"setFlatness",value:function(e){}},{key:"setGState",value:function(e){var t,n=l(e);try{for(n.s();!(t=n.n()).done;){var a=s(t.value,2),o=a[0],i=a[1];switch(o){case"LW":this.setLineWidth(i);break;case"LC":this.setLineCap(i);break;case"LJ":this.setLineJoin(i);break;case"ML":this.setMiterLimit(i);break;case"D":this.setDash(i[0],i[1]);break;case"RI":this.setRenderingIntent(i);break;case"FL":this.setFlatness(i);break;case"Font":this.setFont(i);break;case"CA":this.setStrokeAlpha(i);break;case"ca":this.setFillAlpha(i);break;default:(0,r.warn)("Unimplemented graphic state operator ".concat(o))}}}catch(e){n.e(e)}finally{n.f()}}},{key:"fill",value:function(){var e=this.current;e.element&&(e.element.setAttributeNS(null,"fill",e.fillColor),e.element.setAttributeNS(null,"fill-opacity",e.fillAlpha),this.endPath())}},{key:"stroke",value:function(){var e=this.current;e.element&&(this._setStrokeAttributes(e.element),e.element.setAttributeNS(null,"fill","none"),this.endPath())}},{key:"_setStrokeAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.current,r=n.dashArray;1!==t&&r.length>0&&(r=r.map((function(e){return t*e}))),e.setAttributeNS(null,"stroke",n.strokeColor),e.setAttributeNS(null,"stroke-opacity",n.strokeAlpha),e.setAttributeNS(null,"stroke-miterlimit",m(n.miterLimit)),e.setAttributeNS(null,"stroke-linecap",n.lineCap),e.setAttributeNS(null,"stroke-linejoin",n.lineJoin),e.setAttributeNS(null,"stroke-width",m(t*n.lineWidth)+"px"),e.setAttributeNS(null,"stroke-dasharray",r.map(m).join(" ")),e.setAttributeNS(null,"stroke-dashoffset",m(t*n.dashPhase)+"px")}},{key:"eoFill",value:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}},{key:"fillStroke",value:function(){this.stroke(),this.fill()}},{key:"eoFillStroke",value:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}},{key:"closeStroke",value:function(){this.closePath(),this.stroke()}},{key:"closeFillStroke",value:function(){this.closePath(),this.fillStroke()}},{key:"closeEOFillStroke",value:function(){this.closePath(),this.eoFillStroke()}},{key:"paintSolidColorImageMask",value:function(){var e=this.svgFactory.createElement("svg:rect");e.setAttributeNS(null,"x","0"),e.setAttributeNS(null,"y","0"),e.setAttributeNS(null,"width","1px"),e.setAttributeNS(null,"height","1px"),e.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().appendChild(e)}},{key:"paintImageXObject",value:function(e){var t=e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e);t?this.paintInlineImageXObject(t):(0,r.warn)("Dependent image with object ID ".concat(e," is not ready yet"))}},{key:"paintInlineImageXObject",value:function(e,t){var n=e.width,r=e.height,a=O(e,this.forceDataSchema,!!t),o=this.svgFactory.createElement("svg:rect");o.setAttributeNS(null,"x","0"),o.setAttributeNS(null,"y","0"),o.setAttributeNS(null,"width",m(n)),o.setAttributeNS(null,"height",m(r)),this.current.element=o,this.clip("nonzero");var i=this.svgFactory.createElement("svg:image");i.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a),i.setAttributeNS(null,"x","0"),i.setAttributeNS(null,"y",m(-r)),i.setAttributeNS(null,"width",m(n)+"px"),i.setAttributeNS(null,"height",m(r)+"px"),i.setAttributeNS(null,"transform","scale(".concat(m(1/n)," ").concat(m(-1/r),")")),t?t.appendChild(i):this._ensureTransformGroup().appendChild(i)}},{key:"paintImageMaskXObject",value:function(e){var t=this.current,n=e.width,r=e.height,a=t.fillColor;t.maskId="mask".concat(j++);var o=this.svgFactory.createElement("svg:mask");o.setAttributeNS(null,"id",t.maskId);var i=this.svgFactory.createElement("svg:rect");i.setAttributeNS(null,"x","0"),i.setAttributeNS(null,"y","0"),i.setAttributeNS(null,"width",m(n)),i.setAttributeNS(null,"height",m(r)),i.setAttributeNS(null,"fill",a),i.setAttributeNS(null,"mask","url(#".concat(t.maskId,")")),this.defs.appendChild(o),this._ensureTransformGroup().appendChild(i),this.paintInlineImageXObject(e,o)}},{key:"paintFormXObjectBegin",value:function(e,t){if(Array.isArray(e)&&6===e.length&&this.transform(e[0],e[1],e[2],e[3],e[4],e[5]),t){var n=t[2]-t[0],r=t[3]-t[1],a=this.svgFactory.createElement("svg:rect");a.setAttributeNS(null,"x",t[0]),a.setAttributeNS(null,"y",t[1]),a.setAttributeNS(null,"width",m(n)),a.setAttributeNS(null,"height",m(r)),this.current.element=a,this.clip("nonzero"),this.endPath()}}},{key:"paintFormXObjectEnd",value:function(){}},{key:"_initialize",value:function(e){var t=this.svgFactory.create(e.width,e.height),n=this.svgFactory.createElement("svg:defs");t.appendChild(n),this.defs=n;var r=this.svgFactory.createElement("svg:g");return r.setAttributeNS(null,"transform",v(e.transform)),t.appendChild(r),this.svg=r,t}},{key:"_ensureClipGroup",value:function(){if(!this.current.clipGroup){var e=this.svgFactory.createElement("svg:g");e.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.appendChild(e),this.current.clipGroup=e}return this.current.clipGroup}},{key:"_ensureTransformGroup",value:function(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",v(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().appendChild(this.tgrp):this.svg.appendChild(this.tgrp)),this.tgrp}}]),e}()},(e,t)=>{"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||a(e,t)||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.")}()}function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},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 i,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw i}}}}function a(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.XfaLayer=void 0;var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,a,o;return t=e,o=[{key:"setupStorage",value:function(e,t,n,a){var o=a.getValue(t,{value:null});switch(n.name){case"textarea":e.textContent=null!==o.value?o.value:"",e.addEventListener("input",(function(e){a.setValue(t,{value:e.target.value})}));break;case"input":null!==o.value&&e.setAttribute("value",o.value),"radio"===n.attributes.type?e.addEventListener("change",(function(e){var n,o=e.target,i=r(document.getElementsByName(o.name));try{for(i.s();!(n=i.n()).done;){var s=n.value;if(s!==o){var l=s.id;a.setValue(l.split("-")[0],{value:!1})}}}catch(e){i.e(e)}finally{i.f()}a.setValue(t,{value:o.checked})})):e.addEventListener("input",(function(e){a.setValue(t,{value:e.target.value})}));break;case"select":if(null!==o.value){var i,s=r(n.children);try{for(s.s();!(i=s.n()).done;){var l=i.value;l.attributes.value===o.value&&(l.attributes.selected=!0)}}catch(e){s.e(e)}finally{s.f()}}e.addEventListener("input",(function(e){var n=e.target.options,r=-1===n.selectedIndex?null:n[n.selectedIndex].value;a.setValue(t,{value:r})}))}}},{key:"setAttributes",value:function(e,t,r){for(var a=t.attributes,o=0,i=Object.entries(a);o<i.length;o++){var s=n(i[o],2),l=s[0],c=s[1];null!=c&&"fieldId"!==l&&("style"!==l?"textContent"===l?e.textContent=c:e.setAttribute(l,c):Object.assign(e.style,c))}r&&void 0!==a.fieldId&&this.setupStorage(e,a.fieldId,t,r)}},{key:"render",value:function(e){var t=e.annotationStorage,r=e.xfa,a=document.createElement(r.name);r.attributes&&this.setAttributes(a,r);var o=[[r,-1,a]],i=e.div;i.appendChild(a);var s=e.viewport.transform.join(",");for(i.style.transform="matrix(".concat(s,")"),i.setAttribute("class","xfaLayer xfaFont");o.length>0;){var l=n(o[o.length-1],3),c=l[0],u=l[1],d=l[2];if(u+1!==c.children.length){var f=c.children[++o[o.length-1][1]];if(null!==f){var h=f.name;if("#text"!==h){var p=document.createElement(h);d.appendChild(p),f.attributes&&this.setAttributes(p,f,t),f.children&&f.children.length>0?o.push([f,-1,p]):f.value&&p.appendChild(document.createTextNode(f.value))}else d.appendChild(document.createTextNode(f.value))}}else o.pop()}}},{key:"update",value:function(e){var t="matrix(".concat(e.viewport.transform.join(","),")");e.div.style.transform=t,e.div.hidden=!1}}],(a=null)&&i(t.prototype,a),o&&i(t,o),e}();t.XfaLayer=s},(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNodeStream=void 0;var a,o=(a=n(2))&&a.__esModule?a:{default:a},i=n(4),s=n(131);function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function u(e){var t=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(e){return!1}}();return function(){var n,r=f(e);if(t){var a=f(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function h(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){h(o,r,a,i,s,"next",e)}function s(e){h(o,r,a,i,s,"throw",e)}i(void 0)}))}}function m(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t,n){return t&&g(e.prototype,t),n&&g(e,n),e}var O=__webpack_require__(767),w=__webpack_require__(251),_=__webpack_require__(677),j=__webpack_require__(543),k=/^file:\/\/\/[a-zA-Z]:\//,x=function(){function e(t){var n,r;b(this,e),this.source=t,this.url=(n=t.url,"file:"===(r=j.parse(n)).protocol||r.host?r:/^[a-z]:[/\\]/i.test(n)?j.parse("file:///".concat(n)):(r.host||(r.protocol="file:"),r)),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return y(e,[{key:"_progressiveDataLength",get:function(){var e,t;return null!==(e=null===(t=this._fullRequestReader)||void 0===t?void 0:t._loaded)&&void 0!==e?e:0}},{key:"getFullReader",value:function(){return(0,i.assert)(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new E(this):new A(this),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var n=this.isFsUrl?new L(this,e,t):new T(this,e,t);return this._rangeRequestReaders.push(n),n}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t,n=m(this._rangeRequestReaders.slice(0));try{for(n.s();!(t=n.n()).done;)t.value.cancel(e)}catch(e){n.e(e)}finally{n.f()}}}]),e}();t.PDFNodeStream=x;var S=function(){function e(t){b(this,e),this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null;var n=t.source;this._contentLength=n.length,this._loaded=0,this._filename=null,this._disableRange=n.disableRange||!1,this._rangeChunkSize=n.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!n.disableStream,this._isRangeSupported=!n.disableRange,this._readableStream=null,this._readCapability=(0,i.createPromiseCapability)(),this._headersCapability=(0,i.createPromiseCapability)()}var t;return y(e,[{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"read",value:(t=p(o.default.mark((function e(){var t,n;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:if(!this._done){e.next=4;break}return e.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){e.next=6;break}throw this._storedError;case 6:if(null!==(t=this._readableStream.read())){e.next=10;break}return this._readCapability=(0,i.createPromiseCapability)(),e.abrupt("return",this.read());case 10:return this._loaded+=t.length,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),n=new Uint8Array(t).buffer,e.abrupt("return",{value:n,done:!1});case 14:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}},{key:"_error",value:function(e){this._storedError=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",(function(){t._readCapability.resolve()})),e.on("end",(function(){e.destroy(),t._done=!0,t._readCapability.resolve()})),e.on("error",(function(e){t._error(e)})),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new i.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}]),e}(),C=function(){function e(t){b(this,e),this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,i.createPromiseCapability)();var n=t.source;this._isStreamingSupported=!n.disableStream}var t;return y(e,[{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"read",value:(t=p(o.default.mark((function e(){var t,n;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:if(!this._done){e.next=4;break}return e.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){e.next=6;break}throw this._storedError;case 6:if(null!==(t=this._readableStream.read())){e.next=10;break}return this._readCapability=(0,i.createPromiseCapability)(),e.abrupt("return",this.read());case 10:return this._loaded+=t.length,this.onProgress&&this.onProgress({loaded:this._loaded}),n=new Uint8Array(t).buffer,e.abrupt("return",{value:n,done:!1});case 14:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}},{key:"_error",value:function(e){this._storedError=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",(function(){t._readCapability.resolve()})),e.on("end",(function(){e.destroy(),t._done=!0,t._readCapability.resolve()})),e.on("error",(function(e){t._error(e)})),this._storedError&&this._readableStream.destroy(this._storedError)}}]),e}();function M(e,t){return{protocol:e.protocol,auth:e.auth,host:e.hostname,port:e.port,path:e.path,method:"GET",headers:t}}var A=function(e){l(n,e);var t=u(n);function n(e){var r;b(this,n);var a=function(t){if(404===t.statusCode){var n=new i.MissingPDFException('Missing PDF "'.concat(r._url,'".'));return r._storedError=n,void r._headersCapability.reject(n)}r._headersCapability.resolve(),r._setReadableStream(t);var a=function(e){return r._readableStream.headers[e.toLowerCase()]},o=(0,s.validateRangeRequestCapabilities)({getResponseHeader:a,isHttp:e.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),l=o.allowRangeRequests,c=o.suggestedLength;r._isRangeSupported=l,r._contentLength=c||r._contentLength,r._filename=(0,s.extractFilenameFromHeader)(a)};return(r=t.call(this,e))._request=null,"http:"===r._url.protocol?r._request=w.request(M(r._url,e.httpHeaders),a):r._request=_.request(M(r._url,e.httpHeaders),a),r._request.on("error",(function(e){r._storedError=e,r._headersCapability.reject(e)})),r._request.end(),r}return n}(S),T=function(e){l(n,e);var t=u(n);function n(e,r,a){var o;for(var s in b(this,n),(o=t.call(this,e))._httpHeaders={},e.httpHeaders){var l=e.httpHeaders[s];void 0!==l&&(o._httpHeaders[s]=l)}o._httpHeaders.Range="bytes=".concat(r,"-").concat(a-1);var c=function(e){if(404!==e.statusCode)o._setReadableStream(e);else{var t=new i.MissingPDFException('Missing PDF "'.concat(o._url,'".'));o._storedError=t}};return o._request=null,"http:"===o._url.protocol?o._request=w.request(M(o._url,o._httpHeaders),c):o._request=_.request(M(o._url,o._httpHeaders),c),o._request.on("error",(function(e){o._storedError=e})),o._request.end(),o}return n}(C),E=function(e){l(n,e);var t=u(n);function n(e){var r;b(this,n),r=t.call(this,e);var a=decodeURIComponent(r._url.path);return k.test(r._url.href)&&(a=a.replace(/^\//,"")),O.lstat(a,(function(e,t){if(e)return"ENOENT"===e.code&&(e=new i.MissingPDFException('Missing PDF "'.concat(a,'".'))),r._storedError=e,void r._headersCapability.reject(e);r._contentLength=t.size,r._setReadableStream(O.createReadStream(a)),r._headersCapability.resolve()})),r}return n}(S),L=function(e){l(n,e);var t=u(n);function n(e,r,a){var o;b(this,n),o=t.call(this,e);var i=decodeURIComponent(o._url.path);return k.test(o._url.href)&&(i=i.replace(/^\//,"")),o._setReadableStream(O.createReadStream(i,{start:r,end:a-1})),o}return n}(C)},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createResponseStatusError=function(e,t){return 404===e||0===e&&t.startsWith("file:")?new r.MissingPDFException('Missing PDF "'+t+'".'):new r.UnexpectedResponseException("Unexpected server response (".concat(e,') while retrieving PDF "').concat(t,'".'),e)},t.extractFilenameFromHeader=function(e){var t=e("Content-Disposition");if(t){var n=(0,a.getFilenameFromContentDispositionHeader)(t);if(n.includes("%"))try{n=decodeURIComponent(n)}catch(e){}if((0,o.isPdfFile)(n))return n}return null},t.validateRangeRequestCapabilities=function(e){var t=e.getResponseHeader,n=e.isHttp,a=e.rangeChunkSize,o=e.disableRange;(0,r.assert)(a>0,"Range chunk size must be larger than zero");var i={allowRangeRequests:!1,suggestedLength:void 0},s=parseInt(t("Content-Length"),10);return Number.isInteger(s)?(i.suggestedLength=s,s<=2*a||o||!n||"bytes"!==t("Accept-Ranges")||"identity"!==(t("Content-Encoding")||"identity")||(i.allowRangeRequests=!0),i):i},t.validateResponseStatus=function(e){return 200===e||206===e};var r=n(4),a=n(132),o=n(1)},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFilenameFromContentDispositionHeader=function(e){var t=!0,n=s("filename\\*","i").exec(e);if(n){var o=u(n=n[1]);return c(o=f(o=d(o=unescape(o))))}if(n=function(e){for(var t,n=[],r=s("filename\\*((?!0\\d)\\d+)(\\*?)","ig");null!==(t=r.exec(e));){var o=a(t,4),i=o[1],l=o[2],c=o[3];if((i=parseInt(i,10))in n){if(0===i)break}else n[i]=[l,c]}for(var f=[],h=0;h<n.length&&h in n;++h){var p=a(n[h],2),m=p[0],v=p[1];v=u(v),m&&(v=unescape(v),0===h&&(v=d(v))),f.push(v)}return f.join("")}(e))return c(f(n));if(n=s("filename","i").exec(e)){var i=u(n=n[1]);return c(i=f(i))}function s(e,t){return new RegExp("(?:^|;)\\s*"+e+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',t)}function l(e,n){if(e){if(!/^[\x00-\xFF]+$/.test(n))return n;try{var a=new TextDecoder(e,{fatal:!0}),o=(0,r.stringToBytes)(n);n=a.decode(o),t=!1}catch(r){if(/^utf-?8$/i.test(e))try{n=decodeURIComponent(escape(n)),t=!1}catch(e){}}}return n}function c(e){return t&&/[\x80-\xff]/.test(e)&&(e=l("utf-8",e),t&&(e=l("iso-8859-1",e))),e}function u(e){if(e.startsWith('"')){for(var t=e.slice(1).split('\\"'),n=0;n<t.length;++n){var r=t[n].indexOf('"');-1!==r&&(t[n]=t[n].slice(0,r),t.length=n+1),t[n]=t[n].replace(/\\(.)/g,"$1")}e=t.join('"')}return e}function d(e){var t=e.indexOf("'");return-1===t?e:l(e.slice(0,t),e.slice(t+1).replace(/^[^']*'/,""))}function f(e){return!e.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(e)?e:e.replace(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,(function(e,t,n,r){if("q"===n||"Q"===n)return l(t,r=(r=r.replace(/_/g," ")).replace(/=([0-9a-fA-F]{2})/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})));try{r=atob(r)}catch(e){}return l(t,r)}))}return""};var r=n(4);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||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.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNetworkStream=void 0;var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(4),i=n(131);function s(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function l(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){s(o,r,a,i,l,"next",e)}function l(e){s(o,r,a,i,l,"throw",e)}i(void 0)}))}}function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}var p=function(){function e(t,n){d(this,e),this.url=t,n=n||{},this.isHttp=/^https?:/i.test(t),this.httpHeaders=this.isHttp&&n.httpHeaders||{},this.withCredentials=n.withCredentials||!1,this.getXhr=n.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}return h(e,[{key:"requestRange",value:function(e,t,n){var r={begin:e,end:t};for(var a in n)r[a]=n[a];return this.request(r)}},{key:"requestFull",value:function(e){return this.request(e)}},{key:"request",value:function(e){var t=this.getXhr(),n=this.currXhrId++,r=this.pendingRequests[n]={xhr:t};for(var a in t.open("GET",this.url),t.withCredentials=this.withCredentials,this.httpHeaders){var o=this.httpHeaders[a];void 0!==o&&t.setRequestHeader(a,o)}return this.isHttp&&"begin"in e&&"end"in e?(t.setRequestHeader("Range","bytes=".concat(e.begin,"-").concat(e.end-1)),r.expectedStatus=206):r.expectedStatus=200,t.responseType="arraybuffer",e.onError&&(t.onerror=function(n){e.onError(t.status)}),t.onreadystatechange=this.onStateChange.bind(this,n),t.onprogress=this.onProgress.bind(this,n),r.onHeadersReceived=e.onHeadersReceived,r.onDone=e.onDone,r.onError=e.onError,r.onProgress=e.onProgress,t.send(null),n}},{key:"onProgress",value:function(e,t){var n=this.pendingRequests[e];n&&n.onProgress&&n.onProgress(t)}},{key:"onStateChange",value:function(e,t){var n=this.pendingRequests[e];if(n){var r=n.xhr;if(r.readyState>=2&&n.onHeadersReceived&&(n.onHeadersReceived(),delete n.onHeadersReceived),4===r.readyState&&e in this.pendingRequests)if(delete this.pendingRequests[e],0===r.status&&this.isHttp)n.onError&&n.onError(r.status);else{var a=r.status||200;if(200===a&&206===n.expectedStatus||a===n.expectedStatus){var i=function(e){var t=e.response;return"string"!=typeof t?t:(0,o.stringToBytes)(t).buffer}(r);if(206===a){var s=r.getResponseHeader("Content-Range"),l=/bytes (\d+)-(\d+)\/(\d+)/.exec(s);n.onDone({begin:parseInt(l[1],10),chunk:i})}else i?n.onDone({begin:0,chunk:i}):n.onError&&n.onError(r.status)}else n.onError&&n.onError(r.status)}}}},{key:"getRequestXhr",value:function(e){return this.pendingRequests[e].xhr}},{key:"isPendingRequest",value:function(e){return e in this.pendingRequests}},{key:"abortRequest",value:function(e){var t=this.pendingRequests[e].xhr;delete this.pendingRequests[e],t.abort()}}]),e}(),m=function(){function e(t){d(this,e),this._source=t,this._manager=new p(t.url,{httpHeaders:t.httpHeaders,withCredentials:t.withCredentials}),this._rangeChunkSize=t.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}return h(e,[{key:"_onRangeRequestReaderClosed",value:function(e){var t=this._rangeRequestReaders.indexOf(e);t>=0&&this._rangeRequestReaders.splice(t,1)}},{key:"getFullReader",value:function(){return(0,o.assert)(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new v(this._manager,this._source),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){var n=new b(this._manager,e,t);return n.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(n),n}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t,n=c(this._rangeRequestReaders.slice(0));try{for(n.s();!(t=n.n()).done;)t.value.cancel(e)}catch(e){n.e(e)}finally{n.f()}}}]),e}();t.PDFNetworkStream=m;var v=function(){function e(t,n){d(this,e),this._manager=t;var r={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=n.url,this._fullRequestId=t.requestFull(r),this._headersReceivedCapability=(0,o.createPromiseCapability)(),this._disableRange=n.disableRange||!1,this._contentLength=n.length,this._rangeChunkSize=n.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}var t;return h(e,[{key:"_onHeadersReceived",value:function(){var e=this._fullRequestId,t=this._manager.getRequestXhr(e),n=function(e){return t.getResponseHeader(e)},r=(0,i.validateRangeRequestCapabilities)({getResponseHeader:n,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange}),a=r.allowRangeRequests,o=r.suggestedLength;a&&(this._isRangeSupported=!0),this._contentLength=o||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(n),this._isRangeSupported&&this._manager.abortRequest(e),this._headersReceivedCapability.resolve()}},{key:"_onDone",value:function(e){if(e&&(this._requests.length>0?this._requests.shift().resolve({value:e.chunk,done:!1}):this._cachedChunks.push(e.chunk)),this._done=!0,!(this._cachedChunks.length>0)){var t,n=c(this._requests);try{for(n.s();!(t=n.n()).done;)t.value.resolve({value:void 0,done:!0})}catch(e){n.e(e)}finally{n.f()}this._requests.length=0}}},{key:"_onError",value:function(e){var t=this._url,n=(0,i.createResponseStatusError)(e,t);this._storedError=n,this._headersReceivedCapability.reject(n);var r,a=c(this._requests);try{for(a.s();!(r=a.n()).done;)r.value.reject(n)}catch(e){a.e(e)}finally{a.f()}this._requests.length=0,this._cachedChunks.length=0}},{key:"_onProgress",value:function(e){this.onProgress&&this.onProgress({loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"contentLength",get:function(){return this._contentLength}},{key:"headersReady",get:function(){return this._headersReceivedCapability.promise}},{key:"read",value:(t=l(a.default.mark((function e(){var t,n;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._storedError){e.next=2;break}throw this._storedError;case 2:if(!(this._cachedChunks.length>0)){e.next=5;break}return t=this._cachedChunks.shift(),e.abrupt("return",{value:t,done:!1});case 5:if(!this._done){e.next=7;break}return e.abrupt("return",{value:void 0,done:!0});case 7:return n=(0,o.createPromiseCapability)(),this._requests.push(n),e.abrupt("return",n.promise);case 10:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._done=!0,this._headersReceivedCapability.reject(e);var t,n=c(this._requests);try{for(n.s();!(t=n.n()).done;)t.value.resolve({value:void 0,done:!0})}catch(e){n.e(e)}finally{n.f()}this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}]),e}(),b=function(){function e(t,n,r){d(this,e),this._manager=t;var a={onDone:this._onDone.bind(this),onProgress:this._onProgress.bind(this)};this._requestId=t.requestRange(n,r,a),this._requests=[],this._queuedChunk=null,this._done=!1,this.onProgress=null,this.onClosed=null}var t;return h(e,[{key:"_close",value:function(){this.onClosed&&this.onClosed(this)}},{key:"_onDone",value:function(e){var t=e.chunk;this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunk=t,this._done=!0;var n,r=c(this._requests);try{for(r.s();!(n=r.n()).done;)n.value.resolve({value:void 0,done:!0})}catch(e){r.e(e)}finally{r.f()}this._requests.length=0,this._close()}},{key:"_onProgress",value:function(e){!this.isStreamingSupported&&this.onProgress&&this.onProgress({loaded:e.loaded})}},{key:"isStreamingSupported",get:function(){return!1}},{key:"read",value:(t=l(a.default.mark((function e(){var t,n;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===this._queuedChunk){e.next=4;break}return t=this._queuedChunk,this._queuedChunk=null,e.abrupt("return",{value:t,done:!1});case 4:if(!this._done){e.next=6;break}return e.abrupt("return",{value:void 0,done:!0});case 6:return n=(0,o.createPromiseCapability)(),this._requests.push(n),e.abrupt("return",n.promise);case 9:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._done=!0;var t,n=c(this._requests);try{for(n.s();!(t=n.n()).done;)t.value.resolve({value:void 0,done:!0})}catch(e){n.e(e)}finally{n.f()}this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}]),e}()},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFFetchStream=void 0;var r,a=(r=n(2))&&r.__esModule?r:{default:r},o=n(4),i=n(131);function s(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function l(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){s(o,r,a,i,l,"next",e)}function l(e){s(o,r,a,i,l,"throw",e)}i(void 0)}))}}function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}function p(e,t,n){return{method:"GET",headers:e,signal:null==n?void 0:n.signal,mode:"cors",credentials:t?"include":"same-origin",redirect:"follow"}}function m(e){var t=new Headers;for(var n in e){var r=e[n];void 0!==r&&t.append(n,r)}return t}var v=function(){function e(t){d(this,e),this.source=t,this.isHttp=/^https?:/i.test(t.url),this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return h(e,[{key:"_progressiveDataLength",get:function(){var e,t;return null!==(e=null===(t=this._fullRequestReader)||void 0===t?void 0:t._loaded)&&void 0!==e?e:0}},{key:"getFullReader",value:function(){return(0,o.assert)(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new b(this),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var n=new g(this,e,t);return this._rangeRequestReaders.push(n),n}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t,n=c(this._rangeRequestReaders.slice(0));try{for(n.s();!(t=n.n()).done;)t.value.cancel(e)}catch(e){n.e(e)}finally{n.f()}}}]),e}();t.PDFFetchStream=v;var b=function(){function e(t){var n=this;d(this,e),this._stream=t,this._reader=null,this._loaded=0,this._filename=null;var r=t.source;this._withCredentials=r.withCredentials||!1,this._contentLength=r.length,this._headersCapability=(0,o.createPromiseCapability)(),this._disableRange=r.disableRange||!1,this._rangeChunkSize=r.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),"undefined"!=typeof AbortController&&(this._abortController=new AbortController),this._isStreamingSupported=!r.disableStream,this._isRangeSupported=!r.disableRange,this._headers=m(this._stream.httpHeaders);var a=r.url;fetch(a,p(this._headers,this._withCredentials,this._abortController)).then((function(e){if(!(0,i.validateResponseStatus)(e.status))throw(0,i.createResponseStatusError)(e.status,a);n._reader=e.body.getReader(),n._headersCapability.resolve();var t=function(t){return e.headers.get(t)},r=(0,i.validateRangeRequestCapabilities)({getResponseHeader:t,isHttp:n._stream.isHttp,rangeChunkSize:n._rangeChunkSize,disableRange:n._disableRange}),s=r.allowRangeRequests,l=r.suggestedLength;n._isRangeSupported=s,n._contentLength=l||n._contentLength,n._filename=(0,i.extractFilenameFromHeader)(t),!n._isStreamingSupported&&n._isRangeSupported&&n.cancel(new o.AbortException("Streaming is disabled."))})).catch(this._headersCapability.reject),this.onProgress=null}var t;return h(e,[{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"read",value:(t=l(a.default.mark((function e(){var t,n,r,o;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._headersCapability.promise;case 2:return e.next=4,this._reader.read();case 4:if(t=e.sent,n=t.value,!(r=t.done)){e.next=9;break}return e.abrupt("return",{value:n,done:r});case 9:return this._loaded+=n.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),o=new Uint8Array(n).buffer,e.abrupt("return",{value:o,done:!1});case 13:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}}]),e}(),g=function(){function e(t,n,r){var a=this;d(this,e),this._stream=t,this._reader=null,this._loaded=0;var s=t.source;this._withCredentials=s.withCredentials||!1,this._readCapability=(0,o.createPromiseCapability)(),this._isStreamingSupported=!s.disableStream,"undefined"!=typeof AbortController&&(this._abortController=new AbortController),this._headers=m(this._stream.httpHeaders),this._headers.append("Range","bytes=".concat(n,"-").concat(r-1));var l=s.url;fetch(l,p(this._headers,this._withCredentials,this._abortController)).then((function(e){if(!(0,i.validateResponseStatus)(e.status))throw(0,i.createResponseStatusError)(e.status,l);a._readCapability.resolve(),a._reader=e.body.getReader()})).catch((function(e){if("AbortError"!==(null==e?void 0:e.name))throw e})),this.onProgress=null}var t;return h(e,[{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"read",value:(t=l(a.default.mark((function e(){var t,n,r,o;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:return e.next=4,this._reader.read();case 4:if(t=e.sent,n=t.value,!(r=t.done)){e.next=9;break}return e.abrupt("return",{value:n,done:r});case 9:return this._loaded+=n.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded}),o=new Uint8Array(n).buffer,e.abrupt("return",{value:o,done:!1});case 13:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}}]),e}()}],__webpack_module_cache__={};function __w_pdfjs_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__w_pdfjs_require__),n.loaded=!0,n.exports}__w_pdfjs_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var __webpack_exports__={};return(()=>{"use strict";var e=__webpack_exports__;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addLinkAttributes",{enumerable:!0,get:function(){return t.addLinkAttributes}}),Object.defineProperty(e,"getFilenameFromUrl",{enumerable:!0,get:function(){return t.getFilenameFromUrl}}),Object.defineProperty(e,"getPdfFilenameFromUrl",{enumerable:!0,get:function(){return t.getPdfFilenameFromUrl}}),Object.defineProperty(e,"isPdfFile",{enumerable:!0,get:function(){return t.isPdfFile}}),Object.defineProperty(e,"LinkTarget",{enumerable:!0,get:function(){return t.LinkTarget}}),Object.defineProperty(e,"loadScript",{enumerable:!0,get:function(){return t.loadScript}}),Object.defineProperty(e,"PDFDateString",{enumerable:!0,get:function(){return t.PDFDateString}}),Object.defineProperty(e,"RenderingCancelledException",{enumerable:!0,get:function(){return t.RenderingCancelledException}}),Object.defineProperty(e,"build",{enumerable:!0,get:function(){return n.build}}),Object.defineProperty(e,"getDocument",{enumerable:!0,get:function(){return n.getDocument}}),Object.defineProperty(e,"LoopbackPort",{enumerable:!0,get:function(){return n.LoopbackPort}}),Object.defineProperty(e,"PDFDataRangeTransport",{enumerable:!0,get:function(){return n.PDFDataRangeTransport}}),Object.defineProperty(e,"PDFWorker",{enumerable:!0,get:function(){return n.PDFWorker}}),Object.defineProperty(e,"version",{enumerable:!0,get:function(){return n.version}}),Object.defineProperty(e,"CMapCompressionType",{enumerable:!0,get:function(){return r.CMapCompressionType}}),Object.defineProperty(e,"createObjectURL",{enumerable:!0,get:function(){return r.createObjectURL}}),Object.defineProperty(e,"createPromiseCapability",{enumerable:!0,get:function(){return r.createPromiseCapability}}),Object.defineProperty(e,"createValidAbsoluteUrl",{enumerable:!0,get:function(){return r.createValidAbsoluteUrl}}),Object.defineProperty(e,"InvalidPDFException",{enumerable:!0,get:function(){return r.InvalidPDFException}}),Object.defineProperty(e,"MissingPDFException",{enumerable:!0,get:function(){return r.MissingPDFException}}),Object.defineProperty(e,"OPS",{enumerable:!0,get:function(){return r.OPS}}),Object.defineProperty(e,"PasswordResponses",{enumerable:!0,get:function(){return r.PasswordResponses}}),Object.defineProperty(e,"PermissionFlag",{enumerable:!0,get:function(){return r.PermissionFlag}}),Object.defineProperty(e,"removeNullCharacters",{enumerable:!0,get:function(){return r.removeNullCharacters}}),Object.defineProperty(e,"shadow",{enumerable:!0,get:function(){return r.shadow}}),Object.defineProperty(e,"UnexpectedResponseException",{enumerable:!0,get:function(){return r.UnexpectedResponseException}}),Object.defineProperty(e,"UNSUPPORTED_FEATURES",{enumerable:!0,get:function(){return r.UNSUPPORTED_FEATURES}}),Object.defineProperty(e,"Util",{enumerable:!0,get:function(){return r.Util}}),Object.defineProperty(e,"VerbosityLevel",{enumerable:!0,get:function(){return r.VerbosityLevel}}),Object.defineProperty(e,"AnnotationLayer",{enumerable:!0,get:function(){return a.AnnotationLayer}}),Object.defineProperty(e,"apiCompatibilityParams",{enumerable:!0,get:function(){return o.apiCompatibilityParams}}),Object.defineProperty(e,"GlobalWorkerOptions",{enumerable:!0,get:function(){return i.GlobalWorkerOptions}}),Object.defineProperty(e,"renderTextLayer",{enumerable:!0,get:function(){return s.renderTextLayer}}),Object.defineProperty(e,"SVGGraphics",{enumerable:!0,get:function(){return l.SVGGraphics}}),Object.defineProperty(e,"XfaLayer",{enumerable:!0,get:function(){return c.XfaLayer}});var t=__w_pdfjs_require__(1),n=__w_pdfjs_require__(113),r=__w_pdfjs_require__(4),a=__w_pdfjs_require__(125),o=__w_pdfjs_require__(117),i=__w_pdfjs_require__(120),s=__w_pdfjs_require__(127),l=__w_pdfjs_require__(128),c=__w_pdfjs_require__(129);if(__w_pdfjs_require__(6).isNodeJS){var u=__w_pdfjs_require__(130).PDFNodeStream;(0,n.setPDFNetworkStreamFactory)((function(e){return new u(e)}))}else{var d,f=__w_pdfjs_require__(133).PDFNetworkStream;(0,t.isFetchSupported)()&&(d=__w_pdfjs_require__(134).PDFFetchStream),(0,n.setPDFNetworkStreamFactory)((function(e){return d&&(0,t.isValidFetchUrl)(e.url)?new d(e):new f(e)}))}})(),__webpack_exports__})()},module.exports=factory()},102:function(e,t,n){var r;r=function(){return(()=>{"use strict";var e=[,(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultAnnotationLayerFactory=t.AnnotationLayerBuilder=void 0;var r=n(2),a=n(3),o=n(6);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e,t)||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.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}var d=function(){function e(t){var n=t.pageDiv,r=t.pdfPage,o=t.linkService,i=t.downloadManager,s=t.annotationStorage,c=void 0===s?null:s,u=t.imageResourcesPath,d=void 0===u?"":u,f=t.renderInteractiveForms,h=void 0===f||f,p=t.l10n,m=void 0===p?a.NullL10n:p,v=t.enableScripting,b=void 0!==v&&v,g=t.hasJSActionsPromise,y=void 0===g?null:g,O=t.mouseState,w=void 0===O?null:O;l(this,e),this.pageDiv=n,this.pdfPage=r,this.linkService=o,this.downloadManager=i,this.imageResourcesPath=d,this.renderInteractiveForms=h,this.l10n=m,this.annotationStorage=c,this.enableScripting=b,this._hasJSActionsPromise=y,this._mouseState=w,this.div=null,this._cancelled=!1}return u(e,[{key:"render",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"display";return Promise.all([this.pdfPage.getAnnotations({intent:n}),this._hasJSActionsPromise]).then((function(n){var a=i(n,2),o=a[0],s=a[1],l=void 0!==s&&s;if(!t._cancelled&&0!==o.length){var c={viewport:e.clone({dontFlip:!0}),div:t.div,annotations:o,page:t.pdfPage,imageResourcesPath:t.imageResourcesPath,renderInteractiveForms:t.renderInteractiveForms,linkService:t.linkService,downloadManager:t.downloadManager,annotationStorage:t.annotationStorage,enableScripting:t.enableScripting,hasJSActions:l,mouseState:t._mouseState};t.div?r.AnnotationLayer.update(c):(t.div=document.createElement("div"),t.div.className="annotationLayer",t.pageDiv.appendChild(t.div),c.div=t.div,r.AnnotationLayer.render(c),t.l10n.translate(t.div))}}))}},{key:"cancel",value:function(){this._cancelled=!0}},{key:"hide",value:function(){this.div&&(this.div.hidden=!0)}}]),e}();t.AnnotationLayerBuilder=d;var f=function(){function e(){l(this,e)}return u(e,[{key:"createAnnotationLayerBuilder",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:a.NullL10n,l=arguments.length>6&&void 0!==arguments[6]&&arguments[6],c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null;return new d({pageDiv:e,pdfPage:t,imageResourcesPath:r,renderInteractiveForms:i,linkService:new o.SimpleLinkService,l10n:s,annotationStorage:n,enableScripting:l,hasJSActionsPromise:c,mouseState:u})}}]),e}();t.DefaultAnnotationLayerFactory=f},e=>{var t;t="undefined"!=typeof window&&window["pdfjs-dist/build/pdf"]?window["pdfjs-dist/build/pdf"]:n(783),e.exports=t},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getL10nFallback=l,t.NullL10n=void 0;var r,a=(r=n(4))&&r.__esModule?r:{default:r};function o(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var i=e.apply(t,n);function s(e){o(i,r,a,s,l,"next",e)}function l(e){o(i,r,a,s,l,"throw",e)}s(void 0)}))}}var s={of_pages:"of {{pagesCount}}",page_of_pages:"({{pageNumber}} of {{pagesCount}})",document_properties_kb:"{{size_kb}} KB ({{size_b}} bytes)",document_properties_mb:"{{size_mb}} MB ({{size_b}} bytes)",document_properties_date_string:"{{date}}, {{time}}",document_properties_page_size_unit_inches:"in",document_properties_page_size_unit_millimeters:"mm",document_properties_page_size_orientation_portrait:"portrait",document_properties_page_size_orientation_landscape:"landscape",document_properties_page_size_name_a3:"A3",document_properties_page_size_name_a4:"A4",document_properties_page_size_name_letter:"Letter",document_properties_page_size_name_legal:"Legal",document_properties_page_size_dimension_string:"{{width}} × {{height}} {{unit}} ({{orientation}})",document_properties_page_size_dimension_name_string:"{{width}} × {{height}} {{unit}} ({{name}}, {{orientation}})",document_properties_linearized_yes:"Yes",document_properties_linearized_no:"No",print_progress_percent:"{{progress}}%","toggle_sidebar.title":"Toggle Sidebar","toggle_sidebar_notification2.title":"Toggle Sidebar (document contains outline/attachments/layers)",additional_layers:"Additional Layers",page_landmark:"Page {{page}}",thumb_page_title:"Page {{page}}",thumb_page_canvas:"Thumbnail of Page {{page}}",find_reached_top:"Reached top of document, continued from bottom",find_reached_bottom:"Reached end of document, continued from top","find_match_count[one]":"{{current}} of {{total}} match","find_match_count[other]":"{{current}} of {{total}} matches","find_match_count_limit[one]":"More than {{limit}} match","find_match_count_limit[other]":"More than {{limit}} matches",find_not_found:"Phrase not found",error_version_info:"PDF.js v{{version}} (build: {{build}})",error_message:"Message: {{message}}",error_stack:"Stack: {{stack}}",error_file:"File: {{file}}",error_line:"Line: {{line}}",rendering_error:"An error occurred while rendering the page.",page_scale_width:"Page Width",page_scale_fit:"Page Fit",page_scale_auto:"Automatic Zoom",page_scale_actual:"Actual Size",page_scale_percent:"{{scale}}%",loading:"Loading…",loading_error:"An error occurred while loading the PDF.",invalid_file_error:"Invalid or corrupted PDF file.",missing_file_error:"Missing PDF file.",unexpected_response_error:"Unexpected server response.",printing_not_supported:"Warning: Printing is not fully supported by this browser.",printing_not_ready:"Warning: The PDF is not fully loaded for printing.",web_fonts_disabled:"Web fonts are disabled: unable to use embedded PDF fonts."};function l(e,t){switch(e){case"find_match_count":e="find_match_count[".concat(1===t.total?"one":"other","]");break;case"find_match_count_limit":e="find_match_count_limit[".concat(1===t.limit?"one":"other","]")}return s[e]||""}function c(e,t){return t?e.replace(/\{\{\s*(\w+)\s*\}\}/g,(function(e,n){return n in t?t[n]:"{{"+n+"}}"})):e}var u={getLanguage:function(){return i(a.default.mark((function e(){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return","en-us");case 1:case"end":return e.stop()}}),e)})))()},getDirection:function(){return i(a.default.mark((function e(){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return","ltr");case 1:case"end":return e.stop()}}),e)})))()},get:function(e){var t=arguments;return i(a.default.mark((function n(){var r,o;return a.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.length>1&&void 0!==t[1]?t[1]:null,o=t.length>2&&void 0!==t[2]?t[2]:l(e,r),n.abrupt("return",c(o,r));case 3:case"end":return n.stop()}}),n)})))()},translate:function(e){return i(a.default.mark((function e(){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()}};t.NullL10n=u},(e,t,n)=>{e.exports=n(5)},(e,t,n)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var a=function(e){var t,n=Object.prototype,a=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var a=t&&t.prototype instanceof b?t:b,o=Object.create(a.prototype),i=new A(r||[]);return o._invoke=function(e,t,n){var r=f;return function(a,o){if(r===p)throw new Error("Generator is already running");if(r===m){if("throw"===a)throw o;return E()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var s=S(i,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var l=d(e,t,n);if("normal"===l.type){if(r=n.done?m:h,l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=m,n.method="throw",n.arg=l.arg)}}}(e,n,i),o}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f="suspendedStart",h="suspendedYield",p="executing",m="completed",v={};function b(){}function g(){}function y(){}var O={};O[i]=function(){return this};var w=Object.getPrototypeOf,_=w&&w(w(T([])));_&&_!==n&&a.call(_,i)&&(O=_);var j=y.prototype=b.prototype=Object.create(O);function k(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(o,i,s,l){var c=d(e[o],e,i);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"===r(f)&&a.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(f).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,l)}))}l(c.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}}function S(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var a=d(r,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,v;var o=a.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function T(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function n(){for(;++r<e.length;)if(a.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}return{next:E}}function E(){return{value:t,done:!0}}return g.prototype=j.constructor=y,y.constructor=g,g.displayName=c(y,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,l,"GeneratorFunction")),e.prototype=Object.create(j),e},e.awrap=function(e){return{__await:e}},k(x.prototype),x.prototype[s]=function(){return this},e.AsyncIterator=x,e.async=function(t,n,r,a,o){void 0===o&&(o=Promise);var i=new x(u(t,n,r,a),o);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},k(j),c(j,l,"Generator"),j[i]=function(){return this},j.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(M),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,a){return s.type="throw",s.arg=e,n.next=r,a&&(n.method="next",n.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),M(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;M(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}("object"===r(e=n.nmd(e))?e.exports:{});try{regeneratorRuntime=a}catch(e){Function("r","regeneratorRuntime = r")(a)}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SimpleLinkService=t.PDFLinkService=void 0;var r,a=(r=n(4))&&r.__esModule?r:{default:r},o=n(7);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function s(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function l(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){s(o,r,a,i,l,"next",e)}function l(e){s(o,r,a,i,l,"throw",e)}i(void 0)}))}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}var f=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.eventBus,r=t.externalLinkTarget,a=void 0===r?null:r,o=t.externalLinkRel,i=void 0===o?null:o,s=t.externalLinkEnabled,l=void 0===s||s,u=t.ignoreDestinationZoom,d=void 0!==u&&u;c(this,e),this.eventBus=n,this.externalLinkTarget=a,this.externalLinkRel=i,this.externalLinkEnabled=l,this._ignoreDestinationZoom=d,this.baseUrl=null,this.pdfDocument=null,this.pdfViewer=null,this.pdfHistory=null,this._pagesRefCache=null}var t;return d(e,[{key:"setDocument",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.baseUrl=t,this.pdfDocument=e,this._pagesRefCache=Object.create(null)}},{key:"setViewer",value:function(e){this.pdfViewer=e}},{key:"setHistory",value:function(e){this.pdfHistory=e}},{key:"pagesCount",get:function(){return this.pdfDocument?this.pdfDocument.numPages:0}},{key:"page",get:function(){return this.pdfViewer.currentPageNumber},set:function(e){this.pdfViewer.currentPageNumber=e}},{key:"rotation",get:function(){return this.pdfViewer.pagesRotation},set:function(e){this.pdfViewer.pagesRotation=e}},{key:"_goToDestinationHelper",value:function(e){var t,n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2?arguments[2]:void 0,o=a[0];if(o instanceof Object){if(null===(t=this._cachedPageNumber(o)))return void this.pdfDocument.getPageIndex(o).then((function(t){n.cachePageRef(t+1,o),n._goToDestinationHelper(e,r,a)})).catch((function(){console.error('PDFLinkService._goToDestinationHelper: "'.concat(o,'" is not ')+'a valid page reference, for dest="'.concat(e,'".'))}))}else{if(!Number.isInteger(o))return void console.error('PDFLinkService._goToDestinationHelper: "'.concat(o,'" is not ')+'a valid destination reference, for dest="'.concat(e,'".'));t=o+1}!t||t<1||t>this.pagesCount?console.error('PDFLinkService._goToDestinationHelper: "'.concat(t,'" is not ')+'a valid page number, for dest="'.concat(e,'".')):(this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.push({namedDest:r,explicitDest:a,pageNumber:t})),this.pdfViewer.scrollPageIntoView({pageNumber:t,destArray:a,ignoreDestinationZoom:this._ignoreDestinationZoom}))}},{key:"goToDestination",value:(t=l(a.default.mark((function e(t){var n,r;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.pdfDocument){e.next=2;break}return e.abrupt("return");case 2:if("string"!=typeof t){e.next=9;break}return n=t,e.next=6,this.pdfDocument.getDestination(t);case 6:r=e.sent,e.next=13;break;case 9:return n=null,e.next=12,t;case 12:r=e.sent;case 13:if(Array.isArray(r)){e.next=16;break}return console.error('PDFLinkService.goToDestination: "'.concat(r,'" is not ')+'a valid destination array, for dest="'.concat(t,'".')),e.abrupt("return");case 16:this._goToDestinationHelper(t,n,r);case 17:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"goToPage",value:function(e){if(this.pdfDocument){var t="string"==typeof e&&this.pdfViewer.pageLabelToPageNumber(e)||0|e;Number.isInteger(t)&&t>0&&t<=this.pagesCount?(this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.pushPage(t)),this.pdfViewer.scrollPageIntoView({pageNumber:t})):console.error('PDFLinkService.goToPage: "'.concat(e,'" is not a valid page.'))}}},{key:"getDestinationHash",value:function(e){if("string"==typeof e){if(e.length>0)return this.getAnchorUrl("#"+escape(e))}else if(Array.isArray(e)){var t=JSON.stringify(e);if(t.length>0)return this.getAnchorUrl("#"+escape(t))}return this.getAnchorUrl("")}},{key:"getAnchorUrl",value:function(e){return(this.baseUrl||"")+e}},{key:"setHash",value:function(e){var t,n;if(this.pdfDocument)if(e.includes("=")){var r=(0,o.parseQueryString)(e);if("search"in r&&this.eventBus.dispatch("findfromurlhash",{source:this,query:r.search.replace(/"/g,""),phraseSearch:"true"===r.phrase}),"page"in r&&(t=0|r.page||1),"zoom"in r){var a=r.zoom.split(","),s=a[0],l=parseFloat(s);s.includes("Fit")?"Fit"===s||"FitB"===s?n=[null,{name:s}]:"FitH"===s||"FitBH"===s||"FitV"===s||"FitBV"===s?n=[null,{name:s},a.length>1?0|a[1]:null]:"FitR"===s?5!==a.length?console.error('PDFLinkService.setHash: Not enough parameters for "FitR".'):n=[null,{name:s},0|a[1],0|a[2],0|a[3],0|a[4]]:console.error('PDFLinkService.setHash: "'.concat(s,'" is not ')+"a valid zoom value."):n=[null,{name:"XYZ"},a.length>1?0|a[1]:null,a.length>2?0|a[2]:null,l?l/100:s]}n?this.pdfViewer.scrollPageIntoView({pageNumber:t||this.page,destArray:n,allowNegativeOffset:!0}):t&&(this.page=t),"pagemode"in r&&this.eventBus.dispatch("pagemode",{source:this,mode:r.pagemode}),"nameddest"in r&&this.goToDestination(r.nameddest)}else{n=unescape(e);try{n=JSON.parse(n),Array.isArray(n)||(n=n.toString())}catch(e){}if("string"==typeof n||function(e){if(!Array.isArray(e))return!1;var t=e.length;if(t<2)return!1;var n=e[0];if(!("object"===i(n)&&Number.isInteger(n.num)&&Number.isInteger(n.gen)||Number.isInteger(n)&&n>=0))return!1;var r=e[1];if("object"!==i(r)||"string"!=typeof r.name)return!1;var a=!0;switch(r.name){case"XYZ":if(5!==t)return!1;break;case"Fit":case"FitB":return 2===t;case"FitH":case"FitBH":case"FitV":case"FitBV":if(3!==t)return!1;break;case"FitR":if(6!==t)return!1;a=!1;break;default:return!1}for(var o=2;o<t;o++){var s=e[o];if(!("number"==typeof s||a&&null===s))return!1}return!0}(n))return void this.goToDestination(n);console.error('PDFLinkService.setHash: "'.concat(unescape(e),'" is not ')+"a valid destination.")}}},{key:"executeNamedAction",value:function(e){switch(e){case"GoBack":this.pdfHistory&&this.pdfHistory.back();break;case"GoForward":this.pdfHistory&&this.pdfHistory.forward();break;case"NextPage":this.pdfViewer.nextPage();break;case"PrevPage":this.pdfViewer.previousPage();break;case"LastPage":this.page=this.pagesCount;break;case"FirstPage":this.page=1}this.eventBus.dispatch("namedaction",{source:this,action:e})}},{key:"cachePageRef",value:function(e,t){if(t){var n=0===t.gen?"".concat(t.num,"R"):"".concat(t.num,"R").concat(t.gen);this._pagesRefCache[n]=e}}},{key:"_cachedPageNumber",value:function(e){var t,n=0===e.gen?"".concat(e.num,"R"):"".concat(e.num,"R").concat(e.gen);return(null===(t=this._pagesRefCache)||void 0===t?void 0:t[n])||null}},{key:"isPageVisible",value:function(e){return this.pdfViewer.isPageVisible(e)}},{key:"isPageCached",value:function(e){return this.pdfViewer.isPageCached(e)}}]),e}();t.PDFLinkService=f;var h=function(){function e(){c(this,e),this.externalLinkTarget=null,this.externalLinkRel=null,this.externalLinkEnabled=!0,this._ignoreDestinationZoom=!1}var t;return d(e,[{key:"pagesCount",get:function(){return 0}},{key:"page",get:function(){return 0},set:function(e){}},{key:"rotation",get:function(){return 0},set:function(e){}},{key:"goToDestination",value:(t=l(a.default.mark((function e(t){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})},{key:"goToPage",value:function(e){}},{key:"getDestinationHash",value:function(e){return"#"}},{key:"getAnchorUrl",value:function(e){return"#"}},{key:"setHash",value:function(e){}},{key:"executeNamedAction",value:function(e){}},{key:"cachePageRef",value:function(e,t){}},{key:"isPageVisible",value:function(e){return!0}},{key:"isPageCached",value:function(e){return!0}}]),e}();t.SimpleLinkService=h},(e,t)=>{function n(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=s(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw o}}}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function s(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0}),t.apiPageLayoutToSpreadMode=function(e){switch(e){case"SinglePage":case"OneColumn":return d.NONE;case"TwoColumnLeft":case"TwoPageLeft":return d.ODD;case"TwoColumnRight":case"TwoPageRight":return d.EVEN}return d.NONE},t.apiPageModeToSidebarView=function(e){switch(e){case"UseNone":return c.NONE;case"UseThumbs":return c.THUMBS;case"UseOutlines":return c.OUTLINE;case"UseAttachments":return c.ATTACHMENTS;case"UseOC":return c.LAYERS}return c.NONE},t.approximateFraction=function(e){if(Math.floor(e)===e)return[e,1];var t=1/e;if(t>8)return[1,8];if(Math.floor(t)===t)return[1,t];for(var n=e>1?t:e,r=0,a=1,o=1,i=1;;){var s=r+o,l=a+i;if(l>8)break;n<=s/l?(o=s,i=l):(r=s,a=l)}return n-r/a<o/i-n?n===e?[r,a]:[a,r]:n===e?[o,i]:[i,o]},t.backtrackBeforeAllVisibleElements=h,t.binarySearchFirstItem=f,t.getActiveOrFocusedElement=function(){for(var e=document,t=e.activeElement||e.querySelector(":focus");null!==(n=t)&&void 0!==n&&n.shadowRoot;){var n;e=t.shadowRoot,t=e.activeElement||e.querySelector(":focus")}return t},t.getOutputScale=function(e){var t=window.devicePixelRatio||1,n=e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.backingStorePixelRatio||1,r=t/n;return{sx:r,sy:r,scaled:1!==r}},t.getPageSizeInches=function(e){var t,n,r=e.view,a=e.userUnit,o=e.rotate,i=(n=4,function(e){if(Array.isArray(e))return e}(t=r)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(t,n)||s(t,n)||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.")}()),l=i[0],c=i[1],u=i[2],d=i[3],f=o%180!=0,h=(u-l)/72*a,p=(d-c)/72*a;return{width:f?p:h,height:f?h:p}},t.getVisibleElements=function(e){var t=e.scrollEl,n=e.views,r=e.sortByVisibility,a=void 0!==r&&r,o=e.horizontal,i=void 0!==o&&o,s=e.rtl,l=void 0!==s&&s,c=t.scrollTop,u=c+t.clientHeight,d=t.scrollLeft,p=d+t.clientWidth,m=[],v=n.length,b=f(n,i?function(e){var t=e.div,n=t.offsetLeft+t.clientLeft,r=n+t.clientWidth;return l?n<p:r>d}:function(e){var t=e.div;return t.offsetTop+t.clientTop+t.clientHeight>c});b>0&&b<v&&!i&&(b=h(b,n,c));for(var g=i?p:-1,y=b;y<v;y++){var O=n[y],w=O.div,_=w.offsetLeft+w.clientLeft,j=w.offsetTop+w.clientTop,k=w.clientWidth,x=w.clientHeight,S=_+k,C=j+x;if(-1===g)C>=u&&(g=C);else if((i?_:j)>g)break;if(!(C<=c||j>=u||S<=d||_>=p)){var M=Math.max(0,c-j)+Math.max(0,C-u),A=Math.max(0,d-_)+Math.max(0,S-p),T=(k-A)/k,E=(x-M)/x*T*100|0;m.push({id:O.id,x:_,y:j,view:O,percent:E,widthPercent:100*T|0})}}var L=m[0],P=m[m.length-1];return a&&m.sort((function(e,t){var n=e.percent-t.percent;return Math.abs(n)>.001?-n:e.id-t.id})),{first:L,last:P,views:m}},t.isPortraitOrientation=function(e){return e.width<=e.height},t.isValidRotation=function(e){return Number.isInteger(e)&&e%90==0},t.isValidScrollMode=function(e){return Number.isInteger(e)&&Object.values(u).includes(e)&&e!==u.UNKNOWN},t.isValidSpreadMode=function(e){return Number.isInteger(e)&&Object.values(d).includes(e)&&e!==d.UNKNOWN},t.moveToEndOfArray=function(e,t){for(var n=[],r=e.length,a=0,o=0;o<r;++o)t(e[o])?n.push(e[o]):(e[a]=e[o],++a);for(var i=0;a<r;++i,++a)e[a]=n[i]},t.noContextMenuHandler=function(e){e.preventDefault()},t.normalizeWheelEventDelta=function(e){var t=p(e);return 0===e.deltaMode?t/=900:1===e.deltaMode&&(t/=30),t},t.normalizeWheelEventDirection=p,t.parseQueryString=function(e){for(var t=e.split("&"),n=Object.create(null),r=0,a=t.length;r<a;++r){var o=t[r].split("="),i=o[0].toLowerCase(),s=o.length>1?o[1]:null;n[decodeURIComponent(i)]=decodeURIComponent(s)}return n},t.roundToDivide=function(e,t){var n=e%t;return 0===n?e:Math.round(e-n+t)},t.scrollIntoView=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.offsetParent;if(r){for(var a=e.offsetTop+e.clientTop,o=e.offsetLeft+e.clientLeft;r.clientHeight===r.scrollHeight&&r.clientWidth===r.scrollWidth||n&&"hidden"===getComputedStyle(r).overflow;)if(r.dataset._scaleY&&(a/=r.dataset._scaleY,o/=r.dataset._scaleX),a+=r.offsetTop,o+=r.offsetLeft,!(r=r.offsetParent))return;t&&(void 0!==t.top&&(a+=t.top),void 0!==t.left&&(o+=t.left,r.scrollLeft=o)),r.scrollTop=a}else console.error("offsetParent is not set -- cannot scroll")},t.waitOnEventOrTimeout=function(e){var t=e.target,n=e.name,r=e.delay,a=void 0===r?0:r;return new Promise((function(e,r){if("object"!==i(t)||!n||"string"!=typeof n||!(Number.isInteger(a)&&a>=0))throw new Error("waitOnEventOrTimeout - invalid parameters.");function o(r){t instanceof b?t._off(n,s):t.removeEventListener(n,s),c&&clearTimeout(c),e(r)}var s=o.bind(null,m.EVENT);t instanceof b?t._on(n,s):t.addEventListener(n,s);var l=o.bind(null,m.TIMEOUT),c=setTimeout(l,a)}))},t.watchScroll=function(e,t){var n=function(n){a||(a=window.requestAnimationFrame((function(){a=null;var n=e.scrollLeft,o=r.lastX;n!==o&&(r.right=n>o),r.lastX=n;var i=e.scrollTop,s=r.lastY;i!==s&&(r.down=i>s),r.lastY=i,t(r)})))},r={right:!0,down:!0,lastX:e.scrollLeft,lastY:e.scrollTop,_eventHandler:n},a=null;return e.addEventListener("scroll",n,!0),r},t.WaitOnType=t.VERTICAL_PADDING=t.UNKNOWN_SCALE=t.TextLayerMode=t.SpreadMode=t.SidebarView=t.ScrollMode=t.SCROLLBAR_PADDING=t.RendererType=t.ProgressBar=t.PresentationModeState=t.MIN_SCALE=t.MAX_SCALE=t.MAX_AUTO_SCALE=t.EventBus=t.DEFAULT_SCALE_VALUE=t.DEFAULT_SCALE=t.CSS_UNITS=t.AutoPrintRegExp=t.animationStarted=void 0,t.CSS_UNITS=96/72,t.DEFAULT_SCALE_VALUE="auto",t.DEFAULT_SCALE=1,t.MIN_SCALE=.1,t.MAX_SCALE=10,t.UNKNOWN_SCALE=0,t.MAX_AUTO_SCALE=1.25,t.SCROLLBAR_PADDING=40,t.VERTICAL_PADDING=5,t.PresentationModeState={UNKNOWN:0,NORMAL:1,CHANGING:2,FULLSCREEN:3};var c={UNKNOWN:-1,NONE:0,THUMBS:1,OUTLINE:2,ATTACHMENTS:3,LAYERS:4};t.SidebarView=c,t.RendererType={CANVAS:"canvas",SVG:"svg"},t.TextLayerMode={DISABLE:0,ENABLE:1,ENABLE_ENHANCE:2};var u={UNKNOWN:-1,VERTICAL:0,HORIZONTAL:1,WRAPPED:2};t.ScrollMode=u;var d={UNKNOWN:-1,NONE:0,ODD:1,EVEN:2};function f(e,t){var n=0,r=e.length-1;if(r<0||!t(e[r]))return e.length;if(t(e[n]))return n;for(;n<r;){var a=n+r>>1;t(e[a])?r=a:n=a+1}return n}function h(e,t,n){if(e<2)return e;var r=t[e].div,a=r.offsetTop+r.clientTop;a>=n&&(a=(r=t[e-1].div).offsetTop+r.clientTop);for(var o=e-2;o>=0&&!((r=t[o].div).offsetTop+r.clientTop+r.clientHeight<=a);--o)e=o;return e}function p(e){var t=Math.hypot(e.deltaX,e.deltaY),n=Math.atan2(e.deltaY,e.deltaX);return-.25*Math.PI<n&&n<.75*Math.PI&&(t=-t),t}t.SpreadMode=d,t.AutoPrintRegExp=/\bprint\s*\(/;var m={EVENT:"event",TIMEOUT:"timeout"};t.WaitOnType=m;var v=new Promise((function(e){window.requestAnimationFrame(e)}));t.animationStarted=v;var b=function(){function e(t){r(this,e),this._listeners=Object.create(null)}return o(e,[{key:"on",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._on(e,t,{external:!0,once:null==n?void 0:n.once})}},{key:"off",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._off(e,t,{external:!0,once:null==n?void 0:n.once})}},{key:"dispatch",value:function(e){var t=this._listeners[e];if(t&&0!==t.length){var r,a,o=Array.prototype.slice.call(arguments,1),i=n(t.slice(0));try{for(i.s();!(a=i.n()).done;){var s=a.value,l=s.listener,c=s.external,u=s.once;u&&this._off(e,l),c?(r||(r=[])).push(l):l.apply(null,o)}}catch(e){i.e(e)}finally{i.f()}if(r){var d,f=n(r);try{for(f.s();!(d=f.n()).done;){var h=d.value;h.apply(null,o)}}catch(e){f.e(e)}finally{f.f()}r=null}}}},{key:"_on",value:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=(n=this._listeners)[e]||(n[e]=[]);a.push({listener:t,external:!0===(null==r?void 0:r.external),once:!0===(null==r?void 0:r.once)})}},{key:"_off",value:function(e,t){var n=this._listeners[e];if(n)for(var r=0,a=n.length;r<a;r++)if(n[r].listener===t)return void n.splice(r,1)}}]),e}();t.EventBus=b;var g=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.height,o=n.width,i=n.units;r(this,e),this.visible=!0,this.div=document.querySelector(t+" .progress"),this.bar=this.div.parentNode,this.height=a||100,this.width=o||100,this.units=i||"%",this.div.style.height=this.height+this.units,this.percent=0}return o(e,[{key:"_updateBar",value:function(){if(this._indeterminate)return this.div.classList.add("indeterminate"),void(this.div.style.width=this.width+this.units);this.div.classList.remove("indeterminate");var e=this.width*this._percent/100;this.div.style.width=e+this.units}},{key:"percent",get:function(){return this._percent},set:function(e){var t,n,r;this._indeterminate=isNaN(e),this._percent=(t=e,n=0,r=100,Math.min(Math.max(t,n),r)),this._updateBar()}},{key:"setWidth",value:function(e){if(e){var t=e.parentNode.offsetWidth-e.offsetWidth;t>0&&document.documentElement.style.setProperty("--loadingBar-end-offset","".concat(t,"px"))}}},{key:"hide",value:function(){this.visible&&(this.visible=!1,this.bar.classList.add("hidden"))}},{key:"show",value:function(){this.visible||(this.visible=!0,this.bar.classList.remove("hidden"))}}]),e}();t.ProgressBar=g},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TextLayerBuilder=t.DefaultTextLayerFactory=void 0;var r=n(2);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}var s=function(){function e(t){var n=t.textLayerDiv,r=t.eventBus,o=t.pageIndex,i=t.viewport,s=t.findController,l=void 0===s?null:s,c=t.enhanceTextSelection,u=void 0!==c&&c;a(this,e),this.textLayerDiv=n,this.eventBus=r,this.textContent=null,this.textContentItemsStr=[],this.textContentStream=null,this.renderingDone=!1,this.pageIdx=o,this.pageNumber=this.pageIdx+1,this.matches=[],this.viewport=i,this.textDivs=[],this.findController=l,this.textLayerRenderTask=null,this.enhanceTextSelection=u,this._onUpdateTextLayerMatches=null,this._bindMouse()}return i(e,[{key:"_finishRendering",value:function(){if(this.renderingDone=!0,!this.enhanceTextSelection){var e=document.createElement("div");e.className="endOfContent",this.textLayerDiv.appendChild(e)}this.eventBus.dispatch("textlayerrendered",{source:this,pageNumber:this.pageNumber,numTextDivs:this.textDivs.length})}},{key:"render",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if((this.textContent||this.textContentStream)&&!this.renderingDone){this.cancel(),this.textDivs=[];var n=document.createDocumentFragment();this.textLayerRenderTask=(0,r.renderTextLayer)({textContent:this.textContent,textContentStream:this.textContentStream,container:n,viewport:this.viewport,textDivs:this.textDivs,textContentItemsStr:this.textContentItemsStr,timeout:t,enhanceTextSelection:this.enhanceTextSelection}),this.textLayerRenderTask.promise.then((function(){e.textLayerDiv.appendChild(n),e._finishRendering(),e._updateMatches()}),(function(e){})),this._onUpdateTextLayerMatches||(this._onUpdateTextLayerMatches=function(t){t.pageIndex!==e.pageIdx&&-1!==t.pageIndex||e._updateMatches()},this.eventBus._on("updatetextlayermatches",this._onUpdateTextLayerMatches))}}},{key:"cancel",value:function(){this.textLayerRenderTask&&(this.textLayerRenderTask.cancel(),this.textLayerRenderTask=null),this._onUpdateTextLayerMatches&&(this.eventBus._off("updatetextlayermatches",this._onUpdateTextLayerMatches),this._onUpdateTextLayerMatches=null)}},{key:"setTextContentStream",value:function(e){this.cancel(),this.textContentStream=e}},{key:"setTextContent",value:function(e){this.cancel(),this.textContent=e}},{key:"_convertMatches",value:function(e,t){if(!e)return[];for(var n=this.textContentItemsStr,r=0,a=0,o=n.length-1,i=[],s=0,l=e.length;s<l;s++){for(var c=e[s];r!==o&&c>=a+n[r].length;)a+=n[r].length,r++;r===n.length&&console.error("Could not find a matching mapping");var u={begin:{divIdx:r,offset:c-a}};for(c+=t[s];r!==o&&c>a+n[r].length;)a+=n[r].length,r++;u.end={divIdx:r,offset:c-a},i.push(u)}return i}},{key:"_renderMatches",value:function(e){if(0!==e.length){var t=this.findController,n=this.pageIdx,r=this.textContentItemsStr,a=this.textDivs,o=n===t.selected.pageIdx,i=t.selected.matchIdx,s=null,l={divIdx:-1,offset:void 0},c=i,u=c+1;if(t.state.highlightAll)c=0,u=e.length;else if(!o)return;for(var d=c;d<u;d++){var f=e[d],h=f.begin,p=f.end,m=o&&d===i,v=m?" selected":"";if(m&&t.scrollMatchIntoView({element:a[h.divIdx],pageIndex:n,matchIndex:i}),s&&h.divIdx===s.divIdx?O(s.divIdx,s.offset,h.offset):(null!==s&&O(s.divIdx,s.offset,l.offset),y(h)),h.divIdx===p.divIdx)O(h.divIdx,h.offset,p.offset,"highlight"+v);else{O(h.divIdx,h.offset,l.offset,"highlight begin"+v);for(var b=h.divIdx+1,g=p.divIdx;b<g;b++)a[b].className="highlight middle"+v;y(p,"highlight end"+v)}s=p}s&&O(s.divIdx,s.offset,l.offset)}function y(e,t){var n=e.divIdx;a[n].textContent="",O(n,0,e.offset,t)}function O(e,t,n,o){var i=a[e],s=r[e].substring(t,n),l=document.createTextNode(s);if(o){var c=document.createElement("span");return c.className=o,c.appendChild(l),void i.appendChild(c)}i.appendChild(l)}}},{key:"_updateMatches",value:function(){if(this.renderingDone){for(var e=this.findController,t=this.matches,n=this.pageIdx,r=this.textContentItemsStr,a=this.textDivs,o=-1,i=0,s=t.length;i<s;i++){for(var l=t[i],c=Math.max(o,l.begin.divIdx),u=l.end.divIdx;c<=u;c++){var d=a[c];d.textContent=r[c],d.className=""}o=l.end.divIdx+1}if(null!=e&&e.highlightMatches){var f=e.pageMatches[n]||null,h=e.pageMatchesLength[n]||null;this.matches=this._convertMatches(f,h),this._renderMatches(this.matches)}}}},{key:"_bindMouse",value:function(){var e=this,t=this.textLayerDiv,n=null;t.addEventListener("mousedown",(function(r){if(e.enhanceTextSelection&&e.textLayerRenderTask)return e.textLayerRenderTask.expandTextDivs(!0),void(n&&(clearTimeout(n),n=null));var a=t.querySelector(".endOfContent");if(a){var o=r.target!==t;if(o=o&&"none"!==window.getComputedStyle(a).getPropertyValue("-moz-user-select")){var i=t.getBoundingClientRect(),s=Math.max(0,(r.pageY-i.top)/i.height);a.style.top=(100*s).toFixed(2)+"%"}a.classList.add("active")}})),t.addEventListener("mouseup",(function(){if(e.enhanceTextSelection&&e.textLayerRenderTask)n=setTimeout((function(){e.textLayerRenderTask&&e.textLayerRenderTask.expandTextDivs(!1),n=null}),300);else{var r=t.querySelector(".endOfContent");r&&(r.style.top="",r.classList.remove("active"))}}))}}]),e}();t.TextLayerBuilder=s;var l=function(){function e(){a(this,e)}return i(e,[{key:"createTextLayerBuilder",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4?arguments[4]:void 0;return new s({textLayerDiv:e,pageIndex:t,viewport:n,enhanceTextSelection:r,eventBus:a})}}]),e}();t.DefaultTextLayerFactory=l},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DownloadManager=void 0;var r=n(2),a=n(10);function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t){var n=document.createElement("a");if(!n.click)throw new Error('DownloadManager: "a.click()" is not supported.');n.href=e,n.target="_parent","download"in n&&(n.download=t),(document.body||document.documentElement).appendChild(n),n.click(),n.remove()}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._openBlobUrls=new WeakMap}var t,n,s;return t=e,(n=[{key:"downloadUrl",value:function(e,t){(0,r.createValidAbsoluteUrl)(e,"http://example.com")&&i(e+"#pdfjs.action=download",t)}},{key:"downloadData",value:function(e,t,n){i((0,r.createObjectURL)(e,n,a.viewerCompatibilityParams.disableCreateObjectURL),t)}},{key:"openOrDownloadData",value:function(e,t,n){var o=(0,r.isPdfFile)(n),i=o?"application/pdf":"";if(o&&!a.viewerCompatibilityParams.disableCreateObjectURL){var s,l=this._openBlobUrls.get(e);l||(l=URL.createObjectURL(new Blob([t],{type:i})),this._openBlobUrls.set(e,l)),s="?file="+encodeURIComponent(l+"#"+n);try{return window.open(s),!0}catch(t){console.error("openOrDownloadData: ".concat(t)),URL.revokeObjectURL(l),this._openBlobUrls.delete(e)}}return this.downloadData(t,n,i),!1}},{key:"download",value:function(e,t,n){if(a.viewerCompatibilityParams.disableCreateObjectURL)this.downloadUrl(t,n);else{var r=URL.createObjectURL(e);i(r,n)}}}])&&o(t.prototype,n),s&&o(t,s),e}();t.DownloadManager=s},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.viewerCompatibilityParams=void 0;var n=Object.create(null),r="undefined"!=typeof navigator&&navigator.userAgent||"",a="undefined"!=typeof navigator&&navigator.platform||"",o="undefined"!=typeof navigator&&navigator.maxTouchPoints||1,i=/Android/.test(r),s=/\b(iPad|iPhone|iPod)(?=;)/.test(r)||"MacIntel"===a&&o>1;/CriOS/.test(r)&&(n.disableCreateObjectURL=!0),(s||i)&&(n.maxCanvasPixels=5242880);var l=Object.freeze(n);t.viewerCompatibilityParams=l},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GenericL10n=void 0;var r,a=(r=n(4))&&r.__esModule?r:{default:r};n(12);var o=n(3);function i(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function s(e){i(o,r,a,s,l,"next",e)}function l(e){i(o,r,a,s,l,"throw",e)}s(void 0)}))}}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var c=document.webL10n,u=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._lang=t,this._ready=new Promise((function(e,n){c.setLanguage(t,(function(){e(c)}))}))}var t,n,r,i,u,d,f;return t=e,n=[{key:"getLanguage",value:(f=s(a.default.mark((function e(){var t;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._ready;case 2:return t=e.sent,e.abrupt("return",t.getLanguage());case 4:case"end":return e.stop()}}),e,this)}))),function(){return f.apply(this,arguments)})},{key:"getDirection",value:(d=s(a.default.mark((function e(){var t;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._ready;case 2:return t=e.sent,e.abrupt("return",t.getDirection());case 4:case"end":return e.stop()}}),e,this)}))),function(){return d.apply(this,arguments)})},{key:"get",value:(u=s(a.default.mark((function e(t){var n,r,i,s=arguments;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>1&&void 0!==s[1]?s[1]:null,r=s.length>2&&void 0!==s[2]?s[2]:(0,o.getL10nFallback)(t,n),e.next=4,this._ready;case 4:return i=e.sent,e.abrupt("return",i.get(t,n,r));case 6:case"end":return e.stop()}}),e,this)}))),function(e){return u.apply(this,arguments)})},{key:"translate",value:(i=s(a.default.mark((function e(t){var n;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._ready;case 2:return n=e.sent,e.abrupt("return",n.translate(t));case 4:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})}],n&&l(t.prototype,n),r&&l(t,r),e}();t.GenericL10n=u},()=>{document.webL10n=function(e,t,n){var r={},a="",o="textContent",i="",s={},l="loading";function c(e,t,n){t=t||function(e){},n=n||function(){};var r=new XMLHttpRequest;r.open("GET",e,!0),r.overrideMimeType&&r.overrideMimeType("text/plain; charset=utf-8"),r.onreadystatechange=function(){4==r.readyState&&(200==r.status||0===r.status?t(r.responseText):n())},r.onerror=n,r.ontimeout=n;try{r.send(null)}catch(e){n()}}function u(e,t,n,i){var s=e.replace(/[^\/]*$/,"")||"./";function l(e){return e.lastIndexOf("\\")<0?e:e.replace(/\\\\/g,"\\").replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g,"\t").replace(/\\b/g,"\b").replace(/\\f/g,"\f").replace(/\\{/g,"{").replace(/\\}/g,"}").replace(/\\"/g,'"').replace(/\\'/g,"'")}c(e,(function(e){a+=e,function(e,n){var r={},a=/^\s*|\s*$/,o=/^\s*#|^\s*$/,i=/^\s*\[(.*)\]\s*$/,u=/^\s*@import\s+url\((.*)\)\s*$/i,d=/^([^=\s]*)\s*=\s*(.+)$/;function f(e,n,c){var f=e.replace(a,"").split(/[\r\n]+/),p="*",m=t.split("-",1)[0],v=!1,b="";!function e(){for(;;){if(!f.length)return void c();var a=f.shift();if(!o.test(a)){if(n){if(b=i.exec(a)){p=b[1].toLowerCase(),v="*"!==p&&p!==t&&p!==m;continue}if(v)continue;if(b=u.exec(a))return void h(s+b[1],e)}var g=a.match(d);g&&3==g.length&&(r[g[1]]=l(g[2]))}}}()}function h(e,t){c(e,(function(e){f(e,!1,t)}),(function(){console.warn(e+" not found."),t()}))}f(e,!0,(function(){n(r)}))}(e,(function(e){for(var t in e){var a,i,s=t.lastIndexOf(".");s>0?(a=t.substring(0,s),i=t.substring(s+1)):(a=t,i=o),r[a]||(r[a]={}),r[a][i]=e[t]}n&&n()}))}),i)}function d(e,n){e&&(e=e.toLowerCase()),n=n||function(){},r={},a="",i="",i=e;var o=t.querySelectorAll('link[type="application/l10n"]'),s=o.length;if(0!==s){var c,d,f=0;d=function(){++f>=s&&(n(),l="complete")};for(var h=0;h<s;h++)new b(o[h]).load(e,d)}else{var p=(c=t.querySelector('script[type="application/l10n"]'))?JSON.parse(c.innerHTML):null;if(p&&p.locales&&p.default_locale){if(console.log("using the embedded JSON directory, early way out"),!(r=p.locales[e])){var m=p.default_locale.toLowerCase();for(var v in p.locales){if((v=v.toLowerCase())===e){r=p.locales[e];break}v===m&&(r=p.locales[m])}}n()}else console.log("no resource to load, early way out");l="complete"}function b(e){var t=e.href;this.load=function(e,n){u(t,e,n,(function(){console.warn(t+" not found."),console.warn('"'+e+'" resource not found'),i="",n()}))}}}function f(e,t,n){var a=r[e];if(!a){if(console.warn("#"+e+" is undefined."),!n)return null;a=n}var o={};for(var i in a){var s=a[i];s=p(s=h(s,t,e,i),t,e),o[i]=s}return o}function h(e,t,n,a){var o=/\{\[\s*([a-zA-Z]+)\(([a-zA-Z]+)\)\s*\]\}/.exec(e);if(!o||!o.length)return e;var i,l=o[1],c=o[2];return t&&c in t?i=t[c]:c in r&&(i=r[c]),l in s&&(e=(0,s[l])(e,i,n,a)),e}function p(e,t,n){return e.replace(/\{\{\s*(.+?)\s*\}\}/g,(function(e,a){return t&&a in t?t[a]:a in r?r[a]:(console.log("argument {{"+a+"}} for #"+n+" is undefined."),e)}))}function m(e){var n=function(e){if(!e)return{};var t=e.getAttribute("data-l10n-id"),n=e.getAttribute("data-l10n-args"),r={};if(n)try{r=JSON.parse(n)}catch(e){console.warn("could not parse arguments for #"+t)}return{id:t,args:r}}(e);if(n.id){var r=f(n.id,n.args);if(r){if(r[o]){if(0===function(e){if(e.children)return e.children.length;if(void 0!==e.childElementCount)return e.childElementCount;for(var t=0,n=0;n<e.childNodes.length;n++)t+=1===e.nodeType?1:0;return t}(e))e[o]=r[o];else{for(var a=e.childNodes,i=!1,s=0,l=a.length;s<l;s++)3===a[s].nodeType&&/\S/.test(a[s].nodeValue)&&(i?a[s].nodeValue="":(a[s].nodeValue=r[o],i=!0));if(!i){var c=t.createTextNode(r[o]);e.insertBefore(c,e.firstChild)}}delete r[o]}for(var u in r)e[u]=r[u]}else console.warn("#"+n.id+" is undefined.")}}return s.plural=function(e,t,n,a){var l=parseFloat(t);if(isNaN(l))return e;if(a!=o)return e;s._pluralRules||(s._pluralRules=function(e){function t(e,t){return-1!==t.indexOf(e)}function n(e,t,n){return t<=e&&e<=n}var r={0:function(e){return"other"},1:function(e){return n(e%100,3,10)?"few":0===e?"zero":n(e%100,11,99)?"many":2==e?"two":1==e?"one":"other"},2:function(e){return 0!==e&&e%10==0?"many":2==e?"two":1==e?"one":"other"},3:function(e){return 1==e?"one":"other"},4:function(e){return n(e,0,1)?"one":"other"},5:function(e){return n(e,0,2)&&2!=e?"one":"other"},6:function(e){return 0===e?"zero":e%10==1&&e%100!=11?"one":"other"},7:function(e){return 2==e?"two":1==e?"one":"other"},8:function(e){return n(e,3,6)?"few":n(e,7,10)?"many":2==e?"two":1==e?"one":"other"},9:function(e){return 0===e||1!=e&&n(e%100,1,19)?"few":1==e?"one":"other"},10:function(e){return n(e%10,2,9)&&!n(e%100,11,19)?"few":e%10!=1||n(e%100,11,19)?"other":"one"},11:function(e){return n(e%10,2,4)&&!n(e%100,12,14)?"few":e%10==0||n(e%10,5,9)||n(e%100,11,14)?"many":e%10==1&&e%100!=11?"one":"other"},12:function(e){return n(e,2,4)?"few":1==e?"one":"other"},13:function(e){return n(e%10,2,4)&&!n(e%100,12,14)?"few":1!=e&&n(e%10,0,1)||n(e%10,5,9)||n(e%100,12,14)?"many":1==e?"one":"other"},14:function(e){return n(e%100,3,4)?"few":e%100==2?"two":e%100==1?"one":"other"},15:function(e){return 0===e||n(e%100,2,10)?"few":n(e%100,11,19)?"many":1==e?"one":"other"},16:function(e){return e%10==1&&11!=e?"one":"other"},17:function(e){return 3==e?"few":0===e?"zero":6==e?"many":2==e?"two":1==e?"one":"other"},18:function(e){return 0===e?"zero":n(e,0,2)&&0!==e&&2!=e?"one":"other"},19:function(e){return n(e,2,10)?"few":n(e,0,1)?"one":"other"},20:function(e){return!n(e%10,3,4)&&e%10!=9||n(e%100,10,19)||n(e%100,70,79)||n(e%100,90,99)?e%1e6==0&&0!==e?"many":e%10!=2||t(e%100,[12,72,92])?e%10!=1||t(e%100,[11,71,91])?"other":"one":"two":"few"},21:function(e){return 0===e?"zero":1==e?"one":"other"},22:function(e){return n(e,0,1)||n(e,11,99)?"one":"other"},23:function(e){return n(e%10,1,2)||e%20==0?"one":"other"},24:function(e){return n(e,3,10)||n(e,13,19)?"few":t(e,[2,12])?"two":t(e,[1,11])?"one":"other"}},a={af:3,ak:4,am:4,ar:1,asa:3,az:0,be:11,bem:3,bez:3,bg:3,bh:4,bm:0,bn:3,bo:0,br:20,brx:3,bs:11,ca:3,cgg:3,chr:3,cs:12,cy:17,da:3,de:3,dv:3,dz:0,ee:3,el:3,en:3,eo:3,es:3,et:3,eu:3,fa:0,ff:5,fi:3,fil:4,fo:3,fr:5,fur:3,fy:3,ga:8,gd:24,gl:3,gsw:3,gu:3,guw:4,gv:23,ha:3,haw:3,he:2,hi:4,hr:11,hu:0,id:0,ig:0,ii:0,is:3,it:3,iu:7,ja:0,jmc:3,jv:0,ka:0,kab:5,kaj:3,kcg:3,kde:0,kea:0,kk:3,kl:3,km:0,kn:0,ko:0,ksb:3,ksh:21,ku:3,kw:7,lag:18,lb:3,lg:3,ln:4,lo:0,lt:10,lv:6,mas:3,mg:4,mk:16,ml:3,mn:3,mo:9,mr:3,ms:0,mt:15,my:0,nah:3,naq:7,nb:3,nd:3,ne:3,nl:3,nn:3,no:3,nr:3,nso:4,ny:3,nyn:3,om:3,or:3,pa:3,pap:3,pl:13,ps:3,pt:3,rm:3,ro:9,rof:3,ru:11,rwk:3,sah:0,saq:3,se:7,seh:3,ses:0,sg:0,sh:11,shi:19,sk:12,sl:14,sma:7,smi:7,smj:7,smn:7,sms:7,sn:3,so:3,sq:3,sr:11,ss:3,ssy:3,st:3,sv:3,sw:3,syr:3,ta:3,te:3,teo:3,th:0,ti:4,tig:3,tk:3,tl:4,tn:3,to:0,tr:0,ts:3,tzm:22,uk:11,ur:3,ve:3,vi:0,vun:3,wa:4,wae:3,wo:0,xh:3,xog:3,yo:0,zh:0,zu:3}[e.replace(/-.*$/,"")];return a in r?r[a]:(console.warn("plural form unknown for ["+e+"]"),function(){return"other"})}(i));var c="["+s._pluralRules(l)+"]";return 0===l&&n+"[zero]"in r?e=r[n+"[zero]"][a]:1==l&&n+"[one]"in r?e=r[n+"[one]"][a]:2==l&&n+"[two]"in r?e=r[n+"[two]"][a]:n+c in r?e=r[n+c][a]:n+"[other]"in r&&(e=r[n+"[other]"][a]),e},{get:function(e,t,n){var r,a=e.lastIndexOf("."),i=o;a>0&&(i=e.substring(a+1),e=e.substring(0,a)),n&&((r={})[i]=n);var s=f(e,t,r);return s&&i in s?s[i]:"{{"+e+"}}"},getData:function(){return r},getText:function(){return a},getLanguage:function(){return i},setLanguage:function(e,t){d(e,(function(){t&&t()}))},getDirection:function(){var e=i.split("-",1)[0];return["ar","he","fa","ps","ur"].indexOf(e)>=0?"rtl":"ltr"},translate:function(e){for(var n=function(e){return e?e.querySelectorAll("*[data-l10n-id]"):[]}(e=e||t.documentElement),r=n.length,a=0;a<r;a++)m(n[a]);m(e)},getReadyState:function(){return l},ready:function(n){n&&("complete"==l||"interactive"==l?e.setTimeout((function(){n()})):t.addEventListener&&t.addEventListener("localized",(function e(){t.removeEventListener("localized",e),n()})))}}}(window,document)},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PDFFindController=t.FindState=void 0;var r=n(2),a=n(14),o=n(7);function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||c(e,t)||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.")}()}function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=c(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}function c(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var d={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3};t.FindState=d;var f={"‘":"'","’":"'","‚":"'","‛":"'","“":'"',"”":'"',"„":'"',"‟":'"',"¼":"1/4","½":"1/2","¾":"3/4"},h=null;function p(e){if(!h){var t=Object.keys(f).join("");h=new RegExp("[".concat(t,"]"),"g")}var n=null;return[e.replace(h,(function(e,t){var r=f[e],a=r.length-e.length;return 0!==a&&(n||(n=[])).push([t,a]),r})),n]}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!t)return e;var n,r=0,a=l(t);try{for(a.s();!(n=a.n()).done;){var o=s(n.value,2),i=o[0],c=o[1],u=i+r;if(u>=e)break;if(u+c>e){r+=e-u;break}r+=c}}catch(e){a.e(e)}finally{a.f()}return e-r}var v=function(){function e(t){var n=t.linkService,r=t.eventBus;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._linkService=n,this._eventBus=r,this._reset(),r._on("findbarclose",this._onFindBarClose.bind(this))}var t,n,l;return t=e,n=[{key:"highlightMatches",get:function(){return this._highlightMatches}},{key:"pageMatches",get:function(){return this._pageMatches}},{key:"pageMatchesLength",get:function(){return this._pageMatchesLength}},{key:"selected",get:function(){return this._selected}},{key:"state",get:function(){return this._state}},{key:"setDocument",value:function(e){this._pdfDocument&&this._reset(),e&&(this._pdfDocument=e,this._firstPageCapability.resolve())}},{key:"executeCommand",value:function(e,t){var n=this;if(t){var r=this._pdfDocument;(null===this._state||this._shouldDirtyMatch(e,t))&&(this._dirtyMatch=!0),this._state=t,"findhighlightallchange"!==e&&this._updateUIState(d.PENDING),this._firstPageCapability.promise.then((function(){if(n._pdfDocument&&(!r||n._pdfDocument===r)){n._extractText();var t=!n._highlightMatches,a=!!n._findTimeout;n._findTimeout&&(clearTimeout(n._findTimeout),n._findTimeout=null),"find"===e?n._findTimeout=setTimeout((function(){n._nextMatch(),n._findTimeout=null}),250):n._dirtyMatch?n._nextMatch():"findagain"===e?(n._nextMatch(),t&&n._state.highlightAll&&n._updateAllPages()):"findhighlightallchange"===e?(a?n._nextMatch():n._highlightMatches=!0,n._updateAllPages()):n._nextMatch()}}))}}},{key:"scrollMatchIntoView",value:function(e){var t=e.element,n=void 0===t?null:t,r=e.pageIndex,a=void 0===r?-1:r,i=e.matchIndex,s=void 0===i?-1:i;if(this._scrollMatches&&n&&-1!==s&&s===this._selected.matchIdx&&-1!==a&&a===this._selected.pageIdx){this._scrollMatches=!1;var l={top:-50,left:-400};(0,o.scrollIntoView)(n,l,!0)}}},{key:"_reset",value:function(){this._highlightMatches=!1,this._scrollMatches=!1,this._pdfDocument=null,this._pageMatches=[],this._pageMatchesLength=[],this._state=null,this._selected={pageIdx:-1,matchIdx:-1},this._offset={pageIdx:null,matchIdx:null,wrapped:!1},this._extractTextPromises=[],this._pageContents=[],this._pageDiffs=[],this._matchesCountTotal=0,this._pagesToSearch=null,this._pendingFindMatches=new Set,this._resumePageIdx=null,this._dirtyMatch=!1,clearTimeout(this._findTimeout),this._findTimeout=null,this._firstPageCapability=(0,r.createPromiseCapability)()}},{key:"_query",get:function(){if(this._state.query!==this._rawQuery){this._rawQuery=this._state.query;var e=s(p(this._state.query),1);this._normalizedQuery=e[0]}return this._normalizedQuery}},{key:"_shouldDirtyMatch",value:function(e,t){if(t.query!==this._state.query)return!0;switch(e){case"findagain":var n=this._selected.pageIdx+1,r=this._linkService;return n>=1&&n<=r.pagesCount&&n!==r.page&&!r.isPageVisible(n);case"findhighlightallchange":return!1}return!0}},{key:"_prepareMatches",value:function(e,t,n){function r(t){var n=e[t],r=e[t+1];if(t<e.length-1&&n.match===r.match)return n.skipped=!0,!0;for(var a=t-1;a>=0;a--){var o=e[a];if(!o.skipped){if(o.match+o.matchLength<n.match)break;if(o.match+o.matchLength>=n.match+n.matchLength)return n.skipped=!0,!0}}return!1}e.sort((function(e,t){return e.match===t.match?e.matchLength-t.matchLength:e.match-t.match}));for(var a=0,o=e.length;a<o;a++)r(a)||(t.push(e[a].match),n.push(e[a].matchLength))}},{key:"_isEntireWord",value:function(e,t,n){if(t>0){var r=e.charCodeAt(t),o=e.charCodeAt(t-1);if((0,a.getCharacterType)(r)===(0,a.getCharacterType)(o))return!1}var i=t+n-1;if(i<e.length-1){var s=e.charCodeAt(i),l=e.charCodeAt(i+1);if((0,a.getCharacterType)(s)===(0,a.getCharacterType)(l))return!1}return!0}},{key:"_calculatePhraseMatch",value:function(e,t,n,r,a){for(var o=[],i=[],s=e.length,l=-s;-1!==(l=n.indexOf(e,l+s));)if(!a||this._isEntireWord(n,l,s)){var c=m(l,r),u=m(l+s-1,r)-c+1;o.push(c),i.push(u)}this._pageMatches[t]=o,this._pageMatchesLength[t]=i}},{key:"_calculateWordMatch",value:function(e,t,n,r,a){for(var o=[],i=e.match(/\S+/g),s=0,l=i.length;s<l;s++)for(var c=i[s],u=c.length,d=-u;-1!==(d=n.indexOf(c,d+u));)if(!a||this._isEntireWord(n,d,u)){var f=m(d,r),h=m(d+u-1,r)-f+1;o.push({match:f,matchLength:h,skipped:!1})}this._pageMatchesLength[t]=[],this._pageMatches[t]=[],this._prepareMatches(o,this._pageMatches[t],this._pageMatchesLength[t])}},{key:"_calculateMatch",value:function(e){var t=this._pageContents[e],n=this._pageDiffs[e],r=this._query,a=this._state,o=a.caseSensitive,i=a.entireWord,s=a.phraseSearch;if(0!==r.length){o||(t=t.toLowerCase(),r=r.toLowerCase()),s?this._calculatePhraseMatch(r,e,t,n,i):this._calculateWordMatch(r,e,t,n,i),this._state.highlightAll&&this._updatePage(e),this._resumePageIdx===e&&(this._resumePageIdx=null,this._nextPageMatch());var l=this._pageMatches[e].length;l>0&&(this._matchesCountTotal+=l,this._updateUIResultsCount())}}},{key:"_extractText",value:function(){var e=this;if(!(this._extractTextPromises.length>0))for(var t=Promise.resolve(),n=function(n,a){var o=(0,r.createPromiseCapability)();e._extractTextPromises[n]=o.promise,t=t.then((function(){return e._pdfDocument.getPage(n+1).then((function(e){return e.getTextContent({normalizeWhitespace:!0})})).then((function(t){for(var r=t.items,a=[],i=0,l=r.length;i<l;i++)a.push(r[i].str);var c=s(p(a.join("")),2);e._pageContents[n]=c[0],e._pageDiffs[n]=c[1],o.resolve(n)}),(function(t){console.error("Unable to get text content for page ".concat(n+1),t),e._pageContents[n]="",e._pageDiffs[n]=null,o.resolve(n)}))}))},a=0,o=this._linkService.pagesCount;a<o;a++)n(a)}},{key:"_updatePage",value:function(e){this._scrollMatches&&this._selected.pageIdx===e&&(this._linkService.page=e+1),this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:e})}},{key:"_updateAllPages",value:function(){this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:-1})}},{key:"_nextMatch",value:function(){var e=this,t=this._state.findPrevious,n=this._linkService.page-1,r=this._linkService.pagesCount;if(this._highlightMatches=!0,this._dirtyMatch){this._dirtyMatch=!1,this._selected.pageIdx=this._selected.matchIdx=-1,this._offset.pageIdx=n,this._offset.matchIdx=null,this._offset.wrapped=!1,this._resumePageIdx=null,this._pageMatches.length=0,this._pageMatchesLength.length=0,this._matchesCountTotal=0,this._updateAllPages();for(var a=0;a<r;a++)this._pendingFindMatches.has(a)||(this._pendingFindMatches.add(a),this._extractTextPromises[a].then((function(t){e._pendingFindMatches.delete(t),e._calculateMatch(t)})))}if(""!==this._query){if(!this._resumePageIdx){var o=this._offset;if(this._pagesToSearch=r,null!==o.matchIdx){var i=this._pageMatches[o.pageIdx].length;if(!t&&o.matchIdx+1<i||t&&o.matchIdx>0)return o.matchIdx=t?o.matchIdx-1:o.matchIdx+1,void this._updateMatch(!0);this._advanceOffsetPage(t)}this._nextPageMatch()}}else this._updateUIState(d.FOUND)}},{key:"_matchesReady",value:function(e){var t=this._offset,n=e.length,r=this._state.findPrevious;return n?(t.matchIdx=r?n-1:0,this._updateMatch(!0),!0):(this._advanceOffsetPage(r),!!(t.wrapped&&(t.matchIdx=null,this._pagesToSearch<0))&&(this._updateMatch(!1),!0))}},{key:"_nextPageMatch",value:function(){null!==this._resumePageIdx&&console.error("There can only be one pending page.");var e=null;do{var t=this._offset.pageIdx;if(!(e=this._pageMatches[t])){this._resumePageIdx=t;break}}while(!this._matchesReady(e))}},{key:"_advanceOffsetPage",value:function(e){var t=this._offset,n=this._linkService.pagesCount;t.pageIdx=e?t.pageIdx-1:t.pageIdx+1,t.matchIdx=null,this._pagesToSearch--,(t.pageIdx>=n||t.pageIdx<0)&&(t.pageIdx=e?n-1:0,t.wrapped=!0)}},{key:"_updateMatch",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=d.NOT_FOUND,n=this._offset.wrapped;if(this._offset.wrapped=!1,e){var r=this._selected.pageIdx;this._selected.pageIdx=this._offset.pageIdx,this._selected.matchIdx=this._offset.matchIdx,t=n?d.WRAPPED:d.FOUND,-1!==r&&r!==this._selected.pageIdx&&this._updatePage(r)}this._updateUIState(t,this._state.findPrevious),-1!==this._selected.pageIdx&&(this._scrollMatches=!0,this._updatePage(this._selected.pageIdx))}},{key:"_onFindBarClose",value:function(e){var t=this,n=this._pdfDocument;this._firstPageCapability.promise.then((function(){!t._pdfDocument||n&&t._pdfDocument!==n||(t._findTimeout&&(clearTimeout(t._findTimeout),t._findTimeout=null),t._resumePageIdx&&(t._resumePageIdx=null,t._dirtyMatch=!0),t._updateUIState(d.FOUND),t._highlightMatches=!1,t._updateAllPages())}))}},{key:"_requestMatchesCount",value:function(){var e=this._selected,t=e.pageIdx,n=e.matchIdx,r=0,a=this._matchesCountTotal;if(-1!==n){for(var o=0;o<t;o++){var i;r+=(null===(i=this._pageMatches[o])||void 0===i?void 0:i.length)||0}r+=n+1}return(r<1||r>a)&&(r=a=0),{current:r,total:a}}},{key:"_updateUIResultsCount",value:function(){this._eventBus.dispatch("updatefindmatchescount",{source:this,matchesCount:this._requestMatchesCount()})}},{key:"_updateUIState",value:function(e,t){var n,r;this._eventBus.dispatch("updatefindcontrolstate",{source:this,state:e,previous:t,matchesCount:this._requestMatchesCount(),rawQuery:null!==(n=null===(r=this._state)||void 0===r?void 0:r.query)&&void 0!==n?n:null})}}],n&&i(t.prototype,n),l&&i(t,l),e}();t.PDFFindController=v},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getCharacterType=function(e){return function(e){return e<11904}(e)?function(e){return 0==(65408&e)}(e)?function(e){return 32===e||9===e||13===e||10===e}(e)?n.SPACE:function(e){return e>=97&&e<=122||e>=65&&e<=90}(e)||function(e){return e>=48&&e<=57}(e)||95===e?n.ALPHA_LETTER:n.PUNCT:function(e){return 3584==(65408&e)}(e)?n.THAI_LETTER:160===e?n.SPACE:n.ALPHA_LETTER:function(e){return e>=13312&&e<=40959||e>=63744&&e<=64255}(e)?n.HAN_LETTER:function(e){return e>=12448&&e<=12543}(e)?n.KATAKANA_LETTER:function(e){return e>=12352&&e<=12447}(e)?n.HIRAGANA_LETTER:function(e){return e>=65376&&e<=65439}(e)?n.HALFWIDTH_KATAKANA_LETTER:n.ALPHA_LETTER},t.CharacterType=void 0;var n={SPACE:0,ALPHA_LETTER:1,PUNCT:2,HAN_LETTER:3,KATAKANA_LETTER:4,HIRAGANA_LETTER:5,HALFWIDTH_KATAKANA_LETTER:6,THAI_LETTER:7};t.CharacterType=n},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isDestArraysEqual=d,t.isDestHashesEqual=u,t.PDFHistory=void 0;var r=n(7);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e,t)||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.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(){return document.location.hash}var c=function(){function e(t){var n=this,a=t.linkService,o=t.eventBus;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.linkService=a,this.eventBus=o,this._initialized=!1,this._fingerprint="",this.reset(),this._boundEvents=null,this._isViewerInPresentationMode=!1,this.eventBus._on("presentationmodechanged",(function(e){n._isViewerInPresentationMode=e.state!==r.PresentationModeState.NORMAL})),this.eventBus._on("pagesinit",(function(){n._isPagesLoaded=!1,n.eventBus._on("pagesloaded",(function(e){n._isPagesLoaded=!!e.pagesCount}),{once:!0})}))}var t,n,i;return t=e,n=[{key:"initialize",value:function(e){var t=e.fingerprint,n=e.resetHistory,r=void 0!==n&&n,a=e.updateUrl,o=void 0!==a&&a;if(t&&"string"==typeof t){this._initialized&&this.reset();var i=""!==this._fingerprint&&this._fingerprint!==t;this._fingerprint=t,this._updateUrl=!0===o,this._initialized=!0,this._bindEvents();var s=window.history.state;if(this._popStateInProgress=!1,this._blockHashChange=0,this._currentHash=l(),this._numPositionUpdates=0,this._uid=this._maxUid=0,this._destination=null,this._position=null,!this._isValidState(s,!0)||r){var c=this._parseCurrentHash(!0),u=c.hash,d=c.page,f=c.rotation;return!u||i||r?void this._pushOrReplaceState(null,!0):void this._pushOrReplaceState({hash:u,page:d,rotation:f},!0)}var h=s.destination;this._updateInternalState(h,s.uid,!0),void 0!==h.rotation&&(this._initialRotation=h.rotation),h.dest?(this._initialBookmark=JSON.stringify(h.dest),this._destination.page=null):h.hash?this._initialBookmark=h.hash:h.page&&(this._initialBookmark="page=".concat(h.page))}else console.error('PDFHistory.initialize: The "fingerprint" must be a non-empty string.')}},{key:"reset",value:function(){this._initialized&&(this._pageHide(),this._initialized=!1,this._unbindEvents()),this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._initialBookmark=null,this._initialRotation=null}},{key:"push",value:function(e){var t=this,n=e.namedDest,r=void 0===n?null:n,a=e.explicitDest,o=e.pageNumber;if(this._initialized)if(r&&"string"!=typeof r)console.error("PDFHistory.push: "+'"'.concat(r,'" is not a valid namedDest parameter.'));else if(Array.isArray(a))if(this._isValidPage(o)||null===o&&!this._destination){var i=r||JSON.stringify(a);if(i){var s=!1;if(this._destination&&(u(this._destination.hash,i)||d(this._destination.dest,a))){if(this._destination.page)return;s=!0}this._popStateInProgress&&!s||(this._pushOrReplaceState({dest:a,hash:i,page:o,rotation:this.linkService.rotation},s),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then((function(){t._popStateInProgress=!1}))))}}else console.error("PDFHistory.push: "+'"'.concat(o,'" is not a valid pageNumber parameter.'));else console.error("PDFHistory.push: "+'"'.concat(a,'" is not a valid explicitDest parameter.'))}},{key:"pushPage",value:function(e){var t,n=this;this._initialized&&(this._isValidPage(e)?(null===(t=this._destination)||void 0===t?void 0:t.page)!==e&&(this._popStateInProgress||(this._pushOrReplaceState({dest:null,hash:"page=".concat(e),page:e,rotation:this.linkService.rotation}),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then((function(){n._popStateInProgress=!1}))))):console.error('PDFHistory.pushPage: "'.concat(e,'" is not a valid page number.')))}},{key:"pushCurrentPosition",value:function(){this._initialized&&!this._popStateInProgress&&this._tryPushCurrentPosition()}},{key:"back",value:function(){if(this._initialized&&!this._popStateInProgress){var e=window.history.state;this._isValidState(e)&&e.uid>0&&window.history.back()}}},{key:"forward",value:function(){if(this._initialized&&!this._popStateInProgress){var e=window.history.state;this._isValidState(e)&&e.uid<this._maxUid&&window.history.forward()}}},{key:"popStateInProgress",get:function(){return this._initialized&&(this._popStateInProgress||this._blockHashChange>0)}},{key:"initialBookmark",get:function(){return this._initialized?this._initialBookmark:null}},{key:"initialRotation",get:function(){return this._initialized?this._initialRotation:null}},{key:"_pushOrReplaceState",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=n||!this._destination,a={fingerprint:this._fingerprint,uid:r?this._uid:this._uid+1,destination:e};if(this._updateInternalState(e,a.uid),this._updateUrl&&null!=e&&e.hash){var o=document.location.href.split("#")[0];o.startsWith("file://")||(t="".concat(o,"#").concat(e.hash))}r?window.history.replaceState(a,"",t):window.history.pushState(a,"",t)}},{key:"_tryPushCurrentPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this._position){var t=this._position;if(e&&((t=Object.assign(Object.create(null),this._position)).temporary=!0),this._destination){if(this._destination.temporary)this._pushOrReplaceState(t,!0);else if(this._destination.hash!==t.hash&&(this._destination.page||!(this._numPositionUpdates<=50))){var n=!1;if(this._destination.page>=t.first&&this._destination.page<=t.page){if(void 0!==this._destination.dest||!this._destination.first)return;n=!0}this._pushOrReplaceState(t,n)}}else this._pushOrReplaceState(t)}}},{key:"_isValidPage",value:function(e){return Number.isInteger(e)&&e>0&&e<=this.linkService.pagesCount}},{key:"_isValidState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return!1;if(e.fingerprint!==this._fingerprint){if(!t)return!1;if("string"!=typeof e.fingerprint||e.fingerprint.length!==this._fingerprint.length)return!1;var n=performance.getEntriesByType("navigation"),r=o(n,1),i=r[0];if("reload"!==(null==i?void 0:i.type))return!1}return!(!Number.isInteger(e.uid)||e.uid<0)&&null!==e.destination&&"object"===a(e.destination)}},{key:"_updateInternalState",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),n&&null!=e&&e.temporary&&delete e.temporary,this._destination=e,this._uid=t,this._maxUid=Math.max(this._maxUid,t),this._numPositionUpdates=0}},{key:"_parseCurrentHash",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=unescape(l()).substring(1),n=(0,r.parseQueryString)(t),a=n.nameddest||"",o=0|n.page;return(!this._isValidPage(o)||e&&a.length>0)&&(o=null),{hash:t,page:o,rotation:this.linkService.rotation}}},{key:"_updateViewarea",value:function(e){var t=this,n=e.location;this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._position={hash:this._isViewerInPresentationMode?"page=".concat(n.pageNumber):n.pdfOpenParams.substring(1),page:this.linkService.page,first:n.pageNumber,rotation:n.rotation},this._popStateInProgress||(this._isPagesLoaded&&this._destination&&!this._destination.page&&this._numPositionUpdates++,this._updateViewareaTimeout=setTimeout((function(){t._popStateInProgress||t._tryPushCurrentPosition(!0),t._updateViewareaTimeout=null}),1e3))}},{key:"_popState",value:function(e){var t=this,n=e.state,a=l(),o=this._currentHash!==a;if(this._currentHash=a,n){if(this._isValidState(n)){this._popStateInProgress=!0,o&&(this._blockHashChange++,(0,r.waitOnEventOrTimeout)({target:window,name:"hashchange",delay:1e3}).then((function(){t._blockHashChange--})));var i=n.destination;this._updateInternalState(i,n.uid,!0),(0,r.isValidRotation)(i.rotation)&&(this.linkService.rotation=i.rotation),i.dest?this.linkService.goToDestination(i.dest):i.hash?this.linkService.setHash(i.hash):i.page&&(this.linkService.page=i.page),Promise.resolve().then((function(){t._popStateInProgress=!1}))}}else{this._uid++;var s=this._parseCurrentHash(),c=s.hash,u=s.page,d=s.rotation;this._pushOrReplaceState({hash:c,page:u,rotation:d},!0)}}},{key:"_pageHide",value:function(){this._destination&&!this._destination.temporary||this._tryPushCurrentPosition()}},{key:"_bindEvents",value:function(){this._boundEvents||(this._boundEvents={updateViewarea:this._updateViewarea.bind(this),popState:this._popState.bind(this),pageHide:this._pageHide.bind(this)},this.eventBus._on("updateviewarea",this._boundEvents.updateViewarea),window.addEventListener("popstate",this._boundEvents.popState),window.addEventListener("pagehide",this._boundEvents.pageHide))}},{key:"_unbindEvents",value:function(){this._boundEvents&&(this.eventBus._off("updateviewarea",this._boundEvents.updateViewarea),window.removeEventListener("popstate",this._boundEvents.popState),window.removeEventListener("pagehide",this._boundEvents.pageHide),this._boundEvents=null)}}],n&&s(t.prototype,n),i&&s(t,i),e}();function u(e,t){return"string"==typeof e&&"string"==typeof t&&(e===t||(0,r.parseQueryString)(e).nameddest===t)}function d(e,t){function n(e,t){if(a(e)!==a(t))return!1;if(Array.isArray(e)||Array.isArray(t))return!1;if(null!==e&&"object"===a(e)&&null!==t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var r in e)if(!n(e[r],t[r]))return!1;return!0}return e===t||Number.isNaN(e)&&Number.isNaN(t)}if(!Array.isArray(e)||!Array.isArray(t))return!1;if(e.length!==t.length)return!1;for(var r=0,o=e.length;r<o;r++)if(!n(e[r],t[r]))return!1;return!0}t.PDFHistory=c},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PDFPageView=void 0;var r,a=(r=n(4))&&r.__esModule?r:{default:r},o=n(7),i=n(2),s=n(3),l=n(17),c=n(10);function u(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){u(o,r,a,i,s,"next",e)}function s(e){u(o,r,a,i,s,"throw",e)}i(void 0)}))}}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var h=c.viewerCompatibilityParams.maxCanvasPixels||16777216,p=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=t.container,r=t.defaultViewport;this.id=t.id,this.renderingId="page"+this.id,this.pdfPage=null,this.pageLabel=null,this.rotation=0,this.scale=t.scale||o.DEFAULT_SCALE,this.viewport=r,this.pdfPageRotate=r.rotation,this._optionalContentConfigPromise=t.optionalContentConfigPromise||null,this.hasRestrictedScaling=!1,this.textLayerMode=Number.isInteger(t.textLayerMode)?t.textLayerMode:o.TextLayerMode.ENABLE,this.imageResourcesPath=t.imageResourcesPath||"",this.renderInteractiveForms=!1!==t.renderInteractiveForms,this.useOnlyCssZoom=t.useOnlyCssZoom||!1,this.maxCanvasPixels=t.maxCanvasPixels||h,this.eventBus=t.eventBus,this.renderingQueue=t.renderingQueue,this.textLayerFactory=t.textLayerFactory,this.annotationLayerFactory=t.annotationLayerFactory,this.xfaLayerFactory=t.xfaLayerFactory,this.structTreeLayerFactory=t.structTreeLayerFactory,this.renderer=t.renderer||o.RendererType.CANVAS,this.l10n=t.l10n||s.NullL10n,this.paintTask=null,this.paintedViewportMap=new WeakMap,this.renderingState=l.RenderingStates.INITIAL,this.resume=null,this._renderError=null,this.annotationLayer=null,this.textLayer=null,this.zoomLayer=null,this.xfaLayer=null,this.structTreeLayer=null;var a=document.createElement("div");a.className="page",a.style.width=Math.floor(this.viewport.width)+"px",a.style.height=Math.floor(this.viewport.height)+"px",a.setAttribute("data-page-number",this.id),a.setAttribute("role","region"),this.l10n.get("page_landmark",{page:this.id}).then((function(e){a.setAttribute("aria-label",e)})),this.div=a,n.appendChild(a)}var t,n,r,u,p;return t=e,n=[{key:"setPdfPage",value:function(e){this.pdfPage=e,this.pdfPageRotate=e.rotate;var t=(this.rotation+this.pdfPageRotate)%360;this.viewport=e.getViewport({scale:this.scale*o.CSS_UNITS,rotation:t}),this.reset()}},{key:"destroy",value:function(){this.reset(),this.pdfPage&&this.pdfPage.cleanup()}},{key:"_renderAnnotationLayer",value:(p=d(a.default.mark((function e(){var t;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=null,e.prev=1,e.next=4,this.annotationLayer.render(this.viewport,"display");case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),t=e.t0;case 9:return e.prev=9,this.eventBus.dispatch("annotationlayerrendered",{source:this,pageNumber:this.id,error:t}),e.finish(9);case 12:case"end":return e.stop()}}),e,this,[[1,6,9,12]])}))),function(){return p.apply(this,arguments)})},{key:"_renderXfaLayer",value:(u=d(a.default.mark((function e(){var t;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=null,e.prev=1,e.next=4,this.xfaLayer.render(this.viewport,"display");case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),t=e.t0;case 9:return e.prev=9,this.eventBus.dispatch("xfalayerrendered",{source:this,pageNumber:this.id,error:t}),e.finish(9);case 12:case"end":return e.stop()}}),e,this,[[1,6,9,12]])}))),function(){return u.apply(this,arguments)})},{key:"_resetZoomLayer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.zoomLayer){var t=this.zoomLayer.firstChild;this.paintedViewportMap.delete(t),t.width=0,t.height=0,e&&this.zoomLayer.remove(),this.zoomLayer=null}}},{key:"reset",value:function(){var e,t,n=this,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.cancelRendering(a),this.renderingState=l.RenderingStates.INITIAL;var o=this.div;o.style.width=Math.floor(this.viewport.width)+"px",o.style.height=Math.floor(this.viewport.height)+"px";for(var i=o.childNodes,s=r&&this.zoomLayer||null,c=a&&(null===(e=this.annotationLayer)||void 0===e?void 0:e.div)||null,u=(null===(t=this.xfaLayer)||void 0===t?void 0:t.div)||null,d=i.length-1;d>=0;d--){var f=i[d];s!==f&&c!==f&&u!==f&&o.removeChild(f)}o.removeAttribute("data-loaded"),c?this.annotationLayer.hide():this.annotationLayer&&(this.annotationLayer.cancel(),this.annotationLayer=null),s||(this.canvas&&(this.paintedViewportMap.delete(this.canvas),this.canvas.width=0,this.canvas.height=0,delete this.canvas),this._resetZoomLayer()),this.svg&&(this.paintedViewportMap.delete(this.svg),delete this.svg),this.loadingIconDiv=document.createElement("div"),this.loadingIconDiv.className="loadingIcon",this.loadingIconDiv.setAttribute("role","img"),this.l10n.get("loading").then((function(e){var t;null===(t=n.loadingIconDiv)||void 0===t||t.setAttribute("aria-label",e)})),o.appendChild(this.loadingIconDiv)}},{key:"update",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.scale=e||this.scale,void 0!==t&&(this.rotation=t),n instanceof Promise&&(this._optionalContentConfigPromise=n);var r=(this.rotation+this.pdfPageRotate)%360;if(this.viewport=this.viewport.clone({scale:this.scale*o.CSS_UNITS,rotation:r}),this.svg)return this.cssTransform(this.svg,!0),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this._renderError});var a=!1;if(this.canvas&&this.maxCanvasPixels>0){var i=this.outputScale;(Math.floor(this.viewport.width)*i.sx|0)*(Math.floor(this.viewport.height)*i.sy|0)>this.maxCanvasPixels&&(a=!0)}if(this.canvas){if(this.useOnlyCssZoom||this.hasRestrictedScaling&&a)return this.cssTransform(this.canvas,!0),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this._renderError});this.zoomLayer||this.canvas.hidden||(this.zoomLayer=this.canvas.parentNode,this.zoomLayer.style.position="absolute")}this.zoomLayer&&this.cssTransform(this.zoomLayer.firstChild),this.reset(!0,!0)}},{key:"cancelRendering",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.paintTask&&(this.paintTask.cancel(),this.paintTask=null),this.resume=null,this.textLayer&&(this.textLayer.cancel(),this.textLayer=null),!e&&this.annotationLayer&&(this.annotationLayer.cancel(),this.annotationLayer=null),this._onTextLayerRendered&&(this.eventBus._off("textlayerrendered",this._onTextLayerRendered),this._onTextLayerRendered=null)}},{key:"cssTransform",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.viewport.width,r=this.viewport.height,a=this.div;e.style.width=e.parentNode.style.width=a.style.width=Math.floor(n)+"px",e.style.height=e.parentNode.style.height=a.style.height=Math.floor(r)+"px";var o=this.viewport.rotation-this.paintedViewportMap.get(e).rotation,i=Math.abs(o),s=1,l=1;if(90!==i&&270!==i||(s=r/n,l=n/r),e.style.transform="rotate(".concat(o,"deg) scale(").concat(s,", ").concat(l,")"),this.textLayer){var c=this.textLayer.viewport,u=this.viewport.rotation-c.rotation,d=Math.abs(u),f=n/c.width;90!==d&&270!==d||(f=n/c.height);var h,p,m=this.textLayer.textLayerDiv;switch(d){case 0:h=p=0;break;case 90:h=0,p="-"+m.style.height;break;case 180:h="-"+m.style.width,p="-"+m.style.height;break;case 270:h="-"+m.style.width,p=0;break;default:console.error("Bad rotation value.")}m.style.transform="rotate(".concat(d,"deg) ")+"scale(".concat(f,") ")+"translate(".concat(h,", ").concat(p,")"),m.style.transformOrigin="0% 0%"}t&&this.annotationLayer&&this._renderAnnotationLayer(),this.xfaLayer&&this._renderXfaLayer()}},{key:"width",get:function(){return this.viewport.width}},{key:"height",get:function(){return this.viewport.height}},{key:"getPagePoint",value:function(e,t){return this.viewport.convertToPdfPoint(e,t)}},{key:"draw",value:function(){var e,t=this;this.renderingState!==l.RenderingStates.INITIAL&&(console.error("Must be in new state before drawing"),this.reset());var n=this.div,r=this.pdfPage;if(!r)return this.renderingState=l.RenderingStates.FINISHED,this.loadingIconDiv&&(n.removeChild(this.loadingIconDiv),delete this.loadingIconDiv),Promise.reject(new Error("pdfPage is not loaded"));this.renderingState=l.RenderingStates.RUNNING;var s=document.createElement("div");s.style.width=n.style.width,s.style.height=n.style.height,s.classList.add("canvasWrapper"),null!==(e=this.annotationLayer)&&void 0!==e&&e.div?n.insertBefore(s,this.annotationLayer.div):n.appendChild(s);var c=null;if(this.textLayerMode!==o.TextLayerMode.DISABLE&&this.textLayerFactory){var u,f=document.createElement("div");f.className="textLayer",f.style.width=s.style.width,f.style.height=s.style.height,null!==(u=this.annotationLayer)&&void 0!==u&&u.div?n.insertBefore(f,this.annotationLayer.div):n.appendChild(f),c=this.textLayerFactory.createTextLayerBuilder(f,this.id-1,this.viewport,this.textLayerMode===o.TextLayerMode.ENABLE_ENHANCE,this.eventBus)}this.textLayer=c;var h=null;this.renderingQueue&&(h=function(e){if(!t.renderingQueue.isHighestPriority(t))return t.renderingState=l.RenderingStates.PAUSED,void(t.resume=function(){t.renderingState=l.RenderingStates.RUNNING,e()});e()});var p=function(){var e=d(a.default.mark((function e(){var r,o=arguments;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=o.length>0&&void 0!==o[0]?o[0]:null,m===t.paintTask&&(t.paintTask=null),!(r instanceof i.RenderingCancelledException)){e.next=5;break}return t._renderError=null,e.abrupt("return");case 5:if(t._renderError=r,t.renderingState=l.RenderingStates.FINISHED,t.loadingIconDiv&&(n.removeChild(t.loadingIconDiv),delete t.loadingIconDiv),t._resetZoomLayer(!0),t.eventBus.dispatch("pagerendered",{source:t,pageNumber:t.id,cssTransform:!1,timestamp:performance.now(),error:t._renderError}),!r){e.next=12;break}throw r;case 12:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),m=this.renderer===o.RendererType.SVG?this.paintOnSvg(s):this.paintOnCanvas(s);m.onRenderContinue=h,this.paintTask=m;var v=m.promise.then((function(){return p(null).then((function(){if(c){var e=r.streamTextContent({normalizeWhitespace:!0,includeMarkedContent:!0});c.setTextContentStream(e),c.render()}}))}),(function(e){return p(e)}));return this.annotationLayerFactory&&(this.annotationLayer||(this.annotationLayer=this.annotationLayerFactory.createAnnotationLayerBuilder(n,r,null,this.imageResourcesPath,this.renderInteractiveForms,this.l10n,null,null,null)),this._renderAnnotationLayer()),this.xfaLayerFactory&&(this.xfaLayer||(this.xfaLayer=this.xfaLayerFactory.createXfaLayerBuilder(n,r,null)),this._renderXfaLayer()),this.structTreeLayerFactory&&this.textLayer&&this.canvas&&(this._onTextLayerRendered=function(e){e.pageNumber===t.id&&(t.eventBus._off("textlayerrendered",t._onTextLayerRendered),t._onTextLayerRendered=null,t.canvas&&t.pdfPage.getStructTree().then((function(e){if(e&&t.canvas){var n=t.structTreeLayer.render(e);n.classList.add("structTree"),t.canvas.appendChild(n)}})))},this.eventBus._on("textlayerrendered",this._onTextLayerRendered),this.structTreeLayer=this.structTreeLayerFactory.createStructTreeLayerBuilder(r)),n.setAttribute("data-loaded",!0),this.eventBus.dispatch("pagerender",{source:this,pageNumber:this.id}),v}},{key:"paintOnCanvas",value:function(e){var t=(0,i.createPromiseCapability)(),n={promise:t.promise,onRenderContinue:function(e){e()},cancel:function(){b.cancel()}},r=this.viewport,a=document.createElement("canvas");a.hidden=!0;var s=!0,l=function(){s&&(a.hidden=!1,s=!1)};e.appendChild(a),this.canvas=a,a.mozOpaque=!0;var c=a.getContext("2d",{alpha:!1}),u=(0,o.getOutputScale)(c);if(this.outputScale=u,this.useOnlyCssZoom){var d=r.clone({scale:o.CSS_UNITS});u.sx*=d.width/r.width,u.sy*=d.height/r.height,u.scaled=!0}if(this.maxCanvasPixels>0){var f=r.width*r.height,h=Math.sqrt(this.maxCanvasPixels/f);u.sx>h||u.sy>h?(u.sx=h,u.sy=h,u.scaled=!0,this.hasRestrictedScaling=!0):this.hasRestrictedScaling=!1}var p=(0,o.approximateFraction)(u.sx),m=(0,o.approximateFraction)(u.sy);a.width=(0,o.roundToDivide)(r.width*u.sx,p[0]),a.height=(0,o.roundToDivide)(r.height*u.sy,m[0]),a.style.width=(0,o.roundToDivide)(r.width,p[1])+"px",a.style.height=(0,o.roundToDivide)(r.height,m[1])+"px",this.paintedViewportMap.set(a,r);var v={canvasContext:c,transform:u.scaled?[u.sx,0,0,u.sy,0,0]:null,viewport:this.viewport,renderInteractiveForms:this.renderInteractiveForms,optionalContentConfigPromise:this._optionalContentConfigPromise},b=this.pdfPage.render(v);return b.onContinue=function(e){l(),n.onRenderContinue?n.onRenderContinue(e):e()},b.promise.then((function(){l(),t.resolve(void 0)}),(function(e){l(),t.reject(e)})),n}},{key:"paintOnSvg",value:function(e){var t=this,n=!1,r=function(){if(n)throw new i.RenderingCancelledException("Rendering cancelled, page ".concat(t.id),"svg")},a=this.pdfPage,s=this.viewport.clone({scale:o.CSS_UNITS});return{promise:a.getOperatorList().then((function(n){return r(),new i.SVGGraphics(a.commonObjs,a.objs,c.viewerCompatibilityParams.disableCreateObjectURL).getSVG(n,s).then((function(n){r(),t.svg=n,t.paintedViewportMap.set(n,s),n.style.width=e.style.width,n.style.height=e.style.height,t.renderingState=l.RenderingStates.FINISHED,e.appendChild(n)}))})),onRenderContinue:function(e){e()},cancel:function(){n=!0}}}},{key:"setPageLabel",value:function(e){this.pageLabel="string"==typeof e?e:null,null!==this.pageLabel?this.div.setAttribute("data-page-label",this.pageLabel):this.div.removeAttribute("data-page-label")}}],n&&f(t.prototype,n),r&&f(t,r),e}();t.PDFPageView=p},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RenderingStates=t.PDFRenderingQueue=void 0;var r=n(2);function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var o={INITIAL:0,RUNNING:1,PAUSED:2,FINISHED:3};t.RenderingStates=o;var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.pdfViewer=null,this.pdfThumbnailViewer=null,this.onIdle=null,this.highestPriorityPage=null,this.idleTimeout=null,this.printing=!1,this.isThumbnailViewEnabled=!1}var t,n,i;return t=e,(n=[{key:"setViewer",value:function(e){this.pdfViewer=e}},{key:"setThumbnailViewer",value:function(e){this.pdfThumbnailViewer=e}},{key:"isHighestPriority",value:function(e){return this.highestPriorityPage===e.renderingId}},{key:"renderHighestPriority",value:function(e){this.idleTimeout&&(clearTimeout(this.idleTimeout),this.idleTimeout=null),this.pdfViewer.forceRendering(e)||this.pdfThumbnailViewer&&this.isThumbnailViewEnabled&&this.pdfThumbnailViewer.forceRendering()||this.printing||this.onIdle&&(this.idleTimeout=setTimeout(this.onIdle.bind(this),3e4))}},{key:"getHighestPriority",value:function(e,t,n){var r=e.views,a=r.length;if(0===a)return null;for(var o=0;o<a;++o){var i=r[o].view;if(!this.isViewFinished(i))return i}if(n){var s=e.last.id;if(t[s]&&!this.isViewFinished(t[s]))return t[s]}else{var l=e.first.id-2;if(t[l]&&!this.isViewFinished(t[l]))return t[l]}return null}},{key:"isViewFinished",value:function(e){return e.renderingState===o.FINISHED}},{key:"renderView",value:function(e){var t=this;switch(e.renderingState){case o.FINISHED:return!1;case o.PAUSED:this.highestPriorityPage=e.renderingId,e.resume();break;case o.RUNNING:this.highestPriorityPage=e.renderingId;break;case o.INITIAL:this.highestPriorityPage=e.renderingId,e.draw().finally((function(){t.renderHighestPriority()})).catch((function(e){e instanceof r.RenderingCancelledException||console.error('renderView: "'.concat(e,'"'))}))}return!0}}])&&a(t.prototype,n),i&&a(t,i),e}();t.PDFRenderingQueue=i},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PDFScriptingManager=void 0;var r,a=(r=n(4))&&r.__esModule?r:{default:r},o=n(2),i=n(7),s=n(17);function l(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||p(e)||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.")}()}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=p(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||p(e,t)||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.")}()}function p(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function b(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){v(o,r,a,i,s,"next",e)}function s(e){v(o,r,a,i,s,"throw",e)}i(void 0)}))}}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var y=function(){function e(t){var n=this,r=t.eventBus,a=t.sandboxBundleSrc,o=void 0===a?null:a,i=t.scriptingFactory,s=void 0===i?null:i,l=t.docPropertiesLookup,c=void 0===l?null:l;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._pdfDocument=null,this._pdfViewer=null,this._closeCapability=null,this._destroyCapability=null,this._scripting=null,this._mouseState=Object.create(null),this._pageEventsReady=!1,this._ready=!1,this._eventBus=r,this._sandboxBundleSrc=o,this._scriptingFactory=s,this._docPropertiesLookup=c,this._scriptingFactory||window.addEventListener("updatefromsandbox",(function(e){n._eventBus.dispatch("updatefromsandbox",{source:window,detail:e.detail})}))}var t,r,c,d,p,m,v,y,O,w,_,j,k;return t=e,r=[{key:"setViewer",value:function(e){this._pdfViewer=e}},{key:"setDocument",value:(k=b(a.default.mark((function e(t){var n,r,o,i,s,l,c,d,p,m,v,g,y,O,w,_,j,k=this;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._pdfDocument){e.next=3;break}return e.next=3,this._destroyScripting();case 3:if(this._pdfDocument=t,t){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,Promise.all([t.getFieldObjects(),t.getCalculationOrderIds(),t.getJSActions()]);case 8:if(r=e.sent,o=h(r,3),i=o[0],s=o[1],l=o[2],i||l){e.next=17;break}return e.next=16,this._destroyScripting();case 16:return e.abrupt("return");case 17:if(t===this._pdfDocument){e.next=19;break}return e.abrupt("return");case 19:this._scripting=this._createScripting(),this._internalEvents.set("updatefromsandbox",(function(e){(null==e?void 0:e.source)===window&&k._updateFromSandbox(e.detail)})),this._internalEvents.set("dispatcheventinsandbox",(function(e){var t;null===(t=k._scripting)||void 0===t||t.dispatchEventInSandbox(e.detail)})),this._internalEvents.set("pagechanging",(function(e){var t=e.pageNumber,n=e.previous;t!==n&&(k._dispatchPageClose(n),k._dispatchPageOpen(t))})),this._internalEvents.set("pagerendered",(function(e){var t=e.pageNumber;k._pageOpenPending.has(t)&&t===k._pdfViewer.currentPageNumber&&k._dispatchPageOpen(t)})),this._internalEvents.set("pagesdestroy",function(){var e=b(a.default.mark((function e(t){var n,r;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,k._dispatchPageClose(k._pdfViewer.currentPageNumber);case 2:return e.next=4,null===(n=k._scripting)||void 0===n?void 0:n.dispatchEventInSandbox({id:"doc",name:"WillClose"});case 4:null===(r=k._closeCapability)||void 0===r||r.resolve();case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),this._domEvents.set("mousedown",(function(e){k._mouseState.isDown=!0})),this._domEvents.set("mouseup",(function(e){k._mouseState.isDown=!1})),c=f(this._internalEvents);try{for(c.s();!(d=c.n()).done;)p=h(d.value,2),m=p[0],v=p[1],this._eventBus._on(m,v)}catch(e){c.e(e)}finally{c.f()}g=f(this._domEvents);try{for(g.s();!(y=g.n()).done;)O=h(y.value,2),w=O[0],_=O[1],window.addEventListener(w,_)}catch(e){g.e(e)}finally{g.f()}return e.prev=31,e.next=34,this._getDocProperties();case 34:if(j=e.sent,t===this._pdfDocument){e.next=37;break}return e.abrupt("return");case 37:return e.next=39,this._scripting.createSandbox({objects:i,calculationOrder:s,appInfo:{platform:navigator.platform,language:navigator.language},docInfo:u(u({},j),{},{actions:l})});case 39:this._eventBus.dispatch("sandboxcreated",{source:this}),e.next=48;break;case 42:return e.prev=42,e.t0=e.catch(31),console.error('PDFScriptingManager.setDocument: "'.concat(null===e.t0||void 0===e.t0?void 0:e.t0.message,'".')),e.next=47,this._destroyScripting();case 47:return e.abrupt("return");case 48:return e.next=50,null===(n=this._scripting)||void 0===n?void 0:n.dispatchEventInSandbox({id:"doc",name:"Open"});case 50:return e.next=52,this._dispatchPageOpen(this._pdfViewer.currentPageNumber,!0);case 52:Promise.resolve().then((function(){t===k._pdfDocument&&(k._ready=!0)}));case 53:case"end":return e.stop()}}),e,this,[[31,42]])}))),function(e){return k.apply(this,arguments)})},{key:"dispatchWillSave",value:(j=b(a.default.mark((function e(t){var n;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null===(n=this._scripting)||void 0===n?void 0:n.dispatchEventInSandbox({id:"doc",name:"WillSave"}));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return j.apply(this,arguments)})},{key:"dispatchDidSave",value:(_=b(a.default.mark((function e(t){var n;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null===(n=this._scripting)||void 0===n?void 0:n.dispatchEventInSandbox({id:"doc",name:"DidSave"}));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return _.apply(this,arguments)})},{key:"dispatchWillPrint",value:(w=b(a.default.mark((function e(t){var n;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null===(n=this._scripting)||void 0===n?void 0:n.dispatchEventInSandbox({id:"doc",name:"WillPrint"}));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return w.apply(this,arguments)})},{key:"dispatchDidPrint",value:(O=b(a.default.mark((function e(t){var n;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null===(n=this._scripting)||void 0===n?void 0:n.dispatchEventInSandbox({id:"doc",name:"DidPrint"}));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return O.apply(this,arguments)})},{key:"mouseState",get:function(){return this._mouseState}},{key:"destroyPromise",get:function(){var e;return(null===(e=this._destroyCapability)||void 0===e?void 0:e.promise)||null}},{key:"ready",get:function(){return this._ready}},{key:"_internalEvents",get:function(){return(0,o.shadow)(this,"_internalEvents",new Map)}},{key:"_domEvents",get:function(){return(0,o.shadow)(this,"_domEvents",new Map)}},{key:"_pageOpenPending",get:function(){return(0,o.shadow)(this,"_pageOpenPending",new Set)}},{key:"_visitedPages",get:function(){return(0,o.shadow)(this,"_visitedPages",new Map)}},{key:"_updateFromSandbox",value:(y=b(a.default.mark((function e(t){var n,r,o,s,c,u,d,h,p,m,v;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this._pdfViewer.isInPresentationMode||this._pdfViewer.isChangingPresentationMode,r=t.id,o=t.siblings,s=t.command,c=t.value,r){e.next=25;break}e.t0=s,e.next="clear"===e.t0?6:"error"===e.t0?8:"layout"===e.t0?10:"page-num"===e.t0?12:"print"===e.t0?14:"println"===e.t0?18:"zoom"===e.t0?20:24;break;case 6:return console.clear(),e.abrupt("break",24);case 8:return console.error(c),e.abrupt("break",24);case 10:return this._pdfViewer.spreadMode=(0,i.apiPageLayoutToSpreadMode)(c),e.abrupt("break",24);case 12:return this._pdfViewer.currentPageNumber=c+1,e.abrupt("break",24);case 14:return e.next=16,this._pdfViewer.pagesPromise;case 16:return this._eventBus.dispatch("print",{source:this}),e.abrupt("break",24);case 18:return console.log(c),e.abrupt("break",24);case 20:if(!n){e.next=22;break}return e.abrupt("return");case 22:return this._pdfViewer.currentScaleValue=c,e.abrupt("break",24);case 24:return e.abrupt("return");case 25:if(!n){e.next=28;break}if(!t.focus){e.next=28;break}return e.abrupt("return");case 28:delete t.id,delete t.siblings,u=o?[r].concat(l(o)):[r],d=f(u);try{for(d.s();!(h=d.n()).done;)p=h.value,(m=document.getElementById(p))?m.dispatchEvent(new CustomEvent("updatefromsandbox",{detail:t})):null===(v=this._pdfDocument)||void 0===v||v.annotationStorage.setValue(p,t)}catch(e){d.e(e)}finally{d.f()}case 33:case"end":return e.stop()}}),e,this)}))),function(e){return y.apply(this,arguments)})},{key:"_dispatchPageOpen",value:(v=b(a.default.mark((function e(t){var n,r,i,l,c,u=this,d=arguments;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=d.length>1&&void 0!==d[1]&&d[1],r=this._pdfDocument,i=this._visitedPages,n&&(this._closeCapability=(0,o.createPromiseCapability)(),this._pageEventsReady=!0),this._pageEventsReady){e.next=5;break}return e.abrupt("return");case 5:if((null==(l=this._pdfViewer.getPageView(t-1))?void 0:l.renderingState)===s.RenderingStates.FINISHED){e.next=9;break}return this._pageOpenPending.add(t),e.abrupt("return");case 9:this._pageOpenPending.delete(t),c=b(a.default.mark((function e(){var n,o,s;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.has(t)?null:null===(n=l.pdfPage)||void 0===n?void 0:n.getJSActions();case 2:if(s=e.sent,r===u._pdfDocument){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,null===(o=u._scripting)||void 0===o?void 0:o.dispatchEventInSandbox({id:"page",name:"PageOpen",pageNumber:t,actions:s});case 7:case"end":return e.stop()}}),e)})))(),i.set(t,c);case 12:case"end":return e.stop()}}),e,this)}))),function(e){return v.apply(this,arguments)})},{key:"_dispatchPageClose",value:(m=b(a.default.mark((function e(t){var n,r,o,i;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this._pdfDocument,o=this._visitedPages,this._pageEventsReady){e.next=3;break}return e.abrupt("return");case 3:if(!this._pageOpenPending.has(t)){e.next=5;break}return e.abrupt("return");case 5:if(i=o.get(t)){e.next=8;break}return e.abrupt("return");case 8:return o.set(t,null),e.next=11,i;case 11:if(r===this._pdfDocument){e.next=13;break}return e.abrupt("return");case 13:return e.next=15,null===(n=this._scripting)||void 0===n?void 0:n.dispatchEventInSandbox({id:"page",name:"PageClose",pageNumber:t});case 15:case"end":return e.stop()}}),e,this)}))),function(e){return m.apply(this,arguments)})},{key:"_getDocProperties",value:(p=b(a.default.mark((function e(){var t,r;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._docPropertiesLookup){e.next=2;break}return e.abrupt("return",this._docPropertiesLookup(this._pdfDocument));case 2:return t=n(19),r=t.docPropertiesLookup,e.abrupt("return",r(this._pdfDocument));case 4:case"end":return e.stop()}}),e,this)}))),function(){return p.apply(this,arguments)})},{key:"_createScripting",value:function(){if(this._destroyCapability=(0,o.createPromiseCapability)(),this._scripting)throw new Error("_createScripting: Scripting already exists.");return this._scriptingFactory?this._scriptingFactory.createScripting({sandboxBundleSrc:this._sandboxBundleSrc}):new(0,n(19).GenericScripting)(this._sandboxBundleSrc)}},{key:"_destroyScripting",value:(d=b(a.default.mark((function e(){var t,n,r,o,i,s,l,c,u,d,p,m;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._scripting){e.next=4;break}return this._pdfDocument=null,null===(n=this._destroyCapability)||void 0===n||n.resolve(),e.abrupt("return");case 4:if(!this._closeCapability){e.next=8;break}return e.next=7,Promise.race([this._closeCapability.promise,new Promise((function(e){setTimeout(e,1e3)}))]).catch((function(e){}));case 7:this._closeCapability=null;case 8:return this._pdfDocument=null,e.prev=9,e.next=12,this._scripting.destroySandbox();case 12:e.next=16;break;case 14:e.prev=14,e.t0=e.catch(9);case 16:r=f(this._internalEvents);try{for(r.s();!(o=r.n()).done;)i=h(o.value,2),s=i[0],l=i[1],this._eventBus._off(s,l)}catch(e){r.e(e)}finally{r.f()}this._internalEvents.clear(),c=f(this._domEvents);try{for(c.s();!(u=c.n()).done;)d=h(u.value,2),p=d[0],m=d[1],window.removeEventListener(p,m)}catch(e){c.e(e)}finally{c.f()}this._domEvents.clear(),this._pageOpenPending.clear(),this._visitedPages.clear(),this._scripting=null,delete this._mouseState.isDown,this._pageEventsReady=!1,this._ready=!1,null===(t=this._destroyCapability)||void 0===t||t.resolve();case 29:case"end":return e.stop()}}),e,this,[[9,14]])}))),function(){return d.apply(this,arguments)})}],r&&g(t.prototype,r),c&&g(t,c),e}();t.PDFScriptingManager=y},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.docPropertiesLookup=function(e){return f.apply(this,arguments)},t.GenericScripting=void 0;var r,a=(r=n(4))&&r.__esModule?r:{default:r},o=n(2);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){u(o,r,a,i,s,"next",e)}function s(e){u(o,r,a,i,s,"throw",e)}i(void 0)}))}}function f(){return(f=d(a.default.mark((function e(t){var n,r,i,l,c,u,d,f,h;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=(n="").split("#")[0],e.next=3,t.getMetadata();case 3:if(i=e.sent,l=i.info,c=i.metadata,u=i.contentDispositionFilename,d=i.contentLength){e.next=14;break}return e.next=11,t.getDownloadInfo();case 11:f=e.sent,h=f.length,d=h;case 14:return e.abrupt("return",s(s({},l),{},{baseURL:r,filesize:d,filename:u||(0,o.getPdfFilenameFromUrl)(n),metadata:null==c?void 0:c.getRaw(),authors:null==c?void 0:c.get("dc:creator"),numPages:t.numPages,URL:n}));case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var h=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._ready=(0,o.loadScript)(t,!0).then((function(){return window.pdfjsSandbox.QuickJSSandbox()}))}var t,n,r,i,s,l;return t=e,n=[{key:"createSandbox",value:(l=d(a.default.mark((function e(t){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._ready;case 2:e.sent.create(t);case 4:case"end":return e.stop()}}),e,this)}))),function(e){return l.apply(this,arguments)})},{key:"dispatchEventInSandbox",value:(s=d(a.default.mark((function e(t){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._ready;case 2:e.sent.dispatchEvent(t);case 4:case"end":return e.stop()}}),e,this)}))),function(e){return s.apply(this,arguments)})},{key:"destroySandbox",value:(i=d(a.default.mark((function e(){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._ready;case 2:e.sent.nukeSandbox();case 4:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})}],n&&c(t.prototype,n),r&&c(t,r),e}();t.GenericScripting=h},(e,t,n)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.PDFSinglePageViewer=void 0;var a=n(21),o=n(2);function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=d(e)););return e}(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(n):a.value}},s(e,t,n||e)}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function c(e){var t=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(e){return!1}}();return function(){var n,r=d(e);if(t){var a=d(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(u,e);var t,n,r,a=c(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=a.call(this,e)).eventBus._on("pagesinit",(function(e){t._ensurePageViewVisible()})),t}return t=u,(n=[{key:"_viewerElement",get:function(){return(0,o.shadow)(this,"_viewerElement",this._shadowViewer)}},{key:"_pageWidthScaleFactor",get:function(){return 1}},{key:"_resetView",value:function(){s(d(u.prototype),"_resetView",this).call(this),this._previousPageNumber=1,this._shadowViewer=document.createDocumentFragment(),this._updateScrollDown=null}},{key:"_ensurePageViewVisible",value:function(){var e=this._pages[this._currentPageNumber-1],t=this._pages[this._previousPageNumber-1],n=this.viewer.childNodes;switch(n.length){case 0:this.viewer.appendChild(e.div);break;case 1:if(n[0]!==t.div)throw new Error("_ensurePageViewVisible: Unexpected previously visible page.");if(e===t)break;this._shadowViewer.appendChild(t.div),this.viewer.appendChild(e.div),this.container.scrollTop=0;break;default:throw new Error("_ensurePageViewVisible: Only one page should be visible at a time.")}this._previousPageNumber=this._currentPageNumber}},{key:"_scrollUpdate",value:function(){this._updateScrollDown&&this._updateScrollDown(),s(d(u.prototype),"_scrollUpdate",this).call(this)}},{key:"_scrollIntoView",value:function(e){var t=this,n=e.pageDiv,r=e.pageSpot,a=void 0===r?null:r,o=e.pageNumber,i=void 0===o?null:o;i&&this._setCurrentPageNumber(i);var l=this._currentPageNumber>=this._previousPageNumber;this._ensurePageViewVisible(),this.update(),s(d(u.prototype),"_scrollIntoView",this).call(this,{pageDiv:n,pageSpot:a,pageNumber:i}),this._updateScrollDown=function(){t.scroll.down=l,t._updateScrollDown=null}}},{key:"_getVisiblePages",value:function(){return this._getCurrentVisiblePage()}},{key:"_updateHelper",value:function(e){}},{key:"_isScrollModeHorizontal",get:function(){return(0,o.shadow)(this,"_isScrollModeHorizontal",!1)}},{key:"_updateScrollMode",value:function(){}},{key:"_updateSpreadMode",value:function(){}},{key:"_getPageAdvance",value:function(){return 1}}])&&i(t.prototype,n),r&&i(t,r),u}(a.BaseViewer);t.PDFSinglePageViewer=f},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseViewer=void 0;var r=n(2),a=n(7),o=n(17),i=n(1),s=n(3),l=n(16),c=n(6),u=n(22),d=n(8),f=n(23);function h(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e){var t=[];this.push=function(n){var r=t.indexOf(n);r>=0&&t.splice(r,1),t.push(n),t.length>e&&t.shift().destroy()},this.resize=function(n,r){if(e=n,r){for(var o=new Set,i=0,s=r.length;i<s;++i)o.add(r[i].id);(0,a.moveToEndOfArray)(t,(function(e){return o.has(e.id)}))}for(;t.length>e;)t.shift().destroy()},this.has=function(e){return t.includes(e)}}function b(e,t){return t===e||Math.abs(t-e)<1e-15}var g=function(){function e(t){var n,i,l=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.constructor===e)throw new Error("Cannot initialize BaseViewer.");var u="2.9.359";if(r.version!==u)throw new Error('The API version "'.concat(r.version,'" does not match the Viewer version "').concat(u,'".'));if(this._name=this.constructor.name,this.container=t.container,this.viewer=t.viewer||t.container.firstElementChild,"DIV"!==(null===(n=this.container)||void 0===n?void 0:n.tagName.toUpperCase())||"DIV"!==(null===(i=this.viewer)||void 0===i?void 0:i.tagName.toUpperCase()))throw new Error("Invalid `container` and/or `viewer` option.");if(this.container.offsetParent&&"absolute"!==getComputedStyle(this.container).position)throw new Error("The `container` must be absolutely positioned.");this.eventBus=t.eventBus,this.linkService=t.linkService||new c.SimpleLinkService,this.downloadManager=t.downloadManager||null,this.findController=t.findController||null,this._scriptingManager=t.scriptingManager||null,this.removePageBorders=t.removePageBorders||!1,this.textLayerMode=Number.isInteger(t.textLayerMode)?t.textLayerMode:a.TextLayerMode.ENABLE,this.imageResourcesPath=t.imageResourcesPath||"",this.renderInteractiveForms=!1!==t.renderInteractiveForms,this.enablePrintAutoRotate=t.enablePrintAutoRotate||!1,this.renderer=t.renderer||a.RendererType.CANVAS,this.useOnlyCssZoom=t.useOnlyCssZoom||!1,this.maxCanvasPixels=t.maxCanvasPixels,this.l10n=t.l10n||s.NullL10n,this.enableScripting=!0===t.enableScripting&&!!this._scriptingManager,this.defaultRenderingQueue=!t.renderingQueue,this.defaultRenderingQueue?(this.renderingQueue=new o.PDFRenderingQueue,this.renderingQueue.setViewer(this)):this.renderingQueue=t.renderingQueue,this.scroll=(0,a.watchScroll)(this.container,this._scrollUpdate.bind(this)),this.presentationModeState=a.PresentationModeState.UNKNOWN,this._onBeforeDraw=this._onAfterDraw=null,this._resetView(),this.removePageBorders&&this.viewer.classList.add("removePageBorders"),Promise.resolve().then((function(){l.eventBus.dispatch("baseviewerinit",{source:l})}))}var t,n,p;return t=e,n=[{key:"pagesCount",get:function(){return this._pages.length}},{key:"getPageView",value:function(e){return this._pages[e]}},{key:"pageViewsReady",get:function(){return!!this._pagesCapability.settled&&this._pages.every((function(e){return null==e?void 0:e.pdfPage}))}},{key:"currentPageNumber",get:function(){return this._currentPageNumber},set:function(e){if(!Number.isInteger(e))throw new Error("Invalid page number.");this.pdfDocument&&(this._setCurrentPageNumber(e,!0)||console.error("".concat(this._name,'.currentPageNumber: "').concat(e,'" is not a valid page.')))}},{key:"_setCurrentPageNumber",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this._currentPageNumber===e)return r&&this._resetCurrentPageView(),!0;if(!(0<e&&e<=this.pagesCount))return!1;var a=this._currentPageNumber;return this._currentPageNumber=e,this.eventBus.dispatch("pagechanging",{source:this,pageNumber:e,pageLabel:null!==(t=null===(n=this._pageLabels)||void 0===n?void 0:n[e-1])&&void 0!==t?t:null,previous:a}),r&&this._resetCurrentPageView(),!0}},{key:"currentPageLabel",get:function(){var e,t;return null!==(e=null===(t=this._pageLabels)||void 0===t?void 0:t[this._currentPageNumber-1])&&void 0!==e?e:null},set:function(e){if(this.pdfDocument){var t=0|e;if(this._pageLabels){var n=this._pageLabels.indexOf(e);n>=0&&(t=n+1)}this._setCurrentPageNumber(t,!0)||console.error("".concat(this._name,'.currentPageLabel: "').concat(e,'" is not a valid page.'))}}},{key:"currentScale",get:function(){return this._currentScale!==a.UNKNOWN_SCALE?this._currentScale:a.DEFAULT_SCALE},set:function(e){if(isNaN(e))throw new Error("Invalid numeric scale.");this.pdfDocument&&this._setScale(e,!1)}},{key:"currentScaleValue",get:function(){return this._currentScaleValue},set:function(e){this.pdfDocument&&this._setScale(e,!1)}},{key:"pagesRotation",get:function(){return this._pagesRotation},set:function(e){if(!(0,a.isValidRotation)(e))throw new Error("Invalid pages rotation angle.");if(this.pdfDocument&&((e%=360)<0&&(e+=360),this._pagesRotation!==e)){this._pagesRotation=e;for(var t=this._currentPageNumber,n=0,r=this._pages.length;n<r;n++){var o=this._pages[n];o.update(o.scale,e)}this._currentScaleValue&&this._setScale(this._currentScaleValue,!0),this.eventBus.dispatch("rotationchanging",{source:this,pagesRotation:e,pageNumber:t}),this.defaultRenderingQueue&&this.update()}}},{key:"firstPagePromise",get:function(){return this.pdfDocument?this._firstPageCapability.promise:null}},{key:"onePageRendered",get:function(){return this.pdfDocument?this._onePageRenderedCapability.promise:null}},{key:"pagesPromise",get:function(){return this.pdfDocument?this._pagesCapability.promise:null}},{key:"_viewerElement",get:function(){throw new Error("Not implemented: _viewerElement")}},{key:"_onePageRenderedOrForceFetch",value:function(){return this.container.offsetParent&&0!==this._getVisiblePages().views.length?this._onePageRenderedCapability.promise:Promise.resolve()}},{key:"setDocument",value:function(e){var t=this;if(this.pdfDocument&&(this.eventBus.dispatch("pagesdestroy",{source:this}),this._cancelRendering(),this._resetView(),this.findController&&this.findController.setDocument(null),this._scriptingManager&&this._scriptingManager.setDocument(null)),this.pdfDocument=e,e){var n=e.isPureXfa,r=e.numPages,o=e.getPage(1),i=e.getOptionalContentConfig();this._pagesCapability.promise.then((function(){t.eventBus.dispatch("pagesloaded",{source:t,pagesCount:r})})),this._onBeforeDraw=function(e){var n=t._pages[e.pageNumber-1];n&&t._buffer.push(n)},this.eventBus._on("pagerender",this._onBeforeDraw),this._onAfterDraw=function(e){e.cssTransform||t._onePageRenderedCapability.settled||(t._onePageRenderedCapability.resolve(),t.eventBus._off("pagerendered",t._onAfterDraw),t._onAfterDraw=null)},this.eventBus._on("pagerendered",this._onAfterDraw),o.then((function(o){t._firstPageCapability.resolve(o),t._optionalContentConfigPromise=i;for(var s=t.currentScale,c=o.getViewport({scale:s*a.CSS_UNITS}),u=t.textLayerMode!==a.TextLayerMode.DISABLE?t:null,d=n?t:null,f=1;f<=r;++f){var h=new l.PDFPageView({container:t._viewerElement,eventBus:t.eventBus,id:f,scale:s,defaultViewport:c.clone(),optionalContentConfigPromise:i,renderingQueue:t.renderingQueue,textLayerFactory:u,textLayerMode:t.textLayerMode,annotationLayerFactory:t,xfaLayerFactory:d,structTreeLayerFactory:t,imageResourcesPath:t.imageResourcesPath,renderInteractiveForms:t.renderInteractiveForms,renderer:t.renderer,useOnlyCssZoom:t.useOnlyCssZoom,maxCanvasPixels:t.maxCanvasPixels,l10n:t.l10n});t._pages.push(h)}var p=t._pages[0];p&&(p.setPdfPage(o),t.linkService.cachePageRef(1,o.ref)),t._spreadMode!==a.SpreadMode.NONE&&t._updateSpreadMode(),t._onePageRenderedOrForceFetch().then((function(){if(t.findController&&t.findController.setDocument(e),t.enableScripting&&t._scriptingManager.setDocument(e),e.loadingParams.disableAutoFetch||r>7500)t._pagesCapability.resolve();else{var n=r-1;if(n<=0)t._pagesCapability.resolve();else for(var a=function(r){e.getPage(r).then((function(e){var a=t._pages[r-1];a.pdfPage||a.setPdfPage(e),t.linkService.cachePageRef(r,e.ref),0==--n&&t._pagesCapability.resolve()}),(function(e){console.error("Unable to get page ".concat(r," to initialize viewer"),e),0==--n&&t._pagesCapability.resolve()}))},o=2;o<=r;++o)a(o)}})),t.eventBus.dispatch("pagesinit",{source:t}),t.defaultRenderingQueue&&t.update()})).catch((function(e){console.error("Unable to initialize viewer",e)}))}}},{key:"setPageLabels",value:function(e){if(this.pdfDocument){e?Array.isArray(e)&&this.pdfDocument.numPages===e.length?this._pageLabels=e:(this._pageLabels=null,console.error("".concat(this._name,".setPageLabels: Invalid page labels."))):this._pageLabels=null;for(var t=0,n=this._pages.length;t<n;t++){var r,a;this._pages[t].setPageLabel(null!==(r=null===(a=this._pageLabels)||void 0===a?void 0:a[t])&&void 0!==r?r:null)}}}},{key:"_resetView",value:function(){this._pages=[],this._currentPageNumber=1,this._currentScale=a.UNKNOWN_SCALE,this._currentScaleValue=null,this._pageLabels=null,this._buffer=new v(10),this._location=null,this._pagesRotation=0,this._optionalContentConfigPromise=null,this._pagesRequests=new WeakMap,this._firstPageCapability=(0,r.createPromiseCapability)(),this._onePageRenderedCapability=(0,r.createPromiseCapability)(),this._pagesCapability=(0,r.createPromiseCapability)(),this._scrollMode=a.ScrollMode.VERTICAL,this._spreadMode=a.SpreadMode.NONE,this._onBeforeDraw&&(this.eventBus._off("pagerender",this._onBeforeDraw),this._onBeforeDraw=null),this._onAfterDraw&&(this.eventBus._off("pagerendered",this._onAfterDraw),this._onAfterDraw=null),this.viewer.textContent="",this._updateScrollMode()}},{key:"_scrollUpdate",value:function(){0!==this.pagesCount&&this.update()}},{key:"_scrollIntoView",value:function(e){var t=e.pageDiv,n=e.pageSpot,r=void 0===n?null:n;e.pageNumber,(0,a.scrollIntoView)(t,r)}},{key:"_setScaleUpdatePages",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(this._currentScaleValue=t.toString(),b(this._currentScale,e))r&&this.eventBus.dispatch("scalechanging",{source:this,scale:e,presetValue:t});else{for(var a=0,o=this._pages.length;a<o;a++)this._pages[a].update(e);if(this._currentScale=e,!n){var i,s=this._currentPageNumber;!this._location||this.isInPresentationMode||this.isChangingPresentationMode||(s=this._location.pageNumber,i=[null,{name:"XYZ"},this._location.left,this._location.top,null]),this.scrollPageIntoView({pageNumber:s,destArray:i,allowNegativeOffset:!0})}this.eventBus.dispatch("scalechanging",{source:this,scale:e,presetValue:r?t:void 0}),this.defaultRenderingQueue&&this.update()}}},{key:"_pageWidthScaleFactor",get:function(){return this._spreadMode===a.SpreadMode.NONE||this._scrollMode===a.ScrollMode.HORIZONTAL||this.isInPresentationMode?1:2}},{key:"_setScale",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=parseFloat(e);if(n>0)this._setScaleUpdatePages(n,e,t,!1);else{var r=this._pages[this._currentPageNumber-1];if(!r)return;var o=this.isInPresentationMode||this.removePageBorders,i=o?0:a.SCROLLBAR_PADDING,s=o?0:a.VERTICAL_PADDING;if(!o&&this._isScrollModeHorizontal){var l=[s,i];i=l[0],s=l[1]}var c=(this.container.clientWidth-i)/r.width*r.scale/this._pageWidthScaleFactor,u=(this.container.clientHeight-s)/r.height*r.scale;switch(e){case"page-actual":n=1;break;case"page-width":n=c;break;case"page-height":n=u;break;case"page-fit":n=Math.min(c,u);break;case"auto":var d=(0,a.isPortraitOrientation)(r)?c:Math.min(u,c);n=Math.min(a.MAX_AUTO_SCALE,d);break;default:return void console.error("".concat(this._name,'._setScale: "').concat(e,'" is an unknown zoom value.'))}this._setScaleUpdatePages(n,e,t,!0)}}},{key:"_resetCurrentPageView",value:function(){this.isInPresentationMode&&this._setScale(this._currentScaleValue,!0);var e=this._pages[this._currentPageNumber-1];this._scrollIntoView({pageDiv:e.div})}},{key:"pageLabelToPageNumber",value:function(e){if(!this._pageLabels)return null;var t=this._pageLabels.indexOf(e);return t<0?null:t+1}},{key:"scrollPageIntoView",value:function(e){var t=e.pageNumber,n=e.destArray,r=void 0===n?null:n,o=e.allowNegativeOffset,i=void 0!==o&&o,s=e.ignoreDestinationZoom,l=void 0!==s&&s;if(this.pdfDocument){var c=Number.isInteger(t)&&this._pages[t-1];if(c)if(!this.isInPresentationMode&&r){var u,d,f=0,h=0,p=0,m=0,v=c.rotation%180!=0,b=(v?c.height:c.width)/c.scale/a.CSS_UNITS,g=(v?c.width:c.height)/c.scale/a.CSS_UNITS,y=0;switch(r[1].name){case"XYZ":f=r[2],h=r[3],y=r[4],f=null!==f?f:0,h=null!==h?h:g;break;case"Fit":case"FitB":y="page-fit";break;case"FitH":case"FitBH":y="page-width",null===(h=r[2])&&this._location?(f=this._location.left,h=this._location.top):"number"!=typeof h&&(h=g);break;case"FitV":case"FitBV":f=r[2],p=b,m=g,y="page-height";break;case"FitR":f=r[2],h=r[3],p=r[4]-f,m=r[5]-h;var O=this.removePageBorders?0:a.SCROLLBAR_PADDING,w=this.removePageBorders?0:a.VERTICAL_PADDING;u=(this.container.clientWidth-O)/p/a.CSS_UNITS,d=(this.container.clientHeight-w)/m/a.CSS_UNITS,y=Math.min(Math.abs(u),Math.abs(d));break;default:return void console.error("".concat(this._name,".scrollPageIntoView: ")+'"'.concat(r[1].name,'" is not a valid destination type.'))}if(l||(y&&y!==this._currentScale?this.currentScaleValue=y:this._currentScale===a.UNKNOWN_SCALE&&(this.currentScaleValue=a.DEFAULT_SCALE_VALUE)),"page-fit"!==y||r[4]){var _=[c.viewport.convertToViewportPoint(f,h),c.viewport.convertToViewportPoint(f+p,h+m)],j=Math.min(_[0][0],_[1][0]),k=Math.min(_[0][1],_[1][1]);i||(j=Math.max(j,0),k=Math.max(k,0)),this._scrollIntoView({pageDiv:c.div,pageSpot:{left:j,top:k},pageNumber:t})}else this._scrollIntoView({pageDiv:c.div,pageNumber:t})}else this._setCurrentPageNumber(t,!0);else console.error("".concat(this._name,".scrollPageIntoView: ")+'"'.concat(t,'" is not a valid pageNumber parameter.'))}}},{key:"_updateLocation",value:function(e){var t=this._currentScale,n=this._currentScaleValue,r=parseFloat(n)===t?Math.round(1e4*t)/100:n,a=e.id,o="#page="+a;o+="&zoom="+r;var i=this._pages[a-1],s=this.container,l=i.getPagePoint(s.scrollLeft-e.x,s.scrollTop-e.y),c=Math.round(l[0]),u=Math.round(l[1]);o+=","+c+","+u,this._location={pageNumber:a,scale:r,top:u,left:c,rotation:this._pagesRotation,pdfOpenParams:o}}},{key:"_updateHelper",value:function(e){throw new Error("Not implemented: _updateHelper")}},{key:"update",value:function(){var e=this._getVisiblePages(),t=e.views,n=t.length;if(0!==n){var r=Math.max(10,2*n+1);this._buffer.resize(r,t),this.renderingQueue.renderHighestPriority(e),this._updateHelper(t),this._updateLocation(e.first),this.eventBus.dispatch("updateviewarea",{source:this,location:this._location})}}},{key:"containsElement",value:function(e){return this.container.contains(e)}},{key:"focus",value:function(){this.container.focus()}},{key:"_isScrollModeHorizontal",get:function(){return!this.isInPresentationMode&&this._scrollMode===a.ScrollMode.HORIZONTAL}},{key:"_isContainerRtl",get:function(){return"rtl"===getComputedStyle(this.container).direction}},{key:"isInPresentationMode",get:function(){return this.presentationModeState===a.PresentationModeState.FULLSCREEN}},{key:"isChangingPresentationMode",get:function(){return this.presentationModeState===a.PresentationModeState.CHANGING}},{key:"isHorizontalScrollbarEnabled",get:function(){return!this.isInPresentationMode&&this.container.scrollWidth>this.container.clientWidth}},{key:"isVerticalScrollbarEnabled",get:function(){return!this.isInPresentationMode&&this.container.scrollHeight>this.container.clientHeight}},{key:"_getCurrentVisiblePage",value:function(){if(!this.pagesCount)return{views:[]};var e=this._pages[this._currentPageNumber-1],t=e.div,n={id:e.id,x:t.offsetLeft+t.clientLeft,y:t.offsetTop+t.clientTop,view:e};return{first:n,last:n,views:[n]}}},{key:"_getVisiblePages",value:function(){return(0,a.getVisibleElements)({scrollEl:this.container,views:this._pages,sortByVisibility:!0,horizontal:this._isScrollModeHorizontal,rtl:this._isScrollModeHorizontal&&this._isContainerRtl})}},{key:"isPageVisible",value:function(e){return!!this.pdfDocument&&(Number.isInteger(e)&&e>0&&e<=this.pagesCount?this._getVisiblePages().views.some((function(t){return t.id===e})):(console.error("".concat(this._name,'.isPageVisible: "').concat(e,'" is not a valid page.')),!1))}},{key:"isPageCached",value:function(e){if(!this.pdfDocument||!this._buffer)return!1;if(!(Number.isInteger(e)&&e>0&&e<=this.pagesCount))return console.error("".concat(this._name,'.isPageCached: "').concat(e,'" is not a valid page.')),!1;var t=this._pages[e-1];return!!t&&this._buffer.has(t)}},{key:"cleanup",value:function(){for(var e=0,t=this._pages.length;e<t;e++)this._pages[e]&&this._pages[e].renderingState!==o.RenderingStates.FINISHED&&this._pages[e].reset()}},{key:"_cancelRendering",value:function(){for(var e=0,t=this._pages.length;e<t;e++)this._pages[e]&&this._pages[e].cancelRendering()}},{key:"_ensurePdfPageLoaded",value:function(e){var t=this;if(e.pdfPage)return Promise.resolve(e.pdfPage);if(this._pagesRequests.has(e))return this._pagesRequests.get(e);var n=this.pdfDocument.getPage(e.id).then((function(n){return e.pdfPage||e.setPdfPage(n),t._pagesRequests.delete(e),n})).catch((function(n){console.error("Unable to get page for page view",n),t._pagesRequests.delete(e)}));return this._pagesRequests.set(e,n),n}},{key:"forceRendering",value:function(e){var t=this,n=e||this._getVisiblePages(),r=this._isScrollModeHorizontal?this.scroll.right:this.scroll.down,a=this.renderingQueue.getHighestPriority(n,this._pages,r);return!!a&&(this._ensurePdfPageLoaded(a).then((function(){t.renderingQueue.renderView(a)})),!0)}},{key:"createTextLayerBuilder",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4?arguments[4]:void 0;return new d.TextLayerBuilder({textLayerDiv:e,eventBus:a,pageIndex:t,viewport:n,findController:this.isInPresentationMode?null:this.findController,enhanceTextSelection:!this.isInPresentationMode&&r})}},{key:"createAnnotationLayerBuilder",value:function(e,t){var n,r,a,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",c=arguments.length>4&&void 0!==arguments[4]&&arguments[4],u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:s.NullL10n,d=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,f=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,h=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null;return new i.AnnotationLayerBuilder({pageDiv:e,pdfPage:t,annotationStorage:o||(null===(n=this.pdfDocument)||void 0===n?void 0:n.annotationStorage),imageResourcesPath:l,renderInteractiveForms:c,linkService:this.linkService,downloadManager:this.downloadManager,l10n:u,enableScripting:null!=d?d:this.enableScripting,hasJSActionsPromise:f||(null===(r=this.pdfDocument)||void 0===r?void 0:r.hasJSActions()),mouseState:h||(null===(a=this._scriptingManager)||void 0===a?void 0:a.mouseState)})}},{key:"createXfaLayerBuilder",value:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return new f.XfaLayerBuilder({pageDiv:e,pdfPage:t,annotationStorage:r||(null===(n=this.pdfDocument)||void 0===n?void 0:n.annotationStorage)})}},{key:"createStructTreeLayerBuilder",value:function(e){return new u.StructTreeLayerBuilder({pdfPage:e})}},{key:"hasEqualPageSizes",get:function(){for(var e=this._pages[0],t=1,n=this._pages.length;t<n;++t){var r=this._pages[t];if(r.width!==e.width||r.height!==e.height)return!1}return!0}},{key:"getPagesOverview",value:function(){var e=this;return this._pages.map((function(t){var n=t.pdfPage.getViewport({scale:1});return!e.enablePrintAutoRotate||(0,a.isPortraitOrientation)(n)?{width:n.width,height:n.height,rotation:n.rotation}:{width:n.height,height:n.width,rotation:(n.rotation-90)%360}}))}},{key:"optionalContentConfigPromise",get:function(){return this.pdfDocument?this._optionalContentConfigPromise?this._optionalContentConfigPromise:this.pdfDocument.getOptionalContentConfig():Promise.resolve(null)},set:function(e){if(!(e instanceof Promise))throw new Error("Invalid optionalContentConfigPromise: ".concat(e));if(this.pdfDocument&&this._optionalContentConfigPromise){this._optionalContentConfigPromise=e;var t,n=h(this._pages);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.update(r.scale,r.rotation,e)}}catch(e){n.e(e)}finally{n.f()}this.update(),this.eventBus.dispatch("optionalcontentconfigchanged",{source:this,promise:e})}}},{key:"scrollMode",get:function(){return this._scrollMode},set:function(e){if(this._scrollMode!==e){if(!(0,a.isValidScrollMode)(e))throw new Error("Invalid scroll mode: ".concat(e));this._scrollMode=e,this.eventBus.dispatch("scrollmodechanged",{source:this,mode:e}),this._updateScrollMode(this._currentPageNumber)}}},{key:"_updateScrollMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this._scrollMode,n=this.viewer;n.classList.toggle("scrollHorizontal",t===a.ScrollMode.HORIZONTAL),n.classList.toggle("scrollWrapped",t===a.ScrollMode.WRAPPED),this.pdfDocument&&e&&(this._currentScaleValue&&isNaN(this._currentScaleValue)&&this._setScale(this._currentScaleValue,!0),this._setCurrentPageNumber(e,!0),this.update())}},{key:"spreadMode",get:function(){return this._spreadMode},set:function(e){if(this._spreadMode!==e){if(!(0,a.isValidSpreadMode)(e))throw new Error("Invalid spread mode: ".concat(e));this._spreadMode=e,this.eventBus.dispatch("spreadmodechanged",{source:this,mode:e}),this._updateSpreadMode(this._currentPageNumber)}}},{key:"_updateSpreadMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.pdfDocument){var t=this.viewer,n=this._pages;if(t.textContent="",this._spreadMode===a.SpreadMode.NONE)for(var r=0,o=n.length;r<o;++r)t.appendChild(n[r].div);else for(var i=this._spreadMode-1,s=null,l=0,c=n.length;l<c;++l)null===s?((s=document.createElement("div")).className="spread",t.appendChild(s)):l%2===i&&(s=s.cloneNode(!1),t.appendChild(s)),s.appendChild(n[l].div);e&&(this._currentScaleValue&&isNaN(this._currentScaleValue)&&this._setScale(this._currentScaleValue,!0),this._setCurrentPageNumber(e,!0),this.update())}}},{key:"_getPageAdvance",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.isInPresentationMode)return 1;switch(this._scrollMode){case a.ScrollMode.WRAPPED:var n,r=this._getVisiblePages(),o=r.views,i=new Map,s=h(o);try{for(s.s();!(n=s.n()).done;){var l=n.value,c=l.id,u=l.y,d=l.percent,f=l.widthPercent;if(!(0===d||f<100)){var p=i.get(u);p||i.set(u,p||(p=[])),p.push(c)}}}catch(e){s.e(e)}finally{s.f()}var m,v=h(i.values());try{for(v.s();!(m=v.n()).done;){var b=m.value,g=b.indexOf(e);if(-1!==g){var y=b.length;if(1===y)break;if(t)for(var O=g-1,w=0;O>=w;O--){var _=b[O],j=b[O+1]-1;if(_<j)return e-j}else for(var k=g+1,x=y;k<x;k++){var S=b[k],C=b[k-1]+1;if(S>C)return C-e}if(t){var M=b[0];if(M<e)return e-M+1}else{var A=b[y-1];if(A>e)return A-e+1}break}}}catch(e){v.e(e)}finally{v.f()}break;case a.ScrollMode.HORIZONTAL:break;case a.ScrollMode.VERTICAL:if(this._spreadMode===a.SpreadMode.NONE)break;var T=this._spreadMode-1;if(t&&e%2!==T)break;if(!t&&e%2===T)break;var E,L=this._getVisiblePages(),P=L.views,D=t?e-1:e+1,N=h(P);try{for(N.s();!(E=N.n()).done;){var R=E.value,I=R.id,B=R.percent,F=R.widthPercent;if(I===D){if(B>0&&100===F)return 2;break}}}catch(e){N.e(e)}finally{N.f()}}return 1}},{key:"nextPage",value:function(){var e=this._currentPageNumber,t=this.pagesCount;if(e>=t)return!1;var n=this._getPageAdvance(e,!1)||1;return this.currentPageNumber=Math.min(e+n,t),!0}},{key:"previousPage",value:function(){var e=this._currentPageNumber;if(e<=1)return!1;var t=this._getPageAdvance(e,!0)||1;return this.currentPageNumber=Math.max(e-t,1),!0}}],n&&m(t.prototype,n),p&&m(t,p),e}();t.BaseViewer=g},(e,t)=>{function n(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0,o=function(){};return{s:o,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},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 i,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw i}}}}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}Object.defineProperty(t,"__esModule",{value:!0}),t.StructTreeLayerBuilder=t.DefaultStructTreeLayerFactory=void 0;var s={Document:null,DocumentFragment:null,Part:"group",Sect:"group",Div:"group",Aside:"note",NonStruct:"none",P:null,H:"heading",Title:null,FENote:"note",Sub:"group",Lbl:null,Span:null,Em:null,Strong:null,Link:"link",Annot:"note",Form:"form",Ruby:null,RB:null,RT:null,RP:null,Warichu:null,WT:null,WP:null,L:"list",LI:"listitem",LBody:null,Table:"table",TR:"row",TH:"columnheader",TD:"cell",THead:"columnheader",TBody:null,TFoot:null,Caption:null,Figure:"figure",Formula:null,Artifact:null},l=/^H(\d+)$/,c=function(){function e(t){var n=t.pdfPage;a(this,e),this.pdfPage=n}return i(e,[{key:"render",value:function(e){return this._walk(e)}},{key:"_setAttributes",value:function(e,t){void 0!==e.alt&&t.setAttribute("aria-label",e.alt),void 0!==e.id&&t.setAttribute("aria-owns",e.id)}},{key:"_walk",value:function(e){if(!e)return null;var t=document.createElement("span");if("role"in e){var r=e.role,a=r.match(l);a?(t.setAttribute("role","heading"),t.setAttribute("aria-level",a[1])):s[r]&&t.setAttribute("role",s[r])}if(this._setAttributes(e,t),e.children)if(1===e.children.length&&"id"in e.children[0])this._setAttributes(e.children[0],t);else{var o,i=n(e.children);try{for(i.s();!(o=i.n()).done;){var c=o.value;t.appendChild(this._walk(c))}}catch(e){i.e(e)}finally{i.f()}}return t}}]),e}();t.StructTreeLayerBuilder=c;var u=function(){function e(){a(this,e)}return i(e,[{key:"createStructTreeLayerBuilder",value:function(e){return new c({pdfPage:e})}}]),e}();t.DefaultStructTreeLayerFactory=u},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XfaLayerBuilder=t.DefaultXfaLayerFactory=void 0;var r=n(2);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}var s=function(){function e(t){var n=t.pageDiv,r=t.pdfPage,o=t.annotationStorage;a(this,e),this.pageDiv=n,this.pdfPage=r,this.annotationStorage=o,this.div=null,this._cancelled=!1}return i(e,[{key:"render",value:function(e){var t=this;return this.pdfPage.getXfa().then((function(n){if(!t._cancelled){var a={viewport:e.clone({dontFlip:!0}),div:t.div,xfa:n,page:t.pdfPage,annotationStorage:t.annotationStorage};t.div?r.XfaLayer.update(a):(t.div=document.createElement("div"),t.pageDiv.appendChild(t.div),a.div=t.div,r.XfaLayer.render(a))}})).catch((function(e){console.error(e)}))}},{key:"cancel",value:function(){this._cancelled=!0}},{key:"hide",value:function(){this.div&&(this.div.hidden=!0)}}]),e}();t.XfaLayerBuilder=s;var l=function(){function e(){a(this,e)}return i(e,[{key:"createXfaLayerBuilder",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return new s({pageDiv:e,pdfPage:t,annotationStorage:n})}}]),e}();t.DefaultXfaLayerFactory=l},(e,t,n)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.PDFViewer=void 0;var a=n(7),o=n(21),i=n(2);function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return d="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(n):a.value}},d(e,t,n||e)}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function h(e){var t=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(e){return!1}}();return function(){var n,r=m(e);if(t){var a=m(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(l,e);var t,n,r,o=h(l);function l(){return c(this,l),o.apply(this,arguments)}return t=l,(n=[{key:"_viewerElement",get:function(){return(0,i.shadow)(this,"_viewerElement",this.viewer)}},{key:"_scrollIntoView",value:function(e){var t=e.pageDiv,n=e.pageSpot,r=void 0===n?null:n,a=e.pageNumber,o=void 0===a?null:a;if(!r&&!this.isInPresentationMode){var i=t.offsetLeft+t.clientLeft,s=i+t.clientWidth,c=this.container,u=c.scrollLeft,f=c.clientWidth;(this._isScrollModeHorizontal||i<u||s>u+f)&&(r={left:0,top:0})}d(m(l.prototype),"_scrollIntoView",this).call(this,{pageDiv:t,pageSpot:r,pageNumber:o})}},{key:"_getVisiblePages",value:function(){return this.isInPresentationMode?this._getCurrentVisiblePage():d(m(l.prototype),"_getVisiblePages",this).call(this)}},{key:"_updateHelper",value:function(e){if(!this.isInPresentationMode){var t,n=this._currentPageNumber,r=!1,o=s(e);try{for(o.s();!(t=o.n()).done;){var i=t.value;if(i.percent<100)break;if(i.id===n&&this._scrollMode===a.ScrollMode.VERTICAL&&this._spreadMode===a.SpreadMode.NONE){r=!0;break}}}catch(e){o.e(e)}finally{o.f()}r||(n=e[0].id),this._setCurrentPageNumber(n)}}}])&&u(t.prototype,n),r&&u(t,r),l}(o.BaseViewer);t.PDFViewer=v}],t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n](o,o.exports,r),o.loaded=!0,o.exports}r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var a={};return(()=>{var e=a;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AnnotationLayerBuilder",{enumerable:!0,get:function(){return t.AnnotationLayerBuilder}}),Object.defineProperty(e,"DefaultAnnotationLayerFactory",{enumerable:!0,get:function(){return t.DefaultAnnotationLayerFactory}}),Object.defineProperty(e,"DefaultTextLayerFactory",{enumerable:!0,get:function(){return n.DefaultTextLayerFactory}}),Object.defineProperty(e,"TextLayerBuilder",{enumerable:!0,get:function(){return n.TextLayerBuilder}}),Object.defineProperty(e,"EventBus",{enumerable:!0,get:function(){return o.EventBus}}),Object.defineProperty(e,"ProgressBar",{enumerable:!0,get:function(){return o.ProgressBar}}),Object.defineProperty(e,"PDFLinkService",{enumerable:!0,get:function(){return i.PDFLinkService}}),Object.defineProperty(e,"SimpleLinkService",{enumerable:!0,get:function(){return i.SimpleLinkService}}),Object.defineProperty(e,"DownloadManager",{enumerable:!0,get:function(){return s.DownloadManager}}),Object.defineProperty(e,"GenericL10n",{enumerable:!0,get:function(){return l.GenericL10n}}),Object.defineProperty(e,"NullL10n",{enumerable:!0,get:function(){return c.NullL10n}}),Object.defineProperty(e,"PDFFindController",{enumerable:!0,get:function(){return u.PDFFindController}}),Object.defineProperty(e,"PDFHistory",{enumerable:!0,get:function(){return d.PDFHistory}}),Object.defineProperty(e,"PDFPageView",{enumerable:!0,get:function(){return f.PDFPageView}}),Object.defineProperty(e,"PDFScriptingManager",{enumerable:!0,get:function(){return h.PDFScriptingManager}}),Object.defineProperty(e,"PDFSinglePageViewer",{enumerable:!0,get:function(){return p.PDFSinglePageViewer}}),Object.defineProperty(e,"PDFViewer",{enumerable:!0,get:function(){return m.PDFViewer}});var t=r(1),n=r(8),o=r(7),i=r(6),s=r(9),l=r(11),c=r(3),u=r(13),d=r(15),f=r(16),h=r(18),p=r(20),m=r(24)})(),a})()},e.exports=r()},18:(e,t,n)=>{var r=n(194);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals),(0,n(346).Z)("4bef1e68",r,!1,{})},346:(e,t,n)=>{"use strict";function r(e,t){for(var n=[],r={},a=0;a<t.length;a++){var o=t[a],i=o[0],s={id:e+":"+a,css:o[1],media:o[2],sourceMap:o[3]};r[i]?r[i].parts.push(s):n.push(r[i]={id:i,parts:[s]})}return n}n.d(t,{Z:()=>p});var a="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!a)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},i=a&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,u=function(){},d=null,f="data-vue-ssr-id",h="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(e,t,n,a){c=n,d=a||{};var i=r(e,t);return m(i),function(t){for(var n=[],a=0;a<i.length;a++){var s=i[a];(l=o[s.id]).refs--,n.push(l)}for(t?m(i=r(e,t)):i=[],a=0;a<n.length;a++){var l;if(0===(l=n[a]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete o[l.id]}}}}function m(e){for(var t=0;t<e.length;t++){var n=e[t],r=o[n.id];if(r){r.refs++;for(var a=0;a<r.parts.length;a++)r.parts[a](n.parts[a]);for(;a<n.parts.length;a++)r.parts.push(b(n.parts[a]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var i=[];for(a=0;a<n.parts.length;a++)i.push(b(n.parts[a]));o[n.id]={id:n.id,refs:1,parts:i}}}}function v(){var e=document.createElement("style");return e.type="text/css",i.appendChild(e),e}function b(e){var t,n,r=document.querySelector("style["+f+'~="'+e.id+'"]');if(r){if(c)return u;r.parentNode.removeChild(r)}if(h){var a=l++;r=s||(s=v()),t=O.bind(null,r,a,!1),n=O.bind(null,r,a,!0)}else r=v(),t=w.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var g,y=(g=[],function(e,t){return g[e]=t,g.filter(Boolean).join("\n")});function O(e,t,n,r){var a=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=y(t,a);else{var o=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function w(e,t){var n=t.css,r=t.media,a=t.sourceMap;if(r&&e.setAttribute("media",r),d.ssrId&&e.setAttribute(f,t.id),a&&(n+="\n/*# sourceURL="+a.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},477:e=>{"use strict";e.exports=function(e,t,n,r){var a=self||window;try{try{var o;try{o=new a.Blob([e])}catch(t){(o=new(a.BlobBuilder||a.WebKitBlobBuilder||a.MozBlobBuilder||a.MSBlobBuilder)).append(e),o=o.getBlob()}var i=a.URL||a.webkitURL,s=i.createObjectURL(o),l=new a[t](s,n);return i.revokeObjectURL(s),l}catch(r){return new a[t]("data:application/javascript,".concat(encodeURIComponent(e)),n)}}catch(e){if(!r)throw Error("Inline worker is not supported");return new a[t](r,n)}}},103:e=>{"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__103__},601:()=>{},767:()=>{},251:()=>{},677:()=>{},543:()=>{},324:()=>{}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};return(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>k});var e={};__webpack_require__.r(e),__webpack_require__.d(e,{s:()=>o});var t=__webpack_require__(103),n=(0,t.createVNode)("canvas",null,null,-1),r={key:0,class:"textLayer"},a={key:1,class:"annotationLayer"};function o(e,o,i,s,l,c){return(0,t.openBlock)(),(0,t.createBlock)("div",{id:i.id,class:"vue-pdf-embed"},[((0,t.openBlock)(!0),(0,t.createBlock)(t.Fragment,null,(0,t.renderList)(l.pageNums,(function(o){return(0,t.openBlock)(),(0,t.createBlock)("div",{key:o},[(0,t.renderSlot)(e.$slots,"before-page",{page:o}),(0,t.createVNode)("div",{id:i.id&&"".concat(i.id,"-").concat(o),class:"vue-pdf-embed__page"},[n,i.textLayer?((0,t.openBlock)(),(0,t.createBlock)("div",r)):(0,t.createCommentVNode)("v-if",!0),i.annotationLayer?((0,t.openBlock)(),(0,t.createBlock)("div",a)):(0,t.createCommentVNode)("v-if",!0)],8,["id"]),(0,t.renderSlot)(e.$slots,"after-page",{page:o})])})),128))],8,["id"])}var i=__webpack_require__(783),s=__webpack_require__(477),l=__webpack_require__.n(s),c=__webpack_require__(102);function u(e,t,n){var r=e.contentWindow.document.createElement("style");r.textContent="\n    @page {\n      margin: 0;\n      size: ".concat(t,"pt ").concat(n,"pt;\n    }\n    body {\n      margin: 0;\n    }\n    canvas {\n      width: 100%;\n      page-break-after: always;\n      page-break-before: avoid;\n      page-break-inside: avoid;\n    }\n  "),e.contentWindow.document.head.appendChild(r),e.contentWindow.document.body.style.width="100%"}function d(e){return new Promise((function(t){var n=document.createElement("iframe");n.width=0,n.height=0,n.style.position="absolute",n.style.top=0,n.style.left=0,n.style.border="none",n.style.overflow="hidden",n.onload=function(){return t(n)},e.appendChild(n)}))}function f(e,t){var n=URL.createObjectURL(new Blob([e],{type:"application/pdf"})),r=document.createElement("a");r.href=n,r.download=t,r.style.display="none",document.body.append(r),r.click(),setTimeout((function(){URL.revokeObjectURL(n),document.body.removeChild(r)}),1e3)}function h(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function p(e){e.querySelectorAll("canvas").forEach((function(e){var t;e.width=1,e.height=1,null===(t=e.getContext("2d"))||void 0===t||t.clearRect(0,0,1,1)}))}function m(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||b(e)||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.")}()}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||b(e,t)||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.")}()}function b(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function O(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){y(o,r,a,i,s,"next",e)}function s(e){y(o,r,a,i,s,"throw",e)}i(void 0)}))}}i.GlobalWorkerOptions.workerPort=new function(){return l()('(()=>{var e={636:function(e,t,r){var n;n=function(){return(()=>{var e=[,(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WorkerTask=t.WorkerMessageHandler=void 0;var n,a=(n=r(2))&&n.__esModule?n:{default:n},i=r(4),o=r(113),s=r(115),c=r(172),u=r(6),l=r(197),f=r(198),h=r(117);function d(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=v(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function p(e){return b(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||v(e)||m()}function g(e,t){return b(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(e,t)||v(e,t)||m()}function m(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v(e,t){if(e){if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function b(e){if(Array.isArray(e))return e}function w(e,t,r,n,a,i,o){try{var s=e[i](o),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,a)}function k(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function o(e){w(i,n,a,o,s,"next",e)}function s(e){w(i,n,a,o,s,"throw",e)}o(void 0)}))}}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A(e,t,r){return t&&x(e.prototype,t),r&&x(e,r),e}var O=function(){function e(t){S(this,e),this.name=t,this.terminated=!1,this._capability=(0,i.createPromiseCapability)()}return A(e,[{key:"finished",get:function(){return this._capability.promise}},{key:"finish",value:function(){this._capability.resolve()}},{key:"terminate",value:function(){this.terminated=!0}},{key:"ensureNotTerminated",value:function(){if(this.terminated)throw new Error("Worker task was terminated")}}]),e}();t.WorkerTask=O;var C,T=function(){function e(){S(this,e)}return A(e,null,[{key:"setup",value:function(t,r){var n=!1;t.on("test",(function(e){if(!n)if(n=!0,e instanceof Uint8Array){var r=255===e[0];t.postMessageTransfers=r,t.send("test",{supportTransfers:r})}else t.send("test",null)})),t.on("configure",(function(e){(0,i.setVerbosityLevel)(e.verbosity)})),t.on("GetDocRequest",(function(t){return e.createDocumentHandler(t,r)}))}},{key:"createDocumentHandler",value:function(e,t){var r,n=!1,u=null,m=[],v=(0,i.getVerbosityLevel)(),y=e.apiVersion,b="2.9.359";if(y!==b)throw new Error(\'The API version "\'.concat(y,\'" does not match \')+\'the Worker version "\'.concat(b,\'".\'));var w=[];for(var S in[])w.push(S);if(w.length)throw new Error("The `Array.prototype` contains unexpected enumerable properties: "+w.join(", ")+"; thus breaking e.g. `for...in` iteration of `Array`s.");var x=e.docId,A=e.docBaseUrl,C=e.docId+"_worker",T=new l.MessageHandler(C,x,t);function F(){if(n)throw new Error("Worker was terminated")}function P(e){m.push(e)}function _(e){e.finish();var t=m.indexOf(e);m.splice(t,1)}function I(e){return E.apply(this,arguments)}function E(){return(E=k(a.default.mark((function e(t){var n,i,o,s,c,u;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.ensureDoc("checkHeader");case 2:return e.next=4,r.ensureDoc("parseStartXRef");case 4:return e.next=6,r.ensureDoc("parse",[t]);case 6:if(t){e.next=9;break}return e.next=9,r.ensureDoc("checkFirstPage");case 9:return e.next=11,Promise.all([r.ensureDoc("numPages"),r.ensureDoc("fingerprint"),r.ensureDoc("isPureXfa")]);case 11:if(n=e.sent,i=g(n,3),o=i[0],s=i[1],!(c=i[2])){e.next=21;break}return P(u=new O("loadXfaFonts")),e.next=21,r.loadXfaFonts(T,u).catch((function(e){})).then((function(){return _(u)}));case 21:return e.abrupt("return",{numPages:o,fingerprint:s,isPureXfa:c});case 22:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function j(e,t,r){var n,a=(0,i.createPromiseCapability)(),o=e.source;if(o.data){try{n=new s.LocalPdfManager(x,o.data,o.password,t,r,A),a.resolve(n)}catch(e){a.reject(e)}return a.promise}var c,l=[];try{c=new f.PDFWorkerStream(T)}catch(e){return a.reject(e),a.promise}var h=c.getFullReader();h.headersReady.then((function(){if(h.isRangeSupported){var e=o.disableAutoFetch||h.isStreamingSupported;n=new s.NetworkPdfManager(x,c,{msgHandler:T,password:o.password,length:h.contentLength,disableAutoFetch:e,rangeChunkSize:o.rangeChunkSize},t,r,A);for(var i=0;i<l.length;i++)n.sendProgressiveData(l[i]);l=[],a.resolve(n),u=null}})).catch((function(e){a.reject(e),u=null}));var d=0;return new Promise((function(e,c){h.read().then((function e(f){var p=f.value,g=f.done;try{if(F(),g)return n||function(){var e=(0,i.arraysToBytes)(l);o.length&&e.length!==o.length&&(0,i.warn)("reported HTTP length is different from actual");try{n=new s.LocalPdfManager(x,e,o.password,t,r,A),a.resolve(n)}catch(e){a.reject(e)}l=[]}(),void(u=null);d+=(0,i.arrayByteLength)(p),h.isStreamingSupported||T.send("DocProgress",{loaded:d,total:Math.max(d,h.contentLength||0)}),n?n.sendProgressiveData(p):l.push(p),h.read().then(e,c)}catch(e){c(e)}}),c)})).catch((function(e){a.reject(e),u=null})),u=function(e){c.cancelAllRequests(e)},a.promise}return T.postMessageTransfers=e.postMessageTransfers,T.on("GetPage",(function(e){return r.getPage(e.pageIndex).then((function(e){return Promise.all([r.ensure(e,"rotate"),r.ensure(e,"ref"),r.ensure(e,"userUnit"),r.ensure(e,"view")]).then((function(e){var t=g(e,4);return{rotate:t[0],ref:t[1],userUnit:t[2],view:t[3]}}))}))})),T.on("GetPageIndex",(function(e){var t=e.ref,n=o.Ref.get(t.num,t.gen);return r.ensureCatalog("getPageIndex",[n])})),T.on("GetDestinations",(function(e){return r.ensureCatalog("destinations")})),T.on("GetDestination",(function(e){return r.ensureCatalog("getDestination",[e.id])})),T.on("GetPageLabels",(function(e){return r.ensureCatalog("pageLabels")})),T.on("GetPageLayout",(function(e){return r.ensureCatalog("pageLayout")})),T.on("GetPageMode",(function(e){return r.ensureCatalog("pageMode")})),T.on("GetViewerPreferences",(function(e){return r.ensureCatalog("viewerPreferences")})),T.on("GetOpenAction",(function(e){return r.ensureCatalog("openAction")})),T.on("GetAttachments",(function(e){return r.ensureCatalog("attachments")})),T.on("GetJavaScript",(function(e){return r.ensureCatalog("javaScript")})),T.on("GetDocJSActions",(function(e){return r.ensureCatalog("jsActions")})),T.on("GetPageJSActions",(function(e){var t=e.pageIndex;return r.getPage(t).then((function(e){return r.ensure(e,"jsActions")}))})),T.on("GetPageXfa",(function(e){var t=e.pageIndex;return r.getPage(t).then((function(e){return r.ensure(e,"xfaData")}))})),T.on("GetOutline",(function(e){return r.ensureCatalog("documentOutline")})),T.on("GetOptionalContentConfig",(function(e){return r.ensureCatalog("optionalContentConfig")})),T.on("GetPermissions",(function(e){return r.ensureCatalog("permissions")})),T.on("GetMetadata",(function(e){return Promise.all([r.ensureDoc("documentInfo"),r.ensureCatalog("metadata")])})),T.on("GetMarkInfo",(function(e){return r.ensureCatalog("markInfo")})),T.on("GetData",(function(e){return r.requestLoadedStream(),r.onLoadedStream().then((function(e){return e.bytes}))})),T.on("GetStats",(function(e){return r.ensureXRef("stats")})),T.on("GetAnnotations",(function(e){var t=e.pageIndex,n=e.intent;return r.getPage(t).then((function(e){return e.getAnnotationsData(n)}))})),T.on("GetFieldObjects",(function(e){return r.ensureDoc("fieldObjects")})),T.on("HasJSActions",(function(e){return r.ensureDoc("hasJSActions")})),T.on("GetCalculationOrderIds",(function(e){return r.ensureDoc("calculationOrderIds")})),T.on("SaveDocument",(function(e){var t=e.numPages,n=e.annotationStorage,a=e.filename;r.requestLoadedStream();for(var s=[r.onLoadedStream(),r.ensureCatalog("acroForm"),r.ensureDoc("xref"),r.ensureDoc("startXRef")],u=function(e){s.push(r.getPage(e).then((function(t){var r=new O("Save: page ".concat(e));return P(r),t.save(T,r,n).finally((function(){_(r)}))})))},l=0;l<t;l++)u(l);return Promise.all(s).then((function(e){var t,r=p(e),n=r[0],s=r[1],u=r[2],l=r[3],f=[],h=d(r.slice(4));try{for(h.s();!(t=h.n()).done;)f=t.value.filter((function(e){return null!==e})).reduce((function(e,t){return e.concat(t)}),f)}catch(e){h.e(e)}finally{h.f()}if(0===f.length)return n.bytes;var g=s instanceof o.Dict&&s.get("XFA")||[],m=null;if(Array.isArray(g))for(var v=0,y=g.length;v<y;v+=2)"datasets"===g[v]&&(m=g[v+1]);else(0,i.warn)("Unsupported XFA type.");var b=Object.create(null);if(u.trailer){var w=Object.create(null),k=u.trailer.get("Info")||null;k instanceof o.Dict&&k.forEach((function(e,t){(0,i.isString)(e)&&(0,i.isString)(t)&&(w[e]=(0,i.stringToPDFString)(t))})),b={rootRef:u.trailer.getRaw("Root")||null,encryptRef:u.trailer.getRaw("Encrypt")||null,newRef:u.getNewRef(),infoRef:u.trailer.getRaw("Info")||null,info:w,fileIds:u.trailer.get("ID")||null,startXRef:l,filename:a}}return u.resetNewRef(),(0,c.incrementalUpdate)({originalData:n.bytes,xrefInfo:b,newRefs:f,xref:u,datasetsRef:m})}))})),T.on("GetOperatorList",(function(e,t){var n=e.pageIndex;r.getPage(n).then((function(r){var a=new O("GetOperatorList: page ".concat(n));P(a);var o=v>=i.VerbosityLevel.INFOS?Date.now():0;r.getOperatorList({handler:T,sink:t,task:a,intent:e.intent,renderInteractiveForms:e.renderInteractiveForms,annotationStorage:e.annotationStorage}).then((function(e){_(a),o&&(0,i.info)("page=".concat(n+1," - getOperatorList: time=")+"".concat(Date.now()-o,"ms, len=").concat(e.length)),t.close()}),(function(e){_(a),a.terminated||(T.send("UnsupportedFeature",{featureId:i.UNSUPPORTED_FEATURES.errorOperatorList}),t.error(e))}))}))})),T.on("GetTextContent",(function(e,t){var n=e.pageIndex;t.onPull=function(e){},t.onCancel=function(e){},r.getPage(n).then((function(r){var a=new O("GetTextContent: page "+n);P(a);var o=v>=i.VerbosityLevel.INFOS?Date.now():0;r.extractTextContent({handler:T,task:a,sink:t,normalizeWhitespace:e.normalizeWhitespace,includeMarkedContent:e.includeMarkedContent,combineTextItems:e.combineTextItems}).then((function(){_(a),o&&(0,i.info)("page=".concat(n+1," - getTextContent: time=")+"".concat(Date.now()-o,"ms")),t.close()}),(function(e){_(a),a.terminated||t.error(e)}))}))})),T.on("GetStructTree",(function(e){return r.getPage(e.pageIndex).then((function(e){return r.ensure(e,"getStructTree")}))})),T.on("FontFallback",(function(e){return r.fontFallback(e.id,T)})),T.on("Cleanup",(function(e){return r.cleanup(!0)})),T.on("Terminate",(function(e){n=!0;var t=[];if(r){r.terminate(new i.AbortException("Worker was terminated."));var a=r.cleanup();t.push(a),r=null}else(0,o.clearPrimitiveCaches)();u&&u(new i.AbortException("Worker was terminated."));var s,c=d(m);try{for(c.s();!(s=c.n()).done;){var l=s.value;t.push(l.finished),l.terminate()}}catch(e){c.e(e)}finally{c.f()}return Promise.all(t).then((function(){T.destroy(),T=null}))})),T.on("Ready",(function(t){!function(e){function t(e){F(),T.send("GetDoc",{pdfInfo:e})}function a(e){if(F(),e instanceof i.PasswordException){var t=new O("PasswordException: response ".concat(e.code));P(t),T.sendWithPromise("PasswordRequest",e).then((function(e){var n=e.password;_(t),r.updatePassword(n),o()})).catch((function(){_(t),T.send("DocException",e)}))}else e instanceof i.InvalidPDFException||e instanceof i.MissingPDFException||e instanceof i.UnexpectedResponseException||e instanceof i.UnknownErrorException?T.send("DocException",e):T.send("DocException",new i.UnknownErrorException(e.message,e.toString()))}function o(){F(),I(!1).then(t,(function(e){F(),e instanceof h.XRefParseException?(r.requestLoadedStream(),r.onLoadedStream().then((function(){F(),I(!0).then(t,a)}))):a(e)}))}F(),j(e,{maxImageSize:e.maxImageSize,disableFontFace:e.disableFontFace,ignoreErrors:e.ignoreErrors,isEvalSupported:e.isEvalSupported,fontExtraProperties:e.fontExtraProperties},e.enableXfa).then((function(e){if(n)throw e.terminate(new i.AbortException("Worker was terminated.")),new Error("Worker was terminated");(r=e).onLoadedStream().then((function(e){T.send("DataLoaded",{length:e.bytes.byteLength})}))})).then(o,a)}(e),e=null})),C}},{key:"initializeFromPort",value:function(t){var r=new l.MessageHandler("worker","main",t);e.setup(r,t),r.send("ready",null)}}]),e}();t.WorkerMessageHandler=T,"undefined"==typeof window&&!u.isNodeJS&&"undefined"!=typeof self&&"function"==typeof(C=self).postMessage&&"onmessage"in C&&T.initializeFromPort(self)},(e,t,r)=>{"use strict";e.exports=r(3)},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var a=function(e){var t,r=Object.prototype,a=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var a=t&&t.prototype instanceof v?t:v,i=Object.create(a.prototype),o=new P(n||[]);return i._invoke=function(e,t,r){var n=h;return function(a,i){if(n===p)throw new Error("Generator is already running");if(n===g){if("throw"===a)throw i;return I()}for(r.method=a,r.arg=i;;){var o=r.delegate;if(o){var s=C(o,r);if(s){if(s===m)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===h)throw n=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var c=f(e,t,r);if("normal"===c.type){if(n=r.done?g:d,c.arg===m)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=g,r.method="throw",r.arg=c.arg)}}}(e,r,o),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var h="suspendedStart",d="suspendedYield",p="executing",g="completed",m={};function v(){}function y(){}function b(){}var w={};w[o]=function(){return this};var k=Object.getPrototypeOf,S=k&&k(k(_([])));S&&S!==r&&a.call(S,o)&&(w=S);var x=b.prototype=v.prototype=Object.create(w);function A(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function r(i,o,s,c){var u=f(e[i],e,o);if("throw"!==u.type){var l=u.arg,h=l.value;return h&&"object"===n(h)&&a.call(h,"__await")?t.resolve(h.__await).then((function(e){r("next",e,s,c)}),(function(e){r("throw",e,s,c)})):t.resolve(h).then((function(e){l.value=e,s(l)}),(function(e){return r("throw",e,s,c)}))}c(u.arg)}var i;this._invoke=function(e,n){function a(){return new t((function(t,a){r(e,n,t,a)}))}return i=i?i.then(a,a):a()}}function C(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method))return m;r.method="throw",r.arg=new TypeError("The iterator does not provide a \'throw\' method")}return m}var a=f(n,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,m;var i=a.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function F(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function _(e){if(e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n<e.length;)if(a.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:I}}function I(){return{value:t,done:!0}}return y.prototype=x.constructor=b,b.constructor=y,y.displayName=u(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},A(O.prototype),O.prototype[s]=function(){return this},e.AsyncIterator=O,e.async=function(t,r,n,a,i){void 0===i&&(i=Promise);var o=new O(l(t,r,n,a),i);return e.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},A(x),u(x,c,"Generator"),x[o]=function(){return this},x.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=_,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(F),!e)for(var r in this)"t"===r.charAt(0)&&a.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,a){return s.type="throw",s.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(c&&u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),F(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;F(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:_(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}("object"===n(e=r.nmd(e))?e.exports:{});try{regeneratorRuntime=a}catch(e){Function("r","regeneratorRuntime = r")(a)}},(e,t,r)=>{"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function l(e){var t=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(e){return!1}}();return function(){var r,n=h(e);if(t){var a=h(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return f(this,r)}}function f(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.arrayByteLength=P,t.arraysToBytes=function(e){var t=e.length;if(1===t&&e[0]instanceof Uint8Array)return e[0];for(var r=0,n=0;n<t;n++)r+=P(e[n]);for(var a=0,i=new Uint8Array(r),o=0;o<t;o++){var s=e[o];s instanceof Uint8Array||(s="string"==typeof s?F(s):new Uint8Array(s));var c=s.byteLength;i.set(s,a),a+=c}return i},t.assert=v,t.bytesToString=function(e){v(null!==e&&"object"===o(e)&&void 0!==e.length,"Invalid argument for bytesToString");var t=e.length,r=8192;if(t<r)return String.fromCharCode.apply(null,e);for(var n=[],a=0;a<t;a+=r){var i=Math.min(a+r,t),s=e.subarray(a,i);n.push(String.fromCharCode.apply(null,s))}return n.join("")},t.createObjectURL=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(URL.createObjectURL&&!r)return URL.createObjectURL(new Blob([e],{type:t}));for(var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="data:".concat(t,";base64,"),i=0,o=e.length;i<o;i+=3){var s=255&e[i],c=255&e[i+1],u=255&e[i+2],l=s>>2,f=(3&s)<<4|c>>4,h=i+1<o?(15&c)<<2|u>>6:64,d=i+2<o?63&u:64;a+=n[l]+n[f]+n[h]+n[d]}return a},t.createPromiseCapability=function(){var e=Object.create(null),t=!1;return Object.defineProperty(e,"settled",{get:function(){return t}}),e.promise=new Promise((function(r,n){e.resolve=function(e){t=!0,r(e)},e.reject=function(e){t=!0,n(e)}})),e},t.createValidAbsoluteUrl=function(e,t){if(!e)return null;try{var r=t?new URL(e,t):new URL(e);if(function(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(r))return r}catch(e){}return null},t.escapeString=function(e){return e.replace(/([()\\\\\\n\\r])/g,(function(e){return"\\n"===e?"\\\\n":"\\r"===e?"\\\\r":"\\\\".concat(e)}))},t.getModificationDate=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,t=[e.getUTCFullYear().toString(),(e.getUTCMonth()+1).toString().padStart(2,"0"),e.getUTCDate().toString().padStart(2,"0"),e.getUTCHours().toString().padStart(2,"0"),e.getUTCMinutes().toString().padStart(2,"0"),e.getUTCSeconds().toString().padStart(2,"0")];return t.join("")},t.getVerbosityLevel=function(){return p},t.info=function(e){p>=d.INFOS&&console.log("Info: ".concat(e))},t.isArrayBuffer=function(e){return"object"===o(e)&&null!==e&&void 0!==e.byteLength},t.isArrayEqual=function(e,t){if(e.length!==t.length)return!1;for(var r=0,n=e.length;r<n;r++)if(e[r]!==t[r])return!1;return!0},t.isAscii=function(e){return/^[\\x00-\\x7F]*$/.test(e)},t.isBool=function(e){return"boolean"==typeof e},t.isNum=function(e){return"number"==typeof e},t.isSameOrigin=function(e,t){var r;try{if(!(r=new URL(e)).origin||"null"===r.origin)return!1}catch(e){return!1}var n=new URL(t,r);return r.origin===n.origin},t.isString=function(e){return"string"==typeof e},t.objectFromMap=function(e){var t,r,n,i=Object.create(null),o=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=a(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},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,s=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(c)throw o}}}}(e);try{for(o.s();!(t=o.n()).done;){var s=(r=t.value,n=2,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(r,n)||a(r,n)||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.")}()),c=s[0],u=s[1];i[c]=u}}catch(e){o.e(e)}finally{o.f()}return i},t.objectSize=function(e){return Object.keys(e).length},t.removeNullCharacters=function(e){return"string"!=typeof e?(g("The argument for removeNullCharacters must be a string."),e):e.replace(T,"")},t.setVerbosityLevel=function(e){Number.isInteger(e)&&(p=e)},t.shadow=y,t.string32=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},t.stringToBytes=F,t.stringToPDFString=function(e){var t=e.length,r=[];if("þ"===e[0]&&"ÿ"===e[1])for(var n=2;n<t;n+=2)r.push(String.fromCharCode(e.charCodeAt(n)<<8|e.charCodeAt(n+1)));else if("ÿ"===e[0]&&"þ"===e[1])for(var a=2;a<t;a+=2)r.push(String.fromCharCode(e.charCodeAt(a+1)<<8|e.charCodeAt(a)));else for(var i=0;i<t;++i){var o=M[e.charCodeAt(i)];r.push(o?String.fromCharCode(o):e.charAt(i))}return r.join("")},t.stringToUTF16BEString=function(e){for(var t=["þÿ"],r=0,n=e.length;r<n;r++){var a=e.charCodeAt(r);t.push(String.fromCharCode(a>>8&255),String.fromCharCode(255&a))}return t.join("")},t.stringToUTF8String=function(e){return decodeURIComponent(escape(e))},t.unreachable=m,t.utf8StringToString=function(e){return unescape(encodeURIComponent(e))},t.warn=g,t.VerbosityLevel=t.Util=t.UNSUPPORTED_FEATURES=t.UnknownErrorException=t.UnexpectedResponseException=t.TextRenderingMode=t.StreamType=t.PermissionFlag=t.PasswordResponses=t.PasswordException=t.PageActionEventType=t.OPS=t.MissingPDFException=t.IsLittleEndianCached=t.IsEvalSupportedCached=t.InvalidPDFException=t.ImageKind=t.IDENTITY_MATRIX=t.FormatError=t.FontType=t.FONT_IDENTITY_MATRIX=t.DocumentActionEventType=t.CMapCompressionType=t.BaseException=t.AnnotationType=t.AnnotationStateModelType=t.AnnotationReviewState=t.AnnotationReplyType=t.AnnotationMarkedState=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationBorderStyleType=t.AnnotationActionEventType=t.AbortException=void 0,r(5),t.IDENTITY_MATRIX=[1,0,0,1,0,0],t.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],t.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},t.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},t.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},t.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},t.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"},t.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"},t.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"},t.AnnotationReplyType={GROUP:"Group",REPLY:"R"},t.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},t.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},t.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},t.AnnotationActionEventType={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},t.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},t.PageActionEventType={O:"PageOpen",C:"PageClose"},t.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"},t.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};var d={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=d,t.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},t.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},t.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent"},t.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var p=d.WARNINGS;function g(e){p>=d.WARNINGS&&console.log("Warning: ".concat(e))}function m(e){throw new Error(e)}function v(e,t){e||m(t)}function y(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!1}),r}var b=function(){function e(t){this.constructor===e&&m("Cannot initialize BaseException."),this.message=t,this.name=this.constructor.name}return e.prototype=new Error,e.constructor=e,e}();t.BaseException=b;var w=function(e){c(r,e);var t=l(r);function r(e,n){var a;return s(this,r),(a=t.call(this,e)).code=n,a}return r}(b);t.PasswordException=w;var k=function(e){c(r,e);var t=l(r);function r(e,n){var a;return s(this,r),(a=t.call(this,e)).details=n,a}return r}(b);t.UnknownErrorException=k;var S=function(e){c(r,e);var t=l(r);function r(){return s(this,r),t.apply(this,arguments)}return r}(b);t.InvalidPDFException=S;var x=function(e){c(r,e);var t=l(r);function r(){return s(this,r),t.apply(this,arguments)}return r}(b);t.MissingPDFException=x;var A=function(e){c(r,e);var t=l(r);function r(e,n){var a;return s(this,r),(a=t.call(this,e)).status=n,a}return r}(b);t.UnexpectedResponseException=A;var O=function(e){c(r,e);var t=l(r);function r(){return s(this,r),t.apply(this,arguments)}return r}(b);t.FormatError=O;var C=function(e){c(r,e);var t=l(r);function r(){return s(this,r),t.apply(this,arguments)}return r}(b);t.AbortException=C;var T=/\\x00/g;function F(e){v("string"==typeof e,"Invalid argument for stringToBytes");for(var t=e.length,r=new Uint8Array(t),n=0;n<t;++n)r[n]=255&e.charCodeAt(n);return r}function P(e){return void 0!==e.length?e.length:(v(void 0!==e.byteLength,"arrayByteLength - invalid argument."),e.byteLength)}var _={get value(){return y(this,"value",((e=new Uint8Array(4))[0]=1,1===new Uint32Array(e.buffer,0,1)[0]));var e}};t.IsLittleEndianCached=_;var I={get value(){return y(this,"value",function(){try{return new Function(""),!0}catch(e){return!1}}())}};t.IsEvalSupportedCached=I;var E,j=(E=Array(256).keys(),function(e){if(Array.isArray(e))return i(e)}(E)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(E)||a(E)||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.")}()).map((function(e){return e.toString(16).padStart(2,"0")})),R=function(){function e(){s(this,e)}var t,r,a;return t=e,a=[{key:"makeHexColor",value:function(e,t,r){return"#".concat(j[e]).concat(j[t]).concat(j[r])}},{key:"transform",value:function(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}},{key:"applyTransform",value:function(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}},{key:"applyInverseTransform",value:function(e,t){var r=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/r,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/r]}},{key:"getAxialAlignedBoundingBox",value:function(t,r){var n=e.applyTransform(t,r),a=e.applyTransform(t.slice(2,4),r),i=e.applyTransform([t[0],t[3]],r),o=e.applyTransform([t[2],t[1]],r);return[Math.min(n[0],a[0],i[0],o[0]),Math.min(n[1],a[1],i[1],o[1]),Math.max(n[0],a[0],i[0],o[0]),Math.max(n[1],a[1],i[1],o[1])]}},{key:"inverseTransform",value:function(e){var t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}},{key:"apply3dTransform",value:function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2],e[3]*t[0]+e[4]*t[1]+e[5]*t[2],e[6]*t[0]+e[7]*t[1]+e[8]*t[2]]}},{key:"singularValueDecompose2dScale",value:function(e){var t=[e[0],e[2],e[1],e[3]],r=e[0]*t[0]+e[1]*t[2],n=e[0]*t[1]+e[1]*t[3],a=e[2]*t[0]+e[3]*t[2],i=e[2]*t[1]+e[3]*t[3],o=(r+i)/2,s=Math.sqrt(Math.pow(r+i,2)-4*(r*i-a*n))/2,c=o+s||1,u=o-s||1;return[Math.sqrt(c),Math.sqrt(u)]}},{key:"normalizeRect",value:function(e){var t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}},{key:"intersect",value:function(t,r){function n(e,t){return e-t}var a=[t[0],t[2],r[0],r[2]].sort(n),i=[t[1],t[3],r[1],r[3]].sort(n),o=[];return t=e.normalizeRect(t),r=e.normalizeRect(r),a[0]===t[0]&&a[1]===r[0]||a[0]===r[0]&&a[1]===t[0]?(o[0]=a[1],o[2]=a[2],i[0]===t[1]&&i[1]===r[1]||i[0]===r[1]&&i[1]===t[1]?(o[1]=i[1],o[3]=i[2],o):null):null}}],(r=null)&&n(t.prototype,r),a&&n(t,a),e}();t.Util=R;var M=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,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,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,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364]},(e,t,r)=>{"use strict";var n=r(6);"undefined"!=typeof globalThis&&globalThis._pdfjsCompatibilityChecked||("undefined"!=typeof globalThis&&globalThis.Math===Math||(globalThis=r(7)),globalThis._pdfjsCompatibilityChecked=!0,!globalThis.btoa&&n.isNodeJS&&(globalThis.btoa=function(e){return Buffer.from(e,"binary").toString("base64")}),!globalThis.atob&&n.isNodeJS&&(globalThis.atob=function(e){return Buffer.from(e,"base64").toString("binary")}),Object.fromEntries||r(53),globalThis.Promise.allSettled||(globalThis.Promise=r(84)),function(){var e=!1;if("undefined"!=typeof ReadableStream)try{new ReadableStream({start:function(e){e.close()}}),e=!0}catch(e){}e||(globalThis.ReadableStream=r(112).ReadableStream)}())},(e,t)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isNodeJS=void 0;var n=!("object"!==("undefined"==typeof process?"undefined":r(process))||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type);t.isNodeJS=n},(e,t,r)=>{r(8),e.exports=r(10)},(e,t,r)=>{r(9)({global:!0},{globalThis:r(10)})},(e,t,r)=>{var n=r(10),a=r(11).f,i=r(26),o=r(29),s=r(30),c=r(40),u=r(52);e.exports=function(e,t){var r,l,f,h,d,p=e.target,g=e.global,m=e.stat;if(r=g?n:m?n[p]||s(p,{}):(n[p]||{}).prototype)for(l in t){if(h=t[l],f=e.noTargetGet?(d=a(r,l))&&d.value:r[l],!u(g?l:p+(m?".":"#")+l,e.forced)&&void 0!==f){if(typeof h==typeof f)continue;c(h,f)}(e.sham||f&&f.sham)&&i(h,"sham",!0),o(r,l,h,e)}}},e=>{var t=function(e){return e&&e.Math==Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},(e,t,r)=>{var n=r(12),a=r(14),i=r(15),o=r(16),s=r(20),c=r(22),u=r(24),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=o(e),t=s(t,!0),u)try{return l(e,t)}catch(e){}if(c(e,t))return i(!a.f.call(e,t),e[t])}},(e,t,r)=>{var n=r(13);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,a=n&&!r.call({1:2},1);t.f=a?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},(e,t,r)=>{var n=r(17),a=r(19);e.exports=function(e){return n(a(e))}},(e,t,r)=>{var n=r(13),a=r(18),i="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?i.call(e,""):Object(e)}:Object},e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},e=>{e.exports=function(e){if(null==e)throw TypeError("Can\'t call method on "+e);return e}},(e,t,r)=>{var n=r(21);e.exports=function(e,t){if(!n(e))return e;var r,a;if(t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;if("function"==typeof(r=e.valueOf)&&!n(a=r.call(e)))return a;if(!t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;throw TypeError("Can\'t convert object to primitive value")}},e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},(e,t,r)=>{var n=r(23),a={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return a.call(n(e),t)}},(e,t,r)=>{var n=r(19);e.exports=function(e){return Object(n(e))}},(e,t,r)=>{var n=r(12),a=r(13),i=r(25);e.exports=!n&&!a((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},(e,t,r)=>{var n=r(10),a=r(21),i=n.document,o=a(i)&&a(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},(e,t,r)=>{var n=r(12),a=r(27),i=r(15);e.exports=n?function(e,t,r){return a.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},(e,t,r)=>{var n=r(12),a=r(24),i=r(28),o=r(20),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(i(e),t=o(t,!0),i(r),a)try{return s(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},(e,t,r)=>{var n=r(21);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},(e,t,r)=>{var n=r(10),a=r(26),i=r(22),o=r(30),s=r(31),c=r(33),u=c.get,l=c.enforce,f=String(String).split("String");(e.exports=function(e,t,r,s){var c,u=!!s&&!!s.unsafe,h=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof r&&("string"!=typeof t||i(r,"name")||a(r,"name",t),(c=l(r)).source||(c.source=f.join("string"==typeof t?t:""))),e!==n?(u?!d&&e[t]&&(h=!0):delete e[t],h?e[t]=r:a(e,t,r)):h?e[t]=r:o(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||s(this)}))},(e,t,r)=>{var n=r(10),a=r(26);e.exports=function(e,t){try{a(n,e,t)}catch(r){n[e]=t}return t}},(e,t,r)=>{var n=r(32),a=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return a.call(e)}),e.exports=n.inspectSource},(e,t,r)=>{var n=r(10),a=r(30),i="__core-js_shared__",o=n[i]||a(i,{});e.exports=o},(e,t,r)=>{var n,a,i,o=r(34),s=r(10),c=r(21),u=r(26),l=r(22),f=r(32),h=r(35),d=r(39),p="Object already initialized",g=s.WeakMap;if(o||f.state){var m=f.state||(f.state=new g),v=m.get,y=m.has,b=m.set;n=function(e,t){if(y.call(m,e))throw new TypeError(p);return t.facade=e,b.call(m,e,t),t},a=function(e){return v.call(m,e)||{}},i=function(e){return y.call(m,e)}}else{var w=h("state");d[w]=!0,n=function(e,t){if(l(e,w))throw new TypeError(p);return t.facade=e,u(e,w,t),t},a=function(e){return l(e,w)?e[w]:{}},i=function(e){return l(e,w)}}e.exports={set:n,get:a,has:i,enforce:function(e){return i(e)?a(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=a(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},(e,t,r)=>{var n=r(10),a=r(31),i=n.WeakMap;e.exports="function"==typeof i&&/native code/.test(a(i))},(e,t,r)=>{var n=r(36),a=r(38),i=n("keys");e.exports=function(e){return i[e]||(i[e]=a(e))}},(e,t,r)=>{var n=r(37),a=r(32);(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.13.1",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},e=>{e.exports=!1},e=>{var t=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+r).toString(36)}},e=>{e.exports={}},(e,t,r)=>{var n=r(22),a=r(41),i=r(11),o=r(27);e.exports=function(e,t){for(var r=a(t),s=o.f,c=i.f,u=0;u<r.length;u++){var l=r[u];n(e,l)||s(e,l,c(t,l))}}},(e,t,r)=>{var n=r(42),a=r(44),i=r(51),o=r(28);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(o(e)),r=i.f;return r?t.concat(r(e)):t}},(e,t,r)=>{var n=r(43),a=r(10),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e])||i(a[e]):n[e]&&n[e][t]||a[e]&&a[e][t]}},(e,t,r)=>{var n=r(10);e.exports=n},(e,t,r)=>{var n=r(45),a=r(50).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,a)}},(e,t,r)=>{var n=r(22),a=r(16),i=r(46).indexOf,o=r(39);e.exports=function(e,t){var r,s=a(e),c=0,u=[];for(r in s)!n(o,r)&&n(s,r)&&u.push(r);for(;t.length>c;)n(s,r=t[c++])&&(~i(u,r)||u.push(r));return u}},(e,t,r)=>{var n=r(16),a=r(47),i=r(49),o=function(e){return function(t,r,o){var s,c=n(t),u=a(c.length),l=i(o,u);if(e&&r!=r){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},(e,t,r)=>{var n=r(48),a=Math.min;e.exports=function(e){return e>0?a(n(e),9007199254740991):0}},e=>{var t=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:t)(e)}},(e,t,r)=>{var n=r(48),a=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?a(r+t,0):i(r,t)}},e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},(e,t)=>{t.f=Object.getOwnPropertySymbols},(e,t,r)=>{var n=r(13),a=/#|\\.prototype\\./,i=function(e,t){var r=s[o(e)];return r==u||r!=c&&("function"==typeof t?n(t):!!t)},o=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},s=i.data={},c=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},(e,t,r)=>{r(54),r(74);var n=r(43);e.exports=n.Object.fromEntries},(e,t,r)=>{"use strict";var n=r(16),a=r(55),i=r(65),o=r(33),s=r(66),c="Array Iterator",u=o.set,l=o.getterFor(c);e.exports=s(Array,"Array",(function(e,t){u(this,{type:c,target:n(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),i.Arguments=i.Array,a("keys"),a("values"),a("entries")},(e,t,r)=>{var n=r(56),a=r(61),i=r(27),o=n("unscopables"),s=Array.prototype;null==s[o]&&i.f(s,o,{configurable:!0,value:a(null)}),e.exports=function(e){s[o][e]=!0}},(e,t,r)=>{var n=r(10),a=r(36),i=r(22),o=r(38),s=r(57),c=r(60),u=a("wks"),l=n.Symbol,f=c?l:l&&l.withoutSetter||o;e.exports=function(e){return i(u,e)&&(s||"string"==typeof u[e])||(s&&i(l,e)?u[e]=l[e]:u[e]=f("Symbol."+e)),u[e]}},(e,t,r)=>{var n=r(58),a=r(13);e.exports=!!Object.getOwnPropertySymbols&&!a((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},(e,t,r)=>{var n,a,i=r(10),o=r(59),s=i.process,c=s&&s.versions,u=c&&c.v8;u?a=(n=u.split("."))[0]<4?1:n[0]+n[1]:o&&(!(n=o.match(/Edge\\/(\\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\\/(\\d+)/))&&(a=n[1]),e.exports=a&&+a},(e,t,r)=>{var n=r(42);e.exports=n("navigator","userAgent")||""},(e,t,r)=>{var n=r(57);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},(e,t,r)=>{var n,a=r(28),i=r(62),o=r(50),s=r(39),c=r(64),u=r(25),l=r(35),f=l("IE_PROTO"),h=function(){},d=function(e){return"<script>"+e+"<\\/script>"},p=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;p=n?function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):((t=u("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F);for(var r=o.length;r--;)delete p.prototype[o[r]];return p()};s[f]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(h.prototype=a(e),r=new h,h.prototype=null,r[f]=e):r=p(),void 0===t?r:i(r,t)}},(e,t,r)=>{var n=r(12),a=r(27),i=r(28),o=r(63);e.exports=n?Object.defineProperties:function(e,t){i(e);for(var r,n=o(t),s=n.length,c=0;s>c;)a.f(e,r=n[c++],t[r]);return e}},(e,t,r)=>{var n=r(45),a=r(50);e.exports=Object.keys||function(e){return n(e,a)}},(e,t,r)=>{var n=r(42);e.exports=n("document","documentElement")},e=>{e.exports={}},(e,t,r)=>{"use strict";var n=r(9),a=r(67),i=r(69),o=r(72),s=r(71),c=r(26),u=r(29),l=r(56),f=r(37),h=r(65),d=r(68),p=d.IteratorPrototype,g=d.BUGGY_SAFARI_ITERATORS,m=l("iterator"),v="keys",y="values",b="entries",w=function(){return this};e.exports=function(e,t,r,l,d,k,S){a(r,t,l);var x,A,O,C=function(e){if(e===d&&I)return I;if(!g&&e in P)return P[e];switch(e){case v:case y:case b:return function(){return new r(this,e)}}return function(){return new r(this)}},T=t+" Iterator",F=!1,P=e.prototype,_=P[m]||P["@@iterator"]||d&&P[d],I=!g&&_||C(d),E="Array"==t&&P.entries||_;if(E&&(x=i(E.call(new e)),p!==Object.prototype&&x.next&&(f||i(x)===p||(o?o(x,p):"function"!=typeof x[m]&&c(x,m,w)),s(x,T,!0,!0),f&&(h[T]=w))),d==y&&_&&_.name!==y&&(F=!0,I=function(){return _.call(this)}),f&&!S||P[m]===I||c(P,m,I),h[t]=I,d)if(A={values:C(y),keys:k?I:C(v),entries:C(b)},S)for(O in A)(g||F||!(O in P))&&u(P,O,A[O]);else n({target:t,proto:!0,forced:g||F},A);return A}},(e,t,r)=>{"use strict";var n=r(68).IteratorPrototype,a=r(61),i=r(15),o=r(71),s=r(65),c=function(){return this};e.exports=function(e,t,r){var u=t+" Iterator";return e.prototype=a(n,{next:i(1,r)}),o(e,u,!1,!0),s[u]=c,e}},(e,t,r)=>{"use strict";var n,a,i,o=r(13),s=r(69),c=r(26),u=r(22),l=r(56),f=r(37),h=l("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(a=s(s(i)))!==Object.prototype&&(n=a):d=!0);var p=null==n||o((function(){var e={};return n[h].call(e)!==e}));p&&(n={}),f&&!p||u(n,h)||c(n,h,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},(e,t,r)=>{var n=r(22),a=r(23),i=r(35),o=r(70),s=i("IE_PROTO"),c=Object.prototype;e.exports=o?Object.getPrototypeOf:function(e){return e=a(e),n(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},(e,t,r)=>{var n=r(13);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},(e,t,r)=>{var n=r(27).f,a=r(22),i=r(56)("toStringTag");e.exports=function(e,t,r){e&&!a(e=r?e:e.prototype,i)&&n(e,i,{configurable:!0,value:t})}},(e,t,r)=>{var n=r(28),a=r(73);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(e){}return function(r,i){return n(r),a(i),t?e.call(r,i):r.__proto__=i,r}}():void 0)},(e,t,r)=>{var n=r(21);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can\'t set "+String(e)+" as a prototype");return e}},(e,t,r)=>{var n=r(9),a=r(75),i=r(83);n({target:"Object",stat:!0},{fromEntries:function(e){var t={};return a(e,(function(e,r){i(t,e,r)}),{AS_ENTRIES:!0}),t}})},(e,t,r)=>{var n=r(28),a=r(76),i=r(47),o=r(77),s=r(79),c=r(82),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,r){var l,f,h,d,p,g,m,v=r&&r.that,y=!(!r||!r.AS_ENTRIES),b=!(!r||!r.IS_ITERATOR),w=!(!r||!r.INTERRUPTED),k=o(t,v,1+y+w),S=function(e){return l&&c(l),new u(!0,e)},x=function(e){return y?(n(e),w?k(e[0],e[1],S):k(e[0],e[1])):w?k(e,S):k(e)};if(b)l=e;else{if("function"!=typeof(f=s(e)))throw TypeError("Target is not iterable");if(a(f)){for(h=0,d=i(e.length);d>h;h++)if((p=x(e[h]))&&p instanceof u)return p;return new u(!1)}l=f.call(e)}for(g=l.next;!(m=g.call(l)).done;){try{p=x(m.value)}catch(e){throw c(l),e}if("object"==typeof p&&p&&p instanceof u)return p}return new u(!1)}},(e,t,r)=>{var n=r(56),a=r(65),i=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(a.Array===e||o[i]===e)}},(e,t,r)=>{var n=r(78);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,a){return e.call(t,r,n,a)}}return function(){return e.apply(t,arguments)}}},e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},(e,t,r)=>{var n=r(80),a=r(65),i=r(56)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||a[n(e)]}},(e,t,r)=>{var n=r(81),a=r(18),i=r(56)("toStringTag"),o="Arguments"==a(function(){return arguments}());e.exports=n?a:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?r:o?a(t):"Object"==(n=a(t))&&"function"==typeof t.callee?"Arguments":n}},(e,t,r)=>{var n={};n[r(56)("toStringTag")]="z",e.exports="[object z]"===String(n)},(e,t,r)=>{var n=r(28);e.exports=function(e){var t=e.return;if(void 0!==t)return n(t.call(e)).value}},(e,t,r)=>{"use strict";var n=r(20),a=r(27),i=r(15);e.exports=function(e,t,r){var o=n(t);o in e?a.f(e,o,i(0,r)):e[o]=r}},(e,t,r)=>{r(85),r(86),r(88),r(105),r(106),r(107),r(108),r(110);var n=r(43);e.exports=n.Promise},(e,t,r)=>{"use strict";var n=r(9),a=r(69),i=r(72),o=r(61),s=r(26),c=r(15),u=r(75),l=function(e,t){var r=this;if(!(r instanceof l))return new l(e,t);i&&(r=i(new Error(void 0),a(r))),void 0!==t&&s(r,"message",String(t));var n=[];return u(e,n.push,{that:n}),s(r,"errors",n),r};l.prototype=o(Error.prototype,{constructor:c(5,l),message:c(5,""),name:c(5,"AggregateError")}),n({global:!0},{AggregateError:l})},(e,t,r)=>{var n=r(81),a=r(29),i=r(87);n||a(Object.prototype,"toString",i,{unsafe:!0})},(e,t,r)=>{"use strict";var n=r(81),a=r(80);e.exports=n?{}.toString:function(){return"[object "+a(this)+"]"}},(e,t,r)=>{"use strict";var n,a,i,o,s=r(9),c=r(37),u=r(10),l=r(42),f=r(89),h=r(29),d=r(90),p=r(72),g=r(71),m=r(91),v=r(21),y=r(78),b=r(92),w=r(31),k=r(75),S=r(93),x=r(94),A=r(95).set,O=r(98),C=r(100),T=r(102),F=r(101),P=r(103),_=r(33),I=r(52),E=r(56),j=r(104),R=r(97),M=r(58),N=E("species"),B="Promise",D=_.get,L=_.set,U=_.getterFor(B),q=f&&f.prototype,X=f,H=q,$=u.TypeError,z=u.document,G=u.process,W=F.f,V=W,K=!!(z&&z.createEvent&&u.dispatchEvent),Y="function"==typeof PromiseRejectionEvent,J="unhandledrejection",Z=!1,Q=I(B,(function(){var e=w(X)!==String(X);if(!e&&66===M)return!0;if(c&&!H.finally)return!0;if(M>=51&&/native code/.test(X))return!1;var t=new X((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(t.constructor={})[N]=r,!(Z=t.then((function(){}))instanceof r)||!e&&j&&!Y})),ee=Q||!S((function(e){X.all(e).catch((function(){}))})),te=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},re=function(e,t){if(!e.notified){e.notified=!0;var r=e.reactions;O((function(){for(var n=e.value,a=1==e.state,i=0;r.length>i;){var o,s,c,u=r[i++],l=a?u.ok:u.fail,f=u.resolve,h=u.reject,d=u.domain;try{l?(a||(2===e.rejection&&oe(e),e.rejection=1),!0===l?o=n:(d&&d.enter(),o=l(n),d&&(d.exit(),c=!0)),o===u.promise?h($("Promise-chain cycle")):(s=te(o))?s.call(o,f,h):f(o)):h(n)}catch(e){d&&!c&&d.exit(),h(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ae(e)}))}},ne=function(e,t,r){var n,a;K?((n=z.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),u.dispatchEvent(n)):n={promise:t,reason:r},!Y&&(a=u["on"+e])?a(n):e===J&&T("Unhandled promise rejection",r)},ae=function(e){A.call(u,(function(){var t,r=e.facade,n=e.value;if(ie(e)&&(t=P((function(){R?G.emit("unhandledRejection",n,r):ne(J,r,n)})),e.rejection=R||ie(e)?2:1,t.error))throw t.value}))},ie=function(e){return 1!==e.rejection&&!e.parent},oe=function(e){A.call(u,(function(){var t=e.facade;R?G.emit("rejectionHandled",t):ne("rejectionhandled",t,e.value)}))},se=function(e,t,r){return function(n){e(t,n,r)}},ce=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,re(e,!0))},ue=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw $("Promise can\'t be resolved itself");var n=te(t);n?O((function(){var r={done:!1};try{n.call(t,se(ue,r,e),se(ce,r,e))}catch(t){ce(r,t,e)}})):(e.value=t,e.state=1,re(e,!1))}catch(t){ce({done:!1},t,e)}}};if(Q&&(H=(X=function(e){b(this,X,B),y(e),n.call(this);var t=D(this);try{e(se(ue,t),se(ce,t))}catch(e){ce(t,e)}}).prototype,(n=function(e){L(this,{type:B,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(H,{then:function(e,t){var r=U(this),n=W(x(this,X));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=R?G.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&re(r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new n,t=D(e);this.promise=e,this.resolve=se(ue,t),this.reject=se(ce,t)},F.f=W=function(e){return e===X||e===i?new a(e):V(e)},!c&&"function"==typeof f&&q!==Object.prototype)){o=q.then,Z||(h(q,"then",(function(e,t){var r=this;return new X((function(e,t){o.call(r,e,t)})).then(e,t)}),{unsafe:!0}),h(q,"catch",H.catch,{unsafe:!0}));try{delete q.constructor}catch(e){}p&&p(q,H)}s({global:!0,wrap:!0,forced:Q},{Promise:X}),g(X,B,!1,!0),m(B),i=l(B),s({target:B,stat:!0,forced:Q},{reject:function(e){var t=W(this);return t.reject.call(void 0,e),t.promise}}),s({target:B,stat:!0,forced:c||Q},{resolve:function(e){return C(c&&this===i?X:this,e)}}),s({target:B,stat:!0,forced:ee},{all:function(e){var t=this,r=W(t),n=r.resolve,a=r.reject,i=P((function(){var r=y(t.resolve),i=[],o=0,s=1;k(e,(function(e){var c=o++,u=!1;i.push(void 0),s++,r.call(t,e).then((function(e){u||(u=!0,i[c]=e,--s||n(i))}),a)})),--s||n(i)}));return i.error&&a(i.value),r.promise},race:function(e){var t=this,r=W(t),n=r.reject,a=P((function(){var a=y(t.resolve);k(e,(function(e){a.call(t,e).then(r.resolve,n)}))}));return a.error&&n(a.value),r.promise}})},(e,t,r)=>{var n=r(10);e.exports=n.Promise},(e,t,r)=>{var n=r(29);e.exports=function(e,t,r){for(var a in t)n(e,a,t[a],r);return e}},(e,t,r)=>{"use strict";var n=r(42),a=r(27),i=r(56),o=r(12),s=i("species");e.exports=function(e){var t=n(e),r=a.f;o&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},e=>{e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},(e,t,r)=>{var n=r(56)("iterator"),a=!1;try{var i=0,o={next:function(){return{done:!!i++}},return:function(){a=!0}};o[n]=function(){return this},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},(e,t,r)=>{var n=r(28),a=r(78),i=r(56)("species");e.exports=function(e,t){var r,o=n(e).constructor;return void 0===o||null==(r=n(o)[i])?t:a(r)}},(e,t,r)=>{var n,a,i,o=r(10),s=r(13),c=r(77),u=r(64),l=r(25),f=r(96),h=r(97),d=o.location,p=o.setImmediate,g=o.clearImmediate,m=o.process,v=o.MessageChannel,y=o.Dispatch,b=0,w={},k="onreadystatechange",S=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},x=function(e){return function(){S(e)}},A=function(e){S(e.data)},O=function(e){o.postMessage(e+"",d.protocol+"//"+d.host)};p&&g||(p=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(b),b},g=function(e){delete w[e]},h?n=function(e){m.nextTick(x(e))}:y&&y.now?n=function(e){y.now(x(e))}:v&&!f?(i=(a=new v).port2,a.port1.onmessage=A,n=c(i.postMessage,i,1)):o.addEventListener&&"function"==typeof postMessage&&!o.importScripts&&d&&"file:"!==d.protocol&&!s(O)?(n=O,o.addEventListener("message",A,!1)):n=k in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),S(e)}}:function(e){setTimeout(x(e),0)}),e.exports={set:p,clear:g}},(e,t,r)=>{var n=r(59);e.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(n)},(e,t,r)=>{var n=r(18),a=r(10);e.exports="process"==n(a.process)},(e,t,r)=>{var n,a,i,o,s,c,u,l,f=r(10),h=r(11).f,d=r(95).set,p=r(96),g=r(99),m=r(97),v=f.MutationObserver||f.WebKitMutationObserver,y=f.document,b=f.process,w=f.Promise,k=h(f,"queueMicrotask"),S=k&&k.value;S||(n=function(){var e,t;for(m&&(e=b.domain)&&e.exit();a;){t=a.fn,a=a.next;try{t()}catch(e){throw a?o():i=void 0,e}}i=void 0,e&&e.enter()},p||m||g||!v||!y?w&&w.resolve?((u=w.resolve(void 0)).constructor=w,l=u.then,o=function(){l.call(u,n)}):o=m?function(){b.nextTick(n)}:function(){d.call(f,n)}:(s=!0,c=y.createTextNode(""),new v(n).observe(c,{characterData:!0}),o=function(){c.data=s=!s})),e.exports=S||function(e){var t={fn:e,next:void 0};i&&(i.next=t),a||(a=t,o()),i=t}},(e,t,r)=>{var n=r(59);e.exports=/web0s(?!.*chrome)/i.test(n)},(e,t,r)=>{var n=r(28),a=r(21),i=r(101);e.exports=function(e,t){if(n(e),a(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.promise}},(e,t,r)=>{"use strict";var n=r(78),a=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new a(e)}},(e,t,r)=>{var n=r(10);e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},e=>{e.exports="object"==typeof window},(e,t,r)=>{"use strict";var n=r(9),a=r(78),i=r(101),o=r(103),s=r(75);n({target:"Promise",stat:!0},{allSettled:function(e){var t=this,r=i.f(t),n=r.resolve,c=r.reject,u=o((function(){var r=a(t.resolve),i=[],o=0,c=1;s(e,(function(e){var a=o++,s=!1;i.push(void 0),c++,r.call(t,e).then((function(e){s||(s=!0,i[a]={status:"fulfilled",value:e},--c||n(i))}),(function(e){s||(s=!0,i[a]={status:"rejected",reason:e},--c||n(i))}))})),--c||n(i)}));return u.error&&c(u.value),r.promise}})},(e,t,r)=>{"use strict";var n=r(9),a=r(78),i=r(42),o=r(101),s=r(103),c=r(75),u="No one promise resolved";n({target:"Promise",stat:!0},{any:function(e){var t=this,r=o.f(t),n=r.resolve,l=r.reject,f=s((function(){var r=a(t.resolve),o=[],s=0,f=1,h=!1;c(e,(function(e){var a=s++,c=!1;o.push(void 0),f++,r.call(t,e).then((function(e){c||h||(h=!0,n(e))}),(function(e){c||h||(c=!0,o[a]=e,--f||l(new(i("AggregateError"))(o,u)))}))})),--f||l(new(i("AggregateError"))(o,u))}));return f.error&&l(f.value),r.promise}})},(e,t,r)=>{"use strict";var n=r(9),a=r(37),i=r(89),o=r(13),s=r(42),c=r(94),u=r(100),l=r(29);if(n({target:"Promise",proto:!0,real:!0,forced:!!i&&o((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,s("Promise")),r="function"==typeof e;return this.then(r?function(r){return u(t,e()).then((function(){return r}))}:e,r?function(r){return u(t,e()).then((function(){throw r}))}:e)}}),!a&&"function"==typeof i){var f=s("Promise").prototype.finally;i.prototype.finally!==f&&l(i.prototype,"finally",f,{unsafe:!0})}},(e,t,r)=>{"use strict";var n=r(109).charAt,a=r(33),i=r(66),o="String Iterator",s=a.set,c=a.getterFor(o);i(String,"String",(function(e){s(this,{type:o,string:String(e),index:0})}),(function(){var e,t=c(this),r=t.string,a=t.index;return a>=r.length?{value:void 0,done:!0}:(e=n(r,a),t.index+=e.length,{value:e,done:!1})}))},(e,t,r)=>{var n=r(48),a=r(19),i=function(e){return function(t,r){var i,o,s=String(a(t)),c=n(r),u=s.length;return c<0||c>=u?e?"":void 0:(i=s.charCodeAt(c))<55296||i>56319||c+1===u||(o=s.charCodeAt(c+1))<56320||o>57343?e?s.charAt(c):i:e?s.slice(c,c+2):o-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},(e,t,r)=>{var n=r(10),a=r(111),i=r(54),o=r(26),s=r(56),c=s("iterator"),u=s("toStringTag"),l=i.values;for(var f in a){var h=n[f],d=h&&h.prototype;if(d){if(d[c]!==l)try{o(d,c,l)}catch(e){d[c]=l}if(d[u]||o(d,u,f),a[f])for(var p in i)if(d[p]!==i[p])try{o(d,p,i[p])}catch(e){d[p]=i[p]}}}},e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t){!function(e){"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol:function(e){return"Symbol("+e+")"};function n(){}function a(){return"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==r.g?r.g:void 0}var i=a();function o(e){return"object"==typeof e&&null!==e||"function"==typeof e}var s=n,c=Promise,u=Promise.prototype.then,l=Promise.resolve.bind(c),f=Promise.reject.bind(c);function h(e){return new c(e)}function d(e){return l(e)}function p(e){return f(e)}function g(e,t,r){return u.call(e,t,r)}function m(e,t,r){g(g(e,t,r),void 0,s)}function v(e,t){m(e,t)}function y(e,t){m(e,void 0,t)}function b(e,t,r){return g(e,t,r)}function w(e){g(e,void 0,s)}var k=function(){var e=i&&i.queueMicrotask;if("function"==typeof e)return e;var t=d(void 0);return function(e){return g(t,e)}}();function S(e,t,r){if("function"!=typeof e)throw new TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,r)}function x(e,t,r){try{return d(S(e,t,r))}catch(e){return p(e)}}var A=16384,O=function(){function e(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}return Object.defineProperty(e.prototype,"length",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.push=function(e){var t=this._back,r=t;t._elements.length===A-1&&(r={_elements:[],_next:void 0}),t._elements.push(e),r!==t&&(this._back=r,t._next=r),++this._size},e.prototype.shift=function(){var e=this._front,t=e,r=this._cursor,n=r+1,a=e._elements,i=a[r];return n===A&&(t=e._next,n=0),--this._size,this._cursor=n,e!==t&&(this._front=t),a[r]=void 0,i},e.prototype.forEach=function(e){for(var t=this._cursor,r=this._front,n=r._elements;!(t===n.length&&void 0===r._next||t===n.length&&(t=0,0===(n=(r=r._next)._elements).length));)e(n[t]),++t},e.prototype.peek=function(){var e=this._front,t=this._cursor;return e._elements[t]},e}();function C(e,t){e._ownerReadableStream=t,t._reader=e,"readable"===t._state?_(e):"closed"===t._state?E(e):I(e,t._storedError)}function T(e,t){return yn(e._ownerReadableStream,t)}function F(e){"readable"===e._ownerReadableStream._state?j(e,new TypeError("Reader was released and can no longer be used to monitor the stream\'s closedness")):R(e,new TypeError("Reader was released and can no longer be used to monitor the stream\'s closedness")),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function P(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function _(e){e._closedPromise=h((function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r}))}function I(e,t){_(e),j(e,t)}function E(e){_(e),M(e)}function j(e,t){void 0!==e._closedPromise_reject&&(w(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}function R(e,t){I(e,t)}function M(e){void 0!==e._closedPromise_resolve&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}var N=t("[[AbortSteps]]"),B=t("[[ErrorSteps]]"),D=t("[[CancelSteps]]"),L=t("[[PullSteps]]"),U=Number.isFinite||function(e){return"number"==typeof e&&isFinite(e)},q=Math.trunc||function(e){return e<0?Math.ceil(e):Math.floor(e)};function X(e){return"object"==typeof e||"function"==typeof e}function H(e,t){if(void 0!==e&&!X(e))throw new TypeError(t+" is not an object.")}function $(e,t){if("function"!=typeof e)throw new TypeError(t+" is not a function.")}function z(e){return"object"==typeof e&&null!==e||"function"==typeof e}function G(e,t){if(!z(e))throw new TypeError(t+" is not an object.")}function W(e,t,r){if(void 0===e)throw new TypeError("Parameter "+t+" is required in \'"+r+"\'.")}function V(e,t,r){if(void 0===e)throw new TypeError(t+" is required in \'"+r+"\'.")}function K(e){return Number(e)}function Y(e){return 0===e?0:e}function J(e){return Y(q(e))}function Z(e,t){var r=0,n=Number.MAX_SAFE_INTEGER,a=Number(e);if(a=Y(a),!U(a))throw new TypeError(t+" is not a finite number");if((a=J(a))<r||a>n)throw new TypeError(t+" is outside the accepted range of "+r+" to "+n+", inclusive");return U(a)&&0!==a?a:0}function Q(e,t){if(!mn(e))throw new TypeError(t+" is not a ReadableStream.")}function ee(e){return new se(e)}function te(e,t){e._reader._readRequests.push(t)}function re(e,t,r){var n=e._reader._readRequests.shift();r?n._closeSteps():n._chunkSteps(t)}function ne(e){return e._reader._readRequests.length}function ae(e){var t=e._reader;return void 0!==t&&!!ce(t)}var ie,oe,se=function(){function e(e){if(W(e,1,"ReadableStreamDefaultReader"),Q(e,"First parameter"),vn(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");C(this,e),this._readRequests=new O}return Object.defineProperty(e.prototype,"closed",{get:function(){return ce(this)?this._closedPromise:p(le("closed"))},enumerable:!1,configurable:!0}),e.prototype.cancel=function(e){return void 0===e&&(e=void 0),ce(this)?void 0===this._ownerReadableStream?p(P("cancel")):T(this,e):p(le("cancel"))},e.prototype.read=function(){if(!ce(this))return p(le("read"));if(void 0===this._ownerReadableStream)return p(P("read from"));var e,t,r=h((function(r,n){e=r,t=n}));return ue(this,{_chunkSteps:function(t){return e({value:t,done:!1})},_closeSteps:function(){return e({value:void 0,done:!0})},_errorSteps:function(e){return t(e)}}),r},e.prototype.releaseLock=function(){if(!ce(this))throw le("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");F(this)}},e}();function ce(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readRequests")}function ue(e,t){var r=e._ownerReadableStream;r._disturbed=!0,"closed"===r._state?t._closeSteps():"errored"===r._state?t._errorSteps(r._storedError):r._readableStreamController[L](t)}function le(e){return new TypeError("ReadableStreamDefaultReader.prototype."+e+" can only be used on a ReadableStreamDefaultReader")}Object.defineProperties(se.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(se.prototype,t.toStringTag,{value:"ReadableStreamDefaultReader",configurable:!0}),"symbol"==typeof t.asyncIterator&&((ie={})[t.asyncIterator]=function(){return this},oe=ie,Object.defineProperty(oe,t.asyncIterator,{enumerable:!1}));var fe=function(){function e(e,t){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=e,this._preventCancel=t}return e.prototype.next=function(){var e=this,t=function(){return e._nextSteps()};return this._ongoingPromise=this._ongoingPromise?b(this._ongoingPromise,t,t):t(),this._ongoingPromise},e.prototype.return=function(e){var t=this,r=function(){return t._returnSteps(e)};return this._ongoingPromise?b(this._ongoingPromise,r,r):r()},e.prototype._nextSteps=function(){var e=this;if(this._isFinished)return Promise.resolve({value:void 0,done:!0});var t,r,n=this._reader;if(void 0===n._ownerReadableStream)return p(P("iterate"));var a=h((function(e,n){t=e,r=n}));return ue(n,{_chunkSteps:function(r){e._ongoingPromise=void 0,k((function(){return t({value:r,done:!1})}))},_closeSteps:function(){e._ongoingPromise=void 0,e._isFinished=!0,F(n),t({value:void 0,done:!0})},_errorSteps:function(t){e._ongoingPromise=void 0,e._isFinished=!0,F(n),r(t)}}),a},e.prototype._returnSteps=function(e){if(this._isFinished)return Promise.resolve({value:e,done:!0});this._isFinished=!0;var t=this._reader;if(void 0===t._ownerReadableStream)return p(P("finish iterating"));if(!this._preventCancel){var r=T(t,e);return F(t),b(r,(function(){return{value:e,done:!0}}))}return F(t),d({value:e,done:!0})},e}(),he={next:function(){return pe(this)?this._asyncIteratorImpl.next():p(ge("next"))},return:function(e){return pe(this)?this._asyncIteratorImpl.return(e):p(ge("return"))}};function de(e,t){var r=ee(e),n=new fe(r,t),a=Object.create(he);return a._asyncIteratorImpl=n,a}function pe(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_asyncIteratorImpl")}function ge(e){return new TypeError("ReadableStreamAsyncIterator."+e+" can only be used on a ReadableSteamAsyncIterator")}void 0!==oe&&Object.setPrototypeOf(he,oe);var me=Number.isNaN||function(e){return e!=e};function ve(e){return!!ye(e)&&e!==1/0}function ye(e){return!("number"!=typeof e||me(e)||e<0)}function be(e){var t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value}function we(e,t,r){if(!ve(r=Number(r)))throw new RangeError("Size must be a finite, non-NaN, non-negative number.");e._queue.push({value:t,size:r}),e._queueTotalSize+=r}function ke(e){return e._queue.peek().value}function Se(e){e._queue=new O,e._queueTotalSize=0}function xe(e){return e.slice()}function Ae(e,t,r,n,a){new Uint8Array(e).set(new Uint8Array(r,n,a),t)}function Oe(e){return e}function Ce(e){return!1}var Te=function(){function e(){throw new TypeError("Illegal constructor")}return Object.defineProperty(e.prototype,"view",{get:function(){if(!_e(this))throw nt("view");return this._view},enumerable:!1,configurable:!0}),e.prototype.respond=function(e){if(!_e(this))throw nt("respond");if(W(e,1,"respond"),e=Z(e,"First parameter"),void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");Ce(this._view.buffer),Ze(this._associatedReadableByteStreamController,e)},e.prototype.respondWithNewView=function(e){if(!_e(this))throw nt("respondWithNewView");if(W(e,1,"respondWithNewView"),!ArrayBuffer.isView(e))throw new TypeError("You can only respond with array buffer views");if(0===e.byteLength)throw new TypeError("chunk must have non-zero byteLength");if(0===e.buffer.byteLength)throw new TypeError("chunk\'s buffer must have non-zero byteLength");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");Qe(this._associatedReadableByteStreamController,e)},e}();Object.defineProperties(Te.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Te.prototype,t.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:!0});var Fe=function(){function e(){throw new TypeError("Illegal constructor")}return Object.defineProperty(e.prototype,"byobRequest",{get:function(){if(!Pe(this))throw at("byobRequest");if(null===this._byobRequest&&this._pendingPullIntos.length>0){var e=this._pendingPullIntos.peek(),t=new Uint8Array(e.buffer,e.byteOffset+e.bytesFilled,e.byteLength-e.bytesFilled),r=Object.create(Te.prototype);rt(r,this,t),this._byobRequest=r}return this._byobRequest},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!Pe(this))throw at("desiredSize");return Je(this)},enumerable:!1,configurable:!0}),e.prototype.close=function(){if(!Pe(this))throw at("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var e=this._controlledReadableByteStream._state;if("readable"!==e)throw new TypeError("The stream (in "+e+" state) is not in the readable state and cannot be closed");Ve(this)},e.prototype.enqueue=function(e){if(!Pe(this))throw at("enqueue");if(W(e,1,"enqueue"),!ArrayBuffer.isView(e))throw new TypeError("chunk must be an array buffer view");if(0===e.byteLength)throw new TypeError("chunk must have non-zero byteLength");if(0===e.buffer.byteLength)throw new TypeError("chunk\'s buffer must have non-zero byteLength");if(this._closeRequested)throw new TypeError("stream is closed or draining");var t=this._controlledReadableByteStream._state;if("readable"!==t)throw new TypeError("The stream (in "+t+" state) is not in the readable state and cannot be enqueued to");Ke(this,e)},e.prototype.error=function(e){if(void 0===e&&(e=void 0),!Pe(this))throw at("error");Ye(this,e)},e.prototype[D]=function(e){this._pendingPullIntos.length>0&&(this._pendingPullIntos.peek().bytesFilled=0),Se(this);var t=this._cancelAlgorithm(e);return We(this),t},e.prototype[L]=function(e){var t=this._controlledReadableByteStream;if(this._queueTotalSize>0){var r=this._queue.shift();this._queueTotalSize-=r.byteLength,De(this);var n=new Uint8Array(r.buffer,r.byteOffset,r.byteLength);e._chunkSteps(n)}else{var a=this._autoAllocateChunkSize;if(void 0!==a){var i=void 0;try{i=new ArrayBuffer(a)}catch(t){return void e._errorSteps(t)}var o={buffer:i,byteOffset:0,byteLength:a,bytesFilled:0,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(o)}te(t,e),Ie(this)}},e}();function Pe(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream")}function _e(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")}function Ie(e){Ge(e)&&(e._pulling?e._pullAgain=!0:(e._pulling=!0,m(e._pullAlgorithm(),(function(){e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,Ie(e))}),(function(t){Ye(e,t)}))))}function Ee(e){Le(e),e._pendingPullIntos=new O}function je(e,t){var r=!1;"closed"===e._state&&(r=!0);var n=Re(t);"default"===t.readerType?re(e,n,r):st(e,n,r)}function Re(e){var t=e.bytesFilled,r=e.elementSize;return new e.viewConstructor(e.buffer,e.byteOffset,t/r)}function Me(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function Ne(e,t){var r=t.elementSize,n=t.bytesFilled-t.bytesFilled%r,a=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),i=t.bytesFilled+a,o=i-i%r,s=a,c=!1;o>n&&(s=o-t.bytesFilled,c=!0);for(var u=e._queue;s>0;){var l=u.peek(),f=Math.min(s,l.byteLength),h=t.byteOffset+t.bytesFilled;Ae(t.buffer,h,l.buffer,l.byteOffset,f),l.byteLength===f?u.shift():(l.byteOffset+=f,l.byteLength-=f),e._queueTotalSize-=f,Be(e,f,t),s-=f}return c}function Be(e,t,r){Le(e),r.bytesFilled+=t}function De(e){0===e._queueTotalSize&&e._closeRequested?(We(e),bn(e._controlledReadableByteStream)):Ie(e)}function Le(e){null!==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=null,e._byobRequest=null)}function Ue(e){for(;e._pendingPullIntos.length>0;){if(0===e._queueTotalSize)return;var t=e._pendingPullIntos.peek();Ne(e,t)&&(ze(e),je(e._controlledReadableByteStream,t))}}function qe(e,t,r){var n=e._controlledReadableByteStream,a=1;t.constructor!==DataView&&(a=t.constructor.BYTES_PER_ELEMENT);var i=t.constructor,o={buffer:Oe(t.buffer),byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:a,viewConstructor:i,readerType:"byob"};if(e._pendingPullIntos.length>0)return e._pendingPullIntos.push(o),void ot(n,r);if("closed"!==n._state){if(e._queueTotalSize>0){if(Ne(e,o)){var s=Re(o);return De(e),void r._chunkSteps(s)}if(e._closeRequested){var c=new TypeError("Insufficient bytes to fill elements in the given buffer");return Ye(e,c),void r._errorSteps(c)}}e._pendingPullIntos.push(o),ot(n,r),Ie(e)}else{var u=new i(o.buffer,o.byteOffset,0);r._closeSteps(u)}}function Xe(e,t){t.buffer=Oe(t.buffer);var r=e._controlledReadableByteStream;if(ut(r))for(;ct(r)>0;)je(r,ze(e))}function He(e,t,r){if(r.bytesFilled+t>r.byteLength)throw new RangeError("bytesWritten out of range");if(Be(e,t,r),!(r.bytesFilled<r.elementSize)){ze(e);var n=r.bytesFilled%r.elementSize;if(n>0){var a=r.byteOffset+r.bytesFilled,i=r.buffer.slice(a-n,a);Me(e,i,0,i.byteLength)}r.buffer=Oe(r.buffer),r.bytesFilled-=n,je(e._controlledReadableByteStream,r),Ue(e)}}function $e(e,t){var r=e._pendingPullIntos.peek();if("closed"===e._controlledReadableByteStream._state){if(0!==t)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");Xe(e,r)}else He(e,t,r);Ie(e)}function ze(e){var t=e._pendingPullIntos.shift();return Le(e),t}function Ge(e){var t=e._controlledReadableByteStream;return"readable"===t._state&&!e._closeRequested&&!!e._started&&(!!(ae(t)&&ne(t)>0)||!!(ut(t)&&ct(t)>0)||Je(e)>0)}function We(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function Ve(e){var t=e._controlledReadableByteStream;if(!e._closeRequested&&"readable"===t._state)if(e._queueTotalSize>0)e._closeRequested=!0;else{if(e._pendingPullIntos.length>0&&e._pendingPullIntos.peek().bytesFilled>0){var r=new TypeError("Insufficient bytes to fill elements in the given buffer");throw Ye(e,r),r}We(e),bn(t)}}function Ke(e,t){var r=e._controlledReadableByteStream;if(!e._closeRequested&&"readable"===r._state){var n=t.buffer,a=t.byteOffset,i=t.byteLength,o=Oe(n);ae(r)?0===ne(r)?Me(e,o,a,i):re(r,new Uint8Array(o,a,i),!1):ut(r)?(Me(e,o,a,i),Ue(e)):Me(e,o,a,i),Ie(e)}}function Ye(e,t){var r=e._controlledReadableByteStream;"readable"===r._state&&(Ee(e),Se(e),We(e),wn(r,t))}function Je(e){var t=e._controlledReadableByteStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function Ze(e,t){if(!ve(t=Number(t)))throw new RangeError("bytesWritten must be a finite");$e(e,t)}function Qe(e,t){var r=e._pendingPullIntos.peek();if(r.byteOffset+r.bytesFilled!==t.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(r.byteLength!==t.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");r.buffer=t.buffer,$e(e,t.byteLength)}function et(e,t,r,n,a,i,o){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,t._byobRequest=null,t._queue=t._queueTotalSize=void 0,Se(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=i,t._pullAlgorithm=n,t._cancelAlgorithm=a,t._autoAllocateChunkSize=o,t._pendingPullIntos=new O,e._readableStreamController=t,m(d(r()),(function(){t._started=!0,Ie(t)}),(function(e){Ye(t,e)}))}function tt(e,t,r){var n=Object.create(Fe.prototype),a=function(){},i=function(){return d(void 0)},o=function(){return d(void 0)};void 0!==t.start&&(a=function(){return t.start(n)}),void 0!==t.pull&&(i=function(){return t.pull(n)}),void 0!==t.cancel&&(o=function(e){return t.cancel(e)});var s=t.autoAllocateChunkSize;if(0===s)throw new TypeError("autoAllocateChunkSize must be greater than 0");et(e,n,a,i,o,r,s)}function rt(e,t,r){e._associatedReadableByteStreamController=t,e._view=r}function nt(e){return new TypeError("ReadableStreamBYOBRequest.prototype."+e+" can only be used on a ReadableStreamBYOBRequest")}function at(e){return new TypeError("ReadableByteStreamController.prototype."+e+" can only be used on a ReadableByteStreamController")}function it(e){return new lt(e)}function ot(e,t){e._reader._readIntoRequests.push(t)}function st(e,t,r){var n=e._reader._readIntoRequests.shift();r?n._closeSteps(t):n._chunkSteps(t)}function ct(e){return e._reader._readIntoRequests.length}function ut(e){var t=e._reader;return void 0!==t&&!!ft(t)}Object.defineProperties(Fe.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Fe.prototype,t.toStringTag,{value:"ReadableByteStreamController",configurable:!0});var lt=function(){function e(e){if(W(e,1,"ReadableStreamBYOBReader"),Q(e,"First parameter"),vn(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!Pe(e._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");C(this,e),this._readIntoRequests=new O}return Object.defineProperty(e.prototype,"closed",{get:function(){return ft(this)?this._closedPromise:p(dt("closed"))},enumerable:!1,configurable:!0}),e.prototype.cancel=function(e){return void 0===e&&(e=void 0),ft(this)?void 0===this._ownerReadableStream?p(P("cancel")):T(this,e):p(dt("cancel"))},e.prototype.read=function(e){if(!ft(this))return p(dt("read"));if(!ArrayBuffer.isView(e))return p(new TypeError("view must be an array buffer view"));if(0===e.byteLength)return p(new TypeError("view must have non-zero byteLength"));if(0===e.buffer.byteLength)return p(new TypeError("view\'s buffer must have non-zero byteLength"));if(void 0===this._ownerReadableStream)return p(P("read from"));var t,r,n=h((function(e,n){t=e,r=n}));return ht(this,e,{_chunkSteps:function(e){return t({value:e,done:!1})},_closeSteps:function(e){return t({value:e,done:!0})},_errorSteps:function(e){return r(e)}}),n},e.prototype.releaseLock=function(){if(!ft(this))throw dt("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");F(this)}},e}();function ft(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")}function ht(e,t,r){var n=e._ownerReadableStream;n._disturbed=!0,"errored"===n._state?r._errorSteps(n._storedError):qe(n._readableStreamController,t,r)}function dt(e){return new TypeError("ReadableStreamBYOBReader.prototype."+e+" can only be used on a ReadableStreamBYOBReader")}function pt(e,t){var r=e.highWaterMark;if(void 0===r)return t;if(me(r)||r<0)throw new RangeError("Invalid highWaterMark");return r}function gt(e){var t=e.size;return t||function(){return 1}}function mt(e,t){H(e,t);var r=null==e?void 0:e.highWaterMark,n=null==e?void 0:e.size;return{highWaterMark:void 0===r?void 0:K(r),size:void 0===n?void 0:vt(n,t+" has member \'size\' that")}}function vt(e,t){return $(e,t),function(t){return K(e(t))}}function yt(e,t){H(e,t);var r=null==e?void 0:e.abort,n=null==e?void 0:e.close,a=null==e?void 0:e.start,i=null==e?void 0:e.type,o=null==e?void 0:e.write;return{abort:void 0===r?void 0:bt(r,e,t+" has member \'abort\' that"),close:void 0===n?void 0:wt(n,e,t+" has member \'close\' that"),start:void 0===a?void 0:kt(a,e,t+" has member \'start\' that"),write:void 0===o?void 0:St(o,e,t+" has member \'write\' that"),type:i}}function bt(e,t,r){return $(e,r),function(r){return x(e,t,[r])}}function wt(e,t,r){return $(e,r),function(){return x(e,t,[])}}function kt(e,t,r){return $(e,r),function(r){return S(e,t,[r])}}function St(e,t,r){return $(e,r),function(r,n){return x(e,t,[r,n])}}function xt(e,t){if(!Ft(e))throw new TypeError(t+" is not a WritableStream.")}Object.defineProperties(lt.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(lt.prototype,t.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});var At=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),void 0===e?e=null:G(e,"First parameter");var r=mt(t,"Second parameter"),n=yt(e,"First parameter");if(Tt(this),void 0!==n.type)throw new RangeError("Invalid type is specified");var a=gt(r);or(this,n,pt(r,1),a)}return Object.defineProperty(e.prototype,"locked",{get:function(){if(!Ft(this))throw yr("locked");return Pt(this)},enumerable:!1,configurable:!0}),e.prototype.abort=function(e){return void 0===e&&(e=void 0),Ft(this)?Pt(this)?p(new TypeError("Cannot abort a stream that already has a writer")):_t(this,e):p(yr("abort"))},e.prototype.close=function(){return Ft(this)?Pt(this)?p(new TypeError("Cannot close a stream that already has a writer")):Ut(this)?p(new TypeError("Cannot close an already-closing stream")):It(this):p(yr("close"))},e.prototype.getWriter=function(){if(!Ft(this))throw yr("getWriter");return Ot(this)},e}();function Ot(e){return new Gt(e)}function Ct(e,t,r,n,a,i){void 0===a&&(a=1),void 0===i&&(i=function(){return 1});var o=Object.create(At.prototype);return Tt(o),ir(o,Object.create(nr.prototype),e,t,r,n,a,i),o}function Tt(e){e._state="writable",e._storedError=void 0,e._writer=void 0,e._writableStreamController=void 0,e._writeRequests=new O,e._inFlightWriteRequest=void 0,e._closeRequest=void 0,e._inFlightCloseRequest=void 0,e._pendingAbortRequest=void 0,e._backpressure=!1}function Ft(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_writableStreamController")}function Pt(e){return void 0!==e._writer}function _t(e,t){var r=e._state;if("closed"===r||"errored"===r)return d(void 0);if(void 0!==e._pendingAbortRequest)return e._pendingAbortRequest._promise;var n=!1;"erroring"===r&&(n=!0,t=void 0);var a=h((function(r,a){e._pendingAbortRequest={_promise:void 0,_resolve:r,_reject:a,_reason:t,_wasAlreadyErroring:n}}));return e._pendingAbortRequest._promise=a,n||Rt(e,t),a}function It(e){var t=e._state;if("closed"===t||"errored"===t)return p(new TypeError("The stream (in "+t+" state) is not in the writable state and cannot be closed"));var r=h((function(t,r){var n={_resolve:t,_reject:r};e._closeRequest=n})),n=e._writer;return void 0!==n&&e._backpressure&&"writable"===t&&jr(n),cr(e._writableStreamController),r}function Et(e){return h((function(t,r){var n={_resolve:t,_reject:r};e._writeRequests.push(n)}))}function jt(e,t){"writable"!==e._state?Mt(e):Rt(e,t)}function Rt(e,t){var r=e._writableStreamController;e._state="erroring",e._storedError=t;var n=e._writer;void 0!==n&&Zt(n,t),!qt(e)&&r._started&&Mt(e)}function Mt(e){e._state="errored",e._writableStreamController[B]();var t=e._storedError;if(e._writeRequests.forEach((function(e){e._reject(t)})),e._writeRequests=new O,void 0!==e._pendingAbortRequest){var r=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,r._wasAlreadyErroring)return r._reject(t),void $t(e);m(e._writableStreamController[N](r._reason),(function(){r._resolve(),$t(e)}),(function(t){r._reject(t),$t(e)}))}else $t(e)}function Nt(e){e._inFlightWriteRequest._resolve(void 0),e._inFlightWriteRequest=void 0}function Bt(e,t){e._inFlightWriteRequest._reject(t),e._inFlightWriteRequest=void 0,jt(e,t)}function Dt(e){e._inFlightCloseRequest._resolve(void 0),e._inFlightCloseRequest=void 0,"erroring"===e._state&&(e._storedError=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._resolve(),e._pendingAbortRequest=void 0)),e._state="closed";var t=e._writer;void 0!==t&&Cr(t)}function Lt(e,t){e._inFlightCloseRequest._reject(t),e._inFlightCloseRequest=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._reject(t),e._pendingAbortRequest=void 0),jt(e,t)}function Ut(e){return void 0!==e._closeRequest||void 0!==e._inFlightCloseRequest}function qt(e){return void 0!==e._inFlightWriteRequest||void 0!==e._inFlightCloseRequest}function Xt(e){e._inFlightCloseRequest=e._closeRequest,e._closeRequest=void 0}function Ht(e){e._inFlightWriteRequest=e._writeRequests.shift()}function $t(e){void 0!==e._closeRequest&&(e._closeRequest._reject(e._storedError),e._closeRequest=void 0);var t=e._writer;void 0!==t&&Ar(t,e._storedError)}function zt(e,t){var r=e._writer;void 0!==r&&t!==e._backpressure&&(t?Ir(r):jr(r)),e._backpressure=t}Object.defineProperties(At.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(At.prototype,t.toStringTag,{value:"WritableStream",configurable:!0});var Gt=function(){function e(e){if(W(e,1,"WritableStreamDefaultWriter"),xt(e,"First parameter"),Pt(e))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=e,e._writer=this;var t=e._state;if("writable"===t)!Ut(e)&&e._backpressure?Tr(this):Pr(this),kr(this);else if("erroring"===t)Fr(this,e._storedError),kr(this);else if("closed"===t)Pr(this),xr(this);else{var r=e._storedError;Fr(this,r),Sr(this,r)}}return Object.defineProperty(e.prototype,"closed",{get:function(){return Wt(this)?this._closedPromise:p(br("closed"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!Wt(this))throw br("desiredSize");if(void 0===this._ownerWritableStream)throw wr("desiredSize");return Qt(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ready",{get:function(){return Wt(this)?this._readyPromise:p(br("ready"))},enumerable:!1,configurable:!0}),e.prototype.abort=function(e){return void 0===e&&(e=void 0),Wt(this)?void 0===this._ownerWritableStream?p(wr("abort")):Vt(this,e):p(br("abort"))},e.prototype.close=function(){if(!Wt(this))return p(br("close"));var e=this._ownerWritableStream;return void 0===e?p(wr("close")):Ut(e)?p(new TypeError("Cannot close an already-closing stream")):Kt(this)},e.prototype.releaseLock=function(){if(!Wt(this))throw br("releaseLock");void 0!==this._ownerWritableStream&&er(this)},e.prototype.write=function(e){return void 0===e&&(e=void 0),Wt(this)?void 0===this._ownerWritableStream?p(wr("write to")):tr(this,e):p(br("write"))},e}();function Wt(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")}function Vt(e,t){return _t(e._ownerWritableStream,t)}function Kt(e){return It(e._ownerWritableStream)}function Yt(e){var t=e._ownerWritableStream,r=t._state;return Ut(t)||"closed"===r?d(void 0):"errored"===r?p(t._storedError):Kt(e)}function Jt(e,t){"pending"===e._closedPromiseState?Ar(e,t):Or(e,t)}function Zt(e,t){"pending"===e._readyPromiseState?_r(e,t):Er(e,t)}function Qt(e){var t=e._ownerWritableStream,r=t._state;return"errored"===r||"erroring"===r?null:"closed"===r?0:lr(t._writableStreamController)}function er(e){var t=e._ownerWritableStream,r=new TypeError("Writer was released and can no longer be used to monitor the stream\'s closedness");Zt(e,r),Jt(e,r),t._writer=void 0,e._ownerWritableStream=void 0}function tr(e,t){var r=e._ownerWritableStream,n=r._writableStreamController,a=ur(n,t);if(r!==e._ownerWritableStream)return p(wr("write to"));var i=r._state;if("errored"===i)return p(r._storedError);if(Ut(r)||"closed"===i)return p(new TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===i)return p(r._storedError);var o=Et(r);return fr(n,t,a),o}Object.defineProperties(Gt.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Gt.prototype,t.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});var rr={},nr=function(){function e(){throw new TypeError("Illegal constructor")}return e.prototype.error=function(e){if(void 0===e&&(e=void 0),!ar(this))throw new TypeError("WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController");"writable"===this._controlledWritableStream._state&&vr(this,e)},e.prototype[N]=function(e){var t=this._abortAlgorithm(e);return sr(this),t},e.prototype[B]=function(){Se(this)},e}();function ar(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledWritableStream")}function ir(e,t,r,n,a,i,o,s){t._controlledWritableStream=e,e._writableStreamController=t,t._queue=void 0,t._queueTotalSize=void 0,Se(t),t._started=!1,t._strategySizeAlgorithm=s,t._strategyHWM=o,t._writeAlgorithm=n,t._closeAlgorithm=a,t._abortAlgorithm=i;var c=mr(t);zt(e,c),m(d(r()),(function(){t._started=!0,hr(t)}),(function(r){t._started=!0,jt(e,r)}))}function or(e,t,r,n){var a=Object.create(nr.prototype),i=function(){},o=function(){return d(void 0)},s=function(){return d(void 0)},c=function(){return d(void 0)};void 0!==t.start&&(i=function(){return t.start(a)}),void 0!==t.write&&(o=function(e){return t.write(e,a)}),void 0!==t.close&&(s=function(){return t.close()}),void 0!==t.abort&&(c=function(e){return t.abort(e)}),ir(e,a,i,o,s,c,r,n)}function sr(e){e._writeAlgorithm=void 0,e._closeAlgorithm=void 0,e._abortAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function cr(e){we(e,rr,0),hr(e)}function ur(e,t){try{return e._strategySizeAlgorithm(t)}catch(t){return dr(e,t),1}}function lr(e){return e._strategyHWM-e._queueTotalSize}function fr(e,t,r){try{we(e,t,r)}catch(t){return void dr(e,t)}var n=e._controlledWritableStream;Ut(n)||"writable"!==n._state||zt(n,mr(e)),hr(e)}function hr(e){var t=e._controlledWritableStream;if(e._started&&void 0===t._inFlightWriteRequest)if("erroring"!==t._state){if(0!==e._queue.length){var r=ke(e);r===rr?pr(e):gr(e,r)}}else Mt(t)}function dr(e,t){"writable"===e._controlledWritableStream._state&&vr(e,t)}function pr(e){var t=e._controlledWritableStream;Xt(t),be(e);var r=e._closeAlgorithm();sr(e),m(r,(function(){Dt(t)}),(function(e){Lt(t,e)}))}function gr(e,t){var r=e._controlledWritableStream;Ht(r),m(e._writeAlgorithm(t),(function(){Nt(r);var t=r._state;if(be(e),!Ut(r)&&"writable"===t){var n=mr(e);zt(r,n)}hr(e)}),(function(t){"writable"===r._state&&sr(e),Bt(r,t)}))}function mr(e){return lr(e)<=0}function vr(e,t){var r=e._controlledWritableStream;sr(e),Rt(r,t)}function yr(e){return new TypeError("WritableStream.prototype."+e+" can only be used on a WritableStream")}function br(e){return new TypeError("WritableStreamDefaultWriter.prototype."+e+" can only be used on a WritableStreamDefaultWriter")}function wr(e){return new TypeError("Cannot "+e+" a stream using a released writer")}function kr(e){e._closedPromise=h((function(t,r){e._closedPromise_resolve=t,e._closedPromise_reject=r,e._closedPromiseState="pending"}))}function Sr(e,t){kr(e),Ar(e,t)}function xr(e){kr(e),Cr(e)}function Ar(e,t){void 0!==e._closedPromise_reject&&(w(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected")}function Or(e,t){Sr(e,t)}function Cr(e){void 0!==e._closedPromise_resolve&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="resolved")}function Tr(e){e._readyPromise=h((function(t,r){e._readyPromise_resolve=t,e._readyPromise_reject=r})),e._readyPromiseState="pending"}function Fr(e,t){Tr(e),_r(e,t)}function Pr(e){Tr(e),jr(e)}function _r(e,t){void 0!==e._readyPromise_reject&&(w(e._readyPromise),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected")}function Ir(e){Tr(e)}function Er(e,t){Fr(e,t)}function jr(e){void 0!==e._readyPromise_resolve&&(e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled")}function Rr(e){if("object"!=typeof e||null===e)return!1;try{return"boolean"==typeof e.aborted}catch(e){return!1}}Object.defineProperties(nr.prototype,{error:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(nr.prototype,t.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});var Mr="undefined"!=typeof DOMException?DOMException:void 0;function Nr(e){if("function"!=typeof e&&"object"!=typeof e)return!1;try{return new e,!0}catch(e){return!1}}function Br(){var e=function(e,t){this.message=e||"",this.name=t||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return e.prototype=Object.create(Error.prototype),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,configurable:!0}),e}var Dr=Nr(Mr)?Mr:Br();function Lr(e,t,r,a,i,o){var s=ee(e),c=Ot(t);e._disturbed=!0;var u=!1,l=d(void 0);return h((function(f,p){var b;if(void 0!==o){if(b=function(){var r=new Dr("Aborted","AbortError"),n=[];a||n.push((function(){return"writable"===t._state?_t(t,r):d(void 0)})),i||n.push((function(){return"readable"===e._state?yn(e,r):d(void 0)})),T((function(){return Promise.all(n.map((function(e){return e()})))}),!0,r)},o.aborted)return void b();o.addEventListener("abort",b)}function k(){return h((function(e,t){function r(n){n?e():g(S(),r,t)}r(!1)}))}function S(){return u?d(!0):g(c._readyPromise,(function(){return h((function(e,t){ue(s,{_chunkSteps:function(t){l=g(tr(c,t),void 0,n),e(!1)},_closeSteps:function(){return e(!0)},_errorSteps:t})}))}))}if(O(e,s._closedPromise,(function(e){a?P(!0,e):T((function(){return _t(t,e)}),!0,e)})),O(t,c._closedPromise,(function(t){i?P(!0,t):T((function(){return yn(e,t)}),!0,t)})),C(e,s._closedPromise,(function(){r?P():T((function(){return Yt(c)}))})),Ut(t)||"closed"===t._state){var x=new TypeError("the destination writable stream closed before all data could be piped to it");i?P(!0,x):T((function(){return yn(e,x)}),!0,x)}function A(){var e=l;return g(l,(function(){return e!==l?A():void 0}))}function O(e,t,r){"errored"===e._state?r(e._storedError):y(t,r)}function C(e,t,r){"closed"===e._state?r():v(t,r)}function T(e,r,n){function a(){m(e(),(function(){return _(r,n)}),(function(e){return _(!0,e)}))}u||(u=!0,"writable"!==t._state||Ut(t)?a():v(A(),a))}function P(e,r){u||(u=!0,"writable"!==t._state||Ut(t)?_(e,r):v(A(),(function(){return _(e,r)})))}function _(e,t){er(c),F(s),void 0!==o&&o.removeEventListener("abort",b),e?p(t):f(void 0)}w(k())}))}var Ur=function(){function e(){throw new TypeError("Illegal constructor")}return Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!qr(this))throw Qr("desiredSize");return Vr(this)},enumerable:!1,configurable:!0}),e.prototype.close=function(){if(!qr(this))throw Qr("close");if(!Yr(this))throw new TypeError("The stream is not in a state that permits close");zr(this)},e.prototype.enqueue=function(e){if(void 0===e&&(e=void 0),!qr(this))throw Qr("enqueue");if(!Yr(this))throw new TypeError("The stream is not in a state that permits enqueue");return Gr(this,e)},e.prototype.error=function(e){if(void 0===e&&(e=void 0),!qr(this))throw Qr("error");Wr(this,e)},e.prototype[D]=function(e){Se(this);var t=this._cancelAlgorithm(e);return $r(this),t},e.prototype[L]=function(e){var t=this._controlledReadableStream;if(this._queue.length>0){var r=be(this);this._closeRequested&&0===this._queue.length?($r(this),bn(t)):Xr(this),e._chunkSteps(r)}else te(t,e),Xr(this)},e}();function qr(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream")}function Xr(e){Hr(e)&&(e._pulling?e._pullAgain=!0:(e._pulling=!0,m(e._pullAlgorithm(),(function(){e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,Xr(e))}),(function(t){Wr(e,t)}))))}function Hr(e){var t=e._controlledReadableStream;return!!Yr(e)&&!!e._started&&(!!(vn(t)&&ne(t)>0)||Vr(e)>0)}function $r(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function zr(e){if(Yr(e)){var t=e._controlledReadableStream;e._closeRequested=!0,0===e._queue.length&&($r(e),bn(t))}}function Gr(e,t){if(Yr(e)){var r=e._controlledReadableStream;if(vn(r)&&ne(r)>0)re(r,t,!1);else{var n=void 0;try{n=e._strategySizeAlgorithm(t)}catch(t){throw Wr(e,t),t}try{we(e,t,n)}catch(t){throw Wr(e,t),t}}Xr(e)}}function Wr(e,t){var r=e._controlledReadableStream;"readable"===r._state&&(Se(e),$r(e),wn(r,t))}function Vr(e){var t=e._controlledReadableStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function Kr(e){return!Hr(e)}function Yr(e){var t=e._controlledReadableStream._state;return!e._closeRequested&&"readable"===t}function Jr(e,t,r,n,a,i,o){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,Se(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=o,t._strategyHWM=i,t._pullAlgorithm=n,t._cancelAlgorithm=a,e._readableStreamController=t,m(d(r()),(function(){t._started=!0,Xr(t)}),(function(e){Wr(t,e)}))}function Zr(e,t,r,n){var a=Object.create(Ur.prototype),i=function(){},o=function(){return d(void 0)},s=function(){return d(void 0)};void 0!==t.start&&(i=function(){return t.start(a)}),void 0!==t.pull&&(o=function(){return t.pull(a)}),void 0!==t.cancel&&(s=function(e){return t.cancel(e)}),Jr(e,a,i,o,s,r,n)}function Qr(e){return new TypeError("ReadableStreamDefaultController.prototype."+e+" can only be used on a ReadableStreamDefaultController")}function en(e,t){var r,n,a,i,o,s=ee(e),c=!1,u=!1,l=!1,f=h((function(e){o=e}));function p(){return c||(c=!0,ue(s,{_chunkSteps:function(e){k((function(){c=!1;var t=e,r=e;u||Gr(a._readableStreamController,t),l||Gr(i._readableStreamController,r)}))},_closeSteps:function(){c=!1,u||zr(a._readableStreamController),l||zr(i._readableStreamController),u&&l||o(void 0)},_errorSteps:function(){c=!1}})),d(void 0)}function g(t){if(u=!0,r=t,l){var a=xe([r,n]),i=yn(e,a);o(i)}return f}function m(t){if(l=!0,n=t,u){var a=xe([r,n]),i=yn(e,a);o(i)}return f}function v(){}return a=pn(v,p,g),i=pn(v,p,m),y(s._closedPromise,(function(e){Wr(a._readableStreamController,e),Wr(i._readableStreamController,e),u&&l||o(void 0)})),[a,i]}function tn(e,t){H(e,t);var r=e,n=null==r?void 0:r.autoAllocateChunkSize,a=null==r?void 0:r.cancel,i=null==r?void 0:r.pull,o=null==r?void 0:r.start,s=null==r?void 0:r.type;return{autoAllocateChunkSize:void 0===n?void 0:Z(n,t+" has member \'autoAllocateChunkSize\' that"),cancel:void 0===a?void 0:rn(a,r,t+" has member \'cancel\' that"),pull:void 0===i?void 0:nn(i,r,t+" has member \'pull\' that"),start:void 0===o?void 0:an(o,r,t+" has member \'start\' that"),type:void 0===s?void 0:on(s,t+" has member \'type\' that")}}function rn(e,t,r){return $(e,r),function(r){return x(e,t,[r])}}function nn(e,t,r){return $(e,r),function(r){return x(e,t,[r])}}function an(e,t,r){return $(e,r),function(r){return S(e,t,[r])}}function on(e,t){if("bytes"!=(e=""+e))throw new TypeError(t+" \'"+e+"\' is not a valid enumeration value for ReadableStreamType");return e}function sn(e,t){H(e,t);var r=null==e?void 0:e.mode;return{mode:void 0===r?void 0:cn(r,t+" has member \'mode\' that")}}function cn(e,t){if("byob"!=(e=""+e))throw new TypeError(t+" \'"+e+"\' is not a valid enumeration value for ReadableStreamReaderMode");return e}function un(e,t){H(e,t);var r=null==e?void 0:e.preventCancel;return{preventCancel:Boolean(r)}}function ln(e,t){H(e,t);var r=null==e?void 0:e.preventAbort,n=null==e?void 0:e.preventCancel,a=null==e?void 0:e.preventClose,i=null==e?void 0:e.signal;return void 0!==i&&fn(i,t+" has member \'signal\' that"),{preventAbort:Boolean(r),preventCancel:Boolean(n),preventClose:Boolean(a),signal:i}}function fn(e,t){if(!Rr(e))throw new TypeError(t+" is not an AbortSignal.")}function hn(e,t){H(e,t);var r=null==e?void 0:e.readable;V(r,"readable","ReadableWritablePair"),Q(r,t+" has member \'readable\' that");var n=null==e?void 0:e.writable;return V(n,"writable","ReadableWritablePair"),xt(n,t+" has member \'writable\' that"),{readable:r,writable:n}}Object.defineProperties(Ur.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Ur.prototype,t.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});var dn=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),void 0===e?e=null:G(e,"First parameter");var r=mt(t,"Second parameter"),n=tn(e,"First parameter");if(gn(this),"bytes"===n.type){if(void 0!==r.size)throw new RangeError("The strategy for a byte stream cannot have a size function");tt(this,n,pt(r,0))}else{var a=gt(r);Zr(this,n,pt(r,1),a)}}return Object.defineProperty(e.prototype,"locked",{get:function(){if(!mn(this))throw kn("locked");return vn(this)},enumerable:!1,configurable:!0}),e.prototype.cancel=function(e){return void 0===e&&(e=void 0),mn(this)?vn(this)?p(new TypeError("Cannot cancel a stream that already has a reader")):yn(this,e):p(kn("cancel"))},e.prototype.getReader=function(e){if(void 0===e&&(e=void 0),!mn(this))throw kn("getReader");return void 0===sn(e,"First parameter").mode?ee(this):it(this)},e.prototype.pipeThrough=function(e,t){if(void 0===t&&(t={}),!mn(this))throw kn("pipeThrough");W(e,1,"pipeThrough");var r=hn(e,"First parameter"),n=ln(t,"Second parameter");if(vn(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(Pt(r.writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");return w(Lr(this,r.writable,n.preventClose,n.preventAbort,n.preventCancel,n.signal)),r.readable},e.prototype.pipeTo=function(e,t){if(void 0===t&&(t={}),!mn(this))return p(kn("pipeTo"));if(void 0===e)return p("Parameter 1 is required in \'pipeTo\'.");if(!Ft(e))return p(new TypeError("ReadableStream.prototype.pipeTo\'s first argument must be a WritableStream"));var r;try{r=ln(t,"Second parameter")}catch(e){return p(e)}return vn(this)?p(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):Pt(e)?p(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):Lr(this,e,r.preventClose,r.preventAbort,r.preventCancel,r.signal)},e.prototype.tee=function(){if(!mn(this))throw kn("tee");return xe(en(this))},e.prototype.values=function(e){if(void 0===e&&(e=void 0),!mn(this))throw kn("values");return de(this,un(e,"First parameter").preventCancel)},e}();function pn(e,t,r,n,a){void 0===n&&(n=1),void 0===a&&(a=function(){return 1});var i=Object.create(dn.prototype);return gn(i),Jr(i,Object.create(Ur.prototype),e,t,r,n,a),i}function gn(e){e._state="readable",e._reader=void 0,e._storedError=void 0,e._disturbed=!1}function mn(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readableStreamController")}function vn(e){return void 0!==e._reader}function yn(e,t){return e._disturbed=!0,"closed"===e._state?d(void 0):"errored"===e._state?p(e._storedError):(bn(e),b(e._readableStreamController[D](t),n))}function bn(e){e._state="closed";var t=e._reader;void 0!==t&&(M(t),ce(t)&&(t._readRequests.forEach((function(e){e._closeSteps()})),t._readRequests=new O))}function wn(e,t){e._state="errored",e._storedError=t;var r=e._reader;void 0!==r&&(j(r,t),ce(r)?(r._readRequests.forEach((function(e){e._errorSteps(t)})),r._readRequests=new O):(r._readIntoRequests.forEach((function(e){e._errorSteps(t)})),r._readIntoRequests=new O))}function kn(e){return new TypeError("ReadableStream.prototype."+e+" can only be used on a ReadableStream")}function Sn(e,t){H(e,t);var r=null==e?void 0:e.highWaterMark;return V(r,"highWaterMark","QueuingStrategyInit"),{highWaterMark:K(r)}}Object.defineProperties(dn.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(dn.prototype,t.toStringTag,{value:"ReadableStream",configurable:!0}),"symbol"==typeof t.asyncIterator&&Object.defineProperty(dn.prototype,t.asyncIterator,{value:dn.prototype.values,writable:!0,configurable:!0});var xn=function(e){return e.byteLength},An=function(){function e(e){W(e,1,"ByteLengthQueuingStrategy"),e=Sn(e,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=e.highWaterMark}return Object.defineProperty(e.prototype,"highWaterMark",{get:function(){if(!Cn(this))throw On("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){if(!Cn(this))throw On("size");return xn},enumerable:!1,configurable:!0}),e}();function On(e){return new TypeError("ByteLengthQueuingStrategy.prototype."+e+" can only be used on a ByteLengthQueuingStrategy")}function Cn(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_byteLengthQueuingStrategyHighWaterMark")}Object.defineProperties(An.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(An.prototype,t.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});var Tn=function(){return 1},Fn=function(){function e(e){W(e,1,"CountQueuingStrategy"),e=Sn(e,"First parameter"),this._countQueuingStrategyHighWaterMark=e.highWaterMark}return Object.defineProperty(e.prototype,"highWaterMark",{get:function(){if(!_n(this))throw Pn("highWaterMark");return this._countQueuingStrategyHighWaterMark},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){if(!_n(this))throw Pn("size");return Tn},enumerable:!1,configurable:!0}),e}();function Pn(e){return new TypeError("CountQueuingStrategy.prototype."+e+" can only be used on a CountQueuingStrategy")}function _n(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_countQueuingStrategyHighWaterMark")}function In(e,t){H(e,t);var r=null==e?void 0:e.flush,n=null==e?void 0:e.readableType,a=null==e?void 0:e.start,i=null==e?void 0:e.transform,o=null==e?void 0:e.writableType;return{flush:void 0===r?void 0:En(r,e,t+" has member \'flush\' that"),readableType:n,start:void 0===a?void 0:jn(a,e,t+" has member \'start\' that"),transform:void 0===i?void 0:Rn(i,e,t+" has member \'transform\' that"),writableType:o}}function En(e,t,r){return $(e,r),function(r){return x(e,t,[r])}}function jn(e,t,r){return $(e,r),function(r){return S(e,t,[r])}}function Rn(e,t,r){return $(e,r),function(r,n){return x(e,t,[r,n])}}Object.defineProperties(Fn.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Fn.prototype,t.toStringTag,{value:"CountQueuingStrategy",configurable:!0});var Mn=function(){function e(e,t,r){void 0===e&&(e={}),void 0===t&&(t={}),void 0===r&&(r={}),void 0===e&&(e=null);var n=mt(t,"Second parameter"),a=mt(r,"Third parameter"),i=In(e,"First parameter");if(void 0!==i.readableType)throw new RangeError("Invalid readableType specified");if(void 0!==i.writableType)throw new RangeError("Invalid writableType specified");var o,s=pt(a,0),c=gt(a),u=pt(n,1),l=gt(n);Nn(this,h((function(e){o=e})),u,l,s,c),$n(this,i),void 0!==i.start?o(i.start(this._transformStreamController)):o(void 0)}return Object.defineProperty(e.prototype,"readable",{get:function(){if(!Bn(this))throw ta("readable");return this._readable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"writable",{get:function(){if(!Bn(this))throw ta("writable");return this._writable},enumerable:!1,configurable:!0}),e}();function Nn(e,t,r,n,a,i){function o(){return t}function s(t){return Yn(e,t)}function c(t){return Jn(e,t)}function u(){return Zn(e)}function l(){return Qn(e)}function f(t){return Ln(e,t),d(void 0)}e._writable=Ct(o,s,u,c,r,n),e._readable=pn(o,l,f,a,i),e._backpressure=void 0,e._backpressureChangePromise=void 0,e._backpressureChangePromise_resolve=void 0,Un(e,!0),e._transformStreamController=void 0}function Bn(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_transformStreamController")}function Dn(e,t){Wr(e._readable._readableStreamController,t),Ln(e,t)}function Ln(e,t){zn(e._transformStreamController),dr(e._writable._writableStreamController,t),e._backpressure&&Un(e,!1)}function Un(e,t){void 0!==e._backpressureChangePromise&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=h((function(t){e._backpressureChangePromise_resolve=t})),e._backpressure=t}Object.defineProperties(Mn.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Mn.prototype,t.toStringTag,{value:"TransformStream",configurable:!0});var qn=function(){function e(){throw new TypeError("Illegal constructor")}return Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!Xn(this))throw ea("desiredSize");return Vr(this._controlledTransformStream._readable._readableStreamController)},enumerable:!1,configurable:!0}),e.prototype.enqueue=function(e){if(void 0===e&&(e=void 0),!Xn(this))throw ea("enqueue");Gn(this,e)},e.prototype.error=function(e){if(void 0===e&&(e=void 0),!Xn(this))throw ea("error");Wn(this,e)},e.prototype.terminate=function(){if(!Xn(this))throw ea("terminate");Kn(this)},e}();function Xn(e){return!!o(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")}function Hn(e,t,r,n){t._controlledTransformStream=e,e._transformStreamController=t,t._transformAlgorithm=r,t._flushAlgorithm=n}function $n(e,t){var r=Object.create(qn.prototype),n=function(e){try{return Gn(r,e),d(void 0)}catch(e){return p(e)}},a=function(){return d(void 0)};void 0!==t.transform&&(n=function(e){return t.transform(e,r)}),void 0!==t.flush&&(a=function(){return t.flush(r)}),Hn(e,r,n,a)}function zn(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0}function Gn(e,t){var r=e._controlledTransformStream,n=r._readable._readableStreamController;if(!Yr(n))throw new TypeError("Readable side is not in a state that permits enqueue");try{Gr(n,t)}catch(e){throw Ln(r,e),r._readable._storedError}Kr(n)!==r._backpressure&&Un(r,!0)}function Wn(e,t){Dn(e._controlledTransformStream,t)}function Vn(e,t){return b(e._transformAlgorithm(t),void 0,(function(t){throw Dn(e._controlledTransformStream,t),t}))}function Kn(e){var t=e._controlledTransformStream;zr(t._readable._readableStreamController),Ln(t,new TypeError("TransformStream terminated"))}function Yn(e,t){var r=e._transformStreamController;return e._backpressure?b(e._backpressureChangePromise,(function(){var n=e._writable;if("erroring"===n._state)throw n._storedError;return Vn(r,t)})):Vn(r,t)}function Jn(e,t){return Dn(e,t),d(void 0)}function Zn(e){var t=e._readable,r=e._transformStreamController,n=r._flushAlgorithm();return zn(r),b(n,(function(){if("errored"===t._state)throw t._storedError;zr(t._readableStreamController)}),(function(r){throw Dn(e,r),t._storedError}))}function Qn(e){return Un(e,!1),e._backpressureChangePromise}function ea(e){return new TypeError("TransformStreamDefaultController.prototype."+e+" can only be used on a TransformStreamDefaultController")}function ta(e){return new TypeError("TransformStream.prototype."+e+" can only be used on a TransformStream")}Object.defineProperties(qn.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(qn.prototype,t.toStringTag,{value:"TransformStreamDefaultController",configurable:!0}),e.ByteLengthQueuingStrategy=An,e.CountQueuingStrategy=Fn,e.ReadableByteStreamController=Fe,e.ReadableStream=dn,e.ReadableStreamBYOBReader=lt,e.ReadableStreamBYOBRequest=Te,e.ReadableStreamDefaultController=Ur,e.ReadableStreamDefaultReader=se,e.TransformStream=Mn,e.TransformStreamDefaultController=qn,e.WritableStream=At,e.WritableStreamDefaultController=nr,e.WritableStreamDefaultWriter=Gt,Object.defineProperty(e,"__esModule",{value:!0})}(t)},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearPrimitiveCaches=function(){b._clearCache(),v._clearCache(),x._clearCache()},t.isCmd=function(e,t){return e instanceof b&&(void 0===t||e.cmd===t)},t.isDict=function(e,t){return e instanceof k&&(void 0===t||C(e.get("Type"),t))},t.isEOF=function(e){return e===g},t.isName=C,t.isRef=function(e){return e instanceof x},t.isRefsEqual=function(e,t){return e.num===t.num&&e.gen===t.gen},t.isStream=function(e){return e instanceof o.BaseStream},t.RefSetCache=t.RefSet=t.Ref=t.Name=t.EOF=t.Dict=t.Cmd=void 0;var n,a=(n=r(2))&&n.__esModule?n:{default:n},i=r(4),o=r(114);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(e,t)||u(e,t)||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.")}()}function c(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=u(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function u(e,t){if(e){if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t,r,n,a,i,o){try{var s=e[i](o),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,a)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}var g={};t.EOF=g;var m,v=(m=Object.create(null),function(){function e(t){h(this,e),this.name=t}return p(e,null,[{key:"get",value:function(t){var r=m[t];return r||(m[t]=new e(t))}},{key:"_clearCache",value:function(){m=Object.create(null)}}]),e}());t.Name=v;var y,b=(y=Object.create(null),function(){function e(t){h(this,e),this.cmd=t}return p(e,null,[{key:"get",value:function(t){var r=y[t];return r||(y[t]=new e(t))}},{key:"_clearCache",value:function(){y=Object.create(null)}}]),e}());t.Cmd=b;var w=function(){return w},k=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;h(this,e),this._map=Object.create(null),this.xref=t,this.objId=null,this.suppressEncryption=!1,this.__nonSerializable__=w}var t,r;return p(e,[{key:"assignXref",value:function(e){this.xref=e}},{key:"size",get:function(){return Object.keys(this._map).length}},{key:"get",value:function(e,t,r){var n=this._map[e];return void 0===n&&void 0!==t&&void 0===(n=this._map[t])&&void 0!==r&&(n=this._map[r]),n instanceof x&&this.xref?this.xref.fetch(n,this.suppressEncryption):n}},{key:"getAsync",value:(t=a.default.mark((function e(t,r,n){var i;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===(i=this._map[t])&&void 0!==r&&void 0===(i=this._map[r])&&void 0!==n&&(i=this._map[n]),!(i instanceof x&&this.xref)){e.next=4;break}return e.abrupt("return",this.xref.fetchAsync(i,this.suppressEncryption));case 4:return e.abrupt("return",i);case 5:case"end":return e.stop()}}),e,this)})),r=function(){var e=this,r=arguments;return new Promise((function(n,a){var i=t.apply(e,r);function o(e){f(i,n,a,o,s,"next",e)}function s(e){f(i,n,a,o,s,"throw",e)}o(void 0)}))},function(e,t,n){return r.apply(this,arguments)})},{key:"getArray",value:function(e,t,r){var n=this._map[e];if(void 0===n&&void 0!==t&&void 0===(n=this._map[t])&&void 0!==r&&(n=this._map[r]),n instanceof x&&this.xref&&(n=this.xref.fetch(n,this.suppressEncryption)),Array.isArray(n))for(var a=0,i=(n=n.slice()).length;a<i;a++)n[a]instanceof x&&this.xref&&(n[a]=this.xref.fetch(n[a],this.suppressEncryption));return n}},{key:"getRaw",value:function(e){return this._map[e]}},{key:"getKeys",value:function(){return Object.keys(this._map)}},{key:"getRawValues",value:function(){return Object.values(this._map)}},{key:"set",value:function(e,t){this._map[e]=t}},{key:"has",value:function(e){return void 0!==this._map[e]}},{key:"forEach",value:function(e){for(var t in this._map)e(t,this.get(t))}}],[{key:"empty",get:function(){var t=new e(null);return t.set=function(e,t){(0,i.unreachable)("Should not call `set` on the empty dictionary.")},(0,i.shadow)(this,"empty",t)}},{key:"merge",value:function(t){var r=t.xref,n=t.dictArray,a=t.mergeSubDicts,i=void 0!==a&&a,o=new e(r);if(!i){var u,l=c(n);try{for(l.s();!(u=l.n()).done;){var f=u.value;if(f instanceof e)for(var h=0,d=Object.entries(f._map);h<d.length;h++){var p=s(d[h],2),g=p[0],m=p[1];void 0===o._map[g]&&(o._map[g]=m)}}}catch(e){l.e(e)}finally{l.f()}return o.size>0?o:e.empty}var v,y=new Map,b=c(n);try{for(b.s();!(v=b.n()).done;){var w=v.value;if(w instanceof e)for(var k=0,S=Object.entries(w._map);k<S.length;k++){var x=s(S[k],2),A=x[0],O=x[1],C=y.get(A);void 0===C&&(C=[],y.set(A,C)),C.push(O)}}}catch(e){b.e(e)}finally{b.f()}var T,F=c(y);try{for(F.s();!(T=F.n()).done;){var P=s(T.value,2),_=P[0],I=P[1];if(1!==I.length&&I[0]instanceof e){var E,j=new e(r),R=c(I);try{for(R.s();!(E=R.n()).done;){var M=E.value;if(M instanceof e)for(var N=0,B=Object.entries(M._map);N<B.length;N++){var D=s(B[N],2),L=D[0],U=D[1];void 0===j._map[L]&&(j._map[L]=U)}}}catch(e){R.e(e)}finally{R.f()}j.size>0&&(o._map[_]=j)}else o._map[_]=I[0]}}catch(e){F.e(e)}finally{F.f()}return y.clear(),o.size>0?o:e.empty}}]),e}();t.Dict=k;var S,x=(S=Object.create(null),function(){function e(t,r){h(this,e),this.num=t,this.gen=r}return p(e,[{key:"toString",value:function(){return 0===this.gen?"".concat(this.num,"R"):"".concat(this.num,"R").concat(this.gen)}}],[{key:"get",value:function(t,r){var n=0===r?"".concat(t,"R"):"".concat(t,"R").concat(r),a=S[n];return a||(S[n]=new e(t,r))}},{key:"_clearCache",value:function(){S=Object.create(null)}}]),e}());t.Ref=x;var A=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;h(this,e),this._set=new Set(t&&t._set)}return p(e,[{key:"has",value:function(e){return this._set.has(e.toString())}},{key:"put",value:function(e){this._set.add(e.toString())}},{key:"remove",value:function(e){this._set.delete(e.toString())}},{key:"forEach",value:function(e){var t,r=c(this._set.values());try{for(r.s();!(t=r.n()).done;)e(t.value)}catch(e){r.e(e)}finally{r.f()}}},{key:"clear",value:function(){this._set.clear()}}]),e}();t.RefSet=A;var O=function(){function e(){h(this,e),this._map=new Map}return p(e,[{key:"size",get:function(){return this._map.size}},{key:"get",value:function(e){return this._map.get(e.toString())}},{key:"has",value:function(e){return this._map.has(e.toString())}},{key:"put",value:function(e,t){this._map.set(e.toString(),t)}},{key:"putAlias",value:function(e,t){this._map.set(e.toString(),this.get(t))}},{key:"forEach",value:function(e){var t,r=c(this._map.values());try{for(r.s();!(t=r.n()).done;)e(t.value)}catch(e){r.e(e)}finally{r.f()}}},{key:"clear",value:function(){this._map.clear()}}]),e}();function C(e,t){return e instanceof v&&(void 0===t||e.name===t)}t.RefSetCache=O},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseStream=void 0;var n=r(4);function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.constructor===e&&(0,n.unreachable)("Cannot initialize BaseStream.")}var t,r,i;return t=e,r=[{key:"length",get:function(){(0,n.unreachable)("Abstract getter `length` accessed")}},{key:"isEmpty",get:function(){(0,n.unreachable)("Abstract getter `isEmpty` accessed")}},{key:"isDataLoaded",get:function(){return(0,n.shadow)(this,"isDataLoaded",!0)}},{key:"getByte",value:function(){(0,n.unreachable)("Abstract method `getByte` called")}},{key:"getBytes",value:function(e){(0,n.unreachable)("Abstract method `getBytes` called")}},{key:"peekByte",value:function(){var e=this.getByte();return-1!==e&&this.pos--,e}},{key:"peekBytes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.getBytes(e,t);return this.pos-=r.length,r}},{key:"getUint16",value:function(){var e=this.getByte(),t=this.getByte();return-1===e||-1===t?-1:(e<<8)+t}},{key:"getInt32",value:function(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()}},{key:"getByteRange",value:function(e,t){(0,n.unreachable)("Abstract method `getByteRange` called")}},{key:"getString",value:function(e){return(0,n.bytesToString)(this.getBytes(e,!1))}},{key:"skip",value:function(e){this.pos+=e||1}},{key:"reset",value:function(){(0,n.unreachable)("Abstract method `reset` called")}},{key:"moveStart",value:function(){(0,n.unreachable)("Abstract method `moveStart` called")}},{key:"makeSubStream",value:function(e,t){(0,n.unreachable)("Abstract method `makeSubStream` called")}},{key:"getBaseStreams",value:function(){return null}}],r&&a(t.prototype,r),i&&a(t,i),e}();t.BaseStream=i},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkPdfManager=t.LocalPdfManager=void 0;var a,i=(a=r(2))&&a.__esModule?a:{default:a},o=r(4),s=r(116),c=r(117),u=r(119),l=r(118);function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function d(e){var t=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(e){return!1}}();return function(){var r,n=m(e);if(t){var a=m(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p(this,r)}}function p(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function v(e,t,r,n,a,i,o){try{var s=e[i](o),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,a)}function y(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function o(e){v(i,n,a,o,s,"next",e)}function s(e){v(i,n,a,o,s,"throw",e)}o(void 0)}))}}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k(e,t,r){return t&&w(e.prototype,t),r&&w(e,r),e}function S(e){if(e){var t=(0,o.createValidAbsoluteUrl)(e);if(t)return t.href;(0,o.warn)(\'Invalid absolute docBaseUrl: "\'.concat(e,\'".\'))}return null}var x=function(){function e(){b(this,e),this.constructor===e&&(0,o.unreachable)("Cannot initialize BasePdfManager.")}var t;return k(e,[{key:"docId",get:function(){return this._docId}},{key:"password",get:function(){return this._password}},{key:"docBaseUrl",get:function(){return this._docBaseUrl}},{key:"onLoadedStream",value:function(){(0,o.unreachable)("Abstract method `onLoadedStream` called")}},{key:"ensureDoc",value:function(e,t){return this.ensure(this.pdfDocument,e,t)}},{key:"ensureXRef",value:function(e,t){return this.ensure(this.pdfDocument.xref,e,t)}},{key:"ensureCatalog",value:function(e,t){return this.ensure(this.pdfDocument.catalog,e,t)}},{key:"getPage",value:function(e){return this.pdfDocument.getPage(e)}},{key:"fontFallback",value:function(e,t){return this.pdfDocument.fontFallback(e,t)}},{key:"loadXfaFonts",value:function(e,t){return this.pdfDocument.loadXfaFonts(e,t)}},{key:"cleanup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.pdfDocument.cleanup(e)}},{key:"ensure",value:(t=y(i.default.mark((function e(t,r,n){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(0,o.unreachable)("Abstract method `ensure` called");case 1:case"end":return e.stop()}}),e)}))),function(e,r,n){return t.apply(this,arguments)})},{key:"requestRange",value:function(e,t){(0,o.unreachable)("Abstract method `requestRange` called")}},{key:"requestLoadedStream",value:function(){(0,o.unreachable)("Abstract method `requestLoadedStream` called")}},{key:"sendProgressiveData",value:function(e){(0,o.unreachable)("Abstract method `sendProgressiveData` called")}},{key:"updatePassword",value:function(e){this._password=e}},{key:"terminate",value:function(e){(0,o.unreachable)("Abstract method `terminate` called")}}]),e}(),A=function(e){f(n,e);var t,r=d(n);function n(e,t,a,i,o,s){var c;b(this,n),(c=r.call(this))._docId=e,c._password=a,c._docBaseUrl=S(s),c.evaluatorOptions=i,c.enableXfa=o;var f=new l.Stream(t);return c.pdfDocument=new u.PDFDocument(g(c),f),c._loadedStreamPromise=Promise.resolve(f),c}return k(n,[{key:"ensure",value:(t=y(i.default.mark((function e(t,r,n){var a;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!=typeof(a=t[r])){e.next=3;break}return e.abrupt("return",a.apply(t,n));case 3:return e.abrupt("return",a);case 4:case"end":return e.stop()}}),e)}))),function(e,r,n){return t.apply(this,arguments)})},{key:"requestRange",value:function(e,t){return Promise.resolve()}},{key:"requestLoadedStream",value:function(){}},{key:"onLoadedStream",value:function(){return this._loadedStreamPromise}},{key:"terminate",value:function(e){}}]),n}(x);t.LocalPdfManager=A;var O=function(e){f(n,e);var t,r=d(n);function n(e,t,a,i,o,c){var l;return b(this,n),(l=r.call(this))._docId=e,l._password=a.password,l._docBaseUrl=S(c),l.msgHandler=a.msgHandler,l.evaluatorOptions=i,l.enableXfa=o,l.streamManager=new s.ChunkedStreamManager(t,{msgHandler:a.msgHandler,length:a.length,disableAutoFetch:a.disableAutoFetch,rangeChunkSize:a.rangeChunkSize}),l.pdfDocument=new u.PDFDocument(g(l),l.streamManager.getStream()),l}return k(n,[{key:"ensure",value:(t=y(i.default.mark((function e(t,r,n){var a;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,"function"!=typeof(a=t[r])){e.next=4;break}return e.abrupt("return",a.apply(t,n));case 4:return e.abrupt("return",a);case 7:if(e.prev=7,e.t0=e.catch(0),e.t0 instanceof c.MissingDataException){e.next=11;break}throw e.t0;case 11:return e.next=13,this.requestRange(e.t0.begin,e.t0.end);case 13:return e.abrupt("return",this.ensure(t,r,n));case 14:case"end":return e.stop()}}),e,this,[[0,7]])}))),function(e,r,n){return t.apply(this,arguments)})},{key:"requestRange",value:function(e,t){return this.streamManager.requestRange(e,t)}},{key:"requestLoadedStream",value:function(){this.streamManager.requestAllChunks()}},{key:"sendProgressiveData",value:function(e){this.streamManager.onReceiveData({chunk:e})}},{key:"onLoadedStream",value:function(){return this.streamManager.onLoadedStream()}},{key:"terminate",value:function(e){this.streamManager.abort(e)}}]),n}(x);t.NetworkPdfManager=O},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.ChunkedStreamManager=t.ChunkedStream=void 0;var a=r(4),i=r(117);function o(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw i}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),e}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function h(e){var t=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(e){return!1}}();return function(){var r,n=p(e);if(t){var a=p(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return d(this,r)}}function d(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(r,e);var t=h(r);function r(e,n,a){var i;return c(this,r),(i=t.call(this,new Uint8Array(e),0,e,null)).chunkSize=n,i._loadedChunks=new Set,i.numChunks=Math.ceil(e/n),i.manager=a,i.progressiveDataLength=0,i.lastSuccessfulEnsureByteChunk=-1,i}return l(r,[{key:"getMissingChunks",value:function(){for(var e=[],t=0,r=this.numChunks;t<r;++t)this._loadedChunks.has(t)||e.push(t);return e}},{key:"numChunksLoaded",get:function(){return this._loadedChunks.size}},{key:"isDataLoaded",get:function(){return this.numChunksLoaded===this.numChunks}},{key:"onReceiveData",value:function(e,t){var r=this.chunkSize;if(e%r!=0)throw new Error("Bad begin offset: ".concat(e));var n=e+t.byteLength;if(n%r!=0&&n!==this.bytes.length)throw new Error("Bad end offset: ".concat(n));this.bytes.set(new Uint8Array(t),e);for(var a=Math.floor(e/r),i=Math.floor((n-1)/r)+1,o=a;o<i;++o)this._loadedChunks.add(o)}},{key:"onReceiveProgressiveData",value:function(e){var t=this.progressiveDataLength,r=Math.floor(t/this.chunkSize);this.bytes.set(new Uint8Array(e),t),t+=e.byteLength,this.progressiveDataLength=t;for(var n=t>=this.end?this.numChunks:Math.floor(t/this.chunkSize),a=r;a<n;++a)this._loadedChunks.add(a)}},{key:"ensureByte",value:function(e){if(!(e<this.progressiveDataLength)){var t=Math.floor(e/this.chunkSize);if(t!==this.lastSuccessfulEnsureByteChunk){if(!this._loadedChunks.has(t))throw new i.MissingDataException(e,e+1);this.lastSuccessfulEnsureByteChunk=t}}}},{key:"ensureRange",value:function(e,t){if(!(e>=t||t<=this.progressiveDataLength))for(var r=this.chunkSize,n=Math.floor(e/r),a=Math.floor((t-1)/r)+1,o=n;o<a;++o)if(!this._loadedChunks.has(o))throw new i.MissingDataException(e,t)}},{key:"nextEmptyChunk",value:function(e){for(var t=this.numChunks,r=0;r<t;++r){var n=(e+r)%t;if(!this._loadedChunks.has(n))return n}return null}},{key:"hasChunk",value:function(e){return this._loadedChunks.has(e)}},{key:"getByte",value:function(){var e=this.pos;return e>=this.end?-1:(e>=this.progressiveDataLength&&this.ensureByte(e),this.bytes[this.pos++])}},{key:"getBytes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.bytes,n=this.pos,a=this.end;if(!e){a>this.progressiveDataLength&&this.ensureRange(n,a);var i=r.subarray(n,a);return t?new Uint8ClampedArray(i):i}var o=n+e;o>a&&(o=a),o>this.progressiveDataLength&&this.ensureRange(n,o),this.pos=o;var s=r.subarray(n,o);return t?new Uint8ClampedArray(s):s}},{key:"getByteRange",value:function(e,t){return e<0&&(e=0),t>this.end&&(t=this.end),t>this.progressiveDataLength&&this.ensureRange(e,t),this.bytes.subarray(e,t)}},{key:"makeSubStream",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;function n(){}t?e+t>this.progressiveDataLength&&this.ensureRange(e,e+t):e>=this.progressiveDataLength&&this.ensureByte(e),n.prototype=Object.create(this),n.prototype.getMissingChunks=function(){for(var e=this.chunkSize,t=Math.floor(this.start/e),r=Math.floor((this.end-1)/e)+1,n=[],a=t;a<r;++a)this._loadedChunks.has(a)||n.push(a);return n},Object.defineProperty(n.prototype,"isDataLoaded",{get:function(){return this.numChunksLoaded===this.numChunks||0===this.getMissingChunks().length},configurable:!0});var a=new n;return a.pos=a.start=e,a.end=e+t||this.end,a.dict=r,a}},{key:"getBaseStreams",value:function(){return[this]}}]),r}(r(118).Stream);t.ChunkedStream=g;var m=function(){function e(t,r){c(this,e),this.length=r.length,this.chunkSize=r.rangeChunkSize,this.stream=new g(this.length,this.chunkSize,this),this.pdfNetworkStream=t,this.disableAutoFetch=r.disableAutoFetch,this.msgHandler=r.msgHandler,this.currRequestId=0,this._chunksNeededByRequest=new Map,this._requestsByChunk=new Map,this._promisesByRequest=new Map,this.progressiveDataLength=0,this.aborted=!1,this._loadedStreamCapability=(0,a.createPromiseCapability)()}return l(e,[{key:"onLoadedStream",value:function(){return this._loadedStreamCapability.promise}},{key:"sendRequest",value:function(e,t){var r=this,n=this.pdfNetworkStream.getRangeReader(e,t);n.isStreamingSupported||(n.onProgress=this.onProgress.bind(this));var i=[],o=0;new Promise((function(e,t){n.read().then((function s(c){try{if(!c.done){var u=c.value;return i.push(u),o+=(0,a.arrayByteLength)(u),n.isStreamingSupported&&r.onProgress({loaded:o}),void n.read().then(s,t)}var l=(0,a.arraysToBytes)(i);i=null,e(l)}catch(e){t(e)}}),t)})).then((function(t){r.aborted||r.onReceiveData({chunk:t,begin:e})}))}},{key:"requestAllChunks",value:function(){var e=this.stream.getMissingChunks();return this._requestChunks(e),this._loadedStreamCapability.promise}},{key:"_requestChunks",value:function(e){var t=this,r=this.currRequestId++,n=new Set;this._chunksNeededByRequest.set(r,n);var i,s=o(e);try{for(s.s();!(i=s.n()).done;){var c=i.value;this.stream.hasChunk(c)||n.add(c)}}catch(e){s.e(e)}finally{s.f()}if(0===n.size)return Promise.resolve();var u=(0,a.createPromiseCapability)();this._promisesByRequest.set(r,u);var l,f=[],h=o(n);try{for(h.s();!(l=h.n()).done;){var d=l.value,p=this._requestsByChunk.get(d);p||(p=[],this._requestsByChunk.set(d,p),f.push(d)),p.push(r)}}catch(e){h.e(e)}finally{h.f()}if(f.length>0){var g,m=o(this.groupChunks(f));try{for(m.s();!(g=m.n()).done;){var v=g.value,y=v.beginChunk*this.chunkSize,b=Math.min(v.endChunk*this.chunkSize,this.length);this.sendRequest(y,b)}}catch(e){m.e(e)}finally{m.f()}}return u.promise.catch((function(e){if(!t.aborted)throw e}))}},{key:"getStream",value:function(){return this.stream}},{key:"requestRange",value:function(e,t){t=Math.min(t,this.length);for(var r=this.getBeginChunk(e),n=this.getEndChunk(t),a=[],i=r;i<n;++i)a.push(i);return this._requestChunks(a)}},{key:"requestRanges",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=[],n=o(t);try{for(n.s();!(e=n.n()).done;)for(var a=e.value,i=this.getBeginChunk(a.begin),s=this.getEndChunk(a.end),c=i;c<s;++c)r.includes(c)||r.push(c)}catch(e){n.e(e)}finally{n.f()}return r.sort((function(e,t){return e-t})),this._requestChunks(r)}},{key:"groupChunks",value:function(e){for(var t=[],r=-1,n=-1,a=0,i=e.length;a<i;++a){var o=e[a];r<0&&(r=o),n>=0&&n+1!==o&&(t.push({beginChunk:r,endChunk:n+1}),r=o),a+1===e.length&&t.push({beginChunk:r,endChunk:o+1}),n=o}return t}},{key:"onProgress",value:function(e){this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize+e.loaded,total:this.length})}},{key:"onReceiveData",value:function(e){var t=e.chunk,r=void 0===e.begin,n=r?this.progressiveDataLength:e.begin,a=n+t.byteLength,i=Math.floor(n/this.chunkSize),s=a<this.length?Math.floor(a/this.chunkSize):Math.ceil(a/this.chunkSize);r?(this.stream.onReceiveProgressiveData(t),this.progressiveDataLength=a):this.stream.onReceiveData(n,t),this.stream.isDataLoaded&&this._loadedStreamCapability.resolve(this.stream);for(var c=[],u=i;u<s;++u){var l=this._requestsByChunk.get(u);if(l){this._requestsByChunk.delete(u);var f,h=o(l);try{for(h.s();!(f=h.n()).done;){var d=f.value,p=this._chunksNeededByRequest.get(d);p.has(u)&&p.delete(u),p.size>0||c.push(d)}}catch(e){h.e(e)}finally{h.f()}}}if(!this.disableAutoFetch&&0===this._requestsByChunk.size){var g;if(1===this.stream.numChunksLoaded){var m=this.stream.numChunks-1;this.stream.hasChunk(m)||(g=m)}else g=this.stream.nextEmptyChunk(s);Number.isInteger(g)&&this._requestChunks([g])}for(var v=0,y=c;v<y.length;v++){var b=y[v],w=this._promisesByRequest.get(b);this._promisesByRequest.delete(b),w.resolve()}this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize,total:this.length})}},{key:"onError",value:function(e){this._loadedStreamCapability.reject(e)}},{key:"getBeginChunk",value:function(e){return Math.floor(e/this.chunkSize)}},{key:"getEndChunk",value:function(e){return Math.floor((e-1)/this.chunkSize)+1}},{key:"abort",value:function(e){this.aborted=!0,this.pdfNetworkStream&&this.pdfNetworkStream.cancelAllRequests(e);var t,r=o(this._promisesByRequest.values());try{for(r.s();!(t=r.n()).done;)t.value.reject(e)}catch(e){r.e(e)}finally{r.f()}}}]),e}();t.ChunkedStreamManager=m},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.collectActions=function(e,t,r){var n=Object.create(null),s=v({dict:t,key:"AA",stopWhenFound:!1});if(s)for(var c=s.length-1;c>=0;c--){var u=s[c];if(u instanceof i.Dict){var l,f=o(u.getKeys());try{for(f.s();!(l=f.n()).done;){var h=l.value,d=r[h];if(d){var p=u.getRaw(h),g=new i.RefSet,m=[];b(p,e,m,g),m.length>0&&(n[d]=m)}}}catch(e){f.e(e)}finally{f.f()}}}if(t.has("A")){var y=t.get("A"),w=new i.RefSet,k=[];b(y,e,k,w),k.length>0&&(n.Action=k)}return(0,a.objectSize)(n)>0?n:null},t.encodeToXmlString=function(e){for(var t=[],r=0,n=0,a=e.length;n<a;n++){var i=e.codePointAt(n);if(32<=i&&i<=126){var o=w[i];o&&(r<n&&t.push(e.substring(r,n)),t.push(o),r=n+1)}else r<n&&t.push(e.substring(r,n)),t.push("&#x".concat(i.toString(16).toUpperCase(),";")),i>55295&&(i<57344||i>65533)&&n++,r=n+1}return 0===t.length?e:(r<e.length&&t.push(e.substring(r,e.length)),t.join(""))},t.escapePDFName=function(e){for(var t=[],r=0,n=0,a=e.length;n<a;n++){var i=e.charCodeAt(n);(i<33||i>126||35===i||40===i||41===i||60===i||62===i||91===i||93===i||123===i||125===i||47===i||37===i)&&(r<n&&t.push(e.substring(r,n)),t.push("#".concat(i.toString(16))),r=n+1)}return 0===t.length?e:(r<e.length&&t.push(e.substring(r,e.length)),t.join(""))},t.getArrayLookupTableFactory=function(e){var t;return function(){if(e){var r=e();e=null,t=Object.create(null);for(var n=0,a=r.length;n<a;n+=2)t[r[n]]=r[n+1];r=null}return t}},t.getInheritableProperty=v,t.getLookupTableFactory=function(e){var t;return function(){return e&&(t=Object.create(null),e(t),e=null),t}},t.isWhiteSpace=function(e){return 32===e||9===e||13===e||10===e},t.log2=function(e){return e<=0?0:Math.ceil(Math.log2(e))},t.parseXFAPath=function(e){var t=/(.+)\\[([0-9]+)\\]$/;return e.split(".").map((function(e){var r=e.match(t);return r?{name:r[1],pos:parseInt(r[2],10)}:{name:e,pos:0}}))},t.readInt8=function(e,t){return e[t]<<24>>24},t.readUint16=function(e,t){return e[t]<<8|e[t+1]},t.readUint32=function(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0},t.toRomanNumerals=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,a.assert)(Number.isInteger(e)&&e>0,"The number should be a positive integer.");for(var r,n=[];e>=1e3;)e-=1e3,n.push("M");r=e/100|0,e%=100,n.push(y[r]),r=e/10|0,e%=10,n.push(y[10+r]),n.push(y[20+e]);var i=n.join("");return t?i.toLowerCase():i},t.validateCSSFont=function(e){var t=new Set(["100","200","300","400","500","600","700","800","900","1000","normal","bold","bolder","lighter"]),r=e.fontFamily,n=e.fontWeight,i=e.italicAngle;if(/^".*"$/.test(r)){if(/[^\\\\]"/.test(r.slice(1,r.length-1)))return(0,a.warn)(\'XFA - FontFamily contains some unescaped ": \'.concat(r,".")),!1}else if(/^\'.*\'$/.test(r)){if(/[^\\\\]\'/.test(r.slice(1,r.length-1)))return(0,a.warn)("XFA - FontFamily contains some unescaped \': ".concat(r,".")),!1}else{var s,c=o(r.split(/[ \\t]+/));try{for(c.s();!(s=c.n()).done;){var u=s.value;if(/^([0-9]|(-([0-9]|-)))/.test(u)||!/^[a-zA-Z0-9\\-_\\\\]+$/.test(u))return(0,a.warn)("XFA - FontFamily contains some invalid <custom-ident>: ".concat(r,".")),!1}}catch(e){c.e(e)}finally{c.f()}}var l=n?n.toString():"";e.fontWeight=t.has(l)?l:"400";var f=parseFloat(i);return e.italicAngle=isNaN(f)||f<-90||f>90?"14":i.toString(),!0},t.XRefParseException=t.XRefEntryException=t.MissingDataException=void 0;var a=r(4),i=r(113);function o(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw i}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function f(e){var t=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(e){return!1}}();return function(){var r,n=d(e);if(t){var a=d(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}var p=function(e){u(r,e);var t=f(r);function r(e,n){var a;return c(this,r),(a=t.call(this,"Missing data [".concat(e,", ").concat(n,")"))).begin=e,a.end=n,a}return r}(a.BaseException);t.MissingDataException=p;var g=function(e){u(r,e);var t=f(r);function r(){return c(this,r),t.apply(this,arguments)}return r}(a.BaseException);t.XRefEntryException=g;var m=function(e){u(r,e);var t=f(r);function r(){return c(this,r),t.apply(this,arguments)}return r}(a.BaseException);function v(e){for(var t,r=e.dict,n=e.key,a=e.getArray,o=void 0!==a&&a,s=e.stopWhenFound,c=void 0===s||s,u=new i.RefSet;r instanceof i.Dict&&(!r.objId||!u.has(r.objId));){r.objId&&u.put(r.objId);var l=o?r.getArray(n):r.get(n);if(void 0!==l){if(c)return l;t||(t=[]),t.push(l)}r=r.get("Parent")}return t}t.XRefParseException=m;var y=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"];function b(e,t,r,n){if(e){var s=null;if((0,i.isRef)(e)){if(n.has(e))return;s=e,n.put(s),e=t.fetch(e)}if(Array.isArray(e)){var c,u=o(e);try{for(u.s();!(c=u.n()).done;)b(c.value,t,r,n)}catch(e){u.e(e)}finally{u.f()}}else if(e instanceof i.Dict){if((0,i.isName)(e.get("S"),"JavaScript")&&e.has("JS")){var l,f=e.get("JS");l=(0,i.isStream)(f)?f.getString():f,(l=(0,a.stringToPDFString)(l))&&r.push(l)}b(e.getRaw("Next"),t,r,n)}s&&n.remove(s)}}var w={60:"&lt;",62:"&gt;",38:"&amp;",34:"&quot;",39:"&apos;"}},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.StringStream=t.Stream=t.NullStream=void 0;var a=r(114),i=r(4);function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function l(e){var t=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(e){return!1}}();return function(){var r,n=h(e);if(t){var a=h(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return f(this,r)}}function f(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var d=function(e){c(i,e);var t,r,n,a=l(i);function i(e,t,r,n){var s;return o(this,i),(s=a.call(this)).bytes=e instanceof Uint8Array?e:new Uint8Array(e),s.start=t||0,s.pos=s.start,s.end=t+r||s.bytes.length,s.dict=n,s}return t=i,r=[{key:"length",get:function(){return this.end-this.start}},{key:"isEmpty",get:function(){return 0===this.length}},{key:"getByte",value:function(){return this.pos>=this.end?-1:this.bytes[this.pos++]}},{key:"getBytes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.bytes,n=this.pos,a=this.end;if(!e){var i=r.subarray(n,a);return t?new Uint8ClampedArray(i):i}var o=n+e;o>a&&(o=a),this.pos=o;var s=r.subarray(n,o);return t?new Uint8ClampedArray(s):s}},{key:"getByteRange",value:function(e,t){return e<0&&(e=0),t>this.end&&(t=this.end),this.bytes.subarray(e,t)}},{key:"reset",value:function(){this.pos=this.start}},{key:"moveStart",value:function(){this.start=this.pos}},{key:"makeSubStream",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return new i(this.bytes.buffer,e,t,r)}}],r&&s(t.prototype,r),n&&s(t,n),i}(a.BaseStream);t.Stream=d;var p=function(e){c(r,e);var t=l(r);function r(e){return o(this,r),t.call(this,(0,i.stringToBytes)(e))}return r}(d);t.StringStream=p;var g=function(e){c(r,e);var t=l(r);function r(){return o(this,r),t.call(this,new Uint8Array(0))}return r}(d);t.NullStream=g},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.PDFDocument=t.Page=void 0;var a,i=(a=r(2))&&a.__esModule?a:{default:a},o=r(4),s=r(113),c=r(117),u=r(118),l=r(120),f=r(114),h=r(173),d=r(165),p=r(125),g=r(171),m=r(163),v=r(123),y=r(127),b=r(170),w=r(175),k=r(196);function S(e,t,r,n,a,i,o){try{var s=e[i](o),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,a)}function x(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function o(e){S(i,n,a,o,s,"next",e)}function s(e){S(i,n,a,o,s,"throw",e)}o(void 0)}))}}function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(e,t)||C(e,t)||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.")}()}function O(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=C(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function C(e,t){if(e){if("string"==typeof e)return T(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?T(e,t):void 0}}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function F(e,t){return F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},F(e,t)}function P(e){var t=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(e){return!1}}();return function(){var r,n=I(e);if(t){var a=I(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return _(this,r)}}function _(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function I(e){return I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},I(e)}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function R(e,t,r){return t&&j(e.prototype,t),r&&j(e,r),e}var M=[0,0,612,792],N=function(){function e(t){var r=t.pdfManager,n=t.xref,a=t.pageIndex,i=t.pageDict,o=t.ref,s=t.globalIdFactory,c=t.fontCache,u=t.builtInCMapCache,l=t.globalImageCache,f=t.nonBlendModesSet,h=t.xfaFactory;E(this,e),this.pdfManager=r,this.pageIndex=a,this.pageDict=i,this.xref=n,this.ref=o,this.fontCache=c,this.builtInCMapCache=u,this.globalImageCache=l,this.nonBlendModesSet=f,this.evaluatorOptions=r.evaluatorOptions,this.resourcesPromise=null,this.xfaFactory=h;var d={obj:0};this._localIdFactory=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F(e,t)}(r,e);var t=P(r);function r(){return E(this,r),t.apply(this,arguments)}return R(r,null,[{key:"createObjId",value:function(){return"p".concat(a,"_").concat(++d.obj)}},{key:"getPageObjId",value:function(){return"page".concat(o.toString())}}]),r}(s)}var t;return R(e,[{key:"_getInheritableProperty",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=(0,c.getInheritableProperty)({dict:this.pageDict,key:e,getArray:t,stopWhenFound:!1});return Array.isArray(r)?1!==r.length&&(0,s.isDict)(r[0])?s.Dict.merge({xref:this.xref,dictArray:r}):r[0]:r}},{key:"content",get:function(){return this.pageDict.getArray("Contents")}},{key:"resources",get:function(){return(0,o.shadow)(this,"resources",this._getInheritableProperty("Resources")||s.Dict.empty)}},{key:"_getBoundingBox",value:function(e){if(this.xfaData){var t=this.xfaData.attributes.style,r=t.width,n=t.height;return[0,0,parseInt(r),parseInt(n)]}var a=this._getInheritableProperty(e,!0);if(Array.isArray(a)&&4===a.length){if(a[2]-a[0]!=0&&a[3]-a[1]!=0)return a;(0,o.warn)("Empty /".concat(e," entry."))}return null}},{key:"mediaBox",get:function(){return(0,o.shadow)(this,"mediaBox",this._getBoundingBox("MediaBox")||M)}},{key:"cropBox",get:function(){return(0,o.shadow)(this,"cropBox",this._getBoundingBox("CropBox")||this.mediaBox)}},{key:"userUnit",get:function(){var e=this.pageDict.get("UserUnit");return(!(0,o.isNum)(e)||e<=0)&&(e=1),(0,o.shadow)(this,"userUnit",e)}},{key:"view",get:function(){var e,t=this.cropBox,r=this.mediaBox;if(t===r||(0,o.isArrayEqual)(t,r))e=r;else{var n=o.Util.intersect(t,r);n&&n[2]-n[0]!=0&&n[3]-n[1]!=0?e=n:(0,o.warn)("Empty /CropBox and /MediaBox intersection.")}return(0,o.shadow)(this,"view",e||r)}},{key:"rotate",get:function(){var e=this._getInheritableProperty("Rotate")||0;return e%90!=0?e=0:e>=360?e%=360:e<0&&(e=(e%360+360)%360),(0,o.shadow)(this,"rotate",e)}},{key:"getContentStream",value:function(){return this.pdfManager.ensure(this,"content").then((function(e){return e instanceof f.BaseStream?e:Array.isArray(e)?new y.StreamsSequenceStream(e):new u.NullStream}))}},{key:"xfaData",get:function(){return this.xfaFactory?(0,o.shadow)(this,"xfaData",this.xfaFactory.getPage(this.pageIndex)):(0,o.shadow)(this,"xfaData",null)}},{key:"save",value:function(e,t,r){var n=new v.PartialEvaluator({xref:this.xref,handler:e,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions});return this._parsedAnnotations.then((function(e){var a,i=[],s=O(e);try{for(s.s();!(a=s.n()).done;){var c=a.value;c.mustBePrinted(r)&&i.push(c.save(n,t,r).catch((function(e){return(0,o.warn)("save - ignoring annotation data during "+\'"\'.concat(t.name,\'" task: "\').concat(e,\'".\')),null})))}}catch(e){s.e(e)}finally{s.f()}return Promise.all(i)}))}},{key:"loadResources",value:function(e){var t=this;return this.resourcesPromise||(this.resourcesPromise=this.pdfManager.ensure(this,"resources")),this.resourcesPromise.then((function(){return new g.ObjectLoader(t.resources,e,t.xref).load()}))}},{key:"getOperatorList",value:function(e){var t=this,r=e.handler,n=e.sink,a=e.task,i=e.intent,s=e.renderInteractiveForms,c=e.annotationStorage,u=this.getContentStream(),l=this.loadResources(["ColorSpace","ExtGState","Font","Pattern","Properties","Shading","XObject"]),f=new v.PartialEvaluator({xref:this.xref,handler:r,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions}),h=Promise.all([u,l]).then((function(e){var o=A(e,1)[0],s=new m.OperatorList(i,n);return r.send("StartRenderPage",{transparency:f.hasBlendModes(t.resources,t.nonBlendModesSet),pageIndex:t.pageIndex,intent:i}),f.getOperatorList({stream:o,task:a,resources:t.resources,operatorList:s}).then((function(){return s}))}));return Promise.all([h,this._parsedAnnotations]).then((function(e){var t=A(e,2),r=t[0],n=t[1];if(0===n.length)return r.flush(!0),{length:r.totalLength};var u,l=[],h=O(n);try{for(h.s();!(u=h.n()).done;){var d=u.value;("display"===i&&d.mustBeViewed(c)||"print"===i&&d.mustBePrinted(c))&&l.push(d.getOperatorList(f,a,s,c).catch((function(e){return(0,o.warn)("getOperatorList - ignoring annotation data during "+\'"\'.concat(a.name,\'" task: "\').concat(e,\'".\')),null})))}}catch(e){h.e(e)}finally{h.f()}return Promise.all(l).then((function(e){r.addOp(o.OPS.beginAnnotations,[]);var t,n=O(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;r.addOpList(a)}}catch(e){n.e(e)}finally{n.f()}return r.addOp(o.OPS.endAnnotations,[]),r.flush(!0),{length:r.totalLength}}))}))}},{key:"extractTextContent",value:function(e){var t=this,r=e.handler,n=e.task,a=e.normalizeWhitespace,i=e.includeMarkedContent,o=e.sink,s=e.combineTextItems,c=this.getContentStream(),u=this.loadResources(["ExtGState","Font","Properties","XObject"]);return Promise.all([c,u]).then((function(e){var c=A(e,1)[0];return new v.PartialEvaluator({xref:t.xref,handler:r,pageIndex:t.pageIndex,idFactory:t._localIdFactory,fontCache:t.fontCache,builtInCMapCache:t.builtInCMapCache,globalImageCache:t.globalImageCache,options:t.evaluatorOptions}).getTextContent({stream:c,task:n,resources:t.resources,normalizeWhitespace:a,includeMarkedContent:i,combineTextItems:s,sink:o})}))}},{key:"getStructTree",value:(t=x(i.default.mark((function e(){var t,r;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfManager.ensureCatalog("structTreeRoot");case 2:if(t=e.sent){e.next=5;break}return e.abrupt("return",null);case 5:return e.next=7,this.pdfManager.ensure(this,"_parseStructTree",[t]);case 7:return r=e.sent,e.abrupt("return",r.serializable);case 9:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"_parseStructTree",value:function(e){var t=new b.StructTreePage(e,this.pageDict);return t.parse(),t}},{key:"getAnnotationsData",value:function(e){return this._parsedAnnotations.then((function(t){for(var r=[],n=0,a=t.length;n<a;n++)(!e||"display"===e&&t[n].viewable||"print"===e&&t[n].printable)&&r.push(t[n].data);return r}))}},{key:"annotations",get:function(){var e=this._getInheritableProperty("Annots");return(0,o.shadow)(this,"annotations",Array.isArray(e)?e:[])}},{key:"_parsedAnnotations",get:function(){var e=this,t=this.pdfManager.ensure(this,"annotations").then((function(){var t,r=[],n=O(e.annotations);try{for(n.s();!(t=n.n()).done;){var a=t.value;r.push(l.AnnotationFactory.create(e.xref,a,e.pdfManager,e._localIdFactory,!1).catch((function(e){return(0,o.warn)(\'_parsedAnnotations: "\'.concat(e,\'".\')),null})))}}catch(e){n.e(e)}finally{n.f()}return Promise.all(r).then((function(e){return e.filter((function(e){return!!e}))}))}));return(0,o.shadow)(this,"_parsedAnnotations",t)}},{key:"jsActions",get:function(){var e=(0,c.collectActions)(this.xref,this.pageDict,o.PageActionEventType);return(0,o.shadow)(this,"jsActions",e)}}]),e}();t.Page=N;var B=new Uint8Array([37,80,68,70,45]),D=new Uint8Array([115,116,97,114,116,120,114,101,102]),L=new Uint8Array([101,110,100,111,98,106]),U=/^[1-9]\\.[0-9]$/;function q(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1024,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=t.length,i=e.peekBytes(r),o=i.length-a;if(o<=0)return!1;if(n)for(var s=a-1,c=i.length-1;c>=s;){for(var u=0;u<a&&i[c-u]===t[s-u];)u++;if(u>=a)return e.pos+=c-s,!0;c--}else for(var l=0;l<=o;){for(var f=0;f<a&&i[l+f]===t[f];)f++;if(f>=a)return e.pos+=l,!0;l++}return!1}var X=function(){function e(t,r){var n;if(E(this,e),(0,s.isStream)(r))n=r;else{if(!(0,o.isArrayBuffer)(r))throw new Error("PDFDocument: Unknown argument type");n=new u.Stream(r)}if(n.length<=0)throw new o.InvalidPDFException("The PDF file is empty, i.e. its size is zero bytes.");this.pdfManager=t,this.stream=n,this.xref=new k.XRef(n,t),this._pagePromises=[],this._version=null;var a={font:0};this._globalIdFactory=function(){function e(){E(this,e)}return R(e,null,[{key:"getDocId",value:function(){return"g_".concat(t.docId)}},{key:"createFontId",value:function(){return"f".concat(++a.font)}},{key:"createObjId",value:function(){(0,o.unreachable)("Abstract method `createObjId` called.")}},{key:"getPageObjId",value:function(){(0,o.unreachable)("Abstract method `getPageObjId` called.")}}]),e}()}var t,r,n;return R(e,[{key:"parse",value:function(e){this.xref.parse(e),this.catalog=new d.Catalog(this.pdfManager,this.xref),this.catalog.version&&(this._version=this.catalog.version)}},{key:"linearization",get:function(){var e=null;try{e=p.Linearization.create(this.stream)}catch(e){if(e instanceof c.MissingDataException)throw e;(0,o.info)(e)}return(0,o.shadow)(this,"linearization",e)}},{key:"startXRef",get:function(){var e=this.stream,t=0;if(this.linearization)e.reset(),q(e,L)&&(t=e.pos+6-e.start);else{for(var r=D.length,n=!1,a=e.end;!n&&a>0;)(a-=1024-r)<0&&(a=0),e.pos=a,n=q(e,D,1024,!0);if(n){var i;e.skip(9);do{i=e.getByte()}while((0,c.isWhiteSpace)(i));for(var s="";i>=32&&i<=57;)s+=String.fromCharCode(i),i=e.getByte();t=parseInt(s,10),isNaN(t)&&(t=0)}}return(0,o.shadow)(this,"startXRef",t)}},{key:"checkHeader",value:function(){var e=this.stream;if(e.reset(),q(e,B)){e.moveStart();for(var t,r="";(t=e.getByte())>32&&!(r.length>=12);)r+=String.fromCharCode(t);this._version||(this._version=r.substring(5))}}},{key:"parseStartXRef",value:function(){this.xref.setStartXRef(this.startXRef)}},{key:"numPages",get:function(){if(this.xfaFactory)return(0,o.shadow)(this,"numPages",this.xfaFactory.numberPages);var e=this.linearization,t=e?e.numPages:this.catalog.numPages;return(0,o.shadow)(this,"numPages",t)}},{key:"_hasOnlyDocumentSignatures",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=10;return!!Array.isArray(e)&&e.every((function(e){if(!((e=t.xref.fetchIfRef(e))instanceof s.Dict))return!1;if(e.has("Kids"))return++r>n?((0,o.warn)("_hasOnlyDocumentSignatures: maximum recursion depth reached"),!1):t._hasOnlyDocumentSignatures(e.get("Kids"),r);var a=(0,s.isName)(e.get("FT"),"Sig"),i=e.get("Rect"),c=Array.isArray(i)&&i.every((function(e){return 0===e}));return a&&c}))}},{key:"xfaData",get:function(){var e=this.catalog.acroForm;if(!e)return null;var t=e.get("XFA"),r={"xdp:xdp":"",template:"",datasets:"",config:"",connectionSet:"",localeSet:"",stylesheet:"","/xdp:xdp":""};if((0,s.isStream)(t)&&!t.isEmpty)try{return r["xdp:xdp"]=(0,o.stringToUTF8String)(t.getString()),r}catch(e){return(0,o.warn)("XFA - Invalid utf-8 string."),null}if(!Array.isArray(t)||0===t.length)return null;for(var n=0,a=t.length;n<a;n+=2){var i=void 0;if(i=0===n?"xdp:xdp":n===a-2?"/xdp:xdp":t[n],r.hasOwnProperty(i)){var c=this.xref.fetchIfRef(t[n+1]);if((0,s.isStream)(c)&&!c.isEmpty)try{r[i]=(0,o.stringToUTF8String)(c.getString())}catch(e){return(0,o.warn)("XFA - Invalid utf-8 string."),null}}}return r}},{key:"xfaFactory",get:function(){if(this.pdfManager.enableXfa&&this.formInfo.hasXfa&&!this.formInfo.hasAcroForm){var e=this.xfaData;return(0,o.shadow)(this,"xfaFactory",e?new w.XFAFactory(e):null)}return(0,o.shadow)(this,"xfaFaxtory",null)}},{key:"isPureXfa",get:function(){return null!==this.xfaFactory}},{key:"loadXfaFonts",value:(n=x(i.default.mark((function e(t,r){var n,a,u,l,f,h,d,p,y,b,w,k,S,x,C,T,F,P,_;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pdfManager.ensureCatalog("acroForm");case 2:if(n=e.sent){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,n.getAsync("DR");case 7:if((a=e.sent)instanceof s.Dict){e.next=10;break}return e.abrupt("return");case 10:return u=new g.ObjectLoader(a,["Font"],this.xref),e.next=13,u.load();case 13:if((l=a.get("Font"))instanceof s.Dict){e.next=16;break}return e.abrupt("return");case 16:f=new v.PartialEvaluator({xref:this.xref,handler:t,pageIndex:-1,idFactory:this._globalIdFactory,fontCache:this.catalog.fontCache,builtInCMapCache:this.catalog.builtInCMapCache}),h=new m.OperatorList,d={font:null,clone:function(){return this}},p=new Map,l.forEach((function(e,t){p.set(e,t)})),y=[],b=O(p),e.prev=23,b.s();case 25:if((w=b.n()).done){e.next=39;break}if(k=A(w.value,2),S=k[0],x=k[1],(C=x.get("FontDescriptor"))instanceof s.Dict){e.next=30;break}return e.abrupt("continue",37);case 30:if(T=C.get("FontFamily"),F=C.get("FontWeight"),P=-C.get("ItalicAngle"),_={fontFamily:T,fontWeight:F,italicAngle:P},(0,c.validateCSSFont)(_)){e.next=36;break}return e.abrupt("continue",37);case 36:y.push(f.handleSetFont(a,[s.Name.get(S),1],null,h,r,d,null,_).catch((function(e){return(0,o.warn)(\'loadXfaFonts: "\'.concat(e,\'".\')),null})));case 37:e.next=25;break;case 39:e.next=44;break;case 41:e.prev=41,e.t0=e.catch(23),b.e(e.t0);case 44:return e.prev=44,b.f(),e.finish(44);case 47:return e.next=49,Promise.all(y);case 49:case"end":return e.stop()}}),e,this,[[23,41,44,47]])}))),function(e,t){return n.apply(this,arguments)})},{key:"formInfo",get:function(){var e={hasFields:!1,hasAcroForm:!1,hasXfa:!1,hasSignatures:!1},t=this.catalog.acroForm;if(!t)return(0,o.shadow)(this,"formInfo",e);try{var r=t.get("Fields"),n=Array.isArray(r)&&r.length>0;e.hasFields=n;var a=t.get("XFA");e.hasXfa=Array.isArray(a)&&a.length>0||(0,s.isStream)(a)&&!a.isEmpty;var i=!!(1&t.get("SigFlags")),u=i&&this._hasOnlyDocumentSignatures(r);e.hasAcroForm=n&&!u,e.hasSignatures=i}catch(e){if(e instanceof c.MissingDataException)throw e;(0,o.warn)(\'Cannot fetch form information: "\'.concat(e,\'".\'))}return(0,o.shadow)(this,"formInfo",e)}},{key:"documentInfo",get:function(){var e={Title:o.isString,Author:o.isString,Subject:o.isString,Keywords:o.isString,Creator:o.isString,Producer:o.isString,CreationDate:o.isString,ModDate:o.isString,Trapped:s.isName},t=this._version;"string"==typeof t&&U.test(t)||((0,o.warn)("Invalid PDF header version number: ".concat(t)),t=null);var r,n={PDFFormatVersion:t,IsLinearized:!!this.linearization,IsAcroFormPresent:this.formInfo.hasAcroForm,IsXFAPresent:this.formInfo.hasXfa,IsCollectionPresent:!!this.catalog.collection,IsSignaturesPresent:this.formInfo.hasSignatures};try{r=this.xref.trailer.get("Info")}catch(e){if(e instanceof c.MissingDataException)throw e;(0,o.info)("The document information dictionary is invalid.")}if((0,s.isDict)(r)){var a,i=O(r.getKeys());try{for(i.s();!(a=i.n()).done;){var u=a.value,l=r.get(u);if(e[u])e[u](l)?n[u]="string"!=typeof l?l:(0,o.stringToPDFString)(l):(0,o.info)(\'Bad value in document info for "\'.concat(u,\'".\'));else if("string"==typeof u){var f=void 0;if((0,o.isString)(l))f=(0,o.stringToPDFString)(l);else{if(!((0,s.isName)(l)||(0,o.isNum)(l)||(0,o.isBool)(l))){(0,o.info)(\'Unsupported value in document info for (custom) "\'.concat(u,\'".\'));continue}f=l}n.Custom||(n.Custom=Object.create(null)),n.Custom[u]=f}}}catch(e){i.e(e)}finally{i.f()}}return(0,o.shadow)(this,"documentInfo",n)}},{key:"fingerprint",get:function(){for(var e,t=this.xref.trailer.get("ID"),r=[],n=0,a=(e=Array.isArray(t)&&t[0]&&(0,o.isString)(t[0])&&"\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0"!==t[0]?(0,o.stringToBytes)(t[0]):(0,h.calculateMD5)(this.stream.getByteRange(0,1024),0,1024)).length;n<a;n++){var i=e[n].toString(16);r.push(i.padStart(2,"0"))}return(0,o.shadow)(this,"fingerprint",r.join(""))}},{key:"_getLinearizationPage",value:function(e){var t=this.catalog,r=this.linearization,n=s.Ref.get(r.objectNumberFirst,0);return this.xref.fetchAsync(n).then((function(e){if((0,s.isDict)(e,"Page")||(0,s.isDict)(e)&&!e.has("Type")&&e.has("Contents"))return n&&!t.pageKidsCountCache.has(n)&&t.pageKidsCountCache.put(n,1),[e,n];throw new o.FormatError("The Linearization dictionary doesn\'t point to a valid Page dictionary.")})).catch((function(r){return(0,o.info)(r),t.getPageDict(e)}))}},{key:"getPage",value:function(e){var t=this;if(void 0!==this._pagePromises[e])return this._pagePromises[e];var r=this.catalog,n=this.linearization;if(this.xfaFactory)return Promise.resolve(new N({pdfManager:this.pdfManager,xref:this.xref,pageIndex:e,pageDict:s.Dict.empty,ref:null,globalIdFactory:this._globalIdFactory,fontCache:r.fontCache,builtInCMapCache:r.builtInCMapCache,globalImageCache:r.globalImageCache,nonBlendModesSet:r.nonBlendModesSet,xfaFactory:this.xfaFactory}));var a=n&&n.pageFirst===e?this._getLinearizationPage(e):r.getPageDict(e);return this._pagePromises[e]=a.then((function(n){var a=A(n,2),i=a[0],o=a[1];return new N({pdfManager:t.pdfManager,xref:t.xref,pageIndex:e,pageDict:i,ref:o,globalIdFactory:t._globalIdFactory,fontCache:r.fontCache,builtInCMapCache:r.builtInCMapCache,globalImageCache:r.globalImageCache,nonBlendModesSet:r.nonBlendModesSet,xfaFactory:null})}))}},{key:"checkFirstPage",value:function(){var e=this;return this.getPage(0).catch(function(){var t=x(i.default.mark((function t(r){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r instanceof c.XRefEntryException)){t.next=5;break}return e._pagePromises.length=0,t.next=4,e.cleanup();case 4:throw new c.XRefParseException;case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())}},{key:"fontFallback",value:function(e,t){return this.catalog.fontFallback(e,t)}},{key:"cleanup",value:(r=x(i.default.mark((function e(){var t,r=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]&&r[0],e.abrupt("return",this.catalog?this.catalog.cleanup(t):(0,s.clearPrimitiveCaches)());case 2:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"_collectFieldObjects",value:function(e,t,r){var n=this.xref.fetchIfRef(t);if(n.has("T")){var a=(0,o.stringToPDFString)(n.get("T"));e=""===e?a:"".concat(e,".").concat(a)}if(r.has(e)||r.set(e,[]),r.get(e).push(l.AnnotationFactory.create(this.xref,t,this.pdfManager,this._localIdFactory,!0).then((function(e){return e&&e.getFieldObject()})).catch((function(e){return(0,o.warn)(\'_collectFieldObjects: "\'.concat(e,\'".\')),null}))),n.has("Kids")){var i,s=O(n.get("Kids"));try{for(s.s();!(i=s.n()).done;){var c=i.value;this._collectFieldObjects(e,c,r)}}catch(e){s.e(e)}finally{s.f()}}}},{key:"fieldObjects",get:function(){if(!this.formInfo.hasFields)return(0,o.shadow)(this,"fieldObjects",Promise.resolve(null));var e,t=Object.create(null),r=new Map,n=O(this.catalog.acroForm.get("Fields"));try{for(n.s();!(e=n.n()).done;){var a=e.value;this._collectFieldObjects("",a,r)}}catch(e){n.e(e)}finally{n.f()}var i,s=[],c=O(r);try{var u=function(){var e=A(i.value,2),r=e[0],n=e[1];s.push(Promise.all(n).then((function(e){(e=e.filter((function(e){return!!e}))).length>0&&(t[r]=e)})))};for(c.s();!(i=c.n()).done;)u()}catch(e){c.e(e)}finally{c.f()}return(0,o.shadow)(this,"fieldObjects",Promise.all(s).then((function(){return t})))}},{key:"hasJSActions",get:function(){var e=this.pdfManager.ensureDoc("_parseHasJSActions");return(0,o.shadow)(this,"hasJSActions",e)}},{key:"_parseHasJSActions",value:(t=x(i.default.mark((function e(){var t,r,n,a;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([this.pdfManager.ensureCatalog("jsActions"),this.pdfManager.ensureDoc("fieldObjects")]);case 2:if(t=e.sent,r=A(t,2),n=r[0],a=r[1],!n){e.next=8;break}return e.abrupt("return",!0);case 8:if(!a){e.next=10;break}return e.abrupt("return",Object.values(a).some((function(e){return e.some((function(e){return null!==e.actions}))})));case 10:return e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"calculationOrderIds",get:function(){var e=this.catalog.acroForm;if(!e||!e.has("CO"))return(0,o.shadow)(this,"calculationOrderIds",null);var t=e.get("CO");if(!Array.isArray(t)||0===t.length)return(0,o.shadow)(this,"calculationOrderIds",null);var r=t.filter(s.isRef).map((function(e){return e.toString()}));return 0===r.length?(0,o.shadow)(this,"calculationOrderIds",null):(0,o.shadow)(this,"calculationOrderIds",r)}}]),e}();t.PDFDocument=X},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.getQuadPoints=R,t.MarkupAnnotation=t.AnnotationFactory=t.AnnotationBorderStyle=t.Annotation=void 0;var a,i=(a=r(2))&&a.__esModule?a:{default:a},o=r(4),s=r(117),c=r(121),u=r(113),l=r(165),f=r(122),h=r(167),d=r(171),p=r(163),g=r(118),m=r(172);function v(e,t,r){return v="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=S(e)););return e}(e,t);if(n){var a=Object.getOwnPropertyDescriptor(n,t);return a.get?a.get.call(r):a.value}},v(e,t,r||e)}function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function w(e){var t=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(e){return!1}}();return function(){var r,n=S(e);if(t){var a=S(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return k(this,r)}}function k(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}function x(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=T(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function A(e,t,r,n,a,i,o){try{var s=e[i](o),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,a)}function O(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function o(e){A(i,n,a,o,s,"next",e)}function s(e){A(i,n,a,o,s,"throw",e)}o(void 0)}))}}function C(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(e,t)||T(e,t)||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.")}()}function T(e,t){if(e){if("string"==typeof e)return F(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?F(e,t):void 0}}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I(e,t,r){return t&&_(e.prototype,t),r&&_(e,r),e}var E=function(){function e(){P(this,e)}var t;return I(e,null,[{key:"create",value:function(e,t,r,n,a){var i=this;return Promise.all([r.ensureCatalog("acroForm"),a?this._getPageIndex(e,t,r):-1]).then((function(o){var s=C(o,2),c=s[0],u=s[1];return r.ensure(i,"_create",[e,t,r,n,c,a,u])}))}},{key:"_create",value:function(e,t,r,n,a,i){var c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:-1,l=e.fetchIfRef(t);if((0,u.isDict)(l)){var f=(0,u.isRef)(t)?t.toString():"annot_".concat(n.createObjId()),h=l.get("Subtype"),d={xref:e,ref:t,dict:l,subtype:h=(0,u.isName)(h)?h.name:null,id:f,pdfManager:r,acroForm:a instanceof u.Dict?a:u.Dict.empty,collectFields:i,pageIndex:c};switch(h){case"Link":return new z(d);case"Text":return new $(d);case"Widget":var p=(0,s.getInheritableProperty)({dict:l,key:"FT"});switch(p=(0,u.isName)(p)?p.name:null){case"Tx":return new U(d);case"Btn":return new q(d);case"Ch":return new X(d);case"Sig":return new H(d)}return(0,o.warn)(\'Unimplemented widget field type "\'.concat(p,\'", \')+"falling back to base field type."),new L(d);case"Popup":return new G(d);case"FreeText":return new W(d);case"Line":return new V(d);case"Square":return new K(d);case"Circle":return new Y(d);case"PolyLine":return new J(d);case"Polygon":return new Z(d);case"Caret":return new Q(d);case"Ink":return new ee(d);case"Highlight":return new te(d);case"Underline":return new re(d);case"Squiggly":return new ne(d);case"StrikeOut":return new ae(d);case"Stamp":return new ie(d);case"FileAttachment":return new oe(d);default:return i||(h?(0,o.warn)(\'Unimplemented annotation type "\'.concat(h,\'", \')+"falling back to base annotation."):(0,o.warn)("Annotation is missing the required /Subtype.")),new N(d)}}}},{key:"_getPageIndex",value:(t=O(i.default.mark((function e(t,r,n){var a,s,c;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.fetchIfRefAsync(r);case 3:if(a=e.sent,(0,u.isDict)(a)){e.next=6;break}return e.abrupt("return",-1);case 6:if(s=a.getRaw("P"),(0,u.isRef)(s)){e.next=9;break}return e.abrupt("return",-1);case 9:return e.next=11,n.ensureCatalog("getPageIndex",[s]);case 11:return c=e.sent,e.abrupt("return",c);case 15:return e.prev=15,e.t0=e.catch(0),(0,o.warn)(\'_getPageIndex: "\'.concat(e.t0,\'".\')),e.abrupt("return",-1);case 19:case"end":return e.stop()}}),e,null,[[0,15]])}))),function(e,r,n){return t.apply(this,arguments)})}]),e}();function j(e){var t=new Uint8ClampedArray(3);if(!Array.isArray(e))return t;switch(e.length){case 0:return null;case 1:return f.ColorSpace.singletons.gray.getRgbItem(e,0,t,0),t;case 3:return f.ColorSpace.singletons.rgb.getRgbItem(e,0,t,0),t;case 4:return f.ColorSpace.singletons.cmyk.getRgbItem(e,0,t,0),t;default:return t}}function R(e,t){if(!e.has("QuadPoints"))return null;var r=e.getArray("QuadPoints");if(!Array.isArray(r)||0===r.length||r.length%8>0)return null;for(var n=[],a=0,i=r.length/8;a<i;a++){n.push([]);for(var o=8*a,s=8*a+8;o<s;o+=2){var c=r[o],u=r[o+1];if(null!==t&&(c<t[0]||c>t[2]||u<t[1]||u>t[3]))return null;n[a].push({x:c,y:u})}}return n.map((function(e){var t=e.reduce((function(e,t){var r=C(e,4),n=r[0],a=r[1],i=r[2],o=r[3];return[Math.min(n,t.x),Math.max(a,t.x),Math.min(i,t.y),Math.max(o,t.y)]}),[Number.MAX_VALUE,Number.MIN_VALUE,Number.MAX_VALUE,Number.MIN_VALUE]),r=C(t,4),n=r[0],a=r[1],i=r[2],o=r[3];return[{x:n,y:o},{x:a,y:o},{x:n,y:i},{x:a,y:i}]}))}function M(e,t,r){var n=C(o.Util.getAxialAlignedBoundingBox(t,r),4),a=n[0],i=n[1],s=n[2],c=n[3];if(a===s||i===c)return[1,0,0,1,e[0],e[1]];var u=(e[2]-e[0])/(s-a),l=(e[3]-e[1])/(c-i);return[u,0,0,l,e[0]-a*u,e[1]-i*l]}t.AnnotationFactory=E;var N=function(){function e(t){P(this,e);var r=t.dict;if(this.setContents(r.get("Contents")),this.setModificationDate(r.get("M")),this.setFlags(r.get("F")),this.setRectangle(r.getArray("Rect")),this.setColor(r.getArray("C")),this.setBorderStyle(r),this.setAppearance(r),this._streams=[],this.appearance&&this._streams.push(this.appearance),this.data={annotationFlags:this.flags,borderStyle:this.borderStyle,color:this.color,contents:this.contents,hasAppearance:!!this.appearance,id:t.id,modificationDate:this.modificationDate,rect:this.rectangle,subtype:t.subtype},t.collectFields){var n=r.get("Kids");if(Array.isArray(n)){var a,i=[],c=x(n);try{for(c.s();!(a=c.n()).done;){var l=a.value;(0,u.isRef)(l)&&i.push(l.toString())}}catch(e){c.e(e)}finally{c.f()}0!==i.length&&(this.data.kidIds=i)}this.data.actions=(0,s.collectActions)(t.xref,r,o.AnnotationActionEventType),this.data.fieldName=this._constructFieldName(r),this.data.pageIndex=t.pageIndex}this._fallbackFontDict=null}var t;return I(e,[{key:"_hasFlag",value:function(e,t){return!!(e&t)}},{key:"_isViewable",value:function(e){return!this._hasFlag(e,o.AnnotationFlag.INVISIBLE)&&!this._hasFlag(e,o.AnnotationFlag.NOVIEW)}},{key:"_isPrintable",value:function(e){return this._hasFlag(e,o.AnnotationFlag.PRINT)&&!this._hasFlag(e,o.AnnotationFlag.INVISIBLE)}},{key:"mustBeViewed",value:function(e){var t=e&&e.get(this.data.id);return t&&void 0!==t.hidden?!t.hidden:this.viewable&&!this._hasFlag(this.flags,o.AnnotationFlag.HIDDEN)}},{key:"mustBePrinted",value:function(e){var t=e&&e.get(this.data.id);return t&&void 0!==t.print?t.print:this.printable}},{key:"viewable",get:function(){return null!==this.data.quadPoints&&(0===this.flags||this._isViewable(this.flags))}},{key:"printable",get:function(){return null!==this.data.quadPoints&&0!==this.flags&&this._isPrintable(this.flags)}},{key:"setContents",value:function(e){this.contents=(0,o.stringToPDFString)(e||"")}},{key:"setModificationDate",value:function(e){this.modificationDate=(0,o.isString)(e)?e:null}},{key:"setFlags",value:function(e){this.flags=Number.isInteger(e)&&e>0?e:0}},{key:"hasFlag",value:function(e){return this._hasFlag(this.flags,e)}},{key:"setRectangle",value:function(e){Array.isArray(e)&&4===e.length?this.rectangle=o.Util.normalizeRect(e):this.rectangle=[0,0,0,0]}},{key:"setColor",value:function(e){this.color=j(e)}},{key:"setBorderStyle",value:function(e){if(this.borderStyle=new B,(0,u.isDict)(e))if(e.has("BS")){var t=e.get("BS"),r=t.get("Type");r&&!(0,u.isName)(r,"Border")||(this.borderStyle.setWidth(t.get("W"),this.rectangle),this.borderStyle.setStyle(t.get("S")),this.borderStyle.setDashArray(t.getArray("D")))}else if(e.has("Border")){var n=e.getArray("Border");Array.isArray(n)&&n.length>=3&&(this.borderStyle.setHorizontalCornerRadius(n[0]),this.borderStyle.setVerticalCornerRadius(n[1]),this.borderStyle.setWidth(n[2],this.rectangle),4===n.length&&this.borderStyle.setDashArray(n[3]))}else this.borderStyle.setWidth(0)}},{key:"setAppearance",value:function(e){this.appearance=null;var t=e.get("AP");if((0,u.isDict)(t)){var r=t.get("N");if((0,u.isStream)(r))this.appearance=r;else if((0,u.isDict)(r)){var n=e.get("AS");(0,u.isName)(n)&&r.has(n.name)&&(this.appearance=r.get(n.name))}}}},{key:"loadResources",value:function(e){return this.appearance.dict.getAsync("Resources").then((function(t){if(t)return new d.ObjectLoader(t,e,t.xref).load().then((function(){return t}))}))}},{key:"getOperatorList",value:function(e,t,r,n){var a=this;if(!this.appearance)return Promise.resolve(new p.OperatorList);var i=this.appearance,s=this.data,c=i.dict,u=this.loadResources(["ExtGState","ColorSpace","Pattern","Shading","XObject","Font"]),l=c.getArray("BBox")||[0,0,1,1],f=c.getArray("Matrix")||[1,0,0,1,0,0],h=M(s.rect,l,f);return u.then((function(r){var n=new p.OperatorList;return n.addOp(o.OPS.beginAnnotation,[s.rect,h,f]),e.getOperatorList({stream:i,task:t,resources:r,operatorList:n,fallbackFontDict:a._fallbackFontDict}).then((function(){return n.addOp(o.OPS.endAnnotation,[]),a.reset(),n}))}))}},{key:"save",value:(t=O(i.default.mark((function e(t,r,n){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null);case 1:case"end":return e.stop()}}),e)}))),function(e,r,n){return t.apply(this,arguments)})},{key:"getFieldObject",value:function(){return this.data.kidIds?{id:this.data.id,actions:this.data.actions,name:this.data.fieldName,type:"",kidIds:this.data.kidIds,page:this.data.pageIndex}:null}},{key:"reset",value:function(){var e,t=x(this._streams);try{for(t.s();!(e=t.n()).done;)e.value.reset()}catch(e){t.e(e)}finally{t.f()}}},{key:"_constructFieldName",value:function(e){if(!e.has("T")&&!e.has("Parent"))return(0,o.warn)("Unknown field name, falling back to empty field name."),"";if(!e.has("Parent"))return(0,o.stringToPDFString)(e.get("T"));var t=[];e.has("T")&&t.unshift((0,o.stringToPDFString)(e.get("T")));var r=e,n=new u.RefSet;for(e.objId&&n.put(e.objId);r.has("Parent")&&(r=r.get("Parent"))instanceof u.Dict&&(!r.objId||!n.has(r.objId));)r.objId&&n.put(r.objId),r.has("T")&&t.unshift((0,o.stringToPDFString)(r.get("T")));return t.join(".")}}]),e}();t.Annotation=N;var B=function(){function e(){P(this,e),this.width=1,this.style=o.AnnotationBorderStyleType.SOLID,this.dashArray=[3],this.horizontalCornerRadius=0,this.verticalCornerRadius=0}return I(e,[{key:"setWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0,0,0];if((0,u.isName)(e))this.width=0;else if(Number.isInteger(e)){if(e>0){var r=(t[2]-t[0])/2,n=(t[3]-t[1])/2;r>0&&n>0&&(e>r||e>n)&&((0,o.warn)("AnnotationBorderStyle.setWidth - ignoring width: ".concat(e)),e=1)}this.width=e}}},{key:"setStyle",value:function(e){if((0,u.isName)(e))switch(e.name){case"S":this.style=o.AnnotationBorderStyleType.SOLID;break;case"D":this.style=o.AnnotationBorderStyleType.DASHED;break;case"B":this.style=o.AnnotationBorderStyleType.BEVELED;break;case"I":this.style=o.AnnotationBorderStyleType.INSET;break;case"U":this.style=o.AnnotationBorderStyleType.UNDERLINE}}},{key:"setDashArray",value:function(e){if(Array.isArray(e)&&e.length>0){var t,r=!0,n=!0,a=x(e);try{for(a.s();!(t=a.n()).done;){var i=t.value;if(!(+i>=0)){r=!1;break}i>0&&(n=!1)}}catch(e){a.e(e)}finally{a.f()}r&&!n?this.dashArray=e:this.width=0}else e&&(this.width=0)}},{key:"setHorizontalCornerRadius",value:function(e){Number.isInteger(e)&&(this.horizontalCornerRadius=e)}},{key:"setVerticalCornerRadius",value:function(e){Number.isInteger(e)&&(this.verticalCornerRadius=e)}}]),e}();t.AnnotationBorderStyle=B;var D=function(e){y(r,e);var t=w(r);function r(e){var n;P(this,r),n=t.call(this,e);var a=e.dict;if(a.has("IRT")){var i=a.getRaw("IRT");n.data.inReplyTo=(0,u.isRef)(i)?i.toString():null;var s=a.get("RT");n.data.replyType=(0,u.isName)(s)?s.name:o.AnnotationReplyType.REPLY}if(n.data.replyType===o.AnnotationReplyType.GROUP){var c=a.get("IRT");n.data.title=(0,o.stringToPDFString)(c.get("T")||""),n.setContents(c.get("Contents")),n.data.contents=n.contents,c.has("CreationDate")?(n.setCreationDate(c.get("CreationDate")),n.data.creationDate=n.creationDate):n.data.creationDate=null,c.has("M")?(n.setModificationDate(c.get("M")),n.data.modificationDate=n.modificationDate):n.data.modificationDate=null,n.data.hasPopup=c.has("Popup"),c.has("C")?(n.setColor(c.getArray("C")),n.data.color=n.color):n.data.color=null}else n.data.title=(0,o.stringToPDFString)(a.get("T")||""),n.setCreationDate(a.get("CreationDate")),n.data.creationDate=n.creationDate,n.data.hasPopup=a.has("Popup"),a.has("C")||(n.data.color=null);return n}return I(r,[{key:"setCreationDate",value:function(e){this.creationDate=(0,o.isString)(e)?e:null}},{key:"_setDefaultAppearance",value:function(e){var t=e.xref,r=e.extra,n=e.strokeColor,a=e.fillColor,i=e.blendMode,o=e.strokeAlpha,s=e.fillAlpha,c=e.pointsCallback,l=Number.MAX_VALUE,f=Number.MAX_VALUE,h=Number.MIN_VALUE,d=Number.MIN_VALUE,p=["q"];r&&p.push(r),n&&p.push("".concat(n[0]," ").concat(n[1]," ").concat(n[2]," RG")),a&&p.push("".concat(a[0]," ").concat(a[1]," ").concat(a[2]," rg"));var m=this.data.quadPoints;m||(m=[[{x:this.rectangle[0],y:this.rectangle[3]},{x:this.rectangle[2],y:this.rectangle[3]},{x:this.rectangle[0],y:this.rectangle[1]},{x:this.rectangle[2],y:this.rectangle[1]}]]);var v,y=x(m);try{for(y.s();!(v=y.n()).done;){var b=C(c(p,v.value),4),w=b[0],k=b[1],S=b[2],A=b[3];l=Math.min(l,w),h=Math.max(h,k),f=Math.min(f,S),d=Math.max(d,A)}}catch(e){y.e(e)}finally{y.f()}p.push("Q");var O=new u.Dict(t),T=new u.Dict(t);T.set("Subtype",u.Name.get("Form"));var F=new g.StringStream(p.join(" "));F.dict=T,O.set("Fm0",F);var P=new u.Dict(t);i&&P.set("BM",u.Name.get(i)),"number"==typeof o&&P.set("CA",o),"number"==typeof s&&P.set("ca",s);var _=new u.Dict(t);_.set("GS0",P);var I=new u.Dict(t);I.set("ExtGState",_),I.set("XObject",O);var E=new u.Dict(t);E.set("Resources",I);var j=this.data.rect=[l,f,h,d];E.set("BBox",j),this.appearance=new g.StringStream("/GS0 gs /Fm0 Do"),this.appearance.dict=E,this._streams.push(this.appearance,F)}}]),r}(N);t.MarkupAnnotation=D;var L=function(e){y(l,e);var t,r,n,a=w(l);function l(e){var t;P(this,l),t=a.call(this,e);var r=e.dict,n=t.data;t.ref=e.ref,n.annotationType=o.AnnotationType.WIDGET,void 0===n.fieldName&&(n.fieldName=t._constructFieldName(r)),void 0===n.actions&&(n.actions=(0,s.collectActions)(e.xref,r,o.AnnotationActionEventType));var i=(0,s.getInheritableProperty)({dict:r,key:"V",getArray:!0});n.fieldValue=t._decodeFormValue(i);var f=(0,s.getInheritableProperty)({dict:r,key:"DV",getArray:!0});n.defaultFieldValue=t._decodeFormValue(f),n.alternativeText=(0,o.stringToPDFString)(r.get("TU")||"");var h=(0,s.getInheritableProperty)({dict:r,key:"DA"})||e.acroForm.get("DA");t._defaultAppearance=(0,o.isString)(h)?h:"",n.defaultAppearanceData=(0,c.parseDefaultAppearance)(t._defaultAppearance);var d=(0,s.getInheritableProperty)({dict:r,key:"FT"});n.fieldType=(0,u.isName)(d)?d.name:null;var p=(0,s.getInheritableProperty)({dict:r,key:"DR"}),g=e.acroForm.get("DR"),m=t.appearance&&t.appearance.dict.get("Resources");return t._fieldResources={localResources:p,acroFormResources:g,appearanceResources:m,mergedResources:u.Dict.merge({xref:e.xref,dictArray:[p,m,g],mergeSubDicts:!0})},n.fieldFlags=(0,s.getInheritableProperty)({dict:r,key:"Ff"}),(!Number.isInteger(n.fieldFlags)||n.fieldFlags<0)&&(n.fieldFlags=0),n.readOnly=t.hasFieldFlag(o.AnnotationFieldFlag.READONLY),n.hidden=t._hasFlag(n.annotationFlags,o.AnnotationFlag.HIDDEN),t}return I(l,[{key:"_decodeFormValue",value:function(e){return Array.isArray(e)?e.filter((function(e){return(0,o.isString)(e)})).map((function(e){return(0,o.stringToPDFString)(e)})):(0,u.isName)(e)?(0,o.stringToPDFString)(e.name):(0,o.isString)(e)?(0,o.stringToPDFString)(e):null}},{key:"hasFieldFlag",value:function(e){return!!(this.data.fieldFlags&e)}},{key:"getOperatorList",value:function(e,t,r,n){var a=this;return!r||this instanceof H?this._hasText?this._getAppearance(e,t,n).then((function(i){if(a.appearance&&null===i)return v(S(l.prototype),"getOperatorList",a).call(a,e,t,r,n);var s=new p.OperatorList;if(!a._defaultAppearance||null===i)return s;var c=[1,0,0,1,0,0],u=[0,0,a.data.rect[2]-a.data.rect[0],a.data.rect[3]-a.data.rect[1]],f=M(a.data.rect,u,c);s.addOp(o.OPS.beginAnnotation,[a.data.rect,f,c]);var h=new g.StringStream(i);return e.getOperatorList({stream:h,task:t,resources:a._fieldResources.mergedResources,operatorList:s}).then((function(){return s.addOp(o.OPS.endAnnotation,[]),s}))})):v(S(l.prototype),"getOperatorList",this).call(this,e,t,r,n):Promise.resolve(new p.OperatorList)}},{key:"save",value:(n=O(i.default.mark((function e(t,r,n){var a,s,c,l,f,h,d,p,g,v,y,b,w,k,S;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=2;break}return e.abrupt("return",null);case 2:if(a=n.get(this.data.id),(s=a&&a.value)!==this.data.fieldValue&&void 0!==s){e.next=6;break}return e.abrupt("return",null);case 6:return e.next=8,this._getAppearance(t,r,n);case 8:if(null!==(c=e.sent)){e.next=11;break}return e.abrupt("return",null);case 11:if(l=t.xref,f=l.fetchIfRef(this.ref),(0,u.isDict)(f)){e.next=15;break}return e.abrupt("return",null);case 15:return h=[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]],d={path:(0,o.stringToPDFString)(f.get("T")||""),value:s},p=l.getNewRef(),(g=new u.Dict(l)).set("N",p),v=l.encrypt,y=null,b=null,v&&(y=v.createCipherTransform(this.ref.num,this.ref.gen),b=v.createCipherTransform(p.num,p.gen),c=b.encryptString(c)),f.set("V",(0,o.isAscii)(s)?s:(0,o.stringToUTF16BEString)(s)),f.set("AP",g),f.set("M","D:".concat((0,o.getModificationDate)())),(w=new u.Dict(l)).set("Length",c.length),w.set("Subtype",u.Name.get("Form")),w.set("Resources",this._getSaveFieldResources(l)),w.set("BBox",h),k=["".concat(this.ref.num," ").concat(this.ref.gen," obj\\n")],(0,m.writeDict)(f,k,y),k.push("\\nendobj\\n"),S=["".concat(p.num," ").concat(p.gen," obj\\n")],(0,m.writeDict)(w,S,b),S.push(" stream\\n",c,"\\nendstream\\nendobj\\n"),e.abrupt("return",[{ref:this.ref,data:k.join(""),xfa:d},{ref:p,data:S.join(""),xfa:null}]);case 39:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return n.apply(this,arguments)})},{key:"_getAppearance",value:(r=O(i.default.mark((function e(t,r,n){var a,s,u,l,f,h,d,p,g,m,v,y,b,w,k,S,x,A;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=this.hasFieldFlag(o.AnnotationFieldFlag.PASSWORD),n&&!a){e.next=3;break}return e.abrupt("return",null);case 3:if(s=n.get(this.data.id),void 0!==(u=s&&s.value)){e.next=7;break}return e.abrupt("return",null);case 7:if(""!==(u=u.trim())){e.next=10;break}return e.abrupt("return","");case 10:return l=-1,this.data.multiLine&&(l=u.split(/\\r\\n|\\r|\\n/).length),h=f=2,d=this.data.rect[3]-this.data.rect[1],p=this.data.rect[2]-this.data.rect[0],this._defaultAppearance||(this.data.defaultAppearanceData=(0,c.parseDefaultAppearance)(this._defaultAppearance="/Helvetica 0 Tf 0 g")),g=this._computeFontSize(d,l),m=C(g,2),v=m[0],y=m[1],e.next=20,this._getFontData(t,r);case 20:if(b=e.sent,w=b.descent,isNaN(w)&&(w=0),k=f+Math.abs(w)*y,S=this.data.textAlignment,!this.data.multiLine){e.next=27;break}return e.abrupt("return",this._getMultilineAppearance(v,u,b,y,p,d,S,h,k));case 27:if(x=b.encodeString(u).join(""),!this.data.comb){e.next=30;break}return e.abrupt("return",this._getCombAppearance(v,b,x,p,h,k));case 30:if(!(0===S||S>2)){e.next=32;break}return e.abrupt("return","/Tx BMC q BT "+v+" 1 0 0 1 ".concat(h," ").concat(k," Tm (").concat((0,o.escapeString)(x),") Tj")+" ET Q EMC");case 32:return A=this._renderText(x,b,y,p,S,h,k),e.abrupt("return","/Tx BMC q BT "+v+" 1 0 0 1 0 0 Tm ".concat(A)+" ET Q EMC");case 34:case"end":return e.stop()}}),e,this)}))),function(e,t,n){return r.apply(this,arguments)})},{key:"_getFontData",value:(t=O(i.default.mark((function e(t,r){var n,a,o,s,c;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new p.OperatorList,a={font:null,clone:function(){return this}},o=this.data.defaultAppearanceData,s=o.fontName,c=o.fontSize,e.next=5,t.handleSetFont(this._fieldResources.mergedResources,[s&&u.Name.get(s),c],null,n,r,a,null);case 5:return e.abrupt("return",a.font);case 6:case"end":return e.stop()}}),e,this)}))),function(e,r){return t.apply(this,arguments)})},{key:"_computeFontSize",value:function(e,t){var r=this.data.defaultAppearanceData.fontSize;if(!r){var n=function(e){return Math.round(10*e)/10};if(-1===t)r=n(.8*e);else{var a=(r=10)/.8,i=Math.round(e/a);r=n(.8*(a=e/(i=Math.max(i,t))))}var o=this.data.defaultAppearanceData,s=o.fontName,u=o.fontColor;this._defaultAppearance=(0,c.createDefaultAppearance)({fontSize:r,fontName:s,fontColor:u})}return[this._defaultAppearance,r]}},{key:"_renderText",value:function(e,t,r,n,a,i,s){var c,u,l=r/1e3,f=0,h=x(t.charsToGlyphs(e));try{for(h.s();!(c=h.n()).done;)f+=c.value.width*l}catch(e){h.e(e)}finally{h.f()}return u=(u=1===a?(n-f)/2:2===a?n-f-i:i).toFixed(2),s=s.toFixed(2),"".concat(u," ").concat(s," Td (").concat((0,o.escapeString)(e),") Tj")}},{key:"_getSaveFieldResources",value:function(e){var t=this._fieldResources,r=t.localResources,n=t.appearanceResources,a=t.acroFormResources,i=this.data.defaultAppearanceData&&this.data.defaultAppearanceData.fontName;if(!i)return r||u.Dict.empty;for(var o=0,s=[r,n];o<s.length;o++){var c=s[o];if(c instanceof u.Dict){var l=c.get("Font");if(l instanceof u.Dict&&l.has(i))return c}}if(a instanceof u.Dict){var f=a.get("Font");if(f instanceof u.Dict&&f.has(i)){var h=new u.Dict(e);h.set(i,f.getRaw(i));var d=new u.Dict(e);return d.set("Font",h),u.Dict.merge({xref:e,dictArray:[d,r],mergeSubDicts:!0})}}return r||u.Dict.empty}},{key:"getFieldObject",value:function(){return null}}]),l}(N),U=function(e){y(r,e);var t=w(r);function r(e){var n;P(this,r),(n=t.call(this,e))._hasText=!0;var a=e.dict;(0,o.isString)(n.data.fieldValue)||(n.data.fieldValue="");var i=(0,s.getInheritableProperty)({dict:a,key:"Q"});(!Number.isInteger(i)||i<0||i>2)&&(i=null),n.data.textAlignment=i;var c=(0,s.getInheritableProperty)({dict:a,key:"MaxLen"});return(!Number.isInteger(c)||c<0)&&(c=null),n.data.maxLen=c,n.data.multiLine=n.hasFieldFlag(o.AnnotationFieldFlag.MULTILINE),n.data.comb=n.hasFieldFlag(o.AnnotationFieldFlag.COMB)&&!n.hasFieldFlag(o.AnnotationFieldFlag.MULTILINE)&&!n.hasFieldFlag(o.AnnotationFieldFlag.PASSWORD)&&!n.hasFieldFlag(o.AnnotationFieldFlag.FILESELECT)&&null!==n.data.maxLen,n}return I(r,[{key:"_getCombAppearance",value:function(e,t,r,n,a,i){var s,c=(n/this.data.maxLen).toFixed(2),u=[],l=x(t.getCharPositions(r));try{for(l.s();!(s=l.n()).done;){var f=C(s.value,2),h=f[0],d=f[1];u.push("(".concat((0,o.escapeString)(r.substring(h,d)),") Tj"))}}catch(e){l.e(e)}finally{l.f()}var p=u.join(" ".concat(c," 0 Td "));return"/Tx BMC q BT "+e+" 1 0 0 1 ".concat(a," ").concat(i," Tm ").concat(p)+" ET Q EMC"}},{key:"_getMultilineAppearance",value:function(e,t,r,n,a,i,o,s,c){var u,l=[],f=a-2*s,h=x(t.split(/\\r\\n|\\r|\\n/));try{for(h.s();!(u=h.n()).done;){var d,p=u.value,g=x(this._splitLine(p,r,n,f));try{for(g.s();!(d=g.n()).done;){var m=d.value,v=0===l.length?s:0;l.push(this._renderText(m,r,n,a,o,v,-n))}}catch(e){g.e(e)}finally{g.f()}}}catch(e){h.e(e)}finally{h.f()}var y=l.join("\\n");return"/Tx BMC q BT "+e+" 1 0 0 1 0 ".concat(i," Tm ").concat(y)+" ET Q EMC"}},{key:"_splitLine",value:function(e,t,r,n){e=t.encodeString(e).join("");var a=t.charsToGlyphs(e);if(a.length<=1)return[e];for(var i=t.getCharPositions(e),o=r/1e3,s=[],c=-1,u=-1,l=-1,f=0,h=0,d=0,p=a.length;d<p;d++){var g=C(i[d],2),m=g[0],v=g[1],y=a[d],b=y.width*o;" "===y.unicode?h+b>n?(s.push(e.substring(f,m)),f=m,h=b,c=-1,l=-1):(h+=b,c=m,u=v,l=d):h+b>n?-1!==c?(s.push(e.substring(f,u)),f=u,d=l+1,c=-1,h=0):(s.push(e.substring(f,m)),f=m,h=b):h+=b}return f<e.length&&s.push(e.substring(f,e.length)),s}},{key:"getFieldObject",value:function(){return{id:this.data.id,value:this.data.fieldValue,defaultValue:this.data.defaultFieldValue,multiline:this.data.multiLine,password:this.hasFieldFlag(o.AnnotationFieldFlag.PASSWORD),charLimit:this.data.maxLen,comb:this.data.comb,editable:!this.data.readOnly,hidden:this.data.hidden,name:this.data.fieldName,rect:this.data.rect,actions:this.data.actions,page:this.data.pageIndex,type:"text"}}}]),r}(L),q=function(e){y(s,e);var t,r,n,a=w(s);function s(e){var t;return P(this,s),(t=a.call(this,e)).checkedAppearance=null,t.uncheckedAppearance=null,t.data.checkBox=!t.hasFieldFlag(o.AnnotationFieldFlag.RADIO)&&!t.hasFieldFlag(o.AnnotationFieldFlag.PUSHBUTTON),t.data.radioButton=t.hasFieldFlag(o.AnnotationFieldFlag.RADIO)&&!t.hasFieldFlag(o.AnnotationFieldFlag.PUSHBUTTON),t.data.pushButton=t.hasFieldFlag(o.AnnotationFieldFlag.PUSHBUTTON),t.data.isTooltipOnly=!1,t.data.checkBox?t._processCheckBox(e):t.data.radioButton?t._processRadioButton(e):t.data.pushButton?t._processPushButton(e):(0,o.warn)("Invalid field flags for button widget annotation"),t}return I(s,[{key:"getOperatorList",value:function(e,t,r,n){if(this.data.pushButton)return v(S(s.prototype),"getOperatorList",this).call(this,e,t,!1,n);if(n){var a,i=n.get(this.data.id),o=i&&i.value;if(void 0===o)return v(S(s.prototype),"getOperatorList",this).call(this,e,t,r,n);if(a=o?this.checkedAppearance:this.uncheckedAppearance){var c=this.appearance;this.appearance=a;var u=v(S(s.prototype),"getOperatorList",this).call(this,e,t,r,n);return this.appearance=c,u}return Promise.resolve(new p.OperatorList)}return v(S(s.prototype),"getOperatorList",this).call(this,e,t,r,n)}},{key:"save",value:(n=O(i.default.mark((function e(t,r,n){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.data.checkBox){e.next=2;break}return e.abrupt("return",this._saveCheckbox(t,r,n));case 2:if(!this.data.radioButton){e.next=4;break}return e.abrupt("return",this._saveRadioButton(t,r,n));case 4:return e.abrupt("return",null);case 5:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return n.apply(this,arguments)})},{key:"_saveCheckbox",value:(r=O(i.default.mark((function e(t,r,n){var a,s,c,l,f,h,d,p;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=2;break}return e.abrupt("return",null);case 2:if(a=n.get(this.data.id),void 0!==(s=a&&a.value)){e.next=6;break}return e.abrupt("return",null);case 6:if((this.data.fieldValue&&"Off"!==this.data.fieldValue)!==s){e.next=9;break}return e.abrupt("return",null);case 9:if(c=t.xref.fetchIfRef(this.ref),(0,u.isDict)(c)){e.next=12;break}return e.abrupt("return",null);case 12:return l={path:(0,o.stringToPDFString)(c.get("T")||""),value:s?this.data.exportValue:""},f=u.Name.get(s?this.data.exportValue:"Off"),c.set("V",f),c.set("AS",f),c.set("M","D:".concat((0,o.getModificationDate)())),h=t.xref.encrypt,d=null,h&&(d=h.createCipherTransform(this.ref.num,this.ref.gen)),p=["".concat(this.ref.num," ").concat(this.ref.gen," obj\\n")],(0,m.writeDict)(c,p,d),p.push("\\nendobj\\n"),e.abrupt("return",[{ref:this.ref,data:p.join(""),xfa:l}]);case 24:case"end":return e.stop()}}),e,this)}))),function(e,t,n){return r.apply(this,arguments)})},{key:"_saveRadioButton",value:(t=O(i.default.mark((function e(t,r,n){var a,s,c,l,f,h,d,p,g,v,y,b;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=2;break}return e.abrupt("return",null);case 2:if(a=n.get(this.data.id),void 0!==(s=a&&a.value)){e.next=6;break}return e.abrupt("return",null);case 6:if(this.data.fieldValue===this.data.buttonValue!==s){e.next=9;break}return e.abrupt("return",null);case 9:if(c=t.xref.fetchIfRef(this.ref),(0,u.isDict)(c)){e.next=12;break}return e.abrupt("return",null);case 12:return l={path:(0,o.stringToPDFString)(c.get("T")||""),value:s?this.data.buttonValue:""},f=u.Name.get(s?this.data.buttonValue:"Off"),h=null,d=t.xref.encrypt,s&&((0,u.isRef)(this.parent)?(p=t.xref.fetch(this.parent),g=null,d&&(g=d.createCipherTransform(this.parent.num,this.parent.gen)),p.set("V",f),h=["".concat(this.parent.num," ").concat(this.parent.gen," obj\\n")],(0,m.writeDict)(p,h,g),h.push("\\nendobj\\n")):(0,u.isDict)(this.parent)&&this.parent.set("V",f)),c.set("AS",f),c.set("M","D:".concat((0,o.getModificationDate)())),v=null,d&&(v=d.createCipherTransform(this.ref.num,this.ref.gen)),y=["".concat(this.ref.num," ").concat(this.ref.gen," obj\\n")],(0,m.writeDict)(c,y,v),y.push("\\nendobj\\n"),b=[{ref:this.ref,data:y.join(""),xfa:l}],null!==h&&b.push({ref:this.parent,data:h.join(""),xfa:null}),e.abrupt("return",b);case 27:case"end":return e.stop()}}),e,this)}))),function(e,r,n){return t.apply(this,arguments)})},{key:"_processCheckBox",value:function(e){var t=e.dict.get("AP");if((0,u.isDict)(t)){var r=t.get("N");if((0,u.isDict)(r)){var n=r.getKeys();n.includes("Off")||n.push("Off"),2===n.length&&(this.data.exportValue="Off"===n[0]?n[1]:n[0],this.checkedAppearance=r.get(this.data.exportValue),this.uncheckedAppearance=r.get("Off")||null,this._streams.push(this.checkedAppearance),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict)}}}},{key:"_processRadioButton",value:function(e){this.data.fieldValue=this.data.buttonValue=null;var t=e.dict.get("Parent");if((0,u.isDict)(t)){this.parent=e.dict.getRaw("Parent");var r=t.get("V");(0,u.isName)(r)&&(this.data.fieldValue=this._decodeFormValue(r))}var n=e.dict.get("AP");if((0,u.isDict)(n)){var a=n.get("N");if((0,u.isDict)(a)){var i,o=x(a.getKeys());try{for(o.s();!(i=o.n()).done;){var s=i.value;if("Off"!==s){this.data.buttonValue=this._decodeFormValue(s);break}}}catch(e){o.e(e)}finally{o.f()}this.checkedAppearance=a.get(this.data.buttonValue),this.uncheckedAppearance=a.get("Off")||null,this._streams.push(this.checkedAppearance),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict}}}},{key:"_processPushButton",value:function(e){e.dict.has("A")||e.dict.has("AA")||this.data.alternativeText?(this.data.isTooltipOnly=!e.dict.has("A")&&!e.dict.has("AA"),l.Catalog.parseDestDictionary({destDict:e.dict,resultObj:this.data,docBaseUrl:e.pdfManager.docBaseUrl})):(0,o.warn)("Push buttons without action dictionaries are not supported")}},{key:"getFieldObject",value:function(){var e,t="button";return this.data.checkBox?(t="checkbox",e=this.data.exportValue):this.data.radioButton&&(t="radiobutton",e=this.data.buttonValue),{id:this.data.id,value:this.data.fieldValue||"Off",defaultValue:this.data.defaultFieldValue,exportValues:e,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,hidden:this.data.hidden,actions:this.data.actions,page:this.data.pageIndex,type:t}}},{key:"fallbackFontDict",get:function(){var e=new u.Dict;return e.set("BaseFont",u.Name.get("ZapfDingbats")),e.set("Type",u.Name.get("FallbackType")),e.set("Subtype",u.Name.get("FallbackType")),e.set("Encoding",u.Name.get("ZapfDingbatsEncoding")),(0,o.shadow)(this,"fallbackFontDict",e)}}]),s}(L),X=function(e){y(r,e);var t=w(r);function r(e){var n;P(this,r),(n=t.call(this,e)).data.options=[];var a=(0,s.getInheritableProperty)({dict:e.dict,key:"Opt"});if(Array.isArray(a))for(var i=e.xref,c=0,u=a.length;c<u;c++){var l=i.fetchIfRef(a[c]),f=Array.isArray(l);n.data.options[c]={exportValue:n._decodeFormValue(f?i.fetchIfRef(l[0]):l),displayValue:n._decodeFormValue(f?i.fetchIfRef(l[1]):l)}}return(0,o.isString)(n.data.fieldValue)?n.data.fieldValue=[n.data.fieldValue]:n.data.fieldValue||(n.data.fieldValue=[]),n.data.combo=n.hasFieldFlag(o.AnnotationFieldFlag.COMBO),n.data.multiSelect=n.hasFieldFlag(o.AnnotationFieldFlag.MULTISELECT),n._hasText=!0,n}return I(r,[{key:"getFieldObject",value:function(){var e=this.data.combo?"combobox":"listbox",t=this.data.fieldValue.length>0?this.data.fieldValue[0]:null;return{id:this.data.id,value:t,defaultValue:this.data.defaultFieldValue,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,numItems:this.data.fieldValue.length,multipleSelection:this.data.multiSelect,hidden:this.data.hidden,actions:this.data.actions,items:this.data.options,page:this.data.pageIndex,type:e}}}]),r}(L),H=function(e){y(r,e);var t=w(r);function r(e){var n;return P(this,r),(n=t.call(this,e)).data.fieldValue=null,n}return I(r,[{key:"getFieldObject",value:function(){return{id:this.data.id,value:null,page:this.data.pageIndex,type:"signature"}}}]),r}(L),$=function(e){y(r,e);var t=w(r);function r(e){var n;P(this,r),n=t.call(this,e);var a=e.dict;return n.data.annotationType=o.AnnotationType.TEXT,n.data.hasAppearance?n.data.name="NoIcon":(n.data.rect[1]=n.data.rect[3]-22,n.data.rect[2]=n.data.rect[0]+22,n.data.name=a.has("Name")?a.get("Name").name:"Note"),a.has("State")?(n.data.state=a.get("State")||null,n.data.stateModel=a.get("StateModel")||null):(n.data.state=null,n.data.stateModel=null),n}return r}(D),z=function(e){y(r,e);var t=w(r);function r(e){var n;P(this,r),(n=t.call(this,e)).data.annotationType=o.AnnotationType.LINK;var a=R(e.dict,n.rectangle);return a&&(n.data.quadPoints=a),l.Catalog.parseDestDictionary({destDict:e.dict,resultObj:n.data,docBaseUrl:e.pdfManager.docBaseUrl}),n}return r}(N),G=function(e){y(r,e);var t=w(r);function r(e){var n;P(this,r),(n=t.call(this,e)).data.annotationType=o.AnnotationType.POPUP;var a=e.dict.get("Parent");if(!a)return(0,o.warn)("Popup annotation has a missing or invalid parent annotation."),k(n);var i=a.get("Subtype");n.data.parentType=(0,u.isName)(i)?i.name:null;var s=e.dict.getRaw("Parent");n.data.parentId=(0,u.isRef)(s)?s.toString():null;var c=a.getArray("Rect");Array.isArray(c)&&4===c.length?n.data.parentRect=o.Util.normalizeRect(c):n.data.parentRect=[0,0,0,0];var l=a.get("RT");if((0,u.isName)(l,o.AnnotationReplyType.GROUP)&&(a=a.get("IRT")),a.has("M")?(n.setModificationDate(a.get("M")),n.data.modificationDate=n.modificationDate):n.data.modificationDate=null,a.has("C")?(n.setColor(a.getArray("C")),n.data.color=n.color):n.data.color=null,!n.viewable){var f=a.get("F");n._isViewable(f)&&n.setFlags(f)}return n.data.title=(0,o.stringToPDFString)(a.get("T")||""),n.data.contents=(0,o.stringToPDFString)(a.get("Contents")||""),n}return r}(N),W=function(e){y(r,e);var t=w(r);function r(e){var n;return P(this,r),(n=t.call(this,e)).data.annotationType=o.AnnotationType.FREETEXT,n}return r}(D),V=function(e){y(r,e);var t=w(r);function r(e){var n;P(this,r),(n=t.call(this,e)).data.annotationType=o.AnnotationType.LINE;var a=e.dict.getArray("L");if(n.data.lineCoordinates=o.Util.normalizeRect(a),!n.appearance){var i=n.color?Array.from(n.color).map((function(e){return e/255})):[0,0,0],s=e.dict.get("CA"),c=null,u=e.dict.getArray("IC");u&&(c=(u=j(u))?Array.from(u).map((function(e){return e/255})):null);var l=c?s:null,f=n.borderStyle.width||1,h=2*f,d=[n.data.lineCoordinates[0]-h,n.data.lineCoordinates[1]-h,n.data.lineCoordinates[2]+h,n.data.lineCoordinates[3]+h];o.Util.intersect(n.rectangle,d)||(n.rectangle=d),n._setDefaultAppearance({xref:e.xref,extra:"".concat(f," w"),strokeColor:i,fillColor:c,strokeAlpha:s,fillAlpha:l,pointsCallback:function(e,t){return e.push("".concat(a[0]," ").concat(a[1]," m"),"".concat(a[2]," ").concat(a[3]," l"),"S"),[t[0].x-f,t[1].x+f,t[3].y-f,t[1].y+f]}})}return n}return r}(D),K=function(e){y(r,e);var t=w(r);function r(e){var n;if(P(this,r),(n=t.call(this,e)).data.annotationType=o.AnnotationType.SQUARE,!n.appearance){var a=n.color?Array.from(n.color).map((function(e){return e/255})):[0,0,0],i=e.dict.get("CA"),s=null,c=e.dict.getArray("IC");c&&(c=j(c),s=c?Array.from(c).map((function(e){return e/255})):null);var u=s?i:null;n._setDefaultAppearance({xref:e.xref,extra:"".concat(n.borderStyle.width," w"),strokeColor:a,fillColor:s,strokeAlpha:i,fillAlpha:u,pointsCallback:function(e,t){var r=t[2].x+n.borderStyle.width/2,a=t[2].y+n.borderStyle.width/2,i=t[3].x-t[2].x-n.borderStyle.width,o=t[1].y-t[3].y-n.borderStyle.width;return e.push("".concat(r," ").concat(a," ").concat(i," ").concat(o," re")),s?e.push("B"):e.push("S"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}return n}return r}(D),Y=function(e){y(r,e);var t=w(r);function r(e){var n;if(P(this,r),(n=t.call(this,e)).data.annotationType=o.AnnotationType.CIRCLE,!n.appearance){var a=n.color?Array.from(n.color).map((function(e){return e/255})):[0,0,0],i=e.dict.get("CA"),s=null,c=e.dict.getArray("IC");c&&(c=j(c),s=c?Array.from(c).map((function(e){return e/255})):null);var u=s?i:null,l=4/3*Math.tan(Math.PI/8);n._setDefaultAppearance({xref:e.xref,extra:"".concat(n.borderStyle.width," w"),strokeColor:a,fillColor:s,strokeAlpha:i,fillAlpha:u,pointsCallback:function(e,t){var r=t[0].x+n.borderStyle.width/2,a=t[0].y-n.borderStyle.width/2,i=t[3].x-n.borderStyle.width/2,o=t[3].y+n.borderStyle.width/2,c=r+(i-r)/2,u=a+(o-a)/2,f=(i-r)/2*l,h=(o-a)/2*l;return e.push("".concat(c," ").concat(o," m"),"".concat(c+f," ").concat(o," ").concat(i," ").concat(u+h," ").concat(i," ").concat(u," c"),"".concat(i," ").concat(u-h," ").concat(c+f," ").concat(a," ").concat(c," ").concat(a," c"),"".concat(c-f," ").concat(a," ").concat(r," ").concat(u-h," ").concat(r," ").concat(u," c"),"".concat(r," ").concat(u+h," ").concat(c-f," ").concat(o," ").concat(c," ").concat(o," c"),"h"),s?e.push("B"):e.push("S"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}return n}return r}(D),J=function(e){y(r,e);var t=w(r);function r(e){var n;P(this,r),(n=t.call(this,e)).data.annotationType=o.AnnotationType.POLYLINE,n.data.vertices=[];var a=e.dict.getArray("Vertices");if(!Array.isArray(a))return k(n);for(var i=0,s=a.length;i<s;i+=2)n.data.vertices.push({x:a[i],y:a[i+1]});if(!n.appearance){var c,u=n.color?Array.from(n.color).map((function(e){return e/255})):[0,0,0],l=e.dict.get("CA"),f=n.borderStyle.width||1,h=2*f,d=[1/0,1/0,-1/0,-1/0],p=x(n.data.vertices);try{for(p.s();!(c=p.n()).done;){var g=c.value;d[0]=Math.min(d[0],g.x-h),d[1]=Math.min(d[1],g.y-h),d[2]=Math.max(d[2],g.x+h),d[3]=Math.max(d[3],g.y+h)}}catch(e){p.e(e)}finally{p.f()}o.Util.intersect(n.rectangle,d)||(n.rectangle=d),n._setDefaultAppearance({xref:e.xref,extra:"".concat(f," w"),strokeColor:u,strokeAlpha:l,pointsCallback:function(e,t){for(var r=n.data.vertices,a=0,i=r.length;a<i;a++)e.push("".concat(r[a].x," ").concat(r[a].y," ").concat(0===a?"m":"l"));return e.push("S"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}return n}return r}(D),Z=function(e){y(r,e);var t=w(r);function r(e){var n;return P(this,r),(n=t.call(this,e)).data.annotationType=o.AnnotationType.POLYGON,n}return r}(J),Q=function(e){y(r,e);var t=w(r);function r(e){var n;return P(this,r),(n=t.call(this,e)).data.annotationType=o.AnnotationType.CARET,n}return r}(D),ee=function(e){y(r,e);var t=w(r);function r(e){var n;P(this,r),(n=t.call(this,e)).data.annotationType=o.AnnotationType.INK,n.data.inkLists=[];var a=e.dict.getArray("InkList");if(!Array.isArray(a))return k(n);for(var i=e.xref,s=0,c=a.length;s<c;++s){n.data.inkLists.push([]);for(var u=0,l=a[s].length;u<l;u+=2)n.data.inkLists[s].push({x:i.fetchIfRef(a[s][u]),y:i.fetchIfRef(a[s][u+1])})}if(!n.appearance){var f,h=n.color?Array.from(n.color).map((function(e){return e/255})):[0,0,0],d=e.dict.get("CA"),p=n.borderStyle.width||1,g=2*p,m=[1/0,1/0,-1/0,-1/0],v=x(n.data.inkLists);try{for(v.s();!(f=v.n()).done;){var y,b=x(f.value);try{for(b.s();!(y=b.n()).done;){var w=y.value;m[0]=Math.min(m[0],w.x-g),m[1]=Math.min(m[1],w.y-g),m[2]=Math.max(m[2],w.x+g),m[3]=Math.max(m[3],w.y+g)}}catch(e){b.e(e)}finally{b.f()}}}catch(e){v.e(e)}finally{v.f()}o.Util.intersect(n.rectangle,m)||(n.rectangle=m),n._setDefaultAppearance({xref:e.xref,extra:"".concat(p," w"),strokeColor:h,strokeAlpha:d,pointsCallback:function(e,t){var r,a=x(n.data.inkLists);try{for(a.s();!(r=a.n()).done;){for(var i=r.value,o=0,s=i.length;o<s;o++)e.push("".concat(i[o].x," ").concat(i[o].y," ").concat(0===o?"m":"l"));e.push("S")}}catch(e){a.e(e)}finally{a.f()}return[t[0].x,t[1].x,t[3].y,t[1].y]}})}return n}return r}(D),te=function(e){y(r,e);var t=w(r);function r(e){var n;if(P(this,r),(n=t.call(this,e)).data.annotationType=o.AnnotationType.HIGHLIGHT,n.data.quadPoints=R(e.dict,null)){var a=n.appearance&&n.appearance.dict.get("Resources");if(!n.appearance||!a||!a.has("ExtGState")){n.appearance&&(0,o.warn)("HighlightAnnotation - ignoring built-in appearance stream.");var i=n.color?Array.from(n.color).map((function(e){return e/255})):[1,1,0],s=e.dict.get("CA");n._setDefaultAppearance({xref:e.xref,fillColor:i,blendMode:"Multiply",fillAlpha:s,pointsCallback:function(e,t){return e.push("".concat(t[0].x," ").concat(t[0].y," m"),"".concat(t[1].x," ").concat(t[1].y," l"),"".concat(t[3].x," ").concat(t[3].y," l"),"".concat(t[2].x," ").concat(t[2].y," l"),"f"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}}else n.data.hasPopup=!1;return n}return r}(D),re=function(e){y(r,e);var t=w(r);function r(e){var n;if(P(this,r),(n=t.call(this,e)).data.annotationType=o.AnnotationType.UNDERLINE,n.data.quadPoints=R(e.dict,null)){if(!n.appearance){var a=n.color?Array.from(n.color).map((function(e){return e/255})):[0,0,0],i=e.dict.get("CA");n._setDefaultAppearance({xref:e.xref,extra:"[] 0 d 1 w",strokeColor:a,strokeAlpha:i,pointsCallback:function(e,t){return e.push("".concat(t[2].x," ").concat(t[2].y," m"),"".concat(t[3].x," ").concat(t[3].y," l"),"S"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}}else n.data.hasPopup=!1;return n}return r}(D),ne=function(e){y(r,e);var t=w(r);function r(e){var n;if(P(this,r),(n=t.call(this,e)).data.annotationType=o.AnnotationType.SQUIGGLY,n.data.quadPoints=R(e.dict,null)){if(!n.appearance){var a=n.color?Array.from(n.color).map((function(e){return e/255})):[0,0,0],i=e.dict.get("CA");n._setDefaultAppearance({xref:e.xref,extra:"[] 0 d 1 w",strokeColor:a,strokeAlpha:i,pointsCallback:function(e,t){var r=(t[0].y-t[2].y)/6,n=r,a=t[2].x,i=t[2].y,o=t[3].x;e.push("".concat(a," ").concat(i+n," m"));do{a+=2,n=0===n?r:0,e.push("".concat(a," ").concat(i+n," l"))}while(a<o);return e.push("S"),[t[2].x,o,i-2*r,i+2*r]}})}}else n.data.hasPopup=!1;return n}return r}(D),ae=function(e){y(r,e);var t=w(r);function r(e){var n;if(P(this,r),(n=t.call(this,e)).data.annotationType=o.AnnotationType.STRIKEOUT,n.data.quadPoints=R(e.dict,null)){if(!n.appearance){var a=n.color?Array.from(n.color).map((function(e){return e/255})):[0,0,0],i=e.dict.get("CA");n._setDefaultAppearance({xref:e.xref,extra:"[] 0 d 1 w",strokeColor:a,strokeAlpha:i,pointsCallback:function(e,t){return e.push("".concat((t[0].x+t[2].x)/2," ")+"".concat((t[0].y+t[2].y)/2," m"),"".concat((t[1].x+t[3].x)/2," ")+"".concat((t[1].y+t[3].y)/2," l"),"S"),[t[0].x,t[1].x,t[3].y,t[1].y]}})}}else n.data.hasPopup=!1;return n}return r}(D),ie=function(e){y(r,e);var t=w(r);function r(e){var n;return P(this,r),(n=t.call(this,e)).data.annotationType=o.AnnotationType.STAMP,n}return r}(D),oe=function(e){y(r,e);var t=w(r);function r(e){var n;P(this,r),n=t.call(this,e);var a=new h.FileSpec(e.dict.get("FS"),e.xref);return n.data.annotationType=o.AnnotationType.FILEATTACHMENT,n.data.file=a.serializable,n}return r}(D)},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.createDefaultAppearance=function(e){var t,r=e.fontSize,n=e.fontName,a=e.fontColor;return t=a.every((function(e){return 0===e}))?"0 g":Array.from(a).map((function(e){return(e/255).toFixed(2)})).join(" ")+" rg","/".concat((0,o.escapePDFName)(n)," ").concat(r," Tf ").concat(t)},t.parseDefaultAppearance=function(e){return new v(e).parse()};var a=r(4),i=r(122),o=r(117),s=r(123),c=r(113),u=r(118);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(e,t)||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.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function p(e){var t=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(e){return!1}}();return function(){var r,n=m(e);if(t){var a=m(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(s,e);var t,r,n,o=p(s);function s(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),o.call(this,new u.StringStream(e))}return t=s,(r=[{key:"parse",value:function(){var e={fn:0,args:[]},t={fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3)};try{for(;e.args.length=0,this.read(e);)if(0===this.savedStatesDepth){var r=e.fn,n=e.args;switch(0|r){case a.OPS.setFont:var o=l(n,2),s=o[0],u=o[1];s instanceof c.Name&&(t.fontName=s.name),"number"==typeof u&&u>0&&(t.fontSize=u);break;case a.OPS.setFillRGBColor:i.ColorSpace.singletons.rgb.getRgbItem(n,0,t.fontColor,0);break;case a.OPS.setFillGray:i.ColorSpace.singletons.gray.getRgbItem(n,0,t.fontColor,0);break;case a.OPS.setFillColorSpace:i.ColorSpace.singletons.cmyk.getRgbItem(n,0,t.fontColor,0)}}}catch(e){(0,a.warn)(\'parseDefaultAppearance - ignoring errors: "\'.concat(e,\'".\'))}return t}}])&&h(t.prototype,r),n&&h(t,n),s}(s.EvaluatorPreprocessor)},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.ColorSpace=void 0;var a,i=(a=r(2))&&a.__esModule?a:{default:a},o=r(4),s=r(113),c=r(117);function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function f(e){var t=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(e){return!1}}();return function(){var r,n=d(e);if(t){var a=d(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function p(e,t,r,n,a,i,o){try{var s=e[i](o),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,a)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),e}var y=function(){function e(t,r){g(this,e),this.constructor===e&&(0,o.unreachable)("Cannot initialize ColorSpace."),this.name=t,this.numComps=r}var t,r;return v(e,[{key:"getRgb",value:function(e,t){var r=new Uint8ClampedArray(3);return this.getRgbItem(e,t,r,0),r}},{key:"getRgbItem",value:function(e,t,r,n){(0,o.unreachable)("Should not call ColorSpace.getRgbItem")}},{key:"getRgbBuffer",value:function(e,t,r,n,a,i,s){(0,o.unreachable)("Should not call ColorSpace.getRgbBuffer")}},{key:"getOutputLength",value:function(e,t){(0,o.unreachable)("Should not call ColorSpace.getOutputLength")}},{key:"isPassthrough",value:function(e){return!1}},{key:"isDefaultDecode",value:function(t,r){return e.isDefaultDecode(t,this.numComps)}},{key:"fillRgb",value:function(e,t,r,n,a,i,o,s,c){var u=t*r,l=null,f=1<<o,h=r!==a||t!==n;if(this.isPassthrough(o))l=s;else if(1===this.numComps&&u>f&&"DeviceGray"!==this.name&&"DeviceRGB"!==this.name){for(var d=o<=8?new Uint8Array(f):new Uint16Array(f),p=0;p<f;p++)d[p]=p;var g=new Uint8ClampedArray(3*f);if(this.getRgbBuffer(d,0,f,g,0,o,0),h){l=new Uint8Array(3*u);for(var m=0,v=0;v<u;++v){var y=3*s[v];l[m++]=g[y],l[m++]=g[y+1],l[m++]=g[y+2]}}else for(var b=0,w=0;w<u;++w){var k=3*s[w];e[b++]=g[k],e[b++]=g[k+1],e[b++]=g[k+2],b+=c}}else h?(l=new Uint8ClampedArray(3*u),this.getRgbBuffer(s,0,u,l,0,o,0)):this.getRgbBuffer(s,0,n*i,e,0,o,c);if(l)if(h)!function(e,t,r,n,a,i,o){o=1!==o?0:o;for(var s,c=r/a,u=n/i,l=0,f=new Uint16Array(a),h=3*r,d=0;d<a;d++)f[d]=3*Math.floor(d*c);for(var p=0;p<i;p++)for(var g=Math.floor(p*u)*h,m=0;m<a;m++)s=g+f[m],t[l++]=e[s++],t[l++]=e[s++],t[l++]=e[s++],l+=o}(l,e,t,r,n,a,c);else for(var S=0,x=0,A=0,O=n*i;A<O;A++)e[S++]=l[x++],e[S++]=l[x++],e[S++]=l[x++],S+=c}},{key:"usesZeroToOneRange",get:function(){return(0,o.shadow)(this,"usesZeroToOneRange",!0)}}],[{key:"_cache",value:function(e,t,r,n){if(!r)throw new Error(\'ColorSpace._cache - expected "localColorSpaceCache" argument.\');if(!n)throw new Error(\'ColorSpace._cache - expected "parsedColorSpace" argument.\');var a,i;e instanceof s.Ref&&(i=e,e=t.fetch(e)),e instanceof s.Name&&(a=e.name),(a||i)&&r.set(a,i,n)}},{key:"getCached",value:function(e,t,r){if(!r)throw new Error(\'ColorSpace.getCached - expected "localColorSpaceCache" argument.\');if(e instanceof s.Ref){var n=r.getByRef(e);if(n)return n;try{e=t.fetch(e)}catch(e){if(e instanceof c.MissingDataException)throw e}}if(e instanceof s.Name){var a=r.getByName(e.name);if(a)return a}return null}},{key:"parseAsync",value:(t=i.default.mark((function e(t){var r,n,a,o,s,c,u;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.cs,n=t.xref,a=t.resources,o=void 0===a?null:a,s=t.pdfFunctionFactory,c=t.localColorSpaceCache,u=this._parse(r,n,o,s),this._cache(r,n,c,u),e.abrupt("return",u);case 4:case"end":return e.stop()}}),e,this)})),r=function(){var e=this,r=arguments;return new Promise((function(n,a){var i=t.apply(e,r);function o(e){p(i,n,a,o,s,"next",e)}function s(e){p(i,n,a,o,s,"throw",e)}o(void 0)}))},function(e){return r.apply(this,arguments)})},{key:"parse",value:function(e){var t=e.cs,r=e.xref,n=e.resources,a=void 0===n?null:n,i=e.pdfFunctionFactory,o=e.localColorSpaceCache,s=this.getCached(t,r,o);if(s)return s;var c=this._parse(t,r,a,i);return this._cache(t,r,o,c),c}},{key:"_parse",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3?arguments[3]:void 0;if(e=t.fetchIfRef(e),(0,s.isName)(e))switch(e.name){case"DeviceGray":case"G":return this.singletons.gray;case"DeviceRGB":case"RGB":return this.singletons.rgb;case"DeviceCMYK":case"CMYK":return this.singletons.cmyk;case"Pattern":return new w(null);default:if((0,s.isDict)(r)){var a=r.get("ColorSpace");if((0,s.isDict)(a)){var i=a.get(e.name);if(i){if((0,s.isName)(i))return this._parse(i,t,r,n);e=i;break}}}throw new o.FormatError("Unrecognized ColorSpace: ".concat(e.name))}if(Array.isArray(e)){var c,u,l,f,h,d,p=t.fetchIfRef(e[0]).name;switch(p){case"DeviceGray":case"G":return this.singletons.gray;case"DeviceRGB":case"RGB":return this.singletons.rgb;case"DeviceCMYK":case"CMYK":return this.singletons.cmyk;case"CalGray":return f=(c=t.fetchIfRef(e[1])).getArray("WhitePoint"),h=c.getArray("BlackPoint"),d=c.get("Gamma"),new O(f,h,d);case"CalRGB":f=(c=t.fetchIfRef(e[1])).getArray("WhitePoint"),h=c.getArray("BlackPoint"),d=c.getArray("Gamma");var g=c.getArray("Matrix");return new C(f,h,d,g);case"ICCBased":var m=t.fetchIfRef(e[1]),v=m.dict;u=v.get("N");var y=v.get("Alternate");if(y){var S=this._parse(y,t,r,n);if(S.numComps===u)return S;(0,o.warn)("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(1===u)return this.singletons.gray;if(3===u)return this.singletons.rgb;if(4===u)return this.singletons.cmyk;break;case"Pattern":return(l=e[1]||null)&&(l=this._parse(l,t,r,n)),new w(l);case"Indexed":case"I":l=this._parse(e[1],t,r,n);var x=t.fetchIfRef(e[2])+1,A=t.fetchIfRef(e[3]);return new k(l,x,A);case"Separation":case"DeviceN":var F=t.fetchIfRef(e[1]);u=Array.isArray(F)?F.length:1,l=this._parse(e[2],t,r,n);var P=n.create(e[3]);return new b(u,l,P);case"Lab":f=(c=t.fetchIfRef(e[1])).getArray("WhitePoint"),h=c.getArray("BlackPoint");var _=c.getArray("Range");return new T(f,h,_);default:throw new o.FormatError("Unimplemented ColorSpace object: ".concat(p))}}throw new o.FormatError("Unrecognized ColorSpace object: ".concat(e))}},{key:"isDefaultDecode",value:function(e,t){if(!Array.isArray(e))return!0;if(2*t!==e.length)return(0,o.warn)("The decode map is not the correct length"),!0;for(var r=0,n=e.length;r<n;r+=2)if(0!==e[r]||1!==e[r+1])return!1;return!0}},{key:"singletons",get:function(){return(0,o.shadow)(this,"singletons",{get gray(){return(0,o.shadow)(this,"gray",new S)},get rgb(){return(0,o.shadow)(this,"rgb",new x)},get cmyk(){return(0,o.shadow)(this,"cmyk",new A)}})}}]),e}();t.ColorSpace=y;var b=function(e){u(r,e);var t=f(r);function r(e,n,a){var i;return g(this,r),(i=t.call(this,"Alternate",e)).base=n,i.tintFn=a,i.tmpBuf=new Float32Array(n.numComps),i}return v(r,[{key:"getRgbItem",value:function(e,t,r,n){var a=this.tmpBuf;this.tintFn(e,t,a,0),this.base.getRgbItem(a,0,r,n)}},{key:"getRgbBuffer",value:function(e,t,r,n,a,i,o){var s,c,u=this.tintFn,l=this.base,f=1/((1<<i)-1),h=l.numComps,d=l.usesZeroToOneRange,p=(l.isPassthrough(8)||!d)&&0===o,g=p?a:0,m=p?n:new Uint8ClampedArray(h*r),v=this.numComps,y=new Float32Array(v),b=new Float32Array(h);for(s=0;s<r;s++){for(c=0;c<v;c++)y[c]=e[t++]*f;if(u(y,0,b,0),d)for(c=0;c<h;c++)m[g++]=255*b[c];else l.getRgbItem(b,0,m,g),g+=h}p||l.getRgbBuffer(m,0,r,n,a,8,o)}},{key:"getOutputLength",value:function(e,t){return this.base.getOutputLength(e*this.base.numComps/this.numComps,t)}}]),r}(y),w=function(e){u(r,e);var t=f(r);function r(e){var n;return g(this,r),(n=t.call(this,"Pattern",null)).base=e,n}return v(r,[{key:"isDefaultDecode",value:function(e,t){(0,o.unreachable)("Should not call PatternCS.isDefaultDecode")}}]),r}(y),k=function(e){u(r,e);var t=f(r);function r(e,n,a){var i;g(this,r),(i=t.call(this,"Indexed",1)).base=e,i.highVal=n;var c=e.numComps*n;if(i.lookup=new Uint8Array(c),(0,s.isStream)(a)){var u=a.getBytes(c);i.lookup.set(u)}else{if("string"!=typeof a)throw new o.FormatError("IndexedCS - unrecognized lookup table: ".concat(a));for(var l=0;l<c;++l)i.lookup[l]=255&a.charCodeAt(l)}return i}return v(r,[{key:"getRgbItem",value:function(e,t,r,n){var a=this.base.numComps,i=e[t]*a;this.base.getRgbBuffer(this.lookup,i,1,r,n,8,0)}},{key:"getRgbBuffer",value:function(e,t,r,n,a,i,o){for(var s=this.base,c=s.numComps,u=s.getOutputLength(c,o),l=this.lookup,f=0;f<r;++f){var h=e[t++]*c;s.getRgbBuffer(l,h,1,n,a,8,o),a+=u}}},{key:"getOutputLength",value:function(e,t){return this.base.getOutputLength(e*this.base.numComps,t)}},{key:"isDefaultDecode",value:function(e,t){return!Array.isArray(e)||(2!==e.length?((0,o.warn)("Decode map length is not correct"),!0):!Number.isInteger(t)||t<1?((0,o.warn)("Bits per component is not correct"),!0):0===e[0]&&e[1]===(1<<t)-1)}}]),r}(y),S=function(e){u(r,e);var t=f(r);function r(){return g(this,r),t.call(this,"DeviceGray",1)}return v(r,[{key:"getRgbItem",value:function(e,t,r,n){var a=255*e[t];r[n]=r[n+1]=r[n+2]=a}},{key:"getRgbBuffer",value:function(e,t,r,n,a,i,o){for(var s=255/((1<<i)-1),c=t,u=a,l=0;l<r;++l){var f=s*e[c++];n[u++]=f,n[u++]=f,n[u++]=f,u+=o}}},{key:"getOutputLength",value:function(e,t){return e*(3+t)}}]),r}(y),x=function(e){u(r,e);var t=f(r);function r(){return g(this,r),t.call(this,"DeviceRGB",3)}return v(r,[{key:"getRgbItem",value:function(e,t,r,n){r[n]=255*e[t],r[n+1]=255*e[t+1],r[n+2]=255*e[t+2]}},{key:"getRgbBuffer",value:function(e,t,r,n,a,i,o){if(8!==i||0!==o)for(var s=255/((1<<i)-1),c=t,u=a,l=0;l<r;++l)n[u++]=s*e[c++],n[u++]=s*e[c++],n[u++]=s*e[c++],u+=o;else n.set(e.subarray(t,t+3*r),a)}},{key:"getOutputLength",value:function(e,t){return e*(3+t)/3|0}},{key:"isPassthrough",value:function(e){return 8===e}}]),r}(y),A=function(){function e(e,t,r,n,a){var i=e[t]*r,o=e[t+1]*r,s=e[t+2]*r,c=e[t+3]*r;n[a]=255+i*(-4.387332384609988*i+54.48615194189176*o+18.82290502165302*s+212.25662451639585*c-285.2331026137004)+o*(1.7149763477362134*o-5.6096736904047315*s+-17.873870861415444*c-5.497006427196366)+s*(-2.5217340131683033*s-21.248923337353073*c+17.5119270841813)+c*(-21.86122147463605*c-189.48180835922747),n[a+1]=255+i*(8.841041422036149*i+60.118027045597366*o+6.871425592049007*s+31.159100130055922*c-79.2970844816548)+o*(-15.310361306967817*o+17.575251261109482*s+131.35250912493976*c-190.9453302588951)+s*(4.444339102852739*s+9.8632861493405*c-24.86741582555878)+c*(-20.737325471181034*c-187.80453709719578),n[a+2]=255+i*(.8842522430003296*i+8.078677503112928*o+30.89978309703729*s-.23883238689178934*c-14.183576799673286)+o*(10.49593273432072*o+63.02378494754052*s+50.606957656360734*c-112.23884253719248)+s*(.03296041114873217*s+115.60384449646641*c-193.58209356861505)+c*(-22.33816807309886*c-180.12613974708367)}return function(t){u(n,t);var r=f(n);function n(){return g(this,n),r.call(this,"DeviceCMYK",4)}return v(n,[{key:"getRgbItem",value:function(t,r,n,a){e(t,r,1,n,a)}},{key:"getRgbBuffer",value:function(t,r,n,a,i,o,s){for(var c=1/((1<<o)-1),u=0;u<n;u++)e(t,r,c,a,i),r+=4,i+=3+s}},{key:"getOutputLength",value:function(e,t){return e/4*(3+t)|0}}]),n}(y)}(),O=function(){function e(e,t,r,n,a,i){var o=t[r]*i,s=Math.pow(o,e.G),c=e.YW*s,u=Math.max(295.8*Math.pow(c,.3333333333333333)-40.8,0);n[a]=u,n[a+1]=u,n[a+2]=u}return function(t){u(n,t);var r=f(n);function n(e,t,a){var i;if(g(this,n),i=r.call(this,"CalGray",1),!e)throw new o.FormatError("WhitePoint missing - required for color space CalGray");if(t=t||[0,0,0],a=a||1,i.XW=e[0],i.YW=e[1],i.ZW=e[2],i.XB=t[0],i.YB=t[1],i.ZB=t[2],i.G=a,i.XW<0||i.ZW<0||1!==i.YW)throw new o.FormatError("Invalid WhitePoint components for ".concat(i.name)+", no fallback available");return(i.XB<0||i.YB<0||i.ZB<0)&&((0,o.info)("Invalid BlackPoint for ".concat(i.name,", falling back to default.")),i.XB=i.YB=i.ZB=0),0===i.XB&&0===i.YB&&0===i.ZB||(0,o.warn)("".concat(i.name,", BlackPoint: XB: ").concat(i.XB,", YB: ").concat(i.YB,", ")+"ZB: ".concat(i.ZB,", only default values are supported.")),i.G<1&&((0,o.info)("Invalid Gamma: ".concat(i.G," for ").concat(i.name,", ")+"falling back to default."),i.G=1),i}return v(n,[{key:"getRgbItem",value:function(t,r,n,a){e(this,t,r,n,a,1)}},{key:"getRgbBuffer",value:function(t,r,n,a,i,o,s){for(var c=1/((1<<o)-1),u=0;u<n;++u)e(this,t,r,a,i,c),r+=1,i+=3+s}},{key:"getOutputLength",value:function(e,t){return e*(3+t)}}]),n}(y)}(),C=function(){var e=new Float32Array([.8951,.2664,-.1614,-.7502,1.7135,.0367,.0389,-.0685,1.0296]),t=new Float32Array([.9869929,-.1470543,.1599627,.4323053,.5183603,.0492912,-.0085287,.0400428,.9684867]),r=new Float32Array([3.2404542,-1.5371385,-.4985314,-.969266,1.8760108,.041556,.0556434,-.2040259,1.0572252]),n=new Float32Array([1,1,1]),a=new Float32Array(3),i=new Float32Array(3),s=new Float32Array(3),c=Math.pow(24/116,3)/8;function l(e,t,r){r[0]=e[0]*t[0]+e[1]*t[1]+e[2]*t[2],r[1]=e[3]*t[0]+e[4]*t[1]+e[5]*t[2],r[2]=e[6]*t[0]+e[7]*t[1]+e[8]*t[2]}function h(e){return e<=.0031308?d(0,1,12.92*e):e>=.99554525?1:d(0,1,1.055*Math.pow(e,1/2.4)-.055)}function d(e,t,r){return Math.max(e,Math.min(t,r))}function p(e){return e<0?-p(-e):e>8?Math.pow((e+16)/116,3):e*c}function m(o,c,u,f,g,m){var v=d(0,1,c[u]*m),y=d(0,1,c[u+1]*m),b=d(0,1,c[u+2]*m),w=1===v?1:Math.pow(v,o.GR),k=1===y?1:Math.pow(y,o.GG),S=1===b?1:Math.pow(b,o.GB),x=o.MXA*w+o.MXB*k+o.MXC*S,A=o.MYA*w+o.MYB*k+o.MYC*S,O=o.MZA*w+o.MZB*k+o.MZC*S,C=i;C[0]=x,C[1]=A,C[2]=O;var T=s;!function(r,n,i){if(1===r[0]&&1===r[2])return i[0]=n[0],i[1]=n[1],void(i[2]=n[2]);var o=i;l(e,n,o);var s=a;!function(e,t,r){r[0]=1*t[0]/e[0],r[1]=1*t[1]/e[1],r[2]=1*t[2]/e[2]}(r,o,s),l(t,s,i)}(o.whitePoint,C,T);var F=i;!function(e,t,r){if(0===e[0]&&0===e[1]&&0===e[2])return r[0]=t[0],r[1]=t[1],void(r[2]=t[2]);var n=p(0),a=(1-n)/(1-p(e[0])),i=1-a,o=(1-n)/(1-p(e[1])),s=1-o,c=(1-n)/(1-p(e[2])),u=1-c;r[0]=t[0]*a+i,r[1]=t[1]*o+s,r[2]=t[2]*c+u}(o.blackPoint,T,F);var P=s;!function(r,n,i){var o=i;l(e,n,o);var s=a;!function(e,t,r){r[0]=.95047*t[0]/e[0],r[1]=1*t[1]/e[1],r[2]=1.08883*t[2]/e[2]}(r,o,s),l(t,s,i)}(n,F,P);var _=i;l(r,P,_),f[g]=255*h(_[0]),f[g+1]=255*h(_[1]),f[g+2]=255*h(_[2])}return function(e){u(r,e);var t=f(r);function r(e,n,a,i){var s;if(g(this,r),s=t.call(this,"CalRGB",3),!e)throw new o.FormatError("WhitePoint missing - required for color space CalRGB");n=n||new Float32Array(3),a=a||new Float32Array([1,1,1]),i=i||new Float32Array([1,0,0,0,1,0,0,0,1]);var c=e[0],u=e[1],l=e[2];s.whitePoint=e;var f=n[0],h=n[1],d=n[2];if(s.blackPoint=n,s.GR=a[0],s.GG=a[1],s.GB=a[2],s.MXA=i[0],s.MYA=i[1],s.MZA=i[2],s.MXB=i[3],s.MYB=i[4],s.MZB=i[5],s.MXC=i[6],s.MYC=i[7],s.MZC=i[8],c<0||l<0||1!==u)throw new o.FormatError("Invalid WhitePoint components for ".concat(s.name)+", no fallback available");return(f<0||h<0||d<0)&&((0,o.info)("Invalid BlackPoint for ".concat(s.name," [").concat(f,", ").concat(h,", ").concat(d,"], ")+"falling back to default."),s.blackPoint=new Float32Array(3)),(s.GR<0||s.GG<0||s.GB<0)&&((0,o.info)("Invalid Gamma [".concat(s.GR,", ").concat(s.GG,", ").concat(s.GB,"] for ")+"".concat(s.name,", falling back to default.")),s.GR=s.GG=s.GB=1),s}return v(r,[{key:"getRgbItem",value:function(e,t,r,n){m(this,e,t,r,n,1)}},{key:"getRgbBuffer",value:function(e,t,r,n,a,i,o){for(var s=1/((1<<i)-1),c=0;c<r;++c)m(this,e,t,n,a,s),t+=3,a+=3+o}},{key:"getOutputLength",value:function(e,t){return e*(3+t)/3|0}}]),r}(y)}(),T=function(){function e(e){return e>=6/29?Math.pow(e,3):108/841*(e-4/29)}function t(e,t,r,n){return r+e*(n-r)/t}function r(r,n,a,i,o,s){var c=n[a],u=n[a+1],l=n[a+2];!1!==i&&(c=t(c,i,0,100),u=t(u,i,r.amin,r.amax),l=t(l,i,r.bmin,r.bmax)),u>r.amax?u=r.amax:u<r.amin&&(u=r.amin),l>r.bmax?l=r.bmax:l<r.bmin&&(l=r.bmin);var f,h,d,p=(c+16)/116,g=p+u/500,m=p-l/200,v=r.XW*e(g),y=r.YW*e(p),b=r.ZW*e(m);r.ZW<1?(f=3.1339*v+-1.617*y+-.4906*b,h=-.9785*v+1.916*y+.0333*b,d=.072*v+-.229*y+1.4057*b):(f=3.2406*v+-1.5372*y+-.4986*b,h=-.9689*v+1.8758*y+.0415*b,d=.0557*v+-.204*y+1.057*b),o[s]=255*Math.sqrt(f),o[s+1]=255*Math.sqrt(h),o[s+2]=255*Math.sqrt(d)}return function(e){u(n,e);var t=f(n);function n(e,r,a){var i;if(g(this,n),i=t.call(this,"Lab",3),!e)throw new o.FormatError("WhitePoint missing - required for color space Lab");if(r=r||[0,0,0],a=a||[-100,100,-100,100],i.XW=e[0],i.YW=e[1],i.ZW=e[2],i.amin=a[0],i.amax=a[1],i.bmin=a[2],i.bmax=a[3],i.XB=r[0],i.YB=r[1],i.ZB=r[2],i.XW<0||i.ZW<0||1!==i.YW)throw new o.FormatError("Invalid WhitePoint components, no fallback available");return(i.XB<0||i.YB<0||i.ZB<0)&&((0,o.info)("Invalid BlackPoint, falling back to default"),i.XB=i.YB=i.ZB=0),(i.amin>i.amax||i.bmin>i.bmax)&&((0,o.info)("Invalid Range, falling back to defaults"),i.amin=-100,i.amax=100,i.bmin=-100,i.bmax=100),i}return v(n,[{key:"getRgbItem",value:function(e,t,n,a){r(this,e,t,!1,n,a)}},{key:"getRgbBuffer",value:function(e,t,n,a,i,o,s){for(var c=(1<<o)-1,u=0;u<n;u++)r(this,e,t,c,a,i),t+=3,i+=3+s}},{key:"getOutputLength",value:function(e,t){return e*(3+t)/3|0}},{key:"isDefaultDecode",value:function(e,t){return!0}},{key:"usesZeroToOneRange",get:function(){return(0,o.shadow)(this,"usesZeroToOneRange",!1)}}]),n}(y)}()},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PartialEvaluator=t.EvaluatorPreprocessor=void 0;var n,a=(n=r(2))&&n.__esModule?n:{default:n},i=r(4),o=r(124),s=r(113),c=r(142),u=r(146),l=r(145),f=r(148),h=r(149),d=r(156),p=r(150),g=r(157),m=r(125),v=r(159),y=r(160),b=r(122),w=r(127),k=r(147),S=r(117),x=r(161),A=r(162),O=r(118),C=r(163),T=r(164);function F(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(e,t)||E(e,t)||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.")}()}function P(e,t,r,n,a,i,o){try{var s=e[i](o),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,a)}function _(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function o(e){P(i,n,a,o,s,"next",e)}function s(e){P(i,n,a,o,s,"throw",e)}o(void 0)}))}}function I(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=E(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function E(e,t){if(e){if("string"==typeof e)return j(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?j(e,t):void 0}}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function N(e,t,r){return t&&M(e.prototype,t),r&&M(e,r),e}var B=Object.freeze({maxImageSize:-1,disableFontFace:!1,ignoreErrors:!1,isEvalSupported:!0,fontExtraProperties:!1}),D=1,L=2,U=Promise.resolve();function q(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Array.isArray(e)){for(var r=0,n=e.length;r<n;r++){var a=q(e[r],!0);if(a)return a}return(0,i.warn)("Unsupported blend mode Array: ".concat(e)),"source-over"}if(!(0,s.isName)(e))return t?null:"source-over";switch(e.name){case"Normal":case"Compatible":return"source-over";case"Multiply":return"multiply";case"Screen":return"screen";case"Overlay":return"overlay";case"Darken":return"darken";case"Lighten":return"lighten";case"ColorDodge":return"color-dodge";case"ColorBurn":return"color-burn";case"HardLight":return"hard-light";case"SoftLight":return"soft-light";case"Difference":return"difference";case"Exclusion":return"exclusion";case"Hue":return"hue";case"Saturation":return"saturation";case"Color":return"color";case"Luminosity":return"luminosity"}return t?null:((0,i.warn)("Unsupported blend mode: ".concat(e.name)),"source-over")}var X=function(){function e(){R(this,e),this.reset()}return N(e,[{key:"check",value:function(){return!(++this.checked<e.CHECK_TIME_EVERY)&&(this.checked=0,this.endTime<=Date.now())}},{key:"reset",value:function(){this.endTime=Date.now()+e.TIME_SLOT_DURATION_MS,this.checked=0}}],[{key:"TIME_SLOT_DURATION_MS",get:function(){return(0,i.shadow)(this,"TIME_SLOT_DURATION_MS",20)}},{key:"CHECK_TIME_EVERY",get:function(){return(0,i.shadow)(this,"CHECK_TIME_EVERY",100)}}]),e}(),H=function(){function e(t){var r=t.xref,n=t.handler,a=t.pageIndex,i=t.idFactory,o=t.fontCache,s=t.builtInCMapCache,c=t.globalImageCache,u=t.options,l=void 0===u?null:u;R(this,e),this.xref=r,this.handler=n,this.pageIndex=a,this.idFactory=i,this.fontCache=o,this.builtInCMapCache=s,this.globalImageCache=c,this.options=l||B,this.parsingType3Font=!1,this._fetchBuiltInCMapBound=this.fetchBuiltInCMap.bind(this)}var t,r,n,m,S,F;return N(e,[{key:"_pdfFunctionFactory",get:function(){var e=new g.PDFFunctionFactory({xref:this.xref,isEvalSupported:this.options.isEvalSupported});return(0,i.shadow)(this,"_pdfFunctionFactory",e)}},{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B,t=Object.create(this);return t.options=e,t}},{key:"hasBlendModes",value:function(e,t){if(!(e instanceof s.Dict))return!1;if(e.objId&&t.has(e.objId))return!1;var r=new s.RefSet(t);e.objId&&r.put(e.objId);for(var n=[e],a=this.xref;n.length;){var o=n.shift(),c=o.get("ExtGState");if(c instanceof s.Dict){var u,l=I(c.getRawValues());try{for(l.s();!(u=l.n()).done;){var f=u.value;if(f instanceof s.Ref){if(r.has(f))continue;try{f=a.fetch(f)}catch(e){r.put(f),(0,i.info)(\'hasBlendModes - ignoring ExtGState: "\'.concat(e,\'".\'));continue}}if(f instanceof s.Dict){f.objId&&r.put(f.objId);var h=f.get("BM");if(h instanceof s.Name){if("Normal"!==h.name)return!0}else if(void 0!==h&&Array.isArray(h)){var d,p=I(h);try{for(p.s();!(d=p.n()).done;){var g=d.value;if(g instanceof s.Name&&"Normal"!==g.name)return!0}}catch(e){p.e(e)}finally{p.f()}}}}}catch(e){l.e(e)}finally{l.f()}}var m=o.get("XObject");if(m instanceof s.Dict){var v,y=I(m.getRawValues());try{for(y.s();!(v=y.n()).done;){var b=v.value;if(b instanceof s.Ref){if(r.has(b))continue;try{b=a.fetch(b)}catch(e){r.put(b),(0,i.info)(\'hasBlendModes - ignoring XObject: "\'.concat(e,\'".\'));continue}}if((0,s.isStream)(b)){b.dict.objId&&r.put(b.dict.objId);var w=b.dict.get("Resources");w instanceof s.Dict&&(w.objId&&r.has(w.objId)||(n.push(w),w.objId&&r.put(w.objId)))}}}catch(e){y.e(e)}finally{y.f()}}}return r.forEach((function(e){t.put(e)})),!1}},{key:"fetchBuiltInCMap",value:(F=_(a.default.mark((function e(t){var r,n,o,s;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=this.builtInCMapCache.get(t))){e.next=3;break}return e.abrupt("return",r);case 3:return n=this.handler.sendWithStream("FetchBuiltInCMap",{name:t}),o=n.getReader(),e.next=7,new Promise((function(e,t){!function r(){o.read().then((function(t){var n=t.value;t.done||(e(n),r())}),t)}()}));case 7:return(s=e.sent).compressionType!==i.CMapCompressionType.NONE&&this.builtInCMapCache.set(t,s),e.abrupt("return",s);case 10:case"end":return e.stop()}}),e,this)}))),function(e){return F.apply(this,arguments)})},{key:"buildFormXObject",value:(S=_(a.default.mark((function e(t,r,n,o,c,u,l){var f,h,d,p,g,m,v,y,w,k;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(f=r.dict,h=f.getArray("Matrix"),d=f.getArray("BBox"),d=Array.isArray(d)&&4===d.length?i.Util.normalizeRect(d):null,p=null,!f.has("OC")){e.next=10;break}return e.next=8,this.parseMarkedContentProps(f.get("OC"),t);case 8:p=e.sent,o.addOp(i.OPS.beginMarkedContentProps,["OC",p]);case 10:if(!(m=f.get("Group"))){e.next=30;break}if(g={matrix:h,bbox:d,smask:n,isolated:!1,knockout:!1},v=m.get("S"),y=null,!(0,s.isName)(v,"Transparency")){e.next=28;break}if(g.isolated=m.get("I")||!1,g.knockout=m.get("K")||!1,!m.has("CS")){e.next=28;break}if(w=m.getRaw("CS"),!(k=b.ColorSpace.getCached(w,this.xref,l))){e.next=25;break}y=k,e.next=28;break;case 25:return e.next=27,this.parseColorSpace({cs:w,resources:t,localColorSpaceCache:l});case 27:y=e.sent;case 28:n&&n.backdrop&&(y=y||b.ColorSpace.singletons.rgb,n.backdrop=y.getRgb(n.backdrop,0)),o.addOp(i.OPS.beginGroup,[g]);case 30:return o.addOp(i.OPS.paintFormXObjectBegin,[h,d]),e.abrupt("return",this.getOperatorList({stream:r,task:c,resources:f.get("Resources")||t,operatorList:o,initialState:u}).then((function(){o.addOp(i.OPS.paintFormXObjectEnd,[]),m&&o.addOp(i.OPS.endGroup,[g]),p&&o.addOp(i.OPS.endMarkedContent,[])})));case 32:case"end":return e.stop()}}),e,this)}))),function(e,t,r,n,a,i,o){return S.apply(this,arguments)})},{key:"_sendImgData",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=t?[t.data.buffer]:null;return this.parsingType3Font||r?this.handler.send("commonobj",[e,"Image",t],n):this.handler.send("obj",[e,this.pageIndex,"Image",t],n)}},{key:"buildPaintImageXObject",value:(m=_(a.default.mark((function e(t){var r,n,o,s,c,u,l,f,h,d,p,g,m,v,y,b,k,S,x,A,O,C,F,P,_,I=this;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.resources,n=t.image,o=t.isInline,s=void 0!==o&&o,c=t.operatorList,u=t.cacheKey,l=t.localImageCache,f=t.localColorSpaceCache,h=n.dict,d=h.objId,p=h.get("Width","W"),g=h.get("Height","H"),p&&(0,i.isNum)(p)&&g&&(0,i.isNum)(g)){e.next=8;break}return(0,i.warn)("Image dimensions are missing, or not numbers."),e.abrupt("return",void 0);case 8:if(!(-1!==(m=this.options.maxImageSize)&&p*g>m)){e.next=12;break}return(0,i.warn)("Image exceeded maximum allowed size and was removed."),e.abrupt("return",void 0);case 12:if(!h.get("ImageMask","IM")){e.next=25;break}return b=h.get("Width","W"),k=h.get("Height","H"),S=b+7>>3,x=n.getBytes(S*k,!0),A=h.getArray("Decode","D"),(v=T.PDFImage.createMask({imgArray:x,width:b,height:k,imageIsFromDecodeStream:n instanceof w.DecodeStream,inverseDecode:!!A&&A[0]>0})).cached=!!u,y=[v],c.addOp(i.OPS.paintImageMaskXObject,y),u&&l.set(u,d,{fn:i.OPS.paintImageMaskXObject,args:y}),e.abrupt("return",void 0);case 25:if(O=h.get("SMask","SM")||!1,C=h.get("Mask")||!1,!s||O||C||!(p+g<200)){e.next=33;break}return F=new T.PDFImage({xref:this.xref,res:r,image:n,isInline:s,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:f}),v=F.createImageData(!0),c.addOp(i.OPS.paintInlineImageXObject,[v]),e.abrupt("return",void 0);case 33:return P="img_".concat(this.idFactory.createObjId()),_=!1,this.parsingType3Font?P="".concat(this.idFactory.getDocId(),"_type3_").concat(P):d&&(_=this.globalImageCache.shouldCache(d,this.pageIndex))&&(P="".concat(this.idFactory.getDocId(),"_").concat(P)),c.addDependency(P),y=[P,p,g],T.PDFImage.buildImage({xref:this.xref,res:r,image:n,isInline:s,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:f}).then((function(e){return v=e.createImageData(!1),u&&d&&_&&I.globalImageCache.addByteSize(d,v.data.length),I._sendImgData(P,v,_)})).catch((function(e){return(0,i.warn)(\'Unable to decode image "\'.concat(P,\'": "\').concat(e,\'".\')),I._sendImgData(P,null,_)})),c.addOp(i.OPS.paintImageXObject,y),u&&(l.set(u,d,{fn:i.OPS.paintImageXObject,args:y}),d&&((0,i.assert)(!s,"Cannot cache an inline image globally."),this.globalImageCache.addPageIndex(d,this.pageIndex),_&&this.globalImageCache.setData(d,{objId:P,fn:i.OPS.paintImageXObject,args:y,byteSize:0}))),e.abrupt("return",void 0);case 41:case"end":return e.stop()}}),e,this)}))),function(e){return m.apply(this,arguments)})},{key:"handleSMask",value:function(e,t,r,n,a,i){var o=e.get("G"),s={subtype:e.get("S").name,backdrop:e.get("BC")},c=e.get("TR");if((0,g.isPDFFunction)(c)){for(var u=this._pdfFunctionFactory.create(c),l=new Uint8Array(256),f=new Float32Array(1),h=0;h<256;h++)f[0]=h/255,u(f,0,f,0),l[h]=255*f[0]|0;s.transferMap=l}return this.buildFormXObject(t,o,s,r,n,a.state.clone(),i)}},{key:"handleTransferFunction",value:function(e){var t;if(Array.isArray(e))t=e;else{if(!(0,g.isPDFFunction)(e))return null;t=[e]}var r,n=[],a=0,i=0,o=I(t);try{for(o.s();!(r=o.n()).done;){var c=r.value,u=this.xref.fetchIfRef(c);if(a++,(0,s.isName)(u,"Identity"))n.push(null);else{if(!(0,g.isPDFFunction)(u))return null;for(var l=this._pdfFunctionFactory.create(u),f=new Uint8Array(256),h=new Float32Array(1),d=0;d<256;d++)h[0]=d/255,l(h,0,h,0),f[d]=255*h[0]|0;n.push(f),i++}}}catch(e){o.e(e)}finally{o.f()}return 1!==a&&4!==a||0===i?null:n}},{key:"handleTilingType",value:function(e,t,r,n,a,o,c,u,l){var f=this,h=new C.OperatorList,p=s.Dict.merge({xref:this.xref,dictArray:[a.get("Resources"),r]});return this.getOperatorList({stream:n,task:c,resources:p,operatorList:h}).then((function(){var r=h.getIR(),n=(0,d.getTilingPatternIR)(r,a,t);o.addDependencies(h.dependencies),o.addOp(e,n),u&&l.set(u,a.objId,{operatorListIR:r,dict:a})})).catch((function(e){if(!(e instanceof i.AbortException)){if(f.options.ignoreErrors)return f.handler.send("UnsupportedFeature",{featureId:i.UNSUPPORTED_FEATURES.errorTilingPattern}),void(0,i.warn)(\'handleTilingType - ignoring pattern: "\'.concat(e,\'".\'));throw e}}))}},{key:"handleSetFont",value:function(e,t,r,n,a,o){var u=this,l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,f=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,h=t&&t[0]instanceof s.Name?t[0].name:null;return this.loadFont(h,r,e,l,f).then((function(t){return t.font.isType3Font?t.loadType3Data(u,e,a).then((function(){return n.addDependencies(t.type3Dependencies),t})).catch((function(e){return u.handler.send("UnsupportedFeature",{featureId:i.UNSUPPORTED_FEATURES.errorFontLoadType3}),new $({loadedName:"g_font_error",font:new c.ErrorFont("Type3 font load error: ".concat(e)),dict:t.font,evaluatorOptions:u.options})})):t})).then((function(e){return o.font=e.font,e.send(u.handler),e.loadedName}))}},{key:"handleText",value:function(t,r){var n=r.font,a=n.charsToGlyphs(t);return n.data&&(r.textRenderingMode&i.TextRenderingMode.ADD_TO_PATH_FLAG||"Pattern"===r.fillColorSpace.name||n.disableFontFace||this.options.disableFontFace)&&e.buildFontPaths(n,a,this.handler,this.options),a}},{key:"ensureStateFont",value:function(e){if(!e.font){var t=new i.FormatError("Missing setFont (Tf) operator before text rendering operator.");if(this.options.ignoreErrors)return this.handler.send("UnsupportedFeature",{featureId:i.UNSUPPORTED_FEATURES.errorFontState}),void(0,i.warn)(\'ensureStateFont: "\'.concat(t,\'".\'));throw t}}},{key:"setGState",value:(n=_(a.default.mark((function e(t){var r,n,o,c,u,l,f,h,d,p,g,m,v,y,b,w,k=this;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(r=t.resources,n=t.gState,o=t.operatorList,c=t.cacheKey,u=t.task,l=t.stateManager,f=t.localGStateCache,h=t.localColorSpaceCache,d=n.objId,p=!0,g=[],m=n.getKeys(),v=Promise.resolve(),y=function(e,t){var a=m[e],c=n.get(a);switch(a){case"Type":break;case"LW":case"LC":case"LJ":case"ML":case"D":case"RI":case"FL":case"CA":case"ca":g.push([a,c]);break;case"Font":p=!1,v=v.then((function(){return k.handleSetFont(r,null,c[0],o,u,l.state).then((function(e){o.addDependency(e),g.push([a,[e,c[1]]])}))}));break;case"BM":g.push([a,q(c)]);break;case"SMask":if((0,s.isName)(c,"None")){g.push([a,!1]);break}(0,s.isDict)(c)?(p=!1,v=v.then((function(){return k.handleSMask(c,r,o,u,l,h)})),g.push([a,!0])):(0,i.warn)("Unsupported SMask type");break;case"TR":var f=k.handleTransferFunction(c);g.push([a,f]);break;case"OP":case"op":case"OPM":case"BG":case"BG2":case"UCR":case"UCR2":case"TR2":case"HT":case"SM":case"SA":case"AIS":case"TK":(0,i.info)("graphic state operator "+a);break;default:(0,i.info)("Unknown graphic state operator "+a)}},b=0,w=m.length;b<w;b++)y(b);return e.abrupt("return",v.then((function(){g.length>0&&o.addOp(i.OPS.setGState,[g]),p&&f.set(c,d,g)})));case 9:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})},{key:"loadFont",value:function(t,r,n){var o,l=this,f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,h=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,d=function(){var e=_(a.default.mark((function e(){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new $({loadedName:"g_font_error",font:new c.ErrorFont(\'Font "\'.concat(t,\'" is not available.\')),dict:r,evaluatorOptions:l.options}));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),p=this.xref;if(r){if(!(0,s.isRef)(r))throw new i.FormatError(\'The "font" object should be a reference.\');o=r}else{var g=n.get("Font");g&&(o=g.getRaw(t))}if(!o){var m=\'Font "\'.concat(t||r&&r.toString(),\'" is not available\');if(!this.options.ignoreErrors&&!this.parsingType3Font)return(0,i.warn)("".concat(m,".")),d();this.handler.send("UnsupportedFeature",{featureId:i.UNSUPPORTED_FEATURES.errorFontMissing}),(0,i.warn)("".concat(m," -- attempting to fallback to a default font.")),o=f||e.fallbackFontDict}if(this.fontCache.has(o))return this.fontCache.get(o);if(r=p.fetchIfRef(o),!(0,s.isDict)(r))return d();if(r.cacheKey&&this.fontCache.has(r.cacheKey))return this.fontCache.get(r.cacheKey);var v,y=(0,i.createPromiseCapability)();try{(v=this.preEvaluateFont(r)).cssFontInfo=h}catch(e){return(0,i.warn)(\'loadFont - preEvaluateFont failed: "\'.concat(e,\'".\')),d()}var b,w=v,k=w.descriptor,S=w.hash,x=(0,s.isRef)(o);if(x&&(b="f".concat(o.toString())),S&&(0,s.isDict)(k)){k.fontAliases||(k.fontAliases=Object.create(null));var A=k.fontAliases;if(A[S]){var O=A[S].aliasRef;if(x&&O&&this.fontCache.has(O))return this.fontCache.putAlias(o,O),this.fontCache.get(o)}else A[S]={fontID:this.idFactory.createFontId()};x&&(A[S].aliasRef=o),b=A[S].fontID}return x?this.fontCache.put(o,y.promise):(b||(b=this.idFactory.createFontId()),r.cacheKey="cacheKey_".concat(b),this.fontCache.put(r.cacheKey,y.promise)),(0,i.assert)(b&&b.startsWith("f"),\'The "fontID" must be (correctly) defined.\'),r.loadedName="".concat(this.idFactory.getDocId(),"_").concat(b),this.translateFont(v).then((function(e){void 0!==e.fontType&&(p.stats.fontTypes[e.fontType]=!0),y.resolve(new $({loadedName:r.loadedName,font:e,dict:r,evaluatorOptions:l.options}))})).catch((function(e){l.handler.send("UnsupportedFeature",{featureId:i.UNSUPPORTED_FEATURES.errorFontTranslate}),(0,i.warn)(\'loadFont - translateFont failed: "\'.concat(e,\'".\'));try{var t=k&&k.get("FontFile3"),n=t&&t.get("Subtype"),a=(0,u.getFontType)(v.type,n&&n.name);p.stats.fontTypes[a]=!0}catch(e){}y.resolve(new $({loadedName:r.loadedName,font:new c.ErrorFont(e instanceof Error?e.message:e),dict:r,evaluatorOptions:l.options}))})),y.promise}},{key:"buildPath",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=e.length-1;if(r||(r=[]),a<0||e.fnArray[a]!==i.OPS.constructPath)n&&((0,i.warn)(\'Encountered path operator "\'.concat(t,\'" inside of a text object.\')),e.addOp(i.OPS.save,null)),e.addOp(i.OPS.constructPath,[[t],r]),n&&e.addOp(i.OPS.restore,null);else{var o=e.argsArray[a];o[0].push(t),Array.prototype.push.apply(o[1],r)}}},{key:"parseColorSpace",value:function(e){var t=this,r=e.cs,n=e.resources,a=e.localColorSpaceCache;return b.ColorSpace.parseAsync({cs:r,xref:this.xref,resources:n,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:a}).catch((function(e){if(e instanceof i.AbortException)return null;if(t.options.ignoreErrors)return t.handler.send("UnsupportedFeature",{featureId:i.UNSUPPORTED_FEATURES.errorColorSpace}),(0,i.warn)(\'parseColorSpace - ignoring ColorSpace: "\'.concat(e,\'".\')),null;throw e}))}},{key:"handleColorN",value:function(e,t,r,n,a,o,c,u,l){var f=r.pop();if(f instanceof s.Name){var h=f.name,p=l.getByName(h);if(p)try{var g=n.base?n.base.getRgb(r,0):null,m=(0,d.getTilingPatternIR)(p.operatorListIR,p.dict,g);return void e.addOp(t,m)}catch(e){}var v=a.get(h);if(v){var y=(0,s.isStream)(v)?v.dict:v,b=y.get("PatternType");if(b===D){var w=n.base?n.base.getRgb(r,0):null;return this.handleTilingType(t,w,o,v,y,e,c,h,l)}if(b===L){var k=y.get("Shading"),S=y.getArray("Matrix");return v=d.Pattern.parseShading(k,S,this.xref,o,this.handler,this._pdfFunctionFactory,u),void e.addOp(t,v.getIR())}throw new i.FormatError("Unknown PatternType: ".concat(b))}}throw new i.FormatError("Unknown PatternName: ".concat(f))}},{key:"_parseVisibilityExpression",value:function(e,t,r){if(++t>10)(0,i.warn)("Visibility expression is too deeply nested");else{var n=e.length,a=this.xref.fetchIfRef(e[0]);if(n<2||!(0,s.isName)(a))(0,i.warn)("Invalid visibility expression");else{switch(a.name){case"And":case"Or":case"Not":r.push(a.name);break;default:return void(0,i.warn)("Invalid operator ".concat(a.name," in visibility expression"))}for(var o=1;o<n;o++){var c=e[o],u=this.xref.fetchIfRef(c);if(Array.isArray(u)){var l=[];r.push(l),this._parseVisibilityExpression(u,t,l)}else(0,s.isRef)(c)&&r.push(c.toString())}}}}},{key:"parseMarkedContentProps",value:(r=_(a.default.mark((function e(t,r){var n,o,c,u,l,f,h,d,p,g;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(0,s.isName)(t)){e.next=5;break}o=r.get("Properties"),n=o.get(t.name),e.next=10;break;case 5:if(!(0,s.isDict)(t)){e.next=9;break}n=t,e.next=10;break;case 9:throw new i.FormatError("Optional content properties malformed.");case 10:if("OCG"!==(c=n.get("Type").name)){e.next=15;break}return e.abrupt("return",{type:c,id:n.objId});case 15:if("OCMD"!==c){e.next=31;break}if(u=n.get("VE"),!Array.isArray(u)){e.next=22;break}if(l=[],this._parseVisibilityExpression(u,0,l),!(l.length>0)){e.next=22;break}return e.abrupt("return",{type:"OCMD",expression:l});case 22:if(f=n.get("OCGs"),!Array.isArray(f)&&!(0,s.isDict)(f)){e.next=29;break}if(h=[],Array.isArray(f)){d=I(f);try{for(d.s();!(p=d.n()).done;)g=p.value,h.push(g.toString())}catch(e){d.e(e)}finally{d.f()}}else h.push(f.objId);return e.abrupt("return",{type:c,ids:h,policy:(0,s.isName)(n.get("P"))?n.get("P").name:null,expression:null});case 29:if(!(0,s.isRef)(f)){e.next=31;break}return e.abrupt("return",{type:c,id:f.toString()});case 31:return e.abrupt("return",null);case 32:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)})},{key:"getOperatorList",value:function(e){var t=this,r=e.stream,n=e.task,a=e.resources,o=e.operatorList,c=e.initialState,u=void 0===c?null:c,l=e.fallbackFontDict,f=void 0===l?null:l;if(a=a||s.Dict.empty,u=u||new W,!o)throw new Error(\'getOperatorList: missing "operatorList" parameter\');var h=this,p=this.xref,g=!1,m=new v.LocalImageCache,y=new v.LocalColorSpaceCache,w=new v.LocalGStateCache,k=new v.LocalTilingPatternCache,S=a.get("XObject")||s.Dict.empty,x=a.get("Pattern")||s.Dict.empty,A=new z(u),O=new V(r,p,A),C=new X;function T(e){for(var t=0,r=O.savedStatesDepth;t<r;t++)o.addOp(i.OPS.restore,[])}return new Promise((function e(t,r){var c=function(n){Promise.all([n,o.ready]).then((function(){try{e(t,r)}catch(e){r(e)}}),r)};n.ensureNotTerminated(),C.reset();for(var u,l,v,F,P,_={};!(u=C.check())&&(_.args=null,O.read(_));){var I=_.args,E=_.fn;switch(0|E){case i.OPS.paintXObject:if(P=I[0].name){var j=m.getByName(P);if(j){o.addOp(j.fn,j.args),I=null;continue}}return void c(new Promise((function(e,t){if(!P)throw new i.FormatError("XObject must be referred to by name.");var r=S.getRaw(P);if(r instanceof s.Ref){var c=m.getByRef(r);if(c)return o.addOp(c.fn,c.args),void e();var u=h.globalImageCache.getData(r,h.pageIndex);if(u)return o.addDependency(u.objId),o.addOp(u.fn,u.args),void e();r=p.fetch(r)}if(!(0,s.isStream)(r))throw new i.FormatError("XObject should be a stream");var l=r.dict.get("Subtype");if(!(0,s.isName)(l))throw new i.FormatError("XObject should have a Name subtype");if("Form"===l.name)return A.save(),void h.buildFormXObject(a,r,null,o,n,A.state.clone(),y).then((function(){A.restore(),e()}),t);if("Image"!==l.name){if("PS"!==l.name)throw new i.FormatError("Unhandled XObject subtype ".concat(l.name));(0,i.info)("Ignored XObject subtype PS"),e()}else h.buildPaintImageXObject({resources:a,image:r,operatorList:o,cacheKey:P,localImageCache:m,localColorSpaceCache:y}).then(e,t)})).catch((function(e){if(!(e instanceof i.AbortException)){if(h.options.ignoreErrors)return h.handler.send("UnsupportedFeature",{featureId:i.UNSUPPORTED_FEATURES.errorXObject}),void(0,i.warn)(\'getOperatorList - ignoring XObject: "\'.concat(e,\'".\'));throw e}})));case i.OPS.setFont:var R=I[1];return void c(h.handleSetFont(a,I,null,o,n,A.state,f).then((function(e){o.addDependency(e),o.addOp(i.OPS.setFont,[e,R])})));case i.OPS.beginText:g=!0;break;case i.OPS.endText:g=!1;break;case i.OPS.endInlineImage:var M=I[0].cacheKey;if(M){var N=m.getByName(M);if(N){o.addOp(N.fn,N.args),I=null;continue}}return void c(h.buildPaintImageXObject({resources:a,image:I[0],isInline:!0,operatorList:o,cacheKey:M,localImageCache:m,localColorSpaceCache:y}));case i.OPS.showText:if(!A.state.font){h.ensureStateFont(A.state);continue}I[0]=h.handleText(I[0],A.state);break;case i.OPS.showSpacedText:if(!A.state.font){h.ensureStateFont(A.state);continue}var B=I[0],D=[],L=B.length,q=A.state;for(l=0;l<L;++l){var X=B[l];(0,i.isString)(X)?Array.prototype.push.apply(D,h.handleText(X,q)):(0,i.isNum)(X)&&D.push(X)}I[0]=D,E=i.OPS.showText;break;case i.OPS.nextLineShowText:if(!A.state.font){h.ensureStateFont(A.state);continue}o.addOp(i.OPS.nextLine),I[0]=h.handleText(I[0],A.state),E=i.OPS.showText;break;case i.OPS.nextLineSetSpacingShowText:if(!A.state.font){h.ensureStateFont(A.state);continue}o.addOp(i.OPS.nextLine),o.addOp(i.OPS.setWordSpacing,[I.shift()]),o.addOp(i.OPS.setCharSpacing,[I.shift()]),I[0]=h.handleText(I[0],A.state),E=i.OPS.showText;break;case i.OPS.setTextRenderingMode:A.state.textRenderingMode=I[0];break;case i.OPS.setFillColorSpace:var H=b.ColorSpace.getCached(I[0],p,y);if(H){A.state.fillColorSpace=H;continue}return void c(h.parseColorSpace({cs:I[0],resources:a,localColorSpaceCache:y}).then((function(e){e&&(A.state.fillColorSpace=e)})));case i.OPS.setStrokeColorSpace:var $=b.ColorSpace.getCached(I[0],p,y);if($){A.state.strokeColorSpace=$;continue}return void c(h.parseColorSpace({cs:I[0],resources:a,localColorSpaceCache:y}).then((function(e){e&&(A.state.strokeColorSpace=e)})));case i.OPS.setFillColor:I=(F=A.state.fillColorSpace).getRgb(I,0),E=i.OPS.setFillRGBColor;break;case i.OPS.setStrokeColor:I=(F=A.state.strokeColorSpace).getRgb(I,0),E=i.OPS.setStrokeRGBColor;break;case i.OPS.setFillGray:A.state.fillColorSpace=b.ColorSpace.singletons.gray,I=b.ColorSpace.singletons.gray.getRgb(I,0),E=i.OPS.setFillRGBColor;break;case i.OPS.setStrokeGray:A.state.strokeColorSpace=b.ColorSpace.singletons.gray,I=b.ColorSpace.singletons.gray.getRgb(I,0),E=i.OPS.setStrokeRGBColor;break;case i.OPS.setFillCMYKColor:A.state.fillColorSpace=b.ColorSpace.singletons.cmyk,I=b.ColorSpace.singletons.cmyk.getRgb(I,0),E=i.OPS.setFillRGBColor;break;case i.OPS.setStrokeCMYKColor:A.state.strokeColorSpace=b.ColorSpace.singletons.cmyk,I=b.ColorSpace.singletons.cmyk.getRgb(I,0),E=i.OPS.setStrokeRGBColor;break;case i.OPS.setFillRGBColor:A.state.fillColorSpace=b.ColorSpace.singletons.rgb,I=b.ColorSpace.singletons.rgb.getRgb(I,0);break;case i.OPS.setStrokeRGBColor:A.state.strokeColorSpace=b.ColorSpace.singletons.rgb,I=b.ColorSpace.singletons.rgb.getRgb(I,0);break;case i.OPS.setFillColorN:if("Pattern"===(F=A.state.fillColorSpace).name)return void c(h.handleColorN(o,i.OPS.setFillColorN,I,F,x,a,n,y,k));I=F.getRgb(I,0),E=i.OPS.setFillRGBColor;break;case i.OPS.setStrokeColorN:if("Pattern"===(F=A.state.strokeColorSpace).name)return void c(h.handleColorN(o,i.OPS.setStrokeColorN,I,F,x,a,n,y,k));I=F.getRgb(I,0),E=i.OPS.setStrokeRGBColor;break;case i.OPS.shadingFill:var z=a.get("Shading");if(!z)throw new i.FormatError("No shading resource found");var G=z.get(I[0].name);if(!G)throw new i.FormatError("No shading object found");I=[d.Pattern.parseShading(G,null,p,a,h.handler,h._pdfFunctionFactory,y).getIR()],E=i.OPS.shadingFill;break;case i.OPS.setGState:if(P=I[0].name){var W=w.getByName(P);if(W){W.length>0&&o.addOp(i.OPS.setGState,[W]),I=null;continue}}return void c(new Promise((function(e,t){if(!P)throw new i.FormatError("GState must be referred to by name.");var r=a.get("ExtGState");if(!(r instanceof s.Dict))throw new i.FormatError("ExtGState should be a dictionary.");var c=r.get(P);if(!(c instanceof s.Dict))throw new i.FormatError("GState should be a dictionary.");h.setGState({resources:a,gState:c,operatorList:o,cacheKey:P,task:n,stateManager:A,localGStateCache:w,localColorSpaceCache:y}).then(e,t)})).catch((function(e){if(!(e instanceof i.AbortException)){if(h.options.ignoreErrors)return h.handler.send("UnsupportedFeature",{featureId:i.UNSUPPORTED_FEATURES.errorExtGState}),void(0,i.warn)(\'getOperatorList - ignoring ExtGState: "\'.concat(e,\'".\'));throw e}})));case i.OPS.moveTo:case i.OPS.lineTo:case i.OPS.curveTo:case i.OPS.curveTo2:case i.OPS.curveTo3:case i.OPS.closePath:case i.OPS.rectangle:h.buildPath(o,E,I,g);continue;case i.OPS.markPoint:case i.OPS.markPointProps:case i.OPS.beginCompat:case i.OPS.endCompat:continue;case i.OPS.beginMarkedContentProps:if(!(0,s.isName)(I[0])){(0,i.warn)("Expected name for beginMarkedContentProps arg0=".concat(I[0]));continue}if("OC"===I[0].name)return void c(h.parseMarkedContentProps(I[1],a).then((function(e){o.addOp(i.OPS.beginMarkedContentProps,["OC",e])})).catch((function(e){if(!(e instanceof i.AbortException)){if(h.options.ignoreErrors)return h.handler.send("UnsupportedFeature",{featureId:i.UNSUPPORTED_FEATURES.errorMarkedContent}),void(0,i.warn)(\'getOperatorList - ignoring beginMarkedContentProps: "\'.concat(e,\'".\'));throw e}})));I=[I[0].name,I[1]instanceof s.Dict?I[1].get("MCID"):null];break;case i.OPS.beginMarkedContent:case i.OPS.endMarkedContent:default:if(null!==I){for(l=0,v=I.length;l<v&&!(I[l]instanceof s.Dict);l++);if(l<v){(0,i.warn)("getOperatorList - ignoring operator: "+E);continue}}}o.addOp(E,I)}u?c(U):(T(),t())})).catch((function(e){if(!(e instanceof i.AbortException)){if(t.options.ignoreErrors)return t.handler.send("UnsupportedFeature",{featureId:i.UNSUPPORTED_FEATURES.errorOperatorList}),(0,i.warn)(\'getOperatorList - ignoring errors during "\'.concat(n.name,\'" \')+\'task: "\'.concat(e,\'".\')),void T();throw e}}))}},{key:"getTextContent",value:function(e){var t=this,r=e.stream,n=e.task,a=e.resources,o=e.stateManager,c=void 0===o?null:o,u=e.normalizeWhitespace,l=void 0!==u&&u,h=e.combineTextItems,d=void 0!==h&&h,p=e.includeMarkedContent,g=void 0!==p&&p,m=e.sink,b=e.seenStyles,w=void 0===b?new Set:b;a=a||s.Dict.empty,c=c||new z(new G);var k,S=/\\s/g,x={items:[],styles:Object.create(null)},A={initialized:!1,str:[],totalWidth:0,totalHeight:0,width:0,height:0,vertical:!1,lastCharSize:0,prevTransform:null,textAdvanceScale:0,spaceWidth:0,spaceInFlowMin:0,spaceInFlowMax:0,trackingSpaceMin:1/0,transform:null,fontName:null,hasEOL:!1,isLastCharWhiteSpace:!1},O=this,C=this.xref,T=[],F=null,P=new v.LocalImageCache,_=new v.LocalGStateCache,I=new V(r,C,c);function E(){var e=k.font,t=[k.fontSize*k.textHScale,0,0,k.fontSize,0,k.textRise];if(e.isType3Font&&k.fontSize<=1&&!(0,i.isArrayEqual)(k.fontMatrix,i.FONT_IDENTITY_MATRIX)){var r=e.bbox[3]-e.bbox[1];r>0&&(t[3]*=r*k.fontMatrix[3])}return i.Util.transform(k.ctm,i.Util.transform(k.textMatrix,t))}function j(){if(A.initialized)return A;var e=k.font,t=e.loadedName;w.has(t)||(w.add(t),x.styles[t]={fontFamily:e.fallbackName,ascent:e.ascent,descent:e.descent,vertical:e.vertical}),A.fontName=t;var r=A.transform=E();e.vertical?(A.width=A.totalWidth=Math.hypot(r[0],r[1]),A.height=A.totalHeight=0,A.vertical=!0):(A.width=A.totalWidth=0,A.height=A.totalHeight=Math.hypot(r[2],r[3]),A.vertical=!1);var n=Math.hypot(k.textLineMatrix[0],k.textLineMatrix[1]),a=Math.hypot(k.ctm[0],k.ctm[1]);A.textAdvanceScale=a*n,A.lastCharSize=A.lastCharSize||0;var i=e.spaceWidth/1e3*k.fontSize;return i?(A.spaceWidth=i,A.trackingSpaceMin=.3*i,A.spaceInFlowMin=.3*i,A.spaceInFlowMax=1.3*i):(A.spaceWidth=0,A.trackingSpaceMin=1/0),A.hasEOL=!1,A.initialized=!0,A}function R(){if(A.initialized){var e=Math.hypot(k.textLineMatrix[0],k.textLineMatrix[1]),t=Math.hypot(k.ctm[0],k.ctm[1])*e;t!==A.textAdvanceScale&&(A.vertical?(A.totalHeight+=A.height*A.textAdvanceScale,A.height=0):(A.totalWidth+=A.width*A.textAdvanceScale,A.width=0),A.textAdvanceScale=t)}}function M(e){var t=e.str.join(""),r=(0,y.bidi)(t,-1,e.vertical);return{str:l?function(e){for(var t,r=e.length,n=0;n<r&&(t=e.charCodeAt(n))>=32&&t<=127;)n++;return n<r?e.replace(S," "):e}(r.str):r.str,dir:r.dir,width:e.totalWidth,height:e.totalHeight,transform:e.transform,fontName:e.fontName,hasEOL:e.hasEOL}}function N(e,t){return O.loadFont(e,t,a).then((function(e){k.font=e.font,k.fontMatrix=e.font.fontMatrix||i.FONT_IDENTITY_MATRIX}))}function B(e){var t=e.chars,r=e.extraSpacing,n=e.isFirstChunk,a=k.font;if(t){var i=(0,f.getNormalizedUnicodes)(),o=a.charsToGlyphs(t),s=k.fontMatrix[0]*k.fontSize;n&&function(e){if(d&&k.font&&A.prevTransform){var t=E(),r=t[4],n=t[5],a=A.prevTransform[4],i=A.prevTransform[5];if(a!==r||i!==n){var o=(r-a)/A.textAdvanceScale,s=(n-i)/A.textAdvanceScale,c=-.5*A.lastCharSize;if(k.font.vertical){if(Math.abs(o)>A.width/A.textAdvanceScale)return void D();if(c>s)return;s>A.trackingSpaceMin?A.height+=s:L(s,0,A.prevTransform)||(0===A.str.length?(x.items.push({str:" ",dir:"ltr",width:0,height:s,transform:A.prevTransform,fontName:A.fontName,hasEOL:!1}),A.isLastCharWhiteSpace=!0):A.height+=s)}else Math.abs(s)>A.height/A.textAdvanceScale?D():c>o||(o<=A.trackingSpaceMin?A.width+=o:L(o,0,A.prevTransform)||(0===A.str.length?(x.items.push({str:" ",dir:"ltr",width:o,height:0,transform:A.prevTransform,fontName:A.fontName,hasEOL:!1}),A.isLastCharWhiteSpace=!0):A.width+=o))}}}();for(var c=j(),u=0,l=0,h=0,p=o.length;h<p;h++){var g=o[h],m=k.charSpacing+(h===p-1?r:0),v=g.unicode;g.isSpace?(m+=k.wordSpacing,c.isLastCharWhiteSpace=!0):(v=i[v]||v,v=(0,f.reverseIfRtl)(v),c.isLastCharWhiteSpace=!1),c.str.push(v);var y=(a.vertical&&g.vmetric?g.vmetric[0]:g.width)*s;if(a.vertical?(k.translateTextMatrix(0,y),y=Math.abs(y)):(y*=k.textHScale,k.translateTextMatrix(y,0)),u+=y,m){a.vertical||(m*=k.textHScale),y+=m;var b=m>A.trackingSpaceMin&&L(m,u);a.vertical?k.translateTextMatrix(0,m):k.translateTextMatrix(m,0),b?(c=j(),u=0):u+=m}l=y}c.lastCharSize=l,a.vertical?c.height+=u:c.width+=u,c.prevTransform=E()}else{var w=k.charSpacing+r;w&&(a.vertical?k.translateTextMatrix(0,w):k.translateTextMatrix(w*k.textHScale,0))}}function D(){A.initialized?(A.hasEOL=!0,q()):x.items.length>0?x.items[x.items.length-1].hasEOL=!0:x.items.push({str:"",dir:"ltr",width:0,height:0,transform:E(),fontName:k.font.loadedName,hasEOL:!0}),A.isLastCharWhiteSpace=!1,A.lastCharSize=0}function L(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(A.spaceInFlowMin<=e&&e<=A.spaceInFlowMax)return A.initialized&&(A.str.push(" "),A.isLastCharWhiteSpace=!0),!1;var n=A.fontName,a=0;return e*=A.textAdvanceScale,A.vertical?(A.height+=t,a=e,e=0):A.width+=t,q(),A.isLastCharWhiteSpace||(A.isLastCharWhiteSpace=!0,x.items.push({str:" ",dir:"ltr",width:e,height:a,transform:r||E(),fontName:n,hasEOL:!1})),!0}function q(){A.initialized&&A.str&&(A.vertical?A.totalHeight+=A.height*A.textAdvanceScale:A.totalWidth+=A.width*A.textAdvanceScale,x.items.push(M(A)),A.initialized=!1,A.str.length=0)}function H(){var e=x.items.length;e>0&&(m.enqueue(x,e),x.items=[],x.styles=Object.create(null))}var $=new X;return new Promise((function e(t,r){var o=function(n){H(),Promise.all([n,m.ready]).then((function(){try{e(t,r)}catch(e){r(e)}}),r)};n.ensureNotTerminated(),$.reset();for(var u,f={},h=[];!(u=$.check())&&(h.length=0,f.args=h,I.read(f));){k=c.state;var p=f.fn;switch(h=f.args,0|p){case i.OPS.setFont:var v=h[0].name,y=h[1];if(k.font&&v===k.fontName&&y===k.fontSize)break;return q(),k.fontName=v,k.fontSize=y,void o(N(v,null));case i.OPS.setTextRise:q(),k.textRise=h[0];break;case i.OPS.setHScale:q(),k.textHScale=h[0]/100;break;case i.OPS.setLeading:q(),k.leading=h[0];break;case i.OPS.moveText:k.translateTextLineMatrix(h[0],h[1]),k.textMatrix=k.textLineMatrix.slice();break;case i.OPS.setLeadingMoveText:q(),k.leading=-h[1],k.translateTextLineMatrix(h[0],h[1]),k.textMatrix=k.textLineMatrix.slice();break;case i.OPS.nextLine:D(),k.carriageReturn();break;case i.OPS.setTextMatrix:k.setTextMatrix(h[0],h[1],h[2],h[3],h[4],h[5]),k.setTextLineMatrix(h[0],h[1],h[2],h[3],h[4],h[5]),R();break;case i.OPS.setCharSpacing:k.charSpacing=h[0];break;case i.OPS.setWordSpacing:k.wordSpacing=h[0];break;case i.OPS.beginText:q(),k.textMatrix=i.IDENTITY_MATRIX.slice(),k.textLineMatrix=i.IDENTITY_MATRIX.slice();break;case i.OPS.showSpacedText:if(!c.state.font){O.ensureStateFont(c.state);continue}for(var b=(k.font.vertical?1:-1)*k.fontSize/1e3,S=h[0],E=!0,j=0,M=S.length;j<M-1;j++){var L=S[j];if("string"==typeof L)T.push(L);else if("number"==typeof L&&0!==L){var X=T.join("");T.length=0,B({chars:X,extraSpacing:L*b,isFirstChunk:E}),X&&E&&(E=!1)}}var G=S[S.length-1];if("string"==typeof G&&T.push(G),T.length>0){var W=T.join("");T.length=0,B({chars:W,extraSpacing:0,isFirstChunk:E})}break;case i.OPS.showText:if(!c.state.font){O.ensureStateFont(c.state);continue}B({chars:h[0],extraSpacing:0,isFirstChunk:!0});break;case i.OPS.nextLineShowText:if(!c.state.font){O.ensureStateFont(c.state);continue}A.hasEOL=!0,q(),k.carriageReturn(),B({chars:h[0],extraSpacing:0,isFirstChunk:!0});break;case i.OPS.nextLineSetSpacingShowText:if(!c.state.font){O.ensureStateFont(c.state);continue}A.hasEOL=!0,q(),k.wordSpacing=h[0],k.charSpacing=h[1],k.carriageReturn(),B({chars:h[2],extraSpacing:0,isFirstChunk:!0});break;case i.OPS.paintXObject:q(),F||(F=a.get("XObject")||s.Dict.empty);var V=h[0].name;if(V&&P.getByName(V))break;return void o(new Promise((function(e,t){if(!V)throw new i.FormatError("XObject must be referred to by name.");var r=F.getRaw(V);if(r instanceof s.Ref){if(P.getByRef(r))return void e();if(O.globalImageCache.getData(r,O.pageIndex))return void e();r=C.fetch(r)}if(!(0,s.isStream)(r))throw new i.FormatError("XObject should be a stream");var o=r.dict.get("Subtype");if(!(0,s.isName)(o))throw new i.FormatError("XObject should have a Name subtype");if("Form"!==o.name)return P.set(V,r.dict.objId,!0),void e();var u=c.state.clone(),f=new z(u),h=r.dict.getArray("Matrix");Array.isArray(h)&&6===h.length&&f.transform(h),H();var p={enqueueInvoked:!1,enqueue:function(e,t){this.enqueueInvoked=!0,m.enqueue(e,t)},get desiredSize(){return m.desiredSize},get ready(){return m.ready}};O.getTextContent({stream:r,task:n,resources:r.dict.get("Resources")||a,stateManager:f,normalizeWhitespace:l,combineTextItems:d,includeMarkedContent:g,sink:p,seenStyles:w}).then((function(){p.enqueueInvoked||P.set(V,r.dict.objId,!0),e()}),t)})).catch((function(e){if(!(e instanceof i.AbortException)){if(!O.options.ignoreErrors)throw e;(0,i.warn)(\'getTextContent - ignoring XObject: "\'.concat(e,\'".\'))}})));case i.OPS.setGState:if((V=h[0].name)&&_.getByName(V))break;return void o(new Promise((function(e,t){if(!V)throw new i.FormatError("GState must be referred to by name.");var r=a.get("ExtGState");if(!(r instanceof s.Dict))throw new i.FormatError("ExtGState should be a dictionary.");var n=r.get(V);if(!(n instanceof s.Dict))throw new i.FormatError("GState should be a dictionary.");var o=n.get("Font");if(!o)return _.set(V,n.objId,!0),void e();q(),k.fontName=null,k.fontSize=o[1],N(null,o[0]).then(e,t)})).catch((function(e){if(!(e instanceof i.AbortException)){if(!O.options.ignoreErrors)throw e;(0,i.warn)(\'getTextContent - ignoring ExtGState: "\'.concat(e,\'".\'))}})));case i.OPS.beginMarkedContent:g&&x.items.push({type:"beginMarkedContent",tag:(0,s.isName)(h[0])?h[0].name:null});break;case i.OPS.beginMarkedContentProps:if(g){q();var K=null;(0,s.isDict)(h[1])&&(K=h[1].get("MCID")),x.items.push({type:"beginMarkedContentProps",id:Number.isInteger(K)?"".concat(O.idFactory.getPageObjId(),"_mcid").concat(K):null,tag:(0,s.isName)(h[0])?h[0].name:null})}break;case i.OPS.endMarkedContent:g&&(q(),x.items.push({type:"endMarkedContent"}))}if(x.items.length>=m.desiredSize){u=!0;break}}u?o(U):(q(),H(),t())})).catch((function(e){if(!(e instanceof i.AbortException)){if(t.options.ignoreErrors)return(0,i.warn)(\'getTextContent - ignoring errors during "\'.concat(n.name,\'" \')+\'task: "\'.concat(e,\'".\')),q(),void H();throw e}}))}},{key:"extractDataStructures",value:function(e,t,r){var n,a=this,o=this.xref,c=this.readToUnicode(r.toUnicode||e.get("ToUnicode")||t.get("ToUnicode"));if(r.composite){var f=e.get("CIDSystemInfo");(0,s.isDict)(f)&&(r.cidSystemInfo={registry:(0,i.stringToPDFString)(f.get("Registry")),ordering:(0,i.stringToPDFString)(f.get("Ordering")),supplement:f.get("Supplement")});var h=e.get("CIDToGIDMap");(0,s.isStream)(h)&&(n=h.getBytes())}var d,p=[],g=null;if(e.has("Encoding")){if(d=e.get("Encoding"),(0,s.isDict)(d)){if(g=d.get("BaseEncoding"),g=(0,s.isName)(g)?g.name:null,d.has("Differences"))for(var m=d.get("Differences"),v=0,y=0,b=m.length;y<b;y++){var w=o.fetchIfRef(m[y]);if((0,i.isNum)(w))v=w;else{if(!(0,s.isName)(w))throw new i.FormatError("Invalid entry in \'Differences\' array: ".concat(w));p[v++]=w.name}}}else{if(!(0,s.isName)(d))throw new i.FormatError("Encoding is not a Name nor a Dict");g=d.name}"MacRomanEncoding"!==g&&"MacExpertEncoding"!==g&&"WinAnsiEncoding"!==g&&(g=null)}if(g)r.defaultEncoding=(0,l.getEncoding)(g);else{var k=!!(r.flags&u.FontFlags.Symbolic),S=!!(r.flags&u.FontFlags.Nonsymbolic);d=l.StandardEncoding,"TrueType"!==r.type||S||(d=l.WinAnsiEncoding),k&&(d=l.MacRomanEncoding,r.file||(/Symbol/i.test(r.name)?d=l.SymbolSetEncoding:/Dingbats|Wingdings/i.test(r.name)&&(d=l.ZapfDingbatsEncoding))),r.defaultEncoding=d}return r.differences=p,r.baseEncodingName=g,r.hasEncoding=!!g||p.length>0,r.dict=e,c.then((function(e){return r.toUnicode=e,a.buildToUnicode(r)})).then((function(e){return r.toUnicode=e,n&&(r.cidToGidMap=a.readCidToGidMap(n,e)),r}))}},{key:"_buildSimpleFontToUnicode",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,i.assert)(!e.composite,"Must be a simple font.");var r=[],n=e.defaultEncoding.slice(),a=e.baseEncodingName,o=e.differences;for(var s in o){var c=o[s];".notdef"!==c&&(n[s]=c)}var u=(0,k.getGlyphsUnicode)();for(var h in n){var d=n[h];if(""!==d)if(void 0!==u[d])r[h]=String.fromCharCode(u[d]);else{var g=0;switch(d[0]){case"G":3===d.length&&(g=parseInt(d.substring(1),16));break;case"g":5===d.length&&(g=parseInt(d.substring(1),16));break;case"C":case"c":if(d.length>=3&&d.length<=4){var m=d.substring(1);if(t){g=parseInt(m,16);break}if(g=+m,Number.isNaN(g)&&Number.isInteger(parseInt(m,16)))return this._buildSimpleFontToUnicode(e,!0)}break;default:var v=(0,f.getUnicodeForGlyph)(d,u);-1!==v&&(g=v)}if(g>0&&g<=1114111&&Number.isInteger(g)){if(a&&g===+h){var y=(0,l.getEncoding)(a);if(y&&(d=y[h])){r[h]=String.fromCharCode(u[d]);continue}}r[h]=String.fromCodePoint(g)}}}return new p.ToUnicodeMap(r)}},{key:"buildToUnicode",value:function(e){if(e.hasIncludedToUnicodeMap=!!e.toUnicode&&e.toUnicode.length>0,e.hasIncludedToUnicodeMap)return!e.composite&&e.hasEncoding&&(e.fallbackToUnicode=this._buildSimpleFontToUnicode(e)),Promise.resolve(e.toUnicode);if(!e.composite)return Promise.resolve(this._buildSimpleFontToUnicode(e));if(e.composite&&(e.cMap.builtInCMap&&!(e.cMap instanceof o.IdentityCMap)||"Adobe"===e.cidSystemInfo.registry&&("GB1"===e.cidSystemInfo.ordering||"CNS1"===e.cidSystemInfo.ordering||"Japan1"===e.cidSystemInfo.ordering||"Korea1"===e.cidSystemInfo.ordering))){var t=e.cidSystemInfo.registry,r=e.cidSystemInfo.ordering,n=s.Name.get(t+"-"+r+"-UCS2");return o.CMapFactory.create({encoding:n,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}).then((function(t){var r=e.cMap,n=[];return r.forEach((function(e,r){if(r>65535)throw new i.FormatError("Max size of CID is 65,535");var a=t.lookup(r);a&&(n[e]=String.fromCharCode((a.charCodeAt(0)<<8)+a.charCodeAt(1)))})),new p.ToUnicodeMap(n)}))}return Promise.resolve(new p.IdentityToUnicodeMap(e.firstChar,e.lastChar))}},{key:"readToUnicode",value:function(e){var t=this;return e?(0,s.isName)(e)?o.CMapFactory.create({encoding:e,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}).then((function(e){return e instanceof o.IdentityCMap?new p.IdentityToUnicodeMap(0,65535):new p.ToUnicodeMap(e.getMap())})):(0,s.isStream)(e)?o.CMapFactory.create({encoding:e,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}).then((function(e){if(e instanceof o.IdentityCMap)return new p.IdentityToUnicodeMap(0,65535);var t=new Array(e.length);return e.forEach((function(e,r){for(var n=[],a=0;a<r.length;a+=2){var i=r.charCodeAt(a)<<8|r.charCodeAt(a+1);if(55296==(63488&i)){a+=2;var o=r.charCodeAt(a)<<8|r.charCodeAt(a+1);n.push(((1023&i)<<10)+(1023&o)+65536)}else n.push(i)}t[e]=String.fromCodePoint.apply(String,n)})),new p.ToUnicodeMap(t)}),(function(e){if(e instanceof i.AbortException)return null;if(t.options.ignoreErrors)return t.handler.send("UnsupportedFeature",{featureId:i.UNSUPPORTED_FEATURES.errorFontToUnicode}),(0,i.warn)(\'readToUnicode - ignoring ToUnicode data: "\'.concat(e,\'".\')),null;throw e})):Promise.resolve(null):Promise.resolve(null)}},{key:"readCidToGidMap",value:function(e,t){for(var r=[],n=0,a=e.length;n<a;n++){var i=e[n++]<<8|e[n],o=n>>1;(0!==i||t.has(o))&&(r[o]=i)}return r}},{key:"extractWidths",value:function(e,t,r){var n,a,i,o,c,l,f,h,d=this.xref,p=[],g=0,m=[];if(r.composite){if(g=e.has("DW")?e.get("DW"):1e3,h=e.get("W"))for(a=0,i=h.length;a<i;a++)if(l=d.fetchIfRef(h[a++]),f=d.fetchIfRef(h[a]),Array.isArray(f))for(o=0,c=f.length;o<c;o++)p[l++]=d.fetchIfRef(f[o]);else{var v=d.fetchIfRef(h[++a]);for(o=l;o<=f;o++)p[o]=v}if(r.vertical){var y=e.getArray("DW2")||[880,-1e3];if(n=[y[1],.5*g,y[0]],y=e.get("W2"))for(a=0,i=y.length;a<i;a++)if(l=d.fetchIfRef(y[a++]),f=d.fetchIfRef(y[a]),Array.isArray(f))for(o=0,c=f.length;o<c;o++)m[l++]=[d.fetchIfRef(f[o++]),d.fetchIfRef(f[o++]),d.fetchIfRef(f[o])];else{var b=[d.fetchIfRef(y[++a]),d.fetchIfRef(y[++a]),d.fetchIfRef(y[++a])];for(o=l;o<=f;o++)m[o]=b}}}else{var w=r.firstChar;if(h=e.get("Widths")){for(o=w,a=0,i=h.length;a<i;a++)p[o++]=d.fetchIfRef(h[a]);g=parseFloat(t.get("MissingWidth"))||0}else{var k=e.get("BaseFont");if((0,s.isName)(k)){var S=this.getBaseFontMetrics(k.name);p=this.buildCharCodeToWidth(S.widths,r),g=S.defaultWidth}}}var x=!0,A=g;for(var O in p){var C=p[O];if(C)if(A){if(A!==C){x=!1;break}}else A=C}x&&(r.flags|=u.FontFlags.FixedPitch),r.defaultWidth=g,r.widths=p,r.defaultVMetrics=n,r.vmetrics=m}},{key:"isSerifFont",value:function(e){var t=e.split("-")[0];return t in(0,h.getSerifFonts)()||-1!==t.search(/serif/gi)}},{key:"getBaseFontMetrics",value:function(e){var t=0,r=Object.create(null),n=!1,a=(0,h.getStdFontMap)()[e]||e,o=(0,x.getMetrics)();a in o||(a=this.isSerifFont(e)?"Times-Roman":"Helvetica");var s=o[a];return(0,i.isNum)(s)?(t=s,n=!0):r=s(),{defaultWidth:t,monospace:n,widths:r}}},{key:"buildCharCodeToWidth",value:function(e,t){for(var r=Object.create(null),n=t.differences,a=t.defaultEncoding,i=0;i<256;i++)i in n&&e[n[i]]?r[i]=e[n[i]]:i in a&&e[a[i]]&&(r[i]=e[a[i]]);return r}},{key:"preEvaluateFont",value:function(e){var t=e,r=e.get("Subtype");if(!(0,s.isName)(r))throw new i.FormatError("invalid font Subtype");var n,a,o=!1;if("Type0"===r.name){var c=e.get("DescendantFonts");if(!c)throw new i.FormatError("Descendant fonts are not specified");if(!((e=Array.isArray(c)?this.xref.fetchIfRef(c[0]):c)instanceof s.Dict))throw new i.FormatError("Descendant font is not a dictionary.");if(r=e.get("Subtype"),!(0,s.isName)(r))throw new i.FormatError("invalid font Subtype");o=!0}var u=e.get("FirstChar")||0,l=e.get("LastChar")||(o?65535:255),f=e.get("FontDescriptor");if(f){n=new A.MurmurHash3_64;var h=t.getRaw("Encoding");if((0,s.isName)(h))n.update(h.name);else if((0,s.isRef)(h))n.update(h.toString());else if((0,s.isDict)(h)){var d,p=I(h.getRawValues());try{for(p.s();!(d=p.n()).done;){var g=d.value;if((0,s.isName)(g))n.update(g.name);else if((0,s.isRef)(g))n.update(g.toString());else if(Array.isArray(g)){for(var m=g.length,v=new Array(m),y=0;y<m;y++){var b=g[y];(0,s.isName)(b)?v[y]=b.name:((0,i.isNum)(b)||(0,s.isRef)(b))&&(v[y]=b.toString())}n.update(v.join())}}}catch(e){p.e(e)}finally{p.f()}}if(n.update("".concat(u,"-").concat(l)),a=e.get("ToUnicode")||t.get("ToUnicode"),(0,s.isStream)(a)){var w=a.str||a,k=w.buffer?new Uint8Array(w.buffer.buffer,0,w.bufferLength):new Uint8Array(w.bytes.buffer,w.start,w.end-w.start);n.update(k)}else(0,s.isName)(a)&&n.update(a.name);var S=e.get("Widths")||t.get("Widths");if(Array.isArray(S)){var x,O=[],C=I(S);try{for(C.s();!(x=C.n()).done;){var T=x.value;((0,i.isNum)(T)||(0,s.isRef)(T))&&O.push(T.toString())}}catch(e){C.e(e)}finally{C.f()}n.update(O.join())}if(o){n.update("compositeFont");var F=e.get("W")||t.get("W");if(Array.isArray(F)){var P,_=[],E=I(F);try{for(E.s();!(P=E.n()).done;){var j=P.value;if((0,i.isNum)(j)||(0,s.isRef)(j))_.push(j.toString());else if(Array.isArray(j)){var R,M=[],N=I(j);try{for(N.s();!(R=N.n()).done;){var B=R.value;((0,i.isNum)(B)||(0,s.isRef)(B))&&M.push(B.toString())}}catch(e){N.e(e)}finally{N.f()}_.push("[".concat(M.join(),"]"))}}}catch(e){E.e(e)}finally{E.f()}n.update(_.join())}}}return{descriptor:f,dict:e,baseDict:t,composite:o,type:r.name,firstChar:u,lastChar:l,toUnicode:a,hash:n?n.hexdigest():""}}},{key:"translateFont",value:(t=_(a.default.mark((function e(t){var r,n,l,f,d,p,g,m,v,y,b,w,k,S,x,A,C,T,F,P,_,I,E,j,R,M,N,B,D=this;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.descriptor,n=t.dict,l=t.baseDict,f=t.composite,d=t.type,p=t.firstChar,g=t.lastChar,m=t.toUnicode,v=t.cssFontInfo,y="Type3"===d,r){e.next=19;break}if(!y){e.next=9;break}(r=new s.Dict(null)).set("FontName",s.Name.get(d)),r.set("FontBBox",n.getArray("FontBBox")||[0,0,0,0]),e.next=19;break;case 9:if(w=n.get("BaseFont"),(0,s.isName)(w)){e.next=12;break}throw new i.FormatError("Base font is not specified");case 12:return w=w.name.replace(/[,_]/g,"-"),k=this.getBaseFontMetrics(w),S=w.split("-")[0],x=(this.isSerifFont(S)?u.FontFlags.Serif:0)|(k.monospace?u.FontFlags.FixedPitch:0)|((0,h.getSymbolsFonts)()[S]?u.FontFlags.Symbolic:u.FontFlags.Nonsymbolic),b={type:d,name:w,widths:k.widths,defaultWidth:k.defaultWidth,flags:x,firstChar:p,lastChar:g,toUnicode:m,isType3Font:y},A=n.get("Widths"),e.abrupt("return",this.extractDataStructures(n,n,b).then((function(e){if(A){for(var t=[],r=p,n=0,a=A.length;n<a;n++)t[r++]=D.xref.fetchIfRef(A[n]);e.widths=t}else e.widths=D.buildCharCodeToWidth(k.widths,e);return new c.Font(w,null,e)})));case 19:if(C=r.get("FontName"),T=n.get("BaseFont"),(0,i.isString)(C)&&(C=s.Name.get(C)),(0,i.isString)(T)&&(T=s.Name.get(T)),y||(F=C&&C.name,P=T&&T.name,F!==P&&((0,i.info)("The FontDescriptor\'s FontName is \\"".concat(F,\'" but \')+"should be the same as the Font\'s BaseFont \\"".concat(P,\'".\')),F&&P&&P.startsWith(F)&&(C=T))),C=C||T,(0,s.isName)(C)){e.next=27;break}throw new i.FormatError("invalid font name");case 27:e.prev=27,_=r.get("FontFile","FontFile2","FontFile3"),e.next=37;break;case 31:if(e.prev=31,e.t0=e.catch(27),this.options.ignoreErrors){e.next=35;break}throw e.t0;case 35:(0,i.warn)(\'translateFont - fetching "\'.concat(C.name,\'" font file: "\').concat(e.t0,\'".\')),_=new O.NullStream;case 37:if(_&&_.dict&&((M=_.dict.get("Subtype"))instanceof s.Name&&(I=M.name),E=_.dict.get("Length1"),j=_.dict.get("Length2"),R=_.dict.get("Length3")),b={type:d,name:C.name,subtype:I,file:_,length1:E,length2:j,length3:R,loadedName:l.loadedName,composite:f,fixedPitch:!1,fontMatrix:n.getArray("FontMatrix")||i.FONT_IDENTITY_MATRIX,firstChar:p,lastChar:g,toUnicode:m,bbox:r.getArray("FontBBox"),ascent:r.get("Ascent"),descent:r.get("Descent"),xHeight:r.get("XHeight"),capHeight:r.get("CapHeight"),flags:r.get("Flags"),italicAngle:r.get("ItalicAngle"),isType3Font:y,cssFontInfo:v},!f){e.next=47;break}return N=l.get("Encoding"),(0,s.isName)(N)&&(b.cidEncoding=N.name),e.next=44,o.CMapFactory.create({encoding:N,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null});case 44:B=e.sent,b.cMap=B,b.vertical=b.cMap.vertical;case 47:return e.abrupt("return",this.extractDataStructures(n,l,b).then((function(e){return D.extractWidths(n,r,e),new c.Font(C.name,_,e)})));case 48:case"end":return e.stop()}}),e,this,[[27,31]])}))),function(e){return t.apply(this,arguments)})}],[{key:"buildFontPaths",value:function(e,t,r,n){function a(t){var a="".concat(e.loadedName,"_path_").concat(t);try{if(e.renderer.hasBuiltPath(t))return;r.send("commonobj",[a,"FontPath",e.renderer.getPathJs(t)])}catch(e){if(n.ignoreErrors)return r.send("UnsupportedFeature",{featureId:i.UNSUPPORTED_FEATURES.errorFontBuildPath}),void(0,i.warn)("buildFontPaths - ignoring ".concat(a,\' glyph: "\').concat(e,\'".\'));throw e}}var o,s=I(t);try{for(s.s();!(o=s.n()).done;){var c=o.value;a(c.fontChar);var u=c.accent;u&&u.fontChar&&a(u.fontChar)}}catch(e){s.e(e)}finally{s.f()}}},{key:"fallbackFontDict",get:function(){var e=new s.Dict;return e.set("BaseFont",s.Name.get("PDFJS-FallbackFont")),e.set("Type",s.Name.get("FallbackType")),e.set("Subtype",s.Name.get("FallbackType")),e.set("Encoding",s.Name.get("WinAnsiEncoding")),(0,i.shadow)(this,"fallbackFontDict",e)}}]),e}();t.PartialEvaluator=H;var $=function(){function e(t){var r=t.loadedName,n=t.font,a=t.dict,i=t.evaluatorOptions;R(this,e),this.loadedName=r,this.font=n,this.dict=a,this._evaluatorOptions=i||B,this.type3Loaded=null,this.type3Dependencies=n.isType3Font?new Set:null,this.sent=!1}return N(e,[{key:"send",value:function(e){this.sent||(this.sent=!0,e.send("commonobj",[this.loadedName,"Font",this.font.exportData(this._evaluatorOptions.fontExtraProperties)]))}},{key:"fallback",value:function(e){this.font.data&&(this.font.disableFontFace=!0,H.buildFontPaths(this.font,this.font.glyphCacheValues,e,this._evaluatorOptions))}},{key:"loadType3Data",value:function(e,t,r){var n=this;if(this.type3Loaded)return this.type3Loaded;if(!this.font.isType3Font)throw new Error("Must be a Type3 font.");var a=Object.create(e.options);a.ignoreErrors=!1;var o=e.clone(a);o.parsingType3Font=!0;var s,c=this.font,u=this.type3Dependencies,l=Promise.resolve(),f=this.dict.get("CharProcs"),h=this.dict.get("Resources")||t,d=Object.create(null),p=I(f.getKeys());try{var g=function(){var e=s.value;l=l.then((function(){var t=f.get(e),a=new C.OperatorList;return o.getOperatorList({stream:t,task:r,resources:h,operatorList:a}).then((function(){a.fnArray[0]===i.OPS.setCharWidthAndBounds&&n._removeType3ColorOperators(a),d[e]=a.getIR();var t,r=I(a.dependencies);try{for(r.s();!(t=r.n()).done;){var o=t.value;u.add(o)}}catch(e){r.e(e)}finally{r.f()}})).catch((function(t){(0,i.warn)(\'Type3 font resource "\'.concat(e,\'" is not available.\'));var r=new C.OperatorList;d[e]=r.getIR()}))}))};for(p.s();!(s=p.n()).done;)g()}catch(e){p.e(e)}finally{p.f()}return this.type3Loaded=l.then((function(){c.charProcOperatorList=d})),this.type3Loaded}},{key:"_removeType3ColorOperators",value:function(e){for(var t=1,r=e.length;t<r;){switch(e.fnArray[t]){case i.OPS.setStrokeColorSpace:case i.OPS.setFillColorSpace:case i.OPS.setStrokeColor:case i.OPS.setStrokeColorN:case i.OPS.setFillColor:case i.OPS.setFillColorN:case i.OPS.setStrokeGray:case i.OPS.setFillGray:case i.OPS.setStrokeRGBColor:case i.OPS.setFillRGBColor:case i.OPS.setStrokeCMYKColor:case i.OPS.setFillCMYKColor:case i.OPS.shadingFill:case i.OPS.setRenderingIntent:e.fnArray.splice(t,1),e.argsArray.splice(t,1),r--;continue;case i.OPS.setGState:for(var n=F(e.argsArray[t],1)[0],a=0,o=n.length;a<o;){switch(F(n[a],1)[0]){case"TR":case"TR2":case"HT":case"BG":case"BG2":case"UCR":case"UCR2":n.splice(a,1),o--;continue}a++}}t++}}}]),e}(),z=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new W;R(this,e),this.state=t,this.stateStack=[]}return N(e,[{key:"save",value:function(){var e=this.state;this.stateStack.push(this.state),this.state=e.clone()}},{key:"restore",value:function(){var e=this.stateStack.pop();e&&(this.state=e)}},{key:"transform",value:function(e){this.state.ctm=i.Util.transform(this.state.ctm,e)}}]),e}(),G=function(){function e(){R(this,e),this.ctm=new Float32Array(i.IDENTITY_MATRIX),this.fontName=null,this.fontSize=0,this.font=null,this.fontMatrix=i.FONT_IDENTITY_MATRIX,this.textMatrix=i.IDENTITY_MATRIX.slice(),this.textLineMatrix=i.IDENTITY_MATRIX.slice(),this.charSpacing=0,this.wordSpacing=0,this.leading=0,this.textHScale=1,this.textRise=0}return N(e,[{key:"setTextMatrix",value:function(e,t,r,n,a,i){var o=this.textMatrix;o[0]=e,o[1]=t,o[2]=r,o[3]=n,o[4]=a,o[5]=i}},{key:"setTextLineMatrix",value:function(e,t,r,n,a,i){var o=this.textLineMatrix;o[0]=e,o[1]=t,o[2]=r,o[3]=n,o[4]=a,o[5]=i}},{key:"translateTextMatrix",value:function(e,t){var r=this.textMatrix;r[4]=r[0]*e+r[2]*t+r[4],r[5]=r[1]*e+r[3]*t+r[5]}},{key:"translateTextLineMatrix",value:function(e,t){var r=this.textLineMatrix;r[4]=r[0]*e+r[2]*t+r[4],r[5]=r[1]*e+r[3]*t+r[5]}},{key:"carriageReturn",value:function(){this.translateTextLineMatrix(0,-this.leading),this.textMatrix=this.textLineMatrix.slice()}},{key:"clone",value:function(){var e=Object.create(this);return e.textMatrix=this.textMatrix.slice(),e.textLineMatrix=this.textLineMatrix.slice(),e.fontMatrix=this.fontMatrix.slice(),e}}]),e}(),W=function(){function e(){R(this,e),this.ctm=new Float32Array(i.IDENTITY_MATRIX),this.font=null,this.textRenderingMode=i.TextRenderingMode.FILL,this.fillColorSpace=b.ColorSpace.singletons.gray,this.strokeColorSpace=b.ColorSpace.singletons.gray}return N(e,[{key:"clone",value:function(){return Object.create(this)}}]),e}(),V=function(){function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new z;R(this,e),this.parser=new m.Parser({lexer:new m.Lexer(t,e.opMap),xref:r}),this.stateManager=n,this.nonProcessedArgs=[],this._numInvalidPathOPS=0}return N(e,[{key:"savedStatesDepth",get:function(){return this.stateManager.stateStack.length}},{key:"read",value:function(t){for(var r=t.args;;){var n=this.parser.getObj();if(n instanceof s.Cmd){var a=n.cmd,o=e.opMap[a];if(!o){(0,i.warn)(\'Unknown command "\'.concat(a,\'".\'));continue}var c=o.id,u=o.numArgs,l=null!==r?r.length:0;if(o.variableArgs)l>u&&(0,i.info)("Command ".concat(a,": expected [0, ").concat(u,"] args, ")+"but received ".concat(l," args."));else{if(l!==u){for(var f=this.nonProcessedArgs;l>u;)f.push(r.shift()),l--;for(;l<u&&0!==f.length;)null===r&&(r=[]),r.unshift(f.pop()),l++}if(l<u){var h="command ".concat(a,": expected ").concat(u," args, ")+"but received ".concat(l," args.");if(c>=i.OPS.moveTo&&c<=i.OPS.endPath&&++this._numInvalidPathOPS>e.MAX_INVALID_PATH_OPS)throw new i.FormatError("Invalid ".concat(h));(0,i.warn)("Skipping ".concat(h)),null!==r&&(r.length=0);continue}}return this.preprocessCommand(c,r),t.fn=c,t.args=r,!0}if(n===s.EOF)return!1;if(null!==n&&(null===r&&(r=[]),r.push(n),r.length>33))throw new i.FormatError("Too many arguments")}}},{key:"preprocessCommand",value:function(e,t){switch(0|e){case i.OPS.save:this.stateManager.save();break;case i.OPS.restore:this.stateManager.restore();break;case i.OPS.transform:this.stateManager.transform(t)}}}],[{key:"opMap",get:function(){var e=(0,S.getLookupTableFactory)((function(e){e.w={id:i.OPS.setLineWidth,numArgs:1,variableArgs:!1},e.J={id:i.OPS.setLineCap,numArgs:1,variableArgs:!1},e.j={id:i.OPS.setLineJoin,numArgs:1,variableArgs:!1},e.M={id:i.OPS.setMiterLimit,numArgs:1,variableArgs:!1},e.d={id:i.OPS.setDash,numArgs:2,variableArgs:!1},e.ri={id:i.OPS.setRenderingIntent,numArgs:1,variableArgs:!1},e.i={id:i.OPS.setFlatness,numArgs:1,variableArgs:!1},e.gs={id:i.OPS.setGState,numArgs:1,variableArgs:!1},e.q={id:i.OPS.save,numArgs:0,variableArgs:!1},e.Q={id:i.OPS.restore,numArgs:0,variableArgs:!1},e.cm={id:i.OPS.transform,numArgs:6,variableArgs:!1},e.m={id:i.OPS.moveTo,numArgs:2,variableArgs:!1},e.l={id:i.OPS.lineTo,numArgs:2,variableArgs:!1},e.c={id:i.OPS.curveTo,numArgs:6,variableArgs:!1},e.v={id:i.OPS.curveTo2,numArgs:4,variableArgs:!1},e.y={id:i.OPS.curveTo3,numArgs:4,variableArgs:!1},e.h={id:i.OPS.closePath,numArgs:0,variableArgs:!1},e.re={id:i.OPS.rectangle,numArgs:4,variableArgs:!1},e.S={id:i.OPS.stroke,numArgs:0,variableArgs:!1},e.s={id:i.OPS.closeStroke,numArgs:0,variableArgs:!1},e.f={id:i.OPS.fill,numArgs:0,variableArgs:!1},e.F={id:i.OPS.fill,numArgs:0,variableArgs:!1},e["f*"]={id:i.OPS.eoFill,numArgs:0,variableArgs:!1},e.B={id:i.OPS.fillStroke,numArgs:0,variableArgs:!1},e["B*"]={id:i.OPS.eoFillStroke,numArgs:0,variableArgs:!1},e.b={id:i.OPS.closeFillStroke,numArgs:0,variableArgs:!1},e["b*"]={id:i.OPS.closeEOFillStroke,numArgs:0,variableArgs:!1},e.n={id:i.OPS.endPath,numArgs:0,variableArgs:!1},e.W={id:i.OPS.clip,numArgs:0,variableArgs:!1},e["W*"]={id:i.OPS.eoClip,numArgs:0,variableArgs:!1},e.BT={id:i.OPS.beginText,numArgs:0,variableArgs:!1},e.ET={id:i.OPS.endText,numArgs:0,variableArgs:!1},e.Tc={id:i.OPS.setCharSpacing,numArgs:1,variableArgs:!1},e.Tw={id:i.OPS.setWordSpacing,numArgs:1,variableArgs:!1},e.Tz={id:i.OPS.setHScale,numArgs:1,variableArgs:!1},e.TL={id:i.OPS.setLeading,numArgs:1,variableArgs:!1},e.Tf={id:i.OPS.setFont,numArgs:2,variableArgs:!1},e.Tr={id:i.OPS.setTextRenderingMode,numArgs:1,variableArgs:!1},e.Ts={id:i.OPS.setTextRise,numArgs:1,variableArgs:!1},e.Td={id:i.OPS.moveText,numArgs:2,variableArgs:!1},e.TD={id:i.OPS.setLeadingMoveText,numArgs:2,variableArgs:!1},e.Tm={id:i.OPS.setTextMatrix,numArgs:6,variableArgs:!1},e["T*"]={id:i.OPS.nextLine,numArgs:0,variableArgs:!1},e.Tj={id:i.OPS.showText,numArgs:1,variableArgs:!1},e.TJ={id:i.OPS.showSpacedText,numArgs:1,variableArgs:!1},e["\'"]={id:i.OPS.nextLineShowText,numArgs:1,variableArgs:!1},e[\'"\']={id:i.OPS.nextLineSetSpacingShowText,numArgs:3,variableArgs:!1},e.d0={id:i.OPS.setCharWidth,numArgs:2,variableArgs:!1},e.d1={id:i.OPS.setCharWidthAndBounds,numArgs:6,variableArgs:!1},e.CS={id:i.OPS.setStrokeColorSpace,numArgs:1,variableArgs:!1},e.cs={id:i.OPS.setFillColorSpace,numArgs:1,variableArgs:!1},e.SC={id:i.OPS.setStrokeColor,numArgs:4,variableArgs:!0},e.SCN={id:i.OPS.setStrokeColorN,numArgs:33,variableArgs:!0},e.sc={id:i.OPS.setFillColor,numArgs:4,variableArgs:!0},e.scn={id:i.OPS.setFillColorN,numArgs:33,variableArgs:!0},e.G={id:i.OPS.setStrokeGray,numArgs:1,variableArgs:!1},e.g={id:i.OPS.setFillGray,numArgs:1,variableArgs:!1},e.RG={id:i.OPS.setStrokeRGBColor,numArgs:3,variableArgs:!1},e.rg={id:i.OPS.setFillRGBColor,numArgs:3,variableArgs:!1},e.K={id:i.OPS.setStrokeCMYKColor,numArgs:4,variableArgs:!1},e.k={id:i.OPS.setFillCMYKColor,numArgs:4,variableArgs:!1},e.sh={id:i.OPS.shadingFill,numArgs:1,variableArgs:!1},e.BI={id:i.OPS.beginInlineImage,numArgs:0,variableArgs:!1},e.ID={id:i.OPS.beginImageData,numArgs:0,variableArgs:!1},e.EI={id:i.OPS.endInlineImage,numArgs:1,variableArgs:!1},e.Do={id:i.OPS.paintXObject,numArgs:1,variableArgs:!1},e.MP={id:i.OPS.markPoint,numArgs:1,variableArgs:!1},e.DP={id:i.OPS.markPointProps,numArgs:2,variableArgs:!1},e.BMC={id:i.OPS.beginMarkedContent,numArgs:1,variableArgs:!1},e.BDC={id:i.OPS.beginMarkedContentProps,numArgs:2,variableArgs:!1},e.EMC={id:i.OPS.endMarkedContent,numArgs:0,variableArgs:!1},e.BX={id:i.OPS.beginCompat,numArgs:0,variableArgs:!1},e.EX={id:i.OPS.endCompat,numArgs:0,variableArgs:!1},e.BM=null,e.BD=null,e.true=null,e.fa=null,e.fal=null,e.fals=null,e.false=null,e.nu=null,e.nul=null,e.null=null}));return(0,i.shadow)(this,"opMap",e())}},{key:"MAX_INVALID_PATH_OPS",get:function(){return(0,i.shadow)(this,"MAX_INVALID_PATH_OPS",20)}}]),e}();t.EvaluatorPreprocessor=V},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.IdentityCMap=t.CMapFactory=t.CMap=void 0;var a,i=(a=r(2))&&a.__esModule?a:{default:a},o=r(4),s=r(113),c=r(125),u=r(117),l=r(118);function f(e,t,r,n,a,i,o){try{var s=e[i](o),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,a)}function h(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function o(e){f(i,n,a,o,s,"next",e)}function s(e){f(i,n,a,o,s,"throw",e)}o(void 0)}))}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function p(e){var t=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(e){return!1}}();return function(){var r,n=m(e);if(t){var a=m(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t,r){return t&&y(e.prototype,t),r&&y(e,r),e}var w=["Adobe-GB1-UCS2","Adobe-CNS1-UCS2","Adobe-Japan1-UCS2","Adobe-Korea1-UCS2","78-EUC-H","78-EUC-V","78-H","78-RKSJ-H","78-RKSJ-V","78-V","78ms-RKSJ-H","78ms-RKSJ-V","83pv-RKSJ-H","90ms-RKSJ-H","90ms-RKSJ-V","90msp-RKSJ-H","90msp-RKSJ-V","90pv-RKSJ-H","90pv-RKSJ-V","Add-H","Add-RKSJ-H","Add-RKSJ-V","Add-V","Adobe-CNS1-0","Adobe-CNS1-1","Adobe-CNS1-2","Adobe-CNS1-3","Adobe-CNS1-4","Adobe-CNS1-5","Adobe-CNS1-6","Adobe-GB1-0","Adobe-GB1-1","Adobe-GB1-2","Adobe-GB1-3","Adobe-GB1-4","Adobe-GB1-5","Adobe-Japan1-0","Adobe-Japan1-1","Adobe-Japan1-2","Adobe-Japan1-3","Adobe-Japan1-4","Adobe-Japan1-5","Adobe-Japan1-6","Adobe-Korea1-0","Adobe-Korea1-1","Adobe-Korea1-2","B5-H","B5-V","B5pc-H","B5pc-V","CNS-EUC-H","CNS-EUC-V","CNS1-H","CNS1-V","CNS2-H","CNS2-V","ETHK-B5-H","ETHK-B5-V","ETen-B5-H","ETen-B5-V","ETenms-B5-H","ETenms-B5-V","EUC-H","EUC-V","Ext-H","Ext-RKSJ-H","Ext-RKSJ-V","Ext-V","GB-EUC-H","GB-EUC-V","GB-H","GB-V","GBK-EUC-H","GBK-EUC-V","GBK2K-H","GBK2K-V","GBKp-EUC-H","GBKp-EUC-V","GBT-EUC-H","GBT-EUC-V","GBT-H","GBT-V","GBTpc-EUC-H","GBTpc-EUC-V","GBpc-EUC-H","GBpc-EUC-V","H","HKdla-B5-H","HKdla-B5-V","HKdlb-B5-H","HKdlb-B5-V","HKgccs-B5-H","HKgccs-B5-V","HKm314-B5-H","HKm314-B5-V","HKm471-B5-H","HKm471-B5-V","HKscs-B5-H","HKscs-B5-V","Hankaku","Hiragana","KSC-EUC-H","KSC-EUC-V","KSC-H","KSC-Johab-H","KSC-Johab-V","KSC-V","KSCms-UHC-H","KSCms-UHC-HW-H","KSCms-UHC-HW-V","KSCms-UHC-V","KSCpc-EUC-H","KSCpc-EUC-V","Katakana","NWP-H","NWP-V","RKSJ-H","RKSJ-V","Roman","UniCNS-UCS2-H","UniCNS-UCS2-V","UniCNS-UTF16-H","UniCNS-UTF16-V","UniCNS-UTF32-H","UniCNS-UTF32-V","UniCNS-UTF8-H","UniCNS-UTF8-V","UniGB-UCS2-H","UniGB-UCS2-V","UniGB-UTF16-H","UniGB-UTF16-V","UniGB-UTF32-H","UniGB-UTF32-V","UniGB-UTF8-H","UniGB-UTF8-V","UniJIS-UCS2-H","UniJIS-UCS2-HW-H","UniJIS-UCS2-HW-V","UniJIS-UCS2-V","UniJIS-UTF16-H","UniJIS-UTF16-V","UniJIS-UTF32-H","UniJIS-UTF32-V","UniJIS-UTF8-H","UniJIS-UTF8-V","UniJIS2004-UTF16-H","UniJIS2004-UTF16-V","UniJIS2004-UTF32-H","UniJIS2004-UTF32-V","UniJIS2004-UTF8-H","UniJIS2004-UTF8-V","UniJISPro-UCS2-HW-V","UniJISPro-UCS2-V","UniJISPro-UTF8-V","UniJISX0213-UTF32-H","UniJISX0213-UTF32-V","UniJISX02132004-UTF32-H","UniJISX02132004-UTF32-V","UniKS-UCS2-H","UniKS-UCS2-V","UniKS-UTF16-H","UniKS-UTF16-V","UniKS-UTF32-H","UniKS-UTF32-V","UniKS-UTF8-H","UniKS-UTF8-V","V","WP-Symbol"],k=Math.pow(2,24)-1,S=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];v(this,e),this.codespaceRanges=[[],[],[],[]],this.numCodespaceRanges=0,this._map=[],this.name="",this.vertical=!1,this.useCMap=null,this.builtInCMap=t}return b(e,[{key:"addCodespaceRange",value:function(e,t,r){this.codespaceRanges[e-1].push(t,r),this.numCodespaceRanges++}},{key:"mapCidRange",value:function(e,t,r){if(t-e>k)throw new Error("mapCidRange - ignoring data above MAX_MAP_RANGE.");for(;e<=t;)this._map[e++]=r++}},{key:"mapBfRange",value:function(e,t,r){if(t-e>k)throw new Error("mapBfRange - ignoring data above MAX_MAP_RANGE.");for(var n=r.length-1;e<=t;)this._map[e++]=r,r=r.substring(0,n)+String.fromCharCode(r.charCodeAt(n)+1)}},{key:"mapBfRangeToArray",value:function(e,t,r){if(t-e>k)throw new Error("mapBfRangeToArray - ignoring data above MAX_MAP_RANGE.");for(var n=r.length,a=0;e<=t&&a<n;)this._map[e]=r[a++],++e}},{key:"mapOne",value:function(e,t){this._map[e]=t}},{key:"lookup",value:function(e){return this._map[e]}},{key:"contains",value:function(e){return void 0!==this._map[e]}},{key:"forEach",value:function(e){var t=this._map,r=t.length;if(r<=65536)for(var n=0;n<r;n++)void 0!==t[n]&&e(n,t[n]);else for(var a in t)e(a,t[a])}},{key:"charCodeOf",value:function(e){var t=this._map;if(t.length<=65536)return t.indexOf(e);for(var r in t)if(t[r]===e)return 0|r;return-1}},{key:"getMap",value:function(){return this._map}},{key:"readCharCode",value:function(e,t,r){for(var n=0,a=this.codespaceRanges,i=0,o=a.length;i<o;i++){n=(n<<8|e.charCodeAt(t+i))>>>0;for(var s=a[i],c=0,u=s.length;c<u;){var l=s[c++],f=s[c++];if(n>=l&&n<=f)return r.charcode=n,void(r.length=i+1)}}r.charcode=0,r.length=1}},{key:"getCharCodeLength",value:function(e){for(var t=this.codespaceRanges,r=0,n=t.length;r<n;r++)for(var a=t[r],i=0,o=a.length;i<o;){var s=a[i++],c=a[i++];if(e>=s&&e<=c)return r+1}return 1}},{key:"length",get:function(){return this._map.length}},{key:"isIdentityCMap",get:function(){if("Identity-H"!==this.name&&"Identity-V"!==this.name)return!1;if(65536!==this._map.length)return!1;for(var e=0;e<65536;e++)if(this._map[e]!==e)return!1;return!0}}]),e}();t.CMap=S;var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(r,e);var t=p(r);function r(e,n){var a;return v(this,r),(a=t.call(this)).vertical=e,a.addCodespaceRange(n,0,65535),a}return b(r,[{key:"mapCidRange",value:function(e,t,r){(0,o.unreachable)("should not call mapCidRange")}},{key:"mapBfRange",value:function(e,t,r){(0,o.unreachable)("should not call mapBfRange")}},{key:"mapBfRangeToArray",value:function(e,t,r){(0,o.unreachable)("should not call mapBfRangeToArray")}},{key:"mapOne",value:function(e,t){(0,o.unreachable)("should not call mapCidOne")}},{key:"lookup",value:function(e){return Number.isInteger(e)&&e<=65535?e:void 0}},{key:"contains",value:function(e){return Number.isInteger(e)&&e<=65535}},{key:"forEach",value:function(e){for(var t=0;t<=65535;t++)e(t,t)}},{key:"charCodeOf",value:function(e){return Number.isInteger(e)&&e<=65535?e:-1}},{key:"getMap",value:function(){for(var e=new Array(65536),t=0;t<=65535;t++)e[t]=t;return e}},{key:"length",get:function(){return 65536}},{key:"isIdentityCMap",get:function(){(0,o.unreachable)("should not access .isIdentityCMap")}}]),r}(S);t.IdentityCMap=x;var A=function(){function e(e,t){for(var r=0,n=0;n<=t;n++)r=r<<8|e[n];return r>>>0}function t(e,t){return 1===t?String.fromCharCode(e[0],e[1]):3===t?String.fromCharCode(e[0],e[1],e[2],e[3]):String.fromCharCode.apply(null,e.subarray(0,t+1))}function r(e,t,r){for(var n=0,a=r;a>=0;a--)n+=e[a]+t[a],e[a]=255&n,n>>=8}function n(e,t){for(var r=1,n=t;n>=0&&r>0;n--)r+=e[n],e[n]=255&r,r>>=8}var a=16,s=function(){function e(t){v(this,e),this.buffer=t,this.pos=0,this.end=t.length,this.tmpBuf=new Uint8Array(19)}return b(e,[{key:"readByte",value:function(){return this.pos>=this.end?-1:this.buffer[this.pos++]}},{key:"readNumber",value:function(){var e,t=0;do{var r=this.readByte();if(r<0)throw new o.FormatError("unexpected EOF in bcmap");e=!(128&r),t=t<<7|127&r}while(!e);return t}},{key:"readSigned",value:function(){var e=this.readNumber();return 1&e?~(e>>>1):e>>>1}},{key:"readHex",value:function(e,t){e.set(this.buffer.subarray(this.pos,this.pos+t+1)),this.pos+=t+1}},{key:"readHexNumber",value:function(e,t){var r,n=this.tmpBuf,a=0;do{var i=this.readByte();if(i<0)throw new o.FormatError("unexpected EOF in bcmap");r=!(128&i),n[a++]=127&i}while(!r);for(var s=t,c=0,u=0;s>=0;){for(;u<8&&n.length>0;)c=n[--a]<<u|c,u+=7;e[s]=255&c,s--,c>>=8,u-=8}}},{key:"readHexSigned",value:function(e,t){this.readHexNumber(e,t);for(var r=1&e[t]?255:0,n=0,a=0;a<=t;a++)n=(1&n)<<8|e[a],e[a]=n>>1^r}},{key:"readString",value:function(){for(var e=this.readNumber(),t="",r=0;r<e;r++)t+=String.fromCharCode(this.readNumber());return t}}]),e}(),c=function(){function o(){v(this,o)}var c;return b(o,[{key:"process",value:(c=h(i.default.mark((function o(c,u,l){var f,h,d,p,g,m,v,y,b,w,k,S,x,A,O,C,T,F,P,_,I;return i.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:f=new s(c),h=f.readByte(),u.vertical=!!(1&h),d=null,p=new Uint8Array(a),g=new Uint8Array(a),m=new Uint8Array(a),v=new Uint8Array(a),y=new Uint8Array(a);case 9:if(!((w=f.readByte())>=0)){i.next=68;break}if(7!=(k=w>>5)){i.next=20;break}i.t0=31&w,i.next=0===i.t0?15:1===i.t0?17:19;break;case 15:return f.readString(),i.abrupt("break",19);case 17:return d=f.readString(),i.abrupt("break",19);case 19:return i.abrupt("continue",9);case 20:if(S=!!(16&w),!(1+(x=15&w)>a)){i.next=24;break}throw new Error("BinaryCMapReader.process: Invalid dataSize.");case 24:A=1,O=f.readNumber(),i.t1=k,i.next=0===i.t1?29:1===i.t1?35:2===i.t1?41:3===i.t1?46:4===i.t1?53:5===i.t1?58:65;break;case 29:for(f.readHex(p,x),f.readHexNumber(g,x),r(g,p,x),u.addCodespaceRange(x+1,e(p,x),e(g,x)),C=1;C<O;C++)n(g,x),f.readHexNumber(p,x),r(p,g,x),f.readHexNumber(g,x),r(g,p,x),u.addCodespaceRange(x+1,e(p,x),e(g,x));return i.abrupt("break",66);case 35:for(f.readHex(p,x),f.readHexNumber(g,x),r(g,p,x),f.readNumber(),T=1;T<O;T++)n(g,x),f.readHexNumber(p,x),r(p,g,x),f.readHexNumber(g,x),r(g,p,x),f.readNumber();return i.abrupt("break",66);case 41:for(f.readHex(m,x),b=f.readNumber(),u.mapOne(e(m,x),b),F=1;F<O;F++)n(m,x),S||(f.readHexNumber(y,x),r(m,y,x)),b=f.readSigned()+(b+1),u.mapOne(e(m,x),b);return i.abrupt("break",66);case 46:for(f.readHex(p,x),f.readHexNumber(g,x),r(g,p,x),b=f.readNumber(),u.mapCidRange(e(p,x),e(g,x),b),P=1;P<O;P++)n(g,x),S?p.set(g):(f.readHexNumber(p,x),r(p,g,x)),f.readHexNumber(g,x),r(g,p,x),b=f.readNumber(),u.mapCidRange(e(p,x),e(g,x),b);return i.abrupt("break",66);case 53:for(f.readHex(m,A),f.readHex(v,x),u.mapOne(e(m,A),t(v,x)),_=1;_<O;_++)n(m,A),S||(f.readHexNumber(y,A),r(m,y,A)),n(v,x),f.readHexSigned(y,x),r(v,y,x),u.mapOne(e(m,A),t(v,x));return i.abrupt("break",66);case 58:for(f.readHex(p,A),f.readHexNumber(g,A),r(g,p,A),f.readHex(v,x),u.mapBfRange(e(p,A),e(g,A),t(v,x)),I=1;I<O;I++)n(g,A),S?p.set(g):(f.readHexNumber(p,A),r(p,g,A)),f.readHexNumber(g,A),r(g,p,A),f.readHex(v,x),u.mapBfRange(e(p,A),e(g,A),t(v,x));return i.abrupt("break",66);case 65:throw new Error("BinaryCMapReader.process - unknown type: ".concat(k));case 66:i.next=9;break;case 68:if(!d){i.next=70;break}return i.abrupt("return",l(d));case 70:return i.abrupt("return",u);case 71:case"end":return i.stop()}}),o)}))),function(e,t,r){return c.apply(this,arguments)})}]),o}();return c}(),O=function(){function e(e){for(var t=0,r=0;r<e.length;r++)t=t<<8|e.charCodeAt(r);return t>>>0}function t(e){if(!(0,o.isString)(e))throw new o.FormatError("Malformed CMap: expected string.")}function r(e){if(!Number.isInteger(e))throw new o.FormatError("Malformed CMap: expected int.")}function n(r,n){for(;;){var a=n.getObj();if((0,s.isEOF)(a))break;if((0,s.isCmd)(a,"endbfchar"))return;t(a);var i=e(a);t(a=n.getObj());var o=a;r.mapOne(i,o)}}function a(r,n){for(;;){var a=n.getObj();if((0,s.isEOF)(a))break;if((0,s.isCmd)(a,"endbfrange"))return;t(a);var i=e(a);t(a=n.getObj());var c=e(a);if(a=n.getObj(),Number.isInteger(a)||(0,o.isString)(a)){var u=Number.isInteger(a)?String.fromCharCode(a):a;r.mapBfRange(i,c,u)}else{if(!(0,s.isCmd)(a,"["))break;a=n.getObj();for(var l=[];!(0,s.isCmd)(a,"]")&&!(0,s.isEOF)(a);)l.push(a),a=n.getObj();r.mapBfRangeToArray(i,c,l)}}throw new o.FormatError("Invalid bf range.")}function f(n,a){for(;;){var i=a.getObj();if((0,s.isEOF)(i))break;if((0,s.isCmd)(i,"endcidchar"))return;t(i);var o=e(i);r(i=a.getObj());var c=i;n.mapOne(o,c)}}function d(n,a){for(;;){var i=a.getObj();if((0,s.isEOF)(i))break;if((0,s.isCmd)(i,"endcidrange"))return;t(i);var o=e(i);t(i=a.getObj());var c=e(i);r(i=a.getObj());var u=i;n.mapCidRange(o,c,u)}}function p(t,r){for(;;){var n=r.getObj();if((0,s.isEOF)(n))break;if((0,s.isCmd)(n,"endcodespacerange"))return;if(!(0,o.isString)(n))break;var a=e(n);if(n=r.getObj(),!(0,o.isString)(n))break;var i=e(n);t.addCodespaceRange(n.length,a,i)}throw new o.FormatError("Invalid codespace range.")}function g(e,t){var r=t.getObj();Number.isInteger(r)&&(e.vertical=!!r)}function m(e,t){var r=t.getObj();(0,s.isName)(r)&&(0,o.isString)(r.name)&&(e.name=r.name)}function v(e,t,r,n){return y.apply(this,arguments)}function y(){return y=h(i.default.mark((function e(t,r,c,l){var h,v,y;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=1,y=r.getObj(),!(0,s.isEOF)(y)){e.next=7;break}return e.abrupt("break",39);case 7:if(!(0,s.isName)(y)){e.next=12;break}"WMode"===y.name?g(t,r):"CMapName"===y.name&&m(t,r),h=y,e.next=29;break;case 12:if(!(0,s.isCmd)(y)){e.next=29;break}e.t0=y.cmd,e.next="endcmap"===e.t0?16:"usecmap"===e.t0?17:"begincodespacerange"===e.t0?19:"beginbfchar"===e.t0?21:"begincidchar"===e.t0?23:"beginbfrange"===e.t0?25:"begincidrange"===e.t0?27:29;break;case 16:return e.abrupt("break",39);case 17:return(0,s.isName)(h)&&(v=h.name),e.abrupt("break",29);case 19:return p(t,r),e.abrupt("break",29);case 21:return n(t,r),e.abrupt("break",29);case 23:return f(t,r),e.abrupt("break",29);case 25:return a(t,r),e.abrupt("break",29);case 27:return d(t,r),e.abrupt("break",29);case 29:e.next=37;break;case 31:if(e.prev=31,e.t1=e.catch(1),!(e.t1 instanceof u.MissingDataException)){e.next=35;break}throw e.t1;case 35:return(0,o.warn)("Invalid cMap data: "+e.t1),e.abrupt("continue",0);case 37:e.next=0;break;case 39:if(!l&&v&&(l=v),!l){e.next=42;break}return e.abrupt("return",b(t,c,l));case 42:return e.abrupt("return",t);case 43:case"end":return e.stop()}}),e,null,[[1,31]])}))),y.apply(this,arguments)}function b(e,t,r){return k.apply(this,arguments)}function k(){return(k=h(i.default.mark((function e(t,r,n){var a,o;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,O(n,r);case 2:if(t.useCMap=e.sent,0===t.numCodespaceRanges){for(a=t.useCMap.codespaceRanges,o=0;o<a.length;o++)t.codespaceRanges[o]=a[o].slice();t.numCodespaceRanges=t.useCMap.numCodespaceRanges}return t.useCMap.forEach((function(e,r){t.contains(e)||t.mapOne(e,t.useCMap.lookup(e))})),e.abrupt("return",t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e,t){return C.apply(this,arguments)}function C(){return(C=h(i.default.mark((function e(t,r){var n,a,s,u,f;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("Identity-H"!==t){e.next=4;break}return e.abrupt("return",new x(!1,2));case 4:if("Identity-V"!==t){e.next=6;break}return e.abrupt("return",new x(!0,2));case 6:if(w.includes(t)){e.next=8;break}throw new Error("Unknown CMap name: "+t);case 8:if(r){e.next=10;break}throw new Error("Built-in CMap parameters are not provided.");case 10:return e.next=12,r(t);case 12:if(n=e.sent,a=n.cMapData,s=n.compressionType,u=new S(!0),s!==o.CMapCompressionType.BINARY){e.next=18;break}return e.abrupt("return",(new A).process(a,u,(function(e){return b(u,r,e)})));case 18:if(s!==o.CMapCompressionType.NONE){e.next=21;break}return f=new c.Lexer(new l.Stream(a)),e.abrupt("return",v(u,f,r,null));case 21:throw new Error("TODO: Only BINARY/NONE CMap compression is currently supported.");case 22:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return{create:function(e){return h(i.default.mark((function t(){var r,n,a,o;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.encoding,n=e.fetchBuiltInCMap,a=e.useCMap,!(0,s.isName)(r)){t.next=7;break}return t.abrupt("return",O(r.name,n));case 7:if(!(0,s.isStream)(r)){t.next=14;break}return t.next=10,v(new S,new c.Lexer(r),n,a);case 10:if(!(o=t.sent).isIdentityCMap){t.next=13;break}return t.abrupt("return",O(o.name,n));case 13:return t.abrupt("return",o);case 14:throw new Error("Encoding required.");case 15:case"end":return t.stop()}}),t)})))()}}}();t.CMapFactory=O},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=t.Linearization=t.Lexer=void 0;var n=r(4),a=r(113),i=r(117),o=r(126),s=r(128),c=r(129),u=r(131),l=r(132),f=r(135),h=r(137),d=r(139),p=r(118),g=r(140),m=r(141);function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t,r){return t&&y(e.prototype,t),r&&y(e,r),e}function w(e){for(var t=e.length,r=1,n=0,a=0;a<t;++a)n+=r+=255&e[a];return n%65521<<16|r%65521}var k=function(){function e(t){var r=t.lexer,n=t.xref,a=t.allowStreams,i=void 0!==a&&a,o=t.recoveryMode,s=void 0!==o&&o;v(this,e),this.lexer=r,this.xref=n,this.allowStreams=i,this.recoveryMode=s,this.imageCache=Object.create(null),this.refill()}return b(e,[{key:"refill",value:function(){this.buf1=this.lexer.getObj(),this.buf2=this.lexer.getObj()}},{key:"shift",value:function(){this.buf2 instanceof a.Cmd&&"ID"===this.buf2.cmd?(this.buf1=this.buf2,this.buf2=null):(this.buf1=this.buf2,this.buf2=this.lexer.getObj())}},{key:"tryShift",value:function(){try{return this.shift(),!0}catch(e){if(e instanceof i.MissingDataException)throw e;return!1}}},{key:"getObj",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.buf1;if(this.shift(),t instanceof a.Cmd)switch(t.cmd){case"BI":return this.makeInlineImage(e);case"[":for(var r=[];!(0,a.isCmd)(this.buf1,"]")&&!(0,a.isEOF)(this.buf1);)r.push(this.getObj(e));if((0,a.isEOF)(this.buf1)){if(!this.recoveryMode)throw new n.FormatError("End of file inside array");return r}return this.shift(),r;case"<<":for(var i=new a.Dict(this.xref);!(0,a.isCmd)(this.buf1,">>")&&!(0,a.isEOF)(this.buf1);)if((0,a.isName)(this.buf1)){var o=this.buf1.name;if(this.shift(),(0,a.isEOF)(this.buf1))break;i.set(o,this.getObj(e))}else(0,n.info)("Malformed dictionary: key must be a name object"),this.shift();if((0,a.isEOF)(this.buf1)){if(!this.recoveryMode)throw new n.FormatError("End of file inside dictionary");return i}return(0,a.isCmd)(this.buf2,"stream")?this.allowStreams?this.makeStream(i,e):i:(this.shift(),i);default:return t}if(Number.isInteger(t)){if(Number.isInteger(this.buf1)&&(0,a.isCmd)(this.buf2,"R")){var s=a.Ref.get(t,this.buf1);return this.shift(),this.shift(),s}return t}return"string"==typeof t&&e?e.decryptString(t):t}},{key:"findDefaultInlineStreamEnd",value:function(e){for(var t,r,o=this.lexer,s=e.pos,c=0;-1!==(t=e.getByte());)if(0===c)c=69===t?1:0;else if(1===c)c=73===t?2:0;else if((0,n.assert)(2===c,"findDefaultInlineStreamEnd - invalid state."),32===t||10===t||13===t){r=e.pos;for(var u=e.peekBytes(10),l=0,f=u.length;l<f;l++)if((0!==(t=u[l])||0===u[l+1])&&10!==t&&13!==t&&(t<32||t>127)){c=0;break}if(2!==c)continue;if(o.knownCommands){var h=o.peekObj();h instanceof a.Cmd&&!o.knownCommands[h.cmd]&&(c=0)}else(0,n.warn)("findDefaultInlineStreamEnd - `lexer.knownCommands` is undefined.");if(2===c)break}else c=0;-1===t&&((0,n.warn)("findDefaultInlineStreamEnd: Reached the end of the stream without finding a valid EI marker"),r&&((0,n.warn)(\'... trying to recover by using the last "EI" occurrence.\'),e.skip(-(e.pos-r))));var d=4;return e.skip(-d),t=e.peekByte(),e.skip(d),(0,i.isWhiteSpace)(t)||d--,e.pos-d-s}},{key:"findDCTDecodeInlineStreamEnd",value:function(e){for(var t,r,a=e.pos,i=!1;-1!==(t=e.getByte());)if(255===t){switch(e.getByte()){case 0:break;case 255:e.skip(-1);break;case 217:i=!0;break;case 192:case 193:case 194:case 195:case 197:case 198:case 199:case 201:case 202:case 203:case 205:case 206:case 207:case 196:case 204:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 254:(r=e.getUint16())>2?e.skip(r-2):e.skip(-2)}if(i)break}var o=e.pos-a;return-1===t?((0,n.warn)("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead."),e.skip(-o),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),o)}},{key:"findASCII85DecodeInlineStreamEnd",value:function(e){for(var t,r=e.pos;-1!==(t=e.getByte());)if(126===t){var a=e.pos;for(t=e.peekByte();(0,i.isWhiteSpace)(t);)e.skip(),t=e.peekByte();if(62===t){e.skip();break}if(e.pos>a){var o=e.peekBytes(2);if(69===o[0]&&73===o[1])break}}var s=e.pos-r;return-1===t?((0,n.warn)("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead."),e.skip(-s),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),s)}},{key:"findASCIIHexDecodeInlineStreamEnd",value:function(e){for(var t,r=e.pos;-1!==(t=e.getByte())&&62!==t;);var a=e.pos-r;return-1===t?((0,n.warn)("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead."),e.skip(-a),this.findDefaultInlineStreamEnd(e)):(this.inlineStreamSkipEI(e),a)}},{key:"inlineStreamSkipEI",value:function(e){for(var t,r=0;-1!==(t=e.getByte());)if(0===r)r=69===t?1:0;else if(1===r)r=73===t?2:0;else if(2===r)break}},{key:"makeInlineImage",value:function(e){for(var t,r=this.lexer,i=r.stream,o=new a.Dict(this.xref);!(0,a.isCmd)(this.buf1,"ID")&&!(0,a.isEOF)(this.buf1);){if(!(0,a.isName)(this.buf1))throw new n.FormatError("Dictionary key must be a name object");var s=this.buf1.name;if(this.shift(),(0,a.isEOF)(this.buf1))break;o.set(s,this.getObj(e))}-1!==r.beginInlineImagePos&&(t=i.pos-r.beginInlineImagePos);var c,u=o.get("Filter","F");if((0,a.isName)(u))c=u.name;else if(Array.isArray(u)){var l=this.xref.fetchIfRef(u[0]);(0,a.isName)(l)&&(c=l.name)}var f,h=i.pos;f="DCTDecode"===c||"DCT"===c?this.findDCTDecodeInlineStreamEnd(i):"ASCII85Decode"===c||"A85"===c?this.findASCII85DecodeInlineStreamEnd(i):"ASCIIHexDecode"===c||"AHx"===c?this.findASCIIHexDecodeInlineStreamEnd(i):this.findDefaultInlineStreamEnd(i);var d,p=i.makeSubStream(h,f,o);if(f<1e3&&t<5552){var g=p.getBytes();p.reset();var m=i.pos;i.pos=r.beginInlineImagePos;var v=i.getBytes(t);i.pos=m,d=w(g)+"_"+w(v);var y=this.imageCache[d];if(void 0!==y)return this.buf2=a.Cmd.get("EI"),this.shift(),y.reset(),y}return e&&(p=e.createStream(p,f)),(p=this.filter(p,o,f)).dict=o,void 0!==d&&(p.cacheKey="inline_".concat(f,"_").concat(d),this.imageCache[d]=p),this.buf2=a.Cmd.get("EI"),this.shift(),p}},{key:"_findStreamLength",value:function(e,t){var r=this.lexer.stream;r.pos=e;for(var n=t.length;r.pos<r.end;){var a=r.peekBytes(2048),i=a.length-n;if(i<=0)break;for(var o=0;o<i;){for(var s=0;s<n&&a[o+s]===t[s];)s++;if(s>=n)return r.pos+=o,r.pos-e;o++}r.pos+=i}return-1}},{key:"makeStream",value:function(e,t){var r=this.lexer,o=r.stream;r.skipToNextLine();var s=o.pos-1,c=e.get("Length");if(Number.isInteger(c)||((0,n.info)(\'Bad length "\'.concat(c,\'" in stream\')),c=0),o.pos=s+c,r.nextChar(),this.tryShift()&&(0,a.isCmd)(this.buf2,"endstream"))this.shift();else{var u=new Uint8Array([101,110,100,115,116,114,101,97,109]),l=this._findStreamLength(s,u);if(l<0){for(var f=1;f<=1;f++){var h=u.length-f,d=u.slice(0,h),p=this._findStreamLength(s,d);if(p>=0){var g=o.peekBytes(h+1)[h];if(!(0,i.isWhiteSpace)(g))break;(0,n.info)(\'Found "\'.concat((0,n.bytesToString)(d),\'" when \')+"searching for endstream command."),l=p;break}}if(l<0)throw new n.FormatError("Missing endstream command.")}c=l,r.nextChar(),this.shift(),this.shift()}return this.shift(),o=o.makeSubStream(s,c,e),t&&(o=t.createStream(o,c)),(o=this.filter(o,e,c)).dict=e,o}},{key:"filter",value:function(e,t,r){var i=t.get("Filter","F"),o=t.get("DecodeParms","DP");if((0,a.isName)(i))return Array.isArray(o)&&(0,n.warn)("/DecodeParms should not contain an Array, when /Filter contains a Name."),this.makeFilter(e,i.name,r,o);var s=r;if(Array.isArray(i))for(var c=i,u=o,l=0,f=c.length;l<f;++l){if(i=this.xref.fetchIfRef(c[l]),!(0,a.isName)(i))throw new n.FormatError(\'Bad filter name "\'.concat(i,\'"\'));o=null,Array.isArray(u)&&l in u&&(o=this.xref.fetchIfRef(u[l])),e=this.makeFilter(e,i.name,s,o),s=null}return e}},{key:"makeFilter",value:function(e,t,r,a){if(0===r)return(0,n.warn)(\'Empty "\'.concat(t,\'" stream.\')),new p.NullStream;try{var v=this.xref.stats.streamTypes;if("FlateDecode"===t||"Fl"===t)return v[n.StreamType.FLATE]=!0,a?new g.PredictorStream(new u.FlateStream(e,r),r,a):new u.FlateStream(e,r);if("LZWDecode"===t||"LZW"===t){v[n.StreamType.LZW]=!0;var y=1;return a?(a.has("EarlyChange")&&(y=a.get("EarlyChange")),new g.PredictorStream(new d.LZWStream(e,r,y),r,a)):new d.LZWStream(e,r,y)}return"DCTDecode"===t||"DCT"===t?(v[n.StreamType.DCT]=!0,new f.JpegStream(e,r,a)):"JPXDecode"===t||"JPX"===t?(v[n.StreamType.JPX]=!0,new h.JpxStream(e,r,a)):"ASCII85Decode"===t||"A85"===t?(v[n.StreamType.A85]=!0,new o.Ascii85Stream(e,r)):"ASCIIHexDecode"===t||"AHx"===t?(v[n.StreamType.AHX]=!0,new s.AsciiHexStream(e,r)):"CCITTFaxDecode"===t||"CCF"===t?(v[n.StreamType.CCF]=!0,new c.CCITTFaxStream(e,r,a)):"RunLengthDecode"===t||"RL"===t?(v[n.StreamType.RLX]=!0,new m.RunLengthStream(e,r)):"JBIG2Decode"===t?(v[n.StreamType.JBIG]=!0,new l.Jbig2Stream(e,r,a)):((0,n.warn)(\'Filter "\'.concat(t,\'" is not supported.\')),e)}catch(e){if(e instanceof i.MissingDataException)throw e;return(0,n.warn)(\'Invalid stream: "\'.concat(e,\'"\')),new p.NullStream}}}]),e}();t.Parser=k;var S=[1,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,2,0,0,2,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,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,0,0,0,2,0,2,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,0,0,0,0,2,0,2,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,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,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,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,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,0,0,0,0,0];function x(e){return e>=48&&e<=57?15&e:e>=65&&e<=70||e>=97&&e<=102?9+(15&e):-1}var A=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;v(this,e),this.stream=t,this.nextChar(),this.strBuf=[],this.knownCommands=r,this._hexStringNumWarn=0,this.beginInlineImagePos=-1}return b(e,[{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"peekChar",value:function(){return this.stream.peekByte()}},{key:"getNumber",value:function(){var e=this.currentChar,t=!1,r=0,a=0;if(45===e?(a=-1,45===(e=this.nextChar())&&(e=this.nextChar())):43===e&&(a=1,e=this.nextChar()),10===e||13===e)do{e=this.nextChar()}while(10===e||13===e);if(46===e&&(r=10,e=this.nextChar()),e<48||e>57){if(10===r&&0===a&&((0,i.isWhiteSpace)(e)||-1===e))return(0,n.warn)("Lexer.getNumber - treating a single decimal point as zero."),0;throw new n.FormatError("Invalid number: ".concat(String.fromCharCode(e)," (charCode ").concat(e,")"))}a=a||1;for(var o=e-48,s=0,c=1;(e=this.nextChar())>=0;)if(e>=48&&e<=57){var u=e-48;t?s=10*s+u:(0!==r&&(r*=10),o=10*o+u)}else if(46===e){if(0!==r)break;r=1}else if(45===e)(0,n.warn)("Badly formatted number: minus sign in the middle");else{if(69!==e&&101!==e)break;if(43===(e=this.peekChar())||45===e)c=45===e?-1:1,this.nextChar();else if(e<48||e>57)break;t=!0}return 0!==r&&(o/=r),t&&(o*=Math.pow(10,c*s)),a*o}},{key:"getString",value:function(){var e=1,t=!1,r=this.strBuf;r.length=0;for(var a=this.nextChar();;){var i=!1;switch(0|a){case-1:(0,n.warn)("Unterminated string"),t=!0;break;case 40:++e,r.push("(");break;case 41:0==--e?(this.nextChar(),t=!0):r.push(")");break;case 92:switch(a=this.nextChar()){case-1:(0,n.warn)("Unterminated string"),t=!0;break;case 110:r.push("\\n");break;case 114:r.push("\\r");break;case 116:r.push("\\t");break;case 98:r.push("\\b");break;case 102:r.push("\\f");break;case 92:case 40:case 41:r.push(String.fromCharCode(a));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:var o=15&a;i=!0,(a=this.nextChar())>=48&&a<=55&&(o=(o<<3)+(15&a),(a=this.nextChar())>=48&&a<=55&&(i=!1,o=(o<<3)+(15&a))),r.push(String.fromCharCode(o));break;case 13:10===this.peekChar()&&this.nextChar();break;case 10:break;default:r.push(String.fromCharCode(a))}break;default:r.push(String.fromCharCode(a))}if(t)break;i||(a=this.nextChar())}return r.join("")}},{key:"getName",value:function(){var e,t,r=this.strBuf;for(r.length=0;(e=this.nextChar())>=0&&!S[e];)if(35===e){if(e=this.nextChar(),S[e]){(0,n.warn)("Lexer_getName: NUMBER SIGN (#) should be followed by a hexadecimal number."),r.push("#");break}var i=x(e);if(-1!==i){t=e;var o=x(e=this.nextChar());if(-1===o){if((0,n.warn)("Lexer_getName: Illegal digit (".concat(String.fromCharCode(e),") ")+"in hexadecimal number."),r.push("#",String.fromCharCode(t)),S[e])break;r.push(String.fromCharCode(e));continue}r.push(String.fromCharCode(i<<4|o))}else r.push("#",String.fromCharCode(e))}else r.push(String.fromCharCode(e));return r.length>127&&(0,n.warn)("Name token is longer than allowed by the spec: ".concat(r.length)),a.Name.get(r.join(""))}},{key:"_hexStringWarn",value:function(e){5!=this._hexStringNumWarn++?this._hexStringNumWarn>5||(0,n.warn)("getHexString - ignoring invalid character: ".concat(e)):(0,n.warn)("getHexString - ignoring additional invalid characters.")}},{key:"getHexString",value:function(){var e=this.strBuf;e.length=0;var t,r,a=this.currentChar,i=!0;for(this._hexStringNumWarn=0;;){if(a<0){(0,n.warn)("Unterminated hex string");break}if(62===a){this.nextChar();break}if(1!==S[a]){if(i){if(-1===(t=x(a))){this._hexStringWarn(a),a=this.nextChar();continue}}else{if(-1===(r=x(a))){this._hexStringWarn(a),a=this.nextChar();continue}e.push(String.fromCharCode(t<<4|r))}i=!i,a=this.nextChar()}else a=this.nextChar()}return e.join("")}},{key:"getObj",value:function(){for(var e=!1,t=this.currentChar;;){if(t<0)return a.EOF;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(1!==S[t])break;t=this.nextChar()}switch(0|t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return this.getNumber();case 40:return this.getString();case 47:return this.getName();case 91:return this.nextChar(),a.Cmd.get("[");case 93:return this.nextChar(),a.Cmd.get("]");case 60:return 60===(t=this.nextChar())?(this.nextChar(),a.Cmd.get("<<")):this.getHexString();case 62:return 62===(t=this.nextChar())?(this.nextChar(),a.Cmd.get(">>")):a.Cmd.get(">");case 123:return this.nextChar(),a.Cmd.get("{");case 125:return this.nextChar(),a.Cmd.get("}");case 41:throw this.nextChar(),new n.FormatError("Illegal character: ".concat(t))}for(var r=String.fromCharCode(t),i=this.knownCommands,o=i&&void 0!==i[r];(t=this.nextChar())>=0&&!S[t];){var s=r+String.fromCharCode(t);if(o&&void 0===i[s])break;if(128===r.length)throw new n.FormatError("Command token too long: ".concat(r.length));r=s,o=i&&void 0!==i[r]}return"true"===r||"false"!==r&&("null"===r?null:("BI"===r&&(this.beginInlineImagePos=this.stream.pos),a.Cmd.get(r)))}},{key:"peekObj",value:function(){var e,t=this.stream.pos,r=this.currentChar,a=this.beginInlineImagePos;try{e=this.getObj()}catch(e){if(e instanceof i.MissingDataException)throw e;(0,n.warn)("peekObj: ".concat(e))}return this.stream.pos=t,this.currentChar=r,this.beginInlineImagePos=a,e}},{key:"skipToNextLine",value:function(){for(var e=this.currentChar;e>=0;){if(13===e){10===(e=this.nextChar())&&this.nextChar();break}if(10===e){this.nextChar();break}e=this.nextChar()}}}]),e}();t.Lexer=A;var O=function(){function e(){v(this,e)}return b(e,null,[{key:"create",value:function(e){function t(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=e.get(t);if(Number.isInteger(n)&&(r?n>=0:n>0))return n;throw new Error(\'The "\'.concat(t,\'" parameter in the linearization \')+"dictionary is invalid.")}var r,i,o=new k({lexer:new A(e),xref:null}),s=o.getObj(),c=o.getObj(),u=o.getObj(),l=o.getObj();if(!(Number.isInteger(s)&&Number.isInteger(c)&&(0,a.isCmd)(u,"obj")&&(0,a.isDict)(l)&&(0,n.isNum)(r=l.get("Linearized"))&&r>0))return null;if((i=t(l,"L"))!==e.length)throw new Error(\'The "L" parameter in the linearization dictionary does not equal the stream length.\');return{length:i,hints:function(e){var t,r=e.get("H");if(Array.isArray(r)&&(2===(t=r.length)||4===t)){for(var n=0;n<t;n++){var a=r[n];if(!(Number.isInteger(a)&&a>0))throw new Error("Hint (".concat(n,") in the linearization dictionary is invalid."))}return r}throw new Error("Hint array in the linearization dictionary is invalid.")}(l),objectNumberFirst:t(l,"O"),endFirst:t(l,"E"),numPages:t(l,"N"),mainXRefEntriesOffset:t(l,"T"),pageFirst:l.has("P")?t(l,"P",!0):0}}}]),e}();t.Linearization=O},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Ascii85Stream=void 0;var a=r(127),i=r(117);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function c(e){var t=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(e){return!1}}();return function(){var r,n=l(e);if(t){var a=l(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return u(this,r)}}function u(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(u,e);var t,r,n,a=c(u);function u(e,t){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),t&&(t*=.8),(r=a.call(this,t)).str=e,r.dict=e.dict,r.input=new Uint8Array(5),r}return t=u,(r=[{key:"readBlock",value:function(){for(var e=this.str,t=e.getByte();(0,i.isWhiteSpace)(t);)t=e.getByte();if(-1!==t&&126!==t){var r,n,a=this.bufferLength;if(122===t){for(r=this.ensureBuffer(a+4),n=0;n<4;++n)r[a+n]=0;this.bufferLength+=4}else{var o=this.input;for(o[0]=t,n=1;n<5;++n){for(t=e.getByte();(0,i.isWhiteSpace)(t);)t=e.getByte();if(o[n]=t,-1===t||126===t)break}if(r=this.ensureBuffer(a+n-1),this.bufferLength+=n-1,n<5){for(;n<5;++n)o[n]=117;this.eof=!0}var s=0;for(n=0;n<5;++n)s=85*s+(o[n]-33);for(n=3;n>=0;--n)r[a+n]=255&s,s>>=8}}else this.eof=!0}}])&&o(t.prototype,r),n&&o(t,n),u}(a.DecodeStream);t.Ascii85Stream=f},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.StreamsSequenceStream=t.DecodeStream=void 0;var a=r(114),i=r(118);function o(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||c(e)||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.")}()}function s(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=c(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function c(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function g(e){var t=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(e){return!1}}();return function(){var r,n=v(e);if(t){var a=v(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}var y=new Uint8Array(0),b=function(e){d(r,e);var t=g(r);function r(e){var n;if(l(this,r),(n=t.call(this))._rawMinBufferLength=e||0,n.pos=0,n.bufferLength=0,n.eof=!1,n.buffer=y,n.minBufferLength=512,e)for(;n.minBufferLength<e;)n.minBufferLength*=2;return n}return h(r,[{key:"isEmpty",get:function(){for(;!this.eof&&0===this.bufferLength;)this.readBlock();return 0===this.bufferLength}},{key:"ensureBuffer",value:function(e){var t=this.buffer;if(e<=t.byteLength)return t;for(var r=this.minBufferLength;r<e;)r*=2;var n=new Uint8Array(r);return n.set(t),this.buffer=n}},{key:"getByte",value:function(){for(var e=this.pos;this.bufferLength<=e;){if(this.eof)return-1;this.readBlock()}return this.buffer[this.pos++]}},{key:"getBytes",value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.pos;if(e){for(this.ensureBuffer(n+e),t=n+e;!this.eof&&this.bufferLength<t;)this.readBlock();var a=this.bufferLength;t>a&&(t=a)}else{for(;!this.eof;)this.readBlock();t=this.bufferLength}this.pos=t;var i=this.buffer.subarray(n,t);return!r||i instanceof Uint8ClampedArray?i:new Uint8ClampedArray(i)}},{key:"reset",value:function(){this.pos=0}},{key:"makeSubStream",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(void 0===t)for(;!this.eof;)this.readBlock();else for(var n=e+t;this.bufferLength<=n&&!this.eof;)this.readBlock();return new i.Stream(this.buffer,e,t,r)}},{key:"getBaseStreams",value:function(){return this.str?this.str.getBaseStreams():null}}]),r}(a.BaseStream);t.DecodeStream=b;var w=function(e){d(r,e);var t=g(r);function r(e){var n;l(this,r);var a,i=0,o=s(e);try{for(o.s();!(a=o.n()).done;){var c=a.value;i+=c instanceof b?c._rawMinBufferLength:c.length}}catch(e){o.e(e)}finally{o.f()}return(n=t.call(this,i)).streams=e,n}return h(r,[{key:"readBlock",value:function(){var e=this.streams;if(0!==e.length){var t=e.shift().getBytes(),r=this.bufferLength,n=r+t.length;this.ensureBuffer(n).set(t,r),this.bufferLength=n}else this.eof=!0}},{key:"getBaseStreams",value:function(){var e,t=[],r=s(this.streams);try{for(r.s();!(e=r.n()).done;){var n=e.value.getBaseStreams();n&&t.push.apply(t,o(n))}}catch(e){r.e(e)}finally{r.f()}return t.length>0?t:null}}]),r}(b);t.StreamsSequenceStream=w},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function a(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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,s=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(c)throw o}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function c(e){var t=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(e){return!1}}();return function(){var r,n=l(e);if(t){var a=l(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return u(this,r)}}function u(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.AsciiHexStream=void 0;var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(u,e);var t,r,n,i=c(u);function u(e,t){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),t&&(t*=.5),(r=i.call(this,t)).str=e,r.dict=e.dict,r.firstDigit=-1,r}return t=u,(r=[{key:"readBlock",value:function(){var e=this.str.getBytes(8e3);if(e.length){var t,r=e.length+1>>1,n=this.ensureBuffer(this.bufferLength+r),i=this.bufferLength,o=this.firstDigit,s=a(e);try{for(s.s();!(t=s.n()).done;){var c=t.value,u=void 0;if(c>=48&&c<=57)u=15&c;else{if(!(c>=65&&c<=70||c>=97&&c<=102)){if(62===c){this.eof=!0;break}continue}u=9+(15&c)}o<0?o=u:(n[i++]=o<<4|u,o=-1)}}catch(e){s.e(e)}finally{s.f()}o>=0&&this.eof&&(n[i++]=o<<4,o=-1),this.firstDigit=o,this.bufferLength=i}else this.eof=!0}}])&&o(t.prototype,r),n&&o(t,n),u}(r(127).DecodeStream);t.AsciiHexStream=f},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.CCITTFaxStream=void 0;var a=r(113),i=r(130);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function c(e){var t=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(e){return!1}}();return function(){var r,n=l(e);if(t){var a=l(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return u(this,r)}}function u(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(l,e);var t,r,n,u=c(l);function l(e,t,r){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(n=u.call(this,t)).str=e,n.dict=e.dict,(0,a.isDict)(r)||(r=a.Dict.empty);var o={next:function(){return e.getByte()}};return n.ccittFaxDecoder=new i.CCITTFaxDecoder(o,{K:r.get("K"),EndOfLine:r.get("EndOfLine"),EncodedByteAlign:r.get("EncodedByteAlign"),Columns:r.get("Columns"),Rows:r.get("Rows"),EndOfBlock:r.get("EndOfBlock"),BlackIs1:r.get("BlackIs1")}),n}return t=l,(r=[{key:"readBlock",value:function(){for(;!this.eof;){var e=this.ccittFaxDecoder.readNextChar();if(-1===e)return void(this.eof=!0);this.ensureBuffer(this.bufferLength+1),this.buffer[this.bufferLength++]=e}}}])&&o(t.prototype,r),n&&o(t,n),l}(r(127).DecodeStream);t.CCITTFaxStream=f},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CCITTFaxDecoder=void 0;var n=r(4);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var o=-1,s=[[-1,-1],[-1,-1],[7,8],[7,7],[6,6],[6,6],[6,5],[6,5],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[4,0],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[3,3],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2],[1,2]],c=[[-1,-1],[12,-2],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[12,1984],[12,2048],[12,2112],[12,2176],[12,2240],[12,2304],[11,1856],[11,1856],[11,1920],[11,1920],[12,2368],[12,2432],[12,2496],[12,2560]],u=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[8,29],[8,29],[8,30],[8,30],[8,45],[8,45],[8,46],[8,46],[7,22],[7,22],[7,22],[7,22],[7,23],[7,23],[7,23],[7,23],[8,47],[8,47],[8,48],[8,48],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[7,20],[7,20],[7,20],[7,20],[8,33],[8,33],[8,34],[8,34],[8,35],[8,35],[8,36],[8,36],[8,37],[8,37],[8,38],[8,38],[7,19],[7,19],[7,19],[7,19],[8,31],[8,31],[8,32],[8,32],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[8,53],[8,53],[8,54],[8,54],[7,26],[7,26],[7,26],[7,26],[8,39],[8,39],[8,40],[8,40],[8,41],[8,41],[8,42],[8,42],[8,43],[8,43],[8,44],[8,44],[7,21],[7,21],[7,21],[7,21],[7,28],[7,28],[7,28],[7,28],[8,61],[8,61],[8,62],[8,62],[8,63],[8,63],[8,0],[8,0],[8,320],[8,320],[8,384],[8,384],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[7,27],[7,27],[7,27],[7,27],[8,59],[8,59],[8,60],[8,60],[9,1472],[9,1536],[9,1600],[9,1728],[7,18],[7,18],[7,18],[7,18],[7,24],[7,24],[7,24],[7,24],[8,49],[8,49],[8,50],[8,50],[8,51],[8,51],[8,52],[8,52],[7,25],[7,25],[7,25],[7,25],[8,55],[8,55],[8,56],[8,56],[8,57],[8,57],[8,58],[8,58],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[8,448],[8,448],[8,512],[8,512],[9,704],[9,768],[8,640],[8,640],[8,576],[8,576],[9,832],[9,896],[9,960],[9,1024],[9,1088],[9,1152],[9,1216],[9,1280],[9,1344],[9,1408],[7,256],[7,256],[7,256],[7,256],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7]],l=[[-1,-1],[-1,-1],[12,-2],[12,-2],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[11,1792],[11,1792],[12,1984],[12,1984],[12,2048],[12,2048],[12,2112],[12,2112],[12,2176],[12,2176],[12,2240],[12,2240],[12,2304],[12,2304],[11,1856],[11,1856],[11,1856],[11,1856],[11,1920],[11,1920],[11,1920],[11,1920],[12,2368],[12,2368],[12,2432],[12,2432],[12,2496],[12,2496],[12,2560],[12,2560],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[12,52],[12,52],[13,640],[13,704],[13,768],[13,832],[12,55],[12,55],[12,56],[12,56],[13,1280],[13,1344],[13,1408],[13,1472],[12,59],[12,59],[12,60],[12,60],[13,1536],[13,1600],[11,24],[11,24],[11,24],[11,24],[11,25],[11,25],[11,25],[11,25],[13,1664],[13,1728],[12,320],[12,320],[12,384],[12,384],[12,448],[12,448],[13,512],[13,576],[12,53],[12,53],[12,54],[12,54],[13,896],[13,960],[13,1024],[13,1088],[13,1152],[13,1216],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64]],f=[[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[11,23],[11,23],[12,50],[12,51],[12,44],[12,45],[12,46],[12,47],[12,57],[12,58],[12,61],[12,256],[10,16],[10,16],[10,16],[10,16],[10,17],[10,17],[10,17],[10,17],[12,48],[12,49],[12,62],[12,63],[12,30],[12,31],[12,32],[12,33],[12,40],[12,41],[11,22],[11,22],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[12,128],[12,192],[12,26],[12,27],[12,28],[12,29],[11,19],[11,19],[11,20],[11,20],[12,34],[12,35],[12,36],[12,37],[12,38],[12,39],[11,21],[11,21],[12,42],[12,43],[10,0],[10,0],[10,0],[10,0],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12]],h=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[6,9],[6,8],[5,7],[5,7],[4,6],[4,6],[4,6],[4,6],[4,5],[4,5],[4,5],[4,5],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2]],d=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(a(this,e),!t||"function"!=typeof t.next)throw new Error(\'CCITTFaxDecoder - invalid "source" parameter.\');this.source=t,this.eof=!1,this.encoding=r.K||0,this.eoline=r.EndOfLine||!1,this.byteAlign=r.EncodedByteAlign||!1,this.columns=r.Columns||1728,this.rows=r.Rows||0;var n,i=r.EndOfBlock;for(null==i&&(i=!0),this.eoblock=i,this.black=r.BlackIs1||!1,this.codingLine=new Uint32Array(this.columns+1),this.refLine=new Uint32Array(this.columns+2),this.codingLine[0]=this.columns,this.codingPos=0,this.row=0,this.nextLine2D=this.encoding<0,this.inputBits=0,this.inputBuf=0,this.outputBits=0,this.rowsDone=!1;0===(n=this._lookBits(12));)this._eatBits(1);1===n&&this._eatBits(12),this.encoding>0&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1))}var t,r,d;return t=e,(r=[{key:"readNextChar",value:function(){if(this.eof)return-1;var e,t,r,a,i,s=this.refLine,c=this.codingLine,u=this.columns;if(0===this.outputBits){if(this.rowsDone&&(this.eof=!0),this.eof)return-1;var l,f,h;if(this.err=!1,this.nextLine2D){for(a=0;c[a]<u;++a)s[a]=c[a];for(s[a++]=u,s[a]=u,c[0]=0,this.codingPos=0,e=0,t=0;c[this.codingPos]<u;)switch(l=this._getTwoDimCode()){case 0:this._addPixels(s[e+1],t),s[e+1]<u&&(e+=2);break;case 1:if(l=f=0,t){do{l+=h=this._getBlackCode()}while(h>=64);do{f+=h=this._getWhiteCode()}while(h>=64)}else{do{l+=h=this._getWhiteCode()}while(h>=64);do{f+=h=this._getBlackCode()}while(h>=64)}for(this._addPixels(c[this.codingPos]+l,t),c[this.codingPos]<u&&this._addPixels(c[this.codingPos]+f,1^t);s[e]<=c[this.codingPos]&&s[e]<u;)e+=2;break;case 7:if(this._addPixels(s[e]+3,t),t^=1,c[this.codingPos]<u)for(++e;s[e]<=c[this.codingPos]&&s[e]<u;)e+=2;break;case 5:if(this._addPixels(s[e]+2,t),t^=1,c[this.codingPos]<u)for(++e;s[e]<=c[this.codingPos]&&s[e]<u;)e+=2;break;case 3:if(this._addPixels(s[e]+1,t),t^=1,c[this.codingPos]<u)for(++e;s[e]<=c[this.codingPos]&&s[e]<u;)e+=2;break;case 2:if(this._addPixels(s[e],t),t^=1,c[this.codingPos]<u)for(++e;s[e]<=c[this.codingPos]&&s[e]<u;)e+=2;break;case 8:if(this._addPixelsNeg(s[e]-3,t),t^=1,c[this.codingPos]<u)for(e>0?--e:++e;s[e]<=c[this.codingPos]&&s[e]<u;)e+=2;break;case 6:if(this._addPixelsNeg(s[e]-2,t),t^=1,c[this.codingPos]<u)for(e>0?--e:++e;s[e]<=c[this.codingPos]&&s[e]<u;)e+=2;break;case 4:if(this._addPixelsNeg(s[e]-1,t),t^=1,c[this.codingPos]<u)for(e>0?--e:++e;s[e]<=c[this.codingPos]&&s[e]<u;)e+=2;break;case o:this._addPixels(u,0),this.eof=!0;break;default:(0,n.info)("bad 2d code"),this._addPixels(u,0),this.err=!0}}else for(c[0]=0,this.codingPos=0,t=0;c[this.codingPos]<u;){if(l=0,t)do{l+=h=this._getBlackCode()}while(h>=64);else do{l+=h=this._getWhiteCode()}while(h>=64);this._addPixels(c[this.codingPos]+l,t),t^=1}var d=!1;if(this.byteAlign&&(this.inputBits&=-8),this.eoblock||this.row!==this.rows-1){if(l=this._lookBits(12),this.eoline)for(;l!==o&&1!==l;)this._eatBits(1),l=this._lookBits(12);else for(;0===l;)this._eatBits(1),l=this._lookBits(12);1===l?(this._eatBits(12),d=!0):l===o&&(this.eof=!0)}else this.rowsDone=!0;if(!this.eof&&this.encoding>0&&!this.rowsDone&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1)),this.eoblock&&d&&this.byteAlign){if(1===(l=this._lookBits(12))){if(this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1)),this.encoding>=0)for(a=0;a<4;++a)1!==(l=this._lookBits(12))&&(0,n.info)("bad rtc code: "+l),this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1));this.eof=!0}}else if(this.err&&this.eoline){for(;;){if((l=this._lookBits(13))===o)return this.eof=!0,-1;if(l>>1==1)break;this._eatBits(1)}this._eatBits(12),this.encoding>0&&(this._eatBits(1),this.nextLine2D=!(1&l))}c[0]>0?this.outputBits=c[this.codingPos=0]:this.outputBits=c[this.codingPos=1],this.row++}if(this.outputBits>=8)i=1&this.codingPos?0:255,this.outputBits-=8,0===this.outputBits&&c[this.codingPos]<u&&(this.codingPos++,this.outputBits=c[this.codingPos]-c[this.codingPos-1]);else{r=8,i=0;do{this.outputBits>r?(i<<=r,1&this.codingPos||(i|=255>>8-r),this.outputBits-=r,r=0):(i<<=this.outputBits,1&this.codingPos||(i|=255>>8-this.outputBits),r-=this.outputBits,this.outputBits=0,c[this.codingPos]<u?(this.codingPos++,this.outputBits=c[this.codingPos]-c[this.codingPos-1]):r>0&&(i<<=r,r=0))}while(r)}return this.black&&(i^=255),i}},{key:"_addPixels",value:function(e,t){var r=this.codingLine,a=this.codingPos;e>r[a]&&(e>this.columns&&((0,n.info)("row is wrong length"),this.err=!0,e=this.columns),1&a^t&&++a,r[a]=e),this.codingPos=a}},{key:"_addPixelsNeg",value:function(e,t){var r=this.codingLine,a=this.codingPos;if(e>r[a])e>this.columns&&((0,n.info)("row is wrong length"),this.err=!0,e=this.columns),1&a^t&&++a,r[a]=e;else if(e<r[a]){for(e<0&&((0,n.info)("invalid code"),this.err=!0,e=0);a>0&&e<r[a-1];)--a;r[a]=e}this.codingPos=a}},{key:"_findTableCode",value:function(e,t,r,n){for(var a=n||0,i=e;i<=t;++i){var s=this._lookBits(i);if(s===o)return[!0,1,!1];if(i<t&&(s<<=t-i),!a||s>=a){var c=r[s-a];if(c[0]===i)return this._eatBits(i),[!0,c[1],!0]}}return[!1,0,!1]}},{key:"_getTwoDimCode",value:function(){var e,t=0;if(this.eoblock){if(t=this._lookBits(7),(e=s[t])&&e[0]>0)return this._eatBits(e[0]),e[1]}else{var r=this._findTableCode(1,7,s);if(r[0]&&r[2])return r[1]}return(0,n.info)("Bad two dim code"),o}},{key:"_getWhiteCode",value:function(){var e,t=0;if(this.eoblock){if((t=this._lookBits(12))===o)return 1;if((e=t>>5==0?c[t]:u[t>>3])[0]>0)return this._eatBits(e[0]),e[1]}else{var r=this._findTableCode(1,9,u);if(r[0])return r[1];if((r=this._findTableCode(11,12,c))[0])return r[1]}return(0,n.info)("bad white code"),this._eatBits(1),1}},{key:"_getBlackCode",value:function(){var e,t;if(this.eoblock){if((e=this._lookBits(13))===o)return 1;if((t=e>>7==0?l[e]:e>>9==0&&e>>7!=0?f[(e>>1)-64]:h[e>>7])[0]>0)return this._eatBits(t[0]),t[1]}else{var r=this._findTableCode(2,6,h);if(r[0])return r[1];if((r=this._findTableCode(7,12,f,64))[0])return r[1];if((r=this._findTableCode(10,13,l))[0])return r[1]}return(0,n.info)("bad black code"),this._eatBits(1),1}},{key:"_lookBits",value:function(e){for(var t;this.inputBits<e;){if(-1===(t=this.source.next()))return 0===this.inputBits?o:this.inputBuf<<e-this.inputBits&65535>>16-e;this.inputBuf=this.inputBuf<<8|t,this.inputBits+=8}return this.inputBuf>>this.inputBits-e&65535>>16-e}},{key:"_eatBits",value:function(e){(this.inputBits-=e)<0&&(this.inputBits=0)}}])&&i(t.prototype,r),d&&i(t,d),e}();t.CCITTFaxDecoder=d},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.FlateStream=void 0;var a=r(127),i=r(4);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function c(e){var t=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(e){return!1}}();return function(){var r,n=l(e);if(t){var a=l(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return u(this,r)}}function u(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),h=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),d=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),p=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],g=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5],m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(u,e);var t,r,n,a=c(u);function u(e,t){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(r=a.call(this,t)).str=e,r.dict=e.dict;var n=e.getByte(),o=e.getByte();if(-1===n||-1===o)throw new i.FormatError("Invalid header in flate stream: ".concat(n,", ").concat(o));if(8!=(15&n))throw new i.FormatError("Unknown compression method in flate stream: ".concat(n,", ").concat(o));if(((n<<8)+o)%31!=0)throw new i.FormatError("Bad FCHECK in flate stream: ".concat(n,", ").concat(o));if(32&o)throw new i.FormatError("FDICT bit set in flate stream: ".concat(n,", ").concat(o));return r.codeSize=0,r.codeBuf=0,r}return t=u,(r=[{key:"getBits",value:function(e){for(var t,r=this.str,n=this.codeSize,a=this.codeBuf;n<e;){if(-1===(t=r.getByte()))throw new i.FormatError("Bad encoding in flate stream");a|=t<<n,n+=8}return t=a&(1<<e)-1,this.codeBuf=a>>e,this.codeSize=n-=e,t}},{key:"getCode",value:function(e){for(var t,r=this.str,n=e[0],a=e[1],o=this.codeSize,s=this.codeBuf;o<a&&-1!==(t=r.getByte());)s|=t<<o,o+=8;var c=n[s&(1<<a)-1],u=c>>16,l=65535&c;if(u<1||o<u)throw new i.FormatError("Bad encoding in flate stream");return this.codeBuf=s>>u,this.codeSize=o-u,l}},{key:"generateHuffmanTable",value:function(e){var t,r=e.length,n=0;for(t=0;t<r;++t)e[t]>n&&(n=e[t]);for(var a=1<<n,i=new Int32Array(a),o=1,s=0,c=2;o<=n;++o,s<<=1,c<<=1)for(var u=0;u<r;++u)if(e[u]===o){var l=0,f=s;for(t=0;t<o;++t)l=l<<1|1&f,f>>=1;for(t=l;t<a;t+=c)i[t]=o<<16|u;++s}return[i,n]}},{key:"readBlock",value:function(){var e,t,r=this.str,n=this.getBits(3);if(1&n&&(this.eof=!0),0!=(n>>=1)){var a,o;if(1===n)a=p,o=g;else{if(2!==n)throw new i.FormatError("Unknown block type in flate stream");var s,c=this.getBits(5)+257,u=this.getBits(5)+1,l=this.getBits(4)+4,m=new Uint8Array(f.length);for(s=0;s<l;++s)m[f[s]]=this.getBits(3);var v=this.generateHuffmanTable(m);t=0,s=0;for(var y,b,w,k=c+u,S=new Uint8Array(k);s<k;){var x=this.getCode(v);if(16===x)y=2,b=3,w=t;else if(17===x)y=3,b=3,w=t=0;else{if(18!==x){S[s++]=t=x;continue}y=7,b=11,w=t=0}for(var A=this.getBits(y)+b;A-- >0;)S[s++]=w}a=this.generateHuffmanTable(S.subarray(0,c)),o=this.generateHuffmanTable(S.subarray(c,k))}for(var O=(e=this.buffer)?e.length:0,C=this.bufferLength;;){var T=this.getCode(a);if(T<256)C+1>=O&&(O=(e=this.ensureBuffer(C+1)).length),e[C++]=T;else{if(256===T)return void(this.bufferLength=C);var F=(T=h[T-=257])>>16;F>0&&(F=this.getBits(F)),t=(65535&T)+F,T=this.getCode(o),(F=(T=d[T])>>16)>0&&(F=this.getBits(F));var P=(65535&T)+F;C+t>=O&&(O=(e=this.ensureBuffer(C+t)).length);for(var _=0;_<t;++_,++C)e[C]=e[C-P]}}}else{var I;if(-1===(I=r.getByte()))throw new i.FormatError("Bad block header in flate stream");var E=I;if(-1===(I=r.getByte()))throw new i.FormatError("Bad block header in flate stream");if(E|=I<<8,-1===(I=r.getByte()))throw new i.FormatError("Bad block header in flate stream");var j=I;if(-1===(I=r.getByte()))throw new i.FormatError("Bad block header in flate stream");if((j|=I<<8)!=(65535&~E)&&(0!==E||0!==j))throw new i.FormatError("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;var R=this.bufferLength,M=R+E;if(e=this.ensureBuffer(M),this.bufferLength=M,0===E)-1===r.peekByte()&&(this.eof=!0);else{var N=r.getBytes(E);e.set(N,R),N.length<E&&(this.eof=!0)}}}}])&&o(t.prototype,r),n&&o(t,n),u}(a.DecodeStream);t.FlateStream=m},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Jbig2Stream=void 0;var a=r(113),i=r(127),o=r(133),s=r(4);function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function l(e){var t=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(e){return!1}}();return function(){var r,n=h(e);if(t){var a=h(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return f(this,r)}}function f(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(f,e);var t,r,n,i=l(f);function f(e,t,r){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(n=i.call(this,t)).stream=e,n.dict=e.dict,n.maybeLength=t,n.params=r,n}return t=f,(r=[{key:"bytes",get:function(){return(0,s.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}},{key:"ensureBuffer",value:function(e){}},{key:"readBlock",value:function(){if(!this.eof){var e=new o.Jbig2Image,t=[];if((0,a.isDict)(this.params)){var r=this.params.get("JBIG2Globals");if((0,a.isStream)(r)){var n=r.getBytes();t.push({data:n,start:0,end:n.length})}}t.push({data:this.bytes,start:0,end:this.bytes.length});for(var i=e.parseChunks(t),s=i.length,c=0;c<s;c++)i[c]^=255;this.buffer=i,this.bufferLength=s,this.eof=!0}}}])&&c(t.prototype,r),n&&c(t,n),f}(i.DecodeStream);t.Jbig2Stream=d},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Jbig2Image=void 0;var a=r(4),i=r(117),o=r(134),s=r(130);function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function h(e){var t=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(e){return!1}}();return function(){var r,n=p(e);if(t){var a=p(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return d(this,r)}}function d(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(r,e);var t=h(r);function r(e){return l(this,r),t.call(this,"JBIG2 error: ".concat(e))}return r}(a.BaseException),m=function(){function e(){l(this,e)}return u(e,[{key:"getContexts",value:function(e){return e in this?this[e]:this[e]=new Int8Array(65536)}}]),e}(),v=function(){function e(t,r,n){l(this,e),this.data=t,this.start=r,this.end=n}return u(e,[{key:"decoder",get:function(){var e=new o.ArithmeticDecoder(this.data,this.start,this.end);return(0,a.shadow)(this,"decoder",e)}},{key:"contextCache",get:function(){var e=new m;return(0,a.shadow)(this,"contextCache",e)}}]),e}();function y(e,t,r){var n=e.getContexts(t),a=1;function i(e){for(var t=0,i=0;i<e;i++){var o=r.readBit(n,a);a=a<256?a<<1|o:511&(a<<1|o)|256,t=t<<1|o}return t>>>0}var o=i(1),s=i(1)?i(1)?i(1)?i(1)?i(1)?i(32)+4436:i(12)+340:i(8)+84:i(6)+20:i(4)+4:i(2);return 0===o?s:s>0?-s:null}function b(e,t,r){for(var n=e.getContexts("IAID"),a=1,i=0;i<r;i++)a=a<<1|t.readBit(n,a);return r<31?a&(1<<r)-1:2147483647&a}var w=["SymbolDictionary",null,null,null,"IntermediateTextRegion",null,"ImmediateTextRegion","ImmediateLosslessTextRegion",null,null,null,null,null,null,null,null,"PatternDictionary",null,null,null,"IntermediateHalftoneRegion",null,"ImmediateHalftoneRegion","ImmediateLosslessHalftoneRegion",null,null,null,null,null,null,null,null,null,null,null,null,"IntermediateGenericRegion",null,"ImmediateGenericRegion","ImmediateLosslessGenericRegion","IntermediateGenericRefinementRegion",null,"ImmediateGenericRefinementRegion","ImmediateLosslessGenericRefinementRegion",null,null,null,null,"PageInformation","EndOfPage","EndOfStripe","EndOfFile","Profiles","Tables",null,null,null,null,null,null,null,null,"Extension"],k=[[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:2,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:2,y:-1},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}],[{x:-1,y:-2},{x:0,y:-2},{x:1,y:-2},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-2,y:0},{x:-1,y:0}],[{x:-3,y:-1},{x:-2,y:-1},{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-4,y:0},{x:-3,y:0},{x:-2,y:0},{x:-1,y:0}]],S=[{coding:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:1,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:-1,y:1},{x:0,y:1},{x:1,y:1}]},{coding:[{x:-1,y:-1},{x:0,y:-1},{x:1,y:-1},{x:-1,y:0}],reference:[{x:0,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:0,y:1},{x:1,y:1}]}],x=[39717,1941,229,405],A=[32,8];function O(e,t,r,n,a,i,o,s){if(e)return H(new U(s.data,s.start,s.end),t,r,!1);if(0===n&&!i&&!a&&4===o.length&&3===o[0].x&&-1===o[0].y&&-3===o[1].x&&-1===o[1].y&&2===o[2].x&&-2===o[2].y&&-2===o[3].x&&-2===o[3].y)return function(e,t,r){var n,a,i,o,s,c,u,l=r.decoder,f=r.contextCache.getContexts("GB"),h=[];for(a=0;a<t;a++)for(s=h[a]=new Uint8Array(e),c=a<1?s:h[a-1],n=(u=a<2?s:h[a-2])[0]<<13|u[1]<<12|u[2]<<11|c[0]<<7|c[1]<<6|c[2]<<5|c[3]<<4,i=0;i<e;i++)s[i]=o=l.readBit(f,n),n=(31735&n)<<1|(i+3<e?u[i+3]<<11:0)|(i+4<e?c[i+4]<<4:0)|o;return h}(t,r,s);var c=!!i,u=k[n].concat(o);u.sort((function(e,t){return e.y-t.y||e.x-t.x}));var l,f,h=u.length,d=new Int8Array(h),p=new Int8Array(h),g=[],m=0,v=0,y=0,b=0;for(f=0;f<h;f++)d[f]=u[f].x,p[f]=u[f].y,v=Math.min(v,u[f].x),y=Math.max(y,u[f].x),b=Math.min(b,u[f].y),f<h-1&&u[f].y===u[f+1].y&&u[f].x===u[f+1].x-1?m|=1<<h-1-f:g.push(f);var w=g.length,S=new Int8Array(w),A=new Int8Array(w),O=new Uint16Array(w);for(l=0;l<w;l++)f=g[l],S[l]=u[f].x,A[l]=u[f].y,O[l]=1<<h-1-f;for(var C,T,F,P,_,I=-v,E=-b,j=t-y,R=x[n],M=new Uint8Array(t),N=[],B=s.decoder,D=s.contextCache.getContexts("GB"),L=0,q=0,X=0;X<r;X++)if(a&&(L^=B.readBit(D,R)))N.push(M);else for(M=new Uint8Array(M),N.push(M),C=0;C<t;C++)if(c&&i[X][C])M[C]=0;else{if(C>=I&&C<j&&X>=E)for(q=q<<1&m,f=0;f<w;f++)T=X+A[f],F=C+S[f],(P=N[T][F])&&(q|=P=O[f]);else for(q=0,_=h-1,f=0;f<h;f++,_--)(F=C+d[f])>=0&&F<t&&(T=X+p[f])>=0&&(P=N[T][F])&&(q|=P<<_);var $=B.readBit(D,q);M[C]=$}return N}function C(e,t,r,n,a,i,o,s,c){var u=S[r].coding;0===r&&(u=u.concat([s[0]]));var l,f=u.length,h=new Int32Array(f),d=new Int32Array(f);for(l=0;l<f;l++)h[l]=u[l].x,d[l]=u[l].y;var p=S[r].reference;0===r&&(p=p.concat([s[1]]));var m=p.length,v=new Int32Array(m),y=new Int32Array(m);for(l=0;l<m;l++)v[l]=p[l].x,y[l]=p[l].y;for(var b=n[0].length,w=n.length,k=A[r],x=[],O=c.decoder,C=c.contextCache.getContexts("GR"),T=0,F=0;F<t;F++){if(o&&(T^=O.readBit(C,k)))throw new g("prediction is not supported");var P=new Uint8Array(e);x.push(P);for(var _=0;_<e;_++){var I=void 0,E=void 0,j=0;for(l=0;l<f;l++)I=F+d[l],E=_+h[l],I<0||E<0||E>=e?j<<=1:j=j<<1|x[I][E];for(l=0;l<m;l++)I=F+y[l]-i,E=_+v[l]-a,I<0||I>=w||E<0||E>=b?j<<=1:j=j<<1|n[I][E];var R=O.readBit(C,j);P[_]=R}}return x}function T(e,t,r,n,a,i,o,s,c,u,l,f,h,d,p,m,v,w,k){if(e&&t)throw new g("refinement with Huffman is not supported");var S,x,A=[];for(S=0;S<n;S++){if(x=new Uint8Array(r),a)for(var O=0;O<r;O++)x[O]=a;A.push(x)}var T=v.decoder,F=v.contextCache,P=e?-d.tableDeltaT.decode(k):-y(F,"IADT",T),_=0;for(S=0;S<i;){P+=e?d.tableDeltaT.decode(k):y(F,"IADT",T);for(var I=_+=e?d.tableFirstS.decode(k):y(F,"IAFS",T);;){var E=0;o>1&&(E=e?k.readBits(w):y(F,"IAIT",T));var j=o*P+E,R=e?d.symbolIDTable.decode(k):b(F,T,c),M=t&&(e?k.readBit():y(F,"IARI",T)),N=s[R],B=N[0].length,D=N.length;if(M){var L=y(F,"IARDW",T),U=y(F,"IARDH",T);N=C(B+=L,D+=U,p,N,(L>>1)+y(F,"IARDX",T),(U>>1)+y(F,"IARDY",T),!1,m,v)}var q=j-(1&f?0:D-1),X=I-(2&f?B-1:0),H=void 0,$=void 0,z=void 0;if(u){for(H=0;H<D;H++)if(x=A[X+H]){z=N[H];var G=Math.min(r-q,B);switch(h){case 0:for($=0;$<G;$++)x[q+$]|=z[$];break;case 2:for($=0;$<G;$++)x[q+$]^=z[$];break;default:throw new g("operator ".concat(h," is not supported"))}}I+=D-1}else{for($=0;$<D;$++)if(x=A[q+$])switch(z=N[$],h){case 0:for(H=0;H<B;H++)x[X+H]|=z[H];break;case 2:for(H=0;H<B;H++)x[X+H]^=z[H];break;default:throw new g("operator ".concat(h," is not supported"))}I+=B-1}S++;var W=e?d.tableDeltaS.decode(k):y(F,"IADS",T);if(null===W)break;I+=W+l}}return A}function F(e,t){var r={};r.number=(0,i.readUint32)(e,t);var n=e[t+4],a=63&n;if(!w[a])throw new g("invalid segment type: "+a);r.type=a,r.typeName=w[a],r.deferredNonRetain=!!(128&n);var o=!!(64&n),s=e[t+5],c=s>>5&7,u=[31&s],l=t+6;if(7===s){c=536870911&(0,i.readUint32)(e,l-1),l+=3;var f=c+7>>3;for(u[0]=e[l++];--f>0;)u.push(e[l++])}else if(5===s||6===s)throw new g("invalid referred-to flags");r.retainBits=u;var h=4;r.number<=256?h=1:r.number<=65536&&(h=2);var d,p,m=[];for(d=0;d<c;d++){var v=void 0;v=1===h?e[l]:2===h?(0,i.readUint16)(e,l):(0,i.readUint32)(e,l),m.push(v),l+=h}if(r.referredTo=m,o?(r.pageAssociation=(0,i.readUint32)(e,l),l+=4):r.pageAssociation=e[l++],r.length=(0,i.readUint32)(e,l),l+=4,4294967295===r.length){if(38!==a)throw new g("invalid unknown segment length");var y=_(e,l),b=!!(1&e[l+I]),k=new Uint8Array(6);for(b||(k[0]=255,k[1]=172),k[2]=y.height>>>24&255,k[3]=y.height>>16&255,k[4]=y.height>>8&255,k[5]=255&y.height,d=l,p=e.length;d<p;d++){for(var S=0;S<6&&k[S]===e[d+S];)S++;if(6===S){r.length=d+6;break}}if(4294967295===r.length)throw new g("segment end was not found")}return r.headerEnd=l,r}function P(e,t,r,n){for(var a=[],i=r;i<n;){var o=F(t,i);i=o.headerEnd;var s={header:o,data:t};if(e.randomAccess||(s.start=i,i+=o.length,s.end=i),a.push(s),51===o.type)break}if(e.randomAccess)for(var c=0,u=a.length;c<u;c++)a[c].start=i,i+=a[c].header.length,a[c].end=i;return a}function _(e,t){return{width:(0,i.readUint32)(e,t),height:(0,i.readUint32)(e,t+4),x:(0,i.readUint32)(e,t+8),y:(0,i.readUint32)(e,t+12),combinationOperator:7&e[t+16]}}var I=17;function E(e,t){var r,n,a,o,s=e.header,c=e.data,u=e.end,l=e.start;switch(s.type){case 0:var f={},h=(0,i.readUint16)(c,l);if(f.huffman=!!(1&h),f.refinement=!!(2&h),f.huffmanDHSelector=h>>2&3,f.huffmanDWSelector=h>>4&3,f.bitmapSizeSelector=h>>6&1,f.aggregationInstancesSelector=h>>7&1,f.bitmapCodingContextUsed=!!(256&h),f.bitmapCodingContextRetained=!!(512&h),f.template=h>>10&3,f.refinementTemplate=h>>12&1,l+=2,!f.huffman){for(o=0===f.template?4:1,n=[],a=0;a<o;a++)n.push({x:(0,i.readInt8)(c,l),y:(0,i.readInt8)(c,l+1)}),l+=2;f.at=n}if(f.refinement&&!f.refinementTemplate){for(n=[],a=0;a<2;a++)n.push({x:(0,i.readInt8)(c,l),y:(0,i.readInt8)(c,l+1)}),l+=2;f.refinementAt=n}f.numberOfExportedSymbols=(0,i.readUint32)(c,l),l+=4,f.numberOfNewSymbols=(0,i.readUint32)(c,l),l+=4,r=[f,s.number,s.referredTo,c,l,u];break;case 6:case 7:var d={};d.info=_(c,l),l+=I;var p=(0,i.readUint16)(c,l);if(l+=2,d.huffman=!!(1&p),d.refinement=!!(2&p),d.logStripSize=p>>2&3,d.stripSize=1<<d.logStripSize,d.referenceCorner=p>>4&3,d.transposed=!!(64&p),d.combinationOperator=p>>7&3,d.defaultPixelValue=p>>9&1,d.dsOffset=p<<17>>27,d.refinementTemplate=p>>15&1,d.huffman){var m=(0,i.readUint16)(c,l);l+=2,d.huffmanFS=3&m,d.huffmanDS=m>>2&3,d.huffmanDT=m>>4&3,d.huffmanRefinementDW=m>>6&3,d.huffmanRefinementDH=m>>8&3,d.huffmanRefinementDX=m>>10&3,d.huffmanRefinementDY=m>>12&3,d.huffmanRefinementSizeSelector=!!(16384&m)}if(d.refinement&&!d.refinementTemplate){for(n=[],a=0;a<2;a++)n.push({x:(0,i.readInt8)(c,l),y:(0,i.readInt8)(c,l+1)}),l+=2;d.refinementAt=n}d.numberOfSymbolInstances=(0,i.readUint32)(c,l),l+=4,r=[d,s.referredTo,c,l,u];break;case 16:var v={},y=c[l++];v.mmr=!!(1&y),v.template=y>>1&3,v.patternWidth=c[l++],v.patternHeight=c[l++],v.maxPatternIndex=(0,i.readUint32)(c,l),l+=4,r=[v,s.number,c,l,u];break;case 22:case 23:var b={};b.info=_(c,l),l+=I;var w=c[l++];b.mmr=!!(1&w),b.template=w>>1&3,b.enableSkip=!!(8&w),b.combinationOperator=w>>4&7,b.defaultPixelValue=w>>7&1,b.gridWidth=(0,i.readUint32)(c,l),l+=4,b.gridHeight=(0,i.readUint32)(c,l),l+=4,b.gridOffsetX=4294967295&(0,i.readUint32)(c,l),l+=4,b.gridOffsetY=4294967295&(0,i.readUint32)(c,l),l+=4,b.gridVectorX=(0,i.readUint16)(c,l),l+=2,b.gridVectorY=(0,i.readUint16)(c,l),l+=2,r=[b,s.referredTo,c,l,u];break;case 38:case 39:var k={};k.info=_(c,l),l+=I;var S=c[l++];if(k.mmr=!!(1&S),k.template=S>>1&3,k.prediction=!!(8&S),!k.mmr){for(o=0===k.template?4:1,n=[],a=0;a<o;a++)n.push({x:(0,i.readInt8)(c,l),y:(0,i.readInt8)(c,l+1)}),l+=2;k.at=n}r=[k,c,l,u];break;case 48:var x={width:(0,i.readUint32)(c,l),height:(0,i.readUint32)(c,l+4),resolutionX:(0,i.readUint32)(c,l+8),resolutionY:(0,i.readUint32)(c,l+12)};4294967295===x.height&&delete x.height;var A=c[l+16];(0,i.readUint16)(c,l+17),x.lossless=!!(1&A),x.refinement=!!(2&A),x.defaultPixelValue=A>>2&1,x.combinationOperator=A>>3&3,x.requiresBuffer=!!(32&A),x.combinationOperatorOverride=!!(64&A),r=[x];break;case 49:case 50:case 51:case 62:break;case 53:r=[s.number,c,l,u];break;default:throw new g("segment type ".concat(s.typeName,"(").concat(s.type,")")+" is not implemented")}var O="on"+s.typeName;O in t&&t[O].apply(t,r)}function j(e,t){for(var r=0,n=e.length;r<n;r++)E(e[r],t)}var R=function(){function e(){l(this,e)}return u(e,[{key:"onPageInformation",value:function(e){this.currentPageInfo=e;var t=e.width+7>>3,r=new Uint8ClampedArray(t*e.height);if(e.defaultPixelValue)for(var n=0,a=r.length;n<a;n++)r[n]=255;this.buffer=r}},{key:"drawBitmap",value:function(e,t){var r,n,a,i,o=this.currentPageInfo,s=e.width,c=e.height,u=o.width+7>>3,l=o.combinationOperatorOverride?e.combinationOperator:o.combinationOperator,f=this.buffer,h=128>>(7&e.x),d=e.y*u+(e.x>>3);switch(l){case 0:for(r=0;r<c;r++){for(a=h,i=d,n=0;n<s;n++)t[r][n]&&(f[i]|=a),(a>>=1)||(a=128,i++);d+=u}break;case 2:for(r=0;r<c;r++){for(a=h,i=d,n=0;n<s;n++)t[r][n]&&(f[i]^=a),(a>>=1)||(a=128,i++);d+=u}break;default:throw new g("operator ".concat(l," is not supported"))}}},{key:"onImmediateGenericRegion",value:function(e,t,r,n){var a=e.info,i=new v(t,r,n),o=O(e.mmr,a.width,a.height,e.template,e.prediction,null,e.at,i);this.drawBitmap(a,o)}},{key:"onImmediateLosslessGenericRegion",value:function(){this.onImmediateGenericRegion.apply(this,arguments)}},{key:"onSymbolDictionary",value:function(e,t,r,n,a,o){var s,c;e.huffman&&(s=function(e,t,r){var n,a,i,o,s=0;switch(e.huffmanDHSelector){case 0:case 1:n=L(e.huffmanDHSelector+4);break;case 3:n=q(s,t,r),s++;break;default:throw new g("invalid Huffman DH selector")}switch(e.huffmanDWSelector){case 0:case 1:a=L(e.huffmanDWSelector+2);break;case 3:a=q(s,t,r),s++;break;default:throw new g("invalid Huffman DW selector")}return e.bitmapSizeSelector?(i=q(s,t,r),s++):i=L(1),o=e.aggregationInstancesSelector?q(s,t,r):L(1),{tableDeltaHeight:n,tableDeltaWidth:a,tableBitmapSize:i,tableAggregateInstances:o}}(e,r,this.customTables),c=new U(n,a,o));var u=this.symbols;u||(this.symbols=u={});for(var l=[],f=0,h=r.length;f<h;f++){var d=u[r[f]];d&&(l=l.concat(d))}var p=new v(n,a,o);u[t]=function(e,t,r,n,a,o,s,c,u,l,f,h){if(e&&t)throw new g("symbol refinement with Huffman is not supported");var d,p,m=[],v=0,w=(0,i.log2)(r.length+n),k=f.decoder,S=f.contextCache;for(e&&(d=L(1),p=[],w=Math.max(w,1));m.length<n;){v+=e?o.tableDeltaHeight.decode(h):y(S,"IADH",k);for(var x=0,A=0,F=e?p.length:0;;){var P=e?o.tableDeltaWidth.decode(h):y(S,"IADW",k);if(null===P)break;A+=x+=P;var _=void 0;if(t){var I=y(S,"IAAI",k);if(I>1)_=T(e,t,x,v,0,I,1,r.concat(m),w,0,0,1,0,o,u,l,f,0,h);else{var E=b(S,k,w),j=y(S,"IARDX",k),R=y(S,"IARDY",k);_=C(x,v,u,E<r.length?r[E]:m[E-r.length],j,R,!1,l,f)}m.push(_)}else e?p.push(x):(_=O(!1,x,v,s,!1,null,c,f),m.push(_))}if(e&&!t){var M=o.tableBitmapSize.decode(h);h.byteAlign();var N=void 0;if(0===M)N=X(h,A,v);else{var B=h.end,D=h.position+M;h.end=D,N=H(h,A,v,!1),h.end=B,h.position=D}var U=p.length;if(F===U-1)m.push(N);else{var q=void 0,$=void 0,z=0,G=void 0,W=void 0;for(q=F;q<U;q++){for(G=z+p[q],W=[],$=0;$<v;$++)W.push(N[$].subarray(z,G));m.push(W),z=G}}}}for(var V,K,Y=[],J=[],Z=!1,Q=r.length+n;J.length<Q;){for(var ee=e?d.decode(h):y(S,"IAEX",k);ee--;)J.push(Z);Z=!Z}for(V=0,K=r.length;V<K;V++)J[V]&&Y.push(r[V]);for(var te=0;te<n;V++,te++)J[V]&&Y.push(m[te]);return Y}(e.huffman,e.refinement,l,e.numberOfNewSymbols,e.numberOfExportedSymbols,s,e.template,e.at,e.refinementTemplate,e.refinementAt,p,c)}},{key:"onImmediateTextRegion",value:function(e,t,r,n,a){for(var o,s,c=e.info,u=this.symbols,l=[],f=0,h=t.length;f<h;f++){var d=u[t[f]];d&&(l=l.concat(d))}var p=(0,i.log2)(l.length);e.huffman&&(s=new U(r,n,a),o=function(e,t,r,n,a){for(var i=[],o=0;o<=34;o++){var s=a.readBits(4);i.push(new M([o,s,0,0]))}var c=new B(i,!1);i.length=0;for(var u=0;u<n;){var l=c.decode(a);if(l>=32){var f=void 0,h=void 0,d=void 0;switch(l){case 32:if(0===u)throw new g("no previous value in symbol ID table");h=a.readBits(2)+3,f=i[u-1].prefixLength;break;case 33:h=a.readBits(3)+3,f=0;break;case 34:h=a.readBits(7)+11,f=0;break;default:throw new g("invalid code length in symbol ID table")}for(d=0;d<h;d++)i.push(new M([u,f,0,0])),u++}else i.push(new M([u,l,0,0])),u++}a.byteAlign();var p,m,v,y=new B(i,!1),b=0;switch(e.huffmanFS){case 0:case 1:p=L(e.huffmanFS+6);break;case 3:p=q(b,t,r),b++;break;default:throw new g("invalid Huffman FS selector")}switch(e.huffmanDS){case 0:case 1:case 2:m=L(e.huffmanDS+8);break;case 3:m=q(b,t,r),b++;break;default:throw new g("invalid Huffman DS selector")}switch(e.huffmanDT){case 0:case 1:case 2:v=L(e.huffmanDT+11);break;case 3:v=q(b,t,r),b++;break;default:throw new g("invalid Huffman DT selector")}if(e.refinement)throw new g("refinement with Huffman is not supported");return{symbolIDTable:y,tableFirstS:p,tableDeltaS:m,tableDeltaT:v}}(e,t,this.customTables,l.length,s));var m=new v(r,n,a),y=T(e.huffman,e.refinement,c.width,c.height,e.defaultPixelValue,e.numberOfSymbolInstances,e.stripSize,l,p,e.transposed,e.dsOffset,e.referenceCorner,e.combinationOperator,o,e.refinementTemplate,e.refinementAt,m,e.logStripSize,s);this.drawBitmap(c,y)}},{key:"onImmediateLosslessTextRegion",value:function(){this.onImmediateTextRegion.apply(this,arguments)}},{key:"onPatternDictionary",value:function(e,t,r,n,a){var i=this.patterns;i||(this.patterns=i={});var o=new v(r,n,a);i[t]=function(e,t,r,n,a,i){var o=[];e||(o.push({x:-t,y:0}),0===a&&o.push({x:-3,y:-1},{x:2,y:-2},{x:-2,y:-2}));for(var s=O(e,(n+1)*t,r,a,!1,null,o,i),c=[],u=0;u<=n;u++){for(var l=[],f=t*u,h=f+t,d=0;d<r;d++)l.push(s[d].subarray(f,h));c.push(l)}return c}(e.mmr,e.patternWidth,e.patternHeight,e.maxPatternIndex,e.template,o)}},{key:"onImmediateHalftoneRegion",value:function(e,t,r,n,a){var o=this.patterns[t[0]],s=e.info,c=new v(r,n,a),u=function(e,t,r,n,a,o,s,c,u,l,f,h,d,p,m){if(s)throw new g("skip is not supported");if(0!==c)throw new g(\'operator "\'.concat(c,\'" is not supported in halftone region\'));var v,y,b,w=[];for(v=0;v<a;v++){if(b=new Uint8Array(n),o)for(y=0;y<n;y++)b[y]=o;w.push(b)}var k=t.length,S=t[0],x=S[0].length,A=S.length,C=(0,i.log2)(k),T=[];e||(T.push({x:r<=1?3:2,y:-1}),0===r&&T.push({x:-3,y:-1},{x:2,y:-2},{x:-2,y:-2}));var F,P,_,I,E,j,R,M,N,B,D,L=[];for(e&&(F=new U(m.data,m.start,m.end)),v=C-1;v>=0;v--)P=e?H(F,u,l,!0):O(!1,u,l,r,!1,null,T,m),L[v]=P;for(_=0;_<l;_++)for(I=0;I<u;I++){for(E=0,j=0,y=C-1;y>=0;y--)j|=(E=L[y][_][I]^E)<<y;if(R=t[j],N=h+_*d-I*p>>8,(M=f+_*p+I*d>>8)>=0&&M+x<=n&&N>=0&&N+A<=a)for(v=0;v<A;v++)for(D=w[N+v],B=R[v],y=0;y<x;y++)D[M+y]|=B[y];else{var q=void 0,X=void 0;for(v=0;v<A;v++)if(!((X=N+v)<0||X>=a))for(D=w[X],B=R[v],y=0;y<x;y++)(q=M+y)>=0&&q<n&&(D[q]|=B[y])}}return w}(e.mmr,o,e.template,s.width,s.height,e.defaultPixelValue,e.enableSkip,e.combinationOperator,e.gridWidth,e.gridHeight,e.gridOffsetX,e.gridOffsetY,e.gridVectorX,e.gridVectorY,c);this.drawBitmap(s,u)}},{key:"onImmediateLosslessHalftoneRegion",value:function(){this.onImmediateHalftoneRegion.apply(this,arguments)}},{key:"onTables",value:function(e,t,r,n){var a=this.customTables;a||(this.customTables=a={}),a[e]=function(e,t,r){var n,a,o=e[t],s=4294967295&(0,i.readUint32)(e,t+1),c=4294967295&(0,i.readUint32)(e,t+5),u=new U(e,t+9,r),l=1+(o>>1&7),f=1+(o>>4&7),h=[],d=s;do{n=u.readBits(l),a=u.readBits(f),h.push(new M([d,n,a,0])),d+=1<<a}while(d<c);return n=u.readBits(l),h.push(new M([s-1,n,32,0,"lower"])),n=u.readBits(l),h.push(new M([c,n,32,0])),1&o&&(n=u.readBits(l),h.push(new M([n,0]))),new B(h,!1)}(t,r,n)}}]),e}(),M=function e(t){l(this,e),2===t.length?(this.isOOB=!0,this.rangeLow=0,this.prefixLength=t[0],this.rangeLength=0,this.prefixCode=t[1],this.isLowerRange=!1):(this.isOOB=!1,this.rangeLow=t[0],this.prefixLength=t[1],this.rangeLength=t[2],this.prefixCode=t[3],this.isLowerRange="lower"===t[4])},N=function(){function e(t){l(this,e),this.children=[],t?(this.isLeaf=!0,this.rangeLength=t.rangeLength,this.rangeLow=t.rangeLow,this.isLowerRange=t.isLowerRange,this.isOOB=t.isOOB):this.isLeaf=!1}return u(e,[{key:"buildTree",value:function(t,r){var n=t.prefixCode>>r&1;if(r<=0)this.children[n]=new e(t);else{var a=this.children[n];a||(this.children[n]=a=new e(null)),a.buildTree(t,r-1)}}},{key:"decodeNode",value:function(e){if(this.isLeaf){if(this.isOOB)return null;var t=e.readBits(this.rangeLength);return this.rangeLow+(this.isLowerRange?-t:t)}var r=this.children[e.readBit()];if(!r)throw new g("invalid Huffman data");return r.decodeNode(e)}}]),e}(),B=function(){function e(t,r){l(this,e),r||this.assignPrefixCodes(t),this.rootNode=new N(null);for(var n=0,a=t.length;n<a;n++){var i=t[n];i.prefixLength>0&&this.rootNode.buildTree(i,i.prefixLength-1)}}return u(e,[{key:"decode",value:function(e){return this.rootNode.decodeNode(e)}},{key:"assignPrefixCodes",value:function(e){for(var t=e.length,r=0,n=0;n<t;n++)r=Math.max(r,e[n].prefixLength);for(var a=new Uint32Array(r+1),i=0;i<t;i++)a[e[i].prefixLength]++;var o,s,c,u=1,l=0;for(a[0]=0;u<=r;){for(o=l=l+a[u-1]<<1,s=0;s<t;)(c=e[s]).prefixLength===u&&(c.prefixCode=o,o++),s++;u++}}}]),e}(),D={};function L(e){var t,r=D[e];if(r)return r;switch(e){case 1:t=[[0,1,4,0],[16,2,8,2],[272,3,16,6],[65808,3,32,7]];break;case 2:t=[[0,1,0,0],[1,2,0,2],[2,3,0,6],[3,4,3,14],[11,5,6,30],[75,6,32,62],[6,63]];break;case 3:t=[[-256,8,8,254],[0,1,0,0],[1,2,0,2],[2,3,0,6],[3,4,3,14],[11,5,6,30],[-257,8,32,255,"lower"],[75,7,32,126],[6,62]];break;case 4:t=[[1,1,0,0],[2,2,0,2],[3,3,0,6],[4,4,3,14],[12,5,6,30],[76,5,32,31]];break;case 5:t=[[-255,7,8,126],[1,1,0,0],[2,2,0,2],[3,3,0,6],[4,4,3,14],[12,5,6,30],[-256,7,32,127,"lower"],[76,6,32,62]];break;case 6:t=[[-2048,5,10,28],[-1024,4,9,8],[-512,4,8,9],[-256,4,7,10],[-128,5,6,29],[-64,5,5,30],[-32,4,5,11],[0,2,7,0],[128,3,7,2],[256,3,8,3],[512,4,9,12],[1024,4,10,13],[-2049,6,32,62,"lower"],[2048,6,32,63]];break;case 7:t=[[-1024,4,9,8],[-512,3,8,0],[-256,4,7,9],[-128,5,6,26],[-64,5,5,27],[-32,4,5,10],[0,4,5,11],[32,5,5,28],[64,5,6,29],[128,4,7,12],[256,3,8,1],[512,3,9,2],[1024,3,10,3],[-1025,5,32,30,"lower"],[2048,5,32,31]];break;case 8:t=[[-15,8,3,252],[-7,9,1,508],[-5,8,1,253],[-3,9,0,509],[-2,7,0,124],[-1,4,0,10],[0,2,1,0],[2,5,0,26],[3,6,0,58],[4,3,4,4],[20,6,1,59],[22,4,4,11],[38,4,5,12],[70,5,6,27],[134,5,7,28],[262,6,7,60],[390,7,8,125],[646,6,10,61],[-16,9,32,510,"lower"],[1670,9,32,511],[2,1]];break;case 9:t=[[-31,8,4,252],[-15,9,2,508],[-11,8,2,253],[-7,9,1,509],[-5,7,1,124],[-3,4,1,10],[-1,3,1,2],[1,3,1,3],[3,5,1,26],[5,6,1,58],[7,3,5,4],[39,6,2,59],[43,4,5,11],[75,4,6,12],[139,5,7,27],[267,5,8,28],[523,6,8,60],[779,7,9,125],[1291,6,11,61],[-32,9,32,510,"lower"],[3339,9,32,511],[2,0]];break;case 10:t=[[-21,7,4,122],[-5,8,0,252],[-4,7,0,123],[-3,5,0,24],[-2,2,2,0],[2,5,0,25],[3,6,0,54],[4,7,0,124],[5,8,0,253],[6,2,6,1],[70,5,5,26],[102,6,5,55],[134,6,6,56],[198,6,7,57],[326,6,8,58],[582,6,9,59],[1094,6,10,60],[2118,7,11,125],[-22,8,32,254,"lower"],[4166,8,32,255],[2,2]];break;case 11:t=[[1,1,0,0],[2,2,1,2],[4,4,0,12],[5,4,1,13],[7,5,1,28],[9,5,2,29],[13,6,2,60],[17,7,2,122],[21,7,3,123],[29,7,4,124],[45,7,5,125],[77,7,6,126],[141,7,32,127]];break;case 12:t=[[1,1,0,0],[2,2,0,2],[3,3,1,6],[5,5,0,28],[6,5,1,29],[8,6,1,60],[10,7,0,122],[11,7,1,123],[13,7,2,124],[17,7,3,125],[25,7,4,126],[41,8,5,254],[73,8,32,255]];break;case 13:t=[[1,1,0,0],[2,3,0,4],[3,4,0,12],[4,5,0,28],[5,4,1,13],[7,3,3,5],[15,6,1,58],[17,6,2,59],[21,6,3,60],[29,6,4,61],[45,6,5,62],[77,7,6,126],[141,7,32,127]];break;case 14:t=[[-2,3,0,4],[-1,3,0,5],[0,1,0,0],[1,3,0,6],[2,3,0,7]];break;case 15:t=[[-24,7,4,124],[-8,6,2,60],[-4,5,1,28],[-2,4,0,12],[-1,3,0,4],[0,1,0,0],[1,3,0,5],[2,4,0,13],[3,5,1,29],[5,6,2,61],[9,7,4,125],[-25,7,32,126,"lower"],[25,7,32,127]];break;default:throw new g("standard table B.".concat(e," does not exist"))}for(var n=0,a=t.length;n<a;n++)t[n]=new M(t[n]);return r=new B(t,!0),D[e]=r,r}var U=function(){function e(t,r,n){l(this,e),this.data=t,this.start=r,this.end=n,this.position=r,this.shift=-1,this.currentByte=0}return u(e,[{key:"readBit",value:function(){if(this.shift<0){if(this.position>=this.end)throw new g("end of data while reading bit");this.currentByte=this.data[this.position++],this.shift=7}var e=this.currentByte>>this.shift&1;return this.shift--,e}},{key:"readBits",value:function(e){var t,r=0;for(t=e-1;t>=0;t--)r|=this.readBit()<<t;return r}},{key:"byteAlign",value:function(){this.shift=-1}},{key:"next",value:function(){return this.position>=this.end?-1:this.data[this.position++]}}]),e}();function q(e,t,r){for(var n=0,a=0,i=t.length;a<i;a++){var o=r[t[a]];if(o){if(e===n)return o;n++}}throw new g("can\'t find custom Huffman table")}function X(e,t,r){for(var n=[],a=0;a<r;a++){var i=new Uint8Array(t);n.push(i);for(var o=0;o<t;o++)i[o]=e.readBit();e.byteAlign()}return n}function H(e,t,r,n){for(var a,i={K:-1,Columns:t,Rows:r,BlackIs1:!0,EndOfBlock:n},o=new s.CCITTFaxDecoder(e,i),c=[],u=!1,l=0;l<r;l++){var f=new Uint8Array(t);c.push(f);for(var h=-1,d=0;d<t;d++)h<0&&(-1===(a=o.readNextChar())&&(a=0,u=!0),h=7),f[d]=a>>h&1,h--}if(n&&!u)for(var p=0;p<5&&-1!==o.readNextChar();p++);return c}var $=function(){function e(){l(this,e)}return u(e,[{key:"parseChunks",value:function(e){return function(e){for(var t=new R,r=0,n=e.length;r<n;r++){var a=e[r];j(P({},a.data,a.start,a.end),t)}return t.buffer}(e)}},{key:"parse",value:function(e){var t=function(e){var t=e.length,r=0;if(151!==e[r]||74!==e[r+1]||66!==e[r+2]||50!==e[r+3]||13!==e[r+4]||10!==e[r+5]||26!==e[r+6]||10!==e[r+7])throw new g("parseJbig2 - invalid header.");var n=Object.create(null);r+=8;var a=e[r++];n.randomAccess=!(1&a),2&a||(n.numberOfPages=(0,i.readUint32)(e,r),r+=4);var o=P(n,e,r,t),s=new R;j(o,s);for(var c=s.currentPageInfo,u=c.width,l=c.height,f=s.buffer,h=new Uint8ClampedArray(u*l),d=0,p=0,m=0;m<l;m++)for(var v=0,y=void 0,b=0;b<u;b++)v||(v=128,y=f[p++]),h[d++]=y&v?0:255,v>>=1;return{imgData:h,width:u,height:l}}(e),r=t.imgData,n=t.width,a=t.height;return this.width=n,this.height=a,r}}]),e}();t.Jbig2Image=$},(e,t)=>{"use strict";function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}Object.defineProperty(t,"__esModule",{value:!0}),t.ArithmeticDecoder=void 0;var n=[{qe:22017,nmps:1,nlps:1,switchFlag:1},{qe:13313,nmps:2,nlps:6,switchFlag:0},{qe:6145,nmps:3,nlps:9,switchFlag:0},{qe:2753,nmps:4,nlps:12,switchFlag:0},{qe:1313,nmps:5,nlps:29,switchFlag:0},{qe:545,nmps:38,nlps:33,switchFlag:0},{qe:22017,nmps:7,nlps:6,switchFlag:1},{qe:21505,nmps:8,nlps:14,switchFlag:0},{qe:18433,nmps:9,nlps:14,switchFlag:0},{qe:14337,nmps:10,nlps:14,switchFlag:0},{qe:12289,nmps:11,nlps:17,switchFlag:0},{qe:9217,nmps:12,nlps:18,switchFlag:0},{qe:7169,nmps:13,nlps:20,switchFlag:0},{qe:5633,nmps:29,nlps:21,switchFlag:0},{qe:22017,nmps:15,nlps:14,switchFlag:1},{qe:21505,nmps:16,nlps:14,switchFlag:0},{qe:20737,nmps:17,nlps:15,switchFlag:0},{qe:18433,nmps:18,nlps:16,switchFlag:0},{qe:14337,nmps:19,nlps:17,switchFlag:0},{qe:13313,nmps:20,nlps:18,switchFlag:0},{qe:12289,nmps:21,nlps:19,switchFlag:0},{qe:10241,nmps:22,nlps:19,switchFlag:0},{qe:9217,nmps:23,nlps:20,switchFlag:0},{qe:8705,nmps:24,nlps:21,switchFlag:0},{qe:7169,nmps:25,nlps:22,switchFlag:0},{qe:6145,nmps:26,nlps:23,switchFlag:0},{qe:5633,nmps:27,nlps:24,switchFlag:0},{qe:5121,nmps:28,nlps:25,switchFlag:0},{qe:4609,nmps:29,nlps:26,switchFlag:0},{qe:4353,nmps:30,nlps:27,switchFlag:0},{qe:2753,nmps:31,nlps:28,switchFlag:0},{qe:2497,nmps:32,nlps:29,switchFlag:0},{qe:2209,nmps:33,nlps:30,switchFlag:0},{qe:1313,nmps:34,nlps:31,switchFlag:0},{qe:1089,nmps:35,nlps:32,switchFlag:0},{qe:673,nmps:36,nlps:33,switchFlag:0},{qe:545,nmps:37,nlps:34,switchFlag:0},{qe:321,nmps:38,nlps:35,switchFlag:0},{qe:273,nmps:39,nlps:36,switchFlag:0},{qe:133,nmps:40,nlps:37,switchFlag:0},{qe:73,nmps:41,nlps:38,switchFlag:0},{qe:37,nmps:42,nlps:39,switchFlag:0},{qe:21,nmps:43,nlps:40,switchFlag:0},{qe:9,nmps:44,nlps:41,switchFlag:0},{qe:5,nmps:45,nlps:42,switchFlag:0},{qe:1,nmps:45,nlps:43,switchFlag:0},{qe:22017,nmps:46,nlps:46,switchFlag:0}],a=function(){function e(t,r,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.data=t,this.bp=r,this.dataEnd=n,this.chigh=t[r],this.clow=0,this.byteIn(),this.chigh=this.chigh<<7&65535|this.clow>>9&127,this.clow=this.clow<<7&65535,this.ct-=7,this.a=32768}var t,a,i;return t=e,(a=[{key:"byteIn",value:function(){var e=this.data,t=this.bp;255===e[t]?e[t+1]>143?(this.clow+=65280,this.ct=8):(t++,this.clow+=e[t]<<9,this.ct=7,this.bp=t):(t++,this.clow+=t<this.dataEnd?e[t]<<8:65280,this.ct=8,this.bp=t),this.clow>65535&&(this.chigh+=this.clow>>16,this.clow&=65535)}},{key:"readBit",value:function(e,t){var r,a=e[t]>>1,i=1&e[t],o=n[a],s=o.qe,c=this.a-s;if(this.chigh<s)c<s?(c=s,r=i,a=o.nmps):(c=s,r=1^i,1===o.switchFlag&&(i=r),a=o.nlps);else{if(this.chigh-=s,0!=(32768&c))return this.a=c,i;c<s?(r=1^i,1===o.switchFlag&&(i=r),a=o.nlps):(r=i,a=o.nmps)}do{0===this.ct&&this.byteIn(),c<<=1,this.chigh=this.chigh<<1&65535|this.clow>>15&1,this.clow=this.clow<<1&65535,this.ct--}while(0==(32768&c));return this.a=c,e[t]=a<<1|i,r}}])&&r(t.prototype,a),i&&r(t,i),e}();t.ArithmeticDecoder=a},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.JpegStream=void 0;var a=r(127),i=r(113),o=r(136),s=r(4);function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function l(e){var t=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(e){return!1}}();return function(){var r,n=h(e);if(t){var a=h(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return f(this,r)}}function f(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(f,e);var t,r,n,a=l(f);function f(e,t,r){var n,i;for(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f);-1!==(i=e.getByte());)if(255===i){e.skip(-1);break}return(n=a.call(this,t)).stream=e,n.dict=e.dict,n.maybeLength=t,n.params=r,n}return t=f,(r=[{key:"bytes",get:function(){return(0,s.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}},{key:"ensureBuffer",value:function(e){}},{key:"readBlock",value:function(){if(!this.eof){var e={decodeTransform:void 0,colorTransform:void 0},t=this.dict.getArray("Decode","D");if(this.forceRGB&&Array.isArray(t)){for(var r=this.dict.get("BitsPerComponent")||8,n=t.length,a=new Int32Array(n),s=!1,c=(1<<r)-1,u=0;u<n;u+=2)a[u]=256*(t[u+1]-t[u])|0,a[u+1]=t[u]*c|0,256===a[u]&&0===a[u+1]||(s=!0);s&&(e.decodeTransform=a)}if((0,i.isDict)(this.params)){var l=this.params.get("ColorTransform");Number.isInteger(l)&&(e.colorTransform=l)}var f=new o.JpegImage(e);f.parse(this.bytes);var h=f.getData({width:this.drawWidth,height:this.drawHeight,forceRGB:this.forceRGB,isSourcePDF:!0});this.buffer=h,this.bufferLength=h.length,this.eof=!0}}}])&&c(t.prototype,r),n&&c(t,n),f}(a.DecodeStream);t.JpegStream=d},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JpegImage=void 0;var n=r(4),a=r(117);function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function l(e){var t=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(e){return!1}}();return function(){var r,n=h(e);if(t){var a=h(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return f(this,r)}}function f(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var d=function(e){c(r,e);var t=l(r);function r(e){return s(this,r),t.call(this,"JPEG error: ".concat(e))}return r}(n.BaseException),p=function(e){c(r,e);var t=l(r);function r(e,n){var a;return s(this,r),(a=t.call(this,e)).scanLines=n,a}return r}(n.BaseException),g=function(e){c(r,e);var t=l(r);function r(){return s(this,r),t.apply(this,arguments)}return r}(n.BaseException),m=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),v=4017,y=799,b=3406,w=2276,k=1567,S=3784,x=5793,A=2896;function O(e,t){for(var r,n,a=0,i=16;i>0&&!e[i-1];)i--;var o,s=[{children:[],index:0}],c=s[0];for(r=0;r<i;r++){for(n=0;n<e[r];n++){for((c=s.pop()).children[c.index]=t[a];c.index>0;)c=s.pop();for(c.index++,s.push(c);s.length<=r;)s.push(o={children:[],index:0}),c.children[c.index]=o.children,c=o;a++}r+1<i&&(s.push(o={children:[],index:0}),c.children[c.index]=o.children,c=o)}return s[0].children}function C(e,t,r){return 64*((e.blocksPerLine+1)*t+r)}function T(e,t,r,i,s,c,u,l,f){var h=arguments.length>9&&void 0!==arguments[9]&&arguments[9],v=r.mcusPerLine,y=r.progressive,b=t,w=0,k=0;function S(){if(k>0)return k--,w>>k&1;if(255===(w=e[t++])){var n=e[t++];if(n){if(220===n&&h){t+=2;var i=(0,a.readUint16)(e,t);if(t+=2,i>0&&i!==r.scanLines)throw new p("Found DNL marker (0xFFDC) while parsing scan data",i)}else if(217===n){if(h){var o=N*(8===r.precision?8:0);if(o>0&&Math.round(r.scanLines/o)>=10)throw new p("Found EOI marker (0xFFD9) while parsing scan data, possibly caused by incorrect `scanLines` parameter",o)}throw new g("Found EOI marker (0xFFD9) while parsing scan data")}throw new d("unexpected marker ".concat((w<<8|n).toString(16)))}}return k=7,w>>>7}function x(e){for(var t=e;;){switch(o(t=t[S()])){case"number":return t;case"object":continue}throw new d("invalid huffman sequence")}}function A(e){for(var t=0;e>0;)t=t<<1|S(),e--;return t}function O(e){if(1===e)return 1===S()?1:-1;var t=A(e);return t>=1<<e-1?t:t+(-1<<e)+1}function T(e,t){var r=x(e.huffmanTableDC),n=0===r?0:O(r);e.blockData[t]=e.pred+=n;for(var a=1;a<64;){var i=x(e.huffmanTableAC),o=15&i,s=i>>4;if(0!==o){var c=m[a+=s];e.blockData[t+c]=O(o),a++}else{if(s<15)break;a+=16}}}function F(e,t){var r=x(e.huffmanTableDC),n=0===r?0:O(r)<<f;e.blockData[t]=e.pred+=n}function P(e,t){e.blockData[t]|=S()<<f}var I=0;function E(e,t){if(I>0)I--;else for(var r=c,n=u;r<=n;){var a=x(e.huffmanTableAC),i=15&a,o=a>>4;if(0!==i){var s=m[r+=o];e.blockData[t+s]=O(i)*(1<<f),r++}else{if(o<15){I=A(o)+(1<<o)-1;break}r+=16}}}var j,R=0;function M(e,t){for(var r,n,a=c,i=u,o=0;a<=i;){var s=t+m[a],l=e.blockData[s]<0?-1:1;switch(R){case 0:if(o=(n=x(e.huffmanTableAC))>>4,0==(r=15&n))o<15?(I=A(o)+(1<<o),R=4):(o=16,R=1);else{if(1!==r)throw new d("invalid ACn encoding");j=O(r),R=o?2:3}continue;case 1:case 2:e.blockData[s]?e.blockData[s]+=l*(S()<<f):0==--o&&(R=2===R?3:0);break;case 3:e.blockData[s]?e.blockData[s]+=l*(S()<<f):(e.blockData[s]=j<<f,R=0);break;case 4:e.blockData[s]&&(e.blockData[s]+=l*(S()<<f))}a++}4===R&&0==--I&&(R=0)}var N=0;function B(e,t,r,n,a){var i=r%v;N=(r/v|0)*e.v+n;var o=i*e.h+a;t(e,C(e,N,o))}function D(e,t,r){N=r/e.blocksPerLine|0;var n=r%e.blocksPerLine;t(e,C(e,N,n))}var L,U,q,X,H,$,z=i.length;$=y?0===c?0===l?F:P:0===l?E:M:T;var G,W,V,K,Y=0;for(W=1===z?i[0].blocksPerLine*i[0].blocksPerColumn:v*r.mcusPerColumn;Y<=W;){var J=s?Math.min(W-Y,s):W;if(J>0){for(U=0;U<z;U++)i[U].pred=0;if(I=0,1===z)for(L=i[0],H=0;H<J;H++)D(L,$,Y),Y++;else for(H=0;H<J;H++){for(U=0;U<z;U++)for(V=(L=i[U]).h,K=L.v,q=0;q<K;q++)for(X=0;X<V;X++)B(L,$,Y,q,X);Y++}}if(k=0,!(G=_(e,t)))break;if(G.invalid){var Z=J>0?"unexpected":"excessive";(0,n.warn)("decodeScan - ".concat(Z," MCU data, current marker is: ").concat(G.invalid)),t=G.offset}if(!(G.marker>=65488&&G.marker<=65495))break;t+=2}return t-b}function F(e,t,r){var n,a,i,o,s,c,u,l,f,h,p,g,m,O,C,T,F,P=e.quantizationTable,_=e.blockData;if(!P)throw new d("missing required Quantization Table.");for(var I=0;I<64;I+=8)f=_[t+I],h=_[t+I+1],p=_[t+I+2],g=_[t+I+3],m=_[t+I+4],O=_[t+I+5],C=_[t+I+6],T=_[t+I+7],f*=P[I],0!=(h|p|g|m|O|C|T)?(h*=P[I+1],p*=P[I+2],g*=P[I+3],m*=P[I+4],O*=P[I+5],C*=P[I+6],T*=P[I+7],a=(n=(n=x*f+128>>8)+(a=x*m+128>>8)+1>>1)-a,F=(i=p)*S+(o=C)*k+128>>8,i=i*k-o*S+128>>8,u=(s=(s=A*(h-T)+128>>8)+(u=O<<4)+1>>1)-u,c=(l=(l=A*(h+T)+128>>8)+(c=g<<4)+1>>1)-c,o=(n=n+(o=F)+1>>1)-o,i=(a=a+i+1>>1)-i,F=s*w+l*b+2048>>12,s=s*b-l*w+2048>>12,l=F,F=c*y+u*v+2048>>12,c=c*v-u*y+2048>>12,u=F,r[I]=n+l,r[I+7]=n-l,r[I+1]=a+u,r[I+6]=a-u,r[I+2]=i+c,r[I+5]=i-c,r[I+3]=o+s,r[I+4]=o-s):(F=x*f+512>>10,r[I]=F,r[I+1]=F,r[I+2]=F,r[I+3]=F,r[I+4]=F,r[I+5]=F,r[I+6]=F,r[I+7]=F);for(var E=0;E<8;++E)f=r[E],0!=((h=r[E+8])|(p=r[E+16])|(g=r[E+24])|(m=r[E+32])|(O=r[E+40])|(C=r[E+48])|(T=r[E+56]))?(a=(n=4112+((n=x*f+2048>>12)+(a=x*m+2048>>12)+1>>1))-a,F=(i=p)*S+(o=C)*k+2048>>12,i=i*k-o*S+2048>>12,o=F,u=(s=(s=A*(h-T)+2048>>12)+(u=O)+1>>1)-u,c=(l=(l=A*(h+T)+2048>>12)+(c=g)+1>>1)-c,F=s*w+l*b+2048>>12,s=s*b-l*w+2048>>12,l=F,F=c*y+u*v+2048>>12,c=c*v-u*y+2048>>12,(f=(n=n+o+1>>1)+l)<16?f=0:f>=4080?f=255:f>>=4,(h=(a=a+i+1>>1)+(u=F))<16?h=0:h>=4080?h=255:h>>=4,(p=(i=a-i)+c)<16?p=0:p>=4080?p=255:p>>=4,(g=(o=n-o)+s)<16?g=0:g>=4080?g=255:g>>=4,(m=o-s)<16?m=0:m>=4080?m=255:m>>=4,(O=i-c)<16?O=0:O>=4080?O=255:O>>=4,(C=a-u)<16?C=0:C>=4080?C=255:C>>=4,(T=n-l)<16?T=0:T>=4080?T=255:T>>=4,_[t+E]=f,_[t+E+8]=h,_[t+E+16]=p,_[t+E+24]=g,_[t+E+32]=m,_[t+E+40]=O,_[t+E+48]=C,_[t+E+56]=T):(F=(F=x*f+8192>>14)<-2040?0:F>=2024?255:F+2056>>4,_[t+E]=F,_[t+E+8]=F,_[t+E+16]=F,_[t+E+24]=F,_[t+E+32]=F,_[t+E+40]=F,_[t+E+48]=F,_[t+E+56]=F)}function P(e,t){for(var r=t.blocksPerLine,n=t.blocksPerColumn,a=new Int16Array(64),i=0;i<n;i++)for(var o=0;o<r;o++)F(t,C(t,i,o),a);return t.blockData}function _(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,n=e.length-1,i=r<t?r:t;if(t>=n)return null;var o=(0,a.readUint16)(e,t);if(o>=65472&&o<=65534)return{invalid:null,marker:o,offset:t};for(var s=(0,a.readUint16)(e,i);!(s>=65472&&s<=65534);){if(++i>=n)return null;s=(0,a.readUint16)(e,i)}return{invalid:o.toString(16),marker:s,offset:i}}var I=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.decodeTransform,n=void 0===r?null:r,a=t.colorTransform,i=void 0===a?-1:a;s(this,e),this._decodeTransform=n,this._colorTransform=i}var t,r,o;return t=e,r=[{key:"parse",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.dnlScanLines,i=void 0===r?null:r;function o(){var t=(0,a.readUint16)(e,l),r=(l+=2)+t-2,i=_(e,r,l);i&&i.invalid&&((0,n.warn)("readDataBlock - incorrect length, current marker is: "+i.invalid),r=i.offset);var o=e.subarray(l,r);return l+=o.length,o}function s(e){for(var t=Math.ceil(e.samplesPerLine/8/e.maxH),r=Math.ceil(e.scanLines/8/e.maxV),n=0,a=e.components.length;n<a;n++){var i=e.components[n],o=Math.ceil(Math.ceil(e.samplesPerLine/8)*i.h/e.maxH),s=Math.ceil(Math.ceil(e.scanLines/8)*i.v/e.maxV),c=t*i.h,u=r*i.v*64*(c+1);i.blockData=new Int16Array(u),i.blocksPerLine=o,i.blocksPerColumn=s}e.mcusPerLine=t,e.mcusPerColumn=r}var c,u,l=0,f=null,h=null,v=0,y=[],b=[],w=[],k=(0,a.readUint16)(e,l);if(l+=2,65496!==k)throw new d("SOI not found");k=(0,a.readUint16)(e,l),l+=2;e:for(;65497!==k;){var S=void 0,x=void 0,A=void 0;switch(k){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:var C=o();65504===k&&74===C[0]&&70===C[1]&&73===C[2]&&70===C[3]&&0===C[4]&&(f={version:{major:C[5],minor:C[6]},densityUnits:C[7],xDensity:C[8]<<8|C[9],yDensity:C[10]<<8|C[11],thumbWidth:C[12],thumbHeight:C[13],thumbData:C.subarray(14,14+3*C[12]*C[13])}),65518===k&&65===C[0]&&100===C[1]&&111===C[2]&&98===C[3]&&101===C[4]&&(h={version:C[5]<<8|C[6],flags0:C[7]<<8|C[8],flags1:C[9]<<8|C[10],transformCode:C[11]});break;case 65499:for(var F=(0,a.readUint16)(e,l),I=F+(l+=2)-2;l<I;){var E=e[l++],j=new Uint16Array(64);if(E>>4==0)for(x=0;x<64;x++)j[m[x]]=e[l++];else{if(E>>4!=1)throw new d("DQT - invalid table spec");for(x=0;x<64;x++)j[m[x]]=(0,a.readUint16)(e,l),l+=2}y[15&E]=j}break;case 65472:case 65473:case 65474:if(c)throw new d("Only single frame JPEGs supported");l+=2,(c={}).extended=65473===k,c.progressive=65474===k,c.precision=e[l++];var R=(0,a.readUint16)(e,l);l+=2,c.scanLines=i||R,c.samplesPerLine=(0,a.readUint16)(e,l),l+=2,c.components=[],c.componentIds={};var M=e[l++],N=0,B=0;for(S=0;S<M;S++){var D=e[l],L=e[l+1]>>4,U=15&e[l+1];N<L&&(N=L),B<U&&(B=U);var q=e[l+2];A=c.components.push({h:L,v:U,quantizationId:q,quantizationTable:null}),c.componentIds[D]=A-1,l+=3}c.maxH=N,c.maxV=B,s(c);break;case 65476:var X=(0,a.readUint16)(e,l);for(l+=2,S=2;S<X;){var H=e[l++],$=new Uint8Array(16),z=0;for(x=0;x<16;x++,l++)z+=$[x]=e[l];var G=new Uint8Array(z);for(x=0;x<z;x++,l++)G[x]=e[l];S+=17+z,(H>>4==0?w:b)[15&H]=O($,G)}break;case 65501:l+=2,u=(0,a.readUint16)(e,l),l+=2;break;case 65498:var W=1==++v&&!i;l+=2;var V=e[l++],K=[];for(S=0;S<V;S++){var Y=e[l++],J=c.componentIds[Y],Z=c.components[J];Z.index=Y;var Q=e[l++];Z.huffmanTableDC=w[Q>>4],Z.huffmanTableAC=b[15&Q],K.push(Z)}var ee=e[l++],te=e[l++],re=e[l++];try{var ne=T(e,l,c,K,u,ee,te,re>>4,15&re,W);l+=ne}catch(t){if(t instanceof p)return(0,n.warn)("".concat(t.message," -- attempting to re-parse the JPEG image.")),this.parse(e,{dnlScanLines:t.scanLines});if(t instanceof g){(0,n.warn)("".concat(t.message," -- ignoring the rest of the image data."));break e}throw t}break;case 65500:l+=4;break;case 65535:255!==e[l]&&l--;break;default:var ae=_(e,l-2,l-3);if(ae&&ae.invalid){(0,n.warn)("JpegImage.parse - unexpected data, current marker is: "+ae.invalid),l=ae.offset;break}if(!ae||l>=e.length-1){(0,n.warn)("JpegImage.parse - reached the end of the image data without finding an EOI marker (0xFFD9).");break e}throw new d("JpegImage.parse - unknown marker: "+k.toString(16))}k=(0,a.readUint16)(e,l),l+=2}this.width=c.samplesPerLine,this.height=c.scanLines,this.jfif=f,this.adobe=h,this.components=[];for(var ie=0,oe=c.components.length;ie<oe;ie++){var se=c.components[ie],ce=y[se.quantizationId];ce&&(se.quantizationTable=ce),this.components.push({index:se.index,output:P(0,se),scaleX:se.h/c.maxH,scaleY:se.v/c.maxV,blocksPerLine:se.blocksPerLine,blocksPerColumn:se.blocksPerColumn})}this.numComponents=this.components.length}},{key:"_getLinearizedBlockData",value:function(e,t){var r,n,a,i,o,s,c,u,l,f,h,d,p=arguments.length>2&&void 0!==arguments[2]&&arguments[2],g=this.width/e,m=this.height/t,v=0,y=this.components.length,b=e*t*y,w=new Uint8ClampedArray(b),k=new Uint32Array(e),S=4294967288;for(c=0;c<y;c++){if(n=(r=this.components[c]).scaleX*g,a=r.scaleY*m,v=c,h=r.output,i=r.blocksPerLine+1<<3,n!==d){for(o=0;o<e;o++)u=0|o*n,k[o]=(u&S)<<3|7&u;d=n}for(s=0;s<t;s++)for(f=i*((u=0|s*a)&S)|(7&u)<<3,o=0;o<e;o++)w[v]=h[f+k[o]],v+=y}var x=this._decodeTransform;if(p||4!==y||x||(x=new Int32Array([-256,255,-256,255,-256,255,-256,255])),x)for(c=0;c<b;)for(u=0,l=0;u<y;u++,c++,l+=2)w[c]=(w[c]*x[l]>>8)+x[l+1];return w}},{key:"_isColorConversionNeeded",get:function(){return this.adobe?!!this.adobe.transformCode:3===this.numComponents?0!==this._colorTransform&&(82!==this.components[0].index||71!==this.components[1].index||66!==this.components[2].index):1===this._colorTransform}},{key:"_convertYccToRgb",value:function(e){for(var t,r,n,a=0,i=e.length;a<i;a+=3)t=e[a],r=e[a+1],n=e[a+2],e[a]=t-179.456+1.402*n,e[a+1]=t+135.459-.344*r-.714*n,e[a+2]=t-226.816+1.772*r;return e}},{key:"_convertYcckToRgb",value:function(e){for(var t,r,n,a,i=0,o=0,s=e.length;o<s;o+=4)t=e[o],r=e[o+1],n=e[o+2],a=e[o+3],e[i++]=r*(-660635669420364e-19*r+.000437130475926232*n-54080610064599e-18*t+.00048449797120281*a-.154362151871126)-122.67195406894+n*(-.000957964378445773*n+.000817076911346625*t-.00477271405408747*a+1.53380253221734)+t*(.000961250184130688*t-.00266257332283933*a+.48357088451265)+a*(-.000336197177618394*a+.484791561490776),e[i++]=107.268039397724+r*(219927104525741e-19*r-.000640992018297945*n+.000659397001245577*t+.000426105652938837*a-.176491792462875)+n*(-.000778269941513683*n+.00130872261408275*t+.000770482631801132*a-.151051492775562)+t*(.00126935368114843*t-.00265090189010898*a+.25802910206845)+a*(-.000318913117588328*a-.213742400323665),e[i++]=r*(-.000570115196973677*r-263409051004589e-19*n+.0020741088115012*t-.00288260236853442*a+.814272968359295)-20.810012546947+n*(-153496057440975e-19*n-.000132689043961446*t+.000560833691242812*a-.195152027534049)+t*(.00174418132927582*t-.00255243321439347*a+.116935020465145)+a*(-.000343531996510555*a+.24165260232407);return e.subarray(0,i)}},{key:"_convertYcckToCmyk",value:function(e){for(var t,r,n,a=0,i=e.length;a<i;a+=4)t=e[a],r=e[a+1],n=e[a+2],e[a]=434.456-t-1.402*n,e[a+1]=119.541-t+.344*r+.714*n,e[a+2]=481.816-t-1.772*r;return e}},{key:"_convertCmykToRgb",value:function(e){for(var t,r,n,a,i=0,o=0,s=e.length;o<s;o+=4)t=e[o],r=e[o+1],n=e[o+2],a=e[o+3],e[i++]=255+t*(-6747147073602441e-20*t+.0008379262121013727*r+.0002894718188643294*n+.003264231057537806*a-1.1185611867203937)+r*(26374107616089405e-21*r-8626949158638572e-20*n-.0002748769067499491*a-.02155688794978967)+n*(-3878099212869363e-20*n-.0003267808279485286*a+.0686742238595345)-a*(.0003361971776183937*a+.7430659151342254),e[i++]=255+t*(.00013596372813588848*t+.000924537132573585*r+.00010567359618683593*n+.0004791864687436512*a-.3109689587515875)+r*(-.00023545346108370344*r+.0002702845253534714*n+.0020200308977307156*a-.7488052167015494)+n*(6834815998235662e-20*n+.00015168452363460973*a-.09751927774728933)-a*(.0003189131175883281*a+.7364883807733168),e[i++]=255+t*(13598650411385307e-21*t+.00012423956175490851*r+.0004751985097583589*n-36729317476630422e-22*a-.05562186980264034)+r*(.00016141380598724676*r+.0009692239130725186*n+.0007782692450036253*a-.44015232367526463)+n*(5.068882914068769e-7*n+.0017778369011375071*a-.7591454649749609)-a*(.0003435319965105553*a+.7063770186160144);return e.subarray(0,i)}},{key:"getData",value:function(e){var t=e.width,r=e.height,n=e.forceRGB,a=void 0!==n&&n,i=e.isSourcePDF,o=void 0!==i&&i;if(this.numComponents>4)throw new d("Unsupported color mode");var s=this._getLinearizedBlockData(t,r,o);if(1===this.numComponents&&a){for(var c=s.length,u=new Uint8ClampedArray(3*c),l=0,f=0;f<c;f++){var h=s[f];u[l++]=h,u[l++]=h,u[l++]=h}return u}if(3===this.numComponents&&this._isColorConversionNeeded)return this._convertYccToRgb(s);if(4===this.numComponents){if(this._isColorConversionNeeded)return a?this._convertYcckToRgb(s):this._convertYcckToCmyk(s);if(a)return this._convertCmykToRgb(s)}return s}}],r&&i(t.prototype,r),o&&i(t,o),e}();t.JpegImage=I},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.JpxStream=void 0;var a=r(127),i=r(138),o=r(4);function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function u(e){var t=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(e){return!1}}();return function(){var r,n=f(e);if(t){var a=f(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return l(this,r)}}function l(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(l,e);var t,r,n,a=u(l);function l(e,t,r){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(n=a.call(this,t)).stream=e,n.dict=e.dict,n.maybeLength=t,n.params=r,n}return t=l,(r=[{key:"bytes",get:function(){return(0,o.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}},{key:"ensureBuffer",value:function(e){}},{key:"readBlock",value:function(){if(!this.eof){var e=new i.JpxImage;e.parse(this.bytes);var t=e.width,r=e.height,n=e.componentsCount,a=e.tiles.length;if(1===a)this.buffer=e.tiles[0].items;else{for(var o=new Uint8ClampedArray(t*r*n),s=0;s<a;s++)for(var c=e.tiles[s],u=c.width,l=c.height,f=c.left,h=c.top,d=c.items,p=0,g=(t*h+f)*n,m=t*n,v=u*n,y=0;y<l;y++){var b=d.subarray(p,p+v);o.set(b,g),p+=v,g+=m}this.buffer=o}this.bufferLength=this.buffer.length,this.eof=!0}}}])&&s(t.prototype,r),n&&s(t,n),l}(a.DecodeStream);t.JpxStream=h},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.JpxImage=void 0;var a=r(4),i=r(117),o=r(134);function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function h(e){var t=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(e){return!1}}();return function(){var r,n=p(e);if(t){var a=p(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return d(this,r)}}function d(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var g=function(e){l(r,e);var t=h(r);function r(e){return u(this,r),t.call(this,"JPX error: ".concat(e))}return r}(a.BaseException),m={LL:0,LH:1,HL:1,HH:2},v=function(){function e(){u(this,e),this.failOnCorruptedImage=!1}return c(e,[{key:"parse",value:function(e){if(65359!==(0,i.readUint16)(e,0))for(var t=e.length,r=0;r<t;){var n=8,o=(0,i.readUint32)(e,r),s=(0,i.readUint32)(e,r+4);if(r+=n,1===o&&(o=4294967296*(0,i.readUint32)(e,r)+(0,i.readUint32)(e,r+4),r+=8,n+=8),0===o&&(o=t-r+n),o<n)throw new g("Invalid box field size");var c=o-n,u=!0;switch(s){case 1785737832:u=!1;break;case 1668246642:var l=e[r];if(1===l){var f=(0,i.readUint32)(e,r+3);switch(f){case 16:case 17:case 18:break;default:(0,a.warn)("Unknown colorspace "+f)}}else 2===l&&(0,a.info)("ICC profile not supported");break;case 1785737827:this.parseCodestream(e,r,r+c);break;case 1783636e3:218793738!==(0,i.readUint32)(e,r)&&(0,a.warn)("Invalid JP2 signature");break;case 1783634458:case 1718909296:case 1920099697:case 1919251232:case 1768449138:break;default:var h=String.fromCharCode(s>>24&255,s>>16&255,s>>8&255,255&s);(0,a.warn)("Unsupported header type ".concat(s," (").concat(h,")."))}u&&(r+=c)}else this.parseCodestream(e,0,e.length)}},{key:"parseImageProperties",value:function(e){for(var t=e.getByte();t>=0;)if(65361==(t<<8|(t=e.getByte()))){e.skip(4);var r=e.getInt32()>>>0,n=e.getInt32()>>>0,a=e.getInt32()>>>0,i=e.getInt32()>>>0;e.skip(16);var o=e.getUint16();return this.width=r-a,this.height=n-i,this.componentsCount=o,void(this.bitsPerComponent=8)}throw new g("No size marker found in JPX stream")}},{key:"parseCodestream",value:function(e,t,r){var n={},o=!1;try{for(var s=t;s+1<r;){var c=(0,i.readUint16)(e,s);s+=2;var u=0,l=void 0,f=void 0,h=void 0,d=void 0,p=void 0,m=void 0;switch(c){case 65359:n.mainHeader=!0;break;case 65497:break;case 65361:u=(0,i.readUint16)(e,s);var v={};v.Xsiz=(0,i.readUint32)(e,s+4),v.Ysiz=(0,i.readUint32)(e,s+8),v.XOsiz=(0,i.readUint32)(e,s+12),v.YOsiz=(0,i.readUint32)(e,s+16),v.XTsiz=(0,i.readUint32)(e,s+20),v.YTsiz=(0,i.readUint32)(e,s+24),v.XTOsiz=(0,i.readUint32)(e,s+28),v.YTOsiz=(0,i.readUint32)(e,s+32);var w=(0,i.readUint16)(e,s+36);v.Csiz=w;var k=[];l=s+38;for(var S=0;S<w;S++){var x={precision:1+(127&e[l]),isSigned:!!(128&e[l]),XRsiz:e[l+1],YRsiz:e[l+2]};l+=3,y(x,v),k.push(x)}n.SIZ=v,n.components=k,b(n,k),n.QCC=[],n.COC=[];break;case 65372:u=(0,i.readUint16)(e,s);var A={};switch(l=s+2,31&(f=e[l++])){case 0:d=8,p=!0;break;case 1:d=16,p=!1;break;case 2:d=16,p=!0;break;default:throw new Error("Invalid SQcd value "+f)}for(A.noQuantization=8===d,A.scalarExpounded=p,A.guardBits=f>>5,h=[];l<u+s;){var O={};8===d?(O.epsilon=e[l++]>>3,O.mu=0):(O.epsilon=e[l]>>3,O.mu=(7&e[l])<<8|e[l+1],l+=2),h.push(O)}A.SPqcds=h,n.mainHeader?n.QCD=A:(n.currentTile.QCD=A,n.currentTile.QCC=[]);break;case 65373:u=(0,i.readUint16)(e,s);var C={};l=s+2;var T=void 0;switch(n.SIZ.Csiz<257?T=e[l++]:(T=(0,i.readUint16)(e,l),l+=2),31&(f=e[l++])){case 0:d=8,p=!0;break;case 1:d=16,p=!1;break;case 2:d=16,p=!0;break;default:throw new Error("Invalid SQcd value "+f)}for(C.noQuantization=8===d,C.scalarExpounded=p,C.guardBits=f>>5,h=[];l<u+s;){var F={};8===d?(F.epsilon=e[l++]>>3,F.mu=0):(F.epsilon=e[l]>>3,F.mu=(7&e[l])<<8|e[l+1],l+=2),h.push(F)}C.SPqcds=h,n.mainHeader?n.QCC[T]=C:n.currentTile.QCC[T]=C;break;case 65362:u=(0,i.readUint16)(e,s);var P={};l=s+2;var _=e[l++];P.entropyCoderWithCustomPrecincts=!!(1&_),P.sopMarkerUsed=!!(2&_),P.ephMarkerUsed=!!(4&_),P.progressionOrder=e[l++],P.layersCount=(0,i.readUint16)(e,l),l+=2,P.multipleComponentTransform=e[l++],P.decompositionLevelsCount=e[l++],P.xcb=2+(15&e[l++]),P.ycb=2+(15&e[l++]);var j=e[l++];if(P.selectiveArithmeticCodingBypass=!!(1&j),P.resetContextProbabilities=!!(2&j),P.terminationOnEachCodingPass=!!(4&j),P.verticallyStripe=!!(8&j),P.predictableTermination=!!(16&j),P.segmentationSymbolUsed=!!(32&j),P.reversibleTransformation=e[l++],P.entropyCoderWithCustomPrecincts){for(var N=[];l<u+s;){var B=e[l++];N.push({PPx:15&B,PPy:B>>4})}P.precinctsSizes=N}var D=[];P.selectiveArithmeticCodingBypass&&D.push("selectiveArithmeticCodingBypass"),P.resetContextProbabilities&&D.push("resetContextProbabilities"),P.terminationOnEachCodingPass&&D.push("terminationOnEachCodingPass"),P.verticallyStripe&&D.push("verticallyStripe"),P.predictableTermination&&D.push("predictableTermination"),D.length>0&&(o=!0,(0,a.warn)("JPX: Unsupported COD options (".concat(D.join(", "),")."))),n.mainHeader?n.COD=P:(n.currentTile.COD=P,n.currentTile.COC=[]);break;case 65424:u=(0,i.readUint16)(e,s),(m={}).index=(0,i.readUint16)(e,s+2),m.length=(0,i.readUint32)(e,s+4),m.dataEnd=m.length+s-2,m.partIndex=e[s+8],m.partsCount=e[s+9],n.mainHeader=!1,0===m.partIndex&&(m.COD=n.COD,m.COC=n.COC.slice(0),m.QCD=n.QCD,m.QCC=n.QCC.slice(0)),n.currentTile=m;break;case 65427:0===(m=n.currentTile).partIndex&&(M(n,m.index),I(n)),E(n,e,s,u=m.dataEnd-s);break;case 65363:(0,a.warn)("JPX: Codestream code 0xFF53 (COC) is not implemented.");case 65365:case 65367:case 65368:case 65380:u=(0,i.readUint16)(e,s);break;default:throw new Error("Unknown codestream code: "+c.toString(16))}s+=u}}catch(e){if(o||this.failOnCorruptedImage)throw new g(e.message);(0,a.warn)(\'JPX: Trying to recover from: "\'.concat(e.message,\'".\'))}this.tiles=function(e){for(var t=e.SIZ,r=e.components,n=t.Csiz,a=[],i=0,o=e.tiles.length;i<o;i++){for(var s=e.tiles[i],c=[],u=0;u<n;u++)c[u]=R(e,s,u);var l=c[0],f=new Uint8ClampedArray(l.items.length*n),h={left:l.left,top:l.top,width:l.width,height:l.height,items:f},d=void 0,p=void 0,g=0,m=void 0,v=void 0,y=void 0,b=void 0,w=void 0;if(s.codingStyleDefaultParameters.multipleComponentTransform){var k=4===n,S=c[0].items,x=c[1].items,A=c[2].items,O=k?c[3].items:null;p=.5+(128<<(d=r[0].precision-8));var C=s.components[0],T=n-3;if(v=S.length,C.codingStyleParameters.reversibleTransformation)for(m=0;m<v;m++,g+=T){y=S[m]+p,b=x[m];var F=y-((w=A[m])+b>>2);f[g++]=F+w>>d,f[g++]=F>>d,f[g++]=F+b>>d}else for(m=0;m<v;m++,g+=T)y=S[m]+p,b=x[m],w=A[m],f[g++]=y+1.402*w>>d,f[g++]=y-.34413*b-.71414*w>>d,f[g++]=y+1.772*b>>d;if(k)for(m=0,g=3;m<v;m++,g+=4)f[g]=O[m]+p>>d}else for(var P=0;P<n;P++){var _=c[P].items;for(p=.5+(128<<(d=r[P].precision-8)),g=P,m=0,v=_.length;m<v;m++)f[g]=_[m]+p>>d,g+=n}a.push(h)}return a}(n),this.width=n.SIZ.Xsiz-n.SIZ.XOsiz,this.height=n.SIZ.Ysiz-n.SIZ.YOsiz,this.componentsCount=n.SIZ.Csiz}}]),e}();function y(e,t){e.x0=Math.ceil(t.XOsiz/e.XRsiz),e.x1=Math.ceil(t.Xsiz/e.XRsiz),e.y0=Math.ceil(t.YOsiz/e.YRsiz),e.y1=Math.ceil(t.Ysiz/e.YRsiz),e.width=e.x1-e.x0,e.height=e.y1-e.y0}function b(e,t){for(var r,n=e.SIZ,a=[],i=Math.ceil((n.Xsiz-n.XTOsiz)/n.XTsiz),o=Math.ceil((n.Ysiz-n.YTOsiz)/n.YTsiz),s=0;s<o;s++)for(var c=0;c<i;c++)(r={}).tx0=Math.max(n.XTOsiz+c*n.XTsiz,n.XOsiz),r.ty0=Math.max(n.YTOsiz+s*n.YTsiz,n.YOsiz),r.tx1=Math.min(n.XTOsiz+(c+1)*n.XTsiz,n.Xsiz),r.ty1=Math.min(n.YTOsiz+(s+1)*n.YTsiz,n.Ysiz),r.width=r.tx1-r.tx0,r.height=r.ty1-r.ty0,r.components=[],a.push(r);e.tiles=a;for(var u=0,l=n.Csiz;u<l;u++)for(var f=t[u],h=0,d=a.length;h<d;h++){var p={};r=a[h],p.tcx0=Math.ceil(r.tx0/f.XRsiz),p.tcy0=Math.ceil(r.ty0/f.YRsiz),p.tcx1=Math.ceil(r.tx1/f.XRsiz),p.tcy1=Math.ceil(r.ty1/f.YRsiz),p.width=p.tcx1-p.tcx0,p.height=p.tcy1-p.tcy0,r.components[u]=p}}function w(e,t,r){var n=t.codingStyleParameters,a={};return n.entropyCoderWithCustomPrecincts?(a.PPx=n.precinctsSizes[r].PPx,a.PPy=n.precinctsSizes[r].PPy):(a.PPx=15,a.PPy=15),a.xcb_=r>0?Math.min(n.xcb,a.PPx-1):Math.min(n.xcb,a.PPx),a.ycb_=r>0?Math.min(n.ycb,a.PPy-1):Math.min(n.ycb,a.PPy),a}function k(e,t,r){var n=1<<r.PPx,a=1<<r.PPy,i=0===t.resLevel,o=1<<r.PPx+(i?0:-1),s=1<<r.PPy+(i?0:-1),c=t.trx1>t.trx0?Math.ceil(t.trx1/n)-Math.floor(t.trx0/n):0,u=t.try1>t.try0?Math.ceil(t.try1/a)-Math.floor(t.try0/a):0,l=c*u;t.precinctParameters={precinctWidth:n,precinctHeight:a,numprecinctswide:c,numprecinctshigh:u,numprecincts:l,precinctWidthInSubband:o,precinctHeightInSubband:s}}function S(e,t,r){var n,a,i,o,s=r.xcb_,c=r.ycb_,u=1<<s,l=1<<c,f=t.tbx0>>s,h=t.tby0>>c,d=t.tbx1+u-1>>s,p=t.tby1+l-1>>c,g=t.resolution.precinctParameters,m=[],v=[];for(a=h;a<p;a++)for(n=f;n<d;n++)if((i={cbx:n,cby:a,tbx0:u*n,tby0:l*a,tbx1:u*(n+1),tby1:l*(a+1)}).tbx0_=Math.max(t.tbx0,i.tbx0),i.tby0_=Math.max(t.tby0,i.tby0),i.tbx1_=Math.min(t.tbx1,i.tbx1),i.tby1_=Math.min(t.tby1,i.tby1),o=Math.floor((i.tbx0_-t.tbx0)/g.precinctWidthInSubband)+Math.floor((i.tby0_-t.tby0)/g.precinctHeightInSubband)*g.numprecinctswide,i.precinctNumber=o,i.subbandType=t.type,i.Lblock=3,!(i.tbx1_<=i.tbx0_||i.tby1_<=i.tby0_)){m.push(i);var y=v[o];void 0!==y?(n<y.cbxMin?y.cbxMin=n:n>y.cbxMax&&(y.cbxMax=n),a<y.cbyMin?y.cbxMin=a:a>y.cbyMax&&(y.cbyMax=a)):v[o]=y={cbxMin:n,cbyMin:a,cbxMax:n,cbyMax:a},i.precinct=y}t.codeblockParameters={codeblockWidth:s,codeblockHeight:c,numcodeblockwide:d-f+1,numcodeblockhigh:p-h+1},t.codeblocks=m,t.precincts=v}function x(e,t,r){for(var n=[],a=e.subbands,i=0,o=a.length;i<o;i++)for(var s=a[i].codeblocks,c=0,u=s.length;c<u;c++){var l=s[c];l.precinctNumber===t&&n.push(l)}return{layerNumber:r,codeblocks:n}}function A(e){for(var t=e.SIZ,r=e.currentTile.index,n=e.tiles[r],a=n.codingStyleDefaultParameters.layersCount,i=t.Csiz,o=0,s=0;s<i;s++)o=Math.max(o,n.components[s].codingStyleParameters.decompositionLevelsCount);var c=0,u=0,l=0,f=0;this.nextPacket=function(){for(;c<a;c++){for(;u<=o;u++){for(;l<i;l++){var e=n.components[l];if(!(u>e.codingStyleParameters.decompositionLevelsCount)){for(var t=e.resolutions[u],r=t.precinctParameters.numprecincts;f<r;){var s=x(t,f,c);return f++,s}f=0}}l=0}u=0}throw new g("Out of packets")}}function O(e){for(var t=e.SIZ,r=e.currentTile.index,n=e.tiles[r],a=n.codingStyleDefaultParameters.layersCount,i=t.Csiz,o=0,s=0;s<i;s++)o=Math.max(o,n.components[s].codingStyleParameters.decompositionLevelsCount);var c=0,u=0,l=0,f=0;this.nextPacket=function(){for(;c<=o;c++){for(;u<a;u++){for(;l<i;l++){var e=n.components[l];if(!(c>e.codingStyleParameters.decompositionLevelsCount)){for(var t=e.resolutions[c],r=t.precinctParameters.numprecincts;f<r;){var s=x(t,f,u);return f++,s}f=0}}l=0}u=0}throw new g("Out of packets")}}function C(e){var t,r,n,a,i=e.SIZ,o=e.currentTile.index,s=e.tiles[o],c=s.codingStyleDefaultParameters.layersCount,u=i.Csiz,l=0;for(n=0;n<u;n++){var f=s.components[n];l=Math.max(l,f.codingStyleParameters.decompositionLevelsCount)}var h=new Int32Array(l+1);for(r=0;r<=l;++r){var d=0;for(n=0;n<u;++n){var p=s.components[n].resolutions;r<p.length&&(d=Math.max(d,p[r].precinctParameters.numprecincts))}h[r]=d}t=0,r=0,n=0,a=0,this.nextPacket=function(){for(;r<=l;r++){for(;a<h[r];a++){for(;n<u;n++){var e=s.components[n];if(!(r>e.codingStyleParameters.decompositionLevelsCount)){var i=e.resolutions[r],o=i.precinctParameters.numprecincts;if(!(a>=o)){for(;t<c;){var f=x(i,a,t);return t++,f}t=0}}}n=0}a=0}throw new g("Out of packets")}}function T(e){var t=e.SIZ,r=e.currentTile.index,n=e.tiles[r],a=n.codingStyleDefaultParameters.layersCount,i=t.Csiz,o=_(n),s=o,c=0,u=0,l=0,f=0,h=0;this.nextPacket=function(){for(;h<s.maxNumHigh;h++){for(;f<s.maxNumWide;f++){for(;l<i;l++){for(var e=n.components[l],t=e.codingStyleParameters.decompositionLevelsCount;u<=t;u++){var r=e.resolutions[u],d=o.components[l].resolutions[u],p=P(f,h,d,s,r);if(null!==p){for(;c<a;){var m=x(r,p,c);return c++,m}c=0}}u=0}l=0}f=0}throw new g("Out of packets")}}function F(e){var t=e.SIZ,r=e.currentTile.index,n=e.tiles[r],a=n.codingStyleDefaultParameters.layersCount,i=t.Csiz,o=_(n),s=0,c=0,u=0,l=0,f=0;this.nextPacket=function(){for(;u<i;++u){for(var e=n.components[u],t=o.components[u],r=e.codingStyleParameters.decompositionLevelsCount;f<t.maxNumHigh;f++){for(;l<t.maxNumWide;l++){for(;c<=r;c++){var h=e.resolutions[c],d=t.resolutions[c],p=P(l,f,d,t,h);if(null!==p){for(;s<a;){var m=x(h,p,s);return s++,m}s=0}}c=0}l=0}f=0}throw new g("Out of packets")}}function P(e,t,r,n,a){var i=e*n.minWidth,o=t*n.minHeight;if(i%r.width!=0||o%r.height!=0)return null;var s=o/r.width*a.precinctParameters.numprecinctswide;return i/r.height+s}function _(e){for(var t=e.components.length,r=Number.MAX_VALUE,n=Number.MAX_VALUE,a=0,i=0,o=new Array(t),s=0;s<t;s++){for(var c=e.components[s],u=c.codingStyleParameters.decompositionLevelsCount,l=new Array(u+1),f=Number.MAX_VALUE,h=Number.MAX_VALUE,d=0,p=0,g=1,m=u;m>=0;--m){var v=c.resolutions[m],y=g*v.precinctParameters.precinctWidth,b=g*v.precinctParameters.precinctHeight;f=Math.min(f,y),h=Math.min(h,b),d=Math.max(d,v.precinctParameters.numprecinctswide),p=Math.max(p,v.precinctParameters.numprecinctshigh),l[m]={width:y,height:b},g<<=1}r=Math.min(r,f),n=Math.min(n,h),a=Math.max(a,d),i=Math.max(i,p),o[s]={resolutions:l,minWidth:f,minHeight:h,maxNumWide:d,maxNumHigh:p}}return{components:o,minWidth:r,minHeight:n,maxNumWide:a,maxNumHigh:i}}function I(e){for(var t=e.SIZ,r=e.currentTile.index,n=e.tiles[r],a=t.Csiz,i=0;i<a;i++){for(var o=n.components[i],s=o.codingStyleParameters.decompositionLevelsCount,c=[],u=[],l=0;l<=s;l++){var f=w(0,o,l),h={},d=1<<s-l;h.trx0=Math.ceil(o.tcx0/d),h.try0=Math.ceil(o.tcy0/d),h.trx1=Math.ceil(o.tcx1/d),h.try1=Math.ceil(o.tcy1/d),h.resLevel=l,k(0,h,f),c.push(h);var p=void 0;if(0===l)(p={}).type="LL",p.tbx0=Math.ceil(o.tcx0/d),p.tby0=Math.ceil(o.tcy0/d),p.tbx1=Math.ceil(o.tcx1/d),p.tby1=Math.ceil(o.tcy1/d),p.resolution=h,S(0,p,f),u.push(p),h.subbands=[p];else{var m=1<<s-l+1,v=[];(p={}).type="HL",p.tbx0=Math.ceil(o.tcx0/m-.5),p.tby0=Math.ceil(o.tcy0/m),p.tbx1=Math.ceil(o.tcx1/m-.5),p.tby1=Math.ceil(o.tcy1/m),p.resolution=h,S(0,p,f),u.push(p),v.push(p),(p={}).type="LH",p.tbx0=Math.ceil(o.tcx0/m),p.tby0=Math.ceil(o.tcy0/m-.5),p.tbx1=Math.ceil(o.tcx1/m),p.tby1=Math.ceil(o.tcy1/m-.5),p.resolution=h,S(0,p,f),u.push(p),v.push(p),(p={}).type="HH",p.tbx0=Math.ceil(o.tcx0/m-.5),p.tby0=Math.ceil(o.tcy0/m-.5),p.tbx1=Math.ceil(o.tcx1/m-.5),p.tby1=Math.ceil(o.tcy1/m-.5),p.resolution=h,S(0,p,f),u.push(p),v.push(p),h.subbands=v}}o.resolutions=c,o.subbands=u}var y=n.codingStyleDefaultParameters.progressionOrder;switch(y){case 0:n.packetsIterator=new A(e);break;case 1:n.packetsIterator=new O(e);break;case 2:n.packetsIterator=new C(e);break;case 3:n.packetsIterator=new T(e);break;case 4:n.packetsIterator=new F(e);break;default:throw new g("Unsupported progression order ".concat(y))}}function E(e,t,r,n){var a,o=0,s=0,c=!1;function u(e){for(;s<e;){var n=t[r+o];o++,c?(a=a<<7|n,s+=7,c=!1):(a=a<<8|n,s+=8),255===n&&(c=!0)}return a>>>(s-=e)&(1<<e)-1}function l(e){return 255===t[r+o-1]&&t[r+o]===e?(f(1),!0):255===t[r+o]&&t[r+o+1]===e&&(f(2),!0)}function f(e){o+=e}function h(){s=0,c&&(o++,c=!1)}function d(){if(0===u(1))return 1;if(0===u(1))return 2;var e=u(2);return e<3?e+3:(e=u(5))<31?e+6:(e=u(7))+37}for(var p=e.currentTile.index,g=e.tiles[p],m=e.COD.sopMarkerUsed,v=e.COD.ephMarkerUsed,y=g.packetsIterator;o<n;){h(),m&&l(145)&&f(4);var b=y.nextPacket();if(u(1)){for(var w=b.layerNumber,k=[],S=void 0,x=0,A=b.codeblocks.length;x<A;x++){var O=(S=b.codeblocks[x]).precinct,C=S.cbx-O.cbxMin,T=S.cby-O.cbyMin,F=!1,P=!1,_=void 0;if(void 0!==S.included)F=!!u(1);else{var I=void 0;if(void 0!==(O=S.precinct).inclusionTree)I=O.inclusionTree;else{var E=O.cbxMax-O.cbxMin+1,j=O.cbyMax-O.cbyMin+1;I=new q(E,j,w),_=new U(E,j),O.inclusionTree=I,O.zeroBitPlanesTree=_}if(I.reset(C,T,w))for(;;){if(!u(1)){I.incrementValue(w);break}if(!I.nextLevel()){S.included=!0,F=P=!0;break}}}if(F){if(P){for((_=O.zeroBitPlanesTree).reset(C,T);;)if(u(1)){if(!_.nextLevel())break}else _.incrementValue();S.zeroBitPlanes=_.value}for(var R=d();u(1);)S.Lblock++;var M=(0,i.log2)(R),N=u((R<1<<M?M-1:M)+S.Lblock);k.push({codeblock:S,codingpasses:R,dataLength:N})}}for(h(),v&&l(146);k.length>0;){var B=k.shift();void 0===(S=B.codeblock).data&&(S.data=[]),S.data.push({data:t,start:r+o,end:r+o+B.dataLength,codingpasses:B.codingpasses}),o+=B.dataLength}}}return o}function j(e,t,r,n,a,i,s,c){for(var u=n.tbx0,l=n.tby0,f=n.tbx1-n.tbx0,h=n.codeblocks,d="H"===n.type.charAt(0)?1:0,p="H"===n.type.charAt(1)?t:0,g=0,m=h.length;g<m;++g){var v=h[g],y=v.tbx1_-v.tbx0_,b=v.tby1_-v.tby0_;if(0!==y&&0!==b&&void 0!==v.data){var w=new X(y,b,v.subbandType,v.zeroBitPlanes,i),k=2,S=v.data,x=0,A=0,O=void 0,C=void 0,T=void 0;for(O=0,C=S.length;O<C;O++)x+=(T=S[O]).end-T.start,A+=T.codingpasses;var F=new Uint8Array(x),P=0;for(O=0,C=S.length;O<C;O++){var _=(T=S[O]).data.subarray(T.start,T.end);F.set(_,P),P+=_.length}var I=new o.ArithmeticDecoder(F,0,x);for(w.setDecoder(I),O=0;O<A;O++){switch(k){case 0:w.runSignificancePropagationPass();break;case 1:w.runMagnitudeRefinementPass();break;case 2:w.runCleanupPass(),c&&w.checkSegmentationSymbol()}k=(k+1)%3}var E=v.tbx0_-u+(v.tby0_-l)*f,j=w.coefficentsSign,R=w.coefficentsMagnitude,M=w.bitsDecoded,N=s?0:.5,B=void 0,D=void 0,L=void 0;P=0;var U="LL"!==n.type;for(O=0;O<b;O++){var q=2*(E/f|0)*(t-f)+d+p;for(B=0;B<y;B++){if(0!==(D=R[P])){D=(D+N)*a,0!==j[P]&&(D=-D),L=M[P];var H=U?q+(E<<1):E;e[H]=s&&L>=i?D:D*(1<<i-L)}E++,P++}E+=f-y}}}}function R(e,t,r){for(var n=t.components[r],a=n.codingStyleParameters,i=n.quantizationParameters,o=a.decompositionLevelsCount,s=i.SPqcds,c=i.scalarExpounded,u=i.guardBits,l=a.segmentationSymbolUsed,f=e.components[r].precision,h=a.reversibleTransformation,d=h?new z:new $,p=[],g=0,v=0;v<=o;v++){for(var y=n.resolutions[v],b=y.trx1-y.trx0,w=y.try1-y.try0,k=new Float32Array(b*w),S=0,x=y.subbands.length;S<x;S++){var A=void 0,O=void 0;c?(A=s[g].mu,O=s[g].epsilon,g++):(A=s[0].mu,O=s[0].epsilon+(v>0?1-v:0));var C=y.subbands[S],T=m[C.type];j(k,b,0,C,h?1:Math.pow(2,f+T-O)*(1+A/2048),u+O-1,h,l)}p.push({width:b,height:w,items:k})}var F=d.calculate(p,n.tcx0,n.tcy0);return{left:n.tcx0,top:n.tcy0,width:F.width,height:F.height,items:F.items}}function M(e,t){for(var r=e.SIZ.Csiz,n=e.tiles[t],a=0;a<r;a++){var i=n.components[a],o=void 0!==e.currentTile.QCC[a]?e.currentTile.QCC[a]:e.currentTile.QCD;i.quantizationParameters=o;var s=void 0!==e.currentTile.COC[a]?e.currentTile.COC[a]:e.currentTile.COD;i.codingStyleParameters=s}n.codingStyleDefaultParameters=e.currentTile.COD}t.JpxImage=v;var N,B,D,L,U=function(){function e(t,r){u(this,e);var n=(0,i.log2)(Math.max(t,r))+1;this.levels=[];for(var a=0;a<n;a++){var o={width:t,height:r,items:[]};this.levels.push(o),t=Math.ceil(t/2),r=Math.ceil(r/2)}}return c(e,[{key:"reset",value:function(e,t){for(var r,n=0,a=0;n<this.levels.length;){var i=e+t*(r=this.levels[n]).width;if(void 0!==r.items[i]){a=r.items[i];break}r.index=i,e>>=1,t>>=1,n++}n--,(r=this.levels[n]).items[r.index]=a,this.currentLevel=n,delete this.value}},{key:"incrementValue",value:function(){var e=this.levels[this.currentLevel];e.items[e.index]++}},{key:"nextLevel",value:function(){var e=this.currentLevel,t=this.levels[e],r=t.items[t.index];return--e<0?(this.value=r,!1):(this.currentLevel=e,(t=this.levels[e]).items[t.index]=r,!0)}}]),e}(),q=function(){function e(t,r,n){u(this,e);var a=(0,i.log2)(Math.max(t,r))+1;this.levels=[];for(var o=0;o<a;o++){for(var s=new Uint8Array(t*r),c=0,l=s.length;c<l;c++)s[c]=n;var f={width:t,height:r,items:s};this.levels.push(f),t=Math.ceil(t/2),r=Math.ceil(r/2)}}return c(e,[{key:"reset",value:function(e,t,r){for(var n=0;n<this.levels.length;){var a=this.levels[n],i=e+t*a.width;a.index=i;var o=a.items[i];if(255===o)break;if(o>r)return this.currentLevel=n,this.propagateValues(),!1;e>>=1,t>>=1,n++}return this.currentLevel=n-1,!0}},{key:"incrementValue",value:function(e){var t=this.levels[this.currentLevel];t.items[t.index]=e+1,this.propagateValues()}},{key:"propagateValues",value:function(){for(var e=this.currentLevel,t=this.levels[e],r=t.items[t.index];--e>=0;)(t=this.levels[e]).items[t.index]=r}},{key:"nextLevel",value:function(){var e=this.currentLevel,t=this.levels[e],r=t.items[t.index];return t.items[t.index]=255,!(--e<0||(this.currentLevel=e,(t=this.levels[e]).items[t.index]=r,0))}}]),e}(),X=(N=17,B=new Uint8Array([0,5,8,0,3,7,8,0,4,7,8,0,0,0,0,0,1,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8]),D=new Uint8Array([0,3,4,0,5,7,7,0,8,8,8,0,0,0,0,0,1,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8]),L=new Uint8Array([0,1,2,0,1,2,2,0,2,2,2,0,0,0,0,0,3,4,5,0,4,5,5,0,5,5,5,0,0,0,0,0,6,7,7,0,7,7,7,0,7,7,7,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8]),function(){function e(t,r,n,a,i){var o;u(this,e),this.width=t,this.height=r,o="HH"===n?L:"HL"===n?D:B,this.contextLabelTable=o;var s,c=t*r;this.neighborsSignificance=new Uint8Array(c),this.coefficentsSign=new Uint8Array(c),s=i>14?new Uint32Array(c):i>6?new Uint16Array(c):new Uint8Array(c),this.coefficentsMagnitude=s,this.processingFlags=new Uint8Array(c);var l=new Uint8Array(c);if(0!==a)for(var f=0;f<c;f++)l[f]=a;this.bitsDecoded=l,this.reset()}return c(e,[{key:"setDecoder",value:function(e){this.decoder=e}},{key:"reset",value:function(){this.contexts=new Int8Array(19),this.contexts[0]=8,this.contexts[17]=92,this.contexts[18]=6}},{key:"setNeighborsSignificance",value:function(e,t,r){var n,a=this.neighborsSignificance,i=this.width,o=this.height,s=t>0,c=t+1<i;e>0&&(n=r-i,s&&(a[n-1]+=16),c&&(a[n+1]+=16),a[n]+=4),e+1<o&&(n=r+i,s&&(a[n-1]+=16),c&&(a[n+1]+=16),a[n]+=4),s&&(a[r-1]+=1),c&&(a[r+1]+=1),a[r]|=128}},{key:"runSignificancePropagationPass",value:function(){for(var e=this.decoder,t=this.width,r=this.height,n=this.coefficentsMagnitude,a=this.coefficentsSign,i=this.neighborsSignificance,o=this.processingFlags,s=this.contexts,c=this.contextLabelTable,u=this.bitsDecoded,l=0;l<r;l+=4)for(var f=0;f<t;f++)for(var h=l*t+f,d=0;d<4;d++,h+=t){var p=l+d;if(p>=r)break;if(o[h]&=-2,!n[h]&&i[h]){var g=c[i[h]];if(e.readBit(s,g)){var m=this.decodeSignBit(p,f,h);a[h]=m,n[h]=1,this.setNeighborsSignificance(p,f,h),o[h]|=2}u[h]++,o[h]|=1}}}},{key:"decodeSignBit",value:function(e,t,r){var n,a,i,o,s,c,u=this.width,l=this.height,f=this.coefficentsMagnitude,h=this.coefficentsSign;o=t>0&&0!==f[r-1],t+1<u&&0!==f[r+1]?(i=h[r+1],n=o?1-i-(a=h[r-1]):1-i-i):n=o?1-(a=h[r-1])-a:0;var d=3*n;return o=e>0&&0!==f[r-u],e+1<l&&0!==f[r+u]?(i=h[r+u],n=o?1-i-(a=h[r-u])+d:1-i-i+d):n=o?1-(a=h[r-u])-a+d:d,n>=0?(s=9+n,c=this.decoder.readBit(this.contexts,s)):(s=9-n,c=1^this.decoder.readBit(this.contexts,s)),c}},{key:"runMagnitudeRefinementPass",value:function(){for(var e,t=this.decoder,r=this.width,n=this.height,a=this.coefficentsMagnitude,i=this.neighborsSignificance,o=this.contexts,s=this.bitsDecoded,c=this.processingFlags,u=r*n,l=4*r,f=0;f<u;f=e){e=Math.min(u,f+l);for(var h=0;h<r;h++)for(var d=f+h;d<e;d+=r)if(a[d]&&0==(1&c[d])){var p=16;0!=(2&c[d])&&(c[d]^=2,p=0==(127&i[d])?15:14);var g=t.readBit(o,p);a[d]=a[d]<<1|g,s[d]++,c[d]|=1}}}},{key:"runCleanupPass",value:function(){for(var e,t=this.decoder,r=this.width,n=this.height,a=this.neighborsSignificance,i=this.coefficentsMagnitude,o=this.coefficentsSign,s=this.contexts,c=this.contextLabelTable,u=this.bitsDecoded,l=this.processingFlags,f=r,h=2*r,d=3*r,p=0;p<n;p=e){e=Math.min(p+4,n);for(var g=p*r,m=p+3<n,v=0;v<r;v++){var y=g+v,b=0,w=y,k=p,S=void 0;if(m&&0===l[y]&&0===l[y+f]&&0===l[y+h]&&0===l[y+d]&&0===a[y]&&0===a[y+f]&&0===a[y+h]&&0===a[y+d]){if(!t.readBit(s,18)){u[y]++,u[y+f]++,u[y+h]++,u[y+d]++;continue}0!=(b=t.readBit(s,N)<<1|t.readBit(s,N))&&(k=p+b,w+=b*r),S=this.decodeSignBit(k,v,w),o[w]=S,i[w]=1,this.setNeighborsSignificance(k,v,w),l[w]|=2,w=y;for(var x=p;x<=k;x++,w+=r)u[w]++;b++}for(k=p+b;k<e;k++,w+=r)if(!i[w]&&0==(1&l[w])){var A=c[a[w]];1===t.readBit(s,A)&&(S=this.decodeSignBit(k,v,w),o[w]=S,i[w]=1,this.setNeighborsSignificance(k,v,w),l[w]|=2),u[w]++}}}}},{key:"checkSegmentationSymbol",value:function(){var e=this.decoder,t=this.contexts;if(10!=(e.readBit(t,N)<<3|e.readBit(t,N)<<2|e.readBit(t,N)<<1|e.readBit(t,N)))throw new g("Invalid segmentation symbol")}}]),e}()),H=function(){function e(){u(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize Transform.")}return c(e,[{key:"calculate",value:function(e,t,r){for(var n=e[0],a=1,i=e.length;a<i;a++)n=this.iterate(n,e[a],t,r);return n}},{key:"extend",value:function(e,t,r){var n=t-1,a=t+1,i=t+r-2,o=t+r;e[n--]=e[a++],e[o++]=e[i--],e[n--]=e[a++],e[o++]=e[i--],e[n--]=e[a++],e[o++]=e[i--],e[n]=e[a],e[o]=e[i]}},{key:"filter",value:function(e,t,r){(0,a.unreachable)("Abstract method `filter` called")}},{key:"iterate",value:function(e,t,r,n){var a,i,o,s,c,u,l=e.width,f=e.height,h=e.items,d=t.width,p=t.height,g=t.items;for(o=0,a=0;a<f;a++)for(s=2*a*d,i=0;i<l;i++,o++,s+=2)g[s]=h[o];h=e.items=null;var m=new Float32Array(d+8);if(1===d){if(0!=(1&r))for(u=0,o=0;u<p;u++,o+=d)g[o]*=.5}else for(u=0,o=0;u<p;u++,o+=d)m.set(g.subarray(o,o+d),4),this.extend(m,4,d),this.filter(m,4,d),g.set(m.subarray(4,4+d),o);var v=16,y=[];for(a=0;a<v;a++)y.push(new Float32Array(p+8));var b,w=0;if(e=4+p,1===p){if(0!=(1&n))for(c=0;c<d;c++)g[c]*=.5}else for(c=0;c<d;c++){if(0===w){for(v=Math.min(d-c,v),o=c,s=4;s<e;o+=d,s++)for(b=0;b<v;b++)y[b][s]=g[o+b];w=v}var k=y[--w];if(this.extend(k,4,p),this.filter(k,4,p),0===w)for(o=c-v+1,s=4;s<e;o+=d,s++)for(b=0;b<v;b++)g[o+b]=y[b][s]}return{width:d,height:p,items:g}}}]),e}(),$=function(e){l(r,e);var t=h(r);function r(){return u(this,r),t.apply(this,arguments)}return c(r,[{key:"filter",value:function(e,t,r){var n,a,i,o,s=r>>1,c=-1.586134342059924,u=-.052980118572961,l=.882911075530934,f=.443506852043971,h=1.230174104914001;for(n=(t|=0)-3,a=s+4;a--;n+=2)e[n]*=.8128930661159609;for(i=f*e[(n=t-2)-1],a=s+3;a--&&(o=f*e[n+1],e[n]=h*e[n]-i-o,a--);n+=2)i=f*e[(n+=2)+1],e[n]=h*e[n]-i-o;for(i=l*e[(n=t-1)-1],a=s+2;a--&&(o=l*e[n+1],e[n]-=i+o,a--);n+=2)i=l*e[(n+=2)+1],e[n]-=i+o;for(i=u*e[(n=t)-1],a=s+1;a--&&(o=u*e[n+1],e[n]-=i+o,a--);n+=2)i=u*e[(n+=2)+1],e[n]-=i+o;if(0!==s)for(i=c*e[(n=t+1)-1],a=s;a--&&(o=c*e[n+1],e[n]-=i+o,a--);n+=2)i=c*e[(n+=2)+1],e[n]-=i+o}}]),r}(H),z=function(e){l(r,e);var t=h(r);function r(){return u(this,r),t.apply(this,arguments)}return c(r,[{key:"filter",value:function(e,t,r){var n,a,i=r>>1;for(n=t|=0,a=i+1;a--;n+=2)e[n]-=e[n-1]+e[n+1]+2>>2;for(n=t+1,a=i;a--;n+=2)e[n]+=e[n-1]+e[n+1]>>1}}]),r}(H)},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}function o(e){var t=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(e){return!1}}();return function(){var r,n=c(e);if(t){var a=c(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return s(this,r)}}function s(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.LZWStream=void 0;var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}(c,e);var t,r,n,s=o(c);function c(e,t,r){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(n=s.call(this,t)).str=e,n.dict=e.dict,n.cachedData=0,n.bitsCached=0;for(var a=4096,i={earlyChange:r,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(a),dictionaryLengths:new Uint16Array(a),dictionaryPrevCodes:new Uint16Array(a),currentSequence:new Uint8Array(a),currentSequenceLength:0},o=0;o<256;++o)i.dictionaryValues[o]=o,i.dictionaryLengths[o]=1;return n.lzwState=i,n}return t=c,(r=[{key:"readBits",value:function(e){for(var t=this.bitsCached,r=this.cachedData;t<e;){var n=this.str.getByte();if(-1===n)return this.eof=!0,null;r=r<<8|n,t+=8}return this.bitsCached=t-=e,this.cachedData=r,this.lastCode=null,r>>>t&(1<<e)-1}},{key:"readBlock",value:function(){var e,t,r,n=1024,a=this.lzwState;if(a){var i=a.earlyChange,o=a.nextCode,s=a.dictionaryValues,c=a.dictionaryLengths,u=a.dictionaryPrevCodes,l=a.codeLength,f=a.prevCode,h=a.currentSequence,d=a.currentSequenceLength,p=0,g=this.bufferLength,m=this.ensureBuffer(this.bufferLength+n);for(e=0;e<512;e++){var v=this.readBits(l),y=d>0;if(v<256)h[0]=v,d=1;else{if(!(v>=258)){if(256===v){l=9,o=258,d=0;continue}this.eof=!0,delete this.lzwState;break}if(v<o)for(t=(d=c[v])-1,r=v;t>=0;t--)h[t]=s[r],r=u[r];else h[d++]=h[0]}if(y&&(u[o]=f,c[o]=c[f]+1,s[o]=h[0],l=++o+i&o+i-1?l:0|Math.min(Math.log(o+i)/.6931471805599453+1,12)),f=v,n<(p+=d)){do{n+=512}while(n<p);m=this.ensureBuffer(this.bufferLength+n)}for(t=0;t<d;t++)m[g++]=h[t]}a.nextCode=o,a.codeLength=l,a.prevCode=f,a.currentSequenceLength=d,this.bufferLength=g}}}])&&a(t.prototype,r),n&&a(t,n),c}(r(127).DecodeStream);t.LZWStream=u},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.PredictorStream=void 0;var a=r(127),i=r(4),o=r(113);function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function u(e){var t=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(e){return!1}}();return function(){var r,n=h(e);if(t){var a=h(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return l(this,r)}}function l(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(h,e);var t,r,n,a=u(h);function h(e,t,r){var n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),n=a.call(this,t),!(0,o.isDict)(r))return l(n,e);var s=n.predictor=r.get("Predictor")||1;if(s<=1)return l(n,e);if(2!==s&&(s<10||s>15))throw new i.FormatError("Unsupported predictor: ".concat(s));n.readBlock=2===s?n.readBlockTiff:n.readBlockPng,n.str=e,n.dict=e.dict;var c=n.colors=r.get("Colors")||1,u=n.bits=r.get("BitsPerComponent")||8,d=n.columns=r.get("Columns")||1;return n.pixBytes=c*u+7>>3,n.rowBytes=d*c*u+7>>3,l(n,f(n))}return t=h,(r=[{key:"readBlockTiff",value:function(){var e=this.rowBytes,t=this.bufferLength,r=this.ensureBuffer(t+e),n=this.bits,a=this.colors,i=this.str.getBytes(e);if(this.eof=!i.length,!this.eof){var o,s=0,c=0,u=0,l=0,f=t;if(1===n&&1===a)for(o=0;o<e;++o){var h=i[o]^s;h^=h>>1,h^=h>>2,s=(1&(h^=h>>4))<<7,r[f++]=h}else if(8===n){for(o=0;o<a;++o)r[f++]=i[o];for(;o<e;++o)r[f]=r[f-a]+i[o],f++}else if(16===n){var d=2*a;for(o=0;o<d;++o)r[f++]=i[o];for(;o<e;o+=2){var p=((255&i[o])<<8)+(255&i[o+1])+((255&r[f-d])<<8)+(255&r[f-d+1]);r[f++]=p>>8&255,r[f++]=255&p}}else{var g=new Uint8Array(a+1),m=(1<<n)-1,v=0,y=t,b=this.columns;for(o=0;o<b;++o)for(var w=0;w<a;++w)u<n&&(s=s<<8|255&i[v++],u+=8),g[w]=g[w]+(s>>u-n)&m,u-=n,c=c<<n|g[w],(l+=n)>=8&&(r[y++]=c>>l-8&255,l-=8);l>0&&(r[y++]=(c<<8-l)+(s&(1<<8-l)-1))}this.bufferLength+=e}}},{key:"readBlockPng",value:function(){var e=this.rowBytes,t=this.pixBytes,r=this.str.getByte(),n=this.str.getBytes(e);if(this.eof=!n.length,!this.eof){var a=this.bufferLength,o=this.ensureBuffer(a+e),s=o.subarray(a-e,a);0===s.length&&(s=new Uint8Array(e));var c,u,l,f=a;switch(r){case 0:for(c=0;c<e;++c)o[f++]=n[c];break;case 1:for(c=0;c<t;++c)o[f++]=n[c];for(;c<e;++c)o[f]=o[f-t]+n[c]&255,f++;break;case 2:for(c=0;c<e;++c)o[f++]=s[c]+n[c]&255;break;case 3:for(c=0;c<t;++c)o[f++]=(s[c]>>1)+n[c];for(;c<e;++c)o[f]=(s[c]+o[f-t]>>1)+n[c]&255,f++;break;case 4:for(c=0;c<t;++c)u=s[c],l=n[c],o[f++]=u+l;for(;c<e;++c){u=s[c];var h=s[c-t],d=o[f-t],p=d+u-h,g=p-d;g<0&&(g=-g);var m=p-u;m<0&&(m=-m);var v=p-h;v<0&&(v=-v),l=n[c],o[f++]=g<=m&&g<=v?d+l:m<=v?u+l:h+l}break;default:throw new i.FormatError("Unsupported predictor: ".concat(r))}this.bufferLength+=e}}}])&&s(t.prototype,r),n&&s(t,n),h}(a.DecodeStream);t.PredictorStream=d},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}function o(e){var t=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(e){return!1}}();return function(){var r,n=c(e);if(t){var a=c(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return s(this,r)}}function s(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.RunLengthStream=void 0;var u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}(c,e);var t,r,n,s=o(c);function c(e,t){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(r=s.call(this,t)).str=e,r.dict=e.dict,r}return t=c,(r=[{key:"readBlock",value:function(){var e=this.str.getBytes(2);if(!e||e.length<2||128===e[0])this.eof=!0;else{var t,r=this.bufferLength,n=e[0];if(n<128){if((t=this.ensureBuffer(r+n+1))[r++]=e[1],n>0){var a=this.str.getBytes(n);t.set(a,r),r+=n}}else{n=257-n;var i=e[1];t=this.ensureBuffer(r+n+1);for(var o=0;o<n;o++)t[r++]=i}this.bufferLength=r}}}])&&a(t.prototype,r),n&&a(t,n),c}(r(127).DecodeStream);t.RunLengthStream=u},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Font=t.ErrorFont=void 0;var n=r(4),a=r(143),i=r(146),o=r(147),s=r(145),c=r(149),u=r(148),l=r(150),f=r(151),h=r(152),d=r(124),p=r(153),g=r(117),m=r(118),v=r(154);function y(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=w(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(e,t)||w(e,t)||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.")}()}function w(e,t){if(e){if("string"==typeof e)return k(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?k(e,t):void 0}}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A(e,t,r){return t&&x(e.prototype,t),r&&x(e,r),e}var O=[[57344,63743],[1048576,1114109]],C=1e3,T=["ascent","bbox","black","bold","charProcOperatorList","composite","cssFontInfo","data","defaultVMetrics","defaultWidth","descent","fallbackName","fontMatrix","fontType","isMonospace","isSerifFont","isType3Font","italic","loadedName","mimetype","missingFile","name","remeasure","subtype","type","vertical"],F=["cMap","defaultEncoding","differences","isSymbolicFont","seacMap","toFontChar","toUnicode","vmetrics","widths"];function P(e){if(e.fontMatrix&&e.fontMatrix[0]!==n.FONT_IDENTITY_MATRIX[0]){var t=.001/e.fontMatrix[0],r=e.widths;for(var a in r)r[a]*=t;e.defaultWidth*=t}}var _=function(){function e(t,r,n,a,i,o,s,c){S(this,e),this.fontChar=t,this.unicode=r,this.accent=n,this.width=a,this.vmetric=i,this.operatorListId=o,this.isSpace=s,this.isInFont=c}return A(e,[{key:"matchesForCache",value:function(e,t,r,n,a,i,o,s){return this.fontChar===e&&this.unicode===t&&this.accent===r&&this.width===n&&this.vmetric===a&&this.operatorListId===i&&this.isSpace===o&&this.isInFont===s}}]),e}();function I(e,t){return(e<<8)+t}function E(e,t){var r=(e<<8)+t;return 32768&r?r-65536:r}function j(e){return String.fromCharCode(e>>8&255,255&e)}function R(e){return e>32767?e=32767:e<-32768&&(e=-32768),String.fromCharCode(e>>8&255,255&e)}function M(e){var t=e.peekBytes(4);return"ttcf"===(0,n.bytesToString)(t)}function N(e,t){var r,a,i=t.type,o=t.subtype,s=t.composite;return function(e){var t=e.peekBytes(4);return 65536===(0,g.readUint32)(t,0)||"true"===(0,n.bytesToString)(t)}(e)||M(e)?r=s?"CIDFontType2":"TrueType":function(e){var t=e.peekBytes(4);return"OTTO"===(0,n.bytesToString)(t)}(e)?r=s?"CIDFontType2":"OpenType":function(e){var t=e.peekBytes(2);return 37===t[0]&&33===t[1]||128===t[0]&&1===t[1]}(e)?r=s?"CIDFontType0":"MMType1"===i?"MMType1":"Type1":function(e){var t=e.peekBytes(4);return t[0]>=1&&t[3]>=1&&t[3]<=4}(e)?s?(r="CIDFontType0",a="CIDFontType0C"):(r="MMType1"===i?"MMType1":"Type1",a="Type1C"):((0,n.warn)("getFontFileType: Unable to detect correct font file Type/Subtype."),r=i,a=o),[r,a]}function B(e,t,r){for(var n,a=[],i=0,o=e.length;i<o;i++)-1!==(n=(0,u.getUnicodeForGlyph)(e[i],t))&&(a[i]=n);for(var s in r)-1!==(n=(0,u.getUnicodeForGlyph)(r[s],t))&&(a[+s]=n);return a}function D(e,t,r){var a=Object.create(null),i=[],o=0,s=O[o][0],c=O[o][1];for(var u in e){var l=e[u|=0];if(t(l)){if(s>c){if(++o>=O.length){(0,n.warn)("Ran out of space in font private use area.");break}s=O[o][0],c=O[o][1]}var f=s++;0===l&&(l=r),a[f]=l,i[u]=f}}return{toFontChar:i,charCodeToGlyphId:a,nextAvailableFontCharCode:s}}function L(e,t){var r,a,i,o,s=function(e,t){var r=[];for(var n in e)e[n]>=t||r.push({fontCharCode:0|n,glyphId:e[n]});0===r.length&&r.push({fontCharCode:0,glyphId:0}),r.sort((function(e,t){return e.fontCharCode-t.fontCharCode}));for(var a=[],i=r.length,o=0;o<i;){var s=r[o].fontCharCode,c=[r[o].glyphId];++o;for(var u=s;o<i&&u+1===r[o].fontCharCode&&(c.push(r[o].glyphId),++o,65535!=++u););a.push([s,u,c])}return a}(e,t),c=s[s.length-1][1]>65535?2:1,u="\\0\\0"+j(c)+"\\0\\0"+(0,n.string32)(4+8*c);for(r=s.length-1;r>=0&&!(s[r][0]<=65535);--r);var l=r+1;s[r][0]<65535&&65535===s[r][1]&&(s[r][1]=65534);var f,h,d,g,m=s[r][1]<65535?1:0,v=l+m,y=p.OpenTypeFileBuilder.getSearchParams(v,2),b="",w="",k="",S="",x="",A=0;for(r=0,a=l;r<a;r++){h=(f=s[r])[0],d=f[1],b+=j(h),w+=j(d);var O=!0;for(i=1,o=(g=f[2]).length;i<o;++i)if(g[i]!==g[i-1]+1){O=!1;break}if(O)k+=j(g[0]-h&65535),S+=j(0);else{var C=2*(v-r)+2*A;for(A+=d-h+1,k+=j(0),S+=j(C),i=0,o=g.length;i<o;++i)x+=j(g[i])}}m>0&&(w+="ÿÿ",b+="ÿÿ",k+="\\0",S+="\\0\\0");var T="\\0\\0"+j(2*v)+j(y.range)+j(y.entry)+j(y.rangeShift)+w+"\\0\\0"+b+k+S+x,F="",P="";if(c>1){for(u+="\\0\\0\\n"+(0,n.string32)(4+8*c+4+T.length),F="",r=0,a=s.length;r<a;r++){h=(f=s[r])[0];var _=(g=f[2])[0];for(i=1,o=g.length;i<o;++i)g[i]!==g[i-1]+1&&(d=f[0]+i-1,F+=(0,n.string32)(h)+(0,n.string32)(d)+(0,n.string32)(_),h=d+1,_=g[i]);F+=(0,n.string32)(h)+(0,n.string32)(f[1])+(0,n.string32)(_)}P="\\0\\f\\0\\0"+(0,n.string32)(F.length+16)+"\\0\\0\\0\\0"+(0,n.string32)(F.length/12)}return u+"\\0"+j(T.length+4)+T+P+F}function U(e,t,r){r=r||{unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0};var a=0,i=0,o=0,s=0,c=null,l=0;if(t){for(var f in t){(c>(f|=0)||!c)&&(c=f),l<f&&(l=f);var h=(0,u.getUnicodeRangeFor)(f);if(h<32)a|=1<<h;else if(h<64)i|=1<<h-32;else if(h<96)o|=1<<h-64;else{if(!(h<123))throw new n.FormatError("Unicode ranges Bits > 123 are reserved for internal usage");s|=1<<h-96}}l>65535&&(l=65535)}else c=0,l=255;var d=e.bbox||[0,0,0,0],p=r.unitsPerEm||1/(e.fontMatrix||n.FONT_IDENTITY_MATRIX)[0],g=e.ascentScaled?1:p/C,m=r.ascent||Math.round(g*(e.ascent||d[3])),v=r.descent||Math.round(g*(e.descent||d[1]));v>0&&e.descent>0&&d[1]<0&&(v=-v);var y=r.yMax||m,b=-r.yMin||-v;return"\\0$ô\\0\\0\\0»\\0\\0\\0»\\0\\0ß\\x001\\0\\0\\0\\0"+String.fromCharCode(e.fixedPitch?9:0)+"\\0\\0\\0\\0\\0\\0"+(0,n.string32)(a)+(0,n.string32)(i)+(0,n.string32)(o)+(0,n.string32)(s)+"*21*"+j(e.italicAngle?1:0)+j(c||e.firstChar)+j(l||e.lastChar)+j(m)+j(v)+"\\0d"+j(y)+j(b)+"\\0\\0\\0\\0\\0\\0\\0\\0"+j(e.xHeight)+j(e.capHeight)+j(0)+j(c||e.firstChar)+"\\0"}function q(e){var t=Math.floor(e.italicAngle*Math.pow(2,16));return"\\0\\0\\0"+(0,n.string32)(t)+"\\0\\0\\0\\0"+(0,n.string32)(e.fixedPitch)+"\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0"}function X(e){return e.replace(/[^\\x21-\\x7E]|[[\\](){}<>/%]/g,"").slice(0,63)}function H(e,t){t||(t=[[],[]]);var r,n,a,i,o,s=[t[0][0]||"Original licence",t[0][1]||e,t[0][2]||"Unknown",t[0][3]||"uniqueID",t[0][4]||e,t[0][5]||"Version 0.11",t[0][6]||X(e),t[0][7]||"Unknown",t[0][8]||"Unknown",t[0][9]||"Unknown"],c=[];for(r=0,n=s.length;r<n;r++){var u=[];for(a=0,i=(o=t[1][r]||s[r]).length;a<i;a++)u.push(j(o.charCodeAt(a)));c.push(u.join(""))}var l=[s,c],f=["\\0","\\0"],h=["\\0\\0","\\0"],d=["\\0\\0","\\t"],p=s.length*f.length,g="\\0\\0"+j(p)+j(12*p+6),m=0;for(r=0,n=f.length;r<n;r++){var v=l[r];for(a=0,i=v.length;a<i;a++)o=v[a],g+=f[r]+h[r]+d[r]+j(a)+j(o.length)+j(m),m+=o.length}return g+=s.join("")+c.join("")}var $=function(){function e(t,r,a){S(this,e),this.name=t,this.mimetype=null,this.disableFontFace=!1,this.loadedName=a.loadedName,this.isType3Font=a.isType3Font,this.missingFile=!1,this.cssFontInfo=a.cssFontInfo,this._charsCache=Object.create(null),this._glyphCache=Object.create(null),this.isSerifFont=!!(a.flags&i.FontFlags.Serif),this.isSymbolicFont=!!(a.flags&i.FontFlags.Symbolic),this.isMonospace=!!(a.flags&i.FontFlags.FixedPitch);var o=a.type,s=a.subtype;this.type=o,this.subtype=s;var c="sans-serif";if(this.isMonospace?c="monospace":this.isSerifFont&&(c="serif"),this.fallbackName=c,this.differences=a.differences,this.widths=a.widths,this.defaultWidth=a.defaultWidth,this.composite=a.composite,this.cMap=a.cMap,this.capHeight=a.capHeight/C,this.ascent=a.ascent/C,this.descent=a.descent/C,this.fontMatrix=a.fontMatrix,this.bbox=a.bbox,this.defaultEncoding=a.defaultEncoding,this.toUnicode=a.toUnicode,this.fallbackToUnicode=a.fallbackToUnicode||new l.ToUnicodeMap,this.toFontChar=[],"Type3"!==a.type){if(this.cidEncoding=a.cidEncoding,this.vertical=!!a.vertical,this.vertical&&(this.vmetrics=a.vmetrics,this.defaultVMetrics=a.defaultVMetrics),!r||r.isEmpty)return r&&(0,n.warn)(\'Font file is empty in "\'+t+\'" (\'+this.loadedName+")"),void this.fallbackToSystemFont(a);var u,h=b(N(r,a),2);o=h[0],s=h[1],o===this.type&&s===this.subtype||(0,n.info)("Inconsistent font file Type/SubType, expected: "+"".concat(this.type,"/").concat(this.subtype," but found: ").concat(o,"/").concat(s,"."));try{switch(o){case"MMType1":(0,n.info)("MMType1 font ("+t+"), falling back to Type1.");case"Type1":case"CIDFontType0":this.mimetype="font/opentype";var d="Type1C"===s||"CIDFontType0C"===s?new f.CFFFont(r,a):new v.Type1Font(t,r,a);P(a),u=this.convert(t,d,a);break;case"OpenType":case"TrueType":case"CIDFontType2":this.mimetype="font/opentype",u=this.checkAndRepair(t,r,a),this.isOpenType&&(P(a),o="OpenType");break;default:throw new n.FormatError("Font ".concat(o," is not supported"))}}catch(e){return(0,n.warn)(e),void this.fallbackToSystemFont(a)}this.data=u,this.fontType=(0,i.getFontType)(o,s),this.fontMatrix=a.fontMatrix,this.widths=a.widths,this.defaultWidth=a.defaultWidth,this.toUnicode=a.toUnicode,this.seacMap=a.seacMap}else{for(var p=0;p<256;p++)this.toFontChar[p]=this.differences[p]||a.defaultEncoding[p];this.fontType=n.FontType.TYPE3}}return A(e,[{key:"renderer",get:function(){var e=h.FontRendererFactory.create(this,i.SEAC_ANALYSIS_ENABLED);return(0,n.shadow)(this,"renderer",e)}},{key:"exportData",value:function(){var e,t,r,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=n?[].concat(T,F):T,i=Object.create(null),o=y(a);try{for(o.s();!(r=o.n()).done;)void 0!==(t=this[e=r.value])&&(i[e]=t)}catch(e){o.e(e)}finally{o.f()}return i}},{key:"fallbackToSystemFont",value:function(e){var t=this;this.missingFile=!0;var r=this.name,a=this.type,f=this.subtype,h=r.replace(/[,_]/g,"-").replace(/\\s/g,""),d=(0,c.getStdFontMap)(),p=(0,c.getNonStdFontMap)(),g=!!d[h],m=!(!p[h]||!d[p[h]]);h=d[h]||p[h]||h,this.bold=-1!==h.search(/bold/gi),this.italic=-1!==h.search(/oblique/gi)||-1!==h.search(/italic/gi),this.black=-1!==r.search(/Black/g);var v=-1!==r.search(/Narrow/g);if(this.remeasure=(!g||v)&&Object.keys(this.widths).length>0,(g||m)&&"CIDFontType2"===a&&this.cidEncoding.startsWith("Identity-")){var y=(0,c.getGlyphMapForStandardFonts)(),b=e.cidToGidMap,w=[];for(var k in y)w[+k]=y[k];if(/Arial-?Black/i.test(r)){var S=(0,c.getSupplementalGlyphMapForArialBlack)();for(var x in S)w[+x]=S[x]}else if(/Calibri/i.test(r)){var A=(0,c.getSupplementalGlyphMapForCalibri)();for(var O in A)w[+O]=A[O]}if(b)for(var C in w){var T=w[C];void 0!==b[T]&&(w[+C]=b[T])}this.toUnicode instanceof l.IdentityToUnicodeMap||this.toUnicode.forEach((function(e,t){w[+e]=t})),this.toFontChar=w,this.toUnicode=new l.ToUnicodeMap(w)}else if(/Symbol/i.test(h))this.toFontChar=B(s.SymbolSetEncoding,(0,o.getGlyphsUnicode)(),this.differences);else if(/Dingbats/i.test(h))/Wingdings/i.test(r)&&(0,n.warn)("Non-embedded Wingdings font, falling back to ZapfDingbats."),this.toFontChar=B(s.ZapfDingbatsEncoding,(0,o.getDingbatsGlyphsUnicode)(),this.differences);else if(g)this.toFontChar=B(this.defaultEncoding,(0,o.getGlyphsUnicode)(),this.differences);else{var F=(0,o.getGlyphsUnicode)(),P=[];if(this.toUnicode.forEach((function(e,r){if(!t.composite){var n=t.differences[e]||t.defaultEncoding[e],a=(0,u.getUnicodeForGlyph)(n,F);-1!==a&&(r=a)}P[+e]=r})),this.composite&&this.toUnicode instanceof l.IdentityToUnicodeMap&&/Verdana/i.test(r)){var _=(0,c.getGlyphMapForStandardFonts)();for(var I in _)P[+I]=_[I]}this.toFontChar=P}this.loadedName=h.split("-")[0],this.fontType=(0,i.getFontType)(a,f)}},{key:"checkAndRepair",value:function(e,t,r){var c=["OS/2","cmap","head","hhea","hmtx","maxp","name","post","loca","glyf","fpgm","prep","cvt ","CFF "];function u(e,t){var r=Object.create(null);r["OS/2"]=null,r.cmap=null,r.head=null,r.hhea=null,r.hmtx=null,r.maxp=null,r.name=null,r.post=null;for(var n=0;n<t;n++){var a=l(e);c.includes(a.tag)&&0!==a.length&&(r[a.tag]=a)}return r}function l(e){var t=e.getString(4),r=e.getInt32()>>>0,n=e.getInt32()>>>0,a=e.getInt32()>>>0,i=e.pos;e.pos=e.start?e.start:0,e.skip(n);var o=e.getBytes(a);return e.pos=i,"head"===t&&(o[8]=o[9]=o[10]=o[11]=0,o[17]|=32),{tag:t,checksum:r,length:a,offset:n,data:o}}function h(e){return{version:e.getString(4),numTables:e.getUint16(),searchRange:e.getUint16(),entrySelector:e.getUint16(),rangeShift:e.getUint16()}}function g(e,t,r,n,a,i){var o={length:0,sizeOfInstructions:0};if(r-t<=12)return o;var s,c,u,l=e.subarray(t,r),f=E(l[0],l[1]);if(f<0)return u=f=-1,(s=l)[1+(c=0)]=u,s[c]=u>>>8,n.set(l,a),o.length=l.length,o;var h,d=10,p=0;for(h=0;h<f;h++)p=1+(l[d]<<8|l[d+1]),d+=2;var g=d,m=l[d]<<8|l[d+1];o.sizeOfInstructions=m;var v=d+=2+m,y=0;for(h=0;h<p;h++){var b=l[d++];192&b&&(l[d-1]=63&b);var w=2;2&b?w=1:16&b&&(w=0);var k=2;4&b?k=1:32&b&&(k=0);var S=w+k;if(y+=S,8&b){var x=l[d++];h+=x,y+=x*S}}if(0===y)return o;var A=d+y;return A>l.length?o:!i&&m>0?(n.set(l.subarray(0,g),a),n.set([0,0],a+g),n.set(l.subarray(v,A),a+g+2),A-=m,l.length-A>3&&(A=A+3&-4),o.length=A,o):l.length-A>3?(A=A+3&-4,n.set(l.subarray(0,A),a),o.length=A,o):(n.set(l,a),o.length=l.length,o)}function v(e){var r=(t.start?t.start:0)+e.offset;t.pos=r;var n=[[],[]],a=e.length,i=r+a;if(0!==t.getUint16()||a<6)return n;var o,s,c=t.getUint16(),u=t.getUint16(),l=[];for(o=0;o<c&&t.pos+12<=i;o++){var f={platform:t.getUint16(),encoding:t.getUint16(),language:t.getUint16(),name:t.getUint16(),length:t.getUint16(),offset:t.getUint16()};(1===f.platform&&0===f.encoding&&0===f.language||3===f.platform&&1===f.encoding&&1033===f.language)&&l.push(f)}for(o=0,s=l.length;o<s;o++){var h=l[o];if(!(h.length<=0)){var d=r+u+h.offset;if(!(d+h.length>i)){t.pos=d;var p=h.name;if(h.encoding){for(var g="",m=0,v=h.length;m<v;m+=2)g+=String.fromCharCode(t.getUint16());n[1][p]=g}else n[0][p]=t.getString(h.length)}}}return n}var b,w,k,S,x=[0,0,0,0,0,0,0,0,-2,-2,-2,-2,0,0,-2,-5,-1,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,-1,-1,1,-1,-999,0,1,0,-1,-2,0,-1,-2,-1,-1,0,-1,-1,0,0,-999,-999,-1,-1,-1,-1,-2,-999,-2,-2,-999,0,-2,-2,0,0,-2,0,-2,0,0,0,-2,-1,-1,1,1,0,0,-1,-1,-1,-1,-1,-1,-1,0,0,-1,0,-1,-1,0,-999,-1,-1,-1,-1,-1,-1,0,0,0,0,0,0,0,0,0,0,0,0,-2,-999,-999,-999,-999,-999,-1,-1,-2,-2,0,0,0,0,-1,-1,-999,-2,-2,0,0,-1,-2,-2,0,0,0,-1,-1,-1,-2];function A(e,t){for(var r,a,i,o,s,c=e.data,u=0,l=0,f=0,h=[],d=[],p=[],g=t.tooComplexToFollowFunctions,m=!1,v=0,y=0,b=c.length;u<b;){var w=c[u++];if(64===w)if(a=c[u++],m||y)u+=a;else for(r=0;r<a;r++)h.push(c[u++]);else if(65===w)if(a=c[u++],m||y)u+=2*a;else for(r=0;r<a;r++)i=c[u++],h.push(i<<8|c[u++]);else if(176==(248&w))if(a=w-176+1,m||y)u+=a;else for(r=0;r<a;r++)h.push(c[u++]);else if(184==(248&w))if(a=w-184+1,m||y)u+=2*a;else for(r=0;r<a;r++)i=c[u++],h.push(i<<8|c[u++]);else if(43!==w||g)if(44!==w||g){if(45===w)if(m)m=!1,l=u;else{if(!(s=d.pop()))return(0,n.warn)("TT: ENDF bad stack"),void(t.hintsValid=!1);o=p.pop(),c=s.data,u=s.i,t.functionsStackDeltas[o]=h.length-s.stackTop}else if(137===w)(m||y)&&((0,n.warn)("TT: nested IDEFs not allowed"),g=!0),m=!0,f=u;else if(88===w)++v;else if(27===w)y=v;else if(89===w)y===v&&(y=0),--v;else if(28===w&&!m&&!y){var k=h[h.length-1];k>0&&(u+=k-1)}}else(m||y)&&((0,n.warn)("TT: nested FDEFs not allowed"),g=!0),m=!0,f=u,o=h.pop(),t.functionsDefined[o]={data:c,i:u};else if(!m&&!y)if(o=h[h.length-1],isNaN(o))(0,n.info)("TT: CALL empty stack (or invalid entry).");else if(t.functionsUsed[o]=!0,o in t.functionsStackDeltas){var S=h.length+t.functionsStackDeltas[o];if(S<0)return(0,n.warn)("TT: CALL invalid functions stack delta."),void(t.hintsValid=!1);h.length=S}else if(o in t.functionsDefined&&!p.includes(o)){if(d.push({data:c,i:u,stackTop:h.length-1}),p.push(o),!(s=t.functionsDefined[o]))return(0,n.warn)("TT: CALL non-existent function"),void(t.hintsValid=!1);c=s.data,u=s.i}if(!m&&!y){var A=0;for(w<=142?A=x[w]:w>=192&&w<=223?A=-1:w>=224&&(A=-2),w>=113&&w<=117&&(a=h.pop(),isNaN(a)||(A=2*-a));A<0&&h.length>0;)h.pop(),A++;for(;A>0;)h.push(NaN),A--}}t.tooComplexToFollowFunctions=g;var O=[c];u>c.length&&O.push(new Uint8Array(u-c.length)),f>l&&((0,n.warn)("TT: complementing a missing function tail"),O.push(new Uint8Array([34,45]))),function(e,t){if(t.length>1){var r,n,a=0;for(r=0,n=t.length;r<n;r++)a+=t[r].length;a=a+3&-4;var i=new Uint8Array(a),o=0;for(r=0,n=t.length;r<n;r++)i.set(t[r],o),o+=t[r].length;e.data=i,e.length=a}}(e,O)}if(M(t=new m.Stream(new Uint8Array(t.getBytes())))){var O=function(e,t){for(var r,a=function(e){var t=e.getString(4);(0,n.assert)("ttcf"===t,"Must be a TrueType Collection font.");for(var r=e.getUint16(),a=e.getUint16(),i=e.getInt32()>>>0,o=[],s=0;s<i;s++)o.push(e.getInt32()>>>0);var c={ttcTag:t,majorVersion:r,minorVersion:a,numFonts:i,offsetTable:o};switch(r){case 1:return c;case 2:return c.dsigTag=e.getInt32()>>>0,c.dsigLength=e.getInt32()>>>0,c.dsigOffset=e.getInt32()>>>0,c}throw new n.FormatError("Invalid TrueType Collection majorVersion: ".concat(r,"."))}(e),i=a.numFonts,o=a.offsetTable,s=t.split("+"),c=0;c<i;c++){e.pos=(e.start||0)+o[c];var l=h(e),f=u(e,l.numTables);if(!f.name)throw new n.FormatError(\'TrueType Collection font must contain a "name" table.\');for(var d=v(f.name),p=0,g=d.length;p<g;p++)for(var m=0,b=d[p].length;m<b;m++){var w=d[p][m]&&d[p][m].replace(/\\s/g,"");if(w){if(w===t)return{header:l,tables:f};if(!(s.length<2)){var k,S=y(s);try{for(S.s();!(k=S.n()).done;){var x=k.value;w===x&&(r={name:x,header:l,tables:f})}}catch(e){S.e(e)}finally{S.f()}}}}}if(r)return(0,n.warn)(\'TrueType Collection does not contain "\'.concat(t,\'" font, \')+\'falling back to "\'.concat(r.name,\'" font instead.\')),{header:r.header,tables:r.tables};throw new n.FormatError(\'TrueType Collection does not contain "\'.concat(t,\'" font.\'))}(t,this.name);b=O.header,w=O.tables}else b=h(t),w=u(t,b.numTables);var C=!w["CFF "];if(C){if(!w.loca)throw new n.FormatError(\'Required "loca" table is not found\');w.glyf||((0,n.warn)(\'Required "glyf" table is not found -- trying to recover.\'),w.glyf={tag:"glyf",data:new Uint8Array(0)}),this.isOpenType=!1}else{var T=r.composite&&((r.cidToGidMap||[]).length>0||!(r.cMap instanceof d.IdentityCMap));if("OTTO"===b.version&&!T||!w.head||!w.hhea||!w.maxp||!w.post)return S=new m.Stream(w["CFF "].data),k=new f.CFFFont(S,r),P(r),this.convert(e,k,r);delete w.glyf,delete w.loca,delete w.fpgm,delete w.prep,delete w["cvt "],this.isOpenType=!0}if(!w.maxp)throw new n.FormatError(\'Required "maxp" table is not found\');t.pos=(t.start||0)+w.maxp.offset;var F=t.getInt32(),_=t.getUint16(),j=_+1,R=!0;j>65535&&(R=!1,j=_,(0,n.warn)("Not enough space in glyfs to duplicate first glyph."));var N=0,B=0;F>=65536&&w.maxp.length>=22&&(t.pos+=8,t.getUint16()>2&&(w.maxp.data[14]=0,w.maxp.data[15]=2),t.pos+=4,N=t.getUint16(),t.pos+=4,B=t.getUint16()),w.maxp.data[4]=j>>8,w.maxp.data[5]=255&j;var X=function(e,t,r,a){var i={functionsDefined:[],functionsUsed:[],functionsStackDeltas:[],tooComplexToFollowFunctions:!1,hintsValid:!0};if(e&&A(e,i),t&&A(t,i),e&&function(e,t){if(!e.tooComplexToFollowFunctions){if(e.functionsDefined.length>t)return(0,n.warn)("TT: more functions defined than expected"),void(e.hintsValid=!1);for(var r=0,a=e.functionsUsed.length;r<a;r++){if(r>t)return(0,n.warn)("TT: invalid function id: "+r),void(e.hintsValid=!1);if(e.functionsUsed[r]&&!e.functionsDefined[r])return(0,n.warn)("TT: undefined function: "+r),void(e.hintsValid=!1)}}}(i,a),r&&1&r.length){var o=new Uint8Array(r.length+1);o.set(r.data),r.data=o}return i.hintsValid}(w.fpgm,w.prep,w["cvt "],N);if(X||(delete w.fpgm,delete w.prep,delete w["cvt "]),function(e,t,r,a,i){if(t){e.pos=(e.start?e.start:0)+t.offset,e.pos+=4,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=2,e.pos+=8,e.pos+=2;var o=e.getUint16();o>a&&((0,n.info)("The numOfMetrics ("+o+") should not be greater than the numGlyphs ("+a+")"),o=a,t.data[34]=(65280&o)>>8,t.data[35]=255&o);var s=a-o-(r.length-4*o>>1);if(s>0){var c=new Uint8Array(r.length+2*s);c.set(r.data),i&&(c[r.length]=r.data[2],c[r.length+1]=r.data[3]),r.data=c}}else r&&(r.data=null)}(t,w.hhea,w.hmtx,j,R),!w.head)throw new n.FormatError(\'Required "head" table is not found\');!function(e,t,r){var a,i,o,s,c=e.data,u=(a=c[0],i=c[1],o=c[2],s=c[3],(a<<24)+(i<<16)+(o<<8)+s);u>>16!=1&&((0,n.info)("Attempting to fix invalid version in head table: "+u),c[0]=0,c[1]=1,c[2]=0,c[3]=0);var l=I(c[50],c[51]);if(l<0||l>1){(0,n.info)("Attempting to fix invalid indexToLocFormat in head table: "+l);var f=t+1;if(r===f<<1)c[50]=0,c[51]=0;else{if(r!==f<<2)throw new n.FormatError("Could not fix indexToLocFormat: "+l);c[50]=0,c[51]=1}}}(w.head,_,C?w.loca.length:0);var $=Object.create(null);if(C){var z=I(w.head.data[50],w.head.data[51]),G=function(e,t,r,n,a,i,o){var s,c,u;n?(s=4,c=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]},u=function(e,t,r){e[t]=r>>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r}):(s=2,c=function(e,t){return e[t]<<9|e[t+1]<<1},u=function(e,t,r){e[t]=r>>9&255,e[t+1]=r>>1&255});var l=i?r+1:r,f=s*(1+l),h=new Uint8Array(f);h.set(e.data.subarray(0,f)),e.data=h;var d,p,m=t.data,v=m.length,y=new Uint8Array(v),b=[];for(d=0,p=0;d<r+1;d++,p+=s){var w=c(h,p);w>v&&(w=v),b.push({index:d,offset:w,endOffset:0})}for(b.sort((function(e,t){return e.offset-t.offset})),d=0;d<r;d++)b[d].endOffset=b[d+1].offset;b.sort((function(e,t){return e.index-t.index}));var k=Object.create(null),S=0;for(u(h,0,S),d=0,p=s;d<r;d++,p+=s){var x=g(m,b[d].offset,b[d].endOffset,y,S,a),A=x.length;0===A&&(k[d]=!0),x.sizeOfInstructions>o&&(o=x.sizeOfInstructions),u(h,p,S+=A)}if(0===S){var O=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);for(d=0,p=s;d<l;d++,p+=s)u(h,p,O.length);t.data=O}else if(i){var C=c(h,s);y.length>C+S?t.data=y.subarray(0,C+S):(t.data=new Uint8Array(C+S),t.data.set(y.subarray(0,S))),t.data.set(y.subarray(0,C),S),u(e.data,h.length-s,S+C)}else t.data=y.subarray(0,S);return{missingGlyphs:k,maxSizeOfInstructions:o}}(w.loca,w.glyf,_,z,X,R,B);$=G.missingGlyphs,F>=65536&&w.maxp.length>=22&&(w.maxp.data[26]=G.maxSizeOfInstructions>>8,w.maxp.data[27]=255&G.maxSizeOfInstructions)}if(!w.hhea)throw new n.FormatError(\'Required "hhea" table is not found\');0===w.hhea.data[10]&&0===w.hhea.data[11]&&(w.hhea.data[10]=255,w.hhea.data[11]=255);var W={unitsPerEm:I(w.head.data[18],w.head.data[19]),yMax:I(w.head.data[42],w.head.data[43]),yMin:E(w.head.data[38],w.head.data[39]),ascent:I(w.hhea.data[4],w.hhea.data[5]),descent:E(w.hhea.data[6],w.hhea.data[7])};this.ascent=W.ascent/W.unitsPerEm,this.descent=W.descent/W.unitsPerEm,w.post&&function(e,r,a){var o=(t.start?t.start:0)+e.offset;t.pos=o;var s,c=o+e.length,u=t.getInt32();t.skip(28);var l,f=!0;switch(u){case 65536:s=i.MacStandardGlyphOrdering;break;case 131072:var h=t.getUint16();if(h!==a){f=!1;break}var d=[];for(l=0;l<h;++l){var p=t.getUint16();if(p>=32768){f=!1;break}d.push(p)}if(!f)break;for(var g=[],m=[];t.pos<c;){var v=t.getByte();for(m.length=v,l=0;l<v;++l)m[l]=String.fromCharCode(t.getByte());g.push(m.join(""))}for(s=[],l=0;l<h;++l){var y=d[l];y<258?s.push(i.MacStandardGlyphOrdering[y]):s.push(g[y-258])}break;case 196608:break;default:(0,n.warn)("Unknown/unsupported post table version "+u),f=!1,r.defaultEncoding&&(s=r.defaultEncoding)}r.glyphNames=s}(w.post,r,_),w.post={tag:"post",data:q(r)};var V=[];function K(e){return!$[e]}if(r.composite){var Y=r.cidToGidMap||[],J=0===Y.length;r.cMap.forEach((function(e,t){if(t>65535)throw new n.FormatError("Max size of CID is 65,535");var r=-1;J?r=t:void 0!==Y[t]&&(r=Y[t]),r>=0&&r<_&&K(r)&&(V[e]=r)}))}else{var Z=function(e,t,r,a){if(!e)return(0,n.warn)("No cmap table available."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};var i,o=(t.start?t.start:0)+e.offset;t.pos=o,t.skip(2);for(var s,c=t.getUint16(),u=!1,l=0;l<c;l++){var f=t.getUint16(),h=t.getUint16(),d=t.getInt32()>>>0,p=!1;if((!s||s.platformId!==f||s.encodingId!==h)&&(0!==f||0!==h&&1!==h&&3!==h?1===f&&0===h?p=!0:3!==f||1!==h||!a&&s?r&&3===f&&0===h&&(p=!0,u=!0):(p=!0,r||(u=!0)):p=!0,p&&(s={platformId:f,encodingId:h,offset:d}),u))break}if(s&&(t.pos=o+s.offset),!s||-1===t.peekByte())return(0,n.warn)("Could not find a preferred cmap table."),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};var g=t.getUint16();t.skip(4);var m,v,y=!1,b=[];if(0===g){for(m=0;m<256;m++){var w=t.getByte();w&&b.push({charCode:m,glyphId:w})}y=!0}else if(4===g){var k=t.getUint16()>>1;t.skip(6);var S,x=[];for(S=0;S<k;S++)x.push({end:t.getUint16()});for(t.skip(2),S=0;S<k;S++)x[S].start=t.getUint16();for(S=0;S<k;S++)x[S].delta=t.getUint16();var A,O=0;for(S=0;S<k;S++){i=x[S];var C=t.getUint16();C?(A=(C>>1)-(k-S),i.offsetIndex=A,O=Math.max(O,A+i.end-i.start+1)):i.offsetIndex=-1}var T=[];for(m=0;m<O;m++)T.push(t.getUint16());for(S=0;S<k;S++){o=(i=x[S]).start;var F=i.end,P=i.delta;for(A=i.offsetIndex,m=o;m<=F;m++)65535!==m&&(v=(v=A<0?m:T[A+m-o])+P&65535,b.push({charCode:m,glyphId:v}))}}else{if(6!==g)return(0,n.warn)("cmap table has unsupported format: "+g),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};var _=t.getUint16(),I=t.getUint16();for(m=0;m<I;m++){v=t.getUint16();var E=_+m;b.push({charCode:E,glyphId:v})}}b.sort((function(e,t){return e.charCode-t.charCode}));for(var j=1;j<b.length;j++)b[j-1].charCode===b[j].charCode&&(b.splice(j,1),j--);return{platformId:s.platformId,encodingId:s.encodingId,mappings:b,hasShortCmap:y}}(w.cmap,t,this.isSymbolicFont,r.hasEncoding),Q=Z.platformId,ee=Z.encodingId,te=Z.mappings,re=te.length,ne=[];if(!r.hasEncoding||"MacRomanEncoding"!==r.baseEncodingName&&"WinAnsiEncoding"!==r.baseEncodingName||(ne=(0,s.getEncoding)(r.baseEncodingName)),r.hasEncoding&&!this.isSymbolicFont&&(3===Q&&1===ee||1===Q&&0===ee))for(var ae=(0,o.getGlyphsUnicode)(),ie=0;ie<256;ie++){var oe=void 0;if(oe=this.differences&&ie in this.differences?this.differences[ie]:ie in ne&&""!==ne[ie]?ne[ie]:s.StandardEncoding[ie]){var se=(0,i.recoverGlyphName)(oe,ae),ce=void 0;3===Q&&1===ee?ce=ae[se]:1===Q&&0===ee&&(ce=s.MacRomanEncoding.indexOf(se));for(var ue=0;ue<re;++ue)if(te[ue].charCode===ce){V[ie]=te[ue].glyphId;break}}}else if(0===Q)for(var le=0;le<re;++le)V[te[le].charCode]=te[le].glyphId;else for(var fe=0;fe<re;++fe){var he=te[fe].charCode;3===Q&&he>=61440&&he<=61695&&(he&=255),V[he]=te[fe].glyphId}if(r.glyphNames&&(ne.length||this.differences.length))for(var de=0;de<256;++de)if(void 0===V[de]){var pe=this.differences[de]||ne[de];if(pe){var ge=r.glyphNames.indexOf(pe);ge>0&&K(ge)&&(V[de]=ge)}}}0===V.length&&(V[0]=0);var me=j-1;if(R||(me=0),!r.cssFontInfo){var ve=D(V,K,me);this.toFontChar=ve.toFontChar,w.cmap={tag:"cmap",data:L(ve.charCodeToGlyphId,j)},w["OS/2"]&&function(e,t){t.pos=(t.start||0)+e.offset;var r=t.getUint16();t.skip(60);var n=t.getUint16();return!(r<4&&768&n||t.getUint16()>t.getUint16()||(t.skip(6),0===t.getUint16()||(e.data[8]=e.data[9]=0,0)))}(w["OS/2"],t)||(w["OS/2"]={tag:"OS/2",data:U(r,ve.charCodeToGlyphId,W)})}if(!C)try{S=new m.Stream(w["CFF "].data),(k=new a.CFFParser(S,r,i.SEAC_ANALYSIS_ENABLED).parse()).duplicateFirstGlyph();var ye=new a.CFFCompiler(k);w["CFF "].data=ye.compile()}catch(e){(0,n.warn)("Failed to compile font "+r.loadedName)}if(w.name){var be=v(w.name);w.name.data=H(e,be)}else w.name={tag:"name",data:H(this.name)};var we=new p.OpenTypeFileBuilder(b.version);for(var ke in w)we.addTable(ke,w[ke].data);return we.toArray()}},{key:"convert",value:function(e,t,r){r.fixedPitch=!1,r.builtInEncoding&&function(e,t){if(!(e.hasIncludedToUnicodeMap||t===e.defaultEncoding||e.toUnicode instanceof l.IdentityToUnicodeMap)){var r=[],n=(0,o.getGlyphsUnicode)();for(var a in t)if(!e.hasEncoding||void 0===e.differences[a]){var i=t[a],s=(0,u.getUnicodeForGlyph)(i,n);-1!==s&&(r[a]=String.fromCharCode(s))}e.toUnicode.amend(r)}}(r,r.builtInEncoding);var a=1;t instanceof f.CFFFont&&(a=t.numGlyphs-1);var c=t.getGlyphMapping(r),h=null,d=c;r.cssFontInfo||(h=D(c,t.hasGlyphId.bind(t),a),this.toFontChar=h.toFontChar,d=h.charCodeToGlyphId);var g=t.numGlyphs;function m(e,t){var r=null;for(var n in e)t===e[n]&&(r||(r=[]),r.push(0|n));return r}function v(e,t){for(var r in e)if(t===e[r])return 0|r;return h.charCodeToGlyphId[h.nextAvailableFontCharCode]=t,h.nextAvailableFontCharCode++}var y=t.seacs;if(h&&i.SEAC_ANALYSIS_ENABLED&&y&&y.length){var b=r.fontMatrix||n.FONT_IDENTITY_MATRIX,w=t.getCharset(),k=Object.create(null);for(var S in y){var x=y[S|=0],A=s.StandardEncoding[x[2]],O=s.StandardEncoding[x[3]],C=w.indexOf(A),T=w.indexOf(O);if(!(C<0||T<0)){var F={x:x[0]*b[0]+x[1]*b[2]+b[4],y:x[0]*b[1]+x[1]*b[3]+b[5]},P=m(c,S);if(P)for(var _=0,I=P.length;_<I;_++){var E=P[_],M=h.charCodeToGlyphId,N=v(M,C),B=v(M,T);k[E]={baseFontCharCode:N,accentFontCharCode:B,accentOffset:F}}}}r.seacMap=k}var X=1/(r.fontMatrix||n.FONT_IDENTITY_MATRIX)[0],$=new p.OpenTypeFileBuilder("OTTO");return $.addTable("CFF ",t.data),$.addTable("OS/2",U(r,d)),$.addTable("cmap",L(d,g)),$.addTable("head","\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0_<õ\\0\\0"+R(X)+"\\0\\0\\0\\0\\v~\'\\0\\0\\0\\0\\v~\'\\0\\0"+R(r.descent)+"ÿ"+R(r.ascent)+j(r.italicAngle?2:0)+"\\0\\0\\0\\0\\0\\0\\0"),$.addTable("hhea","\\0\\0\\0"+R(r.ascent)+R(r.descent)+"\\0\\0ÿÿ\\0\\0\\0\\0\\0\\0"+R(r.capHeight)+R(Math.tan(r.italicAngle)*r.xHeight)+"\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0"+j(g)),$.addTable("hmtx",function(){for(var e=t.charstrings,r=t.cff?t.cff.widths:null,n="\\0\\0\\0\\0",a=1,i=g;a<i;a++){var o=0;if(e){var s=e[a-1];o="width"in s?s.width:0}else r&&(o=Math.ceil(r[a]||0));n+=j(o)+j(0)}return n}()),$.addTable("maxp","\\0\\0P\\0"+j(g)),$.addTable("name",H(e)),$.addTable("post",q(r)),$.toArray()}},{key:"spaceWidth",get:function(){for(var e,t=["space","minus","one","i","I"],r=0,a=t.length;r<a;r++){var i=t[r];if(i in this.widths){e=this.widths[i];break}var s=(0,o.getGlyphsUnicode)()[i],c=0;if(this.composite&&this.cMap.contains(s)&&(c=this.cMap.lookup(s)),!c&&this.toUnicode&&(c=this.toUnicode.charCodeOf(s)),c<=0&&(c=s),e=this.widths[c])break}return e=e||this.defaultWidth,(0,n.shadow)(this,"spaceWidth",e)}},{key:"_charToGlyph",value:function(e){var t,r,a,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e;this.cMap&&this.cMap.contains(e)&&(o=this.cMap.lookup(e)),r=this.widths[o],r=(0,n.isNum)(r)?r:this.defaultWidth;var s=this.vmetrics&&this.vmetrics[o],c=this.toUnicode.get(e)||this.fallbackToUnicode.get(e)||e;"number"==typeof c&&(c=String.fromCharCode(c));var l=e in this.toFontChar;if(t=this.toFontChar[e]||e,this.missingFile){var f=this.differences[e]||this.defaultEncoding[e];".notdef"!==f&&""!==f||"Type1"!==this.type||(t=32),t=(0,u.mapSpecialUnicodeValues)(t)}this.isType3Font&&(a=t);var h=null;if(this.seacMap&&this.seacMap[e]){l=!0;var d=this.seacMap[e];t=d.baseFontCharCode,h={fontChar:String.fromCodePoint(d.accentFontCharCode),offset:d.accentOffset}}var p="";"number"==typeof t&&(t<=1114111?p=String.fromCodePoint(t):(0,n.warn)("charToGlyph - invalid fontCharCode: ".concat(t)));var g=this._glyphCache[e];return g&&g.matchesForCache(p,c,h,r,s,a,i,l)||(g=new _(p,c,h,r,s,a,i,l),this._glyphCache[e]=g),g}},{key:"charsToGlyphs",value:function(e){var t=this._charsCache[e];if(t)return t;if(t=[],this.cMap)for(var r=Object.create(null),n=e.length,a=0;a<n;){this.cMap.readCharCode(e,a,r);var i=r.charcode,o=r.length;a+=o;var s=this._charToGlyph(i,1===o&&32===e.charCodeAt(a-1));t.push(s)}else for(var c=0,u=e.length;c<u;++c){var l=e.charCodeAt(c),f=this._charToGlyph(l,32===l);t.push(f)}return this._charsCache[e]=t}},{key:"getCharPositions",value:function(e){var t=[];if(this.cMap)for(var r=Object.create(null),n=0;n<e.length;){this.cMap.readCharCode(e,n,r);var a=r.length;t.push([n,n+a]),n+=a}else for(var i=0,o=e.length;i<o;++i)t.push([i,i+1]);return t}},{key:"glyphCacheValues",get:function(){return Object.values(this._glyphCache)}},{key:"encodeString",value:function(e){for(var t=[],r=[],n=function(){return t.length%2==1},a=0,i=e.length;a<i;a++){var o=e.codePointAt(a);if(o>55295&&(o<57344||o>65533)&&a++,this.toUnicode){var s=String.fromCodePoint(o),c=this.toUnicode.charCodeOf(s);if(-1!==c){n()&&(t.push(r.join("")),r.length=0);for(var u=(this.cMap?this.cMap.getCharCodeLength(c):1)-1;u>=0;u--)r.push(String.fromCharCode(c>>8*u&255));continue}}n()||(t.push(r.join("")),r.length=0),r.push(String.fromCodePoint(o))}return t.push(r.join("")),t}}]),e}();t.Font=$;var z=function(){function e(t){S(this,e),this.error=t,this.loadedName="g_font_error",this.missingFile=!0}return A(e,[{key:"charsToGlyphs",value:function(){return[]}},{key:"encodeString",value:function(e){return[e]}},{key:"exportData",value:function(){return{error:this.error}}}]),e}();t.ErrorFont=z},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.CFFTopDict=t.CFFStrings=t.CFFStandardStrings=t.CFFPrivateDict=t.CFFParser=t.CFFIndex=t.CFFHeader=t.CFFFDSelect=t.CFFCompiler=t.CFFCharset=t.CFF=void 0;var a=r(4),i=r(144),o=r(145);function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function u(e){var t=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(e){return!1}}();return function(){var r,n=f(e);if(t){var a=f(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return l(this,r)}}function l(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}var g=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","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","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","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","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"];t.CFFStandardStrings=g;var m,v,y=391,b=(m=[null,{id:"hstem",min:2,stackClearing:!0,stem:!0},null,{id:"vstem",min:2,stackClearing:!0,stem:!0},{id:"vmoveto",min:1,stackClearing:!0},{id:"rlineto",min:2,resetStack:!0},{id:"hlineto",min:1,resetStack:!0},{id:"vlineto",min:1,resetStack:!0},{id:"rrcurveto",min:6,resetStack:!0},null,{id:"callsubr",min:1,undefStack:!0},{id:"return",min:0,undefStack:!0},null,null,{id:"endchar",min:0,stackClearing:!0},null,null,null,{id:"hstemhm",min:2,stackClearing:!0,stem:!0},{id:"hintmask",min:0,stackClearing:!0},{id:"cntrmask",min:0,stackClearing:!0},{id:"rmoveto",min:2,stackClearing:!0},{id:"hmoveto",min:1,stackClearing:!0},{id:"vstemhm",min:2,stackClearing:!0,stem:!0},{id:"rcurveline",min:8,resetStack:!0},{id:"rlinecurve",min:8,resetStack:!0},{id:"vvcurveto",min:4,resetStack:!0},{id:"hhcurveto",min:4,resetStack:!0},null,{id:"callgsubr",min:1,undefStack:!0},{id:"vhcurveto",min:4,resetStack:!0},{id:"hvcurveto",min:4,resetStack:!0}],v=[null,null,null,{id:"and",min:2,stackDelta:-1},{id:"or",min:2,stackDelta:-1},{id:"not",min:1,stackDelta:0},null,null,null,{id:"abs",min:1,stackDelta:0},{id:"add",min:2,stackDelta:-1,stackFn:function(e,t){e[t-2]=e[t-2]+e[t-1]}},{id:"sub",min:2,stackDelta:-1,stackFn:function(e,t){e[t-2]=e[t-2]-e[t-1]}},{id:"div",min:2,stackDelta:-1,stackFn:function(e,t){e[t-2]=e[t-2]/e[t-1]}},null,{id:"neg",min:1,stackDelta:0,stackFn:function(e,t){e[t-1]=-e[t-1]}},{id:"eq",min:2,stackDelta:-1},null,null,{id:"drop",min:1,stackDelta:-1},null,{id:"put",min:2,stackDelta:-2},{id:"get",min:1,stackDelta:0},{id:"ifelse",min:4,stackDelta:-3},{id:"random",min:0,stackDelta:1},{id:"mul",min:2,stackDelta:-1,stackFn:function(e,t){e[t-2]=e[t-2]*e[t-1]}},null,{id:"sqrt",min:1,stackDelta:0},{id:"dup",min:1,stackDelta:1},{id:"exch",min:2,stackDelta:0},{id:"index",min:2,stackDelta:0},{id:"roll",min:3,stackDelta:-2},null,null,null,{id:"hflex",min:7,resetStack:!0},{id:"flex",min:13,resetStack:!0},{id:"hflex1",min:9,resetStack:!0},{id:"flex1",min:11,resetStack:!0}],function(){function e(t,r,n){h(this,e),this.bytes=t.getBytes(),this.properties=r,this.seacAnalysisEnabled=!!n}return p(e,[{key:"parse",value:function(){var e=this.properties,t=new w;this.cff=t;var r=this.parseHeader(),n=this.parseIndex(r.endPos),a=this.parseIndex(n.endPos),i=this.parseIndex(a.endPos),o=this.parseIndex(i.endPos),s=this.parseDict(a.obj.get(0)),c=this.createDict(T,s,t.strings);t.header=r.obj,t.names=this.parseNameIndex(n.obj),t.strings=this.parseStringIndex(i.obj),t.topDict=c,t.globalSubrIndex=o.obj,this.parsePrivateDict(t.topDict),t.isCIDFont=c.hasName("ROS");var u=c.getByName("CharStrings"),l=this.parseIndex(u).obj,f=c.getByName("FontMatrix");f&&(e.fontMatrix=f);var h,d,p=c.getByName("FontBBox");if(p&&(e.ascent=Math.max(p[3],p[1]),e.descent=Math.min(p[1],p[3]),e.ascentScaled=!0),t.isCIDFont){for(var g=this.parseIndex(c.getByName("FDArray")).obj,m=0,v=g.count;m<v;++m){var y=g.get(m),b=this.createDict(T,this.parseDict(y),t.strings);this.parsePrivateDict(b),t.fdArray.push(b)}d=null,h=this.parseCharsets(c.getByName("charset"),l.count,t.strings,!0),t.fdSelect=this.parseFDSelect(c.getByName("FDSelect"),l.count)}else h=this.parseCharsets(c.getByName("charset"),l.count,t.strings,!1),d=this.parseEncoding(c.getByName("Encoding"),e,t.strings,h.charset);t.charset=h,t.encoding=d;var k=this.parseCharStrings({charStrings:l,localSubrIndex:c.privateDict.subrsIndex,globalSubrIndex:o.obj,fdSelect:t.fdSelect,fdArray:t.fdArray,privateDict:c.privateDict});return t.charStrings=k.charStrings,t.seacs=k.seacs,t.widths=k.widths,t}},{key:"parseHeader",value:function(){for(var e=this.bytes,t=e.length,r=0;r<t&&1!==e[r];)++r;if(r>=t)throw new a.FormatError("Invalid CFF header");0!==r&&((0,a.info)("cff data is shifted"),e=e.subarray(r),this.bytes=e);var n=e[0],i=e[1],o=e[2],s=e[3];return{obj:new k(n,i,o,s),endPos:o}}},{key:"parseDict",value:function(e){var t=0;function r(){var r=e[t++];return 30===r?function(){for(var r="",n=15,a=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],i=e.length;t<i;){var o=e[t++],s=o>>4,c=15&o;if(s===n)break;if(r+=a[s],c===n)break;r+=a[c]}return parseFloat(r)}():28===r?r=((r=e[t++])<<24|e[t++]<<16)>>16:29===r?r=(r=(r=(r=e[t++])<<8|e[t++])<<8|e[t++])<<8|e[t++]:r>=32&&r<=246?r-139:r>=247&&r<=250?256*(r-247)+e[t++]+108:r>=251&&r<=254?-256*(r-251)-e[t++]-108:((0,a.warn)(\'CFFParser_parseDict: "\'+r+\'" is a reserved command.\'),NaN)}var n=[],i=[];t=0;for(var o=e.length;t<o;){var s=e[t];s<=21?(12===s&&(s=s<<8|e[++t]),i.push([s,n]),n=[],++t):n.push(r())}return i}},{key:"parseIndex",value:function(e){var t,r,n=new x,a=this.bytes,i=a[e++]<<8|a[e++],o=[],s=e;if(0!==i){var c=a[e++],u=e+(i+1)*c-1;for(t=0,r=i+1;t<r;++t){for(var l=0,f=0;f<c;++f)l<<=8,l+=a[e++];o.push(u+l)}s=o[i]}for(t=0,r=o.length-1;t<r;++t){var h=o[t],d=o[t+1];n.add(a.subarray(h,d))}return{obj:n,endPos:s}}},{key:"parseNameIndex",value:function(e){for(var t=[],r=0,n=e.count;r<n;++r){var i=e.get(r);t.push((0,a.bytesToString)(i))}return t}},{key:"parseStringIndex",value:function(e){for(var t=new S,r=0,n=e.count;r<n;++r){var i=e.get(r);t.add((0,a.bytesToString)(i))}return t}},{key:"createDict",value:function(e,t,r){for(var n=new e(r),a=0,i=t.length;a<i;++a){var o=t[a],s=o[0],c=o[1];n.setByKey(s,c)}return n}},{key:"parseCharString",value:function(e,t,r,n){if(!t||e.callDepth>10)return!1;for(var i=e.stackSize,o=e.stack,s=t.length,c=0;c<s;){var u=t[c++],l=null;if(12===u){var f=t[c++];0===f?(t[c-2]=139,t[c-1]=22,i=0):l=v[f]}else if(28===u)o[i]=(t[c]<<24|t[c+1]<<16)>>16,c+=2,i++;else if(14===u){if(i>=4&&(i-=4,this.seacAnalysisEnabled))return e.seac=o.slice(i,i+4),!1;l=m[u]}else if(u>=32&&u<=246)o[i]=u-139,i++;else if(u>=247&&u<=254)o[i]=u<251?(u-247<<8)+t[c]+108:-(u-251<<8)-t[c]-108,c++,i++;else if(255===u)o[i]=(t[c]<<24|t[c+1]<<16|t[c+2]<<8|t[c+3])/65536,c+=4,i++;else if(19===u||20===u)e.hints+=i>>1,c+=e.hints+7>>3,i%=2,l=m[u];else{if(10===u||29===u){var h=void 0;if(!(h=10===u?r:n))return l=m[u],(0,a.warn)("Missing subrsIndex for "+l.id),!1;var d=32768;h.count<1240?d=107:h.count<33900&&(d=1131);var p=o[--i]+d;if(p<0||p>=h.count||isNaN(p))return l=m[u],(0,a.warn)("Out of bounds subrIndex for "+l.id),!1;if(e.stackSize=i,e.callDepth++,!this.parseCharString(e,h.get(p),r,n))return!1;e.callDepth--,i=e.stackSize;continue}if(11===u)return e.stackSize=i,!0;l=m[u]}if(l){if(l.stem&&(e.hints+=i>>1,3===u||23===u?e.hasVStems=!0:!e.hasVStems||1!==u&&18!==u||((0,a.warn)("CFF stem hints are in wrong order"),t[c-1]=1===u?3:23)),"min"in l&&!e.undefStack&&i<l.min)return(0,a.warn)("Not enough parameters for "+l.id+"; actual: "+i+", expected: "+l.min),!1;e.firstStackClearing&&l.stackClearing&&(e.firstStackClearing=!1,(i-=l.min)>=2&&l.stem?i%=2:i>1&&(0,a.warn)("Found too many parameters for stack-clearing command"),i>0&&(e.width=o[i-1])),"stackDelta"in l?("stackFn"in l&&l.stackFn(o,i),i+=l.stackDelta):l.stackClearing?i=0:l.resetStack?(i=0,e.undefStack=!1):l.undefStack&&(i=0,e.undefStack=!0,e.firstStackClearing=!1)}}return e.stackSize=i,!0}},{key:"parseCharStrings",value:function(e){for(var t=e.charStrings,r=e.localSubrIndex,n=e.globalSubrIndex,i=e.fdSelect,o=e.fdArray,s=e.privateDict,c=[],u=[],l=t.count,f=0;f<l;f++){var h=t.get(f),d={callDepth:0,stackSize:0,stack:[],undefStack:!0,hints:0,firstStackClearing:!0,seac:null,width:null,hasVStems:!1},p=!0,g=null,m=s;if(i&&o.length){var v=i.getFDIndex(f);-1===v&&((0,a.warn)("Glyph index is not in fd select."),p=!1),v>=o.length&&((0,a.warn)("Invalid fd index for glyph index."),p=!1),p&&(g=(m=o[v].privateDict).subrsIndex)}else r&&(g=r);if(p&&(p=this.parseCharString(d,h,g,n)),null!==d.width){var y=m.getByName("nominalWidthX");u[f]=y+d.width}else{var b=m.getByName("defaultWidthX");u[f]=b}null!==d.seac&&(c[f]=d.seac),p||t.set(f,new Uint8Array([14]))}return{charStrings:t,seacs:c,widths:u}}},{key:"emptyPrivateDictionary",value:function(e){var t=this.createDict(F,[],e.strings);e.setByKey(18,[0,0]),e.privateDict=t}},{key:"parsePrivateDict",value:function(e){if(e.hasName("Private")){var t=e.getByName("Private");if(Array.isArray(t)&&2===t.length){var r=t[0],n=t[1];if(0===r||n>=this.bytes.length)this.emptyPrivateDictionary(e);else{var a=n+r,i=this.bytes.subarray(n,a),o=this.parseDict(i),s=this.createDict(F,o,e.strings);if(e.privateDict=s,s.getByName("Subrs")){var c=s.getByName("Subrs"),u=n+c;if(0===c||u>=this.bytes.length)this.emptyPrivateDictionary(e);else{var l=this.parseIndex(u);s.subrsIndex=l.obj}}}}else e.removeByName("Private")}else this.emptyPrivateDictionary(e)}},{key:"parseCharsets",value:function(e,t,r,n){if(0===e)return new _(!0,P.ISO_ADOBE,i.ISOAdobeCharset);if(1===e)return new _(!0,P.EXPERT,i.ExpertCharset);if(2===e)return new _(!0,P.EXPERT_SUBSET,i.ExpertSubsetCharset);var o,s,c,u=this.bytes,l=e,f=u[e++],h=[n?0:".notdef"];switch(t-=1,f){case 0:for(c=0;c<t;c++)o=u[e++]<<8|u[e++],h.push(n?o:r.get(o));break;case 1:for(;h.length<=t;)for(o=u[e++]<<8|u[e++],s=u[e++],c=0;c<=s;c++)h.push(n?o++:r.get(o++));break;case 2:for(;h.length<=t;)for(o=u[e++]<<8|u[e++],s=u[e++]<<8|u[e++],c=0;c<=s;c++)h.push(n?o++:r.get(o++));break;default:throw new a.FormatError("Unknown charset format")}var d=e,p=u.subarray(l,d);return new _(!1,f,h,p)}},{key:"parseEncoding",value:function(e,t,r,n){var i,s,c,u=Object.create(null),l=this.bytes,f=!1,h=null;if(0===e||1===e){f=!0,i=e;var d=e?o.ExpertEncoding:o.StandardEncoding;for(s=0,c=n.length;s<c;s++){var p=d.indexOf(n[s]);-1!==p&&(u[p]=s)}}else{var g=e;switch(127&(i=l[e++])){case 0:var m=l[e++];for(s=1;s<=m;s++)u[l[e++]]=s;break;case 1:var v=l[e++],y=1;for(s=0;s<v;s++)for(var b=l[e++],w=l[e++],k=b;k<=b+w;k++)u[k]=y++;break;default:throw new a.FormatError("Unknown encoding format: ".concat(i," in CFF"))}var S=e;128&i&&(l[g]&=127,function(){var t=l[e++];for(s=0;s<t;s++){var a=l[e++],i=(l[e++]<<8)+(255&l[e++]);u[a]=n.indexOf(r.get(i))}}()),h=l.subarray(g,S)}return new I(f,i&=127,u,h)}},{key:"parseFDSelect",value:function(e,t){var r,n=this.bytes,i=n[e++],o=[];switch(i){case 0:for(r=0;r<t;++r){var s=n[e++];o.push(s)}break;case 3:var c=n[e++]<<8|n[e++];for(r=0;r<c;++r){var u=n[e++]<<8|n[e++];0===r&&0!==u&&((0,a.warn)("parseFDSelect: The first range must have a first GID of 0 -- trying to recover."),u=0);for(var l=n[e++],f=n[e]<<8|n[e+1],h=u;h<f;++h)o.push(l)}e+=2;break;default:throw new a.FormatError(\'parseFDSelect: Unknown format "\'.concat(i,\'".\'))}if(o.length!==t)throw new a.FormatError("parseFDSelect: Invalid font data.");return new E(i,o)}}]),e}());t.CFFParser=b;var w=function(){function e(){h(this,e),this.header=null,this.names=[],this.topDict=null,this.strings=new S,this.globalSubrIndex=null,this.encoding=null,this.charset=null,this.charStrings=null,this.fdArray=[],this.fdSelect=null,this.isCIDFont=!1}return p(e,[{key:"duplicateFirstGlyph",value:function(){if(this.charStrings.count>=65535)(0,a.warn)("Not enough space in charstrings to duplicate first glyph.");else{var e=this.charStrings.get(0);this.charStrings.add(e),this.isCIDFont&&this.fdSelect.fdSelect.push(this.fdSelect.fdSelect[0])}}},{key:"hasGlyphId",value:function(e){return!(e<0||e>=this.charStrings.count)&&this.charStrings.get(e).length>0}}]),e}();t.CFF=w;var k=function e(t,r,n,a){h(this,e),this.major=t,this.minor=r,this.hdrSize=n,this.offSize=a};t.CFFHeader=k;var S=function(){function e(){h(this,e),this.strings=[]}return p(e,[{key:"get",value:function(e){return e>=0&&e<=390?g[e]:e-y<=this.strings.length?this.strings[e-y]:g[0]}},{key:"getSID",value:function(e){var t=g.indexOf(e);return-1!==t?t:-1!==(t=this.strings.indexOf(e))?t+y:-1}},{key:"add",value:function(e){this.strings.push(e)}},{key:"count",get:function(){return this.strings.length}}]),e}();t.CFFStrings=S;var x=function(){function e(){h(this,e),this.objects=[],this.length=0}return p(e,[{key:"add",value:function(e){this.length+=e.length,this.objects.push(e)}},{key:"set",value:function(e,t){this.length+=t.length-this.objects[e].length,this.objects[e]=t}},{key:"get",value:function(e){return this.objects[e]}},{key:"count",get:function(){return this.objects.length}}]),e}();t.CFFIndex=x;var A,O,C=function(){function e(t,r){h(this,e),this.keyToNameMap=t.keyToNameMap,this.nameToKeyMap=t.nameToKeyMap,this.defaults=t.defaults,this.types=t.types,this.opcodes=t.opcodes,this.order=t.order,this.strings=r,this.values=Object.create(null)}return p(e,[{key:"setByKey",value:function(e,t){if(!(e in this.keyToNameMap))return!1;var r=t.length;if(0===r)return!0;for(var n=0;n<r;n++)if(isNaN(t[n]))return(0,a.warn)(\'Invalid CFFDict value: "\'+t+\'" for key "\'+e+\'".\'),!0;var i=this.types[e];return"num"!==i&&"sid"!==i&&"offset"!==i||(t=t[0]),this.values[e]=t,!0}},{key:"setByName",value:function(e,t){if(!(e in this.nameToKeyMap))throw new a.FormatError(\'Invalid dictionary name "\'.concat(e,\'"\'));this.values[this.nameToKeyMap[e]]=t}},{key:"hasName",value:function(e){return this.nameToKeyMap[e]in this.values}},{key:"getByName",value:function(e){if(!(e in this.nameToKeyMap))throw new a.FormatError("Invalid dictionary name ".concat(e,\'"\'));var t=this.nameToKeyMap[e];return t in this.values?this.values[t]:this.defaults[t]}},{key:"removeByName",value:function(e){delete this.values[this.nameToKeyMap[e]]}}],[{key:"createTables",value:function(e){for(var t={keyToNameMap:{},nameToKeyMap:{},defaults:{},types:{},opcodes:{},order:[]},r=0,n=e.length;r<n;++r){var a=e[r],i=Array.isArray(a[0])?(a[0][0]<<8)+a[0][1]:a[0];t.keyToNameMap[i]=a[1],t.nameToKeyMap[a[1]]=i,t.types[i]=a[2],t.defaults[i]=a[3],t.opcodes[i]=Array.isArray(a[0])?a[0]:[a[0]],t.order.push(i)}return t}}]),e}(),T=(A=[[[12,30],"ROS",["sid","sid","num"],null],[[12,20],"SyntheticBase","num",null],[0,"version","sid",null],[1,"Notice","sid",null],[[12,0],"Copyright","sid",null],[2,"FullName","sid",null],[3,"FamilyName","sid",null],[4,"Weight","sid",null],[[12,1],"isFixedPitch","num",0],[[12,2],"ItalicAngle","num",0],[[12,3],"UnderlinePosition","num",-100],[[12,4],"UnderlineThickness","num",50],[[12,5],"PaintType","num",0],[[12,6],"CharstringType","num",2],[[12,7],"FontMatrix",["num","num","num","num","num","num"],[.001,0,0,.001,0,0]],[13,"UniqueID","num",null],[5,"FontBBox",["num","num","num","num"],[0,0,0,0]],[[12,8],"StrokeWidth","num",0],[14,"XUID","array",null],[15,"charset","offset",0],[16,"Encoding","offset",0],[17,"CharStrings","offset",0],[18,"Private",["offset","offset"],null],[[12,21],"PostScript","sid",null],[[12,22],"BaseFontName","sid",null],[[12,23],"BaseFontBlend","delta",null],[[12,31],"CIDFontVersion","num",0],[[12,32],"CIDFontRevision","num",0],[[12,33],"CIDFontType","num",0],[[12,34],"CIDCount","num",8720],[[12,35],"UIDBase","num",null],[[12,37],"FDSelect","offset",null],[[12,36],"FDArray","offset",null],[[12,38],"FontName","sid",null]],O=null,function(e){s(r,e);var t=u(r);function r(e){var n;return h(this,r),null===O&&(O=C.createTables(A)),(n=t.call(this,O,e)).privateDict=null,n}return r}(C));t.CFFTopDict=T;var F=function(){var e=[[6,"BlueValues","delta",null],[7,"OtherBlues","delta",null],[8,"FamilyBlues","delta",null],[9,"FamilyOtherBlues","delta",null],[[12,9],"BlueScale","num",.039625],[[12,10],"BlueShift","num",7],[[12,11],"BlueFuzz","num",1],[10,"StdHW","num",null],[11,"StdVW","num",null],[[12,12],"StemSnapH","delta",null],[[12,13],"StemSnapV","delta",null],[[12,14],"ForceBold","num",0],[[12,17],"LanguageGroup","num",0],[[12,18],"ExpansionFactor","num",.06],[[12,19],"initialRandomSeed","num",0],[20,"defaultWidthX","num",0],[21,"nominalWidthX","num",0],[19,"Subrs","offset",null]],t=null;return function(r){s(a,r);var n=u(a);function a(r){var i;return h(this,a),null===t&&(t=C.createTables(e)),(i=n.call(this,t,r)).subrsIndex=null,i}return a}(C)}();t.CFFPrivateDict=F;var P={ISO_ADOBE:0,EXPERT:1,EXPERT_SUBSET:2},_=function e(t,r,n,a){h(this,e),this.predefined=t,this.format=r,this.charset=n,this.raw=a};t.CFFCharset=_;var I=function e(t,r,n,a){h(this,e),this.predefined=t,this.format=r,this.encoding=n,this.raw=a},E=function(){function e(t,r){h(this,e),this.format=t,this.fdSelect=r}return p(e,[{key:"getFDIndex",value:function(e){return e<0||e>=this.fdSelect.length?-1:this.fdSelect[e]}}]),e}();t.CFFFDSelect=E;var j=function(){function e(){h(this,e),this.offsets=Object.create(null)}return p(e,[{key:"isTracking",value:function(e){return e in this.offsets}},{key:"track",value:function(e,t){if(e in this.offsets)throw new a.FormatError("Already tracking location of ".concat(e));this.offsets[e]=t}},{key:"offset",value:function(e){for(var t in this.offsets)this.offsets[t]+=e}},{key:"setEntryLocation",value:function(e,t,r){if(!(e in this.offsets))throw new a.FormatError("Not tracking location of ".concat(e));for(var n=r.data,i=this.offsets[e],o=0,s=t.length;o<s;++o){var c=5*o+i,u=c+1,l=c+2,f=c+3,h=c+4;if(29!==n[c]||0!==n[u]||0!==n[l]||0!==n[f]||0!==n[h])throw new a.FormatError("writing to an offset that is not empty");var d=t[o];n[c]=29,n[u]=d>>24&255,n[l]=d>>16&255,n[f]=d>>8&255,n[h]=255&d}}}]),e}(),R=function(){function e(t){h(this,e),this.cff=t}return p(e,[{key:"compile",value:function(){var e=this.cff,t={data:[],length:0,add:function(e){this.data=this.data.concat(e),this.length=this.data.length}},r=this.compileHeader(e.header);t.add(r);var n=this.compileNameIndex(e.names);if(t.add(n),e.isCIDFont&&e.topDict.hasName("FontMatrix")){var i=e.topDict.getByName("FontMatrix");e.topDict.removeByName("FontMatrix");for(var o=0,s=e.fdArray.length;o<s;o++){var c=e.fdArray[o],u=i.slice(0);c.hasName("FontMatrix")&&(u=a.Util.transform(u,c.getByName("FontMatrix"))),c.setByName("FontMatrix",u)}}var l=e.topDict.getByName("XUID");l&&l.length>16&&e.topDict.removeByName("XUID"),e.topDict.setByName("charset",0);var f=this.compileTopDicts([e.topDict],t.length,e.isCIDFont);t.add(f.output);var h=f.trackers[0],d=this.compileStringIndex(e.strings.strings);t.add(d);var p=this.compileIndex(e.globalSubrIndex);if(t.add(p),e.encoding&&e.topDict.hasName("Encoding"))if(e.encoding.predefined)h.setEntryLocation("Encoding",[e.encoding.format],t);else{var g=this.compileEncoding(e.encoding);h.setEntryLocation("Encoding",[t.length],t),t.add(g)}var m=this.compileCharset(e.charset,e.charStrings.count,e.strings,e.isCIDFont);h.setEntryLocation("charset",[t.length],t),t.add(m);var v=this.compileCharStrings(e.charStrings);if(h.setEntryLocation("CharStrings",[t.length],t),t.add(v),e.isCIDFont){h.setEntryLocation("FDSelect",[t.length],t);var y=this.compileFDSelect(e.fdSelect);t.add(y),f=this.compileTopDicts(e.fdArray,t.length,!0),h.setEntryLocation("FDArray",[t.length],t),t.add(f.output);var b=f.trackers;this.compilePrivateDicts(e.fdArray,b,t)}return this.compilePrivateDicts([e.topDict],[h],t),t.add([0]),t.data}},{key:"encodeNumber",value:function(e){return Number.isInteger(e)?this.encodeInteger(e):this.encodeFloat(e)}},{key:"encodeFloat",value:function(t){var r=t.toString(),n=e.EncodeFloatRegExp.exec(r);if(n){var a=parseFloat("1e"+((n[2]?+n[2]:0)+n[1].length));r=(Math.round(t*a)/a).toString()}var i,o,s="";for(i=0,o=r.length;i<o;++i){var c=r[i];s+="e"===c?"-"===r[++i]?"c":"b":"."===c?"a":"-"===c?"e":c}var u=[30];for(i=0,o=(s+=1&s.length?"f":"ff").length;i<o;i+=2)u.push(parseInt(s.substring(i,i+2),16));return u}},{key:"encodeInteger",value:function(e){return e>=-107&&e<=107?[e+139]:e>=108&&e<=1131?[247+((e-=108)>>8),255&e]:e>=-1131&&e<=-108?[251+((e=-e-108)>>8),255&e]:e>=-32768&&e<=32767?[28,e>>8&255,255&e]:[29,e>>24&255,e>>16&255,e>>8&255,255&e]}},{key:"compileHeader",value:function(e){return[e.major,e.minor,4,e.offSize]}},{key:"compileNameIndex",value:function(e){for(var t=new x,r=0,n=e.length;r<n;++r){for(var i=e[r],o=Math.min(i.length,127),s=new Array(o),c=0;c<o;c++){var u=i[c];(u<"!"||u>"~"||"["===u||"]"===u||"("===u||")"===u||"{"===u||"}"===u||"<"===u||">"===u||"/"===u||"%"===u)&&(u="_"),s[c]=u}""===(s=s.join(""))&&(s="Bad_Font_Name"),t.add((0,a.stringToBytes)(s))}return this.compileIndex(t)}},{key:"compileTopDicts",value:function(e,t,r){for(var n=[],a=new x,i=0,o=e.length;i<o;++i){var s=e[i];r&&(s.removeByName("CIDFontVersion"),s.removeByName("CIDFontRevision"),s.removeByName("CIDFontType"),s.removeByName("CIDCount"),s.removeByName("UIDBase"));var c=new j,u=this.compileDict(s,c);n.push(c),a.add(u),c.offset(t)}return{trackers:n,output:a=this.compileIndex(a,n)}}},{key:"compilePrivateDicts",value:function(e,t,r){for(var n=0,i=e.length;n<i;++n){var o=e[n],s=o.privateDict;if(!s||!o.hasName("Private"))throw new a.FormatError("There must be a private dictionary.");var c=new j,u=this.compileDict(s,c),l=r.length;if(c.offset(l),u.length||(l=0),t[n].setEntryLocation("Private",[u.length,l],r),r.add(u),s.subrsIndex&&s.hasName("Subrs")){var f=this.compileIndex(s.subrsIndex);c.setEntryLocation("Subrs",[u.length],r),r.add(f)}}}},{key:"compileDict",value:function(e,t){for(var r=[],n=e.order,i=0;i<n.length;++i){var o=n[i];if(o in e.values){var s=e.values[o],c=e.types[o];if(Array.isArray(c)||(c=[c]),Array.isArray(s)||(s=[s]),0!==s.length){for(var u=0,l=c.length;u<l;++u){var f=c[u],h=s[u];switch(f){case"num":case"sid":r=r.concat(this.encodeNumber(h));break;case"offset":var d=e.keyToNameMap[o];t.isTracking(d)||t.track(d,r.length),r=r.concat([29,0,0,0,0]);break;case"array":case"delta":r=r.concat(this.encodeNumber(h));for(var p=1,g=s.length;p<g;++p)r=r.concat(this.encodeNumber(s[p]));break;default:throw new a.FormatError("Unknown data type of ".concat(f))}}r=r.concat(e.opcodes[o])}}}return r}},{key:"compileStringIndex",value:function(e){for(var t=new x,r=0,n=e.length;r<n;++r)t.add((0,a.stringToBytes)(e[r]));return this.compileIndex(t)}},{key:"compileGlobalSubrIndex",value:function(){var e=this.cff.globalSubrIndex;this.out.writeByteArray(this.compileIndex(e))}},{key:"compileCharStrings",value:function(e){for(var t=new x,r=0;r<e.count;r++){var n=e.get(r);0!==n.length?t.add(n):t.add(new Uint8Array([139,14]))}return this.compileIndex(t)}},{key:"compileCharset",value:function(e,t,r,n){var i,o=t-1;if(n)i=new Uint8Array([2,0,0,o>>8&255,255&o]);else{(i=new Uint8Array(1+2*o))[0]=0;for(var s=0,c=e.charset.length,u=!1,l=1;l<i.length;l+=2){var f=0;if(s<c){var h=e.charset[s++];-1===(f=r.getSID(h))&&(f=0,u||(u=!0,(0,a.warn)("Couldn\'t find ".concat(h," in CFF strings"))))}i[l]=f>>8&255,i[l+1]=255&f}}return this.compileTypedArray(i)}},{key:"compileEncoding",value:function(e){return this.compileTypedArray(e.raw)}},{key:"compileFDSelect",value:function(e){var t,r,n=e.format;switch(n){case 0:for((t=new Uint8Array(1+e.fdSelect.length))[0]=n,r=0;r<e.fdSelect.length;r++)t[r+1]=e.fdSelect[r];break;case 3:var a=e.fdSelect[0],i=[n,0,0,0,0,a];for(r=1;r<e.fdSelect.length;r++){var o=e.fdSelect[r];o!==a&&(i.push(r>>8&255,255&r,o),a=o)}var s=(i.length-3)/3;i[1]=s>>8&255,i[2]=255&s,i.push(r>>8&255,255&r),t=new Uint8Array(i)}return this.compileTypedArray(t)}},{key:"compileTypedArray",value:function(e){for(var t=[],r=0,n=e.length;r<n;++r)t[r]=e[r];return t}},{key:"compileIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=e.objects,n=r.length;if(0===n)return[0,0,0];var a,i,o=[n>>8&255,255&n],s=1;for(a=0;a<n;++a)s+=r[a].length;i=s<256?1:s<65536?2:s<16777216?3:4,o.push(i);var c=1;for(a=0;a<n+1;a++)1===i?o.push(255&c):2===i?o.push(c>>8&255,255&c):3===i?o.push(c>>16&255,c>>8&255,255&c):o.push(c>>>24&255,c>>16&255,c>>8&255,255&c),r[a]&&(c+=r[a].length);for(a=0;a<n;a++){t[a]&&t[a].offset(o.length);for(var u=0,l=r[a].length;u<l;u++)o.push(r[a][u])}return o}}],[{key:"EncodeFloatRegExp",get:function(){return(0,a.shadow)(this,"EncodeFloatRegExp",/\\.(\\d*?)(?:9{5,20}|0{5,20})\\d{0,2}(?:e(.+)|$)/)}}]),e}();t.CFFCompiler=R},(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ISOAdobeCharset=t.ExpertSubsetCharset=t.ExpertCharset=void 0,t.ISOAdobeCharset=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","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","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","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","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron"],t.ExpertCharset=[".notdef","space","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],t.ExpertSubsetCharset=[".notdef","space","dollaroldstyle","dollarsuperior","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","hyphensuperior","colonmonetary","onefitted","rupiah","centoldstyle","figuredash","hypheninferior","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior"]},(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEncoding=function(e){switch(e){case"WinAnsiEncoding":return o;case"StandardEncoding":return i;case"MacRomanEncoding":return a;case"SymbolSetEncoding":return s;case"ZapfDingbatsEncoding":return c;case"ExpertEncoding":return r;case"MacExpertEncoding":return n;default:return null}},t.ZapfDingbatsEncoding=t.WinAnsiEncoding=t.SymbolSetEncoding=t.StandardEncoding=t.MacRomanEncoding=t.ExpertEncoding=void 0;var r=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"];t.ExpertEncoding=r;var n=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","centoldstyle","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","","threequartersemdash","","questionsmall","","","","","Ethsmall","","","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","","","","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hypheninferior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","asuperior","centsuperior","","","","","Aacutesmall","Agravesmall","Acircumflexsmall","Adieresissmall","Atildesmall","Aringsmall","Ccedillasmall","Eacutesmall","Egravesmall","Ecircumflexsmall","Edieresissmall","Iacutesmall","Igravesmall","Icircumflexsmall","Idieresissmall","Ntildesmall","Oacutesmall","Ogravesmall","Ocircumflexsmall","Odieresissmall","Otildesmall","Uacutesmall","Ugravesmall","Ucircumflexsmall","Udieresissmall","","eightsuperior","fourinferior","threeinferior","sixinferior","eightinferior","seveninferior","Scaronsmall","","centinferior","twoinferior","","Dieresissmall","","Caronsmall","osuperior","fiveinferior","","commainferior","periodinferior","Yacutesmall","","dollarinferior","","","Thornsmall","","nineinferior","zeroinferior","Zcaronsmall","AEsmall","Oslashsmall","questiondownsmall","oneinferior","Lslashsmall","","","","","","","Cedillasmall","","","","","","OEsmall","figuredash","hyphensuperior","","","","","exclamdownsmall","","Ydieresissmall","","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","ninesuperior","zerosuperior","","esuperior","rsuperior","tsuperior","","","isuperior","ssuperior","dsuperior","","","","","","lsuperior","Ogoneksmall","Brevesmall","Macronsmall","bsuperior","nsuperior","msuperior","commasuperior","periodsuperior","Dotaccentsmall","Ringsmall","","","",""],a=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","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","bracketleft","backslash","bracketright","asciicircum","underscore","grave","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","braceleft","bar","braceright","asciitilde","","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","space","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron"];t.MacRomanEncoding=a;var i=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","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","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","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","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls","","","",""];t.StandardEncoding=i;var o=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","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","bracketleft","backslash","bracketright","asciicircum","underscore","grave","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","braceleft","bar","braceright","asciitilde","bullet","Euro","bullet","quotesinglbase","florin","quotedblbase","ellipsis","dagger","daggerdbl","circumflex","perthousand","Scaron","guilsinglleft","OE","bullet","Zcaron","bullet","bullet","quoteleft","quoteright","quotedblleft","quotedblright","bullet","endash","emdash","tilde","trademark","scaron","guilsinglright","oe","bullet","zcaron","Ydieresis","space","exclamdown","cent","sterling","currency","yen","brokenbar","section","dieresis","copyright","ordfeminine","guillemotleft","logicalnot","hyphen","registered","macron","degree","plusminus","twosuperior","threesuperior","acute","mu","paragraph","periodcentered","cedilla","onesuperior","ordmasculine","guillemotright","onequarter","onehalf","threequarters","questiondown","Agrave","Aacute","Acircumflex","Atilde","Adieresis","Aring","AE","Ccedilla","Egrave","Eacute","Ecircumflex","Edieresis","Igrave","Iacute","Icircumflex","Idieresis","Eth","Ntilde","Ograve","Oacute","Ocircumflex","Otilde","Odieresis","multiply","Oslash","Ugrave","Uacute","Ucircumflex","Udieresis","Yacute","Thorn","germandbls","agrave","aacute","acircumflex","atilde","adieresis","aring","ae","ccedilla","egrave","eacute","ecircumflex","edieresis","igrave","iacute","icircumflex","idieresis","eth","ntilde","ograve","oacute","ocircumflex","otilde","odieresis","divide","oslash","ugrave","uacute","ucircumflex","udieresis","yacute","thorn","ydieresis"];t.WinAnsiEncoding=o;var s=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","universal","numbersign","existential","percent","ampersand","suchthat","parenleft","parenright","asteriskmath","plus","comma","minus","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","congruent","Alpha","Beta","Chi","Delta","Epsilon","Phi","Gamma","Eta","Iota","theta1","Kappa","Lambda","Mu","Nu","Omicron","Pi","Theta","Rho","Sigma","Tau","Upsilon","sigma1","Omega","Xi","Psi","Zeta","bracketleft","therefore","bracketright","perpendicular","underscore","radicalex","alpha","beta","chi","delta","epsilon","phi","gamma","eta","iota","phi1","kappa","lambda","mu","nu","omicron","pi","theta","rho","sigma","tau","upsilon","omega1","omega","xi","psi","zeta","braceleft","bar","braceright","similar","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Euro","Upsilon1","minute","lessequal","fraction","infinity","florin","club","diamond","heart","spade","arrowboth","arrowleft","arrowup","arrowright","arrowdown","degree","plusminus","second","greaterequal","multiply","proportional","partialdiff","bullet","divide","notequal","equivalence","approxequal","ellipsis","arrowvertex","arrowhorizex","carriagereturn","aleph","Ifraktur","Rfraktur","weierstrass","circlemultiply","circleplus","emptyset","intersection","union","propersuperset","reflexsuperset","notsubset","propersubset","reflexsubset","element","notelement","angle","gradient","registerserif","copyrightserif","trademarkserif","product","radical","dotmath","logicalnot","logicaland","logicalor","arrowdblboth","arrowdblleft","arrowdblup","arrowdblright","arrowdbldown","lozenge","angleleft","registersans","copyrightsans","trademarksans","summation","parenlefttp","parenleftex","parenleftbt","bracketlefttp","bracketleftex","bracketleftbt","bracelefttp","braceleftmid","braceleftbt","braceex","","angleright","integral","integraltp","integralex","integralbt","parenrighttp","parenrightex","parenrightbt","bracketrighttp","bracketrightex","bracketrightbt","bracerighttp","bracerightmid","bracerightbt",""];t.SymbolSetEncoding=s;var c=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","a1","a2","a202","a3","a4","a5","a119","a118","a117","a11","a12","a13","a14","a15","a16","a105","a17","a18","a19","a20","a21","a22","a23","a24","a25","a26","a27","a28","a6","a7","a8","a9","a10","a29","a30","a31","a32","a33","a34","a35","a36","a37","a38","a39","a40","a41","a42","a43","a44","a45","a46","a47","a48","a49","a50","a51","a52","a53","a54","a55","a56","a57","a58","a59","a60","a61","a62","a63","a64","a65","a66","a67","a68","a69","a70","a71","a72","a73","a74","a203","a75","a204","a76","a77","a78","a79","a81","a82","a83","a84","a97","a98","a99","a100","","a89","a90","a93","a94","a91","a92","a205","a85","a206","a86","a87","a88","a95","a96","","","","","","","","","","","","","","","","","","","","a101","a102","a103","a104","a106","a107","a108","a112","a111","a110","a109","a120","a121","a122","a123","a124","a125","a126","a127","a128","a129","a130","a131","a132","a133","a134","a135","a136","a137","a138","a139","a140","a141","a142","a143","a144","a145","a146","a147","a148","a149","a150","a151","a152","a153","a154","a155","a156","a157","a158","a159","a160","a161","a163","a164","a196","a165","a192","a166","a167","a168","a169","a170","a171","a172","a173","a162","a174","a175","a176","a177","a178","a179","a193","a180","a199","a181","a200","a182","","a201","a183","a184","a197","a185","a194","a198","a186","a195","a187","a188","a189","a190","a191",""];t.ZapfDingbatsEncoding=c},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFontType=function(e,t){switch(e){case"Type1":return"Type1C"===t?n.FontType.TYPE1C:n.FontType.TYPE1;case"CIDFontType0":return"CIDFontType0C"===t?n.FontType.CIDFONTTYPE0C:n.FontType.CIDFONTTYPE0;case"OpenType":return n.FontType.OPENTYPE;case"TrueType":return n.FontType.TRUETYPE;case"CIDFontType2":return n.FontType.CIDFONTTYPE2;case"MMType1":return n.FontType.MMTYPE1;case"Type0":return n.FontType.TYPE0;default:return n.FontType.UNKNOWN}},t.recoverGlyphName=c,t.type1FontGlyphMapping=function(e,t,r){var n,o,u,l=Object.create(null),f=!!(e.flags&s.Symbolic);if(e.baseEncodingName)for(u=(0,a.getEncoding)(e.baseEncodingName),o=0;o<u.length;o++)n=r.indexOf(u[o]),l[o]=n>=0?n:0;else if(f)for(o in t)l[o]=t[o];else for(u=a.StandardEncoding,o=0;o<u.length;o++)n=r.indexOf(u[o]),l[o]=n>=0?n:0;var h,d=e.differences;if(d)for(o in d){var p=d[o];if(-1===(n=r.indexOf(p))){h||(h=(0,i.getGlyphsUnicode)());var g=c(p,h);g!==p&&(n=r.indexOf(g))}l[o]=n>=0?n:0}return l},t.SEAC_ANALYSIS_ENABLED=t.MacStandardGlyphOrdering=t.FontFlags=void 0;var n=r(4),a=r(145),i=r(147),o=r(148);t.SEAC_ANALYSIS_ENABLED=!0;var s={FixedPitch:1,Serif:2,Symbolic:4,Script:8,Nonsymbolic:32,Italic:64,AllCap:65536,SmallCap:131072,ForceBold:262144};function c(e,t){if(void 0!==t[e])return e;var r=(0,o.getUnicodeForGlyph)(e,t);if(-1!==r)for(var a in t)if(t[a]===r)return a;return(0,n.info)("Unable to recover a standard glyph name for: "+e),e}t.FontFlags=s,t.MacStandardGlyphOrdering=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","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","bracketleft","backslash","bracketright","asciicircum","underscore","grave","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","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"]},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getDingbatsGlyphsUnicode:()=>i,getGlyphsUnicode:()=>a});var n=r(117);const a=(0,n.getArrayLookupTableFactory)((function(){return["A",65,"AE",198,"AEacute",508,"AEmacron",482,"AEsmall",63462,"Aacute",193,"Aacutesmall",63457,"Abreve",258,"Abreveacute",7854,"Abrevecyrillic",1232,"Abrevedotbelow",7862,"Abrevegrave",7856,"Abrevehookabove",7858,"Abrevetilde",7860,"Acaron",461,"Acircle",9398,"Acircumflex",194,"Acircumflexacute",7844,"Acircumflexdotbelow",7852,"Acircumflexgrave",7846,"Acircumflexhookabove",7848,"Acircumflexsmall",63458,"Acircumflextilde",7850,"Acute",63177,"Acutesmall",63412,"Acyrillic",1040,"Adblgrave",512,"Adieresis",196,"Adieresiscyrillic",1234,"Adieresismacron",478,"Adieresissmall",63460,"Adotbelow",7840,"Adotmacron",480,"Agrave",192,"Agravesmall",63456,"Ahookabove",7842,"Aiecyrillic",1236,"Ainvertedbreve",514,"Alpha",913,"Alphatonos",902,"Amacron",256,"Amonospace",65313,"Aogonek",260,"Aring",197,"Aringacute",506,"Aringbelow",7680,"Aringsmall",63461,"Asmall",63329,"Atilde",195,"Atildesmall",63459,"Aybarmenian",1329,"B",66,"Bcircle",9399,"Bdotaccent",7682,"Bdotbelow",7684,"Becyrillic",1041,"Benarmenian",1330,"Beta",914,"Bhook",385,"Blinebelow",7686,"Bmonospace",65314,"Brevesmall",63220,"Bsmall",63330,"Btopbar",386,"C",67,"Caarmenian",1342,"Cacute",262,"Caron",63178,"Caronsmall",63221,"Ccaron",268,"Ccedilla",199,"Ccedillaacute",7688,"Ccedillasmall",63463,"Ccircle",9400,"Ccircumflex",264,"Cdot",266,"Cdotaccent",266,"Cedillasmall",63416,"Chaarmenian",1353,"Cheabkhasiancyrillic",1212,"Checyrillic",1063,"Chedescenderabkhasiancyrillic",1214,"Chedescendercyrillic",1206,"Chedieresiscyrillic",1268,"Cheharmenian",1347,"Chekhakassiancyrillic",1227,"Cheverticalstrokecyrillic",1208,"Chi",935,"Chook",391,"Circumflexsmall",63222,"Cmonospace",65315,"Coarmenian",1361,"Csmall",63331,"D",68,"DZ",497,"DZcaron",452,"Daarmenian",1332,"Dafrican",393,"Dcaron",270,"Dcedilla",7696,"Dcircle",9401,"Dcircumflexbelow",7698,"Dcroat",272,"Ddotaccent",7690,"Ddotbelow",7692,"Decyrillic",1044,"Deicoptic",1006,"Delta",8710,"Deltagreek",916,"Dhook",394,"Dieresis",63179,"DieresisAcute",63180,"DieresisGrave",63181,"Dieresissmall",63400,"Digammagreek",988,"Djecyrillic",1026,"Dlinebelow",7694,"Dmonospace",65316,"Dotaccentsmall",63223,"Dslash",272,"Dsmall",63332,"Dtopbar",395,"Dz",498,"Dzcaron",453,"Dzeabkhasiancyrillic",1248,"Dzecyrillic",1029,"Dzhecyrillic",1039,"E",69,"Eacute",201,"Eacutesmall",63465,"Ebreve",276,"Ecaron",282,"Ecedillabreve",7708,"Echarmenian",1333,"Ecircle",9402,"Ecircumflex",202,"Ecircumflexacute",7870,"Ecircumflexbelow",7704,"Ecircumflexdotbelow",7878,"Ecircumflexgrave",7872,"Ecircumflexhookabove",7874,"Ecircumflexsmall",63466,"Ecircumflextilde",7876,"Ecyrillic",1028,"Edblgrave",516,"Edieresis",203,"Edieresissmall",63467,"Edot",278,"Edotaccent",278,"Edotbelow",7864,"Efcyrillic",1060,"Egrave",200,"Egravesmall",63464,"Eharmenian",1335,"Ehookabove",7866,"Eightroman",8551,"Einvertedbreve",518,"Eiotifiedcyrillic",1124,"Elcyrillic",1051,"Elevenroman",8554,"Emacron",274,"Emacronacute",7702,"Emacrongrave",7700,"Emcyrillic",1052,"Emonospace",65317,"Encyrillic",1053,"Endescendercyrillic",1186,"Eng",330,"Enghecyrillic",1188,"Enhookcyrillic",1223,"Eogonek",280,"Eopen",400,"Epsilon",917,"Epsilontonos",904,"Ercyrillic",1056,"Ereversed",398,"Ereversedcyrillic",1069,"Escyrillic",1057,"Esdescendercyrillic",1194,"Esh",425,"Esmall",63333,"Eta",919,"Etarmenian",1336,"Etatonos",905,"Eth",208,"Ethsmall",63472,"Etilde",7868,"Etildebelow",7706,"Euro",8364,"Ezh",439,"Ezhcaron",494,"Ezhreversed",440,"F",70,"Fcircle",9403,"Fdotaccent",7710,"Feharmenian",1366,"Feicoptic",996,"Fhook",401,"Fitacyrillic",1138,"Fiveroman",8548,"Fmonospace",65318,"Fourroman",8547,"Fsmall",63334,"G",71,"GBsquare",13191,"Gacute",500,"Gamma",915,"Gammaafrican",404,"Gangiacoptic",1002,"Gbreve",286,"Gcaron",486,"Gcedilla",290,"Gcircle",9404,"Gcircumflex",284,"Gcommaaccent",290,"Gdot",288,"Gdotaccent",288,"Gecyrillic",1043,"Ghadarmenian",1346,"Ghemiddlehookcyrillic",1172,"Ghestrokecyrillic",1170,"Gheupturncyrillic",1168,"Ghook",403,"Gimarmenian",1331,"Gjecyrillic",1027,"Gmacron",7712,"Gmonospace",65319,"Grave",63182,"Gravesmall",63328,"Gsmall",63335,"Gsmallhook",667,"Gstroke",484,"H",72,"H18533",9679,"H18543",9642,"H18551",9643,"H22073",9633,"HPsquare",13259,"Haabkhasiancyrillic",1192,"Hadescendercyrillic",1202,"Hardsigncyrillic",1066,"Hbar",294,"Hbrevebelow",7722,"Hcedilla",7720,"Hcircle",9405,"Hcircumflex",292,"Hdieresis",7718,"Hdotaccent",7714,"Hdotbelow",7716,"Hmonospace",65320,"Hoarmenian",1344,"Horicoptic",1e3,"Hsmall",63336,"Hungarumlaut",63183,"Hungarumlautsmall",63224,"Hzsquare",13200,"I",73,"IAcyrillic",1071,"IJ",306,"IUcyrillic",1070,"Iacute",205,"Iacutesmall",63469,"Ibreve",300,"Icaron",463,"Icircle",9406,"Icircumflex",206,"Icircumflexsmall",63470,"Icyrillic",1030,"Idblgrave",520,"Idieresis",207,"Idieresisacute",7726,"Idieresiscyrillic",1252,"Idieresissmall",63471,"Idot",304,"Idotaccent",304,"Idotbelow",7882,"Iebrevecyrillic",1238,"Iecyrillic",1045,"Ifraktur",8465,"Igrave",204,"Igravesmall",63468,"Ihookabove",7880,"Iicyrillic",1048,"Iinvertedbreve",522,"Iishortcyrillic",1049,"Imacron",298,"Imacroncyrillic",1250,"Imonospace",65321,"Iniarmenian",1339,"Iocyrillic",1025,"Iogonek",302,"Iota",921,"Iotaafrican",406,"Iotadieresis",938,"Iotatonos",906,"Ismall",63337,"Istroke",407,"Itilde",296,"Itildebelow",7724,"Izhitsacyrillic",1140,"Izhitsadblgravecyrillic",1142,"J",74,"Jaarmenian",1345,"Jcircle",9407,"Jcircumflex",308,"Jecyrillic",1032,"Jheharmenian",1355,"Jmonospace",65322,"Jsmall",63338,"K",75,"KBsquare",13189,"KKsquare",13261,"Kabashkircyrillic",1184,"Kacute",7728,"Kacyrillic",1050,"Kadescendercyrillic",1178,"Kahookcyrillic",1219,"Kappa",922,"Kastrokecyrillic",1182,"Kaverticalstrokecyrillic",1180,"Kcaron",488,"Kcedilla",310,"Kcircle",9408,"Kcommaaccent",310,"Kdotbelow",7730,"Keharmenian",1364,"Kenarmenian",1343,"Khacyrillic",1061,"Kheicoptic",998,"Khook",408,"Kjecyrillic",1036,"Klinebelow",7732,"Kmonospace",65323,"Koppacyrillic",1152,"Koppagreek",990,"Ksicyrillic",1134,"Ksmall",63339,"L",76,"LJ",455,"LL",63167,"Lacute",313,"Lambda",923,"Lcaron",317,"Lcedilla",315,"Lcircle",9409,"Lcircumflexbelow",7740,"Lcommaaccent",315,"Ldot",319,"Ldotaccent",319,"Ldotbelow",7734,"Ldotbelowmacron",7736,"Liwnarmenian",1340,"Lj",456,"Ljecyrillic",1033,"Llinebelow",7738,"Lmonospace",65324,"Lslash",321,"Lslashsmall",63225,"Lsmall",63340,"M",77,"MBsquare",13190,"Macron",63184,"Macronsmall",63407,"Macute",7742,"Mcircle",9410,"Mdotaccent",7744,"Mdotbelow",7746,"Menarmenian",1348,"Mmonospace",65325,"Msmall",63341,"Mturned",412,"Mu",924,"N",78,"NJ",458,"Nacute",323,"Ncaron",327,"Ncedilla",325,"Ncircle",9411,"Ncircumflexbelow",7754,"Ncommaaccent",325,"Ndotaccent",7748,"Ndotbelow",7750,"Nhookleft",413,"Nineroman",8552,"Nj",459,"Njecyrillic",1034,"Nlinebelow",7752,"Nmonospace",65326,"Nowarmenian",1350,"Nsmall",63342,"Ntilde",209,"Ntildesmall",63473,"Nu",925,"O",79,"OE",338,"OEsmall",63226,"Oacute",211,"Oacutesmall",63475,"Obarredcyrillic",1256,"Obarreddieresiscyrillic",1258,"Obreve",334,"Ocaron",465,"Ocenteredtilde",415,"Ocircle",9412,"Ocircumflex",212,"Ocircumflexacute",7888,"Ocircumflexdotbelow",7896,"Ocircumflexgrave",7890,"Ocircumflexhookabove",7892,"Ocircumflexsmall",63476,"Ocircumflextilde",7894,"Ocyrillic",1054,"Odblacute",336,"Odblgrave",524,"Odieresis",214,"Odieresiscyrillic",1254,"Odieresissmall",63478,"Odotbelow",7884,"Ogoneksmall",63227,"Ograve",210,"Ogravesmall",63474,"Oharmenian",1365,"Ohm",8486,"Ohookabove",7886,"Ohorn",416,"Ohornacute",7898,"Ohorndotbelow",7906,"Ohorngrave",7900,"Ohornhookabove",7902,"Ohorntilde",7904,"Ohungarumlaut",336,"Oi",418,"Oinvertedbreve",526,"Omacron",332,"Omacronacute",7762,"Omacrongrave",7760,"Omega",8486,"Omegacyrillic",1120,"Omegagreek",937,"Omegaroundcyrillic",1146,"Omegatitlocyrillic",1148,"Omegatonos",911,"Omicron",927,"Omicrontonos",908,"Omonospace",65327,"Oneroman",8544,"Oogonek",490,"Oogonekmacron",492,"Oopen",390,"Oslash",216,"Oslashacute",510,"Oslashsmall",63480,"Osmall",63343,"Ostrokeacute",510,"Otcyrillic",1150,"Otilde",213,"Otildeacute",7756,"Otildedieresis",7758,"Otildesmall",63477,"P",80,"Pacute",7764,"Pcircle",9413,"Pdotaccent",7766,"Pecyrillic",1055,"Peharmenian",1354,"Pemiddlehookcyrillic",1190,"Phi",934,"Phook",420,"Pi",928,"Piwrarmenian",1363,"Pmonospace",65328,"Psi",936,"Psicyrillic",1136,"Psmall",63344,"Q",81,"Qcircle",9414,"Qmonospace",65329,"Qsmall",63345,"R",82,"Raarmenian",1356,"Racute",340,"Rcaron",344,"Rcedilla",342,"Rcircle",9415,"Rcommaaccent",342,"Rdblgrave",528,"Rdotaccent",7768,"Rdotbelow",7770,"Rdotbelowmacron",7772,"Reharmenian",1360,"Rfraktur",8476,"Rho",929,"Ringsmall",63228,"Rinvertedbreve",530,"Rlinebelow",7774,"Rmonospace",65330,"Rsmall",63346,"Rsmallinverted",641,"Rsmallinvertedsuperior",694,"S",83,"SF010000",9484,"SF020000",9492,"SF030000",9488,"SF040000",9496,"SF050000",9532,"SF060000",9516,"SF070000",9524,"SF080000",9500,"SF090000",9508,"SF100000",9472,"SF110000",9474,"SF190000",9569,"SF200000",9570,"SF210000",9558,"SF220000",9557,"SF230000",9571,"SF240000",9553,"SF250000",9559,"SF260000",9565,"SF270000",9564,"SF280000",9563,"SF360000",9566,"SF370000",9567,"SF380000",9562,"SF390000",9556,"SF400000",9577,"SF410000",9574,"SF420000",9568,"SF430000",9552,"SF440000",9580,"SF450000",9575,"SF460000",9576,"SF470000",9572,"SF480000",9573,"SF490000",9561,"SF500000",9560,"SF510000",9554,"SF520000",9555,"SF530000",9579,"SF540000",9578,"Sacute",346,"Sacutedotaccent",7780,"Sampigreek",992,"Scaron",352,"Scarondotaccent",7782,"Scaronsmall",63229,"Scedilla",350,"Schwa",399,"Schwacyrillic",1240,"Schwadieresiscyrillic",1242,"Scircle",9416,"Scircumflex",348,"Scommaaccent",536,"Sdotaccent",7776,"Sdotbelow",7778,"Sdotbelowdotaccent",7784,"Seharmenian",1357,"Sevenroman",8550,"Shaarmenian",1351,"Shacyrillic",1064,"Shchacyrillic",1065,"Sheicoptic",994,"Shhacyrillic",1210,"Shimacoptic",1004,"Sigma",931,"Sixroman",8549,"Smonospace",65331,"Softsigncyrillic",1068,"Ssmall",63347,"Stigmagreek",986,"T",84,"Tau",932,"Tbar",358,"Tcaron",356,"Tcedilla",354,"Tcircle",9417,"Tcircumflexbelow",7792,"Tcommaaccent",354,"Tdotaccent",7786,"Tdotbelow",7788,"Tecyrillic",1058,"Tedescendercyrillic",1196,"Tenroman",8553,"Tetsecyrillic",1204,"Theta",920,"Thook",428,"Thorn",222,"Thornsmall",63486,"Threeroman",8546,"Tildesmall",63230,"Tiwnarmenian",1359,"Tlinebelow",7790,"Tmonospace",65332,"Toarmenian",1337,"Tonefive",444,"Tonesix",388,"Tonetwo",423,"Tretroflexhook",430,"Tsecyrillic",1062,"Tshecyrillic",1035,"Tsmall",63348,"Twelveroman",8555,"Tworoman",8545,"U",85,"Uacute",218,"Uacutesmall",63482,"Ubreve",364,"Ucaron",467,"Ucircle",9418,"Ucircumflex",219,"Ucircumflexbelow",7798,"Ucircumflexsmall",63483,"Ucyrillic",1059,"Udblacute",368,"Udblgrave",532,"Udieresis",220,"Udieresisacute",471,"Udieresisbelow",7794,"Udieresiscaron",473,"Udieresiscyrillic",1264,"Udieresisgrave",475,"Udieresismacron",469,"Udieresissmall",63484,"Udotbelow",7908,"Ugrave",217,"Ugravesmall",63481,"Uhookabove",7910,"Uhorn",431,"Uhornacute",7912,"Uhorndotbelow",7920,"Uhorngrave",7914,"Uhornhookabove",7916,"Uhorntilde",7918,"Uhungarumlaut",368,"Uhungarumlautcyrillic",1266,"Uinvertedbreve",534,"Ukcyrillic",1144,"Umacron",362,"Umacroncyrillic",1262,"Umacrondieresis",7802,"Umonospace",65333,"Uogonek",370,"Upsilon",933,"Upsilon1",978,"Upsilonacutehooksymbolgreek",979,"Upsilonafrican",433,"Upsilondieresis",939,"Upsilondieresishooksymbolgreek",980,"Upsilonhooksymbol",978,"Upsilontonos",910,"Uring",366,"Ushortcyrillic",1038,"Usmall",63349,"Ustraightcyrillic",1198,"Ustraightstrokecyrillic",1200,"Utilde",360,"Utildeacute",7800,"Utildebelow",7796,"V",86,"Vcircle",9419,"Vdotbelow",7806,"Vecyrillic",1042,"Vewarmenian",1358,"Vhook",434,"Vmonospace",65334,"Voarmenian",1352,"Vsmall",63350,"Vtilde",7804,"W",87,"Wacute",7810,"Wcircle",9420,"Wcircumflex",372,"Wdieresis",7812,"Wdotaccent",7814,"Wdotbelow",7816,"Wgrave",7808,"Wmonospace",65335,"Wsmall",63351,"X",88,"Xcircle",9421,"Xdieresis",7820,"Xdotaccent",7818,"Xeharmenian",1341,"Xi",926,"Xmonospace",65336,"Xsmall",63352,"Y",89,"Yacute",221,"Yacutesmall",63485,"Yatcyrillic",1122,"Ycircle",9422,"Ycircumflex",374,"Ydieresis",376,"Ydieresissmall",63487,"Ydotaccent",7822,"Ydotbelow",7924,"Yericyrillic",1067,"Yerudieresiscyrillic",1272,"Ygrave",7922,"Yhook",435,"Yhookabove",7926,"Yiarmenian",1349,"Yicyrillic",1031,"Yiwnarmenian",1362,"Ymonospace",65337,"Ysmall",63353,"Ytilde",7928,"Yusbigcyrillic",1130,"Yusbigiotifiedcyrillic",1132,"Yuslittlecyrillic",1126,"Yuslittleiotifiedcyrillic",1128,"Z",90,"Zaarmenian",1334,"Zacute",377,"Zcaron",381,"Zcaronsmall",63231,"Zcircle",9423,"Zcircumflex",7824,"Zdot",379,"Zdotaccent",379,"Zdotbelow",7826,"Zecyrillic",1047,"Zedescendercyrillic",1176,"Zedieresiscyrillic",1246,"Zeta",918,"Zhearmenian",1338,"Zhebrevecyrillic",1217,"Zhecyrillic",1046,"Zhedescendercyrillic",1174,"Zhedieresiscyrillic",1244,"Zlinebelow",7828,"Zmonospace",65338,"Zsmall",63354,"Zstroke",437,"a",97,"aabengali",2438,"aacute",225,"aadeva",2310,"aagujarati",2694,"aagurmukhi",2566,"aamatragurmukhi",2622,"aarusquare",13059,"aavowelsignbengali",2494,"aavowelsigndeva",2366,"aavowelsigngujarati",2750,"abbreviationmarkarmenian",1375,"abbreviationsigndeva",2416,"abengali",2437,"abopomofo",12570,"abreve",259,"abreveacute",7855,"abrevecyrillic",1233,"abrevedotbelow",7863,"abrevegrave",7857,"abrevehookabove",7859,"abrevetilde",7861,"acaron",462,"acircle",9424,"acircumflex",226,"acircumflexacute",7845,"acircumflexdotbelow",7853,"acircumflexgrave",7847,"acircumflexhookabove",7849,"acircumflextilde",7851,"acute",180,"acutebelowcmb",791,"acutecmb",769,"acutecomb",769,"acutedeva",2388,"acutelowmod",719,"acutetonecmb",833,"acyrillic",1072,"adblgrave",513,"addakgurmukhi",2673,"adeva",2309,"adieresis",228,"adieresiscyrillic",1235,"adieresismacron",479,"adotbelow",7841,"adotmacron",481,"ae",230,"aeacute",509,"aekorean",12624,"aemacron",483,"afii00208",8213,"afii08941",8356,"afii10017",1040,"afii10018",1041,"afii10019",1042,"afii10020",1043,"afii10021",1044,"afii10022",1045,"afii10023",1025,"afii10024",1046,"afii10025",1047,"afii10026",1048,"afii10027",1049,"afii10028",1050,"afii10029",1051,"afii10030",1052,"afii10031",1053,"afii10032",1054,"afii10033",1055,"afii10034",1056,"afii10035",1057,"afii10036",1058,"afii10037",1059,"afii10038",1060,"afii10039",1061,"afii10040",1062,"afii10041",1063,"afii10042",1064,"afii10043",1065,"afii10044",1066,"afii10045",1067,"afii10046",1068,"afii10047",1069,"afii10048",1070,"afii10049",1071,"afii10050",1168,"afii10051",1026,"afii10052",1027,"afii10053",1028,"afii10054",1029,"afii10055",1030,"afii10056",1031,"afii10057",1032,"afii10058",1033,"afii10059",1034,"afii10060",1035,"afii10061",1036,"afii10062",1038,"afii10063",63172,"afii10064",63173,"afii10065",1072,"afii10066",1073,"afii10067",1074,"afii10068",1075,"afii10069",1076,"afii10070",1077,"afii10071",1105,"afii10072",1078,"afii10073",1079,"afii10074",1080,"afii10075",1081,"afii10076",1082,"afii10077",1083,"afii10078",1084,"afii10079",1085,"afii10080",1086,"afii10081",1087,"afii10082",1088,"afii10083",1089,"afii10084",1090,"afii10085",1091,"afii10086",1092,"afii10087",1093,"afii10088",1094,"afii10089",1095,"afii10090",1096,"afii10091",1097,"afii10092",1098,"afii10093",1099,"afii10094",1100,"afii10095",1101,"afii10096",1102,"afii10097",1103,"afii10098",1169,"afii10099",1106,"afii10100",1107,"afii10101",1108,"afii10102",1109,"afii10103",1110,"afii10104",1111,"afii10105",1112,"afii10106",1113,"afii10107",1114,"afii10108",1115,"afii10109",1116,"afii10110",1118,"afii10145",1039,"afii10146",1122,"afii10147",1138,"afii10148",1140,"afii10192",63174,"afii10193",1119,"afii10194",1123,"afii10195",1139,"afii10196",1141,"afii10831",63175,"afii10832",63176,"afii10846",1241,"afii299",8206,"afii300",8207,"afii301",8205,"afii57381",1642,"afii57388",1548,"afii57392",1632,"afii57393",1633,"afii57394",1634,"afii57395",1635,"afii57396",1636,"afii57397",1637,"afii57398",1638,"afii57399",1639,"afii57400",1640,"afii57401",1641,"afii57403",1563,"afii57407",1567,"afii57409",1569,"afii57410",1570,"afii57411",1571,"afii57412",1572,"afii57413",1573,"afii57414",1574,"afii57415",1575,"afii57416",1576,"afii57417",1577,"afii57418",1578,"afii57419",1579,"afii57420",1580,"afii57421",1581,"afii57422",1582,"afii57423",1583,"afii57424",1584,"afii57425",1585,"afii57426",1586,"afii57427",1587,"afii57428",1588,"afii57429",1589,"afii57430",1590,"afii57431",1591,"afii57432",1592,"afii57433",1593,"afii57434",1594,"afii57440",1600,"afii57441",1601,"afii57442",1602,"afii57443",1603,"afii57444",1604,"afii57445",1605,"afii57446",1606,"afii57448",1608,"afii57449",1609,"afii57450",1610,"afii57451",1611,"afii57452",1612,"afii57453",1613,"afii57454",1614,"afii57455",1615,"afii57456",1616,"afii57457",1617,"afii57458",1618,"afii57470",1607,"afii57505",1700,"afii57506",1662,"afii57507",1670,"afii57508",1688,"afii57509",1711,"afii57511",1657,"afii57512",1672,"afii57513",1681,"afii57514",1722,"afii57519",1746,"afii57534",1749,"afii57636",8362,"afii57645",1470,"afii57658",1475,"afii57664",1488,"afii57665",1489,"afii57666",1490,"afii57667",1491,"afii57668",1492,"afii57669",1493,"afii57670",1494,"afii57671",1495,"afii57672",1496,"afii57673",1497,"afii57674",1498,"afii57675",1499,"afii57676",1500,"afii57677",1501,"afii57678",1502,"afii57679",1503,"afii57680",1504,"afii57681",1505,"afii57682",1506,"afii57683",1507,"afii57684",1508,"afii57685",1509,"afii57686",1510,"afii57687",1511,"afii57688",1512,"afii57689",1513,"afii57690",1514,"afii57694",64298,"afii57695",64299,"afii57700",64331,"afii57705",64287,"afii57716",1520,"afii57717",1521,"afii57718",1522,"afii57723",64309,"afii57793",1460,"afii57794",1461,"afii57795",1462,"afii57796",1467,"afii57797",1464,"afii57798",1463,"afii57799",1456,"afii57800",1458,"afii57801",1457,"afii57802",1459,"afii57803",1474,"afii57804",1473,"afii57806",1465,"afii57807",1468,"afii57839",1469,"afii57841",1471,"afii57842",1472,"afii57929",700,"afii61248",8453,"afii61289",8467,"afii61352",8470,"afii61573",8236,"afii61574",8237,"afii61575",8238,"afii61664",8204,"afii63167",1645,"afii64937",701,"agrave",224,"agujarati",2693,"agurmukhi",2565,"ahiragana",12354,"ahookabove",7843,"aibengali",2448,"aibopomofo",12574,"aideva",2320,"aiecyrillic",1237,"aigujarati",2704,"aigurmukhi",2576,"aimatragurmukhi",2632,"ainarabic",1593,"ainfinalarabic",65226,"aininitialarabic",65227,"ainmedialarabic",65228,"ainvertedbreve",515,"aivowelsignbengali",2504,"aivowelsigndeva",2376,"aivowelsigngujarati",2760,"akatakana",12450,"akatakanahalfwidth",65393,"akorean",12623,"alef",1488,"alefarabic",1575,"alefdageshhebrew",64304,"aleffinalarabic",65166,"alefhamzaabovearabic",1571,"alefhamzaabovefinalarabic",65156,"alefhamzabelowarabic",1573,"alefhamzabelowfinalarabic",65160,"alefhebrew",1488,"aleflamedhebrew",64335,"alefmaddaabovearabic",1570,"alefmaddaabovefinalarabic",65154,"alefmaksuraarabic",1609,"alefmaksurafinalarabic",65264,"alefmaksurainitialarabic",65267,"alefmaksuramedialarabic",65268,"alefpatahhebrew",64302,"alefqamatshebrew",64303,"aleph",8501,"allequal",8780,"alpha",945,"alphatonos",940,"amacron",257,"amonospace",65345,"ampersand",38,"ampersandmonospace",65286,"ampersandsmall",63270,"amsquare",13250,"anbopomofo",12578,"angbopomofo",12580,"angbracketleft",12296,"angbracketright",12297,"angkhankhuthai",3674,"angle",8736,"anglebracketleft",12296,"anglebracketleftvertical",65087,"anglebracketright",12297,"anglebracketrightvertical",65088,"angleleft",9001,"angleright",9002,"angstrom",8491,"anoteleia",903,"anudattadeva",2386,"anusvarabengali",2434,"anusvaradeva",2306,"anusvaragujarati",2690,"aogonek",261,"apaatosquare",13056,"aparen",9372,"apostrophearmenian",1370,"apostrophemod",700,"apple",63743,"approaches",8784,"approxequal",8776,"approxequalorimage",8786,"approximatelyequal",8773,"araeaekorean",12686,"araeakorean",12685,"arc",8978,"arighthalfring",7834,"aring",229,"aringacute",507,"aringbelow",7681,"arrowboth",8596,"arrowdashdown",8675,"arrowdashleft",8672,"arrowdashright",8674,"arrowdashup",8673,"arrowdblboth",8660,"arrowdbldown",8659,"arrowdblleft",8656,"arrowdblright",8658,"arrowdblup",8657,"arrowdown",8595,"arrowdownleft",8601,"arrowdownright",8600,"arrowdownwhite",8681,"arrowheaddownmod",709,"arrowheadleftmod",706,"arrowheadrightmod",707,"arrowheadupmod",708,"arrowhorizex",63719,"arrowleft",8592,"arrowleftdbl",8656,"arrowleftdblstroke",8653,"arrowleftoverright",8646,"arrowleftwhite",8678,"arrowright",8594,"arrowrightdblstroke",8655,"arrowrightheavy",10142,"arrowrightoverleft",8644,"arrowrightwhite",8680,"arrowtableft",8676,"arrowtabright",8677,"arrowup",8593,"arrowupdn",8597,"arrowupdnbse",8616,"arrowupdownbase",8616,"arrowupleft",8598,"arrowupleftofdown",8645,"arrowupright",8599,"arrowupwhite",8679,"arrowvertex",63718,"asciicircum",94,"asciicircummonospace",65342,"asciitilde",126,"asciitildemonospace",65374,"ascript",593,"ascriptturned",594,"asmallhiragana",12353,"asmallkatakana",12449,"asmallkatakanahalfwidth",65383,"asterisk",42,"asteriskaltonearabic",1645,"asteriskarabic",1645,"asteriskmath",8727,"asteriskmonospace",65290,"asterisksmall",65121,"asterism",8258,"asuperior",63209,"asymptoticallyequal",8771,"at",64,"atilde",227,"atmonospace",65312,"atsmall",65131,"aturned",592,"aubengali",2452,"aubopomofo",12576,"audeva",2324,"augujarati",2708,"augurmukhi",2580,"aulengthmarkbengali",2519,"aumatragurmukhi",2636,"auvowelsignbengali",2508,"auvowelsigndeva",2380,"auvowelsigngujarati",2764,"avagrahadeva",2365,"aybarmenian",1377,"ayin",1506,"ayinaltonehebrew",64288,"ayinhebrew",1506,"b",98,"babengali",2476,"backslash",92,"backslashmonospace",65340,"badeva",2348,"bagujarati",2732,"bagurmukhi",2604,"bahiragana",12400,"bahtthai",3647,"bakatakana",12496,"bar",124,"barmonospace",65372,"bbopomofo",12549,"bcircle",9425,"bdotaccent",7683,"bdotbelow",7685,"beamedsixteenthnotes",9836,"because",8757,"becyrillic",1073,"beharabic",1576,"behfinalarabic",65168,"behinitialarabic",65169,"behiragana",12409,"behmedialarabic",65170,"behmeeminitialarabic",64671,"behmeemisolatedarabic",64520,"behnoonfinalarabic",64621,"bekatakana",12505,"benarmenian",1378,"bet",1489,"beta",946,"betasymbolgreek",976,"betdagesh",64305,"betdageshhebrew",64305,"bethebrew",1489,"betrafehebrew",64332,"bhabengali",2477,"bhadeva",2349,"bhagujarati",2733,"bhagurmukhi",2605,"bhook",595,"bihiragana",12403,"bikatakana",12499,"bilabialclick",664,"bindigurmukhi",2562,"birusquare",13105,"blackcircle",9679,"blackdiamond",9670,"blackdownpointingtriangle",9660,"blackleftpointingpointer",9668,"blackleftpointingtriangle",9664,"blacklenticularbracketleft",12304,"blacklenticularbracketleftvertical",65083,"blacklenticularbracketright",12305,"blacklenticularbracketrightvertical",65084,"blacklowerlefttriangle",9699,"blacklowerrighttriangle",9698,"blackrectangle",9644,"blackrightpointingpointer",9658,"blackrightpointingtriangle",9654,"blacksmallsquare",9642,"blacksmilingface",9787,"blacksquare",9632,"blackstar",9733,"blackupperlefttriangle",9700,"blackupperrighttriangle",9701,"blackuppointingsmalltriangle",9652,"blackuppointingtriangle",9650,"blank",9251,"blinebelow",7687,"block",9608,"bmonospace",65346,"bobaimaithai",3610,"bohiragana",12412,"bokatakana",12508,"bparen",9373,"bqsquare",13251,"braceex",63732,"braceleft",123,"braceleftbt",63731,"braceleftmid",63730,"braceleftmonospace",65371,"braceleftsmall",65115,"bracelefttp",63729,"braceleftvertical",65079,"braceright",125,"bracerightbt",63742,"bracerightmid",63741,"bracerightmonospace",65373,"bracerightsmall",65116,"bracerighttp",63740,"bracerightvertical",65080,"bracketleft",91,"bracketleftbt",63728,"bracketleftex",63727,"bracketleftmonospace",65339,"bracketlefttp",63726,"bracketright",93,"bracketrightbt",63739,"bracketrightex",63738,"bracketrightmonospace",65341,"bracketrighttp",63737,"breve",728,"brevebelowcmb",814,"brevecmb",774,"breveinvertedbelowcmb",815,"breveinvertedcmb",785,"breveinverteddoublecmb",865,"bridgebelowcmb",810,"bridgeinvertedbelowcmb",826,"brokenbar",166,"bstroke",384,"bsuperior",63210,"btopbar",387,"buhiragana",12406,"bukatakana",12502,"bullet",8226,"bulletinverse",9688,"bulletoperator",8729,"bullseye",9678,"c",99,"caarmenian",1390,"cabengali",2458,"cacute",263,"cadeva",2330,"cagujarati",2714,"cagurmukhi",2586,"calsquare",13192,"candrabindubengali",2433,"candrabinducmb",784,"candrabindudeva",2305,"candrabindugujarati",2689,"capslock",8682,"careof",8453,"caron",711,"caronbelowcmb",812,"caroncmb",780,"carriagereturn",8629,"cbopomofo",12568,"ccaron",269,"ccedilla",231,"ccedillaacute",7689,"ccircle",9426,"ccircumflex",265,"ccurl",597,"cdot",267,"cdotaccent",267,"cdsquare",13253,"cedilla",184,"cedillacmb",807,"cent",162,"centigrade",8451,"centinferior",63199,"centmonospace",65504,"centoldstyle",63394,"centsuperior",63200,"chaarmenian",1401,"chabengali",2459,"chadeva",2331,"chagujarati",2715,"chagurmukhi",2587,"chbopomofo",12564,"cheabkhasiancyrillic",1213,"checkmark",10003,"checyrillic",1095,"chedescenderabkhasiancyrillic",1215,"chedescendercyrillic",1207,"chedieresiscyrillic",1269,"cheharmenian",1395,"chekhakassiancyrillic",1228,"cheverticalstrokecyrillic",1209,"chi",967,"chieuchacirclekorean",12919,"chieuchaparenkorean",12823,"chieuchcirclekorean",12905,"chieuchkorean",12618,"chieuchparenkorean",12809,"chochangthai",3594,"chochanthai",3592,"chochingthai",3593,"chochoethai",3596,"chook",392,"cieucacirclekorean",12918,"cieucaparenkorean",12822,"cieuccirclekorean",12904,"cieuckorean",12616,"cieucparenkorean",12808,"cieucuparenkorean",12828,"circle",9675,"circlecopyrt",169,"circlemultiply",8855,"circleot",8857,"circleplus",8853,"circlepostalmark",12342,"circlewithlefthalfblack",9680,"circlewithrighthalfblack",9681,"circumflex",710,"circumflexbelowcmb",813,"circumflexcmb",770,"clear",8999,"clickalveolar",450,"clickdental",448,"clicklateral",449,"clickretroflex",451,"club",9827,"clubsuitblack",9827,"clubsuitwhite",9831,"cmcubedsquare",13220,"cmonospace",65347,"cmsquaredsquare",13216,"coarmenian",1409,"colon",58,"colonmonetary",8353,"colonmonospace",65306,"colonsign",8353,"colonsmall",65109,"colontriangularhalfmod",721,"colontriangularmod",720,"comma",44,"commaabovecmb",787,"commaaboverightcmb",789,"commaaccent",63171,"commaarabic",1548,"commaarmenian",1373,"commainferior",63201,"commamonospace",65292,"commareversedabovecmb",788,"commareversedmod",701,"commasmall",65104,"commasuperior",63202,"commaturnedabovecmb",786,"commaturnedmod",699,"compass",9788,"congruent",8773,"contourintegral",8750,"control",8963,"controlACK",6,"controlBEL",7,"controlBS",8,"controlCAN",24,"controlCR",13,"controlDC1",17,"controlDC2",18,"controlDC3",19,"controlDC4",20,"controlDEL",127,"controlDLE",16,"controlEM",25,"controlENQ",5,"controlEOT",4,"controlESC",27,"controlETB",23,"controlETX",3,"controlFF",12,"controlFS",28,"controlGS",29,"controlHT",9,"controlLF",10,"controlNAK",21,"controlNULL",0,"controlRS",30,"controlSI",15,"controlSO",14,"controlSOT",2,"controlSTX",1,"controlSUB",26,"controlSYN",22,"controlUS",31,"controlVT",11,"copyright",169,"copyrightsans",63721,"copyrightserif",63193,"cornerbracketleft",12300,"cornerbracketlefthalfwidth",65378,"cornerbracketleftvertical",65089,"cornerbracketright",12301,"cornerbracketrighthalfwidth",65379,"cornerbracketrightvertical",65090,"corporationsquare",13183,"cosquare",13255,"coverkgsquare",13254,"cparen",9374,"cruzeiro",8354,"cstretched",663,"curlyand",8911,"curlyor",8910,"currency",164,"cyrBreve",63185,"cyrFlex",63186,"cyrbreve",63188,"cyrflex",63189,"d",100,"daarmenian",1380,"dabengali",2470,"dadarabic",1590,"dadeva",2342,"dadfinalarabic",65214,"dadinitialarabic",65215,"dadmedialarabic",65216,"dagesh",1468,"dageshhebrew",1468,"dagger",8224,"daggerdbl",8225,"dagujarati",2726,"dagurmukhi",2598,"dahiragana",12384,"dakatakana",12480,"dalarabic",1583,"dalet",1491,"daletdagesh",64307,"daletdageshhebrew",64307,"dalethebrew",1491,"dalfinalarabic",65194,"dammaarabic",1615,"dammalowarabic",1615,"dammatanaltonearabic",1612,"dammatanarabic",1612,"danda",2404,"dargahebrew",1447,"dargalefthebrew",1447,"dasiapneumatacyrilliccmb",1157,"dblGrave",63187,"dblanglebracketleft",12298,"dblanglebracketleftvertical",65085,"dblanglebracketright",12299,"dblanglebracketrightvertical",65086,"dblarchinvertedbelowcmb",811,"dblarrowleft",8660,"dblarrowright",8658,"dbldanda",2405,"dblgrave",63190,"dblgravecmb",783,"dblintegral",8748,"dbllowline",8215,"dbllowlinecmb",819,"dbloverlinecmb",831,"dblprimemod",698,"dblverticalbar",8214,"dblverticallineabovecmb",782,"dbopomofo",12553,"dbsquare",13256,"dcaron",271,"dcedilla",7697,"dcircle",9427,"dcircumflexbelow",7699,"dcroat",273,"ddabengali",2465,"ddadeva",2337,"ddagujarati",2721,"ddagurmukhi",2593,"ddalarabic",1672,"ddalfinalarabic",64393,"dddhadeva",2396,"ddhabengali",2466,"ddhadeva",2338,"ddhagujarati",2722,"ddhagurmukhi",2594,"ddotaccent",7691,"ddotbelow",7693,"decimalseparatorarabic",1643,"decimalseparatorpersian",1643,"decyrillic",1076,"degree",176,"dehihebrew",1453,"dehiragana",12391,"deicoptic",1007,"dekatakana",12487,"deleteleft",9003,"deleteright",8998,"delta",948,"deltaturned",397,"denominatorminusonenumeratorbengali",2552,"dezh",676,"dhabengali",2471,"dhadeva",2343,"dhagujarati",2727,"dhagurmukhi",2599,"dhook",599,"dialytikatonos",901,"dialytikatonoscmb",836,"diamond",9830,"diamondsuitwhite",9826,"dieresis",168,"dieresisacute",63191,"dieresisbelowcmb",804,"dieresiscmb",776,"dieresisgrave",63192,"dieresistonos",901,"dihiragana",12386,"dikatakana",12482,"dittomark",12291,"divide",247,"divides",8739,"divisionslash",8725,"djecyrillic",1106,"dkshade",9619,"dlinebelow",7695,"dlsquare",13207,"dmacron",273,"dmonospace",65348,"dnblock",9604,"dochadathai",3598,"dodekthai",3604,"dohiragana",12393,"dokatakana",12489,"dollar",36,"dollarinferior",63203,"dollarmonospace",65284,"dollaroldstyle",63268,"dollarsmall",65129,"dollarsuperior",63204,"dong",8363,"dorusquare",13094,"dotaccent",729,"dotaccentcmb",775,"dotbelowcmb",803,"dotbelowcomb",803,"dotkatakana",12539,"dotlessi",305,"dotlessj",63166,"dotlessjstrokehook",644,"dotmath",8901,"dottedcircle",9676,"doubleyodpatah",64287,"doubleyodpatahhebrew",64287,"downtackbelowcmb",798,"downtackmod",725,"dparen",9375,"dsuperior",63211,"dtail",598,"dtopbar",396,"duhiragana",12389,"dukatakana",12485,"dz",499,"dzaltone",675,"dzcaron",454,"dzcurl",677,"dzeabkhasiancyrillic",1249,"dzecyrillic",1109,"dzhecyrillic",1119,"e",101,"eacute",233,"earth",9793,"ebengali",2447,"ebopomofo",12572,"ebreve",277,"ecandradeva",2317,"ecandragujarati",2701,"ecandravowelsigndeva",2373,"ecandravowelsigngujarati",2757,"ecaron",283,"ecedillabreve",7709,"echarmenian",1381,"echyiwnarmenian",1415,"ecircle",9428,"ecircumflex",234,"ecircumflexacute",7871,"ecircumflexbelow",7705,"ecircumflexdotbelow",7879,"ecircumflexgrave",7873,"ecircumflexhookabove",7875,"ecircumflextilde",7877,"ecyrillic",1108,"edblgrave",517,"edeva",2319,"edieresis",235,"edot",279,"edotaccent",279,"edotbelow",7865,"eegurmukhi",2575,"eematragurmukhi",2631,"efcyrillic",1092,"egrave",232,"egujarati",2703,"eharmenian",1383,"ehbopomofo",12573,"ehiragana",12360,"ehookabove",7867,"eibopomofo",12575,"eight",56,"eightarabic",1640,"eightbengali",2542,"eightcircle",9319,"eightcircleinversesansserif",10129,"eightdeva",2414,"eighteencircle",9329,"eighteenparen",9349,"eighteenperiod",9369,"eightgujarati",2798,"eightgurmukhi",2670,"eighthackarabic",1640,"eighthangzhou",12328,"eighthnotebeamed",9835,"eightideographicparen",12839,"eightinferior",8328,"eightmonospace",65304,"eightoldstyle",63288,"eightparen",9339,"eightperiod",9359,"eightpersian",1784,"eightroman",8567,"eightsuperior",8312,"eightthai",3672,"einvertedbreve",519,"eiotifiedcyrillic",1125,"ekatakana",12456,"ekatakanahalfwidth",65396,"ekonkargurmukhi",2676,"ekorean",12628,"elcyrillic",1083,"element",8712,"elevencircle",9322,"elevenparen",9342,"elevenperiod",9362,"elevenroman",8570,"ellipsis",8230,"ellipsisvertical",8942,"emacron",275,"emacronacute",7703,"emacrongrave",7701,"emcyrillic",1084,"emdash",8212,"emdashvertical",65073,"emonospace",65349,"emphasismarkarmenian",1371,"emptyset",8709,"enbopomofo",12579,"encyrillic",1085,"endash",8211,"endashvertical",65074,"endescendercyrillic",1187,"eng",331,"engbopomofo",12581,"enghecyrillic",1189,"enhookcyrillic",1224,"enspace",8194,"eogonek",281,"eokorean",12627,"eopen",603,"eopenclosed",666,"eopenreversed",604,"eopenreversedclosed",606,"eopenreversedhook",605,"eparen",9376,"epsilon",949,"epsilontonos",941,"equal",61,"equalmonospace",65309,"equalsmall",65126,"equalsuperior",8316,"equivalence",8801,"erbopomofo",12582,"ercyrillic",1088,"ereversed",600,"ereversedcyrillic",1101,"escyrillic",1089,"esdescendercyrillic",1195,"esh",643,"eshcurl",646,"eshortdeva",2318,"eshortvowelsigndeva",2374,"eshreversedloop",426,"eshsquatreversed",645,"esmallhiragana",12359,"esmallkatakana",12455,"esmallkatakanahalfwidth",65386,"estimated",8494,"esuperior",63212,"eta",951,"etarmenian",1384,"etatonos",942,"eth",240,"etilde",7869,"etildebelow",7707,"etnahtafoukhhebrew",1425,"etnahtafoukhlefthebrew",1425,"etnahtahebrew",1425,"etnahtalefthebrew",1425,"eturned",477,"eukorean",12641,"euro",8364,"evowelsignbengali",2503,"evowelsigndeva",2375,"evowelsigngujarati",2759,"exclam",33,"exclamarmenian",1372,"exclamdbl",8252,"exclamdown",161,"exclamdownsmall",63393,"exclammonospace",65281,"exclamsmall",63265,"existential",8707,"ezh",658,"ezhcaron",495,"ezhcurl",659,"ezhreversed",441,"ezhtail",442,"f",102,"fadeva",2398,"fagurmukhi",2654,"fahrenheit",8457,"fathaarabic",1614,"fathalowarabic",1614,"fathatanarabic",1611,"fbopomofo",12552,"fcircle",9429,"fdotaccent",7711,"feharabic",1601,"feharmenian",1414,"fehfinalarabic",65234,"fehinitialarabic",65235,"fehmedialarabic",65236,"feicoptic",997,"female",9792,"ff",64256,"f_f",64256,"ffi",64259,"ffl",64260,"fi",64257,"fifteencircle",9326,"fifteenparen",9346,"fifteenperiod",9366,"figuredash",8210,"filledbox",9632,"filledrect",9644,"finalkaf",1498,"finalkafdagesh",64314,"finalkafdageshhebrew",64314,"finalkafhebrew",1498,"finalmem",1501,"finalmemhebrew",1501,"finalnun",1503,"finalnunhebrew",1503,"finalpe",1507,"finalpehebrew",1507,"finaltsadi",1509,"finaltsadihebrew",1509,"firsttonechinese",713,"fisheye",9673,"fitacyrillic",1139,"five",53,"fivearabic",1637,"fivebengali",2539,"fivecircle",9316,"fivecircleinversesansserif",10126,"fivedeva",2411,"fiveeighths",8541,"fivegujarati",2795,"fivegurmukhi",2667,"fivehackarabic",1637,"fivehangzhou",12325,"fiveideographicparen",12836,"fiveinferior",8325,"fivemonospace",65301,"fiveoldstyle",63285,"fiveparen",9336,"fiveperiod",9356,"fivepersian",1781,"fiveroman",8564,"fivesuperior",8309,"fivethai",3669,"fl",64258,"florin",402,"fmonospace",65350,"fmsquare",13209,"fofanthai",3615,"fofathai",3613,"fongmanthai",3663,"forall",8704,"four",52,"fourarabic",1636,"fourbengali",2538,"fourcircle",9315,"fourcircleinversesansserif",10125,"fourdeva",2410,"fourgujarati",2794,"fourgurmukhi",2666,"fourhackarabic",1636,"fourhangzhou",12324,"fourideographicparen",12835,"fourinferior",8324,"fourmonospace",65300,"fournumeratorbengali",2551,"fouroldstyle",63284,"fourparen",9335,"fourperiod",9355,"fourpersian",1780,"fourroman",8563,"foursuperior",8308,"fourteencircle",9325,"fourteenparen",9345,"fourteenperiod",9365,"fourthai",3668,"fourthtonechinese",715,"fparen",9377,"fraction",8260,"franc",8355,"g",103,"gabengali",2455,"gacute",501,"gadeva",2327,"gafarabic",1711,"gaffinalarabic",64403,"gafinitialarabic",64404,"gafmedialarabic",64405,"gagujarati",2711,"gagurmukhi",2583,"gahiragana",12364,"gakatakana",12460,"gamma",947,"gammalatinsmall",611,"gammasuperior",736,"gangiacoptic",1003,"gbopomofo",12557,"gbreve",287,"gcaron",487,"gcedilla",291,"gcircle",9430,"gcircumflex",285,"gcommaaccent",291,"gdot",289,"gdotaccent",289,"gecyrillic",1075,"gehiragana",12370,"gekatakana",12466,"geometricallyequal",8785,"gereshaccenthebrew",1436,"gereshhebrew",1523,"gereshmuqdamhebrew",1437,"germandbls",223,"gershayimaccenthebrew",1438,"gershayimhebrew",1524,"getamark",12307,"ghabengali",2456,"ghadarmenian",1394,"ghadeva",2328,"ghagujarati",2712,"ghagurmukhi",2584,"ghainarabic",1594,"ghainfinalarabic",65230,"ghaininitialarabic",65231,"ghainmedialarabic",65232,"ghemiddlehookcyrillic",1173,"ghestrokecyrillic",1171,"gheupturncyrillic",1169,"ghhadeva",2394,"ghhagurmukhi",2650,"ghook",608,"ghzsquare",13203,"gihiragana",12366,"gikatakana",12462,"gimarmenian",1379,"gimel",1490,"gimeldagesh",64306,"gimeldageshhebrew",64306,"gimelhebrew",1490,"gjecyrillic",1107,"glottalinvertedstroke",446,"glottalstop",660,"glottalstopinverted",662,"glottalstopmod",704,"glottalstopreversed",661,"glottalstopreversedmod",705,"glottalstopreversedsuperior",740,"glottalstopstroke",673,"glottalstopstrokereversed",674,"gmacron",7713,"gmonospace",65351,"gohiragana",12372,"gokatakana",12468,"gparen",9378,"gpasquare",13228,"gradient",8711,"grave",96,"gravebelowcmb",790,"gravecmb",768,"gravecomb",768,"gravedeva",2387,"gravelowmod",718,"gravemonospace",65344,"gravetonecmb",832,"greater",62,"greaterequal",8805,"greaterequalorless",8923,"greatermonospace",65310,"greaterorequivalent",8819,"greaterorless",8823,"greateroverequal",8807,"greatersmall",65125,"gscript",609,"gstroke",485,"guhiragana",12368,"guillemotleft",171,"guillemotright",187,"guilsinglleft",8249,"guilsinglright",8250,"gukatakana",12464,"guramusquare",13080,"gysquare",13257,"h",104,"haabkhasiancyrillic",1193,"haaltonearabic",1729,"habengali",2489,"hadescendercyrillic",1203,"hadeva",2361,"hagujarati",2745,"hagurmukhi",2617,"haharabic",1581,"hahfinalarabic",65186,"hahinitialarabic",65187,"hahiragana",12399,"hahmedialarabic",65188,"haitusquare",13098,"hakatakana",12495,"hakatakanahalfwidth",65418,"halantgurmukhi",2637,"hamzaarabic",1569,"hamzalowarabic",1569,"hangulfiller",12644,"hardsigncyrillic",1098,"harpoonleftbarbup",8636,"harpoonrightbarbup",8640,"hasquare",13258,"hatafpatah",1458,"hatafpatah16",1458,"hatafpatah23",1458,"hatafpatah2f",1458,"hatafpatahhebrew",1458,"hatafpatahnarrowhebrew",1458,"hatafpatahquarterhebrew",1458,"hatafpatahwidehebrew",1458,"hatafqamats",1459,"hatafqamats1b",1459,"hatafqamats28",1459,"hatafqamats34",1459,"hatafqamatshebrew",1459,"hatafqamatsnarrowhebrew",1459,"hatafqamatsquarterhebrew",1459,"hatafqamatswidehebrew",1459,"hatafsegol",1457,"hatafsegol17",1457,"hatafsegol24",1457,"hatafsegol30",1457,"hatafsegolhebrew",1457,"hatafsegolnarrowhebrew",1457,"hatafsegolquarterhebrew",1457,"hatafsegolwidehebrew",1457,"hbar",295,"hbopomofo",12559,"hbrevebelow",7723,"hcedilla",7721,"hcircle",9431,"hcircumflex",293,"hdieresis",7719,"hdotaccent",7715,"hdotbelow",7717,"he",1492,"heart",9829,"heartsuitblack",9829,"heartsuitwhite",9825,"hedagesh",64308,"hedageshhebrew",64308,"hehaltonearabic",1729,"heharabic",1607,"hehebrew",1492,"hehfinalaltonearabic",64423,"hehfinalalttwoarabic",65258,"hehfinalarabic",65258,"hehhamzaabovefinalarabic",64421,"hehhamzaaboveisolatedarabic",64420,"hehinitialaltonearabic",64424,"hehinitialarabic",65259,"hehiragana",12408,"hehmedialaltonearabic",64425,"hehmedialarabic",65260,"heiseierasquare",13179,"hekatakana",12504,"hekatakanahalfwidth",65421,"hekutaarusquare",13110,"henghook",615,"herutusquare",13113,"het",1495,"hethebrew",1495,"hhook",614,"hhooksuperior",689,"hieuhacirclekorean",12923,"hieuhaparenkorean",12827,"hieuhcirclekorean",12909,"hieuhkorean",12622,"hieuhparenkorean",12813,"hihiragana",12402,"hikatakana",12498,"hikatakanahalfwidth",65419,"hiriq",1460,"hiriq14",1460,"hiriq21",1460,"hiriq2d",1460,"hiriqhebrew",1460,"hiriqnarrowhebrew",1460,"hiriqquarterhebrew",1460,"hiriqwidehebrew",1460,"hlinebelow",7830,"hmonospace",65352,"hoarmenian",1392,"hohipthai",3627,"hohiragana",12411,"hokatakana",12507,"hokatakanahalfwidth",65422,"holam",1465,"holam19",1465,"holam26",1465,"holam32",1465,"holamhebrew",1465,"holamnarrowhebrew",1465,"holamquarterhebrew",1465,"holamwidehebrew",1465,"honokhukthai",3630,"hookabovecomb",777,"hookcmb",777,"hookpalatalizedbelowcmb",801,"hookretroflexbelowcmb",802,"hoonsquare",13122,"horicoptic",1001,"horizontalbar",8213,"horncmb",795,"hotsprings",9832,"house",8962,"hparen",9379,"hsuperior",688,"hturned",613,"huhiragana",12405,"huiitosquare",13107,"hukatakana",12501,"hukatakanahalfwidth",65420,"hungarumlaut",733,"hungarumlautcmb",779,"hv",405,"hyphen",45,"hypheninferior",63205,"hyphenmonospace",65293,"hyphensmall",65123,"hyphensuperior",63206,"hyphentwo",8208,"i",105,"iacute",237,"iacyrillic",1103,"ibengali",2439,"ibopomofo",12583,"ibreve",301,"icaron",464,"icircle",9432,"icircumflex",238,"icyrillic",1110,"idblgrave",521,"ideographearthcircle",12943,"ideographfirecircle",12939,"ideographicallianceparen",12863,"ideographiccallparen",12858,"ideographiccentrecircle",12965,"ideographicclose",12294,"ideographiccomma",12289,"ideographiccommaleft",65380,"ideographiccongratulationparen",12855,"ideographiccorrectcircle",12963,"ideographicearthparen",12847,"ideographicenterpriseparen",12861,"ideographicexcellentcircle",12957,"ideographicfestivalparen",12864,"ideographicfinancialcircle",12950,"ideographicfinancialparen",12854,"ideographicfireparen",12843,"ideographichaveparen",12850,"ideographichighcircle",12964,"ideographiciterationmark",12293,"ideographiclaborcircle",12952,"ideographiclaborparen",12856,"ideographicleftcircle",12967,"ideographiclowcircle",12966,"ideographicmedicinecircle",12969,"ideographicmetalparen",12846,"ideographicmoonparen",12842,"ideographicnameparen",12852,"ideographicperiod",12290,"ideographicprintcircle",12958,"ideographicreachparen",12867,"ideographicrepresentparen",12857,"ideographicresourceparen",12862,"ideographicrightcircle",12968,"ideographicsecretcircle",12953,"ideographicselfparen",12866,"ideographicsocietyparen",12851,"ideographicspace",12288,"ideographicspecialparen",12853,"ideographicstockparen",12849,"ideographicstudyparen",12859,"ideographicsunparen",12848,"ideographicsuperviseparen",12860,"ideographicwaterparen",12844,"ideographicwoodparen",12845,"ideographiczero",12295,"ideographmetalcircle",12942,"ideographmooncircle",12938,"ideographnamecircle",12948,"ideographsuncircle",12944,"ideographwatercircle",12940,"ideographwoodcircle",12941,"ideva",2311,"idieresis",239,"idieresisacute",7727,"idieresiscyrillic",1253,"idotbelow",7883,"iebrevecyrillic",1239,"iecyrillic",1077,"ieungacirclekorean",12917,"ieungaparenkorean",12821,"ieungcirclekorean",12903,"ieungkorean",12615,"ieungparenkorean",12807,"igrave",236,"igujarati",2695,"igurmukhi",2567,"ihiragana",12356,"ihookabove",7881,"iibengali",2440,"iicyrillic",1080,"iideva",2312,"iigujarati",2696,"iigurmukhi",2568,"iimatragurmukhi",2624,"iinvertedbreve",523,"iishortcyrillic",1081,"iivowelsignbengali",2496,"iivowelsigndeva",2368,"iivowelsigngujarati",2752,"ij",307,"ikatakana",12452,"ikatakanahalfwidth",65394,"ikorean",12643,"ilde",732,"iluyhebrew",1452,"imacron",299,"imacroncyrillic",1251,"imageorapproximatelyequal",8787,"imatragurmukhi",2623,"imonospace",65353,"increment",8710,"infinity",8734,"iniarmenian",1387,"integral",8747,"integralbottom",8993,"integralbt",8993,"integralex",63733,"integraltop",8992,"integraltp",8992,"intersection",8745,"intisquare",13061,"invbullet",9688,"invcircle",9689,"invsmileface",9787,"iocyrillic",1105,"iogonek",303,"iota",953,"iotadieresis",970,"iotadieresistonos",912,"iotalatin",617,"iotatonos",943,"iparen",9380,"irigurmukhi",2674,"ismallhiragana",12355,"ismallkatakana",12451,"ismallkatakanahalfwidth",65384,"issharbengali",2554,"istroke",616,"isuperior",63213,"iterationhiragana",12445,"iterationkatakana",12541,"itilde",297,"itildebelow",7725,"iubopomofo",12585,"iucyrillic",1102,"ivowelsignbengali",2495,"ivowelsigndeva",2367,"ivowelsigngujarati",2751,"izhitsacyrillic",1141,"izhitsadblgravecyrillic",1143,"j",106,"jaarmenian",1393,"jabengali",2460,"jadeva",2332,"jagujarati",2716,"jagurmukhi",2588,"jbopomofo",12560,"jcaron",496,"jcircle",9433,"jcircumflex",309,"jcrossedtail",669,"jdotlessstroke",607,"jecyrillic",1112,"jeemarabic",1580,"jeemfinalarabic",65182,"jeeminitialarabic",65183,"jeemmedialarabic",65184,"jeharabic",1688,"jehfinalarabic",64395,"jhabengali",2461,"jhadeva",2333,"jhagujarati",2717,"jhagurmukhi",2589,"jheharmenian",1403,"jis",12292,"jmonospace",65354,"jparen",9381,"jsuperior",690,"k",107,"kabashkircyrillic",1185,"kabengali",2453,"kacute",7729,"kacyrillic",1082,"kadescendercyrillic",1179,"kadeva",2325,"kaf",1499,"kafarabic",1603,"kafdagesh",64315,"kafdageshhebrew",64315,"kaffinalarabic",65242,"kafhebrew",1499,"kafinitialarabic",65243,"kafmedialarabic",65244,"kafrafehebrew",64333,"kagujarati",2709,"kagurmukhi",2581,"kahiragana",12363,"kahookcyrillic",1220,"kakatakana",12459,"kakatakanahalfwidth",65398,"kappa",954,"kappasymbolgreek",1008,"kapyeounmieumkorean",12657,"kapyeounphieuphkorean",12676,"kapyeounpieupkorean",12664,"kapyeounssangpieupkorean",12665,"karoriisquare",13069,"kashidaautoarabic",1600,"kashidaautonosidebearingarabic",1600,"kasmallkatakana",12533,"kasquare",13188,"kasraarabic",1616,"kasratanarabic",1613,"kastrokecyrillic",1183,"katahiraprolongmarkhalfwidth",65392,"kaverticalstrokecyrillic",1181,"kbopomofo",12558,"kcalsquare",13193,"kcaron",489,"kcedilla",311,"kcircle",9434,"kcommaaccent",311,"kdotbelow",7731,"keharmenian",1412,"kehiragana",12369,"kekatakana",12465,"kekatakanahalfwidth",65401,"kenarmenian",1391,"kesmallkatakana",12534,"kgreenlandic",312,"khabengali",2454,"khacyrillic",1093,"khadeva",2326,"khagujarati",2710,"khagurmukhi",2582,"khaharabic",1582,"khahfinalarabic",65190,"khahinitialarabic",65191,"khahmedialarabic",65192,"kheicoptic",999,"khhadeva",2393,"khhagurmukhi",2649,"khieukhacirclekorean",12920,"khieukhaparenkorean",12824,"khieukhcirclekorean",12906,"khieukhkorean",12619,"khieukhparenkorean",12810,"khokhaithai",3586,"khokhonthai",3589,"khokhuatthai",3587,"khokhwaithai",3588,"khomutthai",3675,"khook",409,"khorakhangthai",3590,"khzsquare",13201,"kihiragana",12365,"kikatakana",12461,"kikatakanahalfwidth",65399,"kiroguramusquare",13077,"kiromeetorusquare",13078,"kirosquare",13076,"kiyeokacirclekorean",12910,"kiyeokaparenkorean",12814,"kiyeokcirclekorean",12896,"kiyeokkorean",12593,"kiyeokparenkorean",12800,"kiyeoksioskorean",12595,"kjecyrillic",1116,"klinebelow",7733,"klsquare",13208,"kmcubedsquare",13222,"kmonospace",65355,"kmsquaredsquare",13218,"kohiragana",12371,"kohmsquare",13248,"kokaithai",3585,"kokatakana",12467,"kokatakanahalfwidth",65402,"kooposquare",13086,"koppacyrillic",1153,"koreanstandardsymbol",12927,"koroniscmb",835,"kparen",9382,"kpasquare",13226,"ksicyrillic",1135,"ktsquare",13263,"kturned",670,"kuhiragana",12367,"kukatakana",12463,"kukatakanahalfwidth",65400,"kvsquare",13240,"kwsquare",13246,"l",108,"labengali",2482,"lacute",314,"ladeva",2354,"lagujarati",2738,"lagurmukhi",2610,"lakkhangyaothai",3653,"lamaleffinalarabic",65276,"lamalefhamzaabovefinalarabic",65272,"lamalefhamzaaboveisolatedarabic",65271,"lamalefhamzabelowfinalarabic",65274,"lamalefhamzabelowisolatedarabic",65273,"lamalefisolatedarabic",65275,"lamalefmaddaabovefinalarabic",65270,"lamalefmaddaaboveisolatedarabic",65269,"lamarabic",1604,"lambda",955,"lambdastroke",411,"lamed",1500,"lameddagesh",64316,"lameddageshhebrew",64316,"lamedhebrew",1500,"lamfinalarabic",65246,"lamhahinitialarabic",64714,"laminitialarabic",65247,"lamjeeminitialarabic",64713,"lamkhahinitialarabic",64715,"lamlamhehisolatedarabic",65010,"lammedialarabic",65248,"lammeemhahinitialarabic",64904,"lammeeminitialarabic",64716,"largecircle",9711,"lbar",410,"lbelt",620,"lbopomofo",12556,"lcaron",318,"lcedilla",316,"lcircle",9435,"lcircumflexbelow",7741,"lcommaaccent",316,"ldot",320,"ldotaccent",320,"ldotbelow",7735,"ldotbelowmacron",7737,"leftangleabovecmb",794,"lefttackbelowcmb",792,"less",60,"lessequal",8804,"lessequalorgreater",8922,"lessmonospace",65308,"lessorequivalent",8818,"lessorgreater",8822,"lessoverequal",8806,"lesssmall",65124,"lezh",622,"lfblock",9612,"lhookretroflex",621,"lira",8356,"liwnarmenian",1388,"lj",457,"ljecyrillic",1113,"ll",63168,"lladeva",2355,"llagujarati",2739,"llinebelow",7739,"llladeva",2356,"llvocalicbengali",2529,"llvocalicdeva",2401,"llvocalicvowelsignbengali",2531,"llvocalicvowelsigndeva",2403,"lmiddletilde",619,"lmonospace",65356,"lmsquare",13264,"lochulathai",3628,"logicaland",8743,"logicalnot",172,"logicalnotreversed",8976,"logicalor",8744,"lolingthai",3621,"longs",383,"lowlinecenterline",65102,"lowlinecmb",818,"lowlinedashed",65101,"lozenge",9674,"lparen",9383,"lslash",322,"lsquare",8467,"lsuperior",63214,"ltshade",9617,"luthai",3622,"lvocalicbengali",2444,"lvocalicdeva",2316,"lvocalicvowelsignbengali",2530,"lvocalicvowelsigndeva",2402,"lxsquare",13267,"m",109,"mabengali",2478,"macron",175,"macronbelowcmb",817,"macroncmb",772,"macronlowmod",717,"macronmonospace",65507,"macute",7743,"madeva",2350,"magujarati",2734,"magurmukhi",2606,"mahapakhhebrew",1444,"mahapakhlefthebrew",1444,"mahiragana",12414,"maichattawalowleftthai",63637,"maichattawalowrightthai",63636,"maichattawathai",3659,"maichattawaupperleftthai",63635,"maieklowleftthai",63628,"maieklowrightthai",63627,"maiekthai",3656,"maiekupperleftthai",63626,"maihanakatleftthai",63620,"maihanakatthai",3633,"maitaikhuleftthai",63625,"maitaikhuthai",3655,"maitholowleftthai",63631,"maitholowrightthai",63630,"maithothai",3657,"maithoupperleftthai",63629,"maitrilowleftthai",63634,"maitrilowrightthai",63633,"maitrithai",3658,"maitriupperleftthai",63632,"maiyamokthai",3654,"makatakana",12510,"makatakanahalfwidth",65423,"male",9794,"mansyonsquare",13127,"maqafhebrew",1470,"mars",9794,"masoracirclehebrew",1455,"masquare",13187,"mbopomofo",12551,"mbsquare",13268,"mcircle",9436,"mcubedsquare",13221,"mdotaccent",7745,"mdotbelow",7747,"meemarabic",1605,"meemfinalarabic",65250,"meeminitialarabic",65251,"meemmedialarabic",65252,"meemmeeminitialarabic",64721,"meemmeemisolatedarabic",64584,"meetorusquare",13133,"mehiragana",12417,"meizierasquare",13182,"mekatakana",12513,"mekatakanahalfwidth",65426,"mem",1502,"memdagesh",64318,"memdageshhebrew",64318,"memhebrew",1502,"menarmenian",1396,"merkhahebrew",1445,"merkhakefulahebrew",1446,"merkhakefulalefthebrew",1446,"merkhalefthebrew",1445,"mhook",625,"mhzsquare",13202,"middledotkatakanahalfwidth",65381,"middot",183,"mieumacirclekorean",12914,"mieumaparenkorean",12818,"mieumcirclekorean",12900,"mieumkorean",12609,"mieumpansioskorean",12656,"mieumparenkorean",12804,"mieumpieupkorean",12654,"mieumsioskorean",12655,"mihiragana",12415,"mikatakana",12511,"mikatakanahalfwidth",65424,"minus",8722,"minusbelowcmb",800,"minuscircle",8854,"minusmod",727,"minusplus",8723,"minute",8242,"miribaarusquare",13130,"mirisquare",13129,"mlonglegturned",624,"mlsquare",13206,"mmcubedsquare",13219,"mmonospace",65357,"mmsquaredsquare",13215,"mohiragana",12418,"mohmsquare",13249,"mokatakana",12514,"mokatakanahalfwidth",65427,"molsquare",13270,"momathai",3617,"moverssquare",13223,"moverssquaredsquare",13224,"mparen",9384,"mpasquare",13227,"mssquare",13235,"msuperior",63215,"mturned",623,"mu",181,"mu1",181,"muasquare",13186,"muchgreater",8811,"muchless",8810,"mufsquare",13196,"mugreek",956,"mugsquare",13197,"muhiragana",12416,"mukatakana",12512,"mukatakanahalfwidth",65425,"mulsquare",13205,"multiply",215,"mumsquare",13211,"munahhebrew",1443,"munahlefthebrew",1443,"musicalnote",9834,"musicalnotedbl",9835,"musicflatsign",9837,"musicsharpsign",9839,"mussquare",13234,"muvsquare",13238,"muwsquare",13244,"mvmegasquare",13241,"mvsquare",13239,"mwmegasquare",13247,"mwsquare",13245,"n",110,"nabengali",2472,"nabla",8711,"nacute",324,"nadeva",2344,"nagujarati",2728,"nagurmukhi",2600,"nahiragana",12394,"nakatakana",12490,"nakatakanahalfwidth",65413,"napostrophe",329,"nasquare",13185,"nbopomofo",12555,"nbspace",160,"ncaron",328,"ncedilla",326,"ncircle",9437,"ncircumflexbelow",7755,"ncommaaccent",326,"ndotaccent",7749,"ndotbelow",7751,"nehiragana",12397,"nekatakana",12493,"nekatakanahalfwidth",65416,"newsheqelsign",8362,"nfsquare",13195,"ngabengali",2457,"ngadeva",2329,"ngagujarati",2713,"ngagurmukhi",2585,"ngonguthai",3591,"nhiragana",12435,"nhookleft",626,"nhookretroflex",627,"nieunacirclekorean",12911,"nieunaparenkorean",12815,"nieuncieuckorean",12597,"nieuncirclekorean",12897,"nieunhieuhkorean",12598,"nieunkorean",12596,"nieunpansioskorean",12648,"nieunparenkorean",12801,"nieunsioskorean",12647,"nieuntikeutkorean",12646,"nihiragana",12395,"nikatakana",12491,"nikatakanahalfwidth",65414,"nikhahitleftthai",63641,"nikhahitthai",3661,"nine",57,"ninearabic",1641,"ninebengali",2543,"ninecircle",9320,"ninecircleinversesansserif",10130,"ninedeva",2415,"ninegujarati",2799,"ninegurmukhi",2671,"ninehackarabic",1641,"ninehangzhou",12329,"nineideographicparen",12840,"nineinferior",8329,"ninemonospace",65305,"nineoldstyle",63289,"nineparen",9340,"nineperiod",9360,"ninepersian",1785,"nineroman",8568,"ninesuperior",8313,"nineteencircle",9330,"nineteenparen",9350,"nineteenperiod",9370,"ninethai",3673,"nj",460,"njecyrillic",1114,"nkatakana",12531,"nkatakanahalfwidth",65437,"nlegrightlong",414,"nlinebelow",7753,"nmonospace",65358,"nmsquare",13210,"nnabengali",2467,"nnadeva",2339,"nnagujarati",2723,"nnagurmukhi",2595,"nnnadeva",2345,"nohiragana",12398,"nokatakana",12494,"nokatakanahalfwidth",65417,"nonbreakingspace",160,"nonenthai",3603,"nonuthai",3609,"noonarabic",1606,"noonfinalarabic",65254,"noonghunnaarabic",1722,"noonghunnafinalarabic",64415,"nooninitialarabic",65255,"noonjeeminitialarabic",64722,"noonjeemisolatedarabic",64587,"noonmedialarabic",65256,"noonmeeminitialarabic",64725,"noonmeemisolatedarabic",64590,"noonnoonfinalarabic",64653,"notcontains",8716,"notelement",8713,"notelementof",8713,"notequal",8800,"notgreater",8815,"notgreaternorequal",8817,"notgreaternorless",8825,"notidentical",8802,"notless",8814,"notlessnorequal",8816,"notparallel",8742,"notprecedes",8832,"notsubset",8836,"notsucceeds",8833,"notsuperset",8837,"nowarmenian",1398,"nparen",9385,"nssquare",13233,"nsuperior",8319,"ntilde",241,"nu",957,"nuhiragana",12396,"nukatakana",12492,"nukatakanahalfwidth",65415,"nuktabengali",2492,"nuktadeva",2364,"nuktagujarati",2748,"nuktagurmukhi",2620,"numbersign",35,"numbersignmonospace",65283,"numbersignsmall",65119,"numeralsigngreek",884,"numeralsignlowergreek",885,"numero",8470,"nun",1504,"nundagesh",64320,"nundageshhebrew",64320,"nunhebrew",1504,"nvsquare",13237,"nwsquare",13243,"nyabengali",2462,"nyadeva",2334,"nyagujarati",2718,"nyagurmukhi",2590,"o",111,"oacute",243,"oangthai",3629,"obarred",629,"obarredcyrillic",1257,"obarreddieresiscyrillic",1259,"obengali",2451,"obopomofo",12571,"obreve",335,"ocandradeva",2321,"ocandragujarati",2705,"ocandravowelsigndeva",2377,"ocandravowelsigngujarati",2761,"ocaron",466,"ocircle",9438,"ocircumflex",244,"ocircumflexacute",7889,"ocircumflexdotbelow",7897,"ocircumflexgrave",7891,"ocircumflexhookabove",7893,"ocircumflextilde",7895,"ocyrillic",1086,"odblacute",337,"odblgrave",525,"odeva",2323,"odieresis",246,"odieresiscyrillic",1255,"odotbelow",7885,"oe",339,"oekorean",12634,"ogonek",731,"ogonekcmb",808,"ograve",242,"ogujarati",2707,"oharmenian",1413,"ohiragana",12362,"ohookabove",7887,"ohorn",417,"ohornacute",7899,"ohorndotbelow",7907,"ohorngrave",7901,"ohornhookabove",7903,"ohorntilde",7905,"ohungarumlaut",337,"oi",419,"oinvertedbreve",527,"okatakana",12458,"okatakanahalfwidth",65397,"okorean",12631,"olehebrew",1451,"omacron",333,"omacronacute",7763,"omacrongrave",7761,"omdeva",2384,"omega",969,"omega1",982,"omegacyrillic",1121,"omegalatinclosed",631,"omegaroundcyrillic",1147,"omegatitlocyrillic",1149,"omegatonos",974,"omgujarati",2768,"omicron",959,"omicrontonos",972,"omonospace",65359,"one",49,"onearabic",1633,"onebengali",2535,"onecircle",9312,"onecircleinversesansserif",10122,"onedeva",2407,"onedotenleader",8228,"oneeighth",8539,"onefitted",63196,"onegujarati",2791,"onegurmukhi",2663,"onehackarabic",1633,"onehalf",189,"onehangzhou",12321,"oneideographicparen",12832,"oneinferior",8321,"onemonospace",65297,"onenumeratorbengali",2548,"oneoldstyle",63281,"oneparen",9332,"oneperiod",9352,"onepersian",1777,"onequarter",188,"oneroman",8560,"onesuperior",185,"onethai",3665,"onethird",8531,"oogonek",491,"oogonekmacron",493,"oogurmukhi",2579,"oomatragurmukhi",2635,"oopen",596,"oparen",9386,"openbullet",9702,"option",8997,"ordfeminine",170,"ordmasculine",186,"orthogonal",8735,"oshortdeva",2322,"oshortvowelsigndeva",2378,"oslash",248,"oslashacute",511,"osmallhiragana",12361,"osmallkatakana",12457,"osmallkatakanahalfwidth",65387,"ostrokeacute",511,"osuperior",63216,"otcyrillic",1151,"otilde",245,"otildeacute",7757,"otildedieresis",7759,"oubopomofo",12577,"overline",8254,"overlinecenterline",65098,"overlinecmb",773,"overlinedashed",65097,"overlinedblwavy",65100,"overlinewavy",65099,"overscore",175,"ovowelsignbengali",2507,"ovowelsigndeva",2379,"ovowelsigngujarati",2763,"p",112,"paampssquare",13184,"paasentosquare",13099,"pabengali",2474,"pacute",7765,"padeva",2346,"pagedown",8671,"pageup",8670,"pagujarati",2730,"pagurmukhi",2602,"pahiragana",12401,"paiyannoithai",3631,"pakatakana",12497,"palatalizationcyrilliccmb",1156,"palochkacyrillic",1216,"pansioskorean",12671,"paragraph",182,"parallel",8741,"parenleft",40,"parenleftaltonearabic",64830,"parenleftbt",63725,"parenleftex",63724,"parenleftinferior",8333,"parenleftmonospace",65288,"parenleftsmall",65113,"parenleftsuperior",8317,"parenlefttp",63723,"parenleftvertical",65077,"parenright",41,"parenrightaltonearabic",64831,"parenrightbt",63736,"parenrightex",63735,"parenrightinferior",8334,"parenrightmonospace",65289,"parenrightsmall",65114,"parenrightsuperior",8318,"parenrighttp",63734,"parenrightvertical",65078,"partialdiff",8706,"paseqhebrew",1472,"pashtahebrew",1433,"pasquare",13225,"patah",1463,"patah11",1463,"patah1d",1463,"patah2a",1463,"patahhebrew",1463,"patahnarrowhebrew",1463,"patahquarterhebrew",1463,"patahwidehebrew",1463,"pazerhebrew",1441,"pbopomofo",12550,"pcircle",9439,"pdotaccent",7767,"pe",1508,"pecyrillic",1087,"pedagesh",64324,"pedageshhebrew",64324,"peezisquare",13115,"pefinaldageshhebrew",64323,"peharabic",1662,"peharmenian",1402,"pehebrew",1508,"pehfinalarabic",64343,"pehinitialarabic",64344,"pehiragana",12410,"pehmedialarabic",64345,"pekatakana",12506,"pemiddlehookcyrillic",1191,"perafehebrew",64334,"percent",37,"percentarabic",1642,"percentmonospace",65285,"percentsmall",65130,"period",46,"periodarmenian",1417,"periodcentered",183,"periodhalfwidth",65377,"periodinferior",63207,"periodmonospace",65294,"periodsmall",65106,"periodsuperior",63208,"perispomenigreekcmb",834,"perpendicular",8869,"perthousand",8240,"peseta",8359,"pfsquare",13194,"phabengali",2475,"phadeva",2347,"phagujarati",2731,"phagurmukhi",2603,"phi",966,"phi1",981,"phieuphacirclekorean",12922,"phieuphaparenkorean",12826,"phieuphcirclekorean",12908,"phieuphkorean",12621,"phieuphparenkorean",12812,"philatin",632,"phinthuthai",3642,"phisymbolgreek",981,"phook",421,"phophanthai",3614,"phophungthai",3612,"phosamphaothai",3616,"pi",960,"pieupacirclekorean",12915,"pieupaparenkorean",12819,"pieupcieuckorean",12662,"pieupcirclekorean",12901,"pieupkiyeokkorean",12658,"pieupkorean",12610,"pieupparenkorean",12805,"pieupsioskiyeokkorean",12660,"pieupsioskorean",12612,"pieupsiostikeutkorean",12661,"pieupthieuthkorean",12663,"pieuptikeutkorean",12659,"pihiragana",12404,"pikatakana",12500,"pisymbolgreek",982,"piwrarmenian",1411,"plus",43,"plusbelowcmb",799,"pluscircle",8853,"plusminus",177,"plusmod",726,"plusmonospace",65291,"plussmall",65122,"plussuperior",8314,"pmonospace",65360,"pmsquare",13272,"pohiragana",12413,"pointingindexdownwhite",9759,"pointingindexleftwhite",9756,"pointingindexrightwhite",9758,"pointingindexupwhite",9757,"pokatakana",12509,"poplathai",3611,"postalmark",12306,"postalmarkface",12320,"pparen",9387,"precedes",8826,"prescription",8478,"primemod",697,"primereversed",8245,"product",8719,"projective",8965,"prolongedkana",12540,"propellor",8984,"propersubset",8834,"propersuperset",8835,"proportion",8759,"proportional",8733,"psi",968,"psicyrillic",1137,"psilipneumatacyrilliccmb",1158,"pssquare",13232,"puhiragana",12407,"pukatakana",12503,"pvsquare",13236,"pwsquare",13242,"q",113,"qadeva",2392,"qadmahebrew",1448,"qafarabic",1602,"qaffinalarabic",65238,"qafinitialarabic",65239,"qafmedialarabic",65240,"qamats",1464,"qamats10",1464,"qamats1a",1464,"qamats1c",1464,"qamats27",1464,"qamats29",1464,"qamats33",1464,"qamatsde",1464,"qamatshebrew",1464,"qamatsnarrowhebrew",1464,"qamatsqatanhebrew",1464,"qamatsqatannarrowhebrew",1464,"qamatsqatanquarterhebrew",1464,"qamatsqatanwidehebrew",1464,"qamatsquarterhebrew",1464,"qamatswidehebrew",1464,"qarneyparahebrew",1439,"qbopomofo",12561,"qcircle",9440,"qhook",672,"qmonospace",65361,"qof",1511,"qofdagesh",64327,"qofdageshhebrew",64327,"qofhebrew",1511,"qparen",9388,"quarternote",9833,"qubuts",1467,"qubuts18",1467,"qubuts25",1467,"qubuts31",1467,"qubutshebrew",1467,"qubutsnarrowhebrew",1467,"qubutsquarterhebrew",1467,"qubutswidehebrew",1467,"question",63,"questionarabic",1567,"questionarmenian",1374,"questiondown",191,"questiondownsmall",63423,"questiongreek",894,"questionmonospace",65311,"questionsmall",63295,"quotedbl",34,"quotedblbase",8222,"quotedblleft",8220,"quotedblmonospace",65282,"quotedblprime",12318,"quotedblprimereversed",12317,"quotedblright",8221,"quoteleft",8216,"quoteleftreversed",8219,"quotereversed",8219,"quoteright",8217,"quoterightn",329,"quotesinglbase",8218,"quotesingle",39,"quotesinglemonospace",65287,"r",114,"raarmenian",1404,"rabengali",2480,"racute",341,"radeva",2352,"radical",8730,"radicalex",63717,"radoverssquare",13230,"radoverssquaredsquare",13231,"radsquare",13229,"rafe",1471,"rafehebrew",1471,"ragujarati",2736,"ragurmukhi",2608,"rahiragana",12425,"rakatakana",12521,"rakatakanahalfwidth",65431,"ralowerdiagonalbengali",2545,"ramiddlediagonalbengali",2544,"ramshorn",612,"ratio",8758,"rbopomofo",12566,"rcaron",345,"rcedilla",343,"rcircle",9441,"rcommaaccent",343,"rdblgrave",529,"rdotaccent",7769,"rdotbelow",7771,"rdotbelowmacron",7773,"referencemark",8251,"reflexsubset",8838,"reflexsuperset",8839,"registered",174,"registersans",63720,"registerserif",63194,"reharabic",1585,"reharmenian",1408,"rehfinalarabic",65198,"rehiragana",12428,"rekatakana",12524,"rekatakanahalfwidth",65434,"resh",1512,"reshdageshhebrew",64328,"reshhebrew",1512,"reversedtilde",8765,"reviahebrew",1431,"reviamugrashhebrew",1431,"revlogicalnot",8976,"rfishhook",638,"rfishhookreversed",639,"rhabengali",2525,"rhadeva",2397,"rho",961,"rhook",637,"rhookturned",635,"rhookturnedsuperior",693,"rhosymbolgreek",1009,"rhotichookmod",734,"rieulacirclekorean",12913,"rieulaparenkorean",12817,"rieulcirclekorean",12899,"rieulhieuhkorean",12608,"rieulkiyeokkorean",12602,"rieulkiyeoksioskorean",12649,"rieulkorean",12601,"rieulmieumkorean",12603,"rieulpansioskorean",12652,"rieulparenkorean",12803,"rieulphieuphkorean",12607,"rieulpieupkorean",12604,"rieulpieupsioskorean",12651,"rieulsioskorean",12605,"rieulthieuthkorean",12606,"rieultikeutkorean",12650,"rieulyeorinhieuhkorean",12653,"rightangle",8735,"righttackbelowcmb",793,"righttriangle",8895,"rihiragana",12426,"rikatakana",12522,"rikatakanahalfwidth",65432,"ring",730,"ringbelowcmb",805,"ringcmb",778,"ringhalfleft",703,"ringhalfleftarmenian",1369,"ringhalfleftbelowcmb",796,"ringhalfleftcentered",723,"ringhalfright",702,"ringhalfrightbelowcmb",825,"ringhalfrightcentered",722,"rinvertedbreve",531,"rittorusquare",13137,"rlinebelow",7775,"rlongleg",636,"rlonglegturned",634,"rmonospace",65362,"rohiragana",12429,"rokatakana",12525,"rokatakanahalfwidth",65435,"roruathai",3619,"rparen",9389,"rrabengali",2524,"rradeva",2353,"rragurmukhi",2652,"rreharabic",1681,"rrehfinalarabic",64397,"rrvocalicbengali",2528,"rrvocalicdeva",2400,"rrvocalicgujarati",2784,"rrvocalicvowelsignbengali",2500,"rrvocalicvowelsigndeva",2372,"rrvocalicvowelsigngujarati",2756,"rsuperior",63217,"rtblock",9616,"rturned",633,"rturnedsuperior",692,"ruhiragana",12427,"rukatakana",12523,"rukatakanahalfwidth",65433,"rupeemarkbengali",2546,"rupeesignbengali",2547,"rupiah",63197,"ruthai",3620,"rvocalicbengali",2443,"rvocalicdeva",2315,"rvocalicgujarati",2699,"rvocalicvowelsignbengali",2499,"rvocalicvowelsigndeva",2371,"rvocalicvowelsigngujarati",2755,"s",115,"sabengali",2488,"sacute",347,"sacutedotaccent",7781,"sadarabic",1589,"sadeva",2360,"sadfinalarabic",65210,"sadinitialarabic",65211,"sadmedialarabic",65212,"sagujarati",2744,"sagurmukhi",2616,"sahiragana",12373,"sakatakana",12469,"sakatakanahalfwidth",65403,"sallallahoualayhewasallamarabic",65018,"samekh",1505,"samekhdagesh",64321,"samekhdageshhebrew",64321,"samekhhebrew",1505,"saraaathai",3634,"saraaethai",3649,"saraaimaimalaithai",3652,"saraaimaimuanthai",3651,"saraamthai",3635,"saraathai",3632,"saraethai",3648,"saraiileftthai",63622,"saraiithai",3637,"saraileftthai",63621,"saraithai",3636,"saraothai",3650,"saraueeleftthai",63624,"saraueethai",3639,"saraueleftthai",63623,"sarauethai",3638,"sarauthai",3640,"sarauuthai",3641,"sbopomofo",12569,"scaron",353,"scarondotaccent",7783,"scedilla",351,"schwa",601,"schwacyrillic",1241,"schwadieresiscyrillic",1243,"schwahook",602,"scircle",9442,"scircumflex",349,"scommaaccent",537,"sdotaccent",7777,"sdotbelow",7779,"sdotbelowdotaccent",7785,"seagullbelowcmb",828,"second",8243,"secondtonechinese",714,"section",167,"seenarabic",1587,"seenfinalarabic",65202,"seeninitialarabic",65203,"seenmedialarabic",65204,"segol",1462,"segol13",1462,"segol1f",1462,"segol2c",1462,"segolhebrew",1462,"segolnarrowhebrew",1462,"segolquarterhebrew",1462,"segoltahebrew",1426,"segolwidehebrew",1462,"seharmenian",1405,"sehiragana",12379,"sekatakana",12475,"sekatakanahalfwidth",65406,"semicolon",59,"semicolonarabic",1563,"semicolonmonospace",65307,"semicolonsmall",65108,"semivoicedmarkkana",12444,"semivoicedmarkkanahalfwidth",65439,"sentisquare",13090,"sentosquare",13091,"seven",55,"sevenarabic",1639,"sevenbengali",2541,"sevencircle",9318,"sevencircleinversesansserif",10128,"sevendeva",2413,"seveneighths",8542,"sevengujarati",2797,"sevengurmukhi",2669,"sevenhackarabic",1639,"sevenhangzhou",12327,"sevenideographicparen",12838,"seveninferior",8327,"sevenmonospace",65303,"sevenoldstyle",63287,"sevenparen",9338,"sevenperiod",9358,"sevenpersian",1783,"sevenroman",8566,"sevensuperior",8311,"seventeencircle",9328,"seventeenparen",9348,"seventeenperiod",9368,"seventhai",3671,"sfthyphen",173,"shaarmenian",1399,"shabengali",2486,"shacyrillic",1096,"shaddaarabic",1617,"shaddadammaarabic",64609,"shaddadammatanarabic",64606,"shaddafathaarabic",64608,"shaddakasraarabic",64610,"shaddakasratanarabic",64607,"shade",9618,"shadedark",9619,"shadelight",9617,"shademedium",9618,"shadeva",2358,"shagujarati",2742,"shagurmukhi",2614,"shalshelethebrew",1427,"shbopomofo",12565,"shchacyrillic",1097,"sheenarabic",1588,"sheenfinalarabic",65206,"sheeninitialarabic",65207,"sheenmedialarabic",65208,"sheicoptic",995,"sheqel",8362,"sheqelhebrew",8362,"sheva",1456,"sheva115",1456,"sheva15",1456,"sheva22",1456,"sheva2e",1456,"shevahebrew",1456,"shevanarrowhebrew",1456,"shevaquarterhebrew",1456,"shevawidehebrew",1456,"shhacyrillic",1211,"shimacoptic",1005,"shin",1513,"shindagesh",64329,"shindageshhebrew",64329,"shindageshshindot",64300,"shindageshshindothebrew",64300,"shindageshsindot",64301,"shindageshsindothebrew",64301,"shindothebrew",1473,"shinhebrew",1513,"shinshindot",64298,"shinshindothebrew",64298,"shinsindot",64299,"shinsindothebrew",64299,"shook",642,"sigma",963,"sigma1",962,"sigmafinal",962,"sigmalunatesymbolgreek",1010,"sihiragana",12375,"sikatakana",12471,"sikatakanahalfwidth",65404,"siluqhebrew",1469,"siluqlefthebrew",1469,"similar",8764,"sindothebrew",1474,"siosacirclekorean",12916,"siosaparenkorean",12820,"sioscieuckorean",12670,"sioscirclekorean",12902,"sioskiyeokkorean",12666,"sioskorean",12613,"siosnieunkorean",12667,"siosparenkorean",12806,"siospieupkorean",12669,"siostikeutkorean",12668,"six",54,"sixarabic",1638,"sixbengali",2540,"sixcircle",9317,"sixcircleinversesansserif",10127,"sixdeva",2412,"sixgujarati",2796,"sixgurmukhi",2668,"sixhackarabic",1638,"sixhangzhou",12326,"sixideographicparen",12837,"sixinferior",8326,"sixmonospace",65302,"sixoldstyle",63286,"sixparen",9337,"sixperiod",9357,"sixpersian",1782,"sixroman",8565,"sixsuperior",8310,"sixteencircle",9327,"sixteencurrencydenominatorbengali",2553,"sixteenparen",9347,"sixteenperiod",9367,"sixthai",3670,"slash",47,"slashmonospace",65295,"slong",383,"slongdotaccent",7835,"smileface",9786,"smonospace",65363,"sofpasuqhebrew",1475,"softhyphen",173,"softsigncyrillic",1100,"sohiragana",12381,"sokatakana",12477,"sokatakanahalfwidth",65407,"soliduslongoverlaycmb",824,"solidusshortoverlaycmb",823,"sorusithai",3625,"sosalathai",3624,"sosothai",3595,"sosuathai",3626,"space",32,"spacehackarabic",32,"spade",9824,"spadesuitblack",9824,"spadesuitwhite",9828,"sparen",9390,"squarebelowcmb",827,"squarecc",13252,"squarecm",13213,"squarediagonalcrosshatchfill",9641,"squarehorizontalfill",9636,"squarekg",13199,"squarekm",13214,"squarekmcapital",13262,"squareln",13265,"squarelog",13266,"squaremg",13198,"squaremil",13269,"squaremm",13212,"squaremsquared",13217,"squareorthogonalcrosshatchfill",9638,"squareupperlefttolowerrightfill",9639,"squareupperrighttolowerleftfill",9640,"squareverticalfill",9637,"squarewhitewithsmallblack",9635,"srsquare",13275,"ssabengali",2487,"ssadeva",2359,"ssagujarati",2743,"ssangcieuckorean",12617,"ssanghieuhkorean",12677,"ssangieungkorean",12672,"ssangkiyeokkorean",12594,"ssangnieunkorean",12645,"ssangpieupkorean",12611,"ssangsioskorean",12614,"ssangtikeutkorean",12600,"ssuperior",63218,"sterling",163,"sterlingmonospace",65505,"strokelongoverlaycmb",822,"strokeshortoverlaycmb",821,"subset",8834,"subsetnotequal",8842,"subsetorequal",8838,"succeeds",8827,"suchthat",8715,"suhiragana",12377,"sukatakana",12473,"sukatakanahalfwidth",65405,"sukunarabic",1618,"summation",8721,"sun",9788,"superset",8835,"supersetnotequal",8843,"supersetorequal",8839,"svsquare",13276,"syouwaerasquare",13180,"t",116,"tabengali",2468,"tackdown",8868,"tackleft",8867,"tadeva",2340,"tagujarati",2724,"tagurmukhi",2596,"taharabic",1591,"tahfinalarabic",65218,"tahinitialarabic",65219,"tahiragana",12383,"tahmedialarabic",65220,"taisyouerasquare",13181,"takatakana",12479,"takatakanahalfwidth",65408,"tatweelarabic",1600,"tau",964,"tav",1514,"tavdages",64330,"tavdagesh",64330,"tavdageshhebrew",64330,"tavhebrew",1514,"tbar",359,"tbopomofo",12554,"tcaron",357,"tccurl",680,"tcedilla",355,"tcheharabic",1670,"tchehfinalarabic",64379,"tchehinitialarabic",64380,"tchehmedialarabic",64381,"tcircle",9443,"tcircumflexbelow",7793,"tcommaaccent",355,"tdieresis",7831,"tdotaccent",7787,"tdotbelow",7789,"tecyrillic",1090,"tedescendercyrillic",1197,"teharabic",1578,"tehfinalarabic",65174,"tehhahinitialarabic",64674,"tehhahisolatedarabic",64524,"tehinitialarabic",65175,"tehiragana",12390,"tehjeeminitialarabic",64673,"tehjeemisolatedarabic",64523,"tehmarbutaarabic",1577,"tehmarbutafinalarabic",65172,"tehmedialarabic",65176,"tehmeeminitialarabic",64676,"tehmeemisolatedarabic",64526,"tehnoonfinalarabic",64627,"tekatakana",12486,"tekatakanahalfwidth",65411,"telephone",8481,"telephoneblack",9742,"telishagedolahebrew",1440,"telishaqetanahebrew",1449,"tencircle",9321,"tenideographicparen",12841,"tenparen",9341,"tenperiod",9361,"tenroman",8569,"tesh",679,"tet",1496,"tetdagesh",64312,"tetdageshhebrew",64312,"tethebrew",1496,"tetsecyrillic",1205,"tevirhebrew",1435,"tevirlefthebrew",1435,"thabengali",2469,"thadeva",2341,"thagujarati",2725,"thagurmukhi",2597,"thalarabic",1584,"thalfinalarabic",65196,"thanthakhatlowleftthai",63640,"thanthakhatlowrightthai",63639,"thanthakhatthai",3660,"thanthakhatupperleftthai",63638,"theharabic",1579,"thehfinalarabic",65178,"thehinitialarabic",65179,"thehmedialarabic",65180,"thereexists",8707,"therefore",8756,"theta",952,"theta1",977,"thetasymbolgreek",977,"thieuthacirclekorean",12921,"thieuthaparenkorean",12825,"thieuthcirclekorean",12907,"thieuthkorean",12620,"thieuthparenkorean",12811,"thirteencircle",9324,"thirteenparen",9344,"thirteenperiod",9364,"thonangmonthothai",3601,"thook",429,"thophuthaothai",3602,"thorn",254,"thothahanthai",3607,"thothanthai",3600,"thothongthai",3608,"thothungthai",3606,"thousandcyrillic",1154,"thousandsseparatorarabic",1644,"thousandsseparatorpersian",1644,"three",51,"threearabic",1635,"threebengali",2537,"threecircle",9314,"threecircleinversesansserif",10124,"threedeva",2409,"threeeighths",8540,"threegujarati",2793,"threegurmukhi",2665,"threehackarabic",1635,"threehangzhou",12323,"threeideographicparen",12834,"threeinferior",8323,"threemonospace",65299,"threenumeratorbengali",2550,"threeoldstyle",63283,"threeparen",9334,"threeperiod",9354,"threepersian",1779,"threequarters",190,"threequartersemdash",63198,"threeroman",8562,"threesuperior",179,"threethai",3667,"thzsquare",13204,"tihiragana",12385,"tikatakana",12481,"tikatakanahalfwidth",65409,"tikeutacirclekorean",12912,"tikeutaparenkorean",12816,"tikeutcirclekorean",12898,"tikeutkorean",12599,"tikeutparenkorean",12802,"tilde",732,"tildebelowcmb",816,"tildecmb",771,"tildecomb",771,"tildedoublecmb",864,"tildeoperator",8764,"tildeoverlaycmb",820,"tildeverticalcmb",830,"timescircle",8855,"tipehahebrew",1430,"tipehalefthebrew",1430,"tippigurmukhi",2672,"titlocyrilliccmb",1155,"tiwnarmenian",1407,"tlinebelow",7791,"tmonospace",65364,"toarmenian",1385,"tohiragana",12392,"tokatakana",12488,"tokatakanahalfwidth",65412,"tonebarextrahighmod",741,"tonebarextralowmod",745,"tonebarhighmod",742,"tonebarlowmod",744,"tonebarmidmod",743,"tonefive",445,"tonesix",389,"tonetwo",424,"tonos",900,"tonsquare",13095,"topatakthai",3599,"tortoiseshellbracketleft",12308,"tortoiseshellbracketleftsmall",65117,"tortoiseshellbracketleftvertical",65081,"tortoiseshellbracketright",12309,"tortoiseshellbracketrightsmall",65118,"tortoiseshellbracketrightvertical",65082,"totaothai",3605,"tpalatalhook",427,"tparen",9391,"trademark",8482,"trademarksans",63722,"trademarkserif",63195,"tretroflexhook",648,"triagdn",9660,"triaglf",9668,"triagrt",9658,"triagup",9650,"ts",678,"tsadi",1510,"tsadidagesh",64326,"tsadidageshhebrew",64326,"tsadihebrew",1510,"tsecyrillic",1094,"tsere",1461,"tsere12",1461,"tsere1e",1461,"tsere2b",1461,"tserehebrew",1461,"tserenarrowhebrew",1461,"tserequarterhebrew",1461,"tserewidehebrew",1461,"tshecyrillic",1115,"tsuperior",63219,"ttabengali",2463,"ttadeva",2335,"ttagujarati",2719,"ttagurmukhi",2591,"tteharabic",1657,"ttehfinalarabic",64359,"ttehinitialarabic",64360,"ttehmedialarabic",64361,"tthabengali",2464,"tthadeva",2336,"tthagujarati",2720,"tthagurmukhi",2592,"tturned",647,"tuhiragana",12388,"tukatakana",12484,"tukatakanahalfwidth",65410,"tusmallhiragana",12387,"tusmallkatakana",12483,"tusmallkatakanahalfwidth",65391,"twelvecircle",9323,"twelveparen",9343,"twelveperiod",9363,"twelveroman",8571,"twentycircle",9331,"twentyhangzhou",21316,"twentyparen",9351,"twentyperiod",9371,"two",50,"twoarabic",1634,"twobengali",2536,"twocircle",9313,"twocircleinversesansserif",10123,"twodeva",2408,"twodotenleader",8229,"twodotleader",8229,"twodotleadervertical",65072,"twogujarati",2792,"twogurmukhi",2664,"twohackarabic",1634,"twohangzhou",12322,"twoideographicparen",12833,"twoinferior",8322,"twomonospace",65298,"twonumeratorbengali",2549,"twooldstyle",63282,"twoparen",9333,"twoperiod",9353,"twopersian",1778,"tworoman",8561,"twostroke",443,"twosuperior",178,"twothai",3666,"twothirds",8532,"u",117,"uacute",250,"ubar",649,"ubengali",2441,"ubopomofo",12584,"ubreve",365,"ucaron",468,"ucircle",9444,"ucircumflex",251,"ucircumflexbelow",7799,"ucyrillic",1091,"udattadeva",2385,"udblacute",369,"udblgrave",533,"udeva",2313,"udieresis",252,"udieresisacute",472,"udieresisbelow",7795,"udieresiscaron",474,"udieresiscyrillic",1265,"udieresisgrave",476,"udieresismacron",470,"udotbelow",7909,"ugrave",249,"ugujarati",2697,"ugurmukhi",2569,"uhiragana",12358,"uhookabove",7911,"uhorn",432,"uhornacute",7913,"uhorndotbelow",7921,"uhorngrave",7915,"uhornhookabove",7917,"uhorntilde",7919,"uhungarumlaut",369,"uhungarumlautcyrillic",1267,"uinvertedbreve",535,"ukatakana",12454,"ukatakanahalfwidth",65395,"ukcyrillic",1145,"ukorean",12636,"umacron",363,"umacroncyrillic",1263,"umacrondieresis",7803,"umatragurmukhi",2625,"umonospace",65365,"underscore",95,"underscoredbl",8215,"underscoremonospace",65343,"underscorevertical",65075,"underscorewavy",65103,"union",8746,"universal",8704,"uogonek",371,"uparen",9392,"upblock",9600,"upperdothebrew",1476,"upsilon",965,"upsilondieresis",971,"upsilondieresistonos",944,"upsilonlatin",650,"upsilontonos",973,"uptackbelowcmb",797,"uptackmod",724,"uragurmukhi",2675,"uring",367,"ushortcyrillic",1118,"usmallhiragana",12357,"usmallkatakana",12453,"usmallkatakanahalfwidth",65385,"ustraightcyrillic",1199,"ustraightstrokecyrillic",1201,"utilde",361,"utildeacute",7801,"utildebelow",7797,"uubengali",2442,"uudeva",2314,"uugujarati",2698,"uugurmukhi",2570,"uumatragurmukhi",2626,"uuvowelsignbengali",2498,"uuvowelsigndeva",2370,"uuvowelsigngujarati",2754,"uvowelsignbengali",2497,"uvowelsigndeva",2369,"uvowelsigngujarati",2753,"v",118,"vadeva",2357,"vagujarati",2741,"vagurmukhi",2613,"vakatakana",12535,"vav",1493,"vavdagesh",64309,"vavdagesh65",64309,"vavdageshhebrew",64309,"vavhebrew",1493,"vavholam",64331,"vavholamhebrew",64331,"vavvavhebrew",1520,"vavyodhebrew",1521,"vcircle",9445,"vdotbelow",7807,"vecyrillic",1074,"veharabic",1700,"vehfinalarabic",64363,"vehinitialarabic",64364,"vehmedialarabic",64365,"vekatakana",12537,"venus",9792,"verticalbar",124,"verticallineabovecmb",781,"verticallinebelowcmb",809,"verticallinelowmod",716,"verticallinemod",712,"vewarmenian",1406,"vhook",651,"vikatakana",12536,"viramabengali",2509,"viramadeva",2381,"viramagujarati",2765,"visargabengali",2435,"visargadeva",2307,"visargagujarati",2691,"vmonospace",65366,"voarmenian",1400,"voicediterationhiragana",12446,"voicediterationkatakana",12542,"voicedmarkkana",12443,"voicedmarkkanahalfwidth",65438,"vokatakana",12538,"vparen",9393,"vtilde",7805,"vturned",652,"vuhiragana",12436,"vukatakana",12532,"w",119,"wacute",7811,"waekorean",12633,"wahiragana",12431,"wakatakana",12527,"wakatakanahalfwidth",65436,"wakorean",12632,"wasmallhiragana",12430,"wasmallkatakana",12526,"wattosquare",13143,"wavedash",12316,"wavyunderscorevertical",65076,"wawarabic",1608,"wawfinalarabic",65262,"wawhamzaabovearabic",1572,"wawhamzaabovefinalarabic",65158,"wbsquare",13277,"wcircle",9446,"wcircumflex",373,"wdieresis",7813,"wdotaccent",7815,"wdotbelow",7817,"wehiragana",12433,"weierstrass",8472,"wekatakana",12529,"wekorean",12638,"weokorean",12637,"wgrave",7809,"whitebullet",9702,"whitecircle",9675,"whitecircleinverse",9689,"whitecornerbracketleft",12302,"whitecornerbracketleftvertical",65091,"whitecornerbracketright",12303,"whitecornerbracketrightvertical",65092,"whitediamond",9671,"whitediamondcontainingblacksmalldiamond",9672,"whitedownpointingsmalltriangle",9663,"whitedownpointingtriangle",9661,"whiteleftpointingsmalltriangle",9667,"whiteleftpointingtriangle",9665,"whitelenticularbracketleft",12310,"whitelenticularbracketright",12311,"whiterightpointingsmalltriangle",9657,"whiterightpointingtriangle",9655,"whitesmallsquare",9643,"whitesmilingface",9786,"whitesquare",9633,"whitestar",9734,"whitetelephone",9743,"whitetortoiseshellbracketleft",12312,"whitetortoiseshellbracketright",12313,"whiteuppointingsmalltriangle",9653,"whiteuppointingtriangle",9651,"wihiragana",12432,"wikatakana",12528,"wikorean",12639,"wmonospace",65367,"wohiragana",12434,"wokatakana",12530,"wokatakanahalfwidth",65382,"won",8361,"wonmonospace",65510,"wowaenthai",3623,"wparen",9394,"wring",7832,"wsuperior",695,"wturned",653,"wynn",447,"x",120,"xabovecmb",829,"xbopomofo",12562,"xcircle",9447,"xdieresis",7821,"xdotaccent",7819,"xeharmenian",1389,"xi",958,"xmonospace",65368,"xparen",9395,"xsuperior",739,"y",121,"yaadosquare",13134,"yabengali",2479,"yacute",253,"yadeva",2351,"yaekorean",12626,"yagujarati",2735,"yagurmukhi",2607,"yahiragana",12420,"yakatakana",12516,"yakatakanahalfwidth",65428,"yakorean",12625,"yamakkanthai",3662,"yasmallhiragana",12419,"yasmallkatakana",12515,"yasmallkatakanahalfwidth",65388,"yatcyrillic",1123,"ycircle",9448,"ycircumflex",375,"ydieresis",255,"ydotaccent",7823,"ydotbelow",7925,"yeharabic",1610,"yehbarreearabic",1746,"yehbarreefinalarabic",64431,"yehfinalarabic",65266,"yehhamzaabovearabic",1574,"yehhamzaabovefinalarabic",65162,"yehhamzaaboveinitialarabic",65163,"yehhamzaabovemedialarabic",65164,"yehinitialarabic",65267,"yehmedialarabic",65268,"yehmeeminitialarabic",64733,"yehmeemisolatedarabic",64600,"yehnoonfinalarabic",64660,"yehthreedotsbelowarabic",1745,"yekorean",12630,"yen",165,"yenmonospace",65509,"yeokorean",12629,"yeorinhieuhkorean",12678,"yerahbenyomohebrew",1450,"yerahbenyomolefthebrew",1450,"yericyrillic",1099,"yerudieresiscyrillic",1273,"yesieungkorean",12673,"yesieungpansioskorean",12675,"yesieungsioskorean",12674,"yetivhebrew",1434,"ygrave",7923,"yhook",436,"yhookabove",7927,"yiarmenian",1397,"yicyrillic",1111,"yikorean",12642,"yinyang",9775,"yiwnarmenian",1410,"ymonospace",65369,"yod",1497,"yoddagesh",64313,"yoddageshhebrew",64313,"yodhebrew",1497,"yodyodhebrew",1522,"yodyodpatahhebrew",64287,"yohiragana",12424,"yoikorean",12681,"yokatakana",12520,"yokatakanahalfwidth",65430,"yokorean",12635,"yosmallhiragana",12423,"yosmallkatakana",12519,"yosmallkatakanahalfwidth",65390,"yotgreek",1011,"yoyaekorean",12680,"yoyakorean",12679,"yoyakthai",3618,"yoyingthai",3597,"yparen",9396,"ypogegrammeni",890,"ypogegrammenigreekcmb",837,"yr",422,"yring",7833,"ysuperior",696,"ytilde",7929,"yturned",654,"yuhiragana",12422,"yuikorean",12684,"yukatakana",12518,"yukatakanahalfwidth",65429,"yukorean",12640,"yusbigcyrillic",1131,"yusbigiotifiedcyrillic",1133,"yuslittlecyrillic",1127,"yuslittleiotifiedcyrillic",1129,"yusmallhiragana",12421,"yusmallkatakana",12517,"yusmallkatakanahalfwidth",65389,"yuyekorean",12683,"yuyeokorean",12682,"yyabengali",2527,"yyadeva",2399,"z",122,"zaarmenian",1382,"zacute",378,"zadeva",2395,"zagurmukhi",2651,"zaharabic",1592,"zahfinalarabic",65222,"zahinitialarabic",65223,"zahiragana",12374,"zahmedialarabic",65224,"zainarabic",1586,"zainfinalarabic",65200,"zakatakana",12470,"zaqefgadolhebrew",1429,"zaqefqatanhebrew",1428,"zarqahebrew",1432,"zayin",1494,"zayindagesh",64310,"zayindageshhebrew",64310,"zayinhebrew",1494,"zbopomofo",12567,"zcaron",382,"zcircle",9449,"zcircumflex",7825,"zcurl",657,"zdot",380,"zdotaccent",380,"zdotbelow",7827,"zecyrillic",1079,"zedescendercyrillic",1177,"zedieresiscyrillic",1247,"zehiragana",12380,"zekatakana",12476,"zero",48,"zeroarabic",1632,"zerobengali",2534,"zerodeva",2406,"zerogujarati",2790,"zerogurmukhi",2662,"zerohackarabic",1632,"zeroinferior",8320,"zeromonospace",65296,"zerooldstyle",63280,"zeropersian",1776,"zerosuperior",8304,"zerothai",3664,"zerowidthjoiner",65279,"zerowidthnonjoiner",8204,"zerowidthspace",8203,"zeta",950,"zhbopomofo",12563,"zhearmenian",1386,"zhebrevecyrillic",1218,"zhecyrillic",1078,"zhedescendercyrillic",1175,"zhedieresiscyrillic",1245,"zihiragana",12376,"zikatakana",12472,"zinorhebrew",1454,"zlinebelow",7829,"zmonospace",65370,"zohiragana",12382,"zokatakana",12478,"zparen",9397,"zretroflexhook",656,"zstroke",438,"zuhiragana",12378,"zukatakana",12474,".notdef",0,"angbracketleftbig",9001,"angbracketleftBig",9001,"angbracketleftbigg",9001,"angbracketleftBigg",9001,"angbracketrightBig",9002,"angbracketrightbig",9002,"angbracketrightBigg",9002,"angbracketrightbigg",9002,"arrowhookleft",8618,"arrowhookright",8617,"arrowlefttophalf",8636,"arrowleftbothalf",8637,"arrownortheast",8599,"arrownorthwest",8598,"arrowrighttophalf",8640,"arrowrightbothalf",8641,"arrowsoutheast",8600,"arrowsouthwest",8601,"backslashbig",8726,"backslashBig",8726,"backslashBigg",8726,"backslashbigg",8726,"bardbl",8214,"bracehtipdownleft",65079,"bracehtipdownright",65079,"bracehtipupleft",65080,"bracehtipupright",65080,"braceleftBig",123,"braceleftbig",123,"braceleftbigg",123,"braceleftBigg",123,"bracerightBig",125,"bracerightbig",125,"bracerightbigg",125,"bracerightBigg",125,"bracketleftbig",91,"bracketleftBig",91,"bracketleftbigg",91,"bracketleftBigg",91,"bracketrightBig",93,"bracketrightbig",93,"bracketrightbigg",93,"bracketrightBigg",93,"ceilingleftbig",8968,"ceilingleftBig",8968,"ceilingleftBigg",8968,"ceilingleftbigg",8968,"ceilingrightbig",8969,"ceilingrightBig",8969,"ceilingrightbigg",8969,"ceilingrightBigg",8969,"circledotdisplay",8857,"circledottext",8857,"circlemultiplydisplay",8855,"circlemultiplytext",8855,"circleplusdisplay",8853,"circleplustext",8853,"contintegraldisplay",8750,"contintegraltext",8750,"coproductdisplay",8720,"coproducttext",8720,"floorleftBig",8970,"floorleftbig",8970,"floorleftbigg",8970,"floorleftBigg",8970,"floorrightbig",8971,"floorrightBig",8971,"floorrightBigg",8971,"floorrightbigg",8971,"hatwide",770,"hatwider",770,"hatwidest",770,"intercal",7488,"integraldisplay",8747,"integraltext",8747,"intersectiondisplay",8898,"intersectiontext",8898,"logicalanddisplay",8743,"logicalandtext",8743,"logicalordisplay",8744,"logicalortext",8744,"parenleftBig",40,"parenleftbig",40,"parenleftBigg",40,"parenleftbigg",40,"parenrightBig",41,"parenrightbig",41,"parenrightBigg",41,"parenrightbigg",41,"prime",8242,"productdisplay",8719,"producttext",8719,"radicalbig",8730,"radicalBig",8730,"radicalBigg",8730,"radicalbigg",8730,"radicalbt",8730,"radicaltp",8730,"radicalvertex",8730,"slashbig",47,"slashBig",47,"slashBigg",47,"slashbigg",47,"summationdisplay",8721,"summationtext",8721,"tildewide",732,"tildewider",732,"tildewidest",732,"uniondisplay",8899,"unionmultidisplay",8846,"unionmultitext",8846,"unionsqdisplay",8852,"unionsqtext",8852,"uniontext",8899,"vextenddouble",8741,"vextendsingle",8739]})),i=(0,n.getArrayLookupTableFactory)((function(){return["space",32,"a1",9985,"a2",9986,"a202",9987,"a3",9988,"a4",9742,"a5",9990,"a119",9991,"a118",9992,"a117",9993,"a11",9755,"a12",9758,"a13",9996,"a14",9997,"a15",9998,"a16",9999,"a105",1e4,"a17",10001,"a18",10002,"a19",10003,"a20",10004,"a21",10005,"a22",10006,"a23",10007,"a24",10008,"a25",10009,"a26",10010,"a27",10011,"a28",10012,"a6",10013,"a7",10014,"a8",10015,"a9",10016,"a10",10017,"a29",10018,"a30",10019,"a31",10020,"a32",10021,"a33",10022,"a34",10023,"a35",9733,"a36",10025,"a37",10026,"a38",10027,"a39",10028,"a40",10029,"a41",10030,"a42",10031,"a43",10032,"a44",10033,"a45",10034,"a46",10035,"a47",10036,"a48",10037,"a49",10038,"a50",10039,"a51",10040,"a52",10041,"a53",10042,"a54",10043,"a55",10044,"a56",10045,"a57",10046,"a58",10047,"a59",10048,"a60",10049,"a61",10050,"a62",10051,"a63",10052,"a64",10053,"a65",10054,"a66",10055,"a67",10056,"a68",10057,"a69",10058,"a70",10059,"a71",9679,"a72",10061,"a73",9632,"a74",10063,"a203",10064,"a75",10065,"a204",10066,"a76",9650,"a77",9660,"a78",9670,"a79",10070,"a81",9687,"a82",10072,"a83",10073,"a84",10074,"a97",10075,"a98",10076,"a99",10077,"a100",10078,"a101",10081,"a102",10082,"a103",10083,"a104",10084,"a106",10085,"a107",10086,"a108",10087,"a112",9827,"a111",9830,"a110",9829,"a109",9824,"a120",9312,"a121",9313,"a122",9314,"a123",9315,"a124",9316,"a125",9317,"a126",9318,"a127",9319,"a128",9320,"a129",9321,"a130",10102,"a131",10103,"a132",10104,"a133",10105,"a134",10106,"a135",10107,"a136",10108,"a137",10109,"a138",10110,"a139",10111,"a140",10112,"a141",10113,"a142",10114,"a143",10115,"a144",10116,"a145",10117,"a146",10118,"a147",10119,"a148",10120,"a149",10121,"a150",10122,"a151",10123,"a152",10124,"a153",10125,"a154",10126,"a155",10127,"a156",10128,"a157",10129,"a158",10130,"a159",10131,"a160",10132,"a161",8594,"a163",8596,"a164",8597,"a196",10136,"a165",10137,"a192",10138,"a166",10139,"a167",10140,"a168",10141,"a169",10142,"a170",10143,"a171",10144,"a172",10145,"a173",10146,"a162",10147,"a174",10148,"a175",10149,"a176",10150,"a177",10151,"a178",10152,"a179",10153,"a193",10154,"a180",10155,"a199",10156,"a181",10157,"a200",10158,"a182",10159,"a201",10161,"a183",10162,"a184",10163,"a197",10164,"a185",10165,"a194",10166,"a198",10167,"a186",10168,"a195",10169,"a187",10170,"a188",10171,"a189",10172,"a190",10173,"a191",10174,"a89",10088,"a90",10089,"a93",10090,"a94",10091,"a91",10092,"a92",10093,"a205",10094,"a85",10095,"a206",10096,"a86",10097,"a87",10098,"a88",10099,"a95",10100,"a96",10101,".notdef",0]}))},(e,t,r)=>{"use strict";r.r(t),r.d(t,{getNormalizedUnicodes:()=>u,getUnicodeForGlyph:()=>o,getUnicodeRangeFor:()=>c,mapSpecialUnicodeValues:()=>i,reverseIfRtl:()=>l});var n=r(117);const a=(0,n.getLookupTableFactory)((function(e){e[63721]=169,e[63193]=169,e[63720]=174,e[63194]=174,e[63722]=8482,e[63195]=8482,e[63729]=9127,e[63730]=9128,e[63731]=9129,e[63740]=9131,e[63741]=9132,e[63742]=9133,e[63726]=9121,e[63727]=9122,e[63728]=9123,e[63737]=9124,e[63738]=9125,e[63739]=9126,e[63723]=9115,e[63724]=9116,e[63725]=9117,e[63734]=9118,e[63735]=9119,e[63736]=9120}));function i(e){return e>=65520&&e<=65535?0:e>=62976&&e<=63743?a()[e]||e:173===e?45:e}function o(e,t){let r=t[e];if(void 0!==r)return r;if(!e)return-1;if("u"===e[0]){const t=e.length;let n;if(7===t&&"n"===e[1]&&"i"===e[2])n=e.substring(3);else{if(!(t>=5&&t<=7))return-1;n=e.substring(1)}if(n===n.toUpperCase()&&(r=parseInt(n,16),r>=0))return r}return-1}const s=[{begin:0,end:127},{begin:128,end:255},{begin:256,end:383},{begin:384,end:591},{begin:592,end:687},{begin:688,end:767},{begin:768,end:879},{begin:880,end:1023},{begin:11392,end:11519},{begin:1024,end:1279},{begin:1328,end:1423},{begin:1424,end:1535},{begin:42240,end:42559},{begin:1536,end:1791},{begin:1984,end:2047},{begin:2304,end:2431},{begin:2432,end:2559},{begin:2560,end:2687},{begin:2688,end:2815},{begin:2816,end:2943},{begin:2944,end:3071},{begin:3072,end:3199},{begin:3200,end:3327},{begin:3328,end:3455},{begin:3584,end:3711},{begin:3712,end:3839},{begin:4256,end:4351},{begin:6912,end:7039},{begin:4352,end:4607},{begin:7680,end:7935},{begin:7936,end:8191},{begin:8192,end:8303},{begin:8304,end:8351},{begin:8352,end:8399},{begin:8400,end:8447},{begin:8448,end:8527},{begin:8528,end:8591},{begin:8592,end:8703},{begin:8704,end:8959},{begin:8960,end:9215},{begin:9216,end:9279},{begin:9280,end:9311},{begin:9312,end:9471},{begin:9472,end:9599},{begin:9600,end:9631},{begin:9632,end:9727},{begin:9728,end:9983},{begin:9984,end:10175},{begin:12288,end:12351},{begin:12352,end:12447},{begin:12448,end:12543},{begin:12544,end:12591},{begin:12592,end:12687},{begin:43072,end:43135},{begin:12800,end:13055},{begin:13056,end:13311},{begin:44032,end:55215},{begin:55296,end:57343},{begin:67840,end:67871},{begin:19968,end:40959},{begin:57344,end:63743},{begin:12736,end:12783},{begin:64256,end:64335},{begin:64336,end:65023},{begin:65056,end:65071},{begin:65040,end:65055},{begin:65104,end:65135},{begin:65136,end:65279},{begin:65280,end:65519},{begin:65520,end:65535},{begin:3840,end:4095},{begin:1792,end:1871},{begin:1920,end:1983},{begin:3456,end:3583},{begin:4096,end:4255},{begin:4608,end:4991},{begin:5024,end:5119},{begin:5120,end:5759},{begin:5760,end:5791},{begin:5792,end:5887},{begin:6016,end:6143},{begin:6144,end:6319},{begin:10240,end:10495},{begin:40960,end:42127},{begin:5888,end:5919},{begin:66304,end:66351},{begin:66352,end:66383},{begin:66560,end:66639},{begin:118784,end:119039},{begin:119808,end:120831},{begin:1044480,end:1048573},{begin:65024,end:65039},{begin:917504,end:917631},{begin:6400,end:6479},{begin:6480,end:6527},{begin:6528,end:6623},{begin:6656,end:6687},{begin:11264,end:11359},{begin:11568,end:11647},{begin:19904,end:19967},{begin:43008,end:43055},{begin:65536,end:65663},{begin:65856,end:65935},{begin:66432,end:66463},{begin:66464,end:66527},{begin:66640,end:66687},{begin:66688,end:66735},{begin:67584,end:67647},{begin:68096,end:68191},{begin:119552,end:119647},{begin:73728,end:74751},{begin:119648,end:119679},{begin:7040,end:7103},{begin:7168,end:7247},{begin:7248,end:7295},{begin:43136,end:43231},{begin:43264,end:43311},{begin:43312,end:43359},{begin:43520,end:43615},{begin:65936,end:65999},{begin:66e3,end:66047},{begin:66208,end:66271},{begin:127024,end:127135}];function c(e){for(let t=0,r=s.length;t<r;t++){const r=s[t];if(e>=r.begin&&e<r.end)return t}return-1}const u=(0,n.getArrayLookupTableFactory)((function(){return["¨"," ̈","¯"," ̄","´"," ́","µ","μ","¸"," ̧","Ĳ","IJ","ĳ","ij","Ŀ","L·","ŀ","l·","ŉ","ʼn","ſ","s","Ǆ","DŽ","ǅ","Dž","ǆ","dž","Ǉ","LJ","ǈ","Lj","ǉ","lj","Ǌ","NJ","ǋ","Nj","ǌ","nj","Ǳ","DZ","ǲ","Dz","ǳ","dz","˘"," ̆","˙"," ̇","˚"," ̊","˛"," ̨","˜"," ̃","˝"," ̋","ͺ"," ͅ","΄"," ́","ϐ","β","ϑ","θ","ϒ","Υ","ϕ","φ","ϖ","π","ϰ","κ","ϱ","ρ","ϲ","ς","ϴ","Θ","ϵ","ε","Ϲ","Σ","և","եւ","ٵ","اٴ","ٶ","وٴ","ٷ","ۇٴ","ٸ","يٴ","ำ","ํา","ຳ","ໍາ","ໜ","ຫນ","ໝ","ຫມ","ཷ","ྲཱྀ","ཹ","ླཱྀ","ẚ","aʾ","᾽"," ̓","᾿"," ̓","῀"," ͂","῾"," ̔"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ","‗"," ̳","․",".","‥","..","…","...","″","′′","‴","′′′","‶","‵‵","‷","‵‵‵","‼","!!","‾"," ̅","⁇","??","⁈","?!","⁉","!?","⁗","′′′′"," "," ","₨","Rs","℀","a/c","℁","a/s","℃","°C","℅","c/o","℆","c/u","ℇ","Ɛ","℉","°F","№","No","℡","TEL","ℵ","א","ℶ","ב","ℷ","ג","ℸ","ד","℻","FAX","Ⅰ","I","Ⅱ","II","Ⅲ","III","Ⅳ","IV","Ⅴ","V","Ⅵ","VI","Ⅶ","VII","Ⅷ","VIII","Ⅸ","IX","Ⅹ","X","Ⅺ","XI","Ⅻ","XII","Ⅼ","L","Ⅽ","C","Ⅾ","D","Ⅿ","M","ⅰ","i","ⅱ","ii","ⅲ","iii","ⅳ","iv","ⅴ","v","ⅵ","vi","ⅶ","vii","ⅷ","viii","ⅸ","ix","ⅹ","x","ⅺ","xi","ⅻ","xii","ⅼ","l","ⅽ","c","ⅾ","d","ⅿ","m","∬","∫∫","∭","∫∫∫","∯","∮∮","∰","∮∮∮","⑴","(1)","⑵","(2)","⑶","(3)","⑷","(4)","⑸","(5)","⑹","(6)","⑺","(7)","⑻","(8)","⑼","(9)","⑽","(10)","⑾","(11)","⑿","(12)","⒀","(13)","⒁","(14)","⒂","(15)","⒃","(16)","⒄","(17)","⒅","(18)","⒆","(19)","⒇","(20)","⒈","1.","⒉","2.","⒊","3.","⒋","4.","⒌","5.","⒍","6.","⒎","7.","⒏","8.","⒐","9.","⒑","10.","⒒","11.","⒓","12.","⒔","13.","⒕","14.","⒖","15.","⒗","16.","⒘","17.","⒙","18.","⒚","19.","⒛","20.","⒜","(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)","⨌","∫∫∫∫","⩴","::=","⩵","==","⩶","===","⺟","母","⻳","龟","⼀","一","⼁","丨","⼂","丶","⼃","丿","⼄","乙","⼅","亅","⼆","二","⼇","亠","⼈","人","⼉","儿","⼊","入","⼋","八","⼌","冂","⼍","冖","⼎","冫","⼏","几","⼐","凵","⼑","刀","⼒","力","⼓","勹","⼔","匕","⼕","匚","⼖","匸","⼗","十","⼘","卜","⼙","卩","⼚","厂","⼛","厶","⼜","又","⼝","口","⼞","囗","⼟","土","⼠","士","⼡","夂","⼢","夊","⼣","夕","⼤","大","⼥","女","⼦","子","⼧","宀","⼨","寸","⼩","小","⼪","尢","⼫","尸","⼬","屮","⼭","山","⼮","巛","⼯","工","⼰","己","⼱","巾","⼲","干","⼳","幺","⼴","广","⼵","廴","⼶","廾","⼷","弋","⼸","弓","⼹","彐","⼺","彡","⼻","彳","⼼","心","⼽","戈","⼾","戶","⼿","手","⽀","支","⽁","攴","⽂","文","⽃","斗","⽄","斤","⽅","方","⽆","无","⽇","日","⽈","曰","⽉","月","⽊","木","⽋","欠","⽌","止","⽍","歹","⽎","殳","⽏","毋","⽐","比","⽑","毛","⽒","氏","⽓","气","⽔","水","⽕","火","⽖","爪","⽗","父","⽘","爻","⽙","爿","⽚","片","⽛","牙","⽜","牛","⽝","犬","⽞","玄","⽟","玉","⽠","瓜","⽡","瓦","⽢","甘","⽣","生","⽤","用","⽥","田","⽦","疋","⽧","疒","⽨","癶","⽩","白","⽪","皮","⽫","皿","⽬","目","⽭","矛","⽮","矢","⽯","石","⽰","示","⽱","禸","⽲","禾","⽳","穴","⽴","立","⽵","竹","⽶","米","⽷","糸","⽸","缶","⽹","网","⽺","羊","⽻","羽","⽼","老","⽽","而","⽾","耒","⽿","耳","⾀","聿","⾁","肉","⾂","臣","⾃","自","⾄","至","⾅","臼","⾆","舌","⾇","舛","⾈","舟","⾉","艮","⾊","色","⾋","艸","⾌","虍","⾍","虫","⾎","血","⾏","行","⾐","衣","⾑","襾","⾒","見","⾓","角","⾔","言","⾕","谷","⾖","豆","⾗","豕","⾘","豸","⾙","貝","⾚","赤","⾛","走","⾜","足","⾝","身","⾞","車","⾟","辛","⾠","辰","⾡","辵","⾢","邑","⾣","酉","⾤","釆","⾥","里","⾦","金","⾧","長","⾨","門","⾩","阜","⾪","隶","⾫","隹","⾬","雨","⾭","靑","⾮","非","⾯","面","⾰","革","⾱","韋","⾲","韭","⾳","音","⾴","頁","⾵","風","⾶","飛","⾷","食","⾸","首","⾹","香","⾺","馬","⾻","骨","⾼","高","⾽","髟","⾾","鬥","⾿","鬯","⿀","鬲","⿁","鬼","⿂","魚","⿃","鳥","⿄","鹵","⿅","鹿","⿆","麥","⿇","麻","⿈","黃","⿉","黍","⿊","黑","⿋","黹","⿌","黽","⿍","鼎","⿎","鼓","⿏","鼠","⿐","鼻","⿑","齊","⿒","齒","⿓","龍","⿔","龜","⿕","龠","〶","〒","〸","十","〹","卄","〺","卅","゛"," ゙","゜"," ゚","ㄱ","ᄀ","ㄲ","ᄁ","ㄳ","ᆪ","ㄴ","ᄂ","ㄵ","ᆬ","ㄶ","ᆭ","ㄷ","ᄃ","ㄸ","ᄄ","ㄹ","ᄅ","ㄺ","ᆰ","ㄻ","ᆱ","ㄼ","ᆲ","ㄽ","ᆳ","ㄾ","ᆴ","ㄿ","ᆵ","ㅀ","ᄚ","ㅁ","ᄆ","ㅂ","ᄇ","ㅃ","ᄈ","ㅄ","ᄡ","ㅅ","ᄉ","ㅆ","ᄊ","ㅇ","ᄋ","ㅈ","ᄌ","ㅉ","ᄍ","ㅊ","ᄎ","ㅋ","ᄏ","ㅌ","ᄐ","ㅍ","ᄑ","ㅎ","ᄒ","ㅏ","ᅡ","ㅐ","ᅢ","ㅑ","ᅣ","ㅒ","ᅤ","ㅓ","ᅥ","ㅔ","ᅦ","ㅕ","ᅧ","ㅖ","ᅨ","ㅗ","ᅩ","ㅘ","ᅪ","ㅙ","ᅫ","ㅚ","ᅬ","ㅛ","ᅭ","ㅜ","ᅮ","ㅝ","ᅯ","ㅞ","ᅰ","ㅟ","ᅱ","ㅠ","ᅲ","ㅡ","ᅳ","ㅢ","ᅴ","ㅣ","ᅵ","ㅤ","ᅠ","ㅥ","ᄔ","ㅦ","ᄕ","ㅧ","ᇇ","ㅨ","ᇈ","ㅩ","ᇌ","ㅪ","ᇎ","ㅫ","ᇓ","ㅬ","ᇗ","ㅭ","ᇙ","ㅮ","ᄜ","ㅯ","ᇝ","ㅰ","ᇟ","ㅱ","ᄝ","ㅲ","ᄞ","ㅳ","ᄠ","ㅴ","ᄢ","ㅵ","ᄣ","ㅶ","ᄧ","ㅷ","ᄩ","ㅸ","ᄫ","ㅹ","ᄬ","ㅺ","ᄭ","ㅻ","ᄮ","ㅼ","ᄯ","ㅽ","ᄲ","ㅾ","ᄶ","ㅿ","ᅀ","ㆀ","ᅇ","ㆁ","ᅌ","ㆂ","ᇱ","ㆃ","ᇲ","ㆄ","ᅗ","ㆅ","ᅘ","ㆆ","ᅙ","ㆇ","ᆄ","ㆈ","ᆅ","ㆉ","ᆈ","ㆊ","ᆑ","ㆋ","ᆒ","ㆌ","ᆔ","ㆍ","ᆞ","ㆎ","ᆡ","㈀","(ᄀ)","㈁","(ᄂ)","㈂","(ᄃ)","㈃","(ᄅ)","㈄","(ᄆ)","㈅","(ᄇ)","㈆","(ᄉ)","㈇","(ᄋ)","㈈","(ᄌ)","㈉","(ᄎ)","㈊","(ᄏ)","㈋","(ᄐ)","㈌","(ᄑ)","㈍","(ᄒ)","㈎","(가)","㈏","(나)","㈐","(다)","㈑","(라)","㈒","(마)","㈓","(바)","㈔","(사)","㈕","(아)","㈖","(자)","㈗","(차)","㈘","(카)","㈙","(타)","㈚","(파)","㈛","(하)","㈜","(주)","㈝","(오전)","㈞","(오후)","㈠","(一)","㈡","(二)","㈢","(三)","㈣","(四)","㈤","(五)","㈥","(六)","㈦","(七)","㈧","(八)","㈨","(九)","㈩","(十)","㈪","(月)","㈫","(火)","㈬","(水)","㈭","(木)","㈮","(金)","㈯","(土)","㈰","(日)","㈱","(株)","㈲","(有)","㈳","(社)","㈴","(名)","㈵","(特)","㈶","(財)","㈷","(祝)","㈸","(労)","㈹","(代)","㈺","(呼)","㈻","(学)","㈼","(監)","㈽","(企)","㈾","(資)","㈿","(協)","㉀","(祭)","㉁","(休)","㉂","(自)","㉃","(至)","㋀","1月","㋁","2月","㋂","3月","㋃","4月","㋄","5月","㋅","6月","㋆","7月","㋇","8月","㋈","9月","㋉","10月","㋊","11月","㋋","12月","㍘","0点","㍙","1点","㍚","2点","㍛","3点","㍜","4点","㍝","5点","㍞","6点","㍟","7点","㍠","8点","㍡","9点","㍢","10点","㍣","11点","㍤","12点","㍥","13点","㍦","14点","㍧","15点","㍨","16点","㍩","17点","㍪","18点","㍫","19点","㍬","20点","㍭","21点","㍮","22点","㍯","23点","㍰","24点","㏠","1日","㏡","2日","㏢","3日","㏣","4日","㏤","5日","㏥","6日","㏦","7日","㏧","8日","㏨","9日","㏩","10日","㏪","11日","㏫","12日","㏬","13日","㏭","14日","㏮","15日","㏯","16日","㏰","17日","㏱","18日","㏲","19日","㏳","20日","㏴","21日","㏵","22日","㏶","23日","㏷","24日","㏸","25日","㏹","26日","㏺","27日","㏻","28日","㏼","29日","㏽","30日","㏾","31日","ﬀ","ff","ﬁ","fi","ﬂ","fl","ﬃ","ffi","ﬄ","ffl","ﬅ","ſt","ﬆ","st","ﬓ","մն","ﬔ","մե","ﬕ","մի","ﬖ","վն","ﬗ","մխ","ﭏ","אל","ﭐ","ٱ","ﭑ","ٱ","ﭒ","ٻ","ﭓ","ٻ","ﭔ","ٻ","ﭕ","ٻ","ﭖ","پ","ﭗ","پ","ﭘ","پ","ﭙ","پ","ﭚ","ڀ","ﭛ","ڀ","ﭜ","ڀ","ﭝ","ڀ","ﭞ","ٺ","ﭟ","ٺ","ﭠ","ٺ","ﭡ","ٺ","ﭢ","ٿ","ﭣ","ٿ","ﭤ","ٿ","ﭥ","ٿ","ﭦ","ٹ","ﭧ","ٹ","ﭨ","ٹ","ﭩ","ٹ","ﭪ","ڤ","ﭫ","ڤ","ﭬ","ڤ","ﭭ","ڤ","ﭮ","ڦ","ﭯ","ڦ","ﭰ","ڦ","ﭱ","ڦ","ﭲ","ڄ","ﭳ","ڄ","ﭴ","ڄ","ﭵ","ڄ","ﭶ","ڃ","ﭷ","ڃ","ﭸ","ڃ","ﭹ","ڃ","ﭺ","چ","ﭻ","چ","ﭼ","چ","ﭽ","چ","ﭾ","ڇ","ﭿ","ڇ","ﮀ","ڇ","ﮁ","ڇ","ﮂ","ڍ","ﮃ","ڍ","ﮄ","ڌ","ﮅ","ڌ","ﮆ","ڎ","ﮇ","ڎ","ﮈ","ڈ","ﮉ","ڈ","ﮊ","ژ","ﮋ","ژ","ﮌ","ڑ","ﮍ","ڑ","ﮎ","ک","ﮏ","ک","ﮐ","ک","ﮑ","ک","ﮒ","گ","ﮓ","گ","ﮔ","گ","ﮕ","گ","ﮖ","ڳ","ﮗ","ڳ","ﮘ","ڳ","ﮙ","ڳ","ﮚ","ڱ","ﮛ","ڱ","ﮜ","ڱ","ﮝ","ڱ","ﮞ","ں","ﮟ","ں","ﮠ","ڻ","ﮡ","ڻ","ﮢ","ڻ","ﮣ","ڻ","ﮤ","ۀ","ﮥ","ۀ","ﮦ","ہ","ﮧ","ہ","ﮨ","ہ","ﮩ","ہ","ﮪ","ھ","ﮫ","ھ","ﮬ","ھ","ﮭ","ھ","ﮮ","ے","ﮯ","ے","ﮰ","ۓ","ﮱ","ۓ","ﯓ","ڭ","ﯔ","ڭ","ﯕ","ڭ","ﯖ","ڭ","ﯗ","ۇ","ﯘ","ۇ","ﯙ","ۆ","ﯚ","ۆ","ﯛ","ۈ","ﯜ","ۈ","ﯝ","ٷ","ﯞ","ۋ","ﯟ","ۋ","ﯠ","ۅ","ﯡ","ۅ","ﯢ","ۉ","ﯣ","ۉ","ﯤ","ې","ﯥ","ې","ﯦ","ې","ﯧ","ې","ﯨ","ى","ﯩ","ى","ﯪ","ئا","ﯫ","ئا","ﯬ","ئە","ﯭ","ئە","ﯮ","ئو","ﯯ","ئو","ﯰ","ئۇ","ﯱ","ئۇ","ﯲ","ئۆ","ﯳ","ئۆ","ﯴ","ئۈ","ﯵ","ئۈ","ﯶ","ئې","ﯷ","ئې","ﯸ","ئې","ﯹ","ئى","ﯺ","ئى","ﯻ","ئى","ﯼ","ی","ﯽ","ی","ﯾ","ی","ﯿ","ی","ﰀ","ئج","ﰁ","ئح","ﰂ","ئم","ﰃ","ئى","ﰄ","ئي","ﰅ","بج","ﰆ","بح","ﰇ","بخ","ﰈ","بم","ﰉ","بى","ﰊ","بي","ﰋ","تج","ﰌ","تح","ﰍ","تخ","ﰎ","تم","ﰏ","تى","ﰐ","تي","ﰑ","ثج","ﰒ","ثم","ﰓ","ثى","ﰔ","ثي","ﰕ","جح","ﰖ","جم","ﰗ","حج","ﰘ","حم","ﰙ","خج","ﰚ","خح","ﰛ","خم","ﰜ","سج","ﰝ","سح","ﰞ","سخ","ﰟ","سم","ﰠ","صح","ﰡ","صم","ﰢ","ضج","ﰣ","ضح","ﰤ","ضخ","ﰥ","ضم","ﰦ","طح","ﰧ","طم","ﰨ","ظم","ﰩ","عج","ﰪ","عم","ﰫ","غج","ﰬ","غم","ﰭ","فج","ﰮ","فح","ﰯ","فخ","ﰰ","فم","ﰱ","فى","ﰲ","في","ﰳ","قح","ﰴ","قم","ﰵ","قى","ﰶ","قي","ﰷ","كا","ﰸ","كج","ﰹ","كح","ﰺ","كخ","ﰻ","كل","ﰼ","كم","ﰽ","كى","ﰾ","كي","ﰿ","لج","ﱀ","لح","ﱁ","لخ","ﱂ","لم","ﱃ","لى","ﱄ","لي","ﱅ","مج","ﱆ","مح","ﱇ","مخ","ﱈ","مم","ﱉ","مى","ﱊ","مي","ﱋ","نج","ﱌ","نح","ﱍ","نخ","ﱎ","نم","ﱏ","نى","ﱐ","ني","ﱑ","هج","ﱒ","هم","ﱓ","هى","ﱔ","هي","ﱕ","يج","ﱖ","يح","ﱗ","يخ","ﱘ","يم","ﱙ","يى","ﱚ","يي","ﱛ","ذٰ","ﱜ","رٰ","ﱝ","ىٰ","ﱞ"," ٌّ","ﱟ"," ٍّ","ﱠ"," َّ","ﱡ"," ُّ","ﱢ"," ِّ","ﱣ"," ّٰ","ﱤ","ئر","ﱥ","ئز","ﱦ","ئم","ﱧ","ئن","ﱨ","ئى","ﱩ","ئي","ﱪ","بر","ﱫ","بز","ﱬ","بم","ﱭ","بن","ﱮ","بى","ﱯ","بي","ﱰ","تر","ﱱ","تز","ﱲ","تم","ﱳ","تن","ﱴ","تى","ﱵ","تي","ﱶ","ثر","ﱷ","ثز","ﱸ","ثم","ﱹ","ثن","ﱺ","ثى","ﱻ","ثي","ﱼ","فى","ﱽ","في","ﱾ","قى","ﱿ","قي","ﲀ","كا","ﲁ","كل","ﲂ","كم","ﲃ","كى","ﲄ","كي","ﲅ","لم","ﲆ","لى","ﲇ","لي","ﲈ","ما","ﲉ","مم","ﲊ","نر","ﲋ","نز","ﲌ","نم","ﲍ","نن","ﲎ","نى","ﲏ","ني","ﲐ","ىٰ","ﲑ","ير","ﲒ","يز","ﲓ","يم","ﲔ","ين","ﲕ","يى","ﲖ","يي","ﲗ","ئج","ﲘ","ئح","ﲙ","ئخ","ﲚ","ئم","ﲛ","ئه","ﲜ","بج","ﲝ","بح","ﲞ","بخ","ﲟ","بم","ﲠ","به","ﲡ","تج","ﲢ","تح","ﲣ","تخ","ﲤ","تم","ﲥ","ته","ﲦ","ثم","ﲧ","جح","ﲨ","جم","ﲩ","حج","ﲪ","حم","ﲫ","خج","ﲬ","خم","ﲭ","سج","ﲮ","سح","ﲯ","سخ","ﲰ","سم","ﲱ","صح","ﲲ","صخ","ﲳ","صم","ﲴ","ضج","ﲵ","ضح","ﲶ","ضخ","ﲷ","ضم","ﲸ","طح","ﲹ","ظم","ﲺ","عج","ﲻ","عم","ﲼ","غج","ﲽ","غم","ﲾ","فج","ﲿ","فح","ﳀ","فخ","ﳁ","فم","ﳂ","قح","ﳃ","قم","ﳄ","كج","ﳅ","كح","ﳆ","كخ","ﳇ","كل","ﳈ","كم","ﳉ","لج","ﳊ","لح","ﳋ","لخ","ﳌ","لم","ﳍ","له","ﳎ","مج","ﳏ","مح","ﳐ","مخ","ﳑ","مم","ﳒ","نج","ﳓ","نح","ﳔ","نخ","ﳕ","نم","ﳖ","نه","ﳗ","هج","ﳘ","هم","ﳙ","هٰ","ﳚ","يج","ﳛ","يح","ﳜ","يخ","ﳝ","يم","ﳞ","يه","ﳟ","ئم","ﳠ","ئه","ﳡ","بم","ﳢ","به","ﳣ","تم","ﳤ","ته","ﳥ","ثم","ﳦ","ثه","ﳧ","سم","ﳨ","سه","ﳩ","شم","ﳪ","شه","ﳫ","كل","ﳬ","كم","ﳭ","لم","ﳮ","نم","ﳯ","نه","ﳰ","يم","ﳱ","يه","ﳲ","ـَّ","ﳳ","ـُّ","ﳴ","ـِّ","ﳵ","طى","ﳶ","طي","ﳷ","عى","ﳸ","عي","ﳹ","غى","ﳺ","غي","ﳻ","سى","ﳼ","سي","ﳽ","شى","ﳾ","شي","ﳿ","حى","ﴀ","حي","ﴁ","جى","ﴂ","جي","ﴃ","خى","ﴄ","خي","ﴅ","صى","ﴆ","صي","ﴇ","ضى","ﴈ","ضي","ﴉ","شج","ﴊ","شح","ﴋ","شخ","ﴌ","شم","ﴍ","شر","ﴎ","سر","ﴏ","صر","ﴐ","ضر","ﴑ","طى","ﴒ","طي","ﴓ","عى","ﴔ","عي","ﴕ","غى","ﴖ","غي","ﴗ","سى","ﴘ","سي","ﴙ","شى","ﴚ","شي","ﴛ","حى","ﴜ","حي","ﴝ","جى","ﴞ","جي","ﴟ","خى","ﴠ","خي","ﴡ","صى","ﴢ","صي","ﴣ","ضى","ﴤ","ضي","ﴥ","شج","ﴦ","شح","ﴧ","شخ","ﴨ","شم","ﴩ","شر","ﴪ","سر","ﴫ","صر","ﴬ","ضر","ﴭ","شج","ﴮ","شح","ﴯ","شخ","ﴰ","شم","ﴱ","سه","ﴲ","شه","ﴳ","طم","ﴴ","سج","ﴵ","سح","ﴶ","سخ","ﴷ","شج","ﴸ","شح","ﴹ","شخ","ﴺ","طم","ﴻ","ظم","ﴼ","اً","ﴽ","اً","ﵐ","تجم","ﵑ","تحج","ﵒ","تحج","ﵓ","تحم","ﵔ","تخم","ﵕ","تمج","ﵖ","تمح","ﵗ","تمخ","ﵘ","جمح","ﵙ","جمح","ﵚ","حمي","ﵛ","حمى","ﵜ","سحج","ﵝ","سجح","ﵞ","سجى","ﵟ","سمح","ﵠ","سمح","ﵡ","سمج","ﵢ","سمم","ﵣ","سمم","ﵤ","صحح","ﵥ","صحح","ﵦ","صمم","ﵧ","شحم","ﵨ","شحم","ﵩ","شجي","ﵪ","شمخ","ﵫ","شمخ","ﵬ","شمم","ﵭ","شمم","ﵮ","ضحى","ﵯ","ضخم","ﵰ","ضخم","ﵱ","طمح","ﵲ","طمح","ﵳ","طمم","ﵴ","طمي","ﵵ","عجم","ﵶ","عمم","ﵷ","عمم","ﵸ","عمى","ﵹ","غمم","ﵺ","غمي","ﵻ","غمى","ﵼ","فخم","ﵽ","فخم","ﵾ","قمح","ﵿ","قمم","ﶀ","لحم","ﶁ","لحي","ﶂ","لحى","ﶃ","لجج","ﶄ","لجج","ﶅ","لخم","ﶆ","لخم","ﶇ","لمح","ﶈ","لمح","ﶉ","محج","ﶊ","محم","ﶋ","محي","ﶌ","مجح","ﶍ","مجم","ﶎ","مخج","ﶏ","مخم","ﶒ","مجخ","ﶓ","همج","ﶔ","همم","ﶕ","نحم","ﶖ","نحى","ﶗ","نجم","ﶘ","نجم","ﶙ","نجى","ﶚ","نمي","ﶛ","نمى","ﶜ","يمم","ﶝ","يمم","ﶞ","بخي","ﶟ","تجي","ﶠ","تجى","ﶡ","تخي","ﶢ","تخى","ﶣ","تمي","ﶤ","تمى","ﶥ","جمي","ﶦ","جحى","ﶧ","جمى","ﶨ","سخى","ﶩ","صحي","ﶪ","شحي","ﶫ","ضحي","ﶬ","لجي","ﶭ","لمي","ﶮ","يحي","ﶯ","يجي","ﶰ","يمي","ﶱ","ممي","ﶲ","قمي","ﶳ","نحي","ﶴ","قمح","ﶵ","لحم","ﶶ","عمي","ﶷ","كمي","ﶸ","نجح","ﶹ","مخي","ﶺ","لجم","ﶻ","كمم","ﶼ","لجم","ﶽ","نجح","ﶾ","جحي","ﶿ","حجي","ﷀ","مجي","ﷁ","فمي","ﷂ","بحي","ﷃ","كمم","ﷄ","عجم","ﷅ","صمم","ﷆ","سخي","ﷇ","نجي","﹉","‾","﹊","‾","﹋","‾","﹌","‾","﹍","_","﹎","_","﹏","_","ﺀ","ء","ﺁ","آ","ﺂ","آ","ﺃ","أ","ﺄ","أ","ﺅ","ؤ","ﺆ","ؤ","ﺇ","إ","ﺈ","إ","ﺉ","ئ","ﺊ","ئ","ﺋ","ئ","ﺌ","ئ","ﺍ","ا","ﺎ","ا","ﺏ","ب","ﺐ","ب","ﺑ","ب","ﺒ","ب","ﺓ","ة","ﺔ","ة","ﺕ","ت","ﺖ","ت","ﺗ","ت","ﺘ","ت","ﺙ","ث","ﺚ","ث","ﺛ","ث","ﺜ","ث","ﺝ","ج","ﺞ","ج","ﺟ","ج","ﺠ","ج","ﺡ","ح","ﺢ","ح","ﺣ","ح","ﺤ","ح","ﺥ","خ","ﺦ","خ","ﺧ","خ","ﺨ","خ","ﺩ","د","ﺪ","د","ﺫ","ذ","ﺬ","ذ","ﺭ","ر","ﺮ","ر","ﺯ","ز","ﺰ","ز","ﺱ","س","ﺲ","س","ﺳ","س","ﺴ","س","ﺵ","ش","ﺶ","ش","ﺷ","ش","ﺸ","ش","ﺹ","ص","ﺺ","ص","ﺻ","ص","ﺼ","ص","ﺽ","ض","ﺾ","ض","ﺿ","ض","ﻀ","ض","ﻁ","ط","ﻂ","ط","ﻃ","ط","ﻄ","ط","ﻅ","ظ","ﻆ","ظ","ﻇ","ظ","ﻈ","ظ","ﻉ","ع","ﻊ","ع","ﻋ","ع","ﻌ","ع","ﻍ","غ","ﻎ","غ","ﻏ","غ","ﻐ","غ","ﻑ","ف","ﻒ","ف","ﻓ","ف","ﻔ","ف","ﻕ","ق","ﻖ","ق","ﻗ","ق","ﻘ","ق","ﻙ","ك","ﻚ","ك","ﻛ","ك","ﻜ","ك","ﻝ","ل","ﻞ","ل","ﻟ","ل","ﻠ","ل","ﻡ","م","ﻢ","م","ﻣ","م","ﻤ","م","ﻥ","ن","ﻦ","ن","ﻧ","ن","ﻨ","ن","ﻩ","ه","ﻪ","ه","ﻫ","ه","ﻬ","ه","ﻭ","و","ﻮ","و","ﻯ","ى","ﻰ","ى","ﻱ","ي","ﻲ","ي","ﻳ","ي","ﻴ","ي","ﻵ","لآ","ﻶ","لآ","ﻷ","لأ","ﻸ","لأ","ﻹ","لإ","ﻺ","لإ","ﻻ","لا","ﻼ","لا"]}));function l(e){const t=e.length;if(t<=1||!function(e){let t=s[13];return e>=t.begin&&e<t.end||(t=s[11],e>=t.begin&&e<t.end)}(e.charCodeAt(0)))return e;const r=[];for(let n=t-1;n>=0;n--)r.push(e[n]);return r.join("")}},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSymbolsFonts=t.getSupplementalGlyphMapForCalibri=t.getSupplementalGlyphMapForArialBlack=t.getStdFontMap=t.getSerifFonts=t.getNonStdFontMap=t.getGlyphMapForStandardFonts=void 0;var n=r(117),a=(0,n.getLookupTableFactory)((function(e){e.ArialNarrow="Helvetica",e["ArialNarrow-Bold"]="Helvetica-Bold",e["ArialNarrow-BoldItalic"]="Helvetica-BoldOblique",e["ArialNarrow-Italic"]="Helvetica-Oblique",e.ArialBlack="Helvetica",e["ArialBlack-Bold"]="Helvetica-Bold",e["ArialBlack-BoldItalic"]="Helvetica-BoldOblique",e["ArialBlack-Italic"]="Helvetica-Oblique",e["Arial-Black"]="Helvetica",e["Arial-Black-Bold"]="Helvetica-Bold",e["Arial-Black-BoldItalic"]="Helvetica-BoldOblique",e["Arial-Black-Italic"]="Helvetica-Oblique",e.Arial="Helvetica",e["Arial-Bold"]="Helvetica-Bold",e["Arial-BoldItalic"]="Helvetica-BoldOblique",e["Arial-Italic"]="Helvetica-Oblique",e["Arial-BoldItalicMT"]="Helvetica-BoldOblique",e["Arial-BoldMT"]="Helvetica-Bold",e["Arial-ItalicMT"]="Helvetica-Oblique",e.ArialMT="Helvetica",e["Courier-Bold"]="Courier-Bold",e["Courier-BoldItalic"]="Courier-BoldOblique",e["Courier-Italic"]="Courier-Oblique",e.CourierNew="Courier",e["CourierNew-Bold"]="Courier-Bold",e["CourierNew-BoldItalic"]="Courier-BoldOblique",e["CourierNew-Italic"]="Courier-Oblique",e["CourierNewPS-BoldItalicMT"]="Courier-BoldOblique",e["CourierNewPS-BoldMT"]="Courier-Bold",e["CourierNewPS-ItalicMT"]="Courier-Oblique",e.CourierNewPSMT="Courier",e.Helvetica="Helvetica",e["Helvetica-Bold"]="Helvetica-Bold",e["Helvetica-BoldItalic"]="Helvetica-BoldOblique",e["Helvetica-BoldOblique"]="Helvetica-BoldOblique",e["Helvetica-Italic"]="Helvetica-Oblique",e["Helvetica-Oblique"]="Helvetica-Oblique",e["Symbol-Bold"]="Symbol",e["Symbol-BoldItalic"]="Symbol",e["Symbol-Italic"]="Symbol",e.TimesNewRoman="Times-Roman",e["TimesNewRoman-Bold"]="Times-Bold",e["TimesNewRoman-BoldItalic"]="Times-BoldItalic",e["TimesNewRoman-Italic"]="Times-Italic",e.TimesNewRomanPS="Times-Roman",e["TimesNewRomanPS-Bold"]="Times-Bold",e["TimesNewRomanPS-BoldItalic"]="Times-BoldItalic",e["TimesNewRomanPS-BoldItalicMT"]="Times-BoldItalic",e["TimesNewRomanPS-BoldMT"]="Times-Bold",e["TimesNewRomanPS-Italic"]="Times-Italic",e["TimesNewRomanPS-ItalicMT"]="Times-Italic",e.TimesNewRomanPSMT="Times-Roman",e["TimesNewRomanPSMT-Bold"]="Times-Bold",e["TimesNewRomanPSMT-BoldItalic"]="Times-BoldItalic",e["TimesNewRomanPSMT-Italic"]="Times-Italic"}));t.getStdFontMap=a;var i=(0,n.getLookupTableFactory)((function(e){e.Calibri="Helvetica",e["Calibri-Bold"]="Helvetica-Bold",e["Calibri-BoldItalic"]="Helvetica-BoldOblique",e["Calibri-Italic"]="Helvetica-Oblique",e.CenturyGothic="Helvetica",e["CenturyGothic-Bold"]="Helvetica-Bold",e["CenturyGothic-BoldItalic"]="Helvetica-BoldOblique",e["CenturyGothic-Italic"]="Helvetica-Oblique",e.ComicSansMS="Comic Sans MS",e["ComicSansMS-Bold"]="Comic Sans MS-Bold",e["ComicSansMS-BoldItalic"]="Comic Sans MS-BoldItalic",e["ComicSansMS-Italic"]="Comic Sans MS-Italic",e.LucidaConsole="Courier",e["LucidaConsole-Bold"]="Courier-Bold",e["LucidaConsole-BoldItalic"]="Courier-BoldOblique",e["LucidaConsole-Italic"]="Courier-Oblique",e["LucidaSans-Demi"]="Helvetica-Bold",e["MS-Gothic"]="MS Gothic",e["MS-Gothic-Bold"]="MS Gothic-Bold",e["MS-Gothic-BoldItalic"]="MS Gothic-BoldItalic",e["MS-Gothic-Italic"]="MS Gothic-Italic",e["MS-Mincho"]="MS Mincho",e["MS-Mincho-Bold"]="MS Mincho-Bold",e["MS-Mincho-BoldItalic"]="MS Mincho-BoldItalic",e["MS-Mincho-Italic"]="MS Mincho-Italic",e["MS-PGothic"]="MS PGothic",e["MS-PGothic-Bold"]="MS PGothic-Bold",e["MS-PGothic-BoldItalic"]="MS PGothic-BoldItalic",e["MS-PGothic-Italic"]="MS PGothic-Italic",e["MS-PMincho"]="MS PMincho",e["MS-PMincho-Bold"]="MS PMincho-Bold",e["MS-PMincho-BoldItalic"]="MS PMincho-BoldItalic",e["MS-PMincho-Italic"]="MS PMincho-Italic",e.NuptialScript="Times-Italic",e.SegoeUISymbol="Helvetica",e.Wingdings="ZapfDingbats",e["Wingdings-Regular"]="ZapfDingbats"}));t.getNonStdFontMap=i;var o=(0,n.getLookupTableFactory)((function(e){e["Adobe Jenson"]=!0,e["Adobe Text"]=!0,e.Albertus=!0,e.Aldus=!0,e.Alexandria=!0,e.Algerian=!0,e["American Typewriter"]=!0,e.Antiqua=!0,e.Apex=!0,e.Arno=!0,e.Aster=!0,e.Aurora=!0,e.Baskerville=!0,e.Bell=!0,e.Bembo=!0,e["Bembo Schoolbook"]=!0,e.Benguiat=!0,e["Berkeley Old Style"]=!0,e["Bernhard Modern"]=!0,e["Berthold City"]=!0,e.Bodoni=!0,e["Bauer Bodoni"]=!0,e["Book Antiqua"]=!0,e.Bookman=!0,e["Bordeaux Roman"]=!0,e["Californian FB"]=!0,e.Calisto=!0,e.Calvert=!0,e.Capitals=!0,e.Cambria=!0,e.Cartier=!0,e.Caslon=!0,e.Catull=!0,e.Centaur=!0,e["Century Old Style"]=!0,e["Century Schoolbook"]=!0,e.Chaparral=!0,e["Charis SIL"]=!0,e.Cheltenham=!0,e["Cholla Slab"]=!0,e.Clarendon=!0,e.Clearface=!0,e.Cochin=!0,e.Colonna=!0,e["Computer Modern"]=!0,e["Concrete Roman"]=!0,e.Constantia=!0,e["Cooper Black"]=!0,e.Corona=!0,e.Ecotype=!0,e.Egyptienne=!0,e.Elephant=!0,e.Excelsior=!0,e.Fairfield=!0,e["FF Scala"]=!0,e.Folkard=!0,e.Footlight=!0,e.FreeSerif=!0,e["Friz Quadrata"]=!0,e.Garamond=!0,e.Gentium=!0,e.Georgia=!0,e.Gloucester=!0,e["Goudy Old Style"]=!0,e["Goudy Schoolbook"]=!0,e["Goudy Pro Font"]=!0,e.Granjon=!0,e["Guardian Egyptian"]=!0,e.Heather=!0,e.Hercules=!0,e["High Tower Text"]=!0,e.Hiroshige=!0,e["Hoefler Text"]=!0,e["Humana Serif"]=!0,e.Imprint=!0,e["Ionic No. 5"]=!0,e.Janson=!0,e.Joanna=!0,e.Korinna=!0,e.Lexicon=!0,e["Liberation Serif"]=!0,e["Linux Libertine"]=!0,e.Literaturnaya=!0,e.Lucida=!0,e["Lucida Bright"]=!0,e.Melior=!0,e.Memphis=!0,e.Miller=!0,e.Minion=!0,e.Modern=!0,e["Mona Lisa"]=!0,e["Mrs Eaves"]=!0,e["MS Serif"]=!0,e["Museo Slab"]=!0,e["New York"]=!0,e["Nimbus Roman"]=!0,e["NPS Rawlinson Roadway"]=!0,e.NuptialScript=!0,e.Palatino=!0,e.Perpetua=!0,e.Plantin=!0,e["Plantin Schoolbook"]=!0,e.Playbill=!0,e["Poor Richard"]=!0,e["Rawlinson Roadway"]=!0,e.Renault=!0,e.Requiem=!0,e.Rockwell=!0,e.Roman=!0,e["Rotis Serif"]=!0,e.Sabon=!0,e.Scala=!0,e.Seagull=!0,e.Sistina=!0,e.Souvenir=!0,e.STIX=!0,e["Stone Informal"]=!0,e["Stone Serif"]=!0,e.Sylfaen=!0,e.Times=!0,e.Trajan=!0,e["Trinité"]=!0,e["Trump Mediaeval"]=!0,e.Utopia=!0,e["Vale Type"]=!0,e["Bitstream Vera"]=!0,e["Vera Serif"]=!0,e.Versailles=!0,e.Wanted=!0,e.Weiss=!0,e["Wide Latin"]=!0,e.Windsor=!0,e.XITS=!0}));t.getSerifFonts=o;var s=(0,n.getLookupTableFactory)((function(e){e.Dingbats=!0,e.Symbol=!0,e.ZapfDingbats=!0}));t.getSymbolsFonts=s;var c=(0,n.getLookupTableFactory)((function(e){e[2]=10,e[3]=32,e[4]=33,e[5]=34,e[6]=35,e[7]=36,e[8]=37,e[9]=38,e[10]=39,e[11]=40,e[12]=41,e[13]=42,e[14]=43,e[15]=44,e[16]=45,e[17]=46,e[18]=47,e[19]=48,e[20]=49,e[21]=50,e[22]=51,e[23]=52,e[24]=53,e[25]=54,e[26]=55,e[27]=56,e[28]=57,e[29]=58,e[30]=894,e[31]=60,e[32]=61,e[33]=62,e[34]=63,e[35]=64,e[36]=65,e[37]=66,e[38]=67,e[39]=68,e[40]=69,e[41]=70,e[42]=71,e[43]=72,e[44]=73,e[45]=74,e[46]=75,e[47]=76,e[48]=77,e[49]=78,e[50]=79,e[51]=80,e[52]=81,e[53]=82,e[54]=83,e[55]=84,e[56]=85,e[57]=86,e[58]=87,e[59]=88,e[60]=89,e[61]=90,e[62]=91,e[63]=92,e[64]=93,e[65]=94,e[66]=95,e[67]=96,e[68]=97,e[69]=98,e[70]=99,e[71]=100,e[72]=101,e[73]=102,e[74]=103,e[75]=104,e[76]=105,e[77]=106,e[78]=107,e[79]=108,e[80]=109,e[81]=110,e[82]=111,e[83]=112,e[84]=113,e[85]=114,e[86]=115,e[87]=116,e[88]=117,e[89]=118,e[90]=119,e[91]=120,e[92]=121,e[93]=122,e[94]=123,e[95]=124,e[96]=125,e[97]=126,e[98]=196,e[99]=197,e[100]=199,e[101]=201,e[102]=209,e[103]=214,e[104]=220,e[105]=225,e[106]=224,e[107]=226,e[108]=228,e[109]=227,e[110]=229,e[111]=231,e[112]=233,e[113]=232,e[114]=234,e[115]=235,e[116]=237,e[117]=236,e[118]=238,e[119]=239,e[120]=241,e[121]=243,e[122]=242,e[123]=244,e[124]=246,e[125]=245,e[126]=250,e[127]=249,e[128]=251,e[129]=252,e[130]=8224,e[131]=176,e[132]=162,e[133]=163,e[134]=167,e[135]=8226,e[136]=182,e[137]=223,e[138]=174,e[139]=169,e[140]=8482,e[141]=180,e[142]=168,e[143]=8800,e[144]=198,e[145]=216,e[146]=8734,e[147]=177,e[148]=8804,e[149]=8805,e[150]=165,e[151]=181,e[152]=8706,e[153]=8721,e[154]=8719,e[156]=8747,e[157]=170,e[158]=186,e[159]=8486,e[160]=230,e[161]=248,e[162]=191,e[163]=161,e[164]=172,e[165]=8730,e[166]=402,e[167]=8776,e[168]=8710,e[169]=171,e[170]=187,e[171]=8230,e[210]=218,e[223]=711,e[224]=321,e[225]=322,e[227]=353,e[229]=382,e[234]=253,e[252]=263,e[253]=268,e[254]=269,e[258]=258,e[260]=260,e[261]=261,e[265]=280,e[266]=281,e[268]=283,e[269]=313,e[275]=323,e[276]=324,e[278]=328,e[284]=345,e[285]=346,e[286]=347,e[292]=367,e[295]=377,e[296]=378,e[298]=380,e[305]=963,e[306]=964,e[307]=966,e[308]=8215,e[309]=8252,e[310]=8319,e[311]=8359,e[312]=8592,e[313]=8593,e[337]=9552,e[493]=1039,e[494]=1040,e[705]=1524,e[706]=8362,e[710]=64288,e[711]=64298,e[759]=1617,e[761]=1776,e[763]=1778,e[775]=1652,e[777]=1764,e[778]=1780,e[779]=1781,e[780]=1782,e[782]=771,e[783]=64726,e[786]=8363,e[788]=8532,e[790]=768,e[791]=769,e[792]=768,e[795]=803,e[797]=64336,e[798]=64337,e[799]=64342,e[800]=64343,e[801]=64344,e[802]=64345,e[803]=64362,e[804]=64363,e[805]=64364,e[2424]=7821,e[2425]=7822,e[2426]=7823,e[2427]=7824,e[2428]=7825,e[2429]=7826,e[2430]=7827,e[2433]=7682,e[2678]=8045,e[2679]=8046,e[2830]=1552,e[2838]=686,e[2840]=751,e[2842]=753,e[2843]=754,e[2844]=755,e[2846]=757,e[2856]=767,e[2857]=848,e[2858]=849,e[2862]=853,e[2863]=854,e[2864]=855,e[2865]=861,e[2866]=862,e[2906]=7460,e[2908]=7462,e[2909]=7463,e[2910]=7464,e[2912]=7466,e[2913]=7467,e[2914]=7468,e[2916]=7470,e[2917]=7471,e[2918]=7472,e[2920]=7474,e[2921]=7475,e[2922]=7476,e[2924]=7478,e[2925]=7479,e[2926]=7480,e[2928]=7482,e[2929]=7483,e[2930]=7484,e[2932]=7486,e[2933]=7487,e[2934]=7488,e[2936]=7490,e[2937]=7491,e[2938]=7492,e[2940]=7494,e[2941]=7495,e[2942]=7496,e[2944]=7498,e[2946]=7500,e[2948]=7502,e[2950]=7504,e[2951]=7505,e[2952]=7506,e[2954]=7508,e[2955]=7509,e[2956]=7510,e[2958]=7512,e[2959]=7513,e[2960]=7514,e[2962]=7516,e[2963]=7517,e[2964]=7518,e[2966]=7520,e[2967]=7521,e[2968]=7522,e[2970]=7524,e[2971]=7525,e[2972]=7526,e[2974]=7528,e[2975]=7529,e[2976]=7530,e[2978]=1537,e[2979]=1538,e[2980]=1539,e[2982]=1549,e[2983]=1551,e[2984]=1552,e[2986]=1554,e[2987]=1555,e[2988]=1556,e[2990]=1623,e[2991]=1624,e[2995]=1775,e[2999]=1791,e[3002]=64290,e[3003]=64291,e[3004]=64292,e[3006]=64294,e[3007]=64295,e[3008]=64296,e[3011]=1900,e[3014]=8223,e[3015]=8244,e[3017]=7532,e[3018]=7533,e[3019]=7534,e[3075]=7590,e[3076]=7591,e[3079]=7594,e[3080]=7595,e[3083]=7598,e[3084]=7599,e[3087]=7602,e[3088]=7603,e[3091]=7606,e[3092]=7607,e[3095]=7610,e[3096]=7611,e[3099]=7614,e[3100]=7615,e[3103]=7618,e[3104]=7619,e[3107]=8337,e[3108]=8338,e[3116]=1884,e[3119]=1885,e[3120]=1885,e[3123]=1886,e[3124]=1886,e[3127]=1887,e[3128]=1887,e[3131]=1888,e[3132]=1888,e[3135]=1889,e[3136]=1889,e[3139]=1890,e[3140]=1890,e[3143]=1891,e[3144]=1891,e[3147]=1892,e[3148]=1892,e[3153]=580,e[3154]=581,e[3157]=584,e[3158]=585,e[3161]=588,e[3162]=589,e[3165]=891,e[3166]=892,e[3169]=1274,e[3170]=1275,e[3173]=1278,e[3174]=1279,e[3181]=7622,e[3182]=7623,e[3282]=11799,e[3316]=578,e[3379]=42785,e[3393]=1159,e[3416]=8377}));t.getGlyphMapForStandardFonts=c;var u=(0,n.getLookupTableFactory)((function(e){e[227]=322,e[264]=261,e[291]=346}));t.getSupplementalGlyphMapForArialBlack=u;var l=(0,n.getLookupTableFactory)((function(e){e[1]=32,e[4]=65,e[17]=66,e[18]=67,e[24]=68,e[28]=69,e[38]=70,e[39]=71,e[44]=72,e[47]=73,e[58]=74,e[60]=75,e[62]=76,e[68]=77,e[69]=78,e[75]=79,e[87]=80,e[89]=81,e[90]=82,e[94]=83,e[100]=84,e[104]=85,e[115]=86,e[116]=87,e[121]=88,e[122]=89,e[127]=90,e[258]=97,e[268]=261,e[271]=98,e[272]=99,e[273]=263,e[282]=100,e[286]=101,e[295]=281,e[296]=102,e[336]=103,e[346]=104,e[349]=105,e[361]=106,e[364]=107,e[367]=108,e[371]=322,e[373]=109,e[374]=110,e[381]=111,e[383]=243,e[393]=112,e[395]=113,e[396]=114,e[400]=115,e[401]=347,e[410]=116,e[437]=117,e[448]=118,e[449]=119,e[454]=120,e[455]=121,e[460]=122,e[463]=380,e[853]=44,e[855]=58,e[856]=46,e[876]=47,e[878]=45,e[882]=45,e[894]=40,e[895]=41,e[896]=91,e[897]=93,e[923]=64,e[1004]=48,e[1005]=49,e[1006]=50,e[1007]=51,e[1008]=52,e[1009]=53,e[1010]=54,e[1011]=55,e[1012]=56,e[1013]=57,e[1081]=37,e[1085]=43,e[1086]=45}));t.getSupplementalGlyphMapForCalibri=l},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToUnicodeMap=t.IdentityToUnicodeMap=void 0;var n=r(4);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),e}var s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];a(this,e),this._map=t}return o(e,[{key:"length",get:function(){return this._map.length}},{key:"forEach",value:function(e){for(var t in this._map)e(t,this._map[t].charCodeAt(0))}},{key:"has",value:function(e){return void 0!==this._map[e]}},{key:"get",value:function(e){return this._map[e]}},{key:"charCodeOf",value:function(e){var t=this._map;if(t.length<=65536)return t.indexOf(e);for(var r in t)if(t[r]===e)return 0|r;return-1}},{key:"amend",value:function(e){for(var t in e)this._map[t]=e[t]}}]),e}();t.ToUnicodeMap=s;var c=function(){function e(t,r){a(this,e),this.firstChar=t,this.lastChar=r}return o(e,[{key:"length",get:function(){return this.lastChar+1-this.firstChar}},{key:"forEach",value:function(e){for(var t=this.firstChar,r=this.lastChar;t<=r;t++)e(t,t)}},{key:"has",value:function(e){return this.firstChar<=e&&e<=this.lastChar}},{key:"get",value:function(e){if(this.firstChar<=e&&e<=this.lastChar)return String.fromCharCode(e)}},{key:"charCodeOf",value:function(e){return Number.isInteger(e)&&e>=this.firstChar&&e<=this.lastChar?e:-1}},{key:"amend",value:function(e){(0,n.unreachable)("Should not call amend()")}}]),e}();t.IdentityToUnicodeMap=c},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CFFFont=void 0;var n=r(143),a=r(146),i=r(4);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var s=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.properties=r;var o=new n.CFFParser(t,r,a.SEAC_ANALYSIS_ENABLED);this.cff=o.parse(),this.cff.duplicateFirstGlyph();var s=new n.CFFCompiler(this.cff);this.seacs=this.cff.seacs;try{this.data=s.compile()}catch(e){(0,i.warn)("Failed to compile font "+r.loadedName),this.data=t}this._createBuiltInEncoding()}var t,r,s;return t=e,(r=[{key:"numGlyphs",get:function(){return this.cff.charStrings.count}},{key:"getCharset",value:function(){return this.cff.charset.charset}},{key:"getGlyphMapping",value:function(){var e,t,r=this.cff,n=this.properties,i=r.charset.charset;if(n.composite){if(e=Object.create(null),r.isCIDFont)for(t=0;t<i.length;t++){var o=i[t];e[n.cMap.charCodeOf(o)]=t}else for(t=0;t<r.charStrings.count;t++)e[n.cMap.charCodeOf(t)]=t;return e}var s=r.encoding?r.encoding.encoding:null;return e=(0,a.type1FontGlyphMapping)(n,s,i)}},{key:"hasGlyphId",value:function(e){return this.cff.hasGlyphId(e)}},{key:"_createBuiltInEncoding",value:function(){var e=this.cff,t=e.charset,r=e.encoding;if(t&&r){var n=t.charset,a=r.encoding,i=[];for(var o in a){var s=a[o];if(s>=0){var c=n[s];c&&(i[o]=c)}}i.length>0&&(this.properties.builtInEncoding=i)}}}])&&o(t.prototype,r),s&&o(t,s),e}();t.CFFFont=s},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.FontRendererFactory=void 0;var a=r(4),i=r(143),o=r(147),s=r(145),c=r(118);function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function f(e){var t=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(e){return!1}}();return function(){var r,n=d(e);if(t){var a=d(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return t&&g(e.prototype,t),r&&g(e,r),e}function v(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]}function y(e,t){return e[t]<<8|e[t+1]}function b(e){var t=e.length,r=32768;return t<1240?r=107:t<33900&&(r=1131),r}function w(e,t,r){var n,i,o,s=1===y(e,t+2)?v(e,t+8):v(e,t+16),c=y(e,t+s);if(4===c){y(e,t+s+2);var u=y(e,t+s+6)>>1;for(i=t+s+14,n=[],o=0;o<u;o++,i+=2)n[o]={end:y(e,i)};for(i+=2,o=0;o<u;o++,i+=2)n[o].start=y(e,i);for(o=0;o<u;o++,i+=2)n[o].idDelta=y(e,i);for(o=0;o<u;o++,i+=2){var l=y(e,i);if(0!==l){n[o].ids=[];for(var f=0,h=n[o].end-n[o].start+1;f<h;f++)n[o].ids[f]=y(e,i+l),l+=2}}return n}if(12===c){v(e,t+s+4);var d=v(e,t+s+12);for(i=t+s+16,n=[],o=0;o<d;o++)n.push({start:v(e,i),end:v(e,i+4),idDelta:v(e,i+8)-v(e,i)}),i+=12;return n}throw new a.FormatError("unsupported cmap: ".concat(c))}function k(e,t,r,n){var a=new i.CFFParser(new c.Stream(e,t,r-t),{},n).parse();return{glyphs:a.charStrings.objects,subrs:a.topDict.privateDict&&a.topDict.privateDict.subrsIndex&&a.topDict.privateDict.subrsIndex.objects,gsubrs:a.globalSubrIndex&&a.globalSubrIndex.objects,isCFFCIDFont:a.isCIDFont,fdSelect:a.fdSelect,fdArray:a.fdArray}}function S(e,t){for(var r=t.codePointAt(0),n=0,a=0,i=e.length-1;a<i;){var o=a+i+1>>1;r<e[o].start?i=o-1:a=o}return e[a].start<=r&&r<=e[a].end&&(n=e[a].idDelta+(e[a].ids?e[a].ids[r-e[a].start]:r)&65535),{charCode:r,glyphId:n}}function x(e,t,r){function n(e,r){t.push({cmd:"moveTo",args:[e,r]})}function a(e,r){t.push({cmd:"lineTo",args:[e,r]})}function i(e,r,n,a){t.push({cmd:"quadraticCurveTo",args:[e,r,n,a]})}var o,s=0,c=(e[s]<<24|e[s+1]<<16)>>16,u=0,l=0;if(s+=10,c<0)do{o=e[s]<<8|e[s+1];var f=e[s+2]<<8|e[s+3];s+=4;var h=void 0,d=void 0;1&o?(h=(e[s]<<24|e[s+1]<<16)>>16,d=(e[s+2]<<24|e[s+3]<<16)>>16,s+=4):(h=e[s++],d=e[s++]),2&o?(u=h,l=d):(u=0,l=0);var p=1,g=1,m=0,v=0;8&o?(p=g=(e[s]<<24|e[s+1]<<16)/1073741824,s+=2):64&o?(p=(e[s]<<24|e[s+1]<<16)/1073741824,g=(e[s+2]<<24|e[s+3]<<16)/1073741824,s+=4):128&o&&(p=(e[s]<<24|e[s+1]<<16)/1073741824,m=(e[s+2]<<24|e[s+3]<<16)/1073741824,v=(e[s+4]<<24|e[s+5]<<16)/1073741824,g=(e[s+6]<<24|e[s+7]<<16)/1073741824,s+=8);var y=r.glyphs[f];y&&(t.push({cmd:"save"},{cmd:"transform",args:[p,m,v,g,u,l]}),x(y,t,r),t.push({cmd:"restore"}))}while(32&o);else{var b,w,k=[];for(b=0;b<c;b++)k.push(e[s]<<8|e[s+1]),s+=2;s+=2+(e[s]<<8|e[s+1]);for(var S=k[k.length-1]+1,A=[];A.length<S;){var O=1;for(8&(o=e[s++])&&(O+=e[s++]);O-- >0;)A.push({flags:o})}for(b=0;b<S;b++){switch(18&A[b].flags){case 0:u+=(e[s]<<24|e[s+1]<<16)>>16,s+=2;break;case 2:u-=e[s++];break;case 18:u+=e[s++]}A[b].x=u}for(b=0;b<S;b++){switch(36&A[b].flags){case 0:l+=(e[s]<<24|e[s+1]<<16)>>16,s+=2;break;case 4:l-=e[s++];break;case 36:l+=e[s++]}A[b].y=l}var C=0;for(s=0;s<c;s++){var T=k[s],F=A.slice(C,T+1);if(1&F[0].flags)F.push(F[0]);else if(1&F[F.length-1].flags)F.unshift(F[F.length-1]);else{var P={flags:1,x:(F[0].x+F[F.length-1].x)/2,y:(F[0].y+F[F.length-1].y)/2};F.unshift(P),F.push(P)}for(n(F[0].x,F[0].y),b=1,w=F.length;b<w;b++)1&F[b].flags?a(F[b].x,F[b].y):1&F[b+1].flags?(i(F[b].x,F[b].y,F[b+1].x,F[b+1].y),b++):i(F[b].x,F[b].y,(F[b].x+F[b+1].x)/2,(F[b].y+F[b+1].y)/2);C=T+1}}}function A(e,t,r,n){function i(e,r){t.push({cmd:"moveTo",args:[e,r]})}function o(e,r){t.push({cmd:"lineTo",args:[e,r]})}function c(e,r,n,a,i,o){t.push({cmd:"bezierCurveTo",args:[e,r,n,a,i,o]})}var u=[],l=0,f=0,h=0;!function e(d){for(var p=0;p<d.length;){var g=!1,m=d[p++],v=void 0,y=void 0,w=void 0,k=void 0,x=void 0,O=void 0,C=void 0,T=void 0;switch(m){case 1:case 3:case 18:case 23:h+=u.length>>1,g=!0;break;case 4:f+=u.pop(),i(l,f),g=!0;break;case 5:for(;u.length>0;)l+=u.shift(),f+=u.shift(),o(l,f);break;case 6:for(;u.length>0&&(o(l+=u.shift(),f),0!==u.length);)f+=u.shift(),o(l,f);break;case 7:for(;u.length>0&&(f+=u.shift(),o(l,f),0!==u.length);)o(l+=u.shift(),f);break;case 8:for(;u.length>0;)v=l+u.shift(),w=f+u.shift(),y=v+u.shift(),k=w+u.shift(),l=y+u.shift(),f=k+u.shift(),c(v,w,y,k,l,f);break;case 10:if(C=u.pop(),T=null,r.isCFFCIDFont){var F=r.fdSelect.getFDIndex(n);if(F>=0&&F<r.fdArray.length){var P=r.fdArray[F],_=void 0;P.privateDict&&P.privateDict.subrsIndex&&(_=P.privateDict.subrsIndex.objects),_&&(T=_[C+=b(_)])}else(0,a.warn)("Invalid fd index for glyph index.")}else T=r.subrs[C+r.subrsBias];T&&e(T);break;case 11:return;case 12:switch(m=d[p++]){case 34:y=(v=l+u.shift())+u.shift(),x=f+u.shift(),l=y+u.shift(),c(v,f,y,x,l,x),y=(v=l+u.shift())+u.shift(),l=y+u.shift(),c(v,x,y,f,l,f);break;case 35:v=l+u.shift(),w=f+u.shift(),y=v+u.shift(),k=w+u.shift(),l=y+u.shift(),f=k+u.shift(),c(v,w,y,k,l,f),v=l+u.shift(),w=f+u.shift(),y=v+u.shift(),k=w+u.shift(),l=y+u.shift(),f=k+u.shift(),c(v,w,y,k,l,f),u.pop();break;case 36:c(v=l+u.shift(),x=f+u.shift(),y=v+u.shift(),O=x+u.shift(),l=y+u.shift(),O),c(v=l+u.shift(),O,y=v+u.shift(),O+u.shift(),l=y+u.shift(),f);break;case 37:var I=l,E=f;v=l+u.shift(),w=f+u.shift(),y=v+u.shift(),k=w+u.shift(),l=y+u.shift(),f=k+u.shift(),c(v,w,y,k,l,f),v=l+u.shift(),w=f+u.shift(),y=v+u.shift(),k=w+u.shift(),l=y,f=k,Math.abs(l-I)>Math.abs(f-E)?l+=u.shift():f+=u.shift(),c(v,w,y,k,l,f);break;default:throw new a.FormatError("unknown operator: 12 ".concat(m))}break;case 14:if(u.length>=4){var j=u.pop(),R=u.pop();f=u.pop(),l=u.pop(),t.push({cmd:"save"},{cmd:"translate",args:[l,f]});var M=S(r.cmap,String.fromCharCode(r.glyphNameMap[s.StandardEncoding[j]]));A(r.glyphs[M.glyphId],t,r,M.glyphId),t.push({cmd:"restore"}),M=S(r.cmap,String.fromCharCode(r.glyphNameMap[s.StandardEncoding[R]])),A(r.glyphs[M.glyphId],t,r,M.glyphId)}return;case 19:case 20:p+=(h+=u.length>>1)+7>>3,g=!0;break;case 21:f+=u.pop(),i(l+=u.pop(),f),g=!0;break;case 22:i(l+=u.pop(),f),g=!0;break;case 24:for(;u.length>2;)v=l+u.shift(),w=f+u.shift(),y=v+u.shift(),k=w+u.shift(),l=y+u.shift(),f=k+u.shift(),c(v,w,y,k,l,f);l+=u.shift(),f+=u.shift(),o(l,f);break;case 25:for(;u.length>6;)l+=u.shift(),f+=u.shift(),o(l,f);v=l+u.shift(),w=f+u.shift(),y=v+u.shift(),k=w+u.shift(),l=y+u.shift(),f=k+u.shift(),c(v,w,y,k,l,f);break;case 26:for(u.length%2&&(l+=u.shift());u.length>0;)v=l,w=f+u.shift(),y=v+u.shift(),k=w+u.shift(),l=y,f=k+u.shift(),c(v,w,y,k,l,f);break;case 27:for(u.length%2&&(f+=u.shift());u.length>0;)c(v=l+u.shift(),w=f,y=v+u.shift(),k=w+u.shift(),l=y+u.shift(),f=k);break;case 28:u.push((d[p]<<24|d[p+1]<<16)>>16),p+=2;break;case 29:C=u.pop()+r.gsubrsBias,(T=r.gsubrs[C])&&e(T);break;case 30:for(;u.length>0&&(v=l,w=f+u.shift(),y=v+u.shift(),k=w+u.shift(),l=y+u.shift(),f=k+(1===u.length?u.shift():0),c(v,w,y,k,l,f),0!==u.length);)v=l+u.shift(),w=f,y=v+u.shift(),k=w+u.shift(),f=k+u.shift(),c(v,w,y,k,l=y+(1===u.length?u.shift():0),f);break;case 31:for(;u.length>0&&(v=l+u.shift(),w=f,y=v+u.shift(),k=w+u.shift(),f=k+u.shift(),c(v,w,y,k,l=y+(1===u.length?u.shift():0),f),0!==u.length);)v=l,w=f+u.shift(),y=v+u.shift(),k=w+u.shift(),l=y+u.shift(),f=k+(1===u.length?u.shift():0),c(v,w,y,k,l,f);break;default:if(m<32)throw new a.FormatError("unknown operator: ".concat(m));m<247?u.push(m-139):m<251?u.push(256*(m-247)+d[p++]+108):m<255?u.push(256*-(m-251)-d[p++]-108):(u.push((d[p]<<24|d[p+1]<<16|d[p+2]<<8|d[p+3])/65536),p+=4)}g&&(u.length=0)}}(e)}var O=[],C=function(){function e(t){p(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize CompiledFont."),this.fontMatrix=t,this.compiledGlyphs=Object.create(null),this.compiledCharCodeToGlyphId=Object.create(null)}return m(e,[{key:"getPathJs",value:function(e){var t=S(this.cmap,e),r=t.charCode,n=t.glyphId,a=this.compiledGlyphs[n];if(!a)try{a=this.compileGlyph(this.glyphs[n],n),this.compiledGlyphs[n]=a}catch(e){throw this.compiledGlyphs[n]=O,void 0===this.compiledCharCodeToGlyphId[r]&&(this.compiledCharCodeToGlyphId[r]=n),e}return void 0===this.compiledCharCodeToGlyphId[r]&&(this.compiledCharCodeToGlyphId[r]=n),a}},{key:"compileGlyph",value:function(e,t){if(!e||0===e.length||14===e[0])return O;var r=this.fontMatrix;if(this.isCFFCIDFont){var n=this.fdSelect.getFDIndex(t);n>=0&&n<this.fdArray.length?r=this.fdArray[n].getByName("FontMatrix")||a.FONT_IDENTITY_MATRIX:(0,a.warn)("Invalid fd index for glyph index.")}var i=[{cmd:"save"},{cmd:"transform",args:r.slice()},{cmd:"scale",args:["size","-size"]}];return this.compileGlyphImpl(e,i,t),i.push({cmd:"restore"}),i}},{key:"compileGlyphImpl",value:function(){(0,a.unreachable)("Children classes should implement this.")}},{key:"hasBuiltPath",value:function(e){var t=S(this.cmap,e),r=t.charCode,n=t.glyphId;return void 0!==this.compiledGlyphs[n]&&void 0!==this.compiledCharCodeToGlyphId[r]}}]),e}(),T=function(e){u(r,e);var t=f(r);function r(e,n,a){var i;return p(this,r),(i=t.call(this,a||[488e-6,0,0,488e-6,0,0])).glyphs=e,i.cmap=n,i}return m(r,[{key:"compileGlyphImpl",value:function(e,t){x(e,t,this)}}]),r}(C),F=function(e){u(r,e);var t=f(r);function r(e,n,a,i){var s;return p(this,r),(s=t.call(this,a||[.001,0,0,.001,0,0])).glyphs=e.glyphs,s.gsubrs=e.gsubrs||[],s.subrs=e.subrs||[],s.cmap=n,s.glyphNameMap=i||(0,o.getGlyphsUnicode)(),s.gsubrsBias=b(s.gsubrs),s.subrsBias=b(s.subrs),s.isCFFCIDFont=e.isCFFCIDFont,s.fdSelect=e.fdSelect,s.fdArray=e.fdArray,s}return m(r,[{key:"compileGlyphImpl",value:function(e,t,r){A(e,t,this,r)}}]),r}(C),P=function(){function e(){p(this,e)}return m(e,null,[{key:"create",value:function(e,t){for(var r,n,i,o,s,c,u=new Uint8Array(e.data),l=y(u,4),f=0,h=12;f<l;f++,h+=16){var d=(0,a.bytesToString)(u.subarray(h,h+4)),p=v(u,h+8),g=v(u,h+12);switch(d){case"cmap":r=w(u,p);break;case"glyf":n=u.subarray(p,p+g);break;case"loca":i=u.subarray(p,p+g);break;case"head":c=y(u,p+18),s=y(u,p+50);break;case"CFF ":o=k(u,p,p+g,t)}}if(n){var m=c?[1/c,0,0,1/c,0,0]:e.fontMatrix;return new T(function(e,t,r){var n,a;r?(n=4,a=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]}):(n=2,a=function(e,t){return e[t]<<9|e[t+1]<<1});for(var i=[],o=a(t,0),s=n;s<t.length;s+=n){var c=a(t,s);i.push(e.subarray(o,c)),o=c}return i}(n,i,s),r,m)}return new F(o,r,e.fontMatrix,e.glyphNameMap)}}]),e}();t.FontRendererFactory=P},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OpenTypeFileBuilder=void 0;var n=r(117),a=r(4);function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){e[t]=r>>8&255,e[t+1]=255&r}function s(e,t,r){e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r}function c(e,t,r){if(r instanceof Uint8Array)e.set(r,t);else if("string"==typeof r)for(var n=0,a=r.length;n<a;n++)e[t++]=255&r.charCodeAt(n);else for(var i=0,o=r.length;i<o;i++)e[t++]=255&r[i]}var u=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sfnt=t,this.tables=Object.create(null)}var t,r,u;return t=e,u=[{key:"getSearchParams",value:function(e,t){for(var r=1,n=0;(r^e)>r;)r<<=1,n++;var a=r*t;return{range:a,entry:n,rangeShift:t*e-a}}}],(r=[{key:"toArray",value:function(){var t=this.sfnt,r=this.tables,i=Object.keys(r);i.sort();var u,l,f,h,d,p=i.length,g=12+16*p,m=[g];for(u=0;u<p;u++)g+=((h=r[i[u]]).length+3&-4)>>>0,m.push(g);var v=new Uint8Array(g);for(u=0;u<p;u++)h=r[i[u]],c(v,m[u],h);"true"===t&&(t=(0,a.string32)(65536)),v[0]=255&t.charCodeAt(0),v[1]=255&t.charCodeAt(1),v[2]=255&t.charCodeAt(2),v[3]=255&t.charCodeAt(3),o(v,4,p);var y=e.getSearchParams(p,16);for(o(v,6,y.range),o(v,8,y.entry),o(v,10,y.rangeShift),g=12,u=0;u<p;u++){d=i[u],v[g]=255&d.charCodeAt(0),v[g+1]=255&d.charCodeAt(1),v[g+2]=255&d.charCodeAt(2),v[g+3]=255&d.charCodeAt(3);var b=0;for(l=m[u],f=m[u+1];l<f;l+=4)b=b+(0,n.readUint32)(v,l)>>>0;s(v,g+4,b),s(v,g+8,m[u]),s(v,g+12,r[d].length),g+=16}return v}},{key:"addTable",value:function(e,t){if(e in this.tables)throw new Error("Table "+e+" already exists");this.tables[e]=t}}])&&i(t.prototype,r),u&&i(t,u),e}();t.OpenTypeFileBuilder=u},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Type1Font=void 0;var n=r(143),a=r(146),i=r(117),o=r(118),s=r(155),c=r(4);function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t,r){for(var n=e.length,a=t.length,o=n-a,s=r,c=!1;s<o;){for(var u=0;u<a&&e[s+u]===t[u];)u++;if(u>=a){for(s+=u;s<n&&(0,i.isWhiteSpace)(e[s]);)s++;c=!0;break}s++}return{found:c,length:s}}var f=function(){function e(t,r,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var i=n.length1,u=(n.length2,r.peekBytes(6)),f=128===u[0]&&1===u[1];f&&(r.skip(6),i=u[5]<<24|u[4]<<16|u[3]<<8|u[2]);var h=function(e,t){var r,n,a,i,s=[101,101,120,101,99],u=e.pos;try{n=(r=e.getBytes(t)).length}catch(e){}if(n===t&&(a=l(r,s,t-2*s.length)).found&&a.length===t)return{stream:new o.Stream(r),length:t};for((0,c.warn)(\'Invalid "Length1" property in Type1 font -- trying to recover.\'),e.pos=u;0!==(a=l(e.peekBytes(2048),s,0)).length;)if(e.pos+=a.length,a.found){i=e.pos-u;break}return e.pos=u,i?{stream:new o.Stream(e.getBytes(i)),length:i}:((0,c.warn)(\'Unable to recover "Length1" property in Type1 font -- using as is.\'),{stream:new o.Stream(e.getBytes(t)),length:t})}(r,i);new s.Type1Parser(h.stream,!1,a.SEAC_ANALYSIS_ENABLED).extractFontHeader(n),f&&((u=r.getBytes(6))[5],u[4],u[3],u[2]);var d,p=(d=r.getBytes(),{stream:new o.Stream(d),length:d.length}),g=new s.Type1Parser(p.stream,!0,a.SEAC_ANALYSIS_ENABLED).extractFontProgram(n);for(var m in g.properties)n[m]=g.properties[m];var v=g.charstrings,y=this.getType2Charstrings(v),b=this.getType2Subrs(g.subrs);this.charstrings=v,this.data=this.wrap(t,y,this.charstrings,b,n),this.seacs=this.getSeacs(g.charstrings)}var t,r,i;return t=e,(r=[{key:"numGlyphs",get:function(){return this.charstrings.length+1}},{key:"getCharset",value:function(){for(var e=[".notdef"],t=this.charstrings,r=0;r<t.length;r++)e.push(t[r].glyphName);return e}},{key:"getGlyphMapping",value:function(e){var t=this.charstrings;if(e.composite){for(var r=Object.create(null),n=0,i=t.length;n<i;n++)r[e.cMap.charCodeOf(n)]=n+1;return r}var o,s,c=[".notdef"];for(s=0;s<t.length;s++)c.push(t[s].glyphName);var u=e.builtInEncoding;if(u)for(var l in o=Object.create(null),u)(s=c.indexOf(u[l]))>=0&&(o[l]=s);return(0,a.type1FontGlyphMapping)(e,o,c)}},{key:"hasGlyphId",value:function(e){return!(e<0||e>=this.numGlyphs)&&(0===e||this.charstrings[e-1].charstring.length>0)}},{key:"getSeacs",value:function(e){for(var t=[],r=0,n=e.length;r<n;r++){var a=e[r];a.seac&&(t[r+1]=a.seac)}return t}},{key:"getType2Charstrings",value:function(e){for(var t=[],r=0,n=e.length;r<n;r++)t.push(e[r].charstring);return t}},{key:"getType2Subrs",value:function(e){var t=0,r=e.length;t=r<1133?107:r<33769?1131:32768;var n,a=[];for(n=0;n<t;n++)a.push([11]);for(n=0;n<r;n++)a.push(e[n]);return a}},{key:"wrap",value:function(e,t,r,a,i){var o=new n.CFF;o.header=new n.CFFHeader(1,0,4,4),o.names=[e];var s=new n.CFFTopDict;s.setByName("version",391),s.setByName("Notice",392),s.setByName("FullName",393),s.setByName("FamilyName",394),s.setByName("Weight",395),s.setByName("Encoding",null),s.setByName("FontMatrix",i.fontMatrix),s.setByName("FontBBox",i.bbox),s.setByName("charset",null),s.setByName("CharStrings",null),s.setByName("Private",null),o.topDict=s;var c=new n.CFFStrings;c.add("Version 0.11"),c.add("See original notice"),c.add(e),c.add(e),c.add("Medium"),o.strings=c,o.globalSubrIndex=new n.CFFIndex;var u,l,f=t.length,h=[".notdef"];for(u=0;u<f;u++){var d=r[u].glyphName;-1===n.CFFStandardStrings.indexOf(d)&&c.add(d),h.push(d)}o.charset=new n.CFFCharset(!1,0,h);var p=new n.CFFIndex;for(p.add([139,14]),u=0;u<f;u++)p.add(t[u]);o.charStrings=p;var g=new n.CFFPrivateDict;g.setByName("Subrs",null);var m=["BlueValues","OtherBlues","FamilyBlues","FamilyOtherBlues","StemSnapH","StemSnapV","BlueShift","BlueFuzz","BlueScale","LanguageGroup","ExpansionFactor","ForceBold","StdHW","StdVW"];for(u=0,l=m.length;u<l;u++){var v=m[u];if(v in i.privateData){var y=i.privateData[v];if(Array.isArray(y))for(var b=y.length-1;b>0;b--)y[b]-=y[b-1];g.setByName(v,y)}}o.topDict.privateDict=g;var w=new n.CFFIndex;for(u=0,l=a.length;u<l;u++)w.add(a[u]);return g.subrsIndex=w,new n.CFFCompiler(o).compile()}}])&&u(t.prototype,r),i&&u(t,i),e}();t.Type1Font=f},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Type1Parser=void 0;var n=r(145),a=r(117),i=r(118),o=r(4);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),e}var l,f,h,d,p,g,m,v,y,b,w,k=(l=[4],f=[5],h=[6],d=[7],p=[8],g=[12,35],m=[14],v=[21],y=[22],b=[30],w=[31],function(){function e(){s(this,e),this.width=0,this.lsb=0,this.flexing=!1,this.output=[],this.stack=[]}return u(e,[{key:"convert",value:function(e,t,r){for(var n,a,i,s=e.length,c=!1,u=0;u<s;u++){var k=e[u];if(k<32){switch(12===k&&(k=(k<<8)+e[++u]),k){case 1:case 3:case 9:case 3072:case 3073:case 3074:case 3105:this.stack=[];break;case 4:if(this.flexing){if(this.stack.length<1){c=!0;break}var S=this.stack.pop();this.stack.push(0,S);break}c=this.executeCommand(1,l);break;case 5:c=this.executeCommand(2,f);break;case 6:c=this.executeCommand(1,h);break;case 7:c=this.executeCommand(1,d);break;case 8:c=this.executeCommand(6,p);break;case 10:if(this.stack.length<1){c=!0;break}if(!t[i=this.stack.pop()]){c=!0;break}c=this.convert(t[i],t,r);break;case 11:return c;case 13:if(this.stack.length<2){c=!0;break}n=this.stack.pop(),a=this.stack.pop(),this.lsb=a,this.width=n,this.stack.push(n,a),c=this.executeCommand(2,y);break;case 14:this.output.push(m[0]);break;case 21:if(this.flexing)break;c=this.executeCommand(2,v);break;case 22:if(this.flexing){this.stack.push(0);break}c=this.executeCommand(1,y);break;case 30:c=this.executeCommand(4,b);break;case 31:c=this.executeCommand(4,w);break;case 3078:if(r){var x=this.stack[this.stack.length-5];this.seac=this.stack.splice(-4,4),this.seac[0]+=this.lsb-x,c=this.executeCommand(0,m)}else c=this.executeCommand(4,m);break;case 3079:if(this.stack.length<4){c=!0;break}this.stack.pop(),n=this.stack.pop();var A=this.stack.pop();a=this.stack.pop(),this.lsb=a,this.width=n,this.stack.push(n,a,A),c=this.executeCommand(3,v);break;case 3084:if(this.stack.length<2){c=!0;break}var O=this.stack.pop(),C=this.stack.pop();this.stack.push(C/O);break;case 3088:if(this.stack.length<2){c=!0;break}i=this.stack.pop();var T=this.stack.pop();if(0===i&&3===T){var F=this.stack.splice(this.stack.length-17,17);this.stack.push(F[2]+F[0],F[3]+F[1],F[4],F[5],F[6],F[7],F[8],F[9],F[10],F[11],F[12],F[13],F[14]),c=this.executeCommand(13,g,!0),this.flexing=!1,this.stack.push(F[15],F[16])}else 1===i&&0===T&&(this.flexing=!0);break;case 3089:break;default:(0,o.warn)(\'Unknown type 1 charstring command of "\'+k+\'"\')}if(c)break}else k<=246?k-=139:k=k<=250?256*(k-247)+e[++u]+108:k<=254?-256*(k-251)-e[++u]-108:(255&e[++u])<<24|(255&e[++u])<<16|(255&e[++u])<<8|(255&e[++u])<<0,this.stack.push(k)}return c}},{key:"executeCommand",value:function(e,t,r){var n=this.stack.length;if(e>n)return!0;for(var a=n-e,i=a;i<n;i++){var o=this.stack[i];Number.isInteger(o)?this.output.push(28,o>>8&255,255&o):(o=65536*o|0,this.output.push(255,o>>24&255,o>>16&255,o>>8&255,255&o))}return this.output.push.apply(this.output,t),r?this.stack.splice(a,e):this.stack.length=0,!1}}]),e}()),S=function(){function e(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function t(e,t,r){if(r>=e.length)return new Uint8Array(0);var n,a,i=0|t;for(n=0;n<r;n++)i=52845*(e[n]+i)+22719&65535;var o=e.length-r,s=new Uint8Array(o);for(n=r,a=0;a<o;n++,a++){var c=e[n];s[a]=c^i>>8,i=52845*(c+i)+22719&65535}return s}function r(e){return 47===e||91===e||93===e||123===e||125===e||40===e||41===e}return function(){function o(r,n,c){if(s(this,o),n){var u=r.getBytes(),l=!((e(u[0])||(0,a.isWhiteSpace)(u[0]))&&e(u[1])&&e(u[2])&&e(u[3])&&e(u[4])&&e(u[5])&&e(u[6])&&e(u[7]));r=new i.Stream(l?t(u,55665,4):function(t,r,n){var a,i,o=0|r,s=t.length,c=new Uint8Array(s>>>1);for(a=0,i=0;a<s;a++){var u=t[a];if(e(u)){a++;for(var l=void 0;a<s&&!e(l=t[a]);)a++;if(a<s){var f=parseInt(String.fromCharCode(u,l),16);c[i++]=f^o>>8,o=52845*(f+o)+22719&65535}}}return c.slice(n,i)}(u,55665,4))}this.seacAnalysisEnabled=!!c,this.stream=r,this.nextChar()}return u(o,[{key:"readNumberArray",value:function(){this.getToken();for(var e=[];;){var t=this.getToken();if(null===t||"]"===t||"}"===t)break;e.push(parseFloat(t||0))}return e}},{key:"readNumber",value:function(){var e=this.getToken();return parseFloat(e||0)}},{key:"readInt",value:function(){var e=this.getToken();return 0|parseInt(e||0,10)}},{key:"readBoolean",value:function(){return"true"===this.getToken()?1:0}},{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"getToken",value:function(){for(var e=!1,t=this.currentChar;;){if(-1===t)return null;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(!(0,a.isWhiteSpace)(t))break;t=this.nextChar()}if(r(t))return this.nextChar(),String.fromCharCode(t);var n="";do{n+=String.fromCharCode(t),t=this.nextChar()}while(t>=0&&!(0,a.isWhiteSpace)(t)&&!r(t));return n}},{key:"readCharStrings",value:function(e,r){return-1===r?e:t(e,4330,r)}},{key:"extractFontProgram",value:function(e){var t=this.stream,r=[],n=[],a=Object.create(null);a.lenIV=4;for(var i,o,s,c,u,l={subrs:[],charstrings:[],properties:{privateData:a}};null!==(i=this.getToken());)if("/"===i)switch(i=this.getToken()){case"CharStrings":for(this.getToken(),this.getToken(),this.getToken(),this.getToken();null!==(i=this.getToken())&&"end"!==i;)if("/"===i){var f=this.getToken();o=this.readInt(),this.getToken(),s=o>0?t.getBytes(o):new Uint8Array(0),c=l.properties.privateData.lenIV,u=this.readCharStrings(s,c),this.nextChar(),"noaccess"===(i=this.getToken())&&this.getToken(),n.push({glyph:f,encoded:u})}break;case"Subrs":for(this.readInt(),this.getToken();"dup"===this.getToken();){var h=this.readInt();o=this.readInt(),this.getToken(),s=o>0?t.getBytes(o):new Uint8Array(0),c=l.properties.privateData.lenIV,u=this.readCharStrings(s,c),this.nextChar(),"noaccess"===(i=this.getToken())&&this.getToken(),r[h]=u}break;case"BlueValues":case"OtherBlues":case"FamilyBlues":case"FamilyOtherBlues":var d=this.readNumberArray();d.length>0&&d.length;break;case"StemSnapH":case"StemSnapV":l.properties.privateData[i]=this.readNumberArray();break;case"StdHW":case"StdVW":l.properties.privateData[i]=this.readNumberArray()[0];break;case"BlueShift":case"lenIV":case"BlueFuzz":case"BlueScale":case"LanguageGroup":case"ExpansionFactor":l.properties.privateData[i]=this.readNumber();break;case"ForceBold":l.properties.privateData[i]=this.readBoolean()}for(var p=0;p<n.length;p++){var g=n[p].glyph;u=n[p].encoded;var m=new k,v=m.convert(u,r,this.seacAnalysisEnabled),y=m.output;v&&(y=[14]);var b={glyphName:g,charstring:y,width:m.width,lsb:m.lsb,seac:m.seac};if(".notdef"===g?l.charstrings.unshift(b):l.charstrings.push(b),e.builtInEncoding){var w=e.builtInEncoding.indexOf(g);w>-1&&void 0===e.widths[w]&&w>=e.firstChar&&w<=e.lastChar&&(e.widths[w]=m.width)}}return l}},{key:"extractFontHeader",value:function(e){for(var t;null!==(t=this.getToken());)if("/"===t)switch(t=this.getToken()){case"FontMatrix":var r=this.readNumberArray();e.fontMatrix=r;break;case"Encoding":var a=this.getToken(),i=void 0;if(/^\\d+$/.test(a)){i=[];var o=0|parseInt(a,10);this.getToken();for(var s=0;s<o;s++){for(t=this.getToken();"dup"!==t&&"def"!==t;)if(null===(t=this.getToken()))return;if("def"===t)break;var c=this.readInt();this.getToken();var u=this.getToken();i[c]=u,this.getToken()}}else i=(0,n.getEncoding)(a);e.builtInEncoding=i;break;case"FontBBox":var l=this.readNumberArray();e.ascent=Math.max(l[3],l[1]),e.descent=Math.min(l[1],l[3]),e.ascentScaled=!0}}}]),o}()}();t.Type1Parser=S},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.getTilingPatternIR=function(e,t,r){var n=t.getArray("Matrix"),i=a.Util.normalizeRect(t.getArray("BBox")),o=t.get("XStep"),s=t.get("YStep"),c=t.get("PaintType"),u=t.get("TilingType");if(i[2]-i[0]==0||i[3]-i[1]==0)throw new a.FormatError("Invalid getTilingPatternIR /BBox array: [".concat(i,"]."));return["TilingPattern",r,e,n,i,o,s,c,u]},t.Pattern=void 0;var a=r(4),i=r(122),o=r(113),s=r(117);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(e,t)||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.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function h(e){var t=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(e){return!1}}();return function(){var r,n=p(e);if(t){var a=p(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return d(this,r)}}function d(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t,r){return t&&m(e.prototype,t),r&&m(e,r),e}var y=2,b=3,w=4,k=5,S=6,x=7,A=function(){function e(){g(this,e),(0,a.unreachable)("Cannot initialize Pattern.")}return v(e,null,[{key:"parseShading",value:function(e,t,r,n,i,c,u){var l=(0,o.isStream)(e)?e.dict:e,f=l.get("ShadingType");try{switch(f){case y:case b:return new T(l,t,r,n,c,u);case w:case k:case S:case x:return new _(e,t,r,n,c,u);default:throw new a.FormatError("Unsupported ShadingType: "+f)}}catch(e){if(e instanceof s.MissingDataException)throw e;return i.send("UnsupportedFeature",{featureId:a.UNSUPPORTED_FEATURES.shadingPattern}),(0,a.warn)(e),new I}}}]),e}();t.Pattern=A;var O,C=function(){function e(){g(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize BaseShading.")}return v(e,[{key:"getIR",value:function(){(0,a.unreachable)("Abstract method `getIR` called.")}}],[{key:"SMALL_NUMBER",get:function(){return(0,a.shadow)(this,"SMALL_NUMBER",1e-6)}}]),e}(),T=function(e){l(r,e);var t=h(r);function r(e,n,o,s,u,l){var f;g(this,r),(f=t.call(this)).matrix=n,f.coordsArr=e.getArray("Coords"),f.shadingType=e.get("ShadingType");var h=i.ColorSpace.parse({cs:e.getRaw("ColorSpace")||e.getRaw("CS"),xref:o,resources:s,pdfFunctionFactory:u,localColorSpaceCache:l}),p=e.getArray("BBox");Array.isArray(p)&&4===p.length?f.bbox=a.Util.normalizeRect(p):f.bbox=null;var m=0,v=1;if(e.has("Domain")){var y=e.getArray("Domain");m=y[0],v=y[1]}var w=!1,k=!1;if(e.has("Extend")){var S=e.getArray("Extend");w=S[0],k=S[1]}if(!(f.shadingType!==b||w&&k)){var x=c(f.coordsArr,6),A=x[0],O=x[1],T=x[2],F=x[3],P=x[4],_=x[5],I=Math.hypot(A-F,O-P);T<=_+I&&_<=T+I&&(0,a.warn)("Unsupported radial gradient.")}f.extendStart=w,f.extendEnd=k;var E=e.getRaw("Function"),j=u.createFromArray(E),R=(v-m)/10,M=f.colorStops=[];if(m>=v||R<=0)return(0,a.info)("Bad shading domain."),d(f);for(var N,B=new Float32Array(h.numComps),D=new Float32Array(1),L=0;L<=10;L++){D[0]=m+L*R,j(D,0,B,0),N=h.getRgb(B,0);var U=a.Util.makeHexColor(N[0],N[1],N[2]);M.push([L/10,U])}var q="transparent";return e.has("Background")&&(N=h.getRgb(e.get("Background"),0),q=a.Util.makeHexColor(N[0],N[1],N[2])),w||(M.unshift([0,q]),M[1][0]+=C.SMALL_NUMBER),k||(M[M.length-1][0]-=C.SMALL_NUMBER,M.push([1,q])),f.colorStops=M,f}return v(r,[{key:"getIR",value:function(){var e,t,r,n,i,o=this.coordsArr,s=this.shadingType;return s===y?(t=[o[0],o[1]],r=[o[2],o[3]],n=null,i=null,e="axial"):s===b?(t=[o[0],o[1]],r=[o[3],o[4]],n=o[2],i=o[5],e="radial"):(0,a.unreachable)("getPattern type unknown: ".concat(s)),["RadialAxial",e,this.bbox,this.colorStops,t,r,n,i,this.matrix]}}]),r}(C),F=function(){function e(t,r){g(this,e),this.stream=t,this.context=r,this.buffer=0,this.bufferLength=0;var n=r.numComps;this.tmpCompsBuf=new Float32Array(n);var a=r.colorSpace.numComps;this.tmpCsCompsBuf=r.colorFn?new Float32Array(a):this.tmpCompsBuf}return v(e,[{key:"hasData",get:function(){if(this.stream.end)return this.stream.pos<this.stream.end;if(this.bufferLength>0)return!0;var e=this.stream.getByte();return!(e<0||(this.buffer=e,this.bufferLength=8,0))}},{key:"readBits",value:function(e){var t=this.buffer,r=this.bufferLength;if(32===e){if(0===r)return(this.stream.getByte()<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte())>>>0;t=t<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte();var n=this.stream.getByte();return this.buffer=n&(1<<r)-1,(t<<8-r|(255&n)>>r)>>>0}if(8===e&&0===r)return this.stream.getByte();for(;r<e;)t=t<<8|this.stream.getByte(),r+=8;return r-=e,this.bufferLength=r,this.buffer=t&(1<<r)-1,t>>r}},{key:"align",value:function(){this.buffer=0,this.bufferLength=0}},{key:"readFlag",value:function(){return this.readBits(this.context.bitsPerFlag)}},{key:"readCoordinate",value:function(){var e=this.context.bitsPerCoordinate,t=this.readBits(e),r=this.readBits(e),n=this.context.decode,a=e<32?1/((1<<e)-1):2.3283064365386963e-10;return[t*a*(n[1]-n[0])+n[0],r*a*(n[3]-n[2])+n[2]]}},{key:"readComponents",value:function(){for(var e=this.context.numComps,t=this.context.bitsPerComponent,r=t<32?1/((1<<t)-1):2.3283064365386963e-10,n=this.context.decode,a=this.tmpCompsBuf,i=0,o=4;i<e;i++,o+=2){var s=this.readBits(t);a[i]=s*r*(n[o+1]-n[o])+n[o]}var c=this.tmpCsCompsBuf;return this.context.colorFn&&this.context.colorFn(a,0,c,0),this.context.colorSpace.getRgb(c,0)}}]),e}(),P=(O=[],function(e){return O[e]||(O[e]=function(e){for(var t=[],r=0;r<=e;r++){var n=r/e,a=1-n;t.push(new Float32Array([a*a*a,3*n*a*a,3*n*n*a,n*n*n]))}return t}(e)),O[e]}),_=function(e){l(r,e);var t=h(r);function r(e,n,s,c,u,l){var f;if(g(this,r),f=t.call(this),!(0,o.isStream)(e))throw new a.FormatError("Mesh data is not a stream");var h=e.dict;f.matrix=n,f.shadingType=h.get("ShadingType");var d=h.getArray("BBox");Array.isArray(d)&&4===d.length?f.bbox=a.Util.normalizeRect(d):f.bbox=null;var p=i.ColorSpace.parse({cs:h.getRaw("ColorSpace")||h.getRaw("CS"),xref:s,resources:c,pdfFunctionFactory:u,localColorSpaceCache:l});f.background=h.has("Background")?p.getRgb(h.get("Background"),0):null;var m=h.getRaw("Function"),v=m?u.createFromArray(m):null;f.coords=[],f.colors=[],f.figures=[];var y={bitsPerCoordinate:h.get("BitsPerCoordinate"),bitsPerComponent:h.get("BitsPerComponent"),bitsPerFlag:h.get("BitsPerFlag"),decode:h.getArray("Decode"),colorFn:v,colorSpace:p,numComps:v?1:p.numComps},b=new F(e,y),A=!1;switch(f.shadingType){case w:f._decodeType4Shading(b);break;case k:var O=0|h.get("VerticesPerRow");if(O<2)throw new a.FormatError("Invalid VerticesPerRow");f._decodeType5Shading(b,O);break;case S:f._decodeType6Shading(b),A=!0;break;case x:f._decodeType7Shading(b),A=!0;break;default:(0,a.unreachable)("Unsupported mesh type.")}if(A){f._updateBounds();for(var C=0,T=f.figures.length;C<T;C++)f._buildFigureFromPatch(C)}return f._updateBounds(),f._packData(),f}return v(r,[{key:"_decodeType4Shading",value:function(e){for(var t=this.coords,r=this.colors,n=[],i=[],o=0;e.hasData;){var s=e.readFlag(),c=e.readCoordinate(),u=e.readComponents();if(0===o){if(!(0<=s&&s<=2))throw new a.FormatError("Unknown type4 flag");switch(s){case 0:o=3;break;case 1:i.push(i[i.length-2],i[i.length-1]),o=1;break;case 2:i.push(i[i.length-3],i[i.length-1]),o=1}n.push(s)}i.push(t.length),t.push(c),r.push(u),o--,e.align()}this.figures.push({type:"triangles",coords:new Int32Array(i),colors:new Int32Array(i)})}},{key:"_decodeType5Shading",value:function(e,t){for(var r=this.coords,n=this.colors,a=[];e.hasData;){var i=e.readCoordinate(),o=e.readComponents();a.push(r.length),r.push(i),n.push(o)}this.figures.push({type:"lattice",coords:new Int32Array(a),colors:new Int32Array(a),verticesPerRow:t})}},{key:"_decodeType6Shading",value:function(e){for(var t=this.coords,r=this.colors,n=new Int32Array(16),i=new Int32Array(4);e.hasData;){var o=e.readFlag();if(!(0<=o&&o<=3))throw new a.FormatError("Unknown type6 flag");for(var s=t.length,c=0,u=0!==o?8:12;c<u;c++)t.push(e.readCoordinate());for(var l=r.length,f=0,h=0!==o?2:4;f<h;f++)r.push(e.readComponents());var d=void 0,p=void 0,g=void 0,m=void 0;switch(o){case 0:n[12]=s+3,n[13]=s+4,n[14]=s+5,n[15]=s+6,n[8]=s+2,n[11]=s+7,n[4]=s+1,n[7]=s+8,n[0]=s,n[1]=s+11,n[2]=s+10,n[3]=s+9,i[2]=l+1,i[3]=l+2,i[0]=l,i[1]=l+3;break;case 1:d=n[12],p=n[13],g=n[14],m=n[15],n[12]=m,n[13]=s+0,n[14]=s+1,n[15]=s+2,n[8]=g,n[11]=s+3,n[4]=p,n[7]=s+4,n[0]=d,n[1]=s+7,n[2]=s+6,n[3]=s+5,d=i[2],p=i[3],i[2]=p,i[3]=l,i[0]=d,i[1]=l+1;break;case 2:d=n[15],p=n[11],n[12]=n[3],n[13]=s+0,n[14]=s+1,n[15]=s+2,n[8]=n[7],n[11]=s+3,n[4]=p,n[7]=s+4,n[0]=d,n[1]=s+7,n[2]=s+6,n[3]=s+5,d=i[3],i[2]=i[1],i[3]=l,i[0]=d,i[1]=l+1;break;case 3:n[12]=n[0],n[13]=s+0,n[14]=s+1,n[15]=s+2,n[8]=n[1],n[11]=s+3,n[4]=n[2],n[7]=s+4,n[0]=n[3],n[1]=s+7,n[2]=s+6,n[3]=s+5,i[2]=i[0],i[3]=l,i[0]=i[1],i[1]=l+1}n[5]=t.length,t.push([(-4*t[n[0]][0]-t[n[15]][0]+6*(t[n[4]][0]+t[n[1]][0])-2*(t[n[12]][0]+t[n[3]][0])+3*(t[n[13]][0]+t[n[7]][0]))/9,(-4*t[n[0]][1]-t[n[15]][1]+6*(t[n[4]][1]+t[n[1]][1])-2*(t[n[12]][1]+t[n[3]][1])+3*(t[n[13]][1]+t[n[7]][1]))/9]),n[6]=t.length,t.push([(-4*t[n[3]][0]-t[n[12]][0]+6*(t[n[2]][0]+t[n[7]][0])-2*(t[n[0]][0]+t[n[15]][0])+3*(t[n[4]][0]+t[n[14]][0]))/9,(-4*t[n[3]][1]-t[n[12]][1]+6*(t[n[2]][1]+t[n[7]][1])-2*(t[n[0]][1]+t[n[15]][1])+3*(t[n[4]][1]+t[n[14]][1]))/9]),n[9]=t.length,t.push([(-4*t[n[12]][0]-t[n[3]][0]+6*(t[n[8]][0]+t[n[13]][0])-2*(t[n[0]][0]+t[n[15]][0])+3*(t[n[11]][0]+t[n[1]][0]))/9,(-4*t[n[12]][1]-t[n[3]][1]+6*(t[n[8]][1]+t[n[13]][1])-2*(t[n[0]][1]+t[n[15]][1])+3*(t[n[11]][1]+t[n[1]][1]))/9]),n[10]=t.length,t.push([(-4*t[n[15]][0]-t[n[0]][0]+6*(t[n[11]][0]+t[n[14]][0])-2*(t[n[12]][0]+t[n[3]][0])+3*(t[n[2]][0]+t[n[8]][0]))/9,(-4*t[n[15]][1]-t[n[0]][1]+6*(t[n[11]][1]+t[n[14]][1])-2*(t[n[12]][1]+t[n[3]][1])+3*(t[n[2]][1]+t[n[8]][1]))/9]),this.figures.push({type:"patch",coords:new Int32Array(n),colors:new Int32Array(i)})}}},{key:"_decodeType7Shading",value:function(e){for(var t=this.coords,r=this.colors,n=new Int32Array(16),i=new Int32Array(4);e.hasData;){var o=e.readFlag();if(!(0<=o&&o<=3))throw new a.FormatError("Unknown type7 flag");for(var s=t.length,c=0,u=0!==o?12:16;c<u;c++)t.push(e.readCoordinate());for(var l=r.length,f=0,h=0!==o?2:4;f<h;f++)r.push(e.readComponents());var d=void 0,p=void 0,g=void 0,m=void 0;switch(o){case 0:n[12]=s+3,n[13]=s+4,n[14]=s+5,n[15]=s+6,n[8]=s+2,n[9]=s+13,n[10]=s+14,n[11]=s+7,n[4]=s+1,n[5]=s+12,n[6]=s+15,n[7]=s+8,n[0]=s,n[1]=s+11,n[2]=s+10,n[3]=s+9,i[2]=l+1,i[3]=l+2,i[0]=l,i[1]=l+3;break;case 1:d=n[12],p=n[13],g=n[14],m=n[15],n[12]=m,n[13]=s+0,n[14]=s+1,n[15]=s+2,n[8]=g,n[9]=s+9,n[10]=s+10,n[11]=s+3,n[4]=p,n[5]=s+8,n[6]=s+11,n[7]=s+4,n[0]=d,n[1]=s+7,n[2]=s+6,n[3]=s+5,d=i[2],p=i[3],i[2]=p,i[3]=l,i[0]=d,i[1]=l+1;break;case 2:d=n[15],p=n[11],n[12]=n[3],n[13]=s+0,n[14]=s+1,n[15]=s+2,n[8]=n[7],n[9]=s+9,n[10]=s+10,n[11]=s+3,n[4]=p,n[5]=s+8,n[6]=s+11,n[7]=s+4,n[0]=d,n[1]=s+7,n[2]=s+6,n[3]=s+5,d=i[3],i[2]=i[1],i[3]=l,i[0]=d,i[1]=l+1;break;case 3:n[12]=n[0],n[13]=s+0,n[14]=s+1,n[15]=s+2,n[8]=n[1],n[9]=s+9,n[10]=s+10,n[11]=s+3,n[4]=n[2],n[5]=s+8,n[6]=s+11,n[7]=s+4,n[0]=n[3],n[1]=s+7,n[2]=s+6,n[3]=s+5,i[2]=i[0],i[3]=l,i[0]=i[1],i[1]=l+1}this.figures.push({type:"patch",coords:new Int32Array(n),colors:new Int32Array(i)})}}},{key:"_buildFigureFromPatch",value:function(e){var t=this.figures[e];(0,a.assert)("patch"===t.type,"Unexpected patch mesh figure");var n=this.coords,i=this.colors,o=t.coords,s=t.colors,c=Math.min(n[o[0]][0],n[o[3]][0],n[o[12]][0],n[o[15]][0]),u=Math.min(n[o[0]][1],n[o[3]][1],n[o[12]][1],n[o[15]][1]),l=Math.max(n[o[0]][0],n[o[3]][0],n[o[12]][0],n[o[15]][0]),f=Math.max(n[o[0]][1],n[o[3]][1],n[o[12]][1],n[o[15]][1]),h=Math.ceil((l-c)*r.TRIANGLE_DENSITY/(this.bounds[2]-this.bounds[0]));h=Math.max(r.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,Math.min(r.MAX_SPLIT_PATCH_CHUNKS_AMOUNT,h));var d=Math.ceil((f-u)*r.TRIANGLE_DENSITY/(this.bounds[3]-this.bounds[1]));d=Math.max(r.MIN_SPLIT_PATCH_CHUNKS_AMOUNT,Math.min(r.MAX_SPLIT_PATCH_CHUNKS_AMOUNT,d));for(var p=h+1,g=new Int32Array((d+1)*p),m=new Int32Array((d+1)*p),v=0,y=new Uint8Array(3),b=new Uint8Array(3),w=i[s[0]],k=i[s[1]],S=i[s[2]],x=i[s[3]],A=P(d),O=P(h),C=0;C<=d;C++){y[0]=(w[0]*(d-C)+S[0]*C)/d|0,y[1]=(w[1]*(d-C)+S[1]*C)/d|0,y[2]=(w[2]*(d-C)+S[2]*C)/d|0,b[0]=(k[0]*(d-C)+x[0]*C)/d|0,b[1]=(k[1]*(d-C)+x[1]*C)/d|0,b[2]=(k[2]*(d-C)+x[2]*C)/d|0;for(var T=0;T<=h;T++,v++)if(0!==C&&C!==d||0!==T&&T!==h){for(var F=0,_=0,I=0,E=0;E<=3;E++)for(var j=0;j<=3;j++,I++){var R=A[C][E]*O[T][j];F+=n[o[I]][0]*R,_+=n[o[I]][1]*R}g[v]=n.length,n.push([F,_]),m[v]=i.length;var M=new Uint8Array(3);M[0]=(y[0]*(h-T)+b[0]*T)/h|0,M[1]=(y[1]*(h-T)+b[1]*T)/h|0,M[2]=(y[2]*(h-T)+b[2]*T)/h|0,i.push(M)}}g[0]=o[0],m[0]=s[0],g[h]=o[3],m[h]=s[1],g[p*d]=o[12],m[p*d]=s[2],g[p*d+h]=o[15],m[p*d+h]=s[3],this.figures[e]={type:"lattice",coords:g,colors:m,verticesPerRow:p}}},{key:"_updateBounds",value:function(){for(var e=this.coords[0][0],t=this.coords[0][1],r=e,n=t,a=1,i=this.coords.length;a<i;a++){var o=this.coords[a][0],s=this.coords[a][1];e=e>o?o:e,t=t>s?s:t,r=r<o?o:r,n=n<s?s:n}this.bounds=[e,t,r,n]}},{key:"_packData",value:function(){var e,t,r,n,a=this.coords,i=new Float32Array(2*a.length);for(e=0,r=0,t=a.length;e<t;e++){var o=a[e];i[r++]=o[0],i[r++]=o[1]}this.coords=i;var s=this.colors,c=new Uint8Array(3*s.length);for(e=0,r=0,t=s.length;e<t;e++){var u=s[e];c[r++]=u[0],c[r++]=u[1],c[r++]=u[2]}this.colors=c;var l=this.figures;for(e=0,t=l.length;e<t;e++){var f=l[e],h=f.coords,d=f.colors;for(r=0,n=h.length;r<n;r++)h[r]*=2,d[r]*=3}}},{key:"getIR",value:function(){return["Mesh",this.shadingType,this.coords,this.colors,this.figures,this.bounds,this.matrix,this.bbox,this.background]}}],[{key:"MIN_SPLIT_PATCH_CHUNKS_AMOUNT",get:function(){return(0,a.shadow)(this,"MIN_SPLIT_PATCH_CHUNKS_AMOUNT",3)}},{key:"MAX_SPLIT_PATCH_CHUNKS_AMOUNT",get:function(){return(0,a.shadow)(this,"MAX_SPLIT_PATCH_CHUNKS_AMOUNT",20)}},{key:"TRIANGLE_DENSITY",get:function(){return(0,a.shadow)(this,"TRIANGLE_DENSITY",20)}}]),r}(C),I=function(e){l(r,e);var t=h(r);function r(){return g(this,r),t.apply(this,arguments)}return v(r,[{key:"getIR",value:function(){return["Dummy"]}}]),r}(C)},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPDFFunction=function(e){var t;if("object"!==h(e))return!1;if((0,n.isDict)(e))t=e;else{if(!(0,n.isStream)(e))return!1;t=e.dict}return t.has("FunctionType")},t.PostScriptEvaluator=t.PostScriptCompiler=t.PDFFunctionFactory=void 0;var n=r(113),a=r(4),i=r(158),o=r(159);function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function u(e){var t=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(e){return!1}}();return function(){var r,n=f(e);if(t){var a=f(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return l(this,r)}}function l(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}var m=function(){function e(t){var r=t.xref,n=t.isEvalSupported,a=void 0===n||n;d(this,e),this.xref=r,this.isEvalSupported=!1!==a}return g(e,[{key:"create",value:function(e){var t=this.getCached(e);if(t)return t;var r=y.parse({xref:this.xref,isEvalSupported:this.isEvalSupported,fn:e instanceof n.Ref?this.xref.fetch(e):e});return this._cache(e,r),r}},{key:"createFromArray",value:function(e){var t=this.getCached(e);if(t)return t;var r=y.parseArray({xref:this.xref,isEvalSupported:this.isEvalSupported,fnObj:e instanceof n.Ref?this.xref.fetch(e):e});return this._cache(e,r),r}},{key:"getCached",value:function(e){var t;if(e instanceof n.Ref?t=e:e instanceof n.Dict?t=e.objId:(0,n.isStream)(e)&&(t=e.dict&&e.dict.objId),t){var r=this._localFunctionCache.getByRef(t);if(r)return r}return null}},{key:"_cache",value:function(e,t){if(!t)throw new Error(\'PDFFunctionFactory._cache - expected "parsedFunction" argument.\');var r;e instanceof n.Ref?r=e:e instanceof n.Dict?r=e.objId:(0,n.isStream)(e)&&(r=e.dict&&e.dict.objId),r&&this._localFunctionCache.set(null,r,t)}},{key:"_localFunctionCache",get:function(){return(0,a.shadow)(this,"_localFunctionCache",new o.LocalFunctionCache)}}]),e}();function v(e){if(!Array.isArray(e))return null;for(var t=e.length,r=0;r<t;r++)if("number"!=typeof e[r]){for(var n=new Array(t),a=0;a<t;a++)n[a]=+e[a];return n}return e}t.PDFFunctionFactory=m;var y={getSampleArray:function(e,t,r,n){var a,i,o=1;for(a=0,i=e.length;a<i;a++)o*=e[a];o*=t;var s=new Array(o),c=0,u=0,l=1/(Math.pow(2,r)-1),f=n.getBytes((o*r+7)/8),h=0;for(a=0;a<o;a++){for(;c<r;)u<<=8,u|=f[h++],c+=8;c-=r,s[a]=(u>>c)*l,u&=(1<<c)-1}return s},getIR:function(e){var t=e.xref,r=e.isEvalSupported,n=e.fn,i=n.dict;i||(i=n);var o=[this.constructSampled,null,this.constructInterpolated,this.constructStiched,this.constructPostScript][i.get("FunctionType")];if(!o)throw new a.FormatError("Unknown type of function");return o.call(this,{xref:t,isEvalSupported:r,fn:n,dict:i})},fromIR:function(e){var t=e.xref,r=e.isEvalSupported,n=e.IR;switch(n[0]){case 0:return this.constructSampledFromIR({xref:t,isEvalSupported:r,IR:n});case 2:return this.constructInterpolatedFromIR({xref:t,isEvalSupported:r,IR:n});case 3:return this.constructStichedFromIR({xref:t,isEvalSupported:r,IR:n});default:return this.constructPostScriptFromIR({xref:t,isEvalSupported:r,IR:n})}},parse:function(e){var t=e.xref,r=e.isEvalSupported,n=e.fn,a=this.getIR({xref:t,isEvalSupported:r,fn:n});return this.fromIR({xref:t,isEvalSupported:r,IR:a})},parseArray:function(e){var t=e.xref,r=e.isEvalSupported,n=e.fnObj;if(!Array.isArray(n))return this.parse({xref:t,isEvalSupported:r,fn:n});for(var a=[],i=0,o=n.length;i<o;i++)a.push(this.parse({xref:t,isEvalSupported:r,fn:t.fetchIfRef(n[i])}));return function(e,t,r,n){for(var i=0,o=a.length;i<o;i++)a[i](e,t,r,n+i)}},constructSampled:function(e){e.xref,e.isEvalSupported;var t=e.fn,r=e.dict;function n(e){for(var t=e.length,r=[],n=0,a=0;a<t;a+=2)r[n]=[e[a],e[a+1]],++n;return r}var i=v(r.getArray("Domain")),o=v(r.getArray("Range"));if(!i||!o)throw new a.FormatError("No domain or range");var s=i.length/2,c=o.length/2;i=n(i),o=n(o);var u=v(r.getArray("Size")),l=r.get("BitsPerSample"),f=r.get("Order")||1;1!==f&&(0,a.info)("No support for cubic spline interpolation: "+f);var h=v(r.getArray("Encode"));if(h)h=n(h);else{h=[];for(var d=0;d<s;++d)h.push([0,u[d]-1])}var p=v(r.getArray("Decode"));return[0,s,i,h,p=p?n(p):o,this.getSampleArray(u,c,l,t),u,c,Math.pow(2,l)-1,o]},constructSampledFromIR:function(e){e.xref,e.isEvalSupported;var t=e.IR;function r(e,t,r,n,a){return n+(a-n)/(r-t)*(e-t)}return function(e,n,a,i){var o,s,c=t[1],u=t[2],l=t[3],f=t[4],h=t[5],d=t[6],p=t[7],g=t[9],m=1<<c,v=new Float64Array(m),y=new Uint32Array(m);for(s=0;s<m;s++)v[s]=1;var b=p,w=1;for(o=0;o<c;++o){var k=u[o][0],S=u[o][1],x=r(Math.min(Math.max(e[n+o],k),S),k,S,l[o][0],l[o][1]),A=d[o],O=(x=Math.min(Math.max(x,0),A-1))<A-1?Math.floor(x):x-1,C=O+1-x,T=x-O,F=O*b,P=F+b;for(s=0;s<m;s++)s&w?(v[s]*=T,y[s]+=P):(v[s]*=C,y[s]+=F);b*=A,w<<=1}for(s=0;s<p;++s){var _=0;for(o=0;o<m;o++)_+=h[y[o]+s]*v[o];_=r(_,0,1,f[s][0],f[s][1]),a[i+s]=Math.min(Math.max(_,g[s][0]),g[s][1])}}},constructInterpolated:function(e){e.xref,e.isEvalSupported,e.fn;for(var t=e.dict,r=v(t.getArray("C0"))||[0],n=v(t.getArray("C1"))||[1],a=t.get("N"),i=r.length,o=[],s=0;s<i;++s)o.push(n[s]-r[s]);return[2,r,o,a]},constructInterpolatedFromIR:function(e){e.xref,e.isEvalSupported;var t=e.IR,r=t[1],n=t[2],a=t[3],i=n.length;return function(e,t,o,s){for(var c=1===a?e[t]:Math.pow(e[t],a),u=0;u<i;++u)o[s+u]=r[u]+c*n[u]}},constructStiched:function(e){var t=e.xref,r=e.isEvalSupported,n=(e.fn,e.dict),i=v(n.getArray("Domain"));if(!i)throw new a.FormatError("No domain");if(1!=i.length/2)throw new a.FormatError("Bad domain for stiched function");for(var o=n.get("Functions"),s=[],c=0,u=o.length;c<u;++c)s.push(this.parse({xref:t,isEvalSupported:r,fn:t.fetchIfRef(o[c])}));return[3,i,v(n.getArray("Bounds")),v(n.getArray("Encode")),s]},constructStichedFromIR:function(e){e.xref,e.isEvalSupported;var t=e.IR,r=t[1],n=t[2],a=t[3],i=t[4],o=new Float32Array(1);return function(e,t,s,c){var u,l=function(e,t,r){return e>r?e=r:e<t&&(e=t),e}(e[t],r[0],r[1]),f=n.length;for(u=0;u<f&&!(l<n[u]);++u);var h=r[0];u>0&&(h=n[u-1]);var d=r[1];u<n.length&&(d=n[u]);var p=a[2*u],g=a[2*u+1];o[0]=h===d?p:p+(l-h)*(g-p)/(d-h),i[u](o,0,s,c)}},constructPostScript:function(e){e.xref,e.isEvalSupported;var t=e.fn,r=e.dict,n=v(r.getArray("Domain")),o=v(r.getArray("Range"));if(!n)throw new a.FormatError("No domain.");if(!o)throw new a.FormatError("No range.");var s=new i.PostScriptLexer(t);return[4,n,o,new i.PostScriptParser(s).parse()]},constructPostScriptFromIR:function(e){e.xref;var t=e.isEvalSupported,r=e.IR,n=r[1],i=r[2],o=r[3];if(t&&a.IsEvalSupportedCached.value){var s=(new k).compile(o,n,i);if(s)return new Function("src","srcOffset","dest","destOffset",s)}(0,a.info)("Unable to compile PS function");var c=i.length>>1,u=n.length>>1,l=new w(o),f=Object.create(null),h=8192,d=new Float32Array(u);return function(e,t,r,n){var a,o,s="",p=d;for(a=0;a<u;a++)o=e[t+a],p[a]=o,s+=o+"_";var g=f[s];if(void 0===g){var m=new Float32Array(c),v=l.execute(p),y=v.length-c;for(a=0;a<c;a++){o=v[y+a];var b=i[2*a];(o<b||o>(b=i[2*a+1]))&&(o=b),m[a]=o}h>0&&(h--,f[s]=m),r.set(m,n)}else r.set(g,n)}}},b=function(){function e(t){d(this,e),this.stack=t?Array.prototype.slice.call(t,0):[]}return g(e,[{key:"push",value:function(e){if(this.stack.length>=100)throw new Error("PostScript function stack overflow.");this.stack.push(e)}},{key:"pop",value:function(){if(this.stack.length<=0)throw new Error("PostScript function stack underflow.");return this.stack.pop()}},{key:"copy",value:function(e){if(this.stack.length+e>=100)throw new Error("PostScript function stack overflow.");for(var t=this.stack,r=t.length-e,n=e-1;n>=0;n--,r++)t.push(t[r])}},{key:"index",value:function(e){this.push(this.stack[this.stack.length-e-1])}},{key:"roll",value:function(e,t){for(var r=this.stack,n=r.length-e,a=r.length-1,i=n+(t-Math.floor(t/e)*e),o=n,s=a;o<s;o++,s--){var c=r[o];r[o]=r[s],r[s]=c}for(var u=n,l=i-1;u<l;u++,l--){var f=r[u];r[u]=r[l],r[l]=f}for(var h=i,d=a;h<d;h++,d--){var p=r[h];r[h]=r[d],r[d]=p}}}]),e}(),w=function(){function e(t){d(this,e),this.operators=t}return g(e,[{key:"execute",value:function(e){for(var t,r,n,i=new b(e),o=0,s=this.operators,c=s.length;o<c;)if("number"!=typeof(t=s[o++]))switch(t){case"jz":n=i.pop(),(r=i.pop())||(o=n);break;case"j":o=r=i.pop();break;case"abs":r=i.pop(),i.push(Math.abs(r));break;case"add":n=i.pop(),r=i.pop(),i.push(r+n);break;case"and":n=i.pop(),r=i.pop(),(0,a.isBool)(r)&&(0,a.isBool)(n)?i.push(r&&n):i.push(r&n);break;case"atan":r=i.pop(),i.push(Math.atan(r));break;case"bitshift":n=i.pop(),(r=i.pop())>0?i.push(r<<n):i.push(r>>n);break;case"ceiling":r=i.pop(),i.push(Math.ceil(r));break;case"copy":r=i.pop(),i.copy(r);break;case"cos":r=i.pop(),i.push(Math.cos(r));break;case"cvi":r=0|i.pop(),i.push(r);break;case"cvr":break;case"div":n=i.pop(),r=i.pop(),i.push(r/n);break;case"dup":i.copy(1);break;case"eq":n=i.pop(),r=i.pop(),i.push(r===n);break;case"exch":i.roll(2,1);break;case"exp":n=i.pop(),r=i.pop(),i.push(Math.pow(r,n));break;case"false":i.push(!1);break;case"floor":r=i.pop(),i.push(Math.floor(r));break;case"ge":n=i.pop(),r=i.pop(),i.push(r>=n);break;case"gt":n=i.pop(),r=i.pop(),i.push(r>n);break;case"idiv":n=i.pop(),r=i.pop(),i.push(r/n|0);break;case"index":r=i.pop(),i.index(r);break;case"le":n=i.pop(),r=i.pop(),i.push(r<=n);break;case"ln":r=i.pop(),i.push(Math.log(r));break;case"log":r=i.pop(),i.push(Math.log(r)/Math.LN10);break;case"lt":n=i.pop(),r=i.pop(),i.push(r<n);break;case"mod":n=i.pop(),r=i.pop(),i.push(r%n);break;case"mul":n=i.pop(),r=i.pop(),i.push(r*n);break;case"ne":n=i.pop(),r=i.pop(),i.push(r!==n);break;case"neg":r=i.pop(),i.push(-r);break;case"not":r=i.pop(),(0,a.isBool)(r)?i.push(!r):i.push(~r);break;case"or":n=i.pop(),r=i.pop(),(0,a.isBool)(r)&&(0,a.isBool)(n)?i.push(r||n):i.push(r|n);break;case"pop":i.pop();break;case"roll":n=i.pop(),r=i.pop(),i.roll(r,n);break;case"round":r=i.pop(),i.push(Math.round(r));break;case"sin":r=i.pop(),i.push(Math.sin(r));break;case"sqrt":r=i.pop(),i.push(Math.sqrt(r));break;case"sub":n=i.pop(),r=i.pop(),i.push(r-n);break;case"true":i.push(!0);break;case"truncate":r=(r=i.pop())<0?Math.ceil(r):Math.floor(r),i.push(r);break;case"xor":n=i.pop(),r=i.pop(),(0,a.isBool)(r)&&(0,a.isBool)(n)?i.push(r!==n):i.push(r^n);break;default:throw new a.FormatError("Unknown operator ".concat(t))}else i.push(t);return i.stack}}]),e}();t.PostScriptEvaluator=w;var k=function(){var e=function(){function e(t){d(this,e),this.type=t}return g(e,[{key:"visit",value:function(e){(0,a.unreachable)("abstract method")}}]),e}(),t=function(e){s(r,e);var t=u(r);function r(e,n,a){var i;return d(this,r),(i=t.call(this,"args")).index=e,i.min=n,i.max=a,i}return g(r,[{key:"visit",value:function(e){e.visitArgument(this)}}]),r}(e),r=function(e){s(r,e);var t=u(r);function r(e){var n;return d(this,r),(n=t.call(this,"literal")).number=e,n.min=e,n.max=e,n}return g(r,[{key:"visit",value:function(e){e.visitLiteral(this)}}]),r}(e),n=function(e){s(r,e);var t=u(r);function r(e,n,a,i,o){var s;return d(this,r),(s=t.call(this,"binary")).op=e,s.arg1=n,s.arg2=a,s.min=i,s.max=o,s}return g(r,[{key:"visit",value:function(e){e.visitBinaryOperation(this)}}]),r}(e),i=function(e){s(r,e);var t=u(r);function r(e,n){var a;return d(this,r),(a=t.call(this,"max")).arg=e,a.min=e.min,a.max=n,a}return g(r,[{key:"visit",value:function(e){e.visitMin(this)}}]),r}(e),o=function(e){s(r,e);var t=u(r);function r(e,n,a){var i;return d(this,r),(i=t.call(this,"var")).index=e,i.min=n,i.max=a,i}return g(r,[{key:"visit",value:function(e){e.visitVariable(this)}}]),r}(e),c=function(e){s(r,e);var t=u(r);function r(e,n){var a;return d(this,r),(a=t.call(this,"definition")).variable=e,a.arg=n,a}return g(r,[{key:"visit",value:function(e){e.visitVariableDefinition(this)}}]),r}(e),l=function(){function e(){d(this,e),this.parts=[]}return g(e,[{key:"visitArgument",value:function(e){this.parts.push("Math.max(",e.min,", Math.min(",e.max,", src[srcOffset + ",e.index,"]))")}},{key:"visitVariable",value:function(e){this.parts.push("v",e.index)}},{key:"visitLiteral",value:function(e){this.parts.push(e.number)}},{key:"visitBinaryOperation",value:function(e){this.parts.push("("),e.arg1.visit(this),this.parts.push(" ",e.op," "),e.arg2.visit(this),this.parts.push(")")}},{key:"visitVariableDefinition",value:function(e){this.parts.push("var "),e.variable.visit(this),this.parts.push(" = "),e.arg.visit(this),this.parts.push(";")}},{key:"visitMin",value:function(e){this.parts.push("Math.min("),e.arg.visit(this),this.parts.push(", ",e.max,")")}},{key:"toString",value:function(){return this.parts.join("")}}]),e}();function f(e,t){return"literal"===t.type&&0===t.number?e:"literal"===e.type&&0===e.number?t:"literal"===t.type&&"literal"===e.type?new r(e.number+t.number):new n("+",e,t,e.min+t.min,e.max+t.max)}function h(e,t){if("literal"===t.type){if(0===t.number)return new r(0);if(1===t.number)return e;if("literal"===e.type)return new r(e.number*t.number)}if("literal"===e.type){if(0===e.number)return new r(0);if(1===e.number)return t}var a=Math.min(e.min*t.min,e.min*t.max,e.max*t.min,e.max*t.max),i=Math.max(e.min*t.min,e.min*t.max,e.max*t.min,e.max*t.max);return new n("*",e,t,a,i)}function p(e,t){if("literal"===t.type){if(0===t.number)return e;if("literal"===e.type)return new r(e.number-t.number)}return"binary"===t.type&&"-"===t.op&&"literal"===e.type&&1===e.number&&"literal"===t.arg1.type&&1===t.arg1.number?t.arg2:new n("-",e,t,e.min-t.max,e.max-t.min)}function m(e,t){return e.min>=t?new r(t):e.max<=t?e:new i(e,t)}return function(){function e(){d(this,e)}return g(e,[{key:"compile",value:function(e,n,a){for(var i,s,u,d,g,v,y,b,w=[],k=[],S=n.length>>1,x=a.length>>1,A=0,O=0;O<S;O++)w.push(new t(O,n[2*O],n[2*O+1]));for(var C=0,T=e.length;C<T;C++)if("number"!=typeof(b=e[C]))switch(b){case"add":if(w.length<2)return null;d=w.pop(),u=w.pop(),w.push(f(u,d));break;case"cvr":if(w.length<1)return null;break;case"mul":if(w.length<2)return null;d=w.pop(),u=w.pop(),w.push(h(u,d));break;case"sub":if(w.length<2)return null;d=w.pop(),u=w.pop(),w.push(p(u,d));break;case"exch":if(w.length<2)return null;g=w.pop(),v=w.pop(),w.push(g,v);break;case"pop":if(w.length<1)return null;w.pop();break;case"index":if(w.length<1)return null;if("literal"!==(u=w.pop()).type)return null;if((i=u.number)<0||!Number.isInteger(i)||w.length<i)return null;if("literal"===(g=w[w.length-i-1]).type||"var"===g.type){w.push(g);break}y=new o(A++,g.min,g.max),w[w.length-i-1]=y,w.push(y),k.push(new c(y,g));break;case"dup":if(w.length<1)return null;if("number"==typeof e[C+1]&&"gt"===e[C+2]&&e[C+3]===C+7&&"jz"===e[C+4]&&"pop"===e[C+5]&&e[C+6]===e[C+1]){u=w.pop(),w.push(m(u,e[C+1])),C+=6;break}if("literal"===(g=w[w.length-1]).type||"var"===g.type){w.push(g);break}y=new o(A++,g.min,g.max),w[w.length-1]=y,w.push(y),k.push(new c(y,g));break;case"roll":if(w.length<2)return null;if(d=w.pop(),u=w.pop(),"literal"!==d.type||"literal"!==u.type)return null;if(s=d.number,(i=u.number)<=0||!Number.isInteger(i)||!Number.isInteger(s)||w.length<i)return null;if(0==(s=(s%i+i)%i))break;Array.prototype.push.apply(w,w.splice(w.length-i,i-s));break;default:return null}else w.push(new r(b));if(w.length!==x)return null;for(var F=[],P=0,_=k;P<_.length;P++){var I=_[P],E=new l;I.visit(E),F.push(E.toString())}for(var j=0,R=w.length;j<R;j++){var M=w[j],N=new l;M.visit(N);var B=a[2*j],D=a[2*j+1],L=[N.toString()];B>M.min&&(L.unshift("Math.max(",B,", "),L.push(")")),D<M.max&&(L.unshift("Math.min(",D,", "),L.push(")")),L.unshift("dest[destOffset + ",j,"] = "),L.push(";"),F.push(L.join(""))}return F.join("\\n")}}]),e}()}();t.PostScriptCompiler=k},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PostScriptParser=t.PostScriptLexer=void 0;var n=r(4),a=r(113),i=r(117);function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}var u=function(){function e(t){o(this,e),this.lexer=t,this.operators=[],this.token=null,this.prev=null}return c(e,[{key:"nextToken",value:function(){this.prev=this.token,this.token=this.lexer.getToken()}},{key:"accept",value:function(e){return this.token.type===e&&(this.nextToken(),!0)}},{key:"expect",value:function(e){if(this.accept(e))return!0;throw new n.FormatError("Unexpected symbol: found ".concat(this.token.type," expected ").concat(e,"."))}},{key:"parse",value:function(){return this.nextToken(),this.expect(f.LBRACE),this.parseBlock(),this.expect(f.RBRACE),this.operators}},{key:"parseBlock",value:function(){for(;;)if(this.accept(f.NUMBER))this.operators.push(this.prev.value);else if(this.accept(f.OPERATOR))this.operators.push(this.prev.value);else{if(!this.accept(f.LBRACE))return;this.parseCondition()}}},{key:"parseCondition",value:function(){var e=this.operators.length;if(this.operators.push(null,null),this.parseBlock(),this.expect(f.RBRACE),this.accept(f.IF))this.operators[e]=this.operators.length,this.operators[e+1]="jz";else{if(!this.accept(f.LBRACE))throw new n.FormatError("PS Function: error parsing conditional.");var t=this.operators.length;this.operators.push(null,null);var r=this.operators.length;this.parseBlock(),this.expect(f.RBRACE),this.expect(f.IFELSE),this.operators[t]=this.operators.length,this.operators[t+1]="j",this.operators[e]=r,this.operators[e+1]="jz"}}}]),e}();t.PostScriptParser=u;var l,f={LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5},h=(l=Object.create(null),function(){function e(t,r){o(this,e),this.type=t,this.value=r}return c(e,null,[{key:"getOperator",value:function(t){var r=l[t];return r||(l[t]=new e(f.OPERATOR,t))}},{key:"LBRACE",get:function(){return(0,n.shadow)(this,"LBRACE",new e(f.LBRACE,"{"))}},{key:"RBRACE",get:function(){return(0,n.shadow)(this,"RBRACE",new e(f.RBRACE,"}"))}},{key:"IF",get:function(){return(0,n.shadow)(this,"IF",new e(f.IF,"IF"))}},{key:"IFELSE",get:function(){return(0,n.shadow)(this,"IFELSE",new e(f.IFELSE,"IFELSE"))}}]),e}()),d=function(){function e(t){o(this,e),this.stream=t,this.nextChar(),this.strBuf=[]}return c(e,[{key:"nextChar",value:function(){return this.currentChar=this.stream.getByte()}},{key:"getToken",value:function(){for(var e=!1,t=this.currentChar;;){if(t<0)return a.EOF;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(!(0,i.isWhiteSpace)(t))break;t=this.nextChar()}switch(0|t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return new h(f.NUMBER,this.getNumber());case 123:return this.nextChar(),h.LBRACE;case 125:return this.nextChar(),h.RBRACE}var r=this.strBuf;for(r.length=0,r[0]=String.fromCharCode(t);(t=this.nextChar())>=0&&(t>=65&&t<=90||t>=97&&t<=122);)r.push(String.fromCharCode(t));var n=r.join("");switch(n.toLowerCase()){case"if":return h.IF;case"ifelse":return h.IFELSE;default:return h.getOperator(n)}}},{key:"getNumber",value:function(){var e=this.currentChar,t=this.strBuf;for(t.length=0,t[0]=String.fromCharCode(e);(e=this.nextChar())>=0&&(e>=48&&e<=57||45===e||46===e);)t.push(String.fromCharCode(e));var r=parseFloat(t.join(""));if(isNaN(r))throw new n.FormatError("Invalid floating point number: ".concat(r));return r}}]),e}();t.PostScriptLexer=d},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.LocalTilingPatternCache=t.LocalImageCache=t.LocalGStateCache=t.LocalFunctionCache=t.LocalColorSpaceCache=t.GlobalImageCache=void 0;var a=r(4),i=r(113);function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function c(e){var t=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(e){return!1}}();return function(){var r,n=l(e);if(t){var a=l(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return u(this,r)}}function u(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&h(e.prototype,t),r&&h(e,r),e}var p=function(){function e(t){f(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize BaseLocalCache."),t&&t.onlyRefs||(this._nameRefMap=new Map,this._imageMap=new Map),this._imageCache=new i.RefSetCache}return d(e,[{key:"getByName",value:function(e){var t=this._nameRefMap.get(e);return t?this.getByRef(t):this._imageMap.get(e)||null}},{key:"getByRef",value:function(e){return this._imageCache.get(e)||null}},{key:"set",value:function(e,t,r){(0,a.unreachable)("Abstract method `set` called.")}}]),e}(),g=function(e){o(r,e);var t=c(r);function r(){return f(this,r),t.apply(this,arguments)}return d(r,[{key:"set",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;if(!e)throw new Error(\'LocalImageCache.set - expected "name" argument.\');if(t){if(this._imageCache.has(t))return;return this._nameRefMap.set(e,t),void this._imageCache.put(t,r)}this._imageMap.has(e)||this._imageMap.set(e,r)}}]),r}(p);t.LocalImageCache=g;var m=function(e){o(r,e);var t=c(r);function r(){return f(this,r),t.apply(this,arguments)}return d(r,[{key:"set",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;if(!e&&!t)throw new Error(\'LocalColorSpaceCache.set - expected "name" and/or "ref" argument.\');if(t){if(this._imageCache.has(t))return;return e&&this._nameRefMap.set(e,t),void this._imageCache.put(t,r)}this._imageMap.has(e)||this._imageMap.set(e,r)}}]),r}(p);t.LocalColorSpaceCache=m;var v=function(e){o(r,e);var t=c(r);function r(e){return f(this,r),t.call(this,{onlyRefs:!0})}return d(r,[{key:"getByName",value:function(e){(0,a.unreachable)("Should not call `getByName` method.")}},{key:"set",value:function(){var e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0;if(!e)throw new Error(\'LocalFunctionCache.set - expected "ref" argument.\');this._imageCache.has(e)||this._imageCache.put(e,t)}}]),r}(p);t.LocalFunctionCache=v;var y=function(e){o(r,e);var t=c(r);function r(){return f(this,r),t.apply(this,arguments)}return d(r,[{key:"set",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;if(!e)throw new Error(\'LocalGStateCache.set - expected "name" argument.\');if(t){if(this._imageCache.has(t))return;return this._nameRefMap.set(e,t),void this._imageCache.put(t,r)}this._imageMap.has(e)||this._imageMap.set(e,r)}}]),r}(p);t.LocalGStateCache=y;var b=function(e){o(r,e);var t=c(r);function r(){return f(this,r),t.apply(this,arguments)}return d(r,[{key:"set",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;if(!e)throw new Error(\'LocalTilingPatternCache.set - expected "name" argument.\');if(t){if(this._imageCache.has(t))return;return this._nameRefMap.set(e,t),void this._imageCache.put(t,r)}this._imageMap.has(e)||this._imageMap.set(e,r)}}]),r}(p);t.LocalTilingPatternCache=b;var w=function(){function e(){f(this,e),this._refCache=new i.RefSetCache,this._imageCache=new i.RefSetCache}return d(e,[{key:"_byteSize",get:function(){var e=0;return this._imageCache.forEach((function(t){e+=t.byteSize})),e}},{key:"_cacheLimitReached",get:function(){return!(this._imageCache.size<e.MIN_IMAGES_TO_CACHE||this._byteSize<e.MAX_BYTE_SIZE)}},{key:"shouldCache",value:function(t,r){var n=this._refCache.get(t);return!((n?n.size+(n.has(r)?0:1):1)<e.NUM_PAGES_THRESHOLD||!this._imageCache.has(t)&&this._cacheLimitReached)}},{key:"addPageIndex",value:function(e,t){var r=this._refCache.get(e);r||(r=new Set,this._refCache.put(e,r)),r.add(t)}},{key:"addByteSize",value:function(e,t){var r=this._imageCache.get(e);r&&(r.byteSize||(r.byteSize=t))}},{key:"getData",value:function(t,r){var n=this._refCache.get(t);if(!n)return null;if(n.size<e.NUM_PAGES_THRESHOLD)return null;var a=this._imageCache.get(t);return a?(n.add(r),a):null}},{key:"setData",value:function(e,t){if(!this._refCache.has(e))throw new Error(\'GlobalImageCache.setData - expected "addPageIndex" to have been called.\');this._imageCache.has(e)||(this._cacheLimitReached?(0,a.warn)("GlobalImageCache.setData - cache limit reached."):this._imageCache.put(e,t))}},{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e||this._refCache.clear(),this._imageCache.clear()}}],[{key:"NUM_PAGES_THRESHOLD",get:function(){return(0,a.shadow)(this,"NUM_PAGES_THRESHOLD",2)}},{key:"MIN_IMAGES_TO_CACHE",get:function(){return(0,a.shadow)(this,"MIN_IMAGES_TO_CACHE",10)}},{key:"MAX_BYTE_SIZE",get:function(){return(0,a.shadow)(this,"MAX_BYTE_SIZE",4e7)}}]),e}();t.GlobalImageCache=w},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bidi=function(e,t,r){var p=!0,g=e.length;if(0===g||r)return f(e,p,r);h.length=g,d.length=g;var m,v,y=0;for(m=0;m<g;++m){h[m]=e.charAt(m);var b=e.charCodeAt(m),w="L";b<=255?w=a[b]:1424<=b&&b<=1524?w="R":1536<=b&&b<=1791?(w=i[255&b])||(0,n.warn)("Bidi: invalid Unicode character "+b.toString(16)):1792<=b&&b<=2220&&(w="AL"),"R"!==w&&"AL"!==w&&"AN"!==w||y++,d[m]=w}if(0===y)return f(e,p=!0);-1===t&&(y/g<.3?(p=!0,t=0):(p=!1,t=1));var k=[];for(m=0;m<g;++m)k[m]=t;var S,x=o(t)?"R":"L",A=x,O=A,C=A;for(m=0;m<g;++m)"NSM"===d[m]?d[m]=C:C=d[m];for(C=A,m=0;m<g;++m)"EN"===(S=d[m])?d[m]="AL"===C?"AN":"EN":"R"!==S&&"L"!==S&&"AL"!==S||(C=S);for(m=0;m<g;++m)"AL"===(S=d[m])&&(d[m]="R");for(m=1;m<g-1;++m)"ES"===d[m]&&"EN"===d[m-1]&&"EN"===d[m+1]&&(d[m]="EN"),"CS"!==d[m]||"EN"!==d[m-1]&&"AN"!==d[m-1]||d[m+1]!==d[m-1]||(d[m]=d[m-1]);for(m=0;m<g;++m)if("EN"===d[m]){for(var T=m-1;T>=0&&"ET"===d[T];--T)d[T]="EN";for(var F=m+1;F<g&&"ET"===d[F];++F)d[F]="EN"}for(m=0;m<g;++m)"WS"!==(S=d[m])&&"ES"!==S&&"ET"!==S&&"CS"!==S||(d[m]="ON");for(C=A,m=0;m<g;++m)"EN"===(S=d[m])?d[m]="L"===C?"L":"EN":"R"!==S&&"L"!==S||(C=S);for(m=0;m<g;++m)if("ON"===d[m]){var P=c(d,m+1,"ON"),_=A;m>0&&(_=d[m-1]);var I=O;P+1<g&&(I=d[P+1]),"L"!==_&&(_="R"),"L"!==I&&(I="R"),_===I&&u(d,m,P,_),m=P-1}for(m=0;m<g;++m)"ON"===d[m]&&(d[m]=x);for(m=0;m<g;++m)S=d[m],s(k[m])?"R"===S?k[m]+=1:"AN"!==S&&"EN"!==S||(k[m]+=2):"L"!==S&&"AN"!==S&&"EN"!==S||(k[m]+=1);var E,j=-1,R=99;for(m=0,v=k.length;m<v;++m)E=k[m],j<E&&(j=E),R>E&&o(E)&&(R=E);for(E=j;E>=R;--E){var M=-1;for(m=0,v=k.length;m<v;++m)k[m]<E?M>=0&&(l(h,M,m),M=-1):M<0&&(M=m);M>=0&&l(h,M,k.length)}for(m=0,v=h.length;m<v;++m){var N=h[m];"<"!==N&&">"!==N||(h[m]="")}return f(h.join(""),p)};var n=r(4),a=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","ON","ET","ET","ET","ET","ON","ON","ON","ON","L","ON","ON","BN","ON","ON","ET","ET","EN","EN","ON","L","ON","ON","ON","EN","L","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L"],i=["AN","AN","AN","AN","AN","AN","ON","ON","AL","ET","ET","AL","CS","AL","ON","ON","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","ON","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","ON","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL"];function o(e){return 0!=(1&e)}function s(e){return 0==(1&e)}function c(e,t,r){var n,a;for(n=t,a=e.length;n<a;++n)if(e[n]!==r)return n;return n}function u(e,t,r,n){for(var a=t;a<r;++a)e[a]=n}function l(e,t,r){for(var n=t,a=r-1;n<a;++n,--a){var i=e[n];e[n]=e[a],e[a]=i}}function f(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n="ltr";return r?n="ttb":t||(n="rtl"),{str:e,dir:n}}var h=[],d=[]},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMetrics=void 0;var n=r(117),a=(0,n.getLookupTableFactory)((function(e){e.Courier=600,e["Courier-Bold"]=600,e["Courier-BoldOblique"]=600,e["Courier-Oblique"]=600,e.Helvetica=(0,n.getLookupTableFactory)((function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556})),e["Helvetica-Bold"]=(0,n.getLookupTableFactory)((function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556})),e["Helvetica-BoldOblique"]=(0,n.getLookupTableFactory)((function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556})),e["Helvetica-Oblique"]=(0,n.getLookupTableFactory)((function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556})),e.Symbol=(0,n.getLookupTableFactory)((function(e){e.space=250,e.exclam=333,e.universal=713,e.numbersign=500,e.existential=549,e.percent=833,e.ampersand=778,e.suchthat=439,e.parenleft=333,e.parenright=333,e.asteriskmath=500,e.plus=549,e.comma=250,e.minus=549,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=549,e.equal=549,e.greater=549,e.question=444,e.congruent=549,e.Alpha=722,e.Beta=667,e.Chi=722,e.Delta=612,e.Epsilon=611,e.Phi=763,e.Gamma=603,e.Eta=722,e.Iota=333,e.theta1=631,e.Kappa=722,e.Lambda=686,e.Mu=889,e.Nu=722,e.Omicron=722,e.Pi=768,e.Theta=741,e.Rho=556,e.Sigma=592,e.Tau=611,e.Upsilon=690,e.sigma1=439,e.Omega=768,e.Xi=645,e.Psi=795,e.Zeta=611,e.bracketleft=333,e.therefore=863,e.bracketright=333,e.perpendicular=658,e.underscore=500,e.radicalex=500,e.alpha=631,e.beta=549,e.chi=549,e.delta=494,e.epsilon=439,e.phi=521,e.gamma=411,e.eta=603,e.iota=329,e.phi1=603,e.kappa=549,e.lambda=549,e.mu=576,e.nu=521,e.omicron=549,e.pi=549,e.theta=521,e.rho=549,e.sigma=603,e.tau=439,e.upsilon=576,e.omega1=713,e.omega=686,e.xi=493,e.psi=686,e.zeta=494,e.braceleft=480,e.bar=200,e.braceright=480,e.similar=549,e.Euro=750,e.Upsilon1=620,e.minute=247,e.lessequal=549,e.fraction=167,e.infinity=713,e.florin=500,e.club=753,e.diamond=753,e.heart=753,e.spade=753,e.arrowboth=1042,e.arrowleft=987,e.arrowup=603,e.arrowright=987,e.arrowdown=603,e.degree=400,e.plusminus=549,e.second=411,e.greaterequal=549,e.multiply=549,e.proportional=713,e.partialdiff=494,e.bullet=460,e.divide=549,e.notequal=549,e.equivalence=549,e.approxequal=549,e.ellipsis=1e3,e.arrowvertex=603,e.arrowhorizex=1e3,e.carriagereturn=658,e.aleph=823,e.Ifraktur=686,e.Rfraktur=795,e.weierstrass=987,e.circlemultiply=768,e.circleplus=768,e.emptyset=823,e.intersection=768,e.union=768,e.propersuperset=713,e.reflexsuperset=713,e.notsubset=713,e.propersubset=713,e.reflexsubset=713,e.element=713,e.notelement=713,e.angle=768,e.gradient=713,e.registerserif=790,e.copyrightserif=790,e.trademarkserif=890,e.product=823,e.radical=549,e.dotmath=250,e.logicalnot=713,e.logicaland=603,e.logicalor=603,e.arrowdblboth=1042,e.arrowdblleft=987,e.arrowdblup=603,e.arrowdblright=987,e.arrowdbldown=603,e.lozenge=494,e.angleleft=329,e.registersans=790,e.copyrightsans=790,e.trademarksans=786,e.summation=713,e.parenlefttp=384,e.parenleftex=384,e.parenleftbt=384,e.bracketlefttp=384,e.bracketleftex=384,e.bracketleftbt=384,e.bracelefttp=494,e.braceleftmid=494,e.braceleftbt=494,e.braceex=494,e.angleright=329,e.integral=274,e.integraltp=686,e.integralex=686,e.integralbt=686,e.parenrighttp=384,e.parenrightex=384,e.parenrightbt=384,e.bracketrighttp=384,e.bracketrightex=384,e.bracketrightbt=384,e.bracerighttp=494,e.bracerightmid=494,e.bracerightbt=494,e.apple=790})),e["Times-Roman"]=(0,n.getLookupTableFactory)((function(e){e.space=250,e.exclam=333,e.quotedbl=408,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=564,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=564,e.equal=564,e.greater=564,e.question=444,e.at=921,e.A=722,e.B=667,e.C=667,e.D=722,e.E=611,e.F=556,e.G=722,e.H=722,e.I=333,e.J=389,e.K=722,e.L=611,e.M=889,e.N=722,e.O=722,e.P=556,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=722,e.W=944,e.X=722,e.Y=722,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=469,e.underscore=500,e.quoteleft=333,e.a=444,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=500,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=500,e.o=500,e.p=500,e.q=500,e.r=333,e.s=389,e.t=278,e.u=500,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=480,e.bar=200,e.braceright=480,e.asciitilde=541,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=180,e.quotedblleft=444,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=453,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=444,e.quotedblright=444,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=444,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=889,e.ordfeminine=276,e.Lslash=611,e.Oslash=722,e.OE=889,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=444,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=722,e.divide=564,e.Yacute=722,e.Acircumflex=722,e.aacute=444,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=444,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=444,e.Ncommaaccent=722,e.lacute=278,e.agrave=444,e.Tcommaaccent=611,e.Cacute=667,e.atilde=444,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=444,e.Amacron=722,e.rcaron=333,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=556,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=588,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=722,e.Abreve=722,e.multiply=564,e.uacute=500,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=444,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=722,e.Iacute=333,e.plusminus=564,e.brokenbar=200,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=333,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=326,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=444,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=344,e.Kcommaaccent=722,e.Lacute=611,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=722,e.zdotaccent=444,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=500,e.minus=564,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=564,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500})),e["Times-Bold"]=(0,n.getLookupTableFactory)((function(e){e.space=250,e.exclam=333,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=1e3,e.ampersand=833,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=930,e.A=722,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=778,e.I=389,e.J=500,e.K=778,e.L=667,e.M=944,e.N=722,e.O=778,e.P=611,e.Q=778,e.R=722,e.S=556,e.T=667,e.U=722,e.V=722,e.W=1e3,e.X=722,e.Y=722,e.Z=667,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=581,e.underscore=500,e.quoteleft=333,e.a=500,e.b=556,e.c=444,e.d=556,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=333,e.k=556,e.l=278,e.m=833,e.n=556,e.o=500,e.p=556,e.q=556,e.r=444,e.s=389,e.t=333,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=394,e.bar=220,e.braceright=394,e.asciitilde=520,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=540,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=300,e.Lslash=667,e.Oslash=778,e.OE=1e3,e.ordmasculine=330,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=556,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=722,e.divide=570,e.Yacute=722,e.Acircumflex=722,e.aacute=500,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=667,e.Cacute=722,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=500,e.Amacron=722,e.rcaron=444,e.ccedilla=444,e.Zdotaccent=667,e.Thorn=611,e.Omacron=778,e.Racute=722,e.Sacute=556,e.dcaron=672,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=570,e.uacute=556,e.Tcaron=667,e.partialdiff=494,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=778,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=444,e.omacron=500,e.Zacute=667,e.Zcaron=667,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=416,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=778,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=300,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=556,e.threequarters=750,e.Scedilla=556,e.lcaron=394,e.Kcommaaccent=778,e.Lacute=667,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=667,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=778,e.degree=400,e.ograve=500,e.Ccaron=722,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=444,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=722,e.Lcommaaccent=667,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=444,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=556,e.minus=570,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=333,e.logicalnot=570,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500})),e["Times-BoldItalic"]=(0,n.getLookupTableFactory)((function(e){e.space=250,e.exclam=389,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=832,e.A=667,e.B=667,e.C=667,e.D=722,e.E=667,e.F=667,e.G=722,e.H=778,e.I=389,e.J=500,e.K=667,e.L=611,e.M=889,e.N=722,e.O=722,e.P=611,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=667,e.W=889,e.X=667,e.Y=611,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=570,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=556,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=556,e.v=444,e.w=667,e.x=500,e.y=444,e.z=389,e.braceleft=348,e.bar=220,e.braceright=348,e.asciitilde=570,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=500,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=944,e.ordfeminine=266,e.Lslash=611,e.Oslash=722,e.OE=944,e.ordmasculine=300,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=611,e.divide=570,e.Yacute=611,e.Acircumflex=667,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=611,e.Cacute=667,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=556,e.acircumflex=500,e.Amacron=667,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=611,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=608,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=722,e.Agrave=667,e.Abreve=667,e.multiply=570,e.uacute=556,e.Tcaron=611,e.partialdiff=494,e.ydieresis=444,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=722,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=366,e.eogonek=444,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=576,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=382,e.Kcommaaccent=667,e.Lacute=611,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=722,e.zdotaccent=389,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=500,e.minus=606,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=606,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500})),e["Times-Italic"]=(0,n.getLookupTableFactory)((function(e){e.space=250,e.exclam=333,e.quotedbl=420,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=675,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=675,e.equal=675,e.greater=675,e.question=500,e.at=920,e.A=611,e.B=611,e.C=667,e.D=722,e.E=611,e.F=611,e.G=722,e.H=722,e.I=333,e.J=444,e.K=667,e.L=556,e.M=833,e.N=667,e.O=722,e.P=611,e.Q=722,e.R=611,e.S=500,e.T=556,e.U=722,e.V=611,e.W=833,e.X=611,e.Y=556,e.Z=556,e.bracketleft=389,e.backslash=278,e.bracketright=389,e.asciicircum=422,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=278,e.g=500,e.h=500,e.i=278,e.j=278,e.k=444,e.l=278,e.m=722,e.n=500,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=500,e.v=444,e.w=667,e.x=444,e.y=444,e.z=389,e.braceleft=400,e.bar=275,e.braceright=400,e.asciitilde=541,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=214,e.quotedblleft=556,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=523,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=556,e.quotedblright=556,e.guillemotright=500,e.ellipsis=889,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=889,e.AE=889,e.ordfeminine=276,e.Lslash=556,e.Oslash=722,e.OE=944,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=667,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=500,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=556,e.divide=675,e.Yacute=556,e.Acircumflex=611,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=500,e.Ncommaaccent=667,e.lacute=278,e.agrave=500,e.Tcommaaccent=556,e.Cacute=667,e.atilde=500,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=611,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=500,e.Amacron=611,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=556,e.Thorn=611,e.Omacron=722,e.Racute=611,e.Sacute=500,e.dcaron=544,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=611,e.Abreve=611,e.multiply=675,e.uacute=500,e.Tcaron=556,e.partialdiff=476,e.ydieresis=444,e.Nacute=667,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=667,e.Iacute=333,e.plusminus=675,e.brokenbar=275,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=389,e.omacron=500,e.Zacute=556,e.Zcaron=556,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=300,e.eogonek=444,e.Uogonek=722,e.Aacute=611,e.Adieresis=611,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=500,e.lcaron=300,e.Kcommaaccent=667,e.Lacute=556,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=500,e.Scommaaccent=500,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=667,e.otilde=500,e.Rcommaaccent=611,e.Lcommaaccent=556,e.Atilde=611,e.Aogonek=611,e.Aring=611,e.Otilde=722,e.zdotaccent=389,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=444,e.minus=675,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=675,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500})),e.ZapfDingbats=(0,n.getLookupTableFactory)((function(e){e.space=278,e.a1=974,e.a2=961,e.a202=974,e.a3=980,e.a4=719,e.a5=789,e.a119=790,e.a118=791,e.a117=690,e.a11=960,e.a12=939,e.a13=549,e.a14=855,e.a15=911,e.a16=933,e.a105=911,e.a17=945,e.a18=974,e.a19=755,e.a20=846,e.a21=762,e.a22=761,e.a23=571,e.a24=677,e.a25=763,e.a26=760,e.a27=759,e.a28=754,e.a6=494,e.a7=552,e.a8=537,e.a9=577,e.a10=692,e.a29=786,e.a30=788,e.a31=788,e.a32=790,e.a33=793,e.a34=794,e.a35=816,e.a36=823,e.a37=789,e.a38=841,e.a39=823,e.a40=833,e.a41=816,e.a42=831,e.a43=923,e.a44=744,e.a45=723,e.a46=749,e.a47=790,e.a48=792,e.a49=695,e.a50=776,e.a51=768,e.a52=792,e.a53=759,e.a54=707,e.a55=708,e.a56=682,e.a57=701,e.a58=826,e.a59=815,e.a60=789,e.a61=789,e.a62=707,e.a63=687,e.a64=696,e.a65=689,e.a66=786,e.a67=787,e.a68=713,e.a69=791,e.a70=785,e.a71=791,e.a72=873,e.a73=761,e.a74=762,e.a203=762,e.a75=759,e.a204=759,e.a76=892,e.a77=892,e.a78=788,e.a79=784,e.a81=438,e.a82=138,e.a83=277,e.a84=415,e.a97=392,e.a98=392,e.a99=668,e.a100=668,e.a89=390,e.a90=390,e.a93=317,e.a94=317,e.a91=276,e.a92=276,e.a205=509,e.a85=509,e.a206=410,e.a86=410,e.a87=234,e.a88=234,e.a95=334,e.a96=334,e.a101=732,e.a102=544,e.a103=544,e.a104=910,e.a106=667,e.a107=760,e.a108=760,e.a112=776,e.a111=595,e.a110=694,e.a109=626,e.a120=788,e.a121=788,e.a122=788,e.a123=788,e.a124=788,e.a125=788,e.a126=788,e.a127=788,e.a128=788,e.a129=788,e.a130=788,e.a131=788,e.a132=788,e.a133=788,e.a134=788,e.a135=788,e.a136=788,e.a137=788,e.a138=788,e.a139=788,e.a140=788,e.a141=788,e.a142=788,e.a143=788,e.a144=788,e.a145=788,e.a146=788,e.a147=788,e.a148=788,e.a149=788,e.a150=788,e.a151=788,e.a152=788,e.a153=788,e.a154=788,e.a155=788,e.a156=788,e.a157=788,e.a158=788,e.a159=788,e.a160=894,e.a161=838,e.a163=1016,e.a164=458,e.a196=748,e.a165=924,e.a192=748,e.a166=918,e.a167=927,e.a168=928,e.a169=928,e.a170=834,e.a171=873,e.a172=828,e.a173=924,e.a162=924,e.a174=917,e.a175=930,e.a176=931,e.a177=463,e.a178=883,e.a179=836,e.a193=836,e.a180=867,e.a199=867,e.a181=696,e.a200=696,e.a182=874,e.a201=874,e.a183=760,e.a184=946,e.a197=771,e.a185=865,e.a194=771,e.a198=888,e.a186=967,e.a195=888,e.a187=831,e.a188=873,e.a189=927,e.a190=970,e.a191=918}))}));t.getMetrics=a},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MurmurHash3_64=void 0;var n=r(4);function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var i=3285377520,o=4294901760,s=65535,c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.h1=t?4294967295&t:i,this.h2=t?4294967295&t:i}var t,r,c;return t=e,(r=[{key:"update",value:function(e){var t,r;if((0,n.isString)(e)){t=new Uint8Array(2*e.length),r=0;for(var a=0,i=e.length;a<i;a++){var c=e.charCodeAt(a);c<=255?t[r++]=c:(t[r++]=c>>>8,t[r++]=255&c)}}else{if(!(0,n.isArrayBuffer)(e))throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");r=(t=e.slice()).byteLength}for(var u=r>>2,l=r-4*u,f=new Uint32Array(t.buffer,0,u),h=0,d=0,p=this.h1,g=this.h2,m=3432918353,v=461845907,y=11601,b=13715,w=0;w<u;w++)1&w?p=5*(p=(p^=h=(h=(h=(h=f[w])*m&o|h*y&s)<<15|h>>>17)*v&o|h*b&s)<<13|p>>>19)+3864292196:g=5*(g=(g^=d=(d=(d=(d=f[w])*m&o|d*y&s)<<15|d>>>17)*v&o|d*b&s)<<13|g>>>19)+3864292196;switch(h=0,l){case 3:h^=t[4*u+2]<<16;case 2:h^=t[4*u+1]<<8;case 1:h=(h=(h=(h^=t[4*u])*m&o|h*y&s)<<15|h>>>17)*v&o|h*b&s,1&u?p^=h:g^=h}this.h1=p,this.h2=g}},{key:"hexdigest",value:function(){var e=this.h1,t=this.h2;e=3981806797*(e^=t>>>1)&o|36045*e&s,e=444984403*(e^=(t=4283543511*t&o|(2950163797*(t<<16|e>>>16)&o)>>>16)>>>1)&o|60499*e&s;var r=((e^=(t=3301882366*t&o|(3120437893*(t<<16|e>>>16)&o)>>>16)>>>1)>>>0).toString(16),n=(t>>>0).toString(16);return r.padStart(8,"0")+n.padStart(8,"0")}}])&&a(t.prototype,r),c&&a(t,c),e}();t.MurmurHash3_64=c},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.OperatorList=void 0;var a=r(4);function i(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,s=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==r.return||r.return()}finally{if(c)throw i}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function c(e){var t=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(e){return!1}}();return function(){var r,n=l(e);if(t){var a=l(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return u(this,r)}}function u(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&h(e.prototype,t),r&&h(e,r),e}function p(e,t,r,n,a){for(var i=e,o=0,s=t.length-1;o<s;o++){var c=t[o];i=i[c]||(i[c]=[])}i[t[t.length-1]]={checkFn:r,iterateFn:n,processFn:a}}var g=[];p(g,[a.OPS.save,a.OPS.transform,a.OPS.paintInlineImageXObject,a.OPS.restore],null,(function(e,t){var r=e.fnArray,n=(t-(e.iCurr-3))%4;switch(n){case 0:return r[t]===a.OPS.save;case 1:return r[t]===a.OPS.transform;case 2:return r[t]===a.OPS.paintInlineImageXObject;case 3:return r[t]===a.OPS.restore}throw new Error("iterateInlineImageGroup - invalid pos: ".concat(n))}),(function(e,t){var r=e.fnArray,n=e.argsArray,i=e.iCurr,o=i-3,s=i-2,c=i-1,u=Math.min(Math.floor((t-o)/4),200);if(u<10)return t-(t-o)%4;for(var l=0,f=[],h=0,d=1,p=1,g=0;g<u;g++){var m=n[s+(g<<2)],v=n[c+(g<<2)][0];d+v.width>1e3&&(l=Math.max(l,d),p+=h+2,d=0,h=0),f.push({transform:m,x:d,y:p,w:v.width,h:v.height}),d+=v.width+2,h=Math.max(h,v.height)}for(var y=Math.max(l,d)+1,b=p+h+1,w=new Uint8ClampedArray(y*b*4),k=y<<2,S=0;S<u;S++){var x=n[c+(S<<2)][0].data,A=f[S].w<<2,O=0,C=f[S].x+f[S].y*y<<2;w.set(x.subarray(0,A),C-k);for(var T=0,F=f[S].h;T<F;T++)w.set(x.subarray(O,O+A),C),O+=A,C+=k;for(w.set(x.subarray(O-A,O),C);C>=0;)x[C-4]=x[C],x[C-3]=x[C+1],x[C-2]=x[C+2],x[C-1]=x[C+3],x[C+A]=x[C+A-4],x[C+A+1]=x[C+A-3],x[C+A+2]=x[C+A-2],x[C+A+3]=x[C+A-1],C-=k}return r.splice(o,4*u,a.OPS.paintInlineImageXObjectGroup),n.splice(o,4*u,[{width:y,height:b,kind:a.ImageKind.RGBA_32BPP,data:w},f]),o+1})),p(g,[a.OPS.save,a.OPS.transform,a.OPS.paintImageMaskXObject,a.OPS.restore],null,(function(e,t){var r=e.fnArray,n=(t-(e.iCurr-3))%4;switch(n){case 0:return r[t]===a.OPS.save;case 1:return r[t]===a.OPS.transform;case 2:return r[t]===a.OPS.paintImageMaskXObject;case 3:return r[t]===a.OPS.restore}throw new Error("iterateImageMaskGroup - invalid pos: ".concat(n))}),(function(e,t){var r=e.fnArray,n=e.argsArray,i=e.iCurr,o=i-3,s=i-2,c=i-1,u=Math.floor((t-o)/4);if(u=function(e,t,r,n){var i,o=e+2;for(i=0;i<t;i++){var s=n[o+4*i],c=1===s.length&&s[0];if(!c||1!==c.width||1!==c.height||c.data.length&&(1!==c.data.length||0!==c.data[0]))break;r[o+4*i]=a.OPS.paintSolidColorImageMask}return t-i}(o,u,r,n),u<10)return t-(t-o)%4;var l,f,h=!1,d=n[c][0],p=n[s][0],g=n[s][1],m=n[s][2],v=n[s][3];if(g===m){h=!0,l=s+4;for(var y=c+4,b=1;b<u;b++,l+=4,y+=4)if(f=n[l],n[y][0]!==d||f[0]!==p||f[1]!==g||f[2]!==m||f[3]!==v){b<10?h=!1:u=b;break}}if(h){u=Math.min(u,1e3);var w=new Float32Array(2*u);l=s;for(var k=0;k<u;k++,l+=4)f=n[l],w[k<<1]=f[4],w[1+(k<<1)]=f[5];r.splice(o,4*u,a.OPS.paintImageMaskXObjectRepeat),n.splice(o,4*u,[d,p,g,m,v,w])}else{u=Math.min(u,100);for(var S=[],x=0;x<u;x++){f=n[s+(x<<2)];var A=n[c+(x<<2)][0];S.push({data:A.data,width:A.width,height:A.height,transform:f})}r.splice(o,4*u,a.OPS.paintImageMaskXObjectGroup),n.splice(o,4*u,[S])}return o+1})),p(g,[a.OPS.save,a.OPS.transform,a.OPS.paintImageXObject,a.OPS.restore],(function(e){var t=e.argsArray,r=e.iCurr-2;return 0===t[r][1]&&0===t[r][2]}),(function(e,t){var r=e.fnArray,n=e.argsArray,i=(t-(e.iCurr-3))%4;switch(i){case 0:return r[t]===a.OPS.save;case 1:if(r[t]!==a.OPS.transform)return!1;var o=e.iCurr-2,s=n[o][0],c=n[o][3];return n[t][0]===s&&0===n[t][1]&&0===n[t][2]&&n[t][3]===c;case 2:if(r[t]!==a.OPS.paintImageXObject)return!1;var u=n[e.iCurr-1][0];return n[t][0]===u;case 3:return r[t]===a.OPS.restore}throw new Error("iterateImageGroup - invalid pos: ".concat(i))}),(function(e,t){var r=e.fnArray,n=e.argsArray,i=e.iCurr,o=i-3,s=i-2,c=n[i-1][0],u=n[s][0],l=n[s][3],f=Math.min(Math.floor((t-o)/4),1e3);if(f<3)return t-(t-o)%4;for(var h=new Float32Array(2*f),d=s,p=0;p<f;p++,d+=4){var g=n[d];h[p<<1]=g[4],h[1+(p<<1)]=g[5]}var m=[c,u,l,h];return r.splice(o,4*f,a.OPS.paintImageXObjectRepeat),n.splice(o,4*f,m),o+1})),p(g,[a.OPS.beginText,a.OPS.setFont,a.OPS.setTextMatrix,a.OPS.showText,a.OPS.endText],null,(function(e,t){var r=e.fnArray,n=e.argsArray,i=(t-(e.iCurr-4))%5;switch(i){case 0:return r[t]===a.OPS.beginText;case 1:return r[t]===a.OPS.setFont;case 2:return r[t]===a.OPS.setTextMatrix;case 3:if(r[t]!==a.OPS.showText)return!1;var o=e.iCurr-3,s=n[o][0],c=n[o][1];return n[t][0]===s&&n[t][1]===c;case 4:return r[t]===a.OPS.endText}throw new Error("iterateShowTextGroup - invalid pos: ".concat(i))}),(function(e,t){var r=e.fnArray,n=e.argsArray,a=e.iCurr,i=a-4,o=a-3,s=a-2,c=a-1,u=a,l=n[o][0],f=n[o][1],h=Math.min(Math.floor((t-i)/5),1e3);if(h<3)return t-(t-i)%5;var d=i;i>=4&&r[i-4]===r[o]&&r[i-3]===r[s]&&r[i-2]===r[c]&&r[i-1]===r[u]&&n[i-4][0]===l&&n[i-4][1]===f&&(h++,d-=5);for(var p=d+4,g=1;g<h;g++)r.splice(p,3),n.splice(p,3),p+=2;return p+1}));var m=function(){function e(t){f(this,e),this.queue=t}return d(e,[{key:"_optimize",value:function(){}},{key:"push",value:function(e,t){this.queue.fnArray.push(e),this.queue.argsArray.push(t),this._optimize()}},{key:"flush",value:function(){}},{key:"reset",value:function(){}}]),e}(),v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(r,e);var t=c(r);function r(e){var n;return f(this,r),(n=t.call(this,e)).state=null,n.context={iCurr:0,fnArray:e.fnArray,argsArray:e.argsArray},n.match=null,n.lastProcessed=0,n}return d(r,[{key:"_optimize",value:function(){var e=this.queue.fnArray,t=this.lastProcessed,r=e.length,n=this.state,a=this.match;if(n||a||t+1!==r||g[e[t]]){for(var i=this.context;t<r;){if(a){if((0,a.iterateFn)(i,t)){t++;continue}if(t=(0,a.processFn)(i,t+1),a=null,n=null,t>=(r=e.length))break}(n=(n||g)[e[t]])&&!Array.isArray(n)?(i.iCurr=t,t++,!n.checkFn||(0,n.checkFn)(i)?(a=n,n=null):n=null):t++}this.state=n,this.match=a,this.lastProcessed=t}else this.lastProcessed=r}},{key:"flush",value:function(){for(;this.match;){var e=this.queue.fnArray.length;this.lastProcessed=(0,this.match.processFn)(this.context,e),this.match=null,this.state=null,this._optimize()}}},{key:"reset",value:function(){this.state=null,this.match=null,this.lastProcessed=0}}]),r}(m),y=function(){function e(t,r){f(this,e),this._streamSink=r,this.fnArray=[],this.argsArray=[],this.optimizer=r&&"oplist"!==t?new v(this):new m(this),this.dependencies=new Set,this._totalLength=0,this.weight=0,this._resolved=r?null:Promise.resolve()}return d(e,[{key:"length",get:function(){return this.argsArray.length}},{key:"ready",get:function(){return this._resolved||this._streamSink.ready}},{key:"totalLength",get:function(){return this._totalLength+this.length}},{key:"addOp",value:function(t,r){this.optimizer.push(t,r),this.weight++,this._streamSink&&(this.weight>=e.CHUNK_SIZE||this.weight>=e.CHUNK_SIZE_ABOUT&&(t===a.OPS.restore||t===a.OPS.endText))&&this.flush()}},{key:"addDependency",value:function(e){this.dependencies.has(e)||(this.dependencies.add(e),this.addOp(a.OPS.dependency,[e]))}},{key:"addDependencies",value:function(e){var t,r=i(e);try{for(r.s();!(t=r.n()).done;){var n=t.value;this.addDependency(n)}}catch(e){r.e(e)}finally{r.f()}}},{key:"addOpList",value:function(t){if(t instanceof e){var r,n=i(t.dependencies);try{for(n.s();!(r=n.n()).done;){var o=r.value;this.dependencies.add(o)}}catch(e){n.e(e)}finally{n.f()}for(var s=0,c=t.length;s<c;s++)this.addOp(t.fnArray[s],t.argsArray[s])}else(0,a.warn)(\'addOpList - ignoring invalid "opList" parameter.\')}},{key:"getIR",value:function(){return{fnArray:this.fnArray,argsArray:this.argsArray,length:this.length}}},{key:"_transfers",get:function(){for(var e=[],t=this.fnArray,r=this.argsArray,n=this.length,i=0;i<n;i++)switch(t[i]){case a.OPS.paintInlineImageXObject:case a.OPS.paintInlineImageXObjectGroup:case a.OPS.paintImageMaskXObject:var o=r[i][0];o.cached||e.push(o.data.buffer)}return e}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.optimizer.flush();var t=this.length;this._totalLength+=t,this._streamSink.enqueue({fnArray:this.fnArray,argsArray:this.argsArray,lastChunk:e,length:t},1,this._transfers),this.dependencies.clear(),this.fnArray.length=0,this.argsArray.length=0,this.weight=0,this.optimizer.reset()}}],[{key:"CHUNK_SIZE",get:function(){return(0,a.shadow)(this,"CHUNK_SIZE",1e3)}},{key:"CHUNK_SIZE_ABOUT",get:function(){return(0,a.shadow)(this,"CHUNK_SIZE_ABOUT",e.CHUNK_SIZE-5)}}]),e}();t.OperatorList=y},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFImage=void 0;var n,a=(n=r(2))&&n.__esModule?n:{default:n},i=r(4),o=r(113),s=r(122),c=r(127),u=r(135),l=r(138);function f(e,t,r,n,a,i,o){try{var s=e[i](o),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,a)}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r,n){return(e=t+e*r)<0?e=0:e>n&&(e=n),e}function p(e,t,r,n,a,i){var o,s=a*i;o=t<=8?new Uint8Array(s):t<=16?new Uint16Array(s):new Uint32Array(s);var c,u,l,f,h=r/a,d=n/i,p=0,g=new Uint16Array(a),m=r;for(c=0;c<a;c++)g[c]=Math.floor(c*h);for(c=0;c<i;c++)for(l=Math.floor(c*d)*m,u=0;u<a;u++)f=l+g[u],o[p++]=e[f];return o}var g=function(){function e(t){var r=t.xref,n=t.res,a=t.image,c=t.isInline,u=void 0!==c&&c,f=t.smask,h=void 0===f?null:f,d=t.mask,p=void 0===d?null:d,g=t.isMask,m=void 0!==g&&g,v=t.pdfFunctionFactory,y=t.localColorSpaceCache;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.image=a;var b=a.dict,w=b.get("Filter");if((0,o.isName)(w))switch(w.name){case"JPXDecode":var k=new l.JpxImage;k.parseImageProperties(a.stream),a.stream.reset(),a.width=k.width,a.height=k.height,a.bitsPerComponent=k.bitsPerComponent,a.numComps=k.componentsCount;break;case"JBIG2Decode":a.bitsPerComponent=1,a.numComps=1}var S=b.get("Width","W"),x=b.get("Height","H");if(Number.isInteger(a.width)&&a.width>0&&Number.isInteger(a.height)&&a.height>0&&(a.width!==S||a.height!==x)&&((0,i.warn)("PDFImage - using the Width/Height of the image data, rather than the image dictionary."),S=a.width,x=a.height),S<1||x<1)throw new i.FormatError("Invalid image width: ".concat(S," or height: ").concat(x));this.width=S,this.height=x,this.interpolate=b.get("Interpolate","I")||!1,this.imageMask=b.get("ImageMask","IM")||!1,this.matte=b.get("Matte")||!1;var A=a.bitsPerComponent;if(!A&&!(A=b.get("BitsPerComponent","BPC"))){if(!this.imageMask)throw new i.FormatError("Bits per component missing in image: ".concat(this.imageMask));A=1}if(this.bpc=A,!this.imageMask){var O=b.getRaw("ColorSpace")||b.getRaw("CS");if(!O)switch((0,i.info)("JPX images (which do not require color spaces)"),a.numComps){case 1:O=o.Name.get("DeviceGray");break;case 3:O=o.Name.get("DeviceRGB");break;case 4:O=o.Name.get("DeviceCMYK");break;default:throw new Error("JPX images with ".concat(a.numComps," ")+"color components not supported.")}this.colorSpace=s.ColorSpace.parse({cs:O,xref:r,resources:u?n:null,pdfFunctionFactory:v,localColorSpaceCache:y}),this.numComps=this.colorSpace.numComps}if(this.decode=b.getArray("Decode","D"),this.needsDecode=!1,this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode,A)||m&&!s.ColorSpace.isDefaultDecode(this.decode,1))){this.needsDecode=!0;var C=(1<<A)-1;this.decodeCoefficients=[],this.decodeAddends=[];for(var T=this.colorSpace&&"Indexed"===this.colorSpace.name,F=0,P=0;F<this.decode.length;F+=2,++P){var _=this.decode[F],I=this.decode[F+1];this.decodeCoefficients[P]=T?(I-_)/C:I-_,this.decodeAddends[P]=T?_:C*_}}h?this.smask=new e({xref:r,res:n,image:h,isInline:u,pdfFunctionFactory:v,localColorSpaceCache:y}):p&&((0,o.isStream)(p)?p.dict.get("ImageMask","IM")?this.mask=new e({xref:r,res:n,image:p,isInline:u,isMask:!0,pdfFunctionFactory:v,localColorSpaceCache:y}):(0,i.warn)("Ignoring /Mask in image without /ImageMask."):this.mask=p)}var t,r,n,g,m;return t=e,r=[{key:"drawWidth",get:function(){return Math.max(this.width,this.smask&&this.smask.width||0,this.mask&&this.mask.width||0)}},{key:"drawHeight",get:function(){return Math.max(this.height,this.smask&&this.smask.height||0,this.mask&&this.mask.height||0)}},{key:"decodeBuffer",value:function(e){var t,r,n=this.bpc,a=this.numComps,i=this.decodeAddends,o=this.decodeCoefficients,s=(1<<n)-1;if(1!==n){var c=0;for(t=0,r=this.width*this.height;t<r;t++)for(var u=0;u<a;u++)e[c]=d(e[c],i[u],o[u],s),c++}else for(t=0,r=e.length;t<r;t++)e[t]=+!e[t]}},{key:"getComponents",value:function(e){var t=this.bpc;if(8===t)return e;var r,n=this.width,a=this.height,i=this.numComps,o=n*a*i,s=0;r=t<=8?new Uint8Array(o):t<=16?new Uint16Array(o):new Uint32Array(o);var c,u,l=n*i,f=(1<<t)-1,h=0;if(1===t)for(var d,p,g,m=0;m<a;m++){for(p=h+(-8&l),g=h+l;h<p;)u=e[s++],r[h]=u>>7&1,r[h+1]=u>>6&1,r[h+2]=u>>5&1,r[h+3]=u>>4&1,r[h+4]=u>>3&1,r[h+5]=u>>2&1,r[h+6]=u>>1&1,r[h+7]=1&u,h+=8;if(h<g)for(u=e[s++],d=128;h<g;)r[h++]=+!!(u&d),d>>=1}else{var v=0;for(u=0,h=0,c=o;h<c;++h){for(h%l==0&&(u=0,v=0);v<t;)u=u<<8|e[s++],v+=8;var y=v-t,b=u>>y;b<0?b=0:b>f&&(b=f),r[h]=b,u&=(1<<y)-1,v=y}}return r}},{key:"fillOpacity",value:function(t,r,n,a,o){var s,c,u,l,f,h,d=this.smask,g=this.mask;if(d)c=d.width,u=d.height,s=new Uint8ClampedArray(c*u),d.fillGrayBuffer(s),c===r&&u===n||(s=p(s,d.bpc,c,u,r,n));else if(g)if(g instanceof e){for(c=g.width,u=g.height,s=new Uint8ClampedArray(c*u),g.numComps=1,g.fillGrayBuffer(s),l=0,f=c*u;l<f;++l)s[l]=255-s[l];c===r&&u===n||(s=p(s,g.bpc,c,u,r,n))}else{if(!Array.isArray(g))throw new i.FormatError("Unknown mask format.");s=new Uint8ClampedArray(r*n);var m=this.numComps;for(l=0,f=r*n;l<f;++l){var v=0,y=l*m;for(h=0;h<m;++h){var b=o[y+h],w=2*h;if(b<g[w]||b>g[w+1]){v=255;break}}s[l]=v}}if(s)for(l=0,h=3,f=r*a;l<f;++l,h+=4)t[h]=s[l];else for(l=0,h=3,f=r*a;l<f;++l,h+=4)t[h]=255}},{key:"undoPreblend",value:function(e,t,r){var n=this.smask&&this.smask.matte;if(n)for(var a=this.colorSpace.getRgb(n,0),i=a[0],o=a[1],s=a[2],c=t*r*4,u=0;u<c;u+=4){var l=e[u+3];if(0!==l){var f=255/l;e[u]=(e[u]-i)*f+i,e[u+1]=(e[u+1]-o)*f+o,e[u+2]=(e[u+2]-s)*f+s}else e[u]=255,e[u+1]=255,e[u+2]=255}}},{key:"createImageData",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=this.drawWidth,n=this.drawHeight,a={width:r,height:n,kind:0,data:null},o=this.numComps,s=this.width,l=this.height,f=this.bpc,h=s*o*f+7>>3;if(!t){var d;if("DeviceGray"===this.colorSpace.name&&1===f?d=i.ImageKind.GRAYSCALE_1BPP:"DeviceRGB"!==this.colorSpace.name||8!==f||this.needsDecode||(d=i.ImageKind.RGB_24BPP),d&&!this.smask&&!this.mask&&r===s&&n===l){if(a.kind=d,e=this.getImageBytes(l*h),this.image instanceof c.DecodeStream)a.data=e;else{var p=new Uint8ClampedArray(e.length);p.set(e),a.data=p}if(this.needsDecode){(0,i.assert)(d===i.ImageKind.GRAYSCALE_1BPP,"PDFImage.createImageData: The image must be grayscale.");for(var g=a.data,m=0,v=g.length;m<v;m++)g[m]^=255}return a}if(this.image instanceof u.JpegStream&&!this.smask&&!this.mask){var y=l*h;switch(this.colorSpace.name){case"DeviceGray":y*=3;case"DeviceRGB":case"DeviceCMYK":return a.kind=i.ImageKind.RGB_24BPP,a.data=this.getImageBytes(y,r,n,!0),a}}}var b,w,k=0|(e=this.getImageBytes(l*h)).length/h*n/l,S=this.getComponents(e);return t||this.smask||this.mask?(a.kind=i.ImageKind.RGBA_32BPP,a.data=new Uint8ClampedArray(r*n*4),b=1,w=!0,this.fillOpacity(a.data,r,n,k,S)):(a.kind=i.ImageKind.RGB_24BPP,a.data=new Uint8ClampedArray(r*n*3),b=0,w=!1),this.needsDecode&&this.decodeBuffer(S),this.colorSpace.fillRgb(a.data,s,l,r,n,k,f,S,b),w&&this.undoPreblend(a.data,r,k),a}},{key:"fillGrayBuffer",value:function(e){var t=this.numComps;if(1!==t)throw new i.FormatError("Reading gray scale from a color image: ".concat(t));var r,n,a=this.width,o=this.height,s=this.bpc,c=a*t*s+7>>3,u=this.getImageBytes(o*c),l=this.getComponents(u);if(1!==s){this.needsDecode&&this.decodeBuffer(l),n=a*o;var f=255/((1<<s)-1);for(r=0;r<n;++r)e[r]=f*l[r]}else if(n=a*o,this.needsDecode)for(r=0;r<n;++r)e[r]=l[r]-1&255;else for(r=0;r<n;++r)e[r]=255&-l[r]}},{key:"getImageBytes",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return this.image.reset(),this.image.drawWidth=t||this.width,this.image.drawHeight=r||this.height,this.image.forceRGB=!!n,this.image.getBytes(e,!0)}}],n=[{key:"buildImage",value:(g=a.default.mark((function t(r){var n,s,c,u,l,f,h,d,p,g,m,v;return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=r.xref,s=r.res,c=r.image,u=r.isInline,l=void 0!==u&&u,f=r.pdfFunctionFactory,h=r.localColorSpaceCache,d=c,p=null,g=null,m=c.dict.get("SMask"),v=c.dict.get("Mask"),m?p=m:v&&((0,o.isStream)(v)||Array.isArray(v)?g=v:(0,i.warn)("Unsupported mask format.")),t.abrupt("return",new e({xref:n,res:s,image:d,isInline:l,smask:p,mask:g,pdfFunctionFactory:f,localColorSpaceCache:h}));case 8:case"end":return t.stop()}}),t)})),m=function(){var e=this,t=arguments;return new Promise((function(r,n){var a=g.apply(e,t);function i(e){f(a,r,n,i,o,"next",e)}function o(e){f(a,r,n,i,o,"throw",e)}i(void 0)}))},function(e){return m.apply(this,arguments)})},{key:"createMask",value:function(e){var t,r,n=e.imgArray,a=e.width,i=e.height,o=e.imageIsFromDecodeStream,s=e.inverseDecode,c=(a+7>>3)*i,u=n.byteLength;if(!o||s&&c!==u)if(s)for((t=new Uint8ClampedArray(c)).set(n),r=u;r<c;r++)t[r]=255;else(t=new Uint8ClampedArray(u)).set(n);else t=n;if(s)for(r=0;r<u;r++)t[r]^=255;return{data:t,width:a,height:i}}}],r&&h(t.prototype,r),n&&h(t,n),e}();t.PDFImage=g},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Catalog=void 0;var n=r(113),a=r(117),i=r(4),o=r(166),s=r(122),c=r(167),u=r(159),l=r(168),f=r(170);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function d(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||m(e)||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.")}()}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(e,t)||m(e,t)||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.")}()}function g(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=m(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function m(e,t){if(e){if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(e,t):void 0}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e){return e instanceof n.Dict&&(e=e.get("D")),Array.isArray(e)?e:null}var w=function(){function e(t,r){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.pdfManager=t,this.xref=r,this._catDict=r.getCatalogObj(),!(0,n.isDict)(this._catDict))throw new i.FormatError("Catalog object is not a dictionary.");this.fontCache=new n.RefSetCache,this.builtInCMapCache=new Map,this.globalImageCache=new u.GlobalImageCache,this.pageKidsCountCache=new n.RefSetCache,this.pageIndexCache=new n.RefSetCache,this.nonBlendModesSet=new n.RefSet}var t,r,m;return t=e,r=[{key:"version",get:function(){var e=this._catDict.get("Version");return(0,n.isName)(e)?(0,i.shadow)(this,"version",e.name):(0,i.shadow)(this,"version",null)}},{key:"collection",get:function(){var e=null;try{var t=this._catDict.get("Collection");(0,n.isDict)(t)&&t.size>0&&(e=t)}catch(e){if(e instanceof a.MissingDataException)throw e;(0,i.info)("Cannot fetch Collection entry; assuming no collection is present.")}return(0,i.shadow)(this,"collection",e)}},{key:"acroForm",get:function(){var e=null;try{var t=this._catDict.get("AcroForm");(0,n.isDict)(t)&&t.size>0&&(e=t)}catch(e){if(e instanceof a.MissingDataException)throw e;(0,i.info)("Cannot fetch AcroForm entry; assuming no forms are present.")}return(0,i.shadow)(this,"acroForm",e)}},{key:"metadata",get:function(){var e=this._catDict.getRaw("Metadata");if(!(0,n.isRef)(e))return(0,i.shadow)(this,"metadata",null);var t=!(this.xref.encrypt&&this.xref.encrypt.encryptMetadata),r=this.xref.fetch(e,t),o=null;if((0,n.isStream)(r)&&(0,n.isDict)(r.dict)){var s=r.dict.get("Type"),c=r.dict.get("Subtype");if((0,n.isName)(s,"Metadata")&&(0,n.isName)(c,"XML"))try{var u=(0,i.stringToUTF8String)(r.getString());u&&(o=new l.MetadataParser(u).serializable)}catch(e){if(e instanceof a.MissingDataException)throw e;(0,i.info)("Skipping invalid metadata.")}}return(0,i.shadow)(this,"metadata",o)}},{key:"markInfo",get:function(){var e=null;try{e=this._readMarkInfo()}catch(e){if(e instanceof a.MissingDataException)throw e;(0,i.warn)("Unable to read mark info.")}return(0,i.shadow)(this,"markInfo",e)}},{key:"_readMarkInfo",value:function(){var e=this._catDict.get("MarkInfo");if(!(0,n.isDict)(e))return null;var t=Object.assign(Object.create(null),{Marked:!1,UserProperties:!1,Suspects:!1});for(var r in t)if(e.has(r)){var a=e.get(r);(0,i.isBool)(a)&&(t[r]=a)}return t}},{key:"structTreeRoot",get:function(){var e=null;try{e=this._readStructTreeRoot()}catch(e){if(e instanceof a.MissingDataException)throw e;(0,i.warn)("Unable read to structTreeRoot info.")}return(0,i.shadow)(this,"structTreeRoot",e)}},{key:"_readStructTreeRoot",value:function(){var e=this._catDict.get("StructTreeRoot");if(!(0,n.isDict)(e))return null;var t=new f.StructTreeRoot(e);return t.init(),t}},{key:"toplevelPagesDict",get:function(){var e=this._catDict.get("Pages");if(!(0,n.isDict)(e))throw new i.FormatError("Invalid top-level pages dictionary.");return(0,i.shadow)(this,"toplevelPagesDict",e)}},{key:"documentOutline",get:function(){var e=null;try{e=this._readDocumentOutline()}catch(e){if(e instanceof a.MissingDataException)throw e;(0,i.warn)("Unable to read document outline.")}return(0,i.shadow)(this,"documentOutline",e)}},{key:"_readDocumentOutline",value:function(){var t=this._catDict.get("Outlines");if(!(0,n.isDict)(t))return null;if(t=t.getRaw("First"),!(0,n.isRef)(t))return null;var r={items:[]},a=[{obj:t,parent:r}],o=new n.RefSet;o.put(t);for(var c=this.xref,u=new Uint8ClampedArray(3);a.length>0;){var l=a.shift(),f=c.fetchIfRef(l.obj);if(null!==f){if(!f.has("Title"))throw new i.FormatError("Invalid outline item encountered.");var h={url:null,dest:null};e.parseDestDictionary({destDict:f,resultObj:h,docBaseUrl:this.pdfManager.docBaseUrl});var d=f.get("Title"),p=f.get("F")||0,g=f.getArray("C"),m=f.get("Count"),v=u;!Array.isArray(g)||3!==g.length||0===g[0]&&0===g[1]&&0===g[2]||(v=s.ColorSpace.singletons.rgb.getRgb(g,0));var y={dest:h.dest,url:h.url,unsafeUrl:h.unsafeUrl,newWindow:h.newWindow,title:(0,i.stringToPDFString)(d),color:v,count:Number.isInteger(m)?m:void 0,bold:!!(2&p),italic:!!(1&p),items:[]};l.parent.items.push(y),t=f.getRaw("First"),(0,n.isRef)(t)&&!o.has(t)&&(a.push({obj:t,parent:y}),o.put(t)),t=f.getRaw("Next"),(0,n.isRef)(t)&&!o.has(t)&&(a.push({obj:t,parent:l.parent}),o.put(t))}}return r.items.length>0?r.items:null}},{key:"permissions",get:function(){var e=null;try{e=this._readPermissions()}catch(e){if(e instanceof a.MissingDataException)throw e;(0,i.warn)("Unable to read permissions.")}return(0,i.shadow)(this,"permissions",e)}},{key:"_readPermissions",value:function(){var e=this.xref.trailer.get("Encrypt");if(!(0,n.isDict)(e))return null;var t=e.get("P");if(!(0,i.isNum)(t))return null;t+=Math.pow(2,32);var r=[];for(var a in i.PermissionFlag){var o=i.PermissionFlag[a];t&o&&r.push(o)}return r}},{key:"optionalContentConfig",get:function(){var e=null;try{var t=this._catDict.get("OCProperties");if(!t)return(0,i.shadow)(this,"optionalContentConfig",null);var r=t.get("D");if(!r)return(0,i.shadow)(this,"optionalContentConfig",null);var o=t.get("OCGs");if(!Array.isArray(o))return(0,i.shadow)(this,"optionalContentConfig",null);var s,c=[],u=[],l=g(o);try{for(l.s();!(s=l.n()).done;){var f=s.value;if((0,n.isRef)(f)){u.push(f);var h=this.xref.fetchIfRef(f);c.push({id:f.toString(),name:(0,i.isString)(h.get("Name"))?(0,i.stringToPDFString)(h.get("Name")):null,intent:(0,i.isString)(h.get("Intent"))?(0,i.stringToPDFString)(h.get("Intent")):null})}}}catch(e){l.e(e)}finally{l.f()}(e=this._readOptionalContentConfig(r,u)).groups=c}catch(e){if(e instanceof a.MissingDataException)throw e;(0,i.warn)("Unable to read optional content config: ".concat(e))}return(0,i.shadow)(this,"optionalContentConfig",e)}},{key:"_readOptionalContentConfig",value:function(e,t){function r(e){var r=[];if(Array.isArray(e)){var a,i=g(e);try{for(i.s();!(a=i.n()).done;){var o=a.value;(0,n.isRef)(o)&&t.includes(o)&&r.push(o.toString())}}catch(e){i.e(e)}finally{i.f()}}return r}function a(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!Array.isArray(e))return null;var a,i=[],s=g(e);try{for(s.s();!(a=s.n()).done;){var u=a.value;if((0,n.isRef)(u)&&t.includes(u))c.put(u),i.push(u.toString());else{var l=o(u,r);l&&i.push(l)}}}catch(e){s.e(e)}finally{s.f()}if(r>0)return i;var f,h=[],d=g(t);try{for(d.s();!(f=d.n()).done;){var p=f.value;c.has(p)||h.push(p.toString())}}catch(e){d.e(e)}finally{d.f()}return h.length&&i.push({name:null,order:h}),i}function o(e,t){if(++t>u)return(0,i.warn)("parseNestedOrder - reached MAX_NESTED_LEVELS."),null;var r=s.fetchIfRef(e);if(!Array.isArray(r))return null;var n=s.fetchIfRef(r[0]);if("string"!=typeof n)return null;var o=a(r.slice(1),t);return o&&o.length?{name:(0,i.stringToPDFString)(n),order:o}:null}var s=this.xref,c=new n.RefSet,u=10;return{name:(0,i.isString)(e.get("Name"))?(0,i.stringToPDFString)(e.get("Name")):null,creator:(0,i.isString)(e.get("Creator"))?(0,i.stringToPDFString)(e.get("Creator")):null,baseState:(0,n.isName)(e.get("BaseState"))?e.get("BaseState").name:null,on:r(e.get("ON")),off:r(e.get("OFF")),order:a(e.get("Order")),groups:null}}},{key:"numPages",get:function(){var e=this.toplevelPagesDict.get("Count");if(!Number.isInteger(e))throw new i.FormatError("Page count in top-level pages dictionary is not an integer.");return(0,i.shadow)(this,"numPages",e)}},{key:"destinations",get:function(){var e=this._readDests(),t=Object.create(null);if(e instanceof o.NameTree){var r,a=g(e.getAll());try{for(a.s();!(r=a.n()).done;){var s=p(r.value,2),c=s[0],u=b(s[1]);u&&(t[c]=u)}}catch(e){a.e(e)}finally{a.f()}}else e instanceof n.Dict&&e.forEach((function(e,r){var n=b(r);n&&(t[e]=n)}));return(0,i.shadow)(this,"destinations",t)}},{key:"getDestination",value:function(e){var t=this._readDests();if(t instanceof o.NameTree){var r=b(t.get(e));if(r)return r;var a=this.destinations[e];if(a)return(0,i.warn)(\'Found "\'.concat(e,\'" at an incorrect position in the NameTree.\')),a}else if(t instanceof n.Dict){var s=b(t.get(e));if(s)return s}return null}},{key:"_readDests",value:function(){var e=this._catDict.get("Names");return e&&e.has("Dests")?new o.NameTree(e.getRaw("Dests"),this.xref):this._catDict.has("Dests")?this._catDict.get("Dests"):void 0}},{key:"pageLabels",get:function(){var e=null;try{e=this._readPageLabels()}catch(e){if(e instanceof a.MissingDataException)throw e;(0,i.warn)("Unable to read page labels.")}return(0,i.shadow)(this,"pageLabels",e)}},{key:"_readPageLabels",value:function(){var e=this._catDict.getRaw("PageLabels");if(!e)return null;for(var t=new Array(this.numPages),r=null,s="",c=new o.NumberTree(e,this.xref).getAll(),u="",l=1,f=0,h=this.numPages;f<h;f++){var d=c.get(f);if(void 0!==d){if(!(0,n.isDict)(d))throw new i.FormatError("PageLabel is not a dictionary.");if(d.has("Type")&&!(0,n.isName)(d.get("Type"),"PageLabel"))throw new i.FormatError("Invalid type in PageLabel dictionary.");if(d.has("S")){var p=d.get("S");if(!(0,n.isName)(p))throw new i.FormatError("Invalid style in PageLabel dictionary.");r=p.name}else r=null;if(d.has("P")){var g=d.get("P");if(!(0,i.isString)(g))throw new i.FormatError("Invalid prefix in PageLabel dictionary.");s=(0,i.stringToPDFString)(g)}else s="";if(d.has("St")){var m=d.get("St");if(!(Number.isInteger(m)&&m>=1))throw new i.FormatError("Invalid start in PageLabel dictionary.");l=m}else l=1}switch(r){case"D":u=l;break;case"R":case"r":u=(0,a.toRomanNumerals)(l,"r"===r);break;case"A":case"a":for(var v="a"===r?97:65,y=l-1,b=String.fromCharCode(v+y%26),w=[],k=0,S=y/26|0;k<=S;k++)w.push(b);u=w.join("");break;default:if(r)throw new i.FormatError(\'Invalid style "\'.concat(r,\'" in PageLabel dictionary.\'));u=""}t[f]=s+u,l++}return t}},{key:"pageLayout",get:function(){var e=this._catDict.get("PageLayout"),t="";if((0,n.isName)(e))switch(e.name){case"SinglePage":case"OneColumn":case"TwoColumnLeft":case"TwoColumnRight":case"TwoPageLeft":case"TwoPageRight":t=e.name}return(0,i.shadow)(this,"pageLayout",t)}},{key:"pageMode",get:function(){var e=this._catDict.get("PageMode"),t="UseNone";if((0,n.isName)(e))switch(e.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"FullScreen":case"UseOC":case"UseAttachments":t=e.name}return(0,i.shadow)(this,"pageMode",t)}},{key:"viewerPreferences",get:function(){var e=this,t={HideToolbar:i.isBool,HideMenubar:i.isBool,HideWindowUI:i.isBool,FitWindow:i.isBool,CenterWindow:i.isBool,DisplayDocTitle:i.isBool,NonFullScreenPageMode:n.isName,Direction:n.isName,ViewArea:n.isName,ViewClip:n.isName,PrintArea:n.isName,PrintClip:n.isName,PrintScaling:n.isName,Duplex:n.isName,PickTrayByPDFSize:i.isBool,PrintPageRange:Array.isArray,NumCopies:Number.isInteger},r=this._catDict.get("ViewerPreferences"),a=null;if((0,n.isDict)(r))for(var o in t)if(r.has(o)){var s=r.get(o);if(t[o](s)){var c=void 0;switch(o){case"NonFullScreenPageMode":switch(s.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"UseOC":c=s.name;break;default:c="UseNone"}break;case"Direction":switch(s.name){case"L2R":case"R2L":c=s.name;break;default:c="L2R"}break;case"ViewArea":case"ViewClip":case"PrintArea":case"PrintClip":switch(s.name){case"MediaBox":case"CropBox":case"BleedBox":case"TrimBox":case"ArtBox":c=s.name;break;default:c="CropBox"}break;case"PrintScaling":switch(s.name){case"None":case"AppDefault":c=s.name;break;default:c="AppDefault"}break;case"Duplex":switch(s.name){case"Simplex":case"DuplexFlipShortEdge":case"DuplexFlipLongEdge":c=s.name;break;default:c="None"}break;case"PrintPageRange":if(s.length%2!=0)break;s.every((function(t,r,n){return Number.isInteger(t)&&t>0&&(0===r||t>=n[r-1])&&t<=e.numPages}))&&(c=s);break;case"NumCopies":s>0&&(c=s);break;default:if("boolean"!=typeof s)throw new i.FormatError("viewerPreferences - expected a boolean value for: ".concat(o));c=s}void 0!==c?(a||(a=Object.create(null)),a[o]=c):(0,i.info)(\'Bad value in ViewerPreferences for "\'.concat(o,\'".\'))}else(0,i.info)(\'Bad value in ViewerPreferences for "\'.concat(o,\'".\'))}return(0,i.shadow)(this,"viewerPreferences",a)}},{key:"openAction",get:function(){var t=this._catDict.get("OpenAction"),r=Object.create(null);if((0,n.isDict)(t)){var a=new n.Dict(this.xref);a.set("A",t);var o={url:null,dest:null,action:null};e.parseDestDictionary({destDict:a,resultObj:o}),Array.isArray(o.dest)?r.dest=o.dest:o.action&&(r.action=o.action)}else Array.isArray(t)&&(r.dest=t);return(0,i.shadow)(this,"openAction",(0,i.objectSize)(r)>0?r:null)}},{key:"attachments",get:function(){var e=this._catDict.get("Names"),t=null;if(e instanceof n.Dict&&e.has("EmbeddedFiles")){var r,a=g(new o.NameTree(e.getRaw("EmbeddedFiles"),this.xref).getAll());try{for(a.s();!(r=a.n()).done;){var s=p(r.value,2),u=s[0],l=s[1],f=new c.FileSpec(l,this.xref);t||(t=Object.create(null)),t[(0,i.stringToPDFString)(u)]=f.serializable}}catch(e){a.e(e)}finally{a.f()}}return(0,i.shadow)(this,"attachments",t)}},{key:"_collectJavaScript",value:function(){var e=this._catDict.get("Names"),t=null;function r(e,r){if(r instanceof n.Dict&&(0,n.isName)(r.get("S"),"JavaScript")){var a=r.get("JS");if((0,n.isStream)(a))a=a.getString();else if("string"!=typeof a)return;null===t&&(t=new Map),t.set(e,(0,i.stringToPDFString)(a))}}if(e instanceof n.Dict&&e.has("JavaScript")){var a,s=g(new o.NameTree(e.getRaw("JavaScript"),this.xref).getAll());try{for(s.s();!(a=s.n()).done;){var c=p(a.value,2);r(c[0],c[1])}}catch(e){s.e(e)}finally{s.f()}}var u=this._catDict.get("OpenAction");return u&&r("OpenAction",u),t}},{key:"javaScript",get:function(){var e=this._collectJavaScript();return(0,i.shadow)(this,"javaScript",e?d(e.values()):null)}},{key:"jsActions",get:function(){var e=this._collectJavaScript(),t=(0,a.collectActions)(this.xref,this._catDict,i.DocumentActionEventType);if(e){t||(t=Object.create(null));var r,n=g(e);try{for(n.s();!(r=n.n()).done;){var o=p(r.value,2),s=o[0],c=o[1];s in t?t[s].push(c):t[s]=[c]}}catch(e){n.e(e)}finally{n.f()}}return(0,i.shadow)(this,"jsActions",t)}},{key:"fontFallback",value:function(e,t){var r=[];return this.fontCache.forEach((function(e){r.push(e)})),Promise.all(r).then((function(r){var n,a=g(r);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i.loadedName===e)return void i.fallback(t)}}catch(e){a.e(e)}finally{a.f()}}))}},{key:"cleanup",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(0,n.clearPrimitiveCaches)(),this.globalImageCache.clear(t),this.pageKidsCountCache.clear(),this.pageIndexCache.clear(),this.nonBlendModesSet.clear();var r=[];return this.fontCache.forEach((function(e){r.push(e)})),Promise.all(r).then((function(t){var r,n=g(t);try{for(n.s();!(r=n.n()).done;)delete r.value.dict.cacheKey}catch(e){n.e(e)}finally{n.f()}e.fontCache.clear(),e.builtInCMapCache.clear()}))}},{key:"getPageDict",value:function(e){var t,r=(0,i.createPromiseCapability)(),a=[this._catDict.getRaw("Pages")],o=new n.RefSet,s=this.xref,c=this.pageKidsCountCache,u=0;return function l(){for(var f=function(){var f=a.pop();if((0,n.isRef)(f))return(t=c.get(f))>0&&u+t<e?(u+=t,"continue"):o.has(f)?(r.reject(new i.FormatError("Pages tree contains circular reference.")),{v:void 0}):(o.put(f),s.fetchAsync(f).then((function(t){(0,n.isDict)(t,"Page")||(0,n.isDict)(t)&&!t.has("Kids")?e===u?(f&&!c.has(f)&&c.put(f,1),r.resolve([t,f])):(u++,l()):(a.push(t),l())}),r.reject),{v:void 0});if(!(0,n.isDict)(f))return r.reject(new i.FormatError("Page dictionary kid reference points to wrong type of object.")),{v:void 0};if(t=f.get("Count"),Number.isInteger(t)&&t>=0){var h=f.objId;if(h&&!c.has(h)&&c.put(h,t),u+t<=e)return u+=t,"continue"}var d=f.get("Kids");if(!Array.isArray(d))return(0,n.isName)(f.get("Type"),"Page")||!f.has("Type")&&f.has("Contents")?u===e?(r.resolve([f,null]),{v:void 0}):(u++,"continue"):(r.reject(new i.FormatError("Page dictionary kids object is not an array.")),{v:void 0});for(var p=d.length-1;p>=0;p--)a.push(d[p])};a.length;){var d=f();if("continue"!==d&&"object"===h(d))return d.v}r.reject(new Error("Page index ".concat(e," not found.")))}(),r.promise}},{key:"getPageIndex",value:function(e){var t=this,r=this.pageIndexCache.get(e);if(void 0!==r)return Promise.resolve(r);var a=this.xref,o=0;return function r(s){return function(t){var r,o=0;return a.fetchAsync(t).then((function(a){if((0,n.isRefsEqual)(t,e)&&!(0,n.isDict)(a,"Page")&&(!(0,n.isDict)(a)||a.has("Type")||!a.has("Contents")))throw new i.FormatError("The reference does not point to a /Page dictionary.");if(!a)return null;if(!(0,n.isDict)(a))throw new i.FormatError("Node must be a dictionary.");return r=a.getRaw("Parent"),a.getAsync("Parent")})).then((function(e){if(!e)return null;if(!(0,n.isDict)(e))throw new i.FormatError("Parent must be a dictionary.");return e.getAsync("Kids")})).then((function(e){if(!e)return null;for(var s=[],c=!1,u=0,l=e.length;u<l;u++){var f=e[u];if(!(0,n.isRef)(f))throw new i.FormatError("Kid must be a reference.");if((0,n.isRefsEqual)(f,t)){c=!0;break}s.push(a.fetchAsync(f).then((function(e){if(!(0,n.isDict)(e))throw new i.FormatError("Kid node must be a dictionary.");e.has("Count")?o+=e.get("Count"):o++})))}if(!c)throw new i.FormatError("Kid reference not found in parent\'s kids.");return Promise.all(s).then((function(){return[o,r]}))}))}(s).then((function(n){if(!n)return t.pageIndexCache.put(e,o),o;var a=p(n,2),i=a[0],s=a[1];return o+=i,r(s)}))}(e)}}],m=[{key:"parseDestDictionary",value:function(e){var t=e.destDict;if((0,n.isDict)(t)){var r=e.resultObj;if("object"===h(r)){var a,o,s=e.docBaseUrl||null,c=t.get("A");if((0,n.isDict)(c)||(t.has("Dest")?c=t.get("Dest"):(c=t.get("AA"),(0,n.isDict)(c)&&(c.has("D")?c=c.get("D"):c.has("U")&&(c=c.get("U"))))),(0,n.isDict)(c)){var u=c.get("S");if(!(0,n.isName)(u))return void(0,i.warn)("parseDestDictionary: Invalid type in Action dictionary.");var l=u.name;switch(l){case"URI":a=c.get("URI"),(0,n.isName)(a)?a="/"+a.name:(0,i.isString)(a)&&(a=function(e){return e.startsWith("www.")?"http://".concat(e):e}(a));break;case"GoTo":o=c.get("D");break;case"Launch":case"GoToR":var f=c.get("F");(0,n.isDict)(f)?a=f.get("F")||null:(0,i.isString)(f)&&(a=f);var d=c.get("D");if(d&&((0,n.isName)(d)&&(d=d.name),(0,i.isString)(a))){var p=a.split("#")[0];(0,i.isString)(d)?a=p+"#"+d:Array.isArray(d)&&(a=p+"#"+JSON.stringify(d))}var g=c.get("NewWindow");(0,i.isBool)(g)&&(r.newWindow=g);break;case"Named":var m=c.get("N");(0,n.isName)(m)&&(r.action=m.name);break;case"JavaScript":var v,y=c.get("JS");if((0,n.isStream)(y)?v=y.getString():(0,i.isString)(y)&&(v=y),v){var b=new RegExp("^\\\\s*("+["app.launchURL","window.open"].join("|").split(".").join("\\\\.")+")\\\\((?:\'|\\")([^\'\\"]*)(?:\'|\\")(?:,\\\\s*(\\\\w+)\\\\)|\\\\))","i").exec((0,i.stringToPDFString)(v));if(b&&b[2]){a=b[2],"true"===b[3]&&"app.launchURL"===b[1]&&(r.newWindow=!0);break}}default:if("JavaScript"===l||"ResetForm"===l||"SubmitForm"===l)break;(0,i.warn)(\'parseDestDictionary - unsupported action: "\'.concat(l,\'".\'))}}else t.has("Dest")&&(o=t.get("Dest"));if((0,i.isString)(a)){a=function(e){try{return(0,i.stringToUTF8String)(e)}catch(t){return e}}(a);var w=(0,i.createValidAbsoluteUrl)(a,s);w&&(r.url=w.href),r.unsafeUrl=a}o&&((0,n.isName)(o)&&(o=o.name),((0,i.isString)(o)||Array.isArray(o))&&(r.dest=o))}else(0,i.warn)("parseDestDictionary: `resultObj` must be an object.")}else(0,i.warn)("parseDestDictionary: `destDict` must be a dictionary.")}}],r&&y(t.prototype,r),m&&y(t,m),e}();t.Catalog=w},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.NumberTree=t.NameTree=void 0;var a=r(4),i=r(113);function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function c(e){var t=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(e){return!1}}();return function(){var r,n=l(e);if(t){var a=l(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return u(this,r)}}function u(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var d=function(){function e(t,r,n){f(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize NameOrNumberTree."),this.root=t,this.xref=r,this._type=n}var t,r,n;return t=e,(r=[{key:"getAll",value:function(){var e=new Map;if(!this.root)return e;var t=this.xref,r=new i.RefSet;r.put(this.root);for(var n=[this.root];n.length>0;){var o=t.fetchIfRef(n.shift());if((0,i.isDict)(o))if(o.has("Kids"))for(var s=o.get("Kids"),c=0,u=s.length;c<u;c++){var l=s[c];if(r.has(l))throw new a.FormatError(\'Duplicate entry in "\'.concat(this._type,\'" tree.\'));n.push(l),r.put(l)}else{var f=o.get(this._type);if(Array.isArray(f))for(var h=0,d=f.length;h<d;h+=2)e.set(t.fetchIfRef(f[h]),t.fetchIfRef(f[h+1]))}}return e}},{key:"get",value:function(e){if(!this.root)return null;for(var t=this.xref,r=t.fetchIfRef(this.root),n=0;r.has("Kids");){if(++n>10)return(0,a.warn)(\'Search depth limit reached for "\'.concat(this._type,\'" tree.\')),null;var i=r.get("Kids");if(!Array.isArray(i))return null;for(var o=0,s=i.length-1;o<=s;){var c=o+s>>1,u=t.fetchIfRef(i[c]).get("Limits");if(e<t.fetchIfRef(u[0]))s=c-1;else{if(!(e>t.fetchIfRef(u[1]))){r=t.fetchIfRef(i[c]);break}o=c+1}}if(o>s)return null}var l=r.get(this._type);if(Array.isArray(l))for(var f=0,h=l.length-2;f<=h;){var d=f+h>>1,p=d+(1&d),g=t.fetchIfRef(l[p]);if(e<g)h=p-2;else{if(!(e>g))return t.fetchIfRef(l[p+1]);f=p+2}}return null}}])&&h(t.prototype,r),n&&h(t,n),e}(),p=function(e){o(r,e);var t=c(r);function r(e,n){return f(this,r),t.call(this,e,n,"Names")}return r}(d);t.NameTree=p;var g=function(e){o(r,e);var t=c(r);function r(e,n){return f(this,r),t.call(this,e,n,"Nums")}return r}(d);t.NumberTree=g},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FileSpec=void 0;var n=r(113),a=r(4);function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e){return e.has("UF")?e.get("UF"):e.has("F")?e.get("F"):e.has("Unix")?e.get("Unix"):e.has("Mac")?e.get("Mac"):e.has("DOS")?e.get("DOS"):null}var s=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t&&(0,n.isDict)(t)&&(this.xref=r,this.root=t,t.has("FS")&&(this.fs=t.get("FS")),this.description=t.has("Desc")?(0,a.stringToPDFString)(t.get("Desc")):"",t.has("RF")&&(0,a.warn)("Related file specifications are not supported"),this.contentAvailable=!0,t.has("EF")||(this.contentAvailable=!1,(0,a.warn)("Non-embedded file specifications are not supported")))}var t,r,s;return t=e,(r=[{key:"filename",get:function(){if(!this._filename&&this.root){var e=o(this.root)||"unnamed";this._filename=(0,a.stringToPDFString)(e).replace(/\\\\\\\\/g,"\\\\").replace(/\\\\\\//g,"/").replace(/\\\\/g,"/")}return this._filename}},{key:"content",get:function(){if(!this.contentAvailable)return null;!this.contentRef&&this.root&&(this.contentRef=o(this.root.get("EF")));var e=null;if(this.contentRef){var t=this.xref.fetchIfRef(this.contentRef);t&&(0,n.isStream)(t)?e=t.getBytes():(0,a.warn)("Embedded file specification points to non-existing/invalid content")}else(0,a.warn)("Embedded file specification does not have a content");return e}},{key:"serializable",get:function(){return{filename:this.filename,content:this.content}}}])&&i(t.prototype,r),s&&i(t,s),e}();t.FileSpec=s},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MetadataParser=void 0;var n=r(169);function a(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=o(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,s=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==r.return||r.return()}finally{if(c)throw i}}}}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(e,t)||o(e,t)||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.")}()}function o(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var u=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this._repair(t);var r=new n.SimpleXMLParser({lowerCaseName:!0}).parseFromString(t);this._metadataMap=new Map,this._data=t,r&&this._parse(r)}var t,r,o;return t=e,(r=[{key:"_repair",value:function(e){return e.replace(/^[^<]+/,"").replace(/>\\\\376\\\\377([^<]+)/g,(function(e,t){for(var r=t.replace(/\\\\([0-3])([0-7])([0-7])/g,(function(e,t,r,n){return String.fromCharCode(64*t+8*r+1*n)})).replace(/&(amp|apos|gt|lt|quot);/g,(function(e,t){switch(t){case"amp":return"&";case"apos":return"\'";case"gt":return">";case"lt":return"<";case"quot":return\'"\'}throw new Error("_repair: ".concat(t," isn\'t defined."))})),n=[],a=0,i=r.length;a<i;a+=2){var o=256*r.charCodeAt(a)+r.charCodeAt(a+1);o>=32&&o<127&&60!==o&&62!==o&&38!==o?n.push(String.fromCharCode(o)):n.push("&#x"+(65536+o).toString(16).substring(1)+";")}return">"+n.join("")}))}},{key:"_getSequence",value:function(e){var t=e.nodeName;return"rdf:bag"!==t&&"rdf:seq"!==t&&"rdf:alt"!==t?null:e.childNodes.filter((function(e){return"rdf:li"===e.nodeName}))}},{key:"_parseArray",value:function(e){if(e.hasChildNodes()){var t=i(e.childNodes,1)[0],r=this._getSequence(t)||[];this._metadataMap.set(e.nodeName,r.map((function(e){return e.textContent.trim()})))}}},{key:"_parse",value:function(e){var t=e.documentElement;if("rdf:rdf"!==t.nodeName)for(t=t.firstChild;t&&"rdf:rdf"!==t.nodeName;)t=t.nextSibling;if(t&&"rdf:rdf"===t.nodeName&&t.hasChildNodes()){var r,n=a(t.childNodes);try{for(n.s();!(r=n.n()).done;){var i=r.value;if("rdf:description"===i.nodeName){var o,s=a(i.childNodes);try{for(s.s();!(o=s.n()).done;){var c=o.value,u=c.nodeName;switch(u){case"#text":continue;case"dc:creator":case"dc:subject":this._parseArray(c);continue}this._metadataMap.set(u,c.textContent.trim())}}catch(e){s.e(e)}finally{s.f()}}}}catch(e){n.e(e)}finally{n.f()}}}},{key:"serializable",get:function(){return{parsedData:this._metadataMap,rawData:this._data}}}])&&c(t.prototype,r),o&&c(t,o),e}();t.MetadataParser=u},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.XMLParserErrorCode=t.XMLParserBase=t.SimpleXMLParser=t.SimpleDOMNode=void 0;var a=r(117);function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}function o(e){var t=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(e){return!1}}();return function(){var r,n=c(e);if(t){var a=c(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return s(this,r)}}function s(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function u(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=f(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(e,t)||f(e,t)||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.")}()}function f(e,t){if(e){if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g(e,t,r){return t&&p(e.prototype,t),r&&p(e,r),e}var m={NoError:0,EndOfDocument:-1,UnterminatedCdat:-2,UnterminatedXmlDeclaration:-3,UnterminatedDoctypeDeclaration:-4,UnterminatedComment:-5,MalformedElement:-6,OutOfMemory:-7,UnterminatedAttributeValue:-8,UnterminatedElement:-9,ElementNeverBegun:-10};function v(e,t){var r=e[t];return" "===r||"\\n"===r||"\\r"===r||"\\t"===r}t.XMLParserErrorCode=m;var y=function(){function e(){d(this,e)}return g(e,[{key:"_resolveEntities",value:function(e){var t=this;return e.replace(/&([^;]+);/g,(function(e,r){if("#x"===r.substring(0,2))return String.fromCodePoint(parseInt(r.substring(2),16));if("#"===r.substring(0,1))return String.fromCodePoint(parseInt(r.substring(1),10));switch(r){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return\'"\';case"apos":return"\'"}return t.onResolveEntity(r)}))}},{key:"_parseContent",value:function(e,t){var r=[],n=t;function a(){for(;n<e.length&&v(e,n);)++n}for(;n<e.length&&!v(e,n)&&">"!==e[n]&&"/"!==e[n];)++n;var i=e.substring(t,n);for(a();n<e.length&&">"!==e[n]&&"/"!==e[n]&&"?"!==e[n];){a();for(var o,s="";n<e.length&&!v(e,n)&&"="!==e[n];)s+=e[n],++n;if(a(),"="!==e[n])return null;++n,a();var c=e[n];if(\'"\'!==c&&"\'"!==c)return null;var u=e.indexOf(c,++n);if(u<0)return null;o=e.substring(n,u),r.push({name:s,value:this._resolveEntities(o)}),n=u+1,a()}return{name:i,attributes:r,parsed:n-t}}},{key:"_parseProcessingInstruction",value:function(e,t){for(var r=t;r<e.length&&!v(e,r)&&">"!==e[r]&&"?"!==e[r]&&"/"!==e[r];)++r;var n=e.substring(t,r);!function(){for(;r<e.length&&v(e,r);)++r}();for(var a=r;r<e.length&&("?"!==e[r]||">"!==e[r+1]);)++r;return{name:n,value:e.substring(a,r),parsed:r-t}}},{key:"parseXml",value:function(e){for(var t=0;t<e.length;){var r=t;if("<"===e[t]){var n=void 0;switch(e[++r]){case"/":if(++r,(n=e.indexOf(">",r))<0)return void this.onError(m.UnterminatedElement);this.onEndElement(e.substring(r,n)),r=n+1;break;case"?":++r;var a=this._parseProcessingInstruction(e,r);if("?>"!==e.substring(r+a.parsed,r+a.parsed+2))return void this.onError(m.UnterminatedXmlDeclaration);this.onPi(a.name,a.value),r+=a.parsed+2;break;case"!":if("--"===e.substring(r+1,r+3)){if((n=e.indexOf("--\\x3e",r+3))<0)return void this.onError(m.UnterminatedComment);this.onComment(e.substring(r+3,n)),r=n+3}else if("[CDATA["===e.substring(r+1,r+8)){if((n=e.indexOf("]]>",r+8))<0)return void this.onError(m.UnterminatedCdat);this.onCdata(e.substring(r+8,n)),r=n+3}else{if("DOCTYPE"!==e.substring(r+1,r+8))return void this.onError(m.MalformedElement);var i=e.indexOf("[",r+8),o=!1;if((n=e.indexOf(">",r+8))<0)return void this.onError(m.UnterminatedDoctypeDeclaration);if(i>0&&n>i){if((n=e.indexOf("]>",r+8))<0)return void this.onError(m.UnterminatedDoctypeDeclaration);o=!0}var s=e.substring(r+8,n+(o?1:0));this.onDoctype(s),r=n+(o?2:1)}break;default:var c=this._parseContent(e,r);if(null===c)return void this.onError(m.MalformedElement);var u=!1;if("/>"===e.substring(r+c.parsed,r+c.parsed+2))u=!0;else if(">"!==e.substring(r+c.parsed,r+c.parsed+1))return void this.onError(m.UnterminatedElement);this.onBeginElement(c.name,c.attributes,u),r+=c.parsed+(u?2:1)}}else{for(;r<e.length&&"<"!==e[r];)r++;var l=e.substring(t,r);this.onText(this._resolveEntities(l))}t=r}}},{key:"onResolveEntity",value:function(e){return"&".concat(e,";")}},{key:"onPi",value:function(e,t){}},{key:"onComment",value:function(e){}},{key:"onCdata",value:function(e){}},{key:"onDoctype",value:function(e){}},{key:"onText",value:function(e){}},{key:"onBeginElement",value:function(e,t,r){}},{key:"onEndElement",value:function(e){}},{key:"onError",value:function(e){}}]),e}();t.XMLParserBase=y;var b=function(){function e(t,r){d(this,e),this.nodeName=t,this.nodeValue=r,Object.defineProperty(this,"parentNode",{value:null,writable:!0})}return g(e,[{key:"firstChild",get:function(){return this.childNodes&&this.childNodes[0]}},{key:"nextSibling",get:function(){var e=this.parentNode.childNodes;if(e){var t=e.indexOf(this);if(-1!==t)return e[t+1]}}},{key:"textContent",get:function(){return this.childNodes?this.childNodes.map((function(e){return e.textContent})).join(""):this.nodeValue||""}},{key:"hasChildNodes",value:function(){return this.childNodes&&this.childNodes.length>0}},{key:"searchNode",value:function(e,t){if(t>=e.length)return this;for(var r=e[t],n=[],a=this;;){if(r.name===a.nodeName){if(0!==r.pos){if(0===n.length)return null;var i,o=0,s=u(l(n.pop(),1)[0].childNodes);try{for(s.s();!(i=s.n()).done;){var c=i.value;if(r.name===c.nodeName){if(o===r.pos)return c.searchNode(e,t+1);o++}}}catch(e){s.e(e)}finally{s.f()}return a.searchNode(e,t+1)}var f=a.searchNode(e,t+1);if(null!==f)return f}if(a.childNodes&&0!==a.childNodes.length)n.push([a,0]),a=a.childNodes[0];else{if(0===n.length)return null;for(;0!==n.length;){var h=l(n.pop(),2),d=h[0],p=h[1]+1;if(p<d.childNodes.length){n.push([d,p]),a=d.childNodes[p];break}}if(0===n.length)return null}}}},{key:"dump",value:function(e){if("#text"!==this.nodeName){if(e.push("<".concat(this.nodeName)),this.attributes){var t,r=u(this.attributes);try{for(r.s();!(t=r.n()).done;){var n=t.value;e.push(" ".concat(n.name,\'="\').concat((0,a.encodeToXmlString)(n.value),\'"\'))}}catch(e){r.e(e)}finally{r.f()}}if(this.hasChildNodes()){e.push(">");var i,o=u(this.childNodes);try{for(o.s();!(i=o.n()).done;)i.value.dump(e)}catch(e){o.e(e)}finally{o.f()}e.push("</".concat(this.nodeName,">"))}else this.nodeValue?e.push(">".concat((0,a.encodeToXmlString)(this.nodeValue),"</").concat(this.nodeName,">")):e.push("/>")}else e.push((0,a.encodeToXmlString)(this.nodeValue))}}]),e}();t.SimpleDOMNode=b;var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}(r,e);var t=o(r);function r(e){var n,a=e.hasAttributes,i=void 0!==a&&a,o=e.lowerCaseName,s=void 0!==o&&o;return d(this,r),(n=t.call(this))._currentFragment=null,n._stack=null,n._errorCode=m.NoError,n._hasAttributes=i,n._lowerCaseName=s,n}return g(r,[{key:"parseFromString",value:function(e){if(this._currentFragment=[],this._stack=[],this._errorCode=m.NoError,this.parseXml(e),this._errorCode===m.NoError){var t=l(this._currentFragment,1)[0];if(t)return{documentElement:t}}}},{key:"onText",value:function(e){if(!function(e){for(var t=0,r=e.length;t<r;t++)if(!v(e,t))return!1;return!0}(e)){var t=new b("#text",e);this._currentFragment.push(t)}}},{key:"onCdata",value:function(e){var t=new b("#text",e);this._currentFragment.push(t)}},{key:"onBeginElement",value:function(e,t,r){this._lowerCaseName&&(e=e.toLowerCase());var n=new b(e);n.childNodes=[],this._hasAttributes&&(n.attributes=t),this._currentFragment.push(n),r||(this._stack.push(this._currentFragment),this._currentFragment=n.childNodes)}},{key:"onEndElement",value:function(e){this._currentFragment=this._stack.pop()||[];var t=this._currentFragment[this._currentFragment.length-1];if(t)for(var r=0,n=t.childNodes.length;r<n;r++)t.childNodes[r].parentNode=t}},{key:"onError",value:function(e){this._errorCode=e}}]),r}(y);t.SimpleXMLParser=w},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StructTreeRoot=t.StructTreePage=void 0;var n=r(113),a=r(4),i=r(166);function o(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){c=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(c)throw i}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),e}var f="PAGE_CONTENT",h="STREAM_CONTENT",d="OBJECT",p="ELEMENT",g=function(){function e(t){c(this,e),this.dict=t,this.roleMap=new Map}return l(e,[{key:"init",value:function(){this.readRoleMap()}},{key:"readRoleMap",value:function(){var e=this,t=this.dict.get("RoleMap");(0,n.isDict)(t)&&t.forEach((function(t,r){(0,n.isName)(r)&&e.roleMap.set(t,r.name)}))}}]),e}();t.StructTreeRoot=g;var m=function(){function e(t,r){c(this,e),this.tree=t,this.dict=r,this.kids=[],this.parseKids()}return l(e,[{key:"role",get:function(){var e=this.dict.get("S"),t=(0,n.isName)(e)?e.name:"",r=this.tree.root;return r.roleMap.has(t)?r.roleMap.get(t):t}},{key:"parseKids",value:function(){var e=null,t=this.dict.getRaw("Pg");(0,n.isRef)(t)&&(e=t.toString());var r=this.dict.get("K");if(Array.isArray(r)){var a,i=o(r);try{for(i.s();!(a=i.n()).done;){var s=a.value,c=this.parseKid(e,s);c&&this.kids.push(c)}}catch(e){i.e(e)}finally{i.f()}}else{var u=this.parseKid(e,r);u&&this.kids.push(u)}}},{key:"parseKid",value:function(e,t){if(Number.isInteger(t))return this.tree.pageDict.objId!==e?null:new v({type:f,mcid:t,pageObjId:e});var r=null;if((0,n.isRef)(t)?r=this.dict.xref.fetch(t):(0,n.isDict)(t)&&(r=t),!r)return null;var a=r.getRaw("Pg");(0,n.isRef)(a)&&(e=a.toString());var i=(0,n.isName)(r.get("Type"))?r.get("Type").name:null;return"MCR"===i?this.tree.pageDict.objId!==e?null:new v({type:h,refObjId:(0,n.isRef)(r.getRaw("Stm"))?r.getRaw("Stm").toString():null,pageObjId:e,mcid:r.get("MCID")}):"OBJR"===i?this.tree.pageDict.objId!==e?null:new v({type:d,refObjId:(0,n.isRef)(r.getRaw("Obj"))?r.getRaw("Obj").toString():null,pageObjId:e}):new v({type:p,dict:r})}}]),e}(),v=function e(t){var r=t.type,n=t.dict,a=void 0===n?null:n,i=t.mcid,o=void 0===i?null:i,s=t.pageObjId,u=void 0===s?null:s,l=t.refObjId,f=void 0===l?null:l;c(this,e),this.type=r,this.dict=a,this.mcid=o,this.pageObjId=u,this.refObjId=f,this.parentNode=null},y=function(){function e(t,r){c(this,e),this.root=t,this.rootDict=t?t.dict:null,this.pageDict=r,this.nodes=[]}return l(e,[{key:"parse",value:function(){if(this.root&&this.rootDict){var e=this.rootDict.get("ParentTree");if(e){var t=this.pageDict.get("StructParents");if(Number.isInteger(t)){var r=new i.NumberTree(e,this.rootDict.xref).get(t);if(Array.isArray(r)){var a,s=new Map,c=o(r);try{for(c.s();!(a=c.n()).done;){var u=a.value;(0,n.isRef)(u)&&this.addNode(this.rootDict.xref.fetch(u),s)}}catch(e){c.e(e)}finally{c.f()}}}}}}},{key:"addNode",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(r>40)return(0,a.warn)("StructTree MAX_DEPTH reached."),null;if(t.has(e))return t.get(e);var i=new m(this,e);t.set(e,i);var s=e.get("P");if(!s||(0,n.isName)(s.get("Type"),"StructTreeRoot"))return this.addTopLevelNode(e,i)||t.delete(e),i;var c=this.addNode(s,t,r+1);if(!c)return i;var u,l=!1,f=o(c.kids);try{for(f.s();!(u=f.n()).done;){var h=u.value;h.type===p&&h.dict===e&&(h.parentNode=i,l=!0)}}catch(e){f.e(e)}finally{f.f()}return l||t.delete(e),i}},{key:"addTopLevelNode",value:function(e,t){var r=this.rootDict.get("K");if(!r)return!1;if((0,n.isDict)(r))return r.objId===e.objId&&(this.nodes[0]=t,!0);if(!Array.isArray(r))return!0;for(var a=!1,i=0;i<r.length;i++){var o=r[i];o&&o.toString()===e.objId&&(this.nodes[i]=t,a=!0)}return a}},{key:"serializable",get:function(){function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(n>40)(0,a.warn)("StructTree too deep to be fully serialized.");else{var i=Object.create(null);i.role=t.role,i.children=[],r.children.push(i);var s=t.dict.get("Alt");(0,a.isString)(s)&&(i.alt=(0,a.stringToPDFString)(s));var c,u=o(t.kids);try{for(u.s();!(c=u.n()).done;){var l=c.value,g=l.type===p?l.parentNode:null;g?e(g,i,n+1):l.type===f||l.type===h?i.children.push({type:"content",id:"page".concat(l.pageObjId,"_mcid").concat(l.mcid)}):l.type===d&&i.children.push({type:"object",id:l.refObjId})}}catch(e){u.e(e)}finally{u.f()}}}var t=Object.create(null);t.children=[],t.role="Root";var r,n=o(this.nodes);try{for(n.s();!(r=n.n()).done;){var i=r.value;i&&e(i,t)}}catch(e){n.e(e)}finally{n.f()}return t}}]),e}();t.StructTreePage=y},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectLoader=void 0;var n,a=(n=r(2))&&n.__esModule?n:{default:n},i=r(113),o=r(117),s=r(4);function c(e,t,r,n,a,i,o){try{var s=e[i](o),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,a)}function u(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function o(e){c(i,n,a,o,s,"next",e)}function s(e){c(i,n,a,o,s,"throw",e)}o(void 0)}))}}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function d(e,t){if(e instanceof i.Dict)e=e.getRawValues();else if((0,i.isStream)(e))e=e.dict.getRawValues();else if(!Array.isArray(e))return;var r,n,a=f(e);try{for(a.s();!(r=a.n()).done;){var o=r.value;((n=o)instanceof i.Ref||n instanceof i.Dict||Array.isArray(n)||(0,i.isStream)(n))&&t.push(o)}}catch(e){a.e(e)}finally{a.f()}}var p=function(){function e(t,r,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.dict=t,this.keys=r,this.xref=n,this.refSet=null}var t,r,n,c,h;return t=e,r=[{key:"load",value:(h=u(a.default.mark((function e(){var t,r,n,o,s,c;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.xref.stream.isDataLoaded){e.next=2;break}return e.abrupt("return",void 0);case 2:for(t=this.keys,r=this.dict,this.refSet=new i.RefSet,n=[],o=0,s=t.length;o<s;o++)void 0!==(c=r.getRaw(t[o]))&&n.push(c);return e.abrupt("return",this._walk(n));case 7:case"end":return e.stop()}}),e,this)}))),function(){return h.apply(this,arguments)})},{key:"_walk",value:(c=u(a.default.mark((function e(t){var r,n,c,u,l,h,p,g,m,v,y,b;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=[],n=[];case 2:if(!t.length){e.next=48;break}if(!((c=t.pop())instanceof i.Ref)){e.next=21;break}if(!this.refSet.has(c)){e.next=7;break}return e.abrupt("continue",2);case 7:e.prev=7,this.refSet.put(c),c=this.xref.fetch(c),e.next=21;break;case 12:if(e.prev=12,e.t0=e.catch(7),e.t0 instanceof o.MissingDataException){e.next=19;break}return(0,s.warn)(\'ObjectLoader._walk - requesting all data: "\'.concat(e.t0,\'".\')),this.refSet=null,u=this.xref.stream.manager,e.abrupt("return",u.requestAllChunks());case 19:r.push(c),n.push({begin:e.t0.begin,end:e.t0.end});case 21:if(!(0,i.isStream)(c)){e.next=45;break}if(!(l=c.getBaseStreams())){e.next=45;break}h=!1,p=f(l),e.prev=26,p.s();case 28:if((g=p.n()).done){e.next=36;break}if(!(m=g.value).isDataLoaded){e.next=32;break}return e.abrupt("continue",34);case 32:h=!0,n.push({begin:m.start,end:m.end});case 34:e.next=28;break;case 36:e.next=41;break;case 38:e.prev=38,e.t1=e.catch(26),p.e(e.t1);case 41:return e.prev=41,p.f(),e.finish(41);case 44:h&&r.push(c);case 45:d(c,t),e.next=2;break;case 48:if(!n.length){e.next=54;break}return e.next=51,this.xref.stream.manager.requestRanges(n);case 51:v=f(r);try{for(v.s();!(y=v.n()).done;)(b=y.value)instanceof i.Ref&&this.refSet.remove(b)}catch(e){v.e(e)}finally{v.f()}return e.abrupt("return",this._walk(r));case 54:return this.refSet=null,e.abrupt("return",void 0);case 56:case"end":return e.stop()}}),e,this,[[7,12],[26,38,41,44]])}))),function(e){return c.apply(this,arguments)})}],r&&l(t.prototype,r),n&&l(t,n),e}();t.ObjectLoader=p},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.incrementalUpdate=function(e){var t=e.originalData,r=e.xrefInfo,l=e.newRefs,h=e.xref,g=void 0===h?null:h,m=e.datasetsRef;!function(e,t,r){if(null!==e&&null!==r){var a,s=r.fetchIfRef(e).getString(),u=new o.SimpleXMLParser({hasAttributes:!0}).parseFromString(s),l=c(t);try{for(l.s();!(a=l.n()).done;){var f=a.value.xfa;if(f){var h=f.path,d=f.value;if(h){var p=u.documentElement.searchNode((0,i.parseXFAPath)(h),0);p?p.childNodes=[new o.SimpleDOMNode("#text",d)]:(0,n.warn)("Node not found for path: ".concat(h))}}}}catch(e){l.e(e)}finally{l.f()}var g=[];u.documentElement.dump(g);var m=g.join(""),v=r.encrypt;v&&(m=v.createCipherTransform(e.num,e.gen).encryptString(m));var y="".concat(e.num," ").concat(e.gen," obj\\n")+"<< /Type /EmbeddedFile /Length ".concat(m.length,">>\\nstream\\n")+m+"\\nendstream\\nendobj\\n";t.push({ref:e,data:y})}}(void 0===m?null:m,l,g);var v,y,b=new a.Dict(null),w=r.newRef,k=t[t.length-1];10===k||13===k?(v=[],y=t.length):(v=["\\n"],y=t.length+1),b.set("Size",w.num+1),b.set("Prev",r.startXRef),b.set("Type",a.Name.get("XRef")),null!==r.rootRef&&b.set("Root",r.rootRef),null!==r.infoRef&&b.set("Info",r.infoRef),null!==r.encryptRef&&b.set("Encrypt",r.encryptRef),l.push({ref:w,data:""}),l=l.sort((function(e,t){return e.ref.num-t.ref.num}));var S,x=[[0,1,65535]],A=[0,1],O=0,C=c(l);try{for(C.s();!(S=C.n()).done;){var T=S.value,F=T.ref,P=T.data;O=Math.max(O,y),x.push([1,y,Math.min(F.gen,65535)]),y+=P.length,A.push(F.num,1),v.push(P)}}catch(e){C.e(e)}finally{C.f()}if(b.set("Index",A),Array.isArray(r.fileIds)&&r.fileIds.length>0){var _=function(e,t){for(var r=Math.floor(Date.now()/1e3),a=t.filename||"",i=[r.toString(),a,e.toString()],o=i.reduce((function(e,t){return e+t.length}),0),c=0,u=Object.values(t.info);c<u.length;c++){var l=u[c];i.push(l),o+=l.length}for(var f=new Uint8Array(o),h=0,d=0,g=i;d<g.length;d++){var m=g[d];p(m,h,f),h+=m.length}return(0,n.bytesToString)((0,s.calculateMD5)(f))}(y,r);b.set("ID",[r.fileIds[0],_])}var I=[1,Math.ceil(Math.log2(O)/8),2],E=(I[0]+I[1]+I[2])*x.length;b.set("W",I),b.set("Length",E),v.push("".concat(w.num," ").concat(w.gen," obj\\n")),f(b,v,null),v.push(" stream\\n");var j=v.reduce((function(e,t){return e+t.length}),0),R="\\nendstream\\nendobj\\nstartxref\\n".concat(y,"\\n%%EOF\\n"),M=new Uint8Array(t.length+j+E+R.length);M.set(t);var N,B,D,L=t.length,U=c(v);try{for(U.s();!(N=U.n()).done;){var q=N.value;p(q,L,M),L+=q.length}}catch(e){U.e(e)}finally{U.f()}for(var X=0,H=x;X<H.length;X++){var $=(B=H[X],D=3,function(e){if(Array.isArray(e))return e}(B)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(B,D)||u(B,D)||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.")}()),z=$[0],G=$[1],W=$[2];L=d(z,I[0],L,M),L=d(G,I[1],L,M),L=d(W,I[2],L,M)}return p(R,L,M),M},t.writeDict=f;var n=r(4),a=r(113),i=r(117),o=r(169),s=r(173);function c(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=u(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function u(e,t){if(e){if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t,r){t.push("<<");var n,a=c(e.getKeys());try{for(a.s();!(n=a.n()).done;){var o=n.value;t.push(" /".concat((0,i.escapePDFName)(o)," ")),h(e.getRaw(o),t,r)}}catch(e){a.e(e)}finally{a.f()}t.push(">>")}function h(e,t,r){(0,a.isName)(e)?t.push("/".concat((0,i.escapePDFName)(e.name))):(0,a.isRef)(e)?t.push("".concat(e.num," ").concat(e.gen," R")):Array.isArray(e)?function(e,t,r){t.push("[");var n,a=!0,i=c(e);try{for(i.s();!(n=i.n()).done;){var o=n.value;a?a=!1:t.push(" "),h(o,t,r)}}catch(e){i.e(e)}finally{i.f()}t.push("]")}(e,t,r):"string"==typeof e?(null!==r&&(e=r.encryptString(e)),t.push("(".concat((0,n.escapeString)(e),")"))):"number"==typeof e?t.push(function(e){if(Number.isInteger(e))return e.toString();var t=Math.round(100*e);return t%100==0?(t/100).toString():t%10==0?e.toFixed(1):e.toFixed(2)}(e)):(0,a.isDict)(e)?f(e,t,r):(0,a.isStream)(e)&&function(e,t,r){f(e.dict,t,r),t.push(" stream\\n");var n=e.getString();null!==r&&(n=r.encryptString(n)),t.push(n,"\\nendstream\\n")}(e,t,r)}function d(e,t,r,n){for(var a=t+r-1;a>r-1;a--)n[a]=255&e,e>>=8;return r+t}function p(e,t,r){for(var n=0,a=e.length;n<a;n++)r[t+n]=255&e.charCodeAt(n)}},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.calculateSHA384=S,t.PDF20=t.PDF17=t.CipherTransformFactory=t.calculateSHA512=t.calculateSHA256=t.calculateMD5=t.ARCFourCipher=t.AES256Cipher=t.AES128Cipher=void 0;var a=r(4),i=r(113),o=r(174);function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function u(e){var t=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(e){return!1}}();return function(){var r,n=f(e);if(t){var a=f(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return l(this,r)}}function l(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}var g=function(){function e(t){h(this,e),this.a=0,this.b=0;for(var r=new Uint8Array(256),n=t.length,a=0;a<256;++a)r[a]=a;for(var i=0,o=0;i<256;++i){var s=r[i];o=o+s+t[i%n]&255,r[i]=r[o],r[o]=s}this.s=r}return p(e,[{key:"encryptBlock",value:function(e){for(var t=this.a,r=this.b,n=this.s,a=e.length,i=new Uint8Array(a),o=0;o<a;++o){var s=n[t=t+1&255],c=n[r=r+s&255];n[t]=c,n[r]=s,i[o]=e[o]^n[s+c&255]}return this.a=t,this.b=r,i}},{key:"decryptBlock",value:function(e){return this.encryptBlock(e)}},{key:"encrypt",value:function(e){return this.encryptBlock(e)}}]),e}();t.ARCFourCipher=g;var m,v,y=(m=new Uint8Array([7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21]),v=new Int32Array([-680876936,-389564586,606105819,-1044525330,-176418897,1200080426,-1473231341,-45705983,1770035416,-1958414417,-42063,-1990404162,1804603682,-40341101,-1502002290,1236535329,-165796510,-1069501632,643717713,-373897302,-701558691,38016083,-660478335,-405537848,568446438,-1019803690,-187363961,1163531501,-1444681467,-51403784,1735328473,-1926607734,-378558,-2022574463,1839030562,-35309556,-1530992060,1272893353,-155497632,-1094730640,681279174,-358537222,-722521979,76029189,-640364487,-421815835,530742520,-995338651,-198630844,1126891415,-1416354905,-57434055,1700485571,-1894986606,-1051523,-2054922799,1873313359,-30611744,-1560198380,1309151649,-145523070,-1120210379,718787259,-343485551]),function(e,t,r){var n,a,i=1732584193,o=-271733879,s=-1732584194,c=271733878,u=r+72&-64,l=new Uint8Array(u);for(n=0;n<r;++n)l[n]=e[t++];l[n++]=128;for(var f=u-8;n<f;)l[n++]=0;l[n++]=r<<3&255,l[n++]=r>>5&255,l[n++]=r>>13&255,l[n++]=r>>21&255,l[n++]=r>>>29&255,l[n++]=0,l[n++]=0,l[n++]=0;var h=new Int32Array(16);for(n=0;n<u;){for(a=0;a<16;++a,n+=4)h[a]=l[n]|l[n+1]<<8|l[n+2]<<16|l[n+3]<<24;var d=i,p=o,g=s,y=c,b=void 0,w=void 0;for(a=0;a<64;++a){a<16?(b=p&g|~p&y,w=a):a<32?(b=y&p|~y&g,w=5*a+1&15):a<48?(b=p^g^y,w=3*a+5&15):(b=g^(p|~y),w=7*a&15);var k=y,S=d+b+v[a]+h[w]|0,x=m[a];y=g,g=p,p=p+(S<<x|S>>>32-x)|0,d=k}i=i+d|0,o=o+p|0,s=s+g|0,c=c+y|0}return new Uint8Array([255&i,i>>8&255,i>>16&255,i>>>24&255,255&o,o>>8&255,o>>16&255,o>>>24&255,255&s,s>>8&255,s>>16&255,s>>>24&255,255&c,c>>8&255,c>>16&255,c>>>24&255])});t.calculateMD5=y;var b=function(){function e(t,r){h(this,e),this.high=0|t,this.low=0|r}return p(e,[{key:"and",value:function(e){this.high&=e.high,this.low&=e.low}},{key:"xor",value:function(e){this.high^=e.high,this.low^=e.low}},{key:"or",value:function(e){this.high|=e.high,this.low|=e.low}},{key:"shiftRight",value:function(e){e>=32?(this.low=this.high>>>e-32|0,this.high=0):(this.low=this.low>>>e|this.high<<32-e,this.high=this.high>>>e|0)}},{key:"shiftLeft",value:function(e){e>=32?(this.high=this.low<<e-32,this.low=0):(this.high=this.high<<e|this.low>>>32-e,this.low=this.low<<e)}},{key:"rotateRight",value:function(e){var t,r;32&e?(r=this.low,t=this.high):(t=this.low,r=this.high),e&=31,this.low=t>>>e|r<<32-e,this.high=r>>>e|t<<32-e}},{key:"not",value:function(){this.high=~this.high,this.low=~this.low}},{key:"add",value:function(e){var t=(this.low>>>0)+(e.low>>>0),r=(this.high>>>0)+(e.high>>>0);t>4294967295&&(r+=1),this.low=0|t,this.high=0|r}},{key:"copyTo",value:function(e,t){e[t]=this.high>>>24&255,e[t+1]=this.high>>16&255,e[t+2]=this.high>>8&255,e[t+3]=255&this.high,e[t+4]=this.low>>>24&255,e[t+5]=this.low>>16&255,e[t+6]=this.low>>8&255,e[t+7]=255&this.low}},{key:"assign",value:function(e){this.high=e.high,this.low=e.low}}]),e}(),w=function(){function e(e,t){return e>>>t|e<<32-t}function t(e,t,r){return e&t^~e&r}function r(e,t,r){return e&t^e&r^t&r}function n(t){return e(t,2)^e(t,13)^e(t,22)}function a(t){return e(t,6)^e(t,11)^e(t,25)}function i(t){return e(t,7)^e(t,18)^t>>>3}var o=[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];return function(s,c,u){var l,f,h=1779033703,d=3144134277,p=1013904242,g=2773480762,m=1359893119,v=2600822924,y=528734635,b=1541459225,w=64*Math.ceil((u+9)/64),k=new Uint8Array(w);for(l=0;l<u;++l)k[l]=s[c++];k[l++]=128;for(var S=w-8;l<S;)k[l++]=0;k[l++]=0,k[l++]=0,k[l++]=0,k[l++]=u>>>29&255,k[l++]=u>>21&255,k[l++]=u>>13&255,k[l++]=u>>5&255,k[l++]=u<<3&255;var x,A=new Uint32Array(64);for(l=0;l<w;){for(f=0;f<16;++f)A[f]=k[l]<<24|k[l+1]<<16|k[l+2]<<8|k[l+3],l+=4;for(f=16;f<64;++f)A[f]=0|(e(x=A[f-2],17)^e(x,19)^x>>>10)+A[f-7]+i(A[f-15])+A[f-16];var O=h,C=d,T=p,F=g,P=m,_=v,I=y,E=b,j=void 0,R=void 0;for(f=0;f<64;++f)j=E+a(P)+t(P,_,I)+o[f]+A[f],R=n(O)+r(O,C,T),E=I,I=_,_=P,P=F+j|0,F=T,T=C,C=O,O=j+R|0;h=h+O|0,d=d+C|0,p=p+T|0,g=g+F|0,m=m+P|0,v=v+_|0,y=y+I|0,b=b+E|0}return new Uint8Array([h>>24&255,h>>16&255,h>>8&255,255&h,d>>24&255,d>>16&255,d>>8&255,255&d,p>>24&255,p>>16&255,p>>8&255,255&p,g>>24&255,g>>16&255,g>>8&255,255&g,m>>24&255,m>>16&255,m>>8&255,255&m,v>>24&255,v>>16&255,v>>8&255,255&v,y>>24&255,y>>16&255,y>>8&255,255&y,b>>24&255,b>>16&255,b>>8&255,255&b])}}();t.calculateSHA256=w;var k=function(){function e(e,t,r,n,a){e.assign(t),e.and(r),a.assign(t),a.not(),a.and(n),e.xor(a)}function t(e,t,r,n,a){e.assign(t),e.and(r),a.assign(t),a.and(n),e.xor(a),a.assign(r),a.and(n),e.xor(a)}function r(e,t,r){e.assign(t),e.rotateRight(28),r.assign(t),r.rotateRight(34),e.xor(r),r.assign(t),r.rotateRight(39),e.xor(r)}function n(e,t,r){e.assign(t),e.rotateRight(14),r.assign(t),r.rotateRight(18),e.xor(r),r.assign(t),r.rotateRight(41),e.xor(r)}function a(e,t,r){e.assign(t),e.rotateRight(1),r.assign(t),r.rotateRight(8),e.xor(r),r.assign(t),r.shiftRight(7),e.xor(r)}function i(e,t,r){e.assign(t),e.rotateRight(19),r.assign(t),r.rotateRight(61),e.xor(r),r.assign(t),r.shiftRight(6),e.xor(r)}var o=[new b(1116352408,3609767458),new b(1899447441,602891725),new b(3049323471,3964484399),new b(3921009573,2173295548),new b(961987163,4081628472),new b(1508970993,3053834265),new b(2453635748,2937671579),new b(2870763221,3664609560),new b(3624381080,2734883394),new b(310598401,1164996542),new b(607225278,1323610764),new b(1426881987,3590304994),new b(1925078388,4068182383),new b(2162078206,991336113),new b(2614888103,633803317),new b(3248222580,3479774868),new b(3835390401,2666613458),new b(4022224774,944711139),new b(264347078,2341262773),new b(604807628,2007800933),new b(770255983,1495990901),new b(1249150122,1856431235),new b(1555081692,3175218132),new b(1996064986,2198950837),new b(2554220882,3999719339),new b(2821834349,766784016),new b(2952996808,2566594879),new b(3210313671,3203337956),new b(3336571891,1034457026),new b(3584528711,2466948901),new b(113926993,3758326383),new b(338241895,168717936),new b(666307205,1188179964),new b(773529912,1546045734),new b(1294757372,1522805485),new b(1396182291,2643833823),new b(1695183700,2343527390),new b(1986661051,1014477480),new b(2177026350,1206759142),new b(2456956037,344077627),new b(2730485921,1290863460),new b(2820302411,3158454273),new b(3259730800,3505952657),new b(3345764771,106217008),new b(3516065817,3606008344),new b(3600352804,1432725776),new b(4094571909,1467031594),new b(275423344,851169720),new b(430227734,3100823752),new b(506948616,1363258195),new b(659060556,3750685593),new b(883997877,3785050280),new b(958139571,3318307427),new b(1322822218,3812723403),new b(1537002063,2003034995),new b(1747873779,3602036899),new b(1955562222,1575990012),new b(2024104815,1125592928),new b(2227730452,2716904306),new b(2361852424,442776044),new b(2428436474,593698344),new b(2756734187,3733110249),new b(3204031479,2999351573),new b(3329325298,3815920427),new b(3391569614,3928383900),new b(3515267271,566280711),new b(3940187606,3454069534),new b(4118630271,4000239992),new b(116418474,1914138554),new b(174292421,2731055270),new b(289380356,3203993006),new b(460393269,320620315),new b(685471733,587496836),new b(852142971,1086792851),new b(1017036298,365543100),new b(1126000580,2618297676),new b(1288033470,3409855158),new b(1501505948,4234509866),new b(1607167915,987167468),new b(1816402316,1246189591)];return function(s,c,u){var l,f,h,d,p,g,m,v,y=arguments.length>3&&void 0!==arguments[3]&&arguments[3];y?(l=new b(3418070365,3238371032),f=new b(1654270250,914150663),h=new b(2438529370,812702999),d=new b(355462360,4144912697),p=new b(1731405415,4290775857),g=new b(2394180231,1750603025),m=new b(3675008525,1694076839),v=new b(1203062813,3204075428)):(l=new b(1779033703,4089235720),f=new b(3144134277,2227873595),h=new b(1013904242,4271175723),d=new b(2773480762,1595750129),p=new b(1359893119,2917565137),g=new b(2600822924,725511199),m=new b(528734635,4215389547),v=new b(1541459225,327033209));var w,k,S=128*Math.ceil((u+17)/128),x=new Uint8Array(S);for(w=0;w<u;++w)x[w]=s[c++];x[w++]=128;for(var A=S-16;w<A;)x[w++]=0;x[w++]=0,x[w++]=0,x[w++]=0,x[w++]=0,x[w++]=0,x[w++]=0,x[w++]=0,x[w++]=0,x[w++]=0,x[w++]=0,x[w++]=0,x[w++]=u>>>29&255,x[w++]=u>>21&255,x[w++]=u>>13&255,x[w++]=u>>5&255,x[w++]=u<<3&255;var O=new Array(80);for(w=0;w<80;w++)O[w]=new b(0,0);var C,T,F=new b(0,0),P=new b(0,0),_=new b(0,0),I=new b(0,0),E=new b(0,0),j=new b(0,0),R=new b(0,0),M=new b(0,0),N=new b(0,0),B=new b(0,0),D=new b(0,0),L=new b(0,0);for(w=0;w<S;){for(k=0;k<16;++k)O[k].high=x[w]<<24|x[w+1]<<16|x[w+2]<<8|x[w+3],O[k].low=x[w+4]<<24|x[w+5]<<16|x[w+6]<<8|x[w+7],w+=8;for(k=16;k<80;++k)i(C=O[k],O[k-2],L),C.add(O[k-7]),a(D,O[k-15],L),C.add(D),C.add(O[k-16]);for(F.assign(l),P.assign(f),_.assign(h),I.assign(d),E.assign(p),j.assign(g),R.assign(m),M.assign(v),k=0;k<80;++k)N.assign(M),n(D,E,L),N.add(D),e(D,E,j,R,L),N.add(D),N.add(o[k]),N.add(O[k]),r(B,F,L),t(D,F,P,_,L),B.add(D),C=M,M=R,R=j,j=E,I.add(N),E=I,I=_,_=P,P=F,C.assign(N),C.add(B),F=C;l.add(F),f.add(P),h.add(_),d.add(I),p.add(E),g.add(j),m.add(R),v.add(M)}return y?(T=new Uint8Array(48),l.copyTo(T,0),f.copyTo(T,8),h.copyTo(T,16),d.copyTo(T,24),p.copyTo(T,32),g.copyTo(T,40)):(T=new Uint8Array(64),l.copyTo(T,0),f.copyTo(T,8),h.copyTo(T,16),d.copyTo(T,24),p.copyTo(T,32),g.copyTo(T,40),m.copyTo(T,48),v.copyTo(T,56)),T}}();function S(e,t,r){return k(e,t,r,!0)}t.calculateSHA512=k;var x=function(){function e(){h(this,e)}return p(e,[{key:"decryptBlock",value:function(e){return e}},{key:"encrypt",value:function(e){return e}}]),e}(),A=function(){function e(){h(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize AESBaseCipher."),this._s=new Uint8Array([99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]),this._inv_s=new Uint8Array([82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]),this._mix=new Uint32Array([0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795]),this._mixCol=new Uint8Array(256);for(var t=0;t<256;t++)this._mixCol[t]=t<128?t<<1:t<<1^27;this.buffer=new Uint8Array(16),this.bufferPosition=0}return p(e,[{key:"_expandKey",value:function(e){(0,a.unreachable)("Cannot call `_expandKey` on the base class")}},{key:"_decrypt",value:function(e,t){var r,n,a,i=new Uint8Array(16);i.set(e);for(var o=0,s=this._keySize;o<16;++o,++s)i[o]^=t[s];for(var c=this._cyclesOfRepetition-1;c>=1;--c){r=i[13],i[13]=i[9],i[9]=i[5],i[5]=i[1],i[1]=r,r=i[14],n=i[10],i[14]=i[6],i[10]=i[2],i[6]=r,i[2]=n,r=i[15],n=i[11],a=i[7],i[15]=i[3],i[11]=r,i[7]=n,i[3]=a;for(var u=0;u<16;++u)i[u]=this._inv_s[i[u]];for(var l=0,f=16*c;l<16;++l,++f)i[l]^=t[f];for(var h=0;h<16;h+=4){var d=this._mix[i[h]],p=this._mix[i[h+1]],g=this._mix[i[h+2]],m=this._mix[i[h+3]];r=d^p>>>8^p<<24^g>>>16^g<<16^m>>>24^m<<8,i[h]=r>>>24&255,i[h+1]=r>>16&255,i[h+2]=r>>8&255,i[h+3]=255&r}}r=i[13],i[13]=i[9],i[9]=i[5],i[5]=i[1],i[1]=r,r=i[14],n=i[10],i[14]=i[6],i[10]=i[2],i[6]=r,i[2]=n,r=i[15],n=i[11],a=i[7],i[15]=i[3],i[11]=r,i[7]=n,i[3]=a;for(var v=0;v<16;++v)i[v]=this._inv_s[i[v]],i[v]^=t[v];return i}},{key:"_encrypt",value:function(e,t){var r,n,a,i=this._s,o=new Uint8Array(16);o.set(e);for(var s=0;s<16;++s)o[s]^=t[s];for(var c=1;c<this._cyclesOfRepetition;c++){for(var u=0;u<16;++u)o[u]=i[o[u]];a=o[1],o[1]=o[5],o[5]=o[9],o[9]=o[13],o[13]=a,a=o[2],n=o[6],o[2]=o[10],o[6]=o[14],o[10]=a,o[14]=n,a=o[3],n=o[7],r=o[11],o[3]=o[15],o[7]=a,o[11]=n,o[15]=r;for(var l=0;l<16;l+=4){var f=o[l+0],h=o[l+1],d=o[l+2],p=o[l+3];r=f^h^d^p,o[l+0]^=r^this._mixCol[f^h],o[l+1]^=r^this._mixCol[h^d],o[l+2]^=r^this._mixCol[d^p],o[l+3]^=r^this._mixCol[p^f]}for(var g=0,m=16*c;g<16;++g,++m)o[g]^=t[m]}for(var v=0;v<16;++v)o[v]=i[o[v]];a=o[1],o[1]=o[5],o[5]=o[9],o[9]=o[13],o[13]=a,a=o[2],n=o[6],o[2]=o[10],o[6]=o[14],o[10]=a,o[14]=n,a=o[3],n=o[7],r=o[11],o[3]=o[15],o[7]=a,o[11]=n,o[15]=r;for(var y=0,b=this._keySize;y<16;++y,++b)o[y]^=t[b];return o}},{key:"_decryptBlock2",value:function(e,t){for(var r=e.length,n=this.buffer,a=this.bufferPosition,i=[],o=this.iv,s=0;s<r;++s)if(n[a]=e[s],!(++a<16)){for(var c=this._decrypt(n,this._key),u=0;u<16;++u)c[u]^=o[u];o=n,i.push(c),n=new Uint8Array(16),a=0}if(this.buffer=n,this.bufferLength=a,this.iv=o,0===i.length)return new Uint8Array(0);var l=16*i.length;if(t){var f=i[i.length-1],h=f[15];if(h<=16){for(var d=15,p=16-h;d>=p;--d)if(f[d]!==h){h=0;break}l-=h,i[i.length-1]=f.subarray(0,16-h)}}for(var g=new Uint8Array(l),m=0,v=0,y=i.length;m<y;++m,v+=16)g.set(i[m],v);return g}},{key:"decryptBlock",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=e.length,a=this.buffer,i=this.bufferPosition;if(r)this.iv=r;else{for(var o=0;i<16&&o<n;++o,++i)a[i]=e[o];if(i<16)return this.bufferLength=i,new Uint8Array(0);this.iv=a,e=e.subarray(16)}return this.buffer=new Uint8Array(16),this.bufferLength=0,this.decryptBlock=this._decryptBlock2,this.decryptBlock(e,t)}},{key:"encrypt",value:function(e,t){var r=e.length,n=this.buffer,a=this.bufferPosition,i=[];t||(t=new Uint8Array(16));for(var o=0;o<r;++o)if(n[a]=e[o],!(++a<16)){for(var s=0;s<16;++s)n[s]^=t[s];var c=this._encrypt(n,this._key);t=c,i.push(c),n=new Uint8Array(16),a=0}if(this.buffer=n,this.bufferLength=a,this.iv=t,0===i.length)return new Uint8Array(0);for(var u=16*i.length,l=new Uint8Array(u),f=0,h=0,d=i.length;f<d;++f,h+=16)l.set(i[f],h);return l}}]),e}(),O=function(e){s(r,e);var t=u(r);function r(e){var n;return h(this,r),(n=t.call(this))._cyclesOfRepetition=10,n._keySize=160,n._rcon=new Uint8Array([141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141]),n._key=n._expandKey(e),n}return p(r,[{key:"_expandKey",value:function(e){var t=this._s,r=this._rcon,n=new Uint8Array(176);n.set(e);for(var a=16,i=1;a<176;++i){var o=n[a-3],s=n[a-2],c=n[a-1],u=n[a-4];o=t[o],s=t[s],c=t[c],u=t[u],o^=r[i];for(var l=0;l<4;++l)n[a]=o^=n[a-16],n[++a]=s^=n[a-16],n[++a]=c^=n[a-16],n[++a]=u^=n[a-16],a++}return n}}]),r}(A);t.AES128Cipher=O;var C=function(e){s(r,e);var t=u(r);function r(e){var n;return h(this,r),(n=t.call(this))._cyclesOfRepetition=14,n._keySize=224,n._key=n._expandKey(e),n}return p(r,[{key:"_expandKey",value:function(e){var t=this._s,r=new Uint8Array(240);r.set(e);for(var n,a,i,o,s=1,c=32,u=1;c<240;++u){c%32==16?(n=t[n],a=t[a],i=t[i],o=t[o]):c%32==0&&(n=r[c-3],a=r[c-2],i=r[c-1],o=r[c-4],n=t[n],a=t[a],i=t[i],o=t[o],n^=s,(s<<=1)>=256&&(s=255&(27^s)));for(var l=0;l<4;++l)r[c]=n^=r[c-32],r[++c]=a^=r[c-32],r[++c]=i^=r[c-32],r[++c]=o^=r[c-32],c++}return r}}]),r}(A);t.AES256Cipher=C;var T=function(){function e(){h(this,e)}return p(e,[{key:"checkOwnerPassword",value:function(e,t,r,n){var i=new Uint8Array(e.length+56);i.set(e,0),i.set(t,e.length),i.set(r,e.length+t.length);var o=w(i,0,i.length);return(0,a.isArrayEqual)(o,n)}},{key:"checkUserPassword",value:function(e,t,r){var n=new Uint8Array(e.length+8);n.set(e,0),n.set(t,e.length);var i=w(n,0,n.length);return(0,a.isArrayEqual)(i,r)}},{key:"getOwnerKey",value:function(e,t,r,n){var a=new Uint8Array(e.length+56);a.set(e,0),a.set(t,e.length),a.set(r,e.length+t.length);var i=w(a,0,a.length);return new C(i).decryptBlock(n,!1,new Uint8Array(16))}},{key:"getUserKey",value:function(e,t,r){var n=new Uint8Array(e.length+8);n.set(e,0),n.set(t,e.length);var a=w(n,0,n.length);return new C(a).decryptBlock(r,!1,new Uint8Array(16))}}]),e}();t.PDF17=T;var F=function(){function e(e,t,r){for(var n=w(t,0,t.length).subarray(0,32),a=[0],i=0;i<64||a[a.length-1]>i-32;){var o=e.length+n.length+r.length,s=new Uint8Array(o),c=0;s.set(e,c),c+=e.length,s.set(n,c),c+=n.length,s.set(r,c);for(var u=new Uint8Array(64*o),l=0,f=0;l<64;l++,f+=o)u.set(s,f);a=new O(n.subarray(0,16)).encrypt(u,n.subarray(16,32));for(var h=0,d=0;d<16;d++)h*=1,h%=3,h+=(a[d]>>>0)%3,h%=3;0===h?n=w(a,0,a.length):1===h?n=S(a,0,a.length):2===h&&(n=k(a,0,a.length)),i++}return n.subarray(0,32)}return function(){function t(){h(this,t)}return p(t,[{key:"hash",value:function(t,r,n){return e(t,r,n)}},{key:"checkOwnerPassword",value:function(t,r,n,i){var o=new Uint8Array(t.length+56);o.set(t,0),o.set(r,t.length),o.set(n,t.length+r.length);var s=e(t,o,n);return(0,a.isArrayEqual)(s,i)}},{key:"checkUserPassword",value:function(t,r,n){var i=new Uint8Array(t.length+8);i.set(t,0),i.set(r,t.length);var o=e(t,i,[]);return(0,a.isArrayEqual)(o,n)}},{key:"getOwnerKey",value:function(t,r,n,a){var i=new Uint8Array(t.length+56);i.set(t,0),i.set(r,t.length),i.set(n,t.length+r.length);var o=e(t,i,n);return new C(o).decryptBlock(a,!1,new Uint8Array(16))}},{key:"getUserKey",value:function(t,r,n){var a=new Uint8Array(t.length+8);a.set(t,0),a.set(r,t.length);var i=e(t,a,[]);return new C(i).decryptBlock(n,!1,new Uint8Array(16))}}]),t}()}();t.PDF20=F;var P=function(){function e(t,r){h(this,e),this.StringCipherConstructor=t,this.StreamCipherConstructor=r}return p(e,[{key:"createStream",value:function(e,t){var r=new this.StreamCipherConstructor;return new o.DecryptStream(e,t,(function(e,t){return r.decryptBlock(e,t)}))}},{key:"decryptString",value:function(e){var t=new this.StringCipherConstructor,r=(0,a.stringToBytes)(e);return r=t.decryptBlock(r,!0),(0,a.bytesToString)(r)}},{key:"encryptString",value:function(e){var t=new this.StringCipherConstructor;if(t instanceof A){var r=e.length,n=16-r%16;16!==n&&(e=e.padEnd(16*Math.ceil(r/16),String.fromCharCode(n)));var i=new Uint8Array(16);if("undefined"!=typeof crypto)crypto.getRandomValues(i);else for(var o=0;o<16;o++)i[o]=Math.floor(256*Math.random());var s=(0,a.stringToBytes)(e);s=t.encrypt(s,i);var c=new Uint8Array(16+s.length);return c.set(i),c.set(s,16),(0,a.bytesToString)(c)}var u=(0,a.stringToBytes)(e);return u=t.encrypt(u),(0,a.bytesToString)(u)}}]),e}(),_=function(){var e=new Uint8Array([40,191,78,94,78,117,138,65,100,0,78,86,255,250,1,8,46,46,0,182,208,104,62,128,47,12,169,254,100,83,105,122]);function t(t,r,n,a,i,o,s,c){var u,l,f=40+n.length+t.length,h=new Uint8Array(f),d=0;if(r)for(l=Math.min(32,r.length);d<l;++d)h[d]=r[d];for(u=0;d<32;)h[d++]=e[u++];for(u=0,l=n.length;u<l;++u)h[d++]=n[u];for(h[d++]=255&i,h[d++]=i>>8&255,h[d++]=i>>16&255,h[d++]=i>>>24&255,u=0,l=t.length;u<l;++u)h[d++]=t[u];o>=4&&!c&&(h[d++]=255,h[d++]=255,h[d++]=255,h[d++]=255);var p=y(h,0,d),m=s>>3;if(o>=3)for(u=0;u<50;++u)p=y(p,0,m);var v,b=p.subarray(0,m);if(o>=3){for(d=0;d<32;++d)h[d]=e[d];for(u=0,l=t.length;u<l;++u)h[d++]=t[u];v=new g(b).encryptBlock(y(h,0,d)),l=b.length;var w=new Uint8Array(l);for(u=1;u<=19;++u){for(var k=0;k<l;++k)w[k]=b[k]^u;v=new g(w).encryptBlock(v)}for(u=0,l=v.length;u<l;++u)if(a[u]!==v[u])return null}else for(u=0,l=(v=new g(b).encryptBlock(e)).length;u<l;++u)if(a[u]!==v[u])return null;return b}var r=i.Name.get("Identity");function n(e,t,r){var n,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=new Uint8Array(r.length+9),o=r.length;for(n=0;n<o;++n)i[n]=r[n];i[n++]=255&e,i[n++]=e>>8&255,i[n++]=e>>16&255,i[n++]=255&t,i[n++]=t>>8&255,a&&(i[n++]=115,i[n++]=65,i[n++]=108,i[n++]=84);var s=y(i,0,n);return s.subarray(0,Math.min(r.length+5,16))}function o(e,t,r,o,s){if(!(0,i.isName)(t))throw new a.FormatError("Invalid crypt filter name.");var c,u=e.get(t.name);if(null!=u&&(c=u.get("CFM")),!c||"None"===c.name)return function(){return new x};if("V2"===c.name)return function(){return new g(n(r,o,s,!1))};if("AESV2"===c.name)return function(){return new O(n(r,o,s,!0))};if("AESV3"===c.name)return function(){return new C(s)};throw new a.FormatError("Unknown crypto method")}var s=function(){function s(n,o,c){h(this,s);var u=n.get("Filter");if(!(0,i.isName)(u,"Standard"))throw new a.FormatError("unknown encryption method");this.dict=n;var l=n.get("V");if(!Number.isInteger(l)||1!==l&&2!==l&&4!==l&&5!==l)throw new a.FormatError("unsupported encryption algorithm");this.algorithm=l;var f=n.get("Length");if(!f)if(l<=3)f=40;else{var d=n.get("CF"),p=n.get("StmF");if((0,i.isDict)(d)&&(0,i.isName)(p)){d.suppressEncryption=!0;var m=d.get(p.name);(f=m&&m.get("Length")||128)<40&&(f<<=3)}}if(!Number.isInteger(f)||f<40||f%8!=0)throw new a.FormatError("invalid key length");var v=(0,a.stringToBytes)(n.get("O")).subarray(0,32),b=(0,a.stringToBytes)(n.get("U")).subarray(0,32),w=n.get("P"),k=n.get("R"),S=(4===l||5===l)&&!1!==n.get("EncryptMetadata");this.encryptMetadata=S;var x,A,O=(0,a.stringToBytes)(o);if(c){if(6===k)try{c=(0,a.utf8StringToString)(c)}catch(e){(0,a.warn)("CipherTransformFactory: Unable to convert UTF8 encoded password.")}x=(0,a.stringToBytes)(c)}if(5!==l)A=t(O,x,v,b,w,k,f,S);else{var C=(0,a.stringToBytes)(n.get("O")).subarray(32,40),P=(0,a.stringToBytes)(n.get("O")).subarray(40,48),_=(0,a.stringToBytes)(n.get("U")).subarray(0,48),I=(0,a.stringToBytes)(n.get("U")).subarray(32,40),E=(0,a.stringToBytes)(n.get("U")).subarray(40,48),j=(0,a.stringToBytes)(n.get("OE")),R=(0,a.stringToBytes)(n.get("UE"));(0,a.stringToBytes)(n.get("Perms")),A=function(e,t,r,n,a,i,o,s,c,u,l,f){if(t){var h=Math.min(127,t.length);t=t.subarray(0,h)}else t=[];var d;return(d=6===e?new F:new T).checkUserPassword(t,s,o)?d.getUserKey(t,c,l):t.length&&d.checkOwnerPassword(t,n,i,r)?d.getOwnerKey(t,a,i,u):null}(k,x,v,C,P,_,b,I,E,j,R)}if(!A&&!c)throw new a.PasswordException("No password given",a.PasswordResponses.NEED_PASSWORD);if(!A&&c){var M=function(t,r,n,a){for(var i=new Uint8Array(32),o=0,s=Math.min(32,t.length);o<s;++o)i[o]=t[o];for(var c=0;o<32;)i[o++]=e[c++];var u,l=y(i,0,o),f=a>>3;if(n>=3)for(c=0;c<50;++c)l=y(l,0,l.length);if(n>=3){u=r;var h=new Uint8Array(f);for(c=19;c>=0;c--){for(var d=0;d<f;++d)h[d]=l[d]^c;u=new g(h).encryptBlock(u)}}else u=new g(l.subarray(0,f)).encryptBlock(r);return u}(x,v,k,f);A=t(O,M,v,b,w,k,f,S)}if(!A)throw new a.PasswordException("Incorrect Password",a.PasswordResponses.INCORRECT_PASSWORD);if(this.encryptionKey=A,l>=4){var N=n.get("CF");(0,i.isDict)(N)&&(N.suppressEncryption=!0),this.cf=N,this.stmf=n.get("StmF")||r,this.strf=n.get("StrF")||r,this.eff=n.get("EFF")||this.stmf}}return p(s,[{key:"createCipherTransform",value:function(e,t){if(4===this.algorithm||5===this.algorithm)return new P(o(this.cf,this.stmf,e,t,this.encryptionKey),o(this.cf,this.strf,e,t,this.encryptionKey));var r=n(e,t,this.encryptionKey,!1),a=function(){return new g(r)};return new P(a,a)}}]),s}();return s}();t.CipherTransformFactory=_},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.DecryptStream=void 0;var a=r(127);function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function s(e){var t=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(e){return!1}}();return function(){var r,n=u(e);if(t){var a=u(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return c(this,r)}}function c(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(c,e);var t,r,n,a=s(c);function c(e,t,r){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(n=a.call(this,t)).str=e,n.dict=e.dict,n.decrypt=r,n.nextChunk=null,n.initialized=!1,n}return t=c,(r=[{key:"readBlock",value:function(){var e;if(this.initialized?e=this.nextChunk:(e=this.str.getBytes(512),this.initialized=!0),e&&0!==e.length){this.nextChunk=this.str.getBytes(512);var t=this.nextChunk&&this.nextChunk.length>0;e=(0,this.decrypt)(e,!t);for(var r=this.bufferLength,n=e.length,a=this.ensureBuffer(r+n),i=0;i<n;i++)a[r++]=e[i];this.bufferLength=r}else this.eof=!0}}])&&i(t.prototype,r),n&&i(t,n),c}(a.DecodeStream);t.DecryptStream=l},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.XFAFactory=void 0;var n=r(176),a=r(179),i=r(184);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);try{this.root=(new i.XFAParser).parse(e._createDocument(t)),this.form=new a.Binder(this.root).bind(),this.pages=this.form[n.$toHTML]()}catch(e){console.log(e)}}var t,r,s;return t=e,s=[{key:"_createDocument",value:function(e){return e["/xdp:xdp"]?Object.values(e).join(""):e["xdp:xdp"]}}],(r=[{key:"getPage",value:function(e){return this.pages.children[e]}},{key:"numberPages",get:function(){return this.pages.children.length}}])&&o(t.prototype,r),s&&o(t,s),e}();t.XFAFactory=s},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.XmlObject=t.XFAObjectArray=t.XFAObject=t.XFAAttribute=t.StringObject=t.OptionObject=t.Option10=t.Option01=t.IntegerObject=t.ContentObject=t.$uid=t.$toStyle=t.$toHTML=t.$text=t.$setValue=t.$setSetAttributes=t.$setId=t.$searchNode=t.$resolvePrototypes=t.$removeChild=t.$onText=t.$onChildCheck=t.$onChild=t.$nsAttributes=t.$nodeName=t.$namespaceId=t.$isTransparent=t.$isDescendent=t.$isDataValue=t.$insertAt=t.$indexOf=t.$ids=t.$hasSettableValue=t.$hasItem=t.$global=t.$getRealChildrenByNameIt=t.$getParent=t.$getNextPage=t.$getDataValue=t.$getChildrenByNameIt=t.$getChildrenByName=t.$getChildrenByClass=t.$getChildren=t.$getAvailableSpace=t.$getAttributeIt=t.$flushHTML=t.$finalize=t.$extra=t.$dump=t.$data=t.$content=t.$consumed=t.$clone=t.$cleanup=t.$clean=t.$childrenToHTML=t.$break=t.$appendChild=t.$addHTML=t.$acceptWhitespace=void 0;var a,i=(a=r(2))&&a.__esModule?a:{default:a},o=r(177),s=r(4),c=r(178);function u(e,t,r){return u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}(e,t);if(n){var a=Object.getOwnPropertyDescriptor(n,t);return a.get?a.get.call(r):a.value}},u(e,t,r||e)}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(e,t)||b(e,t)||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.")}()}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function d(e){var t=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(e){return!1}}();return function(){var r,n=m(e);if(t){var a=m(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p(this,r)}}function p(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function v(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||b(e)||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.")}()}function y(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=b(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function b(e,t){if(e){if("string"==typeof e)return w(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x(e,t,r){return t&&S(e.prototype,t),r&&S(e,r),e}var A=Symbol();t.$acceptWhitespace=A;var O=Symbol();t.$addHTML=O;var C=Symbol();t.$appendChild=C;var T=Symbol();t.$break=T;var F=Symbol();t.$childrenToHTML=F;var P=Symbol();t.$clean=P;var _=Symbol();t.$cleanup=_;var I=Symbol();t.$clone=I;var E=Symbol();t.$consumed=E;var j=Symbol("content");t.$content=j;var R=Symbol("data");t.$data=R;var M=Symbol();t.$dump=M;var N=Symbol("extra");t.$extra=N;var B=Symbol();t.$finalize=B;var D=Symbol();t.$flushHTML=D;var L=Symbol();t.$getAttributeIt=L;var U=Symbol();t.$getAvailableSpace=U;var q=Symbol();t.$getChildrenByClass=q;var X=Symbol();t.$getChildrenByName=X;var H=Symbol();t.$getChildrenByNameIt=H;var $=Symbol();t.$getDataValue=$;var z=Symbol();t.$getRealChildrenByNameIt=z;var G=Symbol();t.$getChildren=G;var W=Symbol();t.$getNextPage=W;var V=Symbol();t.$getParent=V;var K=Symbol();t.$global=K;var Y=Symbol();t.$hasItem=Y;var J=Symbol();t.$hasSettableValue=J;var Z=Symbol();t.$ids=Z;var Q=Symbol();t.$indexOf=Q;var ee=Symbol();t.$insertAt=ee;var te=Symbol();t.$isDataValue=te;var re=Symbol();t.$isDescendent=re;var ne=Symbol();t.$isTransparent=ne;var ae=Symbol(),ie=Symbol("namespaceId");t.$namespaceId=ie;var oe=Symbol("nodeName");t.$nodeName=oe;var se=Symbol();t.$nsAttributes=se;var ce=Symbol();t.$onChild=ce;var ue=Symbol();t.$onChildCheck=ue;var le=Symbol();t.$onText=le;var fe=Symbol();t.$removeChild=fe;var he=Symbol();t.$resolvePrototypes=he;var de=Symbol();t.$searchNode=de;var pe=Symbol();t.$setId=pe;var ge=Symbol();t.$setSetAttributes=ge;var me=Symbol();t.$setValue=me;var ve=Symbol();t.$text=ve;var ye=Symbol();t.$toHTML=ye;var be=Symbol();t.$toStyle=be;var we=Symbol("uid");t.$uid=we;var ke=Symbol(),Se=Symbol(),xe=Symbol(),Ae=Symbol("_children"),Oe=Symbol(),Ce=Symbol(),Te=Symbol(),Fe=Symbol(),Pe=Symbol(),_e=Symbol(),Ie=Symbol(),Ee=Symbol(),je=Symbol(),Re=Symbol("parent"),Me=Symbol(),Ne=Symbol(),Be=0,De=function(){function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];k(this,e),this[ie]=t,this[oe]=r,this[Ie]=n,this[Re]=null,this[Ae]=[],this[we]="".concat(r).concat(Be++)}return x(e,[{key:ce,value:function(e){if(!this[Ie]||!this[ue](e))return!1;var t=e[oe],r=this[t];if(!(r instanceof Le))return null!==r&&this[fe](r),this[t]=e,this[C](e),!0;if(r.push(e))return this[C](e),!0;var n="";return this.id?n=" (id: ".concat(this.id,")"):this.name&&(n=" (name: ".concat(this.name," ").concat(this.h.value,")")),(0,s.warn)(\'XFA - node "\'.concat(this[oe],\'"\').concat(n,\' has already enough "\').concat(t,\'"!\')),!1}},{key:ue,value:function(e){return this.hasOwnProperty(e[oe])&&e[ie]===this[ie]}},{key:A,value:function(){return!1}},{key:pe,value:function(e){this.id&&this[ie]===c.NamespaceIds.template.id&&e.set(this.id,this)}},{key:C,value:function(e){e[Re]=this,this[Ae].push(e)}},{key:fe,value:function(e){var t=this[Ae].indexOf(e);this[Ae].splice(t,1)}},{key:J,value:function(){return this.hasOwnProperty("value")}},{key:me,value:function(e){}},{key:le,value:function(e){}},{key:B,value:function(){}},{key:P,value:function(e){delete this[Ie],this[_]&&(e.clean(this[_]),delete this[_])}},{key:Y,value:function(){return!1}},{key:Q,value:function(e){return this[Ae].indexOf(e)}},{key:ee,value:function(e,t){t[Re]=this,this[Ae].splice(e,0,t)}},{key:ne,value:function(){return""===this.name}},{key:ae,value:function(){return""}},{key:ve,value:function(){return 0===this[Ae].length?this[j]:this[Ae].map((function(e){return e[ve]()})).join("")}},{key:xe,get:function(){var t=Object.getPrototypeOf(this);if(!t._attributes){var r,n=t._attributes=new Set,a=y(Object.getOwnPropertyNames(this));try{for(a.s();!(r=a.n()).done;){var i=r.value;if(null===this[i]||this[i]instanceof e||this[i]instanceof Le)break;n.add(i)}}catch(e){a.e(e)}finally{a.f()}}return(0,s.shadow)(this,xe,t._attributes)}},{key:re,value:function(e){for(var t=this;t;){if(t===e)return!0;t=t[V]()}return!1}},{key:V,value:function(){return this[Re]}},{key:G,value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?this[e]:this[Ae]}},{key:M,value:function(){var t=Object.create(null);this[j]&&(t.$content=this[j]);var r,n=y(Object.getOwnPropertyNames(this));try{for(n.s();!(r=n.n()).done;){var a=r.value,i=this[a];null!==i&&(i instanceof e?t[a]=i[M]():i instanceof Le?i.isEmpty()||(t[a]=i.dump()):t[a]=i)}}catch(e){n.e(e)}finally{n.f()}return t}},{key:be,value:function(){return null}},{key:ye,value:function(){return o.HTMLResult.EMPTY}},{key:Fe,value:i.default.mark((function e(t,r){var n,a,o,s,c;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=y(this[G]()),e.prev=1,n.s();case 3:if((a=n.n()).done){e.next=13;break}if(o=a.value,t&&r!==t.has(o[oe])){e.next=11;break}return s=this[U](),(c=o[ye](s)).success||(this[N].failingNode=o),e.next=11,c;case 11:e.next=3;break;case 13:e.next=18;break;case 15:e.prev=15,e.t0=e.catch(1),n.e(e.t0);case 18:return e.prev=18,n.f(),e.finish(18);case 21:case"end":return e.stop()}}),e,this,[[1,15,18,21]])}))},{key:D,value:function(){return null}},{key:O,value:function(e,t){this[N].children.push(e)}},{key:U,value:function(){}},{key:F,value:function(e){var t=e.filter,r=void 0===t?null:t,n=e.include,a=void 0===n||n;if(this[N].generator){var i=this[U](),o=this[N].failingNode[ye](i);if(!o.success)return!1;o.html&&this[O](o.html,o.bbox),delete this[N].failingNode}else this[N].generator=this[Fe](r,a);for(;;){var s=this[N].generator.next();if(s.done)break;var c=s.value;if(!c.success)return!1;c.html&&this[O](c.html,c.bbox)}return this[N].generator=null,!0}},{key:ge,value:function(e){(e.use||e.id)&&(this[Me]=new Set(Object.keys(e)))}},{key:_e,value:function(e){var t=this[xe],r=this[Me];return v(e).filter((function(e){return t.has(e)&&!r.has(e)}))}},{key:he,value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set,n=y(this[Ae]);try{for(n.s();!(t=n.n()).done;){var a=t.value,i=a[Pe](e,r);i?a[ke](i,e,r):a[he](e,r)}}catch(e){n.e(e)}finally{n.f()}}},{key:Pe,value:function(e,t){var r=this.use;if(r&&r.startsWith("#")){var n=r.slice(1),a=e.get(n);if(this.use="",!a)return(0,s.warn)("XFA - Invalid prototype id: ".concat(n,".")),null;if(a[oe]!==this[oe])return(0,s.warn)("XFA - Incompatible prototype: ".concat(a[oe]," !== ").concat(this[oe],".")),null;if(t.has(a))return(0,s.warn)("XFA - Cycle detected in prototypes use."),null;t.add(a);var i=a[Pe](e,t);return i?(a[ke](i,e,t),t.delete(a),a):(t.delete(a),a)}return null}},{key:ke,value:function(e,t,r){if(r.has(e))(0,s.warn)("XFA - Cycle detected in prototypes use.");else{!this[j]&&e[j]&&(this[j]=e[j]);var n=new Set(r);n.add(e);var a,i=y(this[_e](e[Me]));try{for(i.s();!(a=i.n()).done;){var o=a.value;this[o]=e[o],this[Me]&&this[Me].add(o)}}catch(e){i.e(e)}finally{i.f()}var c,u=y(Object.getOwnPropertyNames(this));try{for(u.s();!(c=u.n()).done;){var l=c.value;if(!this[xe].has(l)){var f=this[l],h=e[l];if(f instanceof Le){var d,p=y(f[Ae]);try{for(p.s();!(d=p.n()).done;)d.value[he](t,r)}catch(e){p.e(e)}finally{p.f()}for(var g=f[Ae].length,m=h[Ae].length;g<m;g++){var v=e[Ae][g][I]();if(!f.push(v))break;v[Re]=this,this[Ae].push(v),v[he](t,n)}}else if(null===f){if(null!==h){var b=h[I]();b[Re]=this,this[l]=b,this[Ae].push(b),b[he](t,n)}}else f[he](t,r)}}}catch(e){u.e(e)}finally{u.f()}}}},{key:I,value:function(){var t,r=Object.create(Object.getPrototypeOf(this)),n=y(Object.getOwnPropertySymbols(this));try{for(n.s();!(t=n.n()).done;){var a=t.value;try{r[a]=this[a]}catch(e){(0,s.shadow)(r,a,this[a])}}}catch(e){n.e(e)}finally{n.f()}r[Ae]=[];var i,o=y(Object.getOwnPropertyNames(this));try{for(o.s();!(i=o.n()).done;){var c=i.value;if(this[xe].has(c))r[c]=e[Oe](this[c]);else{var u=this[c];r[c]=u instanceof Le?new Le(u[Ee]):null}}}catch(e){o.e(e)}finally{o.f()}var l,f=y(this[Ae]);try{for(f.s();!(l=f.n()).done;){var h=l.value,d=h[oe],p=h[I]();r[Ae].push(p),p[Re]=r,null===r[d]?r[d]=p:r[d][Ae].push(p)}}catch(e){f.e(e)}finally{f.f()}return r}},{key:G,value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?this[Ae].filter((function(t){return t[oe]===e})):this[Ae]}},{key:q,value:function(e){return this[e]}},{key:X,value:function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return Array.from(this[H](e,t,r))}},{key:H,value:i.default.mark((function e(t,r){var n,a,o,s,c=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=!(c.length>2&&void 0!==c[2])||c[2],"parent"!==t){e.next=5;break}return e.next=4,this[Re];case 4:return e.abrupt("return");case 5:a=y(this[Ae]),e.prev=6,a.s();case 8:if((o=a.n()).done){e.next=20;break}if((s=o.value)[oe]!==t){e.next=13;break}return e.next=13,s;case 13:if(s.name!==t){e.next=16;break}return e.next=16,s;case 16:if(!r&&!s[ne]()){e.next=18;break}return e.delegateYield(s[H](t,r,!1),"t0",18);case 18:e.next=8;break;case 20:e.next=25;break;case 22:e.prev=22,e.t1=e.catch(6),a.e(e.t1);case 25:return e.prev=25,a.f(),e.finish(25);case 28:if(!n||!this[xe].has(t)){e.next=31;break}return e.next=31,new Ue(this,t,this[t]);case 31:case"end":return e.stop()}}),e,this,[[6,22,25,28]])}))}],[{key:Oe,value:function(t){return Array.isArray(t)?t.map((function(t){return e[Oe](t)})):t instanceof Object?Object.assign({},t):t}}]),e}();t.XFAObject=De;var Le=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0;k(this,e),this[Ee]=t,this[Ae]=[]}return x(e,[{key:"push",value:function(e){return this[Ae].length<=this[Ee]?(this[Ae].push(e),!0):((0,s.warn)(\'XFA - node "\'.concat(e[oe],\'" accepts no more than \').concat(this[Ee]," children")),!1)}},{key:"isEmpty",value:function(){return 0===this[Ae].length}},{key:"dump",value:function(){return 1===this[Ae].length?this[Ae][0][M]():this[Ae].map((function(e){return e[M]()}))}},{key:I,value:function(){var t=new e(this[Ee]);return t[Ae]=this[Ae].map((function(e){return e[I]()})),t}},{key:"children",get:function(){return this[Ae]}},{key:"clear",value:function(){this[Ae].length=0}}]),e}();t.XFAObjectArray=Le;var Ue=function(){function e(t,r,n){k(this,e),this[Re]=t,this[oe]=r,this[j]=n,this[E]=!1}return x(e,[{key:V,value:function(){return this[Re]}},{key:te,value:function(){return!0}},{key:ve,value:function(){return this[j]}},{key:re,value:function(e){return this[Re]===e||this[Re][re](e)}}]),e}();t.XFAAttribute=Ue;var qe=function(e){f(r,e);var t=d(r);function r(e,n){var a,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(k(this,r),(a=t.call(this,e,n))[j]="",a[Ce]=null,"#text"!==n){var o=new Map;a[Se]=o;for(var s=0,c=Object.entries(i);s<c.length;s++){var u=l(c[s],2),f=u[0],h=u[1];o.set(f,new Ue(g(a),f,h))}if(i.hasOwnProperty(se)){var d=i[se].xfa.dataNode;void 0!==d&&("dataGroup"===d?a[Ce]=!1:"dataValue"===d&&(a[Ce]=!0))}}return a[E]=!1,a}return x(r,[{key:ce,value:function(e){if(this[j]){var t=new r(this[ie],"#text");this[C](t),t[j]=this[j],this[j]=""}return this[C](e),!0}},{key:le,value:function(e){this[j]+=e}},{key:B,value:function(){if(this[j]&&this[Ae].length>0){var e=new r(this[ie],"#text");this[C](e),e[j]=this[j],delete this[j]}}},{key:ye,value:function(){return"#text"===this[oe]?o.HTMLResult.success({name:"#text",value:this[j]}):o.HTMLResult.EMPTY}},{key:G,value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?this[Ae].filter((function(t){return t[oe]===e})):this[Ae]}},{key:q,value:function(e){var t=this[Se].get(e);return void 0!==t?t:this[G](e)}},{key:H,value:i.default.mark((function(e,t){var r,n,a,o;return i.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(r=this[Se].get(e),!r){i.next=4;break}return i.next=4,r;case 4:n=y(this[Ae]),i.prev=5,n.s();case 7:if((a=n.n()).done){i.next=16;break}if((o=a.value)[oe]!==e){i.next=12;break}return i.next=12,o;case 12:if(!t){i.next=14;break}return i.delegateYield(o[H](e,t),"t0",14);case 14:i.next=7;break;case 16:i.next=21;break;case 18:i.prev=18,i.t1=i.catch(5),n.e(i.t1);case 21:return i.prev=21,n.f(),i.finish(21);case 24:case"end":return i.stop()}}),r,this,[[5,18,21,24]])}))},{key:L,value:i.default.mark((function(e,t){var r,n,a,o;return i.default.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(r=this[Se].get(e),!r||t&&r[E]){i.next=4;break}return i.next=4,r;case 4:n=y(this[Ae]),i.prev=5,n.s();case 7:if((a=n.n()).done){i.next=12;break}return o=a.value,i.delegateYield(o[L](e,t),"t0",10);case 10:i.next=7;break;case 12:i.next=17;break;case 14:i.prev=14,i.t1=i.catch(5),n.e(i.t1);case 17:return i.prev=17,n.f(),i.finish(17);case 20:case"end":return i.stop()}}),r,this,[[5,14,17,20]])}))},{key:z,value:i.default.mark((function e(t,r,n){var a,o,s;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=y(this[Ae]),e.prev=1,a.s();case 3:if((o=a.n()).done){e.next=12;break}if((s=o.value)[oe]!==t||n&&s[E]){e.next=8;break}return e.next=8,s;case 8:if(!r){e.next=10;break}return e.delegateYield(s[z](t,r,n),"t0",10);case 10:e.next=3;break;case 12:e.next=17;break;case 14:e.prev=14,e.t1=e.catch(1),a.e(e.t1);case 17:return e.prev=17,a.f(),e.finish(17);case 20:case"end":return e.stop()}}),e,this,[[1,14,17,20]])}))},{key:te,value:function(){return null===this[Ce]?0===this[Ae].length||this[Ae][0][ie]===c.NamespaceIds.xhtml.id:this[Ce]}},{key:$,value:function(){return null===this[Ce]?0===this[Ae].length?this[j].trim():this[Ae][0][ie]===c.NamespaceIds.xhtml.id?this[Ae][0][ve]().trim():null:this[j].trim()}},{key:M,value:function(){var e=Object.create(null);this[j]&&(e.$content=this[j]),e.$name=this[oe],e.children=[];var t,r=y(this[Ae]);try{for(r.s();!(t=r.n()).done;){var n=t.value;e.children.push(n[M]())}}catch(e){r.e(e)}finally{r.f()}e.attributes=Object.create(null);var a,i=y(this[Se]);try{for(i.s();!(a=i.n()).done;){var o=l(a.value,2),s=o[0],c=o[1];e.attributes[s]=c[j]}}catch(e){i.e(e)}finally{i.f()}return e}}]),r}(De);t.XmlObject=qe;var Xe=function(e){f(r,e);var t=d(r);function r(e,n){var a;return k(this,r),(a=t.call(this,e,n))[j]="",a}return x(r,[{key:le,value:function(e){this[j]+=e}},{key:B,value:function(){}}]),r}(De);t.ContentObject=Xe;var He=function(e){f(r,e);var t=d(r);function r(e,n,a){var i;return k(this,r),(i=t.call(this,e,n))[je]=a,i}return x(r,[{key:B,value:function(){var e=this;this[j]=(0,o.getKeyword)({data:this[j],defaultValue:this[je][0],validate:function(t){return e[je].includes(t)}})}},{key:P,value:function(e){u(m(r.prototype),P,this).call(this,e),delete this[je]}}]),r}(Xe);t.OptionObject=He;var $e=function(e){f(r,e);var t=d(r);function r(){return k(this,r),t.apply(this,arguments)}return x(r,[{key:B,value:function(){this[j]=this[j].trim()}}]),r}(Xe);t.StringObject=$e;var ze=function(e){f(r,e);var t=d(r);function r(e,n,a,i){var o;return k(this,r),(o=t.call(this,e,n))[Te]=a,o[Ne]=i,o}return x(r,[{key:B,value:function(){this[j]=(0,o.getInteger)({data:this[j],defaultValue:this[Te],validate:this[Ne]})}},{key:P,value:function(e){u(m(r.prototype),P,this).call(this,e),delete this[Te],delete this[Ne]}}]),r}(Xe);t.IntegerObject=ze;var Ge=function(e){f(r,e);var t=d(r);function r(e,n){return k(this,r),t.call(this,e,n,0,(function(e){return 1===e}))}return r}(ze);t.Option01=Ge;var We=function(e){f(r,e);var t=d(r);function r(e,n){return k(this,r),t.call(this,e,n,1,(function(e){return 0===e}))}return r}(ze);t.Option10=We},(e,t)=>{"use strict";function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(e,t)||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.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.getBBox=function(e){var t=-1;if(!e)return{x:t,y:t,width:t,height:t};var r=e.trim().split(/\\s*,\\s*/).map((function(e){return c(e,"-1")}));if(r.length<4||r[2]<0||r[3]<0)return{x:t,y:t,width:t,height:t};var a=n(r,4),i=a[0],o=a[1],s=a[2],u=a[3];return{x:i,y:o,width:s,height:u}},t.getColor=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0,0],r=n(t,3),a=r[0],i=r[1],o=r[2];if(!e)return{r:a,g:i,b:o};var s=e.trim().split(/\\s*,\\s*/).map((function(e){return Math.min(Math.max(0,parseInt(e.trim(),10)),255)})).map((function(e){return isNaN(e)?0:e}));if(s.length<3)return{r:a,g:i,b:o};var c=n(s,3);return a=c[0],i=c[1],o=c[2],{r:a,g:i,b:o}},t.getFloat=function(e){var t=e.data,r=e.defaultValue,n=e.validate;if(!t)return r;t=t.trim();var a=parseFloat(t);return!isNaN(a)&&n(a)?a:r},t.getInteger=function(e){var t=e.data,r=e.defaultValue,n=e.validate;if(!t)return r;t=t.trim();var a=parseInt(t,10);return!isNaN(a)&&n(a)?a:r},t.getKeyword=s,t.getMeasurement=c,t.getRatio=function(e){if(!e)return{num:1,den:1};var t=e.trim().split(/\\s*:\\s*/).map((function(e){return parseFloat(e)})).filter((function(e){return!isNaN(e)}));if(1===t.length&&t.push(1),0===t.length)return{num:1,den:1};var r=n(t,2),a=r[0],i=r[1];return{num:a,den:i}},t.getRelevant=function(e){return e?e.trim().split(/\\s+/).map((function(e){return{excluded:"-"===e[0],viewname:e.substring(1)}})):[]},t.getStringOption=function(e,t){return s({data:e,defaultValue:t[0],validate:function(e){return t.includes(e)}})},t.HTMLResult=void 0;var i={pt:function(e){return e},cm:function(e){return e/2.54*72},mm:function(e){return e/25.4*72},in:function(e){return 72*e},px:function(e){return e}},o=/([+-]?[0-9]+\\.?[0-9]*)(.*)/;function s(e){var t=e.data,r=e.defaultValue,n=e.validate;return t&&n(t=t.trim())?t:r}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";if(t=t||"0",!e)return c(t);var r=e.trim().match(o);if(!r)return c(t);var a=n(r,3),s=a[1],u=a[2],l=parseFloat(s);if(isNaN(l))return c(t);if(0===l)return 0;var f=i[u];return f?f(l):l}var u=function(){function e(t,r,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.success=t,this.html=r,this.bbox=n}var t,n,a;return t=e,a=[{key:"success",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return new e(!0,t,r)}}],(n=null)&&r(t.prototype,n),a&&r(t,a),e}();t.HTMLResult=u,u.FAILURE=new u(!1,null,null),u.EMPTY=new u(!0,null,null)},(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NamespaceIds=t.$buildXFAObject=void 0;var r=Symbol();t.$buildXFAObject=r,t.NamespaceIds={config:{id:0,check:function(e){return e.startsWith("http://www.xfa.org/schema/xci/")}},connectionSet:{id:1,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-connection-set/")}},datasets:{id:2,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-data/")}},form:{id:3,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-form/")}},localeSet:{id:4,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-locale-set/")}},pdf:{id:5,check:function(e){return"http://ns.adobe.com/xdp/pdf/"===e}},signature:{id:6,check:function(e){return"http://www.w3.org/2000/09/xmldsig#"===e}},sourceSet:{id:7,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-source-set/")}},stylesheet:{id:8,check:function(e){return"http://www.w3.org/1999/XSL/Transform"===e}},template:{id:9,check:function(e){return e.startsWith("http://www.xfa.org/schema/xfa-template/")}},xdc:{id:10,check:function(e){return e.startsWith("http://www.xfa.org/schema/xdc/")}},xdp:{id:11,check:function(e){return"http://ns.adobe.com/xdp/"===e}},xfdf:{id:12,check:function(e){return"http://ns.adobe.com/xfdf/"===e}},xhtml:{id:13,check:function(e){return"http://www.w3.org/1999/xhtml"===e}},xmpmeta:{id:14,check:function(e){return"http://ns.adobe.com/xmpmeta/"===e}}}},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Binder=void 0;var n=r(176),a=r(180),i=r(183),o=r(178),s=r(4);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(e,t)||l(e,t)||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.")}()}function u(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=l(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function l(e,t){if(e){if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e){var t=new a.Text({});return t[n.$content]=e,t}var p=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.root=t,this.datasets=t.datasets,t.datasets&&t.datasets.data?(this.emptyMerge=!1,this.data=t.datasets.data):(this.emptyMerge=!0,this.data=new n.XmlObject(o.NamespaceIds.datasets.id,"data")),this.root.form=this.form=t.template[n.$clone]()}var t,r,l;return t=e,(r=[{key:"_isConsumeData",value:function(){return!this.emptyMerge&&this._mergeMode}},{key:"_isMatchTemplate",value:function(){return!this._isConsumeData()}},{key:"bind",value:function(){return this._bindElement(this.form,this.data),this.form}},{key:"getData",value:function(){return this.data}},{key:"_bindValue",value:function(e,t,r){if(e[n.$hasSettableValue]())if(t[n.$isDataValue]()){var i=t[n.$getDataValue]();e[n.$setValue](d(i)),e[n.$data]=t}else if(e instanceof a.Field&&e.ui&&e.ui.choiceList&&"multiSelect"===e.ui.choiceList.open){var o=t[n.$getChildren]().map((function(e){return e[n.$content].trim()})).join("\\n");e[n.$setValue](d(o)),e[n.$data]=t}else this._isConsumeData()&&(0,s.warn)("XFA - Nodes haven\'t the same type.");else!t[n.$isDataValue]()||this._isMatchTemplate()?(this._bindElement(e,t),e[n.$data]=t):(0,s.warn)("XFA - Nodes haven\'t the same type.")}},{key:"_findDataByNameToConsume",value:function(e,t,r,a){if(!e)return null;for(var i,s,c=0;c<3;c++){for(i=r[n.$getRealChildrenByNameIt](e,!1,!0);s=i.next().value;)if(t===s[n.$isDataValue]())return s;if(r[n.$namespaceId]===o.NamespaceIds.datasets.id&&"data"===r[n.$nodeName])break;r=r[n.$getParent]()}if(!a)return null;for(i=this.data[n.$getRealChildrenByNameIt](e,!1,!1);s=i.next().value;)if(s[n.$global])return s;return(s=(i=this.data[n.$getAttributeIt](e,!0)).next().value)&&s[n.$isDataValue]()?s:null}},{key:"_setProperties",value:function(e,t){if(e.hasOwnProperty("setProperty")){var r,o=u(e.setProperty.children);try{for(o.s();!(r=o.n()).done;){var l=r.value,f=l.ref,h=l.target;if(!l.connection&&f){var d=c((0,i.searchNode)(this.root,t,f,!1,!1),1)[0];if(d)if(d[n.$isDescendent](this.data)){var p=c((0,i.searchNode)(this.root,e,h,!1,!1),1)[0];if(p)if(p[n.$isDescendent](e)){var g=p[n.$getParent]();if(p instanceof a.SetProperty||g instanceof a.SetProperty)(0,s.warn)("XFA - Invalid target: cannot be a setProperty or one of its properties.");else if(p instanceof a.BindItems||g instanceof a.BindItems)(0,s.warn)("XFA - Invalid target: cannot be a bindItems or one of its properties.");else{var m=d[n.$text](),v=p[n.$nodeName];if(p instanceof n.XFAAttribute){var y=Object.create(null);y[v]=m;var b=Reflect.construct(Object.getPrototypeOf(g).constructor,[y]);g[v]=b[v]}else p.hasOwnProperty(n.$content)?(p[n.$data]=d,p[n.$content]=m,p[n.$finalize]()):(0,s.warn)("XFA - Invalid node to use in setProperty")}}else(0,s.warn)("XFA - Invalid target: must be a property or subproperty.");else(0,s.warn)("XFA - Invalid target: ".concat(h,"."))}else(0,s.warn)("XFA - Invalid node: must be a data node.");else(0,s.warn)("XFA - Invalid reference: ".concat(f,"."))}}}catch(e){o.e(e)}finally{o.f()}}}},{key:"_bindItems",value:function(e,t){if(e.hasOwnProperty("items")&&e.hasOwnProperty("bindItems")&&!e.bindItems.isEmpty()){var r,o=u(e.items.children);try{for(o.s();!(r=o.n()).done;){var l=r.value;e[n.$removeChild](l)}}catch(e){o.e(e)}finally{o.f()}e.items.clear();var f=new a.Items({}),h=new a.Items({});e[n.$appendChild](f),e.items.push(f),e[n.$appendChild](h),e.items.push(h);var p,g=u(e.bindItems.children);try{for(g.s();!(p=g.n()).done;){var m=p.value,v=m.ref,y=m.labelRef,b=m.valueRef;if(!m.connection&&v){var w=(0,i.searchNode)(this.root,t,v,!1,!1);if(w){var k,S=u(w);try{for(S.s();!(k=S.n()).done;){var x=k.value;if(x[n.$isDescendent](this.datasets)){var A=c((0,i.searchNode)(this.root,x,y,!0,!1),1)[0];if(A)if(A[n.$isDescendent](this.datasets)){var O=c((0,i.searchNode)(this.root,x,b,!0,!1),1)[0];if(O)if(O[n.$isDescendent](this.datasets)){var C=d(A[n.$text]()),T=d(O[n.$text]());f[n.$appendChild](C),f.text.push(C),h[n.$appendChild](T),h.text.push(T)}else(0,s.warn)("XFA - Invalid value: must be a datasets child.");else(0,s.warn)("XFA - Invalid value: ".concat(b,"."))}else(0,s.warn)("XFA - Invalid label: must be a datasets child.");else(0,s.warn)("XFA - Invalid label: ".concat(y,"."))}else(0,s.warn)("XFA - Invalid ref (".concat(v,"): must be a datasets child."))}}catch(e){S.e(e)}finally{S.f()}}else(0,s.warn)("XFA - Invalid reference: ".concat(v,"."))}}}catch(e){g.e(e)}finally{g.f()}}}},{key:"_bindOccurrences",value:function(e,t,r){var a;if(t.length>1&&(a=e[n.$clone]()),this._bindValue(e,t[0],r),this._setProperties(e,t[0]),this._bindItems(e,t[0]),1!==t.length)for(var i=e[n.$getParent](),o=e[n.$nodeName],s=i[n.$indexOf](e),c=1,u=t.length;c<u;c++){var l=t[c],f=a[n.$clone]();f.occur.min=1,f.occur.max=1,f.occur.initial=1,i[o].push(f),i[n.$insertAt](s+c,f),this._bindValue(f,l,r),this._setProperties(f,l),this._bindItems(f,l)}}},{key:"_createOccurrences",value:function(e){if(this.emptyMerge){var t=e.occur;if(t&&!(t.initial<=1))for(var r=e[n.$getParent](),a=e[n.$nodeName],i=0,o=t.initial;i<o;i++){var s=e[n.$clone]();s.occur.min=1,s.occur.max=1,s.occur.initial=1,r[a].push(s),r[n.$appendChild](s)}}}},{key:"_getOccurInfo",value:function(e){var t=e.occur,r=e.name;if(!t||!r)return[1,1];var n=-1===t.max?1/0:t.max;return[t.min,n]}},{key:"_bindElement",value:function(e,t){var r=[];this._createOccurrences(e);var a,o=u(e[n.$getChildren]());try{for(o.s();!(a=o.n()).done;){var l=a.value;if(!l[n.$data]){void 0===this._mergeMode&&"subform"===l[n.$nodeName]&&(this._mergeMode="consumeData"===l.mergeMode);var f=!1,h=null,d=null,p=null;if(l.bind){switch(l.bind.match){case"none":this._bindElement(l,t);continue;case"global":f=!0;break;case"dataRef":if(!l.bind.ref){(0,s.warn)("XFA - ref is empty in node ".concat(l[n.$nodeName],".")),this._bindElement(l,t);continue}d=l.bind.ref}l.bind.picture&&(h=l.bind.picture[n.$content])}var g=c(this._getOccurInfo(l),2),m=g[0],v=g[1];if(d)null===(p=(0,i.searchNode)(this.root,t,d,!0,!1))?(p=(0,i.createDataNode)(this.data,t,d),this._isConsumeData()&&(p[n.$consumed]=!0),p=[p]):(this._isConsumeData()&&(p=p.filter((function(e){return!e[n.$consumed]}))),p.length>v?p=p.slice(0,v):0===p.length&&(p=null),p&&this._isConsumeData()&&p.forEach((function(e){e[n.$consumed]=!0})));else{if(!l.name){this._bindElement(l,t);continue}if(this._isConsumeData()){for(var y=[];y.length<v;){var b=this._findDataByNameToConsume(l.name,l[n.$hasSettableValue](),t,f);if(!b)break;b[n.$consumed]=!0,y.push(b)}p=y.length>0?y:null}else(p=t[n.$getRealChildrenByNameIt](l.name,!1,!1).next().value)||(p=new n.XmlObject(t[n.$namespaceId],l.name),t[n.$appendChild](p)),p=[p]}if(p){if(p.length<m){(0,s.warn)("XFA - Must have at least ".concat(m," occurrences: ").concat(e[n.$nodeName],"."));continue}this._bindOccurrences(l,p,h)}else m>0?(this._setProperties(l,t),this._bindItems(l,t),this._bindElement(l,t)):r.push(l)}}}catch(e){o.e(e)}finally{o.f()}r.forEach((function(e){return e[n.$getParent]()[n.$removeChild](e)}))}}])&&h(t.prototype,r),l&&h(t,l),e}();t.Binder=p},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Value=t.Text=t.TemplateNamespace=t.Template=t.SetProperty=t.Items=t.Field=t.BindItems=void 0;var a=r(176),i=r(178),o=r(181),s=r(182),c=r(177),u=r(4),l=r(183);function f(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=d(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(e,t)||d(e,t)||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.")}()}function d(e,t){if(e){if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return t&&g(e.prototype,t),r&&g(e,r),e}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function w(e){var t=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(e){return!1}}();return function(){var r,n=S(e);if(t){var a=S(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return k(this,r)}}function k(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}var x=i.NamespaceIds.template.id;function A(e,t){if(!e.value){var r=new _t({});e[a.$appendChild](r),e.value=r}e.value[a.$setValue](t)}function O(e){for(var t=e[a.$getParent]();!(t instanceof wt);)t=t[a.$getParent]();return t}function C(e,t){if(""!==e.w&&Math.round(e.w+e.x-t.width)>1){var r=O(e)[a.$extra].currentContentArea;return e.w+e.x>r.w?0:1}if(""!==e.h&&Math.round(e.h+e.y-t.height)>1){var n=O(e)[a.$extra].currentContentArea;return e.h+e.y>n.h?0:1}return 2}var T=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"appearanceFilter")).id=e.id||"",n.type=(0,c.getStringOption)(e.type,["optional","required"]),n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(a.StringObject),F=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"arc",!0)).circular=(0,c.getInteger)({data:e.circular,defaultValue:0,validate:function(e){return 1===e}}),n.hand=(0,c.getStringOption)(e.hand,["even","left","right"]),n.id=e.id||"",n.startAngle=(0,c.getFloat)({data:e.startAngle,defaultValue:0,validate:function(e){return!0}}),n.sweepAngle=(0,c.getFloat)({data:e.sweepAngle,defaultValue:360,validate:function(e){return!0}}),n.use=e.use||"",n.usehref=e.usehref||"",n.edge=null,n.fill=null,n}return r}(a.XFAObject),P=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"area",!0)).colSpan=(0,c.getInteger)({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),n.id=e.id||"",n.name=e.name||"",n.relevant=(0,c.getRelevant)(e.relevant),n.use=e.use||"",n.usehref=e.usehref||"",n.x=(0,c.getMeasurement)(e.x,"0pt"),n.y=(0,c.getMeasurement)(e.y,"0pt"),n.desc=null,n.extras=null,n.area=new a.XFAObjectArray,n.draw=new a.XFAObjectArray,n.exObject=new a.XFAObjectArray,n.exclGroup=new a.XFAObjectArray,n.field=new a.XFAObjectArray,n.subform=new a.XFAObjectArray,n.subformSet=new a.XFAObjectArray,n}return m(r,[{key:a.$isTransparent,value:function(){return!0}},{key:a.$addHTML,value:function(e,t){var r=h(t,4),n=r[0],i=r[1],o=r[2],s=r[3];this[a.$extra].width=Math.max(this[a.$extra].width,n+o),this[a.$extra].height=Math.max(this[a.$extra].height,i+s),this[a.$extra].children.push(e)}},{key:a.$getAvailableSpace,value:function(){return this[a.$extra].availableSpace}},{key:a.$toHTML,value:function(e){var t=(0,o.toStyle)(this,"position"),r={style:t,id:this[a.$uid],class:"xfaArea"};this.name&&(r.xfaName=this.name);var n=[];if(this[a.$extra]={children:n,width:0,height:0,availableSpace:e},!this[a.$childrenToHTML]({filter:new Set(["area","draw","field","exclGroup","subform","subformSet"]),include:!0}))return delete this[a.$extra],c.HTMLResult.empty;t.width=(0,o.measureToString)(this[a.$extra].width),t.height=(0,o.measureToString)(this[a.$extra].height);var i={name:"div",attributes:r,children:n},s=[this.x,this.y,this[a.$extra].width,this[a.$extra].height];return delete this[a.$extra],c.HTMLResult.success(i,s)}}]),r}(a.XFAObject),_=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"assist",!0)).id=e.id||"",n.role=e.role||"",n.use=e.use||"",n.usehref=e.usehref||"",n.speak=null,n.toolTip=null,n}return r}(a.XFAObject),I=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"barcode",!0)).charEncoding=(0,c.getKeyword)({data:e.charEncoding?e.charEncoding.toLowerCase():"",defaultValue:"",validate:function(e){return["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(e)||e.match(/iso-8859-[0-9]{2}/)}}),n.checksum=(0,c.getStringOption)(e.checksum,["none","1mod10","1mod10_1mod11","2mod10","auto"]),n.dataColumnCount=(0,c.getInteger)({data:e.dataColumnCount,defaultValue:-1,validate:function(e){return e>=0}}),n.dataLength=(0,c.getInteger)({data:e.dataLength,defaultValue:-1,validate:function(e){return e>=0}}),n.dataPrep=(0,c.getStringOption)(e.dataPrep,["none","flateCompress"]),n.dataRowCount=(0,c.getInteger)({data:e.dataRowCount,defaultValue:-1,validate:function(e){return e>=0}}),n.endChar=e.endChar||"",n.errorCorrectionLevel=(0,c.getInteger)({data:e.errorCorrectionLevel,defaultValue:-1,validate:function(e){return e>=0&&e<=8}}),n.id=e.id||"",n.moduleHeight=(0,c.getMeasurement)(e.moduleHeight,"5mm"),n.moduleWidth=(0,c.getMeasurement)(e.moduleWidth,"0.25mm"),n.printCheckDigit=(0,c.getInteger)({data:e.printCheckDigit,defaultValue:0,validate:function(e){return 1===e}}),n.rowColumnRatio=(0,c.getRatio)(e.rowColumnRatio),n.startChar=e.startChar||"",n.textLocation=(0,c.getStringOption)(e.textLocation,["below","above","aboveEmbedded","belowEmbedded","none"]),n.truncate=(0,c.getInteger)({data:e.truncate,defaultValue:0,validate:function(e){return 1===e}}),n.type=(0,c.getStringOption)(e.type?e.type.toLowerCase():"",["aztec","codabar","code2of5industrial","code2of5interleaved","code2of5matrix","code2of5standard","code3of9","code3of9extended","code11","code49","code93","code128","code128a","code128b","code128c","code128sscc","datamatrix","ean8","ean8add2","ean8add5","ean13","ean13add2","ean13add5","ean13pwcd","fim","logmars","maxicode","msi","pdf417","pdf417macro","plessey","postauscust2","postauscust3","postausreplypaid","postausstandard","postukrm4scc","postusdpbc","postusimb","postusstandard","postus5zip","qrcode","rfid","rss14","rss14expanded","rss14limited","rss14stacked","rss14stackedomni","rss14truncated","telepen","ucc128","ucc128random","ucc128sscc","upca","upcaadd2","upcaadd5","upcapwcd","upce","upceadd2","upceadd5","upcean2","upcean5","upsmaxicode"]),n.upsMode=(0,c.getStringOption)(e.upsMode,["usCarrier","internationalCarrier","secureSymbol","standardSymbol"]),n.use=e.use||"",n.usehref=e.usehref||"",n.wideNarrowRatio=(0,c.getRatio)(e.wideNarrowRatio),n.encrypt=null,n.extras=null,n}return r}(a.XFAObject),E=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"bind",!0)).match=(0,c.getStringOption)(e.match,["once","dataRef","global","none"]),n.ref=e.ref||"",n.picture=null,n}return r}(a.XFAObject),j=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"bindItems")).connection=e.connection||"",n.labelRef=e.labelRef||"",n.ref=e.ref||"",n.valueRef=e.valueRef||"",n}return r}(a.XFAObject);t.BindItems=j;var R=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"bookend")).id=e.id||"",n.leader=e.leader||"",n.trailer=e.trailer||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(a.XFAObject),M=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"boolean")).id=e.id||"",n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return m(r,[{key:a.$toHTML,value:function(e){return c.HTMLResult.success(1===this[a.$content])}}]),r}(a.Option01),N=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"border",!0)).break=(0,c.getStringOption)(e.break,["close","open"]),n.hand=(0,c.getStringOption)(e.hand,["even","left","right"]),n.id=e.id||"",n.presence=(0,c.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),n.relevant=(0,c.getRelevant)(e.relevant),n.use=e.use||"",n.usehref=e.usehref||"",n.corner=new a.XFAObjectArray(4),n.edge=new a.XFAObjectArray(4),n.extras=null,n.fill=null,n.margin=null,n}return m(r,[{key:a.$toStyle,value:function(e,t){var r=this.edge.children.slice();if(r.length<4)for(var n=r[r.length-1]||new se({}),i=r.length;i<4;i++)r.push(n);e=e||[0,0,0,0];for(var s=0;s<4;s++)e[s]=r[s].thickness;t=t||[0,0,0,0];var c,u=r.map((function(e){var t=e[a.$toStyle]();return t.color=t.color||"#000000",t}));this.margin?(c=this.margin[a.$toStyle](),t[0]=this.margin.topInset,t[1]=this.margin.rightInset,t[2]=this.margin.bottomInset,t[3]=this.margin.leftInset):c=Object.create(null);var l=!1,f=this[a.$getParent]();(f?f[a.$getParent]():null)instanceof Ft&&(l=!0),this.fill&&Object.assign(c,this.fill[a.$toStyle]());var h=!1;if(this.corner.children.some((function(e){return 0!==e.radius}))){var d=this.corner.children.map((function(e){return e[a.$toStyle]()}));if(2===d.length||3===d.length)for(var p=d[d.length-1],g=d.length;g<4;g++)d.push(p);c.borderRadius=d.map((function(e){return e.radius})).join(" "),h=!0}var m=u[0];if(!h&&(this.edge.children.length<=1||u.every((function(e){return e.style===m.style&&e.width===m.width&&e.color===m.color}))&&t.every((function(e){return e===t[0]})))){var v;switch(this.presence){case"invisible":case"hidden":v="";break;case"inactive":v="none";break;default:v=m.style}c.outline="".concat(m.width," ").concat(m.color," ").concat(v);var y=r[0].thickness+t[0];c.outlineOffset="-".concat((0,o.measureToString)(y)),l&&(c.padding="".concat((0,o.measureToString)(y+1)))}else{switch(this.presence){case"invisible":case"hidden":c.borderStyle="";break;case"inactive":c.borderStyle="none";break;default:c.borderStyle=u.map((function(e){return e.style})).join(" ")}c.borderWidth=u.map((function(e){return e.width})).join(" "),c.borderColor=u.map((function(e){return e.color})).join(" ")}return c}}]),r}(a.XFAObject),B=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"break",!0)).after=(0,c.getStringOption)(e.after,["auto","contentArea","pageArea","pageEven","pageOdd"]),n.afterTarget=e.afterTarget||"",n.before=(0,c.getStringOption)(e.before,["auto","contentArea","pageArea","pageEven","pageOdd"]),n.beforeTarget=e.beforeTarget||"",n.bookendLeader=e.bookendLeader||"",n.bookendTrailer=e.bookendTrailer||"",n.id=e.id||"",n.overflowLeader=e.overflowLeader||"",n.overflowTarget=e.overflowTarget||"",n.overflowTrailer=e.overflowTrailer||"",n.startNew=(0,c.getInteger)({data:e.startNew,defaultValue:0,validate:function(e){return 1===e}}),n.use=e.use||"",n.usehref=e.usehref||"",n.extras=null,n}return r}(a.XFAObject),D=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"breakAfter",!0)).id=e.id||"",n.leader=e.leader||"",n.startNew=(0,c.getInteger)({data:e.startNew,defaultValue:0,validate:function(e){return 1===e}}),n.target=e.target||"",n.targetType=(0,c.getStringOption)(e.targetType,["auto","contentArea","pageArea","pageEven","pageOdd"]),n.trailer=e.trailer||"",n.use=e.use||"",n.usehref=e.usehref||"",n.script=null,n}return r}(a.XFAObject),L=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"breakBefore",!0)).id=e.id||"",n.leader=e.leader||"",n.startNew=(0,c.getInteger)({data:e.startNew,defaultValue:0,validate:function(e){return 1===e}}),n.target=e.target||"",n.targetType=(0,c.getStringOption)(e.targetType,["auto","contentArea","pageArea","pageEven","pageOdd"]),n.trailer=e.trailer||"",n.use=e.use||"",n.usehref=e.usehref||"",n.script=null,n}return m(r,[{key:a.$toHTML,value:function(e){return this[a.$extra]={},c.HTMLResult.FAILURE}}]),r}(a.XFAObject),U=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"button",!0)).highlight=(0,c.getStringOption)(e.highlight,["inverted","none","outline","push"]),n.id=e.id||"",n.use=e.use||"",n.usehref=e.usehref||"",n.extras=null,n}return m(r,[{key:a.$toHTML,value:function(e){return c.HTMLResult.success({name:"button",attributes:{class:"xfaButton",style:{}},children:[]})}}]),r}(a.XFAObject),q=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"calculate",!0)).id=e.id||"",n.override=(0,c.getStringOption)(e.override,["disabled","error","ignore","warning"]),n.use=e.use||"",n.usehref=e.usehref||"",n.extras=null,n.message=null,n.script=null,n}return r}(a.XFAObject),X=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"caption",!0)).id=e.id||"",n.placement=(0,c.getStringOption)(e.placement,["left","bottom","inline","right","top"]),n.presence=(0,c.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),n.reserve=(0,c.getMeasurement)(e.reserve),n.use=e.use||"",n.usehref=e.usehref||"",n.extras=null,n.font=null,n.margin=null,n.para=null,n.value=null,n}return m(r,[{key:a.$setValue,value:function(e){A(this,e)}},{key:a.$toHTML,value:function(e){if(!this.value)return c.HTMLResult.EMPTY;var t=this.value[a.$toHTML](e).html;if(!t)return c.HTMLResult.EMPTY;var r=[];"string"==typeof t?r.push({name:"#text",value:t}):r.push(t);var n=(0,o.toStyle)(this,"font","margin","para","visibility");switch(this.placement){case"left":case"right":this.reserve>0?n.width=(0,o.measureToString)(this.reserve):n.minWidth=(0,o.measureToString)(this.reserve);break;case"top":case"bottom":this.reserve>0?n.height=(0,o.measureToString)(this.reserve):n.minHeight=(0,o.measureToString)(this.reserve)}return c.HTMLResult.success({name:"div",attributes:{style:n,class:"xfaCaption"},children:r})}}]),r}(a.XFAObject),H=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"certificate")).id=e.id||"",n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(a.StringObject),$=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"certificates",!0)).credentialServerPolicy=(0,c.getStringOption)(e.credentialServerPolicy,["optional","required"]),n.id=e.id||"",n.url=e.url||"",n.urlPolicy=e.urlPolicy||"",n.use=e.use||"",n.usehref=e.usehref||"",n.encryption=null,n.issuers=null,n.keyUsage=null,n.oids=null,n.signing=null,n.subjectDNs=null,n}return r}(a.XFAObject),z=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"checkButton",!0)).id=e.id||"",n.mark=(0,c.getStringOption)(e.mark,["default","check","circle","cross","diamond","square","star"]),n.shape=(0,c.getStringOption)(e.shape,["square","round"]),n.size=(0,c.getMeasurement)(e.size,"10pt"),n.use=e.use||"",n.usehref=e.usehref||"",n.border=null,n.extras=null,n.margin=null,n}return m(r,[{key:a.$toHTML,value:function(e){var t,r,n=(0,o.toStyle)(this,"border","margin"),i=(0,o.measureToString)(this.size);if(n.width=n.height=i,"square"===this.shape?(t="▪",r="10%"):(t="●",r="50%"),n.borderRadius||(n.borderRadius=r),"default"!==this.mark)switch(this.mark){case"check":t="✓";break;case"circle":t="●";break;case"cross":t="✕";break;case"diamond":t="♦";break;case"square":t="▪";break;case"star":t="★"}"10px"!==i&&(n.fontSize=i,n.lineHeight=i,n.width=i,n.height=i);var s=this[a.$getParent]()[a.$getParent]()[a.$uid],u={name:"input",attributes:{class:"xfaCheckbox",fieldId:s,type:"radio",id:"".concat(s,"-radio")}},l=this[a.$getParent]()[a.$getParent]()[a.$getParent]();return l instanceof ye&&(u.attributes.name=l[a.$uid]),c.HTMLResult.success({name:"label",attributes:{class:"xfaLabel"},children:[u,{name:"span",attributes:{class:"xfaCheckboxMark",mark:t,style:n}}]})}}]),r}(a.XFAObject),G=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"choiceList",!0)).commitOn=(0,c.getStringOption)(e.commitOn,["select","exit"]),n.id=e.id||"",n.open=(0,c.getStringOption)(e.open,["userControl","always","multiSelect","onEntry"]),n.textEntry=(0,c.getInteger)({data:e.textEntry,defaultValue:0,validate:function(e){return 1===e}}),n.use=e.use||"",n.usehref=e.usehref||"",n.border=null,n.extras=null,n.margin=null,n}return m(r,[{key:a.$toHTML,value:function(e){var t=(0,o.toStyle)(this,"border","margin"),r=this[a.$getParent]()[a.$getParent](),n=[];if(r.items.children.length>0)for(var i=r.items.children[0][a.$toHTML]().html,s=r.items.children[1]?r.items.children[1][a.$toHTML]().html:[],u=0,l=i.length;u<l;u++)n.push({name:"option",attributes:{value:s[u]||i[u]},value:i[u]});var f={class:"xfaSelect",fieldId:this[a.$getParent]()[a.$getParent]()[a.$uid],style:t};return"multiSelect"===this.open&&(f.multiple=!0),c.HTMLResult.success({name:"label",attributes:{class:"xfaLabel"},children:[{name:"select",children:n,attributes:f}]})}}]),r}(a.XFAObject),W=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"color",!0)).cSpace=(0,c.getStringOption)(e.cSpace,["SRGB"]),n.id=e.id||"",n.use=e.use||"",n.usehref=e.usehref||"",n.value=e.value?(0,c.getColor)(e.value):"",n.extras=null,n}return m(r,[{key:a.$hasSettableValue,value:function(){return!1}},{key:a.$toStyle,value:function(){return this.value?u.Util.makeHexColor(this.value.r,this.value.g,this.value.b):null}}]),r}(a.XFAObject),V=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"comb")).id=e.id||"",n.numberOfCells=(0,c.getInteger)({data:e.numberOfCells,defaultValue:0,validate:function(e){return e>=0}}),n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(a.XFAObject),K=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"connect",!0)).connection=e.connection||"",n.id=e.id||"",n.ref=e.ref||"",n.usage=(0,c.getStringOption)(e.usage,["exportAndImport","exportOnly","importOnly"]),n.use=e.use||"",n.usehref=e.usehref||"",n.picture=null,n}return r}(a.XFAObject),Y=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"contentArea",!0)).h=(0,c.getMeasurement)(e.h),n.id=e.id||"",n.name=e.name||"",n.relevant=(0,c.getRelevant)(e.relevant),n.use=e.use||"",n.usehref=e.usehref||"",n.w=(0,c.getMeasurement)(e.w),n.x=(0,c.getMeasurement)(e.x,"0pt"),n.y=(0,c.getMeasurement)(e.y,"0pt"),n.desc=null,n.extras=null,n}return m(r,[{key:a.$toHTML,value:function(e){var t={position:"absolute",left:(0,o.measureToString)(this.x),top:(0,o.measureToString)(this.y),width:(0,o.measureToString)(this.w),height:(0,o.measureToString)(this.h)};return c.HTMLResult.success({name:"div",children:[],attributes:{style:t,class:"xfaContentarea",id:this[a.$uid]}})}}]),r}(a.XFAObject),J=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"corner",!0)).id=e.id||"",n.inverted=(0,c.getInteger)({data:e.inverted,defaultValue:0,validate:function(e){return 1===e}}),n.join=(0,c.getStringOption)(e.join,["square","round"]),n.presence=(0,c.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),n.radius=(0,c.getMeasurement)(e.radius),n.stroke=(0,c.getStringOption)(e.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),n.thickness=(0,c.getMeasurement)(e.thickness,"0.5pt"),n.use=e.use||"",n.usehref=e.usehref||"",n.color=null,n.extras=null,n}return m(r,[{key:a.$toStyle,value:function(){var e=(0,o.toStyle)(this,"visibility");return e.radius=(0,o.measureToString)(this.radius),e}}]),r}(a.XFAObject),Z=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"date")).id=e.id||"",n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return m(r,[{key:a.$finalize,value:function(){this[a.$content]=new Date(this[a.$content].trim())}},{key:a.$toHTML,value:function(e){return c.HTMLResult.success(this[a.$content].toString())}}]),r}(a.ContentObject),Q=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"dateTime")).id=e.id||"",n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return m(r,[{key:a.$finalize,value:function(){this[a.$content]=new Date(this[a.$content].trim())}},{key:a.$toHTML,value:function(e){return c.HTMLResult.success(this[a.$content].toString())}}]),r}(a.ContentObject),ee=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"dateTimeEdit",!0)).hScrollPolicy=(0,c.getStringOption)(e.hScrollPolicy,["auto","off","on"]),n.id=e.id||"",n.picker=(0,c.getStringOption)(e.picker,["host","none"]),n.use=e.use||"",n.usehref=e.usehref||"",n.border=null,n.comb=null,n.extras=null,n.margin=null,n}return m(r,[{key:a.$toHTML,value:function(e){var t=(0,o.toStyle)(this,"border","font","margin"),r={name:"input",attributes:{type:"text",fieldId:this[a.$getParent]()[a.$getParent]()[a.$uid],class:"xfaTextfield",style:t}};return c.HTMLResult.success({name:"label",attributes:{class:"xfaLabel"},children:[r]})}}]),r}(a.XFAObject),te=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"decimal")).fracDigits=(0,c.getInteger)({data:e.fracDigits,defaultValue:2,validate:function(e){return!0}}),n.id=e.id||"",n.leadDigits=(0,c.getInteger)({data:e.leadDigits,defaultValue:-1,validate:function(e){return!0}}),n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return m(r,[{key:a.$finalize,value:function(){var e=parseFloat(this[a.$content].trim());this[a.$content]=isNaN(e)?null:e}},{key:a.$toHTML,value:function(e){return c.HTMLResult.success(null!==this[a.$content]?this[a.$content].toString():"")}}]),r}(a.ContentObject),re=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"defaultUi",!0)).id=e.id||"",n.use=e.use||"",n.usehref=e.usehref||"",n.extras=null,n}return r}(a.XFAObject),ne=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"desc",!0)).id=e.id||"",n.use=e.use||"",n.usehref=e.usehref||"",n.boolean=new a.XFAObjectArray,n.date=new a.XFAObjectArray,n.dateTime=new a.XFAObjectArray,n.decimal=new a.XFAObjectArray,n.exData=new a.XFAObjectArray,n.float=new a.XFAObjectArray,n.image=new a.XFAObjectArray,n.integer=new a.XFAObjectArray,n.text=new a.XFAObjectArray,n.time=new a.XFAObjectArray,n}return r}(a.XFAObject),ae=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"digestMethod",["","SHA1","SHA256","SHA512","RIPEMD160"])).id=e.id||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(a.OptionObject),ie=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"digestMethods",!0)).id=e.id||"",n.type=(0,c.getStringOption)(e.type,["optional","required"]),n.use=e.use||"",n.usehref=e.usehref||"",n.digestMethod=new a.XFAObjectArray,n}return r}(a.XFAObject),oe=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"draw",!0)).anchorType=(0,c.getStringOption)(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),n.colSpan=(0,c.getInteger)({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),n.h=e.h?(0,c.getMeasurement)(e.h):"",n.hAlign=(0,c.getStringOption)(e.hAlign,["left","center","justify","justifyAll","radix","right"]),n.id=e.id||"",n.locale=e.locale||"",n.maxH=(0,c.getMeasurement)(e.maxH,"0pt"),n.maxW=(0,c.getMeasurement)(e.maxW,"0pt"),n.minH=(0,c.getMeasurement)(e.minH,"0pt"),n.minW=(0,c.getMeasurement)(e.minW,"0pt"),n.name=e.name||"",n.presence=(0,c.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),n.relevant=(0,c.getRelevant)(e.relevant),n.rotate=(0,c.getInteger)({data:e.rotate,defaultValue:0,validate:function(e){return e%90==0}}),n.use=e.use||"",n.usehref=e.usehref||"",n.w=e.w?(0,c.getMeasurement)(e.w):"",n.x=(0,c.getMeasurement)(e.x,"0pt"),n.y=(0,c.getMeasurement)(e.y,"0pt"),n.assist=null,n.border=null,n.caption=null,n.desc=null,n.extras=null,n.font=null,n.keep=null,n.margin=null,n.para=null,n.traversal=null,n.ui=null,n.value=null,n.setProperty=new a.XFAObjectArray,n}return m(r,[{key:a.$setValue,value:function(e){A(this,e)}},{key:a.$toHTML,value:function(e){if("hidden"===this.presence||"inactive"===this.presence||0===this.h||0===this.w)return c.HTMLResult.EMPTY;if((0,o.fixDimensions)(this),""!==this.w&&""===this.h&&this.value){var t=this.value[a.$text]();if(t){var r=(0,o.layoutText)(t,this.font.size,{width:this.w,height:1/0}).height;this.h=r||""}}switch(C(this,e)){case 0:return c.HTMLResult.EMPTY;case 1:return c.HTMLResult.FAILURE}var n=(0,o.toStyle)(this,"font","hAlign","dimensions","position","presence","rotate","anchorType","borderMarginPadding"),i=["xfaDraw"];this.font&&i.push("xfaFont");var s={style:n,id:this[a.$uid],class:i.join(" ")};this.name&&(s.xfaName=this.name);var u={name:"div",attributes:s,children:[]},l=(0,o.addExtraDivForBorder)(u),f=(0,o.computeBbox)(this,u,e),d=this.value?this.value[a.$toHTML](e).html:null;if(null===d)return c.HTMLResult.success(l,f);if(u.children.push(d),"xfaRich"===d.attributes.class&&(""===this.h&&(n.height="auto"),""===this.w&&(n.width="auto"),this.para)){switch(s.style.display="flex",s.style.flexDirection="column",this.para.vAlign){case"top":s.style.justifyContent="start";break;case"bottom":s.style.justifyContent="end";break;case"middle":s.style.justifyContent="center"}var p=this.para[a.$toStyle]();if(d.attributes.style)for(var g=0,m=Object.entries(p);g<m.length;g++){var v=h(m[g],2),y=v[0],b=v[1];y in d.attributes.style||(d.attributes.style[y]=b)}else d.attributes.style=p}return c.HTMLResult.success(l,f)}}]),r}(a.XFAObject),se=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"edge",!0)).cap=(0,c.getStringOption)(e.cap,["square","butt","round"]),n.id=e.id||"",n.presence=(0,c.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),n.stroke=(0,c.getStringOption)(e.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),n.thickness=Math.max(1,Math.round((0,c.getMeasurement)(e.thickness,"0.5pt"))),n.use=e.use||"",n.usehref=e.usehref||"",n.color=null,n.extras=null,n}return m(r,[{key:a.$toStyle,value:function(){var e=(0,o.toStyle)(this,"visibility");if(Object.assign(e,{linecap:this.cap,width:(0,o.measureToString)(Math.max(1,Math.round(this.thickness))),color:this.color?this.color[a.$toStyle]():"#000000",style:""}),"visible"!==this.presence)e.style="none";else switch(this.stroke){case"solid":e.style="solid";break;case"dashDot":case"dashDotDot":case"dashed":e.style="dashed";break;case"dotted":e.style="dotted";break;case"embossed":e.style="ridge";break;case"etched":e.style="groove";break;case"lowered":e.style="inset";break;case"raised":e.style="outset"}return e}}]),r}(a.XFAObject),ce=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"encoding",["adbe.x509.rsa_sha1","adbe.pkcs7.detached","adbe.pkcs7.sha1"])).id=e.id||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(a.OptionObject),ue=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"encodings",!0)).id=e.id||"",n.type=(0,c.getStringOption)(e.type,["optional","required"]),n.use=e.use||"",n.usehref=e.usehref||"",n.encoding=new a.XFAObjectArray,n}return r}(a.XFAObject),le=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"encrypt",!0)).id=e.id||"",n.use=e.use||"",n.usehref=e.usehref||"",n.certificate=null,n}return r}(a.XFAObject),fe=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"encryptData",!0)).id=e.id||"",n.operation=(0,c.getStringOption)(e.operation,["encrypt","decrypt"]),n.target=e.target||"",n.use=e.use||"",n.usehref=e.usehref||"",n.filter=null,n.manifest=null,n}return r}(a.XFAObject),he=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"encryption",!0)).id=e.id||"",n.type=(0,c.getStringOption)(e.type,["optional","required"]),n.use=e.use||"",n.usehref=e.usehref||"",n.certificate=new a.XFAObjectArray,n}return r}(a.XFAObject),de=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"encryptionMethod",["","AES256-CBC","TRIPLEDES-CBC","AES128-CBC","AES192-CBC"])).id=e.id||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(a.OptionObject),pe=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"encryptionMethods",!0)).id=e.id||"",n.type=(0,c.getStringOption)(e.type,["optional","required"]),n.use=e.use||"",n.usehref=e.usehref||"",n.encryptionMethod=new a.XFAObjectArray,n}return r}(a.XFAObject),ge=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"event",!0)).activity=(0,c.getStringOption)(e.activity,["click","change","docClose","docReady","enter","exit","full","indexChange","initialize","mouseDown","mouseEnter","mouseExit","mouseUp","postExecute","postOpen","postPrint","postSave","postSign","postSubmit","preExecute","preOpen","prePrint","preSave","preSign","preSubmit","ready","validationState"]),n.id=e.id||"",n.listen=(0,c.getStringOption)(e.listen,["refOnly","refAndDescendents"]),n.name=e.name||"",n.ref=e.ref||"",n.use=e.use||"",n.usehref=e.usehref||"",n.extras=null,n.encryptData=null,n.execute=null,n.script=null,n.signData=null,n.submit=null,n}return r}(a.XFAObject),me=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"exData")).contentType=e.contentType||"",n.href=e.href||"",n.id=e.id||"",n.maxLength=(0,c.getInteger)({data:e.maxLength,defaultValue:-1,validate:function(e){return e>=-1}}),n.name=e.name||"",n.rid=e.rid||"",n.transferEncoding=(0,c.getStringOption)(e.transferEncoding,["none","base64","package"]),n.use=e.use||"",n.usehref=e.usehref||"",n}return m(r,[{key:a.$onChild,value:function(e){return("text/html"===this.contentType&&e[a.$namespaceId]===i.NamespaceIds.xhtml.id||"text/xml"===this.contentType)&&(this[a.$content]=e,!0)}},{key:a.$toHTML,value:function(e){return"text/html"===this.contentType&&this[a.$content]?this[a.$content][a.$toHTML](e):c.HTMLResult.EMPTY}}]),r}(a.ContentObject),ve=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"exObject",!0)).archive=e.archive||"",n.classId=e.classId||"",n.codeBase=e.codeBase||"",n.codeType=e.codeType||"",n.id=e.id||"",n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n.extras=null,n.boolean=new a.XFAObjectArray,n.date=new a.XFAObjectArray,n.dateTime=new a.XFAObjectArray,n.decimal=new a.XFAObjectArray,n.exData=new a.XFAObjectArray,n.exObject=new a.XFAObjectArray,n.float=new a.XFAObjectArray,n.image=new a.XFAObjectArray,n.integer=new a.XFAObjectArray,n.text=new a.XFAObjectArray,n.time=new a.XFAObjectArray,n}return r}(a.XFAObject),ye=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"exclGroup",!0)).access=(0,c.getStringOption)(e.access,["open","nonInteractive","protected","readOnly"]),n.accessKey=e.accessKey||"",n.anchorType=(0,c.getStringOption)(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),n.colSpan=(0,c.getInteger)({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),n.h=e.h?(0,c.getMeasurement)(e.h):"",n.hAlign=(0,c.getStringOption)(e.hAlign,["left","center","justify","justifyAll","radix","right"]),n.id=e.id||"",n.layout=(0,c.getStringOption)(e.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),n.maxH=(0,c.getMeasurement)(e.maxH,"0pt"),n.maxW=(0,c.getMeasurement)(e.maxW,"0pt"),n.minH=(0,c.getMeasurement)(e.minH,"0pt"),n.minW=(0,c.getMeasurement)(e.minW,"0pt"),n.name=e.name||"",n.presence=(0,c.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),n.relevant=(0,c.getRelevant)(e.relevant),n.use=e.use||"",n.usehref=e.usehref||"",n.w=e.w?(0,c.getMeasurement)(e.w):"",n.x=(0,c.getMeasurement)(e.x,"0pt"),n.y=(0,c.getMeasurement)(e.y,"0pt"),n.assist=null,n.bind=null,n.border=null,n.calculate=null,n.caption=null,n.desc=null,n.extras=null,n.margin=null,n.para=null,n.traversal=null,n.validate=null,n.connect=new a.XFAObjectArray,n.event=new a.XFAObjectArray,n.field=new a.XFAObjectArray,n.setProperty=new a.XFAObjectArray,n}return m(r,[{key:a.$hasSettableValue,value:function(){return!0}},{key:a.$setValue,value:function(e){var t,r=f(this.field.children);try{for(r.s();!(t=r.n()).done;){var n=t.value;if(!n.value){var i=new _t({});n[a.$appendChild](i),n.value=i}var o=new M({});o[a.$content]=0;var s,c=f(n.items.children);try{for(c.s();!(s=c.n()).done;)if(s.value[a.$hasItem](e)){o[a.$content]=1;break}}catch(e){c.e(e)}finally{c.f()}n.value[a.$setValue](o)}}catch(e){r.e(e)}finally{r.f()}}},{key:a.$flushHTML,value:function(){return(0,s.flushHTML)(this)}},{key:a.$addHTML,value:function(e,t){(0,s.addHTML)(this,e,t)}},{key:a.$getAvailableSpace,value:function(){return(0,s.getAvailableSpace)(this)}},{key:a.$toHTML,value:function(e){if("hidden"===this.presence||"inactive"===this.presence||0===this.h||0===this.w)return c.HTMLResult.EMPTY;(0,o.fixDimensions)(this);var t=[],r={id:this[a.$uid]};switch(this[a.$extra]||(this[a.$extra]=Object.create(null)),Object.assign(this[a.$extra],{children:t,attributes:r,attempt:0,availableSpace:e,width:0,height:0,prevHeight:0,currentWidth:0}),C(this,e)){case 0:return c.HTMLResult.EMPTY;case 1:return c.HTMLResult.FAILURE}e={width:""===this.w?e.width:this.w,height:""===this.h?e.height:this.h};var n=new Set(["field"]);if("row"===this.layout){var i=this[a.$getParent]().columnWidths;Array.isArray(i)&&i.length>0&&(this[a.$extra].columnWidths=i,this[a.$extra].currentColumn=0)}var s,u=(0,o.toStyle)(this,"anchorType","dimensions","position","presence","borderMarginPadding","hAlign"),l=["xfaExclgroup"],f=(0,o.layoutClass)(this);if(f&&l.push(f),r.style=u,r.class=l.join(" "),this.name&&(r.xfaName=this.name),"lr-tb"===this.layout||"rl-tb"===this.layout){for(;this[a.$extra].attempt<2&&!this[a.$childrenToHTML]({filter:n,include:!0});this[a.$extra].attempt++);s=2===this[a.$extra].attempt}else s=!this[a.$childrenToHTML]({filter:n,include:!0});if(s)return c.HTMLResult.FAILURE;var h=0,d=0;this.margin&&(h=this.margin.leftInset+this.margin.rightInset,d=this.margin.topInset+this.margin.bottomInset),""===this.w&&(u.width=(0,o.measureToString)(this[a.$extra].width+h)),""===this.h&&(u.height=(0,o.measureToString)(this[a.$extra].height+d));var p,g={name:"div",attributes:r,children:t};if(g=(0,o.addExtraDivForBorder)(g),""!==this.w&&""!==this.h)p=[this.x,this.y,this.w,this.h];else{var m=""===this.w?h+this[a.$extra].width:this.w,v=""===this.h?d+this[a.$extra].height:this.h;p=[this.x,this.y,m,v]}return delete this[a.$extra],c.HTMLResult.success(g,p)}}]),r}(a.XFAObject),be=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"execute")).connection=e.connection||"",n.executeType=(0,c.getStringOption)(e.executeType,["import","remerge"]),n.id=e.id||"",n.runAt=(0,c.getStringOption)(e.runAt,["client","both","server"]),n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(a.XFAObject),we=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"extras",!0)).id=e.id||"",n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n.boolean=new a.XFAObjectArray,n.date=new a.XFAObjectArray,n.dateTime=new a.XFAObjectArray,n.decimal=new a.XFAObjectArray,n.exData=new a.XFAObjectArray,n.extras=new a.XFAObjectArray,n.float=new a.XFAObjectArray,n.image=new a.XFAObjectArray,n.integer=new a.XFAObjectArray,n.text=new a.XFAObjectArray,n.time=new a.XFAObjectArray,n}return r}(a.XFAObject),ke=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"field",!0)).access=(0,c.getStringOption)(e.access,["open","nonInteractive","protected","readOnly"]),n.accessKey=e.accessKey||"",n.anchorType=(0,c.getStringOption)(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),n.colSpan=(0,c.getInteger)({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),n.h=e.h?(0,c.getMeasurement)(e.h):"",n.hAlign=(0,c.getStringOption)(e.hAlign,["left","center","justify","justifyAll","radix","right"]),n.id=e.id||"",n.locale=e.locale||"",n.maxH=(0,c.getMeasurement)(e.maxH,"0pt"),n.maxW=(0,c.getMeasurement)(e.maxW,"0pt"),n.minH=(0,c.getMeasurement)(e.minH,"0pt"),n.minW=(0,c.getMeasurement)(e.minW,"0pt"),n.name=e.name||"",n.presence=(0,c.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),n.relevant=(0,c.getRelevant)(e.relevant),n.rotate=(0,c.getInteger)({data:e.rotate,defaultValue:0,validate:function(e){return e%90==0}}),n.use=e.use||"",n.usehref=e.usehref||"",n.w=e.w?(0,c.getMeasurement)(e.w):"",n.x=(0,c.getMeasurement)(e.x,"0pt"),n.y=(0,c.getMeasurement)(e.y,"0pt"),n.assist=null,n.bind=null,n.border=null,n.calculate=null,n.caption=null,n.desc=null,n.extras=null,n.font=null,n.format=null,n.items=new a.XFAObjectArray(2),n.keep=null,n.margin=null,n.para=null,n.traversal=null,n.ui=null,n.validate=null,n.value=null,n.bindItems=new a.XFAObjectArray,n.connect=new a.XFAObjectArray,n.event=new a.XFAObjectArray,n.setProperty=new a.XFAObjectArray,n}return m(r,[{key:a.$setValue,value:function(e){A(this,e)}},{key:a.$toHTML,value:function(e){if(!this.ui||"hidden"===this.presence||"inactive"===this.presence||0===this.h||0===this.w)return c.HTMLResult.EMPTY;switch((0,o.fixDimensions)(this),C(this,e)){case 0:return c.HTMLResult.EMPTY;case 1:return c.HTMLResult.FAILURE}var t=(0,o.toStyle)(this,"font","dimensions","position","rotate","anchorType","presence","borderMarginPadding","hAlign"),r=["xfaField"];this.font&&r.push("xfaFont");var n={style:t,id:this[a.$uid],class:r.join(" ")};this.name&&(n.xfaName=this.name);var i=[],s={name:"div",attributes:n,children:i},u=(0,o.computeBbox)(this,s,e);s=(0,o.addExtraDivForBorder)(s);var l=this.ui?this.ui[a.$toHTML]().html:null;if(!l)return c.HTMLResult.success(s,u);if(l.attributes.style||(l.attributes.style=Object.create(null)),i.push(l),this.value)if(this.ui.imageEdit)l.children.push(this.value[a.$toHTML]().html);else if("button"!==l.name){var f=this.value[a.$toHTML]().html;f&&("textarea"===l.children[0].name?l.children[0].attributes.textContent=f.value:l.children[0].attributes.value=f.value)}var h=this.caption?this.caption[a.$toHTML]().html:null;if(!h)return c.HTMLResult.success(s,u);if("button"===l.name)return l.attributes.style.background=t.background,delete t.background,"div"===h.name&&(h.name="span"),l.children.push(h),c.HTMLResult.success(s,u);switch(l.children.splice(0,0,h),this.caption.placement){case"left":l.attributes.style.flexDirection="row";break;case"right":l.attributes.style.flexDirection="row-reverse";break;case"top":l.attributes.style.alignItems="start",l.attributes.style.flexDirection="column";break;case"bottom":l.attributes.style.alignItems="start",l.attributes.style.flexDirection="column-reverse";break;case"inline":delete l.attributes.class,h.attributes.style.float="left"}return c.HTMLResult.success(s,u)}}]),r}(a.XFAObject);t.Field=ke;var Se=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"fill",!0)).id=e.id||"",n.presence=(0,c.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),n.use=e.use||"",n.usehref=e.usehref||"",n.color=null,n.extras=null,n.linear=null,n.pattern=null,n.radial=null,n.solid=null,n.stipple=null,n}return m(r,[{key:a.$toStyle,value:function(){var e="color";this[a.$getParent]()instanceof N&&(e="background");var t,r=Object.create(null),n=f(Object.getOwnPropertyNames(this));try{for(n.s();!(t=n.n()).done;){var i=t.value;if("extras"!==i&&"color"!==i){var o=this[i];if(o instanceof a.XFAObject)return r[e]=o[a.$toStyle](this.color),r}}}catch(e){n.e(e)}finally{n.f()}return this.color&&(r[e]=this.color[a.$toStyle]()),r}}]),r}(a.XFAObject),xe=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"filter",!0)).addRevocationInfo=(0,c.getStringOption)(e.addRevocationInfo,["","required","optional","none"]),n.id=e.id||"",n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n.version=(0,c.getInteger)({data:n.version,defaultValue:5,validate:function(e){return e>=1&&e<=5}}),n.appearanceFilter=null,n.certificates=null,n.digestMethods=null,n.encodings=null,n.encryptionMethods=null,n.handler=null,n.lockDocument=null,n.mdp=null,n.reasons=null,n.timeStamp=null,n}return r}(a.XFAObject),Ae=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"float")).id=e.id||"",n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return m(r,[{key:a.$finalize,value:function(){var e=parseFloat(this[a.$content].trim());this[a.$content]=isNaN(e)?null:e}},{key:a.$toHTML,value:function(e){return c.HTMLResult.success(null!==this[a.$content]?this[a.$content].toString():"")}}]),r}(a.ContentObject),Oe=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"font",!0)).baselineShift=(0,c.getMeasurement)(e.baselineShift),n.fontHorizontalScale=(0,c.getFloat)({data:e.fontHorizontalScale,defaultValue:100,validate:function(e){return e>=0}}),n.fontVerticalScale=(0,c.getFloat)({data:e.fontVerticalScale,defaultValue:100,validate:function(e){return e>=0}}),n.id=e.id||"",n.kerningMode=(0,c.getStringOption)(e.kerningMode,["none","pair"]),n.letterSpacing=(0,c.getMeasurement)(e.letterSpacing,"0"),n.lineThrough=(0,c.getInteger)({data:e.lineThrough,defaultValue:0,validate:function(e){return 1===e||2===e}}),n.lineThroughPeriod=(0,c.getStringOption)(e.lineThroughPeriod,["all","word"]),n.overline=(0,c.getInteger)({data:e.overline,defaultValue:0,validate:function(e){return 1===e||2===e}}),n.overlinePeriod=(0,c.getStringOption)(e.overlinePeriod,["all","word"]),n.posture=(0,c.getStringOption)(e.posture,["normal","italic"]),n.size=(0,c.getMeasurement)(e.size,"10pt"),n.typeface=e.typeface||"",n.underline=(0,c.getInteger)({data:e.underline,defaultValue:0,validate:function(e){return 1===e||2===e}}),n.underlinePeriod=(0,c.getStringOption)(e.underlinePeriod,["all","word"]),n.use=e.use||"",n.usehref=e.usehref||"",n.weight=(0,c.getStringOption)(e.weight,["normal","bold"]),n.extras=null,n.fill=null,n}return m(r,[{key:a.$toStyle,value:function(){var e=(0,o.toStyle)(this,"fill"),t=e.color;t&&("#000000"===t?delete e.color:t.startsWith("#")||(e.background=t,e.backgroundClip="text",e.color="transparent")),this.baselineShift&&(e.verticalAlign=(0,o.measureToString)(this.baselineShift)),"none"!==this.kerningMode&&(e.fontKerning="normal"),this.letterSpacing&&(e.letterSpacing=(0,o.measureToString)(this.letterSpacing)),0!==this.lineThrough&&(e.textDecoration="line-through",2===this.lineThrough&&(e.textDecorationStyle="double")),0!==this.overline&&(e.textDecoration="overline",2===this.overline&&(e.textDecorationStyle="double")),"normal"!==this.posture&&(e.fontStyle=this.posture);var r=(0,o.measureToString)(.99*this.size);return"10px"!==r&&(e.fontSize=r),e.fontFamily=(0,o.getFonts)(this.typeface),0!==this.underline&&(e.textDecoration="underline",2===this.underline&&(e.textDecorationStyle="double")),"normal"!==this.weight&&(e.fontWeight=this.weight),e}}]),r}(a.XFAObject),Ce=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"format",!0)).id=e.id||"",n.use=e.use||"",n.usehref=e.usehref||"",n.extras=null,n.picture=null,n}return r}(a.XFAObject),Te=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"handler")).id=e.id||"",n.type=(0,c.getStringOption)(e.type,["optional","required"]),n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(a.StringObject),Fe=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"hyphenation")).excludeAllCaps=(0,c.getInteger)({data:e.excludeAllCaps,defaultValue:0,validate:function(e){return 1===e}}),n.excludeInitialCap=(0,c.getInteger)({data:e.excludeInitialCap,defaultValue:0,validate:function(e){return 1===e}}),n.hyphenate=(0,c.getInteger)({data:e.hyphenate,defaultValue:0,validate:function(e){return 1===e}}),n.id=e.id||"",n.pushCharacterCount=(0,c.getInteger)({data:e.pushCharacterCount,defaultValue:3,validate:function(e){return e>=0}}),n.remainCharacterCount=(0,c.getInteger)({data:e.remainCharacterCount,defaultValue:3,validate:function(e){return e>=0}}),n.use=e.use||"",n.usehref=e.usehref||"",n.wordCharacterCount=(0,c.getInteger)({data:e.wordCharacterCount,defaultValue:7,validate:function(e){return e>=0}}),n}return r}(a.XFAObject),Pe=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"image")).aspect=(0,c.getStringOption)(e.aspect,["fit","actual","height","none","width"]),n.contentType=e.contentType||"",n.href=e.href||"",n.id=e.id||"",n.name=e.name||"",n.transferEncoding=(0,c.getStringOption)(e.transferEncoding,["base64","none","package"]),n.use=e.use||"",n.usehref=e.usehref||"",n}return m(r,[{key:a.$toHTML,value:function(){if(this.href||!this[a.$content])return c.HTMLResult.EMPTY;if("base64"===this.transferEncoding){var e=(0,u.stringToBytes)(atob(this[a.$content])),t=new Blob([e],{type:this.contentType});return c.HTMLResult.success({name:"img",attributes:{class:"xfaImage",style:{},src:URL.createObjectURL(t)}})}return c.HTMLResult.EMPTY}}]),r}(a.StringObject),_e=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"imageEdit",!0)).data=(0,c.getStringOption)(e.data,["link","embed"]),n.id=e.id||"",n.use=e.use||"",n.usehref=e.usehref||"",n.border=null,n.extras=null,n.margin=null,n}return m(r,[{key:a.$toHTML,value:function(e){return"embed"===this.data?c.HTMLResult.success({name:"div",children:[],attributes:{}}):c.HTMLResult.EMPTY}}]),r}(a.XFAObject),Ie=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"integer")).id=e.id||"",n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return m(r,[{key:a.$finalize,value:function(){var e=parseInt(this[a.$content].trim(),10);this[a.$content]=isNaN(e)?null:e}},{key:a.$toHTML,value:function(e){return c.HTMLResult.success(null!==this[a.$content]?this[a.$content].toString():"")}}]),r}(a.ContentObject),Ee=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"issuers",!0)).id=e.id||"",n.type=(0,c.getStringOption)(e.type,["optional","required"]),n.use=e.use||"",n.usehref=e.usehref||"",n.certificate=new a.XFAObjectArray,n}return r}(a.XFAObject),je=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"items",!0)).id=e.id||"",n.name=e.name||"",n.presence=(0,c.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),n.ref=e.ref||"",n.save=(0,c.getInteger)({data:e.save,defaultValue:0,validate:function(e){return 1===e}}),n.use=e.use||"",n.usehref=e.usehref||"",n.boolean=new a.XFAObjectArray,n.date=new a.XFAObjectArray,n.dateTime=new a.XFAObjectArray,n.decimal=new a.XFAObjectArray,n.exData=new a.XFAObjectArray,n.float=new a.XFAObjectArray,n.image=new a.XFAObjectArray,n.integer=new a.XFAObjectArray,n.text=new a.XFAObjectArray,n.time=new a.XFAObjectArray,n}return m(r,[{key:a.$hasItem,value:function(e){return this.hasOwnProperty(e[a.$nodeName])&&this[e[a.$nodeName]].children.some((function(t){return t[a.$content]===e[a.$content]}))}},{key:a.$toHTML,value:function(){var e,t=[],r=f(this[a.$getChildren]());try{for(r.s();!(e=r.n()).done;){var n=e.value;t.push(n[a.$text]())}}catch(e){r.e(e)}finally{r.f()}return c.HTMLResult.success(t)}}]),r}(a.XFAObject);t.Items=je;var Re=function(e){y(r,e);var t=w(r);function r(e){var n;v(this,r),(n=t.call(this,x,"keep",!0)).id=e.id||"";var a=["none","contentArea","pageArea"];return n.intact=(0,c.getStringOption)(e.intact,a),n.next=(0,c.getStringOption)(e.next,a),n.previous=(0,c.getStringOption)(e.previous,a),n.use=e.use||"",n.usehref=e.usehref||"",n.extras=null,n}return r}(a.XFAObject),Me=function(e){y(r,e);var t=w(r);function r(e){var n;v(this,r);var a=["","yes","no"];return(n=t.call(this,x,"keyUsage")).crlSign=(0,c.getStringOption)(e.crlSign,a),n.dataEncipherment=(0,c.getStringOption)(e.dataEncipherment,a),n.decipherOnly=(0,c.getStringOption)(e.decipherOnly,a),n.digitalSignature=(0,c.getStringOption)(e.digitalSignature,a),n.encipherOnly=(0,c.getStringOption)(e.encipherOnly,a),n.id=e.id||"",n.keyAgreement=(0,c.getStringOption)(e.keyAgreement,a),n.keyCertSign=(0,c.getStringOption)(e.keyCertSign,a),n.keyEncipherment=(0,c.getStringOption)(e.keyEncipherment,a),n.nonRepudiation=(0,c.getStringOption)(e.nonRepudiation,a),n.type=(0,c.getStringOption)(e.type,["optional","required"]),n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(a.XFAObject),Ne=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"line",!0)).hand=(0,c.getStringOption)(e.hand,["even","left","right"]),n.id=e.id||"",n.slope=(0,c.getStringOption)(e.slope,["\\\\","/"]),n.use=e.use||"",n.usehref=e.usehref||"",n.edge=null,n}return r}(a.XFAObject),Be=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"linear",!0)).id=e.id||"",n.type=(0,c.getStringOption)(e.type,["toRight","toBottom","toLeft","toTop"]),n.use=e.use||"",n.usehref=e.usehref||"",n.color=null,n.extras=null,n}return m(r,[{key:a.$toStyle,value:function(e){e=e?e[a.$toStyle]():"#FFFFFF";var t=this.type.replace(/([RBLT])/," $1").toLowerCase(),r=this.color?this.color[a.$toStyle]():"#000000";return"linear-gradient(".concat(t,", ").concat(e,", ").concat(r,")")}}]),r}(a.XFAObject),De=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"lockDocument")).id=e.id||"",n.type=(0,c.getStringOption)(e.type,["optional","required"]),n.use=e.use||"",n.usehref=e.usehref||"",n}return m(r,[{key:a.$finalize,value:function(){this[a.$content]=(0,c.getStringOption)(this[a.$content],["auto","0","1"])}}]),r}(a.ContentObject),Le=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"manifest",!0)).action=(0,c.getStringOption)(e.action,["include","all","exclude"]),n.id=e.id||"",n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n.extras=null,n.ref=new a.XFAObjectArray,n}return r}(a.XFAObject),Ue=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"margin",!0)).bottomInset=(0,c.getMeasurement)(e.bottomInset,"0"),n.id=e.id||"",n.leftInset=(0,c.getMeasurement)(e.leftInset,"0"),n.rightInset=(0,c.getMeasurement)(e.rightInset,"0"),n.topInset=(0,c.getMeasurement)(e.topInset,"0"),n.use=e.use||"",n.usehref=e.usehref||"",n.extras=null,n}return m(r,[{key:a.$toStyle,value:function(){return{margin:(0,o.measureToString)(this.topInset)+" "+(0,o.measureToString)(this.rightInset)+" "+(0,o.measureToString)(this.bottomInset)+" "+(0,o.measureToString)(this.leftInset)}}}]),r}(a.XFAObject),qe=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"mdp")).id=e.id||"",n.permissions=(0,c.getInteger)({data:e.permissions,defaultValue:2,validate:function(e){return 1===e||3===e}}),n.signatureType=(0,c.getStringOption)(e.signatureType,["filler","author"]),n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(a.XFAObject),Xe=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"medium")).id=e.id||"",n.imagingBBox=(0,c.getBBox)(e.imagingBBox),n.long=(0,c.getMeasurement)(e.long),n.orientation=(0,c.getStringOption)(e.orientation,["portrait","landscape"]),n.short=(0,c.getMeasurement)(e.short),n.stock=e.stock||"",n.trayIn=(0,c.getStringOption)(e.trayIn,["auto","delegate","pageFront"]),n.trayOut=(0,c.getStringOption)(e.trayOut,["auto","delegate"]),n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(a.XFAObject),He=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"message",!0)).id=e.id||"",n.use=e.use||"",n.usehref=e.usehref||"",n.text=new a.XFAObjectArray,n}return r}(a.XFAObject),$e=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"numericEdit",!0)).hScrollPolicy=(0,c.getStringOption)(e.hScrollPolicy,["auto","off","on"]),n.id=e.id||"",n.use=e.use||"",n.usehref=e.usehref||"",n.border=null,n.comb=null,n.extras=null,n.margin=null,n}return m(r,[{key:a.$toHTML,value:function(e){var t=(0,o.toStyle)(this,"border","font","margin"),r={name:"input",attributes:{type:"text",fieldId:this[a.$getParent]()[a.$getParent]()[a.$uid],class:"xfaTextfield",style:t}};return c.HTMLResult.success({name:"label",attributes:{class:"xfaLabel"},children:[r]})}}]),r}(a.XFAObject),ze=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"occur",!0)).id=e.id||"",n.initial=(0,c.getInteger)({data:e.initial,defaultValue:1,validate:function(e){return!0}}),n.max=(0,c.getInteger)({data:e.max,defaultValue:1,validate:function(e){return!0}}),n.min=(0,c.getInteger)({data:e.min,defaultValue:1,validate:function(e){return!0}}),n.use=e.use||"",n.usehref=e.usehref||"",n.extras=null,n}return r}(a.XFAObject),Ge=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"oid")).id=e.id||"",n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(a.StringObject),We=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"oids",!0)).id=e.id||"",n.type=(0,c.getStringOption)(e.type,["optional","required"]),n.use=e.use||"",n.usehref=e.usehref||"",n.oid=new a.XFAObjectArray,n}return r}(a.XFAObject),Ve=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"overflow")).id=e.id||"",n.leader=e.leader||"",n.target=e.target||"",n.trailer=e.trailer||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(a.XFAObject),Ke=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"pageArea",!0)).blankOrNotBlank=(0,c.getStringOption)(e.blankOrNotBlank,["any","blank","notBlank"]),n.id=e.id||"",n.initialNumber=(0,c.getInteger)({data:e.initialNumber,defaultValue:1,validate:function(e){return!0}}),n.name=e.name||"",n.numbered=(0,c.getInteger)({data:e.numbered,defaultValue:1,validate:function(e){return!0}}),n.oddOrEven=(0,c.getStringOption)(e.oddOrEven,["any","even","odd"]),n.pagePosition=(0,c.getStringOption)(e.pagePosition,["any","first","last","only","rest"]),n.relevant=(0,c.getRelevant)(e.relevant),n.use=e.use||"",n.usehref=e.usehref||"",n.desc=null,n.extras=null,n.medium=null,n.occur=null,n.area=new a.XFAObjectArray,n.contentArea=new a.XFAObjectArray,n.draw=new a.XFAObjectArray,n.exclGroup=new a.XFAObjectArray,n.field=new a.XFAObjectArray,n.subform=new a.XFAObjectArray,n}return m(r,[{key:a.$getNextPage,value:function(){this[a.$extra]||(this[a.$extra]={numberOfUse:1});var e=this[a.$getParent]();return"orderedOccurrence"===e.relation&&this.occur&&(-1===this.occur.max||this[a.$extra].numberOfUse<this.occur.max)?(this[a.$extra].numberOfUse+=1,this):(delete this[a.$extra],e[a.$getNextPage]())}},{key:a.$getAvailableSpace,value:function(){return{width:1/0,height:1/0}}},{key:a.$toHTML,value:function(){this[a.$extra]||(this[a.$extra]={numberOfUse:1});var e=[];this[a.$extra].children=e;var t=Object.create(null);if(this.medium&&this.medium.short&&this.medium.long){if(t.width=(0,o.measureToString)(this.medium.short),t.height=(0,o.measureToString)(this.medium.long),"landscape"===this.medium.orientation){var r=t.width;t.width=t.height,t.height=r}}else(0,u.warn)("XFA - No medium specified in pageArea: please file a bug.");return this[a.$childrenToHTML]({filter:new Set(["area","draw","field","subform","contentArea"]),include:!0}),c.HTMLResult.success({name:"div",children:e,attributes:{id:this[a.$uid],style:t}})}}]),r}(a.XFAObject),Ye=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"pageSet",!0)).duplexImposition=(0,c.getStringOption)(e.duplexImposition,["longEdge","shortEdge"]),n.id=e.id||"",n.name=e.name||"",n.relation=(0,c.getStringOption)(e.relation,["orderedOccurrence","duplexPaginated","simplexPaginated"]),n.relevant=(0,c.getRelevant)(e.relevant),n.use=e.use||"",n.usehref=e.usehref||"",n.extras=null,n.occur=null,n.pageArea=new a.XFAObjectArray,n.pageSet=new a.XFAObjectArray,n}return m(r,[{key:a.$getNextPage,value:function(){if(this[a.$extra]||(this[a.$extra]={numberOfUse:1,currentIndex:-1}),"orderedOccurrence"===this.relation){if(this[a.$extra].currentIndex+1<this.pageArea.children.length)return this[a.$extra].currentIndex+=1,this.pageArea.children[this[a.$extra].currentIndex];if(this[a.$extra].currentIndex+1<this.pageSet.children.length)return this[a.$extra].currentIndex+=1,this.pageSet.children[this[a.$extra].currentIndex];if(this.occur&&(-1===this.occur.max||this[a.$extra].numberOfUse<this.occur.max))return this[a.$extra].numberOfUse+=1,this[a.$extra].currentIndex=0,this.pageArea.children.length>0?this.pageArea.children[0]:this.pageSet.children[0][a.$getNextPage]();delete this[a.$extra];var e=this[a.$getParent]();return e instanceof r?e[a.$getNextPage]():this[a.$getNextPage]()}var t=O(this)[a.$extra].pageNumber,n=t%2==0?"even":"odd",i=0===t?"first":"rest",o=this.pageArea.children.find((function(e){return e.oddOrEven===n&&e.pagePosition===i}));return o||((o=this.pageArea.children.find((function(e){return"any"===e.oddOrEven&&e.pagePosition===i})))?o:(o=this.pageArea.children.find((function(e){return"any"===e.oddOrEven&&"any"===e.pagePosition})))||this.pageArea.children[0])}}]),r}(a.XFAObject),Je=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"para",!0)).hAlign=(0,c.getStringOption)(e.hAlign,["left","center","justify","justifyAll","radix","right"]),n.id=e.id||"",n.lineHeight=e.lineHeight?(0,c.getMeasurement)(e.lineHeight,"0pt"):"",n.marginLeft=e.marginLeft?(0,c.getMeasurement)(e.marginLeft,"0pt"):"",n.marginRight=e.marginRight?(0,c.getMeasurement)(e.marginRight,"0pt"):"",n.orphans=(0,c.getInteger)({data:e.orphans,defaultValue:0,validate:function(e){return e>=0}}),n.preserve=e.preserve||"",n.radixOffset=e.radixOffset?(0,c.getMeasurement)(e.radixOffset,"0pt"):"",n.spaceAbove=e.spaceAbove?(0,c.getMeasurement)(e.spaceAbove,"0pt"):"",n.spaceBelow=e.spaceBelow?(0,c.getMeasurement)(e.spaceBelow,"0pt"):"",n.tabDefault=e.tabDefault?(0,c.getMeasurement)(n.tabDefault):"",n.tabStops=(e.tabStops||"").trim().split(/\\s+/).map((function(e,t){return t%2==1?(0,c.getMeasurement)(e):e})),n.textIndent=e.textIndent?(0,c.getMeasurement)(e.textIndent,"0pt"):"",n.use=e.use||"",n.usehref=e.usehref||"",n.vAlign=(0,c.getStringOption)(e.vAlign,["top","bottom","middle"]),n.widows=(0,c.getInteger)({data:e.widows,defaultValue:0,validate:function(e){return e>=0}}),n.hyphenation=null,n}return m(r,[{key:a.$toStyle,value:function(){var e=(0,o.toStyle)(this,"hAlign");return""!==this.marginLeft&&(e.marginLeft=(0,o.measureToString)(this.marginLeft)),""!==this.marginRight&&(e.marginRight=(0,o.measureToString)(this.marginRight)),""!==this.spaceAbove&&(e.marginTop=(0,o.measureToString)(this.spaceAbove)),""!==this.spaceBelow&&(e.marginBottom=(0,o.measureToString)(this.spaceBelow)),""!==this.textIndent&&(e.textIndent=(0,o.measureToString)(this.textIndent),(0,o.fixTextIndent)(e)),this.lineHeight>0&&(e.lineHeight=(0,o.measureToString)(this.lineHeight)),""!==this.tabDefault&&(e.tabSize=(0,o.measureToString)(this.tabDefault)),this.tabStops.length,this.hyphenatation&&Object.assign(e,this.hyphenatation[a.$toStyle]()),e}}]),r}(a.XFAObject),Ze=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"passwordEdit",!0)).hScrollPolicy=(0,c.getStringOption)(e.hScrollPolicy,["auto","off","on"]),n.id=e.id||"",n.passwordChar=e.passwordChar||"*",n.use=e.use||"",n.usehref=e.usehref||"",n.border=null,n.extras=null,n.margin=null,n}return r}(a.XFAObject),Qe=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"pattern",!0)).id=e.id||"",n.type=(0,c.getStringOption)(e.type,["crossHatch","crossDiagonal","diagonalLeft","diagonalRight","horizontal","vertical"]),n.use=e.use||"",n.usehref=e.usehref||"",n.color=null,n.extras=null,n}return m(r,[{key:a.$toStyle,value:function(e){e=e?e[a.$toStyle]():"#FFFFFF";var t=this.color?this.color[a.$toStyle]():"#000000",r="repeating-linear-gradient",n="".concat(e,",").concat(e," ").concat(5,"px,").concat(t," ").concat(5,"px,").concat(t," ").concat(10,"px");switch(this.type){case"crossHatch":return"".concat(r,"(to top,").concat(n,") ").concat(r,"(to right,").concat(n,")");case"crossDiagonal":return"".concat(r,"(45deg,").concat(n,") ").concat(r,"(-45deg,").concat(n,")");case"diagonalLeft":return"".concat(r,"(45deg,").concat(n,")");case"diagonalRight":return"".concat(r,"(-45deg,").concat(n,")");case"horizontal":return"".concat(r,"(to top,").concat(n,")");case"vertical":return"".concat(r,"(to right,").concat(n,")")}return""}}]),r}(a.XFAObject),et=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"picture")).id=e.id||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(a.StringObject),tt=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"proto",!0)).appearanceFilter=new a.XFAObjectArray,n.arc=new a.XFAObjectArray,n.area=new a.XFAObjectArray,n.assist=new a.XFAObjectArray,n.barcode=new a.XFAObjectArray,n.bindItems=new a.XFAObjectArray,n.bookend=new a.XFAObjectArray,n.boolean=new a.XFAObjectArray,n.border=new a.XFAObjectArray,n.break=new a.XFAObjectArray,n.breakAfter=new a.XFAObjectArray,n.breakBefore=new a.XFAObjectArray,n.button=new a.XFAObjectArray,n.calculate=new a.XFAObjectArray,n.caption=new a.XFAObjectArray,n.certificate=new a.XFAObjectArray,n.certificates=new a.XFAObjectArray,n.checkButton=new a.XFAObjectArray,n.choiceList=new a.XFAObjectArray,n.color=new a.XFAObjectArray,n.comb=new a.XFAObjectArray,n.connect=new a.XFAObjectArray,n.contentArea=new a.XFAObjectArray,n.corner=new a.XFAObjectArray,n.date=new a.XFAObjectArray,n.dateTime=new a.XFAObjectArray,n.dateTimeEdit=new a.XFAObjectArray,n.decimal=new a.XFAObjectArray,n.defaultUi=new a.XFAObjectArray,n.desc=new a.XFAObjectArray,n.digestMethod=new a.XFAObjectArray,n.digestMethods=new a.XFAObjectArray,n.draw=new a.XFAObjectArray,n.edge=new a.XFAObjectArray,n.encoding=new a.XFAObjectArray,n.encodings=new a.XFAObjectArray,n.encrypt=new a.XFAObjectArray,n.encryptData=new a.XFAObjectArray,n.encryption=new a.XFAObjectArray,n.encryptionMethod=new a.XFAObjectArray,n.encryptionMethods=new a.XFAObjectArray,n.event=new a.XFAObjectArray,n.exData=new a.XFAObjectArray,n.exObject=new a.XFAObjectArray,n.exclGroup=new a.XFAObjectArray,n.execute=new a.XFAObjectArray,n.extras=new a.XFAObjectArray,n.field=new a.XFAObjectArray,n.fill=new a.XFAObjectArray,n.filter=new a.XFAObjectArray,n.float=new a.XFAObjectArray,n.font=new a.XFAObjectArray,n.format=new a.XFAObjectArray,n.handler=new a.XFAObjectArray,n.hyphenation=new a.XFAObjectArray,n.image=new a.XFAObjectArray,n.imageEdit=new a.XFAObjectArray,n.integer=new a.XFAObjectArray,n.issuers=new a.XFAObjectArray,n.items=new a.XFAObjectArray,n.keep=new a.XFAObjectArray,n.keyUsage=new a.XFAObjectArray,n.line=new a.XFAObjectArray,n.linear=new a.XFAObjectArray,n.lockDocument=new a.XFAObjectArray,n.manifest=new a.XFAObjectArray,n.margin=new a.XFAObjectArray,n.mdp=new a.XFAObjectArray,n.medium=new a.XFAObjectArray,n.message=new a.XFAObjectArray,n.numericEdit=new a.XFAObjectArray,n.occur=new a.XFAObjectArray,n.oid=new a.XFAObjectArray,n.oids=new a.XFAObjectArray,n.overflow=new a.XFAObjectArray,n.pageArea=new a.XFAObjectArray,n.pageSet=new a.XFAObjectArray,n.para=new a.XFAObjectArray,n.passwordEdit=new a.XFAObjectArray,n.pattern=new a.XFAObjectArray,n.picture=new a.XFAObjectArray,n.radial=new a.XFAObjectArray,n.reason=new a.XFAObjectArray,n.reasons=new a.XFAObjectArray,n.rectangle=new a.XFAObjectArray,n.ref=new a.XFAObjectArray,n.script=new a.XFAObjectArray,n.setProperty=new a.XFAObjectArray,n.signData=new a.XFAObjectArray,n.signature=new a.XFAObjectArray,n.signing=new a.XFAObjectArray,n.solid=new a.XFAObjectArray,n.speak=new a.XFAObjectArray,n.stipple=new a.XFAObjectArray,n.subform=new a.XFAObjectArray,n.subformSet=new a.XFAObjectArray,n.subjectDN=new a.XFAObjectArray,n.subjectDNs=new a.XFAObjectArray,n.submit=new a.XFAObjectArray,n.text=new a.XFAObjectArray,n.textEdit=new a.XFAObjectArray,n.time=new a.XFAObjectArray,n.timeStamp=new a.XFAObjectArray,n.toolTip=new a.XFAObjectArray,n.traversal=new a.XFAObjectArray,n.traverse=new a.XFAObjectArray,n.ui=new a.XFAObjectArray,n.validate=new a.XFAObjectArray,n.value=new a.XFAObjectArray,n.variables=new a.XFAObjectArray,n}return r}(a.XFAObject),rt=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"radial",!0)).id=e.id||"",n.type=(0,c.getStringOption)(e.type,["toEdge","toCenter"]),n.use=e.use||"",n.usehref=e.usehref||"",n.color=null,n.extras=null,n}return m(r,[{key:a.$toStyle,value:function(e){e=e?e[a.$toStyle]():"#FFFFFF";var t=this.color?this.color[a.$toStyle]():"#000000",r="toEdge"===this.type?"".concat(e,",").concat(t):"".concat(t,",").concat(e);return"radial-gradient(circle to center, ".concat(r,")")}}]),r}(a.XFAObject),nt=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"reason")).id=e.id||"",n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(a.StringObject),at=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"reasons",!0)).id=e.id||"",n.type=(0,c.getStringOption)(e.type,["optional","required"]),n.use=e.use||"",n.usehref=e.usehref||"",n.reason=new a.XFAObjectArray,n}return r}(a.XFAObject),it=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"rectangle",!0)).hand=(0,c.getStringOption)(e.hand,["even","left","right"]),n.id=e.id||"",n.use=e.use||"",n.usehref=e.usehref||"",n.corner=new a.XFAObjectArray(4),n.edge=new a.XFAObjectArray(4),n.fill=null,n}return r}(a.XFAObject),ot=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"ref")).id=e.id||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(a.StringObject),st=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"script")).binding=e.binding||"",n.contentType=e.contentType||"",n.id=e.id||"",n.name=e.name||"",n.runAt=(0,c.getStringOption)(e.runAt,["client","both","server"]),n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(a.StringObject),ct=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"setProperty")).connection=e.connection||"",n.ref=e.ref||"",n.target=e.target||"",n}return r}(a.XFAObject);t.SetProperty=ct;var ut=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"signData",!0)).id=e.id||"",n.operation=(0,c.getStringOption)(e.operation,["sign","clear","verify"]),n.ref=e.ref||"",n.target=e.target||"",n.use=e.use||"",n.usehref=e.usehref||"",n.filter=null,n.manifest=null,n}return r}(a.XFAObject),lt=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"signature",!0)).id=e.id||"",n.type=(0,c.getStringOption)(e.type,["PDF1.3","PDF1.6"]),n.use=e.use||"",n.usehref=e.usehref||"",n.border=null,n.extras=null,n.filter=null,n.manifest=null,n.margin=null,n}return r}(a.XFAObject),ft=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"signing",!0)).id=e.id||"",n.type=(0,c.getStringOption)(e.type,["optional","required"]),n.use=e.use||"",n.usehref=e.usehref||"",n.certificate=new a.XFAObjectArray,n}return r}(a.XFAObject),ht=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"solid",!0)).id=e.id||"",n.use=e.use||"",n.usehref=e.usehref||"",n.extras=null,n}return m(r,[{key:a.$toStyle,value:function(e){return e?e[a.$toStyle]():"#FFFFFF"}}]),r}(a.XFAObject),dt=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"speak")).disable=(0,c.getInteger)({data:e.disable,defaultValue:0,validate:function(e){return 1===e}}),n.id=e.id||"",n.priority=(0,c.getStringOption)(e.priority,["custom","caption","name","toolTip"]),n.rid=e.rid||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(a.StringObject),pt=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"stipple",!0)).id=e.id||"",n.rate=(0,c.getInteger)({data:e.rate,defaultValue:50,validate:function(e){return e>=0&&e<=100}}),n.use=e.use||"",n.usehref=e.usehref||"",n.color=null,n.extras=null,n}return m(r,[{key:a.$toStyle,value:function(e){var t=this.rate/100;return u.Util.makeHexColor(Math.round(e.value.r*(1-t)+this.value.r*t),Math.round(e.value.g*(1-t)+this.value.g*t),Math.round(e.value.b*(1-t)+this.value.b*t))}}]),r}(a.XFAObject),gt=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"subform",!0)).access=(0,c.getStringOption)(e.access,["open","nonInteractive","protected","readOnly"]),n.allowMacro=(0,c.getInteger)({data:e.allowMacro,defaultValue:0,validate:function(e){return 1===e}}),n.anchorType=(0,c.getStringOption)(e.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),n.colSpan=(0,c.getInteger)({data:e.colSpan,defaultValue:1,validate:function(e){return e>=1||-1===e}}),n.columnWidths=(e.columnWidths||"").trim().split(/\\s+/).map((function(e){return"-1"===e?-1:(0,c.getMeasurement)(e)})),n.h=e.h?(0,c.getMeasurement)(e.h):"",n.hAlign=(0,c.getStringOption)(e.hAlign,["left","center","justify","justifyAll","radix","right"]),n.id=e.id||"",n.layout=(0,c.getStringOption)(e.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),n.locale=e.locale||"",n.maxH=(0,c.getMeasurement)(e.maxH,"0pt"),n.maxW=(0,c.getMeasurement)(e.maxW,"0pt"),n.mergeMode=(0,c.getStringOption)(e.mergeMode,["consumeData","matchTemplate"]),n.minH=(0,c.getMeasurement)(e.minH,"0pt"),n.minW=(0,c.getMeasurement)(e.minW,"0pt"),n.name=e.name||"",n.presence=(0,c.getStringOption)(e.presence,["visible","hidden","inactive","invisible"]),n.relevant=(0,c.getRelevant)(e.relevant),n.restoreState=(0,c.getStringOption)(e.restoreState,["manual","auto"]),n.scope=(0,c.getStringOption)(e.scope,["name","none"]),n.use=e.use||"",n.usehref=e.usehref||"",n.w=e.w?(0,c.getMeasurement)(e.w):"",n.x=(0,c.getMeasurement)(e.x,"0pt"),n.y=(0,c.getMeasurement)(e.y,"0pt"),n.assist=null,n.bind=null,n.bookend=null,n.border=null,n.break=null,n.calculate=null,n.desc=null,n.extras=null,n.keep=null,n.margin=null,n.occur=null,n.overflow=null,n.pageSet=null,n.para=null,n.traversal=null,n.validate=null,n.variables=null,n.area=new a.XFAObjectArray,n.breakAfter=new a.XFAObjectArray,n.breakBefore=new a.XFAObjectArray,n.connect=new a.XFAObjectArray,n.draw=new a.XFAObjectArray,n.event=new a.XFAObjectArray,n.exObject=new a.XFAObjectArray,n.exclGroup=new a.XFAObjectArray,n.field=new a.XFAObjectArray,n.proto=new a.XFAObjectArray,n.setProperty=new a.XFAObjectArray,n.subform=new a.XFAObjectArray,n.subformSet=new a.XFAObjectArray,n}return m(r,[{key:a.$flushHTML,value:function(){return(0,s.flushHTML)(this)}},{key:a.$addHTML,value:function(e,t){(0,s.addHTML)(this,e,t)}},{key:a.$getAvailableSpace,value:function(){return(0,s.getAvailableSpace)(this)}},{key:a.$toHTML,value:function(e){if("helpText"===this.name)return c.HTMLResult.EMPTY;if(this[a.$extra]&&this[a.$extra].afterBreakAfter){var t=this[a.$extra].afterBreakAfter;return delete this[a.$extra],t}if("hidden"===this.presence||"inactive"===this.presence)return c.HTMLResult.EMPTY;(this.breakBefore.children.length>1||this.breakAfter.children.length>1)&&(0,u.warn)("XFA - Several breakBefore or breakAfter in subforms: please file a bug."),(0,o.fixDimensions)(this);var r=[],n={id:this[a.$uid]};if(this[a.$extra]||(this[a.$extra]=Object.create(null)),Object.assign(this[a.$extra],{children:r,attributes:n,attempt:0,availableSpace:e,width:0,height:0,prevHeight:0,currentWidth:0}),this.breakBefore.children.length>=1){var i=this.breakBefore.children[0];if(!i[a.$extra])return i[a.$extra]=!0,O(this)[a.$break](i),c.HTMLResult.FAILURE}switch(C(this,e)){case 0:return c.HTMLResult.EMPTY;case 1:return c.HTMLResult.FAILURE}var s=new Set(["area","draw","exclGroup","field","subform","subformSet"]);if(this.layout.includes("row")){var l=this[a.$getParent]().columnWidths;Array.isArray(l)&&l.length>0&&(this[a.$extra].columnWidths=l,this[a.$extra].currentColumn=0)}var f,h=(0,o.toStyle)(this,"anchorType","dimensions","position","presence","borderMarginPadding","hAlign"),d=["xfaSubform"],p=(0,o.layoutClass)(this);if(p&&d.push(p),n.style=h,n.class=d.join(" "),this.name&&(n.xfaName=this.name),"lr-tb"===this.layout||"rl-tb"===this.layout){for(;this[a.$extra].attempt<2&&!this[a.$childrenToHTML]({filter:s,include:!0});this[a.$extra].attempt++);f=2===this[a.$extra].attempt}else f=!this[a.$childrenToHTML]({filter:s,include:!0});if(f)return c.HTMLResult.FAILURE;var g=0,m=0;this.margin&&(g=this.margin.leftInset+this.margin.rightInset,m=this.margin.topInset+this.margin.bottomInset),""===this.w&&(h.width=(0,o.measureToString)(this[a.$extra].width+g)),""===this.h&&(h.height=(0,o.measureToString)(this[a.$extra].height+m));var v,y={name:"div",attributes:n,children:r};if(y=(0,o.addExtraDivForBorder)(y),""!==this.w&&""!==this.h)v=[this.x,this.y,this.w,this.h];else{var b=""===this.w?g+this[a.$extra].width:this.w,w=""===this.h?m+this[a.$extra].height:this.h;v=[this.x,this.y,b,w]}if(this.breakAfter.children.length>=1){var k=this.breakAfter.children[0];return O(this)[a.$break](k),this[a.$extra].afterBreakAfter=c.HTMLResult.success(y,v),c.HTMLResult.FAILURE}return delete this[a.$extra],c.HTMLResult.success(y,v)}}]),r}(a.XFAObject),mt=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"subformSet",!0)).id=e.id||"",n.name=e.name||"",n.relation=(0,c.getStringOption)(e.relation,["ordered","choice","unordered"]),n.relevant=(0,c.getRelevant)(e.relevant),n.use=e.use||"",n.usehref=e.usehref||"",n.bookend=null,n.break=null,n.desc=null,n.extras=null,n.occur=null,n.overflow=null,n.breakAfter=new a.XFAObjectArray,n.breakBefore=new a.XFAObjectArray,n.subform=new a.XFAObjectArray,n.subformSet=new a.XFAObjectArray,n}return m(r,[{key:a.$toHTML,value:function(){var e=[];return this[a.$extra]||(this[a.$extra]=Object.create(null)),this[a.$extra].children=e,this[a.$childrenToHTML]({filter:new Set(["subform","subformSet"]),include:!0}),c.HTMLResult.success({name:"div",children:e,attributes:{id:this[a.$uid]}})}}]),r}(a.XFAObject),vt=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"subjectDN")).delimiter=e.delimiter||",",n.id=e.id||"",n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return m(r,[{key:a.$finalize,value:function(){this[a.$content]=new Map(this[a.$content].split(this.delimiter).map((function(e){return(e=e.split("=",2))[0]=e[0].trim(),e})))}}]),r}(a.ContentObject),yt=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"subjectDNs",!0)).id=e.id||"",n.type=(0,c.getStringOption)(e.type,["optional","required"]),n.use=e.use||"",n.usehref=e.usehref||"",n.subjectDN=new a.XFAObjectArray,n}return r}(a.XFAObject),bt=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"submit",!0)).embedPDF=(0,c.getInteger)({data:e.embedPDF,defaultValue:0,validate:function(e){return 1===e}}),n.format=(0,c.getStringOption)(e.format,["xdp","formdata","pdf","urlencoded","xfd","xml"]),n.id=e.id||"",n.target=e.target||"",n.textEncoding=(0,c.getKeyword)({data:e.textEncoding?e.textEncoding.toLowerCase():"",defaultValue:"",validate:function(e){return["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(e)||e.match(/iso-8859-[0-9]{2}/)}}),n.use=e.use||"",n.usehref=e.usehref||"",n.xdpContent=e.xdpContent||"",n.encrypt=null,n.encryptData=new a.XFAObjectArray,n.signData=new a.XFAObjectArray,n}return r}(a.XFAObject),wt=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"template",!0)).baseProfile=(0,c.getStringOption)(e.baseProfile,["full","interactiveForms"]),n.extras=null,n.subform=new a.XFAObjectArray,n}return m(r,[{key:a.$finalize,value:function(){0===this.subform.children.length&&(0,u.warn)("XFA - No subforms in template node."),this.subform.children.length>=2&&(0,u.warn)("XFA - Several subforms in template node: please file a bug.")}},{key:a.$break,value:function(e){this[a.$extra].breakingNode=e}},{key:a.$searchNode,value:function(e,t){return e.startsWith("#")?[this[a.$ids].get(e.slice(1))]:(0,l.searchNode)(this,t,e,!0,!0)}},{key:a.$toHTML,value:function(){if(!this.subform.children.length)return c.HTMLResult.success({name:"div",children:[]});this[a.$extra]={breakingNode:null,pageNumber:1,pagePosition:"first",oddOrEven:"odd",blankOrNotBlank:"nonBlank"};var e=this.subform.children[0],t=e.pageSet.pageArea.children,r={name:"div",children:[]},n=null,i=null,o=null;if(e.breakBefore.children.length>=1?o=(i=e.breakBefore.children[0]).target:e.subform.children.length>=1&&e.subform.children[0].breakBefore.children.length>=1?o=(i=e.subform.children[0].breakBefore.children[0]).target:e.break&&e.break.beforeTarget?o=(i=e.break).beforeTarget:e.subform.children.length>=1&&e.subform.children[0].break&&e.subform.children[0].break.beforeTarget&&(o=(i=e.subform.children[0].break).beforeTarget),i){var s=this[a.$searchNode](o,i[a.$getParent]());s instanceof Ke&&(n=s,i[a.$extra]={})}n||(n=t[0]);var u,l=n[a.$getParent]();l[a.$extra]={numberOfUse:1,currentIndex:l.pageArea.children.indexOf(n)};for(var f=null,h=null;;){u=null;var d=n[a.$toHTML]().html;r.children.push(d),f&&(d.children.push(f[a.$toHTML](d[a.$extra].space).html),f=null),h&&(d.children.push(h[a.$toHTML](d[a.$extra].space).html),h=null);for(var p=n.contentArea.children,g=d.children.filter((function(e){return"xfaContentarea"===e.attributes.class})),m=0,v=p.length;m<v;m++){var y=this[a.$extra].currentContentArea=p[m],b={width:y.w,height:y.h};f&&(g[m].children.push(f[a.$toHTML](b).html),f=null),h&&(g[m].children.push(h[a.$toHTML](b).html),h=null);var w=e[a.$toHTML](b);if(w.success)return w.html&&g[m].children.push(w.html),r;var k=!1;if(this[a.$extra].breakingNode){var S=this[a.$extra].breakingNode;if(this[a.$extra].breakingNode=null,"auto"===S.targetType){m--;continue}var x=1===S.startNew;S.leader&&(f=(f=this[a.$searchNode](S.leader,S[a.$getParent]()))?f[0]:null),S.trailer&&(h=(h=this[a.$searchNode](S.trailer,S[a.$getParent]()))?h[0]:null);var A=null;if(S.target&&(A=(A=this[a.$searchNode](S.target,S[a.$getParent]()))?A[0]:A),"pageArea"===S.targetType)if(x)k=!0;else{if(!(A!==n&&A instanceof Ke)){m--;continue}u=A,k=!0}else if("contentArea"===A||!(A instanceof Y)){m--;continue}}if((w=e[a.$flushHTML]())&&g[m].children.push(w),k)break}this[a.$extra].pageNumber+=1,n=u||n[a.$getNextPage]()}}}]),r}(a.XFAObject);t.Template=wt;var kt=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"text")).id=e.id||"",n.maxChars=(0,c.getInteger)({data:e.maxChars,defaultValue:0,validate:function(e){return e>=0}}),n.name=e.name||"",n.rid=e.rid||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return m(r,[{key:a.$onChild,value:function(e){return e[a.$namespaceId]===i.NamespaceIds.xhtml.id?(this[a.$content]=e,!0):((0,u.warn)("XFA - Invalid content in Text: ".concat(e[a.$nodeName],".")),!1)}},{key:a.$toHTML,value:function(e){if("string"==typeof this[a.$content]){var t={name:"span",attributes:{class:"xfaRich",style:{}},value:this[a.$content]};return this[a.$content].includes("\\u2029")?(t.name="div",t.children=[],this[a.$content].split("\\u2029").map((function(e){return e.split(/[\\u2028\\n]/).reduce((function(e,t){return e.push({name:"span",value:t},{name:"br"}),e}),[])})).forEach((function(e){t.children.push({name:"p",children:e})}))):/[\\u2028\\n]/.test(this[a.$content])&&(t.name="div",t.children=[],this[a.$content].split(/[\\u2028\\n]/).forEach((function(e){t.children.push({name:"span",value:e},{name:"br"})}))),c.HTMLResult.success(t)}return this[a.$content][a.$toHTML](e)}}]),r}(a.ContentObject);t.Text=kt;var St=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"textEdit",!0)).allowRichText=(0,c.getInteger)({data:e.allowRichText,defaultValue:0,validate:function(e){return 1===e}}),n.hScrollPolicy=(0,c.getStringOption)(e.hScrollPolicy,["auto","off","on"]),n.id=e.id||"",n.multiLine=(0,c.getInteger)({data:e.multiLine,defaultValue:1,validate:function(e){return 0===e}}),n.use=e.use||"",n.usehref=e.usehref||"",n.vScrollPolicy=(0,c.getStringOption)(e.vScrollPolicy,["auto","off","on"]),n.border=null,n.comb=null,n.extras=null,n.margin=null,n}return m(r,[{key:a.$toHTML,value:function(e){var t,r=(0,o.toStyle)(this,"border","font","margin");return t=1===this.multiLine?{name:"textarea",attributes:{fieldId:this[a.$getParent]()[a.$getParent]()[a.$uid],class:"xfaTextfield",style:r}}:{name:"input",attributes:{type:"text",fieldId:this[a.$getParent]()[a.$getParent]()[a.$uid],class:"xfaTextfield",style:r}},c.HTMLResult.success({name:"label",attributes:{class:"xfaLabel"},children:[t]})}}]),r}(a.XFAObject),xt=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"time")).id=e.id||"",n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return m(r,[{key:a.$finalize,value:function(){this[a.$content]=new Date(this[a.$content])}},{key:a.$toHTML,value:function(e){return c.HTMLResult.success(this[a.$content].toString())}}]),r}(a.StringObject),At=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"timeStamp")).id=e.id||"",n.server=e.server||"",n.type=(0,c.getStringOption)(e.type,["optional","required"]),n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(a.XFAObject),Ot=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"toolTip")).id=e.id||"",n.rid=e.rid||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(a.StringObject),Ct=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"traversal",!0)).id=e.id||"",n.use=e.use||"",n.usehref=e.usehref||"",n.extras=null,n.traverse=new a.XFAObjectArray,n}return r}(a.XFAObject),Tt=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"traverse",!0)).id=e.id||"",n.operation=(0,c.getStringOption)(e.operation,["next","back","down","first","left","right","up"]),n.ref=e.ref||"",n.use=e.use||"",n.usehref=e.usehref||"",n.extras=null,n.script=null,n}return m(r,[{key:"name",get:function(){return this.operation}},{key:a.$isTransparent,value:function(){return!1}}]),r}(a.XFAObject),Ft=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"ui",!0)).id=e.id||"",n.use=e.use||"",n.usehref=e.usehref||"",n.extras=null,n.picture=null,n.barcode=null,n.button=null,n.checkButton=null,n.choiceList=null,n.dateTimeEdit=null,n.defaultUi=null,n.imageEdit=null,n.numericEdit=null,n.passwordEdit=null,n.signature=null,n.textEdit=null,n}return m(r,[{key:a.$toHTML,value:function(e){var t,r=f(Object.getOwnPropertyNames(this));try{for(r.s();!(t=r.n()).done;){var n=t.value;if("extras"!==n&&"picture"!==n){var i=this[n];if(i instanceof a.XFAObject)return i[a.$toHTML](e)}}}catch(e){r.e(e)}finally{r.f()}return c.HTMLResult.EMPTY}}]),r}(a.XFAObject),Pt=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"validate",!0)).formatTest=(0,c.getStringOption)(e.formatTest,["warning","disabled","error"]),n.id=e.id||"",n.nullTest=(0,c.getStringOption)(e.nullTest,["disabled","error","warning"]),n.scriptTest=(0,c.getStringOption)(e.scriptTest,["error","disabled","warning"]),n.use=e.use||"",n.usehref=e.usehref||"",n.extras=null,n.message=null,n.picture=null,n.script=null,n}return r}(a.XFAObject),_t=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"value",!0)).id=e.id||"",n.override=(0,c.getInteger)({data:e.override,defaultValue:0,validate:function(e){return 1===e}}),n.relevant=(0,c.getRelevant)(e.relevant),n.use=e.use||"",n.usehref=e.usehref||"",n.arc=null,n.boolean=null,n.date=null,n.dateTime=null,n.decimal=null,n.exData=null,n.float=null,n.image=null,n.integer=null,n.line=null,n.rectangle=null,n.text=null,n.time=null,n}return m(r,[{key:a.$setValue,value:function(e){var t=this[a.$getParent]();if(t instanceof ke&&t.ui&&t.ui.imageEdit)return this.image||(this.image=new Pe({})),void(this.image[a.$content]=e[a.$content]);var r=e[a.$nodeName];if(null===this[r]){var n,i=f(Object.getOwnPropertyNames(this));try{for(i.s();!(n=i.n()).done;){var o=n.value,s=this[o];s instanceof a.XFAObject&&(this[o]=null,this[a.$removeChild](s))}}catch(e){i.e(e)}finally{i.f()}this[e[a.$nodeName]]=e,this[a.$appendChild](e)}else this[r][a.$content]=e[a.$content]}},{key:a.$text,value:function(){if(this.exData)return this.exData[a.$content][a.$text]().trim();var e,t=f(Object.getOwnPropertyNames(this));try{for(t.s();!(e=t.n()).done;){var r=e.value;if("image"!==r){var n=this[r];if(n instanceof a.XFAObject)return(n[a.$content]||"").toString().trim()}}}catch(e){t.e(e)}finally{t.f()}return null}},{key:a.$toHTML,value:function(e){var t,r=f(Object.getOwnPropertyNames(this));try{for(r.s();!(t=r.n()).done;){var n=this[t.value];if(n instanceof a.XFAObject)return n[a.$toHTML](e)}}catch(e){r.e(e)}finally{r.f()}return c.HTMLResult.EMPTY}}]),r}(a.XFAObject);t.Value=_t;var It=function(e){y(r,e);var t=w(r);function r(e){var n;return v(this,r),(n=t.call(this,x,"variables",!0)).id=e.id||"",n.use=e.use||"",n.usehref=e.usehref||"",n.boolean=new a.XFAObjectArray,n.date=new a.XFAObjectArray,n.dateTime=new a.XFAObjectArray,n.decimal=new a.XFAObjectArray,n.exData=new a.XFAObjectArray,n.float=new a.XFAObjectArray,n.image=new a.XFAObjectArray,n.integer=new a.XFAObjectArray,n.manifest=new a.XFAObjectArray,n.script=new a.XFAObjectArray,n.text=new a.XFAObjectArray,n.time=new a.XFAObjectArray,n}return m(r,[{key:a.$isTransparent,value:function(){return!0}}]),r}(a.XFAObject),Et=function(){function e(){v(this,e)}return m(e,null,[{key:i.$buildXFAObject,value:function(t,r){if(e.hasOwnProperty(t)){var n=e[t](r);return n[a.$setSetAttributes](r),n}}},{key:"appearanceFilter",value:function(e){return new T(e)}},{key:"arc",value:function(e){return new F(e)}},{key:"area",value:function(e){return new P(e)}},{key:"assist",value:function(e){return new _(e)}},{key:"barcode",value:function(e){return new I(e)}},{key:"bind",value:function(e){return new E(e)}},{key:"bindItems",value:function(e){return new j(e)}},{key:"bookend",value:function(e){return new R(e)}},{key:"boolean",value:function(e){return new M(e)}},{key:"border",value:function(e){return new N(e)}},{key:"break",value:function(e){return new B(e)}},{key:"breakAfter",value:function(e){return new D(e)}},{key:"breakBefore",value:function(e){return new L(e)}},{key:"button",value:function(e){return new U(e)}},{key:"calculate",value:function(e){return new q(e)}},{key:"caption",value:function(e){return new X(e)}},{key:"certificate",value:function(e){return new H(e)}},{key:"certificates",value:function(e){return new $(e)}},{key:"checkButton",value:function(e){return new z(e)}},{key:"choiceList",value:function(e){return new G(e)}},{key:"color",value:function(e){return new W(e)}},{key:"comb",value:function(e){return new V(e)}},{key:"connect",value:function(e){return new K(e)}},{key:"contentArea",value:function(e){return new Y(e)}},{key:"corner",value:function(e){return new J(e)}},{key:"date",value:function(e){return new Z(e)}},{key:"dateTime",value:function(e){return new Q(e)}},{key:"dateTimeEdit",value:function(e){return new ee(e)}},{key:"decimal",value:function(e){return new te(e)}},{key:"defaultUi",value:function(e){return new re(e)}},{key:"desc",value:function(e){return new ne(e)}},{key:"digestMethod",value:function(e){return new ae(e)}},{key:"digestMethods",value:function(e){return new ie(e)}},{key:"draw",value:function(e){return new oe(e)}},{key:"edge",value:function(e){return new se(e)}},{key:"encoding",value:function(e){return new ce(e)}},{key:"encodings",value:function(e){return new ue(e)}},{key:"encrypt",value:function(e){return new le(e)}},{key:"encryptData",value:function(e){return new fe(e)}},{key:"encryption",value:function(e){return new he(e)}},{key:"encryptionMethod",value:function(e){return new de(e)}},{key:"encryptionMethods",value:function(e){return new pe(e)}},{key:"event",value:function(e){return new ge(e)}},{key:"exData",value:function(e){return new me(e)}},{key:"exObject",value:function(e){return new ve(e)}},{key:"exclGroup",value:function(e){return new ye(e)}},{key:"execute",value:function(e){return new be(e)}},{key:"extras",value:function(e){return new we(e)}},{key:"field",value:function(e){return new ke(e)}},{key:"fill",value:function(e){return new Se(e)}},{key:"filter",value:function(e){return new xe(e)}},{key:"float",value:function(e){return new Ae(e)}},{key:"font",value:function(e){return new Oe(e)}},{key:"format",value:function(e){return new Ce(e)}},{key:"handler",value:function(e){return new Te(e)}},{key:"hyphenation",value:function(e){return new Fe(e)}},{key:"image",value:function(e){return new Pe(e)}},{key:"imageEdit",value:function(e){return new _e(e)}},{key:"integer",value:function(e){return new Ie(e)}},{key:"issuers",value:function(e){return new Ee(e)}},{key:"items",value:function(e){return new je(e)}},{key:"keep",value:function(e){return new Re(e)}},{key:"keyUsage",value:function(e){return new Me(e)}},{key:"line",value:function(e){return new Ne(e)}},{key:"linear",value:function(e){return new Be(e)}},{key:"lockDocument",value:function(e){return new De(e)}},{key:"manifest",value:function(e){return new Le(e)}},{key:"margin",value:function(e){return new Ue(e)}},{key:"mdp",value:function(e){return new qe(e)}},{key:"medium",value:function(e){return new Xe(e)}},{key:"message",value:function(e){return new He(e)}},{key:"numericEdit",value:function(e){return new $e(e)}},{key:"occur",value:function(e){return new ze(e)}},{key:"oid",value:function(e){return new Ge(e)}},{key:"oids",value:function(e){return new We(e)}},{key:"overflow",value:function(e){return new Ve(e)}},{key:"pageArea",value:function(e){return new Ke(e)}},{key:"pageSet",value:function(e){return new Ye(e)}},{key:"para",value:function(e){return new Je(e)}},{key:"passwordEdit",value:function(e){return new Ze(e)}},{key:"pattern",value:function(e){return new Qe(e)}},{key:"picture",value:function(e){return new et(e)}},{key:"proto",value:function(e){return new tt(e)}},{key:"radial",value:function(e){return new rt(e)}},{key:"reason",value:function(e){return new nt(e)}},{key:"reasons",value:function(e){return new at(e)}},{key:"rectangle",value:function(e){return new it(e)}},{key:"ref",value:function(e){return new ot(e)}},{key:"script",value:function(e){return new st(e)}},{key:"setProperty",value:function(e){return new ct(e)}},{key:"signData",value:function(e){return new ut(e)}},{key:"signature",value:function(e){return new lt(e)}},{key:"signing",value:function(e){return new ft(e)}},{key:"solid",value:function(e){return new ht(e)}},{key:"speak",value:function(e){return new dt(e)}},{key:"stipple",value:function(e){return new pt(e)}},{key:"subform",value:function(e){return new gt(e)}},{key:"subformSet",value:function(e){return new mt(e)}},{key:"subjectDN",value:function(e){return new vt(e)}},{key:"subjectDNs",value:function(e){return new yt(e)}},{key:"submit",value:function(e){return new bt(e)}},{key:"template",value:function(e){return new wt(e)}},{key:"text",value:function(e){return new kt(e)}},{key:"textEdit",value:function(e){return new St(e)}},{key:"time",value:function(e){return new xt(e)}},{key:"timeStamp",value:function(e){return new At(e)}},{key:"toolTip",value:function(e){return new Ot(e)}},{key:"traversal",value:function(e){return new Ct(e)}},{key:"traverse",value:function(e){return new Tt(e)}},{key:"ui",value:function(e){return new Ft(e)}},{key:"validate",value:function(e){return new Pt(e)}},{key:"value",value:function(e){return new _t(e)}},{key:"variables",value:function(e){return new It(e)}}]),e}();t.TemplateNamespace=Et},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addExtraDivForBorder=function(e){for(var t=e.attributes.style,r=t.borderData,n=[],a={class:"xfaWrapper",style:Object.create(null)},i=0,s=["top","left"];i<s.length;i++){var c=s[i];void 0!==t[c]&&(a.style[c]=t[c])}if(delete t.top,delete t.left,"absolute"===t.position?a.style.position="absolute":a.style.position="relative",delete t.position,t.justifyContent&&(a.style.justifyContent=t.justifyContent,delete t.justifyContent),r){var u;delete t.borderData,r.margin?(u=r.margin.split(" "),delete r.margin):u=["0px","0px","0px","0px"];var l="100%",f=l;"0px"===u[1]&&"0px"===u[3]||(l="calc(100% - ".concat(parseInt(u[1])+parseInt(u[3]),"px")),"0px"===u[0]&&"0px"===u[2]||(f="calc(100% - ".concat(parseInt(u[0])+parseInt(u[2]),"px"));for(var h={top:u[0],left:u[3],width:l,height:f},d=0,p=Object.entries(r);d<p.length;d++){var g=(b=p[d],w=2,function(e){if(Array.isArray(e))return e}(b)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(b,w)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(b,w)||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.")}()),m=g[0],v=g[1];h[m]=v}t.transform&&(h.transform=t.transform);var y={name:"div",attributes:{class:"xfaBorderDiv",style:h}};n.push(y)}var b,w;return n.push(e),{name:"div",attributes:a,children:n}},t.computeBbox=function(e,t,r){var a;if(""!==e.w&&""!==e.h)a=[e.x,e.y,e.w,e.h];else{if(!r)return null;var i=e.w;if(""===i){if(0===e.maxW){var o=e[n.$getParent]();i="position"===o.layout&&""!==o.w?0:e.minW}else i=Math.min(e.maxW,r.width);t.attributes.style.width=u(i)}var s=e.h;if(""===s){if(0===e.maxH){var c=e[n.$getParent]();s="position"===c.layout&&""!==c.h?0:e.minH}else s=Math.min(e.maxH,r.height);t.attributes.style.height=u(s)}a=[e.x,e.y,i,s]}return a},t.fixDimensions=function(e){var t=e[n.$getParent]();if(t.layout&&t.layout.includes("row")){var r,a=t[n.$extra],i=e.colSpan;r=-1===i?a.columnWidths.slice(a.currentColumn).reduce((function(e,t){return e+t}),0):a.columnWidths.slice(a.currentColumn,a.currentColumn+i).reduce((function(e,t){return e+t}),0),isNaN(r)||(e.w=r)}t.w&&e.w&&(e.w=Math.min(t.w,e.w)),t.h&&e.h&&(e.h=Math.min(t.h,e.h)),t.layout&&"position"!==t.layout&&(e.x=e.y=0,"tb"===t.layout&&""!==t.w&&(""===e.w||0===e.w||e.w>t.w)&&(e.w=t.w)),"position"===e.layout?(e.minW=e.minH=0,e.maxW=e.maxH=1/0):"table"===e.layout&&""===e.w&&Array.isArray(e.columnWidths)&&(e.w=e.columnWidths.reduce((function(e,t){return e+t}),0))},t.fixTextIndent=function(e){var t=(0,a.getMeasurement)(e.textIndent,"0px");if(!(t>=0)){var r=e.textAlign||"left";if("left"===r||"right"===r){var n="margin"+("left"===r?"Left":"Right"),i=(0,a.getMeasurement)(e[n],"0px");e[n]="".concat(i-t,"pt")}}},t.getFonts=function(e){e.startsWith("\'")?e=\'"\'.concat(e.slice(1,e.length-1),\'"\'):e.includes(" ")&&!e.startsWith(\'"\')&&(e=\'"\'.concat(e,\'"\'));var t=[e];switch(e){case\'"Myriad Pro"\':t.push(\'"Roboto Condensed"\',\'"Ubuntu Condensed"\',\'"Microsoft Sans Serif"\',\'"Apple Symbols"\',"Helvetica",\'"sans serif"\');break;case"Arial":t.push("Helvetica",\'"Liberation Sans"\',"Arimo",\'"sans serif"\')}return t.join(",")},t.layoutClass=function(e){switch(e.layout){case"position":default:return"xfaPosition";case"lr-tb":return"xfaLrTb";case"rl-row":return"xfaRlRow";case"rl-tb":return"xfaRlTb";case"row":return"xfaRow";case"table":return"xfaTable";case"tb":return"xfaTb"}},t.layoutText=function(e,t,r){for(var n=0,a=0,i=0,o=1.5*t,u=.4*t,l=Math.floor(r.width/u),f=e.match(s),h=0,d=0,p=f[0];p;){var g=p.length*u;if(n+g<=r.width)n+=g,h+=p.length,p=f[d++];else if(!c.test(p)||p.length>l){var m=Math.floor((r.width-n)/u);if(p=p.slice(m),h+=m,a+o>r.height)return{width:0,height:0,splitPos:h};i=Math.max(n,i),n=0,a+=o}else{if(a+o>r.height)return{width:0,height:0,splitPos:h};i=Math.max(n,i),n=g,a+=o,p=f[d++]}}return 0===i&&(i=n),0!==i&&(a+=o),{width:i,height:a,splitPos:-1}},t.measureToString=u,t.toStyle=function(e){for(var t=Object.create(null),r=arguments.length,a=new Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];for(var s=0,c=a;s<c.length;s++){var u=c[s],f=e[u];if(null!==f)if(f instanceof n.XFAObject){var h=f[n.$toStyle]();h?Object.assign(t,h):(0,i.warn)("(DEBUG) - XFA - style for ".concat(u," not implemented yet"))}else l.hasOwnProperty(u)&&l[u](e,t)}return t};var n=r(176),a=r(177),i=r(4);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var s=new RegExp("([\\\\p{N}\\\\p{L}\\\\p{M}]+)|([^\\\\p{N}\\\\p{L}\\\\p{M}]+)","gu"),c=new RegExp("^[\\\\p{N}\\\\p{L}\\\\p{M}]","u");function u(e){return"string"==typeof e?"0px":Number.isInteger(e)?"".concat(e,"px"):"".concat(e.toFixed(2),"px")}var l={anchorType:function(e,t){var r=e[n.$getParent]();if(r&&(!r.layout||"position"===r.layout))switch("transform"in t||(t.transform=""),e.anchorType){case"bottomCenter":t.transform+="translate(-50%, -100%)";break;case"bottomLeft":t.transform+="translate(0,-100%)";break;case"bottomRight":t.transform+="translate(-100%,-100%)";break;case"middleCenter":t.transform+="translate(-50%,-50%)";break;case"middleLeft":t.transform+="translate(0,-50%)";break;case"middleRight":t.transform+="translate(-100%,-50%)";break;case"topCenter":t.transform+="translate(-50%,0)";break;case"topRight":t.transform+="translate(-100%,0)"}},dimensions:function(e,t){var r=e[n.$getParent](),a=e.w,i=e.h;if(r.layout&&r.layout.includes("row")){var o,s=r[n.$extra],c=e.colSpan;-1===c?(o=s.columnWidths.slice(s.currentColumn).reduce((function(e,t){return e+t}),0),s.currentColumn=0):(o=s.columnWidths.slice(s.currentColumn,s.currentColumn+c).reduce((function(e,t){return e+t}),0),s.currentColumn=(s.currentColumn+e.colSpan)%s.columnWidths.length),isNaN(o)||(a=e.w=o)}""!==a?t.width=u(a):(t.width="auto",e.maxW>0&&(t.maxWidth=u(e.maxW)),"position"===r.layout&&(t.minWidth=u(e.minW))),""!==i?t.height=u(i):(t.height="auto",e.maxH>0&&(t.maxHeight=u(e.maxH)),"position"===r.layout&&(t.minHeight=u(e.minH)))},position:function(e,t){var r=e[n.$getParent]();r&&r.layout&&"position"!==r.layout||(t.position="absolute",t.left=u(e.x),t.top=u(e.y))},rotate:function(e,t){e.rotate&&("transform"in t||(t.transform=""),t.transform+="rotate(-".concat(e.rotate,"deg)"),t.transformOrigin="top left")},presence:function(e,t){switch(e.presence){case"invisible":t.visibility="hidden";break;case"hidden":case"inactive":t.display="none"}},hAlign:function(e,t){if("para"===e[n.$nodeName])switch(e.hAlign){case"justifyAll":t.textAlign="justify-all";break;case"radix":t.textAlign="left";break;default:t.textAlign=e.hAlign}else switch(e.hAlign){case"right":case"center":t.justifyContent=e.hAlign}},borderMarginPadding:function(e,t){var r,a=[0,0,0,0],i=e.margin?[e.margin.topInset,e.margin.rightInset,e.margin.bottomInset,e.margin.leftInset]:[0,0,0,0];if(e.border&&(Object.assign(t,e.border[n.$toStyle](a,[0,0,0,0])),r=t.margin,delete t.margin),a.every((function(e){return 0===e}))){if(i.every((function(e){return 0===e})))return;return Object.assign(t,e.margin[n.$toStyle]()),t.padding=t.margin,delete t.margin,delete t.outline,void delete t.outlineOffset}e.margin&&(Object.assign(t,e.margin[n.$toStyle]()),t.padding=t.margin,delete t.margin),t.borderWidth&&(t.borderData={borderWidth:t.borderWidth,borderColor:t.borderColor,borderStyle:t.borderStyle,margin:r},delete t.borderWidth,delete t.borderColor,delete t.borderStyle)}}},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addHTML=function(e,t,r){var s=e[n.$extra],c=s.availableSpace;switch(e.layout){case"position":var u=i(r,4),l=u[0],f=u[1],h=u[2],d=u[3];s.width=Math.max(s.width,l+h),s.height=Math.max(s.height,f+d),s.children.push(t);break;case"lr-tb":case"rl-tb":if(s.line&&1!==s.attempt||(s.line={name:"div",attributes:{class:"lr-tb"===e.layout?"xfaLr":"xfaRl"},children:[]},s.children.push(s.line)),s.line.children.push(t),0===s.attempt){var p=i(r,4),g=p[2],m=p[3];s.currentWidth+=g,s.height=Math.max(s.height,s.prevHeight+m)}else{var v=i(r,4),y=v[2],b=v[3];s.width=Math.max(s.width,s.currentWidth),s.currentWidth=y,s.prevHeight=s.height,s.height+=b,s.attempt=0}break;case"rl-row":case"row":s.children.push(t);var w=i(r,4),k=w[2],S=w[3];s.width+=k,s.height=Math.max(s.height,S);var x,A=(0,a.measureToString)(s.height),O=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=o(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,s=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==r.return||r.return()}finally{if(c)throw i}}}}(s.children);try{for(O.s();!(x=O.n()).done;){var C=x.value;"xfaWrapper"===C.attributes.class?C.children[C.children.length-1].attributes.style.height=A:C.attributes.style.height=A}}catch(e){O.e(e)}finally{O.f()}break;case"table":var T=i(r,4),F=T[2],P=T[3];s.width=Math.min(c.width,Math.max(s.width,F)),s.height+=P,s.children.push(t);break;case"tb":var _=i(r,4)[3];s.width=c.width,s.height+=_,s.children.push(t)}},t.flushHTML=function(e){var t={name:"div",attributes:e[n.$extra].attributes,children:e[n.$extra].children};if(e[n.$extra].failingNode){var r=e[n.$extra].failingNode[n.$flushHTML]();r&&t.children.push(r)}return 0===t.children.length?null:(e[n.$extra].children=[],delete e[n.$extra].line,t)},t.getAvailableSpace=function(e){var t=e[n.$extra].availableSpace;switch(e.layout){case"lr-tb":case"rl-tb":switch(e[n.$extra].attempt){case 0:return{width:t.width-e[n.$extra].currentWidth,height:t.height-e[n.$extra].prevHeight};case 1:return{width:t.width,height:t.height-e[n.$extra].height};default:return{width:1/0,height:t.height-e[n.$extra].prevHeight}}case"rl-row":case"row":return{width:e[n.$extra].columnWidths.slice(e[n.$extra].currentColumn).reduce((function(e,t){return e+t})),height:t.height};case"table":case"tb":return{width:t.width,height:t.height-e[n.$extra].height};default:return t}};var n=r(176),a=r(181);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(e,t)||o(e,t)||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.")}()}function o(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDataNode=function(e,t,r){var i=b(r);if(!i)return null;if(i.some((function(e){return e.operator===d})))return null;var o=v.get(i[0].name),s=0;o?(e=o(e,t),s=1):e=t||e;for(var c=i.length;s<c;s++){var u=i[s],l=u.name,f=u.operator,g=u.index;if(!isFinite(g))return i[s].index=0,w(e,i.slice(s));var m=void 0;switch(f){case h:m=e[n.$getChildrenByName](l,!1);break;case d:m=e[n.$getChildrenByName](l,!0);break;case p:m=(m=e[n.$getChildrenByClass](l))instanceof n.XFAObjectArray?m.children:[m]}if(0===m.length)return w(e,i.slice(s));if(!(g<m.length))return i[s].index=m.length-g,w(e,i.slice(s));var y=m[g];if(!(y instanceof n.XFAObject))return(0,a.warn)("XFA - Cannot create a node."),null;e=y}return null},t.searchNode=function(e,t,r){var a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],c=b(r,a);if(!c)return null;var u,l=v.get(c[0].name),f=0;l?(u=!0,e=[l(e,t)],f=1):(u=null===t,e=[t||e]);for(var g=function(r){var a,o=c[f],l=o.name,g=o.cacheName,m=o.operator,v=o.index,b=[],w=i(e);try{for(w.s();!(a=w.n()).done;){var k=a.value;if(k instanceof n.XFAObject){var S=void 0,x=void 0;if(s&&((x=y.get(k))||(x=new Map,y.set(k,x)),S=x.get(g)),!S){switch(m){case h:S=k[n.$getChildrenByName](l,!1);break;case d:S=k[n.$getChildrenByName](l,!0);break;case p:S=(S=k[n.$getChildrenByClass](l))instanceof n.XFAObjectArray?S.children:[S]}s&&x.set(g,S)}S.length>0&&b.push(S)}}}catch(e){w.e(e)}finally{w.f()}if(0===b.length&&!u&&0===f){var A=t[n.$getParent]();return(t=A)?(f=-1,e=[t],"continue"):{v:null}}e=isFinite(v)?b.filter((function(e){return v<e.length})).map((function(e){return e[v]})):b.reduce((function(e,t){return e.concat(t)}),[])},m=c.length;f<m;f++){var w=g(m);if("continue"!==w&&"object"===o(w))return w.v}return 0===e.length?null:e};var n=r(176),a=r(4);function i(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=c(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(e,t)||c(e,t)||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.")}()}function c(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var l=/^[^.[]+/,f=/^[^\\]]+/,h=0,d=1,p=2,g=3,m=4,v=new Map([["$data",function(e,t){return e.datasets.data}],["$template",function(e,t){return e.template}],["$connectionSet",function(e,t){return e.connectionSet}],["$form",function(e,t){return e.form}],["$layout",function(e,t){return e.layout}],["$host",function(e,t){return e.host}],["$dataWindow",function(e,t){return e.dataWindow}],["$event",function(e,t){return e.event}],["!",function(e,t){return e.datasets}],["$xfa",function(e,t){return e}],["xfa",function(e,t){return e}],["$",function(e,t){return t}]]),y=new WeakMap;function b(e,t){var r=e.match(l);if(!r)return null;for(var n,i=s(r,1)[0],o=[{name:i,cacheName:"."+i,index:0,js:null,formCalc:null,operator:h}],c=i.length;c<e.length;){var u=c;if("["!==e.charAt(c++)){var v=void 0;switch(e.charAt(c)){case".":if(!t)return null;c++,v=d;break;case"#":c++,v=p;break;case"[":v=g;break;case"(":v=m;break;default:v=h}if(!(r=e.slice(c).match(l)))break;c+=(i=s(r,1)[0]).length,o.push({name:i,cacheName:e.slice(u,c),operator:v,index:0,js:null,formCalc:null})}else{if(!(r=e.slice(c).match(f)))return(0,a.warn)("XFA - Invalid index in SOM expression"),null;o[o.length-1].index="*"===(n=(n=r[0]).trim())?1/0:parseInt(n,10)||0,c+=r[0].length+1}}return o}function w(e,t){var r,a=null,o=i(t);try{for(o.s();!(r=o.n()).done;){for(var s=r.value,c=s.name,u=s.index,l=0;l<=u;l++)a=new n.XmlObject(e[n.$namespaceId],c),e[n.$appendChild](a);e=a}}catch(e){o.e(e)}finally{o.f()}return a}},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.XFAParser=void 0;var a=r(176),i=r(169),o=r(185),s=r(4);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(e,t)||u(e,t)||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.")}()}function u(e,t){if(e){if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function d(e){var t=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(e){return!1}}();return function(){var r,n=g(e);if(t){var a=g(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p(this,r)}}function p(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(p,e);var t,r,n,l=d(p);function p(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),(e=l.call(this))._builder=new o.Builder,e._stack=[],e._ids=new Map,e._current=e._builder.buildRoot(e._ids),e._errorCode=i.XMLParserErrorCode.NoError,e._whiteRegex=/^\\s+$/,e._nbsps=/\\xa0+/g,e}return t=p,(r=[{key:"parse",value:function(e){if(this.parseXml(e),this._errorCode===i.XMLParserErrorCode.NoError)return this._current[a.$finalize](),this._current.element}},{key:"onText",value:function(e){e=e.replace(this._nbsps,(function(e){return e.slice(1)+" "})),this._current[a.$acceptWhitespace]()?this._current[a.$onText](e):this._whiteRegex.test(e)||this._current[a.$onText](e.trim())}},{key:"onCdata",value:function(e){this._current[a.$onText](e)}},{key:"_mkAttributes",value:function(e,t){var r,n=null,i=null,o=Object.create({}),c=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=u(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}(e);try{for(c.s();!(r=c.n()).done;){var l=r.value,f=l.name,h=l.value;if("xmlns"===f)n?(0,s.warn)("XFA - multiple namespace definition in <".concat(t,">")):n=h;else if(f.startsWith("xmlns:")){var d=f.substring("xmlns:".length);i||(i=[]),i.push({prefix:d,value:h})}else{var p=f.indexOf(":");if(-1===p)o[f]=h;else{var g=o[a.$nsAttributes];g||(g=o[a.$nsAttributes]=Object.create(null));var m=[f.slice(0,p),f.slice(p+1)],v=m[0],y=m[1],b=g[v];b||(b=g[v]=Object.create(null)),b[y]=h}}}}catch(e){c.e(e)}finally{c.f()}return[n,i,o]}},{key:"_getNameAndPrefix",value:function(e){var t=e.indexOf(":");return-1===t?[e,null]:[e.substring(t+1),e.substring(0,t)]}},{key:"onBeginElement",value:function(e,t,r){var n=c(this._mkAttributes(t,e),3),i=n[0],o=n[1],s=n[2],u=c(this._getNameAndPrefix(e),2),l=u[0],f=u[1],h=this._builder.build({nsPrefix:f,name:l,attributes:s,namespace:i,prefixes:o});if(r)return h[a.$finalize](),this._current[a.$onChild](h)&&h[a.$setId](this._ids),void h[a.$clean](this._builder);this._stack.push(this._current),this._current=h}},{key:"onEndElement",value:function(e){var t=this._current;t[a.$finalize](),this._current=this._stack.pop(),this._current[a.$onChild](t)&&t[a.$setId](this._ids),t[a.$clean](this._builder)}},{key:"onError",value:function(e){this._errorCode=e}}])&&f(t.prototype,r),n&&f(t,n),p}(i.XMLParserBase);t.XFAParser=m},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Builder=void 0;var a=r(178),i=r(176),o=r(186),s=r(180),c=r(195),u=r(4);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(e,t)||h(e,t)||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.")}()}function f(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||h(e)||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.")}()}function h(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return t&&g(e.prototype,t),r&&g(e,r),e}function v(e,t,r){return v="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=S(e)););return e}(e,t);if(n){var a=Object.getOwnPropertyDescriptor(n,t);return a.get?a.get.call(r):a.value}},v(e,t,r||e)}function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function w(e){var t=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(e){return!1}}();return function(){var r,n=S(e);if(t){var a=S(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return k(this,r)}}function k(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}var x=function(e){y(r,e);var t=w(r);function r(e){var n;return p(this,r),(n=t.call(this,-1,"root",Object.create(null))).element=null,n[i.$ids]=e,n}return m(r,[{key:i.$onChild,value:function(e){return this.element=e,!0}},{key:i.$finalize,value:function(){v(S(r.prototype),i.$finalize,this).call(this),this.element.template instanceof s.Template&&(this.element.template[i.$resolvePrototypes](this[i.$ids]),this.element.template[i.$ids]=this[i.$ids])}}]),r}(i.XFAObject),A=function(e){y(r,e);var t=w(r);function r(){return p(this,r),t.call(this,-1,"",Object.create(null))}return m(r,[{key:i.$onChild,value:function(e){return!1}}]),r}(i.XFAObject),O=function(){function e(){p(this,e),this._namespaceStack=[],this._namespacePrefixes=new Map,this._namespaces=new Map,this._nextNsId=Math.max.apply(Math,f(Object.values(a.NamespaceIds).map((function(e){return e.id})))),this._currentNamespace=new c.UnknownNamespace(++this._nextNsId)}return m(e,[{key:"buildRoot",value:function(e){return new x(e)}},{key:"build",value:function(e){var t=e.nsPrefix,r=e.name,n=e.attributes,s=e.namespace,c=e.prefixes,u=null!==s;if(u&&(this._namespaceStack.push(this._currentNamespace),this._currentNamespace=this._searchNamespace(s)),c&&this._addNamespacePrefix(c),n.hasOwnProperty(i.$nsAttributes)){for(var f=o.NamespaceSetUp.datasets,h=n[i.$nsAttributes],d=null,p=0,g=Object.entries(h);p<g.length;p++){var m=l(g[p],2),v=m[0],y=m[1];if(this._getNamespaceToUse(v)===f){d={xfa:y};break}}d?n[i.$nsAttributes]=d:delete n[i.$nsAttributes]}var b=this._getNamespaceToUse(t),w=b&&b[a.$buildXFAObject](r,n)||new A;return(u||c)&&(w[i.$cleanup]={hasNamespace:u,prefixes:c}),w}},{key:"_searchNamespace",value:function(e){var t=this._namespaces.get(e);if(t)return t;for(var r=0,n=Object.entries(a.NamespaceIds);r<n.length;r++){var i=l(n[r],2),s=i[0];if((0,i[1].check)(e)){if(t=o.NamespaceSetUp[s])return this._namespaces.set(e,t),t;break}}return t=new c.UnknownNamespace(++this._nextNsId),this._namespaces.set(e,t),t}},{key:"_addNamespacePrefix",value:function(e){var t,r=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=h(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}(e);try{for(r.s();!(t=r.n()).done;){var n=t.value,a=n.prefix,i=n.value,o=this._searchNamespace(i),s=this._namespacePrefixes.get(a);s||(s=[],this._namespacePrefixes.set(a,s)),s.push(o)}}catch(e){r.e(e)}finally{r.f()}}},{key:"_getNamespaceToUse",value:function(e){if(!e)return this._currentNamespace;var t=this._namespacePrefixes.get(e);return t&&t.length>0?t[t.length-1]:((0,u.warn)("Unknown namespace prefix: ".concat(e,".")),null)}},{key:"clean",value:function(e){var t=this,r=e.hasNamespace,n=e.prefixes;r&&(this._currentNamespace=this._namespaceStack.pop()),n&&n.forEach((function(e){var r=e.prefix;t._namespacePrefixes.get(r).pop()}))}}]),e}();t.Builder=O},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NamespaceSetUp=void 0;var n=r(187),a=r(188),i=r(189),o=r(190),s=r(191),c=r(192),u=r(180),l=r(193),f=r(194),h={config:n.ConfigNamespace,connection:a.ConnectionSetNamespace,datasets:i.DatasetsNamespace,localeSet:o.LocaleSetNamespace,signature:s.SignatureNamespace,stylesheet:c.StylesheetNamespace,template:u.TemplateNamespace,xdp:l.XdpNamespace,xhtml:f.XhtmlNamespace};t.NamespaceSetUp=h},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigNamespace=void 0;var a=r(178),i=r(176),o=r(177),s=r(4);function c(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&l(e.prototype,t),r&&l(e,r),e}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function g(e){var t=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(e){return!1}}();return function(){var r,n=v(e);if(t){var a=v(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return m(this,r)}}function m(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}var y=a.NamespaceIds.config.id,b=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"acrobat",!0)).acrobat7=null,n.autoSave=null,n.common=null,n.validate=null,n.validateApprovalSignatures=null,n.submitUrl=new i.XFAObjectArray,n}return r}(i.XFAObject),w=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"acrobat7",!0)).dynamicRender=null,n}return r}(i.XFAObject),k=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"ADBE_JSConsole",["delegate","Enable","Disable"])}return r}(i.OptionObject),S=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"ADBE_JSDebugger",["delegate","Enable","Disable"])}return r}(i.OptionObject),x=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"addSilentPrint")}return r}(i.Option01),A=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"addViewerPreferences")}return r}(i.Option01),O=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"adjustData")}return r}(i.Option10),C=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"adobeExtensionLevel",0,(function(e){return e>=1&&e<=8}))}return r}(i.IntegerObject),T=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"agent",!0)).name=e.name?e.name.trim():"",n.common=new i.XFAObjectArray,n}return r}(i.XFAObject),F=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"alwaysEmbed")}return r}(i.ContentObject),P=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"amd")}return r}(i.StringObject),_=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"area")).level=(0,o.getInteger)({data:e.level,defaultValue:0,validate:function(e){return e>=1&&e<=3}}),n.name=(0,o.getStringOption)(e.name,["","barcode","coreinit","deviceDriver","font","general","layout","merge","script","signature","sourceSet","templateCache"]),n}return r}(i.XFAObject),I=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"attributes",["preserve","delegate","ignore"])}return r}(i.OptionObject),E=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"autoSave",["disabled","enabled"])}return r}(i.OptionObject),j=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"base")}return r}(i.StringObject),R=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"batchOutput")).format=(0,o.getStringOption)(e.format,["none","concat","zip","zipCompress"]),n}return r}(i.XFAObject),M=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"behaviorOverride")}return f(r,[{key:i.$finalize,value:function(){this[i.$content]=new Map(this[i.$content].trim().split(/\\s+/).filter((function(e){return!!e&&e.include(":")})).map((function(e){return e.split(":",2)})))}}]),r}(i.ContentObject),N=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"cache",!0)).templateCache=null,n}return r}(i.XFAObject),B=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"change")}return r}(i.Option01),D=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"common",!0)).data=null,n.locale=null,n.localeSet=null,n.messaging=null,n.suppressBanner=null,n.template=null,n.validationMessaging=null,n.versionControl=null,n.log=new i.XFAObjectArray,n}return r}(i.XFAObject),L=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"compress")).scope=(0,o.getStringOption)(e.scope,["imageOnly","document"]),n}return r}(i.XFAObject),U=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"compressLogicalStructure")}return r}(i.Option01),q=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"compressObjectStream")}return r}(i.Option10),X=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"compression",!0)).compressLogicalStructure=null,n.compressObjectStream=null,n.level=null,n.type=null,n}return r}(i.XFAObject),H=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"config",!0)).acrobat=null,n.present=null,n.trace=null,n.agent=new i.XFAObjectArray,n}return r}(i.XFAObject),$=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"conformance",["A","B"])}return r}(i.OptionObject),z=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"contentCopy")}return r}(i.Option01),G=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"copies",1,(function(e){return e>=1}))}return r}(i.IntegerObject),W=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"creator")}return r}(i.StringObject),V=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"currentPage",0,(function(e){return e>=0}))}return r}(i.IntegerObject),K=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"data",!0)).adjustData=null,n.attributes=null,n.incrementalLoad=null,n.outputXSL=null,n.range=null,n.record=null,n.startNode=null,n.uri=null,n.window=null,n.xsl=null,n.excludeNS=new i.XFAObjectArray,n.transform=new i.XFAObjectArray,n}return r}(i.XFAObject),Y=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"debug",!0)).uri=null,n}return r}(i.XFAObject),J=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"defaultTypeface")).writingScript=(0,o.getStringOption)(e.writingScript,["*","Arabic","Cyrillic","EastEuropeanRoman","Greek","Hebrew","Japanese","Korean","Roman","SimplifiedChinese","Thai","TraditionalChinese","Vietnamese"]),n}return r}(i.ContentObject),Z=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"destination",["pdf","pcl","ps","webClient","zpl"])}return r}(i.OptionObject),Q=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"documentAssembly")}return r}(i.Option01),ee=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"driver",!0)).name=e.name?e.name.trim():"",n.fontInfo=null,n.xdc=null,n}return r}(i.XFAObject),te=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"duplexOption",["simplex","duplexFlipLongEdge","duplexFlipShortEdge"])}return r}(i.OptionObject),re=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"dynamicRender",["forbidden","required"])}return r}(i.OptionObject),ne=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"embed")}return r}(i.Option01),ae=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"encrypt")}return r}(i.Option01),ie=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"encryption",!0)).encrypt=null,n.encryptionLevel=null,n.permissions=null,n}return r}(i.XFAObject),oe=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"encryptionLevel",["40bit","128bit"])}return r}(i.OptionObject),se=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"enforce")}return r}(i.StringObject),ce=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"equate")).force=(0,o.getInteger)({data:e.force,defaultValue:1,validate:function(e){return 0===e}}),n.from=e.from||"",n.to=e.to||"",n}return r}(i.XFAObject),ue=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"equateRange")).from=e.from||"",n.to=e.to||"",n._unicodeRange=e.unicodeRange||"",n}return f(r,[{key:"unicodeRange",get:function(){var e,t=[],r=/U\\+([0-9a-fA-F]+)/,n=c(this._unicodeRange.split(",").map((function(e){return e.trim()})).filter((function(e){return!!e})));try{for(n.s();!(e=n.n()).done;){var a=e.value;1===(a=a.split("-",2).map((function(e){var t=e.match(r);return t?parseInt(t[1],16):0}))).length&&a.push(a[0]),t.push(a)}}catch(e){n.e(e)}finally{n.f()}return(0,s.shadow)(this,"unicodeRange",t)}}]),r}(i.XFAObject),le=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"exclude")}return f(r,[{key:i.$finalize,value:function(){this[i.$content]=this[i.$content].trim().split(/\\s+/).filter((function(e){return e&&["calculate","close","enter","exit","initialize","ready","validate"].includes(e)}))}}]),r}(i.ContentObject),fe=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"excludeNS")}return r}(i.StringObject),he=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"flipLabel",["usePrinterSetting","on","off"])}return r}(i.OptionObject),de=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"fontInfo",!0)).embed=null,n.map=null,n.subsetBelow=null,n.alwaysEmbed=new i.XFAObjectArray,n.defaultTypeface=new i.XFAObjectArray,n.neverEmbed=new i.XFAObjectArray,n}return r}(i.XFAObject),pe=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"formFieldFilling")}return r}(i.Option01),ge=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"groupParent")}return r}(i.StringObject),me=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"ifEmpty",["dataValue","dataGroup","ignore","remove"])}return r}(i.OptionObject),ve=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"includeXDPContent")}return r}(i.StringObject),ye=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"incrementalLoad",["none","forwardOnly"])}return r}(i.OptionObject),be=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"incrementalMerge")}return r}(i.Option01),we=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"interactive")}return r}(i.Option01),ke=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"jog",["usePrinterSetting","none","pageSet"])}return r}(i.OptionObject),Se=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"labelPrinter",!0)).name=(0,o.getStringOption)(e.name,["zpl","dpl","ipl","tcpl"]),n.batchOutput=null,n.flipLabel=null,n.fontInfo=null,n.xdc=null,n}return r}(i.XFAObject),xe=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"layout",["paginate","panel"])}return r}(i.OptionObject),Ae=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"level",0,(function(e){return e>0}))}return r}(i.IntegerObject),Oe=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"linearized")}return r}(i.Option01),Ce=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"locale")}return r}(i.StringObject),Te=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"localeSet")}return r}(i.StringObject),Fe=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"log",!0)).mode=null,n.threshold=null,n.to=null,n.uri=null,n}return r}(i.XFAObject),Pe=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"map",!0)).equate=new i.XFAObjectArray,n.equateRange=new i.XFAObjectArray,n}return r}(i.XFAObject),_e=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"mediumInfo",!0)).map=null,n}return r}(i.XFAObject),Ie=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"message",!0)).msgId=null,n.severity=null,n}return r}(i.XFAObject),Ee=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"messaging",!0)).message=new i.XFAObjectArray,n}return r}(i.XFAObject),je=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"mode",["append","overwrite"])}return r}(i.OptionObject),Re=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"modifyAnnots")}return r}(i.Option01),Me=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"msgId",1,(function(e){return e>=1}))}return r}(i.IntegerObject),Ne=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"nameAttr")}return r}(i.StringObject),Be=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"neverEmbed")}return r}(i.ContentObject),De=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"numberOfCopies",null,(function(e){return e>=2&&e<=5}))}return r}(i.IntegerObject),Le=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"openAction",!0)).destination=null,n}return r}(i.XFAObject),Ue=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"output",!0)).to=null,n.type=null,n.uri=null,n}return r}(i.XFAObject),qe=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"outputBin")}return r}(i.StringObject),Xe=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"outputXSL",!0)).uri=null,n}return r}(i.XFAObject),He=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"overprint",["none","both","draw","field"])}return r}(i.OptionObject),$e=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"packets")}return f(r,[{key:i.$finalize,value:function(){"*"!==this[i.$content]&&(this[i.$content]=this[i.$content].trim().split(/\\s+/).filter((function(e){return["config","datasets","template","xfdf","xslt"].includes(e)})))}}]),r}(i.StringObject),ze=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"pageOffset")).x=(0,o.getInteger)({data:e.x,defaultValue:"useXDCSetting",validate:function(e){return!0}}),n.y=(0,o.getInteger)({data:e.y,defaultValue:"useXDCSetting",validate:function(e){return!0}}),n}return r}(i.XFAObject),Ge=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"pageRange")}return f(r,[{key:i.$finalize,value:function(){for(var e=this[i.$content].trim().split(/\\s+/).map((function(e){return parseInt(e,10)})),t=[],r=0,n=e.length;r<n;r+=2)t.push(e.slice(r,r+2));this[i.$content]=t}}]),r}(i.StringObject),We=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"pagination",["simplex","duplexShortEdge","duplexLongEdge"])}return r}(i.OptionObject),Ve=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"paginationOverride",["none","forceDuplex","forceDuplexLongEdge","forceDuplexShortEdge","forceSimplex"])}return r}(i.OptionObject),Ke=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"part",1,(function(e){return!1}))}return r}(i.IntegerObject),Ye=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"pcl",!0)).name=e.name||"",n.batchOutput=null,n.fontInfo=null,n.jog=null,n.mediumInfo=null,n.outputBin=null,n.pageOffset=null,n.staple=null,n.xdc=null,n}return r}(i.XFAObject),Je=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"pdf",!0)).name=e.name||"",n.adobeExtensionLevel=null,n.batchOutput=null,n.compression=null,n.creator=null,n.encryption=null,n.fontInfo=null,n.interactive=null,n.linearized=null,n.openAction=null,n.pdfa=null,n.producer=null,n.renderPolicy=null,n.scriptModel=null,n.silentPrint=null,n.submitFormat=null,n.tagged=null,n.version=null,n.viewerPreferences=null,n.xdc=null,n}return r}(i.XFAObject),Ze=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"pdfa",!0)).amd=null,n.conformance=null,n.includeXDPContent=null,n.part=null,n}return r}(i.XFAObject),Qe=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"permissions",!0)).accessibleContent=null,n.change=null,n.contentCopy=null,n.documentAssembly=null,n.formFieldFilling=null,n.modifyAnnots=null,n.plaintextMetadata=null,n.print=null,n.printHighQuality=null,n}return r}(i.XFAObject),et=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"pickTrayByPDFSize")}return r}(i.Option01),tt=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"picture")}return r}(i.StringObject),rt=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"plaintextMetadata")}return r}(i.Option01),nt=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"presence",["preserve","dissolve","dissolveStructure","ignore","remove"])}return r}(i.OptionObject),at=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"present",!0)).behaviorOverride=null,n.cache=null,n.common=null,n.copies=null,n.destination=null,n.incrementalMerge=null,n.layout=null,n.output=null,n.overprint=null,n.pagination=null,n.paginationOverride=null,n.script=null,n.validate=null,n.xdp=null,n.driver=new i.XFAObjectArray,n.labelPrinter=new i.XFAObjectArray,n.pcl=new i.XFAObjectArray,n.pdf=new i.XFAObjectArray,n.ps=new i.XFAObjectArray,n.submitUrl=new i.XFAObjectArray,n.webClient=new i.XFAObjectArray,n.zpl=new i.XFAObjectArray,n}return r}(i.XFAObject),it=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"print")}return r}(i.Option01),ot=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"printHighQuality")}return r}(i.Option01),st=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"printScaling",["appdefault","noScaling"])}return r}(i.OptionObject),ct=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"printerName")}return r}(i.StringObject),ut=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"producer")}return r}(i.StringObject),lt=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"ps",!0)).name=e.name||"",n.batchOutput=null,n.fontInfo=null,n.jog=null,n.mediumInfo=null,n.outputBin=null,n.staple=null,n.xdc=null,n}return r}(i.XFAObject),ft=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"range")}return f(r,[{key:i.$finalize,value:function(){this[i.$content]=this[i.$content].trim().split(/\\s*,\\s*/,2).map((function(e){return e.split("-").map((function(e){return parseInt(e.trim(),10)}))})).filter((function(e){return e.every((function(e){return!isNaN(e)}))})).map((function(e){return 1===e.length&&e.push(e[0]),e}))}}]),r}(i.ContentObject),ht=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"record")}return f(r,[{key:i.$finalize,value:function(){this[i.$content]=this[i.$content].trim();var e=parseInt(this[i.$content],10);!isNaN(e)&&e>=0&&(this[i.$content]=e)}}]),r}(i.ContentObject),dt=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"relevant")}return f(r,[{key:i.$finalize,value:function(){this[i.$content]=this[i.$content].trim().split(/\\s+/)}}]),r}(i.ContentObject),pt=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"rename")}return f(r,[{key:i.$finalize,value:function(){this[i.$content]=this[i.$content].trim(),(this[i.$content].toLowerCase().startsWith("xml")||this[i.$content].match(new RegExp("[\\\\p{L}_][\\\\p{L}\\\\d._\\\\p{M}-]*","u")))&&(0,s.warn)("XFA - Rename: invalid XFA name")}}]),r}(i.ContentObject),gt=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"renderPolicy",["server","client"])}return r}(i.OptionObject),mt=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"runScripts",["both","client","none","server"])}return r}(i.OptionObject),vt=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"script",!0)).currentPage=null,n.exclude=null,n.runScripts=null,n}return r}(i.XFAObject),yt=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"scriptModel",["XFA","none"])}return r}(i.OptionObject),bt=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"severity",["ignore","error","information","trace","warning"])}return r}(i.OptionObject),wt=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"silentPrint",!0)).addSilentPrint=null,n.printerName=null,n}return r}(i.XFAObject),kt=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"staple")).mode=(0,o.getStringOption)(e.mode,["usePrinterSetting","on","off"]),n}return r}(i.XFAObject),St=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"startNode")}return r}(i.StringObject),xt=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"startPage",0,(function(e){return!0}))}return r}(i.IntegerObject),At=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"submitFormat",["html","delegate","fdf","xml","pdf"])}return r}(i.OptionObject),Ot=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"submitUrl")}return r}(i.StringObject),Ct=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"subsetBelow",100,(function(e){return e>=0&&e<=100}))}return r}(i.IntegerObject),Tt=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"suppressBanner")}return r}(i.Option01),Ft=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"tagged")}return r}(i.Option01),Pt=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"template",!0)).base=null,n.relevant=null,n.startPage=null,n.uri=null,n.xsl=null,n}return r}(i.XFAObject),_t=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"threshold",["trace","error","information","warning"])}return r}(i.OptionObject),It=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"to",["null","memory","stderr","stdout","system","uri"])}return r}(i.OptionObject),Et=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"templateCache")).maxEntries=(0,o.getInteger)({data:e.maxEntries,defaultValue:5,validate:function(e){return e>=0}}),n}return r}(i.XFAObject),jt=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"trace",!0)).area=new i.XFAObjectArray,n}return r}(i.XFAObject),Rt=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"transform",!0)).groupParent=null,n.ifEmpty=null,n.nameAttr=null,n.picture=null,n.presence=null,n.rename=null,n.whitespace=null,n}return r}(i.XFAObject),Mt=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"type",["none","ascii85","asciiHex","ccittfax","flate","lzw","runLength","native","xdp","mergedXDP"])}return r}(i.OptionObject),Nt=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"uri")}return r}(i.StringObject),Bt=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"validate",["preSubmit","prePrint","preExecute","preSave"])}return r}(i.OptionObject),Dt=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"validateApprovalSignatures")}return f(r,[{key:i.$finalize,value:function(){this[i.$content]=this[i.$content].trim().split(/\\s+/).filter((function(e){return["docReady","postSign"].includes(e)}))}}]),r}(i.ContentObject),Lt=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"validationMessaging",["allMessagesIndividually","allMessagesTogether","firstMessageOnly","noMessages"])}return r}(i.OptionObject),Ut=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"version",["1.7","1.6","1.5","1.4","1.3","1.2"])}return r}(i.OptionObject),qt=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"VersionControl")).outputBelow=(0,o.getStringOption)(e.outputBelow,["warn","error","update"]),n.sourceAbove=(0,o.getStringOption)(e.sourceAbove,["warn","error"]),n.sourceBelow=(0,o.getStringOption)(e.sourceBelow,["update","maintain"]),n}return r}(i.XFAObject),Xt=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"viewerPreferences",!0)).ADBE_JSConsole=null,n.ADBE_JSDebugger=null,n.addViewerPreferences=null,n.duplexOption=null,n.enforce=null,n.numberOfCopies=null,n.pageRange=null,n.pickTrayByPDFSize=null,n.printScaling=null,n}return r}(i.XFAObject),Ht=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"webClient",!0)).name=e.name?e.name.trim():"",n.fontInfo=null,n.xdc=null,n}return r}(i.XFAObject),$t=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"whitespace",["preserve","ltrim","normalize","rtrim","trim"])}return r}(i.OptionObject),zt=function(e){d(r,e);var t=g(r);function r(e){return h(this,r),t.call(this,y,"window")}return f(r,[{key:i.$finalize,value:function(){var e=this[i.$content].trim().split(/\\s*,\\s*/,2).map((function(e){return parseInt(e,10)}));e.some((function(e){return isNaN(e)}))?this[i.$content]=[0,0]:(1===e.length&&e.push(e[0]),this[i.$content]=e)}}]),r}(i.ContentObject),Gt=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"xdc",!0)).uri=new i.XFAObjectArray,n.xsl=new i.XFAObjectArray,n}return r}(i.XFAObject),Wt=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"xdp",!0)).packets=null,n}return r}(i.XFAObject),Vt=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"xsl",!0)).debug=null,n.uri=null,n}return r}(i.XFAObject),Kt=function(e){d(r,e);var t=g(r);function r(e){var n;return h(this,r),(n=t.call(this,y,"zpl",!0)).name=e.name?e.name.trim():"",n.batchOutput=null,n.flipLabel=null,n.fontInfo=null,n.xdc=null,n}return r}(i.XFAObject),Yt=function(){function e(){h(this,e)}return f(e,null,[{key:a.$buildXFAObject,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"acrobat",value:function(e){return new b(e)}},{key:"acrobat7",value:function(e){return new w(e)}},{key:"ADBE_JSConsole",value:function(e){return new k(e)}},{key:"ADBE_JSDebugger",value:function(e){return new S(e)}},{key:"addSilentPrint",value:function(e){return new x(e)}},{key:"addViewerPreferences",value:function(e){return new A(e)}},{key:"adjustData",value:function(e){return new O(e)}},{key:"adobeExtensionLevel",value:function(e){return new C(e)}},{key:"agent",value:function(e){return new T(e)}},{key:"alwaysEmbed",value:function(e){return new F(e)}},{key:"amd",value:function(e){return new P(e)}},{key:"area",value:function(e){return new _(e)}},{key:"attributes",value:function(e){return new I(e)}},{key:"autoSave",value:function(e){return new E(e)}},{key:"base",value:function(e){return new j(e)}},{key:"batchOutput",value:function(e){return new R(e)}},{key:"behaviorOverride",value:function(e){return new M(e)}},{key:"cache",value:function(e){return new N(e)}},{key:"change",value:function(e){return new B(e)}},{key:"common",value:function(e){return new D(e)}},{key:"compress",value:function(e){return new L(e)}},{key:"compressLogicalStructure",value:function(e){return new U(e)}},{key:"compressObjectStream",value:function(e){return new q(e)}},{key:"compression",value:function(e){return new X(e)}},{key:"config",value:function(e){return new H(e)}},{key:"conformance",value:function(e){return new $(e)}},{key:"contentCopy",value:function(e){return new z(e)}},{key:"copies",value:function(e){return new G(e)}},{key:"creator",value:function(e){return new W(e)}},{key:"currentPage",value:function(e){return new V(e)}},{key:"data",value:function(e){return new K(e)}},{key:"debug",value:function(e){return new Y(e)}},{key:"defaultTypeface",value:function(e){return new J(e)}},{key:"destination",value:function(e){return new Z(e)}},{key:"documentAssembly",value:function(e){return new Q(e)}},{key:"driver",value:function(e){return new ee(e)}},{key:"duplexOption",value:function(e){return new te(e)}},{key:"dynamicRender",value:function(e){return new re(e)}},{key:"embed",value:function(e){return new ne(e)}},{key:"encrypt",value:function(e){return new ae(e)}},{key:"encryption",value:function(e){return new ie(e)}},{key:"encryptionLevel",value:function(e){return new oe(e)}},{key:"enforce",value:function(e){return new se(e)}},{key:"equate",value:function(e){return new ce(e)}},{key:"equateRange",value:function(e){return new ue(e)}},{key:"exclude",value:function(e){return new le(e)}},{key:"excludeNS",value:function(e){return new fe(e)}},{key:"flipLabel",value:function(e){return new he(e)}},{key:"fontInfo",value:function(e){return new de(e)}},{key:"formFieldFilling",value:function(e){return new pe(e)}},{key:"groupParent",value:function(e){return new ge(e)}},{key:"ifEmpty",value:function(e){return new me(e)}},{key:"includeXDPContent",value:function(e){return new ve(e)}},{key:"incrementalLoad",value:function(e){return new ye(e)}},{key:"incrementalMerge",value:function(e){return new be(e)}},{key:"interactive",value:function(e){return new we(e)}},{key:"jog",value:function(e){return new ke(e)}},{key:"labelPrinter",value:function(e){return new Se(e)}},{key:"layout",value:function(e){return new xe(e)}},{key:"level",value:function(e){return new Ae(e)}},{key:"linearized",value:function(e){return new Oe(e)}},{key:"locale",value:function(e){return new Ce(e)}},{key:"localeSet",value:function(e){return new Te(e)}},{key:"log",value:function(e){return new Fe(e)}},{key:"map",value:function(e){return new Pe(e)}},{key:"mediumInfo",value:function(e){return new _e(e)}},{key:"message",value:function(e){return new Ie(e)}},{key:"messaging",value:function(e){return new Ee(e)}},{key:"mode",value:function(e){return new je(e)}},{key:"modifyAnnots",value:function(e){return new Re(e)}},{key:"msgId",value:function(e){return new Me(e)}},{key:"nameAttr",value:function(e){return new Ne(e)}},{key:"neverEmbed",value:function(e){return new Be(e)}},{key:"numberOfCopies",value:function(e){return new De(e)}},{key:"openAction",value:function(e){return new Le(e)}},{key:"output",value:function(e){return new Ue(e)}},{key:"outputBin",value:function(e){return new qe(e)}},{key:"outputXSL",value:function(e){return new Xe(e)}},{key:"overprint",value:function(e){return new He(e)}},{key:"packets",value:function(e){return new $e(e)}},{key:"pageOffset",value:function(e){return new ze(e)}},{key:"pageRange",value:function(e){return new Ge(e)}},{key:"pagination",value:function(e){return new We(e)}},{key:"paginationOverride",value:function(e){return new Ve(e)}},{key:"part",value:function(e){return new Ke(e)}},{key:"pcl",value:function(e){return new Ye(e)}},{key:"pdf",value:function(e){return new Je(e)}},{key:"pdfa",value:function(e){return new Ze(e)}},{key:"permissions",value:function(e){return new Qe(e)}},{key:"pickTrayByPDFSize",value:function(e){return new et(e)}},{key:"picture",value:function(e){return new tt(e)}},{key:"plaintextMetadata",value:function(e){return new rt(e)}},{key:"presence",value:function(e){return new nt(e)}},{key:"present",value:function(e){return new at(e)}},{key:"print",value:function(e){return new it(e)}},{key:"printHighQuality",value:function(e){return new ot(e)}},{key:"printScaling",value:function(e){return new st(e)}},{key:"printerName",value:function(e){return new ct(e)}},{key:"producer",value:function(e){return new ut(e)}},{key:"ps",value:function(e){return new lt(e)}},{key:"range",value:function(e){return new ft(e)}},{key:"record",value:function(e){return new ht(e)}},{key:"relevant",value:function(e){return new dt(e)}},{key:"rename",value:function(e){return new pt(e)}},{key:"renderPolicy",value:function(e){return new gt(e)}},{key:"runScripts",value:function(e){return new mt(e)}},{key:"script",value:function(e){return new vt(e)}},{key:"scriptModel",value:function(e){return new yt(e)}},{key:"severity",value:function(e){return new bt(e)}},{key:"silentPrint",value:function(e){return new wt(e)}},{key:"staple",value:function(e){return new kt(e)}},{key:"startNode",value:function(e){return new St(e)}},{key:"startPage",value:function(e){return new xt(e)}},{key:"submitFormat",value:function(e){return new At(e)}},{key:"submitUrl",value:function(e){return new Ot(e)}},{key:"subsetBelow",value:function(e){return new Ct(e)}},{key:"suppressBanner",value:function(e){return new Tt(e)}},{key:"tagged",value:function(e){return new Ft(e)}},{key:"template",value:function(e){return new Pt(e)}},{key:"templateCache",value:function(e){return new Et(e)}},{key:"threshold",value:function(e){return new _t(e)}},{key:"to",value:function(e){return new It(e)}},{key:"trace",value:function(e){return new jt(e)}},{key:"transform",value:function(e){return new Rt(e)}},{key:"type",value:function(e){return new Mt(e)}},{key:"uri",value:function(e){return new Nt(e)}},{key:"validate",value:function(e){return new Bt(e)}},{key:"validateApprovalSignatures",value:function(e){return new Dt(e)}},{key:"validationMessaging",value:function(e){return new Lt(e)}},{key:"version",value:function(e){return new Ut(e)}},{key:"versionControl",value:function(e){return new qt(e)}},{key:"viewerPreferences",value:function(e){return new Xt(e)}},{key:"webClient",value:function(e){return new Ht(e)}},{key:"whitespace",value:function(e){return new $t(e)}},{key:"window",value:function(e){return new zt(e)}},{key:"xdc",value:function(e){return new Gt(e)}},{key:"xdp",value:function(e){return new Wt(e)}},{key:"xsl",value:function(e){return new Vt(e)}},{key:"zpl",value:function(e){return new Kt(e)}}]),e}();t.ConfigNamespace=Yt},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionSetNamespace=void 0;var a=r(178),i=r(176);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function l(e){var t=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(e){return!1}}();return function(){var r,n=h(e);if(t){var a=h(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return f(this,r)}}function f(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var d=a.NamespaceIds.connectionSet.id,p=function(e){c(r,e);var t=l(r);function r(e){var n;return s(this,r),(n=t.call(this,d,"connectionSet",!0)).wsdlConnection=new i.XFAObjectArray,n.xmlConnection=new i.XFAObjectArray,n.xsdConnection=new i.XFAObjectArray,n}return r}(i.XFAObject),g=function(e){c(r,e);var t=l(r);function r(e){var n;return s(this,r),(n=t.call(this,d,"effectiveInputPolicy")).id=e.id||"",n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(i.XFAObject),m=function(e){c(r,e);var t=l(r);function r(e){var n;return s(this,r),(n=t.call(this,d,"effectiveOutputPolicy")).id=e.id||"",n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(i.XFAObject),v=function(e){c(r,e);var t=l(r);function r(e){var n;return s(this,r),(n=t.call(this,d,"operation")).id=e.id||"",n.input=e.input||"",n.name=e.name||"",n.output=e.output||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(i.StringObject),y=function(e){c(r,e);var t=l(r);function r(e){var n;return s(this,r),(n=t.call(this,d,"rootElement")).id=e.id||"",n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(i.StringObject),b=function(e){c(r,e);var t=l(r);function r(e){var n;return s(this,r),(n=t.call(this,d,"soapAction")).id=e.id||"",n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(i.StringObject),w=function(e){c(r,e);var t=l(r);function r(e){var n;return s(this,r),(n=t.call(this,d,"soapAddress")).id=e.id||"",n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(i.StringObject),k=function(e){c(r,e);var t=l(r);function r(e){var n;return s(this,r),(n=t.call(this,d,"uri")).id=e.id||"",n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(i.StringObject),S=function(e){c(r,e);var t=l(r);function r(e){var n;return s(this,r),(n=t.call(this,d,"wsdlAddress")).id=e.id||"",n.name=e.name||"",n.use=e.use||"",n.usehref=e.usehref||"",n}return r}(i.StringObject),x=function(e){c(r,e);var t=l(r);function r(e){var n;return s(this,r),(n=t.call(this,d,"wsdlConnection",!0)).dataDescription=e.dataDescription||"",n.name=e.name||"",n.effectiveInputPolicy=null,n.effectiveOutputPolicy=null,n.operation=null,n.soapAction=null,n.soapAddress=null,n.wsdlAddress=null,n}return r}(i.XFAObject),A=function(e){c(r,e);var t=l(r);function r(e){var n;return s(this,r),(n=t.call(this,d,"xmlConnection",!0)).dataDescription=e.dataDescription||"",n.name=e.name||"",n.uri=null,n}return r}(i.XFAObject),O=function(e){c(r,e);var t=l(r);function r(e){var n;return s(this,r),(n=t.call(this,d,"xsdConnection",!0)).dataDescription=e.dataDescription||"",n.name=e.name||"",n.rootElement=null,n.uri=null,n}return r}(i.XFAObject),C=function(){function e(){s(this,e)}var t,r,n;return t=e,r=null,n=[{key:a.$buildXFAObject,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"connectionSet",value:function(e){return new p(e)}},{key:"effectiveInputPolicy",value:function(e){return new g(e)}},{key:"effectiveOutputPolicy",value:function(e){return new m(e)}},{key:"operation",value:function(e){return new v(e)}},{key:"rootElement",value:function(e){return new y(e)}},{key:"soapAction",value:function(e){return new b(e)}},{key:"soapAddress",value:function(e){return new w(e)}},{key:"uri",value:function(e){return new k(e)}},{key:"wsdlAddress",value:function(e){return new S(e)}},{key:"wsdlConnection",value:function(e){return new x(e)}},{key:"xmlConnection",value:function(e){return new A(e)}},{key:"xsdConnection",value:function(e){return new O(e)}}],r&&o(t.prototype,r),n&&o(t,n),e}();t.ConnectionSetNamespace=C},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.DatasetsNamespace=void 0;var a=r(176),i=r(178);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function f(e){var t=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(e){return!1}}();return function(){var r,n=d(e);if(t){var a=d(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}var p=i.NamespaceIds.datasets.id,g=function(e){u(r,e);var t=f(r);function r(e){return c(this,r),t.call(this,p,"data",e)}return r}(a.XmlObject),m=function(e){u(r,e);var t=f(r);function r(e){var n;return c(this,r),(n=t.call(this,p,"datasets",!0)).data=null,n.Signature=null,n}return s(r,[{key:a.$onChild,value:function(e){var t=e[a.$nodeName];"data"===t&&e[a.$namespaceId]===p||"Signature"===t&&e[a.$namespaceId]===i.NamespaceIds.signature.id?this[t]=e:e[a.$global]=!0,this[a.$appendChild](e)}}]),r}(a.XFAObject),v=function(){function e(){c(this,e)}return s(e,null,[{key:i.$buildXFAObject,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"datasets",value:function(e){return new m(e)}},{key:"data",value:function(e){return new g(e)}}]),e}();t.DatasetsNamespace=v},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.LocaleSetNamespace=void 0;var a=r(178),i=r(176),o=r(177);function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function f(e){var t=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(e){return!1}}();return function(){var r,n=d(e);if(t){var a=d(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return h(this,r)}}function h(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}var p=a.NamespaceIds.localeSet.id,g=function(e){u(r,e);var t=f(r);function r(e){var n;return c(this,r),(n=t.call(this,p,"calendarSymbols",!0)).name="gregorian",n.dayNames=new i.XFAObjectArray(2),n.eraNames=null,n.meridiemNames=null,n.monthNames=new i.XFAObjectArray(2),n}return r}(i.XFAObject),m=function(e){u(r,e);var t=f(r);function r(e){var n;return c(this,r),(n=t.call(this,p,"currencySymbol")).name=(0,o.getStringOption)(e.name,["symbol","isoname","decimal"]),n}return r}(i.StringObject),v=function(e){u(r,e);var t=f(r);function r(e){var n;return c(this,r),(n=t.call(this,p,"currencySymbols",!0)).currencySymbol=new i.XFAObjectArray(3),n}return r}(i.XFAObject),y=function(e){u(r,e);var t=f(r);function r(e){var n;return c(this,r),(n=t.call(this,p,"datePattern")).name=(0,o.getStringOption)(e.name,["full","long","med","short"]),n}return r}(i.StringObject),b=function(e){u(r,e);var t=f(r);function r(e){var n;return c(this,r),(n=t.call(this,p,"datePatterns",!0)).datePattern=new i.XFAObjectArray(4),n}return r}(i.XFAObject),w=function(e){u(r,e);var t=f(r);function r(e){return c(this,r),t.call(this,p,"dateTimeSymbols")}return r}(i.ContentObject),k=function(e){u(r,e);var t=f(r);function r(e){return c(this,r),t.call(this,p,"day")}return r}(i.StringObject),S=function(e){u(r,e);var t=f(r);function r(e){var n;return c(this,r),(n=t.call(this,p,"dayNames",!0)).abbr=(0,o.getInteger)({data:e.abbr,defaultValue:0,validate:function(e){return 1===e}}),n.day=new i.XFAObjectArray(7),n}return r}(i.XFAObject),x=function(e){u(r,e);var t=f(r);function r(e){return c(this,r),t.call(this,p,"era")}return r}(i.StringObject),A=function(e){u(r,e);var t=f(r);function r(e){var n;return c(this,r),(n=t.call(this,p,"eraNames",!0)).era=new i.XFAObjectArray(2),n}return r}(i.XFAObject),O=function(e){u(r,e);var t=f(r);function r(e){var n;return c(this,r),(n=t.call(this,p,"locale",!0)).desc=e.desc||"",n.name="isoname",n.calendarSymbols=null,n.currencySymbols=null,n.datePatterns=null,n.dateTimeSymbols=null,n.numberPatterns=null,n.numberSymbols=null,n.timePatterns=null,n.typeFaces=null,n}return r}(i.XFAObject),C=function(e){u(r,e);var t=f(r);function r(e){var n;return c(this,r),(n=t.call(this,p,"localeSet",!0)).locale=new i.XFAObjectArray,n}return r}(i.XFAObject),T=function(e){u(r,e);var t=f(r);function r(e){return c(this,r),t.call(this,p,"meridiem")}return r}(i.StringObject),F=function(e){u(r,e);var t=f(r);function r(e){var n;return c(this,r),(n=t.call(this,p,"meridiemNames",!0)).meridiem=new i.XFAObjectArray(2),n}return r}(i.XFAObject),P=function(e){u(r,e);var t=f(r);function r(e){return c(this,r),t.call(this,p,"month")}return r}(i.StringObject),_=function(e){u(r,e);var t=f(r);function r(e){var n;return c(this,r),(n=t.call(this,p,"monthNames",!0)).abbr=(0,o.getInteger)({data:e.abbr,defaultValue:0,validate:function(e){return 1===e}}),n.month=new i.XFAObjectArray(12),n}return r}(i.XFAObject),I=function(e){u(r,e);var t=f(r);function r(e){var n;return c(this,r),(n=t.call(this,p,"numberPattern")).name=(0,o.getStringOption)(e.name,["full","long","med","short"]),n}return r}(i.StringObject),E=function(e){u(r,e);var t=f(r);function r(e){var n;return c(this,r),(n=t.call(this,p,"numberPatterns",!0)).numberPattern=new i.XFAObjectArray(4),n}return r}(i.XFAObject),j=function(e){u(r,e);var t=f(r);function r(e){var n;return c(this,r),(n=t.call(this,p,"numberSymbol")).name=(0,o.getStringOption)(e.name,["decimal","grouping","percent","minus","zero"]),n}return r}(i.StringObject),R=function(e){u(r,e);var t=f(r);function r(e){var n;return c(this,r),(n=t.call(this,p,"numberSymbols",!0)).numberSymbol=new i.XFAObjectArray(5),n}return r}(i.XFAObject),M=function(e){u(r,e);var t=f(r);function r(e){var n;return c(this,r),(n=t.call(this,p,"timePattern")).name=(0,o.getStringOption)(e.name,["full","long","med","short"]),n}return r}(i.StringObject),N=function(e){u(r,e);var t=f(r);function r(e){var n;return c(this,r),(n=t.call(this,p,"timePatterns",!0)).timePattern=new i.XFAObjectArray(4),n}return r}(i.XFAObject),B=function(e){u(r,e);var t=f(r);function r(e){var n;return c(this,r),(n=t.call(this,p,"typeFace",!0)).name=""|e.name,n}return r}(i.XFAObject),D=function(e){u(r,e);var t=f(r);function r(e){var n;return c(this,r),(n=t.call(this,p,"typeFaces",!0)).typeFace=new i.XFAObjectArray,n}return r}(i.XFAObject),L=function(){function e(){c(this,e)}var t,r,n;return t=e,r=null,n=[{key:a.$buildXFAObject,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"calendarSymbols",value:function(e){return new g(e)}},{key:"currencySymbol",value:function(e){return new m(e)}},{key:"currencySymbols",value:function(e){return new v(e)}},{key:"datePattern",value:function(e){return new y(e)}},{key:"datePatterns",value:function(e){return new b(e)}},{key:"dateTimeSymbols",value:function(e){return new w(e)}},{key:"day",value:function(e){return new k(e)}},{key:"dayNames",value:function(e){return new S(e)}},{key:"era",value:function(e){return new x(e)}},{key:"eraNames",value:function(e){return new A(e)}},{key:"locale",value:function(e){return new O(e)}},{key:"localeSet",value:function(e){return new C(e)}},{key:"meridiem",value:function(e){return new T(e)}},{key:"meridiemNames",value:function(e){return new F(e)}},{key:"month",value:function(e){return new P(e)}},{key:"monthNames",value:function(e){return new _(e)}},{key:"numberPattern",value:function(e){return new I(e)}},{key:"numberPatterns",value:function(e){return new E(e)}},{key:"numberSymbol",value:function(e){return new j(e)}},{key:"numberSymbols",value:function(e){return new R(e)}},{key:"timePattern",value:function(e){return new M(e)}},{key:"timePatterns",value:function(e){return new N(e)}},{key:"typeFace",value:function(e){return new B(e)}},{key:"typeFaces",value:function(e){return new D(e)}}],r&&s(t.prototype,r),n&&s(t,n),e}();t.LocaleSetNamespace=L},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.SignatureNamespace=void 0;var a=r(178),i=r(176);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function u(e){var t=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(e){return!1}}();return function(){var r,n=f(e);if(t){var a=f(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return l(this,r)}}function l(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var h=a.NamespaceIds.signature.id,d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(r,e);var t=u(r);function r(e){return s(this,r),t.call(this,h,"signature",!0)}return r}(i.XFAObject),p=function(){function e(){s(this,e)}var t,r,n;return t=e,r=null,n=[{key:a.$buildXFAObject,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"signature",value:function(e){return new d(e)}}],r&&o(t.prototype,r),n&&o(t,n),e}();t.SignatureNamespace=p},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.StylesheetNamespace=void 0;var a=r(178),i=r(176);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function u(e){var t=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(e){return!1}}();return function(){var r,n=f(e);if(t){var a=f(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return l(this,r)}}function l(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}var h=a.NamespaceIds.stylesheet.id,d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(r,e);var t=u(r);function r(e){return s(this,r),t.call(this,h,"stylesheet",!0)}return r}(i.XFAObject),p=function(){function e(){s(this,e)}var t,r,n;return t=e,r=null,n=[{key:a.$buildXFAObject,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"stylesheet",value:function(e){return new d(e)}}],r&&o(t.prototype,r),n&&o(t,n),e}();t.StylesheetNamespace=p},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.XdpNamespace=void 0;var a=r(178),i=r(176);function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function l(e){var t=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(e){return!1}}();return function(){var r,n=h(e);if(t){var a=h(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return f(this,r)}}function f(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var d=a.NamespaceIds.xdp.id,p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(r,e);var t=l(r);function r(e){var n;return o(this,r),(n=t.call(this,d,"xdp",!0)).uuid=e.uuid||"",n.timeStamp=e.timeStamp||"",n.config=null,n.connectionSet=null,n.datasets=null,n.localeSet=null,n.stylesheet=new i.XFAObjectArray,n.template=null,n}return c(r,[{key:i.$onChildCheck,value:function(e){var t=a.NamespaceIds[e[i.$nodeName]];return t&&e[i.$namespaceId]===t.id}}]),r}(i.XFAObject),g=function(){function e(){o(this,e)}return c(e,null,[{key:a.$buildXFAObject,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"xdp",value:function(e){return new p(e)}}]),e}();t.XdpNamespace=g},(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.XhtmlNamespace=void 0;var a=r(176),i=r(178),o=r(181),s=r(177);function c(e,t,r){return c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}(e,t);if(n){var a=Object.getOwnPropertyDescriptor(n,t);return a.get?a.get.call(r):a.value}},c(e,t,r||e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&l(e.prototype,t),r&&l(e,r),e}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function p(e){var t=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(e){return!1}}();return function(){var r,n=m(e);if(t){var a=m(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return g(this,r)}}function g(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");return e}(e):t}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,a,i=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw a}}return i}}(e,t)||y(e,t)||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.")}()}function y(e,t){if(e){if("string"==typeof e)return b(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?b(e,t):void 0}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var w=i.NamespaceIds.xhtml.id,k=new Set(["color","font","font-family","font-size","font-stretch","font-style","font-weight","margin","margin-bottom","margin-left","margin-right","margin-top","letter-spacing","line-height","orphans","page-break-after","page-break-before","page-break-inside","tab-interval","tab-stop","text-align","text-decoration","text-indent","vertical-align","widows","kerning-mode","xfa-font-horizontal-scale","xfa-font-vertical-scale","xfa-spacerun","xfa-tab-stops"]),S=new Map([["page-break-after","breakAfter"],["page-break-before","breakBefore"],["page-break-inside","breakInside"],["kerning-mode",function(e){return"none"===e?"none":"normal"}],["xfa-font-horizontal-scale",function(e){return"scaleX(".concat(Math.max(0,Math.min(parseInt(e)/100)).toFixed(2),")")}],["xfa-font-vertical-scale",function(e){return"scaleY(".concat(Math.max(0,Math.min(parseInt(e)/100)).toFixed(2),")")}],["xfa-spacerun",""],["xfa-tab-stops",""],["font-size",function(e){return(0,o.measureToString)(1*(0,s.getMeasurement)(e))}],["letter-spacing",function(e){return(0,o.measureToString)((0,s.getMeasurement)(e))}],["line-height",function(e){return(0,o.measureToString)(.99*(0,s.getMeasurement)(e))}],["margin",function(e){return(0,o.measureToString)((0,s.getMeasurement)(e))}],["margin-bottom",function(e){return(0,o.measureToString)((0,s.getMeasurement)(e))}],["margin-left",function(e){return(0,o.measureToString)((0,s.getMeasurement)(e))}],["margin-right",function(e){return(0,o.measureToString)((0,s.getMeasurement)(e))}],["margin-top",function(e){return(0,o.measureToString)((0,s.getMeasurement)(e))}],["text-indent",function(e){return(0,o.measureToString)((0,s.getMeasurement)(e))}],["font-family",function(e){return(0,o.getFonts)(e)}]]),x=/\\s+/g,A=/[\\r\\n]+/g;function O(e){var t=Object.create(null);if(!e)return t;var r,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=y(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}(e.split(";").map((function(e){return e.split(":",2)})));try{for(n.s();!(r=n.n()).done;){var a=v(r.value,2),i=a[0],s=a[1],c=S.get(i);if(""!==c){var u=s;c&&(u="string"==typeof c?c:c(s)),i.endsWith("scale")?t.transform?t.transform="".concat(t[i]," ").concat(u):t.transform=u:t[i.replaceAll(/-([a-zA-Z])/g,(function(e,t){return t.toUpperCase()}))]=u}}}catch(e){n.e(e)}finally{n.f()}return(0,o.fixTextIndent)(t),t}var C=new Set(["body","html"]),T=function(e){h(r,e);var t=p(r);function r(e,n){var a,i;return u(this,r),(a=t.call(this,w,n)).style=(i=e.style)?i.trim().split(/\\s*;\\s*/).filter((function(e){return!!e})).map((function(e){return e.split(/\\s*:\\s*/,2)})).filter((function(e){var t=v(e,1)[0];return k.has(t)})).map((function(e){return e.join(":")})).join(";"):"",a}return f(r,[{key:a.$acceptWhitespace,value:function(){return!C.has(this[a.$nodeName])}},{key:a.$onText,value:function(e){e=e.replace(A,""),this.style.includes("xfa-spacerun:yes")||(e=e.replace(x," ")),e&&(this[a.$content]+=e)}},{key:a.$toHTML,value:function(e){var t=[];return this[a.$extra]={children:t},this[a.$childrenToHTML]({}),0!==t.length||this[a.$content]?s.HTMLResult.success({name:this[a.$nodeName],attributes:{href:this.href,style:O(this.style)},children:t,value:this[a.$content]||""}):s.HTMLResult.EMPTY}}]),r}(a.XmlObject),F=function(e){h(r,e);var t=p(r);function r(e){var n;return u(this,r),(n=t.call(this,e,"a")).href=e.href||"",n}return r}(T),P=function(e){h(r,e);var t=p(r);function r(e){return u(this,r),t.call(this,e,"b")}return r}(T),_=function(e){h(r,e);var t=p(r);function r(e){return u(this,r),t.call(this,e,"body")}return f(r,[{key:a.$toHTML,value:function(e){var t=c(m(r.prototype),a.$toHTML,this).call(this,e),n=t.html;return n?(n.name="div",n.attributes.class="xfaRich",t):s.HTMLResult.EMPTY}}]),r}(T),I=function(e){h(r,e);var t=p(r);function r(e){return u(this,r),t.call(this,e,"br")}return f(r,[{key:a.$text,value:function(){return"\\n"}},{key:a.$toHTML,value:function(e){return s.HTMLResult.success({name:"br"})}}]),r}(T),E=function(e){h(r,e);var t=p(r);function r(e){return u(this,r),t.call(this,e,"html")}return f(r,[{key:a.$toHTML,value:function(e){var t=[];if(this[a.$extra]={children:t},this[a.$childrenToHTML]({}),0===t.length)return s.HTMLResult.success({name:"div",attributes:{class:"xfaRich",style:{}},value:this[a.$content]||""});if(1===t.length){var r=t[0];if(r.attributes&&"xfaRich"===r.attributes.class)return s.HTMLResult.success(r)}return s.HTMLResult.success({name:"div",attributes:{class:"xfaRich",style:{}},children:t})}}]),r}(T),j=function(e){h(r,e);var t=p(r);function r(e){return u(this,r),t.call(this,e,"i")}return r}(T),R=function(e){h(r,e);var t=p(r);function r(e){return u(this,r),t.call(this,e,"li")}return r}(T),M=function(e){h(r,e);var t=p(r);function r(e){return u(this,r),t.call(this,e,"ol")}return r}(T),N=function(e){h(r,e);var t=p(r);function r(e){return u(this,r),t.call(this,e,"p")}return f(r,[{key:a.$text,value:function(){return c(m(r.prototype),a.$text,this).call(this)+"\\n"}}]),r}(T),B=function(e){h(r,e);var t=p(r);function r(e){return u(this,r),t.call(this,e,"span")}return r}(T),D=function(e){h(r,e);var t=p(r);function r(e){return u(this,r),t.call(this,e,"sub")}return r}(T),L=function(e){h(r,e);var t=p(r);function r(e){return u(this,r),t.call(this,e,"sup")}return r}(T),U=function(e){h(r,e);var t=p(r);function r(e){return u(this,r),t.call(this,e,"ul")}return r}(T),q=function(){function e(){u(this,e)}return f(e,null,[{key:i.$buildXFAObject,value:function(t,r){if(e.hasOwnProperty(t))return e[t](r)}},{key:"a",value:function(e){return new F(e)}},{key:"b",value:function(e){return new P(e)}},{key:"body",value:function(e){return new _(e)}},{key:"br",value:function(e){return new I(e)}},{key:"html",value:function(e){return new E(e)}},{key:"i",value:function(e){return new j(e)}},{key:"li",value:function(e){return new R(e)}},{key:"ol",value:function(e){return new M(e)}},{key:"p",value:function(e){return new N(e)}},{key:"span",value:function(e){return new B(e)}},{key:"sub",value:function(e){return new D(e)}},{key:"sup",value:function(e){return new L(e)}},{key:"ul",value:function(e){return new U(e)}}]),e}();t.XhtmlNamespace=q},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnknownNamespace=void 0;var n=r(178),a=r(176);function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.namespaceId=t}var t,r,o;return t=e,(r=[{key:n.$buildXFAObject,value:function(e,t){return new a.XmlObject(this.namespaceId,e,t)}}])&&i(t.prototype,r),o&&i(t,o),e}();t.UnknownNamespace=o},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.XRef=void 0;var n,a=(n=r(2))&&n.__esModule?n:{default:n},i=r(4),o=r(113),s=r(125),c=r(117),u=r(173);function l(e,t,r,n,a,i,o){try{var s=e[i](o),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,a)}function f(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function o(e){l(i,n,a,o,s,"next",e)}function s(e){l(i,n,a,o,s,"throw",e)}o(void 0)}))}}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var d=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.stream=t,this.pdfManager=r,this.entries=[],this.xrefstms=Object.create(null),this._cacheMap=new Map,this.stats={streamTypes:Object.create(null),fontTypes:Object.create(null)},this._newRefNum=null}var t,r,n,l,d;return t=e,r=[{key:"getNewRef",value:function(){return null===this._newRefNum&&(this._newRefNum=this.entries.length),o.Ref.get(this._newRefNum++,0)}},{key:"resetNewRef",value:function(){this._newRefNum=null}},{key:"setStartXRef",value:function(e){this.startXRefQueue=[e]}},{key:"parse",value:function(){var e,t,r,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];n?((0,i.warn)("Indexing all PDF objects"),e=this.indexObjects()):e=this.readXRef(),e.assignXref(this),this.trailer=e;try{t=e.get("Encrypt")}catch(e){if(e instanceof c.MissingDataException)throw e;(0,i.warn)(\'XRef.parse - Invalid "Encrypt" reference: "\'.concat(e,\'".\'))}if((0,o.isDict)(t)){var a=e.get("ID"),s=a&&a.length?a[0]:"";t.suppressEncryption=!0,this.encrypt=new u.CipherTransformFactory(t,s,this.pdfManager.password)}try{r=e.get("Root")}catch(e){if(e instanceof c.MissingDataException)throw e;(0,i.warn)(\'XRef.parse - Invalid "Root" reference: "\'.concat(e,\'".\'))}if(!(0,o.isDict)(r)||!r.has("Pages")){if(!n)throw new c.XRefParseException;throw new i.FormatError("Invalid root reference")}this.root=r}},{key:"processXRefTable",value:function(e){"tableState"in this||(this.tableState={entryNum:0,streamPos:e.lexer.stream.pos,parserBuf1:e.buf1,parserBuf2:e.buf2});var t=this.readXRefTable(e);if(!(0,o.isCmd)(t,"trailer"))throw new i.FormatError("Invalid XRef table: could not find trailer dictionary");var r=e.getObj();if(!(0,o.isDict)(r)&&r.dict&&(r=r.dict),!(0,o.isDict)(r))throw new i.FormatError("Invalid XRef table: could not parse trailer dictionary");return delete this.tableState,r}},{key:"readXRefTable",value:function(e){var t,r=e.lexer.stream,n=this.tableState;for(r.pos=n.streamPos,e.buf1=n.parserBuf1,e.buf2=n.parserBuf2;;){if(!("firstEntryNum"in n)||!("entryCount"in n)){if((0,o.isCmd)(t=e.getObj(),"trailer"))break;n.firstEntryNum=t,n.entryCount=e.getObj()}var a=n.firstEntryNum,s=n.entryCount;if(!Number.isInteger(a)||!Number.isInteger(s))throw new i.FormatError("Invalid XRef table: wrong types in subsection header");for(var c=n.entryNum;c<s;c++){n.streamPos=r.pos,n.entryNum=c,n.parserBuf1=e.buf1,n.parserBuf2=e.buf2;var u={};u.offset=e.getObj(),u.gen=e.getObj();var l=e.getObj();if(l instanceof o.Cmd)switch(l.cmd){case"f":u.free=!0;break;case"n":u.uncompressed=!0}if(!Number.isInteger(u.offset)||!Number.isInteger(u.gen)||!u.free&&!u.uncompressed)throw new i.FormatError("Invalid entry in XRef subsection: ".concat(a,", ").concat(s));0===c&&u.free&&1===a&&(a=0),this.entries[c+a]||(this.entries[c+a]=u)}n.entryNum=0,n.streamPos=r.pos,n.parserBuf1=e.buf1,n.parserBuf2=e.buf2,delete n.firstEntryNum,delete n.entryCount}if(this.entries[0]&&!this.entries[0].free)throw new i.FormatError("Invalid XRef table: unexpected first object");return t}},{key:"processXRefStream",value:function(e){if(!("streamState"in this)){var t=e.dict,r=t.get("W"),n=t.get("Index");n||(n=[0,t.get("Size")]),this.streamState={entryRanges:n,byteWidths:r,entryNum:0,streamPos:e.pos}}return this.readXRefStream(e),delete this.streamState,e.dict}},{key:"readXRefStream",value:function(e){var t,r,n=this.streamState;e.pos=n.streamPos;for(var a=n.byteWidths,o=a[0],s=a[1],c=a[2],u=n.entryRanges;u.length>0;){var l=u[0],f=u[1];if(!Number.isInteger(l)||!Number.isInteger(f))throw new i.FormatError("Invalid XRef range fields: ".concat(l,", ").concat(f));if(!Number.isInteger(o)||!Number.isInteger(s)||!Number.isInteger(c))throw new i.FormatError("Invalid XRef entry fields length: ".concat(l,", ").concat(f));for(t=n.entryNum;t<f;++t){n.entryNum=t,n.streamPos=e.pos;var h=0,d=0,p=0;for(r=0;r<o;++r)h=h<<8|e.getByte();for(0===o&&(h=1),r=0;r<s;++r)d=d<<8|e.getByte();for(r=0;r<c;++r)p=p<<8|e.getByte();var g={};switch(g.offset=d,g.gen=p,h){case 0:g.free=!0;break;case 1:g.uncompressed=!0;break;case 2:break;default:throw new i.FormatError("Invalid XRef entry type: ".concat(h))}this.entries[l+t]||(this.entries[l+t]=g)}n.entryNum=0,n.streamPos=e.pos,u.splice(0,2)}}},{key:"indexObjects",value:function(){function e(e,t){for(var r="",n=e[t];10!==n&&13!==n&&60!==n&&!(++t>=e.length);)r+=String.fromCharCode(n),n=e[t];return r}function t(e,t,r){for(var n=r.length,a=e.length,i=0;t<a;){for(var o=0;o<n&&e[t+o]===r[o];)++o;if(o>=n)break;t++,i++}return i}var r=/^(\\d+)\\s+(\\d+)\\s+obj\\b/,n=/\\bendobj[\\b\\s]$/,a=/\\s+(\\d+\\s+\\d+\\s+obj[\\b\\s<])$/,c=new Uint8Array([116,114,97,105,108,101,114]),u=new Uint8Array([115,116,97,114,116,120,114,101,102]),l=new Uint8Array([111,98,106]),f=new Uint8Array([47,88,82,101,102]);this.entries.length=0;var h=this.stream;h.pos=0;for(var d,p=h.getBytes(),g=p.length,m=h.start,v=[],y=[];m<g;){var b=p[m];if(9!==b&&10!==b&&13!==b&&32!==b)if(37!==b){var w=e(p,m),k=void 0;if(w.startsWith("xref")&&(4===w.length||/\\s/.test(w[4])))m+=t(p,m,c),v.push(m),m+=t(p,m,u);else if(k=r.exec(w)){var S=0|k[1],x=0|k[2];this.entries[S]&&this.entries[S].gen!==x||(this.entries[S]={offset:m-h.start,gen:x,uncompressed:!0});for(var A=void 0,O=m+w.length;O<p.length;){var C=O+t(p,O,l)+4;A=C-m;var T=Math.max(C-25,O),F=(0,i.bytesToString)(p.subarray(T,C));if(n.test(F))break;var P=a.exec(F);if(P&&P[1]){(0,i.warn)(\'indexObjects: Found new "obj" inside of another "obj", caused by missing "endobj" -- trying to recover.\'),A-=P[1].length;break}O=C}var _=p.subarray(m,m+A),I=t(_,0,f);I<A&&_[I+5]<64&&(y.push(m-h.start),this.xrefstms[m-h.start]=1),m+=A}else w.startsWith("trailer")&&(7===w.length||/\\s/.test(w[7]))?(v.push(m),m+=t(p,m,u)):m+=w.length+1}else do{if(++m>=g)break;b=p[m]}while(10!==b&&13!==b);else++m}for(var E=0,j=y.length;E<j;++E)this.startXRefQueue.push(y[E]),this.readXRef(!0);for(var R=0,M=v.length;R<M;++R){h.pos=v[R];var N=new s.Parser({lexer:new s.Lexer(h),xref:this,allowStreams:!0,recoveryMode:!0}),B=N.getObj();if((0,o.isCmd)(B,"trailer")){var D=N.getObj();if((0,o.isDict)(D)){try{var L=D.get("Root");if(!(L instanceof o.Dict))continue;var U=L.get("Pages");if(!(U instanceof o.Dict))continue;var q=U.get("Count");if(!Number.isInteger(q))continue}catch(e){continue}if(D.has("ID"))return D;d=D}}}if(d)return d;throw new i.InvalidPDFException("Invalid PDF structure.")}},{key:"readXRef",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.stream,r=new Set;try{for(;this.startXRefQueue.length;){var n=this.startXRefQueue[0];if(r.has(n))(0,i.warn)("readXRef - skipping XRef table since it was already parsed."),this.startXRefQueue.shift();else{r.add(n),t.pos=n+t.start;var a=new s.Parser({lexer:new s.Lexer(t),xref:this,allowStreams:!0}),u=a.getObj(),l=void 0;if((0,o.isCmd)(u,"xref")){if(l=this.processXRefTable(a),this.topDict||(this.topDict=l),u=l.get("XRefStm"),Number.isInteger(u)){var f=u;f in this.xrefstms||(this.xrefstms[f]=1,this.startXRefQueue.push(f))}}else{if(!Number.isInteger(u))throw new i.FormatError("Invalid XRef stream header");if(!Number.isInteger(a.getObj())||!(0,o.isCmd)(a.getObj(),"obj")||!(0,o.isStream)(u=a.getObj()))throw new i.FormatError("Invalid XRef stream");if(l=this.processXRefStream(u),this.topDict||(this.topDict=l),!l)throw new i.FormatError("Failed to read XRef stream")}u=l.get("Prev"),Number.isInteger(u)?this.startXRefQueue.push(u):(0,o.isRef)(u)&&this.startXRefQueue.push(u.num),this.startXRefQueue.shift()}}return this.topDict}catch(e){if(e instanceof c.MissingDataException)throw e;(0,i.info)("(while reading XRef): "+e)}if(!e)throw new c.XRefParseException}},{key:"getEntry",value:function(e){var t=this.entries[e];return t&&!t.free&&t.offset?t:null}},{key:"fetchIfRef",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e instanceof o.Ref?this.fetch(e,t):e}},{key:"fetch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!(e instanceof o.Ref))throw new Error("ref object is not a reference");var r=e.num,n=this._cacheMap.get(r);if(void 0!==n)return n instanceof o.Dict&&!n.objId&&(n.objId=e.toString()),n;var a=this.getEntry(r);return null===a?(this._cacheMap.set(r,a),a):(a=a.uncompressed?this.fetchUncompressed(e,a,t):this.fetchCompressed(e,a,t),(0,o.isDict)(a)?a.objId=e.toString():(0,o.isStream)(a)&&(a.dict.objId=e.toString()),a)}},{key:"fetchUncompressed",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=e.gen,a=e.num;if(t.gen!==n)throw new c.XRefEntryException("Inconsistent generation in XRef: ".concat(e));var i=this.stream.makeSubStream(t.offset+this.stream.start),u=new s.Parser({lexer:new s.Lexer(i),xref:this,allowStreams:!0}),l=u.getObj(),f=u.getObj(),h=u.getObj();if(l!==a||f!==n||!(h instanceof o.Cmd))throw new c.XRefEntryException("Bad (uncompressed) XRef entry: ".concat(e));if("obj"!==h.cmd){if(h.cmd.startsWith("obj")&&(a=parseInt(h.cmd.substring(3),10),!Number.isNaN(a)))return a;throw new c.XRefEntryException("Bad (uncompressed) XRef entry: ".concat(e))}return t=this.encrypt&&!r?u.getObj(this.encrypt.createCipherTransform(a,n)):u.getObj(),(0,o.isStream)(t)||this._cacheMap.set(a,t),t}},{key:"fetchCompressed",value:function(e,t){var r=t.offset,n=this.fetch(o.Ref.get(r,0));if(!(0,o.isStream)(n))throw new i.FormatError("bad ObjStm stream");var a=n.dict.get("First"),u=n.dict.get("N");if(!Number.isInteger(a)||!Number.isInteger(u))throw new i.FormatError("invalid first and n parameters for ObjStm stream");for(var l=new s.Parser({lexer:new s.Lexer(n),xref:this,allowStreams:!0}),f=new Array(u),h=new Array(u),d=0;d<u;++d){var p=l.getObj();if(!Number.isInteger(p))throw new i.FormatError("invalid object number in the ObjStm stream: ".concat(p));var g=l.getObj();if(!Number.isInteger(g))throw new i.FormatError("invalid object offset in the ObjStm stream: ".concat(g));f[d]=p,h[d]=g}for(var m=(n.start||0)+a,v=new Array(u),y=0;y<u;++y){var b=y<u-1?h[y+1]-h[y]:void 0;if(b<0)throw new i.FormatError("Invalid offset in the ObjStm stream.");var w=(l=new s.Parser({lexer:new s.Lexer(n.makeSubStream(m+h[y],b,n.dict)),xref:this,allowStreams:!0})).getObj();if(v[y]=w,!(0,o.isStream)(w)){var k=f[y],S=this.entries[k];S&&S.offset===r&&S.gen===y&&this._cacheMap.set(k,w)}}if(void 0===(t=v[t.gen]))throw new c.XRefEntryException("Bad (compressed) XRef entry: ".concat(e));return t}},{key:"fetchIfRefAsync",value:(d=f(a.default.mark((function e(t,r){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t instanceof o.Ref)){e.next=2;break}return e.abrupt("return",this.fetchAsync(t,r));case 2:return e.abrupt("return",t);case 3:case"end":return e.stop()}}),e,this)}))),function(e,t){return d.apply(this,arguments)})},{key:"fetchAsync",value:(l=f(a.default.mark((function e(t,r){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.abrupt("return",this.fetch(t,r));case 4:if(e.prev=4,e.t0=e.catch(0),e.t0 instanceof c.MissingDataException){e.next=8;break}throw e.t0;case 8:return e.next=10,this.pdfManager.requestRange(e.t0.begin,e.t0.end);case 10:return e.abrupt("return",this.fetchAsync(t,r));case 11:case"end":return e.stop()}}),e,this,[[0,4]])}))),function(e,t){return l.apply(this,arguments)})},{key:"getCatalogObj",value:function(){return this.root}}],r&&h(t.prototype,r),n&&h(t,n),e}();t.XRef=d},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessageHandler=void 0;var n,a=(n=r(2))&&n.__esModule?n:{default:n},i=r(4);function o(e,t,r,n,a,i,o){try{var s=e[i](o),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,a)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}var u=1,l=2,f=1,h=2,d=3,p=4,g=5,m=6,v=7,y=8;function b(e){if("object"!==c(e)||null===e)return e;switch(e.name){case"AbortException":return new i.AbortException(e.message);case"MissingPDFException":return new i.MissingPDFException(e.message);case"UnexpectedResponseException":return new i.UnexpectedResponseException(e.message,e.status);case"UnknownErrorException":return new i.UnknownErrorException(e.message,e.details);default:return new i.UnknownErrorException(e.message,e.toString())}}var w=function(){function e(t,r,n){var a=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sourceName=t,this.targetName=r,this.comObj=n,this.callbackId=1,this.streamId=1,this.postMessageTransfers=!0,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=function(e){var t=e.data;if(t.targetName===a.sourceName)if(t.stream)a._processStreamMessage(t);else if(t.callback){var r=t.callbackId,i=a.callbackCapabilities[r];if(!i)throw new Error("Cannot resolve callback ".concat(r));if(delete a.callbackCapabilities[r],t.callback===u)i.resolve(t.data);else{if(t.callback!==l)throw new Error("Unexpected callback case");i.reject(b(t.reason))}}else{var o=a.actionHandler[t.action];if(!o)throw new Error("Unknown action from worker: ".concat(t.action));if(t.callbackId){var s=a.sourceName,c=t.sourceName;new Promise((function(e){e(o(t.data))})).then((function(e){n.postMessage({sourceName:s,targetName:c,callback:u,callbackId:t.callbackId,data:e})}),(function(e){n.postMessage({sourceName:s,targetName:c,callback:l,callbackId:t.callbackId,reason:b(e)})}))}else t.streamId?a._createStreamSink(t):o(t.data)}},n.addEventListener("message",this._onComObjOnMessage)}var t,r,n,c,w;return t=e,r=[{key:"on",value:function(e,t){var r=this.actionHandler;if(r[e])throw new Error(\'There is already an actionName called "\'.concat(e,\'"\'));r[e]=t}},{key:"send",value:function(e,t,r){this._postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:t},r)}},{key:"sendWithPromise",value:function(e,t,r){var n=this.callbackId++,a=(0,i.createPromiseCapability)();this.callbackCapabilities[n]=a;try{this._postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:n,data:t},r)}catch(e){a.reject(e)}return a.promise}},{key:"sendWithStream",value:function(e,t,r,n){var a=this,o=this.streamId++,s=this.sourceName,c=this.targetName,u=this.comObj;return new ReadableStream({start:function(r){var u=(0,i.createPromiseCapability)();return a.streamControllers[o]={controller:r,startCall:u,pullCall:null,cancelCall:null,isClosed:!1},a._postMessage({sourceName:s,targetName:c,action:e,streamId:o,data:t,desiredSize:r.desiredSize},n),u.promise},pull:function(e){var t=(0,i.createPromiseCapability)();return a.streamControllers[o].pullCall=t,u.postMessage({sourceName:s,targetName:c,stream:m,streamId:o,desiredSize:e.desiredSize}),t.promise},cancel:function(e){(0,i.assert)(e instanceof Error,"cancel must have a valid reason");var t=(0,i.createPromiseCapability)();return a.streamControllers[o].cancelCall=t,a.streamControllers[o].isClosed=!0,u.postMessage({sourceName:s,targetName:c,stream:f,streamId:o,reason:b(e)}),t.promise}},r)}},{key:"_createStreamSink",value:function(e){var t=this,r=this.actionHandler[e.action],n=e.streamId,a=this.sourceName,o=e.sourceName,s=this.comObj,c={enqueue:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,s=arguments.length>2?arguments[2]:void 0;if(!this.isCancelled){var c=this.desiredSize;this.desiredSize-=r,c>0&&this.desiredSize<=0&&(this.sinkCapability=(0,i.createPromiseCapability)(),this.ready=this.sinkCapability.promise),t._postMessage({sourceName:a,targetName:o,stream:p,streamId:n,chunk:e},s)}},close:function(){this.isCancelled||(this.isCancelled=!0,s.postMessage({sourceName:a,targetName:o,stream:d,streamId:n}),delete t.streamSinks[n])},error:function(e){(0,i.assert)(e instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,s.postMessage({sourceName:a,targetName:o,stream:g,streamId:n,reason:b(e)}))},sinkCapability:(0,i.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};c.sinkCapability.resolve(),c.ready=c.sinkCapability.promise,this.streamSinks[n]=c,new Promise((function(t){t(r(e.data,c))})).then((function(){s.postMessage({sourceName:a,targetName:o,stream:y,streamId:n,success:!0})}),(function(e){s.postMessage({sourceName:a,targetName:o,stream:y,streamId:n,reason:b(e)})}))}},{key:"_processStreamMessage",value:function(e){var t=e.streamId,r=this.sourceName,n=e.sourceName,a=this.comObj;switch(e.stream){case y:e.success?this.streamControllers[t].startCall.resolve():this.streamControllers[t].startCall.reject(b(e.reason));break;case v:e.success?this.streamControllers[t].pullCall.resolve():this.streamControllers[t].pullCall.reject(b(e.reason));break;case m:if(!this.streamSinks[t]){a.postMessage({sourceName:r,targetName:n,stream:v,streamId:t,success:!0});break}this.streamSinks[t].desiredSize<=0&&e.desiredSize>0&&this.streamSinks[t].sinkCapability.resolve(),this.streamSinks[t].desiredSize=e.desiredSize;var o=this.streamSinks[e.streamId].onPull;new Promise((function(e){e(o&&o())})).then((function(){a.postMessage({sourceName:r,targetName:n,stream:v,streamId:t,success:!0})}),(function(e){a.postMessage({sourceName:r,targetName:n,stream:v,streamId:t,reason:b(e)})}));break;case p:if((0,i.assert)(this.streamControllers[t],"enqueue should have stream controller"),this.streamControllers[t].isClosed)break;this.streamControllers[t].controller.enqueue(e.chunk);break;case d:if((0,i.assert)(this.streamControllers[t],"close should have stream controller"),this.streamControllers[t].isClosed)break;this.streamControllers[t].isClosed=!0,this.streamControllers[t].controller.close(),this._deleteStreamController(t);break;case g:(0,i.assert)(this.streamControllers[t],"error should have stream controller"),this.streamControllers[t].controller.error(b(e.reason)),this._deleteStreamController(t);break;case h:e.success?this.streamControllers[t].cancelCall.resolve():this.streamControllers[t].cancelCall.reject(b(e.reason)),this._deleteStreamController(t);break;case f:if(!this.streamSinks[t])break;var s=this.streamSinks[e.streamId].onCancel;new Promise((function(t){t(s&&s(b(e.reason)))})).then((function(){a.postMessage({sourceName:r,targetName:n,stream:h,streamId:t,success:!0})}),(function(e){a.postMessage({sourceName:r,targetName:n,stream:h,streamId:t,reason:b(e)})})),this.streamSinks[t].sinkCapability.reject(b(e.reason)),this.streamSinks[t].isCancelled=!0,delete this.streamSinks[t];break;default:throw new Error("Unexpected stream case")}}},{key:"_deleteStreamController",value:(c=a.default.mark((function e(t){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.allSettled([this.streamControllers[t].startCall,this.streamControllers[t].pullCall,this.streamControllers[t].cancelCall].map((function(e){return e&&e.promise})));case 2:delete this.streamControllers[t];case 3:case"end":return e.stop()}}),e,this)})),w=function(){var e=this,t=arguments;return new Promise((function(r,n){var a=c.apply(e,t);function i(e){o(a,r,n,i,s,"next",e)}function s(e){o(a,r,n,i,s,"throw",e)}i(void 0)}))},function(e){return w.apply(this,arguments)})},{key:"_postMessage",value:function(e,t){t&&this.postMessageTransfers?this.comObj.postMessage(e,t):this.comObj.postMessage(e)}},{key:"destroy",value:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}],r&&s(t.prototype,r),n&&s(t,n),e}();t.MessageHandler=w},(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFWorkerStream=void 0;var n,a=(n=r(2))&&n.__esModule?n:{default:n},i=r(4);function o(e,t,r,n,a,i,o){try{var s=e[i](o),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,a)}function s(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function s(e){o(i,n,a,s,c,"next",e)}function c(e){o(i,n,a,s,c,"throw",e)}s(void 0)}))}}function c(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw i}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}var d=function(){function e(t){l(this,e),this._msgHandler=t,this._contentLength=null,this._fullRequestReader=null,this._rangeRequestReaders=[]}return h(e,[{key:"getFullReader",value:function(){return(0,i.assert)(!this._fullRequestReader,"PDFWorkerStream.getFullReader can only be called once."),this._fullRequestReader=new p(this._msgHandler),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){var r=new g(e,t,this._msgHandler);return this._rangeRequestReaders.push(r),r}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t,r=c(this._rangeRequestReaders.slice(0));try{for(r.s();!(t=r.n()).done;)t.value.cancel(e)}catch(e){r.e(e)}finally{r.f()}}}]),e}();t.PDFWorkerStream=d;var p=function(){function e(t){var r=this;l(this,e),this._msgHandler=t,this.onProgress=null,this._contentLength=null,this._isRangeSupported=!1,this._isStreamingSupported=!1;var n=this._msgHandler.sendWithStream("GetReader");this._reader=n.getReader(),this._headersReady=this._msgHandler.sendWithPromise("ReaderHeadersReady").then((function(e){r._isStreamingSupported=e.isStreamingSupported,r._isRangeSupported=e.isRangeSupported,r._contentLength=e.contentLength}))}var t;return h(e,[{key:"headersReady",get:function(){return this._headersReady}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"read",value:(t=s(a.default.mark((function e(){var t,r;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._reader.read();case 2:if(t=e.sent,r=t.value,!t.done){e.next=7;break}return e.abrupt("return",{value:void 0,done:!0});case 7:return e.abrupt("return",{value:r.buffer,done:!1});case 8:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._reader.cancel(e)}}]),e}(),g=function(){function e(t,r,n){l(this,e),this._msgHandler=n,this.onProgress=null;var a=this._msgHandler.sendWithStream("GetRangeReader",{begin:t,end:r});this._reader=a.getReader()}var t;return h(e,[{key:"isStreamingSupported",get:function(){return!1}},{key:"read",value:(t=s(a.default.mark((function e(){var t,r;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._reader.read();case 2:if(t=e.sent,r=t.value,!t.done){e.next=7;break}return e.abrupt("return",{value:void 0,done:!0});case 7:return e.abrupt("return",{value:r.buffer,done:!1});case 8:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._reader.cancel(e)}}]),e}()}],t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var a={};return(()=>{"use strict";var e=a;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"WorkerMessageHandler",{enumerable:!0,get:function(){return t.WorkerMessageHandler}});var t=n(1)})(),a})()},e.exports=n()}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();r(636)})();',"Worker",void 0,void 0)};const w={name:"VuePdfEmbed",props:{annotationLayer:Boolean,height:[Number,String],id:String,imageResourcesPath:String,page:Number,rotation:{type:[Number,String],default:0,validator:function(e){if(e%90!=0)throw new Error("Rotation must be 0 or a multiple of 90.");return!0}},scale:Number,source:{type:[Object,String,URL,Uint8Array],required:!0},textLayer:Boolean,width:[Number,String]},data:function(){return{documentLoadingTask:null,document:null,pageCount:null,pageNums:[]}},computed:{linkService:function(){var e=this;if(!this.document||!this.annotationLayer)return null;var t=new c.PDFLinkService;return t.setDocument(this.document),t.setViewer({scrollPageIntoView:function(t){var n=t.pageNumber;e.$emit("internal-link-clicked",n)}}),t}},created:function(){var e=this;this.$watch((function(){return[e.source,e.annotationLayer,e.height,e.page,e.rotation,e.textLayer,e.width]}),function(){var t=O(regeneratorRuntime.mark((function t(n,r){var a,o,i,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=v(n,1),o=a[0],i=v(r,1),s=i[0],o===s){t.next=6;break}return p(e.$el),t.next=6,e.load();case 6:e.render();case 7:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}())},mounted:function(){var e=this;return O(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.load();case 2:e.render();case 3:case"end":return t.stop()}}),t)})))()},beforeDestroy:function(){var e,t,n;p(this.$el),null!==(e=this.documentLoadingTask)&&void 0!==e&&e.onPassword&&(this.documentLoadingTask.onPassword=null),null!==(t=this.documentLoadingTask)&&void 0!==t&&t.onProgress&&(this.documentLoadingTask.onProgress=null),null===(n=this.document)||void 0===n||n.destroy()},beforeUnmount:function(){var e,t,n;p(this.$el),null!==(e=this.documentLoadingTask)&&void 0!==e&&e.onPassword&&(this.documentLoadingTask.onPassword=null),null!==(t=this.documentLoadingTask)&&void 0!==t&&t.onProgress&&(this.documentLoadingTask.onProgress=null),null===(n=this.document)||void 0===n||n.destroy()},methods:{download:function(e){var t=this;return O(regeneratorRuntime.mark((function n(){var r,a,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t.document){n.next=2;break}return n.abrupt("return");case 2:return n.next=4,t.document.getData();case 4:return a=n.sent,n.next=7,t.document.getMetadata();case 7:o=n.sent,f(a,null!==(r=null!=e?e:o.contentDispositionFilename)&&void 0!==r?r:"");case 9:case"end":return n.stop()}}),n)})))()},getPageDimensions:function(e){var t,n;return this.height&&!this.width?t=(n=this.height)/e:n=(t=this.width||this.$el.clientWidth)*e,[t,n]},load:function(){var e=this;return O(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.source){t.next=2;break}return t.abrupt("return");case 2:if(t.prev=2,!e.source._pdfInfo){t.next=7;break}e.document=e.source,t.next=13;break;case 7:return e.documentLoadingTask=i.getDocument(e.source),e.documentLoadingTask.onProgress=function(t){e.$emit("progress",t)},e.documentLoadingTask.onPassword=function(t,n){var r=n===i.PasswordResponses.INCORRECT_PASSWORD;e.$emit("password-requested",t,r)},t.next=12,e.documentLoadingTask.promise;case 12:e.document=t.sent;case 13:e.pageCount=e.document.numPages,e.$emit("loaded",e.document),t.next=23;break;case 17:t.prev=17,t.t0=t.catch(2),e.document=null,e.pageCount=null,e.pageNums=[],e.$emit("loading-failed",t.t0);case 23:case"end":return t.stop()}}),t,null,[[2,17]])})))()},print:function(){var e=arguments,t=this;return O(regeneratorRuntime.mark((function n(){var r,a,o,i,s,l,c,f,h,v;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=e.length>0&&void 0!==e[0]?e[0]:300,a=e.length>1&&void 0!==e[1]?e[1]:"",o=e.length>2&&void 0!==e[2]&&e[2],t.document){n.next=5;break}return n.abrupt("return");case 5:return i=r/72,s=96/72,n.prev=7,(l=document.createElement("div")).style.display="none",window.document.body.appendChild(l),n.next=13,d(l);case 13:return c=n.sent,h=t.page&&!o?[t.page]:m(Array(t.document.numPages+1).keys()).slice(1),n.next=17,Promise.all(h.map(function(){var e=O(regeneratorRuntime.mark((function e(n,r){var a,o,d,f,h,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.document.getPage(n);case 2:return a=e.sent,o=a.getViewport({scale:1,rotation:0}),0===r&&(d=o.width*i/s,f=o.height*i/s,u(c,d,f)),(h=document.createElement("canvas")).width=o.width*i,h.height=o.height*i,l.appendChild(h),p=h.cloneNode(),c.contentWindow.document.body.appendChild(p),e.next=13,a.render({canvasContext:h.getContext("2d"),intent:"print",transform:[i,0,0,i,0,0],viewport:o}).promise;case 13:p.getContext("2d").drawImage(h,0,0);case 14:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()));case 17:a&&(f=window.document.title,window.document.title=a),c.contentWindow.focus(),c.contentWindow.print();case 20:return n.prev=20,f&&(window.document.title=f),p(l),null===(v=l.parentNode)||void 0===v||v.removeChild(l),n.finish(20);case 25:case"end":return n.stop()}}),n,null,[[7,,20,25]])})))()},render:function(){var e=this;return O(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.document){t.next=2;break}return t.abrupt("return");case 2:return t.prev=2,e.pageNums=e.page?[e.page]:m(Array(e.document.numPages+1).keys()).slice(1),n=e.$el.getElementsByClassName("vue-pdf-embed__page"),t.next=7,Promise.all(e.pageNums.map(function(){var t=O(regeneratorRuntime.mark((function t(r,a){var o,i,s,l,c,u,d,f,h,p;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.document.getPage(r);case 2:return o=t.sent,i=e.rotation+o.rotate,s=v(n[a].children,3),l=s[0],c=s[1],u=s[2],d=e.getPageDimensions(i/90%2?o.view[2]/o.view[3]:o.view[3]/o.view[2]),f=v(d,2),h=f[0],p=f[1],l.style.width="".concat(Math.floor(h),"px"),l.style.height="".concat(Math.floor(p),"px"),t.next=10,e.renderPage(o,l,h,i);case 10:if(!e.textLayer){t.next=13;break}return t.next=13,e.renderPageTextLayer(o,c,h,i);case 13:if(!e.annotationLayer){t.next=16;break}return t.next=16,e.renderPageAnnotationLayer(o,u||c,h,i);case 16:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}()));case 7:e.$emit("rendered"),t.next=16;break;case 10:t.prev=10,t.t0=t.catch(2),e.document=null,e.pageCount=null,e.pageNums=[],e.$emit("rendering-failed",t.t0);case 16:case"end":return t.stop()}}),t,null,[[2,10]])})))()},renderPage:function(e,t,n,r){var a=this;return O(regeneratorRuntime.mark((function o(){var i,s,l;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return s=r/90%2?e.view[3]:e.view[2],l=e.getViewport({scale:null!==(i=a.scale)&&void 0!==i?i:Math.ceil(n/s)+1,rotation:r}),t.width=l.width,t.height=l.height,o.next=6,e.render({canvasContext:t.getContext("2d"),viewport:l}).promise;case 6:case"end":return o.stop()}}),o)})))()},renderPageAnnotationLayer:function(e,t,n,r){var a=this;return O(regeneratorRuntime.mark((function o(){var s;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return h(t),s=r/90%2?e.view[3]:e.view[2],o.t0=i.AnnotationLayer,o.next=5,e.getAnnotations();case 5:o.t1=o.sent,o.t2=t,o.t3=a.linkService,o.t4=e,o.t5=e.getViewport({scale:n/s,rotation:r}).clone({dontFlip:!0}),o.t6=a.imageResourcesPath,o.t7={annotations:o.t1,div:o.t2,linkService:o.t3,page:o.t4,renderInteractiveForms:!1,viewport:o.t5,imageResourcesPath:o.t6},o.t0.render.call(o.t0,o.t7);case 13:case"end":return o.stop()}}),o)})))()},renderPageTextLayer:function(e,t,n,r){return O(regeneratorRuntime.mark((function a(){var o;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return h(t),o=r/90%2?e.view[3]:e.view[2],a.t0=i,a.t1=t,a.next=6,e.getTextContent();case 6:return a.t2=a.sent,a.t3=e.getViewport({scale:n/o,rotation:r}),a.t4={container:a.t1,textContent:a.t2,viewport:a.t3},a.next=11,a.t0.renderTextLayer.call(a.t0,a.t4).promise;case 11:case"end":return a.stop()}}),a)})))()}}};__webpack_require__(18);var _=function(e,t,n,r,a,o,i,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),i?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},c._ssrRegister=l):a&&(l=s?function(){a.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}(w,o,e.staticRenderFns,!1,null,null,null);_.options.__file="src/vue-pdf-embed.vue";const j=_.exports;j.getDocument=i.getDocument,"undefined"!=typeof window&&window.Vue&&(window.VuePdfEmbed=j);const k=j})(),__webpack_exports__})()}))}).call(this,__webpack_require__("b639").Buffer,__webpack_require__("4362"))},8155:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return a+=1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund",a;case"m":return t?"ena minuta":"eno minuto";case"mm":return a+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami",a;case"h":return t?"ena ura":"eno uro";case"hh":return a+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami",a;case"d":return t||r?"en dan":"enim dnem";case"dd":return a+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi",a;case"M":return t||r?"en mesec":"enim mesecem";case"MM":return a+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci",a;case"y":return t||r?"eno leto":"enim letom";case"yy":return a+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti",a}}var n=e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_č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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"81e9":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function r(e,t,n,r){var o="";switch(n){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":o=r?"sekunnin":"sekuntia";break;case"m":return r?"minuutin":"minuutti";case"mm":o=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":o=r?"tunnin":"tuntia";break;case"d":return r?"päivän":"päivä";case"dd":o=r?"päivän":"päivää";break;case"M":return r?"kuukauden":"kuukausi";case"MM":o=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":o=r?"vuoden":"vuotta";break}return o=a(e,r)+" "+o,o}function a(e,r){return e<10?r?n[e]:t[e]:e}var o=e.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: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 o}))},8230:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=e.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(e){return"م"===e},meridiem:function(e,t,n){return e<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(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}});return r}))},"825a":function(e,t,n){"use strict";var r=n("861d"),a=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw new o(a(e)+" is not an object")}},"83ab":function(e,t,n){"use strict";var r=n("d039");e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"83b9":function(e,t,n){"use strict";var r=n("d925"),a=n("e683");e.exports=function(e,t){return e&&!r(t)?a(e,t):t}},"83ec":function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"f",(function(){return d})),n.d(t,"g",(function(){return o})),n.d(t,"h",(function(){return f}));var r=n("7d20"),a=n("d095");n("7a23");const o=e=>void 0===e,i=e=>"boolean"===typeof e,s=e=>"number"===typeof e,l=e=>!e&&0!==e||Object(r["isArray"])(e)&&0===e.length||Object(r["isObject"])(e)&&!Object.keys(e).length,c=e=>"undefined"!==typeof Element&&e instanceof Element,u=e=>Object(a["isNil"])(e),d=e=>!!Object(r["isString"])(e)&&!Number.isNaN(Number(e)),f=e=>e===window},"848b":function(e,t,n){"use strict";var r=n("5cce").version,a=n("7917"),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={};function s(e,t,n){if("object"!==typeof e)throw new a("options must be an object",a.ERR_BAD_OPTION_VALUE);var r=Object.keys(e),o=r.length;while(o-- >0){var i=r[o],s=t[i];if(s){var l=e[i],c=void 0===l||s(l,i,e);if(!0!==c)throw new a("option "+i+" must be "+c,a.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new a("Unknown option "+i,a.ERR_BAD_OPTION)}}o.transitional=function(e,t,n){function o(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new a(o(r," has been removed"+(t?" in "+t:"")),a.ERR_DEPRECATED);return t&&!i[r]&&(i[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={assertOptions:s,validators:o}},"84aa":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t}))},"852e":function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var t={read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function n(t,r){function a(n,a,o){if("undefined"!==typeof document){o=e({},r,o),"number"===typeof o.expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var s in o)o[s]&&(i+="; "+s,!0!==o[s]&&(i+="="+o[s].split(";")[0]));return document.cookie=n+"="+t.write(a,n)+i}}function o(e){if("undefined"!==typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},a=0;a<n.length;a++){var o=n[a].split("="),i=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(r[s]=t.read(i,s),e===s)break}catch(l){}}return e?r[e]:r}}return Object.create({set:a,get:o,remove:function(t,n){a(t,"",e({},n,{expires:-1}))},withAttributes:function(t){return n(this.converter,e({},this.attributes,t))},withConverter:function(t){return n(e({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}var r=n(t,{path:"/"});return r}))},"861d":function(e,t,n){"use strict";var r=n("1626");e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},8689:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},r=e.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(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}});return r}))},8840:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un dí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 t}))},"88a7":function(e,t,n){"use strict";var r=n("cb2d"),a=n("e330"),o=n("577e"),i=n("d6d6"),s=URLSearchParams,l=s.prototype,c=a(l.append),u=a(l["delete"]),d=a(l.forEach),f=a([].push),h=new s("a=1&a=2&b=3");h["delete"]("a",1),h["delete"]("b",void 0),h+""!=="a=2"&&r(l,"delete",(function(e){var t=arguments.length,n=t<2?void 0:arguments[1];if(t&&void 0===n)return u(this,e);var r=[];d(this,(function(e,t){f(r,{key:t,value:e})})),i(t,1);var a,s=o(e),l=o(n),h=0,p=0,m=!1,v=r.length;while(h<v)a=r[h++],m||a.key===s?(m=!0,u(this,a.key)):p++;while(p<v)a=r[p++],a.key===s&&a.value===l||c(this,a.key,a.value)}),{enumerable:!0,unsafe:!0})},8925:function(e,t,n){"use strict";var r=n("e330"),a=n("1626"),o=n("c6cd"),i=r(Function.toString);a(o.inspectSource)||(o.inspectSource=function(e){return i(e)}),e.exports=o.inspectSource},"898b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(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=e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,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:r,longMonthsParse:r,shortMonthsParse:r,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}))},"8afb":function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));class r extends Error{constructor(e){super(e),this.name="ElementPlusError"}}function a(e,t){throw new r(`[${e}] ${t}`)}function o(e,t){0}},"8d47":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}var n=e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"===typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").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(e,n){var r=this._calendarEl[e],a=n&&n.hours();return t(r)&&(r=r.apply(n)),r.replace("{}",a%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 n}))},"8d57":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),r=[/^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 a(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function o(e,t,n){var r=e+" ";switch(n){case"ss":return r+(a(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return r+(a(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(a(e)?"godziny":"godzin");case"ww":return r+(a(e)?"tygodnie":"tygodni");case"MM":return r+(a(e)?"miesiące":"miesięcy");case"yy":return r+(a(e)?"lata":"lat")}}var i=e.defineLocale("pl",{months:function(e,r){return e?/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,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 i}))},"8d82":function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t,n){t.prototype.dayOfYear=function(e){var t=Math.round((n(this).startOf("day")-n(this).startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"day")}}}))},"8df4":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},r=e.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(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<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(e){return e.replace(/[۰-۹]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});return r}))},"8df4b":function(e,t,n){"use strict";var r=n("fb60");function a(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}a.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},a.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},a.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},a.source=function(){var e,t=new a((function(t){e=t}));return{token:t,cancel:e}},e.exports=a},"8e73":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},a={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(e){return function(t,n,o,i){var s=r(t),l=a[e][r(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},i=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],s=e.defineLocale("ar",{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(e){return"م"===e},meridiem:function(e,t,n){return e<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(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return s}))},"8f19":function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var a=this.$utils(),o=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return n.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return n.ordinal(t.week(),"W");case"w":case"ww":return a.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return a.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return a.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}}));return r.bind(this)(o)}}}))},9043:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},r=e.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(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});return r}))},"90b1":function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n("7a23"),a=n("0e69"),o=n("edd9");function i(e){let t;const n=Object(r["ref"])(!1),i=Object(r["reactive"])({...e,originalPosition:"",originalOverflow:"",visible:!1});function s(e){i.text=e}function l(){const e=i.parent,t=p.ns;if(!e.vLoadingAddClassList){let n=e.getAttribute("loading-number");n=Number.parseInt(n)-1,n?e.setAttribute("loading-number",n.toString()):(Object(a["e"])(e,t.bm("parent","relative")),e.removeAttribute("loading-number")),Object(a["e"])(e,t.bm("parent","hidden"))}c(),h.unmount()}function c(){var e,t;null==(t=null==(e=p.$el)?void 0:e.parentNode)||t.removeChild(p.$el)}function u(){var r;e.beforeClose&&!e.beforeClose()||(n.value=!0,clearTimeout(t),t=window.setTimeout(d,400),i.visible=!1,null==(r=e.closed)||r.call(e))}function d(){if(!n.value)return;const e=i.parent;n.value=!1,e.vLoadingAddClassList=void 0,l()}const f=Object(r["defineComponent"])({name:"ElLoading",setup(e,{expose:t}){const{ns:n,zIndex:a}=Object(o["b"])("loading");return t({ns:n,zIndex:a}),()=>{const e=i.spinner||i.svg,t=Object(r["h"])("svg",{class:"circular",viewBox:i.svgViewBox?i.svgViewBox:"0 0 50 50",...e?{innerHTML:e}:{}},[Object(r["h"])("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),a=i.text?Object(r["h"])("p",{class:n.b("text")},[i.text]):void 0;return Object(r["h"])(r["Transition"],{name:n.b("fade"),onAfterLeave:d},{default:Object(r["withCtx"])(()=>[Object(r["withDirectives"])(Object(r["createVNode"])("div",{style:{backgroundColor:i.background||""},class:[n.b("mask"),i.customClass,i.fullscreen?"is-fullscreen":""]},[Object(r["h"])("div",{class:n.b("spinner")},[t,a])]),[[r["vShow"],i.visible]])])})}}}),h=Object(r["createApp"])(f),p=h.mount(document.createElement("div"));return{...Object(r["toRefs"])(i),setText:s,removeElLoadingChild:c,close:u,handleAfterLeave:d,vm:p,get $el(){return p.$el}}}var s=n("461c"),l=n("7d20");let c=void 0;const u=function(e={}){if(!s["isClient"])return;const t=d(e);if(t.fullscreen&&c)return c;const n=i({...t,closed:()=>{var e;null==(e=t.closed)||e.call(t),t.fullscreen&&(c=void 0)}});f(t,t.parent,n),h(t,t.parent,n),t.parent.vLoadingAddClassList=()=>h(t,t.parent,n);let a=t.parent.getAttribute("loading-number");return a=a?""+(Number.parseInt(a)+1):"1",t.parent.setAttribute("loading-number",a),t.parent.appendChild(n.$el),Object(r["nextTick"])(()=>n.visible.value=t.visible),t.fullscreen&&(c=n),n},d=e=>{var t,n,r,a;let o;return o=Object(l["isString"])(e.target)?null!=(t=document.querySelector(e.target))?t:document.body:e.target||document.body,{parent:o===document.body||e.body?document.body:o,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:o===document.body&&(null==(n=e.fullscreen)||n),lock:null!=(r=e.lock)&&r,customClass:e.customClass||"",visible:null==(a=e.visible)||a,target:o}},f=async(e,t,n)=>{const{nextZIndex:o}=n.vm.zIndex||n.vm._.exposed.zIndex,i={};if(e.fullscreen)n.originalPosition.value=Object(a["c"])(document.body,"position"),n.originalOverflow.value=Object(a["c"])(document.body,"overflow"),i.zIndex=o();else if(e.parent===document.body){n.originalPosition.value=Object(a["c"])(document.body,"position"),await Object(r["nextTick"])();for(const t of["top","left"]){const n="top"===t?"scrollTop":"scrollLeft";i[t]=e.target.getBoundingClientRect()[t]+document.body[n]+document.documentElement[n]-Number.parseInt(Object(a["c"])(document.body,"margin-"+t),10)+"px"}for(const t of["height","width"])i[t]=e.target.getBoundingClientRect()[t]+"px"}else n.originalPosition.value=Object(a["c"])(t,"position");for(const[r,a]of Object.entries(i))n.$el.style[r]=a},h=(e,t,n)=>{const r=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?Object(a["e"])(t,r.bm("parent","relative")):Object(a["a"])(t,r.bm("parent","relative")),e.fullscreen&&e.lock?Object(a["a"])(t,r.bm("parent","hidden")):Object(a["e"])(t,r.bm("parent","hidden"))},p=Symbol("ElLoading"),m=(e,t)=>{var n,a,o,i;const s=t.instance,c=e=>Object(l["isObject"])(t.value)?t.value[e]:void 0,d=e=>{const t=Object(l["isString"])(e)&&(null==s?void 0:s[e])||e;return t?Object(r["ref"])(t):t},f=t=>d(c(t)||e.getAttribute("element-loading-"+Object(l["hyphenate"])(t))),h=null!=(n=c("fullscreen"))?n:t.modifiers.fullscreen,m={text:f("text"),svg:f("svg"),svgViewBox:f("svgViewBox"),spinner:f("spinner"),background:f("background"),customClass:f("customClass"),fullscreen:h,target:null!=(a=c("target"))?a:h?void 0:e,body:null!=(o=c("body"))?o:t.modifiers.body,lock:null!=(i=c("lock"))?i:t.modifiers.lock};e[p]={options:m,instance:u(m)}},v=(e,t)=>{for(const n of Object.keys(t))Object(r["isRef"])(t[n])&&(t[n].value=e[n])},b={mounted(e,t){t.value&&m(e,t)},updated(e,t){const n=e[p];t.oldValue!==t.value&&(t.value&&!t.oldValue?m(e,t):t.value&&t.oldValue?Object(l["isObject"])(t.value)&&v(t.value,n.options):null==n||n.instance.close())},unmounted(e){var t;null==(t=e[p])||t.instance.close(),e[p]=null}},g={install(e){e.directive("loading",b),e.config.globalProperties.$loading=u},directive:b,service:u}},"90d8":function(e,t,n){"use strict";var r=n("c65b"),a=n("1a2d"),o=n("3a9b"),i=n("ad6d"),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||a(e,"flags")||!o(s,e)?t:r(i,e)}},"90e3":function(e,t,n){"use strict";var r=n("e330"),a=0,o=Math.random(),i=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++a+o,36)}},"90ea":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},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 t}))},9112:function(e,t,n){"use strict";var r=n("83ab"),a=n("9bf2"),o=n("5c6c");e.exports=r?function(e,t,n){return a.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},9152:function(e,t){
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
t.read=function(e,t,n,r,a){var o,i,s=8*a-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?a-1:0,f=n?-1:1,h=e[t+d];for(d+=f,o=h&(1<<-u)-1,h>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=f,u-=8);for(i=o&(1<<-u)-1,o>>=-u,u+=r;u>0;i=256*i+e[t+d],d+=f,u-=8);if(0===o)o=1-c;else{if(o===l)return i?NaN:1/0*(h?-1:1);i+=Math.pow(2,r),o-=c}return(h?-1:1)*i*Math.pow(2,o-r)},t.write=function(e,t,n,r,a,o){var i,s,l,c=8*o-a-1,u=(1<<c)-1,d=u>>1,f=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,i=u):(i=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-i))<1&&(i--,l*=2),t+=i+d>=1?f/l:f*Math.pow(2,1-d),t*l>=2&&(i++,l/=2),i+d>=u?(s=0,i=u):i+d>=1?(s=(t*l-1)*Math.pow(2,a),i+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,a),i=0));a>=8;e[n+h]=255&s,h+=p,s/=256,a-=8);for(i=i<<a|s,c+=a;c>0;e[n+h]=255&i,h+=p,i/=256,c-=8);e[n+h-p]|=128*m}},"93b2":function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return i}));var r=n("7a23"),a=n("edd9"),o=n("e47e");const i={},s=Object(r["defineComponent"])({name:"ElConfigProvider",props:o["a"],setup(e,{slots:t}){Object(r["watch"])(()=>e.message,e=>{Object.assign(i,null!=e?e:{})},{immediate:!0,deep:!0});const n=Object(a["a"])(e);return()=>Object(r["renderSlot"])(t,"default",{config:null==n?void 0:n.value})}})},"94ca":function(e,t,n){"use strict";var r=n("d039"),a=n("1626"),o=/#|\.prototype\./,i=function(e,t){var n=l[s(e)];return n===u||n!==c&&(a(t)?r(t):!!t)},s=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},l=i.data={},c=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},"957c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var a={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===r?n?"минута":"минуту":e+" "+t(a[r],+e)}var r=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],a=e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,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(e){if(e.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(e){if(e.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:n,m:n,mm:n,h:"час",hh:n,d:"день",dd:n,w:"неделя",ww:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}});return a}))},"958b":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n,r){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}var n=e.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(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}});return n}))},9609:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"},n=e.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(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}});return n}))},9686:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},r=e.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(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"ভোর"===t||"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}});return r}))},"972c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n){var r={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"},a=" ";return(e%100>=20||e>=100&&e%100===0)&&(a=" de "),e+a+r[n]}var n=e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_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:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}});return n}))},9797:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ô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(e){var t=e,n="",r=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return t>20?n=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(n=r[t]),e+n},week:{dow:1,doy:4}});return t}))},"9ad7":function(e,t,n){"use strict";
/*! Element Plus Icons Vue v2.3.1 */var r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},l=(e,t,n,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))!i.call(e,l)&&l!==n&&r(e,l,{get:()=>t[l],enumerable:!(s=a(t,l))||s.enumerable});return e},c=e=>l(r({},"__esModule",{value:!0}),e),u={};s(u,{AddLocation:()=>p,Aim:()=>g,AlarmClock:()=>_,Apple:()=>S,ArrowDown:()=>D,ArrowDownBold:()=>T,ArrowLeft:()=>H,ArrowLeftBold:()=>B,ArrowRight:()=>K,ArrowRightBold:()=>$,ArrowUp:()=>ae,ArrowUpBold:()=>ee,Avatar:()=>le,Back:()=>fe,Baseball:()=>ve,Basketball:()=>Oe,Bell:()=>Me,BellFilled:()=>ke,Bicycle:()=>Le,Bottom:()=>Ue,BottomLeft:()=>Re,BottomRight:()=>Ve,Bowl:()=>Ge,Box:()=>Ze,Briefcase:()=>nt,Brush:()=>ut,BrushFilled:()=>it,Burger:()=>pt,Calendar:()=>gt,Camera:()=>St,CameraFilled:()=>_t,CaretBottom:()=>Tt,CaretLeft:()=>Dt,CaretRight:()=>Bt,CaretTop:()=>Ht,Cellphone:()=>$t,ChatDotRound:()=>Kt,ChatDotSquare:()=>en,ChatLineRound:()=>an,ChatLineSquare:()=>cn,ChatRound:()=>hn,ChatSquare:()=>bn,Check:()=>wn,Checked:()=>xn,Cherry:()=>An,Chicken:()=>Pn,ChromeFilled:()=>In,CircleCheck:()=>Wn,CircleCheckFilled:()=>zn,CircleClose:()=>Qn,CircleCloseFilled:()=>Xn,CirclePlus:()=>sr,CirclePlusFilled:()=>rr,Clock:()=>dr,Close:()=>yr,CloseBold:()=>mr,Cloudy:()=>jr,Coffee:()=>Er,CoffeeCup:()=>Cr,Coin:()=>Nr,ColdDrink:()=>Fr,Collection:()=>qr,CollectionTag:()=>Yr,Comment:()=>Jr,Compass:()=>ta,Connection:()=>oa,Coordinate:()=>ca,CopyDocument:()=>ha,Cpu:()=>ba,CreditCard:()=>wa,Crop:()=>xa,DArrowLeft:()=>Aa,DArrowRight:()=>Pa,DCaret:()=>Ia,DataAnalysis:()=>za,DataBoard:()=>Wa,DataLine:()=>Xa,Delete:()=>so,DeleteFilled:()=>Qa,DeleteLocation:()=>ro,Dessert:()=>fo,Discount:()=>vo,Dish:()=>ko,DishDot:()=>Oo,Document:()=>Go,DocumentAdd:()=>Mo,DocumentChecked:()=>Lo,DocumentCopy:()=>Ro,DocumentDelete:()=>Vo,DocumentRemove:()=>Uo,Download:()=>Zo,Drizzling:()=>ni,Edit:()=>ui,EditPen:()=>ii,Eleme:()=>gi,ElemeFilled:()=>pi,ElementPlus:()=>_i,Expand:()=>Si,Failed:()=>Ti,Female:()=>Di,Files:()=>Bi,Film:()=>Hi,Filter:()=>$i,Finished:()=>Ki,FirstAidKit:()=>es,Flag:()=>as,Fold:()=>ls,Folder:()=>Ls,FolderAdd:()=>fs,FolderChecked:()=>vs,FolderDelete:()=>Os,FolderOpened:()=>ks,FolderRemove:()=>Ms,Food:()=>Rs,Football:()=>Vs,ForkSpoon:()=>Us,Fries:()=>Gs,FullScreen:()=>Zs,Goblet:()=>pl,GobletFull:()=>nl,GobletSquare:()=>ul,GobletSquareFull:()=>il,GoldMedal:()=>gl,Goods:()=>Sl,GoodsFilled:()=>_l,Grape:()=>Tl,Grid:()=>Dl,Guide:()=>Bl,Handbag:()=>Hl,Headset:()=>$l,Help:()=>ec,HelpFilled:()=>Kl,Hide:()=>ac,Histogram:()=>lc,HomeFilled:()=>fc,HotWater:()=>vc,House:()=>Oc,IceCream:()=>Lc,IceCreamRound:()=>kc,IceCreamSquare:()=>Mc,IceDrink:()=>Rc,IceTea:()=>Vc,InfoFilled:()=>Uc,Iphone:()=>Gc,Key:()=>Zc,KnifeFork:()=>nu,Lightning:()=>iu,Link:()=>uu,List:()=>pu,Loading:()=>gu,Location:()=>Tu,LocationFilled:()=>_u,LocationInformation:()=>Su,Lock:()=>Du,Lollipop:()=>Bu,MagicStick:()=>Hu,Magnet:()=>$u,Male:()=>Ku,Management:()=>ed,MapLocation:()=>ad,Medal:()=>ld,Memo:()=>fd,Menu:()=>vd,Message:()=>kd,MessageBox:()=>Od,Mic:()=>Md,Microphone:()=>Ld,MilkTea:()=>Rd,Minus:()=>Vd,Money:()=>Ud,Monitor:()=>Gd,Moon:()=>nf,MoonNight:()=>Zd,More:()=>df,MoreFilled:()=>sf,MostlyCloudy:()=>mf,Mouse:()=>yf,Mug:()=>jf,Mute:()=>Ef,MuteNotification:()=>Cf,NoSmoking:()=>Nf,Notebook:()=>Ff,Notification:()=>Yf,Odometer:()=>qf,OfficeBuilding:()=>Jf,Open:()=>th,Operation:()=>oh,Opportunity:()=>ch,Orange:()=>hh,Paperclip:()=>bh,PartlyCloudy:()=>wh,Pear:()=>xh,Phone:()=>Ph,PhoneFilled:()=>Ah,Picture:()=>Wh,PictureFilled:()=>Ih,PictureRounded:()=>zh,PieChart:()=>Xh,Place:()=>Qh,Platform:()=>rp,Plus:()=>sp,Pointer:()=>dp,Position:()=>mp,Postcard:()=>yp,Pouring:()=>jp,Present:()=>Cp,PriceTag:()=>Ep,Printer:()=>Np,Promotion:()=>Fp,QuartzWatch:()=>Yp,QuestionFilled:()=>qp,Rank:()=>Jp,Reading:()=>om,ReadingLamp:()=>tm,Refresh:()=>bm,RefreshLeft:()=>cm,RefreshRight:()=>hm,Refrigerator:()=>wm,Remove:()=>Am,RemoveFilled:()=>xm,Right:()=>Pm,ScaleToOriginal:()=>Im,School:()=>zm,Scissor:()=>Wm,Search:()=>Xm,Select:()=>Qm,Sell:()=>rv,SemiSelect:()=>sv,Service:()=>dv,SetUp:()=>mv,Setting:()=>yv,Share:()=>jv,Ship:()=>Cv,Shop:()=>Ev,ShoppingBag:()=>Nv,ShoppingCart:()=>Yv,ShoppingCartFull:()=>Fv,ShoppingTrolley:()=>qv,Smoking:()=>Jv,Soccer:()=>tb,SoldOut:()=>ob,Sort:()=>bb,SortDown:()=>cb,SortUp:()=>hb,Stamp:()=>wb,Star:()=>Ab,StarFilled:()=>xb,Stopwatch:()=>Pb,SuccessFilled:()=>Ib,Sugar:()=>zb,Suitcase:()=>Xb,SuitcaseLine:()=>Wb,Sunny:()=>Qb,Sunrise:()=>rg,Sunset:()=>sg,Switch:()=>yg,SwitchButton:()=>dg,SwitchFilled:()=>mg,TakeawayBox:()=>jg,Ticket:()=>Cg,Tickets:()=>Eg,Timer:()=>Ng,ToiletPaper:()=>Fg,Tools:()=>Yg,Top:()=>ty,TopLeft:()=>qg,TopRight:()=>Jg,TrendCharts:()=>oy,Trophy:()=>hy,TrophyBase:()=>cy,TurnOff:()=>by,Umbrella:()=>wy,Unlock:()=>xy,Upload:()=>Py,UploadFilled:()=>Ay,User:()=>zy,UserFilled:()=>Iy,Van:()=>Wy,VideoCamera:()=>Qy,VideoCameraFilled:()=>Xy,VideoPause:()=>rO,VideoPlay:()=>sO,View:()=>dO,Wallet:()=>yO,WalletFilled:()=>mO,WarnTriangleFilled:()=>jO,Warning:()=>EO,WarningFilled:()=>CO,Watch:()=>NO,Watermelon:()=>FO,WindPower:()=>YO,ZoomIn:()=>qO,ZoomOut:()=>JO}),e.exports=c(u);var d=n("7a23"),f=n("7a23"),h=(0,d.defineComponent)({name:"AddLocation",__name:"add-location",setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,f.createElementVNode)("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),(0,f.createElementVNode)("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),(0,f.createElementVNode)("path",{fill:"currentColor",d:"M544 384h96a32 32 0 1 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0z"})]))}}),p=h,m=n("7a23"),v=n("7a23"),b=(0,m.defineComponent)({name:"Aim",__name:"aim",setup(e){return(e,t)=>((0,v.openBlock)(),(0,v.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,v.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),(0,v.createElementVNode)("path",{fill:"currentColor",d:"M512 96a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V128a32 32 0 0 1 32-32m0 576a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V704a32 32 0 0 1 32-32M96 512a32 32 0 0 1 32-32h192a32 32 0 0 1 0 64H128a32 32 0 0 1-32-32m576 0a32 32 0 0 1 32-32h192a32 32 0 1 1 0 64H704a32 32 0 0 1-32-32"})]))}}),g=b,y=n("7a23"),O=n("7a23"),w=(0,y.defineComponent)({name:"AlarmClock",__name:"alarm-clock",setup(e){return(e,t)=>((0,O.openBlock)(),(0,O.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,O.createElementVNode)("path",{fill:"currentColor",d:"M512 832a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),(0,O.createElementVNode)("path",{fill:"currentColor",d:"m292.288 824.576 55.424 32-48 83.136a32 32 0 1 1-55.424-32zm439.424 0-55.424 32 48 83.136a32 32 0 1 0 55.424-32zM512 512h160a32 32 0 1 1 0 64H480a32 32 0 0 1-32-32V320a32 32 0 0 1 64 0zM90.496 312.256A160 160 0 0 1 312.32 90.496l-46.848 46.848a96 96 0 0 0-128 128L90.56 312.256zm835.264 0A160 160 0 0 0 704 90.496l46.848 46.848a96 96 0 0 1 128 128z"})]))}}),_=w,j=n("7a23"),k=n("7a23"),x=(0,j.defineComponent)({name:"Apple",__name:"apple",setup(e){return(e,t)=>((0,k.openBlock)(),(0,k.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,k.createElementVNode)("path",{fill:"currentColor",d:"M599.872 203.776a189.44 189.44 0 0 1 64.384-4.672l2.624.128c31.168 1.024 51.2 4.096 79.488 16.32 37.632 16.128 74.496 45.056 111.488 89.344 96.384 115.264 82.752 372.8-34.752 521.728-7.68 9.728-32 41.6-30.72 39.936a426.624 426.624 0 0 1-30.08 35.776c-31.232 32.576-65.28 49.216-110.08 50.048-31.36.64-53.568-5.312-84.288-18.752l-6.528-2.88c-20.992-9.216-30.592-11.904-47.296-11.904-18.112 0-28.608 2.88-51.136 12.672l-6.464 2.816c-28.416 12.224-48.32 18.048-76.16 19.2-74.112 2.752-116.928-38.08-180.672-132.16-96.64-142.08-132.608-349.312-55.04-486.4 46.272-81.92 129.92-133.632 220.672-135.04 32.832-.576 60.288 6.848 99.648 22.72 27.136 10.88 34.752 13.76 37.376 14.272 16.256-20.16 27.776-36.992 34.56-50.24 13.568-26.304 27.2-59.968 40.704-100.8a32 32 0 1 1 60.8 20.224c-12.608 37.888-25.408 70.4-38.528 97.664zm-51.52 78.08c-14.528 17.792-31.808 37.376-51.904 58.816a32 32 0 1 1-46.72-43.776l12.288-13.248c-28.032-11.2-61.248-26.688-95.68-26.112-70.4 1.088-135.296 41.6-171.648 105.792C121.6 492.608 176 684.16 247.296 788.992c34.816 51.328 76.352 108.992 130.944 106.944 52.48-2.112 72.32-34.688 135.872-34.688 63.552 0 81.28 34.688 136.96 33.536 56.448-1.088 75.776-39.04 126.848-103.872 107.904-136.768 107.904-362.752 35.776-449.088-72.192-86.272-124.672-84.096-151.68-85.12-41.472-4.288-81.6 12.544-113.664 25.152z"})]))}}),S=x,C=n("7a23"),M=n("7a23"),A=(0,C.defineComponent)({name:"ArrowDownBold",__name:"arrow-down-bold",setup(e){return(e,t)=>((0,M.openBlock)(),(0,M.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,M.createElementVNode)("path",{fill:"currentColor",d:"M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8 316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496z"})]))}}),T=A,E=n("7a23"),L=n("7a23"),P=(0,E.defineComponent)({name:"ArrowDown",__name:"arrow-down",setup(e){return(e,t)=>((0,L.openBlock)(),(0,L.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,L.createElementVNode)("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}}),D=P,N=n("7a23"),R=n("7a23"),I=(0,N.defineComponent)({name:"ArrowLeftBold",__name:"arrow-left-bold",setup(e){return(e,t)=>((0,R.openBlock)(),(0,R.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,R.createElementVNode)("path",{fill:"currentColor",d:"M685.248 104.704a64 64 0 0 1 0 90.496L368.448 512l316.8 316.8a64 64 0 0 1-90.496 90.496L232.704 557.248a64 64 0 0 1 0-90.496l362.048-362.048a64 64 0 0 1 90.496 0z"})]))}}),B=I,F=n("7a23"),V=n("7a23"),z=(0,F.defineComponent)({name:"ArrowLeft",__name:"arrow-left",setup(e){return(e,t)=>((0,V.openBlock)(),(0,V.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,V.createElementVNode)("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}}),H=z,Y=n("7a23"),U=n("7a23"),W=(0,Y.defineComponent)({name:"ArrowRightBold",__name:"arrow-right-bold",setup(e){return(e,t)=>((0,U.openBlock)(),(0,U.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,U.createElementVNode)("path",{fill:"currentColor",d:"M338.752 104.704a64 64 0 0 0 0 90.496l316.8 316.8-316.8 316.8a64 64 0 0 0 90.496 90.496l362.048-362.048a64 64 0 0 0 0-90.496L429.248 104.704a64 64 0 0 0-90.496 0z"})]))}}),$=W,q=n("7a23"),G=n("7a23"),X=(0,q.defineComponent)({name:"ArrowRight",__name:"arrow-right",setup(e){return(e,t)=>((0,G.openBlock)(),(0,G.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,G.createElementVNode)("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),K=X,J=n("7a23"),Z=n("7a23"),Q=(0,J.defineComponent)({name:"ArrowUpBold",__name:"arrow-up-bold",setup(e){return(e,t)=>((0,Z.openBlock)(),(0,Z.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Z.createElementVNode)("path",{fill:"currentColor",d:"M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496z"})]))}}),ee=Q,te=n("7a23"),ne=n("7a23"),re=(0,te.defineComponent)({name:"ArrowUp",__name:"arrow-up",setup(e){return(e,t)=>((0,ne.openBlock)(),(0,ne.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ne.createElementVNode)("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),ae=re,oe=n("7a23"),ie=n("7a23"),se=(0,oe.defineComponent)({name:"Avatar",__name:"avatar",setup(e){return(e,t)=>((0,ie.openBlock)(),(0,ie.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ie.createElementVNode)("path",{fill:"currentColor",d:"M628.736 528.896A416 416 0 0 1 928 928H96a415.872 415.872 0 0 1 299.264-399.104L512 704zM720 304a208 208 0 1 1-416 0 208 208 0 0 1 416 0"})]))}}),le=se,ce=n("7a23"),ue=n("7a23"),de=(0,ce.defineComponent)({name:"Back",__name:"back",setup(e){return(e,t)=>((0,ue.openBlock)(),(0,ue.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ue.createElementVNode)("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),(0,ue.createElementVNode)("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),fe=de,he=n("7a23"),pe=n("7a23"),me=(0,he.defineComponent)({name:"Baseball",__name:"baseball",setup(e){return(e,t)=>((0,pe.openBlock)(),(0,pe.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,pe.createElementVNode)("path",{fill:"currentColor",d:"M195.2 828.8a448 448 0 1 1 633.6-633.6 448 448 0 0 1-633.6 633.6zm45.248-45.248a384 384 0 1 0 543.104-543.104 384 384 0 0 0-543.104 543.104"}),(0,pe.createElementVNode)("path",{fill:"currentColor",d:"M497.472 96.896c22.784 4.672 44.416 9.472 64.896 14.528a256.128 256.128 0 0 0 350.208 350.208c5.056 20.48 9.856 42.112 14.528 64.896A320.128 320.128 0 0 1 497.472 96.896zM108.48 491.904a320.128 320.128 0 0 1 423.616 423.68c-23.04-3.648-44.992-7.424-65.728-11.52a256.128 256.128 0 0 0-346.496-346.432 1736.64 1736.64 0 0 1-11.392-65.728z"})]))}}),ve=me,be=n("7a23"),ge=n("7a23"),ye=(0,be.defineComponent)({name:"Basketball",__name:"basketball",setup(e){return(e,t)=>((0,ge.openBlock)(),(0,ge.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ge.createElementVNode)("path",{fill:"currentColor",d:"M778.752 788.224a382.464 382.464 0 0 0 116.032-245.632 256.512 256.512 0 0 0-241.728-13.952 762.88 762.88 0 0 1 125.696 259.584zm-55.04 44.224a699.648 699.648 0 0 0-125.056-269.632 256.128 256.128 0 0 0-56.064 331.968 382.72 382.72 0 0 0 181.12-62.336m-254.08 61.248A320.128 320.128 0 0 1 557.76 513.6a715.84 715.84 0 0 0-48.192-48.128 320.128 320.128 0 0 1-379.264 88.384 382.4 382.4 0 0 0 110.144 229.696 382.4 382.4 0 0 0 229.184 110.08zM129.28 481.088a256.128 256.128 0 0 0 331.072-56.448 699.648 699.648 0 0 0-268.8-124.352 382.656 382.656 0 0 0-62.272 180.8m106.56-235.84a762.88 762.88 0 0 1 258.688 125.056 256.512 256.512 0 0 0-13.44-241.088A382.464 382.464 0 0 0 235.84 245.248zm318.08-114.944c40.576 89.536 37.76 193.92-8.448 281.344a779.84 779.84 0 0 1 66.176 66.112 320.832 320.832 0 0 1 282.112-8.128 382.4 382.4 0 0 0-110.144-229.12 382.4 382.4 0 0 0-229.632-110.208zM828.8 828.8a448 448 0 1 1-633.6-633.6 448 448 0 0 1 633.6 633.6"})]))}}),Oe=ye,we=n("7a23"),_e=n("7a23"),je=(0,we.defineComponent)({name:"BellFilled",__name:"bell-filled",setup(e){return(e,t)=>((0,_e.openBlock)(),(0,_e.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,_e.createElementVNode)("path",{fill:"currentColor",d:"M640 832a128 128 0 0 1-256 0zm192-64H134.4a38.4 38.4 0 0 1 0-76.8H192V448c0-154.88 110.08-284.16 256.32-313.6a64 64 0 1 1 127.36 0A320.128 320.128 0 0 1 832 448v243.2h57.6a38.4 38.4 0 0 1 0 76.8z"})]))}}),ke=je,xe=n("7a23"),Se=n("7a23"),Ce=(0,xe.defineComponent)({name:"Bell",__name:"bell",setup(e){return(e,t)=>((0,Se.openBlock)(),(0,Se.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Se.createElementVNode)("path",{fill:"currentColor",d:"M512 64a64 64 0 0 1 64 64v64H448v-64a64 64 0 0 1 64-64"}),(0,Se.createElementVNode)("path",{fill:"currentColor",d:"M256 768h512V448a256 256 0 1 0-512 0zm256-640a320 320 0 0 1 320 320v384H192V448a320 320 0 0 1 320-320"}),(0,Se.createElementVNode)("path",{fill:"currentColor",d:"M96 768h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32m352 128h128a64 64 0 0 1-128 0"})]))}}),Me=Ce,Ae=n("7a23"),Te=n("7a23"),Ee=(0,Ae.defineComponent)({name:"Bicycle",__name:"bicycle",setup(e){return(e,t)=>((0,Te.openBlock)(),(0,Te.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Te.createElementVNode)("path",{fill:"currentColor",d:"M256 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),(0,Te.createElementVNode)("path",{fill:"currentColor",d:"M288 672h320q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),(0,Te.createElementVNode)("path",{fill:"currentColor",d:"M768 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),(0,Te.createElementVNode)("path",{fill:"currentColor",d:"M480 192a32 32 0 0 1 0-64h160a32 32 0 0 1 31.04 24.256l96 384a32 32 0 0 1-62.08 15.488L615.04 192zM96 384a32 32 0 0 1 0-64h128a32 32 0 0 1 30.336 21.888l64 192a32 32 0 1 1-60.672 20.224L200.96 384z"}),(0,Te.createElementVNode)("path",{fill:"currentColor",d:"m373.376 599.808-42.752-47.616 320-288 42.752 47.616z"})]))}}),Le=Ee,Pe=n("7a23"),De=n("7a23"),Ne=(0,Pe.defineComponent)({name:"BottomLeft",__name:"bottom-left",setup(e){return(e,t)=>((0,De.openBlock)(),(0,De.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,De.createElementVNode)("path",{fill:"currentColor",d:"M256 768h416a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V352a32 32 0 0 1 64 0z"}),(0,De.createElementVNode)("path",{fill:"currentColor",d:"M246.656 822.656a32 32 0 0 1-45.312-45.312l544-544a32 32 0 0 1 45.312 45.312l-544 544z"})]))}}),Re=Ne,Ie=n("7a23"),Be=n("7a23"),Fe=(0,Ie.defineComponent)({name:"BottomRight",__name:"bottom-right",setup(e){return(e,t)=>((0,Be.openBlock)(),(0,Be.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Be.createElementVNode)("path",{fill:"currentColor",d:"M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416z"}),(0,Be.createElementVNode)("path",{fill:"currentColor",d:"M777.344 822.656a32 32 0 0 0 45.312-45.312l-544-544a32 32 0 0 0-45.312 45.312z"})]))}}),Ve=Fe,ze=n("7a23"),He=n("7a23"),Ye=(0,ze.defineComponent)({name:"Bottom",__name:"bottom",setup(e){return(e,t)=>((0,He.openBlock)(),(0,He.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,He.createElementVNode)("path",{fill:"currentColor",d:"M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z"})]))}}),Ue=Ye,We=n("7a23"),$e=n("7a23"),qe=(0,We.defineComponent)({name:"Bowl",__name:"bowl",setup(e){return(e,t)=>((0,$e.openBlock)(),(0,$e.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,$e.createElementVNode)("path",{fill:"currentColor",d:"M714.432 704a351.744 351.744 0 0 0 148.16-256H161.408a351.744 351.744 0 0 0 148.16 256zM288 766.592A415.68 415.68 0 0 1 96 416a32 32 0 0 1 32-32h768a32 32 0 0 1 32 32 415.68 415.68 0 0 1-192 350.592V832a64 64 0 0 1-64 64H352a64 64 0 0 1-64-64zM493.248 320h-90.496l254.4-254.4a32 32 0 1 1 45.248 45.248zm187.328 0h-128l269.696-155.712a32 32 0 0 1 32 55.424zM352 768v64h320v-64z"})]))}}),Ge=qe,Xe=n("7a23"),Ke=n("7a23"),Je=(0,Xe.defineComponent)({name:"Box",__name:"box",setup(e){return(e,t)=>((0,Ke.openBlock)(),(0,Ke.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ke.createElementVNode)("path",{fill:"currentColor",d:"M317.056 128 128 344.064V896h768V344.064L706.944 128zm-14.528-64h418.944a32 32 0 0 1 24.064 10.88l206.528 236.096A32 32 0 0 1 960 332.032V928a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V332.032a32 32 0 0 1 7.936-21.12L278.4 75.008A32 32 0 0 1 302.528 64z"}),(0,Ke.createElementVNode)("path",{fill:"currentColor",d:"M64 320h896v64H64z"}),(0,Ke.createElementVNode)("path",{fill:"currentColor",d:"M448 327.872V640h128V327.872L526.08 128h-28.16zM448 64h128l64 256v352a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V320z"})]))}}),Ze=Je,Qe=n("7a23"),et=n("7a23"),tt=(0,Qe.defineComponent)({name:"Briefcase",__name:"briefcase",setup(e){return(e,t)=>((0,et.openBlock)(),(0,et.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,et.createElementVNode)("path",{fill:"currentColor",d:"M320 320V128h384v192h192v192H128V320zM128 576h768v320H128zm256-256h256.064V192H384z"})]))}}),nt=tt,rt=n("7a23"),at=n("7a23"),ot=(0,rt.defineComponent)({name:"BrushFilled",__name:"brush-filled",setup(e){return(e,t)=>((0,at.openBlock)(),(0,at.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,at.createElementVNode)("path",{fill:"currentColor",d:"M608 704v160a96 96 0 0 1-192 0V704h-96a128 128 0 0 1-128-128h640a128 128 0 0 1-128 128zM192 512V128.064h640V512z"})]))}}),it=ot,st=n("7a23"),lt=n("7a23"),ct=(0,st.defineComponent)({name:"Brush",__name:"brush",setup(e){return(e,t)=>((0,lt.openBlock)(),(0,lt.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,lt.createElementVNode)("path",{fill:"currentColor",d:"M896 448H128v192a64 64 0 0 0 64 64h192v192h256V704h192a64 64 0 0 0 64-64zm-770.752-64c0-47.552 5.248-90.24 15.552-128 14.72-54.016 42.496-107.392 83.2-160h417.28l-15.36 70.336L736 96h211.2c-24.832 42.88-41.92 96.256-51.2 160a663.872 663.872 0 0 0-6.144 128H960v256a128 128 0 0 1-128 128H704v160a32 32 0 0 1-32 32H352a32 32 0 0 1-32-32V768H192A128 128 0 0 1 64 640V384h61.248zm64 0h636.544c-2.048-45.824.256-91.584 6.848-137.216 4.48-30.848 10.688-59.776 18.688-86.784h-96.64l-221.12 141.248L561.92 160H256.512c-25.856 37.888-43.776 75.456-53.952 112.832-8.768 32.064-13.248 69.12-13.312 111.168z"})]))}}),ut=ct,dt=n("7a23"),ft=n("7a23"),ht=(0,dt.defineComponent)({name:"Burger",__name:"burger",setup(e){return(e,t)=>((0,ft.openBlock)(),(0,ft.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ft.createElementVNode)("path",{fill:"currentColor",d:"M160 512a32 32 0 0 0-32 32v64a32 32 0 0 0 30.08 32H864a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32zm736-58.56A96 96 0 0 1 960 544v64a96 96 0 0 1-51.968 85.312L855.36 833.6a96 96 0 0 1-89.856 62.272H258.496A96 96 0 0 1 168.64 833.6l-52.608-140.224A96 96 0 0 1 64 608v-64a96 96 0 0 1 64-90.56V448a384 384 0 1 1 768 5.44M832 448a320 320 0 0 0-640 0zM512 704H188.352l40.192 107.136a32 32 0 0 0 29.952 20.736h507.008a32 32 0 0 0 29.952-20.736L835.648 704z"})]))}}),pt=ht,mt=n("7a23"),vt=n("7a23"),bt=(0,mt.defineComponent)({name:"Calendar",__name:"calendar",setup(e){return(e,t)=>((0,vt.openBlock)(),(0,vt.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,vt.createElementVNode)("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),gt=bt,yt=n("7a23"),Ot=n("7a23"),wt=(0,yt.defineComponent)({name:"CameraFilled",__name:"camera-filled",setup(e){return(e,t)=>((0,Ot.openBlock)(),(0,Ot.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ot.createElementVNode)("path",{fill:"currentColor",d:"M160 224a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h704a64 64 0 0 0 64-64V288a64 64 0 0 0-64-64H748.416l-46.464-92.672A64 64 0 0 0 644.736 96H379.328a64 64 0 0 0-57.216 35.392L275.776 224zm352 435.2a115.2 115.2 0 1 0 0-230.4 115.2 115.2 0 0 0 0 230.4m0 140.8a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),_t=wt,jt=n("7a23"),kt=n("7a23"),xt=(0,jt.defineComponent)({name:"Camera",__name:"camera",setup(e){return(e,t)=>((0,kt.openBlock)(),(0,kt.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,kt.createElementVNode)("path",{fill:"currentColor",d:"M896 256H128v576h768zm-199.424-64-32.064-64h-304.96l-32 64zM96 192h160l46.336-92.608A64 64 0 0 1 359.552 64h304.96a64 64 0 0 1 57.216 35.328L768.192 192H928a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32m416 512a160 160 0 1 0 0-320 160 160 0 0 0 0 320m0 64a224 224 0 1 1 0-448 224 224 0 0 1 0 448"})]))}}),St=xt,Ct=n("7a23"),Mt=n("7a23"),At=(0,Ct.defineComponent)({name:"CaretBottom",__name:"caret-bottom",setup(e){return(e,t)=>((0,Mt.openBlock)(),(0,Mt.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Mt.createElementVNode)("path",{fill:"currentColor",d:"m192 384 320 384 320-384z"})]))}}),Tt=At,Et=n("7a23"),Lt=n("7a23"),Pt=(0,Et.defineComponent)({name:"CaretLeft",__name:"caret-left",setup(e){return(e,t)=>((0,Lt.openBlock)(),(0,Lt.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Lt.createElementVNode)("path",{fill:"currentColor",d:"M672 192 288 511.936 672 832z"})]))}}),Dt=Pt,Nt=n("7a23"),Rt=n("7a23"),It=(0,Nt.defineComponent)({name:"CaretRight",__name:"caret-right",setup(e){return(e,t)=>((0,Rt.openBlock)(),(0,Rt.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Rt.createElementVNode)("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),Bt=It,Ft=n("7a23"),Vt=n("7a23"),zt=(0,Ft.defineComponent)({name:"CaretTop",__name:"caret-top",setup(e){return(e,t)=>((0,Vt.openBlock)(),(0,Vt.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Vt.createElementVNode)("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),Ht=zt,Yt=n("7a23"),Ut=n("7a23"),Wt=(0,Yt.defineComponent)({name:"Cellphone",__name:"cellphone",setup(e){return(e,t)=>((0,Ut.openBlock)(),(0,Ut.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ut.createElementVNode)("path",{fill:"currentColor",d:"M256 128a64 64 0 0 0-64 64v640a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h512a128 128 0 0 1 128 128v640a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V192A128 128 0 0 1 256 64m128 128h256a32 32 0 1 1 0 64H384a32 32 0 0 1 0-64m128 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),$t=Wt,qt=n("7a23"),Gt=n("7a23"),Xt=(0,qt.defineComponent)({name:"ChatDotRound",__name:"chat-dot-round",setup(e){return(e,t)=>((0,Gt.openBlock)(),(0,Gt.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Gt.createElementVNode)("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 0 1-206.912-48.384l-175.616 58.56z"}),(0,Gt.createElementVNode)("path",{fill:"currentColor",d:"M512 563.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4"})]))}}),Kt=Xt,Jt=n("7a23"),Zt=n("7a23"),Qt=(0,Jt.defineComponent)({name:"ChatDotSquare",__name:"chat-dot-square",setup(e){return(e,t)=>((0,Zt.openBlock)(),(0,Zt.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Zt.createElementVNode)("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),(0,Zt.createElementVNode)("path",{fill:"currentColor",d:"M512 499.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4zm192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4zm-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4z"})]))}}),en=Qt,tn=n("7a23"),nn=n("7a23"),rn=(0,tn.defineComponent)({name:"ChatLineRound",__name:"chat-line-round",setup(e){return(e,t)=>((0,nn.openBlock)(),(0,nn.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,nn.createElementVNode)("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 0 1-206.912-48.384l-175.616 58.56z"}),(0,nn.createElementVNode)("path",{fill:"currentColor",d:"M352 576h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m32-192h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),an=rn,on=n("7a23"),sn=n("7a23"),ln=(0,on.defineComponent)({name:"ChatLineSquare",__name:"chat-line-square",setup(e){return(e,t)=>((0,sn.openBlock)(),(0,sn.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,sn.createElementVNode)("path",{fill:"currentColor",d:"M160 826.88 273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),(0,sn.createElementVNode)("path",{fill:"currentColor",d:"M352 512h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m0-192h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),cn=ln,un=n("7a23"),dn=n("7a23"),fn=(0,un.defineComponent)({name:"ChatRound",__name:"chat-round",setup(e){return(e,t)=>((0,dn.openBlock)(),(0,dn.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,dn.createElementVNode)("path",{fill:"currentColor",d:"m174.72 855.68 130.048-43.392 23.424 11.392C382.4 849.984 444.352 864 512 864c223.744 0 384-159.872 384-352 0-192.832-159.104-352-384-352S128 319.168 128 512a341.12 341.12 0 0 0 69.248 204.288l21.632 28.8-44.16 110.528zm-45.248 82.56A32 32 0 0 1 89.6 896l56.512-141.248A405.12 405.12 0 0 1 64 512C64 299.904 235.648 96 512 96s448 203.904 448 416-173.44 416-448 416c-79.68 0-150.848-17.152-211.712-46.72l-170.88 56.96z"})]))}}),hn=fn,pn=n("7a23"),mn=n("7a23"),vn=(0,pn.defineComponent)({name:"ChatSquare",__name:"chat-square",setup(e){return(e,t)=>((0,mn.openBlock)(),(0,mn.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,mn.createElementVNode)("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"})]))}}),bn=vn,gn=n("7a23"),yn=n("7a23"),On=(0,gn.defineComponent)({name:"Check",__name:"check",setup(e){return(e,t)=>((0,yn.openBlock)(),(0,yn.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,yn.createElementVNode)("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),wn=On,_n=n("7a23"),jn=n("7a23"),kn=(0,_n.defineComponent)({name:"Checked",__name:"checked",setup(e){return(e,t)=>((0,jn.openBlock)(),(0,jn.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,jn.createElementVNode)("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160.064v64H704zM311.616 537.28l-45.312 45.248L447.36 763.52l316.8-316.8-45.312-45.184L447.36 673.024zM384 192V96h256v96z"})]))}}),xn=kn,Sn=n("7a23"),Cn=n("7a23"),Mn=(0,Sn.defineComponent)({name:"Cherry",__name:"cherry",setup(e){return(e,t)=>((0,Cn.openBlock)(),(0,Cn.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Cn.createElementVNode)("path",{fill:"currentColor",d:"M261.056 449.6c13.824-69.696 34.88-128.96 63.36-177.728 23.744-40.832 61.12-88.64 112.256-143.872H320a32 32 0 0 1 0-64h384a32 32 0 1 1 0 64H554.752c14.912 39.168 41.344 86.592 79.552 141.76 47.36 68.48 84.8 106.752 106.304 114.304a224 224 0 1 1-84.992 14.784c-22.656-22.912-47.04-53.76-73.92-92.608-38.848-56.128-67.008-105.792-84.352-149.312-55.296 58.24-94.528 107.52-117.76 147.2-23.168 39.744-41.088 88.768-53.568 147.072a224.064 224.064 0 1 1-64.96-1.6zM288 832a160 160 0 1 0 0-320 160 160 0 0 0 0 320m448-64a160 160 0 1 0 0-320 160 160 0 0 0 0 320"})]))}}),An=Mn,Tn=n("7a23"),En=n("7a23"),Ln=(0,Tn.defineComponent)({name:"Chicken",__name:"chicken",setup(e){return(e,t)=>((0,En.openBlock)(),(0,En.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,En.createElementVNode)("path",{fill:"currentColor",d:"M349.952 716.992 478.72 588.16a106.688 106.688 0 0 1-26.176-19.072 106.688 106.688 0 0 1-19.072-26.176L304.704 671.744c.768 3.072 1.472 6.144 2.048 9.216l2.048 31.936 31.872 1.984c3.136.64 6.208 1.28 9.28 2.112zm57.344 33.152a128 128 0 1 1-216.32 114.432l-1.92-32-32-1.92a128 128 0 1 1 114.432-216.32L416.64 469.248c-2.432-101.44 58.112-239.104 149.056-330.048 107.328-107.328 231.296-85.504 316.8 0 85.44 85.44 107.328 209.408 0 316.8-91.008 90.88-228.672 151.424-330.112 149.056L407.296 750.08zm90.496-226.304c49.536 49.536 233.344-7.04 339.392-113.088 78.208-78.208 63.232-163.072 0-226.304-63.168-63.232-148.032-78.208-226.24 0C504.896 290.496 448.32 474.368 497.792 523.84M244.864 708.928a64 64 0 1 0-59.84 59.84l56.32-3.52zm8.064 127.68a64 64 0 1 0 59.84-59.84l-56.32 3.52-3.52 56.32z"})]))}}),Pn=Ln,Dn=n("7a23"),Nn=n("7a23"),Rn=(0,Dn.defineComponent)({name:"ChromeFilled",__name:"chrome-filled",setup(e){return(e,t)=>((0,Nn.openBlock)(),(0,Nn.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[(0,Nn.createElementVNode)("path",{fill:"currentColor",d:"M938.67 512.01c0-44.59-6.82-87.6-19.54-128H682.67a212.372 212.372 0 0 1 42.67 128c.06 38.71-10.45 76.7-30.42 109.87l-182.91 316.8c235.65-.01 426.66-191.02 426.66-426.67z"}),(0,Nn.createElementVNode)("path",{fill:"currentColor",d:"M576.79 401.63a127.92 127.92 0 0 0-63.56-17.6c-22.36-.22-44.39 5.43-63.89 16.38s-35.79 26.82-47.25 46.02a128.005 128.005 0 0 0-2.16 127.44l1.24 2.13a127.906 127.906 0 0 0 46.36 46.61 127.907 127.907 0 0 0 63.38 17.44c22.29.2 44.24-5.43 63.68-16.33a127.94 127.94 0 0 0 47.16-45.79v-.01l1.11-1.92a127.984 127.984 0 0 0 .29-127.46 127.957 127.957 0 0 0-46.36-46.91"}),(0,Nn.createElementVNode)("path",{fill:"currentColor",d:"M394.45 333.96A213.336 213.336 0 0 1 512 298.67h369.58A426.503 426.503 0 0 0 512 85.34a425.598 425.598 0 0 0-171.74 35.98 425.644 425.644 0 0 0-142.62 102.22l118.14 204.63a213.397 213.397 0 0 1 78.67-94.21m117.56 604.72H512zm-97.25-236.73a213.284 213.284 0 0 1-89.54-86.81L142.48 298.6c-36.35 62.81-57.13 135.68-57.13 213.42 0 203.81 142.93 374.22 333.95 416.55h.04l118.19-204.71a213.315 213.315 0 0 1-122.77-21.91z"})]))}}),In=Rn,Bn=n("7a23"),Fn=n("7a23"),Vn=(0,Bn.defineComponent)({name:"CircleCheckFilled",__name:"circle-check-filled",setup(e){return(e,t)=>((0,Fn.openBlock)(),(0,Fn.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Fn.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),zn=Vn,Hn=n("7a23"),Yn=n("7a23"),Un=(0,Hn.defineComponent)({name:"CircleCheck",__name:"circle-check",setup(e){return(e,t)=>((0,Yn.openBlock)(),(0,Yn.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Yn.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),(0,Yn.createElementVNode)("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}}),Wn=Un,$n=n("7a23"),qn=n("7a23"),Gn=(0,$n.defineComponent)({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(e,t)=>((0,qn.openBlock)(),(0,qn.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,qn.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),Xn=Gn,Kn=n("7a23"),Jn=n("7a23"),Zn=(0,Kn.defineComponent)({name:"CircleClose",__name:"circle-close",setup(e){return(e,t)=>((0,Jn.openBlock)(),(0,Jn.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Jn.createElementVNode)("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),(0,Jn.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),Qn=Zn,er=n("7a23"),tr=n("7a23"),nr=(0,er.defineComponent)({name:"CirclePlusFilled",__name:"circle-plus-filled",setup(e){return(e,t)=>((0,tr.openBlock)(),(0,tr.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,tr.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-38.4 409.6H326.4a38.4 38.4 0 1 0 0 76.8h147.2v147.2a38.4 38.4 0 0 0 76.8 0V550.4h147.2a38.4 38.4 0 0 0 0-76.8H550.4V326.4a38.4 38.4 0 1 0-76.8 0v147.2z"})]))}}),rr=nr,ar=n("7a23"),or=n("7a23"),ir=(0,ar.defineComponent)({name:"CirclePlus",__name:"circle-plus",setup(e){return(e,t)=>((0,or.openBlock)(),(0,or.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,or.createElementVNode)("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),(0,or.createElementVNode)("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1 1 64 0v320a32 32 0 0 1-64 0"}),(0,or.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),sr=ir,lr=n("7a23"),cr=n("7a23"),ur=(0,lr.defineComponent)({name:"Clock",__name:"clock",setup(e){return(e,t)=>((0,cr.openBlock)(),(0,cr.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,cr.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),(0,cr.createElementVNode)("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),(0,cr.createElementVNode)("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),dr=ur,fr=n("7a23"),hr=n("7a23"),pr=(0,fr.defineComponent)({name:"CloseBold",__name:"close-bold",setup(e){return(e,t)=>((0,hr.openBlock)(),(0,hr.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,hr.createElementVNode)("path",{fill:"currentColor",d:"M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504 738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512 828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496 285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512 195.2 285.696a64 64 0 0 1 0-90.496z"})]))}}),mr=pr,vr=n("7a23"),br=n("7a23"),gr=(0,vr.defineComponent)({name:"Close",__name:"close",setup(e){return(e,t)=>((0,br.openBlock)(),(0,br.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,br.createElementVNode)("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),yr=gr,Or=n("7a23"),wr=n("7a23"),_r=(0,Or.defineComponent)({name:"Cloudy",__name:"cloudy",setup(e){return(e,t)=>((0,wr.openBlock)(),(0,wr.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,wr.createElementVNode)("path",{fill:"currentColor",d:"M598.4 831.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 831.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 381.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"})]))}}),jr=_r,kr=n("7a23"),xr=n("7a23"),Sr=(0,kr.defineComponent)({name:"CoffeeCup",__name:"coffee-cup",setup(e){return(e,t)=>((0,xr.openBlock)(),(0,xr.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,xr.createElementVNode)("path",{fill:"currentColor",d:"M768 192a192 192 0 1 1-8 383.808A256.128 256.128 0 0 1 512 768H320A256 256 0 0 1 64 512V160a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v256a128 128 0 1 0 0-256M96 832h640a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-640v320a192 192 0 0 0 192 192h192a192 192 0 0 0 192-192V192z"})]))}}),Cr=Sr,Mr=n("7a23"),Ar=n("7a23"),Tr=(0,Mr.defineComponent)({name:"Coffee",__name:"coffee",setup(e){return(e,t)=>((0,Ar.openBlock)(),(0,Ar.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ar.createElementVNode)("path",{fill:"currentColor",d:"M822.592 192h14.272a32 32 0 0 1 31.616 26.752l21.312 128A32 32 0 0 1 858.24 384h-49.344l-39.04 546.304A32 32 0 0 1 737.92 960H285.824a32 32 0 0 1-32-29.696L214.912 384H165.76a32 32 0 0 1-31.552-37.248l21.312-128A32 32 0 0 1 187.136 192h14.016l-6.72-93.696A32 32 0 0 1 226.368 64h571.008a32 32 0 0 1 31.936 34.304zm-64.128 0 4.544-64H260.736l4.544 64h493.184m-548.16 128H820.48l-10.688-64H214.208l-10.688 64h6.784m68.736 64 36.544 512H708.16l36.544-512z"})]))}}),Er=Tr,Lr=n("7a23"),Pr=n("7a23"),Dr=(0,Lr.defineComponent)({name:"Coin",__name:"coin",setup(e){return(e,t)=>((0,Pr.openBlock)(),(0,Pr.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Pr.createElementVNode)("path",{fill:"currentColor",d:"m161.92 580.736 29.888 58.88C171.328 659.776 160 681.728 160 704c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 615.808 928 657.664 928 704c0 129.728-188.544 224-416 224S96 833.728 96 704c0-46.592 24.32-88.576 65.92-123.264z"}),(0,Pr.createElementVNode)("path",{fill:"currentColor",d:"m161.92 388.736 29.888 58.88C171.328 467.84 160 489.792 160 512c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 423.808 928 465.664 928 512c0 129.728-188.544 224-416 224S96 641.728 96 512c0-46.592 24.32-88.576 65.92-123.264z"}),(0,Pr.createElementVNode)("path",{fill:"currentColor",d:"M512 544c-227.456 0-416-94.272-416-224S284.544 96 512 96s416 94.272 416 224-188.544 224-416 224m0-64c196.672 0 352-77.696 352-160S708.672 160 512 160s-352 77.696-352 160 155.328 160 352 160"})]))}}),Nr=Dr,Rr=n("7a23"),Ir=n("7a23"),Br=(0,Rr.defineComponent)({name:"ColdDrink",__name:"cold-drink",setup(e){return(e,t)=>((0,Ir.openBlock)(),(0,Ir.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ir.createElementVNode)("path",{fill:"currentColor",d:"M768 64a192 192 0 1 1-69.952 370.88L480 725.376V896h96a32 32 0 1 1 0 64H320a32 32 0 1 1 0-64h96V725.376L76.8 273.536a64 64 0 0 1-12.8-38.4v-10.688a32 32 0 0 1 32-32h71.808l-65.536-83.84a32 32 0 0 1 50.432-39.424l96.256 123.264h337.728A192.064 192.064 0 0 1 768 64M656.896 192.448H800a32 32 0 0 1 32 32v10.624a64 64 0 0 1-12.8 38.4l-80.448 107.2a128 128 0 1 0-81.92-188.16v-.064zm-357.888 64 129.472 165.76a32 32 0 0 1-50.432 39.36l-160.256-205.12H144l304 404.928 304-404.928z"})]))}}),Fr=Br,Vr=n("7a23"),zr=n("7a23"),Hr=(0,Vr.defineComponent)({name:"CollectionTag",__name:"collection-tag",setup(e){return(e,t)=>((0,zr.openBlock)(),(0,zr.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,zr.createElementVNode)("path",{fill:"currentColor",d:"M256 128v698.88l196.032-156.864a96 96 0 0 1 119.936 0L768 826.816V128zm-32-64h576a32 32 0 0 1 32 32v797.44a32 32 0 0 1-51.968 24.96L531.968 720a32 32 0 0 0-39.936 0L243.968 918.4A32 32 0 0 1 192 893.44V96a32 32 0 0 1 32-32"})]))}}),Yr=Hr,Ur=n("7a23"),Wr=n("7a23"),$r=(0,Ur.defineComponent)({name:"Collection",__name:"collection",setup(e){return(e,t)=>((0,Wr.openBlock)(),(0,Wr.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Wr.createElementVNode)("path",{fill:"currentColor",d:"M192 736h640V128H256a64 64 0 0 0-64 64zm64-672h608a32 32 0 0 1 32 32v672a32 32 0 0 1-32 32H160l-32 57.536V192A128 128 0 0 1 256 64"}),(0,Wr.createElementVNode)("path",{fill:"currentColor",d:"M240 800a48 48 0 1 0 0 96h592v-96zm0-64h656v160a64 64 0 0 1-64 64H240a112 112 0 0 1 0-224m144-608v250.88l96-76.8 96 76.8V128zm-64-64h320v381.44a32 32 0 0 1-51.968 24.96L480 384l-108.032 86.4A32 32 0 0 1 320 445.44z"})]))}}),qr=$r,Gr=n("7a23"),Xr=n("7a23"),Kr=(0,Gr.defineComponent)({name:"Comment",__name:"comment",setup(e){return(e,t)=>((0,Xr.openBlock)(),(0,Xr.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Xr.createElementVNode)("path",{fill:"currentColor",d:"M736 504a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112M128 128v640h192v160l224-160h352V128z"})]))}}),Jr=Kr,Zr=n("7a23"),Qr=n("7a23"),ea=(0,Zr.defineComponent)({name:"Compass",__name:"compass",setup(e){return(e,t)=>((0,Qr.openBlock)(),(0,Qr.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Qr.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),(0,Qr.createElementVNode)("path",{fill:"currentColor",d:"M725.888 315.008C676.48 428.672 624 513.28 568.576 568.64c-55.424 55.424-139.968 107.904-253.568 157.312a12.8 12.8 0 0 1-16.896-16.832c49.536-113.728 102.016-198.272 157.312-253.632 55.36-55.296 139.904-107.776 253.632-157.312a12.8 12.8 0 0 1 16.832 16.832"})]))}}),ta=ea,na=n("7a23"),ra=n("7a23"),aa=(0,na.defineComponent)({name:"Connection",__name:"connection",setup(e){return(e,t)=>((0,ra.openBlock)(),(0,ra.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ra.createElementVNode)("path",{fill:"currentColor",d:"M640 384v64H448a128 128 0 0 0-128 128v128a128 128 0 0 0 128 128h320a128 128 0 0 0 128-128V576a128 128 0 0 0-64-110.848V394.88c74.56 26.368 128 97.472 128 181.056v128a192 192 0 0 1-192 192H448a192 192 0 0 1-192-192V576a192 192 0 0 1 192-192z"}),(0,ra.createElementVNode)("path",{fill:"currentColor",d:"M384 640v-64h192a128 128 0 0 0 128-128V320a128 128 0 0 0-128-128H256a128 128 0 0 0-128 128v128a128 128 0 0 0 64 110.848v70.272A192.064 192.064 0 0 1 64 448V320a192 192 0 0 1 192-192h320a192 192 0 0 1 192 192v128a192 192 0 0 1-192 192z"})]))}}),oa=aa,ia=n("7a23"),sa=n("7a23"),la=(0,ia.defineComponent)({name:"Coordinate",__name:"coordinate",setup(e){return(e,t)=>((0,sa.openBlock)(),(0,sa.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,sa.createElementVNode)("path",{fill:"currentColor",d:"M480 512h64v320h-64z"}),(0,sa.createElementVNode)("path",{fill:"currentColor",d:"M192 896h640a64 64 0 0 0-64-64H256a64 64 0 0 0-64 64m64-128h512a128 128 0 0 1 128 128v64H128v-64a128 128 0 0 1 128-128m256-256a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),ca=la,ua=n("7a23"),da=n("7a23"),fa=(0,ua.defineComponent)({name:"CopyDocument",__name:"copy-document",setup(e){return(e,t)=>((0,da.openBlock)(),(0,da.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,da.createElementVNode)("path",{fill:"currentColor",d:"M768 832a128 128 0 0 1-128 128H192A128 128 0 0 1 64 832V384a128 128 0 0 1 128-128v64a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64z"}),(0,da.createElementVNode)("path",{fill:"currentColor",d:"M384 128a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h448a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H384a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64"})]))}}),ha=fa,pa=n("7a23"),ma=n("7a23"),va=(0,pa.defineComponent)({name:"Cpu",__name:"cpu",setup(e){return(e,t)=>((0,ma.openBlock)(),(0,ma.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ma.createElementVNode)("path",{fill:"currentColor",d:"M320 256a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128H320a128 128 0 0 1-128-128V320a128 128 0 0 1 128-128"}),(0,ma.createElementVNode)("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m-320 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 896a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m160 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m-320 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32M64 512a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0-160a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0 320a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m896-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0 320a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32"})]))}}),ba=va,ga=n("7a23"),ya=n("7a23"),Oa=(0,ga.defineComponent)({name:"CreditCard",__name:"credit-card",setup(e){return(e,t)=>((0,ya.openBlock)(),(0,ya.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ya.createElementVNode)("path",{fill:"currentColor",d:"M896 324.096c0-42.368-2.496-55.296-9.536-68.48a52.352 52.352 0 0 0-22.144-22.08c-13.12-7.04-26.048-9.536-68.416-9.536H228.096c-42.368 0-55.296 2.496-68.48 9.536a52.352 52.352 0 0 0-22.08 22.144c-7.04 13.12-9.536 26.048-9.536 68.416v375.808c0 42.368 2.496 55.296 9.536 68.48a52.352 52.352 0 0 0 22.144 22.08c13.12 7.04 26.048 9.536 68.416 9.536h567.808c42.368 0 55.296-2.496 68.48-9.536a52.352 52.352 0 0 0 22.08-22.144c7.04-13.12 9.536-26.048 9.536-68.416zm64 0v375.808c0 57.088-5.952 77.76-17.088 98.56-11.136 20.928-27.52 37.312-48.384 48.448-20.864 11.136-41.6 17.088-98.56 17.088H228.032c-57.088 0-77.76-5.952-98.56-17.088a116.288 116.288 0 0 1-48.448-48.384c-11.136-20.864-17.088-41.6-17.088-98.56V324.032c0-57.088 5.952-77.76 17.088-98.56 11.136-20.928 27.52-37.312 48.384-48.448 20.864-11.136 41.6-17.088 98.56-17.088H795.84c57.088 0 77.76 5.952 98.56 17.088 20.928 11.136 37.312 27.52 48.448 48.384 11.136 20.864 17.088 41.6 17.088 98.56z"}),(0,ya.createElementVNode)("path",{fill:"currentColor",d:"M64 320h896v64H64zm0 128h896v64H64zm128 192h256v64H192z"})]))}}),wa=Oa,_a=n("7a23"),ja=n("7a23"),ka=(0,_a.defineComponent)({name:"Crop",__name:"crop",setup(e){return(e,t)=>((0,ja.openBlock)(),(0,ja.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ja.createElementVNode)("path",{fill:"currentColor",d:"M256 768h672a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V96a32 32 0 0 1 64 0z"}),(0,ja.createElementVNode)("path",{fill:"currentColor",d:"M832 224v704a32 32 0 1 1-64 0V256H96a32 32 0 0 1 0-64h704a32 32 0 0 1 32 32"})]))}}),xa=ka,Sa=n("7a23"),Ca=n("7a23"),Ma=(0,Sa.defineComponent)({name:"DArrowLeft",__name:"d-arrow-left",setup(e){return(e,t)=>((0,Ca.openBlock)(),(0,Ca.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ca.createElementVNode)("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"})]))}}),Aa=Ma,Ta=n("7a23"),Ea=n("7a23"),La=(0,Ta.defineComponent)({name:"DArrowRight",__name:"d-arrow-right",setup(e){return(e,t)=>((0,Ea.openBlock)(),(0,Ea.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ea.createElementVNode)("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}}),Pa=La,Da=n("7a23"),Na=n("7a23"),Ra=(0,Da.defineComponent)({name:"DCaret",__name:"d-caret",setup(e){return(e,t)=>((0,Na.openBlock)(),(0,Na.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Na.createElementVNode)("path",{fill:"currentColor",d:"m512 128 288 320H224zM224 576h576L512 896z"})]))}}),Ia=Ra,Ba=n("7a23"),Fa=n("7a23"),Va=(0,Ba.defineComponent)({name:"DataAnalysis",__name:"data-analysis",setup(e){return(e,t)=>((0,Fa.openBlock)(),(0,Fa.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Fa.createElementVNode)("path",{fill:"currentColor",d:"m665.216 768 110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32l110.848-192H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32zM832 192H192v512h640zM352 448a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0v-64a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v128a32 32 0 0 1-64 0V416a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V352a32 32 0 0 1 32-32"})]))}}),za=Va,Ha=n("7a23"),Ya=n("7a23"),Ua=(0,Ha.defineComponent)({name:"DataBoard",__name:"data-board",setup(e){return(e,t)=>((0,Ya.openBlock)(),(0,Ya.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ya.createElementVNode)("path",{fill:"currentColor",d:"M32 128h960v64H32z"}),(0,Ya.createElementVNode)("path",{fill:"currentColor",d:"M192 192v512h640V192zm-64-64h768v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),(0,Ya.createElementVNode)("path",{fill:"currentColor",d:"M322.176 960H248.32l144.64-250.56 55.424 32zm453.888 0h-73.856L576 741.44l55.424-32z"})]))}}),Wa=Ua,$a=n("7a23"),qa=n("7a23"),Ga=(0,$a.defineComponent)({name:"DataLine",__name:"data-line",setup(e){return(e,t)=>((0,qa.openBlock)(),(0,qa.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,qa.createElementVNode)("path",{fill:"currentColor",d:"M359.168 768H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32H665.216l110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32zM832 192H192v512h640zM342.656 534.656a32 32 0 1 1-45.312-45.312L444.992 341.76l125.44 94.08L679.04 300.032a32 32 0 1 1 49.92 39.936L581.632 524.224 451.008 426.24 342.656 534.592z"})]))}}),Xa=Ga,Ka=n("7a23"),Ja=n("7a23"),Za=(0,Ka.defineComponent)({name:"DeleteFilled",__name:"delete-filled",setup(e){return(e,t)=>((0,Ja.openBlock)(),(0,Ja.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ja.createElementVNode)("path",{fill:"currentColor",d:"M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32"})]))}}),Qa=Za,eo=n("7a23"),to=n("7a23"),no=(0,eo.defineComponent)({name:"DeleteLocation",__name:"delete-location",setup(e){return(e,t)=>((0,to.openBlock)(),(0,to.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,to.createElementVNode)("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),(0,to.createElementVNode)("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),(0,to.createElementVNode)("path",{fill:"currentColor",d:"M384 384h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),ro=no,ao=n("7a23"),oo=n("7a23"),io=(0,ao.defineComponent)({name:"Delete",__name:"delete",setup(e){return(e,t)=>((0,oo.openBlock)(),(0,oo.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,oo.createElementVNode)("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),so=io,lo=n("7a23"),co=n("7a23"),uo=(0,lo.defineComponent)({name:"Dessert",__name:"dessert",setup(e){return(e,t)=>((0,co.openBlock)(),(0,co.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,co.createElementVNode)("path",{fill:"currentColor",d:"M128 416v-48a144 144 0 0 1 168.64-141.888 224.128 224.128 0 0 1 430.72 0A144 144 0 0 1 896 368v48a384 384 0 0 1-352 382.72V896h-64v-97.28A384 384 0 0 1 128 416m287.104-32.064h193.792a143.808 143.808 0 0 1 58.88-132.736 160.064 160.064 0 0 0-311.552 0 143.808 143.808 0 0 1 58.88 132.8zm-72.896 0a72 72 0 1 0-140.48 0h140.48m339.584 0h140.416a72 72 0 1 0-140.48 0zM512 736a320 320 0 0 0 318.4-288.064H193.6A320 320 0 0 0 512 736M384 896.064h256a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64"})]))}}),fo=uo,ho=n("7a23"),po=n("7a23"),mo=(0,ho.defineComponent)({name:"Discount",__name:"discount",setup(e){return(e,t)=>((0,po.openBlock)(),(0,po.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,po.createElementVNode)("path",{fill:"currentColor",d:"M224 704h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0L224 318.336zm0 64v128h576V768zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0"}),(0,po.createElementVNode)("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),vo=mo,bo=n("7a23"),go=n("7a23"),yo=(0,bo.defineComponent)({name:"DishDot",__name:"dish-dot",setup(e){return(e,t)=>((0,go.openBlock)(),(0,go.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,go.createElementVNode)("path",{fill:"currentColor",d:"m384.064 274.56.064-50.688A128 128 0 0 1 512.128 96c70.528 0 127.68 57.152 127.68 127.68v50.752A448.192 448.192 0 0 1 955.392 768H68.544A448.192 448.192 0 0 1 384 274.56zM96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-128h768a384 384 0 1 0-768 0m447.808-448v-32.32a63.68 63.68 0 0 0-63.68-63.68 64 64 0 0 0-64 63.936V256z"})]))}}),Oo=yo,wo=n("7a23"),_o=n("7a23"),jo=(0,wo.defineComponent)({name:"Dish",__name:"dish",setup(e){return(e,t)=>((0,_o.openBlock)(),(0,_o.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,_o.createElementVNode)("path",{fill:"currentColor",d:"M480 257.152V192h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64h-96v65.152A448 448 0 0 1 955.52 768H68.48A448 448 0 0 1 480 257.152M128 704h768a384 384 0 1 0-768 0M96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64"})]))}}),ko=jo,xo=n("7a23"),So=n("7a23"),Co=(0,xo.defineComponent)({name:"DocumentAdd",__name:"document-add",setup(e){return(e,t)=>((0,So.openBlock)(),(0,So.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,So.createElementVNode)("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m320 512V448h64v128h128v64H544v128h-64V640H352v-64z"})]))}}),Mo=Co,Ao=n("7a23"),To=n("7a23"),Eo=(0,Ao.defineComponent)({name:"DocumentChecked",__name:"document-checked",setup(e){return(e,t)=>((0,To.openBlock)(),(0,To.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,To.createElementVNode)("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m318.4 582.144 180.992-180.992L704.64 510.4 478.4 736.64 320 578.304l45.248-45.312z"})]))}}),Lo=Eo,Po=n("7a23"),Do=n("7a23"),No=(0,Po.defineComponent)({name:"DocumentCopy",__name:"document-copy",setup(e){return(e,t)=>((0,Do.openBlock)(),(0,Do.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Do.createElementVNode)("path",{fill:"currentColor",d:"M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"})]))}}),Ro=No,Io=n("7a23"),Bo=n("7a23"),Fo=(0,Io.defineComponent)({name:"DocumentDelete",__name:"document-delete",setup(e){return(e,t)=>((0,Bo.openBlock)(),(0,Bo.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Bo.createElementVNode)("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m308.992 546.304-90.496-90.624 45.248-45.248 90.56 90.496 90.496-90.432 45.248 45.248-90.496 90.56 90.496 90.496-45.248 45.248-90.496-90.496-90.56 90.496-45.248-45.248 90.496-90.496z"})]))}}),Vo=Fo,zo=n("7a23"),Ho=n("7a23"),Yo=(0,zo.defineComponent)({name:"DocumentRemove",__name:"document-remove",setup(e){return(e,t)=>((0,Ho.openBlock)(),(0,Ho.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ho.createElementVNode)("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m192 512h320v64H352z"})]))}}),Uo=Yo,Wo=n("7a23"),$o=n("7a23"),qo=(0,Wo.defineComponent)({name:"Document",__name:"document",setup(e){return(e,t)=>((0,$o.openBlock)(),(0,$o.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,$o.createElementVNode)("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),Go=qo,Xo=n("7a23"),Ko=n("7a23"),Jo=(0,Xo.defineComponent)({name:"Download",__name:"download",setup(e){return(e,t)=>((0,Ko.openBlock)(),(0,Ko.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ko.createElementVNode)("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"})]))}}),Zo=Jo,Qo=n("7a23"),ei=n("7a23"),ti=(0,Qo.defineComponent)({name:"Drizzling",__name:"drizzling",setup(e){return(e,t)=>((0,ei.openBlock)(),(0,ei.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ei.createElementVNode)("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672zM959.552 480a256 256 0 0 1-256 256h-400A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M288 800h64v64h-64zm192 0h64v64h-64zm-96 96h64v64h-64zm192 0h64v64h-64zm96-96h64v64h-64z"})]))}}),ni=ti,ri=n("7a23"),ai=n("7a23"),oi=(0,ri.defineComponent)({name:"EditPen",__name:"edit-pen",setup(e){return(e,t)=>((0,ai.openBlock)(),(0,ai.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ai.createElementVNode)("path",{fill:"currentColor",d:"m199.04 672.64 193.984 112 224-387.968-193.92-112-224 388.032zm-23.872 60.16 32.896 148.288 144.896-45.696zM455.04 229.248l193.92 112 56.704-98.112-193.984-112-56.64 98.112zM104.32 708.8l384-665.024 304.768 175.936L409.152 884.8h.064l-248.448 78.336zm384 254.272v-64h448v64h-448z"})]))}}),ii=oi,si=n("7a23"),li=n("7a23"),ci=(0,si.defineComponent)({name:"Edit",__name:"edit",setup(e){return(e,t)=>((0,li.openBlock)(),(0,li.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,li.createElementVNode)("path",{fill:"currentColor",d:"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z"}),(0,li.createElementVNode)("path",{fill:"currentColor",d:"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"})]))}}),ui=ci,di=n("7a23"),fi=n("7a23"),hi=(0,di.defineComponent)({name:"ElemeFilled",__name:"eleme-filled",setup(e){return(e,t)=>((0,fi.openBlock)(),(0,fi.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,fi.createElementVNode)("path",{fill:"currentColor",d:"M176 64h672c61.824 0 112 50.176 112 112v672a112 112 0 0 1-112 112H176A112 112 0 0 1 64 848V176c0-61.824 50.176-112 112-112m150.528 173.568c-152.896 99.968-196.544 304.064-97.408 456.96a330.688 330.688 0 0 0 456.96 96.64c9.216-5.888 17.6-11.776 25.152-18.56a18.24 18.24 0 0 0 4.224-24.32L700.352 724.8a47.552 47.552 0 0 0-65.536-14.272A234.56 234.56 0 0 1 310.592 641.6C240 533.248 271.104 387.968 379.456 316.48a234.304 234.304 0 0 1 276.352 15.168c1.664.832 2.56 2.56 3.392 4.224 5.888 8.384 3.328 19.328-5.12 25.216L456.832 489.6a47.552 47.552 0 0 0-14.336 65.472l16 24.384c5.888 8.384 16.768 10.88 25.216 5.056l308.224-199.936a19.584 19.584 0 0 0 6.72-23.488v-.896c-4.992-9.216-10.048-17.6-15.104-26.88-99.968-151.168-304.064-194.88-456.96-95.744zM786.88 504.704l-62.208 40.32c-8.32 5.888-10.88 16.768-4.992 25.216L760 632.32c5.888 8.448 16.768 11.008 25.152 5.12l31.104-20.16a55.36 55.36 0 0 0 16-76.48l-20.224-31.04a19.52 19.52 0 0 0-25.152-5.12z"})]))}}),pi=hi,mi=n("7a23"),vi=n("7a23"),bi=(0,mi.defineComponent)({name:"Eleme",__name:"eleme",setup(e){return(e,t)=>((0,vi.openBlock)(),(0,vi.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,vi.createElementVNode)("path",{fill:"currentColor",d:"M300.032 188.8c174.72-113.28 408-63.36 522.24 109.44 5.76 10.56 11.52 20.16 17.28 30.72v.96a22.4 22.4 0 0 1-7.68 26.88l-352.32 228.48c-9.6 6.72-22.08 3.84-28.8-5.76l-18.24-27.84a54.336 54.336 0 0 1 16.32-74.88l225.6-146.88c9.6-6.72 12.48-19.2 5.76-28.8-.96-1.92-1.92-3.84-3.84-4.8a267.84 267.84 0 0 0-315.84-17.28c-123.84 81.6-159.36 247.68-78.72 371.52a268.096 268.096 0 0 0 370.56 78.72 54.336 54.336 0 0 1 74.88 16.32l17.28 26.88c5.76 9.6 3.84 21.12-4.8 27.84-8.64 7.68-18.24 14.4-28.8 21.12a377.92 377.92 0 0 1-522.24-110.4c-113.28-174.72-63.36-408 111.36-522.24zm526.08 305.28a22.336 22.336 0 0 1 28.8 5.76l23.04 35.52a63.232 63.232 0 0 1-18.24 87.36l-35.52 23.04c-9.6 6.72-22.08 3.84-28.8-5.76l-46.08-71.04c-6.72-9.6-3.84-22.08 5.76-28.8l71.04-46.08z"})]))}}),gi=bi,yi=n("7a23"),Oi=n("7a23"),wi=(0,yi.defineComponent)({name:"ElementPlus",__name:"element-plus",setup(e){return(e,t)=>((0,Oi.openBlock)(),(0,Oi.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Oi.createElementVNode)("path",{fill:"currentColor",d:"M839.7 734.7c0 33.3-17.9 41-17.9 41S519.7 949.8 499.2 960c-10.2 5.1-20.5 5.1-30.7 0 0 0-314.9-184.3-325.1-192-5.1-5.1-10.2-12.8-12.8-20.5V368.6c0-17.9 20.5-28.2 20.5-28.2L466 158.6c12.8-5.1 25.6-5.1 38.4 0 0 0 279 161.3 309.8 179.2 17.9 7.7 28.2 25.6 25.6 46.1-.1-5-.1 317.5-.1 350.8M714.2 371.2c-64-35.8-217.6-125.4-217.6-125.4-7.7-5.1-20.5-5.1-30.7 0L217.6 389.1s-17.9 10.2-17.9 23v297c0 5.1 5.1 12.8 7.7 17.9 7.7 5.1 256 148.5 256 148.5 7.7 5.1 17.9 5.1 25.6 0 15.4-7.7 250.9-145.9 250.9-145.9s12.8-5.1 12.8-30.7v-74.2l-276.5 169v-64c0-17.9 7.7-30.7 20.5-46.1L745 535c5.1-7.7 10.2-20.5 10.2-30.7v-66.6l-279 169v-69.1c0-15.4 5.1-30.7 17.9-38.4l220.1-128zM919 135.7c0-5.1-5.1-7.7-7.7-7.7h-58.9V66.6c0-5.1-5.1-5.1-10.2-5.1l-30.7 5.1c-5.1 0-5.1 2.6-5.1 5.1V128h-56.3c-5.1 0-5.1 5.1-7.7 5.1v38.4h69.1v64c0 5.1 5.1 5.1 10.2 5.1l30.7-5.1c5.1 0 5.1-2.6 5.1-5.1v-56.3h64l-2.5-38.4z"})]))}}),_i=wi,ji=n("7a23"),ki=n("7a23"),xi=(0,ji.defineComponent)({name:"Expand",__name:"expand",setup(e){return(e,t)=>((0,ki.openBlock)(),(0,ki.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ki.createElementVNode)("path",{fill:"currentColor",d:"M128 192h768v128H128zm0 256h512v128H128zm0 256h768v128H128zm576-352 192 160-192 128z"})]))}}),Si=xi,Ci=n("7a23"),Mi=n("7a23"),Ai=(0,Ci.defineComponent)({name:"Failed",__name:"failed",setup(e){return(e,t)=>((0,Mi.openBlock)(),(0,Mi.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Mi.createElementVNode)("path",{fill:"currentColor",d:"m557.248 608 135.744-135.744-45.248-45.248-135.68 135.744-135.808-135.68-45.248 45.184L466.752 608l-135.68 135.68 45.184 45.312L512 653.248l135.744 135.744 45.248-45.248L557.312 608zM704 192h160v736H160V192h160v64h384zm-320 0V96h256v96z"})]))}}),Ti=Ai,Ei=n("7a23"),Li=n("7a23"),Pi=(0,Ei.defineComponent)({name:"Female",__name:"female",setup(e){return(e,t)=>((0,Li.openBlock)(),(0,Li.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Li.createElementVNode)("path",{fill:"currentColor",d:"M512 640a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),(0,Li.createElementVNode)("path",{fill:"currentColor",d:"M512 640q32 0 32 32v256q0 32-32 32t-32-32V672q0-32 32-32"}),(0,Li.createElementVNode)("path",{fill:"currentColor",d:"M352 800h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),Di=Pi,Ni=n("7a23"),Ri=n("7a23"),Ii=(0,Ni.defineComponent)({name:"Files",__name:"files",setup(e){return(e,t)=>((0,Ri.openBlock)(),(0,Ri.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ri.createElementVNode)("path",{fill:"currentColor",d:"M128 384v448h768V384zm-32-64h832a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32m64-128h704v64H160zm96-128h512v64H256z"})]))}}),Bi=Ii,Fi=n("7a23"),Vi=n("7a23"),zi=(0,Fi.defineComponent)({name:"Film",__name:"film",setup(e){return(e,t)=>((0,Vi.openBlock)(),(0,Vi.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Vi.createElementVNode)("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),(0,Vi.createElementVNode)("path",{fill:"currentColor",d:"M320 288V128h64v352h256V128h64v160h160v64H704v128h160v64H704v128h160v64H704v160h-64V544H384v352h-64V736H128v-64h192V544H128v-64h192V352H128v-64z"})]))}}),Hi=zi,Yi=n("7a23"),Ui=n("7a23"),Wi=(0,Yi.defineComponent)({name:"Filter",__name:"filter",setup(e){return(e,t)=>((0,Ui.openBlock)(),(0,Ui.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ui.createElementVNode)("path",{fill:"currentColor",d:"M384 523.392V928a32 32 0 0 0 46.336 28.608l192-96A32 32 0 0 0 640 832V523.392l280.768-343.104a32 32 0 1 0-49.536-40.576l-288 352A32 32 0 0 0 576 512v300.224l-128 64V512a32 32 0 0 0-7.232-20.288L195.52 192H704a32 32 0 1 0 0-64H128a32 32 0 0 0-24.768 52.288z"})]))}}),$i=Wi,qi=n("7a23"),Gi=n("7a23"),Xi=(0,qi.defineComponent)({name:"Finished",__name:"finished",setup(e){return(e,t)=>((0,Gi.openBlock)(),(0,Gi.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Gi.createElementVNode)("path",{fill:"currentColor",d:"M280.768 753.728 691.456 167.04a32 32 0 1 1 52.416 36.672L314.24 817.472a32 32 0 0 1-45.44 7.296l-230.4-172.8a32 32 0 0 1 38.4-51.2l203.968 152.96zM736 448a32 32 0 1 1 0-64h192a32 32 0 1 1 0 64zM608 640a32 32 0 0 1 0-64h319.936a32 32 0 1 1 0 64zM480 832a32 32 0 1 1 0-64h447.936a32 32 0 1 1 0 64z"})]))}}),Ki=Xi,Ji=n("7a23"),Zi=n("7a23"),Qi=(0,Ji.defineComponent)({name:"FirstAidKit",__name:"first-aid-kit",setup(e){return(e,t)=>((0,Zi.openBlock)(),(0,Zi.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Zi.createElementVNode)("path",{fill:"currentColor",d:"M192 256a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),(0,Zi.createElementVNode)("path",{fill:"currentColor",d:"M544 512h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0zM352 128v64h320v-64zm-32-64h384a32 32 0 0 1 32 32v128a32 32 0 0 1-32 32H320a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"})]))}}),es=Qi,ts=n("7a23"),ns=n("7a23"),rs=(0,ts.defineComponent)({name:"Flag",__name:"flag",setup(e){return(e,t)=>((0,ns.openBlock)(),(0,ns.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ns.createElementVNode)("path",{fill:"currentColor",d:"M288 128h608L736 384l160 256H288v320h-96V64h96z"})]))}}),as=rs,os=n("7a23"),is=n("7a23"),ss=(0,os.defineComponent)({name:"Fold",__name:"fold",setup(e){return(e,t)=>((0,is.openBlock)(),(0,is.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,is.createElementVNode)("path",{fill:"currentColor",d:"M896 192H128v128h768zm0 256H384v128h512zm0 256H128v128h768zM320 384 128 512l192 128z"})]))}}),ls=ss,cs=n("7a23"),us=n("7a23"),ds=(0,cs.defineComponent)({name:"FolderAdd",__name:"folder-add",setup(e){return(e,t)=>((0,us.openBlock)(),(0,us.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,us.createElementVNode)("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m384 416V416h64v128h128v64H544v128h-64V608H352v-64z"})]))}}),fs=ds,hs=n("7a23"),ps=n("7a23"),ms=(0,hs.defineComponent)({name:"FolderChecked",__name:"folder-checked",setup(e){return(e,t)=>((0,ps.openBlock)(),(0,ps.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ps.createElementVNode)("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m414.08 502.144 180.992-180.992L736.32 494.4 510.08 720.64l-158.4-158.336 45.248-45.312z"})]))}}),vs=ms,bs=n("7a23"),gs=n("7a23"),ys=(0,bs.defineComponent)({name:"FolderDelete",__name:"folder-delete",setup(e){return(e,t)=>((0,gs.openBlock)(),(0,gs.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,gs.createElementVNode)("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m370.752 448-90.496-90.496 45.248-45.248L512 530.752l90.496-90.496 45.248 45.248L557.248 576l90.496 90.496-45.248 45.248L512 621.248l-90.496 90.496-45.248-45.248z"})]))}}),Os=ys,ws=n("7a23"),_s=n("7a23"),js=(0,ws.defineComponent)({name:"FolderOpened",__name:"folder-opened",setup(e){return(e,t)=>((0,_s.openBlock)(),(0,_s.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,_s.createElementVNode)("path",{fill:"currentColor",d:"M878.08 448H241.92l-96 384h636.16l96-384zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 0 1 216.96 384zm-24.96 512H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h287.872l128.384 128H864a32 32 0 0 1 32 32v96h23.04a32 32 0 0 1 31.04 39.744l-112 448A32 32 0 0 1 807.04 896"})]))}}),ks=js,xs=n("7a23"),Ss=n("7a23"),Cs=(0,xs.defineComponent)({name:"FolderRemove",__name:"folder-remove",setup(e){return(e,t)=>((0,Ss.openBlock)(),(0,Ss.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ss.createElementVNode)("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m256 416h320v64H352z"})]))}}),Ms=Cs,As=n("7a23"),Ts=n("7a23"),Es=(0,As.defineComponent)({name:"Folder",__name:"folder",setup(e){return(e,t)=>((0,Ts.openBlock)(),(0,Ts.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ts.createElementVNode)("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32"})]))}}),Ls=Es,Ps=n("7a23"),Ds=n("7a23"),Ns=(0,Ps.defineComponent)({name:"Food",__name:"food",setup(e){return(e,t)=>((0,Ds.openBlock)(),(0,Ds.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ds.createElementVNode)("path",{fill:"currentColor",d:"M128 352.576V352a288 288 0 0 1 491.072-204.224 192 192 0 0 1 274.24 204.48 64 64 0 0 1 57.216 74.24C921.6 600.512 850.048 710.656 736 756.992V800a96 96 0 0 1-96 96H384a96 96 0 0 1-96-96v-43.008c-114.048-46.336-185.6-156.48-214.528-330.496A64 64 0 0 1 128 352.64zm64-.576h64a160 160 0 0 1 320 0h64a224 224 0 0 0-448 0m128 0h192a96 96 0 0 0-192 0m439.424 0h68.544A128.256 128.256 0 0 0 704 192c-15.36 0-29.952 2.688-43.52 7.616 11.328 18.176 20.672 37.76 27.84 58.304A64.128 64.128 0 0 1 759.424 352M672 768H352v32a32 32 0 0 0 32 32h256a32 32 0 0 0 32-32zm-342.528-64h365.056c101.504-32.64 165.76-124.928 192.896-288H136.576c27.136 163.072 91.392 255.36 192.896 288"})]))}}),Rs=Ns,Is=n("7a23"),Bs=n("7a23"),Fs=(0,Is.defineComponent)({name:"Football",__name:"football",setup(e){return(e,t)=>((0,Bs.openBlock)(),(0,Bs.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Bs.createElementVNode)("path",{fill:"currentColor",d:"M512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-64a384 384 0 1 0 0-768 384 384 0 0 0 0 768"}),(0,Bs.createElementVNode)("path",{fill:"currentColor",d:"M186.816 268.288c16-16.384 31.616-31.744 46.976-46.08 17.472 30.656 39.808 58.112 65.984 81.28l-32.512 56.448a385.984 385.984 0 0 1-80.448-91.648zm653.696-5.312a385.92 385.92 0 0 1-83.776 96.96l-32.512-56.384a322.923 322.923 0 0 0 68.48-85.76c15.552 14.08 31.488 29.12 47.808 45.184zM465.984 445.248l11.136-63.104a323.584 323.584 0 0 0 69.76 0l11.136 63.104a387.968 387.968 0 0 1-92.032 0m-62.72-12.8A381.824 381.824 0 0 1 320 396.544l32-55.424a319.885 319.885 0 0 0 62.464 27.712l-11.2 63.488zm300.8-35.84a381.824 381.824 0 0 1-83.328 35.84l-11.2-63.552A319.885 319.885 0 0 0 672 341.184l32 55.424zm-520.768 364.8a385.92 385.92 0 0 1 83.968-97.28l32.512 56.32c-26.88 23.936-49.856 52.352-67.52 84.032-16-13.44-32.32-27.712-48.96-43.072zm657.536.128a1442.759 1442.759 0 0 1-49.024 43.072 321.408 321.408 0 0 0-67.584-84.16l32.512-56.32c33.216 27.456 61.696 60.352 84.096 97.408zM465.92 578.752a387.968 387.968 0 0 1 92.032 0l-11.136 63.104a323.584 323.584 0 0 0-69.76 0zm-62.72 12.8 11.2 63.552a319.885 319.885 0 0 0-62.464 27.712L320 627.392a381.824 381.824 0 0 1 83.264-35.84zm300.8 35.84-32 55.424a318.272 318.272 0 0 0-62.528-27.712l11.2-63.488c29.44 8.64 57.28 20.736 83.264 35.776z"})]))}}),Vs=Fs,zs=n("7a23"),Hs=n("7a23"),Ys=(0,zs.defineComponent)({name:"ForkSpoon",__name:"fork-spoon",setup(e){return(e,t)=>((0,Hs.openBlock)(),(0,Hs.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Hs.createElementVNode)("path",{fill:"currentColor",d:"M256 410.304V96a32 32 0 0 1 64 0v314.304a96 96 0 0 0 64-90.56V96a32 32 0 0 1 64 0v223.744a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.544a160 160 0 0 1-128-156.8V96a32 32 0 0 1 64 0v223.744a96 96 0 0 0 64 90.56zM672 572.48C581.184 552.128 512 446.848 512 320c0-141.44 85.952-256 192-256s192 114.56 192 256c0 126.848-69.184 232.128-160 252.48V928a32 32 0 1 1-64 0zM704 512c66.048 0 128-82.56 128-192s-61.952-192-128-192-128 82.56-128 192 61.952 192 128 192"})]))}}),Us=Ys,Ws=n("7a23"),$s=n("7a23"),qs=(0,Ws.defineComponent)({name:"Fries",__name:"fries",setup(e){return(e,t)=>((0,$s.openBlock)(),(0,$s.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,$s.createElementVNode)("path",{fill:"currentColor",d:"M608 224v-64a32 32 0 0 0-64 0v336h26.88A64 64 0 0 0 608 484.096zm101.12 160A64 64 0 0 0 672 395.904V384h64V224a32 32 0 1 0-64 0v160zm74.88 0a92.928 92.928 0 0 1 91.328 110.08l-60.672 323.584A96 96 0 0 1 720.32 896H303.68a96 96 0 0 1-94.336-78.336L148.672 494.08A92.928 92.928 0 0 1 240 384h-16V224a96 96 0 0 1 188.608-25.28A95.744 95.744 0 0 1 480 197.44V160a96 96 0 0 1 188.608-25.28A96 96 0 0 1 800 224v160zM670.784 512a128 128 0 0 1-99.904 48H453.12a128 128 0 0 1-99.84-48H352v-1.536a128.128 128.128 0 0 1-9.984-14.976L314.88 448H240a28.928 28.928 0 0 0-28.48 34.304L241.088 640h541.824l29.568-157.696A28.928 28.928 0 0 0 784 448h-74.88l-27.136 47.488A132.405 132.405 0 0 1 672 510.464V512zM480 288a32 32 0 0 0-64 0v196.096A64 64 0 0 0 453.12 496H480zm-128 96V224a32 32 0 0 0-64 0v160zh-37.12A64 64 0 0 1 352 395.904zm-98.88 320 19.072 101.888A32 32 0 0 0 303.68 832h416.64a32 32 0 0 0 31.488-26.112L770.88 704z"})]))}}),Gs=qs,Xs=n("7a23"),Ks=n("7a23"),Js=(0,Xs.defineComponent)({name:"FullScreen",__name:"full-screen",setup(e){return(e,t)=>((0,Ks.openBlock)(),(0,Ks.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ks.createElementVNode)("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),Zs=Js,Qs=n("7a23"),el=n("7a23"),tl=(0,Qs.defineComponent)({name:"GobletFull",__name:"goblet-full",setup(e){return(e,t)=>((0,el.openBlock)(),(0,el.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,el.createElementVNode)("path",{fill:"currentColor",d:"M256 320h512c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320m503.936 64H264.064a256.128 256.128 0 0 0 495.872 0zM544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4"})]))}}),nl=tl,rl=n("7a23"),al=n("7a23"),ol=(0,rl.defineComponent)({name:"GobletSquareFull",__name:"goblet-square-full",setup(e){return(e,t)=>((0,al.openBlock)(),(0,al.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,al.createElementVNode)("path",{fill:"currentColor",d:"M256 270.912c10.048 6.72 22.464 14.912 28.992 18.624a220.16 220.16 0 0 0 114.752 30.72c30.592 0 49.408-9.472 91.072-41.152l.64-.448c52.928-40.32 82.368-55.04 132.288-54.656 55.552.448 99.584 20.8 142.72 57.408l1.536 1.28V128H256v142.912zm.96 76.288C266.368 482.176 346.88 575.872 512 576c157.44.064 237.952-85.056 253.248-209.984a952.32 952.32 0 0 1-40.192-35.712c-32.704-27.776-63.36-41.92-101.888-42.24-31.552-.256-50.624 9.28-93.12 41.6l-.576.448c-52.096 39.616-81.024 54.208-129.792 54.208-54.784 0-100.48-13.376-142.784-37.056zM480 638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96z"})]))}}),il=ol,sl=n("7a23"),ll=n("7a23"),cl=(0,sl.defineComponent)({name:"GobletSquare",__name:"goblet-square",setup(e){return(e,t)=>((0,ll.openBlock)(),(0,ll.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ll.createElementVNode)("path",{fill:"currentColor",d:"M544 638.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912M256 319.68c0 149.568 80 256.192 256 256.256C688.128 576 768 469.568 768 320V128H256z"})]))}}),ul=cl,dl=n("7a23"),fl=n("7a23"),hl=(0,dl.defineComponent)({name:"Goblet",__name:"goblet",setup(e){return(e,t)=>((0,fl.openBlock)(),(0,fl.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,fl.createElementVNode)("path",{fill:"currentColor",d:"M544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4M256 320a256 256 0 1 0 512 0c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320"})]))}}),pl=hl,ml=n("7a23"),vl=n("7a23"),bl=(0,ml.defineComponent)({name:"GoldMedal",__name:"gold-medal",setup(e){return(e,t)=>((0,vl.openBlock)(),(0,vl.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[(0,vl.createElementVNode)("path",{fill:"currentColor",d:"m772.13 452.84 53.86-351.81c1.32-10.01-1.17-18.68-7.49-26.02S804.35 64 795.01 64H228.99v-.01h-.06c-9.33 0-17.15 3.67-23.49 11.01s-8.83 16.01-7.49 26.02l53.87 351.89C213.54 505.73 193.59 568.09 192 640c2 90.67 33.17 166.17 93.5 226.5S421.33 957.99 512 960c90.67-2 166.17-33.17 226.5-93.5 60.33-60.34 91.49-135.83 93.5-226.5-1.59-71.94-21.56-134.32-59.87-187.16zM640.01 128h117.02l-39.01 254.02c-20.75-10.64-40.74-19.73-59.94-27.28-5.92-3-11.95-5.8-18.08-8.41V128h.01zM576 128v198.76c-13.18-2.58-26.74-4.43-40.67-5.55-8.07-.8-15.85-1.2-23.33-1.2-10.54 0-21.09.66-31.64 1.96a359.844 359.844 0 0 0-32.36 4.79V128zm-192 0h.04v218.3c-6.22 2.66-12.34 5.5-18.36 8.56-19.13 7.54-39.02 16.6-59.66 27.16L267.01 128zm308.99 692.99c-48 48-108.33 73-180.99 75.01-72.66-2.01-132.99-27.01-180.99-75.01S258.01 712.66 256 640c2.01-72.66 27.01-132.99 75.01-180.99 19.67-19.67 41.41-35.47 65.22-47.41 38.33-15.04 71.15-23.92 98.44-26.65 5.07-.41 10.2-.7 15.39-.88.63-.01 1.28-.03 1.91-.03.66 0 1.35.03 2.02.04 5.11.17 10.15.46 15.13.86 27.4 2.71 60.37 11.65 98.91 26.79 23.71 11.93 45.36 27.69 64.96 47.29 48 48 73 108.33 75.01 180.99-2.01 72.65-27.01 132.98-75.01 180.98z"}),(0,vl.createElementVNode)("path",{fill:"currentColor",d:"M544 480H416v64h64v192h-64v64h192v-64h-64z"})]))}}),gl=bl,yl=n("7a23"),Ol=n("7a23"),wl=(0,yl.defineComponent)({name:"GoodsFilled",__name:"goods-filled",setup(e){return(e,t)=>((0,Ol.openBlock)(),(0,Ol.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ol.createElementVNode)("path",{fill:"currentColor",d:"M192 352h640l64 544H128zm128 224h64V448h-64zm320 0h64V448h-64zM384 288h-64a192 192 0 1 1 384 0h-64a128 128 0 1 0-256 0"})]))}}),_l=wl,jl=n("7a23"),kl=n("7a23"),xl=(0,jl.defineComponent)({name:"Goods",__name:"goods",setup(e){return(e,t)=>((0,kl.openBlock)(),(0,kl.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,kl.createElementVNode)("path",{fill:"currentColor",d:"M320 288v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4h131.072a32 32 0 0 1 31.808 28.8l57.6 576a32 32 0 0 1-31.808 35.2H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320zm64 0h256v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4zm-64 64H217.92l-51.2 512h690.56l-51.264-512H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0z"})]))}}),Sl=xl,Cl=n("7a23"),Ml=n("7a23"),Al=(0,Cl.defineComponent)({name:"Grape",__name:"grape",setup(e){return(e,t)=>((0,Ml.openBlock)(),(0,Ml.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ml.createElementVNode)("path",{fill:"currentColor",d:"M544 195.2a160 160 0 0 1 96 60.8 160 160 0 1 1 146.24 254.976 160 160 0 0 1-128 224 160 160 0 1 1-292.48 0 160 160 0 0 1-128-224A160 160 0 1 1 384 256a160 160 0 0 1 96-60.8V128h-64a32 32 0 0 1 0-64h192a32 32 0 0 1 0 64h-64zM512 448a96 96 0 1 0 0-192 96 96 0 0 0 0 192m-256 0a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),Tl=Al,El=n("7a23"),Ll=n("7a23"),Pl=(0,El.defineComponent)({name:"Grid",__name:"grid",setup(e){return(e,t)=>((0,Ll.openBlock)(),(0,Ll.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ll.createElementVNode)("path",{fill:"currentColor",d:"M640 384v256H384V384zm64 0h192v256H704zm-64 512H384V704h256zm64 0V704h192v192zm-64-768v192H384V128zm64 0h192v192H704zM320 384v256H128V384zm0 512H128V704h192zm0-768v192H128V128z"})]))}}),Dl=Pl,Nl=n("7a23"),Rl=n("7a23"),Il=(0,Nl.defineComponent)({name:"Guide",__name:"guide",setup(e){return(e,t)=>((0,Rl.openBlock)(),(0,Rl.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Rl.createElementVNode)("path",{fill:"currentColor",d:"M640 608h-64V416h64zm0 160v160a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V768h64v128h128V768zM384 608V416h64v192zm256-352h-64V128H448v128h-64V96a32 32 0 0 1 32-32h192a32 32 0 0 1 32 32z"}),(0,Rl.createElementVNode)("path",{fill:"currentColor",d:"m220.8 256-71.232 80 71.168 80H768V256H220.8zm-14.4-64H800a32 32 0 0 1 32 32v224a32 32 0 0 1-32 32H206.4a32 32 0 0 1-23.936-10.752l-99.584-112a32 32 0 0 1 0-42.496l99.584-112A32 32 0 0 1 206.4 192m678.784 496-71.104 80H266.816V608h547.2l71.168 80zm-56.768-144H234.88a32 32 0 0 0-32 32v224a32 32 0 0 0 32 32h593.6a32 32 0 0 0 23.936-10.752l99.584-112a32 32 0 0 0 0-42.496l-99.584-112A32 32 0 0 0 828.48 544z"})]))}}),Bl=Il,Fl=n("7a23"),Vl=n("7a23"),zl=(0,Fl.defineComponent)({name:"Handbag",__name:"handbag",setup(e){return(e,t)=>((0,Vl.openBlock)(),(0,Vl.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[(0,Vl.createElementVNode)("path",{fill:"currentColor",d:"M887.01 264.99c-6-5.99-13.67-8.99-23.01-8.99H704c-1.34-54.68-20.01-100.01-56-136s-81.32-54.66-136-56c-54.68 1.34-100.01 20.01-136 56s-54.66 81.32-56 136H160c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.67-8.99 23.01v640c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V288c0-9.35-2.99-17.02-8.99-23.01M421.5 165.5c24.32-24.34 54.49-36.84 90.5-37.5 35.99.68 66.16 13.18 90.5 37.5s36.84 54.49 37.5 90.5H384c.68-35.99 13.18-66.16 37.5-90.5M832 896H192V320h128v128h64V320h256v128h64V320h128z"})]))}}),Hl=zl,Yl=n("7a23"),Ul=n("7a23"),Wl=(0,Yl.defineComponent)({name:"Headset",__name:"headset",setup(e){return(e,t)=>((0,Ul.openBlock)(),(0,Ul.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ul.createElementVNode)("path",{fill:"currentColor",d:"M896 529.152V512a384 384 0 1 0-768 0v17.152A128 128 0 0 1 320 640v128a128 128 0 1 1-256 0V512a448 448 0 1 1 896 0v256a128 128 0 1 1-256 0V640a128 128 0 0 1 192-110.848M896 640a64 64 0 0 0-128 0v128a64 64 0 0 0 128 0zm-768 0v128a64 64 0 0 0 128 0V640a64 64 0 1 0-128 0"})]))}}),$l=Wl,ql=n("7a23"),Gl=n("7a23"),Xl=(0,ql.defineComponent)({name:"HelpFilled",__name:"help-filled",setup(e){return(e,t)=>((0,Gl.openBlock)(),(0,Gl.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Gl.createElementVNode)("path",{fill:"currentColor",d:"M926.784 480H701.312A192.512 192.512 0 0 0 544 322.688V97.216A416.064 416.064 0 0 1 926.784 480m0 64A416.064 416.064 0 0 1 544 926.784V701.312A192.512 192.512 0 0 0 701.312 544zM97.28 544h225.472A192.512 192.512 0 0 0 480 701.312v225.472A416.064 416.064 0 0 1 97.216 544zm0-64A416.064 416.064 0 0 1 480 97.216v225.472A192.512 192.512 0 0 0 322.688 480H97.216z"})]))}}),Kl=Xl,Jl=n("7a23"),Zl=n("7a23"),Ql=(0,Jl.defineComponent)({name:"Help",__name:"help",setup(e){return(e,t)=>((0,Zl.openBlock)(),(0,Zl.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Zl.createElementVNode)("path",{fill:"currentColor",d:"m759.936 805.248-90.944-91.008A254.912 254.912 0 0 1 512 768a254.912 254.912 0 0 1-156.992-53.76l-90.944 91.008A382.464 382.464 0 0 0 512 896c94.528 0 181.12-34.176 247.936-90.752m45.312-45.312A382.464 382.464 0 0 0 896 512c0-94.528-34.176-181.12-90.752-247.936l-91.008 90.944C747.904 398.4 768 452.864 768 512c0 59.136-20.096 113.6-53.76 156.992l91.008 90.944zm-45.312-541.184A382.464 382.464 0 0 0 512 128c-94.528 0-181.12 34.176-247.936 90.752l90.944 91.008A254.912 254.912 0 0 1 512 256c59.136 0 113.6 20.096 156.992 53.76l90.944-91.008zm-541.184 45.312A382.464 382.464 0 0 0 128 512c0 94.528 34.176 181.12 90.752 247.936l91.008-90.944A254.912 254.912 0 0 1 256 512c0-59.136 20.096-113.6 53.76-156.992zm417.28 394.496a194.56 194.56 0 0 0 22.528-22.528C686.912 602.56 704 559.232 704 512a191.232 191.232 0 0 0-67.968-146.56A191.296 191.296 0 0 0 512 320a191.232 191.232 0 0 0-146.56 67.968C337.088 421.44 320 464.768 320 512a191.232 191.232 0 0 0 67.968 146.56C421.44 686.912 464.768 704 512 704c47.296 0 90.56-17.088 124.032-45.44zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),ec=Ql,tc=n("7a23"),nc=n("7a23"),rc=(0,tc.defineComponent)({name:"Hide",__name:"hide",setup(e){return(e,t)=>((0,nc.openBlock)(),(0,nc.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,nc.createElementVNode)("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),(0,nc.createElementVNode)("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}}),ac=rc,oc=n("7a23"),ic=n("7a23"),sc=(0,oc.defineComponent)({name:"Histogram",__name:"histogram",setup(e){return(e,t)=>((0,ic.openBlock)(),(0,ic.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ic.createElementVNode)("path",{fill:"currentColor",d:"M416 896V128h192v768zm-288 0V448h192v448zm576 0V320h192v576z"})]))}}),lc=sc,cc=n("7a23"),uc=n("7a23"),dc=(0,cc.defineComponent)({name:"HomeFilled",__name:"home-filled",setup(e){return(e,t)=>((0,uc.openBlock)(),(0,uc.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,uc.createElementVNode)("path",{fill:"currentColor",d:"M512 128 128 447.936V896h255.936V640H640v256h255.936V447.936z"})]))}}),fc=dc,hc=n("7a23"),pc=n("7a23"),mc=(0,hc.defineComponent)({name:"HotWater",__name:"hot-water",setup(e){return(e,t)=>((0,pc.openBlock)(),(0,pc.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,pc.createElementVNode)("path",{fill:"currentColor",d:"M273.067 477.867h477.866V409.6H273.067zm0 68.266v51.2A187.733 187.733 0 0 0 460.8 785.067h102.4a187.733 187.733 0 0 0 187.733-187.734v-51.2H273.067zm-34.134-204.8h546.134a34.133 34.133 0 0 1 34.133 34.134v221.866a256 256 0 0 1-256 256H460.8a256 256 0 0 1-256-256V375.467a34.133 34.133 0 0 1 34.133-34.134zM512 34.133a34.133 34.133 0 0 1 34.133 34.134v170.666a34.133 34.133 0 0 1-68.266 0V68.267A34.133 34.133 0 0 1 512 34.133zM375.467 102.4a34.133 34.133 0 0 1 34.133 34.133v102.4a34.133 34.133 0 0 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.134-34.133m273.066 0a34.133 34.133 0 0 1 34.134 34.133v102.4a34.133 34.133 0 1 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.133-34.133M170.667 921.668h682.666a34.133 34.133 0 1 1 0 68.267H170.667a34.133 34.133 0 1 1 0-68.267z"})]))}}),vc=mc,bc=n("7a23"),gc=n("7a23"),yc=(0,bc.defineComponent)({name:"House",__name:"house",setup(e){return(e,t)=>((0,gc.openBlock)(),(0,gc.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,gc.createElementVNode)("path",{fill:"currentColor",d:"M192 413.952V896h640V413.952L512 147.328zM139.52 374.4l352-293.312a32 32 0 0 1 40.96 0l352 293.312A32 32 0 0 1 896 398.976V928a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V398.976a32 32 0 0 1 11.52-24.576"})]))}}),Oc=yc,wc=n("7a23"),_c=n("7a23"),jc=(0,wc.defineComponent)({name:"IceCreamRound",__name:"ice-cream-round",setup(e){return(e,t)=>((0,_c.openBlock)(),(0,_c.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,_c.createElementVNode)("path",{fill:"currentColor",d:"m308.352 489.344 226.304 226.304a32 32 0 0 0 45.248 0L783.552 512A192 192 0 1 0 512 240.448L308.352 444.16a32 32 0 0 0 0 45.248zm135.744 226.304L308.352 851.392a96 96 0 0 1-135.744-135.744l135.744-135.744-45.248-45.248a96 96 0 0 1 0-135.808L466.752 195.2A256 256 0 0 1 828.8 557.248L625.152 760.96a96 96 0 0 1-135.808 0l-45.248-45.248zM398.848 670.4 353.6 625.152 217.856 760.896a32 32 0 0 0 45.248 45.248zm248.96-384.64a32 32 0 0 1 0 45.248L466.624 512a32 32 0 1 1-45.184-45.248l180.992-181.056a32 32 0 0 1 45.248 0zm90.496 90.496a32 32 0 0 1 0 45.248L557.248 602.496A32 32 0 1 1 512 557.248l180.992-180.992a32 32 0 0 1 45.312 0z"})]))}}),kc=jc,xc=n("7a23"),Sc=n("7a23"),Cc=(0,xc.defineComponent)({name:"IceCreamSquare",__name:"ice-cream-square",setup(e){return(e,t)=>((0,Sc.openBlock)(),(0,Sc.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Sc.createElementVNode)("path",{fill:"currentColor",d:"M416 640h256a32 32 0 0 0 32-32V160a32 32 0 0 0-32-32H352a32 32 0 0 0-32 32v448a32 32 0 0 0 32 32zm192 64v160a96 96 0 0 1-192 0V704h-64a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96h320a96 96 0 0 1 96 96v448a96 96 0 0 1-96 96zm-64 0h-64v160a32 32 0 1 0 64 0z"})]))}}),Mc=Cc,Ac=n("7a23"),Tc=n("7a23"),Ec=(0,Ac.defineComponent)({name:"IceCream",__name:"ice-cream",setup(e){return(e,t)=>((0,Tc.openBlock)(),(0,Tc.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Tc.createElementVNode)("path",{fill:"currentColor",d:"M128.64 448a208 208 0 0 1 193.536-191.552 224 224 0 0 1 445.248 15.488A208.128 208.128 0 0 1 894.784 448H896L548.8 983.68a32 32 0 0 1-53.248.704L128 448zm64.256 0h286.208a144 144 0 0 0-286.208 0zm351.36 0h286.272a144 144 0 0 0-286.272 0zm-294.848 64 271.808 396.608L778.24 512H249.408zM511.68 352.64a207.872 207.872 0 0 1 189.184-96.192 160 160 0 0 0-314.752 5.632c52.608 12.992 97.28 46.08 125.568 90.56"})]))}}),Lc=Ec,Pc=n("7a23"),Dc=n("7a23"),Nc=(0,Pc.defineComponent)({name:"IceDrink",__name:"ice-drink",setup(e){return(e,t)=>((0,Dc.openBlock)(),(0,Dc.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Dc.createElementVNode)("path",{fill:"currentColor",d:"M512 448v128h239.68l16.064-128zm-64 0H256.256l16.064 128H448zm64-255.36V384h247.744A256.128 256.128 0 0 0 512 192.64m-64 8.064A256.448 256.448 0 0 0 264.256 384H448zm64-72.064A320.128 320.128 0 0 1 825.472 384H896a32 32 0 1 1 0 64h-64v1.92l-56.96 454.016A64 64 0 0 1 711.552 960H312.448a64 64 0 0 1-63.488-56.064L192 449.92V448h-64a32 32 0 0 1 0-64h70.528A320.384 320.384 0 0 1 448 135.04V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H544a32 32 0 0 0-32 32zM743.68 640H280.32l32.128 256h399.104z"})]))}}),Rc=Nc,Ic=n("7a23"),Bc=n("7a23"),Fc=(0,Ic.defineComponent)({name:"IceTea",__name:"ice-tea",setup(e){return(e,t)=>((0,Bc.openBlock)(),(0,Bc.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Bc.createElementVNode)("path",{fill:"currentColor",d:"M197.696 259.648a320.128 320.128 0 0 1 628.608 0A96 96 0 0 1 896 352v64a96 96 0 0 1-71.616 92.864l-49.408 395.072A64 64 0 0 1 711.488 960H312.512a64 64 0 0 1-63.488-56.064l-49.408-395.072A96 96 0 0 1 128 416v-64a96 96 0 0 1 69.696-92.352M264.064 256h495.872a256.128 256.128 0 0 0-495.872 0m495.424 256H264.512l48 384h398.976zM224 448h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32H224a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32m160 192h64v64h-64zm192 64h64v64h-64zm-128 64h64v64h-64zm64-192h64v64h-64z"})]))}}),Vc=Fc,zc=n("7a23"),Hc=n("7a23"),Yc=(0,zc.defineComponent)({name:"InfoFilled",__name:"info-filled",setup(e){return(e,t)=>((0,Hc.openBlock)(),(0,Hc.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Hc.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),Uc=Yc,Wc=n("7a23"),$c=n("7a23"),qc=(0,Wc.defineComponent)({name:"Iphone",__name:"iphone",setup(e){return(e,t)=>((0,$c.openBlock)(),(0,$c.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,$c.createElementVNode)("path",{fill:"currentColor",d:"M224 768v96.064a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V768zm0-64h576V160a64 64 0 0 0-64-64H288a64 64 0 0 0-64 64zm32 288a96 96 0 0 1-96-96V128a96 96 0 0 1 96-96h512a96 96 0 0 1 96 96v768a96 96 0 0 1-96 96zm304-144a48 48 0 1 1-96 0 48 48 0 0 1 96 0"})]))}}),Gc=qc,Xc=n("7a23"),Kc=n("7a23"),Jc=(0,Xc.defineComponent)({name:"Key",__name:"key",setup(e){return(e,t)=>((0,Kc.openBlock)(),(0,Kc.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Kc.createElementVNode)("path",{fill:"currentColor",d:"M448 456.064V96a32 32 0 0 1 32-32.064L672 64a32 32 0 0 1 0 64H512v128h160a32 32 0 0 1 0 64H512v128a256 256 0 1 1-64 8.064M512 896a192 192 0 1 0 0-384 192 192 0 0 0 0 384"})]))}}),Zc=Jc,Qc=n("7a23"),eu=n("7a23"),tu=(0,Qc.defineComponent)({name:"KnifeFork",__name:"knife-fork",setup(e){return(e,t)=>((0,eu.openBlock)(),(0,eu.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,eu.createElementVNode)("path",{fill:"currentColor",d:"M256 410.56V96a32 32 0 0 1 64 0v314.56A96 96 0 0 0 384 320V96a32 32 0 0 1 64 0v224a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.8A160 160 0 0 1 128 320V96a32 32 0 0 1 64 0v224a96 96 0 0 0 64 90.56m384-250.24V544h126.72c-3.328-78.72-12.928-147.968-28.608-207.744-14.336-54.528-46.848-113.344-98.112-175.872zM640 608v320a32 32 0 1 1-64 0V64h64c85.312 89.472 138.688 174.848 160 256 21.312 81.152 32 177.152 32 288z"})]))}}),nu=tu,ru=n("7a23"),au=n("7a23"),ou=(0,ru.defineComponent)({name:"Lightning",__name:"lightning",setup(e){return(e,t)=>((0,au.openBlock)(),(0,au.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,au.createElementVNode)("path",{fill:"currentColor",d:"M288 671.36v64.128A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 736 734.016v-64.768a192 192 0 0 0 3.328-377.92l-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 91.968 70.464 167.36 160.256 175.232z"}),(0,au.createElementVNode)("path",{fill:"currentColor",d:"M416 736a32 32 0 0 1-27.776-47.872l128-224a32 32 0 1 1 55.552 31.744L471.168 672H608a32 32 0 0 1 27.776 47.872l-128 224a32 32 0 1 1-55.68-31.744L552.96 736z"})]))}}),iu=ou,su=n("7a23"),lu=n("7a23"),cu=(0,su.defineComponent)({name:"Link",__name:"link",setup(e){return(e,t)=>((0,lu.openBlock)(),(0,lu.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,lu.createElementVNode)("path",{fill:"currentColor",d:"M715.648 625.152 670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248 90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656 87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496 45.248 45.248-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896 62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152z"})]))}}),uu=cu,du=n("7a23"),fu=n("7a23"),hu=(0,du.defineComponent)({name:"List",__name:"list",setup(e){return(e,t)=>((0,fu.openBlock)(),(0,fu.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,fu.createElementVNode)("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160v64h384zM288 512h448v-64H288zm0 256h448v-64H288zm96-576V96h256v96z"})]))}}),pu=hu,mu=n("7a23"),vu=n("7a23"),bu=(0,mu.defineComponent)({name:"Loading",__name:"loading",setup(e){return(e,t)=>((0,vu.openBlock)(),(0,vu.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,vu.createElementVNode)("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}}),gu=bu,yu=n("7a23"),Ou=n("7a23"),wu=(0,yu.defineComponent)({name:"LocationFilled",__name:"location-filled",setup(e){return(e,t)=>((0,Ou.openBlock)(),(0,Ou.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ou.createElementVNode)("path",{fill:"currentColor",d:"M512 928c23.936 0 117.504-68.352 192.064-153.152C803.456 661.888 864 535.808 864 416c0-189.632-155.84-320-352-320S160 226.368 160 416c0 120.32 60.544 246.4 159.936 359.232C394.432 859.84 488 928 512 928m0-435.2a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 140.8a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6"})]))}}),_u=wu,ju=n("7a23"),ku=n("7a23"),xu=(0,ju.defineComponent)({name:"LocationInformation",__name:"location-information",setup(e){return(e,t)=>((0,ku.openBlock)(),(0,ku.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ku.createElementVNode)("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),(0,ku.createElementVNode)("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),(0,ku.createElementVNode)("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),Su=xu,Cu=n("7a23"),Mu=n("7a23"),Au=(0,Cu.defineComponent)({name:"Location",__name:"location",setup(e){return(e,t)=>((0,Mu.openBlock)(),(0,Mu.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Mu.createElementVNode)("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),(0,Mu.createElementVNode)("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),Tu=Au,Eu=n("7a23"),Lu=n("7a23"),Pu=(0,Eu.defineComponent)({name:"Lock",__name:"lock",setup(e){return(e,t)=>((0,Lu.openBlock)(),(0,Lu.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Lu.createElementVNode)("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),(0,Lu.createElementVNode)("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m192-160v-64a192 192 0 1 0-384 0v64zM512 64a256 256 0 0 1 256 256v128H256V320A256 256 0 0 1 512 64"})]))}}),Du=Pu,Nu=n("7a23"),Ru=n("7a23"),Iu=(0,Nu.defineComponent)({name:"Lollipop",__name:"lollipop",setup(e){return(e,t)=>((0,Ru.openBlock)(),(0,Ru.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ru.createElementVNode)("path",{fill:"currentColor",d:"M513.28 448a64 64 0 1 1 76.544 49.728A96 96 0 0 0 768 448h64a160 160 0 0 1-320 0zm-126.976-29.696a256 256 0 1 0 43.52-180.48A256 256 0 0 1 832 448h-64a192 192 0 0 0-381.696-29.696m105.664 249.472L285.696 874.048a96 96 0 0 1-135.68-135.744l206.208-206.272a320 320 0 1 1 135.744 135.744zm-54.464-36.032a321.92 321.92 0 0 1-45.248-45.248L195.2 783.552a32 32 0 1 0 45.248 45.248l197.056-197.12z"})]))}}),Bu=Iu,Fu=n("7a23"),Vu=n("7a23"),zu=(0,Fu.defineComponent)({name:"MagicStick",__name:"magic-stick",setup(e){return(e,t)=>((0,Vu.openBlock)(),(0,Vu.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Vu.createElementVNode)("path",{fill:"currentColor",d:"M512 64h64v192h-64zm0 576h64v192h-64zM160 480v-64h192v64zm576 0v-64h192v64zM249.856 199.04l45.248-45.184L430.848 289.6 385.6 334.848 249.856 199.104zM657.152 606.4l45.248-45.248 135.744 135.744-45.248 45.248zM114.048 923.2 68.8 877.952l316.8-316.8 45.248 45.248zM702.4 334.848 657.152 289.6l135.744-135.744 45.248 45.248z"})]))}}),Hu=zu,Yu=n("7a23"),Uu=n("7a23"),Wu=(0,Yu.defineComponent)({name:"Magnet",__name:"magnet",setup(e){return(e,t)=>((0,Uu.openBlock)(),(0,Uu.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Uu.createElementVNode)("path",{fill:"currentColor",d:"M832 320V192H704v320a192 192 0 1 1-384 0V192H192v128h128v64H192v128a320 320 0 0 0 640 0V384H704v-64zM640 512V128h256v384a384 384 0 1 1-768 0V128h256v384a128 128 0 1 0 256 0"})]))}}),$u=Wu,qu=n("7a23"),Gu=n("7a23"),Xu=(0,qu.defineComponent)({name:"Male",__name:"male",setup(e){return(e,t)=>((0,Gu.openBlock)(),(0,Gu.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Gu.createElementVNode)("path",{fill:"currentColor",d:"M399.5 849.5a225 225 0 1 0 0-450 225 225 0 0 0 0 450m0 56.25a281.25 281.25 0 1 1 0-562.5 281.25 281.25 0 0 1 0 562.5m253.125-787.5h225q28.125 0 28.125 28.125T877.625 174.5h-225q-28.125 0-28.125-28.125t28.125-28.125"}),(0,Gu.createElementVNode)("path",{fill:"currentColor",d:"M877.625 118.25q28.125 0 28.125 28.125v225q0 28.125-28.125 28.125T849.5 371.375v-225q0-28.125 28.125-28.125"}),(0,Gu.createElementVNode)("path",{fill:"currentColor",d:"M604.813 458.9 565.1 419.131l292.613-292.668 39.825 39.824z"})]))}}),Ku=Xu,Ju=n("7a23"),Zu=n("7a23"),Qu=(0,Ju.defineComponent)({name:"Management",__name:"management",setup(e){return(e,t)=>((0,Zu.openBlock)(),(0,Zu.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Zu.createElementVNode)("path",{fill:"currentColor",d:"M576 128v288l96-96 96 96V128h128v768H320V128zm-448 0h128v768H128z"})]))}}),ed=Qu,td=n("7a23"),nd=n("7a23"),rd=(0,td.defineComponent)({name:"MapLocation",__name:"map-location",setup(e){return(e,t)=>((0,nd.openBlock)(),(0,nd.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,nd.createElementVNode)("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),(0,nd.createElementVNode)("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256m345.6 192L960 960H672v-64H352v64H64l102.4-256zm-68.928 0H235.328l-76.8 192h706.944z"})]))}}),ad=rd,od=n("7a23"),id=n("7a23"),sd=(0,od.defineComponent)({name:"Medal",__name:"medal",setup(e){return(e,t)=>((0,id.openBlock)(),(0,id.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,id.createElementVNode)("path",{fill:"currentColor",d:"M512 896a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),(0,id.createElementVNode)("path",{fill:"currentColor",d:"M576 128H448v200a286.72 286.72 0 0 1 64-8c19.52 0 40.832 2.688 64 8zm64 0v219.648c24.448 9.088 50.56 20.416 78.4 33.92L757.44 128zm-256 0H266.624l39.04 253.568c27.84-13.504 53.888-24.832 78.336-33.92V128zM229.312 64h565.376a32 32 0 0 1 31.616 36.864L768 480c-113.792-64-199.104-96-256-96-56.896 0-142.208 32-256 96l-58.304-379.136A32 32 0 0 1 229.312 64"})]))}}),ld=sd,cd=n("7a23"),ud=n("7a23"),dd=(0,cd.defineComponent)({name:"Memo",__name:"memo",setup(e){return(e,t)=>((0,ud.openBlock)(),(0,ud.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[(0,ud.createElementVNode)("path",{fill:"currentColor",d:"M480 320h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"}),(0,ud.createElementVNode)("path",{fill:"currentColor",d:"M887.01 72.99C881.01 67 873.34 64 864 64H160c-9.35 0-17.02 3-23.01 8.99C131 78.99 128 86.66 128 96v832c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V96c0-9.35-3-17.02-8.99-23.01M192 896V128h96v768zm640 0H352V128h480z"}),(0,ud.createElementVNode)("path",{fill:"currentColor",d:"M480 512h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32m0 192h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"})]))}}),fd=dd,hd=n("7a23"),pd=n("7a23"),md=(0,hd.defineComponent)({name:"Menu",__name:"menu",setup(e){return(e,t)=>((0,pd.openBlock)(),(0,pd.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,pd.createElementVNode)("path",{fill:"currentColor",d:"M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z"})]))}}),vd=md,bd=n("7a23"),gd=n("7a23"),yd=(0,bd.defineComponent)({name:"MessageBox",__name:"message-box",setup(e){return(e,t)=>((0,gd.openBlock)(),(0,gd.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,gd.createElementVNode)("path",{fill:"currentColor",d:"M288 384h448v64H288zm96-128h256v64H384zM131.456 512H384v128h256V512h252.544L721.856 192H302.144zM896 576H704v128H320V576H128v256h768zM275.776 128h472.448a32 32 0 0 1 28.608 17.664l179.84 359.552A32 32 0 0 1 960 519.552V864a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V519.552a32 32 0 0 1 3.392-14.336l179.776-359.552A32 32 0 0 1 275.776 128z"})]))}}),Od=yd,wd=n("7a23"),_d=n("7a23"),jd=(0,wd.defineComponent)({name:"Message",__name:"message",setup(e){return(e,t)=>((0,_d.openBlock)(),(0,_d.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,_d.createElementVNode)("path",{fill:"currentColor",d:"M128 224v512a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V224zm0-64h768a64 64 0 0 1 64 64v512a128 128 0 0 1-128 128H192A128 128 0 0 1 64 736V224a64 64 0 0 1 64-64"}),(0,_d.createElementVNode)("path",{fill:"currentColor",d:"M904 224 656.512 506.88a192 192 0 0 1-289.024 0L120 224zm-698.944 0 210.56 240.704a128 128 0 0 0 192.704 0L818.944 224H205.056"})]))}}),kd=jd,xd=n("7a23"),Sd=n("7a23"),Cd=(0,xd.defineComponent)({name:"Mic",__name:"mic",setup(e){return(e,t)=>((0,Sd.openBlock)(),(0,Sd.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Sd.createElementVNode)("path",{fill:"currentColor",d:"M480 704h160a64 64 0 0 0 64-64v-32h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-32a64 64 0 0 0-64-64H384a64 64 0 0 0-64 64v32h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v32a64 64 0 0 0 64 64zm64 64v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768h-96a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64h256a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128z"})]))}}),Md=Cd,Ad=n("7a23"),Td=n("7a23"),Ed=(0,Ad.defineComponent)({name:"Microphone",__name:"microphone",setup(e){return(e,t)=>((0,Td.openBlock)(),(0,Td.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Td.createElementVNode)("path",{fill:"currentColor",d:"M512 128a128 128 0 0 0-128 128v256a128 128 0 1 0 256 0V256a128 128 0 0 0-128-128m0-64a192 192 0 0 1 192 192v256a192 192 0 1 1-384 0V256A192 192 0 0 1 512 64m-32 832v-64a288 288 0 0 1-288-288v-32a32 32 0 0 1 64 0v32a224 224 0 0 0 224 224h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64z"})]))}}),Ld=Ed,Pd=n("7a23"),Dd=n("7a23"),Nd=(0,Pd.defineComponent)({name:"MilkTea",__name:"milk-tea",setup(e){return(e,t)=>((0,Dd.openBlock)(),(0,Dd.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Dd.createElementVNode)("path",{fill:"currentColor",d:"M416 128V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H512a32 32 0 0 0-32 32v32h320a96 96 0 0 1 11.712 191.296l-39.68 581.056A64 64 0 0 1 708.224 960H315.776a64 64 0 0 1-63.872-59.648l-39.616-581.056A96 96 0 0 1 224 128zM276.48 320l39.296 576h392.448l4.8-70.784a224.064 224.064 0 0 1 30.016-439.808L747.52 320zM224 256h576a32 32 0 1 0 0-64H224a32 32 0 0 0 0 64m493.44 503.872 21.12-309.12a160 160 0 0 0-21.12 309.12"})]))}}),Rd=Nd,Id=n("7a23"),Bd=n("7a23"),Fd=(0,Id.defineComponent)({name:"Minus",__name:"minus",setup(e){return(e,t)=>((0,Bd.openBlock)(),(0,Bd.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Bd.createElementVNode)("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),Vd=Fd,zd=n("7a23"),Hd=n("7a23"),Yd=(0,zd.defineComponent)({name:"Money",__name:"money",setup(e){return(e,t)=>((0,Hd.openBlock)(),(0,Hd.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Hd.createElementVNode)("path",{fill:"currentColor",d:"M256 640v192h640V384H768v-64h150.976c14.272 0 19.456 1.472 24.64 4.288a29.056 29.056 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64v493.952c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H233.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096c-2.688-5.184-4.224-10.368-4.224-24.576V640z"}),(0,Hd.createElementVNode)("path",{fill:"currentColor",d:"M768 192H128v448h640zm64-22.976v493.952c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096C65.536 682.432 64 677.248 64 663.04V169.024c0-14.272 1.472-19.456 4.288-24.64a29.056 29.056 0 0 1 12.096-12.16C85.568 129.536 90.752 128 104.96 128h685.952c14.272 0 19.456 1.472 24.64 4.288a29.056 29.056 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64z"}),(0,Hd.createElementVNode)("path",{fill:"currentColor",d:"M448 576a160 160 0 1 1 0-320 160 160 0 0 1 0 320m0-64a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),Ud=Yd,Wd=n("7a23"),$d=n("7a23"),qd=(0,Wd.defineComponent)({name:"Monitor",__name:"monitor",setup(e){return(e,t)=>((0,$d.openBlock)(),(0,$d.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,$d.createElementVNode)("path",{fill:"currentColor",d:"M544 768v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768H192A128 128 0 0 1 64 640V256a128 128 0 0 1 128-128h640a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128zM192 192a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64z"})]))}}),Gd=qd,Xd=n("7a23"),Kd=n("7a23"),Jd=(0,Xd.defineComponent)({name:"MoonNight",__name:"moon-night",setup(e){return(e,t)=>((0,Kd.openBlock)(),(0,Kd.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Kd.createElementVNode)("path",{fill:"currentColor",d:"M384 512a448 448 0 0 1 215.872-383.296A384 384 0 0 0 213.76 640h188.8A448.256 448.256 0 0 1 384 512M171.136 704a448 448 0 0 1 636.992-575.296A384 384 0 0 0 499.328 704h-328.32z"}),(0,Kd.createElementVNode)("path",{fill:"currentColor",d:"M32 640h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m128 128h384a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m160 127.68 224 .256a32 32 0 0 1 32 32V928a32 32 0 0 1-32 32l-224-.384a32 32 0 0 1-32-32v-.064a32 32 0 0 1 32-32z"})]))}}),Zd=Jd,Qd=n("7a23"),ef=n("7a23"),tf=(0,Qd.defineComponent)({name:"Moon",__name:"moon",setup(e){return(e,t)=>((0,ef.openBlock)(),(0,ef.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ef.createElementVNode)("path",{fill:"currentColor",d:"M240.448 240.448a384 384 0 1 0 559.424 525.696 448 448 0 0 1-542.016-542.08 390.592 390.592 0 0 0-17.408 16.384zm181.056 362.048a384 384 0 0 0 525.632 16.384A448 448 0 1 1 405.056 76.8a384 384 0 0 0 16.448 525.696"})]))}}),nf=tf,rf=n("7a23"),af=n("7a23"),of=(0,rf.defineComponent)({name:"MoreFilled",__name:"more-filled",setup(e){return(e,t)=>((0,af.openBlock)(),(0,af.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,af.createElementVNode)("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),sf=of,lf=n("7a23"),cf=n("7a23"),uf=(0,lf.defineComponent)({name:"More",__name:"more",setup(e){return(e,t)=>((0,cf.openBlock)(),(0,cf.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,cf.createElementVNode)("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),df=uf,ff=n("7a23"),hf=n("7a23"),pf=(0,ff.defineComponent)({name:"MostlyCloudy",__name:"mostly-cloudy",setup(e){return(e,t)=>((0,hf.openBlock)(),(0,hf.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,hf.createElementVNode)("path",{fill:"currentColor",d:"M737.216 357.952 704 349.824l-11.776-32a192.064 192.064 0 0 0-367.424 23.04l-8.96 39.04-39.04 8.96A192.064 192.064 0 0 0 320 768h368a207.808 207.808 0 0 0 207.808-208 208.32 208.32 0 0 0-158.592-202.048m15.168-62.208A272.32 272.32 0 0 1 959.744 560a271.808 271.808 0 0 1-271.552 272H320a256 256 0 0 1-57.536-505.536 256.128 256.128 0 0 1 489.92-30.72"})]))}}),mf=pf,vf=n("7a23"),bf=n("7a23"),gf=(0,vf.defineComponent)({name:"Mouse",__name:"mouse",setup(e){return(e,t)=>((0,bf.openBlock)(),(0,bf.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,bf.createElementVNode)("path",{fill:"currentColor",d:"M438.144 256c-68.352 0-92.736 4.672-117.76 18.112-20.096 10.752-35.52 26.176-46.272 46.272C260.672 345.408 256 369.792 256 438.144v275.712c0 68.352 4.672 92.736 18.112 117.76 10.752 20.096 26.176 35.52 46.272 46.272C345.408 891.328 369.792 896 438.144 896h147.712c68.352 0 92.736-4.672 117.76-18.112 20.096-10.752 35.52-26.176 46.272-46.272C763.328 806.592 768 782.208 768 713.856V438.144c0-68.352-4.672-92.736-18.112-117.76a110.464 110.464 0 0 0-46.272-46.272C678.592 260.672 654.208 256 585.856 256zm0-64h147.712c85.568 0 116.608 8.96 147.904 25.6 31.36 16.768 55.872 41.344 72.576 72.64C823.104 321.536 832 352.576 832 438.08v275.84c0 85.504-8.96 116.544-25.6 147.84a174.464 174.464 0 0 1-72.64 72.576C702.464 951.104 671.424 960 585.92 960H438.08c-85.504 0-116.544-8.96-147.84-25.6a174.464 174.464 0 0 1-72.64-72.704c-16.768-31.296-25.664-62.336-25.664-147.84v-275.84c0-85.504 8.96-116.544 25.6-147.84a174.464 174.464 0 0 1 72.768-72.576c31.232-16.704 62.272-25.6 147.776-25.6z"}),(0,bf.createElementVNode)("path",{fill:"currentColor",d:"M512 320q32 0 32 32v128q0 32-32 32t-32-32V352q0-32 32-32m32-96a32 32 0 0 1-64 0v-64a32 32 0 0 0-32-32h-96a32 32 0 0 1 0-64h96a96 96 0 0 1 96 96z"})]))}}),yf=gf,Of=n("7a23"),wf=n("7a23"),_f=(0,Of.defineComponent)({name:"Mug",__name:"mug",setup(e){return(e,t)=>((0,wf.openBlock)(),(0,wf.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,wf.createElementVNode)("path",{fill:"currentColor",d:"M736 800V160H160v640a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64m64-544h63.552a96 96 0 0 1 96 96v224a96 96 0 0 1-96 96H800v128a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V128a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v288h63.552a32 32 0 0 0 32-32V352a32 32 0 0 0-32-32z"})]))}}),jf=_f,kf=n("7a23"),xf=n("7a23"),Sf=(0,kf.defineComponent)({name:"MuteNotification",__name:"mute-notification",setup(e){return(e,t)=>((0,xf.openBlock)(),(0,xf.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,xf.createElementVNode)("path",{fill:"currentColor",d:"m241.216 832 63.616-64H768V448c0-42.368-10.24-82.304-28.48-117.504l46.912-47.232C815.36 331.392 832 387.84 832 448v320h96a32 32 0 1 1 0 64zm-90.24 0H96a32 32 0 1 1 0-64h96V448a320.128 320.128 0 0 1 256-313.6V128a64 64 0 1 1 128 0v6.4a319.552 319.552 0 0 1 171.648 97.088l-45.184 45.44A256 256 0 0 0 256 448v278.336L151.04 832zM448 896h128a64 64 0 0 1-128 0"}),(0,xf.createElementVNode)("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056l-704 708.544z"})]))}}),Cf=Sf,Mf=n("7a23"),Af=n("7a23"),Tf=(0,Mf.defineComponent)({name:"Mute",__name:"mute",setup(e){return(e,t)=>((0,Af.openBlock)(),(0,Af.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Af.createElementVNode)("path",{fill:"currentColor",d:"m412.16 592.128-45.44 45.44A191.232 191.232 0 0 1 320 512V256a192 192 0 1 1 384 0v44.352l-64 64V256a128 128 0 1 0-256 0v256c0 30.336 10.56 58.24 28.16 80.128m51.968 38.592A128 128 0 0 0 640 512v-57.152l64-64V512a192 192 0 0 1-287.68 166.528zM314.88 779.968l46.144-46.08A222.976 222.976 0 0 0 480 768h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64h64v-64c-61.44 0-118.4-19.2-165.12-52.032M266.752 737.6A286.976 286.976 0 0 1 192 544v-32a32 32 0 0 1 64 0v32c0 56.832 21.184 108.8 56.064 148.288z"}),(0,Af.createElementVNode)("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056l-704 708.544z"})]))}}),Ef=Tf,Lf=n("7a23"),Pf=n("7a23"),Df=(0,Lf.defineComponent)({name:"NoSmoking",__name:"no-smoking",setup(e){return(e,t)=>((0,Pf.openBlock)(),(0,Pf.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Pf.createElementVNode)("path",{fill:"currentColor",d:"M440.256 576H256v128h56.256l-64 64H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32h280.256zm143.488 128H704V583.744L775.744 512H928a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H519.744zM768 576v128h128V576zm-29.696-207.552 45.248 45.248-497.856 497.856-45.248-45.248zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),Nf=Df,Rf=n("7a23"),If=n("7a23"),Bf=(0,Rf.defineComponent)({name:"Notebook",__name:"notebook",setup(e){return(e,t)=>((0,If.openBlock)(),(0,If.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,If.createElementVNode)("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),(0,If.createElementVNode)("path",{fill:"currentColor",d:"M672 128h64v768h-64zM96 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32"})]))}}),Ff=Bf,Vf=n("7a23"),zf=n("7a23"),Hf=(0,Vf.defineComponent)({name:"Notification",__name:"notification",setup(e){return(e,t)=>((0,zf.openBlock)(),(0,zf.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,zf.createElementVNode)("path",{fill:"currentColor",d:"M512 128v64H256a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V512h64v256a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V256a128 128 0 0 1 128-128z"}),(0,zf.createElementVNode)("path",{fill:"currentColor",d:"M768 384a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"})]))}}),Yf=Hf,Uf=n("7a23"),Wf=n("7a23"),$f=(0,Uf.defineComponent)({name:"Odometer",__name:"odometer",setup(e){return(e,t)=>((0,Wf.openBlock)(),(0,Wf.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Wf.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),(0,Wf.createElementVNode)("path",{fill:"currentColor",d:"M192 512a320 320 0 1 1 640 0 32 32 0 1 1-64 0 256 256 0 1 0-512 0 32 32 0 0 1-64 0"}),(0,Wf.createElementVNode)("path",{fill:"currentColor",d:"M570.432 627.84A96 96 0 1 1 509.568 608l60.992-187.776A32 32 0 1 1 631.424 440l-60.992 187.776zM502.08 734.464a32 32 0 1 0 19.84-60.928 32 32 0 0 0-19.84 60.928"})]))}}),qf=$f,Gf=n("7a23"),Xf=n("7a23"),Kf=(0,Gf.defineComponent)({name:"OfficeBuilding",__name:"office-building",setup(e){return(e,t)=>((0,Xf.openBlock)(),(0,Xf.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Xf.createElementVNode)("path",{fill:"currentColor",d:"M192 128v704h384V128zm-32-64h448a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),(0,Xf.createElementVNode)("path",{fill:"currentColor",d:"M256 256h256v64H256zm0 192h256v64H256zm0 192h256v64H256zm384-128h128v64H640zm0 128h128v64H640zM64 832h896v64H64z"}),(0,Xf.createElementVNode)("path",{fill:"currentColor",d:"M640 384v448h192V384zm-32-64h256a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H608a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32"})]))}}),Jf=Kf,Zf=n("7a23"),Qf=n("7a23"),eh=(0,Zf.defineComponent)({name:"Open",__name:"open",setup(e){return(e,t)=>((0,Qf.openBlock)(),(0,Qf.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Qf.createElementVNode)("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z"}),(0,Qf.createElementVNode)("path",{fill:"currentColor",d:"M694.044 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),th=eh,nh=n("7a23"),rh=n("7a23"),ah=(0,nh.defineComponent)({name:"Operation",__name:"operation",setup(e){return(e,t)=>((0,rh.openBlock)(),(0,rh.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,rh.createElementVNode)("path",{fill:"currentColor",d:"M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"})]))}}),oh=ah,ih=n("7a23"),sh=n("7a23"),lh=(0,ih.defineComponent)({name:"Opportunity",__name:"opportunity",setup(e){return(e,t)=>((0,sh.openBlock)(),(0,sh.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,sh.createElementVNode)("path",{fill:"currentColor",d:"M384 960v-64h192.064v64zm448-544a350.656 350.656 0 0 1-128.32 271.424C665.344 719.04 640 763.776 640 813.504V832H320v-14.336c0-48-19.392-95.36-57.216-124.992a351.552 351.552 0 0 1-128.448-344.256c25.344-136.448 133.888-248.128 269.76-276.48A352.384 352.384 0 0 1 832 416m-544 32c0-132.288 75.904-224 192-224v-64c-154.432 0-256 122.752-256 288z"})]))}}),ch=lh,uh=n("7a23"),dh=n("7a23"),fh=(0,uh.defineComponent)({name:"Orange",__name:"orange",setup(e){return(e,t)=>((0,dh.openBlock)(),(0,dh.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,dh.createElementVNode)("path",{fill:"currentColor",d:"M544 894.72a382.336 382.336 0 0 0 215.936-89.472L577.024 622.272c-10.24 6.016-21.248 10.688-33.024 13.696v258.688zm261.248-134.784A382.336 382.336 0 0 0 894.656 544H635.968c-3.008 11.776-7.68 22.848-13.696 33.024l182.976 182.912zM894.656 480a382.336 382.336 0 0 0-89.408-215.936L622.272 446.976c6.016 10.24 10.688 21.248 13.696 33.024h258.688zm-134.72-261.248A382.336 382.336 0 0 0 544 129.344v258.688c11.776 3.008 22.848 7.68 33.024 13.696zM480 129.344a382.336 382.336 0 0 0-215.936 89.408l182.912 182.976c10.24-6.016 21.248-10.688 33.024-13.696zm-261.248 134.72A382.336 382.336 0 0 0 129.344 480h258.688c3.008-11.776 7.68-22.848 13.696-33.024zM129.344 544a382.336 382.336 0 0 0 89.408 215.936l182.976-182.912A127.232 127.232 0 0 1 388.032 544zm134.72 261.248A382.336 382.336 0 0 0 480 894.656V635.968a127.232 127.232 0 0 1-33.024-13.696zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-384a64 64 0 1 0 0-128 64 64 0 0 0 0 128"})]))}}),hh=fh,ph=n("7a23"),mh=n("7a23"),vh=(0,ph.defineComponent)({name:"Paperclip",__name:"paperclip",setup(e){return(e,t)=>((0,mh.openBlock)(),(0,mh.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,mh.createElementVNode)("path",{fill:"currentColor",d:"M602.496 240.448A192 192 0 1 1 874.048 512l-316.8 316.8A256 256 0 0 1 195.2 466.752L602.496 59.456l45.248 45.248L240.448 512A192 192 0 0 0 512 783.552l316.8-316.8a128 128 0 1 0-181.056-181.056L353.6 579.904a32 32 0 1 0 45.248 45.248l294.144-294.144 45.312 45.248L444.096 670.4a96 96 0 1 1-135.744-135.744l294.144-294.208z"})]))}}),bh=vh,gh=n("7a23"),yh=n("7a23"),Oh=(0,gh.defineComponent)({name:"PartlyCloudy",__name:"partly-cloudy",setup(e){return(e,t)=>((0,yh.openBlock)(),(0,yh.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,yh.createElementVNode)("path",{fill:"currentColor",d:"M598.4 895.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 895.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 445.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"}),(0,yh.createElementVNode)("path",{fill:"currentColor",d:"M139.84 501.888a256 256 0 1 1 417.856-277.12c-17.728 2.176-38.208 8.448-61.504 18.816A192 192 0 1 0 189.12 460.48a6003.84 6003.84 0 0 0-49.28 41.408z"})]))}}),wh=Oh,_h=n("7a23"),jh=n("7a23"),kh=(0,_h.defineComponent)({name:"Pear",__name:"pear",setup(e){return(e,t)=>((0,jh.openBlock)(),(0,jh.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,jh.createElementVNode)("path",{fill:"currentColor",d:"M542.336 258.816a443.255 443.255 0 0 0-9.024 25.088 32 32 0 1 1-60.8-20.032l1.088-3.328a162.688 162.688 0 0 0-122.048 131.392l-17.088 102.72-20.736 15.36C256.192 552.704 224 610.88 224 672c0 120.576 126.4 224 288 224s288-103.424 288-224c0-61.12-32.192-119.296-89.728-161.92l-20.736-15.424-17.088-102.72a162.688 162.688 0 0 0-130.112-133.12zm-40.128-66.56c7.936-15.552 16.576-30.08 25.92-43.776 23.296-33.92 49.408-59.776 78.528-77.12a32 32 0 1 1 32.704 55.04c-20.544 12.224-40.064 31.552-58.432 58.304a316.608 316.608 0 0 0-9.792 15.104 226.688 226.688 0 0 1 164.48 181.568l12.8 77.248C819.456 511.36 864 587.392 864 672c0 159.04-157.568 288-352 288S160 831.04 160 672c0-84.608 44.608-160.64 115.584-213.376l12.8-77.248a226.624 226.624 0 0 1 213.76-189.184z"})]))}}),xh=kh,Sh=n("7a23"),Ch=n("7a23"),Mh=(0,Sh.defineComponent)({name:"PhoneFilled",__name:"phone-filled",setup(e){return(e,t)=>((0,Ch.openBlock)(),(0,Ch.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ch.createElementVNode)("path",{fill:"currentColor",d:"M199.232 125.568 90.624 379.008a32 32 0 0 0 6.784 35.2l512.384 512.384a32 32 0 0 0 35.2 6.784l253.44-108.608a32 32 0 0 0 10.048-52.032L769.6 633.92a32 32 0 0 0-36.928-5.952l-130.176 65.088-271.488-271.552 65.024-130.176a32 32 0 0 0-5.952-36.928L251.2 115.52a32 32 0 0 0-51.968 10.048z"})]))}}),Ah=Mh,Th=n("7a23"),Eh=n("7a23"),Lh=(0,Th.defineComponent)({name:"Phone",__name:"phone",setup(e){return(e,t)=>((0,Eh.openBlock)(),(0,Eh.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Eh.createElementVNode)("path",{fill:"currentColor",d:"M79.36 432.256 591.744 944.64a32 32 0 0 0 35.2 6.784l253.44-108.544a32 32 0 0 0 9.984-52.032l-153.856-153.92a32 32 0 0 0-36.928-6.016l-69.888 34.944L358.08 394.24l35.008-69.888a32 32 0 0 0-5.952-36.928L233.152 133.568a32 32 0 0 0-52.032 10.048L72.512 397.056a32 32 0 0 0 6.784 35.2zm60.48-29.952 81.536-190.08L325.568 316.48l-24.64 49.216-20.608 41.216 32.576 32.64 271.552 271.552 32.64 32.64 41.216-20.672 49.28-24.576 104.192 104.128-190.08 81.472L139.84 402.304zM512 320v-64a256 256 0 0 1 256 256h-64a192 192 0 0 0-192-192m0-192V64a448 448 0 0 1 448 448h-64a384 384 0 0 0-384-384"})]))}}),Ph=Lh,Dh=n("7a23"),Nh=n("7a23"),Rh=(0,Dh.defineComponent)({name:"PictureFilled",__name:"picture-filled",setup(e){return(e,t)=>((0,Nh.openBlock)(),(0,Nh.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Nh.createElementVNode)("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),Ih=Rh,Bh=n("7a23"),Fh=n("7a23"),Vh=(0,Bh.defineComponent)({name:"PictureRounded",__name:"picture-rounded",setup(e){return(e,t)=>((0,Fh.openBlock)(),(0,Fh.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Fh.createElementVNode)("path",{fill:"currentColor",d:"M512 128a384 384 0 1 0 0 768 384 384 0 0 0 0-768m0-64a448 448 0 1 1 0 896 448 448 0 0 1 0-896"}),(0,Fh.createElementVNode)("path",{fill:"currentColor",d:"M640 288q64 0 64 64t-64 64q-64 0-64-64t64-64M214.656 790.656l-45.312-45.312 185.664-185.6a96 96 0 0 1 123.712-10.24l138.24 98.688a32 32 0 0 0 39.872-2.176L906.688 422.4l42.624 47.744L699.52 693.696a96 96 0 0 1-119.808 6.592l-138.24-98.752a32 32 0 0 0-41.152 3.456l-185.664 185.6z"})]))}}),zh=Vh,Hh=n("7a23"),Yh=n("7a23"),Uh=(0,Hh.defineComponent)({name:"Picture",__name:"picture",setup(e){return(e,t)=>((0,Yh.openBlock)(),(0,Yh.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Yh.createElementVNode)("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),(0,Yh.createElementVNode)("path",{fill:"currentColor",d:"M384 288q64 0 64 64t-64 64q-64 0-64-64t64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z"})]))}}),Wh=Uh,$h=n("7a23"),qh=n("7a23"),Gh=(0,$h.defineComponent)({name:"PieChart",__name:"pie-chart",setup(e){return(e,t)=>((0,qh.openBlock)(),(0,qh.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,qh.createElementVNode)("path",{fill:"currentColor",d:"M448 68.48v64.832A384.128 384.128 0 0 0 512 896a384.128 384.128 0 0 0 378.688-320h64.768A448.128 448.128 0 0 1 64 512 448.128 448.128 0 0 1 448 68.48z"}),(0,qh.createElementVNode)("path",{fill:"currentColor",d:"M576 97.28V448h350.72A384.064 384.064 0 0 0 576 97.28zM512 64V33.152A448 448 0 0 1 990.848 512H512z"})]))}}),Xh=Gh,Kh=n("7a23"),Jh=n("7a23"),Zh=(0,Kh.defineComponent)({name:"Place",__name:"place",setup(e){return(e,t)=>((0,Jh.openBlock)(),(0,Jh.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Jh.createElementVNode)("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"}),(0,Jh.createElementVNode)("path",{fill:"currentColor",d:"M512 512a32 32 0 0 1 32 32v256a32 32 0 1 1-64 0V544a32 32 0 0 1 32-32"}),(0,Jh.createElementVNode)("path",{fill:"currentColor",d:"M384 649.088v64.96C269.76 732.352 192 771.904 192 800c0 37.696 139.904 96 320 96s320-58.304 320-96c0-28.16-77.76-67.648-192-85.952v-64.96C789.12 671.04 896 730.368 896 800c0 88.32-171.904 160-384 160s-384-71.68-384-160c0-69.696 106.88-128.96 256-150.912"})]))}}),Qh=Zh,ep=n("7a23"),tp=n("7a23"),np=(0,ep.defineComponent)({name:"Platform",__name:"platform",setup(e){return(e,t)=>((0,tp.openBlock)(),(0,tp.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,tp.createElementVNode)("path",{fill:"currentColor",d:"M448 832v-64h128v64h192v64H256v-64zM128 704V128h768v576z"})]))}}),rp=np,ap=n("7a23"),op=n("7a23"),ip=(0,ap.defineComponent)({name:"Plus",__name:"plus",setup(e){return(e,t)=>((0,op.openBlock)(),(0,op.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,op.createElementVNode)("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),sp=ip,lp=n("7a23"),cp=n("7a23"),up=(0,lp.defineComponent)({name:"Pointer",__name:"pointer",setup(e){return(e,t)=>((0,cp.openBlock)(),(0,cp.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,cp.createElementVNode)("path",{fill:"currentColor",d:"M511.552 128c-35.584 0-64.384 28.8-64.384 64.448v516.48L274.048 570.88a94.272 94.272 0 0 0-112.896-3.456 44.416 44.416 0 0 0-8.96 62.208L332.8 870.4A64 64 0 0 0 384 896h512V575.232a64 64 0 0 0-45.632-61.312l-205.952-61.76A96 96 0 0 1 576 360.192V192.448C576 156.8 547.2 128 511.552 128M359.04 556.8l24.128 19.2V192.448a128.448 128.448 0 1 1 256.832 0v167.744a32 32 0 0 0 22.784 30.656l206.016 61.76A128 128 0 0 1 960 575.232V896a64 64 0 0 1-64 64H384a128 128 0 0 1-102.4-51.2L101.056 668.032A108.416 108.416 0 0 1 128 512.512a158.272 158.272 0 0 1 185.984 8.32z"})]))}}),dp=up,fp=n("7a23"),hp=n("7a23"),pp=(0,fp.defineComponent)({name:"Position",__name:"position",setup(e){return(e,t)=>((0,hp.openBlock)(),(0,hp.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,hp.createElementVNode)("path",{fill:"currentColor",d:"m249.6 417.088 319.744 43.072 39.168 310.272L845.12 178.88 249.6 417.088zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 775.68a32 32 0 0 1-61.44-7.808L512 516.992l-391.424-52.736z"})]))}}),mp=pp,vp=n("7a23"),bp=n("7a23"),gp=(0,vp.defineComponent)({name:"Postcard",__name:"postcard",setup(e){return(e,t)=>((0,bp.openBlock)(),(0,bp.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,bp.createElementVNode)("path",{fill:"currentColor",d:"M160 224a32 32 0 0 0-32 32v512a32 32 0 0 0 32 32h704a32 32 0 0 0 32-32V256a32 32 0 0 0-32-32zm0-64h704a96 96 0 0 1 96 96v512a96 96 0 0 1-96 96H160a96 96 0 0 1-96-96V256a96 96 0 0 1 96-96"}),(0,bp.createElementVNode)("path",{fill:"currentColor",d:"M704 320a64 64 0 1 1 0 128 64 64 0 0 1 0-128M288 448h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32m0 128h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),yp=gp,Op=n("7a23"),wp=n("7a23"),_p=(0,Op.defineComponent)({name:"Pouring",__name:"pouring",setup(e){return(e,t)=>((0,wp.openBlock)(),(0,wp.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,wp.createElementVNode)("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672zM959.552 480a256 256 0 0 1-256 256h-400A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M224 800a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32"})]))}}),jp=_p,kp=n("7a23"),xp=n("7a23"),Sp=(0,kp.defineComponent)({name:"Present",__name:"present",setup(e){return(e,t)=>((0,xp.openBlock)(),(0,xp.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,xp.createElementVNode)("path",{fill:"currentColor",d:"M480 896V640H192v-64h288V320H192v576zm64 0h288V320H544v256h288v64H544zM128 256h768v672a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),(0,xp.createElementVNode)("path",{fill:"currentColor",d:"M96 256h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32"}),(0,xp.createElementVNode)("path",{fill:"currentColor",d:"M416 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),(0,xp.createElementVNode)("path",{fill:"currentColor",d:"M608 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),Cp=Sp,Mp=n("7a23"),Ap=n("7a23"),Tp=(0,Mp.defineComponent)({name:"PriceTag",__name:"price-tag",setup(e){return(e,t)=>((0,Ap.openBlock)(),(0,Ap.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ap.createElementVNode)("path",{fill:"currentColor",d:"M224 318.336V896h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0z"}),(0,Ap.createElementVNode)("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),Ep=Tp,Lp=n("7a23"),Pp=n("7a23"),Dp=(0,Lp.defineComponent)({name:"Printer",__name:"printer",setup(e){return(e,t)=>((0,Pp.openBlock)(),(0,Pp.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Pp.createElementVNode)("path",{fill:"currentColor",d:"M256 768H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096C65.536 746.432 64 741.248 64 727.04V379.072c0-42.816 4.48-58.304 12.8-73.984 8.384-15.616 20.672-27.904 36.288-36.288 15.68-8.32 31.168-12.8 73.984-12.8H256V64h512v192h68.928c42.816 0 58.304 4.48 73.984 12.8 15.616 8.384 27.904 20.672 36.288 36.288 8.32 15.68 12.8 31.168 12.8 73.984v347.904c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H768v192H256zm64-192v320h384V576zm-64 128V512h512v192h128V379.072c0-29.376-1.408-36.48-5.248-43.776a23.296 23.296 0 0 0-10.048-10.048c-7.232-3.84-14.4-5.248-43.776-5.248H187.072c-29.376 0-36.48 1.408-43.776 5.248a23.296 23.296 0 0 0-10.048 10.048c-3.84 7.232-5.248 14.4-5.248 43.776V704zm64-448h384V128H320zm-64 128h64v64h-64zm128 0h64v64h-64z"})]))}}),Np=Dp,Rp=n("7a23"),Ip=n("7a23"),Bp=(0,Rp.defineComponent)({name:"Promotion",__name:"promotion",setup(e){return(e,t)=>((0,Ip.openBlock)(),(0,Ip.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ip.createElementVNode)("path",{fill:"currentColor",d:"m64 448 832-320-128 704-446.08-243.328L832 192 242.816 545.472zm256 512V657.024L512 768z"})]))}}),Fp=Bp,Vp=n("7a23"),zp=n("7a23"),Hp=(0,Vp.defineComponent)({name:"QuartzWatch",__name:"quartz-watch",setup(e){return(e,t)=>((0,zp.openBlock)(),(0,zp.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[(0,zp.createElementVNode)("path",{fill:"currentColor",d:"M422.02 602.01v-.03c-6.68-5.99-14.35-8.83-23.01-8.51-8.67.32-16.17 3.66-22.5 10.02-6.33 6.36-9.5 13.7-9.5 22.02s3 15.82 8.99 22.5c8.68 8.68 19.02 11.35 31.01 8s19.49-10.85 22.5-22.5c3.01-11.65.51-22.15-7.49-31.49zM384 512c0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.67 8.99-23.01m6.53-82.49c11.65 3.01 22.15.51 31.49-7.49h.04c5.99-6.68 8.83-14.34 8.51-23.01-.32-8.67-3.66-16.16-10.02-22.5-6.36-6.33-13.7-9.5-22.02-9.5s-15.82 3-22.5 8.99c-8.68 8.69-11.35 19.02-8 31.01 3.35 11.99 10.85 19.49 22.5 22.5zm242.94 0c11.67-3.03 19.01-10.37 22.02-22.02 3.01-11.65.51-22.15-7.49-31.49h.01c-6.68-5.99-14.18-8.99-22.5-8.99s-15.66 3.16-22.02 9.5c-6.36 6.34-9.7 13.84-10.02 22.5-.32 8.66 2.52 16.33 8.51 23.01 9.32 8.02 19.82 10.52 31.49 7.49M512 640c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01s-3-17.02-8.99-23.01c-6-5.99-13.66-8.99-23.01-8.99m183.01-151.01c-6-5.99-13.66-8.99-23.01-8.99s-17.02 3-23.01 8.99c-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99s17.02-3 23.01-8.99c5.99-6 8.99-13.67 8.99-23.01 0-9.35-3-17.02-8.99-23.01"}),(0,zp.createElementVNode)("path",{fill:"currentColor",d:"M832 512c-2-90.67-33.17-166.17-93.5-226.5-20.43-20.42-42.6-37.49-66.5-51.23V64H352v170.26c-23.9 13.74-46.07 30.81-66.5 51.24-60.33 60.33-91.49 135.83-93.5 226.5 2 90.67 33.17 166.17 93.5 226.5 20.43 20.43 42.6 37.5 66.5 51.24V960h320V789.74c23.9-13.74 46.07-30.81 66.5-51.24 60.33-60.34 91.49-135.83 93.5-226.5M416 128h192v78.69c-29.85-9.03-61.85-13.93-96-14.69-34.15.75-66.15 5.65-96 14.68zm192 768H416v-78.68c29.85 9.03 61.85 13.93 96 14.68 34.15-.75 66.15-5.65 96-14.68zm-96-128c-72.66-2.01-132.99-27.01-180.99-75.01S258.01 584.66 256 512c2.01-72.66 27.01-132.99 75.01-180.99S439.34 258.01 512 256c72.66 2.01 132.99 27.01 180.99 75.01S765.99 439.34 768 512c-2.01 72.66-27.01 132.99-75.01 180.99S584.66 765.99 512 768"}),(0,zp.createElementVNode)("path",{fill:"currentColor",d:"M512 320c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01 0 9.35 3 17.02 8.99 23.01 6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01 0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99m112.99 273.5c-8.66-.32-16.33 2.52-23.01 8.51-7.98 9.32-10.48 19.82-7.49 31.49s10.49 19.17 22.5 22.5 22.35.66 31.01-8v.04c5.99-6.68 8.99-14.18 8.99-22.5s-3.16-15.66-9.5-22.02-13.84-9.7-22.5-10.02"})]))}}),Yp=Hp,Up=n("7a23"),Wp=n("7a23"),$p=(0,Up.defineComponent)({name:"QuestionFilled",__name:"question-filled",setup(e){return(e,t)=>((0,Wp.openBlock)(),(0,Wp.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Wp.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"})]))}}),qp=$p,Gp=n("7a23"),Xp=n("7a23"),Kp=(0,Gp.defineComponent)({name:"Rank",__name:"rank",setup(e){return(e,t)=>((0,Xp.openBlock)(),(0,Xp.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Xp.createElementVNode)("path",{fill:"currentColor",d:"m186.496 544 41.408 41.344a32 32 0 1 1-45.248 45.312l-96-96a32 32 0 0 1 0-45.312l96-96a32 32 0 1 1 45.248 45.312L186.496 480h290.816V186.432l-41.472 41.472a32 32 0 1 1-45.248-45.184l96-96.128a32 32 0 0 1 45.312 0l96 96.064a32 32 0 0 1-45.248 45.184l-41.344-41.28V480H832l-41.344-41.344a32 32 0 0 1 45.248-45.312l96 96a32 32 0 0 1 0 45.312l-96 96a32 32 0 0 1-45.248-45.312L832 544H541.312v293.44l41.344-41.28a32 32 0 1 1 45.248 45.248l-96 96a32 32 0 0 1-45.312 0l-96-96a32 32 0 1 1 45.312-45.248l41.408 41.408V544H186.496z"})]))}}),Jp=Kp,Zp=n("7a23"),Qp=n("7a23"),em=(0,Zp.defineComponent)({name:"ReadingLamp",__name:"reading-lamp",setup(e){return(e,t)=>((0,Qp.openBlock)(),(0,Qp.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Qp.createElementVNode)("path",{fill:"currentColor",d:"M352 896h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m-44.672-768-99.52 448h608.384l-99.52-448zm-25.6-64h460.608a32 32 0 0 1 31.232 25.088l113.792 512A32 32 0 0 1 856.128 640H167.872a32 32 0 0 1-31.232-38.912l113.792-512A32 32 0 0 1 281.664 64z"}),(0,Qp.createElementVNode)("path",{fill:"currentColor",d:"M672 576q32 0 32 32v128q0 32-32 32t-32-32V608q0-32 32-32m-192-.064h64V960h-64z"})]))}}),tm=em,nm=n("7a23"),rm=n("7a23"),am=(0,nm.defineComponent)({name:"Reading",__name:"reading",setup(e){return(e,t)=>((0,rm.openBlock)(),(0,rm.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,rm.createElementVNode)("path",{fill:"currentColor",d:"m512 863.36 384-54.848v-638.72L525.568 222.72a96 96 0 0 1-27.136 0L128 169.792v638.72zM137.024 106.432l370.432 52.928a32 32 0 0 0 9.088 0l370.432-52.928A64 64 0 0 1 960 169.792v638.72a64 64 0 0 1-54.976 63.36l-388.48 55.488a32 32 0 0 1-9.088 0l-388.48-55.488A64 64 0 0 1 64 808.512v-638.72a64 64 0 0 1 73.024-63.36z"}),(0,rm.createElementVNode)("path",{fill:"currentColor",d:"M480 192h64v704h-64z"})]))}}),om=am,im=n("7a23"),sm=n("7a23"),lm=(0,im.defineComponent)({name:"RefreshLeft",__name:"refresh-left",setup(e){return(e,t)=>((0,sm.openBlock)(),(0,sm.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,sm.createElementVNode)("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),cm=lm,um=n("7a23"),dm=n("7a23"),fm=(0,um.defineComponent)({name:"RefreshRight",__name:"refresh-right",setup(e){return(e,t)=>((0,dm.openBlock)(),(0,dm.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,dm.createElementVNode)("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"})]))}}),hm=fm,pm=n("7a23"),mm=n("7a23"),vm=(0,pm.defineComponent)({name:"Refresh",__name:"refresh",setup(e){return(e,t)=>((0,mm.openBlock)(),(0,mm.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,mm.createElementVNode)("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),bm=vm,gm=n("7a23"),ym=n("7a23"),Om=(0,gm.defineComponent)({name:"Refrigerator",__name:"refrigerator",setup(e){return(e,t)=>((0,ym.openBlock)(),(0,ym.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ym.createElementVNode)("path",{fill:"currentColor",d:"M256 448h512V160a32 32 0 0 0-32-32H288a32 32 0 0 0-32 32zm0 64v352a32 32 0 0 0 32 32h448a32 32 0 0 0 32-32V512zm32-448h448a96 96 0 0 1 96 96v704a96 96 0 0 1-96 96H288a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96m32 224h64v96h-64zm0 288h64v96h-64z"})]))}}),wm=Om,_m=n("7a23"),jm=n("7a23"),km=(0,_m.defineComponent)({name:"RemoveFilled",__name:"remove-filled",setup(e){return(e,t)=>((0,jm.openBlock)(),(0,jm.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,jm.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896M288 512a38.4 38.4 0 0 0 38.4 38.4h371.2a38.4 38.4 0 0 0 0-76.8H326.4A38.4 38.4 0 0 0 288 512"})]))}}),xm=km,Sm=n("7a23"),Cm=n("7a23"),Mm=(0,Sm.defineComponent)({name:"Remove",__name:"remove",setup(e){return(e,t)=>((0,Cm.openBlock)(),(0,Cm.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Cm.createElementVNode)("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),(0,Cm.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),Am=Mm,Tm=n("7a23"),Em=n("7a23"),Lm=(0,Tm.defineComponent)({name:"Right",__name:"right",setup(e){return(e,t)=>((0,Em.openBlock)(),(0,Em.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Em.createElementVNode)("path",{fill:"currentColor",d:"M754.752 480H160a32 32 0 1 0 0 64h594.752L521.344 777.344a32 32 0 0 0 45.312 45.312l288-288a32 32 0 0 0 0-45.312l-288-288a32 32 0 1 0-45.312 45.312z"})]))}}),Pm=Lm,Dm=n("7a23"),Nm=n("7a23"),Rm=(0,Dm.defineComponent)({name:"ScaleToOriginal",__name:"scale-to-original",setup(e){return(e,t)=>((0,Nm.openBlock)(),(0,Nm.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Nm.createElementVNode)("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118M512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412M512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512"})]))}}),Im=Rm,Bm=n("7a23"),Fm=n("7a23"),Vm=(0,Bm.defineComponent)({name:"School",__name:"school",setup(e){return(e,t)=>((0,Fm.openBlock)(),(0,Fm.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Fm.createElementVNode)("path",{fill:"currentColor",d:"M224 128v704h576V128zm-32-64h640a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),(0,Fm.createElementVNode)("path",{fill:"currentColor",d:"M64 832h896v64H64zm256-640h128v96H320z"}),(0,Fm.createElementVNode)("path",{fill:"currentColor",d:"M384 832h256v-64a128 128 0 1 0-256 0zm128-256a192 192 0 0 1 192 192v128H320V768a192 192 0 0 1 192-192M320 384h128v96H320zm256-192h128v96H576zm0 192h128v96H576z"})]))}}),zm=Vm,Hm=n("7a23"),Ym=n("7a23"),Um=(0,Hm.defineComponent)({name:"Scissor",__name:"scissor",setup(e){return(e,t)=>((0,Ym.openBlock)(),(0,Ym.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ym.createElementVNode)("path",{fill:"currentColor",d:"m512.064 578.368-106.88 152.768a160 160 0 1 1-23.36-78.208L472.96 522.56 196.864 128.256a32 32 0 1 1 52.48-36.736l393.024 561.344a160 160 0 1 1-23.36 78.208l-106.88-152.704zm54.4-189.248 208.384-297.6a32 32 0 0 1 52.48 36.736l-221.76 316.672-39.04-55.808zm-376.32 425.856a96 96 0 1 0 110.144-157.248 96 96 0 0 0-110.08 157.248zm643.84 0a96 96 0 1 0-110.08-157.248 96 96 0 0 0 110.08 157.248"})]))}}),Wm=Um,$m=n("7a23"),qm=n("7a23"),Gm=(0,$m.defineComponent)({name:"Search",__name:"search",setup(e){return(e,t)=>((0,qm.openBlock)(),(0,qm.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,qm.createElementVNode)("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),Xm=Gm,Km=n("7a23"),Jm=n("7a23"),Zm=(0,Km.defineComponent)({name:"Select",__name:"select",setup(e){return(e,t)=>((0,Jm.openBlock)(),(0,Jm.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Jm.createElementVNode)("path",{fill:"currentColor",d:"M77.248 415.04a64 64 0 0 1 90.496 0l226.304 226.304L846.528 188.8a64 64 0 1 1 90.56 90.496l-543.04 543.04-316.8-316.8a64 64 0 0 1 0-90.496z"})]))}}),Qm=Zm,ev=n("7a23"),tv=n("7a23"),nv=(0,ev.defineComponent)({name:"Sell",__name:"sell",setup(e){return(e,t)=>((0,tv.openBlock)(),(0,tv.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,tv.createElementVNode)("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4h256zm201.408 483.84L768 698.496V928a32 32 0 1 1-64 0V698.496l-73.344 73.344a32 32 0 1 1-45.248-45.248l128-128a32 32 0 0 1 45.248 0l128 128a32 32 0 1 1-45.248 45.248z"})]))}}),rv=nv,av=n("7a23"),ov=n("7a23"),iv=(0,av.defineComponent)({name:"SemiSelect",__name:"semi-select",setup(e){return(e,t)=>((0,ov.openBlock)(),(0,ov.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ov.createElementVNode)("path",{fill:"currentColor",d:"M128 448h768q64 0 64 64t-64 64H128q-64 0-64-64t64-64"})]))}}),sv=iv,lv=n("7a23"),cv=n("7a23"),uv=(0,lv.defineComponent)({name:"Service",__name:"service",setup(e){return(e,t)=>((0,cv.openBlock)(),(0,cv.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,cv.createElementVNode)("path",{fill:"currentColor",d:"M864 409.6a192 192 0 0 1-37.888 349.44A256.064 256.064 0 0 1 576 960h-96a32 32 0 1 1 0-64h96a192.064 192.064 0 0 0 181.12-128H736a32 32 0 0 1-32-32V416a32 32 0 0 1 32-32h32c10.368 0 20.544.832 30.528 2.432a288 288 0 0 0-573.056 0A193.235 193.235 0 0 1 256 384h32a32 32 0 0 1 32 32v320a32 32 0 0 1-32 32h-32a192 192 0 0 1-96-358.4 352 352 0 0 1 704 0M256 448a128 128 0 1 0 0 256zm640 128a128 128 0 0 0-128-128v256a128 128 0 0 0 128-128"})]))}}),dv=uv,fv=n("7a23"),hv=n("7a23"),pv=(0,fv.defineComponent)({name:"SetUp",__name:"set-up",setup(e){return(e,t)=>((0,hv.openBlock)(),(0,hv.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,hv.createElementVNode)("path",{fill:"currentColor",d:"M224 160a64 64 0 0 0-64 64v576a64 64 0 0 0 64 64h576a64 64 0 0 0 64-64V224a64 64 0 0 0-64-64zm0-64h576a128 128 0 0 1 128 128v576a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V224A128 128 0 0 1 224 96"}),(0,hv.createElementVNode)("path",{fill:"currentColor",d:"M384 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),(0,hv.createElementVNode)("path",{fill:"currentColor",d:"M480 320h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32m160 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),(0,hv.createElementVNode)("path",{fill:"currentColor",d:"M288 640h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),mv=pv,vv=n("7a23"),bv=n("7a23"),gv=(0,vv.defineComponent)({name:"Setting",__name:"setting",setup(e){return(e,t)=>((0,bv.openBlock)(),(0,bv.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,bv.createElementVNode)("path",{fill:"currentColor",d:"M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357.12 357.12 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a351.616 351.616 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357.12 357.12 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088-24.512 11.968a294.113 294.113 0 0 0-34.816 20.096l-22.656 15.36-116.224-25.088-65.28 113.152 79.68 88.192-1.92 27.136a293.12 293.12 0 0 0 0 40.192l1.92 27.136-79.808 88.192 65.344 113.152 116.224-25.024 22.656 15.296a294.113 294.113 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152 24.448-11.904a288.282 288.282 0 0 0 34.752-20.096l22.592-15.296 116.288 25.024 65.28-113.152-79.744-88.192 1.92-27.136a293.12 293.12 0 0 0 0-40.256l-1.92-27.136 79.808-88.128-65.344-113.152-116.288 24.96-22.592-15.232a287.616 287.616 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256"})]))}}),yv=gv,Ov=n("7a23"),wv=n("7a23"),_v=(0,Ov.defineComponent)({name:"Share",__name:"share",setup(e){return(e,t)=>((0,wv.openBlock)(),(0,wv.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,wv.createElementVNode)("path",{fill:"currentColor",d:"m679.872 348.8-301.76 188.608a127.808 127.808 0 0 1 5.12 52.16l279.936 104.96a128 128 0 1 1-22.464 59.904l-279.872-104.96a128 128 0 1 1-16.64-166.272l301.696-188.608a128 128 0 1 1 33.92 54.272z"})]))}}),jv=_v,kv=n("7a23"),xv=n("7a23"),Sv=(0,kv.defineComponent)({name:"Ship",__name:"ship",setup(e){return(e,t)=>((0,xv.openBlock)(),(0,xv.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,xv.createElementVNode)("path",{fill:"currentColor",d:"M512 386.88V448h405.568a32 32 0 0 1 30.72 40.768l-76.48 267.968A192 192 0 0 1 687.168 896H336.832a192 192 0 0 1-184.64-139.264L75.648 488.768A32 32 0 0 1 106.368 448H448V117.888a32 32 0 0 1 47.36-28.096l13.888 7.616L512 96v2.88l231.68 126.4a32 32 0 0 1-2.048 57.216zm0-70.272 144.768-65.792L512 171.84zM512 512H148.864l18.24 64H856.96l18.24-64zM185.408 640l28.352 99.2A128 128 0 0 0 336.832 832h350.336a128 128 0 0 0 123.072-92.8l28.352-99.2H185.408"})]))}}),Cv=Sv,Mv=n("7a23"),Av=n("7a23"),Tv=(0,Mv.defineComponent)({name:"Shop",__name:"shop",setup(e){return(e,t)=>((0,Av.openBlock)(),(0,Av.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Av.createElementVNode)("path",{fill:"currentColor",d:"M704 704h64v192H256V704h64v64h384zm188.544-152.192C894.528 559.616 896 567.616 896 576a96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0c0-8.384 1.408-16.384 3.392-24.192L192 128h640z"})]))}}),Ev=Tv,Lv=n("7a23"),Pv=n("7a23"),Dv=(0,Lv.defineComponent)({name:"ShoppingBag",__name:"shopping-bag",setup(e){return(e,t)=>((0,Pv.openBlock)(),(0,Pv.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Pv.createElementVNode)("path",{fill:"currentColor",d:"M704 320v96a32 32 0 0 1-32 32h-32V320H384v128h-32a32 32 0 0 1-32-32v-96H192v576h640V320zm-384-64a192 192 0 1 1 384 0h160a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32zm64 0h256a128 128 0 1 0-256 0"}),(0,Pv.createElementVNode)("path",{fill:"currentColor",d:"M192 704h640v64H192z"})]))}}),Nv=Dv,Rv=n("7a23"),Iv=n("7a23"),Bv=(0,Rv.defineComponent)({name:"ShoppingCartFull",__name:"shopping-cart-full",setup(e){return(e,t)=>((0,Iv.openBlock)(),(0,Iv.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Iv.createElementVNode)("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44l76.8 384z"}),(0,Iv.createElementVNode)("path",{fill:"currentColor",d:"M699.648 256 608 145.984 516.352 256h183.296zm-140.8-151.04a64 64 0 0 1 98.304 0L836.352 320H379.648l179.2-215.04"})]))}}),Fv=Bv,Vv=n("7a23"),zv=n("7a23"),Hv=(0,Vv.defineComponent)({name:"ShoppingCart",__name:"shopping-cart",setup(e){return(e,t)=>((0,zv.openBlock)(),(0,zv.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,zv.createElementVNode)("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44l76.8 384z"})]))}}),Yv=Hv,Uv=n("7a23"),Wv=n("7a23"),$v=(0,Uv.defineComponent)({name:"ShoppingTrolley",__name:"shopping-trolley",setup(e){return(e,t)=>((0,Wv.openBlock)(),(0,Wv.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[(0,Wv.createElementVNode)("path",{fill:"currentColor",d:"M368 833c-13.3 0-24.5 4.5-33.5 13.5S321 866.7 321 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S415 893.3 415 880s-4.5-24.5-13.5-33.5S381.3 833 368 833m439-193c7.4 0 13.8-2.2 19.5-6.5S836 623.3 838 616l112-448c2-10-.2-19.2-6.5-27.5S929 128 919 128H96c-9.3 0-17 3-23 9s-9 13.7-9 23 3 17 9 23 13.7 9 23 9h96v576h672c9.3 0 17-3 23-9s9-13.7 9-23-3-17-9-23-13.7-9-23-9H256v-64zM256 192h622l-96 384H256zm432 641c-13.3 0-24.5 4.5-33.5 13.5S641 866.7 641 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S735 893.3 735 880s-4.5-24.5-13.5-33.5S701.3 833 688 833"})]))}}),qv=$v,Gv=n("7a23"),Xv=n("7a23"),Kv=(0,Gv.defineComponent)({name:"Smoking",__name:"smoking",setup(e){return(e,t)=>((0,Xv.openBlock)(),(0,Xv.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Xv.createElementVNode)("path",{fill:"currentColor",d:"M256 576v128h640V576zm-32-64h704a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32"}),(0,Xv.createElementVNode)("path",{fill:"currentColor",d:"M704 576h64v128h-64zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),Jv=Kv,Zv=n("7a23"),Qv=n("7a23"),eb=(0,Zv.defineComponent)({name:"Soccer",__name:"soccer",setup(e){return(e,t)=>((0,Qv.openBlock)(),(0,Qv.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Qv.createElementVNode)("path",{fill:"currentColor",d:"M418.496 871.04 152.256 604.8c-16.512 94.016-2.368 178.624 42.944 224 44.928 44.928 129.344 58.752 223.296 42.24m72.32-18.176a573.056 573.056 0 0 0 224.832-137.216 573.12 573.12 0 0 0 137.216-224.832L533.888 171.84a578.56 578.56 0 0 0-227.52 138.496A567.68 567.68 0 0 0 170.432 532.48l320.384 320.384zM871.04 418.496c16.512-93.952 2.688-178.368-42.24-223.296-44.544-44.544-128.704-58.048-222.592-41.536zM149.952 874.048c-112.96-112.96-88.832-408.96 111.168-608.96C461.056 65.152 760.96 36.928 874.048 149.952c113.024 113.024 86.784 411.008-113.152 610.944-199.936 199.936-497.92 226.112-610.944 113.152m452.544-497.792 22.656-22.656a32 32 0 0 1 45.248 45.248l-22.656 22.656 45.248 45.248A32 32 0 1 1 647.744 512l-45.248-45.248L557.248 512l45.248 45.248a32 32 0 1 1-45.248 45.248L512 557.248l-45.248 45.248L512 647.744a32 32 0 1 1-45.248 45.248l-45.248-45.248-22.656 22.656a32 32 0 1 1-45.248-45.248l22.656-22.656-45.248-45.248A32 32 0 1 1 376.256 512l45.248 45.248L466.752 512l-45.248-45.248a32 32 0 1 1 45.248-45.248L512 466.752l45.248-45.248L512 376.256a32 32 0 0 1 45.248-45.248l45.248 45.248z"})]))}}),tb=eb,nb=n("7a23"),rb=n("7a23"),ab=(0,nb.defineComponent)({name:"SoldOut",__name:"sold-out",setup(e){return(e,t)=>((0,rb.openBlock)(),(0,rb.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,rb.createElementVNode)("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4h256zm201.408 476.16a32 32 0 1 1 45.248 45.184l-128 128a32 32 0 0 1-45.248 0l-128-128a32 32 0 1 1 45.248-45.248L704 837.504V608a32 32 0 1 1 64 0v229.504l73.408-73.408z"})]))}}),ob=ab,ib=n("7a23"),sb=n("7a23"),lb=(0,ib.defineComponent)({name:"SortDown",__name:"sort-down",setup(e){return(e,t)=>((0,sb.openBlock)(),(0,sb.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,sb.createElementVNode)("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),cb=lb,ub=n("7a23"),db=n("7a23"),fb=(0,ub.defineComponent)({name:"SortUp",__name:"sort-up",setup(e){return(e,t)=>((0,db.openBlock)(),(0,db.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,db.createElementVNode)("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),hb=fb,pb=n("7a23"),mb=n("7a23"),vb=(0,pb.defineComponent)({name:"Sort",__name:"sort",setup(e){return(e,t)=>((0,mb.openBlock)(),(0,mb.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,mb.createElementVNode)("path",{fill:"currentColor",d:"M384 96a32 32 0 0 1 64 0v786.752a32 32 0 0 1-54.592 22.656L95.936 608a32 32 0 0 1 0-45.312h.128a32 32 0 0 1 45.184 0L384 805.632zm192 45.248a32 32 0 0 1 54.592-22.592L928.064 416a32 32 0 0 1 0 45.312h-.128a32 32 0 0 1-45.184 0L640 218.496V928a32 32 0 1 1-64 0V141.248z"})]))}}),bb=vb,gb=n("7a23"),yb=n("7a23"),Ob=(0,gb.defineComponent)({name:"Stamp",__name:"stamp",setup(e){return(e,t)=>((0,yb.openBlock)(),(0,yb.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,yb.createElementVNode)("path",{fill:"currentColor",d:"M624 475.968V640h144a128 128 0 0 1 128 128H128a128 128 0 0 1 128-128h144V475.968a192 192 0 1 1 224 0M128 896v-64h768v64z"})]))}}),wb=Ob,_b=n("7a23"),jb=n("7a23"),kb=(0,_b.defineComponent)({name:"StarFilled",__name:"star-filled",setup(e){return(e,t)=>((0,jb.openBlock)(),(0,jb.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,jb.createElementVNode)("path",{fill:"currentColor",d:"M283.84 867.84 512 747.776l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72z"})]))}}),xb=kb,Sb=n("7a23"),Cb=n("7a23"),Mb=(0,Sb.defineComponent)({name:"Star",__name:"star",setup(e){return(e,t)=>((0,Cb.openBlock)(),(0,Cb.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Cb.createElementVNode)("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),Ab=Mb,Tb=n("7a23"),Eb=n("7a23"),Lb=(0,Tb.defineComponent)({name:"Stopwatch",__name:"stopwatch",setup(e){return(e,t)=>((0,Eb.openBlock)(),(0,Eb.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Eb.createElementVNode)("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),(0,Eb.createElementVNode)("path",{fill:"currentColor",d:"M672 234.88c-39.168 174.464-80 298.624-122.688 372.48-64 110.848-202.624 30.848-138.624-80C453.376 453.44 540.48 355.968 672 234.816z"})]))}}),Pb=Lb,Db=n("7a23"),Nb=n("7a23"),Rb=(0,Db.defineComponent)({name:"SuccessFilled",__name:"success-filled",setup(e){return(e,t)=>((0,Nb.openBlock)(),(0,Nb.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Nb.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),Ib=Rb,Bb=n("7a23"),Fb=n("7a23"),Vb=(0,Bb.defineComponent)({name:"Sugar",__name:"sugar",setup(e){return(e,t)=>((0,Fb.openBlock)(),(0,Fb.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Fb.createElementVNode)("path",{fill:"currentColor",d:"m801.728 349.184 4.48 4.48a128 128 0 0 1 0 180.992L534.656 806.144a128 128 0 0 1-181.056 0l-4.48-4.48-19.392 109.696a64 64 0 0 1-108.288 34.176L78.464 802.56a64 64 0 0 1 34.176-108.288l109.76-19.328-4.544-4.544a128 128 0 0 1 0-181.056l271.488-271.488a128 128 0 0 1 181.056 0l4.48 4.48 19.392-109.504a64 64 0 0 1 108.352-34.048l142.592 143.04a64 64 0 0 1-34.24 108.16l-109.248 19.2zm-548.8 198.72h447.168v2.24l60.8-60.8a63.808 63.808 0 0 0 18.752-44.416h-426.88l-89.664 89.728a64.064 64.064 0 0 0-10.24 13.248zm0 64c2.752 4.736 6.144 9.152 10.176 13.248l135.744 135.744a64 64 0 0 0 90.496 0L638.4 611.904zm490.048-230.976L625.152 263.104a64 64 0 0 0-90.496 0L416.768 380.928zM123.712 757.312l142.976 142.976 24.32-137.6a25.6 25.6 0 0 0-29.696-29.632l-137.6 24.256zm633.6-633.344-24.32 137.472a25.6 25.6 0 0 0 29.632 29.632l137.28-24.064-142.656-143.04z"})]))}}),zb=Vb,Hb=n("7a23"),Yb=n("7a23"),Ub=(0,Hb.defineComponent)({name:"SuitcaseLine",__name:"suitcase-line",setup(e){return(e,t)=>((0,Yb.openBlock)(),(0,Yb.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[(0,Yb.createElementVNode)("path",{fill:"currentColor",d:"M922.5 229.5c-24.32-24.34-54.49-36.84-90.5-37.5H704v-64c-.68-17.98-7.02-32.98-19.01-44.99S658.01 64.66 640 64H384c-17.98.68-32.98 7.02-44.99 19.01S320.66 110 320 128v64H192c-35.99.68-66.16 13.18-90.5 37.5C77.16 253.82 64.66 283.99 64 320v448c.68 35.99 13.18 66.16 37.5 90.5s54.49 36.84 90.5 37.5h640c35.99-.68 66.16-13.18 90.5-37.5s36.84-54.49 37.5-90.5V320c-.68-35.99-13.18-66.16-37.5-90.5M384 128h256v64H384zM256 832h-64c-17.98-.68-32.98-7.02-44.99-19.01S128.66 786.01 128 768V448h128zm448 0H320V448h384zm192-64c-.68 17.98-7.02 32.98-19.01 44.99S850.01 831.34 832 832h-64V448h128zm0-384H128v-64c.69-17.98 7.02-32.98 19.01-44.99S173.99 256.66 192 256h640c17.98.69 32.98 7.02 44.99 19.01S895.34 301.99 896 320z"})]))}}),Wb=Ub,$b=n("7a23"),qb=n("7a23"),Gb=(0,$b.defineComponent)({name:"Suitcase",__name:"suitcase",setup(e){return(e,t)=>((0,qb.openBlock)(),(0,qb.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,qb.createElementVNode)("path",{fill:"currentColor",d:"M128 384h768v-64a64 64 0 0 0-64-64H192a64 64 0 0 0-64 64zm0 64v320a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V448zm64-256h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),(0,qb.createElementVNode)("path",{fill:"currentColor",d:"M384 128v64h256v-64zm0-64h256a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64H384a64 64 0 0 1-64-64v-64a64 64 0 0 1 64-64"})]))}}),Xb=Gb,Kb=n("7a23"),Jb=n("7a23"),Zb=(0,Kb.defineComponent)({name:"Sunny",__name:"sunny",setup(e){return(e,t)=>((0,Jb.openBlock)(),(0,Jb.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Jb.createElementVNode)("path",{fill:"currentColor",d:"M512 704a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32M195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248M64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32m768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32M195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0zm543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0"})]))}}),Qb=Zb,eg=n("7a23"),tg=n("7a23"),ng=(0,eg.defineComponent)({name:"Sunrise",__name:"sunrise",setup(e){return(e,t)=>((0,tg.openBlock)(),(0,tg.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,tg.createElementVNode)("path",{fill:"currentColor",d:"M32 768h960a32 32 0 1 1 0 64H32a32 32 0 1 1 0-64m129.408-96a352 352 0 0 1 701.184 0h-64.32a288 288 0 0 0-572.544 0h-64.32zM512 128a32 32 0 0 1 32 32v96a32 32 0 0 1-64 0v-96a32 32 0 0 1 32-32m407.296 168.704a32 32 0 0 1 0 45.248l-67.84 67.84a32 32 0 1 1-45.248-45.248l67.84-67.84a32 32 0 0 1 45.248 0zm-814.592 0a32 32 0 0 1 45.248 0l67.84 67.84a32 32 0 1 1-45.248 45.248l-67.84-67.84a32 32 0 0 1 0-45.248"})]))}}),rg=ng,ag=n("7a23"),og=n("7a23"),ig=(0,ag.defineComponent)({name:"Sunset",__name:"sunset",setup(e){return(e,t)=>((0,og.openBlock)(),(0,og.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,og.createElementVNode)("path",{fill:"currentColor",d:"M82.56 640a448 448 0 1 1 858.88 0h-67.2a384 384 0 1 0-724.288 0zM32 704h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m256 128h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),sg=ig,lg=n("7a23"),cg=n("7a23"),ug=(0,lg.defineComponent)({name:"SwitchButton",__name:"switch-button",setup(e){return(e,t)=>((0,cg.openBlock)(),(0,cg.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,cg.createElementVNode)("path",{fill:"currentColor",d:"M352 159.872V230.4a352 352 0 1 0 320 0v-70.528A416.128 416.128 0 0 1 512 960a416 416 0 0 1-160-800.128z"}),(0,cg.createElementVNode)("path",{fill:"currentColor",d:"M512 64q32 0 32 32v320q0 32-32 32t-32-32V96q0-32 32-32"})]))}}),dg=ug,fg=n("7a23"),hg=n("7a23"),pg=(0,fg.defineComponent)({name:"SwitchFilled",__name:"switch-filled",setup(e){return(e,t)=>((0,hg.openBlock)(),(0,hg.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[(0,hg.createElementVNode)("path",{fill:"currentColor",d:"M247.47 358.4v.04c.07 19.17 7.72 37.53 21.27 51.09s31.92 21.2 51.09 21.27c39.86 0 72.41-32.6 72.41-72.4s-32.6-72.36-72.41-72.36-72.36 32.55-72.36 72.36z"}),(0,hg.createElementVNode)("path",{fill:"currentColor",d:"M492.38 128H324.7c-52.16 0-102.19 20.73-139.08 57.61a196.655 196.655 0 0 0-57.61 139.08V698.7c-.01 25.84 5.08 51.42 14.96 75.29s24.36 45.56 42.63 63.83 39.95 32.76 63.82 42.65a196.67 196.67 0 0 0 75.28 14.98h167.68c3.03 0 5.46-2.43 5.46-5.42V133.42c.6-2.99-1.83-5.42-5.46-5.42zm-56.11 705.88H324.7c-17.76.13-35.36-3.33-51.75-10.18s-31.22-16.94-43.61-29.67c-25.3-25.35-39.81-59.1-39.81-95.32V324.69c-.13-17.75 3.33-35.35 10.17-51.74a131.695 131.695 0 0 1 29.64-43.62c25.39-25.3 59.14-39.81 95.36-39.81h111.57zm402.12-647.67a196.655 196.655 0 0 0-139.08-57.61H580.48c-3.03 0-4.82 2.43-4.82 4.82v757.16c-.6 2.99 1.79 5.42 5.42 5.42h118.23a196.69 196.69 0 0 0 139.08-57.61A196.655 196.655 0 0 0 896 699.31V325.29a196.69 196.69 0 0 0-57.61-139.08zm-111.3 441.92c-42.83 0-77.82-34.99-77.82-77.82s34.98-77.82 77.82-77.82c42.83 0 77.82 34.99 77.82 77.82s-34.99 77.82-77.82 77.82z"})]))}}),mg=pg,vg=n("7a23"),bg=n("7a23"),gg=(0,vg.defineComponent)({name:"Switch",__name:"switch",setup(e){return(e,t)=>((0,bg.openBlock)(),(0,bg.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,bg.createElementVNode)("path",{fill:"currentColor",d:"M118.656 438.656a32 32 0 0 1 0-45.248L416 96l4.48-3.776A32 32 0 0 1 461.248 96l3.712 4.48a32.064 32.064 0 0 1-3.712 40.832L218.56 384H928a32 32 0 1 1 0 64H141.248a32 32 0 0 1-22.592-9.344zM64 608a32 32 0 0 1 32-32h786.752a32 32 0 0 1 22.656 54.592L608 928l-4.48 3.776a32.064 32.064 0 0 1-40.832-49.024L805.632 640H96a32 32 0 0 1-32-32"})]))}}),yg=gg,Og=n("7a23"),wg=n("7a23"),_g=(0,Og.defineComponent)({name:"TakeawayBox",__name:"takeaway-box",setup(e){return(e,t)=>((0,wg.openBlock)(),(0,wg.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,wg.createElementVNode)("path",{fill:"currentColor",d:"M832 384H192v448h640zM96 320h832V128H96zm800 64v480a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V384H64a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h896a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zM416 512h192a32 32 0 0 1 0 64H416a32 32 0 0 1 0-64"})]))}}),jg=_g,kg=n("7a23"),xg=n("7a23"),Sg=(0,kg.defineComponent)({name:"Ticket",__name:"ticket",setup(e){return(e,t)=>((0,xg.openBlock)(),(0,xg.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,xg.createElementVNode)("path",{fill:"currentColor",d:"M640 832H64V640a128 128 0 1 0 0-256V192h576v160h64V192h256v192a128 128 0 1 0 0 256v192H704V672h-64zm0-416v192h64V416z"})]))}}),Cg=Sg,Mg=n("7a23"),Ag=n("7a23"),Tg=(0,Mg.defineComponent)({name:"Tickets",__name:"tickets",setup(e){return(e,t)=>((0,Ag.openBlock)(),(0,Ag.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ag.createElementVNode)("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h192v64H320zm0 384h384v64H320z"})]))}}),Eg=Tg,Lg=n("7a23"),Pg=n("7a23"),Dg=(0,Lg.defineComponent)({name:"Timer",__name:"timer",setup(e){return(e,t)=>((0,Pg.openBlock)(),(0,Pg.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Pg.createElementVNode)("path",{fill:"currentColor",d:"M512 896a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),(0,Pg.createElementVNode)("path",{fill:"currentColor",d:"M512 320a32 32 0 0 1 32 32l-.512 224a32 32 0 1 1-64 0L480 352a32 32 0 0 1 32-32"}),(0,Pg.createElementVNode)("path",{fill:"currentColor",d:"M448 576a64 64 0 1 0 128 0 64 64 0 1 0-128 0m96-448v128h-64V128h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64z"})]))}}),Ng=Dg,Rg=n("7a23"),Ig=n("7a23"),Bg=(0,Rg.defineComponent)({name:"ToiletPaper",__name:"toilet-paper",setup(e){return(e,t)=>((0,Ig.openBlock)(),(0,Ig.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ig.createElementVNode)("path",{fill:"currentColor",d:"M595.2 128H320a192 192 0 0 0-192 192v576h384V352c0-90.496 32.448-171.2 83.2-224M736 64c123.712 0 224 128.96 224 288S859.712 640 736 640H576v320H64V320A256 256 0 0 1 320 64zM576 352v224h160c84.352 0 160-97.28 160-224s-75.648-224-160-224-160 97.28-160 224"}),(0,Ig.createElementVNode)("path",{fill:"currentColor",d:"M736 448c-35.328 0-64-43.008-64-96s28.672-96 64-96 64 43.008 64 96-28.672 96-64 96"})]))}}),Fg=Bg,Vg=n("7a23"),zg=n("7a23"),Hg=(0,Vg.defineComponent)({name:"Tools",__name:"tools",setup(e){return(e,t)=>((0,zg.openBlock)(),(0,zg.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,zg.createElementVNode)("path",{fill:"currentColor",d:"M764.416 254.72a351.68 351.68 0 0 1 86.336 149.184H960v192.064H850.752a351.68 351.68 0 0 1-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 0 1-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.68 351.68 0 0 1-86.336-149.312H64v-192h109.248a351.68 351.68 0 0 1 86.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 0 1 172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 1 0-384 0 192 192 0 0 0 384 0"})]))}}),Yg=Hg,Ug=n("7a23"),Wg=n("7a23"),$g=(0,Ug.defineComponent)({name:"TopLeft",__name:"top-left",setup(e){return(e,t)=>((0,Wg.openBlock)(),(0,Wg.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Wg.createElementVNode)("path",{fill:"currentColor",d:"M256 256h416a32 32 0 1 0 0-64H224a32 32 0 0 0-32 32v448a32 32 0 0 0 64 0z"}),(0,Wg.createElementVNode)("path",{fill:"currentColor",d:"M246.656 201.344a32 32 0 0 0-45.312 45.312l544 544a32 32 0 0 0 45.312-45.312l-544-544z"})]))}}),qg=$g,Gg=n("7a23"),Xg=n("7a23"),Kg=(0,Gg.defineComponent)({name:"TopRight",__name:"top-right",setup(e){return(e,t)=>((0,Xg.openBlock)(),(0,Xg.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Xg.createElementVNode)("path",{fill:"currentColor",d:"M768 256H353.6a32 32 0 1 1 0-64H800a32 32 0 0 1 32 32v448a32 32 0 0 1-64 0z"}),(0,Xg.createElementVNode)("path",{fill:"currentColor",d:"M777.344 201.344a32 32 0 0 1 45.312 45.312l-544 544a32 32 0 0 1-45.312-45.312l544-544z"})]))}}),Jg=Kg,Zg=n("7a23"),Qg=n("7a23"),ey=(0,Zg.defineComponent)({name:"Top",__name:"top",setup(e){return(e,t)=>((0,Qg.openBlock)(),(0,Qg.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Qg.createElementVNode)("path",{fill:"currentColor",d:"M572.235 205.282v600.365a30.118 30.118 0 1 1-60.235 0V205.282L292.382 438.633a28.913 28.913 0 0 1-42.646 0 33.43 33.43 0 0 1 0-45.236l271.058-288.045a28.913 28.913 0 0 1 42.647 0L834.5 393.397a33.43 33.43 0 0 1 0 45.176 28.913 28.913 0 0 1-42.647 0l-219.618-233.23z"})]))}}),ty=ey,ny=n("7a23"),ry=n("7a23"),ay=(0,ny.defineComponent)({name:"TrendCharts",__name:"trend-charts",setup(e){return(e,t)=>((0,ry.openBlock)(),(0,ry.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,ry.createElementVNode)("path",{fill:"currentColor",d:"M128 896V128h768v768zm291.712-327.296 128 102.4 180.16-201.792-47.744-42.624-139.84 156.608-128-102.4-180.16 201.792 47.744 42.624 139.84-156.608zM816 352a48 48 0 1 0-96 0 48 48 0 0 0 96 0"})]))}}),oy=ay,iy=n("7a23"),sy=n("7a23"),ly=(0,iy.defineComponent)({name:"TrophyBase",__name:"trophy-base",setup(e){return(e,t)=>((0,sy.openBlock)(),(0,sy.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[(0,sy.createElementVNode)("path",{fill:"currentColor",d:"M918.4 201.6c-6.4-6.4-12.8-9.6-22.4-9.6H768V96c0-9.6-3.2-16-9.6-22.4C752 67.2 745.6 64 736 64H288c-9.6 0-16 3.2-22.4 9.6C259.2 80 256 86.4 256 96v96H128c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 16-9.6 22.4 3.2 108.8 25.6 185.6 64 224 34.4 34.4 77.56 55.65 127.65 61.99 10.91 20.44 24.78 39.25 41.95 56.41 40.86 40.86 91 65.47 150.4 71.9V768h-96c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4c6.4 6.4 12.8 9.6 22.4 9.6h256c9.6 0 16-3.2 22.4-9.6 6.4-6.4 9.6-12.8 9.6-22.4s-3.2-16-9.6-22.4c-6.4-6.4-12.8-9.6-22.4-9.6h-96V637.26c59.4-7.71 109.54-30.01 150.4-70.86 17.2-17.2 31.51-36.06 42.81-56.55 48.93-6.51 90.02-27.7 126.79-61.85 38.4-38.4 60.8-112 64-224 0-6.4-3.2-16-9.6-22.4zM256 438.4c-19.2-6.4-35.2-19.2-51.2-35.2-22.4-22.4-35.2-70.4-41.6-147.2H256zm390.4 80C608 553.6 566.4 576 512 576s-99.2-19.2-134.4-57.6C342.4 480 320 438.4 320 384V128h384v256c0 54.4-19.2 99.2-57.6 134.4m172.8-115.2c-16 16-32 25.6-51.2 35.2V256h92.8c-6.4 76.8-19.2 124.8-41.6 147.2zM768 896H256c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4c6.4 6.4 12.8 9.6 22.4 9.6h512c9.6 0 16-3.2 22.4-9.6 6.4-6.4 9.6-12.8 9.6-22.4s-3.2-16-9.6-22.4c-6.4-6.4-12.8-9.6-22.4-9.6"})]))}}),cy=ly,uy=n("7a23"),dy=n("7a23"),fy=(0,uy.defineComponent)({name:"Trophy",__name:"trophy",setup(e){return(e,t)=>((0,dy.openBlock)(),(0,dy.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,dy.createElementVNode)("path",{fill:"currentColor",d:"M480 896V702.08A256.256 256.256 0 0 1 264.064 512h-32.64a96 96 0 0 1-91.968-68.416L93.632 290.88a76.8 76.8 0 0 1 73.6-98.88H256V96a32 32 0 0 1 32-32h448a32 32 0 0 1 32 32v96h88.768a76.8 76.8 0 0 1 73.6 98.88L884.48 443.52A96 96 0 0 1 792.576 512h-32.64A256.256 256.256 0 0 1 544 702.08V896h128a32 32 0 1 1 0 64H352a32 32 0 1 1 0-64zm224-448V128H320v320a192 192 0 1 0 384 0m64 0h24.576a32 32 0 0 0 30.656-22.784l45.824-152.768A12.8 12.8 0 0 0 856.768 256H768zm-512 0V256h-88.768a12.8 12.8 0 0 0-12.288 16.448l45.824 152.768A32 32 0 0 0 231.424 448z"})]))}}),hy=fy,py=n("7a23"),my=n("7a23"),vy=(0,py.defineComponent)({name:"TurnOff",__name:"turn-off",setup(e){return(e,t)=>((0,my.openBlock)(),(0,my.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,my.createElementVNode)("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z"}),(0,my.createElementVNode)("path",{fill:"currentColor",d:"M329.956 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),by=vy,gy=n("7a23"),yy=n("7a23"),Oy=(0,gy.defineComponent)({name:"Umbrella",__name:"umbrella",setup(e){return(e,t)=>((0,yy.openBlock)(),(0,yy.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,yy.createElementVNode)("path",{fill:"currentColor",d:"M320 768a32 32 0 1 1 64 0 64 64 0 0 0 128 0V512H64a448 448 0 1 1 896 0H576v256a128 128 0 1 1-256 0m570.688-320a384.128 384.128 0 0 0-757.376 0z"})]))}}),wy=Oy,_y=n("7a23"),jy=n("7a23"),ky=(0,_y.defineComponent)({name:"Unlock",__name:"unlock",setup(e){return(e,t)=>((0,jy.openBlock)(),(0,jy.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,jy.createElementVNode)("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),(0,jy.createElementVNode)("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m178.304-295.296A192.064 192.064 0 0 0 320 320v64h352l96 38.4V448H256V320a256 256 0 0 1 493.76-95.104z"})]))}}),xy=ky,Sy=n("7a23"),Cy=n("7a23"),My=(0,Sy.defineComponent)({name:"UploadFilled",__name:"upload-filled",setup(e){return(e,t)=>((0,Cy.openBlock)(),(0,Cy.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Cy.createElementVNode)("path",{fill:"currentColor",d:"M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.808 239.808 0 0 1 512 192a239.872 239.872 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6z"})]))}}),Ay=My,Ty=n("7a23"),Ey=n("7a23"),Ly=(0,Ty.defineComponent)({name:"Upload",__name:"upload",setup(e){return(e,t)=>((0,Ey.openBlock)(),(0,Ey.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ey.createElementVNode)("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"})]))}}),Py=Ly,Dy=n("7a23"),Ny=n("7a23"),Ry=(0,Dy.defineComponent)({name:"UserFilled",__name:"user-filled",setup(e){return(e,t)=>((0,Ny.openBlock)(),(0,Ny.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Ny.createElementVNode)("path",{fill:"currentColor",d:"M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0m544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z"})]))}}),Iy=Ry,By=n("7a23"),Fy=n("7a23"),Vy=(0,By.defineComponent)({name:"User",__name:"user",setup(e){return(e,t)=>((0,Fy.openBlock)(),(0,Fy.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Fy.createElementVNode)("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0"})]))}}),zy=Vy,Hy=n("7a23"),Yy=n("7a23"),Uy=(0,Hy.defineComponent)({name:"Van",__name:"van",setup(e){return(e,t)=>((0,Yy.openBlock)(),(0,Yy.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Yy.createElementVNode)("path",{fill:"currentColor",d:"M128.896 736H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v96h164.544a32 32 0 0 1 31.616 27.136l54.144 352A32 32 0 0 1 922.688 736h-91.52a144 144 0 1 1-286.272 0H415.104a144 144 0 1 1-286.272 0zm23.36-64a143.872 143.872 0 0 1 239.488 0H568.32c17.088-25.6 42.24-45.376 71.744-55.808V256H128v416zm655.488 0h77.632l-19.648-128H704v64.896A144 144 0 0 1 807.744 672m48.128-192-14.72-96H704v96h151.872M688 832a80 80 0 1 0 0-160 80 80 0 0 0 0 160m-416 0a80 80 0 1 0 0-160 80 80 0 0 0 0 160"})]))}}),Wy=Uy,$y=n("7a23"),qy=n("7a23"),Gy=(0,$y.defineComponent)({name:"VideoCameraFilled",__name:"video-camera-filled",setup(e){return(e,t)=>((0,qy.openBlock)(),(0,qy.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,qy.createElementVNode)("path",{fill:"currentColor",d:"m768 576 192-64v320l-192-64v96a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V480a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zM192 768v64h384v-64zm192-480a160 160 0 0 1 320 0 160 160 0 0 1-320 0m64 0a96 96 0 1 0 192.064-.064A96 96 0 0 0 448 288m-320 32a128 128 0 1 1 256.064.064A128 128 0 0 1 128 320m64 0a64 64 0 1 0 128 0 64 64 0 0 0-128 0"})]))}}),Xy=Gy,Ky=n("7a23"),Jy=n("7a23"),Zy=(0,Ky.defineComponent)({name:"VideoCamera",__name:"video-camera",setup(e){return(e,t)=>((0,Jy.openBlock)(),(0,Jy.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,Jy.createElementVNode)("path",{fill:"currentColor",d:"M704 768V256H128v512zm64-416 192-96v512l-192-96v128a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 71.552v176.896l128 64V359.552zM192 320h192v64H192z"})]))}}),Qy=Zy,eO=n("7a23"),tO=n("7a23"),nO=(0,eO.defineComponent)({name:"VideoPause",__name:"video-pause",setup(e){return(e,t)=>((0,tO.openBlock)(),(0,tO.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,tO.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-96-544q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32m192 0q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32"})]))}}),rO=nO,aO=n("7a23"),oO=n("7a23"),iO=(0,aO.defineComponent)({name:"VideoPlay",__name:"video-play",setup(e){return(e,t)=>((0,oO.openBlock)(),(0,oO.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,oO.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-48-247.616L668.608 512 464 375.616zm10.624-342.656 249.472 166.336a48 48 0 0 1 0 79.872L474.624 718.272A48 48 0 0 1 400 678.336V345.6a48 48 0 0 1 74.624-39.936z"})]))}}),sO=iO,lO=n("7a23"),cO=n("7a23"),uO=(0,lO.defineComponent)({name:"View",__name:"view",setup(e){return(e,t)=>((0,cO.openBlock)(),(0,cO.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,cO.createElementVNode)("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),dO=uO,fO=n("7a23"),hO=n("7a23"),pO=(0,fO.defineComponent)({name:"WalletFilled",__name:"wallet-filled",setup(e){return(e,t)=>((0,hO.openBlock)(),(0,hO.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,hO.createElementVNode)("path",{fill:"currentColor",d:"M688 512a112 112 0 1 0 0 224h208v160H128V352h768v160zm32 160h-32a48 48 0 0 1 0-96h32a48 48 0 0 1 0 96m-80-544 128 160H384z"})]))}}),mO=pO,vO=n("7a23"),bO=n("7a23"),gO=(0,vO.defineComponent)({name:"Wallet",__name:"wallet",setup(e){return(e,t)=>((0,bO.openBlock)(),(0,bO.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,bO.createElementVNode)("path",{fill:"currentColor",d:"M640 288h-64V128H128v704h384v32a32 32 0 0 0 32 32H96a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h512a32 32 0 0 1 32 32z"}),(0,bO.createElementVNode)("path",{fill:"currentColor",d:"M128 320v512h768V320zm-32-64h832a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32"}),(0,bO.createElementVNode)("path",{fill:"currentColor",d:"M704 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),yO=gO,OO=n("7a23"),wO=n("7a23"),_O=(0,OO.defineComponent)({name:"WarnTriangleFilled",__name:"warn-triangle-filled",setup(e){return(e,t)=>((0,wO.openBlock)(),(0,wO.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[(0,wO.createElementVNode)("path",{fill:"currentColor",d:"M928.99 755.83 574.6 203.25c-12.89-20.16-36.76-32.58-62.6-32.58s-49.71 12.43-62.6 32.58L95.01 755.83c-12.91 20.12-12.9 44.91.01 65.03 12.92 20.12 36.78 32.51 62.59 32.49h708.78c25.82.01 49.68-12.37 62.59-32.49 12.91-20.12 12.92-44.91.01-65.03M554.67 768h-85.33v-85.33h85.33zm0-426.67v298.66h-85.33V341.32z"})]))}}),jO=_O,kO=n("7a23"),xO=n("7a23"),SO=(0,kO.defineComponent)({name:"WarningFilled",__name:"warning-filled",setup(e){return(e,t)=>((0,xO.openBlock)(),(0,xO.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,xO.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),CO=SO,MO=n("7a23"),AO=n("7a23"),TO=(0,MO.defineComponent)({name:"Warning",__name:"warning",setup(e){return(e,t)=>((0,AO.openBlock)(),(0,AO.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,AO.createElementVNode)("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"})]))}}),EO=TO,LO=n("7a23"),PO=n("7a23"),DO=(0,LO.defineComponent)({name:"Watch",__name:"watch",setup(e){return(e,t)=>((0,PO.openBlock)(),(0,PO.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,PO.createElementVNode)("path",{fill:"currentColor",d:"M512 768a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),(0,PO.createElementVNode)("path",{fill:"currentColor",d:"M480 352a32 32 0 0 1 32 32v160a32 32 0 0 1-64 0V384a32 32 0 0 1 32-32"}),(0,PO.createElementVNode)("path",{fill:"currentColor",d:"M480 512h128q32 0 32 32t-32 32H480q-32 0-32-32t32-32m128-256V128H416v128h-64V64h320v192zM416 768v128h192V768h64v192H352V768z"})]))}}),NO=DO,RO=n("7a23"),IO=n("7a23"),BO=(0,RO.defineComponent)({name:"Watermelon",__name:"watermelon",setup(e){return(e,t)=>((0,IO.openBlock)(),(0,IO.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,IO.createElementVNode)("path",{fill:"currentColor",d:"m683.072 600.32-43.648 162.816-61.824-16.512 53.248-198.528L576 493.248l-158.4 158.4-45.248-45.248 158.4-158.4-55.616-55.616-198.528 53.248-16.512-61.824 162.816-43.648L282.752 200A384 384 0 0 0 824 741.248zm231.552 141.056a448 448 0 1 1-632-632l632 632"})]))}}),FO=BO,VO=n("7a23"),zO=n("7a23"),HO=(0,VO.defineComponent)({name:"WindPower",__name:"wind-power",setup(e){return(e,t)=>((0,zO.openBlock)(),(0,zO.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,zO.createElementVNode)("path",{fill:"currentColor",d:"M160 64q32 0 32 32v832q0 32-32 32t-32-32V96q0-32 32-32m416 354.624 128-11.584V168.96l-128-11.52v261.12zm-64 5.824V151.552L320 134.08V160h-64V64l616.704 56.064A96 96 0 0 1 960 215.68v144.64a96 96 0 0 1-87.296 95.616L256 512V224h64v217.92zm256-23.232 98.88-8.96A32 32 0 0 0 896 360.32V215.68a32 32 0 0 0-29.12-31.872l-98.88-8.96z"})]))}}),YO=HO,UO=n("7a23"),WO=n("7a23"),$O=(0,UO.defineComponent)({name:"ZoomIn",__name:"zoom-in",setup(e){return(e,t)=>((0,WO.openBlock)(),(0,WO.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,WO.createElementVNode)("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),qO=$O,GO=n("7a23"),XO=n("7a23"),KO=(0,GO.defineComponent)({name:"ZoomOut",__name:"zoom-out",setup(e){return(e,t)=>((0,XO.openBlock)(),(0,XO.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[(0,XO.createElementVNode)("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),JO=KO},"9bf2":function(e,t,n){"use strict";var r=n("83ab"),a=n("0cfb"),o=n("aed9"),i=n("825a"),s=n("a04b"),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",h="writable";t.f=r?o?function(e,t,n){if(i(e),t=s(t),i(n),"function"===typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var r=u(e,t);r&&r[h]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:d in n?n[d]:r[d],writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(i(e),t=s(t),i(n),a)try{return c(e,t,n)}catch(r){}if("get"in n||"set"in n)throw new l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"9ca6":function(e,t,n){"use strict";n.d(t,"a",(function(){return ee}));var r=n("25de"),a=n("f4e0"),o=n("7a23");n("3f4e");
/*!
  * vue-i18n v9.13.1
  * (c) 2024 kazuya kawaguchi
  * Released under the MIT License.
  */
const i="9.13.1";function s(){"boolean"!==typeof __INTLIFY_JIT_COMPILATION__&&(Object(r["getGlobalThis"])().__INTLIFY_JIT_COMPILATION__=!1),"boolean"!==typeof __INTLIFY_DROP_MESSAGE_COMPILER__&&(Object(r["getGlobalThis"])().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),"boolean"!==typeof __INTLIFY_PROD_DEVTOOLS__&&(Object(r["getGlobalThis"])().__INTLIFY_PROD_DEVTOOLS__=!1)}const l=a["CoreWarnCodes"].__EXTEND_POINT__,c=Object(r["incrementer"])(l),u={FALLBACK_TO_ROOT:l,NOT_SUPPORTED_PRESERVE:c(),NOT_SUPPORTED_FORMATTER:c(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:c(),NOT_SUPPORTED_GET_CHOICE_INDEX:c(),COMPONENT_NAME_LEGACY_COMPATIBLE:c(),NOT_FOUND_PARENT_SCOPE:c(),IGNORE_OBJ_FLATTEN:c(),NOTICE_DROP_ALLOW_COMPOSITION:c(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:c()};u.FALLBACK_TO_ROOT,u.NOT_SUPPORTED_PRESERVE,u.NOT_SUPPORTED_FORMATTER,u.NOT_SUPPORTED_PRESERVE_DIRECTIVE,u.NOT_SUPPORTED_GET_CHOICE_INDEX,u.COMPONENT_NAME_LEGACY_COMPATIBLE,u.NOT_FOUND_PARENT_SCOPE,u.IGNORE_OBJ_FLATTEN,u.NOTICE_DROP_ALLOW_COMPOSITION,u.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG;const d=a["CoreErrorCodes"].__EXTEND_POINT__,f=Object(r["incrementer"])(d),h={UNEXPECTED_RETURN_TYPE:d,INVALID_ARGUMENT:f(),MUST_BE_CALL_SETUP_TOP:f(),NOT_INSTALLED:f(),NOT_AVAILABLE_IN_LEGACY_MODE:f(),REQUIRED_VALUE:f(),INVALID_VALUE:f(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:f(),NOT_INSTALLED_WITH_PROVIDE:f(),UNEXPECTED_ERROR:f(),NOT_COMPATIBLE_LEGACY_VUE_I18N:f(),BRIDGE_SUPPORT_VUE_2_ONLY:f(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:f(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:f(),__EXTEND_POINT__:f()};function p(e,...t){return Object(a["createCompileError"])(e,null,void 0)}h.UNEXPECTED_RETURN_TYPE,h.INVALID_ARGUMENT,h.MUST_BE_CALL_SETUP_TOP,h.NOT_INSTALLED,h.UNEXPECTED_ERROR,h.NOT_AVAILABLE_IN_LEGACY_MODE,h.REQUIRED_VALUE,h.INVALID_VALUE,h.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,h.NOT_INSTALLED_WITH_PROVIDE,h.NOT_COMPATIBLE_LEGACY_VUE_I18N,h.BRIDGE_SUPPORT_VUE_2_ONLY,h.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION,h.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;const m=Object(r["makeSymbol"])("__translateVNode"),v=Object(r["makeSymbol"])("__datetimeParts"),b=Object(r["makeSymbol"])("__numberParts"),g=Object(r["makeSymbol"])("__setPluralRules");Object(r["makeSymbol"])("__intlifyMeta");const y=Object(r["makeSymbol"])("__injectWithOption"),O=Object(r["makeSymbol"])("__dispose");function w(e){if(!Object(r["isObject"])(e))return e;for(const t in e)if(Object(r["hasOwn"])(e,t))if(t.includes(".")){const n=t.split("."),a=n.length-1;let o=e,i=!1;for(let e=0;e<a;e++){if(n[e]in o||(o[n[e]]={}),!Object(r["isObject"])(o[n[e]])){i=!0;break}o=o[n[e]]}i||(o[n[a]]=e[t],delete e[t]),Object(r["isObject"])(o[n[a]])&&w(o[n[a]])}else Object(r["isObject"])(e[t])&&w(e[t]);return e}function _(e,t){const{messages:n,__i18n:a,messageResolver:o,flatJson:i}=t,s=Object(r["isPlainObject"])(n)?n:Object(r["isArray"])(a)?{}:{[e]:{}};if(Object(r["isArray"])(a)&&a.forEach(e=>{if("locale"in e&&"resource"in e){const{locale:t,resource:n}=e;t?(s[t]=s[t]||{},Object(r["deepCopy"])(n,s[t])):Object(r["deepCopy"])(n,s)}else Object(r["isString"])(e)&&Object(r["deepCopy"])(JSON.parse(e),s)}),null==o&&i)for(const l in s)Object(r["hasOwn"])(s,l)&&w(s[l]);return s}function j(e){return e.type}function k(e,t,n){let a=Object(r["isObject"])(t.messages)?t.messages:{};"__i18nGlobal"in n&&(a=_(e.locale.value,{messages:a,__i18n:n.__i18nGlobal}));const o=Object.keys(a);if(o.length&&o.forEach(t=>{e.mergeLocaleMessage(t,a[t])}),Object(r["isObject"])(t.datetimeFormats)){const n=Object.keys(t.datetimeFormats);n.length&&n.forEach(n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])})}if(Object(r["isObject"])(t.numberFormats)){const n=Object.keys(t.numberFormats);n.length&&n.forEach(n=>{e.mergeNumberFormat(n,t.numberFormats[n])})}}function x(e){return Object(o["createVNode"])(o["Text"],null,e,0)}const S="__INTLIFY_META__",C=()=>[],M=()=>!1;let A=0;function T(e){return(t,n,r,a)=>e(n,r,Object(o["getCurrentInstance"])()||void 0,a)}const E=()=>{const e=Object(o["getCurrentInstance"])();let t=null;return e&&(t=j(e)[S])?{[S]:t}:null};function L(e={},t){const{__root:n,__injectWithOption:s}=e,l=void 0===n,c=e.flatJson,u=r["inBrowser"]?o["ref"]:o["shallowRef"],d=!!e.translateExistCompatible;let f=!Object(r["isBoolean"])(e.inheritLocale)||e.inheritLocale;const O=u(n&&f?n.locale.value:Object(r["isString"])(e.locale)?e.locale:a["DEFAULT_LOCALE"]),j=u(n&&f?n.fallbackLocale.value:Object(r["isString"])(e.fallbackLocale)||Object(r["isArray"])(e.fallbackLocale)||Object(r["isPlainObject"])(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:O.value),k=u(_(O.value,e)),S=u(Object(r["isPlainObject"])(e.datetimeFormats)?e.datetimeFormats:{[O.value]:{}}),L=u(Object(r["isPlainObject"])(e.numberFormats)?e.numberFormats:{[O.value]:{}});let P=n?n.missingWarn:!Object(r["isBoolean"])(e.missingWarn)&&!Object(r["isRegExp"])(e.missingWarn)||e.missingWarn,D=n?n.fallbackWarn:!Object(r["isBoolean"])(e.fallbackWarn)&&!Object(r["isRegExp"])(e.fallbackWarn)||e.fallbackWarn,N=n?n.fallbackRoot:!Object(r["isBoolean"])(e.fallbackRoot)||e.fallbackRoot,R=!!e.fallbackFormat,I=Object(r["isFunction"])(e.missing)?e.missing:null,B=Object(r["isFunction"])(e.missing)?T(e.missing):null,F=Object(r["isFunction"])(e.postTranslation)?e.postTranslation:null,V=n?n.warnHtmlMessage:!Object(r["isBoolean"])(e.warnHtmlMessage)||e.warnHtmlMessage,z=!!e.escapeParameter;const H=n?n.modifiers:Object(r["isPlainObject"])(e.modifiers)?e.modifiers:{};let Y,U=e.pluralRules||n&&n.pluralRules;const W=()=>{l&&Object(a["setFallbackContext"])(null);const t={version:i,locale:O.value,fallbackLocale:j.value,messages:k.value,modifiers:H,pluralRules:U,missing:null===B?void 0:B,missingWarn:P,fallbackWarn:D,fallbackFormat:R,unresolving:!0,postTranslation:null===F?void 0:F,warnHtmlMessage:V,escapeParameter:z,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};t.datetimeFormats=S.value,t.numberFormats=L.value,t.__datetimeFormatters=Object(r["isPlainObject"])(Y)?Y.__datetimeFormatters:void 0,t.__numberFormatters=Object(r["isPlainObject"])(Y)?Y.__numberFormatters:void 0;const n=Object(a["createCoreContext"])(t);return l&&Object(a["setFallbackContext"])(n),n};function $(){return[O.value,j.value,k.value,S.value,L.value]}Y=W(),Object(a["updateFallbackLocale"])(Y,O.value,j.value);const q=Object(o["computed"])({get:()=>O.value,set:e=>{O.value=e,Y.locale=O.value}}),G=Object(o["computed"])({get:()=>j.value,set:e=>{j.value=e,Y.fallbackLocale=j.value,Object(a["updateFallbackLocale"])(Y,O.value,e)}}),X=Object(o["computed"])(()=>k.value),K=Object(o["computed"])(()=>S.value),J=Object(o["computed"])(()=>L.value);function Z(){return Object(r["isFunction"])(F)?F:null}function Q(e){F=e,Y.postTranslation=e}function ee(){return I}function te(e){null!==e&&(B=T(e)),I=e,Y.missing=B}const ne=(e,t,o,i,s,c)=>{let u;$();try{__INTLIFY_PROD_DEVTOOLS__&&Object(a["setAdditionalMeta"])(E()),l||(Y.fallbackContext=n?Object(a["getFallbackContext"])():void 0),u=e(Y)}finally{__INTLIFY_PROD_DEVTOOLS__&&Object(a["setAdditionalMeta"])(null),l||(Y.fallbackContext=void 0)}if("translate exists"!==o&&Object(r["isNumber"])(u)&&u===a["NOT_REOSLVED"]||"translate exists"===o&&!u){const[e,r]=t();return n&&N?i(n):s(e)}if(c(u))return u;throw p(h.UNEXPECTED_RETURN_TYPE)};function re(...e){return ne(t=>Reflect.apply(a["translate"],null,[t,...e]),()=>Object(a["parseTranslateArgs"])(...e),"translate",t=>Reflect.apply(t.t,t,[...e]),e=>e,e=>Object(r["isString"])(e))}function ae(...e){const[t,n,a]=e;if(a&&!Object(r["isObject"])(a))throw p(h.INVALID_ARGUMENT);return re(t,n,Object(r["assign"])({resolvedMessage:!0},a||{}))}function oe(...e){return ne(t=>Reflect.apply(a["datetime"],null,[t,...e]),()=>Object(a["parseDateTimeArgs"])(...e),"datetime format",t=>Reflect.apply(t.d,t,[...e]),()=>a["MISSING_RESOLVE_VALUE"],e=>Object(r["isString"])(e))}function ie(...e){return ne(t=>Reflect.apply(a["number"],null,[t,...e]),()=>Object(a["parseNumberArgs"])(...e),"number format",t=>Reflect.apply(t.n,t,[...e]),()=>a["MISSING_RESOLVE_VALUE"],e=>Object(r["isString"])(e))}function se(e){return e.map(e=>Object(r["isString"])(e)||Object(r["isNumber"])(e)||Object(r["isBoolean"])(e)?x(String(e)):e)}const le=e=>e,ce={normalize:se,interpolate:le,type:"vnode"};function ue(...e){return ne(t=>{let n;const r=t;try{r.processor=ce,n=Reflect.apply(a["translate"],null,[r,...e])}finally{r.processor=null}return n},()=>Object(a["parseTranslateArgs"])(...e),"translate",t=>t[m](...e),e=>[x(e)],e=>Object(r["isArray"])(e))}function de(...e){return ne(t=>Reflect.apply(a["number"],null,[t,...e]),()=>Object(a["parseNumberArgs"])(...e),"number format",t=>t[b](...e),C,e=>Object(r["isString"])(e)||Object(r["isArray"])(e))}function fe(...e){return ne(t=>Reflect.apply(a["datetime"],null,[t,...e]),()=>Object(a["parseDateTimeArgs"])(...e),"datetime format",t=>t[v](...e),C,e=>Object(r["isString"])(e)||Object(r["isArray"])(e))}function he(e){U=e,Y.pluralRules=U}function pe(e,t){return ne(()=>{if(!e)return!1;const n=Object(r["isString"])(t)?t:O.value,o=be(n),i=Y.messageResolver(o,e);return d?null!=i:Object(a["isMessageAST"])(i)||Object(a["isMessageFunction"])(i)||Object(r["isString"])(i)},()=>[e],"translate exists",n=>Reflect.apply(n.te,n,[e,t]),M,e=>Object(r["isBoolean"])(e))}function me(e){let t=null;const n=Object(a["fallbackWithLocaleChain"])(Y,j.value,O.value);for(let r=0;r<n.length;r++){const a=k.value[n[r]]||{},o=Y.messageResolver(a,e);if(null!=o){t=o;break}}return t}function ve(e){const t=me(e);return null!=t?t:n&&n.tm(e)||{}}function be(e){return k.value[e]||{}}function ge(e,t){if(c){const n={[e]:t};for(const e in n)Object(r["hasOwn"])(n,e)&&w(n[e]);t=n[e]}k.value[e]=t,Y.messages=k.value}function ye(e,t){k.value[e]=k.value[e]||{};const n={[e]:t};if(c)for(const a in n)Object(r["hasOwn"])(n,a)&&w(n[a]);t=n[e],Object(r["deepCopy"])(t,k.value[e]),Y.messages=k.value}function Oe(e){return S.value[e]||{}}function we(e,t){S.value[e]=t,Y.datetimeFormats=S.value,Object(a["clearDateTimeFormat"])(Y,e,t)}function _e(e,t){S.value[e]=Object(r["assign"])(S.value[e]||{},t),Y.datetimeFormats=S.value,Object(a["clearDateTimeFormat"])(Y,e,t)}function je(e){return L.value[e]||{}}function ke(e,t){L.value[e]=t,Y.numberFormats=L.value,Object(a["clearNumberFormat"])(Y,e,t)}function xe(e,t){L.value[e]=Object(r["assign"])(L.value[e]||{},t),Y.numberFormats=L.value,Object(a["clearNumberFormat"])(Y,e,t)}A++,n&&r["inBrowser"]&&(Object(o["watch"])(n.locale,e=>{f&&(O.value=e,Y.locale=e,Object(a["updateFallbackLocale"])(Y,O.value,j.value))}),Object(o["watch"])(n.fallbackLocale,e=>{f&&(j.value=e,Y.fallbackLocale=e,Object(a["updateFallbackLocale"])(Y,O.value,j.value))}));const Se={id:A,locale:q,fallbackLocale:G,get inheritLocale(){return f},set inheritLocale(e){f=e,e&&n&&(O.value=n.locale.value,j.value=n.fallbackLocale.value,Object(a["updateFallbackLocale"])(Y,O.value,j.value))},get availableLocales(){return Object.keys(k.value).sort()},messages:X,get modifiers(){return H},get pluralRules(){return U||{}},get isGlobal(){return l},get missingWarn(){return P},set missingWarn(e){P=e,Y.missingWarn=P},get fallbackWarn(){return D},set fallbackWarn(e){D=e,Y.fallbackWarn=D},get fallbackRoot(){return N},set fallbackRoot(e){N=e},get fallbackFormat(){return R},set fallbackFormat(e){R=e,Y.fallbackFormat=R},get warnHtmlMessage(){return V},set warnHtmlMessage(e){V=e,Y.warnHtmlMessage=e},get escapeParameter(){return z},set escapeParameter(e){z=e,Y.escapeParameter=e},t:re,getLocaleMessage:be,setLocaleMessage:ge,mergeLocaleMessage:ye,getPostTranslationHandler:Z,setPostTranslationHandler:Q,getMissingHandler:ee,setMissingHandler:te,[g]:he};return Se.datetimeFormats=K,Se.numberFormats=J,Se.rt=ae,Se.te=pe,Se.tm=ve,Se.d=oe,Se.n=ie,Se.getDateTimeFormat=Oe,Se.setDateTimeFormat=we,Se.mergeDateTimeFormat=_e,Se.getNumberFormat=je,Se.setNumberFormat=ke,Se.mergeNumberFormat=xe,Se[y]=s,Se[m]=ue,Se[v]=fe,Se[b]=de,Se}function P(e){const t=Object(r["isString"])(e.locale)?e.locale:a["DEFAULT_LOCALE"],n=Object(r["isString"])(e.fallbackLocale)||Object(r["isArray"])(e.fallbackLocale)||Object(r["isPlainObject"])(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,o=Object(r["isFunction"])(e.missing)?e.missing:void 0,i=!Object(r["isBoolean"])(e.silentTranslationWarn)&&!Object(r["isRegExp"])(e.silentTranslationWarn)||!e.silentTranslationWarn,s=!Object(r["isBoolean"])(e.silentFallbackWarn)&&!Object(r["isRegExp"])(e.silentFallbackWarn)||!e.silentFallbackWarn,l=!Object(r["isBoolean"])(e.fallbackRoot)||e.fallbackRoot,c=!!e.formatFallbackMessages,u=Object(r["isPlainObject"])(e.modifiers)?e.modifiers:{},d=e.pluralizationRules,f=Object(r["isFunction"])(e.postTranslation)?e.postTranslation:void 0,h=!Object(r["isString"])(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,p=!!e.escapeParameterHtml,m=!Object(r["isBoolean"])(e.sync)||e.sync;let v=e.messages;if(Object(r["isPlainObject"])(e.sharedMessages)){const t=e.sharedMessages,n=Object.keys(t);v=n.reduce((e,n)=>{const a=e[n]||(e[n]={});return Object(r["assign"])(a,t[n]),e},v||{})}const{__i18n:b,__root:g,__injectWithOption:y}=e,O=e.datetimeFormats,w=e.numberFormats,_=e.flatJson,j=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:v,flatJson:_,datetimeFormats:O,numberFormats:w,missing:o,missingWarn:i,fallbackWarn:s,fallbackRoot:l,fallbackFormat:c,modifiers:u,pluralRules:d,postTranslation:f,warnHtmlMessage:h,escapeParameter:p,messageResolver:e.messageResolver,inheritLocale:m,translateExistCompatible:j,__i18n:b,__root:g,__injectWithOption:y}}function D(e={},t){{const t=L(P(e)),{__extender:n}=e,a={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(e){},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return Object(r["isBoolean"])(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=Object(r["isBoolean"])(e)?!e:e},get silentFallbackWarn(){return Object(r["isBoolean"])(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=Object(r["isBoolean"])(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(e){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){const[n,a,o]=e,i={};let s=null,l=null;if(!Object(r["isString"])(n))throw p(h.INVALID_ARGUMENT);const c=n;return Object(r["isString"])(a)?i.locale=a:Object(r["isArray"])(a)?s=a:Object(r["isPlainObject"])(a)&&(l=a),Object(r["isArray"])(o)?s=o:Object(r["isPlainObject"])(o)&&(l=o),Reflect.apply(t.t,t,[c,s||l||{},i])},rt(...e){return Reflect.apply(t.rt,t,[...e])},tc(...e){const[n,a,o]=e,i={plural:1};let s=null,l=null;if(!Object(r["isString"])(n))throw p(h.INVALID_ARGUMENT);const c=n;return Object(r["isString"])(a)?i.locale=a:Object(r["isNumber"])(a)?i.plural=a:Object(r["isArray"])(a)?s=a:Object(r["isPlainObject"])(a)&&(l=a),Object(r["isString"])(o)?i.locale=o:Object(r["isArray"])(o)?s=o:Object(r["isPlainObject"])(o)&&(l=o),Reflect.apply(t.t,t,[c,s||l||{},i])},te(e,n){return t.te(e,n)},tm(e){return t.tm(e)},getLocaleMessage(e){return t.getLocaleMessage(e)},setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d(...e){return Reflect.apply(t.d,t,[...e])},getDateTimeFormat(e){return t.getDateTimeFormat(e)},setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n(...e){return Reflect.apply(t.n,t,[...e])},getNumberFormat(e){return t.getNumberFormat(e)},setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)},getChoiceIndex(e,t){return-1}};return a.__extender=n,a}}const N={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function R({slots:e},t){if(1===t.length&&"default"===t[0]){const t=e.default?e.default():[];return t.reduce((e,t)=>[...e,...t.type===o["Fragment"]?t.children:[t]],[])}return t.reduce((t,n)=>{const r=e[n];return r&&(t[n]=r()),t},{})}function I(e){return o["Fragment"]}const B=Object(o["defineComponent"])({name:"i18n-t",props:Object(r["assign"])({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Object(r["isNumber"])(e)||!isNaN(e)}},N),setup(e,t){const{slots:n,attrs:a}=t,i=e.i18n||te({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(e=>"_"!==e),l={};e.locale&&(l.locale=e.locale),void 0!==e.plural&&(l.plural=Object(r["isString"])(e.plural)?+e.plural:e.plural);const c=R(t,s),u=i[m](e.keypath,c,l),d=Object(r["assign"])({},a),f=Object(r["isString"])(e.tag)||Object(r["isObject"])(e.tag)?e.tag:I();return Object(o["h"])(f,d,u)}}}),F=B;function V(e){return Object(r["isArray"])(e)&&!Object(r["isString"])(e[0])}function z(e,t,n,a){const{slots:i,attrs:s}=t;return()=>{const t={part:!0};let l={};e.locale&&(t.locale=e.locale),Object(r["isString"])(e.format)?t.key=e.format:Object(r["isObject"])(e.format)&&(Object(r["isString"])(e.format.key)&&(t.key=e.format.key),l=Object.keys(e.format).reduce((t,a)=>n.includes(a)?Object(r["assign"])({},t,{[a]:e.format[a]}):t,{}));const c=a(e.value,t,l);let u=[t.key];Object(r["isArray"])(c)?u=c.map((e,t)=>{const n=i[e.type],r=n?n({[e.type]:e.value,index:t,parts:c}):[e.value];return V(r)&&(r[0].key=`${e.type}-${t}`),r}):Object(r["isString"])(c)&&(u=[c]);const d=Object(r["assign"])({},s),f=Object(r["isString"])(e.tag)||Object(r["isObject"])(e.tag)?e.tag:I();return Object(o["h"])(f,d,u)}}const H=Object(o["defineComponent"])({name:"i18n-n",props:Object(r["assign"])({value:{type:Number,required:!0},format:{type:[String,Object]}},N),setup(e,t){const n=e.i18n||te({useScope:e.scope,__useComponent:!0});return z(e,t,a["NUMBER_FORMAT_OPTIONS_KEYS"],(...e)=>n[b](...e))}}),Y=H,U=Object(o["defineComponent"])({name:"i18n-d",props:Object(r["assign"])({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},N),setup(e,t){const n=e.i18n||te({useScope:e.scope,__useComponent:!0});return z(e,t,a["DATETIME_FORMAT_OPTIONS_KEYS"],(...e)=>n[v](...e))}}),W=U;function $(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return null!=r?r.__composer:e.global.__composer}}function q(e){const t=t=>{const{instance:n,modifiers:r,value:a}=t;if(!n||!n.$)throw p(h.UNEXPECTED_ERROR);const o=$(e,n.$);const i=G(a);return[Reflect.apply(o.t,o,[...X(i)]),o]},n=(n,a)=>{const[i,s]=t(a);r["inBrowser"]&&e.global===s&&(n.__i18nWatcher=Object(o["watch"])(s.locale,()=>{a.instance&&a.instance.$forceUpdate()})),n.__composer=s,n.textContent=i},a=e=>{r["inBrowser"]&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},i=(e,{value:t})=>{if(e.__composer){const n=e.__composer,r=G(t);e.textContent=Reflect.apply(n.t,n,[...X(r)])}},s=e=>{const[n]=t(e);return{textContent:n}};return{created:n,unmounted:a,beforeUpdate:i,getSSRProps:s}}function G(e){if(Object(r["isString"])(e))return{path:e};if(Object(r["isPlainObject"])(e)){if(!("path"in e))throw p(h.REQUIRED_VALUE,"path");return e}throw p(h.INVALID_VALUE)}function X(e){const{path:t,locale:n,args:a,choice:o,plural:i}=e,s={},l=a||{};return Object(r["isString"])(n)&&(s.locale=n),Object(r["isNumber"])(o)&&(s.plural=o),Object(r["isNumber"])(i)&&(s.plural=i),[t,l,s]}function K(e,t,...n){const a=Object(r["isPlainObject"])(n[0])?n[0]:{},o=!!a.useI18nComponentName,i=!Object(r["isBoolean"])(a.globalInstall)||a.globalInstall;i&&([o?"i18n":F.name,"I18nT"].forEach(t=>e.component(t,F)),[Y.name,"I18nN"].forEach(t=>e.component(t,Y)),[W.name,"I18nD"].forEach(t=>e.component(t,W))),e.directive("t",q(t))}function J(e,t,n){return{beforeCreate(){const r=Object(o["getCurrentInstance"])();if(!r)throw p(h.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const r=a.i18n;if(a.__i18n&&(r.__i18n=a.__i18n),r.__root=t,this===this.$root)this.$i18n=Z(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=D(r);const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=Z(e,a);else{this.$i18n=D({__i18n:a.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&k(t,a,a),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$tc=(...e)=>this.$i18n.tc(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),n.__setInstance(r,this.$i18n)},mounted(){0},unmounted(){const e=Object(o["getCurrentInstance"])();if(!e)throw p(h.UNEXPECTED_ERROR);const t=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),n.__deleteInstance(e),delete this.$i18n}}}function Z(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[g](t.pluralizationRules||e.pluralizationRules);const n=_(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(t=>e.mergeLocaleMessage(t,n[t])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}const Q=Object(r["makeSymbol"])("global-vue-i18n");function ee(e={},t){const n=!Object(r["isBoolean"])(e.legacy)||e.legacy,a=!Object(r["isBoolean"])(e.globalInjection)||e.globalInjection,o=!n||!!e.allowComposition,i=new Map,[s,l]=ne(e,n),c=Object(r["makeSymbol"])("");function u(e){return i.get(e)||null}function d(e,t){i.set(e,t)}function f(e){i.delete(e)}{const e={get mode(){return n?"legacy":"composition"},get allowComposition(){return o},async install(t,...o){if(t.__VUE_I18N_SYMBOL__=c,t.provide(t.__VUE_I18N_SYMBOL__,e),Object(r["isPlainObject"])(o[0])){const t=o[0];e.__composerExtend=t.__composerExtend,e.__vueI18nExtend=t.__vueI18nExtend}let i=null;!n&&a&&(i=fe(t,e.global)),K(t,e,...o),n&&t.mixin(J(l,l.__composer,e));const s=t.unmount;t.unmount=()=>{i&&i(),e.dispose(),s()}},get global(){return l},dispose(){s.stop()},__instances:i,__getInstance:u,__setInstance:d,__deleteInstance:f};return e}}function te(e={}){const t=Object(o["getCurrentInstance"])();if(null==t)throw p(h.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&null!=t.appContext.app&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw p(h.NOT_INSTALLED);const n=re(t),a=oe(n),i=j(t),s=ae(e,i);if("legacy"===n.mode&&!e.__useComponent){if(!n.allowComposition)throw p(h.NOT_AVAILABLE_IN_LEGACY_MODE);return ce(t,s,a,e)}if("global"===s)return k(a,e,i),a;if("parent"===s){let r=ie(n,t,e.__useComponent);return null==r&&(r=a),r}const l=n;let c=l.__getInstance(t);if(null==c){const n=Object(r["assign"])({},e);"__i18n"in i&&(n.__i18n=i.__i18n),a&&(n.__root=a),c=L(n),l.__composerExtend&&(c[O]=l.__composerExtend(c)),le(l,t,c),l.__setInstance(t,c)}return c}function ne(e,t,n){const r=Object(o["effectScope"])();{const n=t?r.run(()=>D(e)):r.run(()=>L(e));if(null==n)throw p(h.UNEXPECTED_ERROR);return[r,n]}}function re(e){{const t=Object(o["inject"])(e.isCE?Q:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw p(e.isCE?h.NOT_INSTALLED_WITH_PROVIDE:h.UNEXPECTED_ERROR);return t}}function ae(e,t){return Object(r["isEmptyObject"])(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function oe(e){return"composition"===e.mode?e.global:e.global.__composer}function ie(e,t,n=!1){let r=null;const a=t.root;let o=se(t,n);while(null!=o){const t=e;if("composition"===e.mode)r=t.__getInstance(o);else{const e=t.__getInstance(o);null!=e&&(r=e.__composer,n&&r&&!r[y]&&(r=null))}if(null!=r)break;if(a===o)break;o=o.parent}return r}function se(e,t=!1){return null==e?null:t&&e.vnode.ctx||e.parent}function le(e,t,n){Object(o["onMounted"])(()=>{0},t),Object(o["onUnmounted"])(()=>{const r=n;e.__deleteInstance(t);const a=r[O];a&&(a(),delete r[O])},t)}function ce(e,t,n,i={}){const s="local"===t,l=Object(o["shallowRef"])(null);if(s&&e.proxy&&!e.proxy.$options.i18n&&!e.proxy.$options.__i18n)throw p(h.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const c=Object(r["isBoolean"])(i.inheritLocale)?i.inheritLocale:!Object(r["isString"])(i.locale),u=Object(o["ref"])(!s||c?n.locale.value:Object(r["isString"])(i.locale)?i.locale:a["DEFAULT_LOCALE"]),d=Object(o["ref"])(!s||c?n.fallbackLocale.value:Object(r["isString"])(i.fallbackLocale)||Object(r["isArray"])(i.fallbackLocale)||Object(r["isPlainObject"])(i.fallbackLocale)||!1===i.fallbackLocale?i.fallbackLocale:u.value),f=Object(o["ref"])(_(u.value,i)),m=Object(o["ref"])(Object(r["isPlainObject"])(i.datetimeFormats)?i.datetimeFormats:{[u.value]:{}}),v=Object(o["ref"])(Object(r["isPlainObject"])(i.numberFormats)?i.numberFormats:{[u.value]:{}}),b=s?n.missingWarn:!Object(r["isBoolean"])(i.missingWarn)&&!Object(r["isRegExp"])(i.missingWarn)||i.missingWarn,g=s?n.fallbackWarn:!Object(r["isBoolean"])(i.fallbackWarn)&&!Object(r["isRegExp"])(i.fallbackWarn)||i.fallbackWarn,y=s?n.fallbackRoot:!Object(r["isBoolean"])(i.fallbackRoot)||i.fallbackRoot,O=!!i.fallbackFormat,w=Object(r["isFunction"])(i.missing)?i.missing:null,j=Object(r["isFunction"])(i.postTranslation)?i.postTranslation:null,k=s?n.warnHtmlMessage:!Object(r["isBoolean"])(i.warnHtmlMessage)||i.warnHtmlMessage,x=!!i.escapeParameter,S=s?n.modifiers:Object(r["isPlainObject"])(i.modifiers)?i.modifiers:{},C=i.pluralRules||s&&n.pluralRules;function M(){return[u.value,d.value,f.value,m.value,v.value]}const A=Object(o["computed"])({get:()=>l.value?l.value.locale.value:u.value,set:e=>{l.value&&(l.value.locale.value=e),u.value=e}}),T=Object(o["computed"])({get:()=>l.value?l.value.fallbackLocale.value:d.value,set:e=>{l.value&&(l.value.fallbackLocale.value=e),d.value=e}}),E=Object(o["computed"])(()=>l.value?l.value.messages.value:f.value),L=Object(o["computed"])(()=>m.value),P=Object(o["computed"])(()=>v.value);function D(){return l.value?l.value.getPostTranslationHandler():j}function N(e){l.value&&l.value.setPostTranslationHandler(e)}function R(){return l.value?l.value.getMissingHandler():w}function I(e){l.value&&l.value.setMissingHandler(e)}function B(e){return M(),e()}function F(...e){return l.value?B(()=>Reflect.apply(l.value.t,null,[...e])):B(()=>"")}function V(...e){return l.value?Reflect.apply(l.value.rt,null,[...e]):""}function z(...e){return l.value?B(()=>Reflect.apply(l.value.d,null,[...e])):B(()=>"")}function H(...e){return l.value?B(()=>Reflect.apply(l.value.n,null,[...e])):B(()=>"")}function Y(e){return l.value?l.value.tm(e):{}}function U(e,t){return!!l.value&&l.value.te(e,t)}function W(e){return l.value?l.value.getLocaleMessage(e):{}}function $(e,t){l.value&&(l.value.setLocaleMessage(e,t),f.value[e]=t)}function q(e,t){l.value&&l.value.mergeLocaleMessage(e,t)}function G(e){return l.value?l.value.getDateTimeFormat(e):{}}function X(e,t){l.value&&(l.value.setDateTimeFormat(e,t),m.value[e]=t)}function K(e,t){l.value&&l.value.mergeDateTimeFormat(e,t)}function J(e){return l.value?l.value.getNumberFormat(e):{}}function Z(e,t){l.value&&(l.value.setNumberFormat(e,t),v.value[e]=t)}function Q(e,t){l.value&&l.value.mergeNumberFormat(e,t)}const ee={get id(){return l.value?l.value.id:-1},locale:A,fallbackLocale:T,messages:E,datetimeFormats:L,numberFormats:P,get inheritLocale(){return l.value?l.value.inheritLocale:c},set inheritLocale(e){l.value&&(l.value.inheritLocale=e)},get availableLocales(){return l.value?l.value.availableLocales:Object.keys(f.value)},get modifiers(){return l.value?l.value.modifiers:S},get pluralRules(){return l.value?l.value.pluralRules:C},get isGlobal(){return!!l.value&&l.value.isGlobal},get missingWarn(){return l.value?l.value.missingWarn:b},set missingWarn(e){l.value&&(l.value.missingWarn=e)},get fallbackWarn(){return l.value?l.value.fallbackWarn:g},set fallbackWarn(e){l.value&&(l.value.missingWarn=e)},get fallbackRoot(){return l.value?l.value.fallbackRoot:y},set fallbackRoot(e){l.value&&(l.value.fallbackRoot=e)},get fallbackFormat(){return l.value?l.value.fallbackFormat:O},set fallbackFormat(e){l.value&&(l.value.fallbackFormat=e)},get warnHtmlMessage(){return l.value?l.value.warnHtmlMessage:k},set warnHtmlMessage(e){l.value&&(l.value.warnHtmlMessage=e)},get escapeParameter(){return l.value?l.value.escapeParameter:x},set escapeParameter(e){l.value&&(l.value.escapeParameter=e)},t:F,getPostTranslationHandler:D,setPostTranslationHandler:N,getMissingHandler:R,setMissingHandler:I,rt:V,d:z,n:H,tm:Y,te:U,getLocaleMessage:W,setLocaleMessage:$,mergeLocaleMessage:q,getDateTimeFormat:G,setDateTimeFormat:X,mergeDateTimeFormat:K,getNumberFormat:J,setNumberFormat:Z,mergeNumberFormat:Q};function te(e){e.locale.value=u.value,e.fallbackLocale.value=d.value,Object.keys(f.value).forEach(t=>{e.mergeLocaleMessage(t,f.value[t])}),Object.keys(m.value).forEach(t=>{e.mergeDateTimeFormat(t,m.value[t])}),Object.keys(v.value).forEach(t=>{e.mergeNumberFormat(t,v.value[t])}),e.escapeParameter=x,e.fallbackFormat=O,e.fallbackRoot=y,e.fallbackWarn=g,e.missingWarn=b,e.warnHtmlMessage=k}return Object(o["onBeforeMount"])(()=>{if(null==e.proxy||null==e.proxy.$i18n)throw p(h.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const n=l.value=e.proxy.$i18n.__composer;"global"===t?(u.value=n.locale.value,d.value=n.fallbackLocale.value,f.value=n.messages.value,m.value=n.datetimeFormats.value,v.value=n.numberFormats.value):s&&te(n)}),ee}const ue=["locale","fallbackLocale","availableLocales"],de=["t","rt","d","n","tm","te"];function fe(e,t){const n=Object.create(null);ue.forEach(e=>{const r=Object.getOwnPropertyDescriptor(t,e);if(!r)throw p(h.UNEXPECTED_ERROR);const a=Object(o["isRef"])(r.value)?{get(){return r.value.value},set(e){r.value.value=e}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,e,a)}),e.config.globalProperties.$i18n=n,de.forEach(n=>{const r=Object.getOwnPropertyDescriptor(t,n);if(!r||!r.value)throw p(h.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,"$"+n,r)});const r=()=>{delete e.config.globalProperties.$i18n,de.forEach(t=>{delete e.config.globalProperties["$"+t]})};return r}if(s(),__INTLIFY_JIT_COMPILATION__?Object(a["registerMessageCompiler"])(a["compile"]):Object(a["registerMessageCompiler"])(a["compileToFunction"]),Object(a["registerMessageResolver"])(a["resolveValue"]),Object(a["registerLocaleFallbacker"])(a["fallbackWithLocaleChain"]),__INTLIFY_PROD_DEVTOOLS__){const e=Object(r["getGlobalThis"])();e.__INTLIFY__=!0,Object(a["setDevToolsHook"])(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}},"9f26":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,r=/(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,a=[/^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=e.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:r,monthsShortRegex:r,monthsStrictRegex:t,monthsShortStrictRegex:n,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,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(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});return o}))},"9ff4":function(e,t,n){"use strict";(function(e){
/**
* @vue/shared v3.4.27
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
/*! #__NO_SIDE_EFFECTS__ */
function r(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return i})),n.d(t,"e",(function(){return P})),n.d(t,"f",(function(){return R})),n.d(t,"g",(function(){return V})),n.d(t,"h",(function(){return u})),n.d(t,"i",(function(){return U})),n.d(t,"j",(function(){return B})),n.d(t,"k",(function(){return h})),n.d(t,"l",(function(){return N})),n.d(t,"m",(function(){return ue})),n.d(t,"n",(function(){return F})),n.d(t,"o",(function(){return p})),n.d(t,"p",(function(){return ce})),n.d(t,"q",(function(){return T})),n.d(t,"r",(function(){return y})),n.d(t,"s",(function(){return $})),n.d(t,"t",(function(){return ae})),n.d(t,"u",(function(){return M})),n.d(t,"v",(function(){return de})),n.d(t,"w",(function(){return fe})),n.d(t,"x",(function(){return m})),n.d(t,"y",(function(){return ie})),n.d(t,"z",(function(){return c})),n.d(t,"A",(function(){return _})),n.d(t,"B",(function(){return l})),n.d(t,"C",(function(){return C})),n.d(t,"D",(function(){return j})),n.d(t,"E",(function(){return g})),n.d(t,"F",(function(){return he})),n.d(t,"G",(function(){return A})),n.d(t,"H",(function(){return oe})),n.d(t,"I",(function(){return v})),n.d(t,"J",(function(){return le})),n.d(t,"K",(function(){return O})),n.d(t,"L",(function(){return w})),n.d(t,"M",(function(){return me})),n.d(t,"N",(function(){return ve})),n.d(t,"O",(function(){return z})),n.d(t,"P",(function(){return r})),n.d(t,"Q",(function(){return Q})),n.d(t,"R",(function(){return ee})),n.d(t,"S",(function(){return q})),n.d(t,"T",(function(){return d})),n.d(t,"U",(function(){return Z})),n.d(t,"V",(function(){return be})),n.d(t,"W",(function(){return I})),n.d(t,"X",(function(){return H})),n.d(t,"Y",(function(){return S}));const a={},o=[],i=()=>{},s=()=>!1,l=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),c=e=>e.startsWith("onUpdate:"),u=Object.assign,d=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},f=Object.prototype.hasOwnProperty,h=(e,t)=>f.call(e,t),p=Array.isArray,m=e=>"[object Map]"===x(e),v=e=>"[object Set]"===x(e),b=e=>"[object Date]"===x(e),g=e=>"[object RegExp]"===x(e),y=e=>"function"===typeof e,O=e=>"string"===typeof e,w=e=>"symbol"===typeof e,_=e=>null!==e&&"object"===typeof e,j=e=>(_(e)||y(e))&&y(e.then)&&y(e.catch),k=Object.prototype.toString,x=e=>k.call(e),S=e=>x(e).slice(8,-1),C=e=>"[object Object]"===x(e),M=e=>O(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,A=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),T=r("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),E=e=>{const t=Object.create(null);return n=>{const r=t[n];return r||(t[n]=e(n))}},L=/-(\w)/g,P=E(e=>e.replace(L,(e,t)=>t?t.toUpperCase():"")),D=/\B([A-Z])/g,N=E(e=>e.replace(D,"-$1").toLowerCase()),R=E(e=>e.charAt(0).toUpperCase()+e.slice(1)),I=E(e=>{const t=e?"on"+R(e):"";return t}),B=(e,t)=>!Object.is(e,t),F=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},V=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},z=e=>{const t=parseFloat(e);return isNaN(t)?e:t},H=e=>{const t=O(e)?Number(e):NaN;return isNaN(t)?e:t};let Y;const U=()=>Y||(Y="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof e?e:{});const W="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",$=r(W);function q(e){if(p(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],a=O(r)?J(r):q(r);if(a)for(const e in a)t[e]=a[e]}return t}if(O(e)||_(e))return e}const G=/;(?![^(]*\))/g,X=/:([^]+)/,K=/\/\*[^]*?\*\//g;function J(e){const t={};return e.replace(K,"").split(G).forEach(e=>{if(e){const n=e.split(X);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Z(e){let t="";if(!e||O(e))return t;for(const n in e){const r=e[n];if(O(r)||"number"===typeof r){const e=n.startsWith("--")?n:N(n);t+=`${e}:${r};`}}return t}function Q(e){let t="";if(O(e))t=e;else if(p(e))for(let n=0;n<e.length;n++){const r=Q(e[n]);r&&(t+=r+" ")}else if(_(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ee(e){if(!e)return null;let{class:t,style:n}=e;return t&&!O(t)&&(e.class=Q(t)),n&&(e.style=q(n)),e}const te="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,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,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,summary,template,blockquote,iframe,tfoot",ne="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",re="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",ae=r(te),oe=r(ne),ie=r(re),se="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",le=r(se),ce=r(se+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function ue(e){return!!e||""===e}const de=r("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),fe=r("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan");function he(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}function pe(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=me(e[r],t[r]);return n}function me(e,t){if(e===t)return!0;let n=b(e),r=b(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=w(e),r=w(t),n||r)return e===t;if(n=p(e),r=p(t),n||r)return!(!n||!r)&&pe(e,t);if(n=_(e),r=_(t),n||r){if(!n||!r)return!1;const a=Object.keys(e).length,o=Object.keys(t).length;if(a!==o)return!1;for(const n in e){const r=e.hasOwnProperty(n),a=t.hasOwnProperty(n);if(r&&!a||!r&&a||!me(e[n],t[n]))return!1}}return String(e)===String(t)}function ve(e,t){return e.findIndex(e=>me(e,t))}const be=e=>O(e)?e:null==e?"":p(e)||_(e)&&(e.toString===k||!y(e.toString))?JSON.stringify(e,ge,2):String(e),ge=(e,t)=>t&&t.__v_isRef?ge(e,t.value):m(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[ye(t,r)+" =>"]=n,e),{})}:v(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>ye(e))}:w(t)?ye(t):!_(t)||p(t)||C(t)?t:String(t),ye=(e,t="")=>{var n;return w(e)?`Symbol(${null!=(n=e.description)?n:t})`:e}}).call(this,n("c8ba"))},a04b:function(e,t,n){"use strict";var r=n("c04e"),a=n("d9b5");e.exports=function(e){var t=r(e,"string");return a(t)?t:t+""}},a0bf:function(e,t,n){"use strict";var r=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function a(e,t){return e===t||!(!r(e)||!r(t))}function o(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!a(e[n],t[n]))return!1;return!0}function i(e,t){void 0===t&&(t=o);var n=null;function r(){for(var r=[],a=0;a<arguments.length;a++)r[a]=arguments[a];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r}e.exports=i},a0bf7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mostReadable=t.isReadable=t.readability=void 0;var r=n("740b");function a(e,t){var n=new r.TinyColor(e),a=new r.TinyColor(t);return(Math.max(n.getLuminance(),a.getLuminance())+.05)/(Math.min(n.getLuminance(),a.getLuminance())+.05)}function o(e,t,n){var r,o;void 0===n&&(n={level:"AA",size:"small"});var i=a(e,t);switch((null!==(r=n.level)&&void 0!==r?r:"AA")+(null!==(o=n.size)&&void 0!==o?o:"small")){case"AAsmall":case"AAAlarge":return i>=4.5;case"AAlarge":return i>=3;case"AAAsmall":return i>=7;default:return!1}}function i(e,t,n){void 0===n&&(n={includeFallbackColors:!1,level:"AA",size:"small"});for(var s=null,l=0,c=n.includeFallbackColors,u=n.level,d=n.size,f=0,h=t;f<h.length;f++){var p=h[f],m=a(e,p);m>l&&(l=m,s=new r.TinyColor(p))}return o(e,s,{level:u,size:d})||!c?s:(n.includeFallbackColors=!1,i(e,["#fff","#000"],n))}t.readability=a,t.isReadable=o,t.mostReadable=i},a356:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},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 عام"]},r=function(e){return function(r,a,o,i){var s=t(r),l=n[e][t(r)];return 2===s&&(l=l[a?0:1]),l.replace(/%d/i,r)}},a=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],o=e.defineLocale("ar-dz",{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(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}});return o}))},a7ea:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a}));var r=n("7d20");const a=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),o=e=>Object(r["capitalize"])(e)},a7fa:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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 t}))},aaf2:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n,r){var a={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return r?a[n][0]:a[n][1]}var n=e.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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){switch(t){case"D":return e+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}});return n}))},ab36:function(e,t,n){"use strict";var r=n("861d"),a=n("9112");e.exports=function(e,t){r(t)&&"cause"in t&&a(e,"cause",t.cause)}},ad6d:function(e,t,n){"use strict";var r=n("825a");e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},ada2:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var a={ss:n?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===r?n?"хвилина":"хвилину":"h"===r?n?"година":"годину":e+" "+t(a[r],+e)}function r(e,t){var n,r={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?r["nominative"].slice(1,7).concat(r["nominative"].slice(0,1)):e?(n=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative",r[n][e.day()]):r["nominative"]}function a(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var o=e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:r,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:a("[Сьогодні "),nextDay:a("[Завтра "),lastDay:a("[Вчора "),nextWeek:a("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return a("[Минулої] dddd [").call(this);case 1:case 2:case 4:return a("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:n,m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}});return o}))},aeaa:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.legacyRandom=t.fromRatio=void 0;var r=n("740b"),a=n("1127");function o(e,t){var n={r:(0,a.convertToPercentage)(e.r),g:(0,a.convertToPercentage)(e.g),b:(0,a.convertToPercentage)(e.b)};return void 0!==e.a&&(n.a=Number(e.a)),new r.TinyColor(n,t)}function i(){return new r.TinyColor({r:Math.random(),g:Math.random(),b:Math.random()})}t.fromRatio=o,t.legacyRandom=i},aeb0:function(e,t,n){"use strict";var r=n("9bf2").f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},aed9:function(e,t,n){"use strict";var r=n("83ab"),a=n("d039");e.exports=r&&a((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b090:function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"assign",(function(){return m})),n.d(t,"createEmitter",(function(){return F})),n.d(t,"deepCopy",(function(){return z})),n.d(t,"escapeHtml",(function(){return g})),n.d(t,"format",(function(){return s})),n.d(t,"friendlyJSONstringify",(function(){return u})),n.d(t,"generateCodeFrame",(function(){return D})),n.d(t,"generateFormatCacheKey",(function(){return c})),n.d(t,"getGlobalThis",(function(){return b})),n.d(t,"hasOwn",(function(){return O})),n.d(t,"inBrowser",(function(){return r})),n.d(t,"incrementer",(function(){return N})),n.d(t,"isArray",(function(){return w})),n.d(t,"isBoolean",(function(){return k})),n.d(t,"isDate",(function(){return f})),n.d(t,"isEmptyObject",(function(){return p})),n.d(t,"isFunction",(function(){return _})),n.d(t,"isNumber",(function(){return d})),n.d(t,"isObject",(function(){return S})),n.d(t,"isPlainObject",(function(){return T})),n.d(t,"isPromise",(function(){return C})),n.d(t,"isRegExp",(function(){return h})),n.d(t,"isString",(function(){return j})),n.d(t,"isSymbol",(function(){return x})),n.d(t,"join",(function(){return L})),n.d(t,"makeSymbol",(function(){return l})),n.d(t,"mark",(function(){return a})),n.d(t,"measure",(function(){return o})),n.d(t,"objectToString",(function(){return M})),n.d(t,"toDisplayString",(function(){return E})),n.d(t,"toTypeString",(function(){return A})),n.d(t,"warn",(function(){return R})),n.d(t,"warnOnce",(function(){return B}));
/*!
  * shared v9.13.1
  * (c) 2024 kazuya kawaguchi
  * Released under the MIT License.
  */
const r="undefined"!==typeof window;let a,o;const i=/\{([0-9a-zA-Z]+)\}/g;function s(e,...t){return 1===t.length&&S(t[0])&&(t=t[0]),t&&t.hasOwnProperty||(t={}),e.replace(i,(e,n)=>t.hasOwnProperty(n)?t[n]:"")}const l=(e,t=!1)=>t?Symbol.for(e):Symbol(e),c=(e,t,n)=>u({l:e,k:t,s:n}),u=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),d=e=>"number"===typeof e&&isFinite(e),f=e=>"[object Date]"===A(e),h=e=>"[object RegExp]"===A(e),p=e=>T(e)&&0===Object.keys(e).length,m=Object.assign;let v;const b=()=>v||(v="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof e?e:{});function g(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const y=Object.prototype.hasOwnProperty;function O(e,t){return y.call(e,t)}const w=Array.isArray,_=e=>"function"===typeof e,j=e=>"string"===typeof e,k=e=>"boolean"===typeof e,x=e=>"symbol"===typeof e,S=e=>null!==e&&"object"===typeof e,C=e=>S(e)&&_(e.then)&&_(e.catch),M=Object.prototype.toString,A=e=>M.call(e),T=e=>{if(!S(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t.constructor===Object},E=e=>null==e?"":w(e)||T(e)&&e.toString===M?JSON.stringify(e,null,2):String(e);function L(e,t=""){return e.reduce((e,n,r)=>0===r?e+n:e+t+n,"")}const P=2;function D(e,t=0,n=e.length){const r=e.split(/\r?\n/);let a=0;const o=[];for(let i=0;i<r.length;i++)if(a+=r[i].length+1,a>=t){for(let e=i-P;e<=i+P||n>a;e++){if(e<0||e>=r.length)continue;const s=e+1;o.push(`${s}${" ".repeat(3-String(s).length)}|  ${r[e]}`);const l=r[e].length;if(e===i){const e=t-(a-l)+1,r=Math.max(1,n>a?l-e:n-t);o.push("   |  "+" ".repeat(e)+"^".repeat(r))}else if(e>i){if(n>a){const e=Math.max(Math.min(n-a,l),1);o.push("   |  "+"^".repeat(e))}a+=l+1}}break}return o.join("\n")}function N(e){let t=e;return()=>++t}function R(e,t){"undefined"!==typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const I={};function B(e){I[e]||(I[e]=!0,R(e))}function F(){const e=new Map,t={events:e,on(t,n){const r=e.get(t),a=r&&r.push(n);a||e.set(t,[n])},off(t,n){const r=e.get(t);r&&r.splice(r.indexOf(n)>>>0,1)},emit(t,n){(e.get(t)||[]).slice().map(e=>e(n)),(e.get("*")||[]).slice().map(e=>e(t,n))}};return t}const V=e=>!S(e)||w(e);function z(e,t){if(V(e)||V(t))throw new Error("Invalid value");const n=[{src:e,des:t}];while(n.length){const{src:e,des:t}=n.pop();Object.keys(e).forEach(r=>{V(e[r])||V(t[r])?t[r]=e[r]:n.push({src:e[r],des:t[r]})})}}}.call(this,n("c8ba"))},b29d:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<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(e){return"ທີ່"+e}});return t}))},b375:function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}}))},b3eb:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}var n=e.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:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},b42e:function(e,t,n){"use strict";var r=Math.ceil,a=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?a:r)(t)}},b469:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}var n=e.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:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},b50d:function(e,t,n){"use strict";var r=n("c532"),a=n("467f"),o=n("7aac"),i=n("30b5"),s=n("83b9"),l=n("c345"),c=n("3934"),u=n("cafa"),d=n("7917"),f=n("fb60"),h=n("b68a");e.exports=function(e){return new Promise((function(t,n){var p,m=e.data,v=e.headers,b=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}r.isFormData(m)&&r.isStandardBrowserEnv()&&delete v["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var O=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";v.Authorization="Basic "+btoa(O+":"+w)}var _=s(e.baseURL,e.url);function j(){if(y){var r="getAllResponseHeaders"in y?l(y.getAllResponseHeaders()):null,o=b&&"text"!==b&&"json"!==b?y.response:y.responseText,i={data:o,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};a((function(e){t(e),g()}),(function(e){n(e),g()}),i),y=null}}if(y.open(e.method.toUpperCase(),i(_,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=j:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(j)},y.onabort=function(){y&&(n(new d("Request aborted",d.ECONNABORTED,e,y)),y=null)},y.onerror=function(){n(new d("Network Error",d.ERR_NETWORK,e,y,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||u;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new d(t,r.clarifyTimeoutError?d.ETIMEDOUT:d.ECONNABORTED,e,y)),y=null},r.isStandardBrowserEnv()){var k=(e.withCredentials||c(_))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;k&&(v[e.xsrfHeaderName]=k)}"setRequestHeader"in y&&r.forEach(v,(function(e,t){"undefined"===typeof m&&"content-type"===t.toLowerCase()?delete v[t]:y.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),b&&"json"!==b&&(y.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){y&&(n(!e||e&&e.type?new f:e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),m||(m=null);var x=h(_);x&&-1===["http","https","file"].indexOf(x)?n(new d("Unsupported protocol "+x+":",d.ERR_BAD_REQUEST,e)):y.send(m)}))}},b53d:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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 t}))},b540:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}});return t}))},b5b7:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(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=e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,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:r,longMonthsParse:r,shortMonthsParse:r,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}))},b622:function(e,t,n){"use strict";var r=n("da84"),a=n("5692"),o=n("1a2d"),i=n("90e3"),s=n("04f8"),l=n("fdbf"),c=r.Symbol,u=a("wks"),d=l?c["for"]||c:c&&c.withoutSetter||i;e.exports=function(e){return o(u,e)||(u[e]=s&&o(c,e)?c[e]:d("Symbol."+e)),u[e]}},b639:function(e,t,n){"use strict";(function(e){
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <http://feross.org>
 * @license  MIT
 */
var r=n("1fb5"),a=n("9152"),o=n("e3db");function i(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=c.prototype):(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,n){if(!c.TYPED_ARRAY_SUPPORT&&!(this instanceof c))return new c(e,t,n);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return h(this,e)}return u(this,e,t,n)}function u(e,t,n,r){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?v(e,t,n,r):"string"===typeof t?p(e,t,n):b(e,t)}function d(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t,n,r){return d(t),t<=0?l(e,t):void 0!==n?"string"===typeof r?l(e,t).fill(n,r):l(e,t).fill(n):l(e,t)}function h(e,t){if(d(t),e=l(e,t<0?0:0|g(t)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function p(e,t,n){if("string"===typeof n&&""!==n||(n="utf8"),!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|O(t,n);e=l(e,r);var a=e.write(t,n);return a!==r&&(e=e.slice(0,a)),e}function m(e,t){var n=t.length<0?0:0|g(t.length);e=l(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function v(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),c.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=c.prototype):e=m(e,t),e}function b(e,t){if(c.isBuffer(t)){var n=0|g(t.length);return e=l(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||te(t.length)?l(e,0):m(e,t);if("Buffer"===t.type&&o(t.data))return m(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function g(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function y(e){return+e!=e&&(e=0),c.alloc(+e)}function O(e,t){if(c.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(e).length;default:if(r)return K(e).length;t=(""+t).toLowerCase(),r=!0}}function w(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return I(this,t,n);case"utf8":case"utf-8":return L(this,t,n);case"ascii":return N(this,t,n);case"latin1":case"binary":return R(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function _(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function j(e,t,n,r,a){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=a?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(a)return-1;n=e.length-1}else if(n<0){if(!a)return-1;n=0}if("string"===typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:k(e,t,n,r,a);if("number"===typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):k(e,[t],n,r,a);throw new TypeError("val must be string, number or Buffer")}function k(e,t,n,r,a){var o,i=1,s=e.length,l=t.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;i=2,s/=2,l/=2,n/=2}function c(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(a){var u=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===l)return u*i}else-1!==u&&(o-=o-u),u=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var d=!0,f=0;f<l;f++)if(c(e,o+f)!==c(t,f)){d=!1;break}if(d)return o}return-1}function x(e,t,n,r){n=Number(n)||0;var a=e.length-n;r?(r=Number(r),r>a&&(r=a)):r=a;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var i=0;i<r;++i){var s=parseInt(t.substr(2*i,2),16);if(isNaN(s))return i;e[n+i]=s}return i}function S(e,t,n,r){return ee(K(t,e.length-n),e,n,r)}function C(e,t,n,r){return ee(J(t),e,n,r)}function M(e,t,n,r){return C(e,t,n,r)}function A(e,t,n,r){return ee(Q(t),e,n,r)}function T(e,t,n,r){return ee(Z(t,e.length-n),e,n,r)}function E(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function L(e,t,n){n=Math.min(e.length,n);var r=[],a=t;while(a<n){var o,i,s,l,c=e[a],u=null,d=c>239?4:c>223?3:c>191?2:1;if(a+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:o=e[a+1],128===(192&o)&&(l=(31&c)<<6|63&o,l>127&&(u=l));break;case 3:o=e[a+1],i=e[a+2],128===(192&o)&&128===(192&i)&&(l=(15&c)<<12|(63&o)<<6|63&i,l>2047&&(l<55296||l>57343)&&(u=l));break;case 4:o=e[a+1],i=e[a+2],s=e[a+3],128===(192&o)&&128===(192&i)&&128===(192&s)&&(l=(15&c)<<18|(63&o)<<12|(63&i)<<6|63&s,l>65535&&l<1114112&&(u=l))}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),a+=d}return D(r)}t.Buffer=c,t.SlowBuffer=y,t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:i(),t.kMaxLength=s(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,n){return u(null,e,t,n)},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(e,t,n){return f(null,e,t,n)},c.allocUnsafe=function(e){return h(null,e)},c.allocUnsafeSlow=function(e){return h(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,a=0,o=Math.min(n,r);a<o;++a)if(e[a]!==t[a]){n=e[a],r=t[a];break}return n<r?-1:r<n?1:0},c.isEncoding=function(e){switch(String(e).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(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=c.allocUnsafe(t),a=0;for(n=0;n<e.length;++n){var i=e[n];if(!c.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,a),a+=i.length}return r},c.byteLength=O,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)_(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)_(this,t,t+3),_(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)_(this,t,t+7),_(this,t+1,t+6),_(this,t+2,t+5),_(this,t+3,t+4);return this},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?L(this,0,e):w.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},c.prototype.compare=function(e,t,n,r,a){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===a&&(a=this.length),t<0||n>e.length||r<0||a>this.length)throw new RangeError("out of range index");if(r>=a&&t>=n)return 0;if(r>=a)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,a>>>=0,this===e)return 0;for(var o=a-r,i=n-t,s=Math.min(o,i),l=this.slice(r,a),u=e.slice(t,n),d=0;d<s;++d)if(l[d]!==u[d]){o=l[d],i=u[d];break}return o<i?-1:i<o?1:0},c.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return j(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return j(this,e,t,n,!1)},c.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var a=this.length-t;if((void 0===n||n>a)&&(n=a),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return x(this,e,t,n);case"utf8":case"utf-8":return S(this,e,t,n);case"ascii":return C(this,e,t,n);case"latin1":case"binary":return M(this,e,t,n);case"base64":return A(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var P=4096;function D(e){var t=e.length;if(t<=P)return String.fromCharCode.apply(String,e);var n="",r=0;while(r<t)n+=String.fromCharCode.apply(String,e.slice(r,r+=P));return n}function N(e,t,n){var r="";n=Math.min(e.length,n);for(var a=t;a<n;++a)r+=String.fromCharCode(127&e[a]);return r}function R(e,t,n){var r="";n=Math.min(e.length,n);for(var a=t;a<n;++a)r+=String.fromCharCode(e[a]);return r}function I(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var a="",o=t;o<n;++o)a+=X(e[o]);return a}function B(e,t,n){for(var r=e.slice(t,n),a="",o=0;o<r.length;o+=2)a+=String.fromCharCode(r[o]+256*r[o+1]);return a}function F(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function V(e,t,n,r,a,o){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>a||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function z(e,t,n,r){t<0&&(t=65535+t+1);for(var a=0,o=Math.min(e.length-n,2);a<o;++a)e[n+a]=(t&255<<8*(r?a:1-a))>>>8*(r?a:1-a)}function H(e,t,n,r){t<0&&(t=4294967295+t+1);for(var a=0,o=Math.min(e.length-n,4);a<o;++a)e[n+a]=t>>>8*(r?a:3-a)&255}function Y(e,t,n,r,a,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function U(e,t,n,r,o){return o||Y(e,t,n,4,34028234663852886e22,-34028234663852886e22),a.write(e,t,n,r,23,4),n+4}function W(e,t,n,r,o){return o||Y(e,t,n,8,17976931348623157e292,-17976931348623157e292),a.write(e,t,n,r,52,8),n+8}c.prototype.slice=function(e,t){var n,r=this.length;if(e=~~e,t=void 0===t?r:~~t,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t<e&&(t=e),c.TYPED_ARRAY_SUPPORT)n=this.subarray(e,t),n.__proto__=c.prototype;else{var a=t-e;n=new c(a,void 0);for(var o=0;o<a;++o)n[o]=this[o+e]}return n},c.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);var r=this[e],a=1,o=0;while(++o<t&&(a*=256))r+=this[e+o]*a;return r},c.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);var r=this[e+--t],a=1;while(t>0&&(a*=256))r+=this[e+--t]*a;return r},c.prototype.readUInt8=function(e,t){return t||F(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||F(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||F(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||F(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||F(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);var r=this[e],a=1,o=0;while(++o<t&&(a*=256))r+=this[e+o]*a;return a*=128,r>=a&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);var r=t,a=1,o=this[e+--r];while(r>0&&(a*=256))o+=this[e+--r]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*t)),o},c.prototype.readInt8=function(e,t){return t||F(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||F(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||F(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||F(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||F(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||F(e,4,this.length),a.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||F(e,4,this.length),a.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||F(e,8,this.length),a.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||F(e,8,this.length),a.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var a=Math.pow(2,8*n)-1;V(this,e,t,n,a,0)}var o=1,i=0;this[t]=255&e;while(++i<n&&(o*=256))this[t+i]=e/o&255;return t+n},c.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var a=Math.pow(2,8*n)-1;V(this,e,t,n,a,0)}var o=n-1,i=1;this[t+o]=255&e;while(--o>=0&&(i*=256))this[t+o]=e/i&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||V(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||V(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||V(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||V(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):H(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||V(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):H(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var a=Math.pow(2,8*n-1);V(this,e,t,n,a-1,-a)}var o=0,i=1,s=0;this[t]=255&e;while(++o<n&&(i*=256))e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/i>>0)-s&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var a=Math.pow(2,8*n-1);V(this,e,t,n,a-1,-a)}var o=n-1,i=1,s=0;this[t+o]=255&e;while(--o>=0&&(i*=256))e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/i>>0)-s&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||V(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||V(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||V(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||V(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):H(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||V(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):H(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return U(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return U(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return W(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return W(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var a,o=r-n;if(this===e&&n<t&&t<r)for(a=o-1;a>=0;--a)e[a+t]=this[a+n];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(a=0;a<o;++a)e[a+t]=this[a+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},c.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),1===e.length){var a=e.charCodeAt(0);a<256&&(e=a)}if(void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(o=t;o<n;++o)this[o]=e;else{var i=c.isBuffer(e)?e:K(new c(e,r).toString()),s=i.length;for(o=0;o<n-t;++o)this[o+t]=i[o%s]}return this};var $=/[^+\/0-9A-Za-z-_]/g;function q(e){if(e=G(e).replace($,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}function G(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function X(e){return e<16?"0"+e.toString(16):e.toString(16)}function K(e,t){var n;t=t||1/0;for(var r=e.length,a=null,o=[],i=0;i<r;++i){if(n=e.charCodeAt(i),n>55295&&n<57344){if(!a){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(i+1===r){(t-=3)>-1&&o.push(239,191,189);continue}a=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),a=n;continue}n=65536+(a-55296<<10|n-56320)}else a&&(t-=3)>-1&&o.push(239,191,189);if(a=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function J(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function Z(e,t){for(var n,r,a,o=[],i=0;i<e.length;++i){if((t-=2)<0)break;n=e.charCodeAt(i),r=n>>8,a=n%256,o.push(a),o.push(r)}return o}function Q(e){return r.toByteArray(q(e))}function ee(e,t,n,r){for(var a=0;a<r;++a){if(a+n>=t.length||a>=e.length)break;t[a+n]=e[a]}return a}function te(e){return e!==e}}).call(this,n("c8ba"))},b68a:function(e,t,n){"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},b6c4:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("93b2"),a=n("0c24");const o=Object(a["a"])(r["a"])},b7e9:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},b84c:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_må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 t}))},b8ca:function(e,t,n){"use strict";n.r(t),n.d(t,"rectToClientRect",(function(){return S})),n.d(t,"arrow",(function(){return T})),n.d(t,"autoPlacement",(function(){return L})),n.d(t,"computePosition",(function(){return M})),n.d(t,"detectOverflow",(function(){return A})),n.d(t,"flip",(function(){return P})),n.d(t,"hide",(function(){return R})),n.d(t,"inline",(function(){return F})),n.d(t,"limitShift",(function(){return Y})),n.d(t,"offset",(function(){return z})),n.d(t,"shift",(function(){return H})),n.d(t,"size",(function(){return U}));const r=["top","right","bottom","left"],a=["start","end"],o=r.reduce((e,t)=>e.concat(t,t+"-"+a[0],t+"-"+a[1]),[]),i=Math.min,s=Math.max,l=(Math.round,Math.floor,{left:"right",right:"left",bottom:"top",top:"bottom"}),c={start:"end",end:"start"};function u(e,t,n){return s(e,i(t,n))}function d(e,t){return"function"===typeof e?e(t):e}function f(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function v(e){return["top","bottom"].includes(f(e))?"y":"x"}function b(e){return p(v(e))}function g(e,t,n){void 0===n&&(n=!1);const r=h(e),a=b(e),o=m(a);let i="x"===a?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=j(i)),[i,j(i)]}function y(e){const t=j(e);return[O(e),t,O(t)]}function O(e){return e.replace(/start|end/g,e=>c[e])}function w(e,t,n){const r=["left","right"],a=["right","left"],o=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?a:r:t?r:a;case"left":case"right":return t?o:i;default:return[]}}function _(e,t,n,r){const a=h(e);let o=w(f(e),"start"===n,r);return a&&(o=o.map(e=>e+"-"+a),t&&(o=o.concat(o.map(O)))),o}function j(e){return e.replace(/left|right|bottom|top/g,e=>l[e])}function k(e){return{top:0,right:0,bottom:0,left:0,...e}}function x(e){return"number"!==typeof e?k(e):{top:e,right:e,bottom:e,left:e}}function S(e){const{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,right:t+r,bottom:n+a,x:t,y:n}}function C(e,t,n){let{reference:r,floating:a}=e;const o=v(t),i=b(t),s=m(i),l=f(t),c="y"===o,u=r.x+r.width/2-a.width/2,d=r.y+r.height/2-a.height/2,p=r[s]/2-a[s]/2;let g;switch(l){case"top":g={x:u,y:r.y-a.height};break;case"bottom":g={x:u,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:d};break;case"left":g={x:r.x-a.width,y:d};break;default:g={x:r.x,y:r.y}}switch(h(t)){case"start":g[i]-=p*(n&&c?-1:1);break;case"end":g[i]+=p*(n&&c?-1:1);break}return g}const M=async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:o=[],platform:i}=n,s=o.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:u,y:d}=C(c,r,l),f=r,h={},p=0;for(let m=0;m<s.length;m++){const{name:n,fn:o}=s[m],{x:v,y:b,data:g,reset:y}=await o({x:u,y:d,initialPlacement:r,placement:f,strategy:a,middlewareData:h,rects:c,platform:i,elements:{reference:e,floating:t}});u=null!=v?v:u,d=null!=b?b:d,h={...h,[n]:{...h[n],...g}},y&&p<=50&&(p++,"object"===typeof y&&(y.placement&&(f=y.placement),y.rects&&(c=!0===y.rects?await i.getElementRects({reference:e,floating:t,strategy:a}):y.rects),({x:u,y:d}=C(c,f,l))),m=-1)}return{x:u,y:d,placement:f,strategy:a,middlewareData:h}};async function A(e,t){var n;void 0===t&&(t={});const{x:r,y:a,platform:o,rects:i,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:p=0}=d(t,e),m=x(p),v="floating"===f?"reference":"floating",b=s[h?v:f],g=S(await o.getClippingRect({element:null==(n=await(null==o.isElement?void 0:o.isElement(b)))||n?b:b.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),y="floating"===f?{x:r,y:a,width:i.floating.width,height:i.floating.height}:i.reference,O=await(null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),w=await(null==o.isElement?void 0:o.isElement(O))&&await(null==o.getScale?void 0:o.getScale(O))||{x:1,y:1},_=S(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:O,strategy:l}):y);return{top:(g.top-_.top+m.top)/w.y,bottom:(_.bottom-g.bottom+m.bottom)/w.y,left:(g.left-_.left+m.left)/w.x,right:(_.right-g.right+m.right)/w.x}}const T=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:a,rects:o,platform:s,elements:l,middlewareData:c}=t,{element:f,padding:p=0}=d(e,t)||{};if(null==f)return{};const v=x(p),g={x:n,y:r},y=b(a),O=m(y),w=await s.getDimensions(f),_="y"===y,j=_?"top":"left",k=_?"bottom":"right",S=_?"clientHeight":"clientWidth",C=o.reference[O]+o.reference[y]-g[y]-o.floating[O],M=g[y]-o.reference[y],A=await(null==s.getOffsetParent?void 0:s.getOffsetParent(f));let T=A?A[S]:0;T&&await(null==s.isElement?void 0:s.isElement(A))||(T=l.floating[S]||o.floating[O]);const E=C/2-M/2,L=T/2-w[O]/2-1,P=i(v[j],L),D=i(v[k],L),N=P,R=T-w[O]-D,I=T/2-w[O]/2+E,B=u(N,I,R),F=!c.arrow&&null!=h(a)&&I!==B&&o.reference[O]/2-(I<N?P:D)-w[O]/2<0,V=F?I<N?I-N:I-R:0;return{[y]:g[y]+V,data:{[y]:B,centerOffset:I-B-V,...F&&{alignmentOffset:V}},reset:F}}});function E(e,t,n){const r=e?[...n.filter(t=>h(t)===e),...n.filter(t=>h(t)!==e)]:n.filter(e=>f(e)===e);return r.filter(n=>!e||(h(n)===e||!!t&&O(n)!==n))}const L=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,a;const{rects:i,middlewareData:s,placement:l,platform:c,elements:u}=t,{crossAxis:p=!1,alignment:m,allowedPlacements:v=o,autoAlignment:b=!0,...y}=d(e,t),O=void 0!==m||v===o?E(m||null,b,v):v,w=await A(t,y),_=(null==(n=s.autoPlacement)?void 0:n.index)||0,j=O[_];if(null==j)return{};const k=g(j,i,await(null==c.isRTL?void 0:c.isRTL(u.floating)));if(l!==j)return{reset:{placement:O[0]}};const x=[w[f(j)],w[k[0]],w[k[1]]],S=[...(null==(r=s.autoPlacement)?void 0:r.overflows)||[],{placement:j,overflows:x}],C=O[_+1];if(C)return{data:{index:_+1,overflows:S},reset:{placement:C}};const M=S.map(e=>{const t=h(e.placement);return[e.placement,t&&p?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),T=M.filter(e=>e[2].slice(0,h(e[0])?2:3).every(e=>e<=0)),L=(null==(a=T[0])?void 0:a[0])||M[0][0];return L!==l?{data:{index:_+1,overflows:S},reset:{placement:L}}:{}}}},P=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:a,middlewareData:o,rects:i,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:h=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:b=!0,...O}=d(e,t);if(null!=(n=o.arrow)&&n.alignmentOffset)return{};const w=f(a),k=f(s)===s,x=await(null==l.isRTL?void 0:l.isRTL(c.floating)),S=p||(k||!b?[j(s)]:y(s));p||"none"===v||S.push(..._(s,b,v,x));const C=[s,...S],M=await A(t,O),T=[];let E=(null==(r=o.flip)?void 0:r.overflows)||[];if(u&&T.push(M[w]),h){const e=g(a,i,x);T.push(M[e[0]],M[e[1]])}if(E=[...E,{placement:a,overflows:T}],!T.every(e=>e<=0)){var L,P;const e=((null==(L=o.flip)?void 0:L.index)||0)+1,t=C[e];if(t)return{data:{index:e,overflows:E},reset:{placement:t}};let n=null==(P=E.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:P.placement;if(!n)switch(m){case"bestFit":{var D;const e=null==(D=E.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:D[0];e&&(n=e);break}case"initialPlacement":n=s;break}if(a!==n)return{reset:{placement:n}}}return{}}}};function D(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function N(e){return r.some(t=>e[t]>=0)}const R=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...a}=d(e,t);switch(r){case"referenceHidden":{const e=await A(t,{...a,elementContext:"reference"}),r=D(e,n.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:N(r)}}}case"escaped":{const e=await A(t,{...a,altBoundary:!0}),r=D(e,n.floating);return{data:{escapedOffsets:r,escaped:N(r)}}}default:return{}}}}};function I(e){const t=i(...e.map(e=>e.left)),n=i(...e.map(e=>e.top)),r=s(...e.map(e=>e.right)),a=s(...e.map(e=>e.bottom));return{x:t,y:n,width:r-t,height:a-n}}function B(e){const t=e.slice().sort((e,t)=>e.y-t.y),n=[];let r=null;for(let a=0;a<t.length;a++){const e=t[a];!r||e.y-r.y>r.height/2?n.push([e]):n[n.length-1].push(e),r=e}return n.map(e=>S(I(e)))}const F=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:r,rects:a,platform:o,strategy:l}=t,{padding:c=2,x:u,y:h}=d(e,t),p=Array.from(await(null==o.getClientRects?void 0:o.getClientRects(r.reference))||[]),m=B(p),b=S(I(p)),g=x(c);function y(){if(2===m.length&&m[0].left>m[1].right&&null!=u&&null!=h)return m.find(e=>u>e.left-g.left&&u<e.right+g.right&&h>e.top-g.top&&h<e.bottom+g.bottom)||b;if(m.length>=2){if("y"===v(n)){const e=m[0],t=m[m.length-1],r="top"===f(n),a=e.top,o=t.bottom,i=r?e.left:t.left,s=r?e.right:t.right,l=s-i,c=o-a;return{top:a,bottom:o,left:i,right:s,width:l,height:c,x:i,y:a}}const e="left"===f(n),t=s(...m.map(e=>e.right)),r=i(...m.map(e=>e.left)),a=m.filter(n=>e?n.left===r:n.right===t),o=a[0].top,l=a[a.length-1].bottom,c=r,u=t,d=u-c,h=l-o;return{top:o,bottom:l,left:c,right:u,width:d,height:h,x:c,y:o}}return b}const O=await o.getElementRects({reference:{getBoundingClientRect:y},floating:r.floating,strategy:l});return a.reference.x!==O.reference.x||a.reference.y!==O.reference.y||a.reference.width!==O.reference.width||a.reference.height!==O.reference.height?{reset:{rects:O}}:{}}}};async function V(e,t){const{placement:n,platform:r,elements:a}=e,o=await(null==r.isRTL?void 0:r.isRTL(a.floating)),i=f(n),s=h(n),l="y"===v(n),c=["left","top"].includes(i)?-1:1,u=o&&l?-1:1,p=d(t,e);let{mainAxis:m,crossAxis:b,alignmentAxis:g}="number"===typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return s&&"number"===typeof g&&(b="end"===s?-1*g:g),l?{x:b*u,y:m*c}:{x:m*c,y:b*u}}const z=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:a,y:o,placement:i,middlewareData:s}=t,l=await V(t,e);return i===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:a+l.x,y:o+l.y,data:{...l,placement:i}}}}},H=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:a}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=d(e,t),c={x:n,y:r},h=await A(t,l),m=v(f(a)),b=p(m);let g=c[b],y=c[m];if(o){const e="y"===b?"top":"left",t="y"===b?"bottom":"right",n=g+h[e],r=g-h[t];g=u(n,g,r)}if(i){const e="y"===m?"top":"left",t="y"===m?"bottom":"right",n=y+h[e],r=y-h[t];y=u(n,y,r)}const O=s.fn({...t,[b]:g,[m]:y});return{...O,data:{x:O.x-n,y:O.y-r}}}}},Y=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:a,rects:o,middlewareData:i}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=d(e,t),u={x:n,y:r},h=v(a),m=p(h);let b=u[m],g=u[h];const y=d(s,t),O="number"===typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(l){const e="y"===m?"height":"width",t=o.reference[m]-o.floating[e]+O.mainAxis,n=o.reference[m]+o.reference[e]-O.mainAxis;b<t?b=t:b>n&&(b=n)}if(c){var w,_;const e="y"===m?"width":"height",t=["top","left"].includes(f(a)),n=o.reference[h]-o.floating[e]+(t&&(null==(w=i.offset)?void 0:w[h])||0)+(t?0:O.crossAxis),r=o.reference[h]+o.reference[e]+(t?0:(null==(_=i.offset)?void 0:_[h])||0)-(t?O.crossAxis:0);g<n?g=n:g>r&&(g=r)}return{[m]:b,[h]:g}}}},U=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:a,elements:o}=t,{apply:l=(()=>{}),...c}=d(e,t),u=await A(t,c),p=f(n),m=h(n),b="y"===v(n),{width:g,height:y}=r.floating;let O,w;"top"===p||"bottom"===p?(O=p,w=m===(await(null==a.isRTL?void 0:a.isRTL(o.floating))?"start":"end")?"left":"right"):(w=p,O="end"===m?"top":"bottom");const _=y-u.top-u.bottom,j=g-u.left-u.right,k=i(y-u[O],_),x=i(g-u[w],j),S=!t.middlewareData.shift;let C=k,M=x;if(b?M=m||S?i(x,j):j:C=m||S?i(k,_):_,S&&!m){const e=s(u.left,0),t=s(u.right,0),n=s(u.top,0),r=s(u.bottom,0);b?M=g-2*(0!==e||0!==t?e+t:s(u.left,u.right)):C=y-2*(0!==n||0!==r?n+r:s(u.top,u.bottom))}await l({...t,availableWidth:M,availableHeight:C});const T=await a.getDimensions(o.floating);return g!==T.width||y!==T.height?{reset:{rects:!0}}:{}}}}},b97c:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={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 n(e,t,n){return n?t%10===1&&t%100!==11?e[2]:e[3]:t%10===1&&t%100!==11?e[0]:e[1]}function r(e,r,a){return e+" "+n(t[a],e,r)}function a(e,r,a){return n(t[a],e,r)}function o(e,t){return t?"dažas sekundes":"dažām sekundēm"}var i=e.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:r,m:a,mm:r,h:a,hh:r,d:a,dd:r,M:a,MM:r,y:a,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return i}))},b980:function(e,t,n){"use strict";var r=n("d039"),a=n("5c6c");e.exports=!r((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",a(1,7)),7!==e.stack)}))},bb71:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}var n=e.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:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},bc3a:function(e,t,n){e.exports=n("cee4")},bd7d:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toMsFilter=void 0;var r=n("d756"),a=n("740b");function o(e,t){var n=new a.TinyColor(e),o="#"+(0,r.rgbaToArgbHex)(n.r,n.g,n.b,n.a),i=o,s=n.gradientType?"GradientType = 1, ":"";if(t){var l=new a.TinyColor(t);i="#"+(0,r.rgbaToArgbHex)(l.r,l.g,l.b,l.a)}return"progid:DXImageTransform.Microsoft.gradient(".concat(s,"startColorstr=").concat(o,",endColorstr=").concat(i,")")}t.toMsFilter=o},bfce:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a}));var r=n("d095");const a=e=>Object.keys(e),o=e=>Object.entries(e),i=(e,t,n)=>({get value(){return Object(r["get"])(e,t,n)},set value(n){Object(r["set"])(e,t,n)}})},c04e:function(e,t,n){"use strict";var r=n("c65b"),a=n("861d"),o=n("d9b5"),i=n("dc4a"),s=n("485a"),l=n("b622"),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!a(e)||o(e))return e;var n,l=i(e,u);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!a(n)||o(n))return n;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},c109:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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 t}))},c1dc:function(e,t,n){"use strict";(function(e){
/*!
  * shared v9.13.1
  * (c) 2024 kazuya kawaguchi
  * Released under the MIT License.
  */
const n="undefined"!==typeof window;let r,a;const o=/\{([0-9a-zA-Z]+)\}/g;function i(e,...t){return 1===t.length&&x(t[0])&&(t=t[0]),t&&t.hasOwnProperty||(t={}),e.replace(o,(e,n)=>t.hasOwnProperty(n)?t[n]:"")}const s=(e,t=!1)=>t?Symbol.for(e):Symbol(e),l=(e,t,n)=>c({l:e,k:t,s:n}),c=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),u=e=>"number"===typeof e&&isFinite(e),d=e=>"[object Date]"===M(e),f=e=>"[object RegExp]"===M(e),h=e=>A(e)&&0===Object.keys(e).length,p=Object.assign;let m;const v=()=>m||(m="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof e?e:{});function b(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const g=Object.prototype.hasOwnProperty;function y(e,t){return g.call(e,t)}const O=Array.isArray,w=e=>"function"===typeof e,_=e=>"string"===typeof e,j=e=>"boolean"===typeof e,k=e=>"symbol"===typeof e,x=e=>null!==e&&"object"===typeof e,S=e=>x(e)&&w(e.then)&&w(e.catch),C=Object.prototype.toString,M=e=>C.call(e),A=e=>{if(!x(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t.constructor===Object},T=e=>null==e?"":O(e)||A(e)&&e.toString===C?JSON.stringify(e,null,2):String(e);function E(e,t=""){return e.reduce((e,n,r)=>0===r?e+n:e+t+n,"")}const L=2;function P(e,t=0,n=e.length){const r=e.split(/\r?\n/);let a=0;const o=[];for(let i=0;i<r.length;i++)if(a+=r[i].length+1,a>=t){for(let e=i-L;e<=i+L||n>a;e++){if(e<0||e>=r.length)continue;const s=e+1;o.push(`${s}${" ".repeat(3-String(s).length)}|  ${r[e]}`);const l=r[e].length;if(e===i){const e=t-(a-l)+1,r=Math.max(1,n>a?l-e:n-t);o.push("   |  "+" ".repeat(e)+"^".repeat(r))}else if(e>i){if(n>a){const e=Math.max(Math.min(n-a,l),1);o.push("   |  "+"^".repeat(e))}a+=l+1}}break}return o.join("\n")}function D(e){let t=e;return()=>++t}function N(e,t){"undefined"!==typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const R={};function I(e){R[e]||(R[e]=!0,N(e))}function B(){const e=new Map,t={events:e,on(t,n){const r=e.get(t),a=r&&r.push(n);a||e.set(t,[n])},off(t,n){const r=e.get(t);r&&r.splice(r.indexOf(n)>>>0,1)},emit(t,n){(e.get(t)||[]).slice().map(e=>e(n)),(e.get("*")||[]).slice().map(e=>e(t,n))}};return t}const F=e=>!x(e)||O(e);function V(e,t){if(F(e)||F(t))throw new Error("Invalid value");const n=[{src:e,des:t}];while(n.length){const{src:e,des:t}=n.pop();Object.keys(e).forEach(r=>{F(e[r])||F(t[r])?t[r]=e[r]:n.push({src:e[r],des:t[r]})})}}t.assign=p,t.createEmitter=B,t.deepCopy=V,t.escapeHtml=b,t.format=i,t.friendlyJSONstringify=c,t.generateCodeFrame=P,t.generateFormatCacheKey=l,t.getGlobalThis=v,t.hasOwn=y,t.inBrowser=n,t.incrementer=D,t.isArray=O,t.isBoolean=j,t.isDate=d,t.isEmptyObject=h,t.isFunction=w,t.isNumber=u,t.isObject=x,t.isPlainObject=A,t.isPromise=S,t.isRegExp=f,t.isString=_,t.isSymbol=k,t.join=E,t.makeSymbol=s,t.mark=r,t.measure=a,t.objectToString=C,t.toDisplayString=T,t.toTypeString=M,t.warn=N,t.warnOnce=I}).call(this,n("c8ba"))},c1df:function(e,t,n){(function(e){var t;//! moment.js
//! version : 2.30.1
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
(function(t,n){e.exports=n()})(0,(function(){"use strict";var r,a;function o(){return r.apply(null,arguments)}function i(e){r=e}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function l(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(c(e,t))return!1;return!0}function d(e){return void 0===e}function f(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function p(e,t){var n,r=[],a=e.length;for(n=0;n<a;++n)r.push(t(e[n],n));return r}function m(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function v(e,t,n,r){return Kn(e,t,n,r,!0).utc()}function b(){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 g(e){return null==e._pf&&(e._pf=b()),e._pf}function y(e){var t=null,n=!1,r=e._d&&!isNaN(e._d.getTime());return r&&(t=g(e),n=a.call(t.parsedDateParts,(function(e){return null!=e})),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?r:(e._isValid=r,e._isValid)}function O(e){var t=v(NaN);return null!=e?m(g(t),e):g(t).userInvalidated=!0,t}a=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var w=o.momentProperties=[],_=!1;function j(e,t){var n,r,a,o=w.length;if(d(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),d(t._i)||(e._i=t._i),d(t._f)||(e._f=t._f),d(t._l)||(e._l=t._l),d(t._strict)||(e._strict=t._strict),d(t._tzm)||(e._tzm=t._tzm),d(t._isUTC)||(e._isUTC=t._isUTC),d(t._offset)||(e._offset=t._offset),d(t._pf)||(e._pf=g(t)),d(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)r=w[n],a=t[r],d(a)||(e[r]=a);return e}function k(e){j(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===_&&(_=!0,o.updateOffset(this),_=!1)}function x(e){return e instanceof k||null!=e&&null!=e._isAMomentObject}function S(e){!1===o.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function C(e,t){var n=!0;return m((function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,e),n){var r,a,i,s=[],l=arguments.length;for(a=0;a<l;a++){if(r="","object"===typeof arguments[a]){for(i in r+="\n["+a+"] ",arguments[0])c(arguments[0],i)&&(r+=i+": "+arguments[0][i]+", ");r=r.slice(0,-2)}else r=arguments[a];s.push(r)}S(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var M,A={};function T(e,t){null!=o.deprecationHandler&&o.deprecationHandler(e,t),A[e]||(S(t),A[e]=!0)}function E(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function L(e){var t,n;for(n in e)c(e,n)&&(t=e[n],E(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function P(e,t){var n,r=m({},e);for(n in t)c(t,n)&&(l(e[n])&&l(t[n])?(r[n]={},m(r[n],e[n]),m(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)c(e,n)&&!c(t,n)&&l(e[n])&&(r[n]=m({},r[n]));return r}function D(e){null!=e&&this.set(e)}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,M=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var N={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function R(e,t,n){var r=this._calendar[e]||this._calendar["sameElse"];return E(r)?r.call(t,n):r}function I(e,t,n){var r=""+Math.abs(e),a=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var B=/(\[[^\[]*\])|(\\)?([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,V={},z={};function H(e,t,n,r){var a=r;"string"===typeof r&&(a=function(){return this[r]()}),e&&(z[e]=a),t&&(z[t[0]]=function(){return I(a.apply(this,arguments),t[1],t[2])}),n&&(z[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function Y(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,r=e.match(B);for(t=0,n=r.length;t<n;t++)z[r[t]]?r[t]=z[r[t]]:r[t]=Y(r[t]);return function(t){var a,o="";for(a=0;a<n;a++)o+=E(r[a])?r[a].call(t,e):r[a];return o}}function W(e,t){return e.isValid()?(t=$(t,e.localeData()),V[t]=V[t]||U(t),V[t](e)):e.localeData().invalidDate()}function $(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}F.lastIndex=0;while(n>=0&&F.test(e))e=e.replace(F,r),F.lastIndex=0,n-=1;return e}var q={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 G(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(B).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var X="Invalid date";function K(){return this._invalidDate}var J="%d",Z=/\d{1,2}/;function Q(e){return this._ordinal.replace("%d",e)}var ee={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 te(e,t,n,r){var a=this._relativeTime[n];return E(a)?a(e,t,n,r):a.replace(/%d/i,e)}function ne(e,t){var n=this._relativeTime[e>0?"future":"past"];return E(n)?n(t):n.replace(/%s/i,t)}var re={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 ae(e){return"string"===typeof e?re[e]||re[e.toLowerCase()]:void 0}function oe(e){var t,n,r={};for(n in e)c(e,n)&&(t=ae(n),t&&(r[t]=e[n]));return r}var ie={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 se(e){var t,n=[];for(t in e)c(e,t)&&n.push({unit:t,priority:ie[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}var le,ce=/\d/,ue=/\d\d/,de=/\d{3}/,fe=/\d{4}/,he=/[+-]?\d{6}/,pe=/\d\d?/,me=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,be=/\d{1,3}/,ge=/\d{1,4}/,ye=/[+-]?\d{1,6}/,Oe=/\d+/,we=/[+-]?\d+/,_e=/Z|[+-]\d\d:?\d\d/gi,je=/Z|[+-]\d\d(?::?\d\d)?/gi,ke=/[+-]?\d+(\.\d{1,3})?/,xe=/[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,Se=/^[1-9]\d?/,Ce=/^([1-9]\d|\d)/;function Me(e,t,n){le[e]=E(t)?t:function(e,r){return e&&n?n:t}}function Ae(e,t){return c(le,e)?le[e](t._strict,t._locale):new RegExp(Te(e))}function Te(e){return Ee(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,a){return t||n||r||a})))}function Ee(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Le(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Pe(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Le(t)),n}le={};var De={};function Ne(e,t){var n,r,a=t;for("string"===typeof e&&(e=[e]),f(t)&&(a=function(e,n){n[t]=Pe(e)}),r=e.length,n=0;n<r;n++)De[e[n]]=a}function Re(e,t){Ne(e,(function(e,n,r,a){r._w=r._w||{},t(e,r._w,r,a)}))}function Ie(e,t,n){null!=t&&c(De,e)&&De[e](t,n._a,n,e)}function Be(e){return e%4===0&&e%100!==0||e%400===0}var Fe=0,Ve=1,ze=2,He=3,Ye=4,Ue=5,We=6,$e=7,qe=8;function Ge(e){return Be(e)?366:365}H("Y",0,0,(function(){var e=this.year();return e<=9999?I(e,4):"+"+e})),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"),Me("Y",we),Me("YY",pe,ue),Me("YYYY",ge,fe),Me("YYYYY",ye,he),Me("YYYYYY",ye,he),Ne(["YYYYY","YYYYYY"],Fe),Ne("YYYY",(function(e,t){t[Fe]=2===e.length?o.parseTwoDigitYear(e):Pe(e)})),Ne("YY",(function(e,t){t[Fe]=o.parseTwoDigitYear(e)})),Ne("Y",(function(e,t){t[Fe]=parseInt(e,10)})),o.parseTwoDigitYear=function(e){return Pe(e)+(Pe(e)>68?1900:2e3)};var Xe,Ke=Ze("FullYear",!0);function Je(){return Be(this.year())}function Ze(e,t){return function(n){return null!=n?(et(this,e,n),o.updateOffset(this,t),this):Qe(this,e)}}function Qe(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function et(e,t,n){var r,a,o,i,s;if(e.isValid()&&!isNaN(n)){switch(r=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(a?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(a?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(a?r.setUTCHours(n):r.setHours(n));case"Date":return void(a?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}o=n,i=e.month(),s=e.date(),s=29!==s||1!==i||Be(o)?s:28,a?r.setUTCFullYear(o,i,s):r.setFullYear(o,i,s)}}function tt(e){return e=ae(e),E(this[e])?this[e]():this}function nt(e,t){if("object"===typeof e){e=oe(e);var n,r=se(e),a=r.length;for(n=0;n<a;n++)this[r[n].unit](e[r[n].unit])}else if(e=ae(e),E(this[e]))return this[e](t);return this}function rt(e,t){return(e%t+t)%t}function at(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=rt(t,12);return e+=(t-n)/12,1===n?Be(e)?29:28:31-n%7%2}Xe=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},H("M",["MM",2],"Mo",(function(){return this.month()+1})),H("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),H("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),Me("M",pe,Se),Me("MM",pe,ue),Me("MMM",(function(e,t){return t.monthsShortRegex(e)})),Me("MMMM",(function(e,t){return t.monthsRegex(e)})),Ne(["M","MM"],(function(e,t){t[Ve]=Pe(e)-1})),Ne(["MMM","MMMM"],(function(e,t,n,r){var a=n._locale.monthsParse(e,r,n._strict);null!=a?t[Ve]=a:g(n).invalidMonth=e}));var ot="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),it="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),st=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,lt=xe,ct=xe;function ut(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||st).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months["standalone"]}function dt(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[st.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"]}function ft(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=v([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?(a=Xe.call(this._shortMonthsParse,i),-1!==a?a:null):(a=Xe.call(this._longMonthsParse,i),-1!==a?a:null):"MMM"===t?(a=Xe.call(this._shortMonthsParse,i),-1!==a?a:(a=Xe.call(this._longMonthsParse,i),-1!==a?a:null)):(a=Xe.call(this._longMonthsParse,i),-1!==a?a:(a=Xe.call(this._shortMonthsParse,i),-1!==a?a:null))}function ht(e,t,n){var r,a,o;if(this._monthsParseExact)return ft.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=v([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function pt(e,t){if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=Pe(t);else if(t=e.localeData().monthsParse(t),!f(t))return e;var n=t,r=e.date();return r=r<29?r:Math.min(r,at(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function mt(e){return null!=e?(pt(this,e),o.updateOffset(this,!0),this):Qe(this,"Month")}function vt(){return at(this.year(),this.month())}function bt(e){return this._monthsParseExact?(c(this,"_monthsRegex")||yt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=lt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function gt(e){return this._monthsParseExact?(c(this,"_monthsRegex")||yt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=ct),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function yt(){function e(e,t){return t.length-e.length}var t,n,r,a,o=[],i=[],s=[];for(t=0;t<12;t++)n=v([2e3,t]),r=Ee(this.monthsShort(n,"")),a=Ee(this.months(n,"")),o.push(r),i.push(a),s.push(a),s.push(r);o.sort(e),i.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Ot(e,t,n,r,a,o,i){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,a,o,i),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,o,i),s}function wt(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function _t(e,t,n){var r=7+t-n,a=(7+wt(e,0,r).getUTCDay()-t)%7;return-a+r-1}function jt(e,t,n,r,a){var o,i,s=(7+n-r)%7,l=_t(e,r,a),c=1+7*(t-1)+s+l;return c<=0?(o=e-1,i=Ge(o)+c):c>Ge(e)?(o=e+1,i=c-Ge(e)):(o=e,i=c),{year:o,dayOfYear:i}}function kt(e,t,n){var r,a,o=_t(e.year(),t,n),i=Math.floor((e.dayOfYear()-o-1)/7)+1;return i<1?(a=e.year()-1,r=i+xt(a,t,n)):i>xt(e.year(),t,n)?(r=i-xt(e.year(),t,n),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function xt(e,t,n){var r=_t(e,t,n),a=_t(e+1,t,n);return(Ge(e)-r+a)/7}function St(e){return kt(e,this._week.dow,this._week.doy).week}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),Me("w",pe,Se),Me("ww",pe,ue),Me("W",pe,Se),Me("WW",pe,ue),Re(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=Pe(e)}));var Ct={dow:0,doy:6};function Mt(){return this._week.dow}function At(){return this._week.doy}function Tt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Et(e){var t=kt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Lt(e,t){return"string"!==typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"===typeof e?e:null):parseInt(e,10)}function Pt(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Dt(e,t){return e.slice(t,7).concat(e.slice(0,t))}H("d",0,"do","day"),H("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),H("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),H("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),H("e",0,0,"weekday"),H("E",0,0,"isoWeekday"),Me("d",pe),Me("e",pe),Me("E",pe),Me("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Me("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Me("dddd",(function(e,t){return t.weekdaysRegex(e)})),Re(["dd","ddd","dddd"],(function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);null!=a?t.d=a:g(n).invalidWeekday=e})),Re(["d","e","E"],(function(e,t,n,r){t[r]=Pe(e)}));var Nt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Rt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),It="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Bt=xe,Ft=xe,Vt=xe;function zt(e,t){var n=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Dt(n,this._week.dow):e?n[e.day()]:n}function Ht(e){return!0===e?Dt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Yt(e){return!0===e?Dt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ut(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=v([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(a=Xe.call(this._weekdaysParse,i),-1!==a?a:null):"ddd"===t?(a=Xe.call(this._shortWeekdaysParse,i),-1!==a?a:null):(a=Xe.call(this._minWeekdaysParse,i),-1!==a?a:null):"dddd"===t?(a=Xe.call(this._weekdaysParse,i),-1!==a?a:(a=Xe.call(this._shortWeekdaysParse,i),-1!==a?a:(a=Xe.call(this._minWeekdaysParse,i),-1!==a?a:null))):"ddd"===t?(a=Xe.call(this._shortWeekdaysParse,i),-1!==a?a:(a=Xe.call(this._weekdaysParse,i),-1!==a?a:(a=Xe.call(this._minWeekdaysParse,i),-1!==a?a:null))):(a=Xe.call(this._minWeekdaysParse,i),-1!==a?a:(a=Xe.call(this._weekdaysParse,i),-1!==a?a:(a=Xe.call(this._shortWeekdaysParse,i),-1!==a?a:null)))}function Wt(e,t,n){var r,a,o;if(this._weekdaysParseExact)return Ut.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=v([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function $t(e){if(!this.isValid())return null!=e?this:NaN;var t=Qe(this,"Day");return null!=e?(e=Lt(e,this.localeData()),this.add(e-t,"d")):t}function qt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Gt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Pt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Xt(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Bt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Kt(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ft),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Jt(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Vt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Zt(){function e(e,t){return t.length-e.length}var t,n,r,a,o,i=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=v([2e3,1]).day(t),r=Ee(this.weekdaysMin(n,"")),a=Ee(this.weekdaysShort(n,"")),o=Ee(this.weekdays(n,"")),i.push(r),s.push(a),l.push(o),c.push(r),c.push(a),c.push(o);i.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Qt(){return this.hours()%12||12}function en(){return this.hours()||24}function tn(e,t){H(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function nn(e,t){return t._meridiemParse}function rn(e){return"p"===(e+"").toLowerCase().charAt(0)}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,Qt),H("k",["kk",2],0,en),H("hmm",0,0,(function(){return""+Qt.apply(this)+I(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+Qt.apply(this)+I(this.minutes(),2)+I(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+I(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+I(this.minutes(),2)+I(this.seconds(),2)})),tn("a",!0),tn("A",!1),Me("a",nn),Me("A",nn),Me("H",pe,Ce),Me("h",pe,Se),Me("k",pe,Se),Me("HH",pe,ue),Me("hh",pe,ue),Me("kk",pe,ue),Me("hmm",me),Me("hmmss",ve),Me("Hmm",me),Me("Hmmss",ve),Ne(["H","HH"],He),Ne(["k","kk"],(function(e,t,n){var r=Pe(e);t[He]=24===r?0:r})),Ne(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Ne(["h","hh"],(function(e,t,n){t[He]=Pe(e),g(n).bigHour=!0})),Ne("hmm",(function(e,t,n){var r=e.length-2;t[He]=Pe(e.substr(0,r)),t[Ye]=Pe(e.substr(r)),g(n).bigHour=!0})),Ne("hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[He]=Pe(e.substr(0,r)),t[Ye]=Pe(e.substr(r,2)),t[Ue]=Pe(e.substr(a)),g(n).bigHour=!0})),Ne("Hmm",(function(e,t,n){var r=e.length-2;t[He]=Pe(e.substr(0,r)),t[Ye]=Pe(e.substr(r))})),Ne("Hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[He]=Pe(e.substr(0,r)),t[Ye]=Pe(e.substr(r,2)),t[Ue]=Pe(e.substr(a))}));var an=/[ap]\.?m?\.?/i,on=Ze("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var ln,cn={calendar:N,longDateFormat:q,invalidDate:X,ordinal:J,dayOfMonthOrdinalParse:Z,relativeTime:ee,months:ot,monthsShort:it,week:Ct,weekdays:Nt,weekdaysMin:It,weekdaysShort:Rt,meridiemParse:an},un={},dn={};function fn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function hn(e){return e?e.toLowerCase().replace("_","-"):e}function pn(e){var t,n,r,a,o=0;while(o<e.length){a=hn(e[o]).split("-"),t=a.length,n=hn(e[o+1]),n=n?n.split("-"):null;while(t>0){if(r=vn(a.slice(0,t).join("-")),r)return r;if(n&&n.length>=t&&fn(a,n)>=t-1)break;t--}o++}return ln}function mn(e){return!(!e||!e.match("^[^/\\\\]*$"))}function vn(r){var a=null;if(void 0===un[r]&&"undefined"!==typeof e&&e&&e.exports&&mn(r))try{a=ln._abbr,t,n("4678")("./"+r),bn(a)}catch(o){un[r]=null}return un[r]}function bn(e,t){var n;return e&&(n=d(t)?On(e):gn(e,t),n?ln=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ln._abbr}function gn(e,t){if(null!==t){var n,r=cn;if(t.abbr=e,null!=un[e])T("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."),r=un[e]._config;else if(null!=t.parentLocale)if(null!=un[t.parentLocale])r=un[t.parentLocale]._config;else{if(n=vn(t.parentLocale),null==n)return dn[t.parentLocale]||(dn[t.parentLocale]=[]),dn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return un[e]=new D(P(r,t)),dn[e]&&dn[e].forEach((function(e){gn(e.name,e.config)})),bn(e),un[e]}return delete un[e],null}function yn(e,t){if(null!=t){var n,r,a=cn;null!=un[e]&&null!=un[e].parentLocale?un[e].set(P(un[e]._config,t)):(r=vn(e),null!=r&&(a=r._config),t=P(a,t),null==r&&(t.abbr=e),n=new D(t),n.parentLocale=un[e],un[e]=n),bn(e)}else null!=un[e]&&(null!=un[e].parentLocale?(un[e]=un[e].parentLocale,e===bn()&&bn(e)):null!=un[e]&&delete un[e]);return un[e]}function On(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ln;if(!s(e)){if(t=vn(e),t)return t;e=[e]}return pn(e)}function wn(){return M(un)}function _n(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[Ve]<0||n[Ve]>11?Ve:n[ze]<1||n[ze]>at(n[Fe],n[Ve])?ze:n[He]<0||n[He]>24||24===n[He]&&(0!==n[Ye]||0!==n[Ue]||0!==n[We])?He:n[Ye]<0||n[Ye]>59?Ye:n[Ue]<0||n[Ue]>59?Ue:n[We]<0||n[We]>999?We:-1,g(e)._overflowDayOfYear&&(t<Fe||t>ze)&&(t=ze),g(e)._overflowWeeks&&-1===t&&(t=$e),g(e)._overflowWeekday&&-1===t&&(t=qe),g(e).overflow=t),e}var jn=/^\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)?)?$/,kn=/^\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)?)?$/,xn=/Z|[+-]\d\d(?::?\d\d)?/,Sn=[["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]],Cn=[["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/]],Mn=/^\/?Date\((-?\d+)/i,An=/^(?:(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}))$/,Tn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(e){var t,n,r,a,o,i,s=e._i,l=jn.exec(s)||kn.exec(s),c=Sn.length,u=Cn.length;if(l){for(g(e).iso=!0,t=0,n=c;t<n;t++)if(Sn[t][1].exec(l[1])){a=Sn[t][0],r=!1!==Sn[t][2];break}if(null==a)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(Cn[t][1].exec(l[3])){o=(l[2]||" ")+Cn[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(l[4]){if(!xn.exec(l[4]))return void(e._isValid=!1);i="Z"}e._f=a+(o||"")+(i||""),Yn(e)}else e._isValid=!1}function Ln(e,t,n,r,a,o){var i=[Pn(e),it.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return o&&i.push(parseInt(o,10)),i}function Pn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Dn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Nn(e,t,n){if(e){var r=Rt.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(r!==a)return g(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function Rn(e,t,n){if(e)return Tn[e];if(t)return 0;var r=parseInt(n,10),a=r%100,o=(r-a)/100;return 60*o+a}function In(e){var t,n=An.exec(Dn(e._i));if(n){if(t=Ln(n[4],n[3],n[2],n[5],n[6],n[7]),!Nn(n[1],t,e))return;e._a=t,e._tzm=Rn(n[8],n[9],n[10]),e._d=wt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}function Bn(e){var t=Mn.exec(e._i);null===t?(En(e),!1===e._isValid&&(delete e._isValid,In(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:o.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Fn(e,t,n){return null!=e?e:null!=t?t:n}function Vn(e){var t=new Date(o.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function zn(e){var t,n,r,a,o,i=[];if(!e._d){for(r=Vn(e),e._w&&null==e._a[ze]&&null==e._a[Ve]&&Hn(e),null!=e._dayOfYear&&(o=Fn(e._a[Fe],r[Fe]),(e._dayOfYear>Ge(o)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=wt(o,0,e._dayOfYear),e._a[Ve]=n.getUTCMonth(),e._a[ze]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=i[t]=r[t];for(;t<7;t++)e._a[t]=i[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[He]&&0===e._a[Ye]&&0===e._a[Ue]&&0===e._a[We]&&(e._nextDay=!0,e._a[He]=0),e._d=(e._useUTC?wt:Ot).apply(null,i),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[He]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==a&&(g(e).weekdayMismatch=!0)}}function Hn(e){var t,n,r,a,o,i,s,l,c;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,i=4,n=Fn(t.GG,e._a[Fe],kt(Jn(),1,4).year),r=Fn(t.W,1),a=Fn(t.E,1),(a<1||a>7)&&(l=!0)):(o=e._locale._week.dow,i=e._locale._week.doy,c=kt(Jn(),o,i),n=Fn(t.gg,e._a[Fe],c.year),r=Fn(t.w,c.week),null!=t.d?(a=t.d,(a<0||a>6)&&(l=!0)):null!=t.e?(a=t.e+o,(t.e<0||t.e>6)&&(l=!0)):a=o),r<1||r>xt(n,o,i)?g(e)._overflowWeeks=!0:null!=l?g(e)._overflowWeekday=!0:(s=jt(n,r,a,o,i),e._a[Fe]=s.year,e._dayOfYear=s.dayOfYear)}function Yn(e){if(e._f!==o.ISO_8601)if(e._f!==o.RFC_2822){e._a=[],g(e).empty=!0;var t,n,r,a,i,s,l,c=""+e._i,u=c.length,d=0;for(r=$(e._f,e._locale).match(B)||[],l=r.length,t=0;t<l;t++)a=r[t],n=(c.match(Ae(a,e))||[])[0],n&&(i=c.substr(0,c.indexOf(n)),i.length>0&&g(e).unusedInput.push(i),c=c.slice(c.indexOf(n)+n.length),d+=n.length),z[a]?(n?g(e).empty=!1:g(e).unusedTokens.push(a),Ie(a,n,e)):e._strict&&!n&&g(e).unusedTokens.push(a);g(e).charsLeftOver=u-d,c.length>0&&g(e).unusedInput.push(c),e._a[He]<=12&&!0===g(e).bigHour&&e._a[He]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[He]=Un(e._locale,e._a[He],e._meridiem),s=g(e).era,null!==s&&(e._a[Fe]=e._locale.erasConvertYear(s,e._a[Fe])),zn(e),_n(e)}else In(e);else En(e)}function Un(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Wn(e){var t,n,r,a,o,i,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;a<l;a++)o=0,i=!1,t=j({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],Yn(t),y(t)&&(i=!0),o+=g(t).charsLeftOver,o+=10*g(t).unusedTokens.length,g(t).score=o,s?o<r&&(r=o,n=t):(null==r||o<r||i)&&(r=o,n=t,i&&(s=!0));m(e,n||t)}function $n(e){if(!e._d){var t=oe(e._i),n=void 0===t.day?t.date:t.day;e._a=p([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),zn(e)}}function qn(e){var t=new k(_n(Gn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Gn(e){var t=e._i,n=e._f;return e._locale=e._locale||On(e._l),null===t||void 0===n&&""===t?O({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new k(_n(t)):(h(t)?e._d=t:s(n)?Wn(e):n?Yn(e):Xn(e),y(e)||(e._d=null),e))}function Xn(e){var t=e._i;d(t)?e._d=new Date(o.now()):h(t)?e._d=new Date(t.valueOf()):"string"===typeof t?Bn(e):s(t)?(e._a=p(t.slice(0),(function(e){return parseInt(e,10)})),zn(e)):l(t)?$n(e):f(t)?e._d=new Date(t):o.createFromInputFallback(e)}function Kn(e,t,n,r,a){var o={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(l(e)&&u(e)||s(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=a,o._l=n,o._i=e,o._f=t,o._strict=r,qn(o)}function Jn(e,t,n,r){return Kn(e,t,n,r,!1)}o.createFromInputFallback=C("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(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),o.ISO_8601=function(){},o.RFC_2822=function(){};var Zn=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Jn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:O()})),Qn=C("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Jn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:O()}));function er(e,t){var n,r;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return Jn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function tr(){var e=[].slice.call(arguments,0);return er("isBefore",e)}function nr(){var e=[].slice.call(arguments,0);return er("isAfter",e)}var rr=function(){return Date.now?Date.now():+new Date},ar=["year","quarter","month","week","day","hour","minute","second","millisecond"];function or(e){var t,n,r=!1,a=ar.length;for(t in e)if(c(e,t)&&(-1===Xe.call(ar,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<a;++n)if(e[ar[n]]){if(r)return!1;parseFloat(e[ar[n]])!==Pe(e[ar[n]])&&(r=!0)}return!0}function ir(){return this._isValid}function sr(){return Tr(NaN)}function lr(e){var t=oe(e),n=t.year||0,r=t.quarter||0,a=t.month||0,o=t.week||t.isoWeek||0,i=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=or(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+i+7*o,this._months=+a+3*r+12*n,this._data={},this._locale=On(),this._bubble()}function cr(e){return e instanceof lr}function ur(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function dr(e,t,n){var r,a=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),i=0;for(r=0;r<a;r++)(n&&e[r]!==t[r]||!n&&Pe(e[r])!==Pe(t[r]))&&i++;return i+o}function fr(e,t){H(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+I(~~(e/60),2)+t+I(~~e%60,2)}))}fr("Z",":"),fr("ZZ",""),Me("Z",je),Me("ZZ",je),Ne(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=pr(je,e)}));var hr=/([\+\-]|\d\d)/gi;function pr(e,t){var n,r,a,o=(t||"").match(e);return null===o?null:(n=o[o.length-1]||[],r=(n+"").match(hr)||["-",0,0],a=60*r[1]+Pe(r[2]),0===a?0:"+"===r[0]?a:-a)}function mr(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(x(e)||h(e)?e.valueOf():Jn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),o.updateOffset(n,!1),n):Jn(e).local()}function vr(e){return-Math.round(e._d.getTimezoneOffset())}function br(e,t,n){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(e=pr(je,e),null===e)return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=vr(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!t||this._changeInProgress?Nr(this,Tr(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:vr(this)}function gr(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function yr(e){return this.utcOffset(0,e)}function Or(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(vr(this),"m")),this}function wr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=pr(_e,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function _r(e){return!!this.isValid()&&(e=e?Jn(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function jr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function kr(){if(!d(this._isDSTShifted))return this._isDSTShifted;var e,t={};return j(t,this),t=Gn(t),t._a?(e=t._isUTC?v(t._a):Jn(t._a),this._isDSTShifted=this.isValid()&&dr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function xr(){return!!this.isValid()&&!this._isUTC}function Sr(){return!!this.isValid()&&this._isUTC}function Cr(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}o.updateOffset=function(){};var Mr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ar=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Tr(e,t){var n,r,a,o=e,i=null;return cr(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:f(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(i=Mr.exec(e))?(n="-"===i[1]?-1:1,o={y:0,d:Pe(i[ze])*n,h:Pe(i[He])*n,m:Pe(i[Ye])*n,s:Pe(i[Ue])*n,ms:Pe(ur(1e3*i[We]))*n}):(i=Ar.exec(e))?(n="-"===i[1]?-1:1,o={y:Er(i[2],n),M:Er(i[3],n),w:Er(i[4],n),d:Er(i[5],n),h:Er(i[6],n),m:Er(i[7],n),s:Er(i[8],n)}):null==o?o={}:"object"===typeof o&&("from"in o||"to"in o)&&(a=Pr(Jn(o.from),Jn(o.to)),o={},o.ms=a.milliseconds,o.M=a.months),r=new lr(o),cr(e)&&c(e,"_locale")&&(r._locale=e._locale),cr(e)&&c(e,"_isValid")&&(r._isValid=e._isValid),r}function Er(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Lr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Pr(e,t){var n;return e.isValid()&&t.isValid()?(t=mr(t,e),e.isBefore(t)?n=Lr(e,t):(n=Lr(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Dr(e,t){return function(n,r){var a,o;return null===r||isNaN(+r)||(T(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),a=Tr(n,r),Nr(this,a,e),this}}function Nr(e,t,n,r){var a=t._milliseconds,i=ur(t._days),s=ur(t._months);e.isValid()&&(r=null==r||r,s&&pt(e,Qe(e,"Month")+s*n),i&&et(e,"Date",Qe(e,"Date")+i*n),a&&e._d.setTime(e._d.valueOf()+a*n),r&&o.updateOffset(e,i||s))}Tr.fn=lr.prototype,Tr.invalid=sr;var Rr=Dr(1,"add"),Ir=Dr(-1,"subtract");function Br(e){return"string"===typeof e||e instanceof String}function Fr(e){return x(e)||h(e)||Br(e)||f(e)||zr(e)||Vr(e)||null===e||void 0===e}function Vr(e){var t,n,r=l(e)&&!u(e),a=!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"],i=o.length;for(t=0;t<i;t+=1)n=o[t],a=a||c(e,n);return r&&a}function zr(e){var t=s(e),n=!1;return t&&(n=0===e.filter((function(t){return!f(t)&&Br(e)})).length),t&&n}function Hr(e){var t,n,r=l(e)&&!u(e),a=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)n=o[t],a=a||c(e,n);return r&&a}function Yr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Ur(e,t){1===arguments.length&&(arguments[0]?Fr(arguments[0])?(e=arguments[0],t=void 0):Hr(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Jn(),r=mr(n,this).startOf("day"),a=o.calendarFormat(this,r)||"sameElse",i=t&&(E(t[a])?t[a].call(this,n):t[a]);return this.format(i||this.localeData().calendar(a,this,Jn(n)))}function Wr(){return new k(this)}function $r(e,t){var n=x(e)?e:Jn(e);return!(!this.isValid()||!n.isValid())&&(t=ae(t)||"millisecond","millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function qr(e,t){var n=x(e)?e:Jn(e);return!(!this.isValid()||!n.isValid())&&(t=ae(t)||"millisecond","millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Gr(e,t,n,r){var a=x(e)?e:Jn(e),o=x(t)?t:Jn(t);return!!(this.isValid()&&a.isValid()&&o.isValid())&&(r=r||"()",("("===r[0]?this.isAfter(a,n):!this.isBefore(a,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n)))}function Xr(e,t){var n,r=x(e)?e:Jn(e);return!(!this.isValid()||!r.isValid())&&(t=ae(t)||"millisecond","millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Kr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Jr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Zr(e,t,n){var r,a,o;if(!this.isValid())return NaN;if(r=mr(e,this),!r.isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=ae(t),t){case"year":o=Qr(this,r)/12;break;case"month":o=Qr(this,r);break;case"quarter":o=Qr(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-a)/864e5;break;case"week":o=(this-r-a)/6048e5;break;default:o=this-r}return n?o:Le(o)}function Qr(e,t){if(e.date()<t.date())return-Qr(t,e);var n,r,a=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(a,"months");return t-o<0?(n=e.clone().add(a-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(a+1,"months"),r=(t-o)/(n-o)),-(a+r)||0}function ea(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ta(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?W(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function na(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,a="moment",o="";return this.isLocal()||(a=0===this.utcOffset()?"moment.utc":"moment.parseZone",o="Z"),e="["+a+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=o+'[")]',this.format(e+t+n+r)}function ra(e){e||(e=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var t=W(this,e);return this.localeData().postformat(t)}function aa(e,t){return this.isValid()&&(x(e)&&e.isValid()||Jn(e).isValid())?Tr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oa(e){return this.from(Jn(),e)}function ia(e,t){return this.isValid()&&(x(e)&&e.isValid()||Jn(e).isValid())?Tr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function sa(e){return this.to(Jn(),e)}function la(e){var t;return void 0===e?this._locale._abbr:(t=On(e),null!=t&&(this._locale=t),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ca=C("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ua(){return this._locale}var da=1e3,fa=60*da,ha=60*fa,pa=3506328*ha;function ma(e,t){return(e%t+t)%t}function va(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-pa:new Date(e,t,n).valueOf()}function ba(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-pa:Date.UTC(e,t,n)}function ga(e){var t,n;if(e=ae(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?ba:va,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ma(t+(this._isUTC?0:this.utcOffset()*fa),ha);break;case"minute":t=this._d.valueOf(),t-=ma(t,fa);break;case"second":t=this._d.valueOf(),t-=ma(t,da);break}return this._d.setTime(t),o.updateOffset(this,!0),this}function ya(e){var t,n;if(e=ae(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?ba:va,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ha-ma(t+(this._isUTC?0:this.utcOffset()*fa),ha)-1;break;case"minute":t=this._d.valueOf(),t+=fa-ma(t,fa)-1;break;case"second":t=this._d.valueOf(),t+=da-ma(t,da)-1;break}return this._d.setTime(t),o.updateOffset(this,!0),this}function Oa(){return this._d.valueOf()-6e4*(this._offset||0)}function wa(){return Math.floor(this.valueOf()/1e3)}function _a(){return new Date(this.valueOf())}function ja(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ka(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function xa(){return this.isValid()?this.toISOString():null}function Sa(){return y(this)}function Ca(){return m({},g(this))}function Ma(){return g(this).overflow}function Aa(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ta(e,t){var n,r,a,i=this._eras||On("en")._eras;for(n=0,r=i.length;n<r;++n){switch(typeof i[n].since){case"string":a=o(i[n].since).startOf("day"),i[n].since=a.valueOf();break}switch(typeof i[n].until){case"undefined":i[n].until=1/0;break;case"string":a=o(i[n].until).startOf("day").valueOf(),i[n].until=a.valueOf();break}}return i}function Ea(e,t,n){var r,a,o,i,s,l=this.eras();for(e=e.toUpperCase(),r=0,a=l.length;r<a;++r)if(o=l[r].name.toUpperCase(),i=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(i===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(s===e)return l[r];break}else if([o,i,s].indexOf(e)>=0)return l[r]}function La(e,t){var n=e.since<=e.until?1:-1;return void 0===t?o(e.since).year():o(e.since).year()+(t-e.offset)*n}function Pa(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Da(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Na(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Ra(){var e,t,n,r,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,r=this.clone().startOf("day").valueOf(),a[e].since<=r&&r<=a[e].until||a[e].until<=r&&r<=a[e].since)return(this.year()-o(a[e].since).year())*n+a[e].offset;return this.year()}function Ia(e){return c(this,"_erasNameRegex")||Ua.call(this),e?this._erasNameRegex:this._erasRegex}function Ba(e){return c(this,"_erasAbbrRegex")||Ua.call(this),e?this._erasAbbrRegex:this._erasRegex}function Fa(e){return c(this,"_erasNarrowRegex")||Ua.call(this),e?this._erasNarrowRegex:this._erasRegex}function Va(e,t){return t.erasAbbrRegex(e)}function za(e,t){return t.erasNameRegex(e)}function Ha(e,t){return t.erasNarrowRegex(e)}function Ya(e,t){return t._eraYearOrdinalRegex||Oe}function Ua(){var e,t,n,r,a,o=[],i=[],s=[],l=[],c=this.eras();for(e=0,t=c.length;e<t;++e)n=Ee(c[e].name),r=Ee(c[e].abbr),a=Ee(c[e].narrow),i.push(n),o.push(r),s.push(a),l.push(n),l.push(r),l.push(a);this._erasRegex=new RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function Wa(e,t){H(0,[e,e.length],0,t)}function $a(e){return Za.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function qa(e){return Za.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Ga(){return xt(this.year(),1,4)}function Xa(){return xt(this.isoWeekYear(),1,4)}function Ka(){var e=this.localeData()._week;return xt(this.year(),e.dow,e.doy)}function Ja(){var e=this.localeData()._week;return xt(this.weekYear(),e.dow,e.doy)}function Za(e,t,n,r,a){var o;return null==e?kt(this,r,a).year:(o=xt(e,r,a),t>o&&(t=o),Qa.call(this,e,t,n,r,a))}function Qa(e,t,n,r,a){var o=jt(e,t,n,r,a),i=wt(o.year,0,o.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}function eo(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-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"),Me("N",Va),Me("NN",Va),Me("NNN",Va),Me("NNNN",za),Me("NNNNN",Ha),Ne(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?g(n).era=a:g(n).invalidEra=e})),Me("y",Oe),Me("yy",Oe),Me("yyy",Oe),Me("yyyy",Oe),Me("yo",Ya),Ne(["y","yy","yyy","yyyy"],Fe),Ne(["yo"],(function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Fe]=n._locale.eraYearOrdinalParse(e,a):t[Fe]=parseInt(e,10)})),H(0,["gg",2],0,(function(){return this.weekYear()%100})),H(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Wa("gggg","weekYear"),Wa("ggggg","weekYear"),Wa("GGGG","isoWeekYear"),Wa("GGGGG","isoWeekYear"),Me("G",we),Me("g",we),Me("GG",pe,ue),Me("gg",pe,ue),Me("GGGG",ge,fe),Me("gggg",ge,fe),Me("GGGGG",ye,he),Me("ggggg",ye,he),Re(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=Pe(e)})),Re(["gg","GG"],(function(e,t,n,r){t[r]=o.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),Me("Q",ce),Ne("Q",(function(e,t){t[Ve]=3*(Pe(e)-1)})),H("D",["DD",2],"Do","date"),Me("D",pe,Se),Me("DD",pe,ue),Me("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ne(["D","DD"],ze),Ne("Do",(function(e,t){t[ze]=Pe(e.match(pe)[0])}));var to=Ze("Date",!0);function no(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}H("DDD",["DDDD",3],"DDDo","dayOfYear"),Me("DDD",be),Me("DDDD",de),Ne(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=Pe(e)})),H("m",["mm",2],0,"minute"),Me("m",pe,Ce),Me("mm",pe,ue),Ne(["m","mm"],Ye);var ro=Ze("Minutes",!1);H("s",["ss",2],0,"second"),Me("s",pe,Ce),Me("ss",pe,ue),Ne(["s","ss"],Ue);var ao,oo,io=Ze("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()})),Me("S",be,ce),Me("SS",be,ue),Me("SSS",be,de),ao="SSSS";ao.length<=9;ao+="S")Me(ao,Oe);function so(e,t){t[We]=Pe(1e3*("0."+e))}for(ao="S";ao.length<=9;ao+="S")Ne(ao,so);function lo(){return this._isUTC?"UTC":""}function co(){return this._isUTC?"Coordinated Universal Time":""}oo=Ze("Milliseconds",!1),H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var uo=k.prototype;function fo(e){return Jn(1e3*e)}function ho(){return Jn.apply(null,arguments).parseZone()}function po(e){return e}uo.add=Rr,uo.calendar=Ur,uo.clone=Wr,uo.diff=Zr,uo.endOf=ya,uo.format=ra,uo.from=aa,uo.fromNow=oa,uo.to=ia,uo.toNow=sa,uo.get=tt,uo.invalidAt=Ma,uo.isAfter=$r,uo.isBefore=qr,uo.isBetween=Gr,uo.isSame=Xr,uo.isSameOrAfter=Kr,uo.isSameOrBefore=Jr,uo.isValid=Sa,uo.lang=ca,uo.locale=la,uo.localeData=ua,uo.max=Qn,uo.min=Zn,uo.parsingFlags=Ca,uo.set=nt,uo.startOf=ga,uo.subtract=Ir,uo.toArray=ja,uo.toObject=ka,uo.toDate=_a,uo.toISOString=ta,uo.inspect=na,"undefined"!==typeof Symbol&&null!=Symbol.for&&(uo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),uo.toJSON=xa,uo.toString=ea,uo.unix=wa,uo.valueOf=Oa,uo.creationData=Aa,uo.eraName=Pa,uo.eraNarrow=Da,uo.eraAbbr=Na,uo.eraYear=Ra,uo.year=Ke,uo.isLeapYear=Je,uo.weekYear=$a,uo.isoWeekYear=qa,uo.quarter=uo.quarters=eo,uo.month=mt,uo.daysInMonth=vt,uo.week=uo.weeks=Tt,uo.isoWeek=uo.isoWeeks=Et,uo.weeksInYear=Ka,uo.weeksInWeekYear=Ja,uo.isoWeeksInYear=Ga,uo.isoWeeksInISOWeekYear=Xa,uo.date=to,uo.day=uo.days=$t,uo.weekday=qt,uo.isoWeekday=Gt,uo.dayOfYear=no,uo.hour=uo.hours=on,uo.minute=uo.minutes=ro,uo.second=uo.seconds=io,uo.millisecond=uo.milliseconds=oo,uo.utcOffset=br,uo.utc=yr,uo.local=Or,uo.parseZone=wr,uo.hasAlignedHourOffset=_r,uo.isDST=jr,uo.isLocal=xr,uo.isUtcOffset=Sr,uo.isUtc=Cr,uo.isUTC=Cr,uo.zoneAbbr=lo,uo.zoneName=co,uo.dates=C("dates accessor is deprecated. Use date instead.",to),uo.months=C("months accessor is deprecated. Use month instead",mt),uo.years=C("years accessor is deprecated. Use year instead",Ke),uo.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gr),uo.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",kr);var mo=D.prototype;function vo(e,t,n,r){var a=On(),o=v().set(r,t);return a[n](o,e)}function bo(e,t,n){if(f(e)&&(t=e,e=void 0),e=e||"",null!=t)return vo(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=vo(e,r,n,"month");return a}function go(e,t,n,r){"boolean"===typeof e?(f(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,f(t)&&(n=t,t=void 0),t=t||"");var a,o=On(),i=e?o._week.dow:0,s=[];if(null!=n)return vo(t,(n+i)%7,r,"day");for(a=0;a<7;a++)s[a]=vo(t,(a+i)%7,r,"day");return s}function yo(e,t){return bo(e,t,"months")}function Oo(e,t){return bo(e,t,"monthsShort")}function wo(e,t,n){return go(e,t,n,"weekdays")}function _o(e,t,n){return go(e,t,n,"weekdaysShort")}function jo(e,t,n){return go(e,t,n,"weekdaysMin")}mo.calendar=R,mo.longDateFormat=G,mo.invalidDate=K,mo.ordinal=Q,mo.preparse=po,mo.postformat=po,mo.relativeTime=te,mo.pastFuture=ne,mo.set=L,mo.eras=Ta,mo.erasParse=Ea,mo.erasConvertYear=La,mo.erasAbbrRegex=Ba,mo.erasNameRegex=Ia,mo.erasNarrowRegex=Fa,mo.months=ut,mo.monthsShort=dt,mo.monthsParse=ht,mo.monthsRegex=gt,mo.monthsShortRegex=bt,mo.week=St,mo.firstDayOfYear=At,mo.firstDayOfWeek=Mt,mo.weekdays=zt,mo.weekdaysMin=Yt,mo.weekdaysShort=Ht,mo.weekdaysParse=Wt,mo.weekdaysRegex=Xt,mo.weekdaysShortRegex=Kt,mo.weekdaysMinRegex=Jt,mo.isPM=rn,mo.meridiem=sn,bn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===Pe(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),o.lang=C("moment.lang is deprecated. Use moment.locale instead.",bn),o.langData=C("moment.langData is deprecated. Use moment.localeData instead.",On);var ko=Math.abs;function xo(){var e=this._data;return this._milliseconds=ko(this._milliseconds),this._days=ko(this._days),this._months=ko(this._months),e.milliseconds=ko(e.milliseconds),e.seconds=ko(e.seconds),e.minutes=ko(e.minutes),e.hours=ko(e.hours),e.months=ko(e.months),e.years=ko(e.years),this}function So(e,t,n,r){var a=Tr(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function Co(e,t){return So(this,e,t,1)}function Mo(e,t){return So(this,e,t,-1)}function Ao(e){return e<0?Math.floor(e):Math.ceil(e)}function To(){var e,t,n,r,a,o=this._milliseconds,i=this._days,s=this._months,l=this._data;return o>=0&&i>=0&&s>=0||o<=0&&i<=0&&s<=0||(o+=864e5*Ao(Lo(s)+i),i=0,s=0),l.milliseconds=o%1e3,e=Le(o/1e3),l.seconds=e%60,t=Le(e/60),l.minutes=t%60,n=Le(t/60),l.hours=n%24,i+=Le(n/24),a=Le(Eo(i)),s+=a,i-=Ao(Lo(a)),r=Le(s/12),s%=12,l.days=i,l.months=s,l.years=r,this}function Eo(e){return 4800*e/146097}function Lo(e){return 146097*e/4800}function Po(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=ae(e),"month"===e||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Eo(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Lo(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Do(e){return function(){return this.as(e)}}var No=Do("ms"),Ro=Do("s"),Io=Do("m"),Bo=Do("h"),Fo=Do("d"),Vo=Do("w"),zo=Do("M"),Ho=Do("Q"),Yo=Do("y"),Uo=No;function Wo(){return Tr(this)}function $o(e){return e=ae(e),this.isValid()?this[e+"s"]():NaN}function qo(e){return function(){return this.isValid()?this._data[e]:NaN}}var Go=qo("milliseconds"),Xo=qo("seconds"),Ko=qo("minutes"),Jo=qo("hours"),Zo=qo("days"),Qo=qo("months"),ei=qo("years");function ti(){return Le(this.days()/7)}var ni=Math.round,ri={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ai(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}function oi(e,t,n,r){var a=Tr(e).abs(),o=ni(a.as("s")),i=ni(a.as("m")),s=ni(a.as("h")),l=ni(a.as("d")),c=ni(a.as("M")),u=ni(a.as("w")),d=ni(a.as("y")),f=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||i<=1&&["m"]||i<n.m&&["mm",i]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(f=f||u<=1&&["w"]||u<n.w&&["ww",u]),f=f||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d],f[2]=t,f[3]=+e>0,f[4]=r,ai.apply(null,f)}function ii(e){return void 0===e?ni:"function"===typeof e&&(ni=e,!0)}function si(e,t){return void 0!==ri[e]&&(void 0===t?ri[e]:(ri[e]=t,"s"===e&&(ri.ss=t-1),!0))}function li(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,a=!1,o=ri;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(a=e),"object"===typeof t&&(o=Object.assign({},ri,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=this.localeData(),r=oi(this,!a,o,n),a&&(r=n.pastFuture(+this,r)),n.postformat(r)}var ci=Math.abs;function ui(e){return(e>0)-(e<0)||+e}function di(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,o,i,s,l=ci(this._milliseconds)/1e3,c=ci(this._days),u=ci(this._months),d=this.asSeconds();return d?(e=Le(l/60),t=Le(e/60),l%=60,e%=60,n=Le(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",a=d<0?"-":"",o=ui(this._months)!==ui(d)?"-":"",i=ui(this._days)!==ui(d)?"-":"",s=ui(this._milliseconds)!==ui(d)?"-":"",a+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?i+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var fi=lr.prototype;return fi.isValid=ir,fi.abs=xo,fi.add=Co,fi.subtract=Mo,fi.as=Po,fi.asMilliseconds=No,fi.asSeconds=Ro,fi.asMinutes=Io,fi.asHours=Bo,fi.asDays=Fo,fi.asWeeks=Vo,fi.asMonths=zo,fi.asQuarters=Ho,fi.asYears=Yo,fi.valueOf=Uo,fi._bubble=To,fi.clone=Wo,fi.get=$o,fi.milliseconds=Go,fi.seconds=Xo,fi.minutes=Ko,fi.hours=Jo,fi.days=Zo,fi.weeks=ti,fi.months=Qo,fi.years=ei,fi.humanize=li,fi.toISOString=di,fi.toString=di,fi.toJSON=di,fi.locale=la,fi.localeData=ua,fi.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",di),fi.lang=ca,H("X",0,0,"unix"),H("x",0,0,"valueOf"),Me("x",we),Me("X",ke),Ne("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Ne("x",(function(e,t,n){n._d=new Date(Pe(e))})),
//! moment.js
o.version="2.30.1",i(Jn),o.fn=uo,o.min=tr,o.max=nr,o.now=rr,o.utc=v,o.unix=fo,o.months=yo,o.isDate=h,o.locale=bn,o.invalid=O,o.duration=Tr,o.isMoment=x,o.weekdays=wo,o.parseZone=ho,o.localeData=On,o.isDuration=cr,o.monthsShort=Oo,o.weekdaysMin=jo,o.defineLocale=gn,o.updateLocale=yn,o.locales=wn,o.weekdaysShort=_o,o.normalizeUnits=ae,o.relativeTimeRounding=ii,o.relativeTimeThreshold=si,o.calendarFormat=Yr,o.prototype=uo,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,n("62e4")(e))},c345:function(e,t,n){"use strict";var r=n("c532"),a=["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"];e.exports=function(e){var t,n,o,i={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(i[t]&&a.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([n]):i[t]?i[t]+", "+n:n}})),i):i}},c3a1:function(e,t,n){"use strict";n.d(t,"a",(function(){return JT}));const r="2.7.4",a=Symbol("INSTALLED_KEY");var o=n("edd9");const i=(e=[])=>{const t=(t,n)=>{t[a]||(t[a]=!0,e.forEach(e=>t.use(e)),n&&Object(o["a"])(n,t,!0))};return{version:r,install:t}};var s=n("7a23"),l=n("461c"),c=n("0898"),u=n("83ec");const d="update:modelValue",f="change",h="input",p=Object(c["b"])({zIndex:{type:Object(c["c"])([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"}}),m={scroll:({scrollTop:e,fixed:t})=>Object(u["d"])(e)&&Object(u["a"])(t),[f]:e=>Object(u["a"])(e)};var v=n("2711"),b=n("304f"),g=n("0e69"),y=n("8afb");function O(e,t,n,r){const a=n-t;return e/=r/2,e<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t}const w=e=>l["isClient"]?window.requestAnimationFrame(e):setTimeout(e,16),_=e=>l["isClient"]?window.cancelAnimationFrame(e):clearTimeout(e),j=(e,t)=>{if(!l["isClient"])return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],r=Object(g["c"])(e,n);return["scroll","auto","overlay"].some(e=>r.includes(e))},k=(e,t)=>{if(!l["isClient"])return;let n=e;while(n){if([window,document,document.documentElement].includes(n))return window;if(j(n,t))return n;n=n.parentNode}return n};let x;const S=e=>{var t;if(!l["isClient"])return 0;if(void 0!==x)return x;const n=document.createElement("div");n.className=e+"-scrollbar__wrap",n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);const r=n.offsetWidth;n.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",n.appendChild(a);const o=a.offsetWidth;return null==(t=n.parentNode)||t.removeChild(n),x=r-o,x};function C(e,t){if(!l["isClient"])return;if(!t)return void(e.scrollTop=0);const n=[];let r=t.offsetParent;while(null!==r&&e!==r&&e.contains(r))n.push(r),r=r.offsetParent;const a=t.offsetTop+n.reduce((e,t)=>e+t.offsetTop,0),o=a+t.offsetHeight,i=e.scrollTop,s=i+e.clientHeight;a<i?e.scrollTop=a:o>s&&(e.scrollTop=o-e.clientHeight)}function M(e,t,n,r,a){const o=Date.now();let i;const s=()=>{const l=Date.now(),c=l-o,d=O(c>r?r:c,t,n,r);Object(u["h"])(e)?e.scrollTo(window.pageXOffset,d):e.scrollTop=d,c<r?i=w(s):"function"===typeof a&&a()};return s(),()=>{i&&_(i)}}const A=(e,t)=>Object(u["h"])(t)?e.ownerDocument.documentElement:t,T=e=>Object(u["h"])(e)?window.scrollY:e.scrollTop,E="ElAffix",L=Object(s["defineComponent"])({name:E}),P=Object(s["defineComponent"])({...L,props:p,emits:m,setup(e,{expose:t,emit:n}){const r=e,a=Object(b["d"])("affix"),o=Object(s["shallowRef"])(),i=Object(s["shallowRef"])(),c=Object(s["shallowRef"])(),{height:u}=Object(l["useWindowSize"])(),{height:d,width:f,top:h,bottom:p,update:m}=Object(l["useElementBounding"])(i,{windowScroll:!1}),v=Object(l["useElementBounding"])(o),O=Object(s["ref"])(!1),w=Object(s["ref"])(0),_=Object(s["ref"])(0),j=Object(s["computed"])(()=>({height:O.value?d.value+"px":"",width:O.value?f.value+"px":""})),x=Object(s["computed"])(()=>{if(!O.value)return{};const e=r.offset?Object(g["b"])(r.offset):0;return{height:d.value+"px",width:f.value+"px",top:"top"===r.position?e:"",bottom:"bottom"===r.position?e:"",transform:_.value?`translateY(${_.value}px)`:"",zIndex:r.zIndex}}),S=()=>{if(c.value)if(w.value=c.value instanceof Window?document.documentElement.scrollTop:c.value.scrollTop||0,"top"===r.position)if(r.target){const e=v.bottom.value-r.offset-d.value;O.value=r.offset>h.value&&v.bottom.value>0,_.value=e<0?e:0}else O.value=r.offset>h.value;else if(r.target){const e=u.value-v.top.value-r.offset-d.value;O.value=u.value-r.offset<p.value&&u.value>v.top.value,_.value=e<0?-e:0}else O.value=u.value-r.offset<p.value},C=()=>{m(),n("scroll",{scrollTop:w.value,fixed:O.value})};return Object(s["watch"])(O,e=>n("change",e)),Object(s["onMounted"])(()=>{var e;r.target?(o.value=null!=(e=document.querySelector(r.target))?e:void 0,o.value||Object(y["b"])(E,"Target does not exist: "+r.target)):o.value=document.documentElement,c.value=k(i.value,!0),m()}),Object(l["useEventListener"])(c,"scroll",C),Object(s["watchEffect"])(S),t({update:S,updateRoot:m}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{ref_key:"root",ref:i,class:Object(s["normalizeClass"])(Object(s["unref"])(a).b()),style:Object(s["normalizeStyle"])(Object(s["unref"])(j))},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])({[Object(s["unref"])(a).m("fixed")]:O.value}),style:Object(s["normalizeStyle"])(Object(s["unref"])(x))},[Object(s["renderSlot"])(e.$slots,"default")],6)],6))}});var D=Object(v["a"])(P,[["__file","affix.vue"]]),N=n("0c24");const R=Object(N["a"])(D);var I=n("54bb"),B=n("bfce"),F=n("31e7");const V=["light","dark"],z=Object(c["b"])({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:Object(B["c"])(F["c"]),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:V,default:"light"}}),H={close:e=>e instanceof MouseEvent},Y=Object(s["defineComponent"])({name:"ElAlert"}),U=Object(s["defineComponent"])({...Y,props:z,emits:H,setup(e,{emit:t}){const n=e,{Close:r}=F["b"],a=Object(s["useSlots"])(),o=Object(b["d"])("alert"),i=Object(s["ref"])(!0),l=Object(s["computed"])(()=>F["c"][n.type]),c=Object(s["computed"])(()=>[o.e("icon"),{[o.is("big")]:!!n.description||!!a.default}]),u=Object(s["computed"])(()=>({"with-description":n.description||a.default})),d=e=>{i.value=!1,t("close",e)};return(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(s["Transition"],{name:Object(s["unref"])(o).b("fade"),persisted:""},{default:Object(s["withCtx"])(()=>[Object(s["withDirectives"])(Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(o).b(),Object(s["unref"])(o).m(e.type),Object(s["unref"])(o).is("center",e.center),Object(s["unref"])(o).is(e.effect)]),role:"alert"},[e.showIcon&&Object(s["unref"])(l)?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(c))},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(Object(s["unref"])(l))))]),_:1},8,["class"])):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(o).e("content"))},[e.title||e.$slots.title?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:0,class:Object(s["normalizeClass"])([Object(s["unref"])(o).e("title"),Object(s["unref"])(u)])},[Object(s["renderSlot"])(e.$slots,"title",{},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.title),1)])],2)):Object(s["createCommentVNode"])("v-if",!0),e.$slots.default||e.description?(Object(s["openBlock"])(),Object(s["createElementBlock"])("p",{key:1,class:Object(s["normalizeClass"])(Object(s["unref"])(o).e("description"))},[Object(s["renderSlot"])(e.$slots,"default",{},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.description),1)])],2)):Object(s["createCommentVNode"])("v-if",!0),e.closable?(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:2},[e.closeText?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])([Object(s["unref"])(o).e("close-btn"),Object(s["unref"])(o).is("customed")]),onClick:d},Object(s["toDisplayString"])(e.closeText),3)):(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:1,class:Object(s["normalizeClass"])(Object(s["unref"])(o).e("close-btn")),onClick:d},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(r))]),_:1},8,["class"]))],64)):Object(s["createCommentVNode"])("v-if",!0)],2)],2),[[s["vShow"],i.value]])]),_:3},8,["name"]))}});var W=Object(v["a"])(U,[["__file","alert.vue"]]);const $=Object(N["a"])(W);var q=n("d095"),G=n("9ad7"),X=n("6ab4");let K=void 0;const J=`\n  height:0 !important;\n  visibility:hidden !important;\n  ${Object(X["a"])()?"":"overflow:hidden !important;"}\n  position:absolute !important;\n  z-index:-1000 !important;\n  top:0 !important;\n  right:0 !important;\n`,Z=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Q(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),a=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width")),o=Z.map(e=>`${e}:${t.getPropertyValue(e)}`).join(";");return{contextStyle:o,paddingSize:r,borderSize:a,boxSizing:n}}function ee(e,t=1,n){var r;K||(K=document.createElement("textarea"),document.body.appendChild(K));const{paddingSize:a,borderSize:o,boxSizing:i,contextStyle:s}=Q(e);K.setAttribute("style",`${s};${J}`),K.value=e.value||e.placeholder||"";let l=K.scrollHeight;const c={};"border-box"===i?l+=o:"content-box"===i&&(l-=a),K.value="";const d=K.scrollHeight-a;if(Object(u["d"])(t)){let e=d*t;"border-box"===i&&(e=e+a+o),l=Math.max(e,l),c.minHeight=e+"px"}if(Object(u["d"])(n)){let e=d*n;"border-box"===i&&(e=e+a+o),l=Math.min(e,l)}return c.height=l+"px",null==(r=K.parentNode)||r.removeChild(K),K=void 0,c}var te=n("7d20"),ne=n("27b6"),re=n("f5f6");const ae=Object(c["b"])({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),oe=e=>Object(q["pick"])(ae,e),ie=Object(c["b"])({id:{type:String,default:void 0},size:ne["c"],disabled:Boolean,modelValue:{type:Object(c["c"])([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:Object(c["c"])([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:F["e"]},prefixIcon:{type:F["e"]},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:Object(c["c"])([Object,Array,String]),default:()=>Object(re["a"])({})},autofocus:{type:Boolean,default:!1},...oe(["ariaLabel"])}),se={[d]:e=>Object(te["isString"])(e),input:e=>Object(te["isString"])(e),change:e=>Object(te["isString"])(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},le=["class","style"],ce=/^on[A-Z]/,ue=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,r=Object(s["computed"])(()=>((null==n?void 0:n.value)||[]).concat(le)),a=Object(s["getCurrentInstance"])();return a?Object(s["computed"])(()=>{var e;return Object(q["fromPairs"])(Object.entries(null==(e=a.proxy)?void 0:e.$attrs).filter(([e])=>!r.value.includes(e)&&!(t&&ce.test(e))))}):(Object(y["a"])("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),Object(s["computed"])(()=>({})))},de=Symbol("formContextKey"),fe=Symbol("formItemContextKey"),he={prefix:Math.floor(1e4*Math.random()),current:0},pe=Symbol("elIdInjection"),me=()=>Object(s["getCurrentInstance"])()?Object(s["inject"])(pe,he):he,ve=e=>{const t=me();l["isClient"]||t!==he||Object(y["a"])("IdInjection","Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed\nusage: app.provide(ID_INJECTION_KEY, {\n  prefix: number,\n  current: number,\n})");const n=Object(b["c"])(),r=Object(s["computed"])(()=>Object(s["unref"])(e)||`${n.value}-id-${t.prefix}-${t.current++}`);return r},be=()=>{const e=Object(s["inject"])(de,void 0),t=Object(s["inject"])(fe,void 0);return{form:e,formItem:t}},ge=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:r})=>{n||(n=Object(s["ref"])(!1)),r||(r=Object(s["ref"])(!1));const a=Object(s["ref"])();let o=void 0;const i=Object(s["computed"])(()=>{var n;return!!(!e.label&&!e.ariaLabel&&t&&t.inputIds&&(null==(n=t.inputIds)?void 0:n.length)<=1)});return Object(s["onMounted"])(()=>{o=Object(s["watch"])([Object(s["toRef"])(e,"id"),n],([e,n])=>{const o=null!=e?e:n?void 0:ve().value;o!==a.value&&((null==t?void 0:t.removeInputId)&&(a.value&&t.removeInputId(a.value),(null==r?void 0:r.value)||n||!o||t.addInputId(o)),a.value=o)},{immediate:!0})}),Object(s["onUnmounted"])(()=>{o&&o(),(null==t?void 0:t.removeInputId)&&a.value&&t.removeInputId(a.value)}),{isLabeledByFormItem:i,inputId:a}},ye=e=>{const t=Object(s["getCurrentInstance"])();return Object(s["computed"])(()=>{var n,r;return null==(r=null==(n=null==t?void 0:t.proxy)?void 0:n.$props)?void 0:r[e]})},Oe=(e,t={})=>{const n=Object(s["ref"])(void 0),r=t.prop?n:ye("size"),a=t.global?n:Object(ne["b"])(),o=t.form?{size:void 0}:Object(s["inject"])(de,void 0),i=t.formItem?{size:void 0}:Object(s["inject"])(fe,void 0);return Object(s["computed"])(()=>r.value||Object(s["unref"])(e)||(null==i?void 0:i.size)||(null==o?void 0:o.size)||a.value||"")},we=e=>{const t=ye("disabled"),n=Object(s["inject"])(de,void 0);return Object(s["computed"])(()=>t.value||Object(s["unref"])(e)||(null==n?void 0:n.disabled)||!1)};function _e(e,{afterFocus:t,beforeBlur:n,afterBlur:r}={}){const a=Object(s["getCurrentInstance"])(),{emit:o}=a,i=Object(s["shallowRef"])(),c=Object(s["ref"])(!1),u=e=>{c.value||(c.value=!0,o("focus",e),null==t||t())},d=e=>{var t;const a=!!Object(te["isFunction"])(n)&&n(e);a||e.relatedTarget&&(null==(t=i.value)?void 0:t.contains(e.relatedTarget))||(c.value=!1,o("blur",e),null==r||r())},f=()=>{var t;null==(t=e.value)||t.focus()};return Object(s["watch"])(i,e=>{e&&e.setAttribute("tabindex","-1")}),Object(l["useEventListener"])(i,"click",f),{wrapperRef:i,isFocused:c,handleFocus:u,handleBlur:d}}function je(e){const t=Object(s["ref"])();function n(){if(void 0==e.value)return;const{selectionStart:n,selectionEnd:r,value:a}=e.value;if(null==n||null==r)return;const o=a.slice(0,Math.max(0,n)),i=a.slice(Math.max(0,r));t.value={selectionStart:n,selectionEnd:r,value:a,beforeTxt:o,afterTxt:i}}function r(){if(void 0==e.value||void 0==t.value)return;const{value:n}=e.value,{beforeTxt:r,afterTxt:a,selectionStart:o}=t.value;if(void 0==r||void 0==a||void 0==o)return;let i=n.length;if(n.endsWith(a))i=n.length-a.length;else if(n.startsWith(r))i=r.length;else{const e=r[o-1],t=n.indexOf(e,o-1);-1!==t&&(i=t+1)}e.value.setSelectionRange(i,i)}return[n,r]}const ke=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e);var xe=n("344d");const Se=["role"],Ce=["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],Me=["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],Ae=Object(s["defineComponent"])({name:"ElInput",inheritAttrs:!1}),Te=Object(s["defineComponent"])({...Ae,props:ie,emits:se,setup(e,{expose:t,emit:n}){const r=e,a=Object(s["useAttrs"])(),o=Object(s["useSlots"])(),i=Object(s["computed"])(()=>{const e={};return"combobox"===r.containerRole&&(e["aria-haspopup"]=a["aria-haspopup"],e["aria-owns"]=a["aria-owns"],e["aria-expanded"]=a["aria-expanded"]),e}),c=Object(s["computed"])(()=>["textarea"===r.type?w.b():O.b(),O.m(v.value),O.is("disabled",g.value),O.is("exceed",X.value),{[O.b("group")]:o.prepend||o.append,[O.bm("group","append")]:o.append,[O.bm("group","prepend")]:o.prepend,[O.m("prefix")]:o.prefix||r.prefixIcon,[O.m("suffix")]:o.suffix||r.suffixIcon||r.clearable||r.showPassword,[O.bm("suffix","password-clear")]:Y.value&&U.value,[O.b("hidden")]:"hidden"===r.type},a.class]),u=Object(s["computed"])(()=>[O.e("wrapper"),O.is("focus",E.value)]),f=ue({excludeKeys:Object(s["computed"])(()=>Object.keys(i.value))}),{form:h,formItem:p}=be(),{inputId:m}=ge(r,{formItemContext:p}),v=Oe(),g=we(),O=Object(b["d"])("input"),w=Object(b["d"])("textarea"),_=Object(s["shallowRef"])(),j=Object(s["shallowRef"])(),k=Object(s["ref"])(!1),x=Object(s["ref"])(!1),S=Object(s["ref"])(!1),C=Object(s["ref"])(),M=Object(s["shallowRef"])(r.inputStyle),A=Object(s["computed"])(()=>_.value||j.value),{wrapperRef:T,isFocused:E,handleFocus:L,handleBlur:P}=_e(A,{afterBlur(){var e;r.validateEvent&&(null==(e=null==p?void 0:p.validate)||e.call(p,"blur").catch(e=>Object(y["a"])(e)))}}),D=Object(s["computed"])(()=>{var e;return null!=(e=null==h?void 0:h.statusIcon)&&e}),N=Object(s["computed"])(()=>(null==p?void 0:p.validateState)||""),R=Object(s["computed"])(()=>N.value&&F["d"][N.value]),B=Object(s["computed"])(()=>S.value?G["View"]:G["Hide"]),V=Object(s["computed"])(()=>[a.style]),z=Object(s["computed"])(()=>[r.inputStyle,M.value,{resize:r.resize}]),H=Object(s["computed"])(()=>Object(q["isNil"])(r.modelValue)?"":String(r.modelValue)),Y=Object(s["computed"])(()=>r.clearable&&!g.value&&!r.readonly&&!!H.value&&(E.value||k.value)),U=Object(s["computed"])(()=>r.showPassword&&!g.value&&!r.readonly&&!!H.value&&(!!H.value||E.value)),W=Object(s["computed"])(()=>r.showWordLimit&&!!r.maxlength&&("text"===r.type||"textarea"===r.type)&&!g.value&&!r.readonly&&!r.showPassword),$=Object(s["computed"])(()=>H.value.length),X=Object(s["computed"])(()=>!!W.value&&$.value>Number(r.maxlength)),K=Object(s["computed"])(()=>!!o.suffix||!!r.suffixIcon||Y.value||r.showPassword||W.value||!!N.value&&D.value),[J,Z]=je(_);Object(l["useResizeObserver"])(j,e=>{if(re(),!W.value||"both"!==r.resize)return;const t=e[0],{width:n}=t.contentRect;C.value={right:`calc(100% - ${n+15+6}px)`}});const Q=()=>{const{type:e,autosize:t}=r;if(l["isClient"]&&"textarea"===e&&j.value)if(t){const e=Object(te["isObject"])(t)?t.minRows:void 0,n=Object(te["isObject"])(t)?t.maxRows:void 0,r=ee(j.value,e,n);M.value={overflowY:"hidden",...r},Object(s["nextTick"])(()=>{j.value.offsetHeight,M.value=r})}else M.value={minHeight:ee(j.value).minHeight}},ne=e=>{let t=!1;return()=>{var n;if(t||!r.autosize)return;const a=null===(null==(n=j.value)?void 0:n.offsetParent);a||(e(),t=!0)}},re=ne(Q),ae=()=>{const e=A.value,t=r.formatter?r.formatter(H.value):H.value;e&&e.value!==t&&(e.value=t)},oe=async e=>{J();let{value:t}=e.target;r.formatter&&(t=r.parser?r.parser(t):t),x.value||(t!==H.value?(n(d,t),n("input",t),await Object(s["nextTick"])(),ae(),Z()):ae())},ie=e=>{n("change",e.target.value)},se=e=>{n("compositionstart",e),x.value=!0},le=e=>{var t;n("compositionupdate",e);const r=null==(t=e.target)?void 0:t.value,a=r[r.length-1]||"";x.value=!ke(a)},ce=e=>{n("compositionend",e),x.value&&(x.value=!1,oe(e))},de=()=>{S.value=!S.value,fe()},fe=async()=>{var e;await Object(s["nextTick"])(),null==(e=A.value)||e.focus()},he=()=>{var e;return null==(e=A.value)?void 0:e.blur()},pe=e=>{k.value=!1,n("mouseleave",e)},me=e=>{k.value=!0,n("mouseenter",e)},ve=e=>{n("keydown",e)},ye=()=>{var e;null==(e=A.value)||e.select()},Ae=()=>{n(d,""),n("change",""),n("clear"),n("input","")};return Object(s["watch"])(()=>r.modelValue,()=>{var e;Object(s["nextTick"])(()=>Q()),r.validateEvent&&(null==(e=null==p?void 0:p.validate)||e.call(p,"change").catch(e=>Object(y["a"])(e)))}),Object(s["watch"])(H,()=>ae()),Object(s["watch"])(()=>r.type,async()=>{await Object(s["nextTick"])(),ae(),Q()}),Object(s["onMounted"])(()=>{!r.formatter&&r.parser&&Object(y["a"])("ElInput","If you set the parser, you also need to set the formatter."),ae(),Object(s["nextTick"])(Q)}),Object(xe["a"])({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-input",ref:"https://element-plus.org/en-US/component/input.html"},Object(s["computed"])(()=>!!r.label)),t({input:_,textarea:j,ref:A,textareaStyle:z,autosize:Object(s["toRef"])(r,"autosize"),focus:fe,blur:he,select:ye,clear:Ae,resizeTextarea:Q}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",Object(s["mergeProps"])(Object(s["unref"])(i),{class:Object(s["unref"])(c),style:Object(s["unref"])(V),role:e.containerRole,onMouseenter:me,onMouseleave:pe}),[Object(s["createCommentVNode"])(" input "),"textarea"!==e.type?(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:0},[Object(s["createCommentVNode"])(" prepend slot "),e.$slots.prepend?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(O).be("group","prepend"))},[Object(s["renderSlot"])(e.$slots,"prepend")],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",{ref_key:"wrapperRef",ref:T,class:Object(s["normalizeClass"])(Object(s["unref"])(u))},[Object(s["createCommentVNode"])(" prefix slot "),e.$slots.prefix||e.prefixIcon?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(O).e("prefix"))},[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(O).e("prefix-inner"))},[Object(s["renderSlot"])(e.$slots,"prefix"),e.prefixIcon?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(O).e("icon"))},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.prefixIcon)))]),_:1},8,["class"])):Object(s["createCommentVNode"])("v-if",!0)],2)],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("input",Object(s["mergeProps"])({id:Object(s["unref"])(m),ref_key:"input",ref:_,class:Object(s["unref"])(O).e("inner")},Object(s["unref"])(f),{minlength:e.minlength,maxlength:e.maxlength,type:e.showPassword?S.value?"text":"password":e.type,disabled:Object(s["unref"])(g),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.label||e.ariaLabel,placeholder:e.placeholder,style:e.inputStyle,form:e.form,autofocus:e.autofocus,onCompositionstart:se,onCompositionupdate:le,onCompositionend:ce,onInput:oe,onFocus:t[0]||(t[0]=(...e)=>Object(s["unref"])(L)&&Object(s["unref"])(L)(...e)),onBlur:t[1]||(t[1]=(...e)=>Object(s["unref"])(P)&&Object(s["unref"])(P)(...e)),onChange:ie,onKeydown:ve}),null,16,Ce),Object(s["createCommentVNode"])(" suffix slot "),Object(s["unref"])(K)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:1,class:Object(s["normalizeClass"])(Object(s["unref"])(O).e("suffix"))},[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(O).e("suffix-inner"))},[Object(s["unref"])(Y)&&Object(s["unref"])(U)&&Object(s["unref"])(W)?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:0},[Object(s["renderSlot"])(e.$slots,"suffix"),e.suffixIcon?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(O).e("icon"))},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.suffixIcon)))]),_:1},8,["class"])):Object(s["createCommentVNode"])("v-if",!0)],64)),Object(s["unref"])(Y)?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:1,class:Object(s["normalizeClass"])([Object(s["unref"])(O).e("icon"),Object(s["unref"])(O).e("clear")]),onMousedown:Object(s["withModifiers"])(Object(s["unref"])(te["NOOP"]),["prevent"]),onClick:Ae},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["CircleClose"]))]),_:1},8,["class","onMousedown"])):Object(s["createCommentVNode"])("v-if",!0),Object(s["unref"])(U)?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:2,class:Object(s["normalizeClass"])([Object(s["unref"])(O).e("icon"),Object(s["unref"])(O).e("password")]),onClick:de},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(Object(s["unref"])(B))))]),_:1},8,["class"])):Object(s["createCommentVNode"])("v-if",!0),Object(s["unref"])(W)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:3,class:Object(s["normalizeClass"])(Object(s["unref"])(O).e("count"))},[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(O).e("count-inner"))},Object(s["toDisplayString"])(Object(s["unref"])($))+" / "+Object(s["toDisplayString"])(e.maxlength),3)],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["unref"])(N)&&Object(s["unref"])(R)&&Object(s["unref"])(D)?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:4,class:Object(s["normalizeClass"])([Object(s["unref"])(O).e("icon"),Object(s["unref"])(O).e("validateIcon"),Object(s["unref"])(O).is("loading","validating"===Object(s["unref"])(N))])},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(Object(s["unref"])(R))))]),_:1},8,["class"])):Object(s["createCommentVNode"])("v-if",!0)],2)],2)):Object(s["createCommentVNode"])("v-if",!0)],2),Object(s["createCommentVNode"])(" append slot "),e.$slots.append?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,class:Object(s["normalizeClass"])(Object(s["unref"])(O).be("group","append"))},[Object(s["renderSlot"])(e.$slots,"append")],2)):Object(s["createCommentVNode"])("v-if",!0)],64)):(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:1},[Object(s["createCommentVNode"])(" textarea "),Object(s["createElementVNode"])("textarea",Object(s["mergeProps"])({id:Object(s["unref"])(m),ref_key:"textarea",ref:j,class:Object(s["unref"])(w).e("inner")},Object(s["unref"])(f),{minlength:e.minlength,maxlength:e.maxlength,tabindex:e.tabindex,disabled:Object(s["unref"])(g),readonly:e.readonly,autocomplete:e.autocomplete,style:Object(s["unref"])(z),"aria-label":e.label||e.ariaLabel,placeholder:e.placeholder,form:e.form,autofocus:e.autofocus,onCompositionstart:se,onCompositionupdate:le,onCompositionend:ce,onInput:oe,onFocus:t[2]||(t[2]=(...e)=>Object(s["unref"])(L)&&Object(s["unref"])(L)(...e)),onBlur:t[3]||(t[3]=(...e)=>Object(s["unref"])(P)&&Object(s["unref"])(P)(...e)),onChange:ie,onKeydown:ve}),null,16,Me),Object(s["unref"])(W)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:0,style:Object(s["normalizeStyle"])(C.value),class:Object(s["normalizeClass"])(Object(s["unref"])(O).e("count"))},Object(s["toDisplayString"])(Object(s["unref"])($))+" / "+Object(s["toDisplayString"])(e.maxlength),7)):Object(s["createCommentVNode"])("v-if",!0)],64))],16,Se))}});var Ee=Object(v["a"])(Te,[["__file","input.vue"]]);const Le=Object(N["a"])(Ee),Pe=4,De={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},Ne=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),Re=Symbol("scrollbarContextKey"),Ie=Object(c["b"])({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),Be="Thumb",Fe=Object(s["defineComponent"])({__name:"thumb",props:Ie,setup(e){const t=e,n=Object(s["inject"])(Re),r=Object(b["d"])("scrollbar");n||Object(y["b"])(Be,"can not inject scrollbar context");const a=Object(s["ref"])(),o=Object(s["ref"])(),i=Object(s["ref"])({}),c=Object(s["ref"])(!1);let u=!1,d=!1,f=l["isClient"]?document.onselectstart:null;const h=Object(s["computed"])(()=>De[t.vertical?"vertical":"horizontal"]),p=Object(s["computed"])(()=>Ne({size:t.size,move:t.move,bar:h.value})),m=Object(s["computed"])(()=>a.value[h.value.offset]**2/n.wrapElement[h.value.scrollSize]/t.ratio/o.value[h.value.offset]),v=e=>{var t;if(e.stopPropagation(),e.ctrlKey||[1,2].includes(e.button))return;null==(t=window.getSelection())||t.removeAllRanges(),O(e);const n=e.currentTarget;n&&(i.value[h.value.axis]=n[h.value.offset]-(e[h.value.client]-n.getBoundingClientRect()[h.value.direction]))},g=e=>{if(!o.value||!a.value||!n.wrapElement)return;const t=Math.abs(e.target.getBoundingClientRect()[h.value.direction]-e[h.value.client]),r=o.value[h.value.offset]/2,i=100*(t-r)*m.value/a.value[h.value.offset];n.wrapElement[h.value.scroll]=i*n.wrapElement[h.value.scrollSize]/100},O=e=>{e.stopImmediatePropagation(),u=!0,document.addEventListener("mousemove",w),document.addEventListener("mouseup",_),f=document.onselectstart,document.onselectstart=()=>!1},w=e=>{if(!a.value||!o.value)return;if(!1===u)return;const t=i.value[h.value.axis];if(!t)return;const r=-1*(a.value.getBoundingClientRect()[h.value.direction]-e[h.value.client]),s=o.value[h.value.offset]-t,l=100*(r-s)*m.value/a.value[h.value.offset];n.wrapElement[h.value.scroll]=l*n.wrapElement[h.value.scrollSize]/100},_=()=>{u=!1,i.value[h.value.axis]=0,document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",_),x(),d&&(c.value=!1)},j=()=>{d=!1,c.value=!!t.size},k=()=>{d=!0,c.value=u};Object(s["onBeforeUnmount"])(()=>{x(),document.removeEventListener("mouseup",_)});const x=()=>{document.onselectstart!==f&&(document.onselectstart=f)};return Object(l["useEventListener"])(Object(s["toRef"])(n,"scrollbarElement"),"mousemove",j),Object(l["useEventListener"])(Object(s["toRef"])(n,"scrollbarElement"),"mouseleave",k),(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(s["Transition"],{name:Object(s["unref"])(r).b("fade"),persisted:""},{default:Object(s["withCtx"])(()=>[Object(s["withDirectives"])(Object(s["createElementVNode"])("div",{ref_key:"instance",ref:a,class:Object(s["normalizeClass"])([Object(s["unref"])(r).e("bar"),Object(s["unref"])(r).is(Object(s["unref"])(h).key)]),onMousedown:g},[Object(s["createElementVNode"])("div",{ref_key:"thumb",ref:o,class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("thumb")),style:Object(s["normalizeStyle"])(Object(s["unref"])(p)),onMousedown:v},null,38)],34),[[s["vShow"],e.always||c.value]])]),_:1},8,["name"]))}});var Ve=Object(v["a"])(Fe,[["__file","thumb.vue"]]);const ze=Object(c["b"])({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),He=Object(s["defineComponent"])({__name:"bar",props:ze,setup(e,{expose:t}){const n=e,r=Object(s["inject"])(Re),a=Object(s["ref"])(0),o=Object(s["ref"])(0),i=Object(s["ref"])(""),l=Object(s["ref"])(""),c=Object(s["ref"])(1),u=Object(s["ref"])(1),d=e=>{if(e){const t=e.offsetHeight-Pe,n=e.offsetWidth-Pe;o.value=100*e.scrollTop/t*c.value,a.value=100*e.scrollLeft/n*u.value}},f=()=>{const e=null==r?void 0:r.wrapElement;if(!e)return;const t=e.offsetHeight-Pe,a=e.offsetWidth-Pe,o=t**2/e.scrollHeight,s=a**2/e.scrollWidth,d=Math.max(o,n.minSize),f=Math.max(s,n.minSize);c.value=o/(t-o)/(d/(t-d)),u.value=s/(a-s)/(f/(a-f)),l.value=d+Pe<t?d+"px":"",i.value=f+Pe<a?f+"px":""};return t({handleScroll:d,update:f}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],null,[Object(s["createVNode"])(Ve,{move:a.value,ratio:u.value,size:i.value,always:e.always},null,8,["move","ratio","size","always"]),Object(s["createVNode"])(Ve,{move:o.value,ratio:c.value,size:l.value,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}});var Ye=Object(v["a"])(He,[["__file","bar.vue"]]);const Ue=Object(c["b"])({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:Object(c["c"])([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},id:String,role:String,...oe(["ariaLabel","ariaOrientation"])}),We={scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(u["d"])},$e="ElScrollbar",qe=Object(s["defineComponent"])({name:$e}),Ge=Object(s["defineComponent"])({...qe,props:Ue,emits:We,setup(e,{expose:t,emit:n}){const r=e,a=Object(b["d"])("scrollbar");let o=void 0,i=void 0;const c=Object(s["ref"])(),d=Object(s["ref"])(),f=Object(s["ref"])(),h=Object(s["ref"])(),p=Object(s["computed"])(()=>{const e={};return r.height&&(e.height=Object(g["b"])(r.height)),r.maxHeight&&(e.maxHeight=Object(g["b"])(r.maxHeight)),[r.wrapStyle,e]}),m=Object(s["computed"])(()=>[r.wrapClass,a.e("wrap"),{[a.em("wrap","hidden-default")]:!r.native}]),v=Object(s["computed"])(()=>[a.e("view"),r.viewClass]),O=()=>{var e;d.value&&(null==(e=h.value)||e.handleScroll(d.value),n("scroll",{scrollTop:d.value.scrollTop,scrollLeft:d.value.scrollLeft}))};function w(e,t){Object(te["isObject"])(e)?d.value.scrollTo(e):Object(u["d"])(e)&&Object(u["d"])(t)&&d.value.scrollTo(e,t)}const _=e=>{Object(u["d"])(e)?d.value.scrollTop=e:Object(y["a"])($e,"value must be a number")},j=e=>{Object(u["d"])(e)?d.value.scrollLeft=e:Object(y["a"])($e,"value must be a number")},k=()=>{var e;null==(e=h.value)||e.update()};return Object(s["watch"])(()=>r.noresize,e=>{e?(null==o||o(),null==i||i()):(({stop:o}=Object(l["useResizeObserver"])(f,k)),i=Object(l["useEventListener"])("resize",k))},{immediate:!0}),Object(s["watch"])(()=>[r.maxHeight,r.height],()=>{r.native||Object(s["nextTick"])(()=>{var e;k(),d.value&&(null==(e=h.value)||e.handleScroll(d.value))})}),Object(s["provide"])(Re,Object(s["reactive"])({scrollbarElement:c,wrapElement:d})),Object(s["onMounted"])(()=>{r.native||Object(s["nextTick"])(()=>{k()})}),Object(s["onUpdated"])(()=>k()),t({wrapRef:d,update:k,scrollTo:w,setScrollTop:_,setScrollLeft:j,handleScroll:O}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{ref_key:"scrollbarRef",ref:c,class:Object(s["normalizeClass"])(Object(s["unref"])(a).b())},[Object(s["createElementVNode"])("div",{ref_key:"wrapRef",ref:d,class:Object(s["normalizeClass"])(Object(s["unref"])(m)),style:Object(s["normalizeStyle"])(Object(s["unref"])(p)),onScroll:O},[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.tag),{id:e.id,ref_key:"resizeRef",ref:f,class:Object(s["normalizeClass"])(Object(s["unref"])(v)),style:Object(s["normalizeStyle"])(e.viewStyle),role:e.role,"aria-label":e.ariaLabel,"aria-orientation":e.ariaOrientation},{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],38),e.native?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createBlock"])(Ye,{key:0,ref_key:"barRef",ref:h,always:e.always,"min-size":e.minSize},null,8,["always","min-size"]))],2))}});var Xe=Object(v["a"])(Ge,[["__file","scrollbar.vue"]]);const Ke=Object(N["a"])(Xe),Je=Symbol("popper"),Ze=Symbol("popperContent"),Qe=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],et=Object(c["b"])({role:{type:String,values:Qe,default:"tooltip"}}),tt=Object(s["defineComponent"])({name:"ElPopper",inheritAttrs:!1}),nt=Object(s["defineComponent"])({...tt,props:et,setup(e,{expose:t}){const n=e,r=Object(s["ref"])(),a=Object(s["ref"])(),o=Object(s["ref"])(),i=Object(s["ref"])(),l=Object(s["computed"])(()=>n.role),c={triggerRef:r,popperInstanceRef:a,contentRef:o,referenceRef:i,role:l};return t(c),Object(s["provide"])(Je,c),(e,t)=>Object(s["renderSlot"])(e.$slots,"default")}});var rt=Object(v["a"])(nt,[["__file","popper.vue"]]);const at=Object(N["a"])(rt),ot=Symbol("elTooltip");function it(){let e;const t=(t,r)=>{n(),e=window.setTimeout(t,r)},n=()=>window.clearTimeout(e);return Object(l["tryOnScopeDispose"])(()=>n()),{registerTimeout:t,cancelTimeout:n}}const st=Object(c["b"])({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),lt=({showAfter:e,hideAfter:t,autoClose:n,open:r,close:a})=>{const{registerTimeout:o}=it(),{registerTimeout:i,cancelTimeout:l}=it(),c=t=>{o(()=>{r(t);const e=Object(s["unref"])(n);Object(u["d"])(e)&&e>0&&i(()=>{a(t)},e)},Object(s["unref"])(e))},d=e=>{l(),o(()=>{a(e)},Object(s["unref"])(t))};return{onOpen:c,onClose:d}};var ct=n("5e76");const ut=["fixed","absolute"],dt=Object(c["b"])({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:Object(c["c"])(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:ct["placements"],default:"bottom"},popperOptions:{type:Object(c["c"])(Object),default:()=>({})},strategy:{type:String,values:ut,default:"absolute"}}),ft=Object(c["b"])({...dt,id:String,style:{type:Object(c["c"])([String,Array,Object])},className:{type:Object(c["c"])([String,Array,Object])},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:Object(c["c"])([String,Array,Object])},popperStyle:{type:Object(c["c"])([String,Array,Object])},referenceEl:{type:Object(c["c"])(Object)},triggerTargetEl:{type:Object(c["c"])(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...oe(["ariaLabel"])}),ht={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},pt=Object(c["b"])({...st,...ft,appendTo:{type:Object(c["c"])([String,Object])},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,visible:{type:Object(c["c"])(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...oe(["ariaLabel"])}),mt=Object(c["b"])({virtualRef:{type:Object(c["c"])(Object)},virtualTriggering:Boolean,onMouseenter:{type:Object(c["c"])(Function)},onMouseleave:{type:Object(c["c"])(Function)},onClick:{type:Object(c["c"])(Function)},onKeydown:{type:Object(c["c"])(Function)},onFocus:{type:Object(c["c"])(Function)},onBlur:{type:Object(c["c"])(Function)},onContextmenu:{type:Object(c["c"])(Function)},id:String,open:Boolean});var vt=n("49c6");const bt=Object(c["b"])({...mt,disabled:Boolean,trigger:{type:Object(c["c"])([String,Array]),default:"hover"},triggerKeys:{type:Object(c["c"])(Array),default:()=>[vt["a"].enter,vt["a"].space]}}),gt=Object(c["a"])({type:Object(c["c"])(Boolean),default:null}),yt=Object(c["a"])({type:Object(c["c"])(Function)}),Ot=e=>{const t="update:"+e,n="onUpdate:"+e,r=[t],a={[e]:gt,[n]:yt},o=({indicator:r,toggleReason:a,shouldHideWhenRouteChanges:o,shouldProceed:i,onShow:c,onHide:d})=>{const f=Object(s["getCurrentInstance"])(),{emit:h}=f,p=f.props,m=Object(s["computed"])(()=>Object(te["isFunction"])(p[n])),v=Object(s["computed"])(()=>null===p[e]),b=e=>{!0!==r.value&&(r.value=!0,a&&(a.value=e),Object(te["isFunction"])(c)&&c(e))},g=e=>{!1!==r.value&&(r.value=!1,a&&(a.value=e),Object(te["isFunction"])(d)&&d(e))},y=e=>{if(!0===p.disabled||Object(te["isFunction"])(i)&&!i())return;const n=m.value&&l["isClient"];n&&h(t,!0),!v.value&&n||b(e)},O=e=>{if(!0===p.disabled||!l["isClient"])return;const n=m.value&&l["isClient"];n&&h(t,!1),!v.value&&n||g(e)},w=e=>{Object(u["a"])(e)&&(p.disabled&&e?m.value&&h(t,!1):r.value!==e&&(e?b():g()))},_=()=>{r.value?O():y()};return Object(s["watch"])(()=>p[e],w),o&&void 0!==f.appContext.config.globalProperties.$route&&Object(s["watch"])(()=>({...f.proxy.$route}),()=>{o.value&&r.value&&O()}),Object(s["onMounted"])(()=>{w(p[e])}),{hide:O,show:y,toggle:_,hasUpdateHandler:m}};return{useModelToggle:o,useModelToggleProps:a,useModelToggleEmits:r}},{useModelToggle:wt,useModelToggleProps:_t,useModelToggleEmits:jt}=Ot("modelValue"),kt=Object(c["b"])({arrowOffset:{type:Number,default:5}}),{useModelToggleProps:xt,useModelToggleEmits:St,useModelToggle:Ct}=Ot("visible"),Mt=Object(c["b"])({...et,...xt,...pt,...bt,...kt,showArrow:{type:Boolean,default:!0}}),At=[...St,"before-show","before-hide","show","hide","open","close"],Tt=(e,t)=>Object(te["isArray"])(e)?e.includes(t):e===t,Et=(e,t,n)=>r=>{Tt(Object(s["unref"])(e),t)&&n(r)},Lt=(e,t,{checkForDefaultPrevented:n=!0}={})=>{const r=r=>{const a=null==e?void 0:e(r);if(!1===n||!a)return null==t?void 0:t(r)};return r},Pt=e=>t=>"mouse"===t.pointerType?e(t):void 0,Dt=Symbol("elForwardRef"),Nt=e=>{const t=t=>{e.value=t};Object(s["provide"])(Dt,{setForwardRef:t})},Rt=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),It="ElOnlyChild",Bt=Object(s["defineComponent"])({name:It,setup(e,{slots:t,attrs:n}){var r;const a=Object(s["inject"])(Dt),o=Rt(null!=(r=null==a?void 0:a.setForwardRef)?r:te["NOOP"]);return()=>{var e;const r=null==(e=t.default)?void 0:e.call(t,n);if(!r)return null;if(r.length>1)return Object(y["a"])(It,"requires exact only one valid child."),null;const a=Ft(r);return a?Object(s["withDirectives"])(Object(s["cloneVNode"])(a,n),[[o]]):(Object(y["a"])(It,"no valid child node found"),null)}}});function Ft(e){if(!e)return null;const t=e;for(const n of t){if(Object(te["isObject"])(n))switch(n.type){case s["Comment"]:continue;case s["Text"]:case"svg":return Vt(n);case s["Fragment"]:return Ft(n.children);default:return n}return Vt(n)}return null}function Vt(e){const t=Object(b["d"])("only-child");return Object(s["createVNode"])("span",{class:t.e("content")},[e])}const zt=Object(s["defineComponent"])({name:"ElPopperTrigger",inheritAttrs:!1}),Ht=Object(s["defineComponent"])({...zt,props:mt,setup(e,{expose:t}){const n=e,{role:r,triggerRef:a}=Object(s["inject"])(Je,void 0);Nt(a);const o=Object(s["computed"])(()=>c.value?n.id:void 0),i=Object(s["computed"])(()=>{if(r&&"tooltip"===r.value)return n.open&&n.id?n.id:void 0}),c=Object(s["computed"])(()=>{if(r&&"tooltip"!==r.value)return r.value}),d=Object(s["computed"])(()=>c.value?""+n.open:void 0);let f=void 0;return Object(s["onMounted"])(()=>{Object(s["watch"])(()=>n.virtualRef,e=>{e&&(a.value=Object(l["unrefElement"])(e))},{immediate:!0}),Object(s["watch"])(a,(e,t)=>{null==f||f(),f=void 0,Object(u["b"])(e)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(r=>{var a;const o=n[r];o&&(e.addEventListener(r.slice(2).toLowerCase(),o),null==(a=null==t?void 0:t.removeEventListener)||a.call(t,r.slice(2).toLowerCase(),o))}),f=Object(s["watch"])([o,i,c,d],t=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((n,r)=>{Object(q["isNil"])(t[r])?e.removeAttribute(n):e.setAttribute(n,t[r])})},{immediate:!0})),Object(u["b"])(t)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(e=>t.removeAttribute(e))},{immediate:!0})}),Object(s["onBeforeUnmount"])(()=>{null==f||f(),f=void 0}),t({triggerRef:a}),(e,t)=>e.virtualTriggering?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(Bt),Object(s["mergeProps"])({key:0},e.$attrs,{"aria-controls":Object(s["unref"])(o),"aria-describedby":Object(s["unref"])(i),"aria-expanded":Object(s["unref"])(d),"aria-haspopup":Object(s["unref"])(c)}),{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var Yt=Object(v["a"])(Ht,[["__file","trigger.vue"]]);const Ut=Object(s["defineComponent"])({name:"ElTooltipTrigger"}),Wt=Object(s["defineComponent"])({...Ut,props:bt,setup(e,{expose:t}){const n=e,r=Object(b["d"])("tooltip"),{controlled:a,id:o,open:i,onOpen:l,onClose:c,onToggle:u}=Object(s["inject"])(ot,void 0),d=Object(s["ref"])(null),f=()=>{if(Object(s["unref"])(a)||n.disabled)return!0},h=Object(s["toRef"])(n,"trigger"),p=Lt(f,Et(h,"hover",l)),m=Lt(f,Et(h,"hover",c)),v=Lt(f,Et(h,"click",e=>{0===e.button&&u(e)})),g=Lt(f,Et(h,"focus",l)),y=Lt(f,Et(h,"focus",c)),O=Lt(f,Et(h,"contextmenu",e=>{e.preventDefault(),u(e)})),w=Lt(f,e=>{const{code:t}=e;n.triggerKeys.includes(t)&&(e.preventDefault(),u(e))});return t({triggerRef:d}),(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(Yt),{id:Object(s["unref"])(o),"virtual-ref":e.virtualRef,open:Object(s["unref"])(i),"virtual-triggering":e.virtualTriggering,class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("trigger")),onBlur:Object(s["unref"])(y),onClick:Object(s["unref"])(v),onContextmenu:Object(s["unref"])(O),onFocus:Object(s["unref"])(g),onMouseenter:Object(s["unref"])(p),onMouseleave:Object(s["unref"])(m),onKeydown:Object(s["unref"])(w)},{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var $t=Object(v["a"])(Wt,[["__file","trigger.vue"]]);let qt;const Gt=()=>{const e=Object(b["c"])(),t=me(),n=Object(s["computed"])(()=>`${e.value}-popper-container-${t.prefix}`),r=Object(s["computed"])(()=>"#"+n.value);return{id:n,selector:r}},Xt=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},Kt=()=>{const{id:e,selector:t}=Gt();return Object(s["onBeforeMount"])(()=>{l["isClient"]&&(qt||document.body.querySelector(t.value)||(qt=Xt(e.value)))}),{id:e,selector:t}},Jt=(e,t)=>{const n=Object(s["ref"])(!1),r=Object(s["ref"])(),a=()=>{t("focus")},o=e=>{var n;"pointer"!==(null==(n=e.detail)?void 0:n.focusReason)&&(r.value="first",t("blur"))},i=t=>{e.visible&&!n.value&&(t.target&&(r.value=t.target),n.value=!0)},l=t=>{e.trapping||("pointer"===t.detail.focusReason&&t.preventDefault(),n.value=!1)},c=()=>{n.value=!1,t("close")};return{focusStartRef:r,trapped:n,onFocusAfterReleased:o,onFocusAfterTrapped:a,onFocusInTrap:i,onFocusoutPrevented:l,onReleaseRequested:c}},Zt=(e,t=[])=>{const{placement:n,strategy:r,popperOptions:a}=e,o={placement:n,strategy:r,...a,modifiers:[...en(e),...t]};return tn(o,null==a?void 0:a.modifiers),o},Qt=e=>{if(l["isClient"])return Object(l["unrefElement"])(e)};function en(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:r}=e;return[{name:"offset",options:{offset:[0,null!=t?t:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:r}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function tn(e,t){t&&(e.modifiers=[...e.modifiers,...null!=t?t:[]])}const nn=(e,t,n={})=>{const r={name:"updateState",enabled:!0,phase:"write",fn:({state:e})=>{const t=rn(e);Object.assign(i.value,t)},requires:["computeStyles"]},a=Object(s["computed"])(()=>{const{onFirstUpdate:e,placement:t,strategy:a,modifiers:o}=Object(s["unref"])(n);return{onFirstUpdate:e,placement:t||"bottom",strategy:a||"absolute",modifiers:[...o||[],r,{name:"applyStyles",enabled:!1}]}}),o=Object(s["shallowRef"])(),i=Object(s["ref"])({styles:{popper:{position:Object(s["unref"])(a).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=()=>{o.value&&(o.value.destroy(),o.value=void 0)};return Object(s["watch"])(a,e=>{const t=Object(s["unref"])(o);t&&t.setOptions(e)},{deep:!0}),Object(s["watch"])([e,t],([e,t])=>{l(),e&&t&&(o.value=Object(ct["createPopper"])(e,t,Object(s["unref"])(a)))}),Object(s["onBeforeUnmount"])(()=>{l()}),{state:Object(s["computed"])(()=>{var e;return{...(null==(e=Object(s["unref"])(o))?void 0:e.state)||{}}}),styles:Object(s["computed"])(()=>Object(s["unref"])(i).styles),attributes:Object(s["computed"])(()=>Object(s["unref"])(i).attributes),update:()=>{var e;return null==(e=Object(s["unref"])(o))?void 0:e.update()},forceUpdate:()=>{var e;return null==(e=Object(s["unref"])(o))?void 0:e.forceUpdate()},instanceRef:Object(s["computed"])(()=>Object(s["unref"])(o))}};function rn(e){const t=Object.keys(e.elements),n=Object(q["fromPairs"])(t.map(t=>[t,e.styles[t]||{}])),r=Object(q["fromPairs"])(t.map(t=>[t,e.attributes[t]]));return{styles:n,attributes:r}}const an=0,on=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:r,role:a}=Object(s["inject"])(Je,void 0),o=Object(s["ref"])(),i=Object(s["ref"])(),l=Object(s["computed"])(()=>({name:"eventListeners",enabled:!!e.visible})),c=Object(s["computed"])(()=>{var e;const t=Object(s["unref"])(o),n=null!=(e=Object(s["unref"])(i))?e:an;return{name:"arrow",enabled:!Object(q["isUndefined"])(t),options:{element:t,padding:n}}}),u=Object(s["computed"])(()=>({onFirstUpdate:()=>{m()},...Zt(e,[Object(s["unref"])(c),Object(s["unref"])(l)])})),d=Object(s["computed"])(()=>Qt(e.referenceEl)||Object(s["unref"])(r)),{attributes:f,state:h,styles:p,update:m,forceUpdate:v,instanceRef:b}=nn(d,n,u);return Object(s["watch"])(b,e=>t.value=e),Object(s["onMounted"])(()=>{Object(s["watch"])(()=>{var e;return null==(e=Object(s["unref"])(d))?void 0:e.getBoundingClientRect()},()=>{m()})}),{attributes:f,arrowRef:o,contentRef:n,instanceRef:b,state:h,styles:p,role:a,forceUpdate:v,update:m}};var sn=n("0a08");const ln=(e,{attributes:t,styles:n,role:r})=>{const{nextZIndex:a}=Object(sn["b"])(),o=Object(b["d"])("popper"),i=Object(s["computed"])(()=>Object(s["unref"])(t).popper),l=Object(s["ref"])(Object(u["d"])(e.zIndex)?e.zIndex:a()),c=Object(s["computed"])(()=>[o.b(),o.is("pure",e.pure),o.is(e.effect),e.popperClass]),d=Object(s["computed"])(()=>[{zIndex:Object(s["unref"])(l)},Object(s["unref"])(n).popper,e.popperStyle||{}]),f=Object(s["computed"])(()=>"dialog"===r.value?"false":void 0),h=Object(s["computed"])(()=>Object(s["unref"])(n).arrow||{}),p=()=>{l.value=Object(u["d"])(e.zIndex)?e.zIndex:a()};return{ariaModal:f,arrowStyle:h,contentAttrs:i,contentClass:c,contentStyle:d,contentZIndex:l,updateZIndex:p}},cn="focus-trap.focus-after-trapped",un="focus-trap.focus-after-released",dn="focus-trap.focusout-prevented",fn={cancelable:!0,bubbles:!1},hn={cancelable:!0,bubbles:!1},pn="focusAfterTrapped",mn="focusAfterReleased",vn=Symbol("elFocusTrap"),bn=Object(s["ref"])(),gn=Object(s["ref"])(0),yn=Object(s["ref"])(0);let On=0;const wn=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0||e===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});while(n.nextNode())t.push(n.currentNode);return t},_n=(e,t)=>{for(const n of e)if(!jn(n,t))return n},jn=(e,t)=>{if("hidden"===getComputedStyle(e).visibility)return!0;while(e){if(t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1},kn=e=>{const t=wn(e),n=_n(t,e),r=_n(t.reverse(),e);return[n,r]},xn=e=>e instanceof HTMLInputElement&&"select"in e,Sn=(e,t)=>{if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),yn.value=window.performance.now(),e!==n&&xn(e)&&t&&e.select()}};function Cn(e,t){const n=[...e],r=e.indexOf(t);return-1!==r&&n.splice(r,1),n}const Mn=()=>{let e=[];const t=t=>{const n=e[0];n&&t!==n&&n.pause(),e=Cn(e,t),e.unshift(t)},n=t=>{var n,r;e=Cn(e,t),null==(r=null==(n=e[0])?void 0:n.resume)||r.call(n)};return{push:t,remove:n}},An=(e,t=!1)=>{const n=document.activeElement;for(const r of e)if(Sn(r,t),document.activeElement!==n)return},Tn=Mn(),En=()=>gn.value>yn.value,Ln=()=>{bn.value="pointer",gn.value=window.performance.now()},Pn=()=>{bn.value="keyboard",gn.value=window.performance.now()},Dn=()=>(Object(s["onMounted"])(()=>{0===On&&(document.addEventListener("mousedown",Ln),document.addEventListener("touchstart",Ln),document.addEventListener("keydown",Pn)),On++}),Object(s["onBeforeUnmount"])(()=>{On--,On<=0&&(document.removeEventListener("mousedown",Ln),document.removeEventListener("touchstart",Ln),document.removeEventListener("keydown",Pn))}),{focusReason:bn,lastUserFocusTimestamp:gn,lastAutomatedFocusTimestamp:yn}),Nn=e=>new CustomEvent(dn,{...hn,detail:e});let Rn=[];const In=e=>{const t=e;t.key===vt["a"].esc&&Rn.forEach(e=>e(t))},Bn=e=>{Object(s["onMounted"])(()=>{0===Rn.length&&document.addEventListener("keydown",In),l["isClient"]&&Rn.push(e)}),Object(s["onBeforeUnmount"])(()=>{Rn=Rn.filter(t=>t!==e),0===Rn.length&&l["isClient"]&&document.removeEventListener("keydown",In)})},Fn=Object(s["defineComponent"])({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[pn,mn,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=Object(s["ref"])();let r,a;const{focusReason:o}=Dn();Bn(n=>{e.trapped&&!i.paused&&t("release-requested",n)});const i={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},l=n=>{if(!e.loop&&!e.trapped)return;if(i.paused)return;const{key:r,altKey:a,ctrlKey:s,metaKey:l,currentTarget:c,shiftKey:u}=n,{loop:d}=e,f=r===vt["a"].tab&&!a&&!s&&!l,h=document.activeElement;if(f&&h){const e=c,[r,a]=kn(e),i=r&&a;if(i)if(u||h!==a){if(u&&[r,e].includes(h)){const e=Nn({focusReason:o.value});t("focusout-prevented",e),e.defaultPrevented||(n.preventDefault(),d&&Sn(a,!0))}}else{const e=Nn({focusReason:o.value});t("focusout-prevented",e),e.defaultPrevented||(n.preventDefault(),d&&Sn(r,!0))}else if(h===e){const e=Nn({focusReason:o.value});t("focusout-prevented",e),e.defaultPrevented||n.preventDefault()}}};Object(s["provide"])(vn,{focusTrapRef:n,onKeydown:l}),Object(s["watch"])(()=>e.focusTrapEl,e=>{e&&(n.value=e)},{immediate:!0}),Object(s["watch"])([n],([e],[t])=>{e&&(e.addEventListener("keydown",l),e.addEventListener("focusin",d),e.addEventListener("focusout",f)),t&&(t.removeEventListener("keydown",l),t.removeEventListener("focusin",d),t.removeEventListener("focusout",f))});const c=e=>{t(pn,e)},u=e=>t(mn,e),d=o=>{const l=Object(s["unref"])(n);if(!l)return;const c=o.target,u=o.relatedTarget,d=c&&l.contains(c);if(!e.trapped){const e=u&&l.contains(u);e||(r=u)}d&&t("focusin",o),i.paused||e.trapped&&(d?a=c:Sn(a,!0))},f=r=>{const l=Object(s["unref"])(n);if(!i.paused&&l)if(e.trapped){const n=r.relatedTarget;Object(q["isNil"])(n)||l.contains(n)||setTimeout(()=>{if(!i.paused&&e.trapped){const e=Nn({focusReason:o.value});t("focusout-prevented",e),e.defaultPrevented||Sn(a,!0)}},0)}else{const e=r.target,n=e&&l.contains(e);n||t("focusout",r)}};async function h(){await Object(s["nextTick"])();const t=Object(s["unref"])(n);if(t){Tn.push(i);const n=t.contains(document.activeElement)?r:document.activeElement;r=n;const a=t.contains(n);if(!a){const r=new Event(cn,fn);t.addEventListener(cn,c),t.dispatchEvent(r),r.defaultPrevented||Object(s["nextTick"])(()=>{let r=e.focusStartEl;Object(te["isString"])(r)||(Sn(r),document.activeElement!==r&&(r="first")),"first"===r&&An(wn(t),!0),document.activeElement!==n&&"container"!==r||Sn(t)})}}}function p(){const e=Object(s["unref"])(n);if(e){e.removeEventListener(cn,c);const t=new CustomEvent(un,{...fn,detail:{focusReason:o.value}});e.addEventListener(un,u),e.dispatchEvent(t),t.defaultPrevented||"keyboard"!=o.value&&En()&&!e.contains(document.activeElement)||Sn(null!=r?r:document.body),e.removeEventListener(un,u),Tn.remove(i)}}return Object(s["onMounted"])(()=>{e.trapped&&h(),Object(s["watch"])(()=>e.trapped,e=>{e?h():p()})}),Object(s["onBeforeUnmount"])(()=>{e.trapped&&p()}),{onKeydown:l}}});function Vn(e,t,n,r,a,o){return Object(s["renderSlot"])(e.$slots,"default",{handleKeydown:e.onKeydown})}var zn=Object(v["a"])(Fn,[["render",Vn],["__file","focus-trap.vue"]]);const Hn=Object(s["defineComponent"])({name:"ElPopperContent"}),Yn=Object(s["defineComponent"])({...Hn,props:ft,emits:ht,setup(e,{expose:t,emit:n}){const r=e,{focusStartRef:a,trapped:o,onFocusAfterReleased:i,onFocusAfterTrapped:l,onFocusInTrap:c,onFocusoutPrevented:d,onReleaseRequested:f}=Jt(r,n),{attributes:h,arrowRef:p,contentRef:m,styles:v,instanceRef:b,role:g,update:y}=on(r),{ariaModal:O,arrowStyle:w,contentAttrs:_,contentClass:j,contentStyle:k,updateZIndex:x}=ln(r,{styles:v,attributes:h,role:g}),S=Object(s["inject"])(fe,void 0),C=Object(s["ref"])();Object(s["provide"])(Ze,{arrowStyle:w,arrowRef:p,arrowOffset:C}),S&&Object(s["provide"])(fe,{...S,addInputId:te["NOOP"],removeInputId:te["NOOP"]});let M=void 0;const A=(e=!0)=>{y(),e&&x()},T=()=>{A(!1),r.visible&&r.focusOnShow?o.value=!0:!1===r.visible&&(o.value=!1)};return Object(s["onMounted"])(()=>{Object(s["watch"])(()=>r.triggerTargetEl,(e,t)=>{null==M||M(),M=void 0;const n=Object(s["unref"])(e||m.value),a=Object(s["unref"])(t||m.value);Object(u["b"])(n)&&(M=Object(s["watch"])([g,()=>r.ariaLabel,O,()=>r.id],e=>{["role","aria-label","aria-modal","id"].forEach((t,r)=>{Object(q["isNil"])(e[r])?n.removeAttribute(t):n.setAttribute(t,e[r])})},{immediate:!0})),a!==n&&Object(u["b"])(a)&&["role","aria-label","aria-modal","id"].forEach(e=>{a.removeAttribute(e)})},{immediate:!0}),Object(s["watch"])(()=>r.visible,T,{immediate:!0})}),Object(s["onBeforeUnmount"])(()=>{null==M||M(),M=void 0}),t({popperContentRef:m,popperInstanceRef:b,updatePopper:A,contentStyle:k}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",Object(s["mergeProps"])({ref_key:"contentRef",ref:m},Object(s["unref"])(_),{style:Object(s["unref"])(k),class:Object(s["unref"])(j),tabindex:"-1",onMouseenter:t[0]||(t[0]=t=>e.$emit("mouseenter",t)),onMouseleave:t[1]||(t[1]=t=>e.$emit("mouseleave",t))}),[Object(s["createVNode"])(Object(s["unref"])(zn),{trapped:Object(s["unref"])(o),"trap-on-focus-in":!0,"focus-trap-el":Object(s["unref"])(m),"focus-start-el":Object(s["unref"])(a),onFocusAfterTrapped:Object(s["unref"])(l),onFocusAfterReleased:Object(s["unref"])(i),onFocusin:Object(s["unref"])(c),onFocusoutPrevented:Object(s["unref"])(d),onReleaseRequested:Object(s["unref"])(f)},{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var Un=Object(v["a"])(Yn,[["__file","content.vue"]]);const Wn=Object(s["defineComponent"])({name:"ElTooltipContent",inheritAttrs:!1}),$n=Object(s["defineComponent"])({...Wn,props:pt,setup(e,{expose:t}){const n=e,{selector:r}=Gt(),a=Object(b["d"])("tooltip"),o=Object(s["ref"])(null),i=Object(s["ref"])(!1),{controlled:c,id:u,open:d,trigger:f,onClose:h,onOpen:p,onShow:m,onHide:v,onBeforeShow:g,onBeforeHide:y}=Object(s["inject"])(ot,void 0),O=Object(s["computed"])(()=>n.transition||a.namespace.value+"-fade-in-linear"),w=Object(s["computed"])(()=>n.persistent);Object(s["onBeforeUnmount"])(()=>{i.value=!0});const _=Object(s["computed"])(()=>!!Object(s["unref"])(w)||Object(s["unref"])(d)),j=Object(s["computed"])(()=>!n.disabled&&Object(s["unref"])(d)),k=Object(s["computed"])(()=>n.appendTo||r.value),x=Object(s["computed"])(()=>{var e;return null!=(e=n.style)?e:{}}),S=Object(s["computed"])(()=>!Object(s["unref"])(d)),C=()=>{v()},M=()=>{if(Object(s["unref"])(c))return!0},A=Lt(M,()=>{n.enterable&&"hover"===Object(s["unref"])(f)&&p()}),T=Lt(M,()=>{"hover"===Object(s["unref"])(f)&&h()}),E=()=>{var e,t;null==(t=null==(e=o.value)?void 0:e.updatePopper)||t.call(e),null==g||g()},L=()=>{null==y||y()},P=()=>{m(),N=Object(l["onClickOutside"])(Object(s["computed"])(()=>{var e;return null==(e=o.value)?void 0:e.popperContentRef}),()=>{if(Object(s["unref"])(c))return;const e=Object(s["unref"])(f);"hover"!==e&&h()})},D=()=>{n.virtualTriggering||h()};let N;return Object(s["watch"])(()=>Object(s["unref"])(d),e=>{e||null==N||N()},{flush:"post"}),Object(s["watch"])(()=>n.content,()=>{var e,t;null==(t=null==(e=o.value)?void 0:e.updatePopper)||t.call(e)}),t({contentRef:o}),(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(s["Teleport"],{disabled:!e.teleported,to:Object(s["unref"])(k)},[Object(s["createVNode"])(s["Transition"],{name:Object(s["unref"])(O),onAfterLeave:C,onBeforeEnter:E,onAfterEnter:P,onBeforeLeave:L},{default:Object(s["withCtx"])(()=>[Object(s["unref"])(_)?Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(Un),Object(s["mergeProps"])({key:0,id:Object(s["unref"])(u),ref_key:"contentRef",ref:o},e.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":Object(s["unref"])(S),"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,Object(s["unref"])(x)],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:Object(s["unref"])(j),"z-index":e.zIndex,onMouseenter:Object(s["unref"])(A),onMouseleave:Object(s["unref"])(T),onBlur:D,onClose:Object(s["unref"])(h)}),{default:Object(s["withCtx"])(()=>[i.value?Object(s["createCommentVNode"])("v-if",!0):Object(s["renderSlot"])(e.$slots,"default",{key:0})]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[s["vShow"],Object(s["unref"])(j)]]):Object(s["createCommentVNode"])("v-if",!0)]),_:3},8,["name"])],8,["disabled","to"]))}});var qn=Object(v["a"])($n,[["__file","content.vue"]]);const Gn=Object(s["defineComponent"])({name:"ElPopperArrow",inheritAttrs:!1}),Xn=Object(s["defineComponent"])({...Gn,props:kt,setup(e,{expose:t}){const n=e,r=Object(b["d"])("popper"),{arrowOffset:a,arrowRef:o,arrowStyle:i}=Object(s["inject"])(Ze,void 0);return Object(s["watch"])(()=>n.arrowOffset,e=>{a.value=e}),Object(s["onBeforeUnmount"])(()=>{o.value=void 0}),t({arrowRef:o}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{ref_key:"arrowRef",ref:o,class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("arrow")),style:Object(s["normalizeStyle"])(Object(s["unref"])(i)),"data-popper-arrow":""},null,6))}});var Kn=Object(v["a"])(Xn,[["__file","arrow.vue"]]);const Jn=["innerHTML"],Zn={key:1},Qn=Object(s["defineComponent"])({name:"ElTooltip"}),er=Object(s["defineComponent"])({...Qn,props:Mt,emits:At,setup(e,{expose:t,emit:n}){const r=e;Kt();const a=ve(),o=Object(s["ref"])(),i=Object(s["ref"])(),l=()=>{var e;const t=Object(s["unref"])(o);t&&(null==(e=t.popperInstanceRef)||e.update())},c=Object(s["ref"])(!1),d=Object(s["ref"])(),{show:f,hide:h,hasUpdateHandler:p}=Ct({indicator:c,toggleReason:d}),{onOpen:m,onClose:v}=lt({showAfter:Object(s["toRef"])(r,"showAfter"),hideAfter:Object(s["toRef"])(r,"hideAfter"),autoClose:Object(s["toRef"])(r,"autoClose"),open:f,close:h}),b=Object(s["computed"])(()=>Object(u["a"])(r.visible)&&!p.value);Object(s["provide"])(ot,{controlled:b,id:a,open:Object(s["readonly"])(c),trigger:Object(s["toRef"])(r,"trigger"),onOpen:e=>{m(e)},onClose:e=>{v(e)},onToggle:e=>{Object(s["unref"])(c)?v(e):m(e)},onShow:()=>{n("show",d.value)},onHide:()=>{n("hide",d.value)},onBeforeShow:()=>{n("before-show",d.value)},onBeforeHide:()=>{n("before-hide",d.value)},updatePopper:l}),Object(s["watch"])(()=>r.disabled,e=>{e&&c.value&&(c.value=!1)});const g=e=>{var t,n;const r=null==(n=null==(t=i.value)?void 0:t.contentRef)?void 0:n.popperContentRef,a=(null==e?void 0:e.relatedTarget)||document.activeElement;return r&&r.contains(a)};return Object(s["onDeactivated"])(()=>c.value&&h()),t({popperRef:o,contentRef:i,isFocusInsideContent:g,updatePopper:l,onOpen:m,onClose:v,hide:h}),(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(at),{ref_key:"popperRef",ref:o,role:e.role},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])($t,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering},{default:Object(s["withCtx"])(()=>[e.$slots.default?Object(s["renderSlot"])(e.$slots,"default",{key:0}):Object(s["createCommentVNode"])("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),Object(s["createVNode"])(qn,{ref_key:"contentRef",ref:i,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":e.popperClass,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo},{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"content",{},()=>[e.rawContent?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:0,innerHTML:e.content},null,8,Jn)):(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",Zn,Object(s["toDisplayString"])(e.content),1))]),e.showArrow?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(Kn),{key:0,"arrow-offset":e.arrowOffset},null,8,["arrow-offset"])):Object(s["createCommentVNode"])("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])]),_:3},8,["role"]))}});var tr=Object(v["a"])(er,[["__file","tooltip.vue"]]);const nr=Object(N["a"])(tr),rr=Object(c["b"])({valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:Object(c["c"])(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:Object(c["c"])([Function,Array]),default:te["NOOP"]},popperClass:{type:String,default:""},triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:{type:Boolean,default:!1},hideLoading:{type:Boolean,default:!1},teleported:pt.teleported,highlightFirstItem:{type:Boolean,default:!1},fitInputWidth:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},name:String,...oe(["ariaLabel"])}),ar={[d]:e=>Object(te["isString"])(e),[h]:e=>Object(te["isString"])(e),[f]:e=>Object(te["isString"])(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,select:e=>Object(te["isObject"])(e)},or=["aria-expanded","aria-owns"],ir={key:0},sr=["id","aria-selected","onClick"],lr="ElAutocomplete",cr=Object(s["defineComponent"])({name:lr,inheritAttrs:!1}),ur=Object(s["defineComponent"])({...cr,props:rr,emits:ar,setup(e,{expose:t,emit:n}){const r=e,a=ue(),o=Object(s["useAttrs"])(),i=we(),c=Object(b["d"])("autocomplete"),u=Object(s["ref"])(),p=Object(s["ref"])(),m=Object(s["ref"])(),v=Object(s["ref"])();let g=!1,O=!1;const w=Object(s["ref"])([]),_=Object(s["ref"])(-1),j=Object(s["ref"])(""),k=Object(s["ref"])(!1),x=Object(s["ref"])(!1),S=Object(s["ref"])(!1),C=ve(),M=Object(s["computed"])(()=>o.style),A=Object(s["computed"])(()=>{const e=w.value.length>0;return(e||S.value)&&k.value}),T=Object(s["computed"])(()=>!r.hideLoading&&S.value),E=Object(s["computed"])(()=>u.value?Array.from(u.value.$el.querySelectorAll("input")):[]),L=()=>{A.value&&(j.value=u.value.$el.offsetWidth+"px")},P=()=>{_.value=-1},D=async e=>{if(x.value)return;const t=e=>{S.value=!1,x.value||(Object(te["isArray"])(e)?(w.value=e,_.value=r.highlightFirstItem?0:-1):Object(y["b"])(lr,"autocomplete suggestions must be an array"))};if(S.value=!0,Object(te["isArray"])(r.fetchSuggestions))t(r.fetchSuggestions);else{const n=await r.fetchSuggestions(e,t);Object(te["isArray"])(n)&&t(n)}},N=Object(q["debounce"])(D,r.debounce),R=e=>{const t=!!e;if(n(h,e),n(d,e),x.value=!1,k.value||(k.value=t),!r.triggerOnFocus&&!e)return x.value=!0,void(w.value=[]);N(e)},B=e=>{var t;i.value||("INPUT"!==(null==(t=e.target)?void 0:t.tagName)||E.value.includes(document.activeElement))&&(k.value=!0)},F=e=>{n(f,e)},V=e=>{O?O=!1:(k.value=!0,n("focus",e),r.triggerOnFocus&&!g&&N(String(r.modelValue)))},z=e=>{setTimeout(()=>{var t;(null==(t=m.value)?void 0:t.isFocusInsideContent())?O=!0:(k.value&&W(),n("blur",e))})},H=()=>{k.value=!1,n(d,""),n("clear")},Y=async()=>{A.value&&_.value>=0&&_.value<w.value.length?K(w.value[_.value]):r.selectWhenUnmatched&&(n("select",{value:r.modelValue}),w.value=[],_.value=-1)},U=e=>{A.value&&(e.preventDefault(),e.stopPropagation(),W())},W=()=>{k.value=!1},$=()=>{var e;null==(e=u.value)||e.focus()},X=()=>{var e;null==(e=u.value)||e.blur()},K=async e=>{n(h,e[r.valueKey]),n(d,e[r.valueKey]),n("select",e),w.value=[],_.value=-1},J=e=>{if(!A.value||S.value)return;if(e<0)return void(_.value=-1);e>=w.value.length&&(e=w.value.length-1);const t=p.value.querySelector("."+c.be("suggestion","wrap")),n=t.querySelectorAll(`.${c.be("suggestion","list")} li`),r=n[e],a=t.scrollTop,{offsetTop:o,scrollHeight:i}=r;o+i>a+t.clientHeight&&(t.scrollTop+=i),o<a&&(t.scrollTop-=i),_.value=e,u.value.ref.setAttribute("aria-activedescendant",`${C.value}-item-${_.value}`)};return Object(l["onClickOutside"])(v,()=>{A.value&&W()}),Object(s["onMounted"])(()=>{u.value.ref.setAttribute("role","textbox"),u.value.ref.setAttribute("aria-autocomplete","list"),u.value.ref.setAttribute("aria-controls","id"),u.value.ref.setAttribute("aria-activedescendant",`${C.value}-item-${_.value}`),g=u.value.ref.hasAttribute("readonly")}),t({highlightedIndex:_,activated:k,loading:S,inputRef:u,popperRef:m,suggestions:w,handleSelect:K,handleKeyEnter:Y,focus:$,blur:X,close:W,highlight:J}),(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(nr),{ref_key:"popperRef",ref:m,visible:Object(s["unref"])(A),placement:e.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[Object(s["unref"])(c).e("popper"),e.popperClass],teleported:e.teleported,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:Object(s["unref"])(c).namespace.value+"-zoom-in-top",persistent:"",role:"listbox",onBeforeShow:L,onHide:P},{content:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("div",{ref_key:"regionRef",ref:p,class:Object(s["normalizeClass"])([Object(s["unref"])(c).b("suggestion"),Object(s["unref"])(c).is("loading",Object(s["unref"])(T))]),style:Object(s["normalizeStyle"])({[e.fitInputWidth?"width":"minWidth"]:j.value,outline:"none"}),role:"region"},[Object(s["createVNode"])(Object(s["unref"])(Ke),{id:Object(s["unref"])(C),tag:"ul","wrap-class":Object(s["unref"])(c).be("suggestion","wrap"),"view-class":Object(s["unref"])(c).be("suggestion","list"),role:"listbox"},{default:Object(s["withCtx"])(()=>[Object(s["unref"])(T)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("li",ir,[Object(s["renderSlot"])(e.$slots,"loading",{},()=>[Object(s["createVNode"])(Object(s["unref"])(I["a"]),{class:Object(s["normalizeClass"])(Object(s["unref"])(c).is("loading"))},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["Loading"]))]),_:1},8,["class"])])])):(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],{key:1},Object(s["renderList"])(w.value,(t,n)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("li",{id:`${Object(s["unref"])(C)}-item-${n}`,key:n,class:Object(s["normalizeClass"])({highlighted:_.value===n}),role:"option","aria-selected":_.value===n,onClick:e=>K(t)},[Object(s["renderSlot"])(e.$slots,"default",{item:t},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(t[e.valueKey]),1)])],10,sr))),128))]),_:3},8,["id","wrap-class","view-class"])],6)]),default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("div",{ref_key:"listboxRef",ref:v,class:Object(s["normalizeClass"])([Object(s["unref"])(c).b(),e.$attrs.class]),style:Object(s["normalizeStyle"])(Object(s["unref"])(M)),role:"combobox","aria-haspopup":"listbox","aria-expanded":Object(s["unref"])(A),"aria-owns":Object(s["unref"])(C)},[Object(s["createVNode"])(Object(s["unref"])(Le),Object(s["mergeProps"])({ref_key:"inputRef",ref:u},Object(s["unref"])(a),{clearable:e.clearable,disabled:Object(s["unref"])(i),name:e.name,"model-value":e.modelValue,"aria-label":e.ariaLabel,onInput:R,onChange:F,onFocus:V,onBlur:z,onClear:H,onKeydown:[t[0]||(t[0]=Object(s["withKeys"])(Object(s["withModifiers"])(e=>J(_.value-1),["prevent"]),["up"])),t[1]||(t[1]=Object(s["withKeys"])(Object(s["withModifiers"])(e=>J(_.value+1),["prevent"]),["down"])),Object(s["withKeys"])(Y,["enter"]),Object(s["withKeys"])(W,["tab"]),Object(s["withKeys"])(U,["esc"])],onMousedown:B}),Object(s["createSlots"])({_:2},[e.$slots.prepend?{name:"prepend",fn:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"prepend")])}:void 0,e.$slots.append?{name:"append",fn:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"append")])}:void 0,e.$slots.prefix?{name:"prefix",fn:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"prefix")])}:void 0,e.$slots.suffix?{name:"suffix",fn:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"suffix")])}:void 0]),1040,["clearable","disabled","name","model-value","aria-label","onKeydown"])],14,or)]),_:3},8,["visible","placement","popper-class","teleported","transition"]))}});var dr=Object(v["a"])(ur,[["__file","autocomplete.vue"]]);const fr=Object(N["a"])(dr);var hr=n("d5eb");const pr=Object(c["b"])({size:{type:[Number,String],values:hr["a"],default:"",validator:e=>Object(u["d"])(e)},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:F["e"]},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:Object(c["c"])(String),default:"cover"}}),mr={error:e=>e instanceof Event},vr=["src","alt","srcset"],br=Object(s["defineComponent"])({name:"ElAvatar"}),gr=Object(s["defineComponent"])({...br,props:pr,emits:mr,setup(e,{emit:t}){const n=e,r=Object(b["d"])("avatar"),a=Object(s["ref"])(!1),o=Object(s["computed"])(()=>{const{size:e,icon:t,shape:a}=n,o=[r.b()];return Object(te["isString"])(e)&&o.push(r.m(e)),t&&o.push(r.m("icon")),a&&o.push(r.m(a)),o}),i=Object(s["computed"])(()=>{const{size:e}=n;return Object(u["d"])(e)?r.cssVarBlock({size:Object(g["b"])(e)||""}):void 0}),l=Object(s["computed"])(()=>({objectFit:n.fit}));function c(e){a.value=!0,t("error",e)}return Object(s["watch"])(()=>n.src,()=>a.value=!1),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(o)),style:Object(s["normalizeStyle"])(Object(s["unref"])(i))},[!e.src&&!e.srcSet||a.value?e.icon?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:1},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.icon)))]),_:1})):Object(s["renderSlot"])(e.$slots,"default",{key:2}):(Object(s["openBlock"])(),Object(s["createElementBlock"])("img",{key:0,src:e.src,alt:e.alt,srcset:e.srcSet,style:Object(s["normalizeStyle"])(Object(s["unref"])(l)),onError:c},null,44,vr))],6))}});var yr=Object(v["a"])(gr,[["__file","avatar.vue"]]);const Or=Object(N["a"])(yr),wr={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},_r={click:e=>e instanceof MouseEvent},jr=(e,t,n)=>{const r=Object(s["shallowRef"])(),a=Object(s["shallowRef"])(),o=Object(s["ref"])(!1),i=()=>{r.value&&(o.value=r.value.scrollTop>=e.visibilityHeight)},c=e=>{var n;null==(n=r.value)||n.scrollTo({top:0,behavior:"smooth"}),t("click",e)},u=Object(l["useThrottleFn"])(i,300,!0);return Object(l["useEventListener"])(a,"scroll",u),Object(s["onMounted"])(()=>{var t;a.value=document,r.value=document.documentElement,e.target&&(r.value=null!=(t=document.querySelector(e.target))?t:void 0,r.value||Object(y["b"])(n,"target does not exist: "+e.target),a.value=r.value),i()}),{visible:o,handleClick:c}},kr="ElBacktop",xr=Object(s["defineComponent"])({name:kr}),Sr=Object(s["defineComponent"])({...xr,props:wr,emits:_r,setup(e,{emit:t}){const n=e,r=Object(b["d"])("backtop"),{handleClick:a,visible:o}=jr(n,t,kr),i=Object(s["computed"])(()=>({right:n.right+"px",bottom:n.bottom+"px"}));return(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(s["Transition"],{name:Object(s["unref"])(r).namespace.value+"-fade-in"},{default:Object(s["withCtx"])(()=>[Object(s["unref"])(o)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,style:Object(s["normalizeStyle"])(Object(s["unref"])(i)),class:Object(s["normalizeClass"])(Object(s["unref"])(r).b()),onClick:t[0]||(t[0]=Object(s["withModifiers"])((...e)=>Object(s["unref"])(a)&&Object(s["unref"])(a)(...e),["stop"]))},[Object(s["renderSlot"])(e.$slots,"default",{},()=>[Object(s["createVNode"])(Object(s["unref"])(I["a"]),{class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("icon"))},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["CaretTop"]))]),_:1},8,["class"])])],6)):Object(s["createCommentVNode"])("v-if",!0)]),_:3},8,["name"]))}});var Cr=Object(v["a"])(Sr,[["__file","backtop.vue"]]);const Mr=Object(N["a"])(Cr);var Ar=n("0388");const Tr=Symbol("breadcrumbKey"),Er=Object(c["b"])({separator:{type:String,default:"/"},separatorIcon:{type:F["e"]}});var Lr=n("4cb3");const Pr=["aria-label"],Dr=Object(s["defineComponent"])({name:"ElBreadcrumb"}),Nr=Object(s["defineComponent"])({...Dr,props:Er,setup(e){const t=e,{t:n}=Object(Lr["b"])(),r=Object(b["d"])("breadcrumb"),a=Object(s["ref"])();return Object(s["provide"])(Tr,t),Object(s["onMounted"])(()=>{const e=a.value.querySelectorAll("."+r.e("item"));e.length&&e[e.length-1].setAttribute("aria-current","page")}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{ref_key:"breadcrumb",ref:a,class:Object(s["normalizeClass"])(Object(s["unref"])(r).b()),"aria-label":Object(s["unref"])(n)("el.breadcrumb.label"),role:"navigation"},[Object(s["renderSlot"])(e.$slots,"default")],10,Pr))}});var Rr=Object(v["a"])(Nr,[["__file","breadcrumb.vue"]]);const Ir=Object(c["b"])({to:{type:Object(c["c"])([String,Object]),default:""},replace:{type:Boolean,default:!1}}),Br=Object(s["defineComponent"])({name:"ElBreadcrumbItem"}),Fr=Object(s["defineComponent"])({...Br,props:Ir,setup(e){const t=e,n=Object(s["getCurrentInstance"])(),r=Object(s["inject"])(Tr,void 0),a=Object(b["d"])("breadcrumb"),o=n.appContext.config.globalProperties.$router,i=Object(s["ref"])(),l=()=>{t.to&&o&&(t.replace?o.replace(t.to):o.push(t.to))};return(e,t)=>{var n,o;return Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("item"))},[Object(s["createElementVNode"])("span",{ref_key:"link",ref:i,class:Object(s["normalizeClass"])([Object(s["unref"])(a).e("inner"),Object(s["unref"])(a).is("link",!!e.to)]),role:"link",onClick:l},[Object(s["renderSlot"])(e.$slots,"default")],2),(null==(n=Object(s["unref"])(r))?void 0:n.separatorIcon)?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("separator"))},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(Object(s["unref"])(r).separatorIcon)))]),_:1},8,["class"])):(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:1,class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("separator")),role:"presentation"},Object(s["toDisplayString"])(null==(o=Object(s["unref"])(r))?void 0:o.separator),3))],2)}}});var Vr=Object(v["a"])(Fr,[["__file","breadcrumb-item.vue"]]);const zr=Object(N["a"])(Rr,{BreadcrumbItem:Vr}),Hr=Object(N["d"])(Vr),Yr=Symbol("buttonGroupContextKey"),Ur=(e,t)=>{Object(xe["a"])({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},Object(s["computed"])(()=>"text"===e.type));const n=Object(s["inject"])(Yr,void 0),r=Object(o["c"])("button"),{form:a}=be(),i=Oe(Object(s["computed"])(()=>null==n?void 0:n.size)),l=we(),c=Object(s["ref"])(),u=Object(s["useSlots"])(),d=Object(s["computed"])(()=>e.type||(null==n?void 0:n.type)||""),f=Object(s["computed"])(()=>{var t,n,a;return null!=(a=null!=(n=e.autoInsertSpace)?n:null==(t=r.value)?void 0:t.autoInsertSpace)&&a}),h=Object(s["computed"])(()=>"button"===e.tag?{ariaDisabled:l.value||e.loading,disabled:l.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),p=Object(s["computed"])(()=>{var e;const t=null==(e=u.default)?void 0:e.call(u);if(f.value&&1===(null==t?void 0:t.length)){const e=t[0];if((null==e?void 0:e.type)===s["Text"]){const t=e.children;return/^\p{Unified_Ideograph}{2}$/u.test(t.trim())}}return!1}),m=n=>{"reset"===e.nativeType&&(null==a||a.resetFields()),t("click",n)};return{_disabled:l,_size:i,_type:d,_ref:c,_props:h,shouldAddSpace:p,handleClick:m}},Wr=["default","primary","success","warning","info","danger","text",""],$r=["button","submit","reset"],qr=Object(c["b"])({size:ne["c"],disabled:Boolean,type:{type:String,values:Wr,default:""},icon:{type:F["e"]},nativeType:{type:String,values:$r,default:"button"},loading:Boolean,loadingIcon:{type:F["e"],default:()=>G["Loading"]},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:Object(c["c"])([String,Object]),default:"button"}}),Gr={click:e=>e instanceof MouseEvent};var Xr=n("c741");function Kr(e,t=20){return e.mix("#141414",t).toString()}function Jr(e){const t=we(),n=Object(b["d"])("button");return Object(s["computed"])(()=>{let r={};const a=e.color;if(a){const o=new Xr["TinyColor"](a),i=e.dark?o.tint(20).toString():Kr(o,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?Kr(o,90):o.tint(90).toString(),"text-color":a,"border-color":e.dark?Kr(o,50):o.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":a,"hover-border-color":a,"active-bg-color":i,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":i}),t.value&&(r[n.cssVarBlockName("disabled-bg-color")]=e.dark?Kr(o,90):o.tint(90).toString(),r[n.cssVarBlockName("disabled-text-color")]=e.dark?Kr(o,50):o.tint(50).toString(),r[n.cssVarBlockName("disabled-border-color")]=e.dark?Kr(o,80):o.tint(80).toString());else{const s=e.dark?Kr(o,30):o.tint(30).toString(),l=o.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(r=n.cssVarBlock({"bg-color":a,"text-color":l,"border-color":a,"hover-bg-color":s,"hover-text-color":l,"hover-border-color":s,"active-bg-color":i,"active-border-color":i}),t.value){const t=e.dark?Kr(o,50):o.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]=t,r[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,r[n.cssVarBlockName("disabled-border-color")]=t}}}return r})}const Zr=Object(s["defineComponent"])({name:"ElButton"}),Qr=Object(s["defineComponent"])({...Zr,props:qr,emits:Gr,setup(e,{expose:t,emit:n}){const r=e,a=Jr(r),o=Object(b["d"])("button"),{_ref:i,_size:l,_type:c,_disabled:u,_props:d,shouldAddSpace:f,handleClick:h}=Ur(r,n),p=Object(s["computed"])(()=>[o.b(),o.m(c.value),o.m(l.value),o.is("disabled",u.value),o.is("loading",r.loading),o.is("plain",r.plain),o.is("round",r.round),o.is("circle",r.circle),o.is("text",r.text),o.is("link",r.link),o.is("has-bg",r.bg)]);return t({ref:i,size:l,type:c,disabled:u,shouldAddSpace:f}),(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.tag),Object(s["mergeProps"])({ref_key:"_ref",ref:i},Object(s["unref"])(d),{class:Object(s["unref"])(p),style:Object(s["unref"])(a),onClick:Object(s["unref"])(h)}),{default:Object(s["withCtx"])(()=>[e.loading?(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:0},[e.$slots.loading?Object(s["renderSlot"])(e.$slots,"loading",{key:0}):(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:1,class:Object(s["normalizeClass"])(Object(s["unref"])(o).is("loading"))},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.loadingIcon)))]),_:1},8,["class"]))],64)):e.icon||e.$slots.icon?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:1},{default:Object(s["withCtx"])(()=>[e.icon?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.icon),{key:0})):Object(s["renderSlot"])(e.$slots,"icon",{key:1})]),_:3})):Object(s["createCommentVNode"])("v-if",!0),e.$slots.default?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:2,class:Object(s["normalizeClass"])({[Object(s["unref"])(o).em("text","expand")]:Object(s["unref"])(f)})},[Object(s["renderSlot"])(e.$slots,"default")],2)):Object(s["createCommentVNode"])("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var ea=Object(v["a"])(Qr,[["__file","button.vue"]]);const ta={size:qr.size,type:qr.type},na=Object(s["defineComponent"])({name:"ElButtonGroup"}),ra=Object(s["defineComponent"])({...na,props:ta,setup(e){const t=e;Object(s["provide"])(Yr,Object(s["reactive"])({size:Object(s["toRef"])(t,"size"),type:Object(s["toRef"])(t,"type")}));const n=Object(b["d"])("button");return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])(""+Object(s["unref"])(n).b("group"))},[Object(s["renderSlot"])(e.$slots,"default")],2))}});var aa=Object(v["a"])(ra,[["__file","button-group.vue"]]);const oa=Object(N["a"])(ea,{ButtonGroup:aa}),ia=Object(N["d"])(aa);var sa=n("5a0c"),la=n.n(sa);const ca=(e,t)=>[e>0?e-1:void 0,e,e<t?e+1:void 0],ua=e=>Array.from(Array.from({length:e}).keys()),da=e=>e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),fa=e=>e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),ha=function(e,t){const n=Object(te["isDate"])(e),r=Object(te["isDate"])(t);return n&&r?e.getTime()===t.getTime():!n&&!r&&e===t},pa=function(e,t){const n=Object(te["isArray"])(e),r=Object(te["isArray"])(t);return n&&r?e.length===t.length&&e.every((e,n)=>ha(e,t[n])):!n&&!r&&ha(e,t)},ma=function(e,t,n){const r=Object(u["c"])(t)||"x"===t?la()(e).locale(n):la()(e,t).locale(n);return r.isValid()?r:void 0},va=function(e,t,n){return Object(u["c"])(t)?e:"x"===t?+e:la()(e).locale(n).format(t)},ba=(e,t)=>{var n;const r=[],a=null==t?void 0:t();for(let o=0;o<e;o++)r.push(null!=(n=null==a?void 0:a.includes(o))&&n);return r},ga=(e,t)=>{const n=e.subtract(1,"month").endOf("month").date();return ua(t).map((e,r)=>n-(t-r-1))},ya=e=>{const t=e.daysInMonth();return ua(t).map((e,t)=>t+1)},Oa=e=>ua(e.length/7).map(t=>{const n=7*t;return e.slice(n,n+7)}),wa=Object(c["b"])({selectedDay:{type:Object(c["c"])(Object)},range:{type:Object(c["c"])(Array)},date:{type:Object(c["c"])(Object),required:!0},hideHeader:{type:Boolean}}),_a={pick:e=>Object(te["isObject"])(e)};var ja=n("5e0f"),ka=n.n(ja);const xa=["year","years","month","date","dates","week","datetime","datetimerange","daterange","monthrange"],Sa=["sun","mon","tue","wed","thu","fri","sat"],Ca=(e,t)=>{la.a.extend(ka.a);const n=la.a.localeData().firstDayOfWeek(),{t:r,lang:a}=Object(Lr["b"])(),o=la()().locale(a.value),i=Object(s["computed"])(()=>!!e.range&&!!e.range.length),l=Object(s["computed"])(()=>{let t=[];if(i.value){const[n,r]=e.range,a=ua(r.date()-n.date()+1).map(e=>({text:n.date()+e,type:"current"}));let o=a.length%7;o=0===o?0:7-o;const i=ua(o).map((e,t)=>({text:t+1,type:"next"}));t=a.concat(i)}else{const r=e.date.startOf("month").day(),a=ga(e.date,(r-n+7)%7).map(e=>({text:e,type:"prev"})),o=ya(e.date).map(e=>({text:e,type:"current"}));t=[...a,...o];const i=7-(t.length%7||7),s=ua(i).map((e,t)=>({text:t+1,type:"next"}));t=t.concat(s)}return Oa(t)}),c=Object(s["computed"])(()=>{const e=n;return 0===e?Sa.map(e=>r("el.datepicker.weeks."+e)):Sa.slice(e).concat(Sa.slice(0,e)).map(e=>r("el.datepicker.weeks."+e))}),u=(t,n)=>{switch(n){case"prev":return e.date.startOf("month").subtract(1,"month").date(t);case"next":return e.date.startOf("month").add(1,"month").date(t);case"current":return e.date.date(t)}},d=({text:e,type:n})=>{const r=u(e,n);t("pick",r)},f=({text:t,type:n})=>{const r=u(t,n);return{isSelected:r.isSame(e.selectedDay),type:n+"-month",day:r.format("YYYY-MM-DD"),date:r.toDate()}};return{now:o,isInRange:i,rows:l,weekDays:c,getFormattedDate:u,handlePickDay:d,getSlotData:f}},Ma={key:0},Aa=["onClick"],Ta=Object(s["defineComponent"])({name:"DateTable"}),Ea=Object(s["defineComponent"])({...Ta,props:wa,emits:_a,setup(e,{expose:t,emit:n}){const r=e,{isInRange:a,now:o,rows:i,weekDays:l,getFormattedDate:c,handlePickDay:u,getSlotData:d}=Ca(r,n),f=Object(b["d"])("calendar-table"),h=Object(b["d"])("calendar-day"),p=({text:e,type:t})=>{const n=[t];if("current"===t){const a=c(e,t);a.isSame(r.selectedDay,"day")&&n.push(h.is("selected")),a.isSame(o,"day")&&n.push(h.is("today"))}return n};return t({getFormattedDate:c}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("table",{class:Object(s["normalizeClass"])([Object(s["unref"])(f).b(),Object(s["unref"])(f).is("range",Object(s["unref"])(a))]),cellspacing:"0",cellpadding:"0"},[e.hideHeader?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])("thead",Ma,[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(Object(s["unref"])(l),e=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("th",{key:e},Object(s["toDisplayString"])(e),1))),128))])),Object(s["createElementVNode"])("tbody",null,[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(Object(s["unref"])(i),(t,n)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("tr",{key:n,class:Object(s["normalizeClass"])({[Object(s["unref"])(f).e("row")]:!0,[Object(s["unref"])(f).em("row","hide-border")]:0===n&&e.hideHeader})},[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(t,(t,n)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("td",{key:n,class:Object(s["normalizeClass"])(p(t)),onClick:e=>Object(s["unref"])(u)(t)},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(h).b())},[Object(s["renderSlot"])(e.$slots,"date-cell",{data:Object(s["unref"])(d)(t)},()=>[Object(s["createElementVNode"])("span",null,Object(s["toDisplayString"])(t.text),1)])],2)],10,Aa))),128))],2))),128))])],2))}});var La=Object(v["a"])(Ea,[["__file","date-table.vue"]]);const Pa=(e,t)=>{const n=e.endOf("month"),r=t.startOf("month"),a=n.isSame(r,"week"),o=a?r.add(1,"week"):r;return[[e,n],[o.startOf("week"),t]]},Da=(e,t)=>{const n=e.endOf("month"),r=e.add(1,"month").startOf("month"),a=n.isSame(r,"week")?r.add(1,"week"):r,o=a.endOf("month"),i=t.startOf("month"),s=o.isSame(i,"week")?i.add(1,"week"):i;return[[e,n],[a.startOf("week"),o],[s.startOf("week"),t]]},Na=(e,t,n)=>{const{lang:r}=Object(Lr["b"])(),a=Object(s["ref"])(),o=la()().locale(r.value),i=Object(s["computed"])({get(){return e.modelValue?c.value:a.value},set(e){if(!e)return;a.value=e;const n=e.toDate();t(h,n),t(d,n)}}),l=Object(s["computed"])(()=>{if(!e.range)return[];const t=e.range.map(e=>la()(e).locale(r.value)),[a,o]=t;return a.isAfter(o)?(Object(y["a"])(n,"end time should be greater than start time"),[]):a.isSame(o,"month")?v(a,o):a.add(1,"month").month()!==o.month()?(Object(y["a"])(n,"start time and end time interval must not exceed two months"),[]):v(a,o)}),c=Object(s["computed"])(()=>e.modelValue?la()(e.modelValue).locale(r.value):i.value||(l.value.length?l.value[0][0]:o)),u=Object(s["computed"])(()=>c.value.subtract(1,"month").date(1)),f=Object(s["computed"])(()=>c.value.add(1,"month").date(1)),p=Object(s["computed"])(()=>c.value.subtract(1,"year").date(1)),m=Object(s["computed"])(()=>c.value.add(1,"year").date(1)),v=(e,t)=>{const r=e.startOf("week"),a=t.endOf("week"),o=r.get("month"),i=a.get("month");return o===i?[[r,a]]:(o+1)%12===i?Pa(r,a):o+2===i||(o+1)%11===i?Da(r,a):(Object(y["a"])(n,"start time and end time interval must not exceed two months"),[])},b=e=>{i.value=e},g=e=>{const t={"prev-month":u.value,"next-month":f.value,"prev-year":p.value,"next-year":m.value,today:o},n=t[e];n.isSame(c.value,"day")||b(n)};return{calculateValidatedDateRange:v,date:c,realSelectedDay:i,pickDay:b,selectDate:g,validatedRange:l}},Ra=e=>Object(te["isArray"])(e)&&2===e.length&&e.every(e=>Object(te["isDate"])(e)),Ia=Object(c["b"])({modelValue:{type:Date},range:{type:Object(c["c"])(Array),validator:Ra}}),Ba={[d]:e=>Object(te["isDate"])(e),[h]:e=>Object(te["isDate"])(e)},Fa="ElCalendar",Va=Object(s["defineComponent"])({name:Fa}),za=Object(s["defineComponent"])({...Va,props:Ia,emits:Ba,setup(e,{expose:t,emit:n}){const r=e,a=Object(b["d"])("calendar"),{calculateValidatedDateRange:o,date:i,pickDay:l,realSelectedDay:c,selectDate:u,validatedRange:d}=Na(r,n,Fa),{t:f}=Object(Lr["b"])(),h=Object(s["computed"])(()=>{const e="el.datepicker.month"+i.value.format("M");return`${i.value.year()} ${f("el.datepicker.year")} ${f(e)}`});return t({selectedDay:c,pickDay:l,selectDate:u,calculateValidatedDateRange:o}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).b())},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("header"))},[Object(s["renderSlot"])(e.$slots,"header",{date:Object(s["unref"])(h)},()=>[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("title"))},Object(s["toDisplayString"])(Object(s["unref"])(h)),3),0===Object(s["unref"])(d).length?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("button-group"))},[Object(s["createVNode"])(Object(s["unref"])(ia),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(oa),{size:"small",onClick:t[0]||(t[0]=e=>Object(s["unref"])(u)("prev-month"))},{default:Object(s["withCtx"])(()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(Object(s["unref"])(f)("el.datepicker.prevMonth")),1)]),_:1}),Object(s["createVNode"])(Object(s["unref"])(oa),{size:"small",onClick:t[1]||(t[1]=e=>Object(s["unref"])(u)("today"))},{default:Object(s["withCtx"])(()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(Object(s["unref"])(f)("el.datepicker.today")),1)]),_:1}),Object(s["createVNode"])(Object(s["unref"])(oa),{size:"small",onClick:t[2]||(t[2]=e=>Object(s["unref"])(u)("next-month"))},{default:Object(s["withCtx"])(()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(Object(s["unref"])(f)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):Object(s["createCommentVNode"])("v-if",!0)])],2),0===Object(s["unref"])(d).length?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("body"))},[Object(s["createVNode"])(La,{date:Object(s["unref"])(i),"selected-day":Object(s["unref"])(c),onPick:Object(s["unref"])(l)},Object(s["createSlots"])({_:2},[e.$slots["date-cell"]?{name:"date-cell",fn:Object(s["withCtx"])(t=>[Object(s["renderSlot"])(e.$slots,"date-cell",Object(s["normalizeProps"])(Object(s["guardReactiveProps"])(t)))])}:void 0]),1032,["date","selected-day","onPick"])],2)):(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("body"))},[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(Object(s["unref"])(d),(t,n)=>(Object(s["openBlock"])(),Object(s["createBlock"])(La,{key:n,date:t[0],"selected-day":Object(s["unref"])(c),range:t,"hide-header":0!==n,onPick:Object(s["unref"])(l)},Object(s["createSlots"])({_:2},[e.$slots["date-cell"]?{name:"date-cell",fn:Object(s["withCtx"])(t=>[Object(s["renderSlot"])(e.$slots,"date-cell",Object(s["normalizeProps"])(Object(s["guardReactiveProps"])(t)))])}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});var Ha=Object(v["a"])(za,[["__file","calendar.vue"]]);const Ya=Object(N["a"])(Ha),Ua=Object(c["b"])({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:Object(c["c"])([String,Object,Array]),default:""},bodyClass:String,shadow:{type:String,values:["always","hover","never"],default:"always"}}),Wa=Object(s["defineComponent"])({name:"ElCard"}),$a=Object(s["defineComponent"])({...Wa,props:Ua,setup(e){const t=Object(b["d"])("card");return(e,n)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(t).b(),Object(s["unref"])(t).is(e.shadow+"-shadow")])},[e.$slots.header||e.header?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(t).e("header"))},[Object(s["renderSlot"])(e.$slots,"header",{},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.header),1)])],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(t).e("body"),e.bodyClass]),style:Object(s["normalizeStyle"])(e.bodyStyle)},[Object(s["renderSlot"])(e.$slots,"default")],6),e.$slots.footer||e.footer?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,class:Object(s["normalizeClass"])(Object(s["unref"])(t).e("footer"))},[Object(s["renderSlot"])(e.$slots,"footer",{},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.footer),1)])],2)):Object(s["createCommentVNode"])("v-if",!0)],2))}});var qa=Object(v["a"])($a,[["__file","card.vue"]]);const Ga=Object(N["a"])(qa),Xa=Object(c["b"])({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:{type:Boolean,default:!1}}),Ka={change:(e,t)=>[e,t].every(u["d"])},Ja=Symbol("carouselContextKey"),Za="utils/vue/vnode";var Qa=(e=>(e[e["TEXT"]=1]="TEXT",e[e["CLASS"]=2]="CLASS",e[e["STYLE"]=4]="STYLE",e[e["PROPS"]=8]="PROPS",e[e["FULL_PROPS"]=16]="FULL_PROPS",e[e["HYDRATE_EVENTS"]=32]="HYDRATE_EVENTS",e[e["STABLE_FRAGMENT"]=64]="STABLE_FRAGMENT",e[e["KEYED_FRAGMENT"]=128]="KEYED_FRAGMENT",e[e["UNKEYED_FRAGMENT"]=256]="UNKEYED_FRAGMENT",e[e["NEED_PATCH"]=512]="NEED_PATCH",e[e["DYNAMIC_SLOTS"]=1024]="DYNAMIC_SLOTS",e[e["HOISTED"]=-1]="HOISTED",e[e["BAIL"]=-2]="BAIL",e))(Qa||{});function eo(e){return Object(s["isVNode"])(e)&&e.type===s["Fragment"]}function to(e){return Object(s["isVNode"])(e)&&e.type===s["Comment"]}function no(e){return Object(s["isVNode"])(e)&&!eo(e)&&!to(e)}const ro=e=>{if(!Object(s["isVNode"])(e))return Object(y["a"])(Za,"[getNormalizedProps] must be a VNode"),{};const t=e.props||{},n=(Object(s["isVNode"])(e.type)?e.type.props:void 0)||{},r={};return Object.keys(n).forEach(e=>{Object(te["hasOwn"])(n[e],"default")&&(r[e]=n[e].default)}),Object.keys(t).forEach(e=>{r[Object(te["camelize"])(e)]=t[e]}),r},ao=e=>{if(!Object(te["isArray"])(e)||e.length>1)throw new Error("expect to receive a single Vue element child");return e[0]},oo=e=>{const t=Object(te["isArray"])(e)?e:[e],n=[];return t.forEach(e=>{var t;Object(te["isArray"])(e)?n.push(...oo(e)):Object(s["isVNode"])(e)&&Object(te["isArray"])(e.children)?n.push(...oo(e.children)):(n.push(e),Object(s["isVNode"])(e)&&(null==(t=e.component)?void 0:t.subTree)&&n.push(...oo(e.component.subTree)))}),n},io=(e,t,n)=>{const r=oo(e.subTree).filter(e=>{var n;return Object(s["isVNode"])(e)&&(null==(n=e.type)?void 0:n.name)===t&&!!e.component}),a=r.map(e=>e.component.uid);return a.map(e=>n[e]).filter(e=>!!e)},so=(e,t)=>{const n={},r=Object(s["shallowRef"])([]),a=a=>{n[a.uid]=a,r.value=io(e,t,n)},o=e=>{delete n[e],r.value=r.value.filter(t=>t.uid!==e)};return{children:r,addChild:a,removeChild:o}},lo=300,co=(e,t,n)=>{const{children:r,addChild:a,removeChild:o}=so(Object(s["getCurrentInstance"])(),"ElCarouselItem"),i=Object(s["useSlots"])(),c=Object(s["ref"])(-1),u=Object(s["ref"])(null),d=Object(s["ref"])(!1),f=Object(s["ref"])(),h=Object(s["ref"])(0),p=Object(s["ref"])(!0),m=Object(s["ref"])(!0),v=Object(s["ref"])(!1),b=Object(s["computed"])(()=>"never"!==e.arrow&&!Object(s["unref"])(w)),g=Object(s["computed"])(()=>r.value.some(e=>e.props.label.toString().length>0)),O=Object(s["computed"])(()=>"card"===e.type),w=Object(s["computed"])(()=>"vertical"===e.direction),_=Object(s["computed"])(()=>"auto"!==e.height?{height:e.height}:{height:h.value+"px",overflow:"hidden"}),j=Object(q["throttle"])(e=>{A(e)},lo,{trailing:!0}),k=Object(q["throttle"])(e=>{B(e)},lo),x=e=>!p.value||(c.value<=1?e<=1:e>1);function S(){u.value&&(clearInterval(u.value),u.value=null)}function C(){e.interval<=0||!e.autoplay||u.value||(u.value=setInterval(()=>M(),e.interval))}const M=()=>{m.value||(v.value=!0),m.value=!1,c.value<r.value.length-1?c.value=c.value+1:e.loop&&(c.value=0)};function A(t){if(m.value||(v.value=!0),m.value=!1,Object(te["isString"])(t)){const e=r.value.filter(e=>e.props.name===t);e.length>0&&(t=r.value.indexOf(e[0]))}if(t=Number(t),Number.isNaN(t)||t!==Math.floor(t))return void Object(y["a"])(n,"index must be integer.");const a=r.value.length,o=c.value;c.value=t<0?e.loop?a-1:0:t>=a?e.loop?0:a-1:t,o===c.value&&T(o),z()}function T(e){r.value.forEach((t,n)=>{t.translateItem(n,c.value,e)})}function E(e,t){var n,a,o,i;const l=Object(s["unref"])(r),c=l.length;if(0===c||!e.states.inStage)return!1;const u=t+1,d=t-1,f=c-1,h=l[f].states.active,p=l[0].states.active,m=null==(a=null==(n=l[u])?void 0:n.states)?void 0:a.active,v=null==(i=null==(o=l[d])?void 0:o.states)?void 0:i.active;return t===f&&p||m?"left":!!(0===t&&h||v)&&"right"}function L(){d.value=!0,e.pauseOnHover&&S()}function P(){d.value=!1,C()}function D(){v.value=!1}function N(e){Object(s["unref"])(w)||r.value.forEach((t,n)=>{e===E(t,n)&&(t.states.hover=!0)})}function R(){Object(s["unref"])(w)||r.value.forEach(e=>{e.states.hover=!1})}function I(e){e!==c.value&&(m.value||(v.value=!0)),c.value=e}function B(t){"hover"===e.trigger&&t!==c.value&&(c.value=t,m.value||(v.value=!0))}function F(){A(c.value-1)}function V(){A(c.value+1)}function z(){S(),e.pauseOnHover||C()}function H(t){"auto"===e.height&&(h.value=t)}function Y(){var t;const n=null==(t=i.default)?void 0:t.call(i);if(!n)return null;const r=oo(n),a="ElCarouselItem",o=r.filter(e=>Object(s["isVNode"])(e)&&e.type.name===a);return 2===(null==o?void 0:o.length)&&e.loop&&!O.value?(p.value=!0,o):(p.value=!1,null)}Object(s["watch"])(()=>c.value,(e,n)=>{T(n),p.value&&(e%=2,n%=2),n>-1&&t("change",e,n)}),Object(s["watch"])(()=>e.autoplay,e=>{e?C():S()}),Object(s["watch"])(()=>e.loop,()=>{A(c.value)}),Object(s["watch"])(()=>e.interval,()=>{z()});const U=Object(s["shallowRef"])();return Object(s["onMounted"])(()=>{Object(s["watch"])(()=>r.value,()=>{r.value.length>0&&A(e.initialIndex)},{immediate:!0}),U.value=Object(l["useResizeObserver"])(f.value,()=>{T()}),C()}),Object(s["onBeforeUnmount"])(()=>{S(),f.value&&U.value&&U.value.stop()}),Object(s["provide"])(Ja,{root:f,isCardType:O,isVertical:w,items:r,loop:e.loop,addItem:a,removeItem:o,setActiveItem:A,setContainerHeight:H}),{root:f,activeIndex:c,arrowDisplay:b,hasLabel:g,hover:d,isCardType:O,isTransitioning:v,items:r,isVertical:w,containerStyle:_,isItemsTwoLength:p,handleButtonEnter:N,handleTransitionEnd:D,handleButtonLeave:R,handleIndicatorClick:I,handleMouseEnter:L,handleMouseLeave:P,setActiveItem:A,prev:F,next:V,PlaceholderItem:Y,isTwoLengthShow:x,throttledArrowClick:j,throttledIndicatorHover:k}},uo=["aria-label"],fo=["aria-label"],ho=["onMouseenter","onClick"],po=["aria-label"],mo={key:0},vo={key:3,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}},bo=Object(s["createElementVNode"])("defs",null,[Object(s["createElementVNode"])("filter",{id:"elCarouselHorizontal"},[Object(s["createElementVNode"])("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"12,0"})]),Object(s["createElementVNode"])("filter",{id:"elCarouselVertical"},[Object(s["createElementVNode"])("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0,10"})])],-1),go=[bo],yo="ElCarousel",Oo=Object(s["defineComponent"])({name:yo}),wo=Object(s["defineComponent"])({...Oo,props:Xa,emits:Ka,setup(e,{expose:t,emit:n}){const r=e,{root:a,activeIndex:o,arrowDisplay:i,hasLabel:l,hover:c,isCardType:u,items:d,isVertical:f,containerStyle:h,handleButtonEnter:p,handleButtonLeave:m,isTransitioning:v,handleIndicatorClick:g,handleMouseEnter:y,handleMouseLeave:O,handleTransitionEnd:w,setActiveItem:_,prev:j,next:k,PlaceholderItem:x,isTwoLengthShow:S,throttledArrowClick:C,throttledIndicatorHover:M}=co(r,n,yo),A=Object(b["d"])("carousel"),{t:T}=Object(Lr["b"])(),E=Object(s["computed"])(()=>{const e=[A.b(),A.m(r.direction)];return Object(s["unref"])(u)&&e.push(A.m("card")),e}),L=Object(s["computed"])(()=>{const e=[A.e("container")];return r.motionBlur&&Object(s["unref"])(v)&&e.push(Object(s["unref"])(f)?A.namespace.value+"-transitioning-vertical":A.namespace.value+"-transitioning"),e}),P=Object(s["computed"])(()=>{const e=[A.e("indicators"),A.em("indicators",r.direction)];return Object(s["unref"])(l)&&e.push(A.em("indicators","labels")),"outside"===r.indicatorPosition&&e.push(A.em("indicators","outside")),Object(s["unref"])(f)&&e.push(A.em("indicators","right")),e});return t({setActiveItem:_,prev:j,next:k}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{ref_key:"root",ref:a,class:Object(s["normalizeClass"])(Object(s["unref"])(E)),onMouseenter:t[7]||(t[7]=Object(s["withModifiers"])((...e)=>Object(s["unref"])(y)&&Object(s["unref"])(y)(...e),["stop"])),onMouseleave:t[8]||(t[8]=Object(s["withModifiers"])((...e)=>Object(s["unref"])(O)&&Object(s["unref"])(O)(...e),["stop"]))},[Object(s["unref"])(i)?(Object(s["openBlock"])(),Object(s["createBlock"])(s["Transition"],{key:0,name:"carousel-arrow-left",persisted:""},{default:Object(s["withCtx"])(()=>[Object(s["withDirectives"])(Object(s["createElementVNode"])("button",{type:"button",class:Object(s["normalizeClass"])([Object(s["unref"])(A).e("arrow"),Object(s["unref"])(A).em("arrow","left")]),"aria-label":Object(s["unref"])(T)("el.carousel.leftArrow"),onMouseenter:t[0]||(t[0]=e=>Object(s["unref"])(p)("left")),onMouseleave:t[1]||(t[1]=(...e)=>Object(s["unref"])(m)&&Object(s["unref"])(m)(...e)),onClick:t[2]||(t[2]=Object(s["withModifiers"])(e=>Object(s["unref"])(C)(Object(s["unref"])(o)-1),["stop"]))},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["ArrowLeft"]))]),_:1})],42,uo),[[s["vShow"],("always"===e.arrow||Object(s["unref"])(c))&&(r.loop||Object(s["unref"])(o)>0)]])]),_:1})):Object(s["createCommentVNode"])("v-if",!0),Object(s["unref"])(i)?(Object(s["openBlock"])(),Object(s["createBlock"])(s["Transition"],{key:1,name:"carousel-arrow-right",persisted:""},{default:Object(s["withCtx"])(()=>[Object(s["withDirectives"])(Object(s["createElementVNode"])("button",{type:"button",class:Object(s["normalizeClass"])([Object(s["unref"])(A).e("arrow"),Object(s["unref"])(A).em("arrow","right")]),"aria-label":Object(s["unref"])(T)("el.carousel.rightArrow"),onMouseenter:t[3]||(t[3]=e=>Object(s["unref"])(p)("right")),onMouseleave:t[4]||(t[4]=(...e)=>Object(s["unref"])(m)&&Object(s["unref"])(m)(...e)),onClick:t[5]||(t[5]=Object(s["withModifiers"])(e=>Object(s["unref"])(C)(Object(s["unref"])(o)+1),["stop"]))},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["ArrowRight"]))]),_:1})],42,fo),[[s["vShow"],("always"===e.arrow||Object(s["unref"])(c))&&(r.loop||Object(s["unref"])(o)<Object(s["unref"])(d).length-1)]])]),_:1})):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(L)),style:Object(s["normalizeStyle"])(Object(s["unref"])(h)),onTransitionend:t[6]||(t[6]=(...e)=>Object(s["unref"])(w)&&Object(s["unref"])(w)(...e))},[Object(s["createVNode"])(Object(s["unref"])(x)),Object(s["renderSlot"])(e.$slots,"default")],38),"none"!==e.indicatorPosition?(Object(s["openBlock"])(),Object(s["createElementBlock"])("ul",{key:2,class:Object(s["normalizeClass"])(Object(s["unref"])(P))},[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(Object(s["unref"])(d),(t,n)=>Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("li",{key:n,class:Object(s["normalizeClass"])([Object(s["unref"])(A).e("indicator"),Object(s["unref"])(A).em("indicator",e.direction),Object(s["unref"])(A).is("active",n===Object(s["unref"])(o))]),onMouseenter:e=>Object(s["unref"])(M)(n),onClick:Object(s["withModifiers"])(e=>Object(s["unref"])(g)(n),["stop"])},[Object(s["createElementVNode"])("button",{class:Object(s["normalizeClass"])(Object(s["unref"])(A).e("button")),"aria-label":Object(s["unref"])(T)("el.carousel.indicator",{index:n+1})},[Object(s["unref"])(l)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",mo,Object(s["toDisplayString"])(t.props.label),1)):Object(s["createCommentVNode"])("v-if",!0)],10,po)],42,ho)),[[s["vShow"],Object(s["unref"])(S)(n)]])),128))],2)):Object(s["createCommentVNode"])("v-if",!0),r.motionBlur?(Object(s["openBlock"])(),Object(s["createElementBlock"])("svg",vo,go)):Object(s["createCommentVNode"])("v-if",!0)],34))}});var _o=Object(v["a"])(wo,[["__file","carousel.vue"]]);const jo=Object(c["b"])({name:{type:String,default:""},label:{type:[String,Number],default:""}}),ko=(e,t)=>{const n=Object(s["inject"])(Ja),r=Object(s["getCurrentInstance"])();n||Object(y["a"])(t,"usage: <el-carousel></el-carousel-item></el-carousel>"),r||Object(y["a"])(t,"compositional hook can only be invoked inside setups");const a=.83,o=Object(s["ref"])(),i=Object(s["ref"])(!1),l=Object(s["ref"])(0),c=Object(s["ref"])(1),d=Object(s["ref"])(!1),f=Object(s["ref"])(!1),h=Object(s["ref"])(!1),p=Object(s["ref"])(!1),{isCardType:m,isVertical:v}=n;function b(e,t,n){const r=n-1,a=t-1,o=t+1,i=n/2;return 0===t&&e===r?-1:t===r&&0===e?n:e<a&&t-e>=i?n+1:e>o&&e-t>=i?-2:e}function g(e,t){var r,o;const i=Object(s["unref"])(v)?(null==(r=n.root.value)?void 0:r.offsetHeight)||0:(null==(o=n.root.value)?void 0:o.offsetWidth)||0;return h.value?i*((2-a)*(e-t)+1)/4:e<t?-(1+a)*i/4:(3+a)*i/4}function O(e,t,r){const a=n.root.value;if(!a)return 0;const o=(r?a.offsetHeight:a.offsetWidth)||0;return o*(e-t)}const w=(e,t,r)=>{var i;const y=Object(s["unref"])(m),w=null!=(i=n.items.value.length)?i:Number.NaN,_=e===t;y||Object(u["g"])(r)||(p.value=_||e===r),!_&&w>2&&n.loop&&(e=b(e,t,w));const j=Object(s["unref"])(v);d.value=_,y?(h.value=Math.round(Math.abs(e-t))<=1,l.value=g(e,t),c.value=Object(s["unref"])(d)?1:a):l.value=O(e,t,j),f.value=!0,_&&o.value&&n.setContainerHeight(o.value.offsetHeight)};function _(){if(n&&Object(s["unref"])(m)){const e=n.items.value.findIndex(({uid:e})=>e===r.uid);n.setActiveItem(e)}}return Object(s["onMounted"])(()=>{n.addItem({props:e,states:Object(s["reactive"])({hover:i,translate:l,scale:c,active:d,ready:f,inStage:h,animating:p}),uid:r.uid,translateItem:w})}),Object(s["onUnmounted"])(()=>{n.removeItem(r.uid)}),{carouselItemRef:o,active:d,animating:p,hover:i,inStage:h,isVertical:v,translate:l,isCardType:m,scale:c,ready:f,handleItemClick:_}},xo="ElCarouselItem",So=Object(s["defineComponent"])({name:"ElCarouselItem"}),Co=Object(s["defineComponent"])({...So,props:jo,setup(e){const t=e,n=Object(b["d"])("carousel"),{carouselItemRef:r,active:a,animating:o,hover:i,inStage:l,isVertical:c,translate:u,isCardType:d,scale:f,ready:h,handleItemClick:p}=ko(t,xo),m=Object(s["computed"])(()=>[n.e("item"),n.is("active",a.value),n.is("in-stage",l.value),n.is("hover",i.value),n.is("animating",o.value),{[n.em("item","card")]:d.value,[n.em("item","card-vertical")]:d.value&&c.value}]),v=Object(s["computed"])(()=>{const e="translate"+(Object(s["unref"])(c)?"Y":"X"),t=`${e}(${Object(s["unref"])(u)}px)`,n=`scale(${Object(s["unref"])(f)})`,r=[t,n].join(" ");return{transform:r}});return(e,t)=>Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{ref_key:"carouselItemRef",ref:r,class:Object(s["normalizeClass"])(Object(s["unref"])(m)),style:Object(s["normalizeStyle"])(Object(s["unref"])(v)),onClick:t[0]||(t[0]=(...e)=>Object(s["unref"])(p)&&Object(s["unref"])(p)(...e))},[Object(s["unref"])(d)?Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("mask"))},null,2)),[[s["vShow"],!Object(s["unref"])(a)]]):Object(s["createCommentVNode"])("v-if",!0),Object(s["renderSlot"])(e.$slots,"default")],6)),[[s["vShow"],Object(s["unref"])(h)]])}});var Mo=Object(v["a"])(Co,[["__file","carousel-item.vue"]]);const Ao=Object(N["a"])(_o,{CarouselItem:Mo}),To=Object(N["d"])(Mo),Eo={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:ne["c"],tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},...oe(["ariaControls"])},Lo={[d]:e=>Object(te["isString"])(e)||Object(u["d"])(e)||Object(u["a"])(e),change:e=>Object(te["isString"])(e)||Object(u["d"])(e)||Object(u["a"])(e)},Po=Symbol("checkboxGroupContextKey"),Do=({model:e,isChecked:t})=>{const n=Object(s["inject"])(Po,void 0),r=Object(s["computed"])(()=>{var r,a;const o=null==(r=null==n?void 0:n.max)?void 0:r.value,i=null==(a=null==n?void 0:n.min)?void 0:a.value;return!Object(u["g"])(o)&&e.value.length>=o&&!t.value||!Object(u["g"])(i)&&e.value.length<=i&&t.value}),a=we(Object(s["computed"])(()=>(null==n?void 0:n.disabled.value)||r.value));return{isDisabled:a,isLimitDisabled:r}},No=(e,{model:t,isLimitExceeded:n,hasOwnLabel:r,isDisabled:a,isLabeledByFormItem:o})=>{const i=Object(s["inject"])(Po,void 0),{formItem:l}=be(),{emit:c}=Object(s["getCurrentInstance"])();function u(t){var n,r,a,o;return[!0,e.trueValue,e.trueLabel].includes(t)?null==(r=null!=(n=e.trueValue)?n:e.trueLabel)||r:null!=(o=null!=(a=e.falseValue)?a:e.falseLabel)&&o}function d(e,t){c("change",u(e),t)}function f(e){if(n.value)return;const t=e.target;c("change",u(t.checked),e)}async function h(i){if(!n.value&&!r.value&&!a.value&&o.value){const n=i.composedPath(),r=n.some(e=>"LABEL"===e.tagName);r||(t.value=u([!1,e.falseValue,e.falseLabel].includes(t.value)),await Object(s["nextTick"])(),d(t.value,i))}}const p=Object(s["computed"])(()=>(null==i?void 0:i.validateEvent)||e.validateEvent);return Object(s["watch"])(()=>e.modelValue,()=>{p.value&&(null==l||l.validate("change").catch(e=>Object(y["a"])(e)))}),{handleChange:f,onClickRoot:h}},Ro=e=>{const t=Object(s["ref"])(!1),{emit:n}=Object(s["getCurrentInstance"])(),r=Object(s["inject"])(Po,void 0),a=Object(s["computed"])(()=>!1===Object(u["g"])(r)),o=Object(s["ref"])(!1),i=Object(s["computed"])({get(){var n,o;return a.value?null==(n=null==r?void 0:r.modelValue)?void 0:n.value:null!=(o=e.modelValue)?o:t.value},set(e){var s,l;a.value&&Object(te["isArray"])(e)?(o.value=void 0!==(null==(s=null==r?void 0:r.max)?void 0:s.value)&&e.length>(null==r?void 0:r.max.value)&&e.length>i.value.length,!1===o.value&&(null==(l=null==r?void 0:r.changeEvent)||l.call(r,e))):(n(d,e),t.value=e)}});return{model:i,isGroup:a,isLimitExceeded:o}},Io=(e,t,{model:n})=>{const r=Object(s["inject"])(Po,void 0),a=Object(s["ref"])(!1),o=Object(s["computed"])(()=>Object(u["e"])(e.value)?e.label:e.value),i=Object(s["computed"])(()=>{const t=n.value;return Object(u["a"])(t)?t:Object(te["isArray"])(t)?Object(te["isObject"])(o.value)?t.map(s["toRaw"]).some(e=>Object(q["isEqual"])(e,o.value)):t.map(s["toRaw"]).includes(o.value):null!==t&&void 0!==t?t===e.trueValue||t===e.trueLabel:!!t}),l=Oe(Object(s["computed"])(()=>{var e;return null==(e=null==r?void 0:r.size)?void 0:e.value}),{prop:!0}),c=Oe(Object(s["computed"])(()=>{var e;return null==(e=null==r?void 0:r.size)?void 0:e.value})),d=Object(s["computed"])(()=>!!t.default||!Object(u["e"])(o.value));return{checkboxButtonSize:l,isChecked:i,isFocused:a,checkboxSize:c,hasOwnLabel:d,actualValue:o}},Bo=(e,t)=>{const{formItem:n}=be(),{model:r,isGroup:a,isLimitExceeded:o}=Ro(e),{isFocused:i,isChecked:l,checkboxButtonSize:c,checkboxSize:d,hasOwnLabel:f,actualValue:h}=Io(e,t,{model:r}),{isDisabled:p}=Do({model:r,isChecked:l}),{inputId:m,isLabeledByFormItem:v}=ge(e,{formItemContext:n,disableIdGeneration:f,disableIdManagement:a}),{handleChange:b,onClickRoot:g}=No(e,{model:r,isLimitExceeded:o,hasOwnLabel:f,isDisabled:p,isLabeledByFormItem:v}),y=()=>{function t(){var t,n;Object(te["isArray"])(r.value)&&!r.value.includes(h.value)?r.value.push(h.value):r.value=null==(n=null!=(t=e.trueValue)?t:e.trueLabel)||n}e.checked&&t()};return y(),Object(xe["a"])({from:"controls",replacement:"aria-controls",version:"2.8.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},Object(s["computed"])(()=>!!e.controls)),Object(xe["a"])({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},Object(s["computed"])(()=>a.value&&Object(u["e"])(e.value))),Object(xe["a"])({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},Object(s["computed"])(()=>!!e.trueLabel)),Object(xe["a"])({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},Object(s["computed"])(()=>!!e.falseLabel)),{inputId:m,isLabeledByFormItem:v,isChecked:l,isDisabled:p,isFocused:i,checkboxButtonSize:c,checkboxSize:d,hasOwnLabel:f,model:r,actualValue:h,handleChange:b,onClickRoot:g}},Fo=["id","indeterminate","name","tabindex","disabled","true-value","false-value"],Vo=["id","indeterminate","disabled","value","name","tabindex"],zo=Object(s["defineComponent"])({name:"ElCheckbox"}),Ho=Object(s["defineComponent"])({...zo,props:Eo,emits:Lo,setup(e){const t=e,n=Object(s["useSlots"])(),{inputId:r,isLabeledByFormItem:a,isChecked:o,isDisabled:i,isFocused:l,checkboxSize:c,hasOwnLabel:u,model:d,actualValue:f,handleChange:h,onClickRoot:p}=Bo(t,n),m=Object(b["d"])("checkbox"),v=Object(s["computed"])(()=>[m.b(),m.m(c.value),m.is("disabled",i.value),m.is("bordered",t.border),m.is("checked",o.value)]),g=Object(s["computed"])(()=>[m.e("input"),m.is("disabled",i.value),m.is("checked",o.value),m.is("indeterminate",t.indeterminate),m.is("focus",l.value)]);return(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(!Object(s["unref"])(u)&&Object(s["unref"])(a)?"span":"label"),{class:Object(s["normalizeClass"])(Object(s["unref"])(v)),"aria-controls":e.indeterminate?e.controls||e.ariaControls:null,onClick:Object(s["unref"])(p)},{default:Object(s["withCtx"])(()=>{var n,a;return[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(g))},[e.trueValue||e.falseValue||e.trueLabel||e.falseLabel?Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("input",{key:0,id:Object(s["unref"])(r),"onUpdate:modelValue":t[0]||(t[0]=e=>Object(s["isRef"])(d)?d.value=e:null),class:Object(s["normalizeClass"])(Object(s["unref"])(m).e("original")),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:Object(s["unref"])(i),"true-value":null!=(n=e.trueValue)?n:e.trueLabel,"false-value":null!=(a=e.falseValue)?a:e.falseLabel,onChange:t[1]||(t[1]=(...e)=>Object(s["unref"])(h)&&Object(s["unref"])(h)(...e)),onFocus:t[2]||(t[2]=e=>l.value=!0),onBlur:t[3]||(t[3]=e=>l.value=!1),onClick:t[4]||(t[4]=Object(s["withModifiers"])(()=>{},["stop"]))},null,42,Fo)),[[s["vModelCheckbox"],Object(s["unref"])(d)]]):Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("input",{key:1,id:Object(s["unref"])(r),"onUpdate:modelValue":t[5]||(t[5]=e=>Object(s["isRef"])(d)?d.value=e:null),class:Object(s["normalizeClass"])(Object(s["unref"])(m).e("original")),type:"checkbox",indeterminate:e.indeterminate,disabled:Object(s["unref"])(i),value:Object(s["unref"])(f),name:e.name,tabindex:e.tabindex,onChange:t[6]||(t[6]=(...e)=>Object(s["unref"])(h)&&Object(s["unref"])(h)(...e)),onFocus:t[7]||(t[7]=e=>l.value=!0),onBlur:t[8]||(t[8]=e=>l.value=!1),onClick:t[9]||(t[9]=Object(s["withModifiers"])(()=>{},["stop"]))},null,42,Vo)),[[s["vModelCheckbox"],Object(s["unref"])(d)]]),Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(m).e("inner"))},null,2)],2),Object(s["unref"])(u)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(m).e("label"))},[Object(s["renderSlot"])(e.$slots,"default"),e.$slots.default?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:0},[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.label),1)],64))],2)):Object(s["createCommentVNode"])("v-if",!0)]}),_:3},8,["class","aria-controls","onClick"]))}});var Yo=Object(v["a"])(Ho,[["__file","checkbox.vue"]]);const Uo=["name","tabindex","disabled","true-value","false-value"],Wo=["name","tabindex","disabled","value"],$o=Object(s["defineComponent"])({name:"ElCheckboxButton"}),qo=Object(s["defineComponent"])({...$o,props:Eo,emits:Lo,setup(e){const t=e,n=Object(s["useSlots"])(),{isFocused:r,isChecked:a,isDisabled:o,checkboxButtonSize:i,model:l,actualValue:c,handleChange:u}=Bo(t,n),d=Object(s["inject"])(Po,void 0),f=Object(b["d"])("checkbox"),h=Object(s["computed"])(()=>{var e,t,n,r;const a=null!=(t=null==(e=null==d?void 0:d.fill)?void 0:e.value)?t:"";return{backgroundColor:a,borderColor:a,color:null!=(r=null==(n=null==d?void 0:d.textColor)?void 0:n.value)?r:"",boxShadow:a?"-1px 0 0 0 "+a:void 0}}),p=Object(s["computed"])(()=>[f.b("button"),f.bm("button",i.value),f.is("disabled",o.value),f.is("checked",a.value),f.is("focus",r.value)]);return(e,t)=>{var n,i;return Object(s["openBlock"])(),Object(s["createElementBlock"])("label",{class:Object(s["normalizeClass"])(Object(s["unref"])(p))},[e.trueValue||e.falseValue||e.trueLabel||e.falseLabel?Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("input",{key:0,"onUpdate:modelValue":t[0]||(t[0]=e=>Object(s["isRef"])(l)?l.value=e:null),class:Object(s["normalizeClass"])(Object(s["unref"])(f).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:Object(s["unref"])(o),"true-value":null!=(n=e.trueValue)?n:e.trueLabel,"false-value":null!=(i=e.falseValue)?i:e.falseLabel,onChange:t[1]||(t[1]=(...e)=>Object(s["unref"])(u)&&Object(s["unref"])(u)(...e)),onFocus:t[2]||(t[2]=e=>r.value=!0),onBlur:t[3]||(t[3]=e=>r.value=!1),onClick:t[4]||(t[4]=Object(s["withModifiers"])(()=>{},["stop"]))},null,42,Uo)),[[s["vModelCheckbox"],Object(s["unref"])(l)]]):Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("input",{key:1,"onUpdate:modelValue":t[5]||(t[5]=e=>Object(s["isRef"])(l)?l.value=e:null),class:Object(s["normalizeClass"])(Object(s["unref"])(f).be("button","original")),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:Object(s["unref"])(o),value:Object(s["unref"])(c),onChange:t[6]||(t[6]=(...e)=>Object(s["unref"])(u)&&Object(s["unref"])(u)(...e)),onFocus:t[7]||(t[7]=e=>r.value=!0),onBlur:t[8]||(t[8]=e=>r.value=!1),onClick:t[9]||(t[9]=Object(s["withModifiers"])(()=>{},["stop"]))},null,42,Wo)),[[s["vModelCheckbox"],Object(s["unref"])(l)]]),e.$slots.default||e.label?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:2,class:Object(s["normalizeClass"])(Object(s["unref"])(f).be("button","inner")),style:Object(s["normalizeStyle"])(Object(s["unref"])(a)?Object(s["unref"])(h):void 0)},[Object(s["renderSlot"])(e.$slots,"default",{},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.label),1)])],6)):Object(s["createCommentVNode"])("v-if",!0)],2)}}});var Go=Object(v["a"])(qo,[["__file","checkbox-button.vue"]]);const Xo=Object(c["b"])({modelValue:{type:Object(c["c"])(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:ne["c"],label:String,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},...oe(["ariaLabel"])}),Ko={[d]:e=>Object(te["isArray"])(e),change:e=>Object(te["isArray"])(e)},Jo=Object(s["defineComponent"])({name:"ElCheckboxGroup"}),Zo=Object(s["defineComponent"])({...Jo,props:Xo,emits:Ko,setup(e,{emit:t}){const n=e,r=Object(b["d"])("checkbox"),{formItem:a}=be(),{inputId:o,isLabeledByFormItem:i}=ge(n,{formItemContext:a}),l=async e=>{t(d,e),await Object(s["nextTick"])(),t("change",e)},c=Object(s["computed"])({get(){return n.modelValue},set(e){l(e)}});return Object(s["provide"])(Po,{...Object(q["pick"])(Object(s["toRefs"])(n),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:c,changeEvent:l}),Object(xe["a"])({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-checkbox-group",ref:"https://element-plus.org/en-US/component/checkbox.html"},Object(s["computed"])(()=>!!n.label)),Object(s["watch"])(()=>n.modelValue,()=>{n.validateEvent&&(null==a||a.validate("change").catch(e=>Object(y["a"])(e)))}),(e,t)=>{var n;return Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.tag),{id:Object(s["unref"])(o),class:Object(s["normalizeClass"])(Object(s["unref"])(r).b("group")),role:"group","aria-label":Object(s["unref"])(i)?void 0:e.label||e.ariaLabel||"checkbox-group","aria-labelledby":Object(s["unref"])(i)?null==(n=Object(s["unref"])(a))?void 0:n.labelId:void 0},{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var Qo=Object(v["a"])(Zo,[["__file","checkbox-group.vue"]]);const ei=Object(N["a"])(Yo,{CheckboxButton:Go,CheckboxGroup:Qo}),ti=Object(N["d"])(Go),ni=Object(N["d"])(Qo),ri=Object(c["b"])({modelValue:{type:[String,Number,Boolean],default:void 0},size:ne["c"],disabled:Boolean,label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),ai=Object(c["b"])({...ri,border:Boolean}),oi={[d]:e=>Object(te["isString"])(e)||Object(u["d"])(e)||Object(u["a"])(e),[f]:e=>Object(te["isString"])(e)||Object(u["d"])(e)||Object(u["a"])(e)},ii=Symbol("radioGroupKey"),si=(e,t)=>{const n=Object(s["ref"])(),r=Object(s["inject"])(ii,void 0),a=Object(s["computed"])(()=>!!r),o=Object(s["computed"])(()=>Object(u["e"])(e.value)?e.label:e.value),i=Object(s["computed"])({get(){return a.value?r.modelValue:e.modelValue},set(i){a.value?r.changeEvent(i):t&&t(d,i),n.value.checked=e.modelValue===o.value}}),l=Oe(Object(s["computed"])(()=>null==r?void 0:r.size)),c=we(Object(s["computed"])(()=>null==r?void 0:r.disabled)),f=Object(s["ref"])(!1),h=Object(s["computed"])(()=>c.value||a.value&&i.value!==o.value?-1:0);return Object(xe["a"])({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},Object(s["computed"])(()=>a.value&&Object(u["e"])(e.value))),{radioRef:n,isGroup:a,radioGroup:r,focus:f,size:l,disabled:c,tabIndex:h,modelValue:i,actualValue:o}},li=["value","name","disabled"],ci=Object(s["defineComponent"])({name:"ElRadio"}),ui=Object(s["defineComponent"])({...ci,props:ai,emits:oi,setup(e,{emit:t}){const n=e,r=Object(b["d"])("radio"),{radioRef:a,radioGroup:o,focus:i,size:l,disabled:c,modelValue:u,actualValue:d}=si(n,t);function f(){Object(s["nextTick"])(()=>t("change",u.value))}return(e,t)=>{var n;return Object(s["openBlock"])(),Object(s["createElementBlock"])("label",{class:Object(s["normalizeClass"])([Object(s["unref"])(r).b(),Object(s["unref"])(r).is("disabled",Object(s["unref"])(c)),Object(s["unref"])(r).is("focus",Object(s["unref"])(i)),Object(s["unref"])(r).is("bordered",e.border),Object(s["unref"])(r).is("checked",Object(s["unref"])(u)===Object(s["unref"])(d)),Object(s["unref"])(r).m(Object(s["unref"])(l))])},[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])([Object(s["unref"])(r).e("input"),Object(s["unref"])(r).is("disabled",Object(s["unref"])(c)),Object(s["unref"])(r).is("checked",Object(s["unref"])(u)===Object(s["unref"])(d))])},[Object(s["withDirectives"])(Object(s["createElementVNode"])("input",{ref_key:"radioRef",ref:a,"onUpdate:modelValue":t[0]||(t[0]=e=>Object(s["isRef"])(u)?u.value=e:null),class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("original")),value:Object(s["unref"])(d),name:e.name||(null==(n=Object(s["unref"])(o))?void 0:n.name),disabled:Object(s["unref"])(c),type:"radio",onFocus:t[1]||(t[1]=e=>i.value=!0),onBlur:t[2]||(t[2]=e=>i.value=!1),onChange:f,onClick:t[3]||(t[3]=Object(s["withModifiers"])(()=>{},["stop"]))},null,42,li),[[s["vModelRadio"],Object(s["unref"])(u)]]),Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("inner"))},null,2)],2),Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("label")),onKeydown:t[4]||(t[4]=Object(s["withModifiers"])(()=>{},["stop"]))},[Object(s["renderSlot"])(e.$slots,"default",{},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.label),1)])],34)],2)}}});var di=Object(v["a"])(ui,[["__file","radio.vue"]]);const fi=Object(c["b"])({...ri}),hi=["value","name","disabled"],pi=Object(s["defineComponent"])({name:"ElRadioButton"}),mi=Object(s["defineComponent"])({...pi,props:fi,setup(e){const t=e,n=Object(b["d"])("radio"),{radioRef:r,focus:a,size:o,disabled:i,modelValue:l,radioGroup:c,actualValue:u}=si(t),d=Object(s["computed"])(()=>({backgroundColor:(null==c?void 0:c.fill)||"",borderColor:(null==c?void 0:c.fill)||"",boxShadow:(null==c?void 0:c.fill)?"-1px 0 0 0 "+c.fill:"",color:(null==c?void 0:c.textColor)||""}));return(e,t)=>{var f;return Object(s["openBlock"])(),Object(s["createElementBlock"])("label",{class:Object(s["normalizeClass"])([Object(s["unref"])(n).b("button"),Object(s["unref"])(n).is("active",Object(s["unref"])(l)===Object(s["unref"])(u)),Object(s["unref"])(n).is("disabled",Object(s["unref"])(i)),Object(s["unref"])(n).is("focus",Object(s["unref"])(a)),Object(s["unref"])(n).bm("button",Object(s["unref"])(o))])},[Object(s["withDirectives"])(Object(s["createElementVNode"])("input",{ref_key:"radioRef",ref:r,"onUpdate:modelValue":t[0]||(t[0]=e=>Object(s["isRef"])(l)?l.value=e:null),class:Object(s["normalizeClass"])(Object(s["unref"])(n).be("button","original-radio")),value:Object(s["unref"])(u),type:"radio",name:e.name||(null==(f=Object(s["unref"])(c))?void 0:f.name),disabled:Object(s["unref"])(i),onFocus:t[1]||(t[1]=e=>a.value=!0),onBlur:t[2]||(t[2]=e=>a.value=!1),onClick:t[3]||(t[3]=Object(s["withModifiers"])(()=>{},["stop"]))},null,42,hi),[[s["vModelRadio"],Object(s["unref"])(l)]]),Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(n).be("button","inner")),style:Object(s["normalizeStyle"])(Object(s["unref"])(l)===Object(s["unref"])(u)?Object(s["unref"])(d):{}),onKeydown:t[4]||(t[4]=Object(s["withModifiers"])(()=>{},["stop"]))},[Object(s["renderSlot"])(e.$slots,"default",{},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.label),1)])],38)],2)}}});var vi=Object(v["a"])(mi,[["__file","radio-button.vue"]]);const bi=Object(c["b"])({id:{type:String,default:void 0},size:ne["c"],disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},label:{type:String,default:void 0},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},...oe(["ariaLabel"])}),gi=oi,yi=["id","aria-label","aria-labelledby"],Oi=Object(s["defineComponent"])({name:"ElRadioGroup"}),wi=Object(s["defineComponent"])({...Oi,props:bi,emits:gi,setup(e,{emit:t}){const n=e,r=Object(b["d"])("radio"),a=ve(),o=Object(s["ref"])(),{formItem:i}=be(),{inputId:l,isLabeledByFormItem:c}=ge(n,{formItemContext:i}),u=e=>{t(d,e),Object(s["nextTick"])(()=>t("change",e))};Object(s["onMounted"])(()=>{const e=o.value.querySelectorAll("[type=radio]"),t=e[0];!Array.from(e).some(e=>e.checked)&&t&&(t.tabIndex=0)});const f=Object(s["computed"])(()=>n.name||a.value);return Object(s["provide"])(ii,Object(s["reactive"])({...Object(s["toRefs"])(n),changeEvent:u,name:f})),Object(s["watch"])(()=>n.modelValue,()=>{n.validateEvent&&(null==i||i.validate("change").catch(e=>Object(y["a"])(e)))}),Object(xe["a"])({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-radio-group",ref:"https://element-plus.org/en-US/component/radio.html"},Object(s["computed"])(()=>!!n.label)),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{id:Object(s["unref"])(l),ref_key:"radioGroupRef",ref:o,class:Object(s["normalizeClass"])(Object(s["unref"])(r).b("group")),role:"radiogroup","aria-label":Object(s["unref"])(c)?void 0:e.label||e.ariaLabel||"radio-group","aria-labelledby":Object(s["unref"])(c)?Object(s["unref"])(i).labelId:void 0},[Object(s["renderSlot"])(e.$slots,"default")],10,yi))}});var _i=Object(v["a"])(wi,[["__file","radio-group.vue"]]);const ji=Object(N["a"])(di,{RadioButton:vi,RadioGroup:_i}),ki=Object(N["d"])(_i),xi=Object(N["d"])(vi);var Si=Object(s["defineComponent"])({name:"NodeContent",setup(){const e=Object(b["d"])("cascader-node");return{ns:e}},render(){const{ns:e}=this,{node:t,panel:n}=this.$parent,{data:r,label:a}=t,{renderLabelFn:o}=n;return Object(s["h"])("span",{class:e.e("label")},o?o({node:t,data:r}):a)}});const Ci=Symbol(),Mi=Object(s["defineComponent"])({name:"ElCascaderNode",components:{ElCheckbox:ei,ElRadio:ji,NodeContent:Si,ElIcon:I["a"],Check:G["Check"],Loading:G["Loading"],ArrowRight:G["ArrowRight"]},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:t}){const n=Object(s["inject"])(Ci),r=Object(b["d"])("cascader-node"),a=Object(s["computed"])(()=>n.isHoverMenu),o=Object(s["computed"])(()=>n.config.multiple),i=Object(s["computed"])(()=>n.config.checkStrictly),l=Object(s["computed"])(()=>{var e;return null==(e=n.checkedNodes[0])?void 0:e.uid}),c=Object(s["computed"])(()=>e.node.isDisabled),u=Object(s["computed"])(()=>e.node.isLeaf),d=Object(s["computed"])(()=>i.value&&!u.value||!c.value),f=Object(s["computed"])(()=>p(n.expandingNode)),h=Object(s["computed"])(()=>i.value&&n.checkedNodes.some(p)),p=t=>{var n;const{level:r,uid:a}=e.node;return(null==(n=null==t?void 0:t.pathNodes[r-1])?void 0:n.uid)===a},m=()=>{f.value||n.expandNode(e.node)},v=t=>{const{node:r}=e;t!==r.checked&&n.handleCheckChange(r,t)},g=()=>{n.lazyLoad(e.node,()=>{u.value||m()})},y=e=>{a.value&&(O(),!u.value&&t("expand",e))},O=()=>{const{node:t}=e;d.value&&!t.loading&&(t.loaded?m():g())},w=()=>{a.value&&!u.value||(!u.value||c.value||i.value||o.value?O():j(!0))},_=t=>{i.value?(v(t),e.node.loaded&&m()):j(t)},j=t=>{e.node.loaded?(v(t),!i.value&&m()):g()};return{panel:n,isHoverMenu:a,multiple:o,checkStrictly:i,checkedNodeId:l,isDisabled:c,isLeaf:u,expandable:d,inExpandingPath:f,inCheckedPath:h,ns:r,handleHoverExpand:y,handleExpand:O,handleClick:w,handleCheck:j,handleSelectCheck:_}}}),Ai=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],Ti=Object(s["createElementVNode"])("span",null,null,-1);function Ei(e,t,n,r,a,o){const i=Object(s["resolveComponent"])("el-checkbox"),l=Object(s["resolveComponent"])("el-radio"),c=Object(s["resolveComponent"])("check"),u=Object(s["resolveComponent"])("el-icon"),d=Object(s["resolveComponent"])("node-content"),f=Object(s["resolveComponent"])("loading"),h=Object(s["resolveComponent"])("arrow-right");return Object(s["openBlock"])(),Object(s["createElementBlock"])("li",{id:`${e.menuId}-${e.node.uid}`,role:"menuitem","aria-haspopup":!e.isLeaf,"aria-owns":e.isLeaf?null:e.menuId,"aria-expanded":e.inExpandingPath,tabindex:e.expandable?-1:void 0,class:Object(s["normalizeClass"])([e.ns.b(),e.ns.is("selectable",e.checkStrictly),e.ns.is("active",e.node.checked),e.ns.is("disabled",!e.expandable),e.inExpandingPath&&"in-active-path",e.inCheckedPath&&"in-checked-path"]),onMouseenter:t[2]||(t[2]=(...t)=>e.handleHoverExpand&&e.handleHoverExpand(...t)),onFocus:t[3]||(t[3]=(...t)=>e.handleHoverExpand&&e.handleHoverExpand(...t)),onClick:t[4]||(t[4]=(...t)=>e.handleClick&&e.handleClick(...t))},[Object(s["createCommentVNode"])(" prefix "),e.multiple?(Object(s["openBlock"])(),Object(s["createBlock"])(i,{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:e.isDisabled,onClick:t[0]||(t[0]=Object(s["withModifiers"])(()=>{},["stop"])),"onUpdate:modelValue":e.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onUpdate:modelValue"])):e.checkStrictly?(Object(s["openBlock"])(),Object(s["createBlock"])(l,{key:1,"model-value":e.checkedNodeId,label:e.node.uid,disabled:e.isDisabled,"onUpdate:modelValue":e.handleSelectCheck,onClick:t[1]||(t[1]=Object(s["withModifiers"])(()=>{},["stop"]))},{default:Object(s["withCtx"])(()=>[Object(s["createCommentVNode"])("\n        Add an empty element to avoid render label,\n        do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485\n      "),Ti]),_:1},8,["model-value","label","disabled","onUpdate:modelValue"])):e.isLeaf&&e.node.checked?(Object(s["openBlock"])(),Object(s["createBlock"])(u,{key:2,class:Object(s["normalizeClass"])(e.ns.e("prefix"))},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(c)]),_:1},8,["class"])):Object(s["createCommentVNode"])("v-if",!0),Object(s["createCommentVNode"])(" content "),Object(s["createVNode"])(d),Object(s["createCommentVNode"])(" postfix "),e.isLeaf?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:3},[e.node.loading?(Object(s["openBlock"])(),Object(s["createBlock"])(u,{key:0,class:Object(s["normalizeClass"])([e.ns.is("loading"),e.ns.e("postfix")])},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(f)]),_:1},8,["class"])):(Object(s["openBlock"])(),Object(s["createBlock"])(u,{key:1,class:Object(s["normalizeClass"])(["arrow-right",e.ns.e("postfix")])},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(h)]),_:1},8,["class"]))],64))],42,Ai)}var Li=Object(v["a"])(Mi,[["render",Ei],["__file","node.vue"]]);const Pi=Object(s["defineComponent"])({name:"ElCascaderMenu",components:{Loading:G["Loading"],ElIcon:I["a"],ElScrollbar:Ke,ElCascaderNode:Li},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=Object(s["getCurrentInstance"])(),n=Object(b["d"])("cascader-menu"),{t:r}=Object(Lr["b"])(),a=ve();let o=null,i=null;const l=Object(s["inject"])(Ci),c=Object(s["ref"])(null),u=Object(s["computed"])(()=>!e.nodes.length),d=Object(s["computed"])(()=>!l.initialLoaded),f=Object(s["computed"])(()=>`${a.value}-${e.index}`),h=e=>{o=e.target},p=e=>{if(l.isHoverMenu&&o&&c.value)if(o.contains(e.target)){m();const n=t.vnode.el,{left:r}=n.getBoundingClientRect(),{offsetWidth:a,offsetHeight:i}=n,s=e.clientX-r,l=o.offsetTop,u=l+o.offsetHeight;c.value.innerHTML=`\n          <path style="pointer-events: auto;" fill="transparent" d="M${s} ${l} L${a} 0 V${l} Z" />\n          <path style="pointer-events: auto;" fill="transparent" d="M${s} ${u} L${a} ${i} V${u} Z" />\n        `}else i||(i=window.setTimeout(v,l.config.hoverThreshold))},m=()=>{i&&(clearTimeout(i),i=null)},v=()=>{c.value&&(c.value.innerHTML="",m())};return{ns:n,panel:l,hoverZone:c,isEmpty:u,isLoading:d,menuId:f,t:r,handleExpand:h,handleMouseMove:p,clearHoverZone:v}}});function Di(e,t,n,r,a,o){const i=Object(s["resolveComponent"])("el-cascader-node"),l=Object(s["resolveComponent"])("loading"),c=Object(s["resolveComponent"])("el-icon"),u=Object(s["resolveComponent"])("el-scrollbar");return Object(s["openBlock"])(),Object(s["createBlock"])(u,{key:e.menuId,tag:"ul",role:"menu",class:Object(s["normalizeClass"])(e.ns.b()),"wrap-class":e.ns.e("wrap"),"view-class":[e.ns.e("list"),e.ns.is("empty",e.isEmpty)],onMousemove:e.handleMouseMove,onMouseleave:e.clearHoverZone},{default:Object(s["withCtx"])(()=>{var t;return[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e.nodes,t=>(Object(s["openBlock"])(),Object(s["createBlock"])(i,{key:t.uid,node:t,"menu-id":e.menuId,onExpand:e.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),e.isLoading?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(e.ns.e("empty-text"))},[Object(s["createVNode"])(c,{size:"14",class:Object(s["normalizeClass"])(e.ns.is("loading"))},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(l)]),_:1},8,["class"]),Object(s["createTextVNode"])(" "+Object(s["toDisplayString"])(e.t("el.cascader.loading")),1)],2)):e.isEmpty?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,class:Object(s["normalizeClass"])(e.ns.e("empty-text"))},Object(s["toDisplayString"])(e.t("el.cascader.noData")),3)):(null==(t=e.panel)?void 0:t.isHoverMenu)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("svg",{key:2,ref:"hoverZone",class:Object(s["normalizeClass"])(e.ns.e("hover-zone"))},null,2)):Object(s["createCommentVNode"])("v-if",!0)]}),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var Ni=Object(v["a"])(Pi,[["render",Di],["__file","menu.vue"]]),Ri=n("a7ea");let Ii=0;const Bi=e=>{const t=[e];let{parent:n}=e;while(n)t.unshift(n),n=n.parent;return t};class Fi{constructor(e,t,n,r=!1){this.data=e,this.config=t,this.parent=n,this.root=r,this.uid=Ii++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:a,label:o,children:i}=t,s=e[i],l=Bi(this);this.level=r?0:n?n.level+1:1,this.value=e[a],this.label=e[o],this.pathNodes=l,this.pathValues=l.map(e=>e.value),this.pathLabels=l.map(e=>e.label),this.childrenData=s,this.children=(s||[]).map(e=>new Fi(e,t,this)),this.loaded=!t.lazy||this.isLeaf||!Object(u["c"])(s)}get isDisabled(){const{data:e,parent:t,config:n}=this,{disabled:r,checkStrictly:a}=n,o=Object(te["isFunction"])(r)?r(e,this):!!e[r];return o||!a&&(null==t?void 0:t.isDisabled)}get isLeaf(){const{data:e,config:t,childrenData:n,loaded:r}=this,{lazy:a,leaf:o}=t,i=Object(te["isFunction"])(o)?o(e,this):e[o];return Object(u["g"])(i)?!(a&&!r)&&!(Array.isArray(n)&&n.length):!!i}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(e){const{childrenData:t,children:n}=this,r=new Fi(e,this.config,this);return Array.isArray(t)?t.push(e):this.childrenData=[e],n.push(r),r}calcText(e,t){const n=e?this.pathLabels.join(t):this.label;return this.text=n,n}broadcast(e,...t){const n="onParent"+Object(Ri["a"])(e);this.children.forEach(r=>{r&&(r.broadcast(e,...t),r[n]&&r[n](...t))})}emit(e,...t){const{parent:n}=this,r="onChild"+Object(Ri["a"])(e);n&&(n[r]&&n[r](...t),n.emit(e,...t))}onParentCheck(e){this.isDisabled||this.setCheckState(e)}onChildCheck(){const{children:e}=this,t=e.filter(e=>!e.isDisabled),n=!!t.length&&t.every(e=>e.checked);this.setCheckState(n)}setCheckState(e){const t=this.children.length,n=this.children.reduce((e,t)=>{const n=t.checked?1:t.indeterminate?.5:0;return e+n},0);this.checked=this.loaded&&this.children.filter(e=>!e.isDisabled).every(e=>e.loaded&&e.checked)&&e,this.indeterminate=this.loaded&&n!==t&&n>0}doCheck(e){if(this.checked===e)return;const{checkStrictly:t,multiple:n}=this.config;t||!n?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check"))}}const Vi=(e,t)=>e.reduce((e,n)=>(n.isLeaf?e.push(n):(!t&&e.push(n),e=e.concat(Vi(n.children,t))),e),[]);class zi{constructor(e,t){this.config=t;const n=(e||[]).map(e=>new Fi(e,this.config));this.nodes=n,this.allNodes=Vi(n,!1),this.leafNodes=Vi(n,!0)}getNodes(){return this.nodes}getFlattedNodes(e){return e?this.leafNodes:this.allNodes}appendNode(e,t){const n=t?t.appendChild(e):new Fi(e,this.config);t||this.nodes.push(n),this.allNodes.push(n),n.isLeaf&&this.leafNodes.push(n)}appendNodes(e,t){e.forEach(e=>this.appendNode(e,t))}getNodeByValue(e,t=!1){if(!e&&0!==e)return null;const n=this.getFlattedNodes(t).find(t=>Object(q["isEqual"])(t.value,e)||Object(q["isEqual"])(t.pathValues,e));return n||null}getSameNode(e){if(!e)return null;const t=this.getFlattedNodes(!1).find(({value:t,level:n})=>Object(q["isEqual"])(e.value,t)&&e.level===n);return t||null}}const Hi=Object(c["b"])({modelValue:{type:Object(c["c"])([Number,String,Array])},options:{type:Object(c["c"])(Array),default:()=>[]},props:{type:Object(c["c"])(Object),default:()=>({})}}),Yi={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:te["NOOP"],value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},Ui=e=>Object(s["computed"])(()=>({...Yi,...e.props})),Wi='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',$i=e=>{const t=getComputedStyle(e);return"fixed"!==t.position&&null!==e.offsetParent},qi=e=>Array.from(e.querySelectorAll(Wi)).filter(e=>Gi(e)&&$i(e)),Gi=e=>{if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return!("hidden"===e.type||"file"===e.type);case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},Xi=function(e,t,...n){let r;r=t.includes("mouse")||t.includes("click")?"MouseEvents":t.includes("key")?"KeyboardEvent":"HTMLEvents";const a=document.createEvent(r);return a.initEvent(t,...n),e.dispatchEvent(a),e},Ki=e=>!e.getAttribute("aria-owns"),Ji=(e,t,n)=>{const{parentNode:r}=e;if(!r)return null;const a=r.querySelectorAll(n),o=Array.prototype.indexOf.call(a,e);return a[o+t]||null},Zi=e=>{e&&(e.focus(),!Ki(e)&&e.click())},Qi=e=>{if(!e)return 0;const t=e.id.split("-");return Number(t[t.length-2])},es=e=>{if(!e)return;const t=e.querySelector("input");t?t.click():Ki(e)&&e.click()},ts=(e,t)=>{const n=t.slice(0),r=n.map(e=>e.uid),a=e.reduce((e,t)=>{const a=r.indexOf(t.uid);return a>-1&&(e.push(t),n.splice(a,1),r.splice(a,1)),e},[]);return a.push(...n),a},ns=e=>[...new Set(e)],rs=e=>e||0===e?Array.isArray(e)?e:[e]:[],as=Object(s["defineComponent"])({name:"ElCascaderPanel",components:{ElCascaderMenu:Ni},props:{...Hi,border:{type:Boolean,default:!0},renderLabel:Function},emits:[d,f,"close","expand-change"],setup(e,{emit:t,slots:n}){let r=!1;const a=Object(b["d"])("cascader"),o=Ui(e);let i=null;const c=Object(s["ref"])(!0),h=Object(s["ref"])([]),p=Object(s["ref"])(null),m=Object(s["ref"])([]),v=Object(s["ref"])(null),g=Object(s["ref"])([]),y=Object(s["computed"])(()=>"hover"===o.value.expandTrigger),O=Object(s["computed"])(()=>e.renderLabel||n.default),w=()=>{const{options:t}=e,n=o.value;r=!1,i=new zi(t,n),m.value=[i.getNodes()],n.lazy&&Object(u["c"])(e.options)?(c.value=!1,_(void 0,e=>{e&&(i=new zi(e,n),m.value=[i.getNodes()]),c.value=!0,E(!1,!0)})):E(!1,!0)},_=(e,t)=>{const n=o.value;e=e||new Fi({},n,void 0,!0),e.loading=!0;const r=n=>{const r=e,a=r.root?null:r;n&&(null==i||i.appendNodes(n,a)),r.loading=!1,r.loaded=!0,r.childrenData=r.childrenData||[],t&&t(n)};n.lazyLoad(e,r)},j=(e,n)=>{var r;const{level:a}=e,o=m.value.slice(0,a);let i;e.isLeaf?i=e.pathNodes[a-2]:(i=e,o.push(e.children)),(null==(r=v.value)?void 0:r.uid)!==(null==i?void 0:i.uid)&&(v.value=e,m.value=o,!n&&t("expand-change",(null==e?void 0:e.pathValues)||[]))},k=(e,n,a=!0)=>{const{checkStrictly:i,multiple:s}=o.value,l=g.value[0];r=!0,!s&&(null==l||l.doCheck(!1)),e.doCheck(n),T(),a&&!s&&!i&&t("close"),!a&&!s&&!i&&x(e)},x=e=>{e&&(e=e.parent,x(e),e&&j(e))},S=e=>null==i?void 0:i.getFlattedNodes(e),M=e=>{var t;return null==(t=S(e))?void 0:t.filter(e=>!1!==e.checked)},A=()=>{g.value.forEach(e=>e.doCheck(!1)),T(),m.value=m.value.slice(0,1),v.value=null,t("expand-change",[])},T=()=>{var e;const{checkStrictly:t,multiple:n}=o.value,r=g.value,a=M(!t),i=ts(r,a),s=i.map(e=>e.valueByOption);g.value=i,p.value=n?s:null!=(e=s[0])?e:null},E=(t=!1,n=!1)=>{const{modelValue:a}=e,{lazy:s,multiple:l,checkStrictly:u}=o.value,d=!u;if(c.value&&!r&&(n||!Object(q["isEqual"])(a,p.value)))if(s&&!t){const e=ns(Object(q["flattenDeep"])(rs(a))),t=e.map(e=>null==i?void 0:i.getNodeByValue(e)).filter(e=>!!e&&!e.loaded&&!e.loading);t.length?t.forEach(e=>{_(e,()=>E(!1,n))}):E(!0,n)}else{const e=l?rs(a):[a],t=ns(e.map(e=>null==i?void 0:i.getNodeByValue(e,d)));L(t,n),p.value=Object(q["cloneDeep"])(a)}},L=(e,t=!0)=>{const{checkStrictly:n}=o.value,r=g.value,a=e.filter(e=>!!e&&(n||e.isLeaf)),l=null==i?void 0:i.getSameNode(v.value),c=t&&l||a[0];c?c.pathNodes.forEach(e=>j(e,!0)):v.value=null,r.forEach(e=>e.doCheck(!1)),Object(s["reactive"])(a).forEach(e=>e.doCheck(!0)),g.value=a,Object(s["nextTick"])(P)},P=()=>{l["isClient"]&&h.value.forEach(e=>{const t=null==e?void 0:e.$el;if(t){const e=t.querySelector(`.${a.namespace.value}-scrollbar__wrap`),n=t.querySelector(`.${a.b("node")}.${a.is("active")}`)||t.querySelector(`.${a.b("node")}.in-active-path`);C(e,n)}})},D=e=>{const t=e.target,{code:n}=e;switch(n){case vt["a"].up:case vt["a"].down:{e.preventDefault();const r=n===vt["a"].up?-1:1;Zi(Ji(t,r,`.${a.b("node")}[tabindex="-1"]`));break}case vt["a"].left:{e.preventDefault();const n=h.value[Qi(t)-1],r=null==n?void 0:n.$el.querySelector(`.${a.b("node")}[aria-expanded="true"]`);Zi(r);break}case vt["a"].right:{e.preventDefault();const n=h.value[Qi(t)+1],r=null==n?void 0:n.$el.querySelector(`.${a.b("node")}[tabindex="-1"]`);Zi(r);break}case vt["a"].enter:es(t);break}};return Object(s["provide"])(Ci,Object(s["reactive"])({config:o,expandingNode:v,checkedNodes:g,isHoverMenu:y,initialLoaded:c,renderLabelFn:O,lazyLoad:_,expandNode:j,handleCheckChange:k})),Object(s["watch"])([o,()=>e.options],w,{deep:!0,immediate:!0}),Object(s["watch"])(()=>e.modelValue,()=>{r=!1,E()},{deep:!0}),Object(s["watch"])(()=>p.value,n=>{Object(q["isEqual"])(n,e.modelValue)||(t(d,n),t(f,n))}),Object(s["onBeforeUpdate"])(()=>h.value=[]),Object(s["onMounted"])(()=>!Object(u["c"])(e.modelValue)&&E()),{ns:a,menuList:h,menus:m,checkedNodes:g,handleKeyDown:D,handleCheckChange:k,getFlattedNodes:S,getCheckedNodes:M,clearCheckedNodes:A,calculateCheckedValue:T,scrollToExpandingNode:P}}});function os(e,t,n,r,a,o){const i=Object(s["resolveComponent"])("el-cascader-menu");return Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])([e.ns.b("panel"),e.ns.is("bordered",e.border)]),onKeydown:t[0]||(t[0]=(...t)=>e.handleKeyDown&&e.handleKeyDown(...t))},[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e.menus,(t,n)=>(Object(s["openBlock"])(),Object(s["createBlock"])(i,{key:n,ref_for:!0,ref:t=>e.menuList[n]=t,index:n,nodes:[...t]},null,8,["index","nodes"]))),128))],34)}var is=Object(v["a"])(as,[["render",os],["__file","index.vue"]]);is.install=e=>{e.component(is.name,is)};const ss=is,ls=ss,cs=Object(c["b"])({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:hr["a"]},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),us={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},ds=Object(s["defineComponent"])({name:"ElTag"}),fs=Object(s["defineComponent"])({...ds,props:cs,emits:us,setup(e,{emit:t}){const n=e,r=Oe(),a=Object(b["d"])("tag"),o=Object(s["computed"])(()=>{const{type:e,hit:t,effect:o,closable:i,round:s}=n;return[a.b(),a.is("closable",i),a.m(e||"primary"),a.m(r.value),a.m(o),a.is("hit",t),a.is("round",s)]}),i=e=>{t("close",e)},l=e=>{t("click",e)};return(e,t)=>e.disableTransitions?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(o)),style:Object(s["normalizeStyle"])({backgroundColor:e.color}),onClick:l},[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("content"))},[Object(s["renderSlot"])(e.$slots,"default")],2),e.closable?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("close")),onClick:Object(s["withModifiers"])(i,["stop"])},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["Close"]))]),_:1},8,["class","onClick"])):Object(s["createCommentVNode"])("v-if",!0)],6)):(Object(s["openBlock"])(),Object(s["createBlock"])(s["Transition"],{key:1,name:Object(s["unref"])(a).namespace.value+"-zoom-in-center",appear:""},{default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(o)),style:Object(s["normalizeStyle"])({backgroundColor:e.color}),onClick:l},[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("content"))},[Object(s["renderSlot"])(e.$slots,"default")],2),e.closable?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("close")),onClick:Object(s["withModifiers"])(i,["stop"])},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["Close"]))]),_:1},8,["class","onClick"])):Object(s["createCommentVNode"])("v-if",!0)],6)]),_:3},8,["name"]))}});var hs=Object(v["a"])(fs,[["__file","tag.vue"]]);const ps=Object(N["a"])(hs);var ms=n("5143");const vs=Object(c["b"])({...Hi,size:ne["c"],placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:Object(c["c"])(Function),default:(e,t)=>e.text.includes(t)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:Object(c["c"])(Function),default:()=>!0},popperClass:{type:String,default:""},teleported:pt.teleported,tagType:{...cs.type,default:"info"},validateEvent:{type:Boolean,default:!0},...ms["b"]}),bs={[d]:e=>!0,[f]:e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,visibleChange:e=>Object(u["a"])(e),expandChange:e=>!!e,removeTag:e=>!!e},gs=new Map;let ys;function Os(e,t){let n=[];return Array.isArray(t.arg)?n=t.arg:Object(u["b"])(t.arg)&&n.push(t.arg),function(r,a){const o=t.instance.popperRef,i=r.target,s=null==a?void 0:a.target,l=!t||!t.instance,c=!i||!s,u=e.contains(i)||e.contains(s),d=e===i,f=n.length&&n.some(e=>null==e?void 0:e.contains(i))||n.length&&n.includes(s),h=o&&(o.contains(i)||o.contains(s));l||c||u||d||f||h||t.value(r,a)}}l["isClient"]&&(document.addEventListener("mousedown",e=>ys=e),document.addEventListener("mouseup",e=>{for(const t of gs.values())for(const{documentHandler:n}of t)n(e,ys)}));const ws={beforeMount(e,t){gs.has(e)||gs.set(e,[]),gs.get(e).push({documentHandler:Os(e,t),bindingFn:t.value})},updated(e,t){gs.has(e)||gs.set(e,[]);const n=gs.get(e),r=n.findIndex(e=>e.bindingFn===t.oldValue),a={documentHandler:Os(e,t),bindingFn:t.value};r>=0?n.splice(r,1,a):n.push(a)},unmounted(e){gs.delete(e)}},_s={key:0},js=["placeholder","onKeydown"],ks=["onClick"],xs="ElCascader",Ss=Object(s["defineComponent"])({name:xs}),Cs=Object(s["defineComponent"])({...Ss,props:vs,emits:bs,setup(e,{expose:t,emit:n}){const r=e,a={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:e})=>{const{modifiersData:t,placement:n}=e;["right","left","bottom","top"].includes(n)||(t.arrow.x=35)},requires:["arrow"]}]},o=Object(s["useAttrs"])();let i=0,c=0;const u=Object(b["d"])("cascader"),h=Object(b["d"])("input"),{t:p}=Object(Lr["b"])(),{form:m,formItem:v}=be(),{valueOnClear:g}=Object(ms["a"])(r),O=Object(s["ref"])(null),w=Object(s["ref"])(null),_=Object(s["ref"])(null),j=Object(s["ref"])(null),k=Object(s["ref"])(null),x=Object(s["ref"])(!1),S=Object(s["ref"])(!1),C=Object(s["ref"])(!1),M=Object(s["ref"])(!1),A=Object(s["ref"])(""),T=Object(s["ref"])(""),E=Object(s["ref"])([]),L=Object(s["ref"])([]),P=Object(s["ref"])([]),D=Object(s["ref"])(!1),N=Object(s["computed"])(()=>o.style),R=Object(s["computed"])(()=>r.disabled||(null==m?void 0:m.disabled)),B=Object(s["computed"])(()=>r.placeholder||p("el.cascader.placeholder")),F=Object(s["computed"])(()=>T.value||E.value.length>0||D.value?"":B.value),V=Oe(),z=Object(s["computed"])(()=>["small"].includes(V.value)?"small":"default"),H=Object(s["computed"])(()=>!!r.props.multiple),Y=Object(s["computed"])(()=>!r.filterable||H.value),U=Object(s["computed"])(()=>H.value?T.value:A.value),W=Object(s["computed"])(()=>{var e;return(null==(e=j.value)?void 0:e.checkedNodes)||[]}),$=Object(s["computed"])(()=>!(!r.clearable||R.value||C.value||!S.value)&&!!W.value.length),X=Object(s["computed"])(()=>{const{showAllLevels:e,separator:t}=r,n=W.value;return n.length?H.value?"":n[0].calcText(e,t):""}),K=Object(s["computed"])(()=>(null==v?void 0:v.validateState)||""),J=Object(s["computed"])({get(){return Object(q["cloneDeep"])(r.modelValue)},set(e){const t=e||g.value;n(d,t),n(f,t),r.validateEvent&&(null==v||v.validate("change").catch(e=>Object(y["a"])(e)))}}),Z=Object(s["computed"])(()=>[u.b(),u.m(V.value),u.is("disabled",R.value),o.class]),Q=Object(s["computed"])(()=>[h.e("icon"),"icon-arrow-down",u.is("reverse",x.value)]),ee=Object(s["computed"])(()=>u.is("focus",x.value||M.value)),ne=Object(s["computed"])(()=>{var e,t;return null==(t=null==(e=O.value)?void 0:e.popperRef)?void 0:t.contentRef}),re=e=>{var t,a,o;R.value||(e=null!=e?e:!x.value,e!==x.value&&(x.value=e,null==(a=null==(t=w.value)?void 0:t.input)||a.setAttribute("aria-expanded",""+e),e?(ae(),Object(s["nextTick"])(null==(o=j.value)?void 0:o.scrollToExpandingNode)):r.filterable&&ge(),n("visibleChange",e)))},ae=()=>{Object(s["nextTick"])(()=>{var e;null==(e=O.value)||e.updatePopper()})},oe=()=>{C.value=!1},ie=e=>{const{showAllLevels:t,separator:n}=r;return{node:e,key:e.uid,text:e.calcText(t,n),hitState:!1,closable:!R.value&&!e.isDisabled,isCollapseTag:!1}},se=e=>{var t;const r=e.node;r.doCheck(!1),null==(t=j.value)||t.calculateCheckedValue(),n("removeTag",r.valueByOption)},le=()=>{if(!H.value)return;const e=W.value,t=[],n=[];if(e.forEach(e=>n.push(ie(e))),L.value=n,e.length){e.slice(0,r.maxCollapseTags).forEach(e=>t.push(ie(e)));const n=e.slice(r.maxCollapseTags),a=n.length;a&&(r.collapseTags?t.push({key:-1,text:"+ "+a,closable:!1,isCollapseTag:!0}):n.forEach(e=>t.push(ie(e))))}E.value=t},ce=()=>{var e,t;const{filterMethod:n,showAllLevels:a,separator:o}=r,i=null==(t=null==(e=j.value)?void 0:e.getFlattedNodes(!r.props.checkStrictly))?void 0:t.filter(e=>!e.isDisabled&&(e.calcText(a,o),n(e,U.value)));H.value&&(E.value.forEach(e=>{e.hitState=!1}),L.value.forEach(e=>{e.hitState=!1})),C.value=!0,P.value=i,ae()},ue=()=>{var e;let t;t=C.value&&k.value?k.value.$el.querySelector("."+u.e("suggestion-item")):null==(e=j.value)?void 0:e.$el.querySelector(`.${u.b("node")}[tabindex="-1"]`),t&&(t.focus(),!C.value&&t.click())},de=()=>{var e,t;const n=null==(e=w.value)?void 0:e.input,r=_.value,a=null==(t=k.value)?void 0:t.$el;if(l["isClient"]&&n){if(a){const e=a.querySelector("."+u.e("suggestion-list"));e.style.minWidth=n.offsetWidth+"px"}if(r){const{offsetHeight:e}=r,t=E.value.length>0?Math.max(e+6,i)+"px":i+"px";n.style.height=t,ae()}}},fe=e=>{var t;return null==(t=j.value)?void 0:t.getCheckedNodes(e)},he=e=>{ae(),n("expandChange",e)},pe=e=>{var t;const n=null==(t=e.target)?void 0:t.value;if("compositionend"===e.type)D.value=!1,Object(s["nextTick"])(()=>Ce(n));else{const e=n[n.length-1]||"";D.value=!ke(e)}},me=e=>{if(!D.value)switch(e.code){case vt["a"].enter:re();break;case vt["a"].down:re(!0),Object(s["nextTick"])(ue),e.preventDefault();break;case vt["a"].esc:!0===x.value&&(e.preventDefault(),e.stopPropagation(),re(!1));break;case vt["a"].tab:re(!1);break}},ve=()=>{var e;null==(e=j.value)||e.clearCheckedNodes(),!x.value&&r.filterable&&ge(),re(!1)},ge=()=>{const{value:e}=X;A.value=e,T.value=e},ye=e=>{var t,n;const{checked:r}=e;H.value?null==(t=j.value)||t.handleCheckChange(e,!r,!1):(!r&&(null==(n=j.value)||n.handleCheckChange(e,!0,!1)),re(!1))},we=e=>{const t=e.target,{code:n}=e;switch(n){case vt["a"].up:case vt["a"].down:{const e=n===vt["a"].up?-1:1;Zi(Ji(t,e,`.${u.e("suggestion-item")}[tabindex="-1"]`));break}case vt["a"].enter:t.click();break}},_e=()=>{const e=E.value,t=e[e.length-1];c=T.value?0:c+1,!t||!c||r.collapseTags&&e.length>1||(t.hitState?se(t):t.hitState=!0)},je=e=>{const t=e.target,r=u.e("search-input");t.className===r&&(M.value=!0),n("focus",e)},xe=e=>{M.value=!1,n("blur",e)},Se=Object(q["debounce"])(()=>{const{value:e}=U;if(!e)return;const t=r.beforeFilter(e);Object(te["isPromise"])(t)?t.then(ce).catch(()=>{}):!1!==t?ce():oe()},r.debounce),Ce=(e,t)=>{!x.value&&re(!0),(null==t?void 0:t.isComposing)||(e?Se():oe())},Me=e=>Number.parseFloat(Object(l["useCssVar"])(h.cssVarName("input-height"),e).value)-2;return Object(s["watch"])(C,ae),Object(s["watch"])([W,R],le),Object(s["watch"])(E,()=>{Object(s["nextTick"])(()=>de())}),Object(s["watch"])(V,async()=>{await Object(s["nextTick"])();const e=w.value.input;i=Me(e)||i,de()}),Object(s["watch"])(X,ge,{immediate:!0}),Object(s["onMounted"])(()=>{const e=w.value.input,t=Me(e);i=e.offsetHeight||t,Object(l["useResizeObserver"])(e,de)}),t({getCheckedNodes:fe,cascaderPanelRef:j,togglePopperVisible:re,contentRef:ne}),(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(nr),{ref_key:"tooltipRef",ref:O,visible:x.value,teleported:e.teleported,"popper-class":[Object(s["unref"])(u).e("dropdown"),e.popperClass],"popper-options":a,"fallback-placements":["bottom-start","bottom","top-start","top","right","left"],"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:"bottom-start",transition:Object(s["unref"])(u).namespace.value+"-zoom-in-top",effect:"light",pure:"",persistent:"",onHide:oe},{default:Object(s["withCtx"])(()=>[Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(Z)),style:Object(s["normalizeStyle"])(Object(s["unref"])(N)),onClick:t[5]||(t[5]=()=>re(!Object(s["unref"])(Y)||void 0)),onKeydown:me,onMouseenter:t[6]||(t[6]=e=>S.value=!0),onMouseleave:t[7]||(t[7]=e=>S.value=!1)},[Object(s["createVNode"])(Object(s["unref"])(Le),{ref_key:"input",ref:w,modelValue:A.value,"onUpdate:modelValue":t[1]||(t[1]=e=>A.value=e),placeholder:Object(s["unref"])(F),readonly:Object(s["unref"])(Y),disabled:Object(s["unref"])(R),"validate-event":!1,size:Object(s["unref"])(V),class:Object(s["normalizeClass"])(Object(s["unref"])(ee)),tabindex:Object(s["unref"])(H)&&e.filterable&&!Object(s["unref"])(R)?-1:void 0,onCompositionstart:pe,onCompositionupdate:pe,onCompositionend:pe,onFocus:je,onBlur:xe,onInput:Ce},{suffix:Object(s["withCtx"])(()=>[Object(s["unref"])($)?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:"clear",class:Object(s["normalizeClass"])([Object(s["unref"])(h).e("icon"),"icon-circle-close"]),onClick:Object(s["withModifiers"])(ve,["stop"])},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["CircleClose"]))]),_:1},8,["class","onClick"])):(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:"arrow-down",class:Object(s["normalizeClass"])(Object(s["unref"])(Q)),onClick:t[0]||(t[0]=Object(s["withModifiers"])(e=>re(),["stop"]))},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["ArrowDown"]))]),_:1},8,["class"]))]),_:1},8,["modelValue","placeholder","readonly","disabled","size","class","tabindex"]),Object(s["unref"])(H)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,ref_key:"tagWrapper",ref:_,class:Object(s["normalizeClass"])([Object(s["unref"])(u).e("tags"),Object(s["unref"])(u).is("validate",Boolean(Object(s["unref"])(K)))])},[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(E.value,t=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(ps),{key:t.key,type:e.tagType,size:Object(s["unref"])(z),hit:t.hitState,closable:t.closable,"disable-transitions":"",onClose:e=>se(t)},{default:Object(s["withCtx"])(()=>[!1===t.isCollapseTag?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",_s,Object(s["toDisplayString"])(t.text),1)):(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(nr),{key:1,disabled:x.value||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("span",null,Object(s["toDisplayString"])(t.text),1)]),content:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(u).e("collapse-tags"))},[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(L.value.slice(e.maxCollapseTags),(t,n)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:n,class:Object(s["normalizeClass"])(Object(s["unref"])(u).e("collapse-tag"))},[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(ps),{key:t.key,class:"in-tooltip",type:e.tagType,size:Object(s["unref"])(z),hit:t.hitState,closable:t.closable,"disable-transitions":"",onClose:e=>se(t)},{default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("span",null,Object(s["toDisplayString"])(t.text),1)]),_:2},1032,["type","size","hit","closable","onClose"]))],2))),128))],2)]),_:2},1032,["disabled"]))]),_:2},1032,["type","size","hit","closable","onClose"]))),128)),e.filterable&&!Object(s["unref"])(R)?Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("input",{key:0,"onUpdate:modelValue":t[2]||(t[2]=e=>T.value=e),type:"text",class:Object(s["normalizeClass"])(Object(s["unref"])(u).e("search-input")),placeholder:Object(s["unref"])(X)?"":Object(s["unref"])(B),onInput:t[3]||(t[3]=e=>Ce(T.value,e)),onClick:t[4]||(t[4]=Object(s["withModifiers"])(e=>re(!0),["stop"])),onKeydown:Object(s["withKeys"])(_e,["delete"]),onCompositionstart:pe,onCompositionupdate:pe,onCompositionend:pe,onFocus:je,onBlur:xe},null,42,js)),[[s["vModelText"],T.value]]):Object(s["createCommentVNode"])("v-if",!0)],2)):Object(s["createCommentVNode"])("v-if",!0)],38)),[[Object(s["unref"])(ws),()=>re(!1),Object(s["unref"])(ne)]])]),content:Object(s["withCtx"])(()=>[Object(s["withDirectives"])(Object(s["createVNode"])(Object(s["unref"])(ss),{ref_key:"cascaderPanelRef",ref:j,modelValue:Object(s["unref"])(J),"onUpdate:modelValue":t[8]||(t[8]=e=>Object(s["isRef"])(J)?J.value=e:null),options:e.options,props:r.props,border:!1,"render-label":e.$slots.default,onExpandChange:he,onClose:t[9]||(t[9]=t=>e.$nextTick(()=>re(!1)))},null,8,["modelValue","options","props","render-label"]),[[s["vShow"],!C.value]]),e.filterable?Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(Ke),{key:0,ref_key:"suggestionPanel",ref:k,tag:"ul",class:Object(s["normalizeClass"])(Object(s["unref"])(u).e("suggestion-panel")),"view-class":Object(s["unref"])(u).e("suggestion-list"),onKeydown:we},{default:Object(s["withCtx"])(()=>[P.value.length?(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],{key:0},Object(s["renderList"])(P.value,e=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("li",{key:e.uid,class:Object(s["normalizeClass"])([Object(s["unref"])(u).e("suggestion-item"),Object(s["unref"])(u).is("checked",e.checked)]),tabindex:-1,onClick:t=>ye(e)},[Object(s["createElementVNode"])("span",null,Object(s["toDisplayString"])(e.text),1),e.checked?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["Check"]))]),_:1})):Object(s["createCommentVNode"])("v-if",!0)],10,ks))),128)):Object(s["renderSlot"])(e.$slots,"empty",{key:1},()=>[Object(s["createElementVNode"])("li",{class:Object(s["normalizeClass"])(Object(s["unref"])(u).e("empty-text"))},Object(s["toDisplayString"])(Object(s["unref"])(p)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[s["vShow"],C.value]]):Object(s["createCommentVNode"])("v-if",!0)]),_:3},8,["visible","teleported","popper-class","transition"]))}});var Ms=Object(v["a"])(Cs,[["__file","cascader.vue"]]);Ms.install=e=>{e.component(Ms.name,Ms)};const As=Ms,Ts=As,Es=Object(c["b"])({checked:{type:Boolean,default:!1},type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"}}),Ls={"update:checked":e=>Object(u["a"])(e),[f]:e=>Object(u["a"])(e)},Ps=Object(s["defineComponent"])({name:"ElCheckTag"}),Ds=Object(s["defineComponent"])({...Ps,props:Es,emits:Ls,setup(e,{emit:t}){const n=e,r=Object(b["d"])("check-tag"),a=Object(s["computed"])(()=>[r.b(),r.is("checked",n.checked),r.m(n.type||"primary")]),o=()=>{const e=!n.checked;t(f,e),t("update:checked",e)};return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(a)),onClick:o},[Object(s["renderSlot"])(e.$slots,"default")],2))}});var Ns=Object(v["a"])(Ds,[["__file","check-tag.vue"]]);const Rs=Object(N["a"])(Ns),Is=Object(c["b"])({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:Object(c["c"])([Number,Object]),default:()=>Object(re["a"])({})},sm:{type:Object(c["c"])([Number,Object]),default:()=>Object(re["a"])({})},md:{type:Object(c["c"])([Number,Object]),default:()=>Object(re["a"])({})},lg:{type:Object(c["c"])([Number,Object]),default:()=>Object(re["a"])({})},xl:{type:Object(c["c"])([Number,Object]),default:()=>Object(re["a"])({})}}),Bs=Symbol("rowContextKey"),Fs=Object(s["defineComponent"])({name:"ElCol"}),Vs=Object(s["defineComponent"])({...Fs,props:Is,setup(e){const t=e,{gutter:n}=Object(s["inject"])(Bs,{gutter:Object(s["computed"])(()=>0)}),r=Object(b["d"])("col"),a=Object(s["computed"])(()=>{const e={};return n.value&&(e.paddingLeft=e.paddingRight=n.value/2+"px"),e}),o=Object(s["computed"])(()=>{const e=[],a=["span","offset","pull","push"];a.forEach(n=>{const a=t[n];Object(u["d"])(a)&&("span"===n?e.push(r.b(""+t[n])):a>0&&e.push(r.b(`${n}-${t[n]}`)))});const o=["xs","sm","md","lg","xl"];return o.forEach(n=>{Object(u["d"])(t[n])?e.push(r.b(`${n}-${t[n]}`)):Object(te["isObject"])(t[n])&&Object.entries(t[n]).forEach(([t,a])=>{e.push("span"!==t?r.b(`${n}-${t}-${a}`):r.b(`${n}-${a}`))})}),n.value&&e.push(r.is("guttered")),[r.b(),e]});return(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.tag),{class:Object(s["normalizeClass"])(Object(s["unref"])(o)),style:Object(s["normalizeStyle"])(Object(s["unref"])(a))},{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3},8,["class","style"]))}});var zs=Object(v["a"])(Vs,[["__file","col.vue"]]);const Hs=Object(N["a"])(zs),Ys=e=>Object(u["d"])(e)||Object(te["isString"])(e)||Object(te["isArray"])(e),Us=Object(c["b"])({accordion:Boolean,modelValue:{type:Object(c["c"])([Array,String,Number]),default:()=>Object(re["a"])([])}}),Ws={[d]:Ys,[f]:Ys},$s=Symbol("collapseContextKey"),qs=(e,t)=>{const n=Object(s["ref"])(Object(q["castArray"])(e.modelValue)),r=r=>{n.value=r;const a=e.accordion?n.value[0]:n.value;t(d,a),t(f,a)},a=t=>{if(e.accordion)r([n.value[0]===t?"":t]);else{const e=[...n.value],a=e.indexOf(t);a>-1?e.splice(a,1):e.push(t),r(e)}};return Object(s["watch"])(()=>e.modelValue,()=>n.value=Object(q["castArray"])(e.modelValue),{deep:!0}),Object(s["provide"])($s,{activeNames:n,handleItemClick:a}),{activeNames:n,setActiveNames:r}},Gs=()=>{const e=Object(b["d"])("collapse"),t=Object(s["computed"])(()=>e.b());return{rootKls:t}},Xs=Object(s["defineComponent"])({name:"ElCollapse"}),Ks=Object(s["defineComponent"])({...Xs,props:Us,emits:Ws,setup(e,{expose:t,emit:n}){const r=e,{activeNames:a,setActiveNames:o}=qs(r,n),{rootKls:i}=Gs();return t({activeNames:a,setActiveNames:o}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(i))},[Object(s["renderSlot"])(e.$slots,"default")],2))}});var Js=Object(v["a"])(Ks,[["__file","collapse.vue"]]);const Zs=Object(s["defineComponent"])({name:"ElCollapseTransition"}),Qs=Object(s["defineComponent"])({...Zs,setup(e){const t=Object(b["d"])("collapse-transition"),n=e=>{e.style.maxHeight="",e.style.overflow=e.dataset.oldOverflow,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom},r={beforeEnter(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.style.height&&(e.dataset.elExistsHeight=e.style.height),e.style.maxHeight=0,e.style.paddingTop=0,e.style.paddingBottom=0},enter(e){requestAnimationFrame(()=>{e.dataset.oldOverflow=e.style.overflow,e.dataset.elExistsHeight?e.style.maxHeight=e.dataset.elExistsHeight:0!==e.scrollHeight?e.style.maxHeight=e.scrollHeight+"px":e.style.maxHeight=0,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom,e.style.overflow="hidden"})},afterEnter(e){e.style.maxHeight="",e.style.overflow=e.dataset.oldOverflow},enterCancelled(e){n(e)},beforeLeave(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.dataset.oldOverflow=e.style.overflow,e.style.maxHeight=e.scrollHeight+"px",e.style.overflow="hidden"},leave(e){0!==e.scrollHeight&&(e.style.maxHeight=0,e.style.paddingTop=0,e.style.paddingBottom=0)},afterLeave(e){n(e)},leaveCancelled(e){n(e)}};return(e,n)=>(Object(s["openBlock"])(),Object(s["createBlock"])(s["Transition"],Object(s["mergeProps"])({name:Object(s["unref"])(t).b()},Object(s["toHandlers"])(r)),{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3},16,["name"]))}});var el=Object(v["a"])(Qs,[["__file","collapse-transition.vue"]]);el.install=e=>{e.component(el.name,el)};const tl=el,nl=tl,rl=Object(c["b"])({title:{type:String,default:""},name:{type:Object(c["c"])([String,Number]),default:void 0},disabled:Boolean}),al=e=>{const t=Object(s["inject"])($s),{namespace:n}=Object(b["d"])("collapse"),r=Object(s["ref"])(!1),a=Object(s["ref"])(!1),o=me(),i=Object(s["computed"])(()=>o.current++),l=Object(s["computed"])(()=>{var t;return null!=(t=e.name)?t:`${n.value}-id-${o.prefix}-${Object(s["unref"])(i)}`}),c=Object(s["computed"])(()=>null==t?void 0:t.activeNames.value.includes(Object(s["unref"])(l))),u=()=>{setTimeout(()=>{a.value?a.value=!1:r.value=!0},50)},d=()=>{e.disabled||(null==t||t.handleItemClick(Object(s["unref"])(l)),r.value=!1,a.value=!0)},f=()=>{null==t||t.handleItemClick(Object(s["unref"])(l))};return{focusing:r,id:i,isActive:c,handleFocus:u,handleHeaderClick:d,handleEnterClick:f}},ol=(e,{focusing:t,isActive:n,id:r})=>{const a=Object(b["d"])("collapse"),o=Object(s["computed"])(()=>[a.b("item"),a.is("active",Object(s["unref"])(n)),a.is("disabled",e.disabled)]),i=Object(s["computed"])(()=>[a.be("item","header"),a.is("active",Object(s["unref"])(n)),{focusing:Object(s["unref"])(t)&&!e.disabled}]),l=Object(s["computed"])(()=>[a.be("item","arrow"),a.is("active",Object(s["unref"])(n))]),c=Object(s["computed"])(()=>a.be("item","wrap")),u=Object(s["computed"])(()=>a.be("item","content")),d=Object(s["computed"])(()=>a.b("content-"+Object(s["unref"])(r))),f=Object(s["computed"])(()=>a.b("head-"+Object(s["unref"])(r)));return{arrowKls:l,headKls:i,rootKls:o,itemWrapperKls:c,itemContentKls:u,scopedContentId:d,scopedHeadId:f}},il=["id","aria-expanded","aria-controls","aria-describedby","tabindex"],sl=["id","aria-hidden","aria-labelledby"],ll=Object(s["defineComponent"])({name:"ElCollapseItem"}),cl=Object(s["defineComponent"])({...ll,props:rl,setup(e,{expose:t}){const n=e,{focusing:r,id:a,isActive:o,handleFocus:i,handleHeaderClick:l,handleEnterClick:c}=al(n),{arrowKls:u,headKls:d,rootKls:f,itemWrapperKls:h,itemContentKls:p,scopedContentId:m,scopedHeadId:v}=ol(n,{focusing:r,isActive:o,id:a});return t({isActive:o}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(f))},[Object(s["createElementVNode"])("button",{id:Object(s["unref"])(v),class:Object(s["normalizeClass"])(Object(s["unref"])(d)),"aria-expanded":Object(s["unref"])(o),"aria-controls":Object(s["unref"])(m),"aria-describedby":Object(s["unref"])(m),tabindex:e.disabled?-1:0,type:"button",onClick:t[0]||(t[0]=(...e)=>Object(s["unref"])(l)&&Object(s["unref"])(l)(...e)),onKeydown:t[1]||(t[1]=Object(s["withKeys"])(Object(s["withModifiers"])((...e)=>Object(s["unref"])(c)&&Object(s["unref"])(c)(...e),["stop","prevent"]),["space","enter"])),onFocus:t[2]||(t[2]=(...e)=>Object(s["unref"])(i)&&Object(s["unref"])(i)(...e)),onBlur:t[3]||(t[3]=e=>r.value=!1)},[Object(s["renderSlot"])(e.$slots,"title",{},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.title),1)]),Object(s["createVNode"])(Object(s["unref"])(I["a"]),{class:Object(s["normalizeClass"])(Object(s["unref"])(u))},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["ArrowRight"]))]),_:1},8,["class"])],42,il),Object(s["createVNode"])(Object(s["unref"])(tl),null,{default:Object(s["withCtx"])(()=>[Object(s["withDirectives"])(Object(s["createElementVNode"])("div",{id:Object(s["unref"])(m),role:"region",class:Object(s["normalizeClass"])(Object(s["unref"])(h)),"aria-hidden":!Object(s["unref"])(o),"aria-labelledby":Object(s["unref"])(v)},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(p))},[Object(s["renderSlot"])(e.$slots,"default")],2)],10,sl),[[s["vShow"],Object(s["unref"])(o)]])]),_:3})],2))}});var ul=Object(v["a"])(cl,[["__file","collapse-item.vue"]]);const dl=Object(N["a"])(Js,{CollapseItem:ul}),fl=Object(N["d"])(ul),hl=Object(c["b"])({color:{type:Object(c["c"])(Object),required:!0},vertical:{type:Boolean,default:!1}});let pl=!1;function ml(e,t){if(!l["isClient"])return;const n=function(e){var n;null==(n=t.drag)||n.call(t,e)},r=function(e){var a;document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",r),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",r),document.onselectstart=null,document.ondragstart=null,pl=!1,null==(a=t.end)||a.call(t,e)},a=function(e){var a;pl||(e.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",n),document.addEventListener("mouseup",r),document.addEventListener("touchmove",n),document.addEventListener("touchend",r),pl=!0,null==(a=t.start)||a.call(t,e))};e.addEventListener("mousedown",a),e.addEventListener("touchstart",a)}const vl=(e,t)=>{if(!l["isClient"]||!e||!t)return!1;const n=e.getBoundingClientRect();let r;return r=t instanceof Element?t.getBoundingClientRect():{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},n.top<r.bottom&&n.bottom>r.top&&n.right>r.left&&n.left<r.right},bl=e=>{let t=0,n=e;while(n)t+=n.offsetTop,n=n.offsetParent;return t},gl=(e,t)=>Math.abs(bl(e)-bl(t)),yl=e=>{let t,n;return"touchend"===e.type?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}},Ol=e=>{const t=Object(s["getCurrentInstance"])(),n=Object(s["shallowRef"])(),r=Object(s["shallowRef"])();function a(e){const t=e.target;t!==n.value&&o(e)}function o(a){if(!r.value||!n.value)return;const o=t.vnode.el,i=o.getBoundingClientRect(),{clientX:s,clientY:l}=yl(a);if(e.vertical){let t=l-i.top;t=Math.max(n.value.offsetHeight/2,t),t=Math.min(t,i.height-n.value.offsetHeight/2),e.color.set("alpha",Math.round((t-n.value.offsetHeight/2)/(i.height-n.value.offsetHeight)*100))}else{let t=s-i.left;t=Math.max(n.value.offsetWidth/2,t),t=Math.min(t,i.width-n.value.offsetWidth/2),e.color.set("alpha",Math.round((t-n.value.offsetWidth/2)/(i.width-n.value.offsetWidth)*100))}}return{thumb:n,bar:r,handleDrag:o,handleClick:a}},wl=(e,{bar:t,thumb:n,handleDrag:r})=>{const a=Object(s["getCurrentInstance"])(),o=Object(b["d"])("color-alpha-slider"),i=Object(s["ref"])(0),l=Object(s["ref"])(0),c=Object(s["ref"])();function u(){if(!n.value)return 0;if(e.vertical)return 0;const t=a.vnode.el,r=e.color.get("alpha");return t?Math.round(r*(t.offsetWidth-n.value.offsetWidth/2)/100):0}function d(){if(!n.value)return 0;const t=a.vnode.el;if(!e.vertical)return 0;const r=e.color.get("alpha");return t?Math.round(r*(t.offsetHeight-n.value.offsetHeight/2)/100):0}function f(){if(e.color&&e.color.value){const{r:t,g:n,b:r}=e.color.toRgb();return`linear-gradient(to right, rgba(${t}, ${n}, ${r}, 0) 0%, rgba(${t}, ${n}, ${r}, 1) 100%)`}return""}function h(){i.value=u(),l.value=d(),c.value=f()}Object(s["onMounted"])(()=>{if(!t.value||!n.value)return;const e={drag:e=>{r(e)},end:e=>{r(e)}};ml(t.value,e),ml(n.value,e),h()}),Object(s["watch"])(()=>e.color.get("alpha"),()=>h()),Object(s["watch"])(()=>e.color.value,()=>h());const p=Object(s["computed"])(()=>[o.b(),o.is("vertical",e.vertical)]),m=Object(s["computed"])(()=>o.e("bar")),v=Object(s["computed"])(()=>o.e("thumb")),y=Object(s["computed"])(()=>({background:c.value})),O=Object(s["computed"])(()=>({left:Object(g["b"])(i.value),top:Object(g["b"])(l.value)}));return{rootKls:p,barKls:m,barStyle:y,thumbKls:v,thumbStyle:O,update:h}},_l="ElColorAlphaSlider",jl=Object(s["defineComponent"])({name:_l}),kl=Object(s["defineComponent"])({...jl,props:hl,setup(e,{expose:t}){const n=e,{bar:r,thumb:a,handleDrag:o,handleClick:i}=Ol(n),{rootKls:l,barKls:c,barStyle:u,thumbKls:d,thumbStyle:f,update:h}=wl(n,{bar:r,thumb:a,handleDrag:o});return t({update:h,bar:r,thumb:a}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(l))},[Object(s["createElementVNode"])("div",{ref_key:"bar",ref:r,class:Object(s["normalizeClass"])(Object(s["unref"])(c)),style:Object(s["normalizeStyle"])(Object(s["unref"])(u)),onClick:t[0]||(t[0]=(...e)=>Object(s["unref"])(i)&&Object(s["unref"])(i)(...e))},null,6),Object(s["createElementVNode"])("div",{ref_key:"thumb",ref:a,class:Object(s["normalizeClass"])(Object(s["unref"])(d)),style:Object(s["normalizeStyle"])(Object(s["unref"])(f))},null,6)],2))}});var xl=Object(v["a"])(kl,[["__file","alpha-slider.vue"]]);const Sl=Object(s["defineComponent"])({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(e){const t=Object(b["d"])("color-hue-slider"),n=Object(s["getCurrentInstance"])(),r=Object(s["ref"])(),a=Object(s["ref"])(),o=Object(s["ref"])(0),i=Object(s["ref"])(0),l=Object(s["computed"])(()=>e.color.get("hue"));function c(e){const t=e.target;t!==r.value&&u(e)}function u(t){if(!a.value||!r.value)return;const o=n.vnode.el,i=o.getBoundingClientRect(),{clientX:s,clientY:l}=yl(t);let c;if(e.vertical){let e=l-i.top;e=Math.min(e,i.height-r.value.offsetHeight/2),e=Math.max(r.value.offsetHeight/2,e),c=Math.round((e-r.value.offsetHeight/2)/(i.height-r.value.offsetHeight)*360)}else{let e=s-i.left;e=Math.min(e,i.width-r.value.offsetWidth/2),e=Math.max(r.value.offsetWidth/2,e),c=Math.round((e-r.value.offsetWidth/2)/(i.width-r.value.offsetWidth)*360)}e.color.set("hue",c)}function d(){if(!r.value)return 0;const t=n.vnode.el;if(e.vertical)return 0;const a=e.color.get("hue");return t?Math.round(a*(t.offsetWidth-r.value.offsetWidth/2)/360):0}function f(){if(!r.value)return 0;const t=n.vnode.el;if(!e.vertical)return 0;const a=e.color.get("hue");return t?Math.round(a*(t.offsetHeight-r.value.offsetHeight/2)/360):0}function h(){o.value=d(),i.value=f()}return Object(s["watch"])(()=>l.value,()=>{h()}),Object(s["onMounted"])(()=>{if(!a.value||!r.value)return;const e={drag:e=>{u(e)},end:e=>{u(e)}};ml(a.value,e),ml(r.value,e),h()}),{bar:a,thumb:r,thumbLeft:o,thumbTop:i,hueValue:l,handleClick:c,update:h,ns:t}}});function Cl(e,t,n,r,a,o){return Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])([e.ns.b(),e.ns.is("vertical",e.vertical)])},[Object(s["createElementVNode"])("div",{ref:"bar",class:Object(s["normalizeClass"])(e.ns.e("bar")),onClick:t[0]||(t[0]=(...t)=>e.handleClick&&e.handleClick(...t))},null,2),Object(s["createElementVNode"])("div",{ref:"thumb",class:Object(s["normalizeClass"])(e.ns.e("thumb")),style:Object(s["normalizeStyle"])({left:e.thumbLeft+"px",top:e.thumbTop+"px"})},null,6)],2)}var Ml=Object(v["a"])(Sl,[["render",Cl],["__file","hue-slider.vue"]]);const Al=Object(c["b"])({modelValue:String,id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:ne["c"],popperClass:{type:String,default:""},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},teleported:pt.teleported,predefine:{type:Object(c["c"])(Array)},validateEvent:{type:Boolean,default:!0},...oe(["ariaLabel"])}),Tl={[d]:e=>Object(te["isString"])(e)||Object(q["isNil"])(e),[f]:e=>Object(te["isString"])(e)||Object(q["isNil"])(e),activeChange:e=>Object(te["isString"])(e)||Object(q["isNil"])(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},El=Symbol("colorPickerContextKey"),Ll=function(e,t,n){return[e,t*n/((e=(2-t)*n)<1?e:2-e)||0,e/2]},Pl=function(e){return"string"===typeof e&&e.includes(".")&&1===Number.parseFloat(e)},Dl=function(e){return"string"===typeof e&&e.includes("%")},Nl=function(e,t){Pl(e)&&(e="100%");const n=Dl(e);return e=Math.min(t,Math.max(0,Number.parseFloat(""+e))),n&&(e=Number.parseInt(""+e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/Number.parseFloat(t)},Rl={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},Il=e=>{e=Math.min(Math.round(e),255);const t=Math.floor(e/16),n=e%16;return`${Rl[t]||t}${Rl[n]||n}`},Bl=function({r:e,g:t,b:n}){return Number.isNaN(+e)||Number.isNaN(+t)||Number.isNaN(+n)?"":`#${Il(e)}${Il(t)}${Il(n)}`},Fl={A:10,B:11,C:12,D:13,E:14,F:15},Vl=function(e){return 2===e.length?16*(Fl[e[0].toUpperCase()]||+e[0])+(Fl[e[1].toUpperCase()]||+e[1]):Fl[e[1].toUpperCase()]||+e[1]},zl=function(e,t,n){t/=100,n/=100;let r=t;const a=Math.max(n,.01);n*=2,t*=n<=1?n:2-n,r*=a<=1?a:2-a;const o=(n+t)/2,i=0===n?2*r/(a+r):2*t/(n+t);return{h:e,s:100*i,v:100*o}},Hl=(e,t,n)=>{e=Nl(e,255),t=Nl(t,255),n=Nl(n,255);const r=Math.max(e,t,n),a=Math.min(e,t,n);let o;const i=r,s=r-a,l=0===r?0:s/r;if(r===a)o=0;else{switch(r){case e:o=(t-n)/s+(t<n?6:0);break;case t:o=(n-e)/s+2;break;case n:o=(e-t)/s+4;break}o/=6}return{h:360*o,s:100*l,v:100*i}},Yl=function(e,t,n){e=6*Nl(e,360),t=Nl(t,100),n=Nl(n,100);const r=Math.floor(e),a=e-r,o=n*(1-t),i=n*(1-a*t),s=n*(1-(1-a)*t),l=r%6,c=[n,i,o,o,s,n][l],u=[s,n,n,i,o,o][l],d=[o,o,s,n,n,i][l];return{r:Math.round(255*c),g:Math.round(255*u),b:Math.round(255*d)}};class Ul{constructor(e={}){this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this.enableAlpha=!1,this.format="hex",this.value="";for(const t in e)Object(te["hasOwn"])(e,t)&&(this[t]=e[t]);e.value?this.fromString(e.value):this.doOnChange()}set(e,t){if(1!==arguments.length||"object"!==typeof e)this["_"+e]=t,this.doOnChange();else for(const n in e)Object(te["hasOwn"])(e,n)&&this.set(n,e[n])}get(e){return"alpha"===e?Math.floor(this["_"+e]):this["_"+e]}toRgb(){return Yl(this._hue,this._saturation,this._value)}fromString(e){if(!e)return this._hue=0,this._saturation=100,this._value=100,void this.doOnChange();const t=(e,t,n)=>{this._hue=Math.max(0,Math.min(360,e)),this._saturation=Math.max(0,Math.min(100,t)),this._value=Math.max(0,Math.min(100,n)),this.doOnChange()};if(e.includes("hsl")){const n=e.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(e=>""!==e).map((e,t)=>t>2?Number.parseFloat(e):Number.parseInt(e,10));if(4===n.length?this._alpha=100*Number.parseFloat(n[3]):3===n.length&&(this._alpha=100),n.length>=3){const{h:e,s:r,v:a}=zl(n[0],n[1],n[2]);t(e,r,a)}}else if(e.includes("hsv")){const n=e.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(e=>""!==e).map((e,t)=>t>2?Number.parseFloat(e):Number.parseInt(e,10));4===n.length?this._alpha=100*Number.parseFloat(n[3]):3===n.length&&(this._alpha=100),n.length>=3&&t(n[0],n[1],n[2])}else if(e.includes("rgb")){const n=e.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(e=>""!==e).map((e,t)=>t>2?Number.parseFloat(e):Number.parseInt(e,10));if(4===n.length?this._alpha=100*Number.parseFloat(n[3]):3===n.length&&(this._alpha=100),n.length>=3){const{h:e,s:r,v:a}=Hl(n[0],n[1],n[2]);t(e,r,a)}}else if(e.includes("#")){const n=e.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(n))return;let r,a,o;3===n.length?(r=Vl(n[0]+n[0]),a=Vl(n[1]+n[1]),o=Vl(n[2]+n[2])):6!==n.length&&8!==n.length||(r=Vl(n.slice(0,2)),a=Vl(n.slice(2,4)),o=Vl(n.slice(4,6))),8===n.length?this._alpha=Vl(n.slice(6))/255*100:3!==n.length&&6!==n.length||(this._alpha=100);const{h:i,s:s,v:l}=Hl(r,a,o);t(i,s,l)}}compare(e){return Math.abs(e._hue-this._hue)<2&&Math.abs(e._saturation-this._saturation)<1&&Math.abs(e._value-this._value)<1&&Math.abs(e._alpha-this._alpha)<1}doOnChange(){const{_hue:e,_saturation:t,_value:n,_alpha:r,format:a}=this;if(this.enableAlpha)switch(a){case"hsl":{const r=Ll(e,t/100,n/100);this.value=`hsla(${e}, ${Math.round(100*r[1])}%, ${Math.round(100*r[2])}%, ${this.get("alpha")/100})`;break}case"hsv":this.value=`hsva(${e}, ${Math.round(t)}%, ${Math.round(n)}%, ${this.get("alpha")/100})`;break;case"hex":this.value=`${Bl(Yl(e,t,n))}${Il(255*r/100)}`;break;default:{const{r:r,g:a,b:o}=Yl(e,t,n);this.value=`rgba(${r}, ${a}, ${o}, ${this.get("alpha")/100})`}}else switch(a){case"hsl":{const r=Ll(e,t/100,n/100);this.value=`hsl(${e}, ${Math.round(100*r[1])}%, ${Math.round(100*r[2])}%)`;break}case"hsv":this.value=`hsv(${e}, ${Math.round(t)}%, ${Math.round(n)}%)`;break;case"rgb":{const{r:r,g:a,b:o}=Yl(e,t,n);this.value=`rgb(${r}, ${a}, ${o})`;break}default:this.value=Bl(Yl(e,t,n))}}}const Wl=Object(s["defineComponent"])({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0}},setup(e){const t=Object(b["d"])("color-predefine"),{currentColor:n}=Object(s["inject"])(El),r=Object(s["ref"])(o(e.colors,e.color));function a(t){e.color.fromString(e.colors[t])}function o(e,t){return e.map(e=>{const n=new Ul;return n.enableAlpha=!0,n.format="rgba",n.fromString(e),n.selected=n.value===t.value,n})}return Object(s["watch"])(()=>n.value,e=>{const t=new Ul;t.fromString(e),r.value.forEach(e=>{e.selected=t.compare(e)})}),Object(s["watchEffect"])(()=>{r.value=o(e.colors,e.color)}),{rgbaColors:r,handleSelect:a,ns:t}}}),$l=["onClick"];function ql(e,t,n,r,a,o){return Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])(e.ns.b())},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(e.ns.e("colors"))},[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e.rgbaColors,(t,n)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:e.colors[n],class:Object(s["normalizeClass"])([e.ns.e("color-selector"),e.ns.is("alpha",t._alpha<100),{selected:t.selected}]),onClick:t=>e.handleSelect(n)},[Object(s["createElementVNode"])("div",{style:Object(s["normalizeStyle"])({backgroundColor:t.value})},null,4)],10,$l))),128))],2)],2)}var Gl=Object(v["a"])(Wl,[["render",ql],["__file","predefine.vue"]]);const Xl=Object(s["defineComponent"])({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(e){const t=Object(b["d"])("color-svpanel"),n=Object(s["getCurrentInstance"])(),r=Object(s["ref"])(0),a=Object(s["ref"])(0),o=Object(s["ref"])("hsl(0, 100%, 50%)"),i=Object(s["computed"])(()=>{const t=e.color.get("hue"),n=e.color.get("value");return{hue:t,value:n}});function l(){const t=e.color.get("saturation"),i=e.color.get("value"),s=n.vnode.el,{clientWidth:l,clientHeight:c}=s;a.value=t*l/100,r.value=(100-i)*c/100,o.value=`hsl(${e.color.get("hue")}, 100%, 50%)`}function c(t){const o=n.vnode.el,i=o.getBoundingClientRect(),{clientX:s,clientY:l}=yl(t);let c=s-i.left,u=l-i.top;c=Math.max(0,c),c=Math.min(c,i.width),u=Math.max(0,u),u=Math.min(u,i.height),a.value=c,r.value=u,e.color.set({saturation:c/i.width*100,value:100-u/i.height*100})}return Object(s["watch"])(()=>i.value,()=>{l()}),Object(s["onMounted"])(()=>{ml(n.vnode.el,{drag:e=>{c(e)},end:e=>{c(e)}}),l()}),{cursorTop:r,cursorLeft:a,background:o,colorValue:i,handleDrag:c,update:l,ns:t}}}),Kl=Object(s["createElementVNode"])("div",null,null,-1),Jl=[Kl];function Zl(e,t,n,r,a,o){return Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])(e.ns.b()),style:Object(s["normalizeStyle"])({backgroundColor:e.background})},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(e.ns.e("white"))},null,2),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(e.ns.e("black"))},null,2),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(e.ns.e("cursor")),style:Object(s["normalizeStyle"])({top:e.cursorTop+"px",left:e.cursorLeft+"px"})},Jl,6)],6)}var Ql=Object(v["a"])(Xl,[["render",Zl],["__file","sv-panel.vue"]]);const ec=["onKeydown"],tc=["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex"],nc=Object(s["defineComponent"])({name:"ElColorPicker"}),rc=Object(s["defineComponent"])({...nc,props:Al,emits:Tl,setup(e,{expose:t,emit:n}){const r=e,{t:a}=Object(Lr["b"])(),o=Object(b["d"])("color"),{formItem:i}=be(),l=Oe(),c=we(),{inputId:u,isLabeledByFormItem:f}=ge(r,{formItemContext:i}),h=Object(s["ref"])(),p=Object(s["ref"])(),m=Object(s["ref"])(),v=Object(s["ref"])(),g=Object(s["ref"])(),O=Object(s["ref"])(),{isFocused:w,handleFocus:_,handleBlur:j}=_e(g,{beforeBlur(e){var t;return null==(t=v.value)?void 0:t.isFocusInsideContent(e)},afterBlur(){R(!1),z()}}),k=e=>{if(c.value)return Z();_(e)};let x=!0;const S=Object(s["reactive"])(new Ul({enableAlpha:r.showAlpha,format:r.colorFormat||"",value:r.modelValue})),C=Object(s["ref"])(!1),M=Object(s["ref"])(!1),A=Object(s["ref"])(""),T=Object(s["computed"])(()=>r.modelValue||M.value?N(S,r.showAlpha):"transparent"),E=Object(s["computed"])(()=>r.modelValue||M.value?S.value:""),L=Object(s["computed"])(()=>f.value?void 0:r.label||r.ariaLabel||a("el.colorpicker.defaultLabel"));Object(xe["a"])({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-color-picker",ref:"https://element-plus.org/en-US/component/color-picker.html"},Object(s["computed"])(()=>!!r.label));const P=Object(s["computed"])(()=>f.value?null==i?void 0:i.labelId:void 0),D=Object(s["computed"])(()=>[o.b("picker"),o.is("disabled",c.value),o.bm("picker",l.value),o.is("focused",w.value)]);function N(e,t){if(!(e instanceof Ul))throw new TypeError("color should be instance of _color Class");const{r:n,g:r,b:a}=e.toRgb();return t?`rgba(${n}, ${r}, ${a}, ${e.get("alpha")/100})`:`rgb(${n}, ${r}, ${a})`}function R(e){C.value=e}const B=Object(q["debounce"])(R,100,{leading:!0});function F(){c.value||R(!0)}function V(){B(!1),z()}function z(){Object(s["nextTick"])(()=>{r.modelValue?S.fromString(r.modelValue):(S.value="",Object(s["nextTick"])(()=>{M.value=!1}))})}function H(){c.value||B(!C.value)}function Y(){S.fromString(A.value)}function U(){const e=S.value;n(d,e),n("change",e),r.validateEvent&&(null==i||i.validate("change").catch(e=>Object(y["a"])(e))),B(!1),Object(s["nextTick"])(()=>{const e=new Ul({enableAlpha:r.showAlpha,format:r.colorFormat||"",value:r.modelValue});S.compare(e)||z()})}function W(){B(!1),n(d,null),n("change",null),null!==r.modelValue&&r.validateEvent&&(null==i||i.validate("change").catch(e=>Object(y["a"])(e))),z()}function $(e){if(C.value&&(V(),w.value)){const t=new FocusEvent("focus",e);j(t)}}function X(e){e.preventDefault(),e.stopPropagation(),R(!1),z()}function K(e){switch(e.code){case vt["a"].enter:case vt["a"].space:e.preventDefault(),e.stopPropagation(),F(),O.value.focus();break;case vt["a"].esc:X(e);break}}function J(){g.value.focus()}function Z(){g.value.blur()}return Object(s["onMounted"])(()=>{r.modelValue&&(A.value=E.value)}),Object(s["watch"])(()=>r.modelValue,e=>{e?e&&e!==S.value&&(x=!1,S.fromString(e)):M.value=!1}),Object(s["watch"])(()=>E.value,e=>{A.value=e,x&&n("activeChange",e),x=!0}),Object(s["watch"])(()=>S.value,()=>{r.modelValue||M.value||(M.value=!0)}),Object(s["watch"])(()=>C.value,()=>{Object(s["nextTick"])(()=>{var e,t,n;null==(e=h.value)||e.update(),null==(t=p.value)||t.update(),null==(n=m.value)||n.update()})}),Object(s["provide"])(El,{currentColor:E}),t({color:S,show:F,hide:V,focus:J,blur:Z}),(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(nr),{ref_key:"popper",ref:v,visible:C.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[Object(s["unref"])(o).be("picker","panel"),Object(s["unref"])(o).b("dropdown"),e.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",teleported:e.teleported,transition:Object(s["unref"])(o).namespace.value+"-zoom-in-top",persistent:"",onHide:t[2]||(t[2]=e=>R(!1))},{content:Object(s["withCtx"])(()=>[Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{onKeydown:Object(s["withKeys"])(X,["esc"])},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(o).be("dropdown","main-wrapper"))},[Object(s["createVNode"])(Ml,{ref_key:"hue",ref:h,class:"hue-slider",color:Object(s["unref"])(S),vertical:""},null,8,["color"]),Object(s["createVNode"])(Ql,{ref_key:"sv",ref:p,color:Object(s["unref"])(S)},null,8,["color"])],2),e.showAlpha?(Object(s["openBlock"])(),Object(s["createBlock"])(xl,{key:0,ref_key:"alpha",ref:m,color:Object(s["unref"])(S)},null,8,["color"])):Object(s["createCommentVNode"])("v-if",!0),e.predefine?(Object(s["openBlock"])(),Object(s["createBlock"])(Gl,{key:1,ref:"predefine",color:Object(s["unref"])(S),colors:e.predefine},null,8,["color","colors"])):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(o).be("dropdown","btns"))},[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(o).be("dropdown","value"))},[Object(s["createVNode"])(Object(s["unref"])(Le),{ref_key:"inputRef",ref:O,modelValue:A.value,"onUpdate:modelValue":t[0]||(t[0]=e=>A.value=e),"validate-event":!1,size:"small",onKeyup:Object(s["withKeys"])(Y,["enter"]),onBlur:Y},null,8,["modelValue","onKeyup"])],2),Object(s["createVNode"])(Object(s["unref"])(oa),{class:Object(s["normalizeClass"])(Object(s["unref"])(o).be("dropdown","link-btn")),text:"",size:"small",onClick:W},{default:Object(s["withCtx"])(()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(Object(s["unref"])(a)("el.colorpicker.clear")),1)]),_:1},8,["class"]),Object(s["createVNode"])(Object(s["unref"])(oa),{plain:"",size:"small",class:Object(s["normalizeClass"])(Object(s["unref"])(o).be("dropdown","btn")),onClick:U},{default:Object(s["withCtx"])(()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(Object(s["unref"])(a)("el.colorpicker.confirm")),1)]),_:1},8,["class"])],2)],40,ec)),[[Object(s["unref"])(ws),$]])]),default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("div",Object(s["mergeProps"])({id:Object(s["unref"])(u),ref_key:"triggerRef",ref:g},e.$attrs,{class:Object(s["unref"])(D),role:"button","aria-label":Object(s["unref"])(L),"aria-labelledby":Object(s["unref"])(P),"aria-description":Object(s["unref"])(a)("el.colorpicker.description",{color:e.modelValue||""}),"aria-disabled":Object(s["unref"])(c),tabindex:Object(s["unref"])(c)?-1:e.tabindex,onKeydown:K,onFocus:k,onBlur:t[1]||(t[1]=(...e)=>Object(s["unref"])(j)&&Object(s["unref"])(j)(...e))}),[Object(s["unref"])(c)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(o).be("picker","mask"))},null,2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(o).be("picker","trigger")),onClick:H},[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])([Object(s["unref"])(o).be("picker","color"),Object(s["unref"])(o).is("alpha",e.showAlpha)])},[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(o).be("picker","color-inner")),style:Object(s["normalizeStyle"])({backgroundColor:Object(s["unref"])(T)})},[Object(s["withDirectives"])(Object(s["createVNode"])(Object(s["unref"])(I["a"]),{class:Object(s["normalizeClass"])([Object(s["unref"])(o).be("picker","icon"),Object(s["unref"])(o).is("icon-arrow-down")])},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["ArrowDown"]))]),_:1},8,["class"]),[[s["vShow"],e.modelValue||M.value]]),Object(s["withDirectives"])(Object(s["createVNode"])(Object(s["unref"])(I["a"]),{class:Object(s["normalizeClass"])([Object(s["unref"])(o).be("picker","empty"),Object(s["unref"])(o).is("icon-close")])},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["Close"]))]),_:1},8,["class"]),[[s["vShow"],!e.modelValue&&!M.value]])],6)],2)],2)],16,tc)]),_:1},8,["visible","popper-class","teleported","transition"]))}});var ac=Object(v["a"])(rc,[["__file","color-picker.vue"]]);const oc=Object(N["a"])(ac);var ic=n("b6c4");const sc=Object(s["defineComponent"])({name:"ElContainer"}),lc=Object(s["defineComponent"])({...sc,props:{direction:{type:String}},setup(e){const t=e,n=Object(s["useSlots"])(),r=Object(b["d"])("container"),a=Object(s["computed"])(()=>{if("vertical"===t.direction)return!0;if("horizontal"===t.direction)return!1;if(n&&n.default){const e=n.default();return e.some(e=>{const t=e.type.name;return"ElHeader"===t||"ElFooter"===t})}return!1});return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("section",{class:Object(s["normalizeClass"])([Object(s["unref"])(r).b(),Object(s["unref"])(r).is("vertical",Object(s["unref"])(a))])},[Object(s["renderSlot"])(e.$slots,"default")],2))}});var cc=Object(v["a"])(lc,[["__file","container.vue"]]);const uc=Object(s["defineComponent"])({name:"ElAside"}),dc=Object(s["defineComponent"])({...uc,props:{width:{type:String,default:null}},setup(e){const t=e,n=Object(b["d"])("aside"),r=Object(s["computed"])(()=>t.width?n.cssVarBlock({width:t.width}):{});return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("aside",{class:Object(s["normalizeClass"])(Object(s["unref"])(n).b()),style:Object(s["normalizeStyle"])(Object(s["unref"])(r))},[Object(s["renderSlot"])(e.$slots,"default")],6))}});var fc=Object(v["a"])(dc,[["__file","aside.vue"]]);const hc=Object(s["defineComponent"])({name:"ElFooter"}),pc=Object(s["defineComponent"])({...hc,props:{height:{type:String,default:null}},setup(e){const t=e,n=Object(b["d"])("footer"),r=Object(s["computed"])(()=>t.height?n.cssVarBlock({height:t.height}):{});return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("footer",{class:Object(s["normalizeClass"])(Object(s["unref"])(n).b()),style:Object(s["normalizeStyle"])(Object(s["unref"])(r))},[Object(s["renderSlot"])(e.$slots,"default")],6))}});var mc=Object(v["a"])(pc,[["__file","footer.vue"]]);const vc=Object(s["defineComponent"])({name:"ElHeader"}),bc=Object(s["defineComponent"])({...vc,props:{height:{type:String,default:null}},setup(e){const t=e,n=Object(b["d"])("header"),r=Object(s["computed"])(()=>t.height?n.cssVarBlock({height:t.height}):{});return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("header",{class:Object(s["normalizeClass"])(Object(s["unref"])(n).b()),style:Object(s["normalizeStyle"])(Object(s["unref"])(r))},[Object(s["renderSlot"])(e.$slots,"default")],6))}});var gc=Object(v["a"])(bc,[["__file","header.vue"]]);const yc=Object(s["defineComponent"])({name:"ElMain"}),Oc=Object(s["defineComponent"])({...yc,setup(e){const t=Object(b["d"])("main");return(e,n)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("main",{class:Object(s["normalizeClass"])(Object(s["unref"])(t).b())},[Object(s["renderSlot"])(e.$slots,"default")],2))}});var wc=Object(v["a"])(Oc,[["__file","main.vue"]]);const _c=Object(N["a"])(cc,{Aside:fc,Footer:mc,Header:gc,Main:wc}),jc=Object(N["d"])(fc),kc=Object(N["d"])(mc),xc=Object(N["d"])(gc),Sc=Object(N["d"])(wc);var Cc=n("f906"),Mc=n.n(Cc),Ac=n("8f19"),Tc=n.n(Ac),Ec=n("2a04"),Lc=n.n(Ec),Pc=n("1ac8"),Dc=n.n(Pc),Nc=n("8d82"),Rc=n.n(Nc),Ic=n("d758"),Bc=n.n(Ic),Fc=n("b375"),Vc=n.n(Fc);const zc=Symbol(),Hc=Object(c["b"])({disabledHours:{type:Object(c["c"])(Function)},disabledMinutes:{type:Object(c["c"])(Function)},disabledSeconds:{type:Object(c["c"])(Function)}}),Yc=Object(c["b"])({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),Uc=Object(c["b"])({id:{type:Object(c["c"])([Array,String])},name:{type:Object(c["c"])([Array,String]),default:""},popperClass:{type:String,default:""},format:String,valueFormat:String,dateFormat:String,timeFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:Object(c["c"])([String,Object]),default:G["CircleClose"]},editable:{type:Boolean,default:!0},prefixIcon:{type:Object(c["c"])([String,Object]),default:""},size:ne["c"],readonly:Boolean,disabled:Boolean,placeholder:{type:String,default:""},popperOptions:{type:Object(c["c"])(Object),default:()=>({})},modelValue:{type:Object(c["c"])([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:Object(c["c"])([Date,Array])},defaultTime:{type:Object(c["c"])([Date,Array])},isRange:Boolean,...Hc,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,label:{type:String,default:void 0},tabindex:{type:Object(c["c"])([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,...ms["b"],...oe(["ariaLabel"])}),Wc=Object(c["b"])({...Uc,type:{type:Object(c["c"])(String),default:"date"}}),$c=["date","dates","year","years","month","week","range"],qc=Object(c["b"])({disabledDate:{type:Object(c["c"])(Function)},date:{type:Object(c["c"])(Object),required:!0},minDate:{type:Object(c["c"])(Object)},maxDate:{type:Object(c["c"])(Object)},parsedValue:{type:Object(c["c"])([Object,Array])},rangeState:{type:Object(c["c"])(Object),default:()=>({endDate:null,selecting:!1})}}),Gc=Object(c["b"])({type:{type:Object(c["c"])(String),required:!0,values:xa},dateFormat:String,timeFormat:String}),Xc=Object(c["b"])({unlinkPanels:Boolean,parsedValue:{type:Object(c["c"])(Array)}}),Kc=e=>({type:String,values:$c,default:e}),Jc=Object(c["b"])({...Gc,parsedValue:{type:Object(c["c"])([Object,Array])},visible:{type:Boolean},format:{type:String,default:""}}),Zc=Object(c["b"])({...qc,cellClassName:{type:Object(c["c"])(Function)},showWeekNumber:Boolean,selectionMode:Kc("date")}),Qc=["changerange","pick","select"],eu=e=>{if(!Object(te["isArray"])(e))return!1;const[t,n]=e;return la.a.isDayjs(t)&&la.a.isDayjs(n)&&t.isSameOrBefore(n)},tu=(e,{lang:t,unit:n,unlinkPanels:r})=>{let a;if(Object(te["isArray"])(e)){let[a,o]=e.map(e=>la()(e).locale(t));return r||(o=a.add(1,n)),[a,o]}return a=e?la()(e):la()(),a=a.locale(t),[a,a.add(1,n)]},nu=(e,t,{columnIndexOffset:n,startDate:r,nextEndDate:a,now:o,unit:i,relativeDateGetter:s,setCellMetadata:l,setRowMetadata:c})=>{for(let u=0;u<e.row;u++){const d=t[u];for(let t=0;t<e.column;t++){let c=d[t+n];c||(c={row:u,column:t,type:"normal",inRange:!1,start:!1,end:!1});const f=u*e.column+t,h=s(f);c.dayjs=h,c.date=h.toDate(),c.timestamp=h.valueOf(),c.type="normal",c.inRange=!!(r&&h.isSameOrAfter(r,i)&&a&&h.isSameOrBefore(a,i))||!!(r&&h.isSameOrBefore(r,i)&&a&&h.isSameOrAfter(a,i)),(null==r?void 0:r.isSameOrAfter(a))?(c.start=!!a&&h.isSame(a,i),c.end=r&&h.isSame(r,i)):(c.start=!!r&&h.isSame(r,i),c.end=!!a&&h.isSame(a,i));const p=h.isSame(o,i);p&&(c.type="today"),null==l||l(c,{rowIndex:u,columnIndex:t}),d[t+n]=c}null==c||c(d)}},ru=(e="")=>["normal","today"].includes(e),au=(e,t)=>{const{lang:n}=Object(Lr["b"])(),r=Object(s["ref"])(),a=Object(s["ref"])(),o=Object(s["ref"])(),i=Object(s["ref"])(),l=Object(s["ref"])([[],[],[],[],[],[]]);let c=!1;const u=e.date.$locale().weekStart||7,d=e.date.locale("en").localeData().weekdaysShort().map(e=>e.toLowerCase()),f=Object(s["computed"])(()=>u>3?7-u:-u),h=Object(s["computed"])(()=>{const t=e.date.startOf("month");return t.subtract(t.day()||7,"day")}),p=Object(s["computed"])(()=>d.concat(d).slice(u,u+7)),m=Object(s["computed"])(()=>Object(q["flatten"])(Object(s["unref"])(w)).some(e=>e.isCurrent)),v=Object(s["computed"])(()=>{const t=e.date.startOf("month"),n=t.day()||7,r=t.daysInMonth(),a=t.subtract(1,"month").daysInMonth();return{startOfMonthDay:n,dateCountOfMonth:r,dateCountOfLastMonth:a}}),b=Object(s["computed"])(()=>"dates"===e.selectionMode?rs(e.parsedValue):[]),g=(e,{count:t,rowIndex:n,columnIndex:r})=>{const{startOfMonthDay:a,dateCountOfMonth:o,dateCountOfLastMonth:i}=Object(s["unref"])(v),l=Object(s["unref"])(f);if(!(n>=0&&n<=1))return t<=o?e.text=t:(e.text=t-o,e.type="next-month"),!0;{const o=a+l<0?7+a+l:a+l;if(r+7*n>=o)return e.text=t,!0;e.text=i-(o-r%7)+1+7*n,e.type="prev-month"}return!1},y=(t,{columnIndex:n,rowIndex:r},a)=>{const{disabledDate:o,cellClassName:i}=e,l=Object(s["unref"])(b),c=g(t,{count:a,rowIndex:r,columnIndex:n}),u=t.dayjs.toDate();return t.selected=l.find(e=>e.isSame(t.dayjs,"day")),t.isSelected=!!t.selected,t.isCurrent=j(t),t.disabled=null==o?void 0:o(u),t.customClass=null==i?void 0:i(u),c},O=t=>{if("week"===e.selectionMode){const[n,r]=e.showWeekNumber?[1,7]:[0,6],a=N(t[n+1]);t[n].inRange=a,t[n].start=a,t[r].inRange=a,t[r].end=a}},w=Object(s["computed"])(()=>{const{minDate:t,maxDate:r,rangeState:a,showWeekNumber:o}=e,i=Object(s["unref"])(f),c=Object(s["unref"])(l),u="day";let d=1;if(o)for(let e=0;e<6;e++)c[e][0]||(c[e][0]={type:"week",text:Object(s["unref"])(h).add(7*e+1,u).week()});return nu({row:6,column:7},c,{startDate:t,columnIndexOffset:o?1:0,nextEndDate:a.endDate||r||a.selecting&&t||null,now:la()().locale(Object(s["unref"])(n)).startOf(u),unit:u,relativeDateGetter:e=>Object(s["unref"])(h).add(e-i,u),setCellMetadata:(...e)=>{y(...e,d)&&(d+=1)},setRowMetadata:O}),c});Object(s["watch"])(()=>e.date,async()=>{var e;(null==(e=Object(s["unref"])(r))?void 0:e.contains(document.activeElement))&&(await Object(s["nextTick"])(),await _())});const _=async()=>{var e;return null==(e=Object(s["unref"])(a))?void 0:e.focus()},j=t=>"date"===e.selectionMode&&ru(t.type)&&k(t,e.parsedValue),k=(t,r)=>!!r&&la()(r).locale(Object(s["unref"])(n)).isSame(e.date.date(Number(t.text)),"day"),x=(t,n)=>{const r=7*t+(n-(e.showWeekNumber?1:0))-Object(s["unref"])(f);return Object(s["unref"])(h).add(r,"day")},S=n=>{var r;if(!e.rangeState.selecting)return;let a=n.target;if("SPAN"===a.tagName&&(a=null==(r=a.parentNode)?void 0:r.parentNode),"DIV"===a.tagName&&(a=a.parentNode),"TD"!==a.tagName)return;const l=a.parentNode.rowIndex-1,c=a.cellIndex;Object(s["unref"])(w)[l][c].disabled||l===Object(s["unref"])(o)&&c===Object(s["unref"])(i)||(o.value=l,i.value=c,t("changerange",{selecting:!0,endDate:x(l,c)}))},C=e=>!Object(s["unref"])(m)&&1===(null==e?void 0:e.text)&&"normal"===e.type||e.isCurrent,M=t=>{c||Object(s["unref"])(m)||"date"!==e.selectionMode||D(t,!0)},A=e=>{const t=e.target.closest("td");t&&(c=!0)},T=e=>{const t=e.target.closest("td");t&&(c=!1)},E=n=>{e.rangeState.selecting&&e.minDate?(n>=e.minDate?t("pick",{minDate:e.minDate,maxDate:n}):t("pick",{minDate:n,maxDate:e.minDate}),t("select",!1)):(t("pick",{minDate:n,maxDate:null}),t("select",!0))},L=e=>{const n=e.week(),r=`${e.year()}w${n}`;t("pick",{year:e.year(),week:n,value:r,date:e.startOf("week")})},P=(n,r)=>{const a=r?rs(e.parsedValue).filter(e=>(null==e?void 0:e.valueOf())!==n.valueOf()):rs(e.parsedValue).concat([n]);t("pick",a)},D=(n,r=!1)=>{const a=n.target.closest("td");if(!a)return;const o=a.parentNode.rowIndex-1,i=a.cellIndex,l=Object(s["unref"])(w)[o][i];if(l.disabled||"week"===l.type)return;const c=x(o,i);switch(e.selectionMode){case"range":E(c);break;case"date":t("pick",c,r);break;case"week":L(c);break;case"dates":P(c,!!l.selected);break;default:break}},N=t=>{if("week"!==e.selectionMode)return!1;let n=e.date.startOf("day");if("prev-month"===t.type&&(n=n.subtract(1,"month")),"next-month"===t.type&&(n=n.add(1,"month")),n=n.date(Number.parseInt(t.text,10)),e.parsedValue&&!Array.isArray(e.parsedValue)){const t=(e.parsedValue.day()-u+7)%7-1,r=e.parsedValue.subtract(t,"day");return r.isSame(n,"day")}return!1};return{WEEKS:p,rows:w,tbodyRef:r,currentCellRef:a,focus:_,isCurrent:j,isWeekActive:N,isSelectedCell:C,handlePickDate:D,handleMouseUp:T,handleMouseDown:A,handleMouseMove:S,handleFocus:M}},ou=(e,{isCurrent:t,isWeekActive:n})=>{const r=Object(b["d"])("date-table"),{t:a}=Object(Lr["b"])(),o=Object(s["computed"])(()=>[r.b(),{"is-week-mode":"week"===e.selectionMode}]),i=Object(s["computed"])(()=>a("el.datepicker.dateTablePrompt")),l=Object(s["computed"])(()=>a("el.datepicker.week")),c=n=>{const r=[];return ru(n.type)&&!n.disabled?(r.push("available"),"today"===n.type&&r.push("today")):r.push(n.type),t(n)&&r.push("current"),n.inRange&&(ru(n.type)||"week"===e.selectionMode)&&(r.push("in-range"),n.start&&r.push("start-date"),n.end&&r.push("end-date")),n.disabled&&r.push("disabled"),n.selected&&r.push("selected"),n.customClass&&r.push(n.customClass),r.join(" ")},u=e=>[r.e("row"),{current:n(e)}];return{tableKls:o,tableLabel:i,weekLabel:l,getCellClasses:c,getRowKls:u,t:a}},iu=Object(c["b"])({cell:{type:Object(c["c"])(Object)}});var su=Object(s["defineComponent"])({name:"ElDatePickerCell",props:iu,setup(e){const t=Object(b["d"])("date-table-cell"),{slots:n}=Object(s["inject"])(zc);return()=>{const{cell:r}=e;return Object(s["renderSlot"])(n,"default",{...r},()=>[Object(s["createVNode"])("div",{class:t.b()},[Object(s["createVNode"])("span",{class:t.e("text")},[null==r?void 0:r.text])])])}}});const lu=["aria-label"],cu={key:0,scope:"col"},uu=["aria-label"],du=["aria-current","aria-selected","tabindex"],fu=Object(s["defineComponent"])({__name:"basic-date-table",props:Zc,emits:Qc,setup(e,{expose:t,emit:n}){const r=e,{WEEKS:a,rows:o,tbodyRef:i,currentCellRef:l,focus:c,isCurrent:u,isWeekActive:d,isSelectedCell:f,handlePickDate:h,handleMouseUp:p,handleMouseDown:m,handleMouseMove:v,handleFocus:b}=au(r,n),{tableLabel:g,tableKls:y,weekLabel:O,getCellClasses:w,getRowKls:_,t:j}=ou(r,{isCurrent:u,isWeekActive:d});return t({focus:c}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("table",{"aria-label":Object(s["unref"])(g),class:Object(s["normalizeClass"])(Object(s["unref"])(y)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:t[1]||(t[1]=(...e)=>Object(s["unref"])(h)&&Object(s["unref"])(h)(...e)),onMousemove:t[2]||(t[2]=(...e)=>Object(s["unref"])(v)&&Object(s["unref"])(v)(...e)),onMousedown:t[3]||(t[3]=Object(s["withModifiers"])((...e)=>Object(s["unref"])(m)&&Object(s["unref"])(m)(...e),["prevent"])),onMouseup:t[4]||(t[4]=(...e)=>Object(s["unref"])(p)&&Object(s["unref"])(p)(...e))},[Object(s["createElementVNode"])("tbody",{ref_key:"tbodyRef",ref:i},[Object(s["createElementVNode"])("tr",null,[e.showWeekNumber?(Object(s["openBlock"])(),Object(s["createElementBlock"])("th",cu,Object(s["toDisplayString"])(Object(s["unref"])(O)),1)):Object(s["createCommentVNode"])("v-if",!0),(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(Object(s["unref"])(a),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("th",{key:t,"aria-label":Object(s["unref"])(j)("el.datepicker.weeksFull."+e),scope:"col"},Object(s["toDisplayString"])(Object(s["unref"])(j)("el.datepicker.weeks."+e)),9,uu))),128))]),(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(Object(s["unref"])(o),(e,n)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("tr",{key:n,class:Object(s["normalizeClass"])(Object(s["unref"])(_)(e[1]))},[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e,(e,r)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("td",{key:`${n}.${r}`,ref_for:!0,ref:t=>Object(s["unref"])(f)(e)&&(l.value=t),class:Object(s["normalizeClass"])(Object(s["unref"])(w)(e)),"aria-current":e.isCurrent?"date":void 0,"aria-selected":e.isCurrent,tabindex:Object(s["unref"])(f)(e)?0:-1,onFocus:t[0]||(t[0]=(...e)=>Object(s["unref"])(b)&&Object(s["unref"])(b)(...e))},[Object(s["createVNode"])(Object(s["unref"])(su),{cell:e},null,8,["cell"])],42,du))),128))],2))),128))],512)],42,lu))}});var hu=Object(v["a"])(fu,[["__file","basic-date-table.vue"]]);const pu=Object(c["b"])({...qc,selectionMode:Kc("month")}),mu=["aria-label"],vu=["aria-selected","aria-label","tabindex","onKeydown"],bu={class:"cell"},gu=Object(s["defineComponent"])({__name:"basic-month-table",props:pu,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const r=e,a=(e,t,n)=>{const r=la()().locale(n).startOf("month").month(t).year(e),a=r.daysInMonth();return ua(a).map(e=>r.add(e,"day").toDate())},o=Object(b["d"])("month-table"),{t:i,lang:l}=Object(Lr["b"])(),c=Object(s["ref"])(),u=Object(s["ref"])(),d=Object(s["ref"])(r.date.locale("en").localeData().monthsShort().map(e=>e.toLowerCase())),f=Object(s["ref"])([[],[],[]]),h=Object(s["ref"])(),p=Object(s["ref"])(),m=Object(s["computed"])(()=>{var e,t;const n=f.value,a=la()().locale(l.value).startOf("month");for(let o=0;o<3;o++){const i=n[o];for(let n=0;n<4;n++){const s=i[n]||(i[n]={row:o,column:n,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});s.type="normal";const l=4*o+n,c=r.date.startOf("year").month(l),u=r.rangeState.endDate||r.maxDate||r.rangeState.selecting&&r.minDate||null;s.inRange=!!(r.minDate&&c.isSameOrAfter(r.minDate,"month")&&u&&c.isSameOrBefore(u,"month"))||!!(r.minDate&&c.isSameOrBefore(r.minDate,"month")&&u&&c.isSameOrAfter(u,"month")),(null==(e=r.minDate)?void 0:e.isSameOrAfter(u))?(s.start=!(!u||!c.isSame(u,"month")),s.end=r.minDate&&c.isSame(r.minDate,"month")):(s.start=!(!r.minDate||!c.isSame(r.minDate,"month")),s.end=!(!u||!c.isSame(u,"month")));const d=a.isSame(c);d&&(s.type="today"),s.text=l,s.disabled=(null==(t=r.disabledDate)?void 0:t.call(r,c.toDate()))||!1}}return n}),v=()=>{var e;null==(e=u.value)||e.focus()},y=e=>{const t={},n=r.date.year(),o=new Date,i=e.text;return t.disabled=!!r.disabledDate&&a(n,i,l.value).every(r.disabledDate),t.current=rs(r.parsedValue).findIndex(e=>la.a.isDayjs(e)&&e.year()===n&&e.month()===i)>=0,t.today=o.getFullYear()===n&&o.getMonth()===i,e.inRange&&(t["in-range"]=!0,e.start&&(t["start-date"]=!0),e.end&&(t["end-date"]=!0)),t},O=e=>{const t=r.date.year(),n=e.text;return rs(r.date).findIndex(e=>e.year()===t&&e.month()===n)>=0},w=e=>{var t;if(!r.rangeState.selecting)return;let a=e.target;if("SPAN"===a.tagName&&(a=null==(t=a.parentNode)?void 0:t.parentNode),"DIV"===a.tagName&&(a=a.parentNode),"TD"!==a.tagName)return;const o=a.parentNode.rowIndex,i=a.cellIndex;m.value[o][i].disabled||o===h.value&&i===p.value||(h.value=o,p.value=i,n("changerange",{selecting:!0,endDate:r.date.startOf("year").month(4*o+i)}))},_=e=>{var t;const a=null==(t=e.target)?void 0:t.closest("td");if("TD"!==(null==a?void 0:a.tagName))return;if(Object(g["d"])(a,"disabled"))return;const o=a.cellIndex,i=a.parentNode.rowIndex,s=4*i+o,l=r.date.startOf("year").month(s);"range"===r.selectionMode?r.rangeState.selecting?(r.minDate&&l>=r.minDate?n("pick",{minDate:r.minDate,maxDate:l}):n("pick",{minDate:l,maxDate:r.minDate}),n("select",!1)):(n("pick",{minDate:l,maxDate:null}),n("select",!0)):n("pick",s)};return Object(s["watch"])(()=>r.date,async()=>{var e,t;(null==(e=c.value)?void 0:e.contains(document.activeElement))&&(await Object(s["nextTick"])(),null==(t=u.value)||t.focus())}),t({focus:v}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("table",{role:"grid","aria-label":Object(s["unref"])(i)("el.datepicker.monthTablePrompt"),class:Object(s["normalizeClass"])(Object(s["unref"])(o).b()),onClick:_,onMousemove:w},[Object(s["createElementVNode"])("tbody",{ref_key:"tbodyRef",ref:c},[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(Object(s["unref"])(m),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("tr",{key:t},[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e,(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("td",{key:t,ref_for:!0,ref:t=>O(e)&&(u.value=t),class:Object(s["normalizeClass"])(y(e)),"aria-selected":""+O(e),"aria-label":Object(s["unref"])(i)("el.datepicker.month"+(+e.text+1)),tabindex:O(e)?0:-1,onKeydown:[Object(s["withKeys"])(Object(s["withModifiers"])(_,["prevent","stop"]),["space"]),Object(s["withKeys"])(Object(s["withModifiers"])(_,["prevent","stop"]),["enter"])]},[Object(s["createElementVNode"])("div",null,[Object(s["createElementVNode"])("span",bu,Object(s["toDisplayString"])(Object(s["unref"])(i)("el.datepicker.months."+d.value[e.text])),1)])],42,vu))),128))]))),128))],512)],42,mu))}});var yu=Object(v["a"])(gu,[["__file","basic-month-table.vue"]]);const{date:Ou,disabledDate:wu,parsedValue:_u}=qc,ju=Object(c["b"])({date:Ou,disabledDate:wu,parsedValue:_u,selectionMode:Kc("year")}),ku=["aria-label"],xu=["aria-selected","tabindex","onKeydown"],Su={class:"cell"},Cu={key:1},Mu=Object(s["defineComponent"])({__name:"basic-year-table",props:ju,emits:["pick"],setup(e,{expose:t,emit:n}){const r=e,a=(e,t)=>{const n=la()(String(e)).locale(t).startOf("year"),r=n.endOf("year"),a=r.dayOfYear();return ua(a).map(e=>n.add(e,"day").toDate())},o=Object(b["d"])("year-table"),{t:i,lang:l}=Object(Lr["b"])(),c=Object(s["ref"])(),u=Object(s["ref"])(),d=Object(s["computed"])(()=>10*Math.floor(r.date.year()/10)),f=()=>{var e;null==(e=u.value)||e.focus()},h=e=>{const t={},n=la()().locale(l.value);return t.disabled=!!r.disabledDate&&a(e,l.value).every(r.disabledDate),t.current=rs(r.parsedValue).findIndex(t=>t.year()===e)>=0,t.today=n.year()===e,t},p=e=>e===d.value&&r.date.year()<d.value&&r.date.year()>d.value+9||rs(r.date).findIndex(t=>t.year()===e)>=0||rs(r.parsedValue).findIndex(t=>(null==t?void 0:t.year())===e)>=0,m=e=>{const t=e.target,a=t.closest("td");if(a&&a.textContent){if(Object(g["d"])(a,"disabled"))return;const t=a.textContent||a.innerText;if("years"===r.selectionMode){if("keydown"===e.type)return void n("pick",rs(r.parsedValue),!1);const o=Object(g["d"])(a,"current")?rs(r.parsedValue).filter(e=>(null==e?void 0:e.year())!==Number(t)):rs(r.parsedValue).concat([la()(t)]);n("pick",o)}else n("pick",Number(t))}};return Object(s["watch"])(()=>r.date,async()=>{var e,t;(null==(e=c.value)?void 0:e.contains(document.activeElement))&&(await Object(s["nextTick"])(),null==(t=u.value)||t.focus())}),t({focus:f}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("table",{role:"grid","aria-label":Object(s["unref"])(i)("el.datepicker.yearTablePrompt"),class:Object(s["normalizeClass"])(Object(s["unref"])(o).b()),onClick:m},[Object(s["createElementVNode"])("tbody",{ref_key:"tbodyRef",ref:c},[(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(3,(e,t)=>Object(s["createElementVNode"])("tr",{key:t},[(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(4,(e,n)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:t+"_"+n},[4*t+n<10?(Object(s["openBlock"])(),Object(s["createElementBlock"])("td",{key:0,ref_for:!0,ref:e=>p(Object(s["unref"])(d)+4*t+n)&&(u.value=e),class:Object(s["normalizeClass"])(["available",h(Object(s["unref"])(d)+4*t+n)]),"aria-selected":""+p(Object(s["unref"])(d)+4*t+n),tabindex:p(Object(s["unref"])(d)+4*t+n)?0:-1,onKeydown:[Object(s["withKeys"])(Object(s["withModifiers"])(m,["prevent","stop"]),["space"]),Object(s["withKeys"])(Object(s["withModifiers"])(m,["prevent","stop"]),["enter"])]},[Object(s["createElementVNode"])("div",null,[Object(s["createElementVNode"])("span",Su,Object(s["toDisplayString"])(Object(s["unref"])(d)+4*t+n),1)])],42,xu)):(Object(s["openBlock"])(),Object(s["createElementBlock"])("td",Cu))],64))),64))])),64))],512)],10,ku))}});var Au=Object(v["a"])(Mu,[["__file","basic-year-table.vue"]]);const Tu=Object(c["b"])({...Yc,datetimeRole:String,parsedValue:{type:Object(c["c"])(Object)}}),Eu=({getAvailableHours:e,getAvailableMinutes:t,getAvailableSeconds:n})=>{const r=(r,a,o,i)=>{const s={hour:e,minute:t,second:n};let l=r;return["hour","minute","second"].forEach(e=>{if(s[e]){let t;const n=s[e];switch(e){case"minute":t=n(l.hour(),a,i);break;case"second":t=n(l.hour(),l.minute(),a,i);break;default:t=n(a,i);break}if((null==t?void 0:t.length)&&!t.includes(l[e]())){const n=o?0:t.length-1;l=l[e](t[n])}}}),l},a={},o=([e,t])=>{a[e]=t};return{timePickerOptions:a,getAvailableTime:r,onSetOption:o}},Lu=e=>{const t=(e,t)=>e||t,n=e=>!0!==e;return e.map(t).filter(n)},Pu=(e,t,n)=>{const r=(t,n)=>ba(24,e&&(()=>null==e?void 0:e(t,n))),a=(e,n,r)=>ba(60,t&&(()=>null==t?void 0:t(e,n,r))),o=(e,t,r,a)=>ba(60,n&&(()=>null==n?void 0:n(e,t,r,a)));return{getHoursList:r,getMinutesList:a,getSecondsList:o}},Du=(e,t,n)=>{const{getHoursList:r,getMinutesList:a,getSecondsList:o}=Pu(e,t,n),i=(e,t)=>Lu(r(e,t)),s=(e,t,n)=>Lu(a(e,t,n)),l=(e,t,n,r)=>Lu(o(e,t,n,r));return{getAvailableHours:i,getAvailableMinutes:s,getAvailableSeconds:l}},Nu=e=>{const t=Object(s["ref"])(e.parsedValue);return Object(s["watch"])(()=>e.visible,n=>{n||(t.value=e.parsedValue)}),t},Ru=["hours","minutes","seconds"],Iu="HH:mm:ss",Bu="YYYY-MM-DD",Fu={date:Bu,dates:Bu,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",datetime:`${Bu} ${Iu}`,monthrange:"YYYY-MM",daterange:Bu,datetimerange:`${Bu} ${Iu}`},Vu=Object(c["b"])({role:{type:String,required:!0},spinnerDate:{type:Object(c["c"])(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:Object(c["c"])(String),default:""},...Hc}),zu=100,Hu=600,Yu={beforeMount(e,t){const n=t.value,{interval:r=zu,delay:a=Hu}=Object(te["isFunction"])(n)?{}:n;let o,i;const s=()=>Object(te["isFunction"])(n)?n():n.handler(),l=()=>{i&&(clearTimeout(i),i=void 0),o&&(clearInterval(o),o=void 0)};e.addEventListener("mousedown",e=>{0===e.button&&(l(),s(),document.addEventListener("mouseup",()=>l(),{once:!0}),i=setTimeout(()=>{o=setInterval(()=>{s()},r)},a))})}},Uu=["onClick"],Wu=["onMouseenter"],$u=Object(s["defineComponent"])({__name:"basic-time-spinner",props:Vu,emits:["change","select-range","set-option"],setup(e,{emit:t}){const n=e,r=Object(b["d"])("time"),{getHoursList:a,getMinutesList:o,getSecondsList:i}=Pu(n.disabledHours,n.disabledMinutes,n.disabledSeconds);let l=!1;const c=Object(s["ref"])(),u=Object(s["ref"])(),d=Object(s["ref"])(),f=Object(s["ref"])(),h={hours:u,minutes:d,seconds:f},p=Object(s["computed"])(()=>n.showSeconds?Ru:Ru.slice(0,2)),m=Object(s["computed"])(()=>{const{spinnerDate:e}=n,t=e.hour(),r=e.minute(),a=e.second();return{hours:t,minutes:r,seconds:a}}),v=Object(s["computed"])(()=>{const{hours:e,minutes:t}=Object(s["unref"])(m);return{hours:a(n.role),minutes:o(e,n.role),seconds:i(e,t,n.role)}}),y=Object(s["computed"])(()=>{const{hours:e,minutes:t,seconds:n}=Object(s["unref"])(m);return{hours:ca(e,23),minutes:ca(t,59),seconds:ca(n,59)}}),O=Object(q["debounce"])(e=>{l=!1,j(e)},200),w=e=>{const t=!!n.amPmMode;if(!t)return"";const r="A"===n.amPmMode;let a=e<12?" am":" pm";return r&&(a=a.toUpperCase()),a},_=e=>{let n;switch(e){case"hours":n=[0,2];break;case"minutes":n=[3,5];break;case"seconds":n=[6,8];break}const[r,a]=n;t("select-range",r,a),c.value=e},j=e=>{S(e,Object(s["unref"])(m)[e])},k=()=>{j("hours"),j("minutes"),j("seconds")},x=e=>e.querySelector(`.${r.namespace.value}-scrollbar__wrap`),S=(e,t)=>{if(n.arrowControl)return;const r=Object(s["unref"])(h[e]);r&&r.$el&&(x(r.$el).scrollTop=Math.max(0,t*C(e)))},C=e=>{const t=Object(s["unref"])(h[e]),n=null==t?void 0:t.$el.querySelector("li");return n&&Number.parseFloat(Object(g["c"])(n,"height"))||0},M=()=>{T(1)},A=()=>{T(-1)},T=e=>{c.value||_("hours");const t=c.value,n=Object(s["unref"])(m)[t],r="hours"===c.value?24:60,a=E(t,n,e,r);L(t,a),S(t,a),Object(s["nextTick"])(()=>_(t))},E=(e,t,n,r)=>{let a=(t+n+r)%r;const o=Object(s["unref"])(v)[e];while(o[a]&&a!==t)a=(a+n+r)%r;return a},L=(e,r)=>{const a=Object(s["unref"])(v)[e],o=a[r];if(o)return;const{hours:i,minutes:l,seconds:c}=Object(s["unref"])(m);let u;switch(e){case"hours":u=n.spinnerDate.hour(r).minute(l).second(c);break;case"minutes":u=n.spinnerDate.hour(i).minute(r).second(c);break;case"seconds":u=n.spinnerDate.hour(i).minute(l).second(r);break}t("change",u)},P=(e,{value:t,disabled:n})=>{n||(L(e,t),_(e),S(e,t))},D=e=>{l=!0,O(e);const t=Math.min(Math.round((x(Object(s["unref"])(h[e]).$el).scrollTop-(.5*N(e)-10)/C(e)+3)/C(e)),"hours"===e?23:59);L(e,t)},N=e=>Object(s["unref"])(h[e]).$el.offsetHeight,R=()=>{const e=e=>{const t=Object(s["unref"])(h[e]);t&&t.$el&&(x(t.$el).onscroll=()=>{D(e)})};e("hours"),e("minutes"),e("seconds")};Object(s["onMounted"])(()=>{Object(s["nextTick"])(()=>{!n.arrowControl&&R(),k(),"start"===n.role&&_("hours")})});const B=(e,t)=>{h[t].value=e};return t("set-option",[n.role+"_scrollDown",T]),t("set-option",[n.role+"_emitSelectRange",_]),Object(s["watch"])(()=>n.spinnerDate,()=>{l||k()}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(r).b("spinner"),{"has-seconds":e.showSeconds}])},[e.arrowControl?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],{key:0},Object(s["renderList"])(Object(s["unref"])(p),t=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(Ke),{key:t,ref_for:!0,ref:e=>B(e,t),class:Object(s["normalizeClass"])(Object(s["unref"])(r).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":Object(s["unref"])(r).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:e=>_(t),onMousemove:e=>j(t)},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(Object(s["unref"])(v)[t],(n,a)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("li",{key:a,class:Object(s["normalizeClass"])([Object(s["unref"])(r).be("spinner","item"),Object(s["unref"])(r).is("active",a===Object(s["unref"])(m)[t]),Object(s["unref"])(r).is("disabled",n)]),onClick:e=>P(t,{value:a,disabled:n})},["hours"===t?(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:0},[Object(s["createTextVNode"])(Object(s["toDisplayString"])(("0"+(e.amPmMode?a%12||12:a)).slice(-2))+Object(s["toDisplayString"])(w(a)),1)],64)):(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:1},[Object(s["createTextVNode"])(Object(s["toDisplayString"])(("0"+a).slice(-2)),1)],64))],10,Uu))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),e.arrowControl?(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],{key:1},Object(s["renderList"])(Object(s["unref"])(p),t=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:t,class:Object(s["normalizeClass"])([Object(s["unref"])(r).be("spinner","wrapper"),Object(s["unref"])(r).is("arrow")]),onMouseenter:e=>_(t)},[Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{class:Object(s["normalizeClass"])(["arrow-up",Object(s["unref"])(r).be("spinner","arrow")])},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["ArrowUp"]))]),_:1},8,["class"])),[[Object(s["unref"])(Yu),A]]),Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{class:Object(s["normalizeClass"])(["arrow-down",Object(s["unref"])(r).be("spinner","arrow")])},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["ArrowDown"]))]),_:1},8,["class"])),[[Object(s["unref"])(Yu),M]]),Object(s["createElementVNode"])("ul",{class:Object(s["normalizeClass"])(Object(s["unref"])(r).be("spinner","list"))},[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(Object(s["unref"])(y)[t],(n,a)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("li",{key:a,class:Object(s["normalizeClass"])([Object(s["unref"])(r).be("spinner","item"),Object(s["unref"])(r).is("active",n===Object(s["unref"])(m)[t]),Object(s["unref"])(r).is("disabled",Object(s["unref"])(v)[t][n])])},["number"===typeof n?(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:0},["hours"===t?(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:0},[Object(s["createTextVNode"])(Object(s["toDisplayString"])(("0"+(e.amPmMode?n%12||12:n)).slice(-2))+Object(s["toDisplayString"])(w(n)),1)],64)):(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:1},[Object(s["createTextVNode"])(Object(s["toDisplayString"])(("0"+n).slice(-2)),1)],64))],64)):Object(s["createCommentVNode"])("v-if",!0)],2))),128))],2)],42,Wu))),128)):Object(s["createCommentVNode"])("v-if",!0)],2))}});var qu=Object(v["a"])($u,[["__file","basic-time-spinner.vue"]]);const Gu=Object(s["defineComponent"])({__name:"panel-time-pick",props:Tu,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,r=Object(s["inject"])("EP_PICKER_BASE"),{arrowControl:a,disabledHours:o,disabledMinutes:i,disabledSeconds:l,defaultValue:c}=r.props,{getAvailableHours:d,getAvailableMinutes:f,getAvailableSeconds:h}=Du(o,i,l),p=Object(b["d"])("time"),{t:m,lang:v}=Object(Lr["b"])(),g=Object(s["ref"])([0,2]),y=Nu(n),O=Object(s["computed"])(()=>Object(u["g"])(n.actualVisible)?p.namespace.value+"-zoom-in-top":""),w=Object(s["computed"])(()=>n.format.includes("ss")),_=Object(s["computed"])(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),j=e=>{const t=la()(e).locale(v.value),n=P(t);return t.isSame(n)},k=()=>{t("pick",y.value,!1)},x=(e=!1,r=!1)=>{r||t("pick",n.parsedValue,e)},S=e=>{if(!n.visible)return;const r=P(e).millisecond(0);t("pick",r,!0)},C=(e,n)=>{t("select-range",e,n),g.value=[e,n]},M=e=>{const t=[0,3].concat(w.value?[6]:[]),n=["hours","minutes"].concat(w.value?["seconds"]:[]),r=t.indexOf(g.value[0]),a=(r+e+t.length)%t.length;T["start_emitSelectRange"](n[a])},A=e=>{const t=e.code,{left:n,right:r,up:a,down:o}=vt["a"];if([n,r].includes(t)){const r=t===n?-1:1;return M(r),void e.preventDefault()}if([a,o].includes(t)){const n=t===a?-1:1;return T["start_scrollDown"](n),void e.preventDefault()}},{timePickerOptions:T,onSetOption:E,getAvailableTime:L}=Eu({getAvailableHours:d,getAvailableMinutes:f,getAvailableSeconds:h}),P=e=>L(e,n.datetimeRole||"",!0),D=e=>e?la()(e,n.format).locale(v.value):null,N=e=>e?e.format(n.format):null,R=()=>la()(c).locale(v.value);return t("set-picker-option",["isValidValue",j]),t("set-picker-option",["formatToString",N]),t("set-picker-option",["parseUserInput",D]),t("set-picker-option",["handleKeydownInput",A]),t("set-picker-option",["getRangeAvailableTime",P]),t("set-picker-option",["getDefaultValue",R]),(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(s["Transition"],{name:Object(s["unref"])(O)},{default:Object(s["withCtx"])(()=>[e.actualVisible||e.visible?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(p).b("panel"))},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(p).be("panel","content"),{"has-seconds":Object(s["unref"])(w)}])},[Object(s["createVNode"])(qu,{ref:"spinner",role:e.datetimeRole||"start","arrow-control":Object(s["unref"])(a),"show-seconds":Object(s["unref"])(w),"am-pm-mode":Object(s["unref"])(_),"spinner-date":e.parsedValue,"disabled-hours":Object(s["unref"])(o),"disabled-minutes":Object(s["unref"])(i),"disabled-seconds":Object(s["unref"])(l),onChange:S,onSetOption:Object(s["unref"])(E),onSelectRange:C},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(p).be("panel","footer"))},[Object(s["createElementVNode"])("button",{type:"button",class:Object(s["normalizeClass"])([Object(s["unref"])(p).be("panel","btn"),"cancel"]),onClick:k},Object(s["toDisplayString"])(Object(s["unref"])(m)("el.datepicker.cancel")),3),Object(s["createElementVNode"])("button",{type:"button",class:Object(s["normalizeClass"])([Object(s["unref"])(p).be("panel","btn"),"confirm"]),onClick:t[0]||(t[0]=e=>x())},Object(s["toDisplayString"])(Object(s["unref"])(m)("el.datepicker.confirm")),3)],2)],2)):Object(s["createCommentVNode"])("v-if",!0)]),_:1},8,["name"]))}});var Xu=Object(v["a"])(Gu,[["__file","panel-time-pick.vue"]]);const Ku=["onClick"],Ju=["aria-label"],Zu=["aria-label"],Qu=["aria-label"],ed=["aria-label"],td=Object(s["defineComponent"])({__name:"panel-date-pick",props:Jc,emits:["pick","set-picker-option","panel-change"],setup(e,{emit:t}){const n=e,r=(e,t,n)=>!0,a=Object(b["d"])("picker-panel"),o=Object(b["d"])("date-picker"),i=Object(s["useAttrs"])(),l=Object(s["useSlots"])(),{t:c,lang:u}=Object(Lr["b"])(),d=Object(s["inject"])("EP_PICKER_BASE"),f=Object(s["inject"])(ot),{shortcuts:h,disabledDate:p,cellClassName:m,defaultTime:v}=d.props,g=Object(s["toRef"])(d.props,"defaultValue"),y=Object(s["ref"])(),O=Object(s["ref"])(la()().locale(u.value)),w=Object(s["ref"])(!1);let _=!1;const j=Object(s["computed"])(()=>la()(v).locale(u.value)),k=Object(s["computed"])(()=>O.value.month()),x=Object(s["computed"])(()=>O.value.year()),S=Object(s["ref"])([]),C=Object(s["ref"])(null),M=Object(s["ref"])(null),A=e=>!(S.value.length>0)||r(e,S.value,n.format||"HH:mm:ss"),T=e=>!v||ee.value||w.value||_?W.value?e.millisecond(0):e.startOf("day"):j.value.year(e.year()).month(e.month()).date(e.date()),E=(e,...n)=>{if(e)if(Object(te["isArray"])(e)){const r=e.map(T);t("pick",r,...n)}else t("pick",T(e),...n);else t("pick",e,...n);C.value=null,M.value=null,w.value=!1,_=!1},L=async(e,t)=>{if("date"===F.value){e=e;let r=n.parsedValue?n.parsedValue.year(e.year()).month(e.month()).date(e.date()):e;A(r)||(r=S.value[0][0].year(e.year()).month(e.month()).date(e.date())),O.value=r,E(r,W.value||t),"datetime"===n.type&&(await Object(s["nextTick"])(),pe())}else"week"===F.value?E(e.date):"dates"===F.value&&E(e,!0)},P=e=>{const t=e?"add":"subtract";O.value=O.value[t](1,"month"),be("month")},D=e=>{const t=O.value,n=e?"add":"subtract";O.value="year"===N.value?t[n](10,"year"):t[n](1,"year"),be("year")},N=Object(s["ref"])("date"),R=Object(s["computed"])(()=>{const e=c("el.datepicker.year");if("year"===N.value){const t=10*Math.floor(x.value/10);return e?`${t} ${e} - ${t+9} ${e}`:`${t} - ${t+9}`}return`${x.value} ${e}`}),B=e=>{const n=Object(te["isFunction"])(e.value)?e.value():e.value;if(n)return _=!0,void E(la()(n).locale(u.value));e.onClick&&e.onClick({attrs:i,slots:l,emit:t})},F=Object(s["computed"])(()=>{const{type:e}=n;return["week","month","year","years","dates"].includes(e)?e:"date"}),V=Object(s["computed"])(()=>"date"===F.value?N.value:F.value),z=Object(s["computed"])(()=>!!h.length),H=async e=>{O.value=O.value.startOf("month").month(e),"month"===F.value?E(O.value,!1):(N.value="date",["month","year","date","week"].includes(F.value)&&(E(O.value,!0),await Object(s["nextTick"])(),pe())),be("month")},Y=async(e,t)=>{"year"===F.value?(O.value=O.value.startOf("year").year(e),E(O.value,!1)):"years"===F.value?E(e,null==t||t):(O.value=O.value.year(e),N.value="month",["month","year","date","week"].includes(F.value)&&(E(O.value,!0),await Object(s["nextTick"])(),pe())),be("year")},U=async e=>{N.value=e,await Object(s["nextTick"])(),pe()},W=Object(s["computed"])(()=>"datetime"===n.type||"datetimerange"===n.type),$=Object(s["computed"])(()=>{const e=W.value||"dates"===F.value,t="years"===F.value,n="date"===N.value,r="year"===N.value;return e&&n||t&&r}),q=Object(s["computed"])(()=>!!p&&(!n.parsedValue||(Object(te["isArray"])(n.parsedValue)?p(n.parsedValue[0].toDate()):p(n.parsedValue.toDate())))),X=()=>{if("dates"===F.value||"years"===F.value)E(n.parsedValue);else{let e=n.parsedValue;if(!e){const t=la()(v).locale(u.value),n=he();e=t.year(n.year()).month(n.month()).date(n.date())}O.value=e,E(e)}},K=Object(s["computed"])(()=>!!p&&p(la()().locale(u.value).toDate())),J=()=>{const e=la()().locale(u.value),t=e.toDate();w.value=!0,p&&p(t)||!A(t)||(O.value=la()().locale(u.value),E(O.value))},Z=Object(s["computed"])(()=>n.timeFormat||fa(n.format)),Q=Object(s["computed"])(()=>n.dateFormat||da(n.format)),ee=Object(s["computed"])(()=>M.value?M.value:n.parsedValue||g.value?(n.parsedValue||O.value).format(Z.value):void 0),ne=Object(s["computed"])(()=>C.value?C.value:n.parsedValue||g.value?(n.parsedValue||O.value).format(Q.value):void 0),re=Object(s["ref"])(!1),ae=()=>{re.value=!0},oe=()=>{re.value=!1},ie=e=>({hour:e.hour(),minute:e.minute(),second:e.second(),year:e.year(),month:e.month(),date:e.date()}),se=(e,t,r)=>{const{hour:a,minute:o,second:i}=ie(e),s=n.parsedValue?n.parsedValue.hour(a).minute(o).second(i):e;O.value=s,E(O.value,!0),r||(re.value=t)},le=e=>{const t=la()(e,Z.value).locale(u.value);if(t.isValid()&&A(t)){const{year:e,month:n,date:r}=ie(O.value);O.value=t.year(e).month(n).date(r),M.value=null,re.value=!1,E(O.value,!0)}},ce=e=>{const t=la()(e,Q.value).locale(u.value);if(t.isValid()){if(p&&p(t.toDate()))return;const{hour:e,minute:n,second:r}=ie(O.value);O.value=t.hour(e).minute(n).second(r),C.value=null,E(O.value,!0)}},ue=e=>la.a.isDayjs(e)&&e.isValid()&&(!p||!p(e.toDate())),de=e=>Object(te["isArray"])(e)?e.map(e=>e.format(n.format)):e.format(n.format),fe=e=>la()(e,n.format).locale(u.value),he=()=>{const e=la()(g.value).locale(u.value);if(!g.value){const e=j.value;return la()().hour(e.hour()).minute(e.minute()).second(e.second()).locale(u.value)}return e},pe=async()=>{var e;["week","month","year","date"].includes(F.value)&&(null==(e=y.value)||e.focus(),"week"===F.value&&ve(vt["a"].down))},me=e=>{const{code:t}=e,n=[vt["a"].up,vt["a"].down,vt["a"].left,vt["a"].right,vt["a"].home,vt["a"].end,vt["a"].pageUp,vt["a"].pageDown];n.includes(t)&&(ve(t),e.stopPropagation(),e.preventDefault()),[vt["a"].enter,vt["a"].space,vt["a"].numpadEnter].includes(t)&&null===C.value&&null===M.value&&(e.preventDefault(),E(O.value,!1))},ve=e=>{var n;const{up:r,down:a,left:o,right:i,home:s,end:l,pageUp:c,pageDown:d}=vt["a"],f={year:{[r]:-4,[a]:4,[o]:-1,[i]:1,offset:(e,t)=>e.setFullYear(e.getFullYear()+t)},month:{[r]:-4,[a]:4,[o]:-1,[i]:1,offset:(e,t)=>e.setMonth(e.getMonth()+t)},week:{[r]:-1,[a]:1,[o]:-1,[i]:1,offset:(e,t)=>e.setDate(e.getDate()+7*t)},date:{[r]:-7,[a]:7,[o]:-1,[i]:1,[s]:e=>-e.getDay(),[l]:e=>6-e.getDay(),[c]:e=>-new Date(e.getFullYear(),e.getMonth(),0).getDate(),[d]:e=>new Date(e.getFullYear(),e.getMonth()+1,0).getDate(),offset:(e,t)=>e.setDate(e.getDate()+t)}},h=O.value.toDate();while(Math.abs(O.value.diff(h,"year",!0))<1){const r=f[V.value];if(!r)return;if(r.offset(h,Object(te["isFunction"])(r[e])?r[e](h):null!=(n=r[e])?n:0),p&&p(h))break;const a=la()(h).locale(u.value);O.value=a,t("pick",a,!0);break}},be=e=>{t("panel-change",O.value.toDate(),e,N.value)};return Object(s["watch"])(()=>F.value,e=>{["month","year"].includes(e)?N.value=e:N.value="years"!==e?"date":"year"},{immediate:!0}),Object(s["watch"])(()=>N.value,()=>{null==f||f.updatePopper()}),Object(s["watch"])(()=>g.value,e=>{e&&(O.value=he())},{immediate:!0}),Object(s["watch"])(()=>n.parsedValue,e=>{if(e){if("dates"===F.value||"years"===F.value)return;if(Array.isArray(e))return;O.value=e}else O.value=he()},{immediate:!0}),t("set-picker-option",["isValidValue",ue]),t("set-picker-option",["formatToString",de]),t("set-picker-option",["parseUserInput",fe]),t("set-picker-option",["handleFocusPicker",pe]),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(a).b(),Object(s["unref"])(o).b(),{"has-sidebar":e.$slots.sidebar||Object(s["unref"])(z),"has-time":Object(s["unref"])(W)}])},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("body-wrapper"))},[Object(s["renderSlot"])(e.$slots,"sidebar",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("sidebar"))}),Object(s["unref"])(z)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("sidebar"))},[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(Object(s["unref"])(h),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("button",{key:t,type:"button",class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("shortcut")),onClick:t=>B(e)},Object(s["toDisplayString"])(e.text),11,Ku))),128))],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("body"))},[Object(s["unref"])(W)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(o).e("time-header"))},[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(o).e("editor-wrap"))},[Object(s["createVNode"])(Object(s["unref"])(Le),{placeholder:Object(s["unref"])(c)("el.datepicker.selectDate"),"model-value":Object(s["unref"])(ne),size:"small","validate-event":!1,onInput:t[0]||(t[0]=e=>C.value=e),onChange:ce},null,8,["placeholder","model-value"])],2),Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(o).e("editor-wrap"))},[Object(s["createVNode"])(Object(s["unref"])(Le),{placeholder:Object(s["unref"])(c)("el.datepicker.selectTime"),"model-value":Object(s["unref"])(ee),size:"small","validate-event":!1,onFocus:ae,onInput:t[1]||(t[1]=e=>M.value=e),onChange:le},null,8,["placeholder","model-value"]),Object(s["createVNode"])(Object(s["unref"])(Xu),{visible:re.value,format:Object(s["unref"])(Z),"parsed-value":O.value,onPick:se},null,8,["visible","format","parsed-value"])],2)),[[Object(s["unref"])(ws),oe]])],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["withDirectives"])(Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(o).e("header"),("year"===N.value||"month"===N.value)&&Object(s["unref"])(o).e("header--bordered")])},[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(o).e("prev-btn"))},[Object(s["createElementVNode"])("button",{type:"button","aria-label":Object(s["unref"])(c)("el.datepicker.prevYear"),class:Object(s["normalizeClass"])(["d-arrow-left",Object(s["unref"])(a).e("icon-btn")]),onClick:t[2]||(t[2]=e=>D(!1))},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["DArrowLeft"]))]),_:1})],10,Ju),Object(s["withDirectives"])(Object(s["createElementVNode"])("button",{type:"button","aria-label":Object(s["unref"])(c)("el.datepicker.prevMonth"),class:Object(s["normalizeClass"])([Object(s["unref"])(a).e("icon-btn"),"arrow-left"]),onClick:t[3]||(t[3]=e=>P(!1))},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["ArrowLeft"]))]),_:1})],10,Zu),[[s["vShow"],"date"===N.value]])],2),Object(s["createElementVNode"])("span",{role:"button",class:Object(s["normalizeClass"])(Object(s["unref"])(o).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:t[4]||(t[4]=Object(s["withKeys"])(e=>U("year"),["enter"])),onClick:t[5]||(t[5]=e=>U("year"))},Object(s["toDisplayString"])(Object(s["unref"])(R)),35),Object(s["withDirectives"])(Object(s["createElementVNode"])("span",{role:"button","aria-live":"polite",tabindex:"0",class:Object(s["normalizeClass"])([Object(s["unref"])(o).e("header-label"),{active:"month"===N.value}]),onKeydown:t[6]||(t[6]=Object(s["withKeys"])(e=>U("month"),["enter"])),onClick:t[7]||(t[7]=e=>U("month"))},Object(s["toDisplayString"])(Object(s["unref"])(c)("el.datepicker.month"+(Object(s["unref"])(k)+1))),35),[[s["vShow"],"date"===N.value]]),Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(o).e("next-btn"))},[Object(s["withDirectives"])(Object(s["createElementVNode"])("button",{type:"button","aria-label":Object(s["unref"])(c)("el.datepicker.nextMonth"),class:Object(s["normalizeClass"])([Object(s["unref"])(a).e("icon-btn"),"arrow-right"]),onClick:t[8]||(t[8]=e=>P(!0))},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["ArrowRight"]))]),_:1})],10,Qu),[[s["vShow"],"date"===N.value]]),Object(s["createElementVNode"])("button",{type:"button","aria-label":Object(s["unref"])(c)("el.datepicker.nextYear"),class:Object(s["normalizeClass"])([Object(s["unref"])(a).e("icon-btn"),"d-arrow-right"]),onClick:t[9]||(t[9]=e=>D(!0))},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["DArrowRight"]))]),_:1})],10,ed)],2)],2),[[s["vShow"],"time"!==N.value]]),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("content")),onKeydown:me},["date"===N.value?(Object(s["openBlock"])(),Object(s["createBlock"])(hu,{key:0,ref_key:"currentViewRef",ref:y,"selection-mode":Object(s["unref"])(F),date:O.value,"parsed-value":e.parsedValue,"disabled-date":Object(s["unref"])(p),"cell-class-name":Object(s["unref"])(m),onPick:L},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):Object(s["createCommentVNode"])("v-if",!0),"year"===N.value?(Object(s["openBlock"])(),Object(s["createBlock"])(Au,{key:1,ref_key:"currentViewRef",ref:y,"selection-mode":Object(s["unref"])(F),date:O.value,"disabled-date":Object(s["unref"])(p),"parsed-value":e.parsedValue,onPick:Y},null,8,["selection-mode","date","disabled-date","parsed-value"])):Object(s["createCommentVNode"])("v-if",!0),"month"===N.value?(Object(s["openBlock"])(),Object(s["createBlock"])(yu,{key:2,ref_key:"currentViewRef",ref:y,date:O.value,"parsed-value":e.parsedValue,"disabled-date":Object(s["unref"])(p),onPick:H},null,8,["date","parsed-value","disabled-date"])):Object(s["createCommentVNode"])("v-if",!0)],34)],2)],2),Object(s["withDirectives"])(Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("footer"))},[Object(s["withDirectives"])(Object(s["createVNode"])(Object(s["unref"])(oa),{text:"",size:"small",class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("link-btn")),disabled:Object(s["unref"])(K),onClick:J},{default:Object(s["withCtx"])(()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(Object(s["unref"])(c)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[s["vShow"],"dates"!==Object(s["unref"])(F)&&"years"!==Object(s["unref"])(F)]]),Object(s["createVNode"])(Object(s["unref"])(oa),{plain:"",size:"small",class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("link-btn")),disabled:Object(s["unref"])(q),onClick:X},{default:Object(s["withCtx"])(()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(Object(s["unref"])(c)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2),[[s["vShow"],Object(s["unref"])($)]])],2))}});var nd=Object(v["a"])(td,[["__file","panel-date-pick.vue"]]);const rd=Object(c["b"])({...Gc,...Xc}),ad=e=>{const{emit:t}=Object(s["getCurrentInstance"])(),n=Object(s["useAttrs"])(),r=Object(s["useSlots"])(),a=a=>{const o=Object(te["isFunction"])(a.value)?a.value():a.value;o?t("pick",[la()(o[0]).locale(e.value),la()(o[1]).locale(e.value)]):a.onClick&&a.onClick({attrs:n,slots:r,emit:t})};return a},od=(e,{defaultValue:t,leftDate:n,rightDate:r,unit:a,onParsedValueChanged:o})=>{const{emit:i}=Object(s["getCurrentInstance"])(),{pickerNs:l}=Object(s["inject"])(zc),c=Object(b["d"])("date-range-picker"),{t:u,lang:d}=Object(Lr["b"])(),f=ad(d),h=Object(s["ref"])(),p=Object(s["ref"])(),m=Object(s["ref"])({endDate:null,selecting:!1}),v=e=>{m.value=e},g=(e=!1)=>{const t=Object(s["unref"])(h),n=Object(s["unref"])(p);eu([t,n])&&i("pick",[t,n],e)},y=e=>{m.value.selecting=e,e||(m.value.endDate=null)},O=()=>{const[o,i]=tu(Object(s["unref"])(t),{lang:Object(s["unref"])(d),unit:a,unlinkPanels:e.unlinkPanels});h.value=void 0,p.value=void 0,n.value=o,r.value=i};return Object(s["watch"])(t,e=>{e&&O()},{immediate:!0}),Object(s["watch"])(()=>e.parsedValue,e=>{if(Object(te["isArray"])(e)&&2===e.length){const[t,r]=e;h.value=t,n.value=t,p.value=r,o(Object(s["unref"])(h),Object(s["unref"])(p))}else O()},{immediate:!0}),{minDate:h,maxDate:p,rangeState:m,lang:d,ppNs:l,drpNs:c,handleChangeRange:v,handleRangeConfirm:g,handleShortcutClick:f,onSelect:y,t:u}},id=["onClick"],sd=["aria-label"],ld=["aria-label"],cd=["disabled","aria-label"],ud=["disabled","aria-label"],dd=["disabled","aria-label"],fd=["disabled","aria-label"],hd=["aria-label"],pd=["aria-label"],md="month",vd=Object(s["defineComponent"])({__name:"panel-date-range",props:rd,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(e,{emit:t}){const n=e,r=Object(s["inject"])("EP_PICKER_BASE"),{disabledDate:a,cellClassName:o,format:i,defaultTime:l,clearable:c}=r.props,u=Object(s["toRef"])(r.props,"shortcuts"),d=Object(s["toRef"])(r.props,"defaultValue"),{lang:f}=Object(Lr["b"])(),h=Object(s["ref"])(la()().locale(f.value)),p=Object(s["ref"])(la()().locale(f.value).add(1,md)),{minDate:m,maxDate:v,rangeState:b,ppNs:g,drpNs:y,handleChangeRange:O,handleRangeConfirm:w,handleShortcutClick:_,onSelect:j,t:k}=od(n,{defaultValue:d,leftDate:h,rightDate:p,unit:md,onParsedValueChanged:ge}),x=Object(s["ref"])({min:null,max:null}),S=Object(s["ref"])({min:null,max:null}),C=Object(s["computed"])(()=>`${h.value.year()} ${k("el.datepicker.year")} ${k("el.datepicker.month"+(h.value.month()+1))}`),M=Object(s["computed"])(()=>`${p.value.year()} ${k("el.datepicker.year")} ${k("el.datepicker.month"+(p.value.month()+1))}`),A=Object(s["computed"])(()=>h.value.year()),T=Object(s["computed"])(()=>h.value.month()),E=Object(s["computed"])(()=>p.value.year()),L=Object(s["computed"])(()=>p.value.month()),P=Object(s["computed"])(()=>!!u.value.length),D=Object(s["computed"])(()=>null!==x.value.min?x.value.min:m.value?m.value.format(V.value):""),N=Object(s["computed"])(()=>null!==x.value.max?x.value.max:v.value||m.value?(v.value||m.value).format(V.value):""),R=Object(s["computed"])(()=>null!==S.value.min?S.value.min:m.value?m.value.format(F.value):""),B=Object(s["computed"])(()=>null!==S.value.max?S.value.max:v.value||m.value?(v.value||m.value).format(F.value):""),F=Object(s["computed"])(()=>n.timeFormat||fa(i)),V=Object(s["computed"])(()=>n.dateFormat||da(i)),z=e=>eu(e)&&(!a||!a(e[0].toDate())&&!a(e[1].toDate())),H=()=>{h.value=h.value.subtract(1,"year"),n.unlinkPanels||(p.value=h.value.add(1,"month")),J("year")},Y=()=>{h.value=h.value.subtract(1,"month"),n.unlinkPanels||(p.value=h.value.add(1,"month")),J("month")},U=()=>{n.unlinkPanels?p.value=p.value.add(1,"year"):(h.value=h.value.add(1,"year"),p.value=h.value.add(1,"month")),J("year")},W=()=>{n.unlinkPanels?p.value=p.value.add(1,"month"):(h.value=h.value.add(1,"month"),p.value=h.value.add(1,"month")),J("month")},$=()=>{h.value=h.value.add(1,"year"),J("year")},q=()=>{h.value=h.value.add(1,"month"),J("month")},X=()=>{p.value=p.value.subtract(1,"year"),J("year")},K=()=>{p.value=p.value.subtract(1,"month"),J("month")},J=e=>{t("panel-change",[h.value.toDate(),p.value.toDate()],e)},Z=Object(s["computed"])(()=>{const e=(T.value+1)%12,t=T.value+1>=12?1:0;return n.unlinkPanels&&new Date(A.value+t,e)<new Date(E.value,L.value)}),Q=Object(s["computed"])(()=>n.unlinkPanels&&12*E.value+L.value-(12*A.value+T.value+1)>=12),ee=Object(s["computed"])(()=>!(m.value&&v.value&&!b.value.selecting&&eu([m.value,v.value]))),ne=Object(s["computed"])(()=>"datetime"===n.type||"datetimerange"===n.type),re=(e,t)=>{if(e){if(l){const n=la()(l[t]||l).locale(f.value);return n.year(e.year()).month(e.month()).date(e.date())}return e}},ae=(e,n=!0)=>{const r=e.minDate,a=e.maxDate,o=re(r,0),i=re(a,1);v.value===i&&m.value===o||(t("calendar-change",[r.toDate(),a&&a.toDate()]),v.value=i,m.value=o,n&&!ne.value&&w())},oe=Object(s["ref"])(!1),ie=Object(s["ref"])(!1),se=()=>{oe.value=!1},le=()=>{ie.value=!1},ce=(e,t)=>{x.value[t]=e;const r=la()(e,V.value).locale(f.value);if(r.isValid()){if(a&&a(r.toDate()))return;"min"===t?(h.value=r,m.value=(m.value||h.value).year(r.year()).month(r.month()).date(r.date()),n.unlinkPanels||v.value&&!v.value.isBefore(m.value)||(p.value=r.add(1,"month"),v.value=m.value.add(1,"month"))):(p.value=r,v.value=(v.value||p.value).year(r.year()).month(r.month()).date(r.date()),n.unlinkPanels||m.value&&!m.value.isAfter(v.value)||(h.value=r.subtract(1,"month"),m.value=v.value.subtract(1,"month")))}},ue=(e,t)=>{x.value[t]=null},de=(e,t)=>{S.value[t]=e;const n=la()(e,F.value).locale(f.value);n.isValid()&&("min"===t?(oe.value=!0,m.value=(m.value||h.value).hour(n.hour()).minute(n.minute()).second(n.second()),v.value&&!v.value.isBefore(m.value)||(v.value=m.value)):(ie.value=!0,v.value=(v.value||p.value).hour(n.hour()).minute(n.minute()).second(n.second()),p.value=v.value,v.value&&v.value.isBefore(m.value)&&(m.value=v.value)))},fe=(e,t)=>{S.value[t]=null,"min"===t?(h.value=m.value,oe.value=!1):(p.value=v.value,ie.value=!1)},he=(e,t,n)=>{S.value.min||(e&&(h.value=e,m.value=(m.value||h.value).hour(e.hour()).minute(e.minute()).second(e.second())),n||(oe.value=t),v.value&&!v.value.isBefore(m.value)||(v.value=m.value,p.value=e))},pe=(e,t,n)=>{S.value.max||(e&&(p.value=e,v.value=(v.value||p.value).hour(e.hour()).minute(e.minute()).second(e.second())),n||(ie.value=t),v.value&&v.value.isBefore(m.value)&&(m.value=v.value))},me=()=>{h.value=tu(Object(s["unref"])(d),{lang:Object(s["unref"])(f),unit:"month",unlinkPanels:n.unlinkPanels})[0],p.value=h.value.add(1,"month"),v.value=void 0,m.value=void 0,t("pick",null)},ve=e=>Object(te["isArray"])(e)?e.map(e=>e.format(i)):e.format(i),be=e=>Object(te["isArray"])(e)?e.map(e=>la()(e,i).locale(f.value)):la()(e,i).locale(f.value);function ge(e,t){if(n.unlinkPanels&&t){const n=(null==e?void 0:e.year())||0,r=(null==e?void 0:e.month())||0,a=t.year(),o=t.month();p.value=n===a&&r===o?t.add(1,md):t}else p.value=h.value.add(1,md),t&&(p.value=p.value.hour(t.hour()).minute(t.minute()).second(t.second()))}return t("set-picker-option",["isValidValue",z]),t("set-picker-option",["parseUserInput",be]),t("set-picker-option",["formatToString",ve]),t("set-picker-option",["handleClear",me]),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(g).b(),Object(s["unref"])(y).b(),{"has-sidebar":e.$slots.sidebar||Object(s["unref"])(P),"has-time":Object(s["unref"])(ne)}])},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(g).e("body-wrapper"))},[Object(s["renderSlot"])(e.$slots,"sidebar",{class:Object(s["normalizeClass"])(Object(s["unref"])(g).e("sidebar"))}),Object(s["unref"])(P)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(g).e("sidebar"))},[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(Object(s["unref"])(u),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("button",{key:t,type:"button",class:Object(s["normalizeClass"])(Object(s["unref"])(g).e("shortcut")),onClick:t=>Object(s["unref"])(_)(e)},Object(s["toDisplayString"])(e.text),11,id))),128))],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(g).e("body"))},[Object(s["unref"])(ne)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(y).e("time-header"))},[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(y).e("editors-wrap"))},[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(y).e("time-picker-wrap"))},[Object(s["createVNode"])(Object(s["unref"])(Le),{size:"small",disabled:Object(s["unref"])(b).selecting,placeholder:Object(s["unref"])(k)("el.datepicker.startDate"),class:Object(s["normalizeClass"])(Object(s["unref"])(y).e("editor")),"model-value":Object(s["unref"])(D),"validate-event":!1,onInput:t[0]||(t[0]=e=>ce(e,"min")),onChange:t[1]||(t[1]=e=>ue(e,"min"))},null,8,["disabled","placeholder","class","model-value"])],2),Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(y).e("time-picker-wrap"))},[Object(s["createVNode"])(Object(s["unref"])(Le),{size:"small",class:Object(s["normalizeClass"])(Object(s["unref"])(y).e("editor")),disabled:Object(s["unref"])(b).selecting,placeholder:Object(s["unref"])(k)("el.datepicker.startTime"),"model-value":Object(s["unref"])(R),"validate-event":!1,onFocus:t[2]||(t[2]=e=>oe.value=!0),onInput:t[3]||(t[3]=e=>de(e,"min")),onChange:t[4]||(t[4]=e=>fe(e,"min"))},null,8,["class","disabled","placeholder","model-value"]),Object(s["createVNode"])(Object(s["unref"])(Xu),{visible:oe.value,format:Object(s["unref"])(F),"datetime-role":"start","parsed-value":h.value,onPick:he},null,8,["visible","format","parsed-value"])],2)),[[Object(s["unref"])(ws),se]])],2),Object(s["createElementVNode"])("span",null,[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["ArrowRight"]))]),_:1})]),Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])([Object(s["unref"])(y).e("editors-wrap"),"is-right"])},[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(y).e("time-picker-wrap"))},[Object(s["createVNode"])(Object(s["unref"])(Le),{size:"small",class:Object(s["normalizeClass"])(Object(s["unref"])(y).e("editor")),disabled:Object(s["unref"])(b).selecting,placeholder:Object(s["unref"])(k)("el.datepicker.endDate"),"model-value":Object(s["unref"])(N),readonly:!Object(s["unref"])(m),"validate-event":!1,onInput:t[5]||(t[5]=e=>ce(e,"max")),onChange:t[6]||(t[6]=e=>ue(e,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(y).e("time-picker-wrap"))},[Object(s["createVNode"])(Object(s["unref"])(Le),{size:"small",class:Object(s["normalizeClass"])(Object(s["unref"])(y).e("editor")),disabled:Object(s["unref"])(b).selecting,placeholder:Object(s["unref"])(k)("el.datepicker.endTime"),"model-value":Object(s["unref"])(B),readonly:!Object(s["unref"])(m),"validate-event":!1,onFocus:t[7]||(t[7]=e=>Object(s["unref"])(m)&&(ie.value=!0)),onInput:t[8]||(t[8]=e=>de(e,"max")),onChange:t[9]||(t[9]=e=>fe(e,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),Object(s["createVNode"])(Object(s["unref"])(Xu),{"datetime-role":"end",visible:ie.value,format:Object(s["unref"])(F),"parsed-value":p.value,onPick:pe},null,8,["visible","format","parsed-value"])],2)),[[Object(s["unref"])(ws),le]])],2)],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])([[Object(s["unref"])(g).e("content"),Object(s["unref"])(y).e("content")],"is-left"])},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(y).e("header"))},[Object(s["createElementVNode"])("button",{type:"button",class:Object(s["normalizeClass"])([Object(s["unref"])(g).e("icon-btn"),"d-arrow-left"]),"aria-label":Object(s["unref"])(k)("el.datepicker.prevYear"),onClick:H},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["DArrowLeft"]))]),_:1})],10,sd),Object(s["createElementVNode"])("button",{type:"button",class:Object(s["normalizeClass"])([Object(s["unref"])(g).e("icon-btn"),"arrow-left"]),"aria-label":Object(s["unref"])(k)("el.datepicker.prevMonth"),onClick:Y},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["ArrowLeft"]))]),_:1})],10,ld),e.unlinkPanels?(Object(s["openBlock"])(),Object(s["createElementBlock"])("button",{key:0,type:"button",disabled:!Object(s["unref"])(Q),class:Object(s["normalizeClass"])([[Object(s["unref"])(g).e("icon-btn"),{"is-disabled":!Object(s["unref"])(Q)}],"d-arrow-right"]),"aria-label":Object(s["unref"])(k)("el.datepicker.nextYear"),onClick:$},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["DArrowRight"]))]),_:1})],10,cd)):Object(s["createCommentVNode"])("v-if",!0),e.unlinkPanels?(Object(s["openBlock"])(),Object(s["createElementBlock"])("button",{key:1,type:"button",disabled:!Object(s["unref"])(Z),class:Object(s["normalizeClass"])([[Object(s["unref"])(g).e("icon-btn"),{"is-disabled":!Object(s["unref"])(Z)}],"arrow-right"]),"aria-label":Object(s["unref"])(k)("el.datepicker.nextMonth"),onClick:q},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["ArrowRight"]))]),_:1})],10,ud)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",null,Object(s["toDisplayString"])(Object(s["unref"])(C)),1)],2),Object(s["createVNode"])(hu,{"selection-mode":"range",date:h.value,"min-date":Object(s["unref"])(m),"max-date":Object(s["unref"])(v),"range-state":Object(s["unref"])(b),"disabled-date":Object(s["unref"])(a),"cell-class-name":Object(s["unref"])(o),onChangerange:Object(s["unref"])(O),onPick:ae,onSelect:Object(s["unref"])(j)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])([[Object(s["unref"])(g).e("content"),Object(s["unref"])(y).e("content")],"is-right"])},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(y).e("header"))},[e.unlinkPanels?(Object(s["openBlock"])(),Object(s["createElementBlock"])("button",{key:0,type:"button",disabled:!Object(s["unref"])(Q),class:Object(s["normalizeClass"])([[Object(s["unref"])(g).e("icon-btn"),{"is-disabled":!Object(s["unref"])(Q)}],"d-arrow-left"]),"aria-label":Object(s["unref"])(k)("el.datepicker.prevYear"),onClick:X},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["DArrowLeft"]))]),_:1})],10,dd)):Object(s["createCommentVNode"])("v-if",!0),e.unlinkPanels?(Object(s["openBlock"])(),Object(s["createElementBlock"])("button",{key:1,type:"button",disabled:!Object(s["unref"])(Z),class:Object(s["normalizeClass"])([[Object(s["unref"])(g).e("icon-btn"),{"is-disabled":!Object(s["unref"])(Z)}],"arrow-left"]),"aria-label":Object(s["unref"])(k)("el.datepicker.prevMonth"),onClick:K},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["ArrowLeft"]))]),_:1})],10,fd)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("button",{type:"button","aria-label":Object(s["unref"])(k)("el.datepicker.nextYear"),class:Object(s["normalizeClass"])([Object(s["unref"])(g).e("icon-btn"),"d-arrow-right"]),onClick:U},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["DArrowRight"]))]),_:1})],10,hd),Object(s["createElementVNode"])("button",{type:"button",class:Object(s["normalizeClass"])([Object(s["unref"])(g).e("icon-btn"),"arrow-right"]),"aria-label":Object(s["unref"])(k)("el.datepicker.nextMonth"),onClick:W},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["ArrowRight"]))]),_:1})],10,pd),Object(s["createElementVNode"])("div",null,Object(s["toDisplayString"])(Object(s["unref"])(M)),1)],2),Object(s["createVNode"])(hu,{"selection-mode":"range",date:p.value,"min-date":Object(s["unref"])(m),"max-date":Object(s["unref"])(v),"range-state":Object(s["unref"])(b),"disabled-date":Object(s["unref"])(a),"cell-class-name":Object(s["unref"])(o),onChangerange:Object(s["unref"])(O),onPick:ae,onSelect:Object(s["unref"])(j)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),Object(s["unref"])(ne)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(g).e("footer"))},[Object(s["unref"])(c)?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(oa),{key:0,text:"",size:"small",class:Object(s["normalizeClass"])(Object(s["unref"])(g).e("link-btn")),onClick:me},{default:Object(s["withCtx"])(()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(Object(s["unref"])(k)("el.datepicker.clear")),1)]),_:1},8,["class"])):Object(s["createCommentVNode"])("v-if",!0),Object(s["createVNode"])(Object(s["unref"])(oa),{plain:"",size:"small",class:Object(s["normalizeClass"])(Object(s["unref"])(g).e("link-btn")),disabled:Object(s["unref"])(ee),onClick:t[10]||(t[10]=e=>Object(s["unref"])(w)(!1))},{default:Object(s["withCtx"])(()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(Object(s["unref"])(k)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2)):Object(s["createCommentVNode"])("v-if",!0)],2))}});var bd=Object(v["a"])(vd,[["__file","panel-date-range.vue"]]);const gd=Object(c["b"])({...Xc}),yd=["pick","set-picker-option","calendar-change"],Od=({unlinkPanels:e,leftDate:t,rightDate:n})=>{const{t:r}=Object(Lr["b"])(),a=()=>{t.value=t.value.subtract(1,"year"),e.value||(n.value=n.value.subtract(1,"year"))},o=()=>{e.value||(t.value=t.value.add(1,"year")),n.value=n.value.add(1,"year")},i=()=>{t.value=t.value.add(1,"year")},l=()=>{n.value=n.value.subtract(1,"year")},c=Object(s["computed"])(()=>`${t.value.year()} ${r("el.datepicker.year")}`),u=Object(s["computed"])(()=>`${n.value.year()} ${r("el.datepicker.year")}`),d=Object(s["computed"])(()=>t.value.year()),f=Object(s["computed"])(()=>n.value.year()===t.value.year()?t.value.year()+1:n.value.year());return{leftPrevYear:a,rightNextYear:o,leftNextYear:i,rightPrevYear:l,leftLabel:c,rightLabel:u,leftYear:d,rightYear:f}},wd=["onClick"],_d=["disabled"],jd=["disabled"],kd="year",xd=Object(s["defineComponent"])({name:"DatePickerMonthRange"}),Sd=Object(s["defineComponent"])({...xd,props:gd,emits:yd,setup(e,{emit:t}){const n=e,{lang:r}=Object(Lr["b"])(),a=Object(s["inject"])("EP_PICKER_BASE"),{shortcuts:o,disabledDate:i,format:l}=a.props,c=Object(s["toRef"])(a.props,"defaultValue"),u=Object(s["ref"])(la()().locale(r.value)),d=Object(s["ref"])(la()().locale(r.value).add(1,kd)),{minDate:f,maxDate:h,rangeState:p,ppNs:m,drpNs:v,handleChangeRange:b,handleRangeConfirm:g,handleShortcutClick:y,onSelect:O}=od(n,{defaultValue:c,leftDate:u,rightDate:d,unit:kd,onParsedValueChanged:P}),w=Object(s["computed"])(()=>!!o.length),{leftPrevYear:_,rightNextYear:j,leftNextYear:k,rightPrevYear:x,leftLabel:S,rightLabel:C,leftYear:M,rightYear:A}=Od({unlinkPanels:Object(s["toRef"])(n,"unlinkPanels"),leftDate:u,rightDate:d}),T=Object(s["computed"])(()=>n.unlinkPanels&&A.value>M.value+1),E=(e,n=!0)=>{const r=e.minDate,a=e.maxDate;h.value===a&&f.value===r||(t("calendar-change",[r.toDate(),a&&a.toDate()]),h.value=a,f.value=r,n&&g())},L=e=>e.map(e=>e.format(l));function P(e,t){if(n.unlinkPanels&&t){const n=(null==e?void 0:e.year())||0,r=t.year();d.value=n===r?t.add(1,kd):t}else d.value=u.value.add(1,kd)}return t("set-picker-option",["formatToString",L]),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(m).b(),Object(s["unref"])(v).b(),{"has-sidebar":Boolean(e.$slots.sidebar)||Object(s["unref"])(w)}])},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(m).e("body-wrapper"))},[Object(s["renderSlot"])(e.$slots,"sidebar",{class:Object(s["normalizeClass"])(Object(s["unref"])(m).e("sidebar"))}),Object(s["unref"])(w)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(m).e("sidebar"))},[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(Object(s["unref"])(o),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("button",{key:t,type:"button",class:Object(s["normalizeClass"])(Object(s["unref"])(m).e("shortcut")),onClick:t=>Object(s["unref"])(y)(e)},Object(s["toDisplayString"])(e.text),11,wd))),128))],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(m).e("body"))},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])([[Object(s["unref"])(m).e("content"),Object(s["unref"])(v).e("content")],"is-left"])},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(v).e("header"))},[Object(s["createElementVNode"])("button",{type:"button",class:Object(s["normalizeClass"])([Object(s["unref"])(m).e("icon-btn"),"d-arrow-left"]),onClick:t[0]||(t[0]=(...e)=>Object(s["unref"])(_)&&Object(s["unref"])(_)(...e))},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["DArrowLeft"]))]),_:1})],2),e.unlinkPanels?(Object(s["openBlock"])(),Object(s["createElementBlock"])("button",{key:0,type:"button",disabled:!Object(s["unref"])(T),class:Object(s["normalizeClass"])([[Object(s["unref"])(m).e("icon-btn"),{[Object(s["unref"])(m).is("disabled")]:!Object(s["unref"])(T)}],"d-arrow-right"]),onClick:t[1]||(t[1]=(...e)=>Object(s["unref"])(k)&&Object(s["unref"])(k)(...e))},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["DArrowRight"]))]),_:1})],10,_d)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",null,Object(s["toDisplayString"])(Object(s["unref"])(S)),1)],2),Object(s["createVNode"])(yu,{"selection-mode":"range",date:u.value,"min-date":Object(s["unref"])(f),"max-date":Object(s["unref"])(h),"range-state":Object(s["unref"])(p),"disabled-date":Object(s["unref"])(i),onChangerange:Object(s["unref"])(b),onPick:E,onSelect:Object(s["unref"])(O)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])([[Object(s["unref"])(m).e("content"),Object(s["unref"])(v).e("content")],"is-right"])},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(v).e("header"))},[e.unlinkPanels?(Object(s["openBlock"])(),Object(s["createElementBlock"])("button",{key:0,type:"button",disabled:!Object(s["unref"])(T),class:Object(s["normalizeClass"])([[Object(s["unref"])(m).e("icon-btn"),{"is-disabled":!Object(s["unref"])(T)}],"d-arrow-left"]),onClick:t[2]||(t[2]=(...e)=>Object(s["unref"])(x)&&Object(s["unref"])(x)(...e))},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["DArrowLeft"]))]),_:1})],10,jd)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("button",{type:"button",class:Object(s["normalizeClass"])([Object(s["unref"])(m).e("icon-btn"),"d-arrow-right"]),onClick:t[3]||(t[3]=(...e)=>Object(s["unref"])(j)&&Object(s["unref"])(j)(...e))},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["DArrowRight"]))]),_:1})],2),Object(s["createElementVNode"])("div",null,Object(s["toDisplayString"])(Object(s["unref"])(C)),1)],2),Object(s["createVNode"])(yu,{"selection-mode":"range",date:d.value,"min-date":Object(s["unref"])(f),"max-date":Object(s["unref"])(h),"range-state":Object(s["unref"])(p),"disabled-date":Object(s["unref"])(i),onChangerange:Object(s["unref"])(b),onPick:E,onSelect:Object(s["unref"])(O)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2)],2)],2)],2))}});var Cd=Object(v["a"])(Sd,[["__file","panel-month-range.vue"]]);const Md=function(e){switch(e){case"daterange":case"datetimerange":return bd;case"monthrange":return Cd;default:return nd}},Ad=["id","name","placeholder","value","disabled","readonly"],Td=["id","name","placeholder","value","disabled","readonly"],Ed=Object(s["defineComponent"])({name:"Picker"}),Ld=Object(s["defineComponent"])({...Ed,props:Uc,emits:["update:modelValue","change","focus","blur","calendar-change","panel-change","visible-change","keydown"],setup(e,{expose:t,emit:n}){const r=e,a=Object(s["useAttrs"])(),{lang:o}=Object(Lr["b"])(),i=Object(b["d"])("date"),c=Object(b["d"])("input"),u=Object(b["d"])("range"),{form:d,formItem:f}=be(),h=Object(s["inject"])("ElPopperOptions",{}),{valueOnClear:p}=Object(ms["a"])(r,null),m=Object(s["ref"])(),v=Object(s["ref"])(),g=Object(s["ref"])(!1),O=Object(s["ref"])(!1),w=Object(s["ref"])(null);let _=!1,j=!1;const k=Object(s["computed"])(()=>[i.b("editor"),i.bm("editor",r.type),c.e("wrapper"),i.is("disabled",U.value),i.is("active",g.value),u.b("editor"),ce?u.bm("editor",ce.value):"",a.class]),x=Object(s["computed"])(()=>[c.e("icon"),u.e("close-icon"),ee.value?"":u.e("close-icon--hidden")]);Object(s["watch"])(g,e=>{e?Object(s["nextTick"])(()=>{e&&(w.value=r.modelValue)}):(fe.value=null,Object(s["nextTick"])(()=>{S(r.modelValue)}))});const S=(e,t)=>{!t&&pa(e,w.value)||(n("change",e),r.validateEvent&&(null==f||f.validate("change").catch(e=>Object(y["a"])(e))))},C=e=>{if(!pa(r.modelValue,e)){let t;Object(te["isArray"])(e)?t=e.map(e=>va(e,r.valueFormat,o.value)):e&&(t=va(e,r.valueFormat,o.value)),n("update:modelValue",e?t:e,o.value)}},M=e=>{n("keydown",e)},A=Object(s["computed"])(()=>{if(v.value){const e=le.value?v.value:v.value.$el;return Array.from(e.querySelectorAll("input"))}return[]}),T=(e,t,n)=>{const r=A.value;r.length&&(n&&"min"!==n?"max"===n&&(r[1].setSelectionRange(e,t),r[1].focus()):(r[0].setSelectionRange(e,t),r[0].focus()))},E=()=>{V(!0,!0),Object(s["nextTick"])(()=>{j=!1})},L=(e="",t=!1)=>{let n;t||(j=!0),g.value=t,n=Object(te["isArray"])(e)?e.map(e=>e.toDate()):e?e.toDate():e,fe.value=null,C(n)},P=()=>{O.value=!0},D=()=>{n("visible-change",!0)},N=e=>{(null==e?void 0:e.key)===vt["a"].esc&&V(!0,!0)},R=()=>{O.value=!1,g.value=!1,j=!1,n("visible-change",!1)},B=()=>{g.value=!0},F=()=>{g.value=!1},V=(e=!0,t=!1)=>{j=t;const[n,r]=Object(s["unref"])(A);let a=n;!e&&le.value&&(a=r),a&&a.focus()},z=e=>{r.readonly||U.value||g.value||j||(g.value=!0,n("focus",e))};let H=void 0;const Y=e=>{const t=async()=>{setTimeout(()=>{var a;H===t&&((null==(a=m.value)?void 0:a.isFocusInsideContent())&&!_||0!==A.value.filter(e=>e.contains(document.activeElement)).length||(he(),g.value=!1,n("blur",e),r.validateEvent&&(null==f||f.validate("blur").catch(e=>Object(y["a"])(e)))),_=!1)},0)};H=t,t()},U=Object(s["computed"])(()=>r.disabled||(null==d?void 0:d.disabled)),W=Object(s["computed"])(()=>{let e;if(re.value?Se.value.getDefaultValue&&(e=Se.value.getDefaultValue()):e=Object(te["isArray"])(r.modelValue)?r.modelValue.map(e=>ma(e,r.valueFormat,o.value)):ma(r.modelValue,r.valueFormat,o.value),Se.value.getRangeAvailableTime){const t=Se.value.getRangeAvailableTime(e);Object(q["isEqual"])(t,e)||(e=t,C(Object(te["isArray"])(e)?e.map(e=>e.toDate()):e.toDate()))}return Object(te["isArray"])(e)&&e.some(e=>!e)&&(e=[]),e}),$=Object(s["computed"])(()=>{if(!Se.value.panelReady)return"";const e=me(W.value);return Object(te["isArray"])(fe.value)?[fe.value[0]||e&&e[0]||"",fe.value[1]||e&&e[1]||""]:null!==fe.value?fe.value:!K.value&&re.value||!g.value&&re.value?"":e?J.value||Z.value?e.join(", "):e:""}),X=Object(s["computed"])(()=>r.type.includes("time")),K=Object(s["computed"])(()=>r.type.startsWith("time")),J=Object(s["computed"])(()=>"dates"===r.type),Z=Object(s["computed"])(()=>"years"===r.type),Q=Object(s["computed"])(()=>r.prefixIcon||(X.value?G["Clock"]:G["Calendar"])),ee=Object(s["ref"])(!1),ne=e=>{r.readonly||U.value||ee.value&&(e.stopPropagation(),E(),C(p.value),S(p.value,!0),ee.value=!1,g.value=!1,Se.value.handleClear&&Se.value.handleClear())},re=Object(s["computed"])(()=>{const{modelValue:e}=r;return!e||Object(te["isArray"])(e)&&!e.filter(Boolean).length}),ae=async e=>{var t;r.readonly||U.value||("INPUT"!==(null==(t=e.target)?void 0:t.tagName)||A.value.includes(document.activeElement))&&(g.value=!0)},oe=()=>{r.readonly||U.value||!re.value&&r.clearable&&(ee.value=!0)},ie=()=>{ee.value=!1},se=e=>{var t;r.readonly||U.value||("INPUT"!==(null==(t=e.touches[0].target)?void 0:t.tagName)||A.value.includes(document.activeElement))&&(g.value=!0)},le=Object(s["computed"])(()=>r.type.includes("range")),ce=Oe(),ue=Object(s["computed"])(()=>{var e,t;return null==(t=null==(e=Object(s["unref"])(m))?void 0:e.popperRef)?void 0:t.contentRef}),de=Object(s["computed"])(()=>{var e;return Object(s["unref"])(le)?Object(s["unref"])(v):null==(e=Object(s["unref"])(v))?void 0:e.$el});Object(l["onClickOutside"])(de,e=>{const t=Object(s["unref"])(ue),n=Object(s["unref"])(de);t&&(e.target===t||e.composedPath().includes(t))||e.target===n||e.composedPath().includes(n)||(g.value=!1)});const fe=Object(s["ref"])(null),he=()=>{if(fe.value){const e=pe($.value);e&&ve(e)&&(C(Object(te["isArray"])(e)?e.map(e=>e.toDate()):e.toDate()),fe.value=null)}""===fe.value&&(C(p.value),S(p.value),fe.value=null)},pe=e=>e?Se.value.parseUserInput(e):null,me=e=>e?Se.value.formatToString(e):null,ve=e=>Se.value.isValidValue(e),ge=async e=>{if(r.readonly||U.value)return;const{code:t}=e;if(M(e),t!==vt["a"].esc)if(t===vt["a"].down&&(Se.value.handleFocusPicker&&(e.preventDefault(),e.stopPropagation()),!1===g.value&&(g.value=!0,await Object(s["nextTick"])()),Se.value.handleFocusPicker))Se.value.handleFocusPicker();else{if(t!==vt["a"].tab)return t===vt["a"].enter||t===vt["a"].numpadEnter?((null===fe.value||""===fe.value||ve(pe($.value)))&&(he(),g.value=!1),void e.stopPropagation()):void(fe.value?e.stopPropagation():Se.value.handleKeydownInput&&Se.value.handleKeydownInput(e));_=!0}else!0===g.value&&(g.value=!1,e.preventDefault(),e.stopPropagation())},ye=e=>{fe.value=e,g.value||(g.value=!0)},we=e=>{const t=e.target;fe.value?fe.value=[t.value,fe.value[1]]:fe.value=[t.value,null]},_e=e=>{const t=e.target;fe.value?fe.value=[fe.value[0],t.value]:fe.value=[null,t.value]},je=()=>{var e;const t=fe.value,n=pe(t&&t[0]),r=Object(s["unref"])(W);if(n&&n.isValid()){fe.value=[me(n),(null==(e=$.value)?void 0:e[1])||null];const t=[n,r&&(r[1]||null)];ve(t)&&(C(t),fe.value=null)}},ke=()=>{var e;const t=Object(s["unref"])(fe),n=pe(t&&t[1]),r=Object(s["unref"])(W);if(n&&n.isValid()){fe.value=[(null==(e=Object(s["unref"])($))?void 0:e[0])||null,me(n)];const t=[r&&r[0],n];ve(t)&&(C(t),fe.value=null)}},Se=Object(s["ref"])({}),Ce=e=>{Se.value[e[0]]=e[1],Se.value.panelReady=!0},Me=e=>{n("calendar-change",e)},Ae=(e,t,r)=>{n("panel-change",e,t,r)};return Object(s["provide"])("EP_PICKER_BASE",{props:r}),Object(xe["a"])({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-time-picker",ref:"https://element-plus.org/en-US/component/time-picker.html"},Object(s["computed"])(()=>!!r.label)),t({focus:V,handleFocusInput:z,handleBlurInput:Y,handleOpen:B,handleClose:F,onPick:L}),(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(nr),Object(s["mergeProps"])({ref_key:"refPopper",ref:m,visible:g.value,effect:"light",pure:"",trigger:"click"},e.$attrs,{role:"dialog",teleported:"",transition:Object(s["unref"])(i).namespace.value+"-zoom-in-top","popper-class":[Object(s["unref"])(i).namespace.value+"-picker__popper",e.popperClass],"popper-options":Object(s["unref"])(h),"fallback-placements":["bottom","top","right","left"],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:P,onShow:D,onHide:R}),{default:Object(s["withCtx"])(()=>[Object(s["unref"])(le)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,ref_key:"inputRef",ref:v,class:Object(s["normalizeClass"])(Object(s["unref"])(k)),style:Object(s["normalizeStyle"])(e.$attrs.style),onClick:z,onMouseenter:oe,onMouseleave:ie,onTouchstartPassive:se,onKeydown:ge},[Object(s["unref"])(Q)?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0,class:Object(s["normalizeClass"])([Object(s["unref"])(c).e("icon"),Object(s["unref"])(u).e("icon")]),onMousedown:Object(s["withModifiers"])(ae,["prevent"]),onTouchstartPassive:se},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(Object(s["unref"])(Q))))]),_:1},8,["class","onMousedown"])):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("input",{id:e.id&&e.id[0],autocomplete:"off",name:e.name&&e.name[0],placeholder:e.startPlaceholder,value:Object(s["unref"])($)&&Object(s["unref"])($)[0],disabled:Object(s["unref"])(U),readonly:!e.editable||e.readonly,class:Object(s["normalizeClass"])(Object(s["unref"])(u).b("input")),onMousedown:ae,onInput:we,onChange:je,onFocus:z,onBlur:Y},null,42,Ad),Object(s["renderSlot"])(e.$slots,"range-separator",{},()=>[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(u).b("separator"))},Object(s["toDisplayString"])(e.rangeSeparator),3)]),Object(s["createElementVNode"])("input",{id:e.id&&e.id[1],autocomplete:"off",name:e.name&&e.name[1],placeholder:e.endPlaceholder,value:Object(s["unref"])($)&&Object(s["unref"])($)[1],disabled:Object(s["unref"])(U),readonly:!e.editable||e.readonly,class:Object(s["normalizeClass"])(Object(s["unref"])(u).b("input")),onMousedown:ae,onFocus:z,onBlur:Y,onInput:_e,onChange:ke},null,42,Td),e.clearIcon?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:1,class:Object(s["normalizeClass"])(Object(s["unref"])(x)),onClick:ne},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.clearIcon)))]),_:1},8,["class"])):Object(s["createCommentVNode"])("v-if",!0)],38)):(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(Le),{key:0,id:e.id,ref_key:"inputRef",ref:v,"container-role":"combobox","model-value":Object(s["unref"])($),name:e.name,size:Object(s["unref"])(ce),disabled:Object(s["unref"])(U),placeholder:e.placeholder,class:Object(s["normalizeClass"])([Object(s["unref"])(i).b("editor"),Object(s["unref"])(i).bm("editor",e.type),e.$attrs.class]),style:Object(s["normalizeStyle"])(e.$attrs.style),readonly:!e.editable||e.readonly||Object(s["unref"])(J)||Object(s["unref"])(Z)||"week"===e.type,"aria-label":e.label||e.ariaLabel,tabindex:e.tabindex,"validate-event":!1,onInput:ye,onFocus:z,onBlur:Y,onKeydown:ge,onChange:he,onMousedown:ae,onMouseenter:oe,onMouseleave:ie,onTouchstartPassive:se,onClick:t[0]||(t[0]=Object(s["withModifiers"])(()=>{},["stop"]))},{prefix:Object(s["withCtx"])(()=>[Object(s["unref"])(Q)?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(c).e("icon")),onMousedown:Object(s["withModifiers"])(ae,["prevent"]),onTouchstartPassive:se},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(Object(s["unref"])(Q))))]),_:1},8,["class","onMousedown"])):Object(s["createCommentVNode"])("v-if",!0)]),suffix:Object(s["withCtx"])(()=>[ee.value&&e.clearIcon?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(c).e("icon")+" clear-icon"),onClick:Object(s["withModifiers"])(ne,["stop"])},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.clearIcon)))]),_:1},8,["class","onClick"])):Object(s["createCommentVNode"])("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onKeydown"]))]),content:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default",{visible:g.value,actualVisible:O.value,parsedValue:Object(s["unref"])(W),format:e.format,dateFormat:e.dateFormat,timeFormat:e.timeFormat,unlinkPanels:e.unlinkPanels,type:e.type,defaultValue:e.defaultValue,onPick:L,onSelectRange:T,onSetPickerOption:Ce,onCalendarChange:Me,onPanelChange:Ae,onKeydown:N,onMousedown:t[1]||(t[1]=Object(s["withModifiers"])(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-options"]))}});var Pd=Object(v["a"])(Ld,[["__file","picker.vue"]]);la.a.extend(ka.a),la.a.extend(Tc.a),la.a.extend(Mc.a),la.a.extend(Lc.a),la.a.extend(Dc.a),la.a.extend(Rc.a),la.a.extend(Bc.a),la.a.extend(Vc.a);var Dd=Object(s["defineComponent"])({name:"ElDatePicker",install:null,props:Wc,emits:["update:modelValue"],setup(e,{expose:t,emit:n,slots:r}){const a=Object(b["d"])("picker-panel");Object(s["provide"])("ElPopperOptions",Object(s["reactive"])(Object(s["toRef"])(e,"popperOptions"))),Object(s["provide"])(zc,{slots:r,pickerNs:a});const o=Object(s["ref"])(),i={focus:(e=!0)=>{var t;null==(t=o.value)||t.focus(e)},handleOpen:()=>{var e;null==(e=o.value)||e.handleOpen()},handleClose:()=>{var e;null==(e=o.value)||e.handleClose()}};t(i);const l=e=>{n("update:modelValue",e)};return()=>{var t;const n=null!=(t=e.format)?t:Fu[e.type]||Bu,a=Md(e.type);return Object(s["createVNode"])(Pd,Object(s["mergeProps"])(e,{format:n,type:e.type,ref:o,"onUpdate:modelValue":l}),{default:e=>Object(s["createVNode"])(a,e,null),"range-separator":r["range-separator"]})}}});const Nd=Dd;Nd.install=e=>{e.component(Nd.name,Nd)};const Rd=Nd,Id=Symbol("elDescriptions");var Bd=Object(s["defineComponent"])({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){const e=Object(s["inject"])(Id,{});return{descriptions:e}},render(){var e,t,n,r,a,o,i;const l=ro(this.cell),c=((null==(e=this.cell)?void 0:e.dirs)||[]).map(e=>{const{dir:t,arg:n,modifiers:r,value:a}=e;return[t,a,n,r]}),{border:u,direction:d}=this.descriptions,f="vertical"===d,h=(null==(r=null==(n=null==(t=this.cell)?void 0:t.children)?void 0:n.label)?void 0:r.call(n))||l.label,p=null==(i=null==(o=null==(a=this.cell)?void 0:a.children)?void 0:o.default)?void 0:i.call(o),m=l.span,v=l.align?"is-"+l.align:"",y=l.labelAlign?"is-"+l.labelAlign:v,O=l.className,w=l.labelClassName,_={width:Object(g["b"])(l.width),minWidth:Object(g["b"])(l.minWidth)},j=Object(b["d"])("descriptions");switch(this.type){case"label":return Object(s["withDirectives"])(Object(s["h"])(this.tag,{style:_,class:[j.e("cell"),j.e("label"),j.is("bordered-label",u),j.is("vertical-label",f),y,w],colSpan:f?m:1},h),c);case"content":return Object(s["withDirectives"])(Object(s["h"])(this.tag,{style:_,class:[j.e("cell"),j.e("content"),j.is("bordered-content",u),j.is("vertical-content",f),v,O],colSpan:f?m:2*m-1},p),c);default:return Object(s["withDirectives"])(Object(s["h"])("td",{style:_,class:[j.e("cell"),v],colSpan:m},[Object(q["isNil"])(h)?void 0:Object(s["h"])("span",{class:[j.e("label"),w]},h),Object(s["h"])("span",{class:[j.e("content"),O]},p)]),c)}}});const Fd=Object(c["b"])({row:{type:Object(c["c"])(Array),default:()=>[]}}),Vd={key:1},zd=Object(s["defineComponent"])({name:"ElDescriptionsRow"}),Hd=Object(s["defineComponent"])({...zd,props:Fd,setup(e){const t=Object(s["inject"])(Id,{});return(e,n)=>"vertical"===Object(s["unref"])(t).direction?(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:0},[Object(s["createElementVNode"])("tr",null,[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e.row,(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(Bd),{key:"tr1-"+t,cell:e,tag:"th",type:"label"},null,8,["cell"]))),128))]),Object(s["createElementVNode"])("tr",null,[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e.row,(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(Bd),{key:"tr2-"+t,cell:e,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(Object(s["openBlock"])(),Object(s["createElementBlock"])("tr",Vd,[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e.row,(e,n)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:"tr3-"+n},[Object(s["unref"])(t).border?(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:0},[Object(s["createVNode"])(Object(s["unref"])(Bd),{cell:e,tag:"td",type:"label"},null,8,["cell"]),Object(s["createVNode"])(Object(s["unref"])(Bd),{cell:e,tag:"td",type:"content"},null,8,["cell"])],64)):(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(Bd),{key:1,cell:e,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});var Yd=Object(v["a"])(Hd,[["__file","descriptions-row.vue"]]);const Ud=Object(c["b"])({border:{type:Boolean,default:!1},column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:ne["c"],title:{type:String,default:""},extra:{type:String,default:""}}),Wd=Object(s["defineComponent"])({name:"ElDescriptions"}),$d=Object(s["defineComponent"])({...Wd,props:Ud,setup(e){const t=e,n=Object(b["d"])("descriptions"),r=Oe(),a=Object(s["useSlots"])();Object(s["provide"])(Id,t);const o=Object(s["computed"])(()=>[n.b(),n.m(r.value)]),i=(e,t,n,r=!1)=>(e.props||(e.props={}),t>n&&(e.props.span=n),r&&(e.props.span=t),e),l=()=>{if(!a.default)return[];const e=oo(a.default()).filter(e=>{var t;return"ElDescriptionsItem"===(null==(t=null==e?void 0:e.type)?void 0:t.name)}),n=[];let r=[],o=t.column,s=0;return e.forEach((a,l)=>{var c;const u=(null==(c=a.props)?void 0:c.span)||1;if(l<e.length-1&&(s+=u>o?o:u),l===e.length-1){const e=t.column-s%t.column;return r.push(i(a,e,o,!0)),void n.push(r)}u<o?(o-=u,r.push(a)):(r.push(i(a,u,o)),n.push(r),o=t.column,r=[])}),n};return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(o))},[e.title||e.extra||e.$slots.title||e.$slots.extra?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("header"))},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("title"))},[Object(s["renderSlot"])(e.$slots,"title",{},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.title),1)])],2),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("extra"))},[Object(s["renderSlot"])(e.$slots,"extra",{},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.extra),1)])],2)],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("body"))},[Object(s["createElementVNode"])("table",{class:Object(s["normalizeClass"])([Object(s["unref"])(n).e("table"),Object(s["unref"])(n).is("bordered",e.border)])},[Object(s["createElementVNode"])("tbody",null,[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(l(),(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(Yd,{key:t,row:e},null,8,["row"]))),128))])],2)],2)],2))}});var qd=Object(v["a"])($d,[["__file","description.vue"]]);const Gd=Object(c["b"])({label:{type:String,default:""},span:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},align:{type:String,default:"left"},labelAlign:{type:String,default:""},className:{type:String,default:""},labelClassName:{type:String,default:""}}),Xd=Object(s["defineComponent"])({name:"ElDescriptionsItem",props:Gd}),Kd=Object(N["a"])(qd,{DescriptionsItem:Xd}),Jd=Object(N["d"])(Xd),Zd=e=>{if(!e)return{onClick:te["NOOP"],onMousedown:te["NOOP"],onMouseup:te["NOOP"]};let t=!1,n=!1;const r=r=>{t&&n&&e(r),t=n=!1},a=e=>{t=e.target===e.currentTarget},o=e=>{n=e.target===e.currentTarget};return{onClick:r,onMousedown:a,onMouseup:o}},Qd=Object(c["b"])({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:Object(c["c"])([String,Array,Object])},zIndex:{type:Object(c["c"])([String,Number])}}),ef={click:e=>e instanceof MouseEvent},tf="overlay";var nf=Object(s["defineComponent"])({name:"ElOverlay",props:Qd,emits:ef,setup(e,{slots:t,emit:n}){const r=Object(b["d"])(tf),a=e=>{n("click",e)},{onClick:o,onMousedown:i,onMouseup:l}=Zd(e.customMaskEvent?void 0:a);return()=>e.mask?Object(s["createVNode"])("div",{class:[r.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:o,onMousedown:i,onMouseup:l},[Object(s["renderSlot"])(t,"default")],Qa.STYLE|Qa.CLASS|Qa.PROPS,["onClick","onMouseup","onMousedown"]):Object(s["h"])("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[Object(s["renderSlot"])(t,"default")])}});const rf=nf,af=Symbol("dialogInjectionKey"),of=Object(c["b"])({center:Boolean,alignCenter:Boolean,closeIcon:{type:F["e"]},draggable:Boolean,overflow:Boolean,fullscreen:Boolean,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),sf={close:()=>!0},lf=(...e)=>t=>{e.forEach(e=>{Object(te["isFunction"])(e)?e(t):e.value=t})},cf=(e,t,n,r)=>{let a={offsetX:0,offsetY:0};const o=t=>{const n=t.clientX,o=t.clientY,{offsetX:i,offsetY:s}=a,l=e.value.getBoundingClientRect(),c=l.left,u=l.top,d=l.width,f=l.height,h=document.documentElement.clientWidth,p=document.documentElement.clientHeight,m=-c+i,v=-u+s,b=h-c-d+i,y=p-u-f+s,O=t=>{let l=i+t.clientX-n,c=s+t.clientY-o;(null==r?void 0:r.value)||(l=Math.min(Math.max(l,m),b),c=Math.min(Math.max(c,v),y)),a={offsetX:l,offsetY:c},e.value&&(e.value.style.transform=`translate(${Object(g["b"])(l)}, ${Object(g["b"])(c)})`)},w=()=>{document.removeEventListener("mousemove",O),document.removeEventListener("mouseup",w)};document.addEventListener("mousemove",O),document.addEventListener("mouseup",w)},i=()=>{t.value&&e.value&&t.value.addEventListener("mousedown",o)},l=()=>{t.value&&e.value&&t.value.removeEventListener("mousedown",o)};Object(s["onMounted"])(()=>{Object(s["watchEffect"])(()=>{n.value?i():l()})}),Object(s["onBeforeUnmount"])(()=>{l()})},uf=["aria-level"],df=["aria-label"],ff=["id"],hf=Object(s["defineComponent"])({name:"ElDialogContent"}),pf=Object(s["defineComponent"])({...hf,props:of,emits:sf,setup(e){const t=e,{t:n}=Object(Lr["b"])(),{Close:r}=F["a"],{dialogRef:a,headerRef:o,bodyId:i,ns:l,style:c}=Object(s["inject"])(af),{focusTrapRef:u}=Object(s["inject"])(vn),d=Object(s["computed"])(()=>[l.b(),l.is("fullscreen",t.fullscreen),l.is("draggable",t.draggable),l.is("align-center",t.alignCenter),{[l.m("center")]:t.center}]),f=lf(u,a),h=Object(s["computed"])(()=>t.draggable),p=Object(s["computed"])(()=>t.overflow);return cf(a,o,h,p),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{ref:Object(s["unref"])(f),class:Object(s["normalizeClass"])(Object(s["unref"])(d)),style:Object(s["normalizeStyle"])(Object(s["unref"])(c)),tabindex:"-1"},[Object(s["createElementVNode"])("header",{ref_key:"headerRef",ref:o,class:Object(s["normalizeClass"])([Object(s["unref"])(l).e("header"),{"show-close":e.showClose}])},[Object(s["renderSlot"])(e.$slots,"header",{},()=>[Object(s["createElementVNode"])("span",{role:"heading","aria-level":e.ariaLevel,class:Object(s["normalizeClass"])(Object(s["unref"])(l).e("title"))},Object(s["toDisplayString"])(e.title),11,uf)]),e.showClose?(Object(s["openBlock"])(),Object(s["createElementBlock"])("button",{key:0,"aria-label":Object(s["unref"])(n)("el.dialog.close"),class:Object(s["normalizeClass"])(Object(s["unref"])(l).e("headerbtn")),type:"button",onClick:t[0]||(t[0]=t=>e.$emit("close"))},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),{class:Object(s["normalizeClass"])(Object(s["unref"])(l).e("close"))},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.closeIcon||Object(s["unref"])(r))))]),_:1},8,["class"])],10,df)):Object(s["createCommentVNode"])("v-if",!0)],2),Object(s["createElementVNode"])("div",{id:Object(s["unref"])(i),class:Object(s["normalizeClass"])(Object(s["unref"])(l).e("body"))},[Object(s["renderSlot"])(e.$slots,"default")],10,ff),e.$slots.footer?(Object(s["openBlock"])(),Object(s["createElementBlock"])("footer",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(l).e("footer"))},[Object(s["renderSlot"])(e.$slots,"footer")],2)):Object(s["createCommentVNode"])("v-if",!0)],6))}});var mf=Object(v["a"])(pf,[["__file","dialog-content.vue"]]);const vf=Object(c["b"])({...of,appendToBody:Boolean,appendTo:{type:Object(c["c"])(String),default:"body"},beforeClose:{type:Object(c["c"])(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1},headerAriaLevel:{type:String,default:"2"}}),bf={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[d]:e=>Object(u["a"])(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},gf=(e,t={})=>{Object(s["isRef"])(e)||Object(y["b"])("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||Object(b["d"])("popup"),r=Object(s["computed"])(()=>n.bm("parent","hidden"));if(!l["isClient"]||Object(g["d"])(document.body,r.value))return;let a=0,o=!1,i="0";const c=()=>{setTimeout(()=>{Object(g["e"])(null==document?void 0:document.body,r.value),o&&document&&(document.body.style.width=i)},200)};Object(s["watch"])(e,e=>{if(!e)return void c();o=!Object(g["d"])(document.body,r.value),o&&(i=document.body.style.width),a=S(n.namespace.value);const t=document.documentElement.clientHeight<document.body.scrollHeight,s=Object(g["c"])(document.body,"overflowY");a>0&&(t||"scroll"===s)&&o&&(document.body.style.width=`calc(100% - ${a}px)`),Object(g["a"])(document.body,r.value)}),Object(s["onScopeDispose"])(()=>c())},yf=(e,t)=>{var n;const r=Object(s["getCurrentInstance"])(),a=r.emit,{nextZIndex:i}=Object(sn["b"])();let c="";const u=ve(),f=ve(),h=Object(s["ref"])(!1),p=Object(s["ref"])(!1),m=Object(s["ref"])(!1),v=Object(s["ref"])(null!=(n=e.zIndex)?n:i());let y=void 0,O=void 0;const w=Object(o["c"])("namespace",b["a"]),_=Object(s["computed"])(()=>{const t={},n=`--${w.value}-dialog`;return e.fullscreen||(e.top&&(t[n+"-margin-top"]=e.top),e.width&&(t[n+"-width"]=Object(g["b"])(e.width))),t}),j=Object(s["computed"])(()=>e.alignCenter?{display:"flex"}:{});function k(){a("opened")}function x(){a("closed"),a(d,!1),e.destroyOnClose&&(m.value=!1)}function S(){a("close")}function C(){null==O||O(),null==y||y(),e.openDelay&&e.openDelay>0?({stop:y}=Object(l["useTimeoutFn"])(()=>E(),e.openDelay)):E()}function M(){null==y||y(),null==O||O(),e.closeDelay&&e.closeDelay>0?({stop:O}=Object(l["useTimeoutFn"])(()=>L(),e.closeDelay)):L()}function A(){function t(e){e||(p.value=!0,h.value=!1)}e.beforeClose?e.beforeClose(t):M()}function T(){e.closeOnClickModal&&A()}function E(){l["isClient"]&&(h.value=!0)}function L(){h.value=!1}function P(){a("openAutoFocus")}function D(){a("closeAutoFocus")}function N(e){var t;"pointer"===(null==(t=e.detail)?void 0:t.focusReason)&&e.preventDefault()}function R(){e.closeOnPressEscape&&A()}return e.lockScroll&&gf(h),Object(s["watch"])(()=>e.modelValue,n=>{n?(p.value=!1,C(),m.value=!0,v.value=Object(q["isUndefined"])(e.zIndex)?i():v.value++,Object(s["nextTick"])(()=>{a("open"),t.value&&(t.value.scrollTop=0)})):h.value&&M()}),Object(s["watch"])(()=>e.fullscreen,e=>{t.value&&(e?(c=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=c)}),Object(s["onMounted"])(()=>{e.modelValue&&(h.value=!0,m.value=!0,C())}),{afterEnter:k,afterLeave:x,beforeLeave:S,handleClose:A,onModalClick:T,close:M,doClose:L,onOpenAutoFocus:P,onCloseAutoFocus:D,onCloseRequested:R,onFocusoutPrevented:N,titleId:u,bodyId:f,closed:p,style:_,overlayDialogStyle:j,rendered:m,visible:h,zIndex:v}},Of=["aria-label","aria-labelledby","aria-describedby"],wf=Object(s["defineComponent"])({name:"ElDialog",inheritAttrs:!1}),_f=Object(s["defineComponent"])({...wf,props:vf,emits:bf,setup(e,{expose:t}){const n=e,r=Object(s["useSlots"])();Object(xe["a"])({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},Object(s["computed"])(()=>!!r.title));const a=Object(b["d"])("dialog"),o=Object(s["ref"])(),i=Object(s["ref"])(),l=Object(s["ref"])(),{visible:c,titleId:u,bodyId:d,style:f,overlayDialogStyle:h,rendered:p,zIndex:m,afterEnter:v,afterLeave:g,beforeLeave:y,handleClose:O,onModalClick:w,onOpenAutoFocus:_,onCloseAutoFocus:j,onCloseRequested:k,onFocusoutPrevented:x}=yf(n,o);Object(s["provide"])(af,{dialogRef:o,headerRef:i,bodyId:d,ns:a,rendered:p,style:f});const S=Zd(w),C=Object(s["computed"])(()=>n.draggable&&!n.fullscreen);return t({visible:c,dialogContentRef:l}),(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(s["Teleport"],{to:e.appendTo,disabled:"body"===e.appendTo&&!e.appendToBody},[Object(s["createVNode"])(s["Transition"],{name:"dialog-fade",onAfterEnter:Object(s["unref"])(v),onAfterLeave:Object(s["unref"])(g),onBeforeLeave:Object(s["unref"])(y),persisted:""},{default:Object(s["withCtx"])(()=>[Object(s["withDirectives"])(Object(s["createVNode"])(Object(s["unref"])(rf),{"custom-mask-event":"",mask:e.modal,"overlay-class":e.modalClass,"z-index":Object(s["unref"])(m)},{default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("div",{role:"dialog","aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:Object(s["unref"])(u),"aria-describedby":Object(s["unref"])(d),class:Object(s["normalizeClass"])(Object(s["unref"])(a).namespace.value+"-overlay-dialog"),style:Object(s["normalizeStyle"])(Object(s["unref"])(h)),onClick:t[0]||(t[0]=(...e)=>Object(s["unref"])(S).onClick&&Object(s["unref"])(S).onClick(...e)),onMousedown:t[1]||(t[1]=(...e)=>Object(s["unref"])(S).onMousedown&&Object(s["unref"])(S).onMousedown(...e)),onMouseup:t[2]||(t[2]=(...e)=>Object(s["unref"])(S).onMouseup&&Object(s["unref"])(S).onMouseup(...e))},[Object(s["createVNode"])(Object(s["unref"])(zn),{loop:"",trapped:Object(s["unref"])(c),"focus-start-el":"container",onFocusAfterTrapped:Object(s["unref"])(_),onFocusAfterReleased:Object(s["unref"])(j),onFocusoutPrevented:Object(s["unref"])(x),onReleaseRequested:Object(s["unref"])(k)},{default:Object(s["withCtx"])(()=>[Object(s["unref"])(p)?(Object(s["openBlock"])(),Object(s["createBlock"])(mf,Object(s["mergeProps"])({key:0,ref_key:"dialogContentRef",ref:l},e.$attrs,{center:e.center,"align-center":e.alignCenter,"close-icon":e.closeIcon,draggable:Object(s["unref"])(C),overflow:e.overflow,fullscreen:e.fullscreen,"show-close":e.showClose,title:e.title,"aria-level":e.headerAriaLevel,onClose:Object(s["unref"])(O)}),Object(s["createSlots"])({header:Object(s["withCtx"])(()=>[e.$slots.title?Object(s["renderSlot"])(e.$slots,"title",{key:1}):Object(s["renderSlot"])(e.$slots,"header",{key:0,close:Object(s["unref"])(O),titleId:Object(s["unref"])(u),titleClass:Object(s["unref"])(a).e("title")})]),default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:2},[e.$slots.footer?{name:"footer",fn:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"footer")])}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","show-close","title","aria-level","onClose"])):Object(s["createCommentVNode"])("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,Of)]),_:3},8,["mask","overlay-class","z-index"]),[[s["vShow"],Object(s["unref"])(c)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["to","disabled"]))}});var jf=Object(v["a"])(_f,[["__file","dialog.vue"]]);const kf=Object(N["a"])(jf),xf=Object(c["b"])({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:Object(c["c"])(String),default:"solid"}}),Sf=Object(s["defineComponent"])({name:"ElDivider"}),Cf=Object(s["defineComponent"])({...Sf,props:xf,setup(e){const t=e,n=Object(b["d"])("divider"),r=Object(s["computed"])(()=>n.cssVar({"border-style":t.borderStyle}));return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(n).b(),Object(s["unref"])(n).m(e.direction)]),style:Object(s["normalizeStyle"])(Object(s["unref"])(r)),role:"separator"},[e.$slots.default&&"vertical"!==e.direction?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])([Object(s["unref"])(n).e("text"),Object(s["unref"])(n).is(e.contentPosition)])},[Object(s["renderSlot"])(e.$slots,"default")],2)):Object(s["createCommentVNode"])("v-if",!0)],6))}});var Mf=Object(v["a"])(Cf,[["__file","divider.vue"]]);const Af=Object(N["a"])(Mf),Tf=Object(c["b"])({...vf,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),Ef=bf,Lf=["aria-label","aria-labelledby","aria-describedby"],Pf=["id","aria-level"],Df=["aria-label"],Nf=["id"],Rf=Object(s["defineComponent"])({name:"ElDrawer",inheritAttrs:!1}),If=Object(s["defineComponent"])({...Rf,props:Tf,emits:Ef,setup(e,{expose:t}){const n=e,r=Object(s["useSlots"])();Object(xe["a"])({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},Object(s["computed"])(()=>!!r.title));const a=Object(s["ref"])(),o=Object(s["ref"])(),i=Object(b["d"])("drawer"),{t:l}=Object(Lr["b"])(),{afterEnter:c,afterLeave:u,beforeLeave:d,visible:f,rendered:h,titleId:p,bodyId:m,zIndex:v,onModalClick:y,onOpenAutoFocus:O,onCloseAutoFocus:w,onFocusoutPrevented:_,onCloseRequested:j,handleClose:k}=yf(n,a),x=Object(s["computed"])(()=>"rtl"===n.direction||"ltr"===n.direction),S=Object(s["computed"])(()=>Object(g["b"])(n.size));return t({handleClose:k,afterEnter:c,afterLeave:u}),(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(s["Teleport"],{to:"body",disabled:!e.appendToBody},[Object(s["createVNode"])(s["Transition"],{name:Object(s["unref"])(i).b("fade"),onAfterEnter:Object(s["unref"])(c),onAfterLeave:Object(s["unref"])(u),onBeforeLeave:Object(s["unref"])(d),persisted:""},{default:Object(s["withCtx"])(()=>[Object(s["withDirectives"])(Object(s["createVNode"])(Object(s["unref"])(rf),{mask:e.modal,"overlay-class":e.modalClass,"z-index":Object(s["unref"])(v),onClick:Object(s["unref"])(y)},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(zn),{loop:"",trapped:Object(s["unref"])(f),"focus-trap-el":a.value,"focus-start-el":o.value,onFocusAfterTrapped:Object(s["unref"])(O),onFocusAfterReleased:Object(s["unref"])(w),onFocusoutPrevented:Object(s["unref"])(_),onReleaseRequested:Object(s["unref"])(j)},{default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("div",Object(s["mergeProps"])({ref_key:"drawerRef",ref:a,"aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:Object(s["unref"])(p),"aria-describedby":Object(s["unref"])(m)},e.$attrs,{class:[Object(s["unref"])(i).b(),e.direction,Object(s["unref"])(f)&&"open"],style:Object(s["unref"])(x)?"width: "+Object(s["unref"])(S):"height: "+Object(s["unref"])(S),role:"dialog",onClick:t[1]||(t[1]=Object(s["withModifiers"])(()=>{},["stop"]))}),[Object(s["createElementVNode"])("span",{ref_key:"focusStartRef",ref:o,class:Object(s["normalizeClass"])(Object(s["unref"])(i).e("sr-focus")),tabindex:"-1"},null,2),e.withHeader?(Object(s["openBlock"])(),Object(s["createElementBlock"])("header",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(i).e("header"))},[e.$slots.title?Object(s["renderSlot"])(e.$slots,"title",{key:1},()=>[Object(s["createCommentVNode"])(" DEPRECATED SLOT ")]):Object(s["renderSlot"])(e.$slots,"header",{key:0,close:Object(s["unref"])(k),titleId:Object(s["unref"])(p),titleClass:Object(s["unref"])(i).e("title")},()=>[e.$slots.title?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:0,id:Object(s["unref"])(p),role:"heading","aria-level":e.headerAriaLevel,class:Object(s["normalizeClass"])(Object(s["unref"])(i).e("title"))},Object(s["toDisplayString"])(e.title),11,Pf))]),e.showClose?(Object(s["openBlock"])(),Object(s["createElementBlock"])("button",{key:2,"aria-label":Object(s["unref"])(l)("el.drawer.close"),class:Object(s["normalizeClass"])(Object(s["unref"])(i).e("close-btn")),type:"button",onClick:t[0]||(t[0]=(...e)=>Object(s["unref"])(k)&&Object(s["unref"])(k)(...e))},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),{class:Object(s["normalizeClass"])(Object(s["unref"])(i).e("close"))},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["Close"]))]),_:1},8,["class"])],10,Df)):Object(s["createCommentVNode"])("v-if",!0)],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["unref"])(h)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,id:Object(s["unref"])(m),class:Object(s["normalizeClass"])(Object(s["unref"])(i).e("body"))},[Object(s["renderSlot"])(e.$slots,"default")],10,Nf)):Object(s["createCommentVNode"])("v-if",!0),e.$slots.footer?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:2,class:Object(s["normalizeClass"])(Object(s["unref"])(i).e("footer"))},[Object(s["renderSlot"])(e.$slots,"footer")],2)):Object(s["createCommentVNode"])("v-if",!0)],16,Lf)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[s["vShow"],Object(s["unref"])(f)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"]))}});var Bf=Object(v["a"])(If,[["__file","drawer.vue"]]);const Ff=Object(N["a"])(Bf),Vf=Object(s["defineComponent"])({inheritAttrs:!1});function zf(e,t,n,r,a,o){return Object(s["renderSlot"])(e.$slots,"default")}var Hf=Object(v["a"])(Vf,[["render",zf],["__file","collection.vue"]]);const Yf=Object(s["defineComponent"])({name:"ElCollectionItem",inheritAttrs:!1});function Uf(e,t,n,r,a,o){return Object(s["renderSlot"])(e.$slots,"default")}var Wf=Object(v["a"])(Yf,[["render",Uf],["__file","collection-item.vue"]]);const $f="data-el-collection-item",qf=e=>{const t=`El${e}Collection`,n=t+"Item",r=Symbol(t),a=Symbol(n),o={...Hf,name:t,setup(){const e=Object(s["ref"])(null),t=new Map,n=()=>{const n=Object(s["unref"])(e);if(!n)return[];const r=Array.from(n.querySelectorAll(`[${$f}]`)),a=[...t.values()];return a.sort((e,t)=>r.indexOf(e.ref)-r.indexOf(t.ref))};Object(s["provide"])(r,{itemMap:t,getItems:n,collectionRef:e})}},i={...Wf,name:n,setup(e,{attrs:t}){const n=Object(s["ref"])(null),o=Object(s["inject"])(r,void 0);Object(s["provide"])(a,{collectionItemRef:n}),Object(s["onMounted"])(()=>{const e=Object(s["unref"])(n);e&&o.itemMap.set(e,{ref:e,...t})}),Object(s["onBeforeUnmount"])(()=>{const e=Object(s["unref"])(n);o.itemMap.delete(e)})}};return{COLLECTION_INJECTION_KEY:r,COLLECTION_ITEM_INJECTION_KEY:a,ElCollection:o,ElCollectionItem:i}},Gf=Object(c["b"])({trigger:bt.trigger,effect:{...pt.effect,default:"light"},type:{type:Object(c["c"])(String)},placement:{type:Object(c["c"])(String),default:"bottom"},popperOptions:{type:Object(c["c"])(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:Object(c["c"])([Number,String]),default:0},maxHeight:{type:Object(c["c"])([Number,String]),default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},role:{type:String,default:"menu"},buttonProps:{type:Object(c["c"])(Object)},teleported:pt.teleported}),Xf=Object(c["b"])({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:F["e"]}}),Kf=Object(c["b"])({onKeydown:{type:Object(c["c"])(Function)}}),Jf=[vt["a"].down,vt["a"].pageDown,vt["a"].home],Zf=[vt["a"].up,vt["a"].pageUp,vt["a"].end],Qf=[...Jf,...Zf],{ElCollection:eh,ElCollectionItem:th,COLLECTION_INJECTION_KEY:nh,COLLECTION_ITEM_INJECTION_KEY:rh}=qf("Dropdown"),ah=Symbol("elDropdown"),oh=Object(c["b"])({style:{type:Object(c["c"])([String,Array,Object])},currentTabId:{type:Object(c["c"])(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:Object(c["c"])(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:ih,ElCollectionItem:sh,COLLECTION_INJECTION_KEY:lh,COLLECTION_ITEM_INJECTION_KEY:ch}=qf("RovingFocusGroup"),uh=Symbol("elRovingFocusGroup"),dh=Symbol("elRovingFocusGroupItem"),fh={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},hh=(e,t)=>{if("rtl"!==t)return e;switch(e){case vt["a"].right:return vt["a"].left;case vt["a"].left:return vt["a"].right;default:return e}},ph=(e,t,n)=>{const r=hh(e.key,n);if(("vertical"!==t||![vt["a"].left,vt["a"].right].includes(r))&&("horizontal"!==t||![vt["a"].up,vt["a"].down].includes(r)))return fh[r]},mh=(e,t)=>e.map((n,r)=>e[(r+t)%e.length]),vh=e=>{const{activeElement:t}=document;for(const n of e){if(n===t)return;if(n.focus(),t!==document.activeElement)return}},bh="currentTabIdChange",gh="rovingFocusGroup.entryFocus",yh={bubbles:!1,cancelable:!0},Oh=Object(s["defineComponent"])({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:oh,emits:[bh,"entryFocus"],setup(e,{emit:t}){var n;const r=Object(s["ref"])(null!=(n=e.currentTabId||e.defaultCurrentTabId)?n:null),a=Object(s["ref"])(!1),o=Object(s["ref"])(!1),i=Object(s["ref"])(null),{getItems:c}=Object(s["inject"])(lh,void 0),u=Object(s["computed"])(()=>[{outline:"none"},e.style]),d=e=>{t(bh,e)},f=()=>{a.value=!0},h=Lt(t=>{var n;null==(n=e.onMousedown)||n.call(e,t)},()=>{o.value=!0}),p=Lt(t=>{var n;null==(n=e.onFocus)||n.call(e,t)},e=>{const t=!Object(s["unref"])(o),{target:n,currentTarget:i}=e;if(n===i&&t&&!Object(s["unref"])(a)){const e=new Event(gh,yh);if(null==i||i.dispatchEvent(e),!e.defaultPrevented){const e=c().filter(e=>e.focusable),t=e.find(e=>e.active),n=e.find(e=>e.id===Object(s["unref"])(r)),a=[t,n,...e].filter(Boolean),o=a.map(e=>e.ref);vh(o)}}o.value=!1}),m=Lt(t=>{var n;null==(n=e.onBlur)||n.call(e,t)},()=>{a.value=!1}),v=(...e)=>{t("entryFocus",...e)};Object(s["provide"])(uh,{currentTabbedId:Object(s["readonly"])(r),loop:Object(s["toRef"])(e,"loop"),tabIndex:Object(s["computed"])(()=>Object(s["unref"])(a)?-1:0),rovingFocusGroupRef:i,rovingFocusGroupRootStyle:u,orientation:Object(s["toRef"])(e,"orientation"),dir:Object(s["toRef"])(e,"dir"),onItemFocus:d,onItemShiftTab:f,onBlur:m,onFocus:p,onMousedown:h}),Object(s["watch"])(()=>e.currentTabId,e=>{r.value=null!=e?e:null}),Object(l["useEventListener"])(i,gh,v)}});function wh(e,t,n,r,a,o){return Object(s["renderSlot"])(e.$slots,"default")}var _h=Object(v["a"])(Oh,[["render",wh],["__file","roving-focus-group-impl.vue"]]);const jh=Object(s["defineComponent"])({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:ih,ElRovingFocusGroupImpl:_h}});function kh(e,t,n,r,a,o){const i=Object(s["resolveComponent"])("el-roving-focus-group-impl"),l=Object(s["resolveComponent"])("el-focus-group-collection");return Object(s["openBlock"])(),Object(s["createBlock"])(l,null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(i,Object(s["normalizeProps"])(Object(s["guardReactiveProps"])(e.$attrs)),{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3},16)]),_:3})}var xh=Object(v["a"])(jh,[["render",kh],["__file","roving-focus-group.vue"]]);const{ButtonGroup:Sh}=oa,Ch=Object(s["defineComponent"])({name:"ElDropdown",components:{ElButton:oa,ElButtonGroup:Sh,ElScrollbar:Ke,ElDropdownCollection:eh,ElTooltip:nr,ElRovingFocusGroup:xh,ElOnlyChild:Bt,ElIcon:I["a"],ArrowDown:G["ArrowDown"]},props:Gf,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=Object(s["getCurrentInstance"])(),r=Object(b["d"])("dropdown"),{t:a}=Object(Lr["b"])(),o=Object(s["ref"])(),i=Object(s["ref"])(),l=Object(s["ref"])(null),c=Object(s["ref"])(null),u=Object(s["ref"])(null),d=Object(s["ref"])(null),f=Object(s["ref"])(!1),h=[vt["a"].enter,vt["a"].space,vt["a"].down],p=Object(s["computed"])(()=>({maxHeight:Object(g["b"])(e.maxHeight)})),m=Object(s["computed"])(()=>[r.m(k.value)]),v=Object(s["computed"])(()=>Object(q["castArray"])(e.trigger)),y=ve().value,O=Object(s["computed"])(()=>e.id||y);function w(){_()}function _(){var e;null==(e=l.value)||e.onClose()}function j(){var e;null==(e=l.value)||e.onOpen()}Object(s["watch"])([o,v],([e,t],[n])=>{var r,a,o;(null==(r=null==n?void 0:n.$el)?void 0:r.removeEventListener)&&n.$el.removeEventListener("pointerenter",S),(null==(a=null==e?void 0:e.$el)?void 0:a.removeEventListener)&&e.$el.removeEventListener("pointerenter",S),(null==(o=null==e?void 0:e.$el)?void 0:o.addEventListener)&&t.includes("hover")&&e.$el.addEventListener("pointerenter",S)},{immediate:!0}),Object(s["onBeforeUnmount"])(()=>{var e,t;(null==(t=null==(e=o.value)?void 0:e.$el)?void 0:t.removeEventListener)&&o.value.$el.removeEventListener("pointerenter",S)});const k=Oe();function x(...e){t("command",...e)}function S(){var e,t;null==(t=null==(e=o.value)?void 0:e.$el)||t.focus()}function C(){}function M(){const e=Object(s["unref"])(c);v.value.includes("hover")&&(null==e||e.focus()),d.value=null}function A(e){d.value=e}function T(e){f.value||(e.preventDefault(),e.stopImmediatePropagation())}function E(){t("visible-change",!0)}function L(e){"keydown"===(null==e?void 0:e.type)&&c.value.focus()}function P(){t("visible-change",!1)}Object(s["provide"])(ah,{contentRef:c,role:Object(s["computed"])(()=>e.role),triggerId:O,isUsingKeyboard:f,onItemEnter:C,onItemLeave:M}),Object(s["provide"])("elDropdown",{instance:n,dropdownSize:k,handleClick:w,commandHandler:x,trigger:Object(s["toRef"])(e,"trigger"),hideOnClick:Object(s["toRef"])(e,"hideOnClick")});const D=e=>{var t,n;e.preventDefault(),null==(n=null==(t=c.value)?void 0:t.focus)||n.call(t,{preventScroll:!0})},N=e=>{t("click",e)};return{t:a,ns:r,scrollbar:u,wrapStyle:p,dropdownTriggerKls:m,dropdownSize:k,triggerId:O,triggerKeys:h,currentTabId:d,handleCurrentTabIdChange:A,handlerMainButtonClick:N,handleEntryFocus:T,handleClose:_,handleOpen:j,handleBeforeShowTooltip:E,handleShowTooltip:L,handleBeforeHideTooltip:P,onFocusAfterTrapped:D,popperRef:l,contentRef:c,triggeringElementRef:o,referenceElementRef:i}}});function Mh(e,t,n,r,a,o){var i;const l=Object(s["resolveComponent"])("el-dropdown-collection"),c=Object(s["resolveComponent"])("el-roving-focus-group"),u=Object(s["resolveComponent"])("el-scrollbar"),d=Object(s["resolveComponent"])("el-only-child"),f=Object(s["resolveComponent"])("el-tooltip"),h=Object(s["resolveComponent"])("el-button"),p=Object(s["resolveComponent"])("arrow-down"),m=Object(s["resolveComponent"])("el-icon"),v=Object(s["resolveComponent"])("el-button-group");return Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])([e.ns.b(),e.ns.is("disabled",e.disabled)])},[Object(s["createVNode"])(f,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,"hide-after":"hover"===e.trigger?e.hideTimeout:0,"manual-mode":!0,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"reference-element":null==(i=e.referenceElementRef)?void 0:i.$el,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-after":"hover"===e.trigger?e.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":e.triggeringElementRef,"virtual-triggering":e.splitButton,disabled:e.disabled,transition:e.ns.namespace.value+"-zoom-in-top",teleported:e.teleported,pure:"",persistent:"",onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},Object(s["createSlots"])({content:Object(s["withCtx"])(()=>[Object(s["createVNode"])(u,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(c,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange,onEntryFocus:e.handleEntryFocus},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(l,null,{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:Object(s["withCtx"])(()=>[Object(s["createVNode"])(d,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3},8,["id","tabindex"])])}]),1032,["role","effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","trigger-keys","trigger-target-el","show-after","virtual-ref","virtual-triggering","disabled","transition","teleported","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(Object(s["openBlock"])(),Object(s["createBlock"])(v,{key:0},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(h,Object(s["mergeProps"])({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),Object(s["createVNode"])(h,Object(s["mergeProps"])({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(m,{class:Object(s["normalizeClass"])(e.ns.e("icon"))},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(p)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):Object(s["createCommentVNode"])("v-if",!0)],2)}var Ah=Object(v["a"])(Ch,[["render",Mh],["__file","dropdown.vue"]]);const Th=Object(s["defineComponent"])({name:"DropdownItemImpl",components:{ElIcon:I["a"]},props:Xf,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=Object(b["d"])("dropdown"),{role:r}=Object(s["inject"])(ah,void 0),{collectionItemRef:a}=Object(s["inject"])(rh,void 0),{collectionItemRef:o}=Object(s["inject"])(ch,void 0),{rovingFocusGroupItemRef:i,tabIndex:l,handleFocus:c,handleKeydown:u,handleMousedown:d}=Object(s["inject"])(dh,void 0),f=lf(a,o,i),h=Object(s["computed"])(()=>"menu"===r.value?"menuitem":"navigation"===r.value?"link":"button"),p=Lt(e=>{const{code:n}=e;if(n===vt["a"].enter||n===vt["a"].space)return e.preventDefault(),e.stopImmediatePropagation(),t("clickimpl",e),!0},u);return{ns:n,itemRef:f,dataset:{[$f]:""},role:h,tabIndex:l,handleFocus:c,handleKeydown:p,handleMousedown:d}}}),Eh=["aria-disabled","tabindex","role"];function Lh(e,t,n,r,a,o){const i=Object(s["resolveComponent"])("el-icon");return Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],null,[e.divided?(Object(s["openBlock"])(),Object(s["createElementBlock"])("li",Object(s["mergeProps"])({key:0,role:"separator",class:e.ns.bem("menu","item","divided")},e.$attrs),null,16)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("li",Object(s["mergeProps"])({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:t[0]||(t[0]=t=>e.$emit("clickimpl",t)),onFocus:t[1]||(t[1]=(...t)=>e.handleFocus&&e.handleFocus(...t)),onKeydown:t[2]||(t[2]=Object(s["withModifiers"])((...t)=>e.handleKeydown&&e.handleKeydown(...t),["self"])),onMousedown:t[3]||(t[3]=(...t)=>e.handleMousedown&&e.handleMousedown(...t)),onPointermove:t[4]||(t[4]=t=>e.$emit("pointermove",t)),onPointerleave:t[5]||(t[5]=t=>e.$emit("pointerleave",t))}),[e.icon?(Object(s["openBlock"])(),Object(s["createBlock"])(i,{key:0},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.icon)))]),_:1})):Object(s["createCommentVNode"])("v-if",!0),Object(s["renderSlot"])(e.$slots,"default")],16,Eh)],64)}var Ph=Object(v["a"])(Th,[["render",Lh],["__file","dropdown-item-impl.vue"]]);const Dh=()=>{const e=Object(s["inject"])("elDropdown",{}),t=Object(s["computed"])(()=>null==e?void 0:e.dropdownSize);return{elDropdown:e,_elDropdownSize:t}},Nh=Object(s["defineComponent"])({components:{ElRovingFocusCollectionItem:sh},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:n,loop:r,onItemFocus:a,onItemShiftTab:o}=Object(s["inject"])(uh,void 0),{getItems:i}=Object(s["inject"])(lh,void 0),l=ve(),c=Object(s["ref"])(null),u=Lt(e=>{t("mousedown",e)},t=>{e.focusable?a(Object(s["unref"])(l)):t.preventDefault()}),d=Lt(e=>{t("focus",e)},()=>{a(Object(s["unref"])(l))}),f=Lt(e=>{t("keydown",e)},e=>{const{key:t,shiftKey:n,target:a,currentTarget:l}=e;if(t===vt["a"].tab&&n)return void o();if(a!==l)return;const c=ph(e);if(c){e.preventDefault();const t=i().filter(e=>e.focusable);let n=t.map(e=>e.ref);switch(c){case"last":n.reverse();break;case"prev":case"next":{"prev"===c&&n.reverse();const e=n.indexOf(l);n=r.value?mh(n,e+1):n.slice(e+1);break}default:break}Object(s["nextTick"])(()=>{vh(n)})}}),h=Object(s["computed"])(()=>n.value===Object(s["unref"])(l));return Object(s["provide"])(dh,{rovingFocusGroupItemRef:c,tabIndex:Object(s["computed"])(()=>Object(s["unref"])(h)?0:-1),handleMousedown:u,handleFocus:d,handleKeydown:f}),{id:l,handleKeydown:f,handleFocus:d,handleMousedown:u}}});function Rh(e,t,n,r,a,o){const i=Object(s["resolveComponent"])("el-roving-focus-collection-item");return Object(s["openBlock"])(),Object(s["createBlock"])(i,{id:e.id,focusable:e.focusable,active:e.active},{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var Ih=Object(v["a"])(Nh,[["render",Rh],["__file","roving-focus-item.vue"]]);const Bh=Object(s["defineComponent"])({name:"ElDropdownItem",components:{ElDropdownCollectionItem:th,ElRovingFocusItem:Ih,ElDropdownItemImpl:Ph},inheritAttrs:!1,props:Xf,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:n}){const{elDropdown:r}=Dh(),a=Object(s["getCurrentInstance"])(),o=Object(s["ref"])(null),i=Object(s["computed"])(()=>{var e,t;return null!=(t=null==(e=Object(s["unref"])(o))?void 0:e.textContent)?t:""}),{onItemEnter:l,onItemLeave:c}=Object(s["inject"])(ah,void 0),u=Lt(e=>(t("pointermove",e),e.defaultPrevented),Pt(t=>{if(e.disabled)return void c(t);const n=t.currentTarget;n===document.activeElement||n.contains(document.activeElement)||(l(t),t.defaultPrevented||null==n||n.focus())})),d=Lt(e=>(t("pointerleave",e),e.defaultPrevented),Pt(e=>{c(e)})),f=Lt(n=>{if(!e.disabled)return t("click",n),"keydown"!==n.type&&n.defaultPrevented},t=>{var n,o,i;e.disabled?t.stopImmediatePropagation():((null==(n=null==r?void 0:r.hideOnClick)?void 0:n.value)&&(null==(o=r.handleClick)||o.call(r)),null==(i=r.commandHandler)||i.call(r,e.command,a,t))}),h=Object(s["computed"])(()=>({...e,...n}));return{handleClick:f,handlePointerMove:u,handlePointerLeave:d,textContent:i,propsAndAttrs:h}}});function Fh(e,t,n,r,a,o){var i;const l=Object(s["resolveComponent"])("el-dropdown-item-impl"),c=Object(s["resolveComponent"])("el-roving-focus-item"),u=Object(s["resolveComponent"])("el-dropdown-collection-item");return Object(s["openBlock"])(),Object(s["createBlock"])(u,{disabled:e.disabled,"text-value":null!=(i=e.textValue)?i:e.textContent},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(c,{focusable:!e.disabled},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(l,Object(s["mergeProps"])(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var Vh=Object(v["a"])(Bh,[["render",Fh],["__file","dropdown-item.vue"]]);const zh=Object(s["defineComponent"])({name:"ElDropdownMenu",props:Kf,setup(e){const t=Object(b["d"])("dropdown"),{_elDropdownSize:n}=Dh(),r=n.value,{focusTrapRef:a,onKeydown:o}=Object(s["inject"])(vn,void 0),{contentRef:i,role:l,triggerId:c}=Object(s["inject"])(ah,void 0),{collectionRef:u,getItems:d}=Object(s["inject"])(nh,void 0),{rovingFocusGroupRef:f,rovingFocusGroupRootStyle:h,tabIndex:p,onBlur:m,onFocus:v,onMousedown:g}=Object(s["inject"])(uh,void 0),{collectionRef:y}=Object(s["inject"])(lh,void 0),O=Object(s["computed"])(()=>[t.b("menu"),t.bm("menu",null==r?void 0:r.value)]),w=lf(i,u,a,f,y),_=Lt(t=>{var n;null==(n=e.onKeydown)||n.call(e,t)},e=>{const{currentTarget:t,code:n,target:r}=e;t.contains(r);if(vt["a"].tab===n&&e.stopImmediatePropagation(),e.preventDefault(),r!==Object(s["unref"])(i))return;if(!Qf.includes(n))return;const a=d().filter(e=>!e.disabled),o=a.map(e=>e.ref);Zf.includes(n)&&o.reverse(),vh(o)}),j=e=>{_(e),o(e)};return{size:r,rovingFocusGroupRootStyle:h,tabIndex:p,dropdownKls:O,role:l,triggerId:c,dropdownListWrapperRef:w,handleKeydown:j,onBlur:m,onFocus:v,onMousedown:g}}}),Hh=["role","aria-labelledby"];function Yh(e,t,n,r,a,o){return Object(s["openBlock"])(),Object(s["createElementBlock"])("ul",{ref:e.dropdownListWrapperRef,class:Object(s["normalizeClass"])(e.dropdownKls),style:Object(s["normalizeStyle"])(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onBlur:t[0]||(t[0]=(...t)=>e.onBlur&&e.onBlur(...t)),onFocus:t[1]||(t[1]=(...t)=>e.onFocus&&e.onFocus(...t)),onKeydown:t[2]||(t[2]=Object(s["withModifiers"])((...t)=>e.handleKeydown&&e.handleKeydown(...t),["self"])),onMousedown:t[3]||(t[3]=Object(s["withModifiers"])((...t)=>e.onMousedown&&e.onMousedown(...t),["self"]))},[Object(s["renderSlot"])(e.$slots,"default")],46,Hh)}var Uh=Object(v["a"])(zh,[["render",Yh],["__file","dropdown-menu.vue"]]);const Wh=Object(N["a"])(Ah,{DropdownItem:Vh,DropdownMenu:Uh}),$h=Object(N["d"])(Vh),qh=Object(N["d"])(Uh),Gh={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Xh=["id"],Kh=["stop-color"],Jh=["stop-color"],Zh=["id"],Qh=["stop-color"],ep=["stop-color"],tp=["id"],np={id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},rp={id:"B-type",transform:"translate(-1268.000000, -535.000000)"},ap={id:"Group-2",transform:"translate(1268.000000, 535.000000)"},op=["fill"],ip=["fill"],sp={id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},lp=["fill"],cp=["fill"],up=["fill"],dp=["fill"],fp=["fill"],hp={id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"},pp=["fill","xlink:href"],mp=["fill","mask"],vp=["fill"],bp=Object(s["defineComponent"])({name:"ImgEmpty"}),gp=Object(s["defineComponent"])({...bp,setup(e){const t=Object(b["d"])("empty"),n=ve();return(e,r)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("svg",Gh,[Object(s["createElementVNode"])("defs",null,[Object(s["createElementVNode"])("linearGradient",{id:"linearGradient-1-"+Object(s["unref"])(n),x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[Object(s["createElementVNode"])("stop",{"stop-color":`var(${Object(s["unref"])(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,Kh),Object(s["createElementVNode"])("stop",{"stop-color":`var(${Object(s["unref"])(t).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,Jh)],8,Xh),Object(s["createElementVNode"])("linearGradient",{id:"linearGradient-2-"+Object(s["unref"])(n),x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[Object(s["createElementVNode"])("stop",{"stop-color":`var(${Object(s["unref"])(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,Qh),Object(s["createElementVNode"])("stop",{"stop-color":`var(${Object(s["unref"])(t).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,ep)],8,Zh),Object(s["createElementVNode"])("rect",{id:"path-3-"+Object(s["unref"])(n),x:"0",y:"0",width:"17",height:"36"},null,8,tp)]),Object(s["createElementVNode"])("g",np,[Object(s["createElementVNode"])("g",rp,[Object(s["createElementVNode"])("g",ap,[Object(s["createElementVNode"])("path",{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${Object(s["unref"])(t).cssVarBlockName("fill-color-3")})`},null,8,op),Object(s["createElementVNode"])("polygon",{id:"Rectangle-Copy-14",fill:`var(${Object(s["unref"])(t).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,ip),Object(s["createElementVNode"])("g",sp,[Object(s["createElementVNode"])("polygon",{id:"Rectangle-Copy-10",fill:`var(${Object(s["unref"])(t).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,lp),Object(s["createElementVNode"])("polygon",{id:"Rectangle-Copy-11",fill:`var(${Object(s["unref"])(t).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,cp),Object(s["createElementVNode"])("rect",{id:"Rectangle-Copy-12",fill:`url(#linearGradient-1-${Object(s["unref"])(n)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,up),Object(s["createElementVNode"])("polygon",{id:"Rectangle-Copy-13",fill:`var(${Object(s["unref"])(t).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,dp)]),Object(s["createElementVNode"])("rect",{id:"Rectangle-Copy-15",fill:`url(#linearGradient-2-${Object(s["unref"])(n)})`,x:"13",y:"45",width:"40",height:"36"},null,8,fp),Object(s["createElementVNode"])("g",hp,[Object(s["createElementVNode"])("use",{id:"Mask",fill:`var(${Object(s["unref"])(t).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":"#path-3-"+Object(s["unref"])(n)},null,8,pp),Object(s["createElementVNode"])("polygon",{id:"Rectangle-Copy",fill:`var(${Object(s["unref"])(t).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${Object(s["unref"])(n)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,mp)]),Object(s["createElementVNode"])("polygon",{id:"Rectangle-Copy-18",fill:`var(${Object(s["unref"])(t).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,vp)])])])]))}});var yp=Object(v["a"])(gp,[["__file","img-empty.vue"]]);const Op=Object(c["b"])({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),wp=["src"],_p={key:1},jp=Object(s["defineComponent"])({name:"ElEmpty"}),kp=Object(s["defineComponent"])({...jp,props:Op,setup(e){const t=e,{t:n}=Object(Lr["b"])(),r=Object(b["d"])("empty"),a=Object(s["computed"])(()=>t.description||n("el.table.emptyText")),o=Object(s["computed"])(()=>({width:Object(g["b"])(t.imageSize)}));return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(r).b())},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("image")),style:Object(s["normalizeStyle"])(Object(s["unref"])(o))},[e.image?(Object(s["openBlock"])(),Object(s["createElementBlock"])("img",{key:0,src:e.image,ondragstart:"return false"},null,8,wp)):Object(s["renderSlot"])(e.$slots,"image",{key:1},()=>[Object(s["createVNode"])(yp)])],6),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("description"))},[e.$slots.description?Object(s["renderSlot"])(e.$slots,"description",{key:0}):(Object(s["openBlock"])(),Object(s["createElementBlock"])("p",_p,Object(s["toDisplayString"])(Object(s["unref"])(a)),1))],2),e.$slots.default?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("bottom"))},[Object(s["renderSlot"])(e.$slots,"default")],2)):Object(s["createCommentVNode"])("v-if",!0)],2))}});var xp=Object(v["a"])(kp,[["__file","empty.vue"]]);const Sp=Object(N["a"])(xp),Cp=Object(c["b"])({size:{type:String,values:hr["a"]},disabled:Boolean}),Mp=Object(c["b"])({...Cp,model:Object,rules:{type:Object(c["c"])(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),Ap={validate:(e,t,n)=>(Object(te["isArray"])(e)||Object(te["isString"])(e))&&Object(u["a"])(t)&&Object(te["isString"])(n)},Tp="ElForm";function Ep(){const e=Object(s["ref"])([]),t=Object(s["computed"])(()=>{if(!e.value.length)return"0";const t=Math.max(...e.value);return t?t+"px":""});function n(n){const r=e.value.indexOf(n);return-1===r&&"0"===t.value&&Object(y["a"])(Tp,"unexpected width "+n),r}function r(t,r){if(t&&r){const a=n(r);e.value.splice(a,1,t)}else t&&e.value.push(t)}function a(t){const r=n(t);r>-1&&e.value.splice(r,1)}return{autoLabelWidth:t,registerLabelWidth:r,deregisterLabelWidth:a}}const Lp=(e,t)=>{const n=Object(q["castArray"])(t);return n.length>0?e.filter(e=>e.prop&&n.includes(e.prop)):e},Pp="ElForm",Dp=Object(s["defineComponent"])({name:Pp}),Np=Object(s["defineComponent"])({...Dp,props:Mp,emits:Ap,setup(e,{expose:t,emit:n}){const r=e,a=[],o=Oe(),i=Object(b["d"])("form"),l=Object(s["computed"])(()=>{const{labelPosition:e,inline:t}=r;return[i.b(),i.m(o.value||"default"),{[i.m("label-"+e)]:e,[i.m("inline")]:t}]}),c=e=>a.find(t=>t.prop===e),u=e=>{a.push(e)},d=e=>{e.prop&&a.splice(a.indexOf(e),1)},f=(e=[])=>{r.model?Lp(a,e).forEach(e=>e.resetField()):Object(y["a"])(Pp,"model is required for resetFields to work.")},h=(e=[])=>{Lp(a,e).forEach(e=>e.clearValidate())},p=Object(s["computed"])(()=>{const e=!!r.model;return e||Object(y["a"])(Pp,"model is required for validate to work."),e}),m=e=>{if(0===a.length)return[];const t=Lp(a,e);return t.length?t:(Object(y["a"])(Pp,"please pass correct props!"),[])},v=async e=>O(void 0,e),g=async(e=[])=>{if(!p.value)return!1;const t=m(e);if(0===t.length)return!0;let n={};for(const a of t)try{await a.validate("")}catch(r){n={...n,...r}}return 0===Object.keys(n).length||Promise.reject(n)},O=async(e=[],t)=>{const n=!Object(te["isFunction"])(t);try{const n=await g(e);return!0===n&&await(null==t?void 0:t(n)),n}catch(a){if(a instanceof Error)throw a;const e=a;return r.scrollToError&&w(Object.keys(e)[0]),await(null==t?void 0:t(!1,e)),n&&Promise.reject(e)}},w=e=>{var t;const n=Lp(a,e)[0];n&&(null==(t=n.$el)||t.scrollIntoView(r.scrollIntoViewOptions))};return Object(s["watch"])(()=>r.rules,()=>{r.validateOnRuleChange&&v().catch(e=>Object(y["a"])(e))},{deep:!0}),Object(s["provide"])(de,Object(s["reactive"])({...Object(s["toRefs"])(r),emit:n,resetFields:f,clearValidate:h,validateField:O,getField:c,addField:u,removeField:d,...Ep()})),t({validate:v,validateField:O,resetFields:f,clearValidate:h,scrollToField:w,fields:a}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("form",{class:Object(s["normalizeClass"])(Object(s["unref"])(l))},[Object(s["renderSlot"])(e.$slots,"default")],2))}});var Rp=Object(v["a"])(Np,[["__file","form.vue"]]),Ip=n("0f3d"),Bp=n.n(Ip);const Fp=["","error","validating","success"],Vp=Object(c["b"])({label:String,labelWidth:{type:[String,Number],default:""},prop:{type:Object(c["c"])([String,Array])},required:{type:Boolean,default:void 0},rules:{type:Object(c["c"])([Object,Array])},error:String,validateStatus:{type:String,values:Fp},for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:{type:String,values:hr["a"]}}),zp="ElLabelWrap";var Hp=Object(s["defineComponent"])({name:zp,props:{isAutoWidth:Boolean,updateAll:Boolean},setup(e,{slots:t}){const n=Object(s["inject"])(de,void 0),r=Object(s["inject"])(fe);r||Object(y["b"])(zp,"usage: <el-form-item><label-wrap /></el-form-item>");const a=Object(b["d"])("form"),o=Object(s["ref"])(),i=Object(s["ref"])(0),c=()=>{var e;if(null==(e=o.value)?void 0:e.firstElementChild){const e=window.getComputedStyle(o.value.firstElementChild).width;return Math.ceil(Number.parseFloat(e))}return 0},u=(r="update")=>{Object(s["nextTick"])(()=>{t.default&&e.isAutoWidth&&("update"===r?i.value=c():"remove"===r&&(null==n||n.deregisterLabelWidth(i.value)))})},d=()=>u("update");return Object(s["onMounted"])(()=>{d()}),Object(s["onBeforeUnmount"])(()=>{u("remove")}),Object(s["onUpdated"])(()=>d()),Object(s["watch"])(i,(t,r)=>{e.updateAll&&(null==n||n.registerLabelWidth(t,r))}),Object(l["useResizeObserver"])(Object(s["computed"])(()=>{var e,t;return null!=(t=null==(e=o.value)?void 0:e.firstElementChild)?t:null}),d),()=>{var l,c;if(!t)return null;const{isAutoWidth:u}=e;if(u){const e=null==n?void 0:n.autoLabelWidth,c=null==r?void 0:r.hasLabel,u={};if(c&&e&&"auto"!==e){const t=Math.max(0,Number.parseInt(e,10)-i.value),r="left"===n.labelPosition?"marginRight":"marginLeft";t&&(u[r]=t+"px")}return Object(s["createVNode"])("div",{ref:o,class:[a.be("item","label-wrap")],style:u},[null==(l=t.default)?void 0:l.call(t)])}return Object(s["createVNode"])(s["Fragment"],{ref:o},[null==(c=t.default)?void 0:c.call(t)])}}});const Yp=["role","aria-labelledby"],Up=Object(s["defineComponent"])({name:"ElFormItem"}),Wp=Object(s["defineComponent"])({...Up,props:Vp,setup(e,{expose:t}){const n=e,r=Object(s["useSlots"])(),a=Object(s["inject"])(de,void 0),o=Object(s["inject"])(fe,void 0),i=Oe(void 0,{formItem:!1}),c=Object(b["d"])("form-item"),d=ve().value,f=Object(s["ref"])([]),h=Object(s["ref"])(""),p=Object(l["refDebounced"])(h,100),m=Object(s["ref"])(""),v=Object(s["ref"])();let y=void 0,O=!1;const w=Object(s["computed"])(()=>{if("top"===(null==a?void 0:a.labelPosition))return{};const e=Object(g["b"])(n.labelWidth||(null==a?void 0:a.labelWidth)||"");return e?{width:e}:{}}),_=Object(s["computed"])(()=>{if("top"===(null==a?void 0:a.labelPosition)||(null==a?void 0:a.inline))return{};if(!n.label&&!n.labelWidth&&T)return{};const e=Object(g["b"])(n.labelWidth||(null==a?void 0:a.labelWidth)||"");return n.label||r.label?{}:{marginLeft:e}}),j=Object(s["computed"])(()=>[c.b(),c.m(i.value),c.is("error","error"===h.value),c.is("validating","validating"===h.value),c.is("success","success"===h.value),c.is("required",N.value||n.required),c.is("no-asterisk",null==a?void 0:a.hideRequiredAsterisk),"right"===(null==a?void 0:a.requireAsteriskPosition)?"asterisk-right":"asterisk-left",{[c.m("feedback")]:null==a?void 0:a.statusIcon}]),k=Object(s["computed"])(()=>Object(u["a"])(n.inlineMessage)?n.inlineMessage:(null==a?void 0:a.inlineMessage)||!1),x=Object(s["computed"])(()=>[c.e("error"),{[c.em("error","inline")]:k.value}]),S=Object(s["computed"])(()=>n.prop?Object(te["isString"])(n.prop)?n.prop:n.prop.join("."):""),C=Object(s["computed"])(()=>!(!n.label&&!r.label)),M=Object(s["computed"])(()=>n.for||(1===f.value.length?f.value[0]:void 0)),A=Object(s["computed"])(()=>!M.value&&C.value),T=!!o,E=Object(s["computed"])(()=>{const e=null==a?void 0:a.model;if(e&&n.prop)return Object(B["b"])(e,n.prop).value}),L=Object(s["computed"])(()=>{const{required:e}=n,t=[];n.rules&&t.push(...Object(q["castArray"])(n.rules));const r=null==a?void 0:a.rules;if(r&&n.prop){const e=Object(B["b"])(r,n.prop).value;e&&t.push(...Object(q["castArray"])(e))}if(void 0!==e){const n=t.map((e,t)=>[e,t]).filter(([e])=>Object.keys(e).includes("required"));if(n.length>0)for(const[r,a]of n)r.required!==e&&(t[a]={...r,required:e});else t.push({required:e})}return t}),P=Object(s["computed"])(()=>L.value.length>0),D=e=>{const t=L.value;return t.filter(t=>!t.trigger||!e||(Array.isArray(t.trigger)?t.trigger.includes(e):t.trigger===e)).map(({trigger:e,...t})=>t)},N=Object(s["computed"])(()=>L.value.some(e=>e.required)),R=Object(s["computed"])(()=>{var e;return"error"===p.value&&n.showMessage&&(null==(e=null==a?void 0:a.showMessage)||e)}),I=Object(s["computed"])(()=>`${n.label||""}${(null==a?void 0:a.labelSuffix)||""}`),F=e=>{h.value=e},V=e=>{var t,r;const{errors:o,fields:i}=e;o&&i||console.error(e),F("error"),m.value=o?null!=(r=null==(t=null==o?void 0:o[0])?void 0:t.message)?r:n.prop+" is required":"",null==a||a.emit("validate",n.prop,!1,m.value)},z=()=>{F("success"),null==a||a.emit("validate",n.prop,!0,"")},H=async e=>{const t=S.value,n=new Bp.a({[t]:e});return n.validate({[t]:E.value},{firstFields:!0}).then(()=>(z(),!0)).catch(e=>(V(e),Promise.reject(e)))},Y=async(e,t)=>{if(O||!n.prop)return!1;const r=Object(te["isFunction"])(t);if(!P.value)return null==t||t(!1),!1;const a=D(e);return 0===a.length?(null==t||t(!0),!0):(F("validating"),H(a).then(()=>(null==t||t(!0),!0)).catch(e=>{const{fields:n}=e;return null==t||t(!1,n),!r&&Promise.reject(n)}))},U=()=>{F(""),m.value="",O=!1},W=async()=>{const e=null==a?void 0:a.model;if(!e||!n.prop)return;const t=Object(B["b"])(e,n.prop);O=!0,t.value=Object(q["clone"])(y),await Object(s["nextTick"])(),U(),O=!1},$=e=>{f.value.includes(e)||f.value.push(e)},G=e=>{f.value=f.value.filter(t=>t!==e)};Object(s["watch"])(()=>n.error,e=>{m.value=e||"",F(e?"error":"")},{immediate:!0}),Object(s["watch"])(()=>n.validateStatus,e=>F(e||""));const X=Object(s["reactive"])({...Object(s["toRefs"])(n),$el:v,size:i,validateState:h,labelId:d,inputIds:f,isGroup:A,hasLabel:C,fieldValue:E,addInputId:$,removeInputId:G,resetField:W,clearValidate:U,validate:Y});return Object(s["provide"])(fe,X),Object(s["onMounted"])(()=>{n.prop&&(null==a||a.addField(X),y=Object(q["clone"])(E.value))}),Object(s["onBeforeUnmount"])(()=>{null==a||a.removeField(X)}),t({size:i,validateMessage:m,validateState:h,validate:Y,clearValidate:U,resetField:W}),(e,t)=>{var n;return Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{ref_key:"formItemRef",ref:v,class:Object(s["normalizeClass"])(Object(s["unref"])(j)),role:Object(s["unref"])(A)?"group":void 0,"aria-labelledby":Object(s["unref"])(A)?Object(s["unref"])(d):void 0},[Object(s["createVNode"])(Object(s["unref"])(Hp),{"is-auto-width":"auto"===Object(s["unref"])(w).width,"update-all":"auto"===(null==(n=Object(s["unref"])(a))?void 0:n.labelWidth)},{default:Object(s["withCtx"])(()=>[Object(s["unref"])(C)?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(Object(s["unref"])(M)?"label":"div"),{key:0,id:Object(s["unref"])(d),for:Object(s["unref"])(M),class:Object(s["normalizeClass"])(Object(s["unref"])(c).e("label")),style:Object(s["normalizeStyle"])(Object(s["unref"])(w))},{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"label",{label:Object(s["unref"])(I)},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(Object(s["unref"])(I)),1)])]),_:3},8,["id","for","class","style"])):Object(s["createCommentVNode"])("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(c).e("content")),style:Object(s["normalizeStyle"])(Object(s["unref"])(_))},[Object(s["renderSlot"])(e.$slots,"default"),Object(s["createVNode"])(s["TransitionGroup"],{name:Object(s["unref"])(c).namespace.value+"-zoom-in-top"},{default:Object(s["withCtx"])(()=>[Object(s["unref"])(R)?Object(s["renderSlot"])(e.$slots,"error",{key:0,error:m.value},()=>[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(x))},Object(s["toDisplayString"])(m.value),3)]):Object(s["createCommentVNode"])("v-if",!0)]),_:3},8,["name"])],6)],10,Yp)}}});var $p=Object(v["a"])(Wp,[["__file","form-item.vue"]]);const qp=Object(N["a"])(Rp,{FormItem:$p}),Gp=Object(N["d"])($p),Xp=Object(c["b"])({urlList:{type:Object(c["c"])(Array),default:()=>Object(re["a"])([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},crossorigin:{type:Object(c["c"])(String)}}),Kp={close:()=>!0,switch:e=>Object(u["d"])(e),rotate:e=>Object(u["d"])(e)},Jp=["src","crossorigin"],Zp=Object(s["defineComponent"])({name:"ElImageViewer"}),Qp=Object(s["defineComponent"])({...Zp,props:Xp,emits:Kp,setup(e,{expose:t,emit:n}){var r;const a=e,o={CONTAIN:{name:"contain",icon:Object(s["markRaw"])(G["FullScreen"])},ORIGINAL:{name:"original",icon:Object(s["markRaw"])(G["ScaleToOriginal"])}},{t:i}=Object(Lr["b"])(),c=Object(b["d"])("image-viewer"),{nextZIndex:u}=Object(sn["b"])(),d=Object(s["ref"])(),f=Object(s["ref"])([]),h=Object(s["effectScope"])(),p=Object(s["ref"])(!0),m=Object(s["ref"])(a.initialIndex),v=Object(s["shallowRef"])(o.CONTAIN),g=Object(s["ref"])({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),y=Object(s["ref"])(null!=(r=a.zIndex)?r:u()),O=Object(s["computed"])(()=>{const{urlList:e}=a;return e.length<=1}),w=Object(s["computed"])(()=>0===m.value),_=Object(s["computed"])(()=>m.value===a.urlList.length-1),j=Object(s["computed"])(()=>a.urlList[m.value]),k=Object(s["computed"])(()=>[c.e("btn"),c.e("prev"),c.is("disabled",!a.infinite&&w.value)]),x=Object(s["computed"])(()=>[c.e("btn"),c.e("next"),c.is("disabled",!a.infinite&&_.value)]),S=Object(s["computed"])(()=>{const{scale:e,deg:t,offsetX:n,offsetY:r,enableTransition:a}=g.value;let i=n/e,s=r/e;switch(t%360){case 90:case-270:[i,s]=[s,-i];break;case 180:case-180:[i,s]=[-i,-s];break;case 270:case-90:[i,s]=[-s,i];break}const l={transform:`scale(${e}) rotate(${t}deg) translate(${i}px, ${s}px)`,transition:a?"transform .3s":""};return v.value.name===o.CONTAIN.name&&(l.maxWidth=l.maxHeight="100%"),l});function C(){A(),n("close")}function M(){const e=Object(q["throttle"])(e=>{switch(e.code){case vt["a"].esc:a.closeOnPressEscape&&C();break;case vt["a"].space:D();break;case vt["a"].left:R();break;case vt["a"].up:V("zoomIn");break;case vt["a"].right:F();break;case vt["a"].down:V("zoomOut");break}}),t=Object(q["throttle"])(e=>{const t=e.deltaY||e.deltaX;V(t<0?"zoomIn":"zoomOut",{zoomRate:a.zoomRate,enableTransition:!1})});h.run(()=>{Object(l["useEventListener"])(document,"keydown",e),Object(l["useEventListener"])(document,"wheel",t)})}function A(){h.stop()}function T(){p.value=!1}function E(e){p.value=!1,e.target.alt=i("el.image.error")}function L(e){if(p.value||0!==e.button||!d.value)return;g.value.enableTransition=!1;const{offsetX:t,offsetY:n}=g.value,r=e.pageX,a=e.pageY,o=Object(q["throttle"])(e=>{g.value={...g.value,offsetX:t+e.pageX-r,offsetY:n+e.pageY-a}}),i=Object(l["useEventListener"])(document,"mousemove",o);Object(l["useEventListener"])(document,"mouseup",()=>{i()}),e.preventDefault()}function P(){g.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function D(){if(p.value)return;const e=Object(B["c"])(o),t=Object.values(o),n=v.value.name,r=t.findIndex(e=>e.name===n),a=(r+1)%e.length;v.value=o[e[a]],P()}function N(e){const t=a.urlList.length;m.value=(e+t)%t}function R(){w.value&&!a.infinite||N(m.value-1)}function F(){_.value&&!a.infinite||N(m.value+1)}function V(e,t={}){if(p.value)return;const{minScale:r,maxScale:o}=a,{zoomRate:i,rotateDeg:s,enableTransition:l}={zoomRate:a.zoomRate,rotateDeg:90,enableTransition:!0,...t};switch(e){case"zoomOut":g.value.scale>r&&(g.value.scale=Number.parseFloat((g.value.scale/i).toFixed(3)));break;case"zoomIn":g.value.scale<o&&(g.value.scale=Number.parseFloat((g.value.scale*i).toFixed(3)));break;case"clockwise":g.value.deg+=s,n("rotate",g.value.deg);break;case"anticlockwise":g.value.deg-=s,n("rotate",g.value.deg);break}g.value.enableTransition=l}return Object(s["watch"])(j,()=>{Object(s["nextTick"])(()=>{const e=f.value[0];(null==e?void 0:e.complete)||(p.value=!0)})}),Object(s["watch"])(m,e=>{P(),n("switch",e)}),Object(s["onMounted"])(()=>{var e,t;M(),null==(t=null==(e=d.value)?void 0:e.focus)||t.call(e)}),t({setActiveItem:N}),(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(s["Teleport"],{to:"body",disabled:!e.teleported},[Object(s["createVNode"])(s["Transition"],{name:"viewer-fade",appear:""},{default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("div",{ref_key:"wrapper",ref:d,tabindex:-1,class:Object(s["normalizeClass"])(Object(s["unref"])(c).e("wrapper")),style:Object(s["normalizeStyle"])({zIndex:y.value})},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(c).e("mask")),onClick:t[0]||(t[0]=Object(s["withModifiers"])(t=>e.hideOnClickModal&&C(),["self"]))},null,2),Object(s["createCommentVNode"])(" CLOSE "),Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])([Object(s["unref"])(c).e("btn"),Object(s["unref"])(c).e("close")]),onClick:C},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["Close"]))]),_:1})],2),Object(s["createCommentVNode"])(" ARROW "),Object(s["unref"])(O)?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:0},[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(k)),onClick:R},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["ArrowLeft"]))]),_:1})],2),Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(x)),onClick:F},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["ArrowRight"]))]),_:1})],2)],64)),Object(s["createCommentVNode"])(" ACTIONS "),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(c).e("btn"),Object(s["unref"])(c).e("actions")])},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(c).e("actions__inner"))},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),{onClick:t[1]||(t[1]=e=>V("zoomOut"))},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["ZoomOut"]))]),_:1}),Object(s["createVNode"])(Object(s["unref"])(I["a"]),{onClick:t[2]||(t[2]=e=>V("zoomIn"))},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["ZoomIn"]))]),_:1}),Object(s["createElementVNode"])("i",{class:Object(s["normalizeClass"])(Object(s["unref"])(c).e("actions__divider"))},null,2),Object(s["createVNode"])(Object(s["unref"])(I["a"]),{onClick:D},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(Object(s["unref"])(v).icon)))]),_:1}),Object(s["createElementVNode"])("i",{class:Object(s["normalizeClass"])(Object(s["unref"])(c).e("actions__divider"))},null,2),Object(s["createVNode"])(Object(s["unref"])(I["a"]),{onClick:t[3]||(t[3]=e=>V("anticlockwise"))},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["RefreshLeft"]))]),_:1}),Object(s["createVNode"])(Object(s["unref"])(I["a"]),{onClick:t[4]||(t[4]=e=>V("clockwise"))},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["RefreshRight"]))]),_:1})],2)],2),Object(s["createCommentVNode"])(" CANVAS "),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(c).e("canvas"))},[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e.urlList,(t,n)=>Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("img",{ref_for:!0,ref:e=>f.value[n]=e,key:t,src:t,style:Object(s["normalizeStyle"])(Object(s["unref"])(S)),class:Object(s["normalizeClass"])(Object(s["unref"])(c).e("img")),crossorigin:e.crossorigin,onLoad:T,onError:E,onMousedown:L},null,46,Jp)),[[s["vShow"],n===m.value]])),128))],2),Object(s["renderSlot"])(e.$slots,"default")],6)]),_:3})],8,["disabled"]))}});var em=Object(v["a"])(Qp,[["__file","image-viewer.vue"]]);const tm=Object(N["a"])(em),nm=Object(c["b"])({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:Object(c["c"])([String,Object])},previewSrcList:{type:Object(c["c"])(Array),default:()=>Object(re["a"])([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},crossorigin:{type:Object(c["c"])(String)}}),rm={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>Object(u["d"])(e),close:()=>!0,show:()=>!0},am=["src","loading","crossorigin"],om={key:0},im=Object(s["defineComponent"])({name:"ElImage",inheritAttrs:!1}),sm=Object(s["defineComponent"])({...im,props:nm,emits:rm,setup(e,{emit:t}){const n=e;let r="";const{t:a}=Object(Lr["b"])(),o=Object(b["d"])("image"),i=Object(s["useAttrs"])(),c=ue(),d=Object(s["ref"])(),f=Object(s["ref"])(!1),h=Object(s["ref"])(!0),p=Object(s["ref"])(!1),m=Object(s["ref"])(),v=Object(s["ref"])(),g=l["isClient"]&&"loading"in HTMLImageElement.prototype;let y,O;const w=Object(s["computed"])(()=>[o.e("inner"),x.value&&o.e("preview"),h.value&&o.is("loading")]),_=Object(s["computed"])(()=>i.style),j=Object(s["computed"])(()=>{const{fit:e}=n;return l["isClient"]&&e?{objectFit:e}:{}}),x=Object(s["computed"])(()=>{const{previewSrcList:e}=n;return Array.isArray(e)&&e.length>0}),S=Object(s["computed"])(()=>{const{previewSrcList:e,initialIndex:t}=n;let r=t;return t>e.length-1&&(r=0),r}),C=Object(s["computed"])(()=>"eager"!==n.loading&&(!g&&"lazy"===n.loading||n.lazy)),M=()=>{l["isClient"]&&(h.value=!0,f.value=!1,d.value=n.src)};function A(e){h.value=!1,f.value=!1,t("load",e)}function T(e){h.value=!1,f.value=!0,t("error",e)}function E(){vl(m.value,v.value)&&(M(),D())}const L=Object(l["useThrottleFn"])(E,200,!0);async function P(){var e;if(!l["isClient"])return;await Object(s["nextTick"])();const{scrollContainer:t}=n;Object(u["b"])(t)?v.value=t:Object(te["isString"])(t)&&""!==t?v.value=null!=(e=document.querySelector(t))?e:void 0:m.value&&(v.value=k(m.value)),v.value&&(y=Object(l["useEventListener"])(v,"scroll",L),setTimeout(()=>E(),100))}function D(){l["isClient"]&&v.value&&L&&(null==y||y(),v.value=void 0)}function N(e){if(e.ctrlKey)return e.deltaY<0||e.deltaY>0?(e.preventDefault(),!1):void 0}function R(){x.value&&(O=Object(l["useEventListener"])("wheel",N,{passive:!1}),r=document.body.style.overflow,document.body.style.overflow="hidden",p.value=!0,t("show"))}function I(){null==O||O(),document.body.style.overflow=r,p.value=!1,t("close")}function B(e){t("switch",e)}return Object(s["watch"])(()=>n.src,()=>{C.value?(h.value=!0,f.value=!1,D(),P()):M()}),Object(s["onMounted"])(()=>{C.value?P():M()}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{ref_key:"container",ref:m,class:Object(s["normalizeClass"])([Object(s["unref"])(o).b(),e.$attrs.class]),style:Object(s["normalizeStyle"])(Object(s["unref"])(_))},[f.value?Object(s["renderSlot"])(e.$slots,"error",{key:0},()=>[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(o).e("error"))},Object(s["toDisplayString"])(Object(s["unref"])(a)("el.image.error")),3)]):(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:1},[void 0!==d.value?(Object(s["openBlock"])(),Object(s["createElementBlock"])("img",Object(s["mergeProps"])({key:0},Object(s["unref"])(c),{src:d.value,loading:e.loading,style:Object(s["unref"])(j),class:Object(s["unref"])(w),crossorigin:e.crossorigin,onClick:R,onLoad:A,onError:T}),null,16,am)):Object(s["createCommentVNode"])("v-if",!0),h.value?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,class:Object(s["normalizeClass"])(Object(s["unref"])(o).e("wrapper"))},[Object(s["renderSlot"])(e.$slots,"placeholder",{},()=>[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(o).e("placeholder"))},null,2)])],2)):Object(s["createCommentVNode"])("v-if",!0)],64)),Object(s["unref"])(x)?(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:2},[p.value?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(tm),{key:0,"z-index":e.zIndex,"initial-index":Object(s["unref"])(S),infinite:e.infinite,"zoom-rate":e.zoomRate,"min-scale":e.minScale,"max-scale":e.maxScale,"url-list":e.previewSrcList,"hide-on-click-modal":e.hideOnClickModal,teleported:e.previewTeleported,"close-on-press-escape":e.closeOnPressEscape,onClose:I,onSwitch:B},{default:Object(s["withCtx"])(()=>[e.$slots.viewer?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",om,[Object(s["renderSlot"])(e.$slots,"viewer")])):Object(s["createCommentVNode"])("v-if",!0)]),_:3},8,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","url-list","hide-on-click-modal","teleported","close-on-press-escape"])):Object(s["createCommentVNode"])("v-if",!0)],64)):Object(s["createCommentVNode"])("v-if",!0)],6))}});var lm=Object(v["a"])(sm,[["__file","image.vue"]]);const cm=Object(N["a"])(lm),um=Object(c["b"])({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:Number,readonly:Boolean,disabled:Boolean,size:ne["c"],controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:e=>null===e||Object(u["d"])(e)||["min","max"].includes(e),default:null},name:String,label:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(""+e,10)},validateEvent:{type:Boolean,default:!0},...oe(["ariaLabel"])}),dm={[f]:(e,t)=>t!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[h]:e=>Object(u["d"])(e)||Object(q["isNil"])(e),[d]:e=>Object(u["d"])(e)||Object(q["isNil"])(e)},fm=["aria-label","onKeydown"],hm=["aria-label","onKeydown"],pm=Object(s["defineComponent"])({name:"ElInputNumber"}),mm=Object(s["defineComponent"])({...pm,props:um,emits:dm,setup(e,{expose:t,emit:n}){const r=e,{t:a}=Object(Lr["b"])(),o=Object(b["d"])("input-number"),i=Object(s["ref"])(),l=Object(s["reactive"])({currentValue:r.modelValue,userInput:null}),{formItem:c}=be(),p=Object(s["computed"])(()=>Object(u["d"])(r.modelValue)&&r.modelValue<=r.min),m=Object(s["computed"])(()=>Object(u["d"])(r.modelValue)&&r.modelValue>=r.max),v=Object(s["computed"])(()=>{const e=k(r.step);return Object(u["g"])(r.precision)?Math.max(k(r.modelValue),e):(e>r.precision&&Object(y["a"])("InputNumber","precision should not be less than the decimal places of step"),r.precision)}),g=Object(s["computed"])(()=>r.controls&&"right"===r.controlsPosition),O=Oe(),w=we(),_=Object(s["computed"])(()=>{if(null!==l.userInput)return l.userInput;let e=l.currentValue;if(Object(q["isNil"])(e))return"";if(Object(u["d"])(e)){if(Number.isNaN(e))return"";Object(u["g"])(r.precision)||(e=e.toFixed(r.precision))}return e}),j=(e,t)=>{if(Object(u["g"])(t)&&(t=v.value),0===t)return Math.round(e);let n=String(e);const r=n.indexOf(".");if(-1===r)return e;const a=n.replace(".","").split(""),o=a[r+t];if(!o)return e;const i=n.length;return"5"===n.charAt(i-1)&&(n=n.slice(0,Math.max(0,i-1))+"6"),Number.parseFloat(Number(n).toFixed(t))},k=e=>{if(Object(q["isNil"])(e))return 0;const t=e.toString(),n=t.indexOf(".");let r=0;return-1!==n&&(r=t.length-n-1),r},x=(e,t=1)=>Object(u["d"])(e)?j(e+r.step*t):l.currentValue,S=()=>{if(r.readonly||w.value||m.value)return;const e=Number(_.value)||0,t=x(e);A(t),n(h,l.currentValue),R()},C=()=>{if(r.readonly||w.value||p.value)return;const e=Number(_.value)||0,t=x(e,-1);A(t),n(h,l.currentValue),R()},M=(e,t)=>{const{max:a,min:o,step:i,precision:s,stepStrictly:l,valueOnClear:c}=r;a<o&&Object(y["b"])("InputNumber","min should not be greater than max.");let f=Number(e);if(Object(q["isNil"])(e)||Number.isNaN(f))return null;if(""===e){if(null===c)return null;f=Object(te["isString"])(c)?{min:o,max:a}[c]:c}return l&&(f=j(Math.round(f/i)*i,s)),Object(u["g"])(s)||(f=j(f,s)),(f>a||f<o)&&(f=f>a?a:o,t&&n(d,f)),f},A=(e,t=!0)=>{var a;const o=l.currentValue,i=M(e);t?o===i&&e||(l.userInput=null,n(d,i),o!==i&&n(f,i,o),r.validateEvent&&(null==(a=null==c?void 0:c.validate)||a.call(c,"change").catch(e=>Object(y["a"])(e))),l.currentValue=i):n(d,i)},T=e=>{l.userInput=e;const t=""===e?null:Number(e);n(h,t),A(t,!1)},E=e=>{const t=""!==e?Number(e):"";(Object(u["d"])(t)&&!Number.isNaN(t)||""===e)&&A(t),R(),l.userInput=null},L=()=>{var e,t;null==(t=null==(e=i.value)?void 0:e.focus)||t.call(e)},P=()=>{var e,t;null==(t=null==(e=i.value)?void 0:e.blur)||t.call(e)},D=e=>{n("focus",e)},N=e=>{var t;l.userInput=null,n("blur",e),r.validateEvent&&(null==(t=null==c?void 0:c.validate)||t.call(c,"blur").catch(e=>Object(y["a"])(e)))},R=()=>{l.currentValue!==r.modelValue&&(l.currentValue=r.modelValue)},B=e=>{document.activeElement===e.target&&e.preventDefault()};return Object(s["watch"])(()=>r.modelValue,(e,t)=>{const n=M(e,!0);null===l.userInput&&n!==t&&(l.currentValue=n)},{immediate:!0}),Object(s["onMounted"])(()=>{var e;const{min:t,max:a,modelValue:o}=r,s=null==(e=i.value)?void 0:e.input;if(s.setAttribute("role","spinbutton"),Number.isFinite(a)?s.setAttribute("aria-valuemax",String(a)):s.removeAttribute("aria-valuemax"),Number.isFinite(t)?s.setAttribute("aria-valuemin",String(t)):s.removeAttribute("aria-valuemin"),s.setAttribute("aria-valuenow",l.currentValue||0===l.currentValue?String(l.currentValue):""),s.setAttribute("aria-disabled",String(w.value)),!Object(u["d"])(o)&&null!=o){let e=Number(o);Number.isNaN(e)&&(e=null),n(d,e)}s.addEventListener("wheel",B,{passive:!1})}),Object(s["onUpdated"])(()=>{var e,t;const n=null==(e=i.value)?void 0:e.input;null==n||n.setAttribute("aria-valuenow",""+(null!=(t=l.currentValue)?t:""))}),Object(xe["a"])({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-input-number",ref:"https://element-plus.org/en-US/component/input-number.html"},Object(s["computed"])(()=>!!r.label)),t({focus:L,blur:P}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(o).b(),Object(s["unref"])(o).m(Object(s["unref"])(O)),Object(s["unref"])(o).is("disabled",Object(s["unref"])(w)),Object(s["unref"])(o).is("without-controls",!e.controls),Object(s["unref"])(o).is("controls-right",Object(s["unref"])(g))]),onDragstart:t[0]||(t[0]=Object(s["withModifiers"])(()=>{},["prevent"]))},[e.controls?Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:0,role:"button","aria-label":Object(s["unref"])(a)("el.inputNumber.decrease"),class:Object(s["normalizeClass"])([Object(s["unref"])(o).e("decrease"),Object(s["unref"])(o).is("disabled",Object(s["unref"])(p))]),onKeydown:Object(s["withKeys"])(C,["enter"])},[Object(s["renderSlot"])(e.$slots,"decrease-icon",{},()=>[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["unref"])(g)?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(G["ArrowDown"]),{key:0})):(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(G["Minus"]),{key:1}))]),_:1})])],42,fm)),[[Object(s["unref"])(Yu),C]]):Object(s["createCommentVNode"])("v-if",!0),e.controls?Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:1,role:"button","aria-label":Object(s["unref"])(a)("el.inputNumber.increase"),class:Object(s["normalizeClass"])([Object(s["unref"])(o).e("increase"),Object(s["unref"])(o).is("disabled",Object(s["unref"])(m))]),onKeydown:Object(s["withKeys"])(S,["enter"])},[Object(s["renderSlot"])(e.$slots,"increase-icon",{},()=>[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["unref"])(g)?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(G["ArrowUp"]),{key:0})):(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(G["Plus"]),{key:1}))]),_:1})])],42,hm)),[[Object(s["unref"])(Yu),S]]):Object(s["createCommentVNode"])("v-if",!0),Object(s["createVNode"])(Object(s["unref"])(Le),{id:e.id,ref_key:"input",ref:i,type:"number",step:e.step,"model-value":Object(s["unref"])(_),placeholder:e.placeholder,readonly:e.readonly,disabled:Object(s["unref"])(w),size:Object(s["unref"])(O),max:e.max,min:e.min,name:e.name,"aria-label":e.label||e.ariaLabel,"validate-event":!1,onKeydown:[Object(s["withKeys"])(Object(s["withModifiers"])(S,["prevent"]),["up"]),Object(s["withKeys"])(Object(s["withModifiers"])(C,["prevent"]),["down"])],onBlur:N,onFocus:D,onInput:T,onChange:E},null,8,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","onKeydown"])],34))}});var vm=Object(v["a"])(mm,[["__file","input-number.vue"]]);const bm=Object(N["a"])(vm),gm=Object(c["b"])({type:{type:String,values:["primary","success","warning","info","danger","default"],default:"default"},underline:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:F["e"]}}),ym={click:e=>e instanceof MouseEvent},Om=["href","target"],wm=Object(s["defineComponent"])({name:"ElLink"}),_m=Object(s["defineComponent"])({...wm,props:gm,emits:ym,setup(e,{emit:t}){const n=e,r=Object(b["d"])("link"),a=Object(s["computed"])(()=>[r.b(),r.m(n.type),r.is("disabled",n.disabled),r.is("underline",n.underline&&!n.disabled)]);function o(e){n.disabled||t("click",e)}return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("a",{class:Object(s["normalizeClass"])(Object(s["unref"])(a)),href:e.disabled||!e.href?void 0:e.href,target:e.disabled||!e.href?void 0:e.target,onClick:o},[e.icon?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.icon)))]),_:1})):Object(s["createCommentVNode"])("v-if",!0),e.$slots.default?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:1,class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("inner"))},[Object(s["renderSlot"])(e.$slots,"default")],2)):Object(s["createCommentVNode"])("v-if",!0),e.$slots.icon?Object(s["renderSlot"])(e.$slots,"icon",{key:2}):Object(s["createCommentVNode"])("v-if",!0)],10,Om))}});var jm=Object(v["a"])(_m,[["__file","link.vue"]]);const km=Object(N["a"])(jm);class xm{constructor(e,t){this.parent=e,this.domNode=t,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(e){e===this.subMenuItems.length?e=0:e<0&&(e=this.subMenuItems.length-1),this.subMenuItems[e].focus(),this.subIndex=e}addListeners(){const e=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,t=>{t.addEventListener("keydown",t=>{let n=!1;switch(t.code){case vt["a"].down:this.gotoSubIndex(this.subIndex+1),n=!0;break;case vt["a"].up:this.gotoSubIndex(this.subIndex-1),n=!0;break;case vt["a"].tab:Xi(e,"mouseleave");break;case vt["a"].enter:case vt["a"].space:n=!0,t.currentTarget.click();break}return n&&(t.preventDefault(),t.stopPropagation()),!1})})}}class Sm{constructor(e,t){this.domNode=e,this.submenu=null,this.submenu=null,this.init(t)}init(e){this.domNode.setAttribute("tabindex","0");const t=this.domNode.querySelector(`.${e}-menu`);t&&(this.submenu=new xm(this,t)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",e=>{let t=!1;switch(e.code){case vt["a"].down:Xi(e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),t=!0;break;case vt["a"].up:Xi(e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),t=!0;break;case vt["a"].tab:Xi(e.currentTarget,"mouseleave");break;case vt["a"].enter:case vt["a"].space:t=!0,e.currentTarget.click();break}t&&e.preventDefault()})}}class Cm{constructor(e,t){this.domNode=e,this.init(t)}init(e){const t=this.domNode.childNodes;Array.from(t).forEach(t=>{1===t.nodeType&&new Sm(t,e)})}}const Mm=Object(s["defineComponent"])({name:"ElMenuCollapseTransition",setup(){const e=Object(b["d"])("menu"),t={onBeforeEnter:e=>e.style.opacity="0.2",onEnter(t,n){Object(g["a"])(t,e.namespace.value+"-opacity-transition"),t.style.opacity="1",n()},onAfterEnter(t){Object(g["e"])(t,e.namespace.value+"-opacity-transition"),t.style.opacity=""},onBeforeLeave(t){t.dataset||(t.dataset={}),Object(g["d"])(t,e.m("collapse"))?(Object(g["e"])(t,e.m("collapse")),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth.toString(),Object(g["a"])(t,e.m("collapse"))):(Object(g["a"])(t,e.m("collapse")),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth.toString(),Object(g["e"])(t,e.m("collapse"))),t.style.width=t.scrollWidth+"px",t.style.overflow="hidden"},onLeave(e){Object(g["a"])(e,"horizontal-collapse-transition"),e.style.width=e.dataset.scrollWidth+"px"}};return{listeners:t}}});function Am(e,t,n,r,a,o){return Object(s["openBlock"])(),Object(s["createBlock"])(s["Transition"],Object(s["mergeProps"])({mode:"out-in"},e.listeners),{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3},16)}var Tm=Object(v["a"])(Mm,[["render",Am],["__file","menu-collapse-transition.vue"]]);function Em(e,t){const n=Object(s["computed"])(()=>{let n=e.parent;const r=[t.value];while("ElMenu"!==n.type.name)n.props.index&&r.unshift(n.props.index),n=n.parent;return r}),r=Object(s["computed"])(()=>{let t=e.parent;while(t&&!["ElMenu","ElSubMenu"].includes(t.type.name))t=t.parent;return t});return{parentMenu:r,indexPath:n}}function Lm(e){const t=Object(s["computed"])(()=>{const t=e.backgroundColor;return t?new Xr["TinyColor"](t).shade(20).toString():""});return t}const Pm=(e,t)=>{const n=Object(b["d"])("menu");return Object(s["computed"])(()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":Lm(e).value||"","active-color":e.activeTextColor||"",level:""+t}))},Dm=Object(c["b"])({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:F["e"]},expandOpenIcon:{type:F["e"]},collapseCloseIcon:{type:F["e"]},collapseOpenIcon:{type:F["e"]}}),Nm="ElSubMenu";var Rm=Object(s["defineComponent"])({name:Nm,props:Dm,setup(e,{slots:t,expose:n}){const r=Object(s["getCurrentInstance"])(),{indexPath:a,parentMenu:o}=Em(r,Object(s["computed"])(()=>e.index)),i=Object(b["d"])("menu"),c=Object(b["d"])("sub-menu"),u=Object(s["inject"])("rootMenu");u||Object(y["b"])(Nm,"can not inject root menu");const d=Object(s["inject"])("subMenu:"+o.value.uid);d||Object(y["b"])(Nm,"can not inject sub menu");const f=Object(s["ref"])({}),h=Object(s["ref"])({});let p;const m=Object(s["ref"])(!1),v=Object(s["ref"])(),g=Object(s["ref"])(null),O=Object(s["computed"])(()=>"horizontal"===M.value&&_.value?"bottom-start":"right-start"),w=Object(s["computed"])(()=>"horizontal"===M.value&&_.value||"vertical"===M.value&&!u.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?S.value?e.expandOpenIcon:e.expandCloseIcon:G["ArrowDown"]:e.collapseCloseIcon&&e.collapseOpenIcon?S.value?e.collapseOpenIcon:e.collapseCloseIcon:G["ArrowRight"]),_=Object(s["computed"])(()=>0===d.level),j=Object(s["computed"])(()=>{const t=e.teleported;return void 0===t?_.value:t}),k=Object(s["computed"])(()=>u.props.collapse?i.namespace.value+"-zoom-in-left":i.namespace.value+"-zoom-in-top"),x=Object(s["computed"])(()=>"horizontal"===M.value&&_.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),S=Object(s["computed"])(()=>u.openedMenus.includes(e.index)),C=Object(s["computed"])(()=>{let e=!1;return Object.values(f.value).forEach(t=>{t.active&&(e=!0)}),Object.values(h.value).forEach(t=>{t.active&&(e=!0)}),e}),M=Object(s["computed"])(()=>u.props.mode),A=Object(s["reactive"])({index:e.index,indexPath:a,active:C}),T=Pm(u.props,d.level+1),E=Object(s["computed"])(()=>{var t;return null!=(t=e.popperOffset)?t:u.props.popperOffset}),L=Object(s["computed"])(()=>{var t;return null!=(t=e.popperClass)?t:u.props.popperClass}),P=Object(s["computed"])(()=>{var t;return null!=(t=e.showTimeout)?t:u.props.showTimeout}),D=Object(s["computed"])(()=>{var t;return null!=(t=e.hideTimeout)?t:u.props.hideTimeout}),N=()=>{var e,t,n;return null==(n=null==(t=null==(e=g.value)?void 0:e.popperRef)?void 0:t.popperInstanceRef)?void 0:n.destroy()},R=e=>{e||N()},B=()=>{"hover"===u.props.menuTrigger&&"horizontal"===u.props.mode||u.props.collapse&&"vertical"===u.props.mode||e.disabled||u.handleSubMenuClick({index:e.index,indexPath:a.value,active:C.value})},F=(t,n=P.value)=>{var r;"focus"!==t.type&&("click"===u.props.menuTrigger&&"horizontal"===u.props.mode||!u.props.collapse&&"vertical"===u.props.mode||e.disabled?d.mouseInChild.value=!0:(d.mouseInChild.value=!0,null==p||p(),({stop:p}=Object(l["useTimeoutFn"])(()=>{u.openMenu(e.index,a.value)},n)),j.value&&(null==(r=o.value.vnode.el)||r.dispatchEvent(new MouseEvent("mouseenter")))))},V=(t=!1)=>{var n;"click"===u.props.menuTrigger&&"horizontal"===u.props.mode||!u.props.collapse&&"vertical"===u.props.mode?d.mouseInChild.value=!1:(null==p||p(),d.mouseInChild.value=!1,({stop:p}=Object(l["useTimeoutFn"])(()=>!m.value&&u.closeMenu(e.index,a.value),D.value)),j.value&&t&&(null==(n=d.handleMouseleave)||n.call(d,!0)))};Object(s["watch"])(()=>u.props.collapse,e=>R(Boolean(e)));{const e=e=>{h.value[e.index]=e},t=e=>{delete h.value[e.index]};Object(s["provide"])("subMenu:"+r.uid,{addSubMenu:e,removeSubMenu:t,handleMouseleave:V,mouseInChild:m,level:d.level+1})}return n({opened:S}),Object(s["onMounted"])(()=>{u.addSubMenu(A),d.addSubMenu(A)}),Object(s["onBeforeUnmount"])(()=>{d.removeSubMenu(A),u.removeSubMenu(A)}),()=>{var n;const a=[null==(n=t.title)?void 0:n.call(t),Object(s["h"])(I["a"],{class:c.e("icon-arrow"),style:{transform:S.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&u.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>Object(te["isString"])(w.value)?Object(s["h"])(r.appContext.components[w.value]):Object(s["h"])(w.value)})],o=u.isMenuPopup?Object(s["h"])(nr,{ref:g,visible:S.value,effect:"light",pure:!0,offset:E.value,showArrow:!1,persistent:!0,popperClass:L.value,placement:O.value,teleported:j.value,fallbackPlacements:x.value,transition:k.value,gpuAcceleration:!1},{content:()=>{var e;return Object(s["h"])("div",{class:[i.m(M.value),i.m("popup-container"),L.value],onMouseenter:e=>F(e,100),onMouseleave:()=>V(!0),onFocus:e=>F(e,100)},[Object(s["h"])("ul",{class:[i.b(),i.m("popup"),i.m("popup-"+O.value)],style:T.value},[null==(e=t.default)?void 0:e.call(t)])])},default:()=>Object(s["h"])("div",{class:c.e("title"),onClick:B},a)}):Object(s["h"])(s["Fragment"],{},[Object(s["h"])("div",{class:c.e("title"),ref:v,onClick:B},a),Object(s["h"])(tl,{},{default:()=>{var e;return Object(s["withDirectives"])(Object(s["h"])("ul",{role:"menu",class:[i.b(),i.m("inline")],style:T.value},[null==(e=t.default)?void 0:e.call(t)]),[[s["vShow"],S.value]])}})]);return Object(s["h"])("li",{class:[c.b(),c.is("active",C.value),c.is("opened",S.value),c.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:S.value,onMouseenter:F,onMouseleave:()=>V(),onFocus:F},[o])}}});const Im=Object(c["b"])({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:Object(c["c"])(Array),default:()=>Object(re["a"])([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:F["e"],default:()=>G["More"]},popperEffect:{type:String,values:["dark","light"],default:"dark"},popperClass:String,showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300}}),Bm=e=>Array.isArray(e)&&e.every(e=>Object(te["isString"])(e)),Fm={close:(e,t)=>Object(te["isString"])(e)&&Bm(t),open:(e,t)=>Object(te["isString"])(e)&&Bm(t),select:(e,t,n,r)=>Object(te["isString"])(e)&&Bm(t)&&Object(te["isObject"])(n)&&(void 0===r||r instanceof Promise)};var Vm=Object(s["defineComponent"])({name:"ElMenu",props:Im,emits:Fm,setup(e,{emit:t,slots:n,expose:r}){const a=Object(s["getCurrentInstance"])(),o=a.appContext.config.globalProperties.$router,i=Object(s["ref"])(),c=Object(b["d"])("menu"),u=Object(b["d"])("sub-menu"),d=Object(s["ref"])(-1),f=Object(s["ref"])(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),h=Object(s["ref"])(e.defaultActive),p=Object(s["ref"])({}),m=Object(s["ref"])({}),v=Object(s["computed"])(()=>"horizontal"===e.mode||"vertical"===e.mode&&e.collapse),g=()=>{const t=h.value&&p.value[h.value];if(!t||"horizontal"===e.mode||e.collapse)return;const n=t.indexPath;n.forEach(e=>{const t=m.value[e];t&&y(e,t.indexPath)})},y=(n,r)=>{f.value.includes(n)||(e.uniqueOpened&&(f.value=f.value.filter(e=>r.includes(e))),f.value.push(n),t("open",n,r))},O=e=>{const t=f.value.indexOf(e);-1!==t&&f.value.splice(t,1)},w=(e,n)=>{O(e),t("close",e,n)},_=({index:e,indexPath:t})=>{const n=f.value.includes(e);n?w(e,t):y(e,t)},j=n=>{("horizontal"===e.mode||e.collapse)&&(f.value=[]);const{index:r,indexPath:a}=n;if(!Object(q["isNil"])(r)&&!Object(q["isNil"])(a))if(e.router&&o){const e=n.route||r,i=o.push(e).then(e=>(e||(h.value=r),e));t("select",r,a,{index:r,indexPath:a,route:e},i)}else h.value=r,t("select",r,a,{index:r,indexPath:a})},k=t=>{const n=p.value,r=n[t]||h.value&&n[h.value]||n[e.defaultActive];h.value=r?r.index:t},x=e=>{const t=getComputedStyle(e),n=Number.parseInt(t.marginLeft,10),r=Number.parseInt(t.marginRight,10);return e.offsetWidth+n+r||0},S=()=>{var e,t;if(!i.value)return-1;const n=Array.from(null!=(t=null==(e=i.value)?void 0:e.childNodes)?t:[]).filter(e=>"#comment"!==e.nodeName&&("#text"!==e.nodeName||e.nodeValue)),r=64,a=getComputedStyle(i.value),o=Number.parseInt(a.paddingLeft,10),s=Number.parseInt(a.paddingRight,10),l=i.value.clientWidth-o-s;let c=0,u=0;return n.forEach((e,t)=>{c+=x(e),c<=l-r&&(u=t+1)}),u===n.length?-1:u},C=e=>m.value[e].indexPath,M=(e,t=33.34)=>{let n;return()=>{n&&clearTimeout(n),n=setTimeout(()=>{e()},t)}};let A=!0;const T=()=>{if(d.value===S())return;const e=()=>{d.value=-1,Object(s["nextTick"])(()=>{d.value=S()})};A?e():M(e)(),A=!1};let E;Object(s["watch"])(()=>e.defaultActive,e=>{p.value[e]||(h.value=""),k(e)}),Object(s["watch"])(()=>e.collapse,e=>{e&&(f.value=[])}),Object(s["watch"])(p.value,g),Object(s["watchEffect"])(()=>{"horizontal"===e.mode&&e.ellipsis?E=Object(l["useResizeObserver"])(i,T).stop:null==E||E()});const L=Object(s["ref"])(!1);{const t=e=>{m.value[e.index]=e},n=e=>{delete m.value[e.index]},r=e=>{p.value[e.index]=e},o=e=>{delete p.value[e.index]};Object(s["provide"])("rootMenu",Object(s["reactive"])({props:e,openedMenus:f,items:p,subMenus:m,activeIndex:h,isMenuPopup:v,addMenuItem:r,removeMenuItem:o,addSubMenu:t,removeSubMenu:n,openMenu:y,closeMenu:w,handleMenuItemClick:j,handleSubMenuClick:_})),Object(s["provide"])("subMenu:"+a.uid,{addSubMenu:t,removeSubMenu:n,mouseInChild:L,level:0})}Object(s["onMounted"])(()=>{"horizontal"===e.mode&&new Cm(a.vnode.el,c.namespace.value)});{const e=e=>{const{indexPath:t}=m.value[e];t.forEach(e=>y(e,t))};r({open:e,close:O,handleResize:T})}return()=>{var r,a;let o=null!=(a=null==(r=n.default)?void 0:r.call(n))?a:[];const l=[];if("horizontal"===e.mode&&i.value){const t=oo(o),n=-1===d.value?t:t.slice(0,d.value),r=-1===d.value?[]:t.slice(d.value);(null==r?void 0:r.length)&&e.ellipsis&&(o=n,l.push(Object(s["h"])(Rm,{index:"sub-menu-more",class:u.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>Object(s["h"])(I["a"],{class:u.e("icon-more")},{default:()=>Object(s["h"])(e.ellipsisIcon)}),default:()=>r})))}const h=Pm(e,0),p=e.closeOnClickOutside?[[ws,()=>{f.value.length&&(L.value||(f.value.forEach(e=>t("close",e,C(e))),f.value=[]))}]]:[],m=Object(s["withDirectives"])(Object(s["h"])("ul",{key:String(e.collapse),role:"menubar",ref:i,style:h.value,class:{[c.b()]:!0,[c.m(e.mode)]:!0,[c.m("collapse")]:e.collapse}},[...o,...l]),p);return e.collapseTransition&&"vertical"===e.mode?Object(s["h"])(Tm,()=>m):m}}});const zm=Object(c["b"])({index:{type:Object(c["c"])([String,null]),default:null},route:{type:Object(c["c"])([String,Object])},disabled:Boolean}),Hm={click:e=>Object(te["isString"])(e.index)&&Array.isArray(e.indexPath)},Ym="ElMenuItem",Um=Object(s["defineComponent"])({name:Ym,components:{ElTooltip:nr},props:zm,emits:Hm,setup(e,{emit:t}){const n=Object(s["getCurrentInstance"])(),r=Object(s["inject"])("rootMenu"),a=Object(b["d"])("menu"),o=Object(b["d"])("menu-item");r||Object(y["b"])(Ym,"can not inject root menu");const{parentMenu:i,indexPath:l}=Em(n,Object(s["toRef"])(e,"index")),c=Object(s["inject"])("subMenu:"+i.value.uid);c||Object(y["b"])(Ym,"can not inject sub menu");const u=Object(s["computed"])(()=>e.index===r.activeIndex),d=Object(s["reactive"])({index:e.index,indexPath:l,active:u}),f=()=>{e.disabled||(r.handleMenuItemClick({index:e.index,indexPath:l.value,route:e.route}),t("click",d))};return Object(s["onMounted"])(()=>{c.addSubMenu(d),r.addMenuItem(d)}),Object(s["onBeforeUnmount"])(()=>{c.removeSubMenu(d),r.removeMenuItem(d)}),{parentMenu:i,rootMenu:r,active:u,nsMenu:a,nsMenuItem:o,handleClick:f}}});function Wm(e,t,n,r,a,o){const i=Object(s["resolveComponent"])("el-tooltip");return Object(s["openBlock"])(),Object(s["createElementBlock"])("li",{class:Object(s["normalizeClass"])([e.nsMenuItem.b(),e.nsMenuItem.is("active",e.active),e.nsMenuItem.is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:t[0]||(t[0]=(...t)=>e.handleClick&&e.handleClick(...t))},["ElMenu"===e.parentMenu.type.name&&e.rootMenu.props.collapse&&e.$slots.title?(Object(s["openBlock"])(),Object(s["createBlock"])(i,{key:0,effect:e.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"title")]),default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(e.nsMenu.be("tooltip","trigger"))},[Object(s["renderSlot"])(e.$slots,"default")],2)]),_:3},8,["effect"])):(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:1},[Object(s["renderSlot"])(e.$slots,"default"),Object(s["renderSlot"])(e.$slots,"title")],64))],2)}var $m=Object(v["a"])(Um,[["render",Wm],["__file","menu-item.vue"]]);const qm={title:String},Gm="ElMenuItemGroup",Xm=Object(s["defineComponent"])({name:Gm,props:qm,setup(){const e=Object(b["d"])("menu-item-group");return{ns:e}}});function Km(e,t,n,r,a,o){return Object(s["openBlock"])(),Object(s["createElementBlock"])("li",{class:Object(s["normalizeClass"])(e.ns.b())},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(e.ns.e("title"))},[e.$slots.title?Object(s["renderSlot"])(e.$slots,"title",{key:1}):(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:0},[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.title),1)],64))],2),Object(s["createElementVNode"])("ul",null,[Object(s["renderSlot"])(e.$slots,"default")])],2)}var Jm=Object(v["a"])(Xm,[["render",Km],["__file","menu-item-group.vue"]]);const Zm=Object(N["a"])(Vm,{MenuItem:$m,MenuItemGroup:Jm,SubMenu:Rm}),Qm=Object(N["d"])($m),ev=Object(N["d"])(Jm),tv=Object(N["d"])(Rm),nv=Object(c["b"])({icon:{type:F["e"],default:()=>G["Back"]},title:String,content:{type:String,default:""}}),rv={back:()=>!0},av=["aria-label"],ov=Object(s["defineComponent"])({name:"ElPageHeader"}),iv=Object(s["defineComponent"])({...ov,props:nv,emits:rv,setup(e,{emit:t}){const n=Object(s["useSlots"])(),{t:r}=Object(Lr["b"])(),a=Object(b["d"])("page-header"),o=Object(s["computed"])(()=>[a.b(),{[a.m("has-breadcrumb")]:!!n.breadcrumb,[a.m("has-extra")]:!!n.extra,[a.is("contentful")]:!!n.default}]);function i(){t("back")}return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(o))},[e.$slots.breadcrumb?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("breadcrumb"))},[Object(s["renderSlot"])(e.$slots,"breadcrumb")],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("header"))},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("left"))},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("back")),role:"button",tabindex:"0",onClick:i},[e.icon||e.$slots.icon?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,"aria-label":e.title||Object(s["unref"])(r)("el.pageHeader.title"),class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("icon"))},[Object(s["renderSlot"])(e.$slots,"icon",{},()=>[e.icon?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.icon)))]),_:1})):Object(s["createCommentVNode"])("v-if",!0)])],10,av)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("title"))},[Object(s["renderSlot"])(e.$slots,"title",{},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.title||Object(s["unref"])(r)("el.pageHeader.title")),1)])],2)],2),Object(s["createVNode"])(Object(s["unref"])(Af),{direction:"vertical"}),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("content"))},[Object(s["renderSlot"])(e.$slots,"content",{},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.content),1)])],2)],2),e.$slots.extra?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("extra"))},[Object(s["renderSlot"])(e.$slots,"extra")],2)):Object(s["createCommentVNode"])("v-if",!0)],2),e.$slots.default?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("main"))},[Object(s["renderSlot"])(e.$slots,"default")],2)):Object(s["createCommentVNode"])("v-if",!0)],2))}});var sv=Object(v["a"])(iv,[["__file","page-header.vue"]]);const lv=Object(N["a"])(sv),cv=Symbol("elPaginationKey"),uv=Object(c["b"])({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:F["e"]}}),dv={click:e=>e instanceof MouseEvent},fv=["disabled","aria-label","aria-disabled"],hv={key:0},pv=Object(s["defineComponent"])({name:"ElPaginationPrev"}),mv=Object(s["defineComponent"])({...pv,props:uv,emits:dv,setup(e){const t=e,{t:n}=Object(Lr["b"])(),r=Object(s["computed"])(()=>t.disabled||t.currentPage<=1);return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("button",{type:"button",class:"btn-prev",disabled:Object(s["unref"])(r),"aria-label":e.prevText||Object(s["unref"])(n)("el.pagination.prev"),"aria-disabled":Object(s["unref"])(r),onClick:t[0]||(t[0]=t=>e.$emit("click",t))},[e.prevText?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",hv,Object(s["toDisplayString"])(e.prevText),1)):(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:1},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.prevIcon)))]),_:1}))],8,fv))}});var vv=Object(v["a"])(mv,[["__file","prev.vue"]]);const bv=Object(c["b"])({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:F["e"]}}),gv=["disabled","aria-label","aria-disabled"],yv={key:0},Ov=Object(s["defineComponent"])({name:"ElPaginationNext"}),wv=Object(s["defineComponent"])({...Ov,props:bv,emits:["click"],setup(e){const t=e,{t:n}=Object(Lr["b"])(),r=Object(s["computed"])(()=>t.disabled||t.currentPage===t.pageCount||0===t.pageCount);return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("button",{type:"button",class:"btn-next",disabled:Object(s["unref"])(r),"aria-label":e.nextText||Object(s["unref"])(n)("el.pagination.next"),"aria-disabled":Object(s["unref"])(r),onClick:t[0]||(t[0]=t=>e.$emit("click",t))},[e.nextText?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",yv,Object(s["toDisplayString"])(e.nextText),1)):(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:1},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.nextIcon)))]),_:1}))],8,gv))}});var _v=Object(v["a"])(wv,[["__file","next.vue"]]);const jv=Symbol("ElSelectGroup"),kv=Symbol("ElSelect");function xv(e,t){const n=Object(s["inject"])(kv),r=Object(s["inject"])(jv,{disabled:!1}),a=Object(s["computed"])(()=>n.props.multiple?d(n.props.modelValue,e.value):d([n.props.modelValue],e.value)),o=Object(s["computed"])(()=>{if(n.props.multiple){const e=n.props.modelValue||[];return!a.value&&e.length>=n.props.multipleLimit&&n.props.multipleLimit>0}return!1}),i=Object(s["computed"])(()=>e.label||(Object(te["isObject"])(e.value)?"":e.value)),l=Object(s["computed"])(()=>e.value||e.label||""),c=Object(s["computed"])(()=>e.disabled||t.groupDisabled||o.value),u=Object(s["getCurrentInstance"])(),d=(t=[],r)=>{if(Object(te["isObject"])(e.value)){const e=n.props.valueKey;return t&&t.some(t=>Object(s["toRaw"])(Object(q["get"])(t,e))===Object(q["get"])(r,e))}return t&&t.includes(r)},f=()=>{e.disabled||r.disabled||(n.states.hoveringIndex=n.optionsArray.indexOf(u.proxy))},h=n=>{const r=new RegExp(Object(Ri["b"])(n),"i");t.visible=r.test(i.value)||e.created};return Object(s["watch"])(()=>i.value,()=>{e.created||n.props.remote||n.setSelected()}),Object(s["watch"])(()=>e.value,(t,r)=>{const{remote:a,valueKey:o}=n.props;if(Object(q["isEqual"])(t,r)||(n.onOptionDestroy(r,u.proxy),n.onOptionCreate(u.proxy)),!e.created&&!a){if(o&&Object(te["isObject"])(t)&&Object(te["isObject"])(r)&&t[o]===r[o])return;n.setSelected()}}),Object(s["watch"])(()=>r.disabled,()=>{t.groupDisabled=r.disabled},{immediate:!0}),{select:n,currentLabel:i,currentValue:l,itemSelected:a,isDisabled:c,hoverItem:f,updateOption:h}}const Sv=Object(s["defineComponent"])({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:Boolean},setup(e){const t=Object(b["d"])("select"),n=ve(),r=Object(s["computed"])(()=>[t.be("dropdown","item"),t.is("disabled",Object(s["unref"])(l)),t.is("selected",Object(s["unref"])(i)),t.is("hovering",Object(s["unref"])(h))]),a=Object(s["reactive"])({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:o,itemSelected:i,isDisabled:l,select:c,hoverItem:u,updateOption:d}=xv(e,a),{visible:f,hover:h}=Object(s["toRefs"])(a),p=Object(s["getCurrentInstance"])().proxy;function m(){!0!==e.disabled&&!0!==a.groupDisabled&&c.handleOptionSelect(p)}return c.onOptionCreate(p),Object(s["onBeforeUnmount"])(()=>{const e=p.value,{selected:t}=c.states,n=c.props.multiple?t:[t],r=n.some(e=>e.value===p.value);Object(s["nextTick"])(()=>{c.states.cachedOptions.get(e)!==p||r||c.states.cachedOptions.delete(e)}),c.onOptionDestroy(e,p)}),{ns:t,id:n,containerKls:r,currentLabel:o,itemSelected:i,isDisabled:l,select:c,hoverItem:u,updateOption:d,visible:f,hover:h,selectOptionClick:m,states:a}}}),Cv=["id","aria-disabled","aria-selected"];function Mv(e,t,n,r,a,o){return Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("li",{id:e.id,class:Object(s["normalizeClass"])(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMouseenter:t[0]||(t[0]=(...t)=>e.hoverItem&&e.hoverItem(...t)),onClick:t[1]||(t[1]=Object(s["withModifiers"])((...t)=>e.selectOptionClick&&e.selectOptionClick(...t),["stop"]))},[Object(s["renderSlot"])(e.$slots,"default",{},()=>[Object(s["createElementVNode"])("span",null,Object(s["toDisplayString"])(e.currentLabel),1)])],42,Cv)),[[s["vShow"],e.visible]])}var Av=Object(v["a"])(Sv,[["render",Mv],["__file","option.vue"]]);const Tv=Object(s["defineComponent"])({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=Object(s["inject"])(kv),t=Object(b["d"])("select"),n=Object(s["computed"])(()=>e.props.popperClass),r=Object(s["computed"])(()=>e.props.multiple),a=Object(s["computed"])(()=>e.props.fitInputWidth),o=Object(s["ref"])("");function i(){var t;o.value=(null==(t=e.selectRef)?void 0:t.offsetWidth)+"px"}return Object(s["onMounted"])(()=>{i(),Object(l["useResizeObserver"])(e.selectRef,i)}),{ns:t,minWidth:o,popperClass:n,isMultiple:r,isFitInputWidth:a}}});function Ev(e,t,n,r,a,o){return Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:Object(s["normalizeStyle"])({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(e.ns.be("dropdown","header"))},[Object(s["renderSlot"])(e.$slots,"header")],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["renderSlot"])(e.$slots,"default"),e.$slots.footer?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,class:Object(s["normalizeClass"])(e.ns.be("dropdown","footer"))},[Object(s["renderSlot"])(e.$slots,"footer")],2)):Object(s["createCommentVNode"])("v-if",!0)],6)}var Lv=Object(v["a"])(Tv,[["render",Ev],["__file","select-dropdown.vue"]]);function Pv(e){const t=Object(s["ref"])(!1),n=()=>{t.value=!0},r=e=>{const n=e.target.value,r=n[n.length-1]||"";t.value=!ke(r)},a=n=>{t.value&&(t.value=!1,Object(te["isFunction"])(e)&&e(n))};return{handleCompositionStart:n,handleCompositionUpdate:r,handleCompositionEnd:a}}const Dv=11,Nv=(e,t)=>{const{t:n}=Object(Lr["b"])(),r=ve(),a=Object(b["d"])("select"),o=Object(b["d"])("input"),i=Object(s["reactive"])({inputValue:"",options:new Map,cachedOptions:new Map,disabledOptions:new Map,optionValues:[],selected:e.multiple?[]:{},selectionWidth:0,calculatorWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),c=Object(s["ref"])(null),h=Object(s["ref"])(null),p=Object(s["ref"])(null),m=Object(s["ref"])(null),v=Object(s["ref"])(null),g=Object(s["ref"])(null),O=Object(s["ref"])(null),w=Object(s["ref"])(null),_=Object(s["ref"])(null),j=Object(s["ref"])(null),k=Object(s["ref"])(null),x=Object(s["ref"])(null),{wrapperRef:S,isFocused:M,handleFocus:A,handleBlur:T}=_e(v,{afterFocus(){e.automaticDropdown&&!E.value&&(E.value=!0,i.menuVisibleOnFocus=!0)},beforeBlur(e){var t,n;return(null==(t=p.value)?void 0:t.isFocusInsideContent(e))||(null==(n=m.value)?void 0:n.isFocusInsideContent(e))},afterBlur(){E.value=!1,i.menuVisibleOnFocus=!1}}),E=Object(s["ref"])(!1),L=Object(s["ref"])(),{form:P,formItem:D}=be(),{inputId:N}=ge(e,{formItemContext:D}),{valueOnClear:R,isEmptyValue:I}=Object(ms["a"])(e),B=Object(s["computed"])(()=>e.disabled||(null==P?void 0:P.disabled)),V=Object(s["computed"])(()=>e.multiple?Object(te["isArray"])(e.modelValue)&&e.modelValue.length>0:!I(e.modelValue)),z=Object(s["computed"])(()=>e.clearable&&!B.value&&i.inputHovering&&V.value),H=Object(s["computed"])(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),Y=Object(s["computed"])(()=>a.is("reverse",H.value&&E.value)),U=Object(s["computed"])(()=>(null==D?void 0:D.validateState)||""),W=Object(s["computed"])(()=>F["d"][U.value]),$=Object(s["computed"])(()=>e.remote?300:0),G=Object(s["computed"])(()=>e.loading?e.loadingText||n("el.select.loading"):!(e.remote&&!i.inputValue&&0===i.options.size)&&(e.filterable&&i.inputValue&&i.options.size>0&&0===X.value?e.noMatchText||n("el.select.noMatch"):0===i.options.size?e.noDataText||n("el.select.noData"):null)),X=Object(s["computed"])(()=>K.value.filter(e=>e.visible).length),K=Object(s["computed"])(()=>{const e=Array.from(i.options.values()),t=[];return i.optionValues.forEach(n=>{const r=e.findIndex(e=>e.value===n);r>-1&&t.push(e[r])}),t.length>=e.length?t:e}),J=Object(s["computed"])(()=>Array.from(i.cachedOptions.values())),Z=Object(s["computed"])(()=>{const t=K.value.filter(e=>!e.created).some(e=>e.currentLabel===i.inputValue);return e.filterable&&e.allowCreate&&""!==i.inputValue&&!t}),Q=()=>{e.filterable&&Object(te["isFunction"])(e.filterMethod)||e.filterable&&e.remote&&Object(te["isFunction"])(e.remoteMethod)||K.value.forEach(e=>{var t;null==(t=e.updateOption)||t.call(e,i.inputValue)})},ee=Oe(),ne=Object(s["computed"])(()=>["small"].includes(ee.value)?"small":"default"),re=Object(s["computed"])({get(){return E.value&&!1!==G.value},set(e){E.value=e}}),ae=Object(s["computed"])(()=>Object(te["isArray"])(e.modelValue)?0===e.modelValue.length&&!i.inputValue:!e.filterable||!i.inputValue),oe=Object(s["computed"])(()=>{var t;const r=null!=(t=e.placeholder)?t:n("el.select.placeholder");return e.multiple||!V.value?r:i.selectedLabel});Object(s["watch"])(()=>e.modelValue,(t,n)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(i.inputValue="",ie("")),le(),!Object(q["isEqual"])(t,n)&&e.validateEvent&&(null==D||D.validate("change").catch(e=>Object(y["a"])(e)))},{flush:"post",deep:!0}),Object(s["watch"])(()=>E.value,e=>{e?ie(i.inputValue):(i.inputValue="",i.previousQuery=null,i.isBeforeHide=!0),t("visible-change",e)}),Object(s["watch"])(()=>i.options.entries(),()=>{var t;if(!l["isClient"])return;const n=(null==(t=c.value)?void 0:t.querySelectorAll("input"))||[];(e.filterable||e.defaultFirstOption||Object(u["g"])(e.modelValue))&&Array.from(n).includes(document.activeElement)||le(),e.defaultFirstOption&&(e.filterable||e.remote)&&X.value&&se()},{flush:"post"}),Object(s["watch"])(()=>i.hoveringIndex,e=>{Object(u["d"])(e)&&e>-1?L.value=K.value[e]||{}:L.value={},K.value.forEach(e=>{e.hover=L.value===e})}),Object(s["watchEffect"])(()=>{i.isBeforeHide||Q()});const ie=t=>{i.previousQuery!==t&&(i.previousQuery=t,e.filterable&&Object(te["isFunction"])(e.filterMethod)?e.filterMethod(t):e.filterable&&e.remote&&Object(te["isFunction"])(e.remoteMethod)&&e.remoteMethod(t),e.defaultFirstOption&&(e.filterable||e.remote)&&X.value?Object(s["nextTick"])(se):Object(s["nextTick"])(ue))},se=()=>{const e=K.value.filter(e=>e.visible&&!e.disabled&&!e.states.groupDisabled),t=e.find(e=>e.created),n=e[0];i.hoveringIndex=Te(K.value,t||n)},le=()=>{if(!e.multiple){const t=ce(e.modelValue);return i.selectedLabel=t.currentLabel,void(i.selected=t)}i.selectedLabel="";const t=[];Object(te["isArray"])(e.modelValue)&&e.modelValue.forEach(e=>{t.push(ce(e))}),i.selected=t},ce=t=>{let n;const r="object"===Object(te["toRawType"])(t).toLowerCase(),a="null"===Object(te["toRawType"])(t).toLowerCase(),o="undefined"===Object(te["toRawType"])(t).toLowerCase();for(let c=i.cachedOptions.size-1;c>=0;c--){const a=J.value[c],o=r?Object(q["get"])(a.value,e.valueKey)===Object(q["get"])(t,e.valueKey):a.value===t;if(o){n={value:t,currentLabel:a.currentLabel,get isDisabled(){return a.isDisabled}};break}}if(n)return n;const s=r?t.label:a||o?"":t,l={value:t,currentLabel:s};return l},ue=()=>{e.multiple?i.hoveringIndex=K.value.findIndex(e=>i.selected.some(t=>$e(t)===$e(e))):i.hoveringIndex=K.value.findIndex(e=>$e(e)===$e(i.selected))},de=()=>{i.selectionWidth=h.value.getBoundingClientRect().width},fe=()=>{i.calculatorWidth=g.value.getBoundingClientRect().width},he=()=>{i.collapseItemWidth=k.value.getBoundingClientRect().width},pe=()=>{var e,t;null==(t=null==(e=p.value)?void 0:e.updatePopper)||t.call(e)},me=()=>{var e,t;null==(t=null==(e=m.value)?void 0:e.updatePopper)||t.call(e)},ye=()=>{i.inputValue.length>0&&!E.value&&(E.value=!0),ie(i.inputValue)},we=t=>{if(i.inputValue=t.target.value,!e.remote)return ye();je()},je=Object(q["debounce"])(()=>{ye()},$.value),ke=n=>{Object(q["isEqual"])(e.modelValue,n)||t(f,n)},xe=e=>Object(q["findLastIndex"])(e,e=>!i.disabledOptions.has(e)),Se=n=>{if(e.multiple&&n.code!==vt["a"].delete&&n.target.value.length<=0){const n=e.modelValue.slice(),r=xe(n);if(r<0)return;const a=n[r];n.splice(r,1),t(d,n),ke(n),t("remove-tag",a)}},Ce=(n,r)=>{const a=i.selected.indexOf(r);if(a>-1&&!B.value){const n=e.modelValue.slice();n.splice(a,1),t(d,n),ke(n),t("remove-tag",r.value)}n.stopPropagation(),Fe()},Me=n=>{n.stopPropagation();const r=e.multiple?[]:R.value;if(e.multiple)for(const e of i.selected)e.isDisabled&&r.push(e.value);t(d,r),ke(r),i.hoveringIndex=-1,E.value=!1,t("clear"),Fe()},Ae=n=>{if(e.multiple){const r=(e.modelValue||[]).slice(),a=Te(r,n.value);a>-1?r.splice(a,1):(e.multipleLimit<=0||r.length<e.multipleLimit)&&r.push(n.value),t(d,r),ke(r),n.created&&ie(""),e.filterable&&!e.reserveKeyword&&(i.inputValue="")}else t(d,n.value),ke(n.value),E.value=!1;Fe(),E.value||Object(s["nextTick"])(()=>{Ee(n)})},Te=(t=[],n)=>{if(!Object(te["isObject"])(n))return t.indexOf(n);const r=e.valueKey;let a=-1;return t.some((e,t)=>Object(s["toRaw"])(Object(q["get"])(e,r))===Object(q["get"])(n,r)&&(a=t,!0)),a},Ee=e=>{var t,n,r,o,i;const s=Object(te["isArray"])(e)?e[0]:e;let l=null;if(null==s?void 0:s.value){const e=K.value.filter(e=>e.value===s.value);e.length>0&&(l=e[0].$el)}if(p.value&&l){const e=null==(o=null==(r=null==(n=null==(t=p.value)?void 0:t.popperRef)?void 0:n.contentRef)?void 0:r.querySelector)?void 0:o.call(r,"."+a.be("dropdown","wrap"));e&&C(e,l)}null==(i=x.value)||i.handleScroll()},Le=e=>{i.options.set(e.value,e),i.cachedOptions.set(e.value,e),e.disabled&&i.disabledOptions.set(e.value,e)},Pe=(e,t)=>{i.options.get(e)===t&&i.options.delete(e)},{handleCompositionStart:De,handleCompositionUpdate:Ne,handleCompositionEnd:Re}=Pv(e=>we(e)),Ie=Object(s["computed"])(()=>{var e,t;return null==(t=null==(e=p.value)?void 0:e.popperRef)?void 0:t.contentRef}),Be=()=>{i.isBeforeHide=!1,Object(s["nextTick"])(()=>Ee(i.selected))},Fe=()=>{var e;null==(e=v.value)||e.focus()},Ve=()=>{He()},ze=e=>{Me(e)},He=e=>{if(E.value=!1,M.value){const t=new FocusEvent("focus",e);Object(s["nextTick"])(()=>T(t))}},Ye=()=>{i.inputValue.length>0?i.inputValue="":E.value=!1},Ue=()=>{B.value||(i.menuVisibleOnFocus?i.menuVisibleOnFocus=!1:E.value=!E.value)},We=()=>{E.value?K.value[i.hoveringIndex]&&Ae(K.value[i.hoveringIndex]):Ue()},$e=t=>Object(te["isObject"])(t.value)?Object(q["get"])(t.value,e.valueKey):t.value,qe=Object(s["computed"])(()=>K.value.filter(e=>e.visible).every(e=>e.disabled)),Ge=Object(s["computed"])(()=>e.multiple?e.collapseTags?i.selected.slice(0,e.maxCollapseTags):i.selected:[]),Xe=Object(s["computed"])(()=>e.multiple&&e.collapseTags?i.selected.slice(e.maxCollapseTags):[]),Ke=e=>{if(E.value){if(0!==i.options.size&&0!==X.value&&!qe.value){"next"===e?(i.hoveringIndex++,i.hoveringIndex===i.options.size&&(i.hoveringIndex=0)):"prev"===e&&(i.hoveringIndex--,i.hoveringIndex<0&&(i.hoveringIndex=i.options.size-1));const t=K.value[i.hoveringIndex];!0!==t.disabled&&!0!==t.states.groupDisabled&&t.visible||Ke(e),Object(s["nextTick"])(()=>Ee(L.value))}}else E.value=!0},Je=()=>{if(!h.value)return 0;const e=window.getComputedStyle(h.value);return Number.parseFloat(e.gap||"6px")},Ze=Object(s["computed"])(()=>{const t=Je(),n=k.value&&1===e.maxCollapseTags?i.selectionWidth-i.collapseItemWidth-t:i.selectionWidth;return{maxWidth:n+"px"}}),Qe=Object(s["computed"])(()=>({maxWidth:i.selectionWidth+"px"})),et=Object(s["computed"])(()=>({width:Math.max(i.calculatorWidth,Dv)+"px"}));return e.multiple&&!Object(te["isArray"])(e.modelValue)&&t(d,[]),!e.multiple&&Object(te["isArray"])(e.modelValue)&&t(d,""),Object(l["useResizeObserver"])(h,de),Object(l["useResizeObserver"])(g,fe),Object(l["useResizeObserver"])(_,pe),Object(l["useResizeObserver"])(S,pe),Object(l["useResizeObserver"])(j,me),Object(l["useResizeObserver"])(k,he),Object(s["onMounted"])(()=>{le()}),{inputId:N,contentId:r,nsSelect:a,nsInput:o,states:i,isFocused:M,expanded:E,optionsArray:K,hoverOption:L,selectSize:ee,filteredOptionsCount:X,resetCalculatorWidth:fe,updateTooltip:pe,updateTagTooltip:me,debouncedOnInputChange:je,onInput:we,deletePrevTag:Se,deleteTag:Ce,deleteSelected:Me,handleOptionSelect:Ae,scrollToOption:Ee,hasModelValue:V,shouldShowPlaceholder:ae,currentPlaceholder:oe,showClose:z,iconComponent:H,iconReverse:Y,validateState:U,validateIcon:W,showNewOption:Z,updateOptions:Q,collapseTagSize:ne,setSelected:le,selectDisabled:B,emptyText:G,handleCompositionStart:De,handleCompositionUpdate:Ne,handleCompositionEnd:Re,onOptionCreate:Le,onOptionDestroy:Pe,handleMenuEnter:Be,handleFocus:A,focus:Fe,blur:Ve,handleBlur:T,handleClearClick:ze,handleClickOutside:He,handleEsc:Ye,toggleMenu:Ue,selectOption:We,getValueKey:$e,navigateOptions:Ke,dropdownMenuVisible:re,showTagList:Ge,collapseTagList:Xe,tagStyle:Ze,collapseTagStyle:Qe,inputStyle:et,popperRef:Ie,inputRef:v,tooltipRef:p,tagTooltipRef:m,calculatorRef:g,prefixRef:O,suffixRef:w,selectRef:c,wrapperRef:S,selectionRef:h,scrollbarRef:x,menuRef:_,tagMenuRef:j,collapseItemRef:k}};var Rv=Object(s["defineComponent"])({name:"ElOptions",setup(e,{slots:t}){const n=Object(s["inject"])(kv);let r=[];return()=>{var e,a;const o=null==(e=t.default)?void 0:e.call(t),i=[];function s(e){Object(te["isArray"])(e)&&e.forEach(e=>{var t,n,r,a;const o=null==(t=(null==e?void 0:e.type)||{})?void 0:t.name;"ElOptionGroup"===o?s(Object(te["isString"])(e.children)||Object(te["isArray"])(e.children)||!Object(te["isFunction"])(null==(n=e.children)?void 0:n.default)?e.children:null==(r=e.children)?void 0:r.default()):"ElOption"===o?i.push(null==(a=e.props)?void 0:a.value):Object(te["isArray"])(e.children)&&s(e.children)})}return o.length&&s(null==(a=o[0])?void 0:a.children),Object(q["isEqual"])(i,r)||(r=i,n&&(n.states.optionValues=i)),o}}});const Iv=Object(c["b"])({name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:ne["c"],effect:{type:Object(c["c"])(String),default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:Object(c["c"])(Object),default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:pt.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:F["e"],default:G["CircleClose"]},fitInputWidth:Boolean,suffixIcon:{type:F["e"],default:G["ArrowDown"]},tagType:{...cs.type,default:"info"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,placement:{type:Object(c["c"])(String),values:ct["placements"],default:"bottom-start"},fallbackPlacements:{type:Object(c["c"])(Array),default:["bottom-start","top-start","right","left"]},...ms["b"],...oe(["ariaLabel"])}),Bv="ElSelect",Fv=Object(s["defineComponent"])({name:Bv,componentName:Bv,components:{ElInput:Le,ElSelectMenu:Lv,ElOption:Av,ElOptions:Rv,ElTag:ps,ElScrollbar:Ke,ElTooltip:nr,ElIcon:I["a"]},directives:{ClickOutside:ws},props:Iv,emits:[d,f,"remove-tag","clear","visible-change","focus","blur"],setup(e,{emit:t}){const n=Nv(e,t);return Object(s["provide"])(kv,Object(s["reactive"])({props:e,states:n.states,optionsArray:n.optionsArray,handleOptionSelect:n.handleOptionSelect,onOptionCreate:n.onOptionCreate,onOptionDestroy:n.onOptionDestroy,selectRef:n.selectRef,setSelected:n.setSelected})),{...n}}}),Vv=["id","disabled","autocomplete","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label"],zv=["textContent"],Hv={key:1};function Yv(e,t,n,r,a,o){const i=Object(s["resolveComponent"])("el-tag"),l=Object(s["resolveComponent"])("el-tooltip"),c=Object(s["resolveComponent"])("el-icon"),u=Object(s["resolveComponent"])("el-option"),d=Object(s["resolveComponent"])("el-options"),f=Object(s["resolveComponent"])("el-scrollbar"),h=Object(s["resolveComponent"])("el-select-menu"),p=Object(s["resolveDirective"])("click-outside");return Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{ref:"selectRef",class:Object(s["normalizeClass"])([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),onMouseenter:t[16]||(t[16]=t=>e.states.inputHovering=!0),onMouseleave:t[17]||(t[17]=t=>e.states.inputHovering=!1),onClick:t[18]||(t[18]=Object(s["withModifiers"])((...t)=>e.toggleMenu&&e.toggleMenu(...t),["prevent","stop"]))},[Object(s["createVNode"])(l,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,pure:"",trigger:"click",transition:e.nsSelect.namespace.value+"-zoom-in-top","stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,onBeforeShow:e.handleMenuEnter,onHide:t[15]||(t[15]=t=>e.states.isBeforeHide=!1)},{default:Object(s["withCtx"])(()=>{var n;return[Object(s["createElementVNode"])("div",{ref:"wrapperRef",class:Object(s["normalizeClass"])([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)])},[e.$slots.prefix?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,ref:"prefixRef",class:Object(s["normalizeClass"])(e.nsSelect.e("prefix"))},[Object(s["renderSlot"])(e.$slots,"prefix")],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",{ref:"selectionRef",class:Object(s["normalizeClass"])([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?Object(s["renderSlot"])(e.$slots,"tag",{key:0},()=>[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e.showTagList,t=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:e.getValueKey(t),class:Object(s["normalizeClass"])(e.nsSelect.e("selected-item"))},[Object(s["createVNode"])(i,{closable:!e.selectDisabled&&!t.isDisabled,size:e.collapseTagSize,type:e.tagType,"disable-transitions":"",style:Object(s["normalizeStyle"])(e.tagStyle),onClose:n=>e.deleteTag(n,t)},{default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(e.nsSelect.e("tags-text"))},[Object(s["renderSlot"])(e.$slots,"label",{label:t.currentLabel,value:t.value},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(t.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","style","onClose"])],2))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(Object(s["openBlock"])(),Object(s["createBlock"])(l,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:e.teleported},{default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("div",{ref:"collapseItemRef",class:Object(s["normalizeClass"])(e.nsSelect.e("selected-item"))},[Object(s["createVNode"])(i,{closable:!1,size:e.collapseTagSize,type:e.tagType,"disable-transitions":"",style:Object(s["normalizeStyle"])(e.collapseTagStyle)},{default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(e.nsSelect.e("tags-text"))}," + "+Object(s["toDisplayString"])(e.states.selected.length-e.maxCollapseTags),3)]),_:1},8,["size","type","style"])],2)]),content:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("div",{ref:"tagMenuRef",class:Object(s["normalizeClass"])(e.nsSelect.e("selection"))},[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e.collapseTagList,t=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:e.getValueKey(t),class:Object(s["normalizeClass"])(e.nsSelect.e("selected-item"))},[Object(s["createVNode"])(i,{class:"in-tooltip",closable:!e.selectDisabled&&!t.isDisabled,size:e.collapseTagSize,type:e.tagType,"disable-transitions":"",onClose:n=>e.deleteTag(n,t)},{default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(e.nsSelect.e("tags-text"))},[Object(s["renderSlot"])(e.$slots,"label",{label:t.currentLabel,value:t.value},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(t.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","teleported"])):Object(s["createCommentVNode"])("v-if",!0)]):Object(s["createCommentVNode"])("v-if",!0),e.selectDisabled?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,class:Object(s["normalizeClass"])([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable)])},[Object(s["withDirectives"])(Object(s["createElementVNode"])("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":t[0]||(t[0]=t=>e.states.inputValue=t),type:"text",class:Object(s["normalizeClass"])([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:Object(s["normalizeStyle"])(e.inputStyle),role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":(null==(n=e.hoverOption)?void 0:n.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onFocus:t[1]||(t[1]=(...t)=>e.handleFocus&&e.handleFocus(...t)),onBlur:t[2]||(t[2]=(...t)=>e.handleBlur&&e.handleBlur(...t)),onKeydown:[t[3]||(t[3]=Object(s["withKeys"])(Object(s["withModifiers"])(t=>e.navigateOptions("next"),["stop","prevent"]),["down"])),t[4]||(t[4]=Object(s["withKeys"])(Object(s["withModifiers"])(t=>e.navigateOptions("prev"),["stop","prevent"]),["up"])),t[5]||(t[5]=Object(s["withKeys"])(Object(s["withModifiers"])((...t)=>e.handleEsc&&e.handleEsc(...t),["stop","prevent"]),["esc"])),t[6]||(t[6]=Object(s["withKeys"])(Object(s["withModifiers"])((...t)=>e.selectOption&&e.selectOption(...t),["stop","prevent"]),["enter"])),t[7]||(t[7]=Object(s["withKeys"])(Object(s["withModifiers"])((...t)=>e.deletePrevTag&&e.deletePrevTag(...t),["stop"]),["delete"]))],onCompositionstart:t[8]||(t[8]=(...t)=>e.handleCompositionStart&&e.handleCompositionStart(...t)),onCompositionupdate:t[9]||(t[9]=(...t)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...t)),onCompositionend:t[10]||(t[10]=(...t)=>e.handleCompositionEnd&&e.handleCompositionEnd(...t)),onInput:t[11]||(t[11]=(...t)=>e.onInput&&e.onInput(...t)),onClick:t[12]||(t[12]=Object(s["withModifiers"])((...t)=>e.toggleMenu&&e.toggleMenu(...t),["stop"]))},null,46,Vv),[[s["vModelText"],e.states.inputValue]]),e.filterable?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:Object(s["normalizeClass"])(e.nsSelect.e("input-calculator")),textContent:Object(s["toDisplayString"])(e.states.inputValue)},null,10,zv)):Object(s["createCommentVNode"])("v-if",!0)],2)),e.shouldShowPlaceholder?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:2,class:Object(s["normalizeClass"])([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?Object(s["renderSlot"])(e.$slots,"label",{key:0,label:e.currentPlaceholder,value:e.modelValue},()=>[Object(s["createElementVNode"])("span",null,Object(s["toDisplayString"])(e.currentPlaceholder),1)]):(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",Hv,Object(s["toDisplayString"])(e.currentPlaceholder),1))],2)):Object(s["createCommentVNode"])("v-if",!0)],2),Object(s["createElementVNode"])("div",{ref:"suffixRef",class:Object(s["normalizeClass"])(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClose?(Object(s["openBlock"])(),Object(s["createBlock"])(c,{key:0,class:Object(s["normalizeClass"])([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.iconComponent)))]),_:1},8,["class"])):Object(s["createCommentVNode"])("v-if",!0),e.showClose&&e.clearIcon?(Object(s["openBlock"])(),Object(s["createBlock"])(c,{key:1,class:Object(s["normalizeClass"])([e.nsSelect.e("caret"),e.nsSelect.e("icon")]),onClick:e.handleClearClick},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.clearIcon)))]),_:1},8,["class","onClick"])):Object(s["createCommentVNode"])("v-if",!0),e.validateState&&e.validateIcon?(Object(s["openBlock"])(),Object(s["createBlock"])(c,{key:2,class:Object(s["normalizeClass"])([e.nsInput.e("icon"),e.nsInput.e("validateIcon")])},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.validateIcon)))]),_:1},8,["class"])):Object(s["createCommentVNode"])("v-if",!0)],2)],2)]}),content:Object(s["withCtx"])(()=>[Object(s["createVNode"])(h,{ref:"menuRef"},{default:Object(s["withCtx"])(()=>[e.$slots.header?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(e.nsSelect.be("dropdown","header")),onClick:t[13]||(t[13]=Object(s["withModifiers"])(()=>{},["stop"]))},[Object(s["renderSlot"])(e.$slots,"header")],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["withDirectives"])(Object(s["createVNode"])(f,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:Object(s["normalizeClass"])([e.nsSelect.is("empty",0===e.filteredOptionsCount)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},{default:Object(s["withCtx"])(()=>[e.showNewOption?(Object(s["openBlock"])(),Object(s["createBlock"])(u,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):Object(s["createCommentVNode"])("v-if",!0),Object(s["createVNode"])(d,null,{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label"]),[[s["vShow"],e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,class:Object(s["normalizeClass"])(e.nsSelect.be("dropdown","loading"))},[Object(s["renderSlot"])(e.$slots,"loading")],2)):e.loading||0===e.filteredOptionsCount?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:2,class:Object(s["normalizeClass"])(e.nsSelect.be("dropdown","empty"))},[Object(s["renderSlot"])(e.$slots,"empty",{},()=>[Object(s["createElementVNode"])("span",null,Object(s["toDisplayString"])(e.emptyText),1)])],2)):Object(s["createCommentVNode"])("v-if",!0),e.$slots.footer?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:3,class:Object(s["normalizeClass"])(e.nsSelect.be("dropdown","footer")),onClick:t[14]||(t[14]=Object(s["withModifiers"])(()=>{},["stop"]))},[Object(s["renderSlot"])(e.$slots,"footer")],2)):Object(s["createCommentVNode"])("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-options","fallback-placements","effect","transition","persistent","onBeforeShow"])],34)),[[p,e.handleClickOutside,e.popperRef]])}var Uv=Object(v["a"])(Fv,[["render",Yv],["__file","select.vue"]]);const Wv=Object(s["defineComponent"])({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=Object(b["d"])("select"),n=Object(s["ref"])(null),r=Object(s["getCurrentInstance"])(),a=Object(s["ref"])([]);Object(s["provide"])(jv,Object(s["reactive"])({...Object(s["toRefs"])(e)}));const o=Object(s["computed"])(()=>a.value.some(e=>!0===e.visible)),i=e=>{var t,n;return"ElOption"===(null==(t=e.type)?void 0:t.name)&&!!(null==(n=e.component)?void 0:n.proxy)},c=e=>{const t=Object(q["castArray"])(e),n=[];return t.forEach(e=>{var t,r;i(e)?n.push(e.component.proxy):(null==(t=e.children)?void 0:t.length)?n.push(...c(e.children)):(null==(r=e.component)?void 0:r.subTree)&&n.push(...c(e.component.subTree))}),n},u=()=>{a.value=c(r.subTree)};return Object(s["onMounted"])(()=>{u()}),Object(l["useMutationObserver"])(n,u,{attributes:!0,subtree:!0,childList:!0}),{groupRef:n,visible:o,ns:t}}});function $v(e,t,n,r,a,o){return Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("ul",{ref:"groupRef",class:Object(s["normalizeClass"])(e.ns.be("group","wrap"))},[Object(s["createElementVNode"])("li",{class:Object(s["normalizeClass"])(e.ns.be("group","title"))},Object(s["toDisplayString"])(e.label),3),Object(s["createElementVNode"])("li",null,[Object(s["createElementVNode"])("ul",{class:Object(s["normalizeClass"])(e.ns.b("group"))},[Object(s["renderSlot"])(e.$slots,"default")],2)])],2)),[[s["vShow"],e.visible]])}var qv=Object(v["a"])(Wv,[["render",$v],["__file","option-group.vue"]]);const Gv=Object(N["a"])(Uv,{Option:Av,OptionGroup:qv}),Xv=Object(N["d"])(Av),Kv=Object(N["d"])(qv),Jv=()=>Object(s["inject"])(cv,{}),Zv=Object(c["b"])({pageSize:{type:Number,required:!0},pageSizes:{type:Object(c["c"])(Array),default:()=>Object(re["a"])([10,20,30,40,50,100])},popperClass:{type:String},disabled:Boolean,teleported:Boolean,size:{type:String,values:hr["a"]}}),Qv=Object(s["defineComponent"])({name:"ElPaginationSizes"}),eb=Object(s["defineComponent"])({...Qv,props:Zv,emits:["page-size-change"],setup(e,{emit:t}){const n=e,{t:r}=Object(Lr["b"])(),a=Object(b["d"])("pagination"),o=Jv(),i=Object(s["ref"])(n.pageSize);Object(s["watch"])(()=>n.pageSizes,(e,r)=>{if(!Object(q["isEqual"])(e,r)&&Array.isArray(e)){const r=e.includes(n.pageSize)?n.pageSize:n.pageSizes[0];t("page-size-change",r)}}),Object(s["watch"])(()=>n.pageSize,e=>{i.value=e});const l=Object(s["computed"])(()=>n.pageSizes);function c(e){var t;e!==i.value&&(i.value=e,null==(t=o.handleSizeChange)||t.call(o,Number(e)))}return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("sizes"))},[Object(s["createVNode"])(Object(s["unref"])(Gv),{"model-value":i.value,disabled:e.disabled,"popper-class":e.popperClass,size:e.size,teleported:e.teleported,"validate-event":!1,onChange:c},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(Object(s["unref"])(l),e=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(Xv),{key:e,value:e,label:e+Object(s["unref"])(r)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size","teleported"])],2))}});var tb=Object(v["a"])(eb,[["__file","sizes.vue"]]);const nb=Object(c["b"])({size:{type:String,values:hr["a"]}}),rb=["disabled"],ab=Object(s["defineComponent"])({name:"ElPaginationJumper"}),ob=Object(s["defineComponent"])({...ab,props:nb,setup(e){const{t:t}=Object(Lr["b"])(),n=Object(b["d"])("pagination"),{pageCount:r,disabled:a,currentPage:o,changeEvent:i}=Jv(),l=Object(s["ref"])(),c=Object(s["computed"])(()=>{var e;return null!=(e=l.value)?e:null==o?void 0:o.value});function u(e){l.value=e?+e:""}function d(e){e=Math.trunc(+e),null==i||i(e),l.value=void 0}return(e,o)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("jump")),disabled:Object(s["unref"])(a)},[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])([Object(s["unref"])(n).e("goto")])},Object(s["toDisplayString"])(Object(s["unref"])(t)("el.pagination.goto")),3),Object(s["createVNode"])(Object(s["unref"])(Le),{size:e.size,class:Object(s["normalizeClass"])([Object(s["unref"])(n).e("editor"),Object(s["unref"])(n).is("in-pagination")]),min:1,max:Object(s["unref"])(r),disabled:Object(s["unref"])(a),"model-value":Object(s["unref"])(c),"validate-event":!1,"aria-label":Object(s["unref"])(t)("el.pagination.page"),type:"number","onUpdate:modelValue":u,onChange:d},null,8,["size","class","max","disabled","model-value","aria-label"]),Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])([Object(s["unref"])(n).e("classifier")])},Object(s["toDisplayString"])(Object(s["unref"])(t)("el.pagination.pageClassifier")),3)],10,rb))}});var ib=Object(v["a"])(ob,[["__file","jumper.vue"]]);const sb=Object(c["b"])({total:{type:Number,default:1e3}}),lb=["disabled"],cb=Object(s["defineComponent"])({name:"ElPaginationTotal"}),ub=Object(s["defineComponent"])({...cb,props:sb,setup(e){const{t:t}=Object(Lr["b"])(),n=Object(b["d"])("pagination"),{disabled:r}=Jv();return(e,a)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("total")),disabled:Object(s["unref"])(r)},Object(s["toDisplayString"])(Object(s["unref"])(t)("el.pagination.total",{total:e.total})),11,lb))}});var db=Object(v["a"])(ub,[["__file","total.vue"]]);const fb=Object(c["b"])({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),hb=["onKeyup"],pb=["aria-current","aria-label","tabindex"],mb=["tabindex","aria-label"],vb=["aria-current","aria-label","tabindex"],bb=["tabindex","aria-label"],gb=["aria-current","aria-label","tabindex"],yb=Object(s["defineComponent"])({name:"ElPaginationPager"}),Ob=Object(s["defineComponent"])({...yb,props:fb,emits:["change"],setup(e,{emit:t}){const n=e,r=Object(b["d"])("pager"),a=Object(b["d"])("icon"),{t:o}=Object(Lr["b"])(),i=Object(s["ref"])(!1),l=Object(s["ref"])(!1),c=Object(s["ref"])(!1),u=Object(s["ref"])(!1),d=Object(s["ref"])(!1),f=Object(s["ref"])(!1),h=Object(s["computed"])(()=>{const e=n.pagerCount,t=(e-1)/2,r=Number(n.currentPage),a=Number(n.pageCount);let o=!1,i=!1;a>e&&(r>e-t&&(o=!0),r<a-t&&(i=!0));const s=[];if(o&&!i){const t=a-(e-2);for(let e=t;e<a;e++)s.push(e)}else if(!o&&i)for(let n=2;n<e;n++)s.push(n);else if(o&&i){const t=Math.floor(e/2)-1;for(let e=r-t;e<=r+t;e++)s.push(e)}else for(let n=2;n<a;n++)s.push(n);return s}),p=Object(s["computed"])(()=>["more","btn-quickprev",a.b(),r.is("disabled",n.disabled)]),m=Object(s["computed"])(()=>["more","btn-quicknext",a.b(),r.is("disabled",n.disabled)]),v=Object(s["computed"])(()=>n.disabled?-1:0);function g(e=!1){n.disabled||(e?c.value=!0:u.value=!0)}function y(e=!1){e?d.value=!0:f.value=!0}function O(e){const r=e.target;if("li"===r.tagName.toLowerCase()&&Array.from(r.classList).includes("number")){const e=Number(r.textContent);e!==n.currentPage&&t("change",e)}else"li"===r.tagName.toLowerCase()&&Array.from(r.classList).includes("more")&&w(e)}function w(e){const r=e.target;if("ul"===r.tagName.toLowerCase()||n.disabled)return;let a=Number(r.textContent);const o=n.pageCount,i=n.currentPage,s=n.pagerCount-2;r.className.includes("more")&&(r.className.includes("quickprev")?a=i-s:r.className.includes("quicknext")&&(a=i+s)),Number.isNaN(+a)||(a<1&&(a=1),a>o&&(a=o)),a!==i&&t("change",a)}return Object(s["watchEffect"])(()=>{const e=(n.pagerCount-1)/2;i.value=!1,l.value=!1,n.pageCount>n.pagerCount&&(n.currentPage>n.pagerCount-e&&(i.value=!0),n.currentPage<n.pageCount-e&&(l.value=!0))}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("ul",{class:Object(s["normalizeClass"])(Object(s["unref"])(r).b()),onClick:w,onKeyup:Object(s["withKeys"])(O,["enter"])},[e.pageCount>0?(Object(s["openBlock"])(),Object(s["createElementBlock"])("li",{key:0,class:Object(s["normalizeClass"])([[Object(s["unref"])(r).is("active",1===e.currentPage),Object(s["unref"])(r).is("disabled",e.disabled)],"number"]),"aria-current":1===e.currentPage,"aria-label":Object(s["unref"])(o)("el.pagination.currentPage",{pager:1}),tabindex:Object(s["unref"])(v)}," 1 ",10,pb)):Object(s["createCommentVNode"])("v-if",!0),i.value?(Object(s["openBlock"])(),Object(s["createElementBlock"])("li",{key:1,class:Object(s["normalizeClass"])(Object(s["unref"])(p)),tabindex:Object(s["unref"])(v),"aria-label":Object(s["unref"])(o)("el.pagination.prevPages",{pager:e.pagerCount-2}),onMouseenter:t[0]||(t[0]=e=>g(!0)),onMouseleave:t[1]||(t[1]=e=>c.value=!1),onFocus:t[2]||(t[2]=e=>y(!0)),onBlur:t[3]||(t[3]=e=>d.value=!1)},[!c.value&&!d.value||e.disabled?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(G["MoreFilled"]),{key:1})):(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(G["DArrowLeft"]),{key:0}))],42,mb)):Object(s["createCommentVNode"])("v-if",!0),(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(Object(s["unref"])(h),t=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("li",{key:t,class:Object(s["normalizeClass"])([[Object(s["unref"])(r).is("active",e.currentPage===t),Object(s["unref"])(r).is("disabled",e.disabled)],"number"]),"aria-current":e.currentPage===t,"aria-label":Object(s["unref"])(o)("el.pagination.currentPage",{pager:t}),tabindex:Object(s["unref"])(v)},Object(s["toDisplayString"])(t),11,vb))),128)),l.value?(Object(s["openBlock"])(),Object(s["createElementBlock"])("li",{key:2,class:Object(s["normalizeClass"])(Object(s["unref"])(m)),tabindex:Object(s["unref"])(v),"aria-label":Object(s["unref"])(o)("el.pagination.nextPages",{pager:e.pagerCount-2}),onMouseenter:t[4]||(t[4]=e=>g()),onMouseleave:t[5]||(t[5]=e=>u.value=!1),onFocus:t[6]||(t[6]=e=>y()),onBlur:t[7]||(t[7]=e=>f.value=!1)},[!u.value&&!f.value||e.disabled?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(G["MoreFilled"]),{key:1})):(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(G["DArrowRight"]),{key:0}))],42,bb)):Object(s["createCommentVNode"])("v-if",!0),e.pageCount>1?(Object(s["openBlock"])(),Object(s["createElementBlock"])("li",{key:3,class:Object(s["normalizeClass"])([[Object(s["unref"])(r).is("active",e.currentPage===e.pageCount),Object(s["unref"])(r).is("disabled",e.disabled)],"number"]),"aria-current":e.currentPage===e.pageCount,"aria-label":Object(s["unref"])(o)("el.pagination.currentPage",{pager:e.pageCount}),tabindex:Object(s["unref"])(v)},Object(s["toDisplayString"])(e.pageCount),11,gb)):Object(s["createCommentVNode"])("v-if",!0)],42,hb))}});var wb=Object(v["a"])(Ob,[["__file","pager.vue"]]);const _b=e=>"number"!==typeof e,jb=Object(c["b"])({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>Object(u["d"])(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:Object(c["c"])(Array),default:()=>Object(re["a"])([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:F["e"],default:()=>G["ArrowLeft"]},nextText:{type:String,default:""},nextIcon:{type:F["e"],default:()=>G["ArrowRight"]},teleported:{type:Boolean,default:!0},small:Boolean,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean}),kb={"update:current-page":e=>Object(u["d"])(e),"update:page-size":e=>Object(u["d"])(e),"size-change":e=>Object(u["d"])(e),change:(e,t)=>Object(u["d"])(e)&&Object(u["d"])(t),"current-change":e=>Object(u["d"])(e),"prev-click":e=>Object(u["d"])(e),"next-click":e=>Object(u["d"])(e)},xb="ElPagination";var Sb=Object(s["defineComponent"])({name:xb,props:jb,emits:kb,setup(e,{emit:t,slots:n}){const{t:r}=Object(Lr["b"])(),a=Object(b["d"])("pagination"),o=Object(s["getCurrentInstance"])().vnode.props||{},i="onUpdate:currentPage"in o||"onUpdate:current-page"in o||"onCurrentChange"in o,l="onUpdate:pageSize"in o||"onUpdate:page-size"in o||"onSizeChange"in o,c=Object(s["computed"])(()=>{if(_b(e.total)&&_b(e.pageCount))return!1;if(!_b(e.currentPage)&&!i)return!1;if(e.layout.includes("sizes"))if(_b(e.pageCount)){if(!_b(e.total)&&!_b(e.pageSize)&&!l)return!1}else if(!l)return!1;return!0}),u=Object(s["ref"])(_b(e.defaultPageSize)?10:e.defaultPageSize),d=Object(s["ref"])(_b(e.defaultCurrentPage)?1:e.defaultCurrentPage),f=Object(s["computed"])({get(){return _b(e.pageSize)?u.value:e.pageSize},set(n){_b(e.pageSize)&&(u.value=n),l&&(t("update:page-size",n),t("size-change",n))}}),h=Object(s["computed"])(()=>{let t=0;return _b(e.pageCount)?_b(e.total)||(t=Math.max(1,Math.ceil(e.total/f.value))):t=e.pageCount,t}),p=Object(s["computed"])({get(){return _b(e.currentPage)?d.value:e.currentPage},set(n){let r=n;n<1?r=1:n>h.value&&(r=h.value),_b(e.currentPage)&&(d.value=r),i&&(t("update:current-page",r),t("current-change",r))}});function m(e){p.value=e}function v(e){f.value=e;const t=h.value;p.value>t&&(p.value=t)}function g(){e.disabled||(p.value-=1,t("prev-click",p.value))}function O(){e.disabled||(p.value+=1,t("next-click",p.value))}function w(e,t){e&&(e.props||(e.props={}),e.props.class=[e.props.class,t].join(" "))}return Object(s["watch"])(h,e=>{p.value>e&&(p.value=e)}),Object(s["watch"])([p,f],e=>{t("change",...e)},{flush:"post"}),Object(s["provide"])(cv,{pageCount:h,disabled:Object(s["computed"])(()=>e.disabled),currentPage:p,changeEvent:m,handleSizeChange:v}),()=>{var t,o;if(!c.value)return Object(y["a"])(xb,r("el.pagination.deprecationWarning")),null;if(!e.layout)return null;if(e.hideOnSinglePage&&h.value<=1)return null;const i=[],l=[],u=Object(s["h"])("div",{class:a.e("rightwrapper")},l),d={prev:Object(s["h"])(vv,{disabled:e.disabled,currentPage:p.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:g}),jumper:Object(s["h"])(ib,{size:e.small?"small":"default"}),pager:Object(s["h"])(wb,{currentPage:p.value,pageCount:h.value,pagerCount:e.pagerCount,onChange:m,disabled:e.disabled}),next:Object(s["h"])(_v,{disabled:e.disabled,currentPage:p.value,pageCount:h.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:O}),sizes:Object(s["h"])(tb,{pageSize:f.value,pageSizes:e.pageSizes,popperClass:e.popperClass,disabled:e.disabled,teleported:e.teleported,size:e.small?"small":"default"}),slot:null!=(o=null==(t=null==n?void 0:n.default)?void 0:t.call(n))?o:null,total:Object(s["h"])(db,{total:_b(e.total)?0:e.total})},v=e.layout.split(",").map(e=>e.trim());let b=!1;return v.forEach(e=>{"->"!==e?b?l.push(d[e]):i.push(d[e]):b=!0}),w(i[0],a.is("first")),w(i[i.length-1],a.is("last")),b&&l.length>0&&(w(l[0],a.is("first")),w(l[l.length-1],a.is("last")),i.push(u)),Object(s["h"])("div",{class:[a.b(),a.is("background",e.background),{[a.m("small")]:e.small}]},i)}}});const Cb=Object(N["a"])(Sb),Mb=Object(c["b"])({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:Wr,default:"primary"},cancelButtonType:{type:String,values:Wr,default:"text"},icon:{type:F["e"],default:()=>G["QuestionFilled"]},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1},hideAfter:{type:Number,default:200},teleported:pt.teleported,persistent:pt.persistent,width:{type:[String,Number],default:150}}),Ab={confirm:e=>e instanceof MouseEvent,cancel:e=>e instanceof MouseEvent},Tb=Object(s["defineComponent"])({name:"ElPopconfirm"}),Eb=Object(s["defineComponent"])({...Tb,props:Mb,emits:Ab,setup(e,{emit:t}){const n=e,{t:r}=Object(Lr["b"])(),a=Object(b["d"])("popconfirm"),o=Object(s["ref"])(),i=()=>{var e,t;null==(t=null==(e=o.value)?void 0:e.onClose)||t.call(e)},l=Object(s["computed"])(()=>({width:Object(g["b"])(n.width)})),c=e=>{t("confirm",e),i()},u=e=>{t("cancel",e),i()},d=Object(s["computed"])(()=>n.confirmButtonText||r("el.popconfirm.confirmButtonText")),f=Object(s["computed"])(()=>n.cancelButtonText||r("el.popconfirm.cancelButtonText"));return(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(nr),Object(s["mergeProps"])({ref_key:"tooltipRef",ref:o,trigger:"click",effect:"light"},e.$attrs,{"popper-class":Object(s["unref"])(a).namespace.value+"-popover","popper-style":Object(s["unref"])(l),teleported:e.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":e.hideAfter,persistent:e.persistent}),{content:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).b())},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("main"))},[!e.hideIcon&&e.icon?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("icon")),style:Object(s["normalizeStyle"])({color:e.iconColor})},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.icon)))]),_:1},8,["class","style"])):Object(s["createCommentVNode"])("v-if",!0),Object(s["createTextVNode"])(" "+Object(s["toDisplayString"])(e.title),1)],2),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("action"))},[Object(s["createVNode"])(Object(s["unref"])(oa),{size:"small",type:"text"===e.cancelButtonType?"":e.cancelButtonType,text:"text"===e.cancelButtonType,onClick:u},{default:Object(s["withCtx"])(()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(Object(s["unref"])(f)),1)]),_:1},8,["type","text"]),Object(s["createVNode"])(Object(s["unref"])(oa),{size:"small",type:"text"===e.confirmButtonType?"":e.confirmButtonType,text:"text"===e.confirmButtonType,onClick:c},{default:Object(s["withCtx"])(()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(Object(s["unref"])(d)),1)]),_:1},8,["type","text"])],2)],2)]),default:Object(s["withCtx"])(()=>[e.$slots.reference?Object(s["renderSlot"])(e.$slots,"reference",{key:0}):Object(s["createCommentVNode"])("v-if",!0)]),_:3},16,["popper-class","popper-style","teleported","hide-after","persistent"]))}});var Lb=Object(v["a"])(Eb,[["__file","popconfirm.vue"]]);const Pb=Object(N["a"])(Lb),Db=Object(c["b"])({trigger:bt.trigger,placement:Gf.placement,disabled:bt.disabled,visible:pt.visible,transition:pt.transition,popperOptions:Gf.popperOptions,tabindex:Gf.tabindex,content:pt.content,popperStyle:pt.popperStyle,popperClass:pt.popperClass,enterable:{...pt.enterable,default:!0},effect:{...pt.effect,default:"light"},teleported:pt.teleported,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),Nb={"update:visible":e=>Object(u["a"])(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},Rb="onUpdate:visible",Ib=Object(s["defineComponent"])({name:"ElPopover"}),Bb=Object(s["defineComponent"])({...Ib,props:Db,emits:Nb,setup(e,{expose:t,emit:n}){const r=e,a=Object(s["computed"])(()=>r[Rb]),o=Object(b["d"])("popover"),i=Object(s["ref"])(),l=Object(s["computed"])(()=>{var e;return null==(e=Object(s["unref"])(i))?void 0:e.popperRef}),c=Object(s["computed"])(()=>[{width:Object(g["b"])(r.width)},r.popperStyle]),u=Object(s["computed"])(()=>[o.b(),r.popperClass,{[o.m("plain")]:!!r.content}]),d=Object(s["computed"])(()=>r.transition===o.namespace.value+"-fade-in-linear"),f=()=>{var e;null==(e=i.value)||e.hide()},h=()=>{n("before-enter")},p=()=>{n("before-leave")},m=()=>{n("after-enter")},v=()=>{n("update:visible",!1),n("after-leave")};return t({popperRef:l,hide:f}),(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(nr),Object(s["mergeProps"])({ref_key:"tooltipRef",ref:i},e.$attrs,{trigger:e.trigger,placement:e.placement,disabled:e.disabled,visible:e.visible,transition:e.transition,"popper-options":e.popperOptions,tabindex:e.tabindex,content:e.content,offset:e.offset,"show-after":e.showAfter,"hide-after":e.hideAfter,"auto-close":e.autoClose,"show-arrow":e.showArrow,"aria-label":e.title,effect:e.effect,enterable:e.enterable,"popper-class":Object(s["unref"])(u),"popper-style":Object(s["unref"])(c),teleported:e.teleported,persistent:e.persistent,"gpu-acceleration":Object(s["unref"])(d),"onUpdate:visible":Object(s["unref"])(a),onBeforeShow:h,onBeforeHide:p,onShow:m,onHide:v}),{content:Object(s["withCtx"])(()=>[e.title?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(o).e("title")),role:"title"},Object(s["toDisplayString"])(e.title),3)):Object(s["createCommentVNode"])("v-if",!0),Object(s["renderSlot"])(e.$slots,"default",{},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.content),1)])]),default:Object(s["withCtx"])(()=>[e.$slots.reference?Object(s["renderSlot"])(e.$slots,"reference",{key:0}):Object(s["createCommentVNode"])("v-if",!0)]),_:3},16,["trigger","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","persistent","gpu-acceleration","onUpdate:visible"]))}});var Fb=Object(v["a"])(Bb,[["__file","popover.vue"]]);const Vb=(e,t)=>{const n=t.arg||t.value,r=null==n?void 0:n.popperRef;r&&(r.triggerRef=e)};var zb={mounted(e,t){Vb(e,t)},updated(e,t){Vb(e,t)}};const Hb="popover",Yb=Object(N["b"])(zb,Hb),Ub=Object(N["a"])(Fb,{directive:Yb}),Wb=Object(c["b"])({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:{type:Boolean,default:!1},duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:Object(c["c"])(String),default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:Object(c["c"])([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:Object(c["c"])(Function),default:e=>e+"%"}}),$b=["aria-valuenow"],qb={viewBox:"0 0 100 100"},Gb=["d","stroke","stroke-linecap","stroke-width"],Xb=["d","stroke","opacity","stroke-linecap","stroke-width"],Kb={key:0},Jb=Object(s["defineComponent"])({name:"ElProgress"}),Zb=Object(s["defineComponent"])({...Jb,props:Wb,setup(e){const t=e,n={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},r=Object(b["d"])("progress"),a=Object(s["computed"])(()=>({width:t.percentage+"%",animationDuration:t.duration+"s",background:O(t.percentage)})),o=Object(s["computed"])(()=>(t.strokeWidth/t.width*100).toFixed(1)),i=Object(s["computed"])(()=>["circle","dashboard"].includes(t.type)?Number.parseInt(""+(50-Number.parseFloat(o.value)/2),10):0),l=Object(s["computed"])(()=>{const e=i.value,n="dashboard"===t.type;return`\n          M 50 50\n          m 0 ${n?"":"-"}${e}\n          a ${e} ${e} 0 1 1 0 ${n?"-":""}${2*e}\n          a ${e} ${e} 0 1 1 0 ${n?"":"-"}${2*e}\n          `}),c=Object(s["computed"])(()=>2*Math.PI*i.value),u=Object(s["computed"])(()=>"dashboard"===t.type?.75:1),d=Object(s["computed"])(()=>{const e=-1*c.value*(1-u.value)/2;return e+"px"}),f=Object(s["computed"])(()=>({strokeDasharray:`${c.value*u.value}px, ${c.value}px`,strokeDashoffset:d.value})),h=Object(s["computed"])(()=>({strokeDasharray:`${c.value*u.value*(t.percentage/100)}px, ${c.value}px`,strokeDashoffset:d.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),p=Object(s["computed"])(()=>{let e;return e=t.color?O(t.percentage):n[t.status]||n.default,e}),m=Object(s["computed"])(()=>"warning"===t.status?G["WarningFilled"]:"line"===t.type?"success"===t.status?G["CircleCheck"]:G["CircleClose"]:"success"===t.status?G["Check"]:G["Close"]),v=Object(s["computed"])(()=>"line"===t.type?12+.4*t.strokeWidth:.111111*t.width+2),g=Object(s["computed"])(()=>t.format(t.percentage));function y(e){const t=100/e.length,n=e.map((e,n)=>Object(te["isString"])(e)?{color:e,percentage:(n+1)*t}:e);return n.sort((e,t)=>e.percentage-t.percentage)}const O=e=>{var n;const{color:r}=t;if(Object(te["isFunction"])(r))return r(e);if(Object(te["isString"])(r))return r;{const t=y(r);for(const n of t)if(n.percentage>e)return n.color;return null==(n=t[t.length-1])?void 0:n.color}};return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(r).b(),Object(s["unref"])(r).m(e.type),Object(s["unref"])(r).is(e.status),{[Object(s["unref"])(r).m("without-text")]:!e.showText,[Object(s["unref"])(r).m("text-inside")]:e.textInside}]),role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"},["line"===e.type?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(r).b("bar"))},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(r).be("bar","outer")),style:Object(s["normalizeStyle"])({height:e.strokeWidth+"px"})},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(r).be("bar","inner"),{[Object(s["unref"])(r).bem("bar","inner","indeterminate")]:e.indeterminate},{[Object(s["unref"])(r).bem("bar","inner","striped")]:e.striped},{[Object(s["unref"])(r).bem("bar","inner","striped-flow")]:e.stripedFlow}]),style:Object(s["normalizeStyle"])(Object(s["unref"])(a))},[(e.showText||e.$slots.default)&&e.textInside?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(r).be("bar","innerText"))},[Object(s["renderSlot"])(e.$slots,"default",{percentage:e.percentage},()=>[Object(s["createElementVNode"])("span",null,Object(s["toDisplayString"])(Object(s["unref"])(g)),1)])],2)):Object(s["createCommentVNode"])("v-if",!0)],6)],6)],2)):(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,class:Object(s["normalizeClass"])(Object(s["unref"])(r).b("circle")),style:Object(s["normalizeStyle"])({height:e.width+"px",width:e.width+"px"})},[(Object(s["openBlock"])(),Object(s["createElementBlock"])("svg",qb,[Object(s["createElementVNode"])("path",{class:Object(s["normalizeClass"])(Object(s["unref"])(r).be("circle","track")),d:Object(s["unref"])(l),stroke:`var(${Object(s["unref"])(r).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":e.strokeLinecap,"stroke-width":Object(s["unref"])(o),fill:"none",style:Object(s["normalizeStyle"])(Object(s["unref"])(f))},null,14,Gb),Object(s["createElementVNode"])("path",{class:Object(s["normalizeClass"])(Object(s["unref"])(r).be("circle","path")),d:Object(s["unref"])(l),stroke:Object(s["unref"])(p),fill:"none",opacity:e.percentage?1:0,"stroke-linecap":e.strokeLinecap,"stroke-width":Object(s["unref"])(o),style:Object(s["normalizeStyle"])(Object(s["unref"])(h))},null,14,Xb)]))],6)),!e.showText&&!e.$slots.default||e.textInside?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:2,class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("text")),style:Object(s["normalizeStyle"])({fontSize:Object(s["unref"])(v)+"px"})},[Object(s["renderSlot"])(e.$slots,"default",{percentage:e.percentage},()=>[e.status?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:1},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(Object(s["unref"])(m))))]),_:1})):(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",Kb,Object(s["toDisplayString"])(Object(s["unref"])(g)),1))])],6))],10,$b))}});var Qb=Object(v["a"])(Zb,[["__file","progress.vue"]]);const eg=Object(N["a"])(Qb),tg=Object(c["b"])({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:Object(c["c"])([Array,Object]),default:()=>Object(re["a"])(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:Object(c["c"])([Array,Object]),default:()=>[G["StarFilled"],G["StarFilled"],G["StarFilled"]]},voidIcon:{type:F["e"],default:()=>G["Star"]},disabledVoidIcon:{type:F["e"],default:()=>G["StarFilled"]},disabled:Boolean,allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:Object(c["c"])(Array),default:()=>Object(re["a"])(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:ne["c"],label:{type:String,default:void 0},clearable:{type:Boolean,default:!1},...oe(["ariaLabel"])}),ng={[f]:e=>Object(u["d"])(e),[d]:e=>Object(u["d"])(e)},rg=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"],ag=["onMousemove","onClick"],og=Object(s["defineComponent"])({name:"ElRate"}),ig=Object(s["defineComponent"])({...og,props:tg,emits:ng,setup(e,{expose:t,emit:n}){const r=e;function a(e,t){const n=e=>Object(te["isObject"])(e),r=Object.keys(t).map(e=>+e).filter(r=>{const a=t[r],o=!!n(a)&&a.excluded;return o?e<r:e<=r}).sort((e,t)=>e-t),a=t[r[0]];return n(a)&&a.value||a}const o=Object(s["inject"])(de,void 0),i=Object(s["inject"])(fe,void 0),l=Oe(),c=Object(b["d"])("rate"),{inputId:u,isLabeledByFormItem:f}=ge(r,{formItemContext:i}),h=Object(s["ref"])(r.modelValue),p=Object(s["ref"])(-1),m=Object(s["ref"])(!0),v=Object(s["computed"])(()=>[c.b(),c.m(l.value)]),y=Object(s["computed"])(()=>r.disabled||(null==o?void 0:o.disabled)),O=Object(s["computed"])(()=>c.cssVarBlock({"void-color":r.voidColor,"disabled-void-color":r.disabledVoidColor,"fill-color":k.value})),w=Object(s["computed"])(()=>{let e="";return r.showScore?e=r.scoreTemplate.replace(/\{\s*value\s*\}/,y.value?""+r.modelValue:""+h.value):r.showText&&(e=r.texts[Math.ceil(h.value)-1]),e}),_=Object(s["computed"])(()=>100*r.modelValue-100*Math.floor(r.modelValue)),j=Object(s["computed"])(()=>Object(te["isArray"])(r.colors)?{[r.lowThreshold]:r.colors[0],[r.highThreshold]:{value:r.colors[1],excluded:!0},[r.max]:r.colors[2]}:r.colors),k=Object(s["computed"])(()=>{const e=a(h.value,j.value);return Object(te["isObject"])(e)?"":e}),x=Object(s["computed"])(()=>{let e="";return y.value?e=_.value+"%":r.allowHalf&&(e="50%"),{color:k.value,width:e}}),S=Object(s["computed"])(()=>{let e=Object(te["isArray"])(r.icons)?[...r.icons]:{...r.icons};return e=Object(s["markRaw"])(e),Object(te["isArray"])(e)?{[r.lowThreshold]:e[0],[r.highThreshold]:{value:e[1],excluded:!0},[r.max]:e[2]}:e}),C=Object(s["computed"])(()=>a(r.modelValue,S.value)),M=Object(s["computed"])(()=>y.value?Object(te["isString"])(r.disabledVoidIcon)?r.disabledVoidIcon:Object(s["markRaw"])(r.disabledVoidIcon):Object(te["isString"])(r.voidIcon)?r.voidIcon:Object(s["markRaw"])(r.voidIcon)),A=Object(s["computed"])(()=>a(h.value,S.value));function T(e){const t=y.value&&_.value>0&&e-1<r.modelValue&&e>r.modelValue,n=r.allowHalf&&m.value&&e-.5<=h.value&&e>h.value;return t||n}function E(e){r.clearable&&e===r.modelValue&&(e=0),n(d,e),r.modelValue!==e&&n("change",e)}function L(e){y.value||(r.allowHalf&&m.value?E(h.value):E(e))}function P(e){if(y.value)return;let t=h.value;const a=e.code;return a===vt["a"].up||a===vt["a"].right?(r.allowHalf?t+=.5:t+=1,e.stopPropagation(),e.preventDefault()):a!==vt["a"].left&&a!==vt["a"].down||(r.allowHalf?t-=.5:t-=1,e.stopPropagation(),e.preventDefault()),t=t<0?0:t,t=t>r.max?r.max:t,n(d,t),n("change",t),t}function D(e,t){if(!y.value){if(r.allowHalf&&t){let n=t.target;Object(g["d"])(n,c.e("item"))&&(n=n.querySelector("."+c.e("icon"))),(0===n.clientWidth||Object(g["d"])(n,c.e("decimal")))&&(n=n.parentNode),m.value=2*t.offsetX<=n.clientWidth,h.value=m.value?e-.5:e}else h.value=e;p.value=e}}function N(){y.value||(r.allowHalf&&(m.value=r.modelValue!==Math.floor(r.modelValue)),h.value=r.modelValue,p.value=-1)}return Object(s["watch"])(()=>r.modelValue,e=>{h.value=e,m.value=r.modelValue!==Math.floor(r.modelValue)}),r.modelValue||n(d,0),Object(xe["a"])({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-rate",ref:"https://element-plus.org/en-US/component/rate.html"},Object(s["computed"])(()=>!!r.label)),t({setCurrentValue:D,resetCurrentValue:N}),(e,t)=>{var n;return Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{id:Object(s["unref"])(u),class:Object(s["normalizeClass"])([Object(s["unref"])(v),Object(s["unref"])(c).is("disabled",Object(s["unref"])(y))]),role:"slider","aria-label":Object(s["unref"])(f)?void 0:e.label||e.ariaLabel||"rating","aria-labelledby":Object(s["unref"])(f)?null==(n=Object(s["unref"])(i))?void 0:n.labelId:void 0,"aria-valuenow":h.value,"aria-valuetext":Object(s["unref"])(w)||void 0,"aria-valuemin":"0","aria-valuemax":e.max,tabindex:"0",style:Object(s["normalizeStyle"])(Object(s["unref"])(O)),onKeydown:P},[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e.max,(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:t,class:Object(s["normalizeClass"])(Object(s["unref"])(c).e("item")),onMousemove:t=>D(e,t),onMouseleave:N,onClick:t=>L(e)},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),{class:Object(s["normalizeClass"])([Object(s["unref"])(c).e("icon"),{hover:p.value===e},Object(s["unref"])(c).is("active",e<=h.value)])},{default:Object(s["withCtx"])(()=>[T(e)?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:0},[Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(Object(s["unref"])(A)),null,null,512)),[[s["vShow"],e<=h.value]]),Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(Object(s["unref"])(M)),null,null,512)),[[s["vShow"],!(e<=h.value)]])],64)),T(e)?(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:1},[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(Object(s["unref"])(M)),{class:Object(s["normalizeClass"])([Object(s["unref"])(c).em("decimal","box")])},null,8,["class"])),Object(s["createVNode"])(Object(s["unref"])(I["a"]),{style:Object(s["normalizeStyle"])(Object(s["unref"])(x)),class:Object(s["normalizeClass"])([Object(s["unref"])(c).e("icon"),Object(s["unref"])(c).e("decimal")])},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(Object(s["unref"])(C))))]),_:1},8,["style","class"])],64)):Object(s["createCommentVNode"])("v-if",!0)]),_:2},1032,["class"])],42,ag))),128)),e.showText||e.showScore?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(c).e("text")),style:Object(s["normalizeStyle"])({color:e.textColor})},Object(s["toDisplayString"])(Object(s["unref"])(w)),7)):Object(s["createCommentVNode"])("v-if",!0)],46,rg)}}});var sg=Object(v["a"])(ig,[["__file","rate.vue"]]);const lg=Object(N["a"])(sg),cg={success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},ug={[cg.success]:G["CircleCheckFilled"],[cg.warning]:G["WarningFilled"],[cg.error]:G["CircleCloseFilled"],[cg.info]:G["InfoFilled"]},dg=Object(c["b"])({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["success","warning","info","error"],default:"info"}}),fg=Object(s["defineComponent"])({name:"ElResult"}),hg=Object(s["defineComponent"])({...fg,props:dg,setup(e){const t=e,n=Object(b["d"])("result"),r=Object(s["computed"])(()=>{const e=t.icon,n=e&&cg[e]?cg[e]:"icon-info",r=ug[n]||ug["icon-info"];return{class:n,component:r}});return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(n).b())},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("icon"))},[Object(s["renderSlot"])(e.$slots,"icon",{},()=>[Object(s["unref"])(r).component?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(Object(s["unref"])(r).component),{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(r).class)},null,8,["class"])):Object(s["createCommentVNode"])("v-if",!0)])],2),e.title||e.$slots.title?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("title"))},[Object(s["renderSlot"])(e.$slots,"title",{},()=>[Object(s["createElementVNode"])("p",null,Object(s["toDisplayString"])(e.title),1)])],2)):Object(s["createCommentVNode"])("v-if",!0),e.subTitle||e.$slots["sub-title"]?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("subtitle"))},[Object(s["renderSlot"])(e.$slots,"sub-title",{},()=>[Object(s["createElementVNode"])("p",null,Object(s["toDisplayString"])(e.subTitle),1)])],2)):Object(s["createCommentVNode"])("v-if",!0),e.$slots.extra?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:2,class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("extra"))},[Object(s["renderSlot"])(e.$slots,"extra")],2)):Object(s["createCommentVNode"])("v-if",!0)],2))}});var pg=Object(v["a"])(hg,[["__file","result.vue"]]);const mg=Object(N["a"])(pg),vg=["start","center","end","space-around","space-between","space-evenly"],bg=["top","middle","bottom"],gg=Object(c["b"])({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:vg,default:"start"},align:{type:String,values:bg}}),yg=Object(s["defineComponent"])({name:"ElRow"}),Og=Object(s["defineComponent"])({...yg,props:gg,setup(e){const t=e,n=Object(b["d"])("row"),r=Object(s["computed"])(()=>t.gutter);Object(s["provide"])(Bs,{gutter:r});const a=Object(s["computed"])(()=>{const e={};return t.gutter?(e.marginRight=e.marginLeft=`-${t.gutter/2}px`,e):e}),o=Object(s["computed"])(()=>[n.b(),n.is("justify-"+t.justify,"start"!==t.justify),n.is("align-"+t.align,!!t.align)]);return(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.tag),{class:Object(s["normalizeClass"])(Object(s["unref"])(o)),style:Object(s["normalizeStyle"])(Object(s["unref"])(a))},{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3},8,["class","style"]))}});var wg=Object(v["a"])(Og,[["__file","row.vue"]]);const _g=Object(N["a"])(wg),jg=Object(s["defineComponent"])({props:{item:{type:Object,required:!0},style:Object,height:Number},setup(){const e=Object(b["d"])("select");return{ns:e}}});function kg(e,t,n,r,a,o){return Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])(e.ns.be("group","title")),style:Object(s["normalizeStyle"])([e.style,{lineHeight:e.height+"px"}])},Object(s["toDisplayString"])(e.item.label),7)}var xg=Object(v["a"])(jg,[["render",kg],["__file","group-item.vue"]]);function Sg(e,{emit:t}){return{hoverItem:()=>{e.disabled||t("hover",e.index)},selectOptionClick:()=>{e.disabled||t("select",e.item,e.index)}}}const Cg={label:"label",value:"value",disabled:"disabled",options:"options"};function Mg(e){const t=Object(s["computed"])(()=>({...Cg,...e.props})),n=e=>Object(q["get"])(e,t.value.label),r=e=>Object(q["get"])(e,t.value.value),a=e=>Object(q["get"])(e,t.value.disabled),o=e=>Object(q["get"])(e,t.value.options);return{aliasProps:t,getLabel:n,getValue:r,getDisabled:a,getOptions:o}}const Ag=Object(c["b"])({allowCreate:Boolean,autocomplete:{type:Object(c["c"])(String),default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:F["e"],default:G["CircleClose"]},effect:{type:Object(c["c"])(String),default:"light"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:Boolean,estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:Function,height:{type:Number,default:274},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,modelValue:{type:Object(c["c"])([Array,String,Number,Boolean,Object])},multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:Function,reserveKeyword:{type:Boolean,default:!0},options:{type:Object(c["c"])(Array),required:!0},placeholder:{type:String},teleported:pt.teleported,persistent:{type:Boolean,default:!0},popperClass:{type:String,default:""},popperOptions:{type:Object(c["c"])(Object),default:()=>({})},remote:Boolean,size:ne["c"],props:{type:Object(c["c"])(Object),default:()=>Cg},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:Boolean,validateEvent:{type:Boolean,default:!0},placement:{type:Object(c["c"])(String),values:ct["placements"],default:"bottom-start"},fallbackPlacements:{type:Object(c["c"])(Array),default:["bottom-start","top-start","right","left"]},tagType:{...cs.type,default:"info"},...ms["b"],...oe(["ariaLabel"])}),Tg=Object(c["b"])({data:Array,disabled:Boolean,hovering:Boolean,item:{type:Object(c["c"])(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),Eg=Symbol("ElSelectV2Injection"),Lg=Object(s["defineComponent"])({props:Tg,emits:["select","hover"],setup(e,{emit:t}){const n=Object(s["inject"])(Eg),r=Object(b["d"])("select"),{hoverItem:a,selectOptionClick:o}=Sg(e,{emit:t}),{getLabel:i}=Mg(n.props);return{ns:r,hoverItem:a,selectOptionClick:o,getLabel:i}}}),Pg=["aria-selected"];function Dg(e,t,n,r,a,o){return Object(s["openBlock"])(),Object(s["createElementBlock"])("li",{"aria-selected":e.selected,style:Object(s["normalizeStyle"])(e.style),class:Object(s["normalizeClass"])([e.ns.be("dropdown","item"),e.ns.is("selected",e.selected),e.ns.is("disabled",e.disabled),e.ns.is("created",e.created),e.ns.is("hovering",e.hovering)]),onMouseenter:t[0]||(t[0]=(...t)=>e.hoverItem&&e.hoverItem(...t)),onClick:t[1]||(t[1]=Object(s["withModifiers"])((...t)=>e.selectOptionClick&&e.selectOptionClick(...t),["stop"]))},[Object(s["renderSlot"])(e.$slots,"default",{item:e.item,index:e.index,disabled:e.disabled},()=>[Object(s["createElementVNode"])("span",null,Object(s["toDisplayString"])(e.getLabel(e.item)),1)])],46,Pg)}var Ng=Object(v["a"])(Lg,[["render",Dg],["__file","option-item.vue"]]),Rg=n("a0bf"),Ig=n.n(Rg);const Bg=()=>{const e=Object(s["getCurrentInstance"])(),t=e.proxy.$props;return Object(s["computed"])(()=>{const e=(e,t,n)=>({});return t.perfMode?Object(q["memoize"])(e):Ig()(e)})},Fg=50,Vg="itemRendered",zg="scroll",Hg="forward",Yg="backward",Ug="auto",Wg="smart",$g="start",qg="center",Gg="end",Xg="horizontal",Kg="vertical",Jg="ltr",Zg="rtl",Qg="negative",ey="positive-ascending",ty="positive-descending",ny={[Xg]:"left",[Kg]:"top"},ry=20,ay={[Xg]:"deltaX",[Kg]:"deltaY"},oy=({atEndEdge:e,atStartEdge:t,layout:n},r)=>{let a,o=0;const i=n=>{const r=n<0&&t.value||n>0&&e.value;return r},s=e=>{_(a);const t=e[ay[n.value]];i(o)&&i(o+t)||(o+=t,Object(X["a"])()||e.preventDefault(),a=w(()=>{r(o),o=0}))};return{hasReachedEdge:i,onWheel:s}},iy=Object(c["a"])({type:Object(c["c"])([Number,Function]),required:!0}),sy=Object(c["a"])({type:Number}),ly=Object(c["a"])({type:Number,default:2}),cy=Object(c["a"])({type:String,values:["ltr","rtl"],default:"ltr"}),uy=Object(c["a"])({type:Number,default:0}),dy=Object(c["a"])({type:Number,required:!0}),fy=Object(c["a"])({type:String,values:["horizontal","vertical"],default:Kg}),hy=Object(c["b"])({className:{type:String,default:""},containerElement:{type:Object(c["c"])([String,Object]),default:"div"},data:{type:Object(c["c"])(Array),default:()=>Object(re["a"])([])},direction:cy,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},style:{type:Object(c["c"])([Object,String,Array])},useIsScrolling:{type:Boolean,default:!1},width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:{type:Boolean,default:!1}}),py=Object(c["b"])({cache:ly,estimatedItemSize:sy,layout:fy,initScrollOffset:uy,total:dy,itemSize:iy,...hy}),my={type:Number,default:6},vy={type:Number,default:0},by={type:Number,default:2},gy=Object(c["b"])({columnCache:ly,columnWidth:iy,estimatedColumnWidth:sy,estimatedRowHeight:sy,initScrollLeft:uy,initScrollTop:uy,itemKey:{type:Object(c["c"])(Function),default:({columnIndex:e,rowIndex:t})=>`${t}:${e}`},rowCache:ly,rowHeight:iy,totalColumn:dy,totalRow:dy,hScrollbarSize:my,vScrollbarSize:my,scrollbarStartGap:vy,scrollbarEndGap:by,role:String,...hy}),yy=Object(c["b"])({alwaysOn:Boolean,class:String,layout:fy,total:dy,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize:my,startGap:vy,endGap:by,visible:Boolean}),Oy=(e,t)=>e<t?Hg:Yg,wy=e=>e===Jg||e===Zg||e===Xg,_y=e=>e===Zg;let jy=null;function ky(e=!1){if(null===jy||e){const e=document.createElement("div"),t=e.style;t.width="50px",t.height="50px",t.overflow="scroll",t.direction="rtl";const n=document.createElement("div"),r=n.style;return r.width="100px",r.height="100px",e.appendChild(n),document.body.appendChild(e),e.scrollLeft>0?jy=ty:(e.scrollLeft=1,jy=0===e.scrollLeft?Qg:ey),document.body.removeChild(e),jy}return jy}function xy({move:e,size:t,bar:n},r){const a={},o=`translate${n.axis}(${e}px)`;return a[n.size]=t,a.transform=o,a.msTransform=o,a.webkitTransform=o,"horizontal"===r?a.height="100%":a.width="100%",a}const Sy=Object(s["defineComponent"])({name:"ElVirtualScrollBar",props:yy,emits:["scroll","start-move","stop-move"],setup(e,{emit:t}){const n=Object(s["computed"])(()=>e.startGap+e.endGap),r=Object(b["d"])("virtual-scrollbar"),a=Object(b["d"])("scrollbar"),o=Object(s["ref"])(),i=Object(s["ref"])();let l=null,c=null;const u=Object(s["reactive"])({isDragging:!1,traveled:0}),d=Object(s["computed"])(()=>De[e.layout]),f=Object(s["computed"])(()=>e.clientSize-Object(s["unref"])(n)),h=Object(s["computed"])(()=>({position:"absolute",width:(Xg===e.layout?f.value:e.scrollbarSize)+"px",height:(Xg===e.layout?e.scrollbarSize:f.value)+"px",[ny[e.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),p=Object(s["computed"])(()=>{const t=e.ratio,n=e.clientSize;if(t>=100)return Number.POSITIVE_INFINITY;if(t>=50)return t*n/100;const r=n/3;return Math.floor(Math.min(Math.max(t*n,ry),r))}),m=Object(s["computed"])(()=>{if(!Number.isFinite(p.value))return{display:"none"};const t=p.value+"px",n=xy({bar:d.value,size:t,move:u.traveled},e.layout);return n}),v=Object(s["computed"])(()=>Math.floor(e.clientSize-p.value-Object(s["unref"])(n))),g=()=>{window.addEventListener("mousemove",k),window.addEventListener("mouseup",j);const e=Object(s["unref"])(i);e&&(c=document.onselectstart,document.onselectstart=()=>!1,e.addEventListener("touchmove",k),e.addEventListener("touchend",j))},y=()=>{window.removeEventListener("mousemove",k),window.removeEventListener("mouseup",j),document.onselectstart=c,c=null;const e=Object(s["unref"])(i);e&&(e.removeEventListener("touchmove",k),e.removeEventListener("touchend",j))},O=e=>{e.stopImmediatePropagation(),e.ctrlKey||[1,2].includes(e.button)||(u.isDragging=!0,u[d.value.axis]=e.currentTarget[d.value.offset]-(e[d.value.client]-e.currentTarget.getBoundingClientRect()[d.value.direction]),t("start-move"),g())},j=()=>{u.isDragging=!1,u[d.value.axis]=0,t("stop-move"),y()},k=n=>{const{isDragging:r}=u;if(!r)return;if(!i.value||!o.value)return;const a=u[d.value.axis];if(!a)return;_(l);const s=-1*(o.value.getBoundingClientRect()[d.value.direction]-n[d.value.client]),c=i.value[d.value.offset]-a,f=s-c;l=w(()=>{u.traveled=Math.max(e.startGap,Math.min(f,v.value)),t("scroll",f,v.value)})},x=e=>{const n=Math.abs(e.target.getBoundingClientRect()[d.value.direction]-e[d.value.client]),r=i.value[d.value.offset]/2,a=n-r;u.traveled=Math.max(0,Math.min(a,v.value)),t("scroll",a,v.value)};return Object(s["watch"])(()=>e.scrollFrom,e=>{u.isDragging||(u.traveled=Math.ceil(e*v.value))}),Object(s["onBeforeUnmount"])(()=>{y()}),()=>Object(s["h"])("div",{role:"presentation",ref:o,class:[r.b(),e.class,(e.alwaysOn||u.isDragging)&&"always-on"],style:h.value,onMousedown:Object(s["withModifiers"])(x,["stop","prevent"]),onTouchstartPrevent:O},Object(s["h"])("div",{ref:i,class:a.e("thumb"),style:m.value,onMousedown:O},[]))}}),Cy=({name:e,getOffset:t,getItemSize:n,getItemOffset:r,getEstimatedTotalSize:a,getStartIndexForOffset:o,getStopIndexForStartIndex:i,initCache:c,clearCache:d,validateProps:f})=>Object(s["defineComponent"])({name:null!=e?e:"ElVirtualList",props:py,emits:[Vg,zg],setup(e,{emit:h,expose:p}){f(e);const m=Object(s["getCurrentInstance"])(),v=Object(b["d"])("vl"),g=Object(s["ref"])(c(e,m)),y=Bg(),O=Object(s["ref"])(),w=Object(s["ref"])(),_=Object(s["ref"])(),j=Object(s["ref"])({isScrolling:!1,scrollDir:"forward",scrollOffset:Object(u["d"])(e.initScrollOffset)?e.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:e.scrollbarAlwaysOn}),k=Object(s["computed"])(()=>{const{total:t,cache:n}=e,{isScrolling:r,scrollDir:a,scrollOffset:l}=Object(s["unref"])(j);if(0===t)return[0,0,0,0];const c=o(e,l,Object(s["unref"])(g)),u=i(e,c,l,Object(s["unref"])(g)),d=r&&a!==Yg?1:Math.max(1,n),f=r&&a!==Hg?1:Math.max(1,n);return[Math.max(0,c-d),Math.max(0,Math.min(t-1,u+f)),c,u]}),x=Object(s["computed"])(()=>a(e,Object(s["unref"])(g))),S=Object(s["computed"])(()=>wy(e.layout)),C=Object(s["computed"])(()=>[{position:"relative",["overflow-"+(S.value?"x":"y")]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:e.direction,height:Object(u["d"])(e.height)?e.height+"px":e.height,width:Object(u["d"])(e.width)?e.width+"px":e.width},e.style]),M=Object(s["computed"])(()=>{const e=Object(s["unref"])(x),t=Object(s["unref"])(S);return{height:t?"100%":e+"px",pointerEvents:Object(s["unref"])(j).isScrolling?"none":void 0,width:t?e+"px":"100%"}}),A=Object(s["computed"])(()=>S.value?e.width:e.height),{onWheel:T}=oy({atStartEdge:Object(s["computed"])(()=>j.value.scrollOffset<=0),atEndEdge:Object(s["computed"])(()=>j.value.scrollOffset>=x.value),layout:Object(s["computed"])(()=>e.layout)},e=>{var t,n;null==(n=(t=_.value).onMouseUp)||n.call(t),R(Math.min(j.value.scrollOffset+e,x.value-A.value))}),E=()=>{const{total:t}=e;if(t>0){const[e,t,n,r]=Object(s["unref"])(k);h(Vg,e,t,n,r)}const{scrollDir:n,scrollOffset:r,updateRequested:a}=Object(s["unref"])(j);h(zg,n,r,a)},L=e=>{const{clientHeight:t,scrollHeight:n,scrollTop:r}=e.currentTarget,a=Object(s["unref"])(j);if(a.scrollOffset===r)return;const o=Math.max(0,Math.min(r,n-t));j.value={...a,isScrolling:!0,scrollDir:Oy(a.scrollOffset,o),scrollOffset:o,updateRequested:!1},Object(s["nextTick"])(F)},P=t=>{const{clientWidth:n,scrollLeft:r,scrollWidth:a}=t.currentTarget,o=Object(s["unref"])(j);if(o.scrollOffset===r)return;const{direction:i}=e;let l=r;if(i===Zg)switch(ky()){case Qg:l=-r;break;case ty:l=a-n-r;break}l=Math.max(0,Math.min(l,a-n)),j.value={...o,isScrolling:!0,scrollDir:Oy(o.scrollOffset,l),scrollOffset:l,updateRequested:!1},Object(s["nextTick"])(F)},D=e=>{Object(s["unref"])(S)?P(e):L(e),E()},N=(e,t)=>{const n=(x.value-A.value)/t*e;R(Math.min(x.value-A.value,n))},R=e=>{e=Math.max(e,0),e!==Object(s["unref"])(j).scrollOffset&&(j.value={...Object(s["unref"])(j),scrollOffset:e,scrollDir:Oy(Object(s["unref"])(j).scrollOffset,e),updateRequested:!0},Object(s["nextTick"])(F))},I=(n,r=Ug)=>{const{scrollOffset:a}=Object(s["unref"])(j);n=Math.max(0,Math.min(n,e.total-1)),R(t(e,n,r,a,Object(s["unref"])(g)))},B=t=>{const{direction:a,itemSize:o,layout:i}=e,l=y.value(d&&o,d&&i,d&&a);let c;if(Object(te["hasOwn"])(l,String(t)))c=l[t];else{const o=r(e,t,Object(s["unref"])(g)),i=n(e,t,Object(s["unref"])(g)),u=Object(s["unref"])(S),d=a===Zg,f=u?o:0;l[t]=c={position:"absolute",left:d?void 0:f+"px",right:d?f+"px":void 0,top:u?0:o+"px",height:u?"100%":i+"px",width:u?i+"px":"100%"}}return c},F=()=>{j.value.isScrolling=!1,Object(s["nextTick"])(()=>{y.value(-1,null,null)})},V=()=>{const e=O.value;e&&(e.scrollTop=0)};Object(s["onMounted"])(()=>{if(!l["isClient"])return;const{initScrollOffset:t}=e,n=Object(s["unref"])(O);Object(u["d"])(t)&&n&&(Object(s["unref"])(S)?n.scrollLeft=t:n.scrollTop=t),E()}),Object(s["onUpdated"])(()=>{const{direction:t,layout:n}=e,{scrollOffset:r,updateRequested:a}=Object(s["unref"])(j),o=Object(s["unref"])(O);if(a&&o)if(n===Xg)if(t===Zg)switch(ky()){case Qg:o.scrollLeft=-r;break;case ey:o.scrollLeft=r;break;default:{const{clientWidth:e,scrollWidth:t}=o;o.scrollLeft=t-e-r;break}}else o.scrollLeft=r;else o.scrollTop=r});const z={ns:v,clientSize:A,estimatedTotalSize:x,windowStyle:C,windowRef:O,innerRef:w,innerStyle:M,itemsToRender:k,scrollbarRef:_,states:j,getItemStyle:B,onScroll:D,onScrollbarScroll:N,onWheel:T,scrollTo:R,scrollToItem:I,resetScrollTop:V};return p({windowRef:O,innerRef:w,getItemStyleCache:y,scrollTo:R,scrollToItem:I,resetScrollTop:V,states:j}),z},render(e){var t;const{$slots:n,className:r,clientSize:a,containerElement:o,data:i,getItemStyle:l,innerElement:c,itemsToRender:u,innerStyle:d,layout:f,total:h,onScroll:p,onScrollbarScroll:m,onWheel:v,states:b,useIsScrolling:g,windowStyle:y,ns:O}=e,[w,_]=u,j=Object(s["resolveDynamicComponent"])(o),k=Object(s["resolveDynamicComponent"])(c),x=[];if(h>0)for(let s=w;s<=_;s++)x.push(null==(t=n.default)?void 0:t.call(n,{data:i,key:s,index:s,isScrolling:g?b.isScrolling:void 0,style:l(s)}));const S=[Object(s["h"])(k,{style:d,ref:"innerRef"},Object(te["isString"])(k)?x:{default:()=>x})],C=Object(s["h"])(Sy,{ref:"scrollbarRef",clientSize:a,layout:f,onScroll:m,ratio:100*a/this.estimatedTotalSize,scrollFrom:b.scrollOffset/(this.estimatedTotalSize-a),total:h}),M=Object(s["h"])(j,{class:[O.e("window"),r],style:y,onScroll:p,onWheel:v,ref:"windowRef",key:0},Object(te["isString"])(j)?[S]:{default:()=>[S]});return Object(s["h"])("div",{key:0,class:[O.e("wrapper"),b.scrollbarAlwaysOn?"always-on":""]},[M,C])}}),My=Cy({name:"ElFixedSizeList",getItemOffset:({itemSize:e},t)=>t*e,getItemSize:({itemSize:e})=>e,getEstimatedTotalSize:({total:e,itemSize:t})=>t*e,getOffset:({height:e,total:t,itemSize:n,layout:r,width:a},o,i,s)=>{const l=wy(r)?a:e;const c=Math.max(0,t*n-l),u=Math.min(c,o*n),d=Math.max(0,(o+1)*n-l);switch(i===Wg&&(i=s>=d-l&&s<=u+l?Ug:qg),i){case $g:return u;case Gg:return d;case qg:{const e=Math.round(d+(u-d)/2);return e<Math.ceil(l/2)?0:e>c+Math.floor(l/2)?c:e}case Ug:default:return s>=d&&s<=u?s:s<d?d:u}},getStartIndexForOffset:({total:e,itemSize:t},n)=>Math.max(0,Math.min(e-1,Math.floor(n/t))),getStopIndexForStartIndex:({height:e,total:t,itemSize:n,layout:r,width:a},o,i)=>{const s=o*n,l=wy(r)?a:e,c=Math.ceil((l+i-s)/n);return Math.max(0,Math.min(t-1,o+c-1))},initCache(){},clearCache:!0,validateProps(){}}),Ay=(e,t,n)=>{const{itemSize:r}=e,{items:a,lastVisitedIndex:o}=n;if(t>o){let e=0;if(o>=0){const t=a[o];e=t.offset+t.size}for(let n=o+1;n<=t;n++){const t=r(n);a[n]={offset:e,size:t},e+=t}n.lastVisitedIndex=t}return a[t]},Ty=(e,t,n)=>{const{items:r,lastVisitedIndex:a}=t,o=a>0?r[a].offset:0;return o>=n?Ey(e,t,0,a,n):Ly(e,t,Math.max(0,a),n)},Ey=(e,t,n,r,a)=>{while(n<=r){const o=n+Math.floor((r-n)/2),i=Ay(e,o,t).offset;if(i===a)return o;i<a?n=o+1:i>a&&(r=o-1)}return Math.max(0,n-1)},Ly=(e,t,n,r)=>{const{total:a}=e;let o=1;while(n<a&&Ay(e,n,t).offset<r)n+=o,o*=2;return Ey(e,t,Math.floor(n/2),Math.min(n,a-1),r)},Py=({total:e},{items:t,estimatedItemSize:n,lastVisitedIndex:r})=>{let a=0;if(r>=e&&(r=e-1),r>=0){const e=t[r];a=e.offset+e.size}const o=e-r-1,i=o*n;return a+i},Dy=Cy({name:"ElDynamicSizeList",getItemOffset:(e,t,n)=>Ay(e,t,n).offset,getItemSize:(e,t,{items:n})=>n[t].size,getEstimatedTotalSize:Py,getOffset:(e,t,n,r,a)=>{const{height:o,layout:i,width:s}=e,l=wy(i)?s:o,c=Ay(e,t,a),u=Py(e,a),d=Math.max(0,Math.min(u-l,c.offset)),f=Math.max(0,c.offset-l+c.size);switch(n===Wg&&(n=r>=f-l&&r<=d+l?Ug:qg),n){case $g:return d;case Gg:return f;case qg:return Math.round(f+(d-f)/2);case Ug:default:return r>=f&&r<=d?r:r<f?f:d}},getStartIndexForOffset:(e,t,n)=>Ty(e,n,t),getStopIndexForStartIndex:(e,t,n,r)=>{const{height:a,total:o,layout:i,width:s}=e,l=wy(i)?s:a,c=Ay(e,t,r),u=n+l;let d=c.offset+c.size,f=t;while(f<o-1&&d<u)f++,d+=Ay(e,f,r).size;return f},initCache({estimatedItemSize:e=Fg},t){const n={items:{},estimatedItemSize:e,lastVisitedIndex:-1,clearCacheAfterIndex:(e,r=!0)=>{var a,o;n.lastVisitedIndex=Math.min(n.lastVisitedIndex,e-1),null==(a=t.exposed)||a.getItemStyleCache(-1),r&&(null==(o=t.proxy)||o.$forceUpdate())}};return n},clearCache:!1,validateProps:({itemSize:e})=>{0}});var Ny=Object(s["defineComponent"])({name:"ElSelectDropdown",props:{loading:Boolean,data:{type:Array,required:!0},hoveringIndex:Number,width:Number},setup(e,{slots:t,expose:n}){const r=Object(s["inject"])(Eg),a=Object(b["d"])("select"),{getLabel:o,getValue:i,getDisabled:l}=Mg(r.props),c=Object(s["ref"])([]),d=Object(s["ref"])(),f=Object(s["computed"])(()=>e.data.length);Object(s["watch"])(()=>f.value,()=>{var e,t;null==(t=(e=r.tooltipRef.value).updatePopper)||t.call(e)});const h=Object(s["computed"])(()=>Object(u["g"])(r.props.estimatedOptionHeight)),p=Object(s["computed"])(()=>h.value?{itemSize:r.props.itemHeight}:{estimatedSize:r.props.estimatedOptionHeight,itemSize:e=>c.value[e]}),m=(e=[],t)=>{const{props:{valueKey:n}}=r;return Object(te["isObject"])(t)?e&&e.some(e=>Object(s["toRaw"])(Object(q["get"])(e,n))===Object(q["get"])(t,n)):e.includes(t)},v=(e,t)=>{if(Object(te["isObject"])(t)){const{valueKey:n}=r.props;return Object(q["get"])(e,n)===Object(q["get"])(t,n)}return e===t},g=(e,t)=>r.props.multiple?m(e,i(t)):v(e,i(t)),y=(e,t)=>{const{disabled:n,multiple:a,multipleLimit:o}=r.props;return n||!t&&!!a&&o>0&&e.length>=o},O=t=>e.hoveringIndex===t,w=e=>{const t=d.value;t&&t.scrollToItem(e)},_=()=>{const e=d.value;e&&e.resetScrollTop()};n({listRef:d,isSized:h,isItemDisabled:y,isItemHovering:O,isItemSelected:g,scrollToItem:w,resetScrollTop:_});const j=e=>{const{index:n,data:a,style:i}=e,c=Object(s["unref"])(h),{itemSize:u,estimatedSize:d}=Object(s["unref"])(p),{modelValue:f}=r.props,{onSelect:m,onHover:v}=r,b=a[n];if("Group"===b.type)return Object(s["createVNode"])(xg,{item:b,style:i,height:c?u:d},null);const w=g(f,b),_=y(f,w),j=O(n);return Object(s["createVNode"])(Ng,Object(s["mergeProps"])(e,{selected:w,disabled:l(b)||_,created:!!b.created,hovering:j,item:b,onSelect:m,onHover:v}),{default:e=>{var n;return(null==(n=t.default)?void 0:n.call(t,e))||Object(s["createVNode"])("span",null,[o(b)])}})},{onKeyboardNavigate:k,onKeyboardSelect:x}=r,S=()=>{k("forward")},C=()=>{k("backward")},M=()=>{r.expanded=!1},A=e=>{const{code:t}=e,{tab:n,esc:r,down:a,up:o,enter:i}=vt["a"];switch(t!==n&&(e.preventDefault(),e.stopPropagation()),t){case n:case r:M();break;case a:S();break;case o:C();break;case i:x();break}};return()=>{var n,o,i,l;const{data:c,width:u}=e,{height:f,multiple:m,scrollbarAlwaysOn:v}=r.props,b=Object(s["unref"])(h)?My:Dy;return Object(s["createVNode"])("div",{class:[a.b("dropdown"),a.is("multiple",m)],style:{width:u+"px"}},[null==(n=t.header)?void 0:n.call(t),(null==(o=t.loading)?void 0:o.call(t))||(null==(i=t.empty)?void 0:i.call(t))||Object(s["createVNode"])(b,Object(s["mergeProps"])({ref:d},Object(s["unref"])(p),{className:a.be("dropdown","list"),scrollbarAlwaysOn:v,data:c,height:f,width:u,total:c.length,onKeydown:A}),{default:e=>Object(s["createVNode"])(j,e,null)}),null==(l=t.footer)?void 0:l.call(t)])}}});function Ry(e,t){const{aliasProps:n,getLabel:r,getValue:a}=Mg(e),o=Object(s["ref"])(0),i=Object(s["ref"])(null),l=Object(s["computed"])(()=>e.allowCreate&&e.filterable);function c(n){const a=e=>r(e)===n;return e.options&&e.options.some(a)||t.createdOptions.some(a)}function u(t){l.value&&(e.multiple&&t.created?o.value++:i.value=t)}function d(r){if(l.value)if(r&&r.length>0){if(c(r))return;const e={[n.value.value]:r,[n.value.label]:r,created:!0,[n.value.disabled]:!1};t.createdOptions.length>=o.value?t.createdOptions[o.value]=e:t.createdOptions.push(e)}else if(e.multiple)t.createdOptions.length=o.value;else{const e=i.value;t.createdOptions.length=0,e&&e.created&&t.createdOptions.push(e)}}function f(n){if(!l.value||!n||!n.created||n.created&&e.reserveKeyword&&t.inputValue===r(n))return;const i=t.createdOptions.findIndex(e=>a(e)===a(n));~i&&(t.createdOptions.splice(i,1),o.value--)}function h(){l.value&&(t.createdOptions.length=0,o.value=0)}return{createNewOption:d,removeNewOption:f,selectNewOption:u,clearAllNewOption:h}}const Iy=11,By=(e,t)=>{const{t:n}=Object(Lr["b"])(),r=Object(b["d"])("select"),a=Object(b["d"])("input"),{form:o,formItem:i}=be(),{inputId:c}=ge(e,{formItemContext:i}),{aliasProps:u,getLabel:h,getValue:p,getDisabled:m,getOptions:v}=Mg(e),{valueOnClear:g,isEmptyValue:O}=Object(ms["a"])(e),w=Object(s["reactive"])({inputValue:"",cachedOptions:[],createdOptions:[],hoveringIndex:-1,inputHovering:!1,selectionWidth:0,calculatorWidth:0,collapseItemWidth:0,previousQuery:null,previousValue:void 0,selectedLabel:"",menuVisibleOnFocus:!1,isBeforeHide:!1}),_=Object(s["ref"])(-1),j=Object(s["ref"])(null),k=Object(s["ref"])(null),x=Object(s["ref"])(null),S=Object(s["ref"])(null),C=Object(s["ref"])(null),M=Object(s["ref"])(null),A=Object(s["ref"])(null),T=Object(s["ref"])(null),E=Object(s["ref"])(null),L=Object(s["ref"])(null),P=Object(s["ref"])(null),{wrapperRef:D,isFocused:N,handleFocus:R,handleBlur:I}=_e(C,{afterFocus(){e.automaticDropdown&&!z.value&&(z.value=!0,w.menuVisibleOnFocus=!0)},beforeBlur(e){var t,n;return(null==(t=x.value)?void 0:t.isFocusInsideContent(e))||(null==(n=S.value)?void 0:n.isFocusInsideContent(e))},afterBlur(){z.value=!1,w.menuVisibleOnFocus=!1}}),B=Object(s["ref"])([]),V=Object(s["ref"])([]),z=Object(s["ref"])(!1),H=Object(s["computed"])(()=>e.disabled||(null==o?void 0:o.disabled)),Y=Object(s["computed"])(()=>{const t=V.value.length*e.itemHeight;return t>e.height?e.height:t}),U=Object(s["computed"])(()=>e.multiple?Object(te["isArray"])(e.modelValue)&&e.modelValue.length>0:!O(e.modelValue)),W=Object(s["computed"])(()=>e.clearable&&!H.value&&w.inputHovering&&U.value),$=Object(s["computed"])(()=>e.remote&&e.filterable?"":G["ArrowDown"]),X=Object(s["computed"])(()=>$.value&&r.is("reverse",z.value)),K=Object(s["computed"])(()=>(null==i?void 0:i.validateState)||""),J=Object(s["computed"])(()=>F["d"][K.value]),Z=Object(s["computed"])(()=>e.remote?300:0),Q=Object(s["computed"])(()=>e.loading?e.loadingText||n("el.select.loading"):!(e.remote&&!w.inputValue&&0===B.value.length)&&(e.filterable&&w.inputValue&&B.value.length>0&&0===V.value.length?e.noMatchText||n("el.select.noMatch"):0===B.value.length?e.noDataText||n("el.select.noData"):null)),ee=t=>{const n=n=>{if(e.filterable&&Object(te["isFunction"])(e.filterMethod))return!0;if(e.filterable&&e.remote&&Object(te["isFunction"])(e.remoteMethod))return!0;const r=new RegExp(Object(Ri["b"])(t),"i");return!t||r.test(h(n)||"")};return e.loading?[]:[...w.createdOptions,...e.options].reduce((t,r)=>{const a=v(r);if(Object(te["isArray"])(a)){const e=a.filter(n);e.length>0&&t.push({label:h(r),type:"Group"},...e)}else(e.remote||n(r))&&t.push(r);return t},[])},ne=()=>{B.value=ee(""),V.value=ee(w.inputValue)},re=Object(s["computed"])(()=>{const e=new Map;return B.value.forEach((t,n)=>{e.set(Fe(p(t)),{option:t,index:n})}),e}),ae=Object(s["computed"])(()=>{const e=new Map;return V.value.forEach((t,n)=>{e.set(Fe(p(t)),{option:t,index:n})}),e}),oe=Object(s["computed"])(()=>V.value.every(e=>m(e))),ie=Oe(),se=Object(s["computed"])(()=>"small"===ie.value?"small":"default"),le=()=>{var e;_.value=(null==(e=j.value)?void 0:e.offsetWidth)||200},ce=()=>{if(!k.value)return 0;const e=window.getComputedStyle(k.value);return Number.parseFloat(e.gap||"6px")},ue=Object(s["computed"])(()=>{const t=ce(),n=P.value&&1===e.maxCollapseTags?w.selectionWidth-w.collapseItemWidth-t:w.selectionWidth;return{maxWidth:n+"px"}}),de=Object(s["computed"])(()=>({maxWidth:w.selectionWidth+"px"})),fe=Object(s["computed"])(()=>({width:Math.max(w.calculatorWidth,Iy)+"px"})),he=Object(s["computed"])(()=>Object(te["isArray"])(e.modelValue)?0===e.modelValue.length&&!w.inputValue:!e.filterable||!w.inputValue),pe=Object(s["computed"])(()=>{var t;const r=null!=(t=e.placeholder)?t:n("el.select.placeholder");return e.multiple||!U.value?r:w.selectedLabel}),me=Object(s["computed"])(()=>{var e,t;return null==(t=null==(e=x.value)?void 0:e.popperRef)?void 0:t.contentRef}),ve=Object(s["computed"])(()=>{if(e.multiple){const t=e.modelValue.length;if(e.modelValue.length>0&&ae.value.has(e.modelValue[t-1])){const{index:n}=ae.value.get(e.modelValue[t-1]);return n}}else if(e.modelValue&&ae.value.has(e.modelValue)){const{index:t}=ae.value.get(e.modelValue);return t}return-1}),ye=Object(s["computed"])({get(){return z.value&&!1!==Q.value},set(e){z.value=e}}),we=Object(s["computed"])(()=>e.multiple?e.collapseTags?w.cachedOptions.slice(0,e.maxCollapseTags):w.cachedOptions:[]),je=Object(s["computed"])(()=>e.multiple&&e.collapseTags?w.cachedOptions.slice(e.maxCollapseTags):[]),{createNewOption:ke,removeNewOption:xe,selectNewOption:Se,clearAllNewOption:Ce}=Ry(e,w),{handleCompositionStart:Me,handleCompositionUpdate:Ae,handleCompositionEnd:Te}=Pv(e=>at(e)),Ee=()=>{H.value||(w.menuVisibleOnFocus?w.menuVisibleOnFocus=!1:z.value=!z.value)},Le=()=>{w.inputValue.length>0&&!z.value&&(z.value=!0),ke(w.inputValue),De(w.inputValue)},Pe=Object(q["debounce"])(Le,Z.value),De=t=>{w.previousQuery!==t&&(w.previousQuery=t,e.filterable&&Object(te["isFunction"])(e.filterMethod)?e.filterMethod(t):e.filterable&&e.remote&&Object(te["isFunction"])(e.remoteMethod)&&e.remoteMethod(t),e.defaultFirstOption&&(e.filterable||e.remote)&&V.value.length?Object(s["nextTick"])(Ne):Object(s["nextTick"])(rt))},Ne=()=>{const e=V.value.filter(e=>!e.disabled&&"Group"!==e.type),t=e.find(e=>e.created),n=e[0];w.hoveringIndex=Be(V.value,t||n)},Re=n=>{Object(q["isEqual"])(e.modelValue,n)||t(f,n)},Ie=n=>{t(d,n),Re(n),w.previousValue=e.multiple?String(n):n},Be=(t=[],n)=>{if(!Object(te["isObject"])(n))return t.indexOf(n);const r=e.valueKey;let a=-1;return t.some((e,t)=>Object(q["get"])(e,r)===Object(q["get"])(n,r)&&(a=t,!0)),a},Fe=t=>Object(te["isObject"])(t)?Object(q["get"])(t,e.valueKey):t,Ve=()=>{le()},ze=()=>{w.selectionWidth=k.value.getBoundingClientRect().width},He=()=>{w.calculatorWidth=M.value.getBoundingClientRect().width},Ye=()=>{w.collapseItemWidth=P.value.getBoundingClientRect().width},Ue=()=>{var e,t;null==(t=null==(e=x.value)?void 0:e.updatePopper)||t.call(e)},We=()=>{var e,t;null==(t=null==(e=S.value)?void 0:e.updatePopper)||t.call(e)},$e=t=>{if(e.multiple){let n=e.modelValue.slice();const r=Be(n,p(t));r>-1?(n=[...n.slice(0,r),...n.slice(r+1)],w.cachedOptions.splice(r,1),xe(t)):(e.multipleLimit<=0||n.length<e.multipleLimit)&&(n=[...n,p(t)],w.cachedOptions.push(t),Se(t)),Ie(n),t.created&&De(""),e.filterable&&!e.reserveKeyword&&(w.inputValue="")}else w.selectedLabel=h(t),Ie(p(t)),z.value=!1,Se(t),t.created||Ce();Ge()},qe=(n,r)=>{let a=e.modelValue.slice();const o=Be(a,p(r));o>-1&&!H.value&&(a=[...e.modelValue.slice(0,o),...e.modelValue.slice(o+1)],w.cachedOptions.splice(o,1),Ie(a),t("remove-tag",p(r)),xe(r)),n.stopPropagation(),Ge()},Ge=()=>{var e;null==(e=C.value)||e.focus()},Xe=()=>{var e;null==(e=C.value)||e.blur()},Ke=()=>{w.inputValue.length>0?w.inputValue="":z.value=!1},Je=e=>Object(q["findLastIndex"])(e,e=>!w.cachedOptions.some(t=>p(t)===e&&m(t))),Ze=n=>{if(e.multiple&&n.code!==vt["a"].delete&&0===w.inputValue.length){n.preventDefault();const r=e.modelValue.slice(),a=Je(r);if(a<0)return;const o=r[a];r.splice(a,1);const i=w.cachedOptions[a];w.cachedOptions.splice(a,1),xe(i),Ie(r),t("remove-tag",o)}},Qe=()=>{let n;n=Object(te["isArray"])(e.modelValue)?[]:g.value,e.multiple?w.cachedOptions=[]:w.selectedLabel="",z.value=!1,Ie(n),t("clear"),Ce(),Ge()},et=(e,t)=>{const n=V.value;if(!["forward","backward"].includes(e)||H.value||n.length<=0||oe.value)return;if(!z.value)return Ee();void 0===t&&(t=w.hoveringIndex);let r=-1;"forward"===e?(r=t+1,r>=n.length&&(r=0)):"backward"===e&&(r=t-1,(r<0||r>=n.length)&&(r=n.length-1));const a=n[r];if(m(a)||"Group"===a.type)return et(e,r);w.hoveringIndex=r,st(r)},tt=()=>{if(!z.value)return Ee();~w.hoveringIndex&&V.value[w.hoveringIndex]&&$e(V.value[w.hoveringIndex])},nt=e=>{w.hoveringIndex=e},rt=()=>{e.multiple?w.hoveringIndex=V.value.findIndex(t=>e.modelValue.some(e=>Fe(e)===Fe(t))):w.hoveringIndex=V.value.findIndex(t=>Fe(t)===Fe(e.modelValue))},at=t=>{if(w.inputValue=t.target.value,!e.remote)return Le();Pe()},ot=e=>{if(z.value=!1,N.value){const t=new FocusEvent("focus",e);I(t)}},it=()=>(w.isBeforeHide=!1,Object(s["nextTick"])(()=>{~ve.value&&st(w.hoveringIndex)})),st=e=>{E.value.scrollToItem(e)},lt=e=>{const t=Fe(e);if(re.value.has(t)){const{option:e}=re.value.get(t);return e}return{[u.value.value]:e,[u.value.label]:e}},ct=()=>{if(e.multiple)if(e.modelValue.length>0){w.cachedOptions.length=0,w.previousValue=e.modelValue.toString();for(const t of e.modelValue){const e=lt(t);w.cachedOptions.push(e)}}else w.cachedOptions=[],w.previousValue=void 0;else if(U.value){w.previousValue=e.modelValue;const t=V.value,n=t.findIndex(t=>Fe(p(t))===Fe(e.modelValue));w.selectedLabel=~n?h(t[n]):Fe(e.modelValue)}else w.selectedLabel="",w.previousValue=void 0;Ce(),le()};return Object(s["watch"])(z,e=>{e?De(""):(w.inputValue="",w.previousQuery=null,w.isBeforeHide=!0,ke("")),t("visible-change",e)}),Object(s["watch"])(()=>e.modelValue,(t,n)=>{var r;(!t||e.multiple&&t.toString()!==w.previousValue||!e.multiple&&Fe(t)!==Fe(w.previousValue))&&ct(),!Object(q["isEqual"])(t,n)&&e.validateEvent&&(null==(r=null==i?void 0:i.validate)||r.call(i,"change").catch(e=>Object(y["a"])(e)))},{deep:!0}),Object(s["watch"])(()=>e.options,()=>{const e=C.value;(!e||e&&document.activeElement!==e)&&ct()},{deep:!0,flush:"post"}),Object(s["watch"])(()=>V.value,()=>E.value&&Object(s["nextTick"])(E.value.resetScrollTop)),Object(s["watchEffect"])(()=>{w.isBeforeHide||ne()}),Object(s["watchEffect"])(()=>{const{valueKey:t,options:n}=e,r=new Map;for(const e of n){const n=p(e);let a=n;if(Object(te["isObject"])(a)&&(a=Object(q["get"])(n,t)),r.get(a)){Object(y["a"])("ElSelectV2","The option values you provided seem to be duplicated, which may cause some problems, please check.");break}r.set(a,!0)}}),Object(s["onMounted"])(()=>{ct()}),Object(l["useResizeObserver"])(j,Ve),Object(l["useResizeObserver"])(k,ze),Object(l["useResizeObserver"])(M,He),Object(l["useResizeObserver"])(E,Ue),Object(l["useResizeObserver"])(D,Ue),Object(l["useResizeObserver"])(L,We),Object(l["useResizeObserver"])(P,Ye),{inputId:c,collapseTagSize:se,currentPlaceholder:pe,expanded:z,emptyText:Q,popupHeight:Y,debounce:Z,allOptions:B,filteredOptions:V,iconComponent:$,iconReverse:X,tagStyle:ue,collapseTagStyle:de,inputStyle:fe,popperSize:_,dropdownMenuVisible:ye,hasModelValue:U,shouldShowPlaceholder:he,selectDisabled:H,selectSize:ie,showClearBtn:W,states:w,isFocused:N,nsSelect:r,nsInput:a,calculatorRef:M,inputRef:C,menuRef:E,tagMenuRef:L,tooltipRef:x,tagTooltipRef:S,selectRef:j,wrapperRef:D,selectionRef:k,prefixRef:A,suffixRef:T,collapseItemRef:P,popperRef:me,validateState:K,validateIcon:J,showTagList:we,collapseTagList:je,debouncedOnInputChange:Pe,deleteTag:qe,getLabel:h,getValue:p,getDisabled:m,getValueKey:Fe,handleBlur:I,handleClear:Qe,handleClickOutside:ot,handleDel:Ze,handleEsc:Ke,handleFocus:R,focus:Ge,blur:Xe,handleMenuEnter:it,handleResize:Ve,resetSelectionWidth:ze,resetCalculatorWidth:He,updateTooltip:Ue,updateTagTooltip:We,updateOptions:ne,toggleMenu:Ee,scrollTo:st,onInput:at,onKeyboardNavigate:et,onKeyboardSelect:tt,onSelect:$e,onHover:nt,handleCompositionStart:Me,handleCompositionEnd:Te,handleCompositionUpdate:Ae}},Fy=Object(s["defineComponent"])({name:"ElSelectV2",components:{ElSelectMenu:Ny,ElTag:ps,ElTooltip:nr,ElIcon:I["a"]},directives:{ClickOutside:ws},props:Ag,emits:[d,f,"remove-tag","clear","visible-change","focus","blur"],setup(e,{emit:t}){const n=Object(s["computed"])(()=>{const{modelValue:t,multiple:n}=e,r=n?[]:void 0;return Object(te["isArray"])(t)?n?t:r:n?r:t}),r=By(Object(s["reactive"])({...Object(s["toRefs"])(e),modelValue:n}),t);return Object(s["provide"])(Eg,{props:Object(s["reactive"])({...Object(s["toRefs"])(e),height:r.popupHeight,modelValue:n}),tooltipRef:r.tooltipRef,onSelect:r.onSelect,onHover:r.onHover,onKeyboardNavigate:r.onKeyboardNavigate,onKeyboardSelect:r.onKeyboardSelect}),{...r,modelValue:n}}}),Vy=["id","autocomplete","aria-expanded","aria-label","disabled","readonly","name"],zy=["textContent"],Hy={key:1};function Yy(e,t,n,r,a,o){const i=Object(s["resolveComponent"])("el-tag"),l=Object(s["resolveComponent"])("el-tooltip"),c=Object(s["resolveComponent"])("el-icon"),u=Object(s["resolveComponent"])("el-select-menu"),d=Object(s["resolveDirective"])("click-outside");return Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{ref:"selectRef",class:Object(s["normalizeClass"])([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),onMouseenter:t[14]||(t[14]=t=>e.states.inputHovering=!0),onMouseleave:t[15]||(t[15]=t=>e.states.inputHovering=!1),onClick:t[16]||(t[16]=Object(s["withModifiers"])((...t)=>e.toggleMenu&&e.toggleMenu(...t),["prevent","stop"]))},[Object(s["createVNode"])(l,{ref:"tooltipRef",visible:e.dropdownMenuVisible,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,placement:e.placement,pure:"",transition:e.nsSelect.namespace.value+"-zoom-in-top",trigger:"click",persistent:e.persistent,onBeforeShow:e.handleMenuEnter,onHide:t[13]||(t[13]=t=>e.states.isBeforeHide=!1)},{default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("div",{ref:"wrapperRef",class:Object(s["normalizeClass"])([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)])},[e.$slots.prefix?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,ref:"prefixRef",class:Object(s["normalizeClass"])(e.nsSelect.e("prefix"))},[Object(s["renderSlot"])(e.$slots,"prefix")],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",{ref:"selectionRef",class:Object(s["normalizeClass"])([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.modelValue.length)])},[e.multiple?Object(s["renderSlot"])(e.$slots,"tag",{key:0},()=>[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e.showTagList,t=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:e.getValueKey(e.getValue(t)),class:Object(s["normalizeClass"])(e.nsSelect.e("selected-item"))},[Object(s["createVNode"])(i,{closable:!e.selectDisabled&&!e.getDisabled(t),size:e.collapseTagSize,type:e.tagType,"disable-transitions":"",style:Object(s["normalizeStyle"])(e.tagStyle),onClose:n=>e.deleteTag(n,t)},{default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(e.nsSelect.e("tags-text"))},[Object(s["renderSlot"])(e.$slots,"label",{label:e.getLabel(t),value:e.getValue(t)},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.getLabel(t)),1)])],2)]),_:2},1032,["closable","size","type","style","onClose"])],2))),128)),e.collapseTags&&e.modelValue.length>e.maxCollapseTags?(Object(s["openBlock"])(),Object(s["createBlock"])(l,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:e.teleported},{default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("div",{ref:"collapseItemRef",class:Object(s["normalizeClass"])(e.nsSelect.e("selected-item"))},[Object(s["createVNode"])(i,{closable:!1,size:e.collapseTagSize,type:e.tagType,style:Object(s["normalizeStyle"])(e.collapseTagStyle),"disable-transitions":""},{default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(e.nsSelect.e("tags-text"))}," + "+Object(s["toDisplayString"])(e.modelValue.length-e.maxCollapseTags),3)]),_:1},8,["size","type","style"])],2)]),content:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("div",{ref:"tagMenuRef",class:Object(s["normalizeClass"])(e.nsSelect.e("selection"))},[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e.collapseTagList,t=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:e.getValueKey(e.getValue(t)),class:Object(s["normalizeClass"])(e.nsSelect.e("selected-item"))},[Object(s["createVNode"])(i,{class:"in-tooltip",closable:!e.selectDisabled&&!e.getDisabled(t),size:e.collapseTagSize,type:e.tagType,"disable-transitions":"",onClose:n=>e.deleteTag(n,t)},{default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(e.nsSelect.e("tags-text"))},[Object(s["renderSlot"])(e.$slots,"label",{label:e.getLabel(t),value:e.getValue(t)},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.getLabel(t)),1)])],2)]),_:2},1032,["closable","size","type","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","teleported"])):Object(s["createCommentVNode"])("v-if",!0)]):Object(s["createCommentVNode"])("v-if",!0),e.selectDisabled?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,class:Object(s["normalizeClass"])([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable)])},[Object(s["withDirectives"])(Object(s["createElementVNode"])("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":t[0]||(t[0]=t=>e.states.inputValue=t),style:Object(s["normalizeStyle"])(e.inputStyle),autocomplete:e.autocomplete,"aria-autocomplete":"list","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":e.expanded,"aria-label":e.ariaLabel,class:Object(s["normalizeClass"])([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,role:"combobox",readonly:!e.filterable,spellcheck:"false",type:"text",name:e.name,onFocus:t[1]||(t[1]=(...t)=>e.handleFocus&&e.handleFocus(...t)),onBlur:t[2]||(t[2]=(...t)=>e.handleBlur&&e.handleBlur(...t)),onInput:t[3]||(t[3]=(...t)=>e.onInput&&e.onInput(...t)),onCompositionstart:t[4]||(t[4]=(...t)=>e.handleCompositionStart&&e.handleCompositionStart(...t)),onCompositionupdate:t[5]||(t[5]=(...t)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...t)),onCompositionend:t[6]||(t[6]=(...t)=>e.handleCompositionEnd&&e.handleCompositionEnd(...t)),onKeydown:[t[7]||(t[7]=Object(s["withKeys"])(Object(s["withModifiers"])(t=>e.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),t[8]||(t[8]=Object(s["withKeys"])(Object(s["withModifiers"])(t=>e.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),t[9]||(t[9]=Object(s["withKeys"])(Object(s["withModifiers"])((...t)=>e.onKeyboardSelect&&e.onKeyboardSelect(...t),["stop","prevent"]),["enter"])),t[10]||(t[10]=Object(s["withKeys"])(Object(s["withModifiers"])((...t)=>e.handleEsc&&e.handleEsc(...t),["stop","prevent"]),["esc"])),t[11]||(t[11]=Object(s["withKeys"])(Object(s["withModifiers"])((...t)=>e.handleDel&&e.handleDel(...t),["stop"]),["delete"]))],onClick:t[12]||(t[12]=Object(s["withModifiers"])((...t)=>e.toggleMenu&&e.toggleMenu(...t),["stop"]))},null,46,Vy),[[s["vModelText"],e.states.inputValue]]),e.filterable?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:Object(s["normalizeClass"])(e.nsSelect.e("input-calculator")),textContent:Object(s["toDisplayString"])(e.states.inputValue)},null,10,zy)):Object(s["createCommentVNode"])("v-if",!0)],2)),e.shouldShowPlaceholder?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:2,class:Object(s["normalizeClass"])([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?Object(s["renderSlot"])(e.$slots,"label",{key:0,label:e.currentPlaceholder,value:e.modelValue},()=>[Object(s["createElementVNode"])("span",null,Object(s["toDisplayString"])(e.currentPlaceholder),1)]):(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",Hy,Object(s["toDisplayString"])(e.currentPlaceholder),1))],2)):Object(s["createCommentVNode"])("v-if",!0)],2),Object(s["createElementVNode"])("div",{ref:"suffixRef",class:Object(s["normalizeClass"])(e.nsSelect.e("suffix"))},[e.iconComponent?Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createBlock"])(c,{key:0,class:Object(s["normalizeClass"])([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.iconReverse])},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.iconComponent)))]),_:1},8,["class"])),[[s["vShow"],!e.showClearBtn]]):Object(s["createCommentVNode"])("v-if",!0),e.showClearBtn&&e.clearIcon?(Object(s["openBlock"])(),Object(s["createBlock"])(c,{key:1,class:Object(s["normalizeClass"])([e.nsSelect.e("caret"),e.nsInput.e("icon")]),onClick:Object(s["withModifiers"])(e.handleClear,["prevent","stop"])},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.clearIcon)))]),_:1},8,["class","onClick"])):Object(s["createCommentVNode"])("v-if",!0),e.validateState&&e.validateIcon?(Object(s["openBlock"])(),Object(s["createBlock"])(c,{key:2,class:Object(s["normalizeClass"])([e.nsInput.e("icon"),e.nsInput.e("validateIcon")])},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.validateIcon)))]),_:1},8,["class"])):Object(s["createCommentVNode"])("v-if",!0)],2)],2)]),content:Object(s["withCtx"])(()=>[Object(s["createVNode"])(u,{ref:"menuRef",data:e.filteredOptions,width:e.popperSize,"hovering-index":e.states.hoveringIndex,"scrollbar-always-on":e.scrollbarAlwaysOn},Object(s["createSlots"])({default:Object(s["withCtx"])(t=>[Object(s["renderSlot"])(e.$slots,"default",Object(s["normalizeProps"])(Object(s["guardReactiveProps"])(t)))]),_:2},[e.$slots.header?{name:"header",fn:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(e.nsSelect.be("dropdown","header"))},[Object(s["renderSlot"])(e.$slots,"header")],2)])}:void 0,e.$slots.loading&&e.loading?{name:"loading",fn:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(e.nsSelect.be("dropdown","loading"))},[Object(s["renderSlot"])(e.$slots,"loading")],2)])}:e.loading||0===e.filteredOptions.length?{name:"empty",fn:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(e.nsSelect.be("dropdown","empty"))},[Object(s["renderSlot"])(e.$slots,"empty",{},()=>[Object(s["createElementVNode"])("span",null,Object(s["toDisplayString"])(e.emptyText),1)])],2)])}:void 0,e.$slots.footer?{name:"footer",fn:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(e.nsSelect.be("dropdown","footer"))},[Object(s["renderSlot"])(e.$slots,"footer")],2)])}:void 0]),1032,["data","width","hovering-index","scrollbar-always-on"])]),_:3},8,["visible","teleported","popper-class","popper-options","fallback-placements","effect","placement","transition","persistent","onBeforeShow"])],34)),[[d,e.handleClickOutside,e.popperRef]])}var Uy=Object(v["a"])(Fy,[["render",Yy],["__file","select.vue"]]);Uy.install=e=>{e.component(Uy.name,Uy)};const Wy=Uy,$y=Wy,qy=Object(c["b"])({animated:{type:Boolean,default:!1},count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:Number}}),Gy=Object(c["b"])({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),Xy=Object(s["defineComponent"])({name:"ElSkeletonItem"}),Ky=Object(s["defineComponent"])({...Xy,props:Gy,setup(e){const t=Object(b["d"])("skeleton");return(e,n)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(t).e("item"),Object(s["unref"])(t).e(e.variant)])},["image"===e.variant?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(G["PictureFilled"]),{key:0})):Object(s["createCommentVNode"])("v-if",!0)],2))}});var Jy=Object(v["a"])(Ky,[["__file","skeleton-item.vue"]]);const Zy=(e,t=0)=>{if(0===t)return e;const n=Object(s["ref"])(!1);let r=0;const a=()=>{r&&clearTimeout(r),r=window.setTimeout(()=>{n.value=e.value},t)};return Object(s["onMounted"])(a),Object(s["watch"])(()=>e.value,e=>{e?a():n.value=e}),n},Qy=Object(s["defineComponent"])({name:"ElSkeleton"}),eO=Object(s["defineComponent"])({...Qy,props:qy,setup(e,{expose:t}){const n=e,r=Object(b["d"])("skeleton"),a=Zy(Object(s["toRef"])(n,"loading"),n.throttle);return t({uiLoading:a}),(e,t)=>Object(s["unref"])(a)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",Object(s["mergeProps"])({key:0,class:[Object(s["unref"])(r).b(),Object(s["unref"])(r).is("animated",e.animated)]},e.$attrs),[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e.count,t=>(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:t},[e.loading?Object(s["renderSlot"])(e.$slots,"template",{key:t},()=>[Object(s["createVNode"])(Jy,{class:Object(s["normalizeClass"])(Object(s["unref"])(r).is("first")),variant:"p"},null,8,["class"]),(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e.rows,t=>(Object(s["openBlock"])(),Object(s["createBlock"])(Jy,{key:t,class:Object(s["normalizeClass"])([Object(s["unref"])(r).e("paragraph"),Object(s["unref"])(r).is("last",t===e.rows&&e.rows>1)]),variant:"p"},null,8,["class"]))),128))]):Object(s["createCommentVNode"])("v-if",!0)],64))),128))],16)):Object(s["renderSlot"])(e.$slots,"default",Object(s["normalizeProps"])(Object(s["mergeProps"])({key:1},e.$attrs)))}});var tO=Object(v["a"])(eO,[["__file","skeleton.vue"]]);const nO=Object(N["a"])(tO,{SkeletonItem:Jy}),rO=Object(N["d"])(Jy),aO=Symbol("sliderContextKey"),oO=Object(c["b"])({modelValue:{type:Object(c["c"])([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:ne["c"],inputSize:ne["c"],showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:Object(c["c"])(Function),default:void 0},disabled:Boolean,range:Boolean,vertical:Boolean,height:String,debounce:{type:Number,default:300},label:{type:String,default:void 0},rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:Object(c["c"])(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:ct["placements"],default:"top"},marks:{type:Object(c["c"])(Object)},validateEvent:{type:Boolean,default:!0},...oe(["ariaLabel"])}),iO=e=>Object(u["d"])(e)||Object(te["isArray"])(e)&&e.every(u["d"]),sO={[d]:iO,[h]:iO,[f]:iO},lO=Object(c["b"])({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:ct["placements"],default:"top"}}),cO={[d]:e=>Object(u["d"])(e)},{left:uO,down:dO,right:fO,up:hO,home:pO,end:mO,pageUp:vO,pageDown:bO}=vt["a"],gO=(e,t,n)=>{const r=Object(s["ref"])(),a=Object(s["ref"])(!1),o=Object(s["computed"])(()=>t.value instanceof Function),i=Object(s["computed"])(()=>o.value&&t.value(e.modelValue)||e.modelValue),l=Object(q["debounce"])(()=>{n.value&&(a.value=!0)},50),c=Object(q["debounce"])(()=>{n.value&&(a.value=!1)},50);return{tooltip:r,tooltipVisible:a,formatValue:i,displayTooltip:l,hideTooltip:c}},yO=(e,t,n)=>{const{disabled:r,min:a,max:o,step:i,showTooltip:l,precision:c,sliderSize:u,formatTooltip:f,emitChange:h,resetSize:p,updateDragging:m}=Object(s["inject"])(aO),{tooltip:v,tooltipVisible:b,formatValue:g,displayTooltip:y,hideTooltip:O}=gO(e,f,l),w=Object(s["ref"])(),_=Object(s["computed"])(()=>(e.modelValue-a.value)/(o.value-a.value)*100+"%"),j=Object(s["computed"])(()=>e.vertical?{bottom:_.value}:{left:_.value}),k=()=>{t.hovering=!0,y()},x=()=>{t.hovering=!1,t.dragging||O()},S=e=>{r.value||(e.preventDefault(),R(e),window.addEventListener("mousemove",I),window.addEventListener("touchmove",I),window.addEventListener("mouseup",B),window.addEventListener("touchend",B),window.addEventListener("contextmenu",B),w.value.focus())},C=e=>{r.value||(t.newPosition=Number.parseFloat(_.value)+e/(o.value-a.value)*100,F(t.newPosition),h())},M=()=>{C(-i.value)},A=()=>{C(i.value)},T=()=>{C(4*-i.value)},E=()=>{C(4*i.value)},L=()=>{r.value||(F(0),h())},P=()=>{r.value||(F(100),h())},D=e=>{let t=!0;[uO,dO].includes(e.key)?M():[fO,hO].includes(e.key)?A():e.key===pO?L():e.key===mO?P():e.key===bO?T():e.key===vO?E():t=!1,t&&e.preventDefault()},N=e=>{let t,n;return e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}},R=n=>{t.dragging=!0,t.isClick=!0;const{clientX:r,clientY:a}=N(n);e.vertical?t.startY=a:t.startX=r,t.startPosition=Number.parseFloat(_.value),t.newPosition=t.startPosition},I=n=>{if(t.dragging){let r;t.isClick=!1,y(),p();const{clientX:a,clientY:o}=N(n);e.vertical?(t.currentY=o,r=(t.startY-t.currentY)/u.value*100):(t.currentX=a,r=(t.currentX-t.startX)/u.value*100),t.newPosition=t.startPosition+r,F(t.newPosition)}},B=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||O(),t.isClick||F(t.newPosition),h()},0),window.removeEventListener("mousemove",I),window.removeEventListener("touchmove",I),window.removeEventListener("mouseup",B),window.removeEventListener("touchend",B),window.removeEventListener("contextmenu",B))},F=async r=>{if(null===r||Number.isNaN(+r))return;r<0?r=0:r>100&&(r=100);const l=100/((o.value-a.value)/i.value),u=Math.round(r/l);let f=u*l*(o.value-a.value)*.01+a.value;f=Number.parseFloat(f.toFixed(c.value)),f!==e.modelValue&&n(d,f),t.dragging||e.modelValue===t.oldValue||(t.oldValue=e.modelValue),await Object(s["nextTick"])(),t.dragging&&y(),v.value.updatePopper()};return Object(s["watch"])(()=>t.dragging,e=>{m(e)}),{disabled:r,button:w,tooltip:v,tooltipVisible:b,showTooltip:l,wrapperStyle:j,formatValue:g,handleMouseEnter:k,handleMouseLeave:x,onButtonDown:S,onKeyDown:D,setPosition:F}},OO=["tabindex"],wO=Object(s["defineComponent"])({name:"ElSliderButton"}),_O=Object(s["defineComponent"])({...wO,props:lO,emits:cO,setup(e,{expose:t,emit:n}){const r=e,a=Object(b["d"])("slider"),o=Object(s["reactive"])({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:r.modelValue}),{disabled:i,button:l,tooltip:c,showTooltip:u,tooltipVisible:d,wrapperStyle:f,formatValue:h,handleMouseEnter:p,handleMouseLeave:m,onButtonDown:v,onKeyDown:g,setPosition:y}=yO(r,o,n),{hovering:O,dragging:w}=Object(s["toRefs"])(o);return t({onButtonDown:v,onKeyDown:g,setPosition:y,hovering:O,dragging:w}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{ref_key:"button",ref:l,class:Object(s["normalizeClass"])([Object(s["unref"])(a).e("button-wrapper"),{hover:Object(s["unref"])(O),dragging:Object(s["unref"])(w)}]),style:Object(s["normalizeStyle"])(Object(s["unref"])(f)),tabindex:Object(s["unref"])(i)?-1:0,onMouseenter:t[0]||(t[0]=(...e)=>Object(s["unref"])(p)&&Object(s["unref"])(p)(...e)),onMouseleave:t[1]||(t[1]=(...e)=>Object(s["unref"])(m)&&Object(s["unref"])(m)(...e)),onMousedown:t[2]||(t[2]=(...e)=>Object(s["unref"])(v)&&Object(s["unref"])(v)(...e)),onTouchstart:t[3]||(t[3]=(...e)=>Object(s["unref"])(v)&&Object(s["unref"])(v)(...e)),onFocus:t[4]||(t[4]=(...e)=>Object(s["unref"])(p)&&Object(s["unref"])(p)(...e)),onBlur:t[5]||(t[5]=(...e)=>Object(s["unref"])(m)&&Object(s["unref"])(m)(...e)),onKeydown:t[6]||(t[6]=(...e)=>Object(s["unref"])(g)&&Object(s["unref"])(g)(...e))},[Object(s["createVNode"])(Object(s["unref"])(nr),{ref_key:"tooltip",ref:c,visible:Object(s["unref"])(d),placement:e.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":e.tooltipClass,disabled:!Object(s["unref"])(u),persistent:""},{content:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("span",null,Object(s["toDisplayString"])(Object(s["unref"])(h)),1)]),default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(a).e("button"),{hover:Object(s["unref"])(O),dragging:Object(s["unref"])(w)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled"])],46,OO))}});var jO=Object(v["a"])(_O,[["__file","button.vue"]]);const kO=Object(c["b"])({mark:{type:Object(c["c"])([String,Object]),default:void 0}});var xO=Object(s["defineComponent"])({name:"ElSliderMarker",props:kO,setup(e){const t=Object(b["d"])("slider"),n=Object(s["computed"])(()=>Object(te["isString"])(e.mark)?e.mark:e.mark.label),r=Object(s["computed"])(()=>Object(te["isString"])(e.mark)?void 0:e.mark.style);return()=>Object(s["h"])("div",{class:t.e("marks-text"),style:r.value},n.value)}});const SO=(e,t,n)=>{const{form:r,formItem:a}=be(),o=Object(s["shallowRef"])(),i=Object(s["ref"])(),l=Object(s["ref"])(),c={firstButton:i,secondButton:l},u=Object(s["computed"])(()=>e.disabled||(null==r?void 0:r.disabled)||!1),p=Object(s["computed"])(()=>Math.min(t.firstValue,t.secondValue)),m=Object(s["computed"])(()=>Math.max(t.firstValue,t.secondValue)),v=Object(s["computed"])(()=>e.range?100*(m.value-p.value)/(e.max-e.min)+"%":100*(t.firstValue-e.min)/(e.max-e.min)+"%"),b=Object(s["computed"])(()=>e.range?100*(p.value-e.min)/(e.max-e.min)+"%":"0%"),g=Object(s["computed"])(()=>e.vertical?{height:e.height}:{}),y=Object(s["computed"])(()=>e.vertical?{height:v.value,bottom:b.value}:{width:v.value,left:b.value}),O=()=>{o.value&&(t.sliderSize=o.value["client"+(e.vertical?"Height":"Width")])},w=n=>{const r=e.min+n*(e.max-e.min)/100;if(!e.range)return i;let a;return a=Math.abs(p.value-r)<Math.abs(m.value-r)?t.firstValue<t.secondValue?"firstButton":"secondButton":t.firstValue>t.secondValue?"firstButton":"secondButton",c[a]},_=e=>{const t=w(e);return t.value.setPosition(e),t},j=n=>{t.firstValue=n,x(e.range?[p.value,m.value]:n)},k=n=>{t.secondValue=n,e.range&&x([p.value,m.value])},x=e=>{n(d,e),n(h,e)},S=async()=>{await Object(s["nextTick"])(),n(f,e.range?[p.value,m.value]:e.modelValue)},C=n=>{var r,a,i,s,l,c;if(u.value||t.dragging)return;O();let d=0;if(e.vertical){const e=null!=(i=null==(a=null==(r=n.touches)?void 0:r.item(0))?void 0:a.clientY)?i:n.clientY,s=o.value.getBoundingClientRect().bottom;d=(s-e)/t.sliderSize*100}else{const e=null!=(c=null==(l=null==(s=n.touches)?void 0:s.item(0))?void 0:l.clientX)?c:n.clientX,r=o.value.getBoundingClientRect().left;d=(e-r)/t.sliderSize*100}return d<0||d>100?void 0:_(d)},M=e=>{var t,n;((null==(t=c["firstButton"].value)?void 0:t.dragging)||(null==(n=c["secondButton"].value)?void 0:n.dragging))&&e.preventDefault()},A=async e=>{const t=C(e);t&&(await Object(s["nextTick"])(),t.value.onButtonDown(e))},T=e=>{const t=C(e);t&&S()};return{elFormItem:a,slider:o,firstButton:i,secondButton:l,sliderDisabled:u,minValue:p,maxValue:m,runwayStyle:g,barStyle:y,resetSize:O,setPosition:_,emitChange:S,onSliderWrapperPrevent:M,onSliderClick:T,onSliderDown:A,setFirstValue:j,setSecondValue:k}},CO=(e,t,n,r)=>{const a=Object(s["computed"])(()=>{if(!e.showStops||e.min>e.max)return[];if(0===e.step)return Object(y["a"])("ElSlider","step should not be 0."),[];const a=(e.max-e.min)/e.step,o=100*e.step/(e.max-e.min),i=Array.from({length:a-1}).map((e,t)=>(t+1)*o);return e.range?i.filter(t=>t<100*(n.value-e.min)/(e.max-e.min)||t>100*(r.value-e.min)/(e.max-e.min)):i.filter(n=>n>100*(t.firstValue-e.min)/(e.max-e.min))}),o=t=>e.vertical?{bottom:t+"%"}:{left:t+"%"};return{stops:a,getStopStyle:o}},MO=e=>Object(s["computed"])(()=>{if(!e.marks)return[];const t=Object.keys(e.marks);return t.map(Number.parseFloat).sort((e,t)=>e-t).filter(t=>t<=e.max&&t>=e.min).map(t=>({point:t,position:100*(t-e.min)/(e.max-e.min),mark:e.marks[t]}))}),AO=(e,t,n,r,a,o)=>{const i=e=>{a(d,e),a(h,e)},l=()=>e.range?![n.value,r.value].every((e,n)=>e===t.oldValue[n]):e.modelValue!==t.oldValue,c=()=>{var n,r;e.min>e.max&&Object(y["b"])("Slider","min should not be greater than max.");const a=e.modelValue;e.range&&Array.isArray(a)?a[1]<e.min?i([e.min,e.min]):a[0]>e.max?i([e.max,e.max]):a[0]<e.min?i([e.min,a[1]]):a[1]>e.max?i([a[0],e.max]):(t.firstValue=a[0],t.secondValue=a[1],l()&&(e.validateEvent&&(null==(n=null==o?void 0:o.validate)||n.call(o,"change").catch(e=>Object(y["a"])(e))),t.oldValue=a.slice())):e.range||"number"!==typeof a||Number.isNaN(a)||(a<e.min?i(e.min):a>e.max?i(e.max):(t.firstValue=a,l()&&(e.validateEvent&&(null==(r=null==o?void 0:o.validate)||r.call(o,"change").catch(e=>Object(y["a"])(e))),t.oldValue=a)))};c(),Object(s["watch"])(()=>t.dragging,e=>{e||c()}),Object(s["watch"])(()=>e.modelValue,(e,n)=>{t.dragging||Array.isArray(e)&&Array.isArray(n)&&e.every((e,t)=>e===n[t])&&t.firstValue===e[0]&&t.secondValue===e[1]||c()},{deep:!0}),Object(s["watch"])(()=>[e.min,e.max],()=>{c()})},TO=(e,t,n)=>{const r=Object(s["ref"])();return Object(s["onMounted"])(async()=>{e.range?(Array.isArray(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue]):("number"!==typeof e.modelValue||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),Object(l["useEventListener"])(window,"resize",n),await Object(s["nextTick"])(),n()}),{sliderWrapper:r}},EO=["id","role","aria-label","aria-labelledby"],LO={key:1},PO=Object(s["defineComponent"])({name:"ElSlider"}),DO=Object(s["defineComponent"])({...PO,props:oO,emits:sO,setup(e,{expose:t,emit:n}){const r=e,a=Object(b["d"])("slider"),{t:o}=Object(Lr["b"])(),i=Object(s["reactive"])({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:l,slider:c,firstButton:u,secondButton:d,sliderDisabled:f,minValue:h,maxValue:p,runwayStyle:m,barStyle:v,resetSize:g,emitChange:y,onSliderWrapperPrevent:O,onSliderClick:w,onSliderDown:_,setFirstValue:j,setSecondValue:k}=SO(r,i,n),{stops:x,getStopStyle:S}=CO(r,i,h,p),{inputId:C,isLabeledByFormItem:M}=ge(r,{formItemContext:l}),A=Oe(),T=Object(s["computed"])(()=>r.inputSize||A.value),E=Object(s["computed"])(()=>r.label||r.ariaLabel||o("el.slider.defaultLabel",{min:r.min,max:r.max})),L=Object(s["computed"])(()=>r.range?r.rangeStartLabel||o("el.slider.defaultRangeStartLabel"):E.value),P=Object(s["computed"])(()=>r.formatValueText?r.formatValueText(V.value):""+V.value),D=Object(s["computed"])(()=>r.rangeEndLabel||o("el.slider.defaultRangeEndLabel")),N=Object(s["computed"])(()=>r.formatValueText?r.formatValueText(z.value):""+z.value),R=Object(s["computed"])(()=>[a.b(),a.m(A.value),a.is("vertical",r.vertical),{[a.m("with-input")]:r.showInput}]),I=MO(r);AO(r,i,h,p,n,l);const B=Object(s["computed"])(()=>{const e=[r.min,r.max,r.step].map(e=>{const t=(""+e).split(".")[1];return t?t.length:0});return Math.max.apply(null,e)}),{sliderWrapper:F}=TO(r,i,g),{firstValue:V,secondValue:z,sliderSize:H}=Object(s["toRefs"])(i),Y=e=>{i.dragging=e};return Object(s["provide"])(aO,{...Object(s["toRefs"])(r),sliderSize:H,disabled:f,precision:B,emitChange:y,resetSize:g,updateDragging:Y}),Object(xe["a"])({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-slider",ref:"https://element-plus.org/en-US/component/slider.html"},Object(s["computed"])(()=>!!r.label)),t({onSliderClick:w}),(e,t)=>{var n,r;return Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{id:e.range?Object(s["unref"])(C):void 0,ref_key:"sliderWrapper",ref:F,class:Object(s["normalizeClass"])(Object(s["unref"])(R)),role:e.range?"group":void 0,"aria-label":e.range&&!Object(s["unref"])(M)?Object(s["unref"])(E):void 0,"aria-labelledby":e.range&&Object(s["unref"])(M)?null==(n=Object(s["unref"])(l))?void 0:n.labelId:void 0,onTouchstart:t[2]||(t[2]=(...e)=>Object(s["unref"])(O)&&Object(s["unref"])(O)(...e)),onTouchmove:t[3]||(t[3]=(...e)=>Object(s["unref"])(O)&&Object(s["unref"])(O)(...e))},[Object(s["createElementVNode"])("div",{ref_key:"slider",ref:c,class:Object(s["normalizeClass"])([Object(s["unref"])(a).e("runway"),{"show-input":e.showInput&&!e.range},Object(s["unref"])(a).is("disabled",Object(s["unref"])(f))]),style:Object(s["normalizeStyle"])(Object(s["unref"])(m)),onMousedown:t[0]||(t[0]=(...e)=>Object(s["unref"])(_)&&Object(s["unref"])(_)(...e)),onTouchstart:t[1]||(t[1]=(...e)=>Object(s["unref"])(_)&&Object(s["unref"])(_)(...e))},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("bar")),style:Object(s["normalizeStyle"])(Object(s["unref"])(v))},null,6),Object(s["createVNode"])(jO,{id:e.range?void 0:Object(s["unref"])(C),ref_key:"firstButton",ref:u,"model-value":Object(s["unref"])(V),vertical:e.vertical,"tooltip-class":e.tooltipClass,placement:e.placement,role:"slider","aria-label":e.range||!Object(s["unref"])(M)?Object(s["unref"])(L):void 0,"aria-labelledby":!e.range&&Object(s["unref"])(M)?null==(r=Object(s["unref"])(l))?void 0:r.labelId:void 0,"aria-valuemin":e.min,"aria-valuemax":e.range?Object(s["unref"])(z):e.max,"aria-valuenow":Object(s["unref"])(V),"aria-valuetext":Object(s["unref"])(P),"aria-orientation":e.vertical?"vertical":"horizontal","aria-disabled":Object(s["unref"])(f),"onUpdate:modelValue":Object(s["unref"])(j)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),e.range?(Object(s["openBlock"])(),Object(s["createBlock"])(jO,{key:0,ref_key:"secondButton",ref:d,"model-value":Object(s["unref"])(z),vertical:e.vertical,"tooltip-class":e.tooltipClass,placement:e.placement,role:"slider","aria-label":Object(s["unref"])(D),"aria-valuemin":Object(s["unref"])(V),"aria-valuemax":e.max,"aria-valuenow":Object(s["unref"])(z),"aria-valuetext":Object(s["unref"])(N),"aria-orientation":e.vertical?"vertical":"horizontal","aria-disabled":Object(s["unref"])(f),"onUpdate:modelValue":Object(s["unref"])(k)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):Object(s["createCommentVNode"])("v-if",!0),e.showStops?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",LO,[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(Object(s["unref"])(x),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:t,class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("stop")),style:Object(s["normalizeStyle"])(Object(s["unref"])(S)(e))},null,6))),128))])):Object(s["createCommentVNode"])("v-if",!0),Object(s["unref"])(I).length>0?(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:2},[Object(s["createElementVNode"])("div",null,[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(Object(s["unref"])(I),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:t,style:Object(s["normalizeStyle"])(Object(s["unref"])(S)(e.position)),class:Object(s["normalizeClass"])([Object(s["unref"])(a).e("stop"),Object(s["unref"])(a).e("marks-stop")])},null,6))),128))]),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("marks"))},[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(Object(s["unref"])(I),(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(xO),{key:t,mark:e.mark,style:Object(s["normalizeStyle"])(Object(s["unref"])(S)(e.position))},null,8,["mark","style"]))),128))],2)],64)):Object(s["createCommentVNode"])("v-if",!0)],38),e.showInput&&!e.range?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(bm),{key:0,ref:"input","model-value":Object(s["unref"])(V),class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("input")),step:e.step,disabled:Object(s["unref"])(f),controls:e.showInputControls,min:e.min,max:e.max,debounce:e.debounce,size:Object(s["unref"])(T),"onUpdate:modelValue":Object(s["unref"])(j),onChange:Object(s["unref"])(y)},null,8,["model-value","class","step","disabled","controls","min","max","debounce","size","onUpdate:modelValue","onChange"])):Object(s["createCommentVNode"])("v-if",!0)],42,EO)}}});var NO=Object(v["a"])(DO,[["__file","slider.vue"]]);const RO=Object(N["a"])(NO),IO=Object(c["b"])({prefixCls:{type:String}}),BO=Object(s["defineComponent"])({name:"ElSpaceItem",props:IO,setup(e,{slots:t}){const n=Object(b["d"])("space"),r=Object(s["computed"])(()=>(e.prefixCls||n.b())+"__item");return()=>Object(s["h"])("div",{class:r.value},Object(s["renderSlot"])(t,"default"))}}),FO={small:8,default:12,large:16};function VO(e){const t=Object(b["d"])("space"),n=Object(s["computed"])(()=>[t.b(),t.m(e.direction),e.class]),r=Object(s["ref"])(0),a=Object(s["ref"])(0),o=Object(s["computed"])(()=>{const t=e.wrap||e.fill?{flexWrap:"wrap"}:{},n={alignItems:e.alignment},o={rowGap:a.value+"px",columnGap:r.value+"px"};return[t,n,o,e.style]}),i=Object(s["computed"])(()=>e.fill?{flexGrow:1,minWidth:e.fillRatio+"%"}:{});return Object(s["watchEffect"])(()=>{const{size:t="small",wrap:n,direction:o,fill:i}=e;if(Object(te["isArray"])(t)){const[e=0,n=0]=t;r.value=e,a.value=n}else{let e;e=Object(u["d"])(t)?t:FO[t||"small"]||FO.small,(n||i)&&"horizontal"===o?r.value=a.value=e:"horizontal"===o?(r.value=e,a.value=0):(a.value=e,r.value=0)}}),{classes:n,containerStyle:o,itemStyle:i}}const zO=Object(c["b"])({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:Object(c["c"])([String,Object,Array]),default:""},style:{type:Object(c["c"])([String,Array,Object]),default:""},alignment:{type:Object(c["c"])(String),default:"center"},prefixCls:{type:String},spacer:{type:Object(c["c"])([Object,String,Number,Array]),default:null,validator:e=>Object(s["isVNode"])(e)||Object(u["d"])(e)||Object(te["isString"])(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:hr["a"],validator:e=>Object(u["d"])(e)||Object(te["isArray"])(e)&&2===e.length&&e.every(u["d"])}}),HO=Object(s["defineComponent"])({name:"ElSpace",props:zO,setup(e,{slots:t}){const{classes:n,containerStyle:r,itemStyle:a}=VO(e);function o(t,n="",r=[]){const{prefixCls:i}=e;return t.forEach((e,t)=>{eo(e)?Object(te["isArray"])(e.children)&&e.children.forEach((e,t)=>{eo(e)&&Object(te["isArray"])(e.children)?o(e.children,n+t+"-",r):r.push(Object(s["createVNode"])(BO,{style:a.value,prefixCls:i,key:"nested-"+(n+t)},{default:()=>[e]},Qa.PROPS|Qa.STYLE,["style","prefixCls"]))}):no(e)&&r.push(Object(s["createVNode"])(BO,{style:a.value,prefixCls:i,key:"LoopKey"+(n+t)},{default:()=>[e]},Qa.PROPS|Qa.STYLE,["style","prefixCls"]))}),r}return()=>{var i;const{spacer:l,direction:c}=e,u=Object(s["renderSlot"])(t,"default",{key:0},()=>[]);if(0===(null!=(i=u.children)?i:[]).length)return null;if(Object(te["isArray"])(u.children)){let e=o(u.children);if(l){const t=e.length-1;e=e.reduce((e,n,r)=>{const o=[...e,n];return r!==t&&o.push(Object(s["createVNode"])("span",{style:[a.value,"vertical"===c?"width: 100%":null],key:r},[Object(s["isVNode"])(l)?l:Object(s["createTextVNode"])(l,Qa.TEXT)],Qa.STYLE)),o},[])}return Object(s["createVNode"])("div",{class:n.value,style:r.value},e,Qa.STYLE|Qa.CLASS)}return u.children}}}),YO=Object(N["a"])(HO),UO=Object(c["b"])({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:Object(c["c"])([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:Object(c["c"])([String,Object,Array])}}),WO=Object(s["defineComponent"])({name:"ElStatistic"}),$O=Object(s["defineComponent"])({...WO,props:UO,setup(e,{expose:t}){const n=e,r=Object(b["d"])("statistic"),a=Object(s["computed"])(()=>{const{value:e,formatter:t,precision:r,decimalSeparator:a,groupSeparator:o}=n;if(Object(te["isFunction"])(t))return t(e);if(!Object(u["d"])(e))return e;let[i,s=""]=String(e).split(".");return s=s.padEnd(r,"0").slice(0,r>0?r:0),i=i.replace(/\B(?=(\d{3})+(?!\d))/g,o),[i,s].join(s?a:"")});return t({displayValue:a}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(r).b())},[e.$slots.title||e.title?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("head"))},[Object(s["renderSlot"])(e.$slots,"title",{},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.title),1)])],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("content"))},[e.$slots.prefix||e.prefix?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("prefix"))},[Object(s["renderSlot"])(e.$slots,"prefix",{},()=>[Object(s["createElementVNode"])("span",null,Object(s["toDisplayString"])(e.prefix),1)])],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("number")),style:Object(s["normalizeStyle"])(e.valueStyle)},Object(s["toDisplayString"])(Object(s["unref"])(a)),7),e.$slots.suffix||e.suffix?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("suffix"))},[Object(s["renderSlot"])(e.$slots,"suffix",{},()=>[Object(s["createElementVNode"])("span",null,Object(s["toDisplayString"])(e.suffix),1)])],2)):Object(s["createCommentVNode"])("v-if",!0)],2)],2))}});var qO=Object(v["a"])($O,[["__file","statistic.vue"]]);const GO=Object(N["a"])(qO),XO=Object(c["b"])({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:Object(c["c"])([Number,Object]),default:0},valueStyle:{type:Object(c["c"])([String,Object,Array])}}),KO={finish:()=>!0,[f]:e=>Object(u["d"])(e)},JO=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]],ZO=e=>Object(u["d"])(e)?new Date(e).getTime():e.valueOf(),QO=(e,t)=>{let n=e;const r=/\[([^\]]*)]/g,a=JO.reduce((e,[t,r])=>{const a=new RegExp(t+"+(?![^\\[\\]]*\\])","g");if(a.test(e)){const t=Math.floor(n/r);return n-=t*r,e.replace(a,e=>String(t).padStart(e.length,"0"))}return e},t);return a.replace(r,"$1")},ew=Object(s["defineComponent"])({name:"ElCountdown"}),tw=Object(s["defineComponent"])({...ew,props:XO,emits:KO,setup(e,{expose:t,emit:n}){const r=e;let a;const o=Object(s["ref"])(ZO(r.value)-Date.now()),i=Object(s["computed"])(()=>QO(o.value,r.format)),l=e=>QO(e,r.format),c=()=>{a&&(_(a),a=void 0)},u=()=>{const e=ZO(r.value),t=()=>{let r=e-Date.now();n("change",r),r<=0?(r=0,c(),n("finish")):a=w(t),o.value=r};a=w(t)};return Object(s["watch"])(()=>[r.value,r.format],()=>{c(),u()},{immediate:!0}),Object(s["onBeforeUnmount"])(()=>{c()}),t({displayValue:i}),(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(GO),{value:o.value,title:e.title,prefix:e.prefix,suffix:e.suffix,"value-style":e.valueStyle,formatter:l},Object(s["createSlots"])({_:2},[Object(s["renderList"])(e.$slots,(t,n)=>({name:n,fn:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,n)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});var nw=Object(v["a"])(tw,[["__file","countdown.vue"]]);const rw=Object(N["a"])(nw),aw=Object(c["b"])({space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",values:["horizontal","vertical"]},alignCenter:{type:Boolean},simple:{type:Boolean},finishStatus:{type:String,values:["wait","process","finish","error","success"],default:"finish"},processStatus:{type:String,values:["wait","process","finish","error","success"],default:"process"}}),ow={[f]:(e,t)=>[e,t].every(u["d"])},iw=Object(s["defineComponent"])({name:"ElSteps"}),sw=Object(s["defineComponent"])({...iw,props:aw,emits:ow,setup(e,{emit:t}){const n=e,r=Object(b["d"])("steps"),{children:a,addChild:o,removeChild:i}=so(Object(s["getCurrentInstance"])(),"ElStep");return Object(s["watch"])(a,()=>{a.value.forEach((e,t)=>{e.setIndex(t)})}),Object(s["provide"])("ElSteps",{props:n,steps:a,addStep:o,removeStep:i}),Object(s["watch"])(()=>n.active,(e,n)=>{t(f,e,n)}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(r).b(),Object(s["unref"])(r).m(e.simple?"simple":e.direction)])},[Object(s["renderSlot"])(e.$slots,"default")],2))}});var lw=Object(v["a"])(sw,[["__file","steps.vue"]]);const cw=Object(c["b"])({title:{type:String,default:""},icon:{type:F["e"]},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}}),uw=Object(s["defineComponent"])({name:"ElStep"}),dw=Object(s["defineComponent"])({...uw,props:cw,setup(e){const t=e,n=Object(b["d"])("step"),r=Object(s["ref"])(-1),a=Object(s["ref"])({}),o=Object(s["ref"])(""),i=Object(s["inject"])("ElSteps"),l=Object(s["getCurrentInstance"])();Object(s["onMounted"])(()=>{Object(s["watch"])([()=>i.props.active,()=>i.props.processStatus,()=>i.props.finishStatus],([e])=>{j(e)},{immediate:!0})}),Object(s["onBeforeUnmount"])(()=>{i.removeStep(k.uid)});const c=Object(s["computed"])(()=>t.status||o.value),d=Object(s["computed"])(()=>{const e=i.steps.value[r.value-1];return e?e.currentStatus:"wait"}),f=Object(s["computed"])(()=>i.props.alignCenter),h=Object(s["computed"])(()=>"vertical"===i.props.direction),p=Object(s["computed"])(()=>i.props.simple),m=Object(s["computed"])(()=>i.steps.value.length),v=Object(s["computed"])(()=>{var e;return(null==(e=i.steps.value[m.value-1])?void 0:e.uid)===(null==l?void 0:l.uid)}),g=Object(s["computed"])(()=>p.value?"":i.props.space),y=Object(s["computed"])(()=>[n.b(),n.is(p.value?"simple":i.props.direction),n.is("flex",v.value&&!g.value&&!f.value),n.is("center",f.value&&!h.value&&!p.value)]),O=Object(s["computed"])(()=>{const e={flexBasis:Object(u["d"])(g.value)?g.value+"px":g.value?g.value:100/(m.value-(f.value?0:1))+"%"};return h.value||v.value&&(e.maxWidth=100/m.value+"%"),e}),w=e=>{r.value=e},_=e=>{const t="wait"===e,n={transitionDelay:`${t?"-":""}${150*r.value}ms`},o=e===i.props.processStatus||t?0:100;n.borderWidth=o&&!p.value?"1px":0,n["vertical"===i.props.direction?"height":"width"]=o+"%",a.value=n},j=e=>{e>r.value?o.value=i.props.finishStatus:e===r.value&&"error"!==d.value?o.value=i.props.processStatus:o.value="wait";const t=i.steps.value[r.value-1];t&&t.calcProgress(o.value)},k=Object(s["reactive"])({uid:l.uid,currentStatus:c,setIndex:w,calcProgress:_});return i.addStep(k),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{style:Object(s["normalizeStyle"])(Object(s["unref"])(O)),class:Object(s["normalizeClass"])(Object(s["unref"])(y))},[Object(s["createCommentVNode"])(" icon & line "),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(n).e("head"),Object(s["unref"])(n).is(Object(s["unref"])(c))])},[Object(s["unref"])(p)?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("line"))},[Object(s["createElementVNode"])("i",{class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("line-inner")),style:Object(s["normalizeStyle"])(a.value)},null,6)],2)),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(n).e("icon"),Object(s["unref"])(n).is(e.icon||e.$slots.icon?"icon":"text")])},[Object(s["renderSlot"])(e.$slots,"icon",{},()=>[e.icon?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("icon-inner"))},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.icon)))]),_:1},8,["class"])):"success"===Object(s["unref"])(c)?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:1,class:Object(s["normalizeClass"])([Object(s["unref"])(n).e("icon-inner"),Object(s["unref"])(n).is("status")])},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["Check"]))]),_:1},8,["class"])):"error"===Object(s["unref"])(c)?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:2,class:Object(s["normalizeClass"])([Object(s["unref"])(n).e("icon-inner"),Object(s["unref"])(n).is("status")])},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["Close"]))]),_:1},8,["class"])):Object(s["unref"])(p)?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:3,class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("icon-inner"))},Object(s["toDisplayString"])(r.value+1),3))])],2)],2),Object(s["createCommentVNode"])(" title & description "),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("main"))},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(n).e("title"),Object(s["unref"])(n).is(Object(s["unref"])(c))])},[Object(s["renderSlot"])(e.$slots,"title",{},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.title),1)])],2),Object(s["unref"])(p)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("arrow"))},null,2)):(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,class:Object(s["normalizeClass"])([Object(s["unref"])(n).e("description"),Object(s["unref"])(n).is(Object(s["unref"])(c))])},[Object(s["renderSlot"])(e.$slots,"description",{},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.description),1)])],2))],2)],6))}});var fw=Object(v["a"])(dw,[["__file","item.vue"]]);const hw=Object(N["a"])(lw,{Step:fw}),pw=Object(N["d"])(fw),mw=e=>["",...hr["a"]].includes(e),vw=Object(c["b"])({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:String,validator:mw},width:{type:[String,Number],default:""},inlinePrompt:{type:Boolean,default:!1},inactiveActionIcon:{type:F["e"]},activeActionIcon:{type:F["e"]},activeIcon:{type:F["e"]},inactiveIcon:{type:F["e"]},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:Object(c["c"])(Function)},id:String,tabindex:{type:[String,Number]},label:{type:String,default:void 0},...oe(["ariaLabel"])}),bw={[d]:e=>Object(u["a"])(e)||Object(te["isString"])(e)||Object(u["d"])(e),[f]:e=>Object(u["a"])(e)||Object(te["isString"])(e)||Object(u["d"])(e),[h]:e=>Object(u["a"])(e)||Object(te["isString"])(e)||Object(u["d"])(e)},gw=["onClick"],yw=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"],Ow=["aria-hidden"],ww=["aria-hidden"],_w=["aria-hidden"],jw="ElSwitch",kw=Object(s["defineComponent"])({name:jw}),xw=Object(s["defineComponent"])({...kw,props:vw,emits:bw,setup(e,{expose:t,emit:n}){const r=e,{formItem:a}=be(),o=Oe(),i=Object(b["d"])("switch"),{inputId:l}=ge(r,{formItemContext:a}),c=we(Object(s["computed"])(()=>r.loading)),p=Object(s["ref"])(!1!==r.modelValue),m=Object(s["ref"])(),v=Object(s["ref"])(),O=Object(s["computed"])(()=>[i.b(),i.m(o.value),i.is("disabled",c.value),i.is("checked",x.value)]),w=Object(s["computed"])(()=>[i.e("label"),i.em("label","left"),i.is("active",!x.value)]),_=Object(s["computed"])(()=>[i.e("label"),i.em("label","right"),i.is("active",x.value)]),j=Object(s["computed"])(()=>({width:Object(g["b"])(r.width)}));Object(s["watch"])(()=>r.modelValue,()=>{p.value=!0});const k=Object(s["computed"])(()=>!!p.value&&r.modelValue),x=Object(s["computed"])(()=>k.value===r.activeValue);[r.activeValue,r.inactiveValue].includes(k.value)||(n(d,r.inactiveValue),n(f,r.inactiveValue),n(h,r.inactiveValue)),Object(s["watch"])(x,e=>{var t;m.value.checked=e,r.validateEvent&&(null==(t=null==a?void 0:a.validate)||t.call(a,"change").catch(e=>Object(y["a"])(e)))});const S=()=>{const e=x.value?r.inactiveValue:r.activeValue;n(d,e),n(f,e),n(h,e),Object(s["nextTick"])(()=>{m.value.checked=x.value})},C=()=>{if(c.value)return;const{beforeChange:e}=r;if(!e)return void S();const t=e(),n=[Object(te["isPromise"])(t),Object(u["a"])(t)].includes(!0);n||Object(y["b"])(jw,"beforeChange must return type `Promise<boolean>` or `boolean`"),Object(te["isPromise"])(t)?t.then(e=>{e&&S()}).catch(e=>{Object(y["a"])(jw,"some error occurred: "+e)}):t&&S()},M=()=>{var e,t;null==(t=null==(e=m.value)?void 0:e.focus)||t.call(e)};return Object(s["onMounted"])(()=>{m.value.checked=x.value}),Object(xe["a"])({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-switch",ref:"https://element-plus.org/en-US/component/switch.html"},Object(s["computed"])(()=>!!r.label)),t({focus:M,checked:x}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(O)),onClick:Object(s["withModifiers"])(C,["prevent"])},[Object(s["createElementVNode"])("input",{id:Object(s["unref"])(l),ref_key:"input",ref:m,class:Object(s["normalizeClass"])(Object(s["unref"])(i).e("input")),type:"checkbox",role:"switch","aria-checked":Object(s["unref"])(x),"aria-disabled":Object(s["unref"])(c),"aria-label":e.label||e.ariaLabel,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:Object(s["unref"])(c),tabindex:e.tabindex,onChange:S,onKeydown:Object(s["withKeys"])(C,["enter"])},null,42,yw),e.inlinePrompt||!e.inactiveIcon&&!e.inactiveText?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(w))},[e.inactiveIcon?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.inactiveIcon)))]),_:1})):Object(s["createCommentVNode"])("v-if",!0),!e.inactiveIcon&&e.inactiveText?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:1,"aria-hidden":Object(s["unref"])(x)},Object(s["toDisplayString"])(e.inactiveText),9,Ow)):Object(s["createCommentVNode"])("v-if",!0)],2)),Object(s["createElementVNode"])("span",{ref_key:"core",ref:v,class:Object(s["normalizeClass"])(Object(s["unref"])(i).e("core")),style:Object(s["normalizeStyle"])(Object(s["unref"])(j))},[e.inlinePrompt?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(i).e("inner"))},[e.activeIcon||e.inactiveIcon?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(i).is("icon"))},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(Object(s["unref"])(x)?e.activeIcon:e.inactiveIcon)))]),_:1},8,["class"])):e.activeText||e.inactiveText?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:1,class:Object(s["normalizeClass"])(Object(s["unref"])(i).is("text")),"aria-hidden":!Object(s["unref"])(x)},Object(s["toDisplayString"])(Object(s["unref"])(x)?e.activeText:e.inactiveText),11,ww)):Object(s["createCommentVNode"])("v-if",!0)],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(i).e("action"))},[e.loading?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(i).is("loading"))},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["Loading"]))]),_:1},8,["class"])):Object(s["unref"])(x)?Object(s["renderSlot"])(e.$slots,"active-action",{key:1},()=>[e.activeActionIcon?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.activeActionIcon)))]),_:1})):Object(s["createCommentVNode"])("v-if",!0)]):Object(s["unref"])(x)?Object(s["createCommentVNode"])("v-if",!0):Object(s["renderSlot"])(e.$slots,"inactive-action",{key:2},()=>[e.inactiveActionIcon?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.inactiveActionIcon)))]),_:1})):Object(s["createCommentVNode"])("v-if",!0)])],2)],6),e.inlinePrompt||!e.activeIcon&&!e.activeText?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:1,class:Object(s["normalizeClass"])(Object(s["unref"])(_))},[e.activeIcon?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.activeIcon)))]),_:1})):Object(s["createCommentVNode"])("v-if",!0),!e.activeIcon&&e.activeText?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:1,"aria-hidden":!Object(s["unref"])(x)},Object(s["toDisplayString"])(e.activeText),9,_w)):Object(s["createCommentVNode"])("v-if",!0)],2))],10,gw))}});var Sw=Object(v["a"])(xw,[["__file","switch.vue"]]);const Cw=Object(N["a"])(Sw),Mw=function(e){var t;return null==(t=e.target)?void 0:t.closest("td")},Aw=function(e,t,n,r,a){if(!t&&!r&&(!a||Array.isArray(a)&&!a.length))return e;n="string"===typeof n?"descending"===n?-1:1:n&&n<0?-1:1;const o=r?null:function(n,r){return a?(Array.isArray(a)||(a=[a]),a.map(t=>"string"===typeof t?Object(q["get"])(n,t):t(n,r,e))):("$key"!==t&&Object(te["isObject"])(n)&&"$value"in n&&(n=n.$value),[Object(te["isObject"])(n)?Object(q["get"])(n,t):n])},i=function(e,t){if(r)return r(e.value,t.value);for(let n=0,r=e.key.length;n<r;n++){if(e.key[n]<t.key[n])return-1;if(e.key[n]>t.key[n])return 1}return 0};return e.map((e,t)=>({value:e,index:t,key:o?o(e,t):null})).sort((e,t)=>{let r=i(e,t);return r||(r=e.index-t.index),r*+n}).map(e=>e.value)},Tw=function(e,t){let n=null;return e.columns.forEach(e=>{e.id===t&&(n=e)}),n},Ew=function(e,t){let n=null;for(let r=0;r<e.columns.length;r++){const a=e.columns[r];if(a.columnKey===t){n=a;break}}return n||Object(y["b"])("ElTable","No column matching with column-key: "+t),n},Lw=function(e,t,n){const r=(t.className||"").match(new RegExp(n+"-table_[^\\s]+","gm"));return r?Tw(e,r[0]):null},Pw=(e,t)=>{if(!e)throw new Error("Row is required when get row identity");if("string"===typeof t){if(!t.includes("."))return""+e[t];const n=t.split(".");let r=e;for(const e of n)r=r[e];return""+r}if("function"===typeof t)return t.call(null,e)},Dw=function(e,t){const n={};return(e||[]).forEach((e,r)=>{n[Pw(e,t)]={row:e,index:r}}),n};function Nw(e,t){const n={};let r;for(r in e)n[r]=e[r];for(r in t)if(Object(te["hasOwn"])(t,r)){const e=t[r];"undefined"!==typeof e&&(n[r]=e)}return n}function Rw(e){return""===e||void 0!==e&&(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function Iw(e){return""===e||void 0!==e&&(e=Rw(e),Number.isNaN(e)&&(e=80)),e}function Bw(e){return"number"===typeof e?e:"string"===typeof e?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function Fw(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce((e,t)=>(...n)=>e(t(...n)))}function Vw(e,t,n){let r=!1;const a=e.indexOf(t),o=-1!==a,i=i=>{"add"===i?e.push(t):e.splice(a,1),r=!0,Object(te["isArray"])(t.children)&&t.children.forEach(t=>{Vw(e,t,null!=n?n:!o)})};return Object(u["a"])(n)?n&&!o?i("add"):!n&&o&&i("remove"):i(o?"remove":"add"),r}function zw(e,t,n="children",r="hasChildren"){const a=e=>!(Array.isArray(e)&&e.length);function o(e,i,s){t(e,i,s),i.forEach(e=>{if(e[r])return void t(e,null,s+1);const i=e[n];a(i)||o(e,i,s+1)})}e.forEach(e=>{if(e[r])return void t(e,null,0);const i=e[n];a(i)||o(e,i,0)})}let Hw=null;function Yw(e,t,n,r){if((null==Hw?void 0:Hw.trigger)===n)return;null==Hw||Hw();const a=null==r?void 0:r.refs.tableWrapper,o=null==a?void 0:a.dataset.prefix,i={strategy:"fixed",...e.popperOptions},l=Object(s["createVNode"])(nr,{content:t,virtualTriggering:!0,virtualRef:n,appendTo:a,placement:"top",transition:"none",offset:0,hideAfter:0,...e,popperOptions:i,onHide:()=>{null==Hw||Hw()}});l.appContext={...r.appContext,...r};const c=document.createElement("div");Object(s["render"])(l,c),l.component.exposed.onOpen();const u=null==a?void 0:a.querySelector(`.${o}-scrollbar__wrap`);Hw=()=>{Object(s["render"])(null,c),null==u||u.removeEventListener("scroll",Hw),Hw=null},Hw.trigger=n,null==u||u.addEventListener("scroll",Hw)}function Uw(e){return e.children?Object(q["flatMap"])(e.children,Uw):[e]}function Ww(e,t){return e+t.colSpan}const $w=(e,t,n,r)=>{let a=0,o=e;const i=n.states.columns.value;if(r){const t=Uw(r[e]),n=i.slice(0,i.indexOf(t[0]));a=n.reduce(Ww,0),o=a+t.reduce(Ww,0)-1}else a=e;let s;switch(t){case"left":o<n.states.fixedLeafColumnsLength.value&&(s="left");break;case"right":a>=i.length-n.states.rightFixedLeafColumnsLength.value&&(s="right");break;default:o<n.states.fixedLeafColumnsLength.value?s="left":a>=i.length-n.states.rightFixedLeafColumnsLength.value&&(s="right")}return s?{direction:s,start:a,after:o}:{}},qw=(e,t,n,r,a,o=0)=>{const i=[],{direction:s,start:l,after:c}=$w(t,n,r,a);if(s){const t="left"===s;i.push(`${e}-fixed-column--${s}`),t&&c+o===r.states.fixedLeafColumnsLength.value-1?i.push("is-last-column"):t||l-o!==r.states.columns.value.length-r.states.rightFixedLeafColumnsLength.value||i.push("is-first-column")}return i};function Gw(e,t){return e+(null===t.realWidth||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const Xw=(e,t,n,r)=>{const{direction:a,start:o=0,after:i=0}=$w(e,t,n,r);if(!a)return;const s={},l="left"===a,c=n.states.columns.value;return l?s.left=c.slice(0,o).reduce(Gw,0):s.right=c.slice(i+1).reverse().reduce(Gw,0),s},Kw=(e,t)=>{e&&(Number.isNaN(e[t])||(e[t]=e[t]+"px"))};function Jw(e){const t=Object(s["getCurrentInstance"])(),n=Object(s["ref"])(!1),r=Object(s["ref"])([]),a=()=>{const t=e.data.value||[],a=e.rowKey.value;if(n.value)r.value=t.slice();else if(a){const e=Dw(r.value,a);r.value=t.reduce((t,n)=>{const r=Pw(n,a),o=e[r];return o&&t.push(n),t},[])}else r.value=[]},o=(e,n)=>{const a=Vw(r.value,e,n);a&&t.emit("expand-change",e,r.value.slice())},i=n=>{t.store.assertRowKey();const a=e.data.value||[],o=e.rowKey.value,i=Dw(a,o);r.value=n.reduce((e,t)=>{const n=i[t];return n&&e.push(n.row),e},[])},l=t=>{const n=e.rowKey.value;if(n){const e=Dw(r.value,n);return!!e[Pw(t,n)]}return r.value.includes(t)};return{updateExpandRows:a,toggleRowExpansion:o,setExpandRowKeys:i,isRowExpanded:l,states:{expandRows:r,defaultExpandAll:n}}}function Zw(e){const t=Object(s["getCurrentInstance"])(),n=Object(s["ref"])(null),r=Object(s["ref"])(null),a=e=>{t.store.assertRowKey(),n.value=e,i(e)},o=()=>{n.value=null},i=n=>{const{data:a,rowKey:o}=e;let i=null;o.value&&(i=(Object(s["unref"])(a)||[]).find(e=>Pw(e,o.value)===n)),r.value=i,t.emit("current-change",r.value,null)},l=e=>{const n=r.value;if(e&&e!==n)return r.value=e,void t.emit("current-change",r.value,n);!e&&n&&(r.value=null,t.emit("current-change",null,n))},c=()=>{const a=e.rowKey.value,s=e.data.value||[],l=r.value;if(!s.includes(l)&&l){if(a){const e=Pw(l,a);i(e)}else r.value=null;null===r.value&&t.emit("current-change",null,l)}else n.value&&(i(n.value),o())};return{setCurrentRowKey:a,restoreCurrentRowKey:o,setCurrentRowByKey:i,updateCurrentRow:l,updateCurrentRowData:c,states:{_currentRowKey:n,currentRow:r}}}function Qw(e){const t=Object(s["ref"])([]),n=Object(s["ref"])({}),r=Object(s["ref"])(16),a=Object(s["ref"])(!1),o=Object(s["ref"])({}),i=Object(s["ref"])("hasChildren"),l=Object(s["ref"])("children"),c=Object(s["getCurrentInstance"])(),u=Object(s["computed"])(()=>{if(!e.rowKey.value)return{};const t=e.data.value||[];return f(t)}),d=Object(s["computed"])(()=>{const t=e.rowKey.value,n=Object.keys(o.value),r={};return n.length?(n.forEach(e=>{if(o.value[e].length){const n={children:[]};o.value[e].forEach(e=>{const a=Pw(e,t);n.children.push(a),e[i.value]&&!r[a]&&(r[a]={children:[]})}),r[e]=n}}),r):r}),f=t=>{const n=e.rowKey.value,r={};return zw(t,(e,t,o)=>{const i=Pw(e,n);Array.isArray(t)?r[i]={children:t.map(e=>Pw(e,n)),level:o}:a.value&&(r[i]={children:[],lazy:!0,level:o})},l.value,i.value),r},h=(e=!1,r=(e=>null==(e=c.store)?void 0:e.states.defaultExpandAll.value)())=>{var o;const i=u.value,l=d.value,f=Object.keys(i),h={};if(f.length){const o=Object(s["unref"])(n),c=[],u=(n,a)=>{if(e)return t.value?r||t.value.includes(a):!(!r&&!(null==n?void 0:n.expanded));{const e=r||t.value&&t.value.includes(a);return!(!(null==n?void 0:n.expanded)&&!e)}};f.forEach(e=>{const t=o[e],n={...i[e]};if(n.expanded=u(t,e),n.lazy){const{loaded:r=!1,loading:a=!1}=t||{};n.loaded=!!r,n.loading=!!a,c.push(e)}h[e]=n});const d=Object.keys(l);a.value&&d.length&&c.length&&d.forEach(e=>{const t=o[e],n=l[e].children;if(c.includes(e)){if(0!==h[e].children.length)throw new Error("[ElTable]children must be an empty array.");h[e].children=n}else{const{loaded:r=!1,loading:a=!1}=t||{};h[e]={lazy:!0,loaded:!!r,loading:!!a,expanded:u(t,e),children:n,level:""}}})}n.value=h,null==(o=c.store)||o.updateTableScrollY()};Object(s["watch"])(()=>t.value,()=>{h(!0)}),Object(s["watch"])(()=>u.value,()=>{h()}),Object(s["watch"])(()=>d.value,()=>{h()});const p=e=>{t.value=e,h()},m=(t,r)=>{c.store.assertRowKey();const a=e.rowKey.value,o=Pw(t,a),i=o&&n.value[o];if(o&&i&&"expanded"in i){const e=i.expanded;r="undefined"===typeof r?!i.expanded:r,n.value[o].expanded=r,e!==r&&c.emit("expand-change",t,r),c.store.updateTableScrollY()}},v=t=>{c.store.assertRowKey();const r=e.rowKey.value,o=Pw(t,r),i=n.value[o];a.value&&i&&"loaded"in i&&!i.loaded?b(t,o,i):m(t,void 0)},b=(e,t,r)=>{const{load:a}=c.props;a&&!n.value[t].loaded&&(n.value[t].loading=!0,a(e,r,r=>{if(!Array.isArray(r))throw new TypeError("[ElTable] data must be an array");n.value[t].loading=!1,n.value[t].loaded=!0,n.value[t].expanded=!0,r.length&&(o.value[t]=r),c.emit("expand-change",e,!0)}))};return{loadData:b,loadOrToggle:v,toggleTreeExpansion:m,updateTreeExpandKeys:p,updateTreeData:h,normalize:f,states:{expandRowKeys:t,treeData:n,indent:r,lazy:a,lazyTreeNodeMap:o,lazyColumnIdentifier:i,childrenColumnName:l}}}const e_=(e,t)=>{const n=t.sortingColumn;return n&&"string"!==typeof n.sortable?Aw(e,t.sortProp,t.sortOrder,n.sortMethod,n.sortBy):e},t_=e=>{const t=[];return e.forEach(e=>{e.children&&e.children.length>0?t.push.apply(t,t_(e.children)):t.push(e)}),t};function n_(){var e;const t=Object(s["getCurrentInstance"])(),{size:n}=Object(s["toRefs"])(null==(e=t.proxy)?void 0:e.$props),r=Object(s["ref"])(null),a=Object(s["ref"])([]),o=Object(s["ref"])([]),i=Object(s["ref"])(!1),l=Object(s["ref"])([]),c=Object(s["ref"])([]),u=Object(s["ref"])([]),d=Object(s["ref"])([]),f=Object(s["ref"])([]),h=Object(s["ref"])([]),p=Object(s["ref"])([]),m=Object(s["ref"])([]),v=[],b=Object(s["ref"])(0),g=Object(s["ref"])(0),y=Object(s["ref"])(0),O=Object(s["ref"])(!1),w=Object(s["ref"])([]),_=Object(s["ref"])(!1),j=Object(s["ref"])(!1),k=Object(s["ref"])(null),x=Object(s["ref"])({}),S=Object(s["ref"])(null),C=Object(s["ref"])(null),M=Object(s["ref"])(null),A=Object(s["ref"])(null),T=Object(s["ref"])(null);Object(s["watch"])(a,()=>t.state&&D(!1),{deep:!0});const E=()=>{if(!r.value)throw new Error("[ElTable] prop row-key is required")},L=e=>{var t;null==(t=e.children)||t.forEach(t=>{t.fixed=e.fixed,L(t)})},P=()=>{l.value.forEach(e=>{L(e)}),d.value=l.value.filter(e=>!0===e.fixed||"left"===e.fixed),f.value=l.value.filter(e=>"right"===e.fixed),d.value.length>0&&l.value[0]&&"selection"===l.value[0].type&&!l.value[0].fixed&&(l.value[0].fixed=!0,d.value.unshift(l.value[0]));const e=l.value.filter(e=>!e.fixed);c.value=[].concat(d.value).concat(e).concat(f.value);const t=t_(e),n=t_(d.value),r=t_(f.value);b.value=t.length,g.value=n.length,y.value=r.length,u.value=[].concat(n).concat(t).concat(r),i.value=d.value.length>0||f.value.length>0},D=(e,n=!1)=>{e&&P(),n?t.state.doLayout():t.state.debouncedUpdateLayout()},N=e=>w.value.includes(e),R=()=>{O.value=!1;const e=w.value;w.value=[],e.length&&t.emit("selection-change",[])},I=()=>{let e;if(r.value){e=[];const t=Dw(w.value,r.value),n=Dw(a.value,r.value);for(const r in t)Object(te["hasOwn"])(t,r)&&!n[r]&&e.push(t[r].row)}else e=w.value.filter(e=>!a.value.includes(e));if(e.length){const n=w.value.filter(t=>!e.includes(t));w.value=n,t.emit("selection-change",n.slice())}},B=()=>(w.value||[]).slice(),F=(e,n,r=!0)=>{const a=Vw(w.value,e,n);if(a){const n=(w.value||[]).slice();r&&t.emit("select",n,e),t.emit("selection-change",n)}},V=()=>{var e,n;const r=j.value?!O.value:!(O.value||w.value.length);O.value=r;let o=!1,i=0;const s=null==(n=null==(e=null==t?void 0:t.store)?void 0:e.states)?void 0:n.rowKey.value;a.value.forEach((e,t)=>{const n=t+i;k.value?k.value.call(null,e,n)&&Vw(w.value,e,r)&&(o=!0):Vw(w.value,e,r)&&(o=!0),i+=Y(Pw(e,s))}),o&&t.emit("selection-change",w.value?w.value.slice():[]),t.emit("select-all",(w.value||[]).slice())},z=()=>{const e=Dw(w.value,r.value);a.value.forEach(t=>{const n=Pw(t,r.value),a=e[n];a&&(w.value[a.index]=t)})},H=()=>{var e,n,o;if(0===(null==(e=a.value)?void 0:e.length))return void(O.value=!1);let i;r.value&&(i=Dw(w.value,r.value));const s=function(e){return i?!!i[Pw(e,r.value)]:w.value.includes(e)};let l=!0,c=0,u=0;for(let r=0,d=(a.value||[]).length;r<d;r++){const e=null==(o=null==(n=null==t?void 0:t.store)?void 0:n.states)?void 0:o.rowKey.value,i=r+u,d=a.value[r],f=k.value&&k.value.call(null,d,i);if(s(d))c++;else if(!k.value||f){l=!1;break}u+=Y(Pw(d,e))}0===c&&(l=!1),O.value=l},Y=e=>{var n;if(!t||!t.store)return 0;const{treeData:r}=t.store.states;let a=0;const o=null==(n=r.value[e])?void 0:n.children;return o&&(a+=o.length,o.forEach(e=>{a+=Y(e)})),a},U=(e,t)=>{Array.isArray(e)||(e=[e]);const n={};return e.forEach(e=>{x.value[e.id]=t,n[e.columnKey||e.id]=t}),n},W=(e,t,n)=>{C.value&&C.value!==e&&(C.value.order=null),C.value=e,M.value=t,A.value=n},$=()=>{let e=Object(s["unref"])(o);Object.keys(x.value).forEach(t=>{const n=x.value[t];if(!n||0===n.length)return;const r=Tw({columns:u.value},t);r&&r.filterMethod&&(e=e.filter(e=>n.some(t=>r.filterMethod.call(null,t,e,r))))}),S.value=e},q=()=>{a.value=e_(S.value,{sortingColumn:C.value,sortProp:M.value,sortOrder:A.value})},G=e=>{e&&e.filter||$(),q()},X=e=>{const{tableHeaderRef:n}=t.refs;if(!n)return;const r=Object.assign({},n.filterPanels),a=Object.keys(r);if(a.length)if("string"===typeof e&&(e=[e]),Array.isArray(e)){const n=e.map(e=>Ew({columns:u.value},e));a.forEach(e=>{const t=n.find(t=>t.id===e);t&&(t.filteredValue=[])}),t.store.commit("filterChange",{column:n,values:[],silent:!0,multi:!0})}else a.forEach(e=>{const t=u.value.find(t=>t.id===e);t&&(t.filteredValue=[])}),x.value={},t.store.commit("filterChange",{column:{},values:[],silent:!0})},K=()=>{C.value&&(W(null,null,null),t.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:J,toggleRowExpansion:Z,updateExpandRows:Q,states:ee,isRowExpanded:ne}=Jw({data:a,rowKey:r}),{updateTreeExpandKeys:re,toggleTreeExpansion:ae,updateTreeData:oe,loadOrToggle:ie,states:se}=Qw({data:a,rowKey:r}),{updateCurrentRowData:le,updateCurrentRow:ce,setCurrentRowKey:ue,states:de}=Zw({data:a,rowKey:r}),fe=e=>{J(e),re(e)},he=(e,t)=>{const n=u.value.some(({type:e})=>"expand"===e);n?Z(e,t):ae(e,t)};return{assertRowKey:E,updateColumns:P,scheduleLayout:D,isSelected:N,clearSelection:R,cleanSelection:I,getSelectionRows:B,toggleRowSelection:F,_toggleAllSelection:V,toggleAllSelection:null,updateSelectionByRowKey:z,updateAllSelected:H,updateFilters:U,updateCurrentRow:ce,updateSort:W,execFilter:$,execSort:q,execQuery:G,clearFilter:X,clearSort:K,toggleRowExpansion:Z,setExpandRowKeysAdapter:fe,setCurrentRowKey:ue,toggleRowExpansionAdapter:he,isRowExpanded:ne,updateExpandRows:Q,updateCurrentRowData:le,loadOrToggle:ie,updateTreeData:oe,states:{tableSize:n,rowKey:r,data:a,_data:o,isComplex:i,_columns:l,originColumns:c,columns:u,fixedColumns:d,rightFixedColumns:f,leafColumns:h,fixedLeafColumns:p,rightFixedLeafColumns:m,updateOrderFns:v,leafColumnsLength:b,fixedLeafColumnsLength:g,rightFixedLeafColumnsLength:y,isAllSelected:O,selection:w,reserveSelection:_,selectOnIndeterminate:j,selectable:k,filters:x,filteredData:S,sortingColumn:C,sortProp:M,sortOrder:A,hoverRow:T,...ee,...se,...de}}}function r_(e,t){return e.map(e=>{var n;return e.id===t.id?t:((null==(n=e.children)?void 0:n.length)&&(e.children=r_(e.children,t)),e)})}function a_(e){e.forEach(e=>{var t,n;e.no=null==(t=e.getColumnIndex)?void 0:t.call(e),(null==(n=e.children)?void 0:n.length)&&a_(e.children)}),e.sort((e,t)=>e.no-t.no)}function o_(){const e=Object(s["getCurrentInstance"])(),t=n_(),n=Object(b["d"])("table"),r={setData(t,n){const r=Object(s["unref"])(t._data)!==n;t.data.value=n,t._data.value=n,e.store.execQuery(),e.store.updateCurrentRowData(),e.store.updateExpandRows(),e.store.updateTreeData(e.store.states.defaultExpandAll.value),Object(s["unref"])(t.reserveSelection)?(e.store.assertRowKey(),e.store.updateSelectionByRowKey()):r?e.store.clearSelection():e.store.cleanSelection(),e.store.updateAllSelected(),e.$ready&&e.store.scheduleLayout()},insertColumn(t,n,r,a){const o=Object(s["unref"])(t._columns);let i=[];r?(r&&!r.children&&(r.children=[]),r.children.push(n),i=r_(o,r)):(o.push(n),i=o),a_(i),t._columns.value=i,t.updateOrderFns.push(a),"selection"===n.type&&(t.selectable.value=n.selectable,t.reserveSelection.value=n.reserveSelection),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},updateColumnOrder(t,n){var r;const a=null==(r=n.getColumnIndex)?void 0:r.call(n);a!==n.no&&(a_(t._columns.value),e.$ready&&e.store.updateColumns())},removeColumn(t,n,r,a){const o=Object(s["unref"])(t._columns)||[];if(r)r.children.splice(r.children.findIndex(e=>e.id===n.id),1),Object(s["nextTick"])(()=>{var e;0===(null==(e=r.children)?void 0:e.length)&&delete r.children}),t._columns.value=r_(o,r);else{const e=o.indexOf(n);e>-1&&(o.splice(e,1),t._columns.value=o)}const i=t.updateOrderFns.indexOf(a);i>-1&&t.updateOrderFns.splice(i,1),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},sort(t,n){const{prop:r,order:a,init:o}=n;if(r){const n=Object(s["unref"])(t.columns).find(e=>e.property===r);n&&(n.order=a,e.store.updateSort(n,r,a),e.store.commit("changeSortCondition",{init:o}))}},changeSortCondition(t,n){const{sortingColumn:r,sortProp:a,sortOrder:o}=t,i=Object(s["unref"])(r),l=Object(s["unref"])(a),c=Object(s["unref"])(o);null===c&&(t.sortingColumn.value=null,t.sortProp.value=null);const u={filter:!0};e.store.execQuery(u),n&&(n.silent||n.init)||e.emit("sort-change",{column:i,prop:l,order:c}),e.store.updateTableScrollY()},filterChange(t,n){const{column:r,values:a,silent:o}=n,i=e.store.updateFilters(r,a);e.store.execQuery(),o||e.emit("filter-change",i),e.store.updateTableScrollY()},toggleAllSelection(){e.store.toggleAllSelection()},rowSelectedChanged(t,n){e.store.toggleRowSelection(n),e.store.updateAllSelected()},setHoverRow(e,t){e.hoverRow.value=t},setCurrentRow(t,n){e.store.updateCurrentRow(n)}},a=function(t,...n){const r=e.store.mutations;if(!r[t])throw new Error("Action not found: "+t);r[t].apply(e,[e.store.states].concat(n))},o=function(){Object(s["nextTick"])(()=>e.layout.updateScrollY.apply(e.layout))};return{ns:n,...t,mutations:r,commit:a,updateTableScrollY:o}}const i_={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy",data:"data",["treeProps.hasChildren"]:{key:"lazyColumnIdentifier",default:"hasChildren"},["treeProps.children"]:{key:"childrenColumnName",default:"children"}};function s_(e,t){if(!e)throw new Error("Table is required.");const n=o_();return n.toggleAllSelection=Object(q["debounce"])(n._toggleAllSelection,10),Object.keys(i_).forEach(e=>{c_(u_(t,e),e,n)}),l_(n,t),n}function l_(e,t){Object.keys(i_).forEach(n=>{Object(s["watch"])(()=>u_(t,n),t=>{c_(t,n,e)})})}function c_(e,t,n){let r=e,a=i_[t];"object"===typeof i_[t]&&(a=a.key,r=r||i_[t].default),n.states[a].value=r}function u_(e,t){if(t.includes(".")){const n=t.split(".");let r=e;return n.forEach(e=>{r=r[e]}),r}return e[t]}class d_{constructor(e){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=Object(s["ref"])(null),this.scrollX=Object(s["ref"])(!1),this.scrollY=Object(s["ref"])(!1),this.bodyWidth=Object(s["ref"])(null),this.fixedWidth=Object(s["ref"])(null),this.rightFixedWidth=Object(s["ref"])(null),this.gutterWidth=0;for(const t in e)Object(te["hasOwn"])(e,t)&&(Object(s["isRef"])(this[t])?this[t].value=e[t]:this[t]=e[t]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){const e=this.height.value;if(null===e)return!1;const t=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(null==t?void 0:t.wrapRef)){let e=!0;const n=this.scrollY.value;return e=t.wrapRef.scrollHeight>t.wrapRef.clientHeight,this.scrollY.value=e,n!==e}return!1}setHeight(e,t="height"){if(!l["isClient"])return;const n=this.table.vnode.el;if(e=Bw(e),this.height.value=Number(e),!n&&(e||0===e))return Object(s["nextTick"])(()=>this.setHeight(e,t));"number"===typeof e?(n.style[t]=e+"px",this.updateElsHeight()):"string"===typeof e&&(n.style[t]=e,this.updateElsHeight())}setMaxHeight(e){this.setHeight(e,"max-height")}getFlattenColumns(){const e=[],t=this.table.store.states.columns.value;return t.forEach(t=>{t.isColumnGroup?e.push.apply(e,t.columns):e.push(t)}),e}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(e){if(!e)return!0;let t=e;while("DIV"!==t.tagName){if("none"===getComputedStyle(t).display)return!0;t=t.parentElement}return!1}updateColumnsWidth(){if(!l["isClient"])return;const e=this.fit,t=this.table.vnode.el.clientWidth;let n=0;const r=this.getFlattenColumns(),a=r.filter(e=>"number"!==typeof e.width);if(r.forEach(e=>{"number"===typeof e.width&&e.realWidth&&(e.realWidth=null)}),a.length>0&&e){if(r.forEach(e=>{n+=Number(e.width||e.minWidth||80)}),n<=t){this.scrollX.value=!1;const e=t-n;if(1===a.length)a[0].realWidth=Number(a[0].minWidth||80)+e;else{const t=a.reduce((e,t)=>e+Number(t.minWidth||80),0),n=e/t;let r=0;a.forEach((e,t)=>{if(0===t)return;const a=Math.floor(Number(e.minWidth||80)*n);r+=a,e.realWidth=Number(e.minWidth||80)+a}),a[0].realWidth=Number(a[0].minWidth||80)+e-r}}else this.scrollX.value=!0,a.forEach(e=>{e.realWidth=Number(e.minWidth)});this.bodyWidth.value=Math.max(n,t),this.table.state.resizeState.value.width=this.bodyWidth.value}else r.forEach(e=>{e.width||e.minWidth?e.realWidth=Number(e.width||e.minWidth):e.realWidth=80,n+=e.realWidth}),this.scrollX.value=n>t,this.bodyWidth.value=n;const o=this.store.states.fixedColumns.value;if(o.length>0){let e=0;o.forEach(t=>{e+=Number(t.realWidth||t.width)}),this.fixedWidth.value=e}const i=this.store.states.rightFixedColumns.value;if(i.length>0){let e=0;i.forEach(t=>{e+=Number(t.realWidth||t.width)}),this.rightFixedWidth.value=e}this.notifyObservers("columns")}addObserver(e){this.observers.push(e)}removeObserver(e){const t=this.observers.indexOf(e);-1!==t&&this.observers.splice(t,1)}notifyObservers(e){const t=this.observers;t.forEach(t=>{var n,r;switch(e){case"columns":null==(n=t.state)||n.onColumnsChange(this);break;case"scrollable":null==(r=t.state)||r.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${e}.`)}})}}const{CheckboxGroup:f_}=ei,h_=Object(s["defineComponent"])({name:"ElTableFilterPanel",components:{ElCheckbox:ei,ElCheckboxGroup:f_,ElScrollbar:Ke,ElTooltip:nr,ElIcon:I["a"],ArrowDown:G["ArrowDown"],ArrowUp:G["ArrowUp"]},directives:{ClickOutside:ws},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function}},setup(e){const t=Object(s["getCurrentInstance"])(),{t:n}=Object(Lr["b"])(),r=Object(b["d"])("table-filter"),a=null==t?void 0:t.parent;a.filterPanels.value[e.column.id]||(a.filterPanels.value[e.column.id]=t);const o=Object(s["ref"])(!1),i=Object(s["ref"])(null),l=Object(s["computed"])(()=>e.column&&e.column.filters),c=Object(s["computed"])(()=>e.column.filterClassName?`${r.b()} ${e.column.filterClassName}`:r.b()),u=Object(s["computed"])({get:()=>{var t;return((null==(t=e.column)?void 0:t.filteredValue)||[])[0]},set:e=>{d.value&&("undefined"!==typeof e&&null!==e?d.value.splice(0,1,e):d.value.splice(0,1))}}),d=Object(s["computed"])({get(){return e.column&&e.column.filteredValue||[]},set(t){e.column&&e.upDataColumn("filteredValue",t)}}),f=Object(s["computed"])(()=>!e.column||e.column.filterMultiple),h=e=>e.value===u.value,p=()=>{o.value=!1},m=e=>{e.stopPropagation(),o.value=!o.value},v=()=>{o.value=!1},g=()=>{w(d.value),p()},y=()=>{d.value=[],w(d.value),p()},O=e=>{u.value=e,w("undefined"!==typeof e&&null!==e?d.value:[]),p()},w=t=>{e.store.commit("filterChange",{column:e.column,values:t}),e.store.updateAllSelected()};Object(s["watch"])(o,t=>{e.column&&e.upDataColumn("filterOpened",t)},{immediate:!0});const _=Object(s["computed"])(()=>{var e,t;return null==(t=null==(e=i.value)?void 0:e.popperRef)?void 0:t.contentRef});return{tooltipVisible:o,multiple:f,filterClassName:c,filteredValue:d,filterValue:u,filters:l,handleConfirm:g,handleReset:y,handleSelect:O,isActive:h,t:n,ns:r,showFilterPanel:m,hideFilterPanel:v,popperPaneRef:_,tooltip:i}}}),p_={key:0},m_=["disabled"],v_=["label","onClick"];function b_(e,t,n,r,a,o){const i=Object(s["resolveComponent"])("el-checkbox"),l=Object(s["resolveComponent"])("el-checkbox-group"),c=Object(s["resolveComponent"])("el-scrollbar"),u=Object(s["resolveComponent"])("arrow-up"),d=Object(s["resolveComponent"])("arrow-down"),f=Object(s["resolveComponent"])("el-icon"),h=Object(s["resolveComponent"])("el-tooltip"),p=Object(s["resolveDirective"])("click-outside");return Object(s["openBlock"])(),Object(s["createBlock"])(h,{ref:"tooltip",visible:e.tooltipVisible,offset:0,placement:e.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":e.filterClassName,persistent:""},{content:Object(s["withCtx"])(()=>[e.multiple?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",p_,[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(e.ns.e("content"))},[Object(s["createVNode"])(c,{"wrap-class":e.ns.e("wrap")},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(l,{modelValue:e.filteredValue,"onUpdate:modelValue":t[0]||(t[0]=t=>e.filteredValue=t),class:Object(s["normalizeClass"])(e.ns.e("checkbox-group"))},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e.filters,e=>(Object(s["openBlock"])(),Object(s["createBlock"])(i,{key:e.value,value:e.value},{default:Object(s["withCtx"])(()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.text),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(e.ns.e("bottom"))},[Object(s["createElementVNode"])("button",{class:Object(s["normalizeClass"])({[e.ns.is("disabled")]:0===e.filteredValue.length}),disabled:0===e.filteredValue.length,type:"button",onClick:t[1]||(t[1]=(...t)=>e.handleConfirm&&e.handleConfirm(...t))},Object(s["toDisplayString"])(e.t("el.table.confirmFilter")),11,m_),Object(s["createElementVNode"])("button",{type:"button",onClick:t[2]||(t[2]=(...t)=>e.handleReset&&e.handleReset(...t))},Object(s["toDisplayString"])(e.t("el.table.resetFilter")),1)],2)])):(Object(s["openBlock"])(),Object(s["createElementBlock"])("ul",{key:1,class:Object(s["normalizeClass"])(e.ns.e("list"))},[Object(s["createElementVNode"])("li",{class:Object(s["normalizeClass"])([e.ns.e("list-item"),{[e.ns.is("active")]:void 0===e.filterValue||null===e.filterValue}]),onClick:t[3]||(t[3]=t=>e.handleSelect(null))},Object(s["toDisplayString"])(e.t("el.table.clearFilter")),3),(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e.filters,t=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("li",{key:t.value,class:Object(s["normalizeClass"])([e.ns.e("list-item"),e.ns.is("active",e.isActive(t))]),label:t.value,onClick:n=>e.handleSelect(t.value)},Object(s["toDisplayString"])(t.text),11,v_))),128))],2))]),default:Object(s["withCtx"])(()=>[Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{class:Object(s["normalizeClass"])([e.ns.namespace.value+"-table__column-filter-trigger",e.ns.namespace.value+"-none-outline"]),onClick:t[4]||(t[4]=(...t)=>e.showFilterPanel&&e.showFilterPanel(...t))},[Object(s["createVNode"])(f,null,{default:Object(s["withCtx"])(()=>[e.column.filterOpened?(Object(s["openBlock"])(),Object(s["createBlock"])(u,{key:0})):(Object(s["openBlock"])(),Object(s["createBlock"])(d,{key:1}))]),_:1})],2)),[[p,e.hideFilterPanel,e.popperPaneRef]])]),_:1},8,["visible","placement","popper-class"])}var g_=Object(v["a"])(h_,[["render",b_],["__file","filter-panel.vue"]]);function y_(e){const t=Object(s["getCurrentInstance"])();Object(s["onBeforeMount"])(()=>{n.value.addObserver(t)}),Object(s["onMounted"])(()=>{r(n.value),a(n.value)}),Object(s["onUpdated"])(()=>{r(n.value),a(n.value)}),Object(s["onUnmounted"])(()=>{n.value.removeObserver(t)});const n=Object(s["computed"])(()=>{const t=e.layout;if(!t)throw new Error("Can not find table layout.");return t}),r=t=>{var n;const r=(null==(n=e.vnode.el)?void 0:n.querySelectorAll("colgroup > col"))||[];if(!r.length)return;const a=t.getFlattenColumns(),o={};a.forEach(e=>{o[e.id]=e});for(let e=0,i=r.length;e<i;e++){const t=r[e],n=t.getAttribute("name"),a=o[n];a&&t.setAttribute("width",a.realWidth||a.width)}},a=t=>{var n,r;const a=(null==(n=e.vnode.el)?void 0:n.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let e=0,i=a.length;e<i;e++){const n=a[e];n.setAttribute("width",t.scrollY.value?t.gutterWidth:"0")}const o=(null==(r=e.vnode.el)?void 0:r.querySelectorAll("th.gutter"))||[];for(let e=0,i=o.length;e<i;e++){const n=o[e];n.style.width=t.scrollY.value?t.gutterWidth+"px":"0",n.style.display=t.scrollY.value?"":"none"}};return{tableLayout:n.value,onColumnsChange:r,onScrollableChange:a}}const O_=Symbol("ElTable");function w_(e,t){const n=Object(s["getCurrentInstance"])(),r=Object(s["inject"])(O_),a=e=>{e.stopPropagation()},o=(e,t)=>{!t.filters&&t.sortable?b(e,t,!1):t.filterable&&!t.sortable&&a(e),null==r||r.emit("header-click",t,e)},i=(e,t)=>{null==r||r.emit("header-contextmenu",t,e)},c=Object(s["ref"])(null),d=Object(s["ref"])(!1),f=Object(s["ref"])({}),h=(a,o)=>{if(l["isClient"]&&!(o.children&&o.children.length>0)&&c.value&&e.border){d.value=!0;const i=r;t("set-drag-visible",!0);const s=null==i?void 0:i.vnode.el,l=s.getBoundingClientRect().left,u=n.vnode.el.querySelector("th."+o.id),h=u.getBoundingClientRect(),p=h.left-l+30;Object(g["a"])(u,"noclick"),f.value={startMouseLeft:a.clientX,startLeft:h.right-l,startColumnLeft:h.left-l,tableLeft:l};const m=null==i?void 0:i.refs.resizeProxy;m.style.left=f.value.startLeft+"px",document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const v=e=>{const t=e.clientX-f.value.startMouseLeft,n=f.value.startLeft+t;m.style.left=Math.max(p,n)+"px"},b=()=>{if(d.value){const{startColumnLeft:n,startLeft:r}=f.value,s=Number.parseInt(m.style.left,10),l=s-n;o.width=o.realWidth=l,null==i||i.emit("header-dragend",o.width,r-n,o,a),requestAnimationFrame(()=>{e.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",d.value=!1,c.value=null,f.value={},t("set-drag-visible",!1)}document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",b),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{Object(g["e"])(u,"noclick")},0)};document.addEventListener("mousemove",v),document.addEventListener("mouseup",b)}},p=(t,n)=>{if(n.children&&n.children.length>0)return;const r=t.target;if(!Object(u["b"])(r))return;const a=null==r?void 0:r.closest("th");if(n&&n.resizable&&!d.value&&e.border){const e=a.getBoundingClientRect(),r=document.body.style;e.width>12&&e.right-t.pageX<8?(r.cursor="col-resize",Object(g["d"])(a,"is-sortable")&&(a.style.cursor="col-resize"),c.value=n):d.value||(r.cursor="",Object(g["d"])(a,"is-sortable")&&(a.style.cursor="pointer"),c.value=null)}},m=()=>{l["isClient"]&&(document.body.style.cursor="")},v=({order:e,sortOrders:t})=>{if(""===e)return t[0];const n=t.indexOf(e||null);return t[n>t.length-2?0:n+1]},b=(t,n,a)=>{var o;t.stopPropagation();const i=n.order===a?null:a||v(n),s=null==(o=t.target)?void 0:o.closest("th");if(s&&Object(g["d"])(s,"noclick"))return void Object(g["e"])(s,"noclick");if(!n.sortable)return;const l=e.store.states;let c,u=l.sortProp.value;const d=l.sortingColumn.value;(d!==n||d===n&&null===d.order)&&(d&&(d.order=null),l.sortingColumn.value=n,u=n.property),c=n.order=i||null,l.sortProp.value=u,l.sortOrder.value=c,null==r||r.store.commit("changeSortCondition")};return{handleHeaderClick:o,handleHeaderContextMenu:i,handleMouseDown:h,handleMouseMove:p,handleMouseOut:m,handleSortClick:b,handleFilterClick:a}}function __(e){const t=Object(s["inject"])(O_),n=Object(b["d"])("table"),r=e=>{const n=null==t?void 0:t.props.headerRowStyle;return"function"===typeof n?n.call(null,{rowIndex:e}):n},a=e=>{const n=[],r=null==t?void 0:t.props.headerRowClassName;return"string"===typeof r?n.push(r):"function"===typeof r&&n.push(r.call(null,{rowIndex:e})),n.join(" ")},o=(n,r,a,o)=>{var i;let s=null!=(i=null==t?void 0:t.props.headerCellStyle)?i:{};"function"===typeof s&&(s=s.call(null,{rowIndex:n,columnIndex:r,row:a,column:o}));const l=Xw(r,o.fixed,e.store,a);return Kw(l,"left"),Kw(l,"right"),Object.assign({},s,l)},i=(r,a,o,i)=>{const s=qw(n.b(),a,i.fixed,e.store,o),l=[i.id,i.order,i.headerAlign,i.className,i.labelClassName,...s];i.children||l.push("is-leaf"),i.sortable&&l.push("is-sortable");const c=null==t?void 0:t.props.headerCellClassName;return"string"===typeof c?l.push(c):"function"===typeof c&&l.push(c.call(null,{rowIndex:r,columnIndex:a,row:o,column:i})),l.push(n.e("cell")),l.filter(e=>Boolean(e)).join(" ")};return{getHeaderRowStyle:r,getHeaderRowClass:a,getHeaderCellStyle:o,getHeaderCellClass:i}}const j_=e=>{const t=[];return e.forEach(e=>{e.children?(t.push(e),t.push.apply(t,j_(e.children))):t.push(e)}),t},k_=e=>{let t=1;const n=(e,r)=>{if(r&&(e.level=r.level+1,t<e.level&&(t=e.level)),e.children){let t=0;e.children.forEach(r=>{n(r,e),t+=r.colSpan}),e.colSpan=t}else e.colSpan=1};e.forEach(e=>{e.level=1,n(e,void 0)});const r=[];for(let o=0;o<t;o++)r.push([]);const a=j_(e);return a.forEach(e=>{e.children?(e.rowSpan=1,e.children.forEach(e=>e.isSubColumn=!0)):e.rowSpan=t-e.level+1,r[e.level-1].push(e)}),r};function x_(e){const t=Object(s["inject"])(O_),n=Object(s["computed"])(()=>k_(e.store.states.originColumns.value)),r=Object(s["computed"])(()=>{const e=n.value.length>1;return e&&t&&(t.state.isGroup.value=!0),e}),a=e=>{e.stopPropagation(),null==t||t.store.commit("toggleAllSelection")};return{isGroup:r,toggleAllSelection:a,columnRows:n}}var S_=Object(s["defineComponent"])({name:"ElTableHeader",components:{ElCheckbox:ei},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e,{emit:t}){const n=Object(s["getCurrentInstance"])(),r=Object(s["inject"])(O_),a=Object(b["d"])("table"),o=Object(s["ref"])({}),{onColumnsChange:i,onScrollableChange:l}=y_(r);Object(s["onMounted"])(async()=>{await Object(s["nextTick"])(),await Object(s["nextTick"])();const{prop:t,order:n}=e.defaultSort;null==r||r.store.commit("sort",{prop:t,order:n,init:!0})});const{handleHeaderClick:c,handleHeaderContextMenu:u,handleMouseDown:d,handleMouseMove:f,handleMouseOut:h,handleSortClick:p,handleFilterClick:m}=w_(e,t),{getHeaderRowStyle:v,getHeaderRowClass:g,getHeaderCellStyle:y,getHeaderCellClass:O}=__(e),{isGroup:w,toggleAllSelection:_,columnRows:j}=x_(e);return n.state={onColumnsChange:i,onScrollableChange:l},n.filterPanels=o,{ns:a,filterPanels:o,onColumnsChange:i,onScrollableChange:l,columnRows:j,getHeaderRowClass:g,getHeaderRowStyle:v,getHeaderCellClass:O,getHeaderCellStyle:y,handleHeaderClick:c,handleHeaderContextMenu:u,handleMouseDown:d,handleMouseMove:f,handleMouseOut:h,handleSortClick:p,handleFilterClick:m,isGroup:w,toggleAllSelection:_}},render(){const{ns:e,isGroup:t,columnRows:n,getHeaderCellStyle:r,getHeaderCellClass:a,getHeaderRowClass:o,getHeaderRowStyle:i,handleHeaderClick:l,handleHeaderContextMenu:c,handleMouseDown:u,handleMouseMove:d,handleSortClick:f,handleMouseOut:h,store:p,$parent:m}=this;let v=1;return Object(s["h"])("thead",{class:{[e.is("group")]:t}},n.map((e,t)=>Object(s["h"])("tr",{class:o(t),key:t,style:i(t)},e.map((n,o)=>(n.rowSpan>v&&(v=n.rowSpan),Object(s["h"])("th",{class:a(t,o,e,n),colspan:n.colSpan,key:n.id+"-thead",rowspan:n.rowSpan,style:r(t,o,e,n),onClick:e=>l(e,n),onContextmenu:e=>c(e,n),onMousedown:e=>u(e,n),onMousemove:e=>d(e,n),onMouseout:h},[Object(s["h"])("div",{class:["cell",n.filteredValue&&n.filteredValue.length>0?"highlight":""]},[n.renderHeader?n.renderHeader({column:n,$index:o,store:p,_self:m}):n.label,n.sortable&&Object(s["h"])("span",{onClick:e=>f(e,n),class:"caret-wrapper"},[Object(s["h"])("i",{onClick:e=>f(e,n,"ascending"),class:"sort-caret ascending"}),Object(s["h"])("i",{onClick:e=>f(e,n,"descending"),class:"sort-caret descending"})]),n.filterable&&Object(s["h"])(g_,{store:p,placement:n.filterPlacement||"bottom-start",column:n,upDataColumn:(e,t)=>{n[e]=t}})])]))))))}});function C_(e,t,n=.01){return e-t>n}function M_(e){const t=Object(s["inject"])(O_),n=Object(s["ref"])(""),r=Object(s["ref"])(Object(s["h"])("div")),a=(n,r,a)=>{var o;const i=t,s=Mw(n);let l;const c=null==(o=null==i?void 0:i.vnode.el)?void 0:o.dataset.prefix;s&&(l=Lw({columns:e.store.states.columns.value},s,c),l&&(null==i||i.emit("cell-"+a,r,l,s,n))),null==i||i.emit("row-"+a,r,l,n)},o=(e,t)=>{a(e,t,"dblclick")},i=(t,n)=>{e.store.commit("setCurrentRow",n),a(t,n,"click")},l=(e,t)=>{a(e,t,"contextmenu")},c=Object(q["debounce"])(t=>{e.store.commit("setHoverRow",t)},30),u=Object(q["debounce"])(()=>{e.store.commit("setHoverRow",null)},30),d=e=>{const t=window.getComputedStyle(e,null),n=Number.parseInt(t.paddingLeft,10)||0,r=Number.parseInt(t.paddingRight,10)||0,a=Number.parseInt(t.paddingTop,10)||0,o=Number.parseInt(t.paddingBottom,10)||0;return{left:n,right:r,top:a,bottom:o}},f=(e,t,n)=>{let r=t.target.parentNode;while(e>1){if(r=null==r?void 0:r.nextSibling,!r||"TR"!==r.nodeName)break;n(r,"hover-row hover-fixed-row"),e--}},h=(n,r,a)=>{var o;const i=t,s=Mw(n),l=null==(o=null==i?void 0:i.vnode.el)?void 0:o.dataset.prefix;if(s){const t=Lw({columns:e.store.states.columns.value},s,l);s.rowSpan>1&&f(s.rowSpan,n,g["a"]);const a=i.hoverState={cell:s,column:t,row:r};null==i||i.emit("cell-mouse-enter",a.row,a.column,a.cell,n)}if(!a)return;const c=n.target.querySelector(".cell");if(!Object(g["d"])(c,l+"-tooltip")||!c.childNodes.length)return;const u=document.createRange();u.setStart(c,0),u.setEnd(c,c.childNodes.length);let{width:h,height:p}=u.getBoundingClientRect();const m=h-Math.floor(h),{width:v,height:b}=c.getBoundingClientRect();m<.001&&(h=Math.floor(h));const y=p-Math.floor(p);y<.001&&(p=Math.floor(p));const{top:O,left:w,right:_,bottom:j}=d(c),k=w+_,x=O+j;(C_(h+k,v)||C_(p+x,b)||C_(c.scrollWidth,v))&&Yw(a,s.innerText||s.textContent,s,i)},p=e=>{const n=Mw(e);if(!n)return;n.rowSpan>1&&f(n.rowSpan,e,g["e"]);const r=null==t?void 0:t.hoverState;null==t||t.emit("cell-mouse-leave",null==r?void 0:r.row,null==r?void 0:r.column,null==r?void 0:r.cell,e)};return{handleDoubleClick:o,handleClick:i,handleContextMenu:l,handleMouseEnter:c,handleMouseLeave:u,handleCellMouseEnter:h,handleCellMouseLeave:p,tooltipContent:n,tooltipTrigger:r}}function A_(e){const t=Object(s["inject"])(O_),n=Object(b["d"])("table"),r=(e,n)=>{const r=null==t?void 0:t.props.rowStyle;return"function"===typeof r?r.call(null,{row:e,rowIndex:n}):r||null},a=(r,a)=>{const o=[n.e("row")];(null==t?void 0:t.props.highlightCurrentRow)&&r===e.store.states.currentRow.value&&o.push("current-row"),e.stripe&&a%2===1&&o.push(n.em("row","striped"));const i=null==t?void 0:t.props.rowClassName;return"string"===typeof i?o.push(i):"function"===typeof i&&o.push(i.call(null,{row:r,rowIndex:a})),o},o=(n,r,a,o)=>{const i=null==t?void 0:t.props.cellStyle;let s=null!=i?i:{};"function"===typeof i&&(s=i.call(null,{rowIndex:n,columnIndex:r,row:a,column:o}));const l=Xw(r,null==e?void 0:e.fixed,e.store);return Kw(l,"left"),Kw(l,"right"),Object.assign({},s,l)},i=(r,a,o,i,s)=>{const l=qw(n.b(),a,null==e?void 0:e.fixed,e.store,void 0,s),c=[i.id,i.align,i.className,...l],u=null==t?void 0:t.props.cellClassName;return"string"===typeof u?c.push(u):"function"===typeof u&&c.push(u.call(null,{rowIndex:r,columnIndex:a,row:o,column:i})),c.push(n.e("cell")),c.filter(e=>Boolean(e)).join(" ")},l=(e,n,r,a)=>{let o=1,i=1;const s=null==t?void 0:t.props.spanMethod;if("function"===typeof s){const t=s({row:e,column:n,rowIndex:r,columnIndex:a});Array.isArray(t)?(o=t[0],i=t[1]):"object"===typeof t&&(o=t.rowspan,i=t.colspan)}return{rowspan:o,colspan:i}},c=(e,t,n)=>{if(t<1)return e[n].realWidth;const r=e.map(({realWidth:e,width:t})=>e||t).slice(n,n+t);return Number(r.reduce((e,t)=>Number(e)+Number(t),-1))};return{getRowStyle:r,getRowClass:a,getCellStyle:o,getCellClass:i,getSpan:l,getColspanRealWidth:c}}function T_(e){const t=Object(s["inject"])(O_),n=Object(b["d"])("table"),{handleDoubleClick:r,handleClick:a,handleContextMenu:o,handleMouseEnter:i,handleMouseLeave:l,handleCellMouseEnter:c,handleCellMouseLeave:u,tooltipContent:d,tooltipTrigger:f}=M_(e),{getRowStyle:h,getRowClass:p,getCellStyle:m,getCellClass:v,getSpan:g,getColspanRealWidth:y}=A_(e),O=Object(s["computed"])(()=>e.store.states.columns.value.findIndex(({type:e})=>"default"===e)),w=(e,n)=>{const r=t.props.rowKey;return r?Pw(e,r):n},_=(d,f,b,_=!1)=>{const{tooltipEffect:k,tooltipOptions:x,store:S}=e,{indent:C,columns:M}=S.states,A=p(d,f);let T=!0;b&&(A.push(n.em("row","level-"+b.level)),T=b.display);const E=T?null:{display:"none"};return Object(s["h"])("tr",{style:[E,h(d,f)],class:A,key:w(d,f),onDblclick:e=>r(e,d),onClick:e=>a(e,d),onContextmenu:e=>o(e,d),onMouseenter:()=>i(f),onMouseleave:l},M.value.map((n,r)=>{const{rowspan:a,colspan:o}=g(d,n,f,r);if(!a||!o)return null;const i=Object.assign({},n);i.realWidth=y(M.value,o,r);const l={store:e.store,_self:e.context||t,column:i,row:d,$index:f,cellIndex:r,expanded:_};r===O.value&&b&&(l.treeNode={indent:b.level*C.value,level:b.level},"boolean"===typeof b.expanded&&(l.treeNode.expanded=b.expanded,"loading"in b&&(l.treeNode.loading=b.loading),"noLazyChildren"in b&&(l.treeNode.noLazyChildren=b.noLazyChildren)));const h=`${w(d,f)},${r}`,p=i.columnKey||i.rawColumnKey||"",S=j(r,n,l),A=n.showOverflowTooltip&&Object(q["merge"])({effect:k},x,n.showOverflowTooltip);return Object(s["h"])("td",{style:m(f,r,d,n),class:v(f,r,d,n,o-1),key:`${p}${h}`,rowspan:a,colspan:o,onMouseenter:e=>c(e,d,A),onMouseleave:u},[S])}))},j=(e,t,n)=>t.renderCell(n),k=(r,a)=>{const o=e.store,{isRowExpanded:i,assertRowKey:l}=o,{treeData:c,lazyTreeNodeMap:u,childrenColumnName:d,rowKey:f}=o.states,h=o.states.columns.value,p=h.some(({type:e})=>"expand"===e);if(p){const e=i(r),l=_(r,a,void 0,e),c=t.renderExpanded;return e?c?[[l,Object(s["h"])("tr",{key:"expanded-row__"+l.key},[Object(s["h"])("td",{colspan:h.length,class:`${n.e("cell")} ${n.e("expanded-cell")}`},[c({row:r,$index:a,store:o,expanded:e})])])]]:(console.error("[Element Error]renderExpanded is required."),l):[[l]]}if(Object.keys(c.value).length){l();const e=Pw(r,f.value);let t=c.value[e],n=null;t&&(n={expanded:t.expanded,level:t.level,display:!0},"boolean"===typeof t.lazy&&("boolean"===typeof t.loaded&&t.loaded&&(n.noLazyChildren=!(t.children&&t.children.length)),n.loading=t.loading));const o=[_(r,a,n)];if(t){let n=0;const i=(e,r)=>{e&&e.length&&r&&e.forEach(e=>{const s={display:r.display&&r.expanded,level:r.level+1,expanded:!1,noLazyChildren:!1,loading:!1},l=Pw(e,f.value);if(void 0===l||null===l)throw new Error("For nested data item, row-key is required.");if(t={...c.value[l]},t&&(s.expanded=t.expanded,t.level=t.level||s.level,t.display=!(!t.expanded||!s.display),"boolean"===typeof t.lazy&&("boolean"===typeof t.loaded&&t.loaded&&(s.noLazyChildren=!(t.children&&t.children.length)),s.loading=t.loading)),n++,o.push(_(e,a+n,s)),t){const n=u.value[l]||e[d.value];i(n,t)}})};t.display=!0;const s=u.value[e]||r[d.value];i(s,t)}return o}return _(r,a,void 0)};return{wrappedRowRender:k,tooltipContent:d,tooltipTrigger:f}}const E_={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var L_=Object(s["defineComponent"])({name:"ElTableBody",props:E_,setup(e){const t=Object(s["getCurrentInstance"])(),n=Object(s["inject"])(O_),r=Object(b["d"])("table"),{wrappedRowRender:a,tooltipContent:o,tooltipTrigger:i}=T_(e),{onColumnsChange:c,onScrollableChange:u}=y_(n),d=[];return Object(s["watch"])(e.store.states.hoverRow,(n,a)=>{var o;const i=null==t?void 0:t.vnode.el,s=Array.from((null==i?void 0:i.children)||[]).filter(e=>null==e?void 0:e.classList.contains(""+r.e("row")));let c=n;const u=null==(o=s[c])?void 0:o.childNodes;if(null==u?void 0:u.length){let e=0;const t=Array.from(u).reduce((t,n,r)=>{var a,o;return(null==(a=u[r])?void 0:a.colSpan)>1&&(e=null==(o=u[r])?void 0:o.colSpan),"TD"!==n.nodeName&&0===e&&t.push(r),e>0&&e--,t},[]);t.forEach(e=>{var t;c=n;while(c>0){const n=null==(t=s[c-1])?void 0:t.childNodes;if(n[e]&&"TD"===n[e].nodeName&&n[e].rowSpan>1){Object(g["a"])(n[e],"hover-cell"),d.push(n[e]);break}c--}})}else d.forEach(e=>Object(g["e"])(e,"hover-cell")),d.length=0;e.store.states.isComplex.value&&l["isClient"]&&w(()=>{const e=s[a],t=s[n];e&&!e.classList.contains("hover-fixed-row")&&Object(g["e"])(e,"hover-row"),t&&Object(g["a"])(t,"hover-row")})}),Object(s["onUnmounted"])(()=>{var e;null==(e=Hw)||e()}),{ns:r,onColumnsChange:c,onScrollableChange:u,wrappedRowRender:a,tooltipContent:o,tooltipTrigger:i}},render(){const{wrappedRowRender:e,store:t}=this,n=t.states.data.value||[];return Object(s["h"])("tbody",{tabIndex:-1},[n.reduce((t,n)=>t.concat(e(n,t.length)),[])])}});function P_(){const e=Object(s["inject"])(O_),t=null==e?void 0:e.store,n=Object(s["computed"])(()=>t.states.fixedLeafColumnsLength.value),r=Object(s["computed"])(()=>t.states.rightFixedColumns.value.length),a=Object(s["computed"])(()=>t.states.columns.value.length),o=Object(s["computed"])(()=>t.states.fixedColumns.value.length),i=Object(s["computed"])(()=>t.states.rightFixedColumns.value.length);return{leftFixedLeafCount:n,rightFixedLeafCount:r,columnsCount:a,leftFixedCount:o,rightFixedCount:i,columns:t.states.columns}}function D_(e){const{columns:t}=P_(),n=Object(b["d"])("table"),r=(t,r)=>{const a=t[r],o=[n.e("cell"),a.id,a.align,a.labelClassName,...qw(n.b(),r,a.fixed,e.store)];return a.className&&o.push(a.className),a.children||o.push(n.is("leaf")),o},a=(t,n)=>{const r=Xw(n,t.fixed,e.store);return Kw(r,"left"),Kw(r,"right"),r};return{getCellClasses:r,getCellStyles:a,columns:t}}var N_=Object(s["defineComponent"])({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e){const{getCellClasses:t,getCellStyles:n,columns:r}=D_(e),a=Object(b["d"])("table");return{ns:a,getCellClasses:t,getCellStyles:n,columns:r}},render(){const{columns:e,getCellStyles:t,getCellClasses:n,summaryMethod:r,sumText:a}=this,o=this.store.states.data.value;let i=[];return r?i=r({columns:e,data:o}):e.forEach((e,t)=>{if(0===t)return void(i[t]=a);const n=o.map(t=>Number(t[e.property])),r=[];let s=!0;n.forEach(e=>{if(!Number.isNaN(+e)){s=!1;const t=(""+e).split(".")[1];r.push(t?t.length:0)}});const l=Math.max.apply(null,r);i[t]=s?"":n.reduce((e,t)=>{const n=Number(t);return Number.isNaN(+n)?e:Number.parseFloat((e+t).toFixed(Math.min(l,20)))},0)}),Object(s["h"])(Object(s["h"])("tfoot",[Object(s["h"])("tr",{},[...e.map((r,a)=>Object(s["h"])("td",{key:a,colspan:r.colSpan,rowspan:r.rowSpan,class:n(e,a),style:t(r,a)},[Object(s["h"])("div",{class:["cell",r.labelClassName]},[i[a]])]))])]))}});function R_(e){const t=t=>{e.commit("setCurrentRow",t)},n=()=>e.getSelectionRows(),r=(t,n)=>{e.toggleRowSelection(t,n,!1),e.updateAllSelected()},a=()=>{e.clearSelection()},o=t=>{e.clearFilter(t)},i=()=>{e.commit("toggleAllSelection")},s=(t,n)=>{e.toggleRowExpansionAdapter(t,n)},l=()=>{e.clearSort()},c=(t,n)=>{e.commit("sort",{prop:t,order:n})};return{setCurrentRow:t,getSelectionRows:n,toggleRowSelection:r,clearSelection:a,clearFilter:o,toggleAllSelection:i,toggleRowExpansion:s,clearSort:l,sort:c}}function I_(e,t,n,r){const a=Object(s["ref"])(!1),o=Object(s["ref"])(null),i=Object(s["ref"])(!1),c=e=>{i.value=e},u=Object(s["ref"])({width:null,height:null,headerHeight:null}),d=Object(s["ref"])(!1),f={display:"inline-block",verticalAlign:"middle"},h=Object(s["ref"])(),p=Object(s["ref"])(0),m=Object(s["ref"])(0),v=Object(s["ref"])(0),b=Object(s["ref"])(0),g=Object(s["ref"])(0);Object(s["watchEffect"])(()=>{t.setHeight(e.height)}),Object(s["watchEffect"])(()=>{t.setMaxHeight(e.maxHeight)}),Object(s["watch"])(()=>[e.currentRowKey,n.states.rowKey],([e,t])=>{Object(s["unref"])(t)&&Object(s["unref"])(e)&&n.setCurrentRowKey(""+e)},{immediate:!0}),Object(s["watch"])(()=>e.data,e=>{r.store.commit("setData",e)},{immediate:!0,deep:!0}),Object(s["watchEffect"])(()=>{e.expandRowKeys&&n.setExpandRowKeysAdapter(e.expandRowKeys)});const y=()=>{r.store.commit("setHoverRow",null),r.hoverState&&(r.hoverState=null)},O=(e,t)=>{const{pixelX:n,pixelY:a}=t;Math.abs(n)>=Math.abs(a)&&(r.refs.bodyWrapper.scrollLeft+=t.pixelX/5)},w=Object(s["computed"])(()=>e.height||e.maxHeight||n.states.fixedColumns.value.length>0||n.states.rightFixedColumns.value.length>0),_=Object(s["computed"])(()=>({width:t.bodyWidth.value?t.bodyWidth.value+"px":""})),j=()=>{w.value&&t.updateElsHeight(),t.updateColumnsWidth(),requestAnimationFrame(C)};Object(s["onMounted"])(async()=>{await Object(s["nextTick"])(),n.updateColumns(),M(),requestAnimationFrame(j);const t=r.vnode.el,a=r.refs.headerWrapper;e.flexible&&t&&t.parentElement&&(t.parentElement.style.minWidth="0"),u.value={width:h.value=t.offsetWidth,height:t.offsetHeight,headerHeight:e.showHeader&&a?a.offsetHeight:null},n.states.columns.value.forEach(e=>{e.filteredValue&&e.filteredValue.length&&r.store.commit("filterChange",{column:e,values:e.filteredValue,silent:!0})}),r.$ready=!0});const k=(e,n)=>{if(!e)return;const r=Array.from(e.classList).filter(e=>!e.startsWith("is-scrolling-"));r.push(t.scrollX.value?n:"is-scrolling-none"),e.className=r.join(" ")},x=e=>{const{tableWrapper:t}=r.refs;k(t,e)},S=e=>{const{tableWrapper:t}=r.refs;return!(!t||!t.classList.contains(e))},C=function(){if(!r.refs.scrollBarRef)return;if(!t.scrollX.value){const e="is-scrolling-none";return void(S(e)||x(e))}const e=r.refs.scrollBarRef.wrapRef;if(!e)return;const{scrollLeft:n,offsetWidth:a,scrollWidth:o}=e,{headerWrapper:i,footerWrapper:s}=r.refs;i&&(i.scrollLeft=n),s&&(s.scrollLeft=n);const l=o-a-1;x(n>=l?"is-scrolling-right":0===n?"is-scrolling-left":"is-scrolling-middle")},M=()=>{r.refs.scrollBarRef&&(r.refs.scrollBarRef.wrapRef&&Object(l["useEventListener"])(r.refs.scrollBarRef.wrapRef,"scroll",C,{passive:!0}),e.fit?Object(l["useResizeObserver"])(r.vnode.el,A):Object(l["useEventListener"])(window,"resize",A),Object(l["useResizeObserver"])(r.refs.bodyWrapper,()=>{var e,t;A(),null==(t=null==(e=r.refs)?void 0:e.scrollBarRef)||t.update()}))},A=()=>{var t,n,a,o;const i=r.vnode.el;if(!r.$ready||!i)return;let s=!1;const{width:l,height:c,headerHeight:d}=u.value,f=h.value=i.offsetWidth;l!==f&&(s=!0);const y=i.offsetHeight;(e.height||w.value)&&c!==y&&(s=!0);const O="fixed"===e.tableLayout?r.refs.headerWrapper:null==(t=r.refs.tableHeaderRef)?void 0:t.$el;e.showHeader&&(null==O?void 0:O.offsetHeight)!==d&&(s=!0),p.value=(null==(n=r.refs.tableWrapper)?void 0:n.scrollHeight)||0,v.value=(null==O?void 0:O.scrollHeight)||0,b.value=(null==(a=r.refs.footerWrapper)?void 0:a.offsetHeight)||0,g.value=(null==(o=r.refs.appendWrapper)?void 0:o.offsetHeight)||0,m.value=p.value-v.value-b.value-g.value,s&&(u.value={width:f,height:y,headerHeight:e.showHeader&&(null==O?void 0:O.offsetHeight)||0},j())},T=Oe(),E=Object(s["computed"])(()=>{const{bodyWidth:e,scrollY:n,gutterWidth:r}=t;return e.value?e.value-(n.value?r:0)+"px":""}),L=Object(s["computed"])(()=>e.maxHeight?"fixed":e.tableLayout),P=Object(s["computed"])(()=>{if(e.data&&e.data.length)return null;let t="100%";e.height&&m.value&&(t=m.value+"px");const n=h.value;return{width:n?n+"px":"",height:t}}),D=Object(s["computed"])(()=>e.height?{height:Number.isNaN(Number(e.height))?e.height:e.height+"px"}:e.maxHeight?{maxHeight:Number.isNaN(Number(e.maxHeight))?e.maxHeight:e.maxHeight+"px"}:{}),N=Object(s["computed"])(()=>e.height?{height:"100%"}:e.maxHeight?Number.isNaN(Number(e.maxHeight))?{maxHeight:`calc(${e.maxHeight} - ${v.value+b.value}px)`}:{maxHeight:e.maxHeight-v.value-b.value+"px"}:{}),R=(e,t)=>{const n=r.refs.bodyWrapper;if(Math.abs(t.spinY)>0){const r=n.scrollTop;t.pixelY<0&&0!==r&&e.preventDefault(),t.pixelY>0&&n.scrollHeight-n.clientHeight>r&&e.preventDefault(),n.scrollTop+=Math.ceil(t.pixelY/5)}else n.scrollLeft+=Math.ceil(t.pixelX/5)};return{isHidden:a,renderExpanded:o,setDragVisible:c,isGroup:d,handleMouseLeave:y,handleHeaderFooterMousewheel:O,tableSize:T,emptyBlockStyle:P,handleFixedMousewheel:R,resizeProxyVisible:i,bodyWidth:E,resizeState:u,doLayout:j,tableBodyStyles:_,tableLayout:L,scrollbarViewStyle:f,tableInnerStyle:D,scrollbarStyle:N}}function B_(e){const t=Object(s["ref"])(),n=()=>{const n=e.vnode.el,r=n.querySelector(".hidden-columns"),a={childList:!0,subtree:!0},o=e.store.states.updateOrderFns;t.value=new MutationObserver(()=>{o.forEach(e=>e())}),t.value.observe(r,a)};Object(s["onMounted"])(()=>{n()}),Object(s["onUnmounted"])(()=>{var e;null==(e=t.value)||e.disconnect()})}var F_={data:{type:Array,default:()=>[]},size:ne["c"],width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children"})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:[Boolean,Object]};function V_(e){const t="auto"===e.tableLayout;let n=e.columns||[];t&&n.every(e=>void 0===e.width)&&(n=[]);const r=n=>{const r={key:`${e.tableLayout}_${n.id}`,style:{},name:void 0};return t?r.style={width:n.width+"px"}:r.name=n.id,r};return Object(s["h"])("colgroup",{},n.map(e=>Object(s["h"])("col",r(e))))}V_.props=["columns","tableLayout"];const z_=()=>{const e=Object(s["ref"])(),t=(t,n)=>{const r=e.value;r&&r.scrollTo(t,n)},n=(t,n)=>{const r=e.value;r&&Object(u["d"])(n)&&["Top","Left"].includes(t)&&r["setScroll"+t](n)},r=e=>n("Top",e),a=e=>n("Left",e);return{scrollBarRef:e,scrollTo:t,setScrollTop:r,setScrollLeft:a}};var H_=n("0512c"),Y_=n.n(H_);const U_=function(e,t){if(e&&e.addEventListener){const n=function(e){const n=Y_()(e);t&&Reflect.apply(t,this,[e,n])};e.addEventListener("wheel",n,{passive:!0})}},W_={beforeMount(e,t){U_(e,t.value)}};let $_=1;const q_=Object(s["defineComponent"])({name:"ElTable",directives:{Mousewheel:W_},components:{TableHeader:S_,TableBody:L_,TableFooter:N_,ElScrollbar:Ke,hColgroup:V_},props:F_,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change"],setup(e){const{t:t}=Object(Lr["b"])(),n=Object(b["d"])("table"),r=Object(s["getCurrentInstance"])();Object(s["provide"])(O_,r);const a=s_(r,e);r.store=a;const o=new d_({store:r.store,table:r,fit:e.fit,showHeader:e.showHeader});r.layout=o;const i=Object(s["computed"])(()=>0===(a.states.data.value||[]).length),{setCurrentRow:l,getSelectionRows:c,toggleRowSelection:u,clearSelection:d,clearFilter:f,toggleAllSelection:h,toggleRowExpansion:p,clearSort:m,sort:v}=R_(a),{isHidden:g,renderExpanded:y,setDragVisible:O,isGroup:w,handleMouseLeave:_,handleHeaderFooterMousewheel:j,tableSize:k,emptyBlockStyle:x,handleFixedMousewheel:S,resizeProxyVisible:C,bodyWidth:M,resizeState:A,doLayout:T,tableBodyStyles:E,tableLayout:L,scrollbarViewStyle:P,tableInnerStyle:D,scrollbarStyle:N}=I_(e,o,a,r),{scrollBarRef:R,scrollTo:I,setScrollLeft:B,setScrollTop:F}=z_(),V=Object(q["debounce"])(T,50),z=`${n.namespace.value}-table_${$_++}`;r.tableId=z,r.state={isGroup:w,resizeState:A,doLayout:T,debouncedUpdateLayout:V};const H=Object(s["computed"])(()=>e.sumText||t("el.table.sumText")),Y=Object(s["computed"])(()=>e.emptyText||t("el.table.emptyText"));return B_(r),{ns:n,layout:o,store:a,handleHeaderFooterMousewheel:j,handleMouseLeave:_,tableId:z,tableSize:k,isHidden:g,isEmpty:i,renderExpanded:y,resizeProxyVisible:C,resizeState:A,isGroup:w,bodyWidth:M,tableBodyStyles:E,emptyBlockStyle:x,debouncedUpdateLayout:V,handleFixedMousewheel:S,setCurrentRow:l,getSelectionRows:c,toggleRowSelection:u,clearSelection:d,clearFilter:f,toggleAllSelection:h,toggleRowExpansion:p,clearSort:m,doLayout:T,sort:v,t:t,setDragVisible:O,context:r,computedSumText:H,computedEmptyText:Y,tableLayout:L,scrollbarViewStyle:P,tableInnerStyle:D,scrollbarStyle:N,scrollBarRef:R,scrollTo:I,setScrollLeft:B,setScrollTop:F}}}),G_=["data-prefix"],X_={ref:"hiddenColumns",class:"hidden-columns"};function K_(e,t,n,r,a,o){const i=Object(s["resolveComponent"])("hColgroup"),l=Object(s["resolveComponent"])("table-header"),c=Object(s["resolveComponent"])("table-body"),u=Object(s["resolveComponent"])("table-footer"),d=Object(s["resolveComponent"])("el-scrollbar"),f=Object(s["resolveDirective"])("mousewheel");return Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{ref:"tableWrapper",class:Object(s["normalizeClass"])([{[e.ns.m("fit")]:e.fit,[e.ns.m("striped")]:e.stripe,[e.ns.m("border")]:e.border||e.isGroup,[e.ns.m("hidden")]:e.isHidden,[e.ns.m("group")]:e.isGroup,[e.ns.m("fluid-height")]:e.maxHeight,[e.ns.m("scrollable-x")]:e.layout.scrollX.value,[e.ns.m("scrollable-y")]:e.layout.scrollY.value,[e.ns.m("enable-row-hover")]:!e.store.states.isComplex.value,[e.ns.m("enable-row-transition")]:0!==(e.store.states.data.value||[]).length&&(e.store.states.data.value||[]).length<100,"has-footer":e.showSummary},e.ns.m(e.tableSize),e.className,e.ns.b(),e.ns.m("layout-"+e.tableLayout)]),style:Object(s["normalizeStyle"])(e.style),"data-prefix":e.ns.namespace.value,onMouseleave:t[0]||(t[0]=(...t)=>e.handleMouseLeave&&e.handleMouseLeave(...t))},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(e.ns.e("inner-wrapper")),style:Object(s["normalizeStyle"])(e.tableInnerStyle)},[Object(s["createElementVNode"])("div",X_,[Object(s["renderSlot"])(e.$slots,"default")],512),e.showHeader&&"fixed"===e.tableLayout?Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,ref:"headerWrapper",class:Object(s["normalizeClass"])(e.ns.e("header-wrapper"))},[Object(s["createElementVNode"])("table",{ref:"tableHeader",class:Object(s["normalizeClass"])(e.ns.e("header")),style:Object(s["normalizeStyle"])(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[Object(s["createVNode"])(i,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),Object(s["createVNode"])(l,{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])],6)],2)),[[f,e.handleHeaderFooterMousewheel]]):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",{ref:"bodyWrapper",class:Object(s["normalizeClass"])(e.ns.e("body-wrapper"))},[Object(s["createVNode"])(d,{ref:"scrollBarRef","view-style":e.scrollbarViewStyle,"wrap-style":e.scrollbarStyle,always:e.scrollbarAlwaysOn},{default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("table",{ref:"tableBody",class:Object(s["normalizeClass"])(e.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:Object(s["normalizeStyle"])({width:e.bodyWidth,tableLayout:e.tableLayout})},[Object(s["createVNode"])(i,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),e.showHeader&&"auto"===e.tableLayout?(Object(s["openBlock"])(),Object(s["createBlock"])(l,{key:0,ref:"tableHeaderRef",class:Object(s["normalizeClass"])(e.ns.e("body-header")),border:e.border,"default-sort":e.defaultSort,store:e.store,onSetDragVisible:e.setDragVisible},null,8,["class","border","default-sort","store","onSetDragVisible"])):Object(s["createCommentVNode"])("v-if",!0),Object(s["createVNode"])(c,{context:e.context,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"tooltip-effect":e.tooltipEffect,"tooltip-options":e.tooltipOptions,"row-style":e.rowStyle,store:e.store,stripe:e.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),e.showSummary&&"auto"===e.tableLayout?(Object(s["openBlock"])(),Object(s["createBlock"])(u,{key:1,class:Object(s["normalizeClass"])(e.ns.e("body-footer")),border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):Object(s["createCommentVNode"])("v-if",!0)],6),e.isEmpty?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,ref:"emptyBlock",style:Object(s["normalizeStyle"])(e.emptyBlockStyle),class:Object(s["normalizeClass"])(e.ns.e("empty-block"))},[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(e.ns.e("empty-text"))},[Object(s["renderSlot"])(e.$slots,"empty",{},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.computedEmptyText),1)])],2)],6)):Object(s["createCommentVNode"])("v-if",!0),e.$slots.append?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,ref:"appendWrapper",class:Object(s["normalizeClass"])(e.ns.e("append-wrapper"))},[Object(s["renderSlot"])(e.$slots,"append")],2)):Object(s["createCommentVNode"])("v-if",!0)]),_:3},8,["view-style","wrap-style","always"])],2),e.showSummary&&"fixed"===e.tableLayout?Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,ref:"footerWrapper",class:Object(s["normalizeClass"])(e.ns.e("footer-wrapper"))},[Object(s["createElementVNode"])("table",{class:Object(s["normalizeClass"])(e.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:Object(s["normalizeStyle"])(e.tableBodyStyles)},[Object(s["createVNode"])(i,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),Object(s["createVNode"])(u,{border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[s["vShow"],!e.isEmpty],[f,e.handleHeaderFooterMousewheel]]):Object(s["createCommentVNode"])("v-if",!0),e.border||e.isGroup?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:2,class:Object(s["normalizeClass"])(e.ns.e("border-left-patch"))},null,2)):Object(s["createCommentVNode"])("v-if",!0)],6),Object(s["withDirectives"])(Object(s["createElementVNode"])("div",{ref:"resizeProxy",class:Object(s["normalizeClass"])(e.ns.e("column-resize-proxy"))},null,2),[[s["vShow"],e.resizeProxyVisible]])],46,G_)}var J_=Object(v["a"])(q_,[["render",K_],["__file","table.vue"]]);const Z_={selection:"table-column--selection",expand:"table__expand-column"},Q_={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},ej=e=>Z_[e]||"",tj={selection:{renderHeader({store:e,column:t}){function n(){return e.states.data.value&&0===e.states.data.value.length}return Object(s["h"])(ei,{disabled:n(),size:e.states.tableSize.value,indeterminate:e.states.selection.value.length>0&&!e.states.isAllSelected.value,"onUpdate:modelValue":e.toggleAllSelection,modelValue:e.states.isAllSelected.value,ariaLabel:t.label})},renderCell({row:e,column:t,store:n,$index:r}){return Object(s["h"])(ei,{disabled:!!t.selectable&&!t.selectable.call(null,e,r),size:n.states.tableSize.value,onChange:()=>{n.commit("rowSelectedChanged",e)},onClick:e=>e.stopPropagation(),modelValue:n.isSelected(e),ariaLabel:t.label})},sortable:!1,resizable:!1},index:{renderHeader({column:e}){return e.label||"#"},renderCell({column:e,$index:t}){let n=t+1;const r=e.index;return"number"===typeof r?n=t+r:"function"===typeof r&&(n=r(t)),Object(s["h"])("div",{},[n])},sortable:!1},expand:{renderHeader({column:e}){return e.label||""},renderCell({row:e,store:t,expanded:n}){const{ns:r}=t,a=[r.e("expand-icon")];n&&a.push(r.em("expand-icon","expanded"));const o=function(n){n.stopPropagation(),t.toggleRowExpansion(e)};return Object(s["h"])("div",{class:a,onClick:o},{default:()=>[Object(s["h"])(I["a"],null,{default:()=>[Object(s["h"])(G["ArrowRight"])]})]})},sortable:!1,resizable:!1}};function nj({row:e,column:t,$index:n}){var r;const a=t.property,o=a&&Object(B["b"])(e,a).value;return t&&t.formatter?t.formatter(e,t,o,n):(null==(r=null==o?void 0:o.toString)?void 0:r.call(o))||""}function rj({row:e,treeNode:t,store:n},r=!1){const{ns:a}=n;if(!t)return r?[Object(s["h"])("span",{class:a.e("placeholder")})]:null;const o=[],i=function(r){r.stopPropagation(),t.loading||n.loadOrToggle(e)};if(t.indent&&o.push(Object(s["h"])("span",{class:a.e("indent"),style:{"padding-left":t.indent+"px"}})),"boolean"!==typeof t.expanded||t.noLazyChildren)o.push(Object(s["h"])("span",{class:a.e("placeholder")}));else{const e=[a.e("expand-icon"),t.expanded?a.em("expand-icon","expanded"):""];let n=G["ArrowRight"];t.loading&&(n=G["Loading"]),o.push(Object(s["h"])("div",{class:e,onClick:i},{default:()=>[Object(s["h"])(I["a"],{class:{[a.is("loading")]:t.loading}},{default:()=>[Object(s["h"])(n)]})]}))}return o}function aj(e,t){return e.reduce((e,t)=>(e[t]=t,e),t)}function oj(e,t){const n=Object(s["getCurrentInstance"])(),r=()=>{const r=["fixed"],a={realWidth:"width",realMinWidth:"minWidth"},o=aj(r,a);Object.keys(o).forEach(r=>{const o=a[r];Object(te["hasOwn"])(t,o)&&Object(s["watch"])(()=>t[o],t=>{let a=t;"width"===o&&"realWidth"===r&&(a=Rw(t)),"minWidth"===o&&"realMinWidth"===r&&(a=Iw(t)),n.columnConfig.value[o]=a,n.columnConfig.value[r]=a;const i="fixed"===o;e.value.store.scheduleLayout(i)})})},a=()=>{const e=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip"],r={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},a=aj(e,r);Object.keys(a).forEach(e=>{const a=r[e];Object(te["hasOwn"])(t,a)&&Object(s["watch"])(()=>t[a],t=>{n.columnConfig.value[e]=t})})};return{registerComplexWatchers:r,registerNormalWatchers:a}}function ij(e,t,n){const r=Object(s["getCurrentInstance"])(),a=Object(s["ref"])(""),o=Object(s["ref"])(!1),i=Object(s["ref"])(),l=Object(s["ref"])(),c=Object(b["d"])("table");Object(s["watchEffect"])(()=>{i.value=e.align?"is-"+e.align:null,i.value}),Object(s["watchEffect"])(()=>{l.value=e.headerAlign?"is-"+e.headerAlign:i.value,l.value});const u=Object(s["computed"])(()=>{let e=r.vnode.vParent||r.parent;while(e&&!e.tableId&&!e.columnId)e=e.vnode.vParent||e.parent;return e}),d=Object(s["computed"])(()=>{const{store:e}=r.parent;if(!e)return!1;const{treeData:t}=e.states,n=t.value;return n&&Object.keys(n).length>0}),f=Object(s["ref"])(Rw(e.width)),h=Object(s["ref"])(Iw(e.minWidth)),p=e=>(f.value&&(e.width=f.value),h.value&&(e.minWidth=h.value),!f.value&&h.value&&(e.width=void 0),e.minWidth||(e.minWidth=80),e.realWidth=Number(void 0===e.width?e.minWidth:e.width),e),m=e=>{const t=e.type,n=tj[t]||{};Object.keys(n).forEach(t=>{const r=n[t];"className"!==t&&void 0!==r&&(e[t]=r)});const r=ej(t);if(r){const t=`${Object(s["unref"])(c.namespace)}-${r}`;e.className=e.className?`${e.className} ${t}`:t}return e},v=e=>{function t(e){var t;"ElTableColumn"===(null==(t=null==e?void 0:e.type)?void 0:t.name)&&(e.vParent=r)}Array.isArray(e)?e.forEach(e=>t(e)):t(e)},g=a=>{e.renderHeader?Object(y["a"])("TableColumn","Comparing to render-header, scoped-slot header is easier to use. We recommend users to use scoped-slot header."):"selection"!==a.type&&(a.renderHeader=e=>(r.columnConfig.value["label"],Object(s["renderSlot"])(t,"header",e,()=>[a.label])));let o=a.renderCell;return"expand"===a.type?(a.renderCell=e=>Object(s["h"])("div",{class:"cell"},[o(e)]),n.value.renderExpanded=e=>t.default?t.default(e):t.default):(o=o||nj,a.renderCell=e=>{let r=null;if(t.default){const n=t.default(e);r=n.some(e=>e.type!==s["Comment"])?n:o(e)}else r=o(e);const{columns:i}=n.value.store.states,l=i.value.findIndex(e=>"default"===e.type),u=d.value&&e.cellIndex===l,f=rj(e,u),h={class:"cell",style:{}};return a.showOverflowTooltip&&(h.class=`${h.class} ${Object(s["unref"])(c.namespace)}-tooltip`,h.style={width:(e.column.realWidth||Number(e.column.width))-1+"px"}),v(r),Object(s["h"])("div",h,[f,r])}),a},O=(...t)=>t.reduce((t,n)=>(Array.isArray(n)&&n.forEach(n=>{t[n]=e[n]}),t),{}),w=(e,t)=>Array.prototype.indexOf.call(e,t),_=()=>{n.value.store.commit("updateColumnOrder",r.columnConfig.value)};return{columnId:a,realAlign:i,isSubColumn:o,realHeaderAlign:l,columnOrTableParent:u,setColumnWidth:p,setColumnForcedProps:m,setColumnRenders:g,getPropsData:O,getColumnElIndex:w,updateColumnOrder:_}}var sj={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showOverflowTooltip:{type:[Boolean,Object],default:void 0},fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},filterClassName:String,index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:e=>e.every(e=>["ascending","descending",null].includes(e))}};let lj=1;var cj=Object(s["defineComponent"])({name:"ElTableColumn",components:{ElCheckbox:ei},props:sj,setup(e,{slots:t}){const n=Object(s["getCurrentInstance"])(),r=Object(s["ref"])({}),a=Object(s["computed"])(()=>{let e=n.parent;while(e&&!e.tableId)e=e.parent;return e}),{registerNormalWatchers:o,registerComplexWatchers:i}=oj(a,e),{columnId:l,isSubColumn:c,realHeaderAlign:d,columnOrTableParent:f,setColumnWidth:h,setColumnForcedProps:p,setColumnRenders:m,getPropsData:v,getColumnElIndex:b,realAlign:g,updateColumnOrder:y}=ij(e,t,a),O=f.value;l.value=`${O.tableId||O.columnId}_column_${lj++}`,Object(s["onBeforeMount"])(()=>{c.value=a.value!==O;const t=e.type||"default",s=""===e.sortable||e.sortable,f=Object(u["g"])(e.showOverflowTooltip)?O.props.showOverflowTooltip:e.showOverflowTooltip,b={...Q_[t],id:l.value,type:t,property:e.prop||e.property,align:g,headerAlign:d,showOverflowTooltip:f,filterable:e.filters||e.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:s,index:e.index,rawColumnKey:n.vnode.key},y=["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],w=["sortMethod","sortBy","sortOrders"],_=["selectable","reserveSelection"],j=["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"];let k=v(y,w,_,j);k=Nw(b,k);const x=Fw(m,h,p);k=x(k),r.value=k,o(),i()}),Object(s["onMounted"])(()=>{var e;const t=f.value,o=c.value?t.vnode.el.children:null==(e=t.refs.hiddenColumns)?void 0:e.children,i=()=>b(o||[],n.vnode.el);r.value.getColumnIndex=i;const s=i();s>-1&&a.value.store.commit("insertColumn",r.value,c.value?t.columnConfig.value:null,y)}),Object(s["onBeforeUnmount"])(()=>{const e=r.value.getColumnIndex();e>-1&&a.value.store.commit("removeColumn",r.value,c.value?O.columnConfig.value:null,y)}),n.columnId=l.value,n.columnConfig=r},render(){var e,t,n;try{const r=null==(t=(e=this.$slots).default)?void 0:t.call(e,{row:{},column:{},$index:-1}),a=[];if(Array.isArray(r))for(const e of r)"ElTableColumn"===(null==(n=e.type)?void 0:n.name)||2&e.shapeFlag?a.push(e):e.type===s["Fragment"]&&Array.isArray(e.children)&&e.children.forEach(e=>{1024===(null==e?void 0:e.patchFlag)||Object(te["isString"])(null==e?void 0:e.children)||a.push(e)});const o=Object(s["h"])("div",a);return o}catch(r){return Object(s["h"])("div",[])}}});const uj=Object(N["a"])(J_,{TableColumn:cj}),dj=Object(N["d"])(cj);var fj=(e=>(e["ASC"]="asc",e["DESC"]="desc",e))(fj||{}),hj=(e=>(e["CENTER"]="center",e["RIGHT"]="right",e))(hj||{}),pj=(e=>(e["LEFT"]="left",e["RIGHT"]="right",e))(pj||{});const mj={["asc"]:"desc",["desc"]:"asc"},vj=Symbol("placeholder"),bj=(e,t,n)=>{var r;const a={flexGrow:0,flexShrink:0,...n?{}:{flexGrow:e.flexGrow||0,flexShrink:e.flexShrink||1}};n||(a.flexShrink=1);const o={...null!=(r=e.style)?r:{},...a,flexBasis:"auto",width:e.width};return t||(e.maxWidth&&(o.maxWidth=e.maxWidth),e.minWidth&&(o.minWidth=e.minWidth)),o};function gj(e,t,n){const r=Object(s["computed"])(()=>Object(s["unref"])(t).filter(e=>!e.hidden)),a=Object(s["computed"])(()=>Object(s["unref"])(r).filter(e=>"left"===e.fixed||!0===e.fixed)),o=Object(s["computed"])(()=>Object(s["unref"])(r).filter(e=>"right"===e.fixed)),i=Object(s["computed"])(()=>Object(s["unref"])(r).filter(e=>!e.fixed)),l=Object(s["computed"])(()=>{const e=[];return Object(s["unref"])(a).forEach(t=>{e.push({...t,placeholderSign:vj})}),Object(s["unref"])(i).forEach(t=>{e.push(t)}),Object(s["unref"])(o).forEach(t=>{e.push({...t,placeholderSign:vj})}),e}),c=Object(s["computed"])(()=>Object(s["unref"])(a).length||Object(s["unref"])(o).length),u=Object(s["computed"])(()=>{const r=Object(s["unref"])(t);return r.reduce((t,r)=>(t[r.key]=bj(r,Object(s["unref"])(n),e.fixed),t),{})}),d=Object(s["computed"])(()=>Object(s["unref"])(r).reduce((e,t)=>e+t.width,0)),f=e=>Object(s["unref"])(t).find(t=>t.key===e),h=e=>Object(s["unref"])(u)[e],p=(e,t)=>{e.width=t};function m(t){var n;const{key:r}=t.currentTarget.dataset;if(!r)return;const{sortState:a,sortBy:o}=e;let i=fj.ASC;i=Object(te["isObject"])(a)?mj[a[r]]:mj[o.order],null==(n=e.onColumnSort)||n.call(e,{column:f(r),key:r,order:i})}return{columns:t,columnsStyles:u,columnsTotalWidth:d,fixedColumnsOnLeft:a,fixedColumnsOnRight:o,hasFixedColumns:c,mainColumns:l,normalColumns:i,visibleColumns:r,getColumn:f,getColumnStyle:h,updateColumnWidth:p,onColumnSorted:m}}const yj=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,onMaybeEndReached:a})=>{const o=Object(s["ref"])({scrollLeft:0,scrollTop:0});function i(e){var a,o,i;const{scrollTop:s}=e;null==(a=t.value)||a.scrollTo(e),null==(o=n.value)||o.scrollToTop(s),null==(i=r.value)||i.scrollToTop(s)}function l(e){o.value=e,i(e)}function c(e){o.value.scrollTop=e,i(Object(s["unref"])(o))}function u(e){var n,r;o.value.scrollLeft=e,null==(r=null==(n=t.value)?void 0:n.scrollTo)||r.call(n,Object(s["unref"])(o))}function d(t){var n;l(t),null==(n=e.onScroll)||n.call(e,t)}function f({scrollTop:e}){const{scrollTop:t}=Object(s["unref"])(o);e!==t&&c(e)}function h(e,n="auto"){var r;null==(r=t.value)||r.scrollToRow(e,n)}return Object(s["watch"])(()=>Object(s["unref"])(o).scrollTop,(e,t)=>{e>t&&a()}),{scrollPos:o,scrollTo:l,scrollToLeft:u,scrollToTop:c,scrollToRow:h,onScroll:d,onVerticalScroll:f}},Oj=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,tableInstance:a,ns:o,isScrolling:i})=>{const l=Object(s["getCurrentInstance"])(),{emit:c}=l,d=Object(s["shallowRef"])(!1),f=Object(s["ref"])(e.defaultExpandedRowKeys||[]),h=Object(s["ref"])(-1),p=Object(s["shallowRef"])(null),m=Object(s["ref"])({}),v=Object(s["ref"])({}),b=Object(s["shallowRef"])({}),g=Object(s["shallowRef"])({}),y=Object(s["shallowRef"])({}),O=Object(s["computed"])(()=>Object(u["d"])(e.estimatedRowHeight));function w(t){var n;null==(n=e.onRowsRendered)||n.call(e,t),t.rowCacheEnd>Object(s["unref"])(h)&&(h.value=t.rowCacheEnd)}function _({hovered:e,rowKey:t}){if(i.value)return;const n=a.vnode.el,r=n.querySelectorAll(`[rowkey=${t}]`);r.forEach(t=>{e?t.classList.add(o.is("hovered")):t.classList.remove(o.is("hovered"))})}function j({expanded:t,rowData:n,rowIndex:r,rowKey:a}){var o,i;const l=[...Object(s["unref"])(f)],u=l.indexOf(a);t?-1===u&&l.push(a):u>-1&&l.splice(u,1),f.value=l,c("update:expandedRowKeys",l),null==(o=e.onRowExpand)||o.call(e,{expanded:t,rowData:n,rowIndex:r,rowKey:a}),null==(i=e.onExpandedRowsChange)||i.call(e,l)}const k=Object(q["debounce"])(()=>{var e,a,o,i;d.value=!0,m.value={...Object(s["unref"])(m),...Object(s["unref"])(v)},x(Object(s["unref"])(p),!1),v.value={},p.value=null,null==(e=t.value)||e.forceUpdate(),null==(a=n.value)||a.forceUpdate(),null==(o=r.value)||o.forceUpdate(),null==(i=l.proxy)||i.$forceUpdate(),d.value=!1},0);function x(e,a=!1){Object(s["unref"])(O)&&[t,n,r].forEach(t=>{const n=Object(s["unref"])(t);n&&n.resetAfterRowIndex(e,a)})}function S(e,t,n){const r=Object(s["unref"])(p);(null===r||r>n)&&(p.value=n),v.value[e]=t}function C({rowKey:e,height:t,rowIndex:n},r){r?r===pj.RIGHT?y.value[e]=t:b.value[e]=t:g.value[e]=t;const a=Math.max(...[b,y,g].map(t=>t.value[e]||0));Object(s["unref"])(m)[e]!==a&&(S(e,a,n),k())}return{expandedRowKeys:f,lastRenderedRowIndex:h,isDynamic:O,isResetting:d,rowHeights:m,resetAfterIndex:x,onRowExpanded:j,onRowHovered:_,onRowsRendered:w,onRowHeightChange:C}},wj=(e,{expandedRowKeys:t,lastRenderedRowIndex:n,resetAfterIndex:r})=>{const a=Object(s["ref"])({}),o=Object(s["computed"])(()=>{const n={},{data:r,rowKey:o}=e,i=Object(s["unref"])(t);if(!i||!i.length)return r;const l=[],c=new Set;i.forEach(e=>c.add(e));let u=r.slice();u.forEach(e=>n[e[o]]=0);while(u.length>0){const e=u.shift();l.push(e),c.has(e[o])&&Array.isArray(e.children)&&e.children.length>0&&(u=[...e.children,...u],e.children.forEach(t=>n[t[o]]=n[e[o]]+1))}return a.value=n,l}),i=Object(s["computed"])(()=>{const{data:t,expandColumnKey:n}=e;return n?Object(s["unref"])(o):t});return Object(s["watch"])(i,(e,t)=>{e!==t&&(n.value=-1,r(0,!0))}),{data:i,depthMap:a}},_j=(e,t)=>e+t,jj=e=>Object(te["isArray"])(e)?e.reduce(_j,0):e,kj=(e,t,n={})=>Object(te["isFunction"])(e)?e(t):null!=e?e:n,xj=e=>(["width","maxWidth","minWidth","height"].forEach(t=>{e[t]=Object(g["b"])(e[t])}),e),Sj=e=>Object(s["isVNode"])(e)?t=>Object(s["h"])(e,t):e,Cj=(e,{columnsTotalWidth:t,data:n,fixedColumnsOnLeft:r,fixedColumnsOnRight:a})=>{const o=Object(s["computed"])(()=>{const{fixed:n,width:r,vScrollbarSize:a}=e,o=r-a;return n?Math.max(Math.round(Object(s["unref"])(t)),o):o}),i=Object(s["computed"])(()=>Object(s["unref"])(o)+e.vScrollbarSize),l=Object(s["computed"])(()=>{const{height:t=0,maxHeight:n=0,footerHeight:r,hScrollbarSize:a}=e;if(n>0){const e=Object(s["unref"])(v),t=Object(s["unref"])(c),o=Object(s["unref"])(m),i=o+e+t+a;return Math.min(i,n-r)}return t-r}),c=Object(s["computed"])(()=>{const{rowHeight:t,estimatedRowHeight:r}=e,a=Object(s["unref"])(n);return Object(u["d"])(r)?a.length*r:a.length*t}),d=Object(s["computed"])(()=>{const{maxHeight:t}=e,n=Object(s["unref"])(l);if(Object(u["d"])(t)&&t>0)return n;const r=Object(s["unref"])(c)+Object(s["unref"])(m)+Object(s["unref"])(v);return Math.min(n,r)}),f=e=>e.width,h=Object(s["computed"])(()=>jj(Object(s["unref"])(r).map(f))),p=Object(s["computed"])(()=>jj(Object(s["unref"])(a).map(f))),m=Object(s["computed"])(()=>jj(e.headerHeight)),v=Object(s["computed"])(()=>{var t;return((null==(t=e.fixedData)?void 0:t.length)||0)*e.rowHeight}),b=Object(s["computed"])(()=>Object(s["unref"])(l)-Object(s["unref"])(m)-Object(s["unref"])(v)),y=Object(s["computed"])(()=>{const{style:t={},height:n,width:r}=e;return xj({...t,height:n,width:r})}),O=Object(s["computed"])(()=>xj({height:e.footerHeight})),w=Object(s["computed"])(()=>({top:Object(g["b"])(Object(s["unref"])(m)),bottom:Object(g["b"])(e.footerHeight),width:Object(g["b"])(e.width)}));return{bodyWidth:o,fixedTableHeight:d,mainTableHeight:l,leftTableWidth:h,rightTableWidth:p,headerWidth:i,rowsHeight:c,windowHeight:b,footerHeight:O,emptyStyle:w,rootStyle:y,headerHeight:m}};function Mj(e){const t=Object(s["ref"])(),n=Object(s["ref"])(),r=Object(s["ref"])(),{columns:a,columnsStyles:o,columnsTotalWidth:i,fixedColumnsOnLeft:l,fixedColumnsOnRight:c,hasFixedColumns:u,mainColumns:d,onColumnSorted:f}=gj(e,Object(s["toRef"])(e,"columns"),Object(s["toRef"])(e,"fixed")),{scrollTo:h,scrollToLeft:p,scrollToTop:m,scrollToRow:v,onScroll:g,onVerticalScroll:y,scrollPos:O}=yj(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,onMaybeEndReached:J}),w=Object(b["d"])("table-v2"),_=Object(s["getCurrentInstance"])(),j=Object(s["shallowRef"])(!1),{expandedRowKeys:k,lastRenderedRowIndex:x,isDynamic:S,isResetting:C,rowHeights:M,resetAfterIndex:A,onRowExpanded:T,onRowHeightChange:E,onRowHovered:L,onRowsRendered:P}=Oj(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,tableInstance:_,ns:w,isScrolling:j}),{data:D,depthMap:N}=wj(e,{expandedRowKeys:k,lastRenderedRowIndex:x,resetAfterIndex:A}),{bodyWidth:R,fixedTableHeight:I,mainTableHeight:B,leftTableWidth:F,rightTableWidth:V,headerWidth:z,rowsHeight:H,windowHeight:Y,footerHeight:U,emptyStyle:W,rootStyle:$,headerHeight:q}=Cj(e,{columnsTotalWidth:i,data:D,fixedColumnsOnLeft:l,fixedColumnsOnRight:c}),G=Object(s["ref"])(),X=Object(s["computed"])(()=>{const t=0===Object(s["unref"])(D).length;return Object(te["isArray"])(e.fixedData)?0===e.fixedData.length&&t:t});function K(t){const{estimatedRowHeight:n,rowHeight:r,rowKey:a}=e;return n?Object(s["unref"])(M)[Object(s["unref"])(D)[t][a]]||n:r}function J(){const{onEndReached:t}=e;if(!t)return;const{scrollTop:n}=Object(s["unref"])(O),r=Object(s["unref"])(H),a=Object(s["unref"])(Y),o=r-(n+a)+e.hScrollbarSize;Object(s["unref"])(x)>=0&&r===n+Object(s["unref"])(B)-Object(s["unref"])(q)&&t(o)}return Object(s["watch"])(()=>e.expandedRowKeys,e=>k.value=e,{deep:!0}),{columns:a,containerRef:G,mainTableRef:t,leftTableRef:n,rightTableRef:r,isDynamic:S,isResetting:C,isScrolling:j,hasFixedColumns:u,columnsStyles:o,columnsTotalWidth:i,data:D,expandedRowKeys:k,depthMap:N,fixedColumnsOnLeft:l,fixedColumnsOnRight:c,mainColumns:d,bodyWidth:R,emptyStyle:W,rootStyle:$,headerWidth:z,footerHeight:U,mainTableHeight:B,fixedTableHeight:I,leftTableWidth:F,rightTableWidth:V,showEmpty:X,getRowHeight:K,onColumnSorted:f,onRowHovered:L,onRowExpanded:T,onRowsRendered:P,onRowHeightChange:E,scrollTo:h,scrollToLeft:p,scrollToTop:m,scrollToRow:v,onScroll:g,onVerticalScroll:y}}const Aj=Symbol("tableV2"),Tj=String,Ej={type:Object(c["c"])(Array),required:!0},Lj=(Object(c["c"])(Object),{type:Object(c["c"])(Array)}),Pj={...Lj,required:!0},Dj=String,Nj={type:Object(c["c"])(Array),default:()=>Object(re["a"])([])},Rj={type:Number,required:!0},Ij={type:Object(c["c"])([String,Number,Symbol]),default:"id"},Bj={type:Object(c["c"])(Object)},Fj=Object(c["b"])({class:String,columns:Ej,columnsStyles:{type:Object(c["c"])(Object),required:!0},depth:Number,expandColumnKey:Dj,estimatedRowHeight:{...gy.estimatedRowHeight,default:void 0},isScrolling:Boolean,onRowExpand:{type:Object(c["c"])(Function)},onRowHover:{type:Object(c["c"])(Function)},onRowHeightChange:{type:Object(c["c"])(Function)},rowData:{type:Object(c["c"])(Object),required:!0},rowEventHandlers:{type:Object(c["c"])(Object)},rowIndex:{type:Number,required:!0},rowKey:Ij,style:{type:Object(c["c"])(Object)}}),Vj={type:Number,required:!0},zj=Object(c["b"])({class:String,columns:Ej,fixedHeaderData:{type:Object(c["c"])(Array)},headerData:{type:Object(c["c"])(Array),required:!0},headerHeight:{type:Object(c["c"])([Number,Array]),default:50},rowWidth:Vj,rowHeight:{type:Number,default:50},height:Vj,width:Vj}),Hj=Object(c["b"])({columns:Ej,data:Pj,fixedData:Lj,estimatedRowHeight:Fj.estimatedRowHeight,width:Rj,height:Rj,headerWidth:Rj,headerHeight:zj.headerHeight,bodyWidth:Rj,rowHeight:Rj,cache:py.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:gy.scrollbarAlwaysOn,scrollbarStartGap:gy.scrollbarStartGap,scrollbarEndGap:gy.scrollbarEndGap,class:Tj,style:Bj,containerStyle:Bj,getRowHeight:{type:Object(c["c"])(Function),required:!0},rowKey:Fj.rowKey,onRowsRendered:{type:Object(c["c"])(Function)},onScroll:{type:Object(c["c"])(Function)}}),Yj=Object(c["b"])({cache:Hj.cache,estimatedRowHeight:Fj.estimatedRowHeight,rowKey:Ij,headerClass:{type:Object(c["c"])([String,Function])},headerProps:{type:Object(c["c"])([Object,Function])},headerCellProps:{type:Object(c["c"])([Object,Function])},headerHeight:zj.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:Object(c["c"])([String,Function])},rowProps:{type:Object(c["c"])([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:Object(c["c"])([Object,Function])},columns:Ej,data:Pj,dataGetter:{type:Object(c["c"])(Function)},fixedData:Lj,expandColumnKey:Fj.expandColumnKey,expandedRowKeys:Nj,defaultExpandedRowKeys:Nj,class:Tj,fixed:Boolean,style:{type:Object(c["c"])(Object)},width:Rj,height:Rj,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:gy.hScrollbarSize,vScrollbarSize:gy.vScrollbarSize,scrollbarAlwaysOn:yy.alwaysOn,sortBy:{type:Object(c["c"])(Object),default:()=>({})},sortState:{type:Object(c["c"])(Object),default:void 0},onColumnSort:{type:Object(c["c"])(Function)},onExpandedRowsChange:{type:Object(c["c"])(Function)},onEndReached:{type:Object(c["c"])(Function)},onRowExpand:Fj.onRowExpand,onScroll:Hj.onScroll,onRowsRendered:Hj.onRowsRendered,rowEventHandlers:Fj.rowEventHandlers}),Uj=({atXEndEdge:e,atXStartEdge:t,atYEndEdge:n,atYStartEdge:r},a)=>{let o=null,i=0,s=0;const l=(a,o)=>{const i=a<=0&&t.value||a>=0&&e.value,s=o<=0&&r.value||o>=0&&n.value;return i&&s},c=e=>{_(o);let t=e.deltaX,n=e.deltaY;Math.abs(t)>Math.abs(n)?n=0:t=0,e.shiftKey&&0!==n&&(t=n,n=0),l(i,s)&&l(i+t,s+n)||(i+=t,s+=n,e.preventDefault(),o=w(()=>{a(i,s),i=0,s=0}))};return{hasReachedEdge:l,onWheel:c}},Wj=({name:e,clearCache:t,getColumnPosition:n,getColumnStartIndexForOffset:r,getColumnStopIndexForStartIndex:a,getEstimatedTotalHeight:o,getEstimatedTotalWidth:i,getColumnOffset:c,getRowOffset:d,getRowPosition:f,getRowStartIndexForOffset:h,getRowStopIndexForStartIndex:p,initCache:m,injectToInstance:v,validateProps:g})=>Object(s["defineComponent"])({name:null!=e?e:"ElVirtualList",props:gy,emits:[Vg,zg],setup(e,{emit:y,expose:O,slots:w}){const _=Object(b["d"])("vl");g(e);const j=Object(s["getCurrentInstance"])(),k=Object(s["ref"])(m(e,j));null==v||v(j,k);const x=Object(s["ref"])(),C=Object(s["ref"])(),M=Object(s["ref"])(),A=Object(s["ref"])(null),T=Object(s["ref"])({isScrolling:!1,scrollLeft:Object(u["d"])(e.initScrollLeft)?e.initScrollLeft:0,scrollTop:Object(u["d"])(e.initScrollTop)?e.initScrollTop:0,updateRequested:!1,xAxisScrollDir:Hg,yAxisScrollDir:Hg}),E=Bg(),L=Object(s["computed"])(()=>Number.parseInt(""+e.height,10)),P=Object(s["computed"])(()=>Number.parseInt(""+e.width,10)),D=Object(s["computed"])(()=>{const{totalColumn:t,totalRow:n,columnCache:o}=e,{isScrolling:i,xAxisScrollDir:l,scrollLeft:c}=Object(s["unref"])(T);if(0===t||0===n)return[0,0,0,0];const u=r(e,c,Object(s["unref"])(k)),d=a(e,u,c,Object(s["unref"])(k)),f=i&&l!==Yg?1:Math.max(1,o),h=i&&l!==Hg?1:Math.max(1,o);return[Math.max(0,u-f),Math.max(0,Math.min(t-1,d+h)),u,d]}),N=Object(s["computed"])(()=>{const{totalColumn:t,totalRow:n,rowCache:r}=e,{isScrolling:a,yAxisScrollDir:o,scrollTop:i}=Object(s["unref"])(T);if(0===t||0===n)return[0,0,0,0];const l=h(e,i,Object(s["unref"])(k)),c=p(e,l,i,Object(s["unref"])(k)),u=a&&o!==Yg?1:Math.max(1,r),d=a&&o!==Hg?1:Math.max(1,r);return[Math.max(0,l-u),Math.max(0,Math.min(n-1,c+d)),l,c]}),R=Object(s["computed"])(()=>o(e,Object(s["unref"])(k))),I=Object(s["computed"])(()=>i(e,Object(s["unref"])(k))),B=Object(s["computed"])(()=>{var t;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:e.direction,height:Object(u["d"])(e.height)?e.height+"px":e.height,width:Object(u["d"])(e.width)?e.width+"px":e.width},null!=(t=e.style)?t:{}]}),F=Object(s["computed"])(()=>{const e=Object(s["unref"])(I)+"px",t=Object(s["unref"])(R)+"px";return{height:t,pointerEvents:Object(s["unref"])(T).isScrolling?"none":void 0,width:e}}),V=()=>{const{totalColumn:t,totalRow:n}=e;if(t>0&&n>0){const[e,t,n,r]=Object(s["unref"])(D),[a,o,i,l]=Object(s["unref"])(N);y(Vg,{columnCacheStart:e,columnCacheEnd:t,rowCacheStart:a,rowCacheEnd:o,columnVisibleStart:n,columnVisibleEnd:r,rowVisibleStart:i,rowVisibleEnd:l})}const{scrollLeft:r,scrollTop:a,updateRequested:o,xAxisScrollDir:i,yAxisScrollDir:l}=Object(s["unref"])(T);y(zg,{xAxisScrollDir:i,scrollLeft:r,yAxisScrollDir:l,scrollTop:a,updateRequested:o})},z=t=>{const{clientHeight:n,clientWidth:r,scrollHeight:a,scrollLeft:o,scrollTop:i,scrollWidth:l}=t.currentTarget,c=Object(s["unref"])(T);if(c.scrollTop===i&&c.scrollLeft===o)return;let u=o;if(_y(e.direction))switch(ky()){case Qg:u=-o;break;case ty:u=l-r-o;break}T.value={...c,isScrolling:!0,scrollLeft:u,scrollTop:Math.max(0,Math.min(i,a-n)),updateRequested:!0,xAxisScrollDir:Oy(c.scrollLeft,u),yAxisScrollDir:Oy(c.scrollTop,i)},Object(s["nextTick"])(()=>G()),X(),V()},H=(e,t)=>{const n=Object(s["unref"])(L),r=(R.value-n)/t*e;W({scrollTop:Math.min(R.value-n,r)})},Y=(e,t)=>{const n=Object(s["unref"])(P),r=(I.value-n)/t*e;W({scrollLeft:Math.min(I.value-n,r)})},{onWheel:U}=Uj({atXStartEdge:Object(s["computed"])(()=>T.value.scrollLeft<=0),atXEndEdge:Object(s["computed"])(()=>T.value.scrollLeft>=I.value-Object(s["unref"])(P)),atYStartEdge:Object(s["computed"])(()=>T.value.scrollTop<=0),atYEndEdge:Object(s["computed"])(()=>T.value.scrollTop>=R.value-Object(s["unref"])(L))},(e,t)=>{var n,r,a,o;null==(r=null==(n=C.value)?void 0:n.onMouseUp)||r.call(n),null==(o=null==(a=M.value)?void 0:a.onMouseUp)||o.call(a);const i=Object(s["unref"])(P),l=Object(s["unref"])(L);W({scrollLeft:Math.min(T.value.scrollLeft+e,I.value-i),scrollTop:Math.min(T.value.scrollTop+t,R.value-l)})}),W=({scrollLeft:e=T.value.scrollLeft,scrollTop:t=T.value.scrollTop})=>{e=Math.max(e,0),t=Math.max(t,0);const n=Object(s["unref"])(T);t===n.scrollTop&&e===n.scrollLeft||(T.value={...n,xAxisScrollDir:Oy(n.scrollLeft,e),yAxisScrollDir:Oy(n.scrollTop,t),scrollLeft:e,scrollTop:t,updateRequested:!0},Object(s["nextTick"])(()=>G()),X(),V())},$=(t=0,n=0,r=Ug)=>{const a=Object(s["unref"])(T);n=Math.max(0,Math.min(n,e.totalColumn-1)),t=Math.max(0,Math.min(t,e.totalRow-1));const l=S(_.namespace.value),u=Object(s["unref"])(k),f=o(e,u),h=i(e,u);W({scrollLeft:c(e,n,r,a.scrollLeft,u,h>e.width?l:0),scrollTop:d(e,t,r,a.scrollTop,u,f>e.height?l:0)})},q=(r,a)=>{const{columnWidth:o,direction:i,rowHeight:l}=e,c=E.value(t&&o,t&&l,t&&i),u=`${r},${a}`;if(Object(te["hasOwn"])(c,u))return c[u];{const[,t]=n(e,a,Object(s["unref"])(k)),o=Object(s["unref"])(k),l=_y(i),[d,h]=f(e,r,o),[p]=n(e,a,o);return c[u]={position:"absolute",left:l?void 0:t+"px",right:l?t+"px":void 0,top:h+"px",height:d+"px",width:p+"px"},c[u]}},G=()=>{T.value.isScrolling=!1,Object(s["nextTick"])(()=>{E.value(-1,null,null)})};Object(s["onMounted"])(()=>{if(!l["isClient"])return;const{initScrollLeft:t,initScrollTop:n}=e,r=Object(s["unref"])(x);r&&(Object(u["d"])(t)&&(r.scrollLeft=t),Object(u["d"])(n)&&(r.scrollTop=n)),V()});const X=()=>{const{direction:t}=e,{scrollLeft:n,scrollTop:r,updateRequested:a}=Object(s["unref"])(T),o=Object(s["unref"])(x);if(a&&o){if(t===Zg)switch(ky()){case Qg:o.scrollLeft=-n;break;case ey:o.scrollLeft=n;break;default:{const{clientWidth:e,scrollWidth:t}=o;o.scrollLeft=t-e-n;break}}else o.scrollLeft=Math.max(0,n);o.scrollTop=Math.max(0,r)}},{resetAfterColumnIndex:K,resetAfterRowIndex:J,resetAfter:Z}=j.proxy;O({windowRef:x,innerRef:A,getItemStyleCache:E,scrollTo:W,scrollToItem:$,states:T,resetAfterColumnIndex:K,resetAfterRowIndex:J,resetAfter:Z});const Q=()=>{const{scrollbarAlwaysOn:t,scrollbarStartGap:n,scrollbarEndGap:r,totalColumn:a,totalRow:o}=e,i=Object(s["unref"])(P),l=Object(s["unref"])(L),c=Object(s["unref"])(I),u=Object(s["unref"])(R),{scrollLeft:d,scrollTop:f}=Object(s["unref"])(T),h=Object(s["h"])(Sy,{ref:C,alwaysOn:t,startGap:n,endGap:r,class:_.e("horizontal"),clientSize:i,layout:"horizontal",onScroll:Y,ratio:100*i/c,scrollFrom:d/(c-i),total:o,visible:!0}),p=Object(s["h"])(Sy,{ref:M,alwaysOn:t,startGap:n,endGap:r,class:_.e("vertical"),clientSize:l,layout:"vertical",onScroll:H,ratio:100*l/u,scrollFrom:f/(u-l),total:a,visible:!0});return{horizontalScrollbar:h,verticalScrollbar:p}},ee=()=>{var t;const[n,r]=Object(s["unref"])(D),[a,o]=Object(s["unref"])(N),{data:i,totalColumn:l,totalRow:c,useIsScrolling:u,itemKey:d}=e,f=[];if(c>0&&l>0)for(let e=a;e<=o;e++)for(let a=n;a<=r;a++)f.push(null==(t=w.default)?void 0:t.call(w,{columnIndex:a,data:i,key:d({columnIndex:a,data:i,rowIndex:e}),isScrolling:u?Object(s["unref"])(T).isScrolling:void 0,style:q(e,a),rowIndex:e}));return f},ne=()=>{const t=Object(s["resolveDynamicComponent"])(e.innerElement),n=ee();return[Object(s["h"])(t,{style:Object(s["unref"])(F),ref:A},Object(te["isString"])(t)?n:{default:()=>n})]},re=()=>{const t=Object(s["resolveDynamicComponent"])(e.containerElement),{horizontalScrollbar:n,verticalScrollbar:r}=Q(),a=ne();return Object(s["h"])("div",{key:0,class:_.e("wrapper"),role:e.role},[Object(s["h"])(t,{class:e.className,style:Object(s["unref"])(B),onScroll:z,onWheel:U,ref:x},Object(te["isString"])(t)?a:{default:()=>a}),n,r])};return re}}),{max:$j,min:qj,floor:Gj}=Math,Xj={column:"columnWidth",row:"rowHeight"},Kj={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},Jj=(e,t,n,r)=>{const[a,o,i]=[n[r],e[Xj[r]],n[Kj[r]]];if(t>i){let e=0;if(i>=0){const t=a[i];e=t.offset+t.size}for(let n=i+1;n<=t;n++){const t=o(n);a[n]={offset:e,size:t},e+=t}n[Kj[r]]=t}return a[t]},Zj=(e,t,n,r,a,o)=>{while(n<=r){const i=n+Gj((r-n)/2),s=Jj(e,i,t,o).offset;if(s===a)return i;s<a?n=i+1:r=i-1}return $j(0,n-1)},Qj=(e,t,n,r,a)=>{const o="column"===a?e.totalColumn:e.totalRow;let i=1;while(n<o&&Jj(e,n,t,a).offset<r)n+=i,i*=2;return Zj(e,t,Gj(n/2),qj(n,o-1),r,a)},ek=(e,t,n,r)=>{const[a,o]=[t[r],t[Kj[r]]],i=o>0?a[o].offset:0;return i>=n?Zj(e,t,0,o,n,r):Qj(e,t,$j(0,o),n,r)},tk=({totalRow:e},{estimatedRowHeight:t,lastVisitedRowIndex:n,row:r})=>{let a=0;if(n>=e&&(n=e-1),n>=0){const e=r[n];a=e.offset+e.size}const o=e-n-1,i=o*t;return a+i},nk=({totalColumn:e},{column:t,estimatedColumnWidth:n,lastVisitedColumnIndex:r})=>{let a=0;if(r>e&&(r=e-1),r>=0){const e=t[r];a=e.offset+e.size}const o=e-r-1,i=o*n;return a+i},rk={column:nk,row:tk},ak=(e,t,n,r,a,o,i)=>{const[s,l]=["row"===o?e.height:e.width,rk[o]],c=Jj(e,t,a,o),u=l(e,a),d=$j(0,qj(u-s,c.offset)),f=$j(0,c.offset-s+i+c.size);switch(n===Wg&&(n=r>=f-s&&r<=d+s?Ug:qg),n){case $g:return d;case Gg:return f;case qg:return Math.round(f+(d-f)/2);case Ug:default:return r>=f&&r<=d?r:f>d||r<f?f:d}},ok=Wj({name:"ElDynamicSizeGrid",getColumnPosition:(e,t,n)=>{const r=Jj(e,t,n,"column");return[r.size,r.offset]},getRowPosition:(e,t,n)=>{const r=Jj(e,t,n,"row");return[r.size,r.offset]},getColumnOffset:(e,t,n,r,a,o)=>ak(e,t,n,r,a,"column",o),getRowOffset:(e,t,n,r,a,o)=>ak(e,t,n,r,a,"row",o),getColumnStartIndexForOffset:(e,t,n)=>ek(e,n,t,"column"),getColumnStopIndexForStartIndex:(e,t,n,r)=>{const a=Jj(e,t,r,"column"),o=n+e.width;let i=a.offset+a.size,s=t;while(s<e.totalColumn-1&&i<o)s++,i+=Jj(e,t,r,"column").size;return s},getEstimatedTotalHeight:tk,getEstimatedTotalWidth:nk,getRowStartIndexForOffset:(e,t,n)=>ek(e,n,t,"row"),getRowStopIndexForStartIndex:(e,t,n,r)=>{const{totalRow:a,height:o}=e,i=Jj(e,t,r,"row"),s=n+o;let l=i.size+i.offset,c=t;while(c<a-1&&l<s)c++,l+=Jj(e,c,r,"row").size;return c},injectToInstance:(e,t)=>{const n=({columnIndex:n,rowIndex:r},a)=>{var o,i;a=!!Object(u["g"])(a)||a,Object(u["d"])(n)&&(t.value.lastVisitedColumnIndex=Math.min(t.value.lastVisitedColumnIndex,n-1)),Object(u["d"])(r)&&(t.value.lastVisitedRowIndex=Math.min(t.value.lastVisitedRowIndex,r-1)),null==(o=e.exposed)||o.getItemStyleCache.value(-1,null,null),a&&(null==(i=e.proxy)||i.$forceUpdate())},r=(e,t)=>{n({columnIndex:e},t)},a=(e,t)=>{n({rowIndex:e},t)};Object.assign(e.proxy,{resetAfterColumnIndex:r,resetAfterRowIndex:a,resetAfter:n})},initCache:({estimatedColumnWidth:e=Fg,estimatedRowHeight:t=Fg})=>{const n={column:{},estimatedColumnWidth:e,estimatedRowHeight:t,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}};return n},clearCache:!1,validateProps:({columnWidth:e,rowHeight:t})=>{0}}),ik=Wj({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:e},t)=>[e,t*e],getRowPosition:({rowHeight:e},t)=>[e,t*e],getEstimatedTotalHeight:({totalRow:e,rowHeight:t})=>t*e,getEstimatedTotalWidth:({totalColumn:e,columnWidth:t})=>t*e,getColumnOffset:({totalColumn:e,columnWidth:t,width:n},r,a,o,i,s)=>{n=Number(n);const l=Math.max(0,e*t-n),c=Math.min(l,r*t),u=Math.max(0,r*t-n+s+t);switch("smart"===a&&(a=o>=u-n&&o<=c+n?Ug:qg),a){case $g:return c;case Gg:return u;case qg:{const e=Math.round(u+(c-u)/2);return e<Math.ceil(n/2)?0:e>l+Math.floor(n/2)?l:e}case Ug:default:return o>=u&&o<=c?o:u>c||o<u?u:c}},getRowOffset:({rowHeight:e,height:t,totalRow:n},r,a,o,i,s)=>{t=Number(t);const l=Math.max(0,n*e-t),c=Math.min(l,r*e),u=Math.max(0,r*e-t+s+e);switch(a===Wg&&(a=o>=u-t&&o<=c+t?Ug:qg),a){case $g:return c;case Gg:return u;case qg:{const e=Math.round(u+(c-u)/2);return e<Math.ceil(t/2)?0:e>l+Math.floor(t/2)?l:e}case Ug:default:return o>=u&&o<=c?o:u>c||o<u?u:c}},getColumnStartIndexForOffset:({columnWidth:e,totalColumn:t},n)=>Math.max(0,Math.min(t-1,Math.floor(n/e))),getColumnStopIndexForStartIndex:({columnWidth:e,totalColumn:t,width:n},r,a)=>{const o=r*e,i=Math.ceil((n+a-o)/e);return Math.max(0,Math.min(t-1,r+i-1))},getRowStartIndexForOffset:({rowHeight:e,totalRow:t},n)=>Math.max(0,Math.min(t-1,Math.floor(n/e))),getRowStopIndexForStartIndex:({rowHeight:e,totalRow:t,height:n},r,a)=>{const o=r*e,i=Math.ceil((n+a-o)/e);return Math.max(0,Math.min(t-1,r+i-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:e,rowHeight:t})=>{0}}),sk="ElTableV2Header",lk=Object(s["defineComponent"])({name:sk,props:zj,setup(e,{slots:t,expose:n}){const r=Object(b["d"])("table-v2"),a=Object(s["ref"])(),o=Object(s["computed"])(()=>xj({width:e.width,height:e.height})),i=Object(s["computed"])(()=>xj({width:e.rowWidth,height:e.height})),l=Object(s["computed"])(()=>Object(q["castArray"])(Object(s["unref"])(e.headerHeight))),c=e=>{const t=Object(s["unref"])(a);Object(s["nextTick"])(()=>{(null==t?void 0:t.scroll)&&t.scroll({left:e})})},u=()=>{const n=r.e("fixed-header-row"),{columns:a,fixedHeaderData:o,rowHeight:i}=e;return null==o?void 0:o.map((e,r)=>{var o;const s=xj({height:i,width:"100%"});return null==(o=t.fixed)?void 0:o.call(t,{class:n,columns:a,rowData:e,rowIndex:-(r+1),style:s})})},d=()=>{const n=r.e("dynamic-header-row"),{columns:a}=e;return Object(s["unref"])(l).map((e,r)=>{var o;const i=xj({width:"100%",height:e});return null==(o=t.dynamic)?void 0:o.call(t,{class:n,columns:a,headerIndex:r,style:i})})};return n({scrollToLeft:c}),()=>{if(!(e.height<=0))return Object(s["createVNode"])("div",{ref:a,class:e.class,style:Object(s["unref"])(o),role:"rowgroup"},[Object(s["createVNode"])("div",{style:Object(s["unref"])(i),class:r.e("header")},[d(),u()])])}}}),ck="ElTableV2Grid",uk=e=>{const t=Object(s["ref"])(),n=Object(s["ref"])(),r=Object(s["computed"])(()=>{const{data:t,rowHeight:n,estimatedRowHeight:r}=e;if(!r)return t.length*n}),a=Object(s["computed"])(()=>{const{fixedData:t,rowHeight:n}=e;return((null==t?void 0:t.length)||0)*n}),o=Object(s["computed"])(()=>jj(e.headerHeight)),i=Object(s["computed"])(()=>{const{height:t}=e;return Math.max(0,t-Object(s["unref"])(o)-Object(s["unref"])(a))}),l=Object(s["computed"])(()=>Object(s["unref"])(o)+Object(s["unref"])(a)>0),c=({data:t,rowIndex:n})=>t[n][e.rowKey];function u({rowCacheStart:t,rowCacheEnd:n,rowVisibleStart:r,rowVisibleEnd:a}){var o;null==(o=e.onRowsRendered)||o.call(e,{rowCacheStart:t,rowCacheEnd:n,rowVisibleStart:r,rowVisibleEnd:a})}function d(e,t){var r;null==(r=n.value)||r.resetAfterRowIndex(e,t)}function f(e,r){const a=Object(s["unref"])(t),o=Object(s["unref"])(n);Object(te["isObject"])(e)?(null==a||a.scrollToLeft(e.scrollLeft),null==o||o.scrollTo(e)):(null==a||a.scrollToLeft(e),null==o||o.scrollTo({scrollLeft:e,scrollTop:r}))}function h(e){var t;null==(t=Object(s["unref"])(n))||t.scrollTo({scrollTop:e})}function p(e,t){var r;null==(r=Object(s["unref"])(n))||r.scrollToItem(e,1,t)}function m(){var e,r;null==(e=Object(s["unref"])(n))||e.$forceUpdate(),null==(r=Object(s["unref"])(t))||r.$forceUpdate()}return{bodyRef:n,forceUpdate:m,fixedRowHeight:a,gridHeight:i,hasHeader:l,headerHeight:o,headerRef:t,totalHeight:r,itemKey:c,onItemRendered:u,resetAfterRowIndex:d,scrollTo:f,scrollToTop:h,scrollToRow:p}},dk=Object(s["defineComponent"])({name:ck,props:Hj,setup(e,{slots:t,expose:n}){const{ns:r}=Object(s["inject"])(Aj),{bodyRef:a,fixedRowHeight:o,gridHeight:i,hasHeader:l,headerRef:c,headerHeight:d,totalHeight:f,forceUpdate:h,itemKey:p,onItemRendered:m,resetAfterRowIndex:v,scrollTo:b,scrollToTop:g,scrollToRow:y}=uk(e);n({forceUpdate:h,totalHeight:f,scrollTo:b,scrollToTop:g,scrollToRow:y,resetAfterRowIndex:v});const O=()=>e.bodyWidth;return()=>{const{cache:n,columns:f,data:h,fixedData:v,useIsScrolling:b,scrollbarAlwaysOn:g,scrollbarEndGap:y,scrollbarStartGap:w,style:_,rowHeight:j,bodyWidth:k,estimatedRowHeight:x,headerWidth:S,height:C,width:M,getRowHeight:A,onScroll:T}=e,E=Object(u["d"])(x),L=E?ok:ik,P=Object(s["unref"])(d);return Object(s["createVNode"])("div",{role:"table",class:[r.e("table"),e.class],style:_},[Object(s["createVNode"])(L,{ref:a,data:h,useIsScrolling:b,itemKey:p,columnCache:0,columnWidth:E?O:k,totalColumn:1,totalRow:h.length,rowCache:n,rowHeight:E?A:j,width:M,height:Object(s["unref"])(i),class:r.e("body"),role:"rowgroup",scrollbarStartGap:w,scrollbarEndGap:y,scrollbarAlwaysOn:g,onScroll:T,onItemRendered:m,perfMode:!1},{default:e=>{var n;const r=h[e.rowIndex];return null==(n=t.row)?void 0:n.call(t,{...e,columns:f,rowData:r})}}),Object(s["unref"])(l)&&Object(s["createVNode"])(lk,{ref:c,class:r.e("header-wrapper"),columns:f,headerData:h,headerHeight:e.headerHeight,fixedHeaderData:v,rowWidth:S,rowHeight:j,width:M,height:Math.min(P+Object(s["unref"])(o),C)},{dynamic:t.header,fixed:t.row})])}}});function fk(e){return"function"===typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!Object(s["isVNode"])(e)}const hk=(e,{slots:t})=>{const{mainTableRef:n,...r}=e;return Object(s["createVNode"])(dk,Object(s["mergeProps"])({ref:n},r),fk(t)?t:{default:()=>[t]})};function pk(e){return"function"===typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!Object(s["isVNode"])(e)}const mk=(e,{slots:t})=>{if(!e.columns.length)return;const{leftTableRef:n,...r}=e;return Object(s["createVNode"])(dk,Object(s["mergeProps"])({ref:n},r),pk(t)?t:{default:()=>[t]})};function vk(e){return"function"===typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!Object(s["isVNode"])(e)}const bk=(e,{slots:t})=>{if(!e.columns.length)return;const{rightTableRef:n,...r}=e;return Object(s["createVNode"])(dk,Object(s["mergeProps"])({ref:n},r),vk(t)?t:{default:()=>[t]})},gk=e=>{const{isScrolling:t}=Object(s["inject"])(Aj),n=Object(s["ref"])(!1),r=Object(s["ref"])(),a=Object(s["computed"])(()=>Object(u["d"])(e.estimatedRowHeight)&&e.rowIndex>=0),o=(t=!1)=>{const a=Object(s["unref"])(r);if(!a)return;const{columns:o,onRowHeightChange:i,rowKey:l,rowIndex:c,style:u}=e,{height:d}=a.getBoundingClientRect();n.value=!0,Object(s["nextTick"])(()=>{if(t||d!==Number.parseInt(u.height)){const e=o[0],t=(null==e?void 0:e.placeholderSign)===vj;null==i||i({rowKey:l,height:d,rowIndex:c},e&&!t&&e.fixed)}})},i=Object(s["computed"])(()=>{const{rowData:t,rowIndex:n,rowKey:r,onRowHover:a}=e,o=e.rowEventHandlers||{},i={};return Object.entries(o).forEach(([e,a])=>{Object(te["isFunction"])(a)&&(i[e]=e=>{a({event:e,rowData:t,rowIndex:n,rowKey:r})})}),a&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:e,hovered:o})=>{const s=i[e];i[e]=e=>{a({event:e,hovered:o,rowData:t,rowIndex:n,rowKey:r}),null==s||s(e)}}),i}),l=t=>{const{onRowExpand:n,rowData:r,rowIndex:a,rowKey:o}=e;null==n||n({expanded:t,rowData:r,rowIndex:a,rowKey:o})};return Object(s["onMounted"])(()=>{Object(s["unref"])(a)&&o(!0)}),{isScrolling:t,measurable:a,measured:n,rowRef:r,eventHandlers:i,onExpand:l}},yk="ElTableV2TableRow",Ok=Object(s["defineComponent"])({name:yk,props:Fj,setup(e,{expose:t,slots:n,attrs:r}){const{eventHandlers:a,isScrolling:o,measurable:i,measured:l,rowRef:c,onExpand:u}=gk(e);return t({onExpand:u}),()=>{const{columns:t,columnsStyles:d,expandColumnKey:f,depth:h,rowData:p,rowIndex:m,style:v}=e;let b=t.map((e,r)=>{const a=Object(te["isArray"])(p.children)&&p.children.length>0&&e.key===f;return n.cell({column:e,columns:t,columnIndex:r,depth:h,style:d[e.key],rowData:p,rowIndex:m,isScrolling:Object(s["unref"])(o),expandIconProps:a?{rowData:p,rowIndex:m,onExpand:u}:void 0})});if(n.row&&(b=n.row({cells:b.map(e=>Object(te["isArray"])(e)&&1===e.length?e[0]:e),style:v,columns:t,depth:h,rowData:p,rowIndex:m,isScrolling:Object(s["unref"])(o)})),Object(s["unref"])(i)){const{height:t,...n}=v||{},o=Object(s["unref"])(l);return Object(s["createVNode"])("div",Object(s["mergeProps"])({ref:c,class:e.class,style:o?v:n,role:"row"},r,Object(s["unref"])(a)),[b])}return Object(s["createVNode"])("div",Object(s["mergeProps"])(r,{ref:c,class:e.class,style:v,role:"row"},Object(s["unref"])(a)),[b])}}});function wk(e){return"function"===typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!Object(s["isVNode"])(e)}const _k=(e,{slots:t})=>{const{columns:n,columnsStyles:r,depthMap:a,expandColumnKey:o,expandedRowKeys:i,estimatedRowHeight:l,hasFixedColumns:c,rowData:u,rowIndex:d,style:f,isScrolling:h,rowProps:p,rowClass:m,rowKey:v,rowEventHandlers:b,ns:g,onRowHovered:y,onRowExpanded:O}=e,w=kj(m,{columns:n,rowData:u,rowIndex:d},""),_=kj(p,{columns:n,rowData:u,rowIndex:d}),j=u[v],k=a[j]||0,x=Boolean(o),S=d<0,C=[g.e("row"),w,{[g.e("row-depth-"+k)]:x&&d>=0,[g.is("expanded")]:x&&i.includes(j),[g.is("fixed")]:!k&&S,[g.is("customized")]:Boolean(t.row)}],M=c?y:void 0,A={..._,columns:n,columnsStyles:r,class:C,depth:k,expandColumnKey:o,estimatedRowHeight:S?void 0:l,isScrolling:h,rowIndex:d,rowData:u,rowKey:j,rowEventHandlers:b,style:f},T=e=>{null==M||M({hovered:!0,rowKey:j,event:e,rowData:u,rowIndex:d})},E=e=>{null==M||M({hovered:!1,rowKey:j,event:e,rowData:u,rowIndex:d})};return Object(s["createVNode"])(Ok,Object(s["mergeProps"])(A,{onRowExpand:O,onMouseenter:T,onMouseleave:E,rowkey:j}),wk(t)?t:{default:()=>[t]})},jk=(e,{slots:t})=>{var n;const{cellData:r,style:a}=e,o=(null==(n=null==r?void 0:r.toString)?void 0:n.call(r))||"",i=Object(s["renderSlot"])(t,"default",e,()=>[o]);return Object(s["createVNode"])("div",{class:e.class,title:o,style:a},[i])};jk.displayName="ElTableV2Cell",jk.inheritAttrs=!1;const kk=e=>{const{expanded:t,expandable:n,onExpand:r,style:a,size:o}=e,i={onClick:n?()=>r(!t):void 0,class:e.class};return Object(s["createVNode"])(I["a"],Object(s["mergeProps"])(i,{size:o,style:a}),{default:()=>[Object(s["createVNode"])(G["ArrowRight"],null,null)]})},xk=({columns:e,column:t,columnIndex:n,depth:r,expandIconProps:a,isScrolling:o,rowData:i,rowIndex:l,style:c,expandedRowKeys:u,ns:d,cellProps:f,expandColumnKey:h,indentSize:p,iconSize:m,rowKey:v},{slots:b})=>{const g=xj(c);if(t.placeholderSign===vj)return Object(s["createVNode"])("div",{class:d.em("row-cell","placeholder"),style:g},null);const{cellRenderer:y,dataKey:O,dataGetter:w}=t,_=Object(te["isFunction"])(w)?w({columns:e,column:t,columnIndex:n,rowData:i,rowIndex:l}):Object(q["get"])(i,null!=O?O:""),j=kj(f,{cellData:_,columns:e,column:t,columnIndex:n,rowIndex:l,rowData:i}),k={class:d.e("cell-text"),columns:e,column:t,columnIndex:n,cellData:_,isScrolling:o,rowData:i,rowIndex:l},x=Sj(y),S=x?x(k):Object(s["renderSlot"])(b,"default",k,()=>[Object(s["createVNode"])(jk,k,null)]),C=[d.e("row-cell"),t.class,t.align===hj.CENTER&&d.is("align-center"),t.align===hj.RIGHT&&d.is("align-right")],M=l>=0&&h&&t.key===h,A=l>=0&&u.includes(i[v]);let T;const E=`margin-inline-start: ${r*p}px;`;return M&&(T=Object(te["isObject"])(a)?Object(s["createVNode"])(kk,Object(s["mergeProps"])(a,{class:[d.e("expand-icon"),d.is("expanded",A)],size:m,expanded:A,style:E,expandable:!0}),null):Object(s["createVNode"])("div",{style:[E,`width: ${m}px; height: ${m}px;`].join(" ")},null)),Object(s["createVNode"])("div",Object(s["mergeProps"])({class:C,style:g},j,{role:"cell"}),[T,S])};xk.inheritAttrs=!1;const Sk=Object(c["b"])({class:String,columns:Ej,columnsStyles:{type:Object(c["c"])(Object),required:!0},headerIndex:Number,style:{type:Object(c["c"])(Object)}}),Ck=Object(s["defineComponent"])({name:"ElTableV2HeaderRow",props:Sk,setup(e,{slots:t}){return()=>{const{columns:n,columnsStyles:r,headerIndex:a,style:o}=e;let i=n.map((e,o)=>t.cell({columns:n,column:e,columnIndex:o,headerIndex:a,style:r[e.key]}));return t.header&&(i=t.header({cells:i.map(e=>Object(te["isArray"])(e)&&1===e.length?e[0]:e),columns:n,headerIndex:a})),Object(s["createVNode"])("div",{class:e.class,style:o,role:"row"},[i])}}});function Mk(e){return"function"===typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!Object(s["isVNode"])(e)}const Ak=({columns:e,columnsStyles:t,headerIndex:n,style:r,headerClass:a,headerProps:o,ns:i},{slots:l})=>{const c={columns:e,headerIndex:n},u=[i.e("header-row"),kj(a,c,""),{[i.is("customized")]:Boolean(l.header)}],d={...kj(o,c),columnsStyles:t,class:u,columns:e,headerIndex:n,style:r};return Object(s["createVNode"])(Ck,d,Mk(l)?l:{default:()=>[l]})},Tk=(e,{slots:t})=>Object(s["renderSlot"])(t,"default",e,()=>{var t,n;return[Object(s["createVNode"])("div",{class:e.class,title:null==(t=e.column)?void 0:t.title},[null==(n=e.column)?void 0:n.title])]});Tk.displayName="ElTableV2HeaderCell",Tk.inheritAttrs=!1;const Ek=e=>{const{sortOrder:t}=e;return Object(s["createVNode"])(I["a"],{size:14,class:e.class},{default:()=>[t===fj.ASC?Object(s["createVNode"])(G["SortUp"],null,null):Object(s["createVNode"])(G["SortDown"],null,null)]})},Lk=(e,{slots:t})=>{const{column:n,ns:r,style:a,onColumnSorted:o}=e,i=xj(a);if(n.placeholderSign===vj)return Object(s["createVNode"])("div",{class:r.em("header-row-cell","placeholder"),style:i},null);const{headerCellRenderer:l,headerClass:c,sortable:u}=n,d={...e,class:r.e("header-cell-text")},f=Sj(l),h=f?f(d):Object(s["renderSlot"])(t,"default",d,()=>[Object(s["createVNode"])(Tk,d,null)]),{sortBy:p,sortState:m,headerCellProps:v}=e;let b,g;if(m){const e=m[n.key];b=Boolean(mj[e]),g=b?e:fj.ASC}else b=n.key===p.key,g=b?p.order:fj.ASC;const y=[r.e("header-cell"),kj(c,e,""),n.align===hj.CENTER&&r.is("align-center"),n.align===hj.RIGHT&&r.is("align-right"),u&&r.is("sortable")],O={...kj(v,e),onClick:n.sortable?o:void 0,class:y,style:i,["data-key"]:n.key};return Object(s["createVNode"])("div",Object(s["mergeProps"])(O,{role:"columnheader"}),[h,u&&Object(s["createVNode"])(Ek,{class:[r.e("sort-icon"),b&&r.is("sorting")],sortOrder:g},null)])},Pk=(e,{slots:t})=>{var n;return Object(s["createVNode"])("div",{class:e.class,style:e.style},[null==(n=t.default)?void 0:n.call(t)])};Pk.displayName="ElTableV2Footer";const Dk=(e,{slots:t})=>{const n=Object(s["renderSlot"])(t,"default",{},()=>[Object(s["createVNode"])(Sp,null,null)]);return Object(s["createVNode"])("div",{class:e.class,style:e.style},[n])};Dk.displayName="ElTableV2Empty";const Nk=(e,{slots:t})=>{var n;return Object(s["createVNode"])("div",{class:e.class,style:e.style},[null==(n=t.default)?void 0:n.call(t)])};function Rk(e){return"function"===typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!Object(s["isVNode"])(e)}Nk.displayName="ElTableV2Overlay";const Ik="ElTableV2",Bk=Object(s["defineComponent"])({name:Ik,props:Yj,setup(e,{slots:t,expose:n}){const r=Object(b["d"])("table-v2"),{columnsStyles:a,fixedColumnsOnLeft:o,fixedColumnsOnRight:i,mainColumns:l,mainTableHeight:c,fixedTableHeight:u,leftTableWidth:d,rightTableWidth:f,data:h,depthMap:p,expandedRowKeys:m,hasFixedColumns:v,mainTableRef:g,leftTableRef:y,rightTableRef:O,isDynamic:w,isResetting:_,isScrolling:j,bodyWidth:k,emptyStyle:x,rootStyle:S,headerWidth:C,footerHeight:M,showEmpty:A,scrollTo:T,scrollToLeft:E,scrollToTop:L,scrollToRow:P,getRowHeight:D,onColumnSorted:N,onRowHeightChange:R,onRowHovered:I,onRowExpanded:B,onRowsRendered:F,onScroll:V,onVerticalScroll:z}=Mj(e);return n({scrollTo:T,scrollToLeft:E,scrollToTop:L,scrollToRow:P}),Object(s["provide"])(Aj,{ns:r,isResetting:_,isScrolling:j}),()=>{const{cache:n,cellProps:b,estimatedRowHeight:_,expandColumnKey:j,fixedData:T,headerHeight:E,headerClass:L,headerProps:P,headerCellProps:H,sortBy:Y,sortState:U,rowHeight:W,rowClass:$,rowEventHandlers:q,rowKey:G,rowProps:X,scrollbarAlwaysOn:K,indentSize:J,iconSize:Z,useIsScrolling:Q,vScrollbarSize:ee,width:te}=e,ne=Object(s["unref"])(h),re={cache:n,class:r.e("main"),columns:Object(s["unref"])(l),data:ne,fixedData:T,estimatedRowHeight:_,bodyWidth:Object(s["unref"])(k)+ee,headerHeight:E,headerWidth:Object(s["unref"])(C),height:Object(s["unref"])(c),mainTableRef:g,rowKey:G,rowHeight:W,scrollbarAlwaysOn:K,scrollbarStartGap:2,scrollbarEndGap:ee,useIsScrolling:Q,width:te,getRowHeight:D,onRowsRendered:F,onScroll:V},ae=Object(s["unref"])(d),oe=Object(s["unref"])(u),ie={cache:n,class:r.e("left"),columns:Object(s["unref"])(o),data:ne,estimatedRowHeight:_,leftTableRef:y,rowHeight:W,bodyWidth:ae,headerWidth:ae,headerHeight:E,height:oe,rowKey:G,scrollbarAlwaysOn:K,scrollbarStartGap:2,scrollbarEndGap:ee,useIsScrolling:Q,width:ae,getRowHeight:D,onScroll:z},se=Object(s["unref"])(f),le=se+ee,ce={cache:n,class:r.e("right"),columns:Object(s["unref"])(i),data:ne,estimatedRowHeight:_,rightTableRef:O,rowHeight:W,bodyWidth:le,headerWidth:le,headerHeight:E,height:oe,rowKey:G,scrollbarAlwaysOn:K,scrollbarStartGap:2,scrollbarEndGap:ee,width:le,style:`--${Object(s["unref"])(r.namespace)}-table-scrollbar-size: ${ee}px`,useIsScrolling:Q,getRowHeight:D,onScroll:z},ue=Object(s["unref"])(a),de={ns:r,depthMap:Object(s["unref"])(p),columnsStyles:ue,expandColumnKey:j,expandedRowKeys:Object(s["unref"])(m),estimatedRowHeight:_,hasFixedColumns:Object(s["unref"])(v),rowProps:X,rowClass:$,rowKey:G,rowEventHandlers:q,onRowHovered:I,onRowExpanded:B,onRowHeightChange:R},fe={cellProps:b,expandColumnKey:j,indentSize:J,iconSize:Z,rowKey:G,expandedRowKeys:Object(s["unref"])(m),ns:r},he={ns:r,headerClass:L,headerProps:P,columnsStyles:ue},pe={ns:r,sortBy:Y,sortState:U,headerCellProps:H,onColumnSorted:N},me={row:e=>Object(s["createVNode"])(_k,Object(s["mergeProps"])(e,de),{row:t.row,cell:e=>{let n;return t.cell?Object(s["createVNode"])(xk,Object(s["mergeProps"])(e,fe,{style:ue[e.column.key]}),Rk(n=t.cell(e))?n:{default:()=>[n]}):Object(s["createVNode"])(xk,Object(s["mergeProps"])(e,fe,{style:ue[e.column.key]}),null)}}),header:e=>Object(s["createVNode"])(Ak,Object(s["mergeProps"])(e,he),{header:t.header,cell:e=>{let n;return t["header-cell"]?Object(s["createVNode"])(Lk,Object(s["mergeProps"])(e,pe,{style:ue[e.column.key]}),Rk(n=t["header-cell"](e))?n:{default:()=>[n]}):Object(s["createVNode"])(Lk,Object(s["mergeProps"])(e,pe,{style:ue[e.column.key]}),null)}})},ve=[e.class,r.b(),r.e("root"),{[r.is("dynamic")]:Object(s["unref"])(w)}],be={class:r.e("footer"),style:Object(s["unref"])(M)};return Object(s["createVNode"])("div",{class:ve,style:Object(s["unref"])(S)},[Object(s["createVNode"])(hk,re,Rk(me)?me:{default:()=>[me]}),Object(s["createVNode"])(mk,ie,Rk(me)?me:{default:()=>[me]}),Object(s["createVNode"])(bk,ce,Rk(me)?me:{default:()=>[me]}),t.footer&&Object(s["createVNode"])(Pk,be,{default:t.footer}),Object(s["unref"])(A)&&Object(s["createVNode"])(Dk,{class:r.e("empty"),style:Object(s["unref"])(x)},{default:t.empty}),t.overlay&&Object(s["createVNode"])(Nk,{class:r.e("overlay")},{default:t.overlay})])}}}),Fk=Object(c["b"])({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:Object(c["c"])(Function)}}),Vk=e=>{const t=Object(s["ref"])(),n=Object(s["ref"])(0),r=Object(s["ref"])(0);let a;return Object(s["onMounted"])(()=>{a=Object(l["useResizeObserver"])(t,([e])=>{const{width:t,height:a}=e.contentRect,{paddingLeft:o,paddingRight:i,paddingTop:s,paddingBottom:l}=getComputedStyle(e.target),c=Number.parseInt(o)||0,u=Number.parseInt(i)||0,d=Number.parseInt(s)||0,f=Number.parseInt(l)||0;n.value=t-c-u,r.value=a-d-f}).stop}),Object(s["onBeforeUnmount"])(()=>{null==a||a()}),Object(s["watch"])([n,r],([t,n])=>{var r;null==(r=e.onResize)||r.call(e,{width:t,height:n})}),{sizer:t,width:n,height:r}},zk=Object(s["defineComponent"])({name:"ElAutoResizer",props:Fk,setup(e,{slots:t}){const n=Object(b["d"])("auto-resizer"),{height:r,width:a,sizer:o}=Vk(e),i={width:"100%",height:"100%"};return()=>{var e;return Object(s["createVNode"])("div",{ref:o,class:n.b(),style:i},[null==(e=t.default)?void 0:e.call(t,{height:r.value,width:a.value})])}}}),Hk=Object(N["a"])(Bk),Yk=Object(N["a"])(zk),Uk=Symbol("tabsRootContextKey"),Wk=Object(c["b"])({tabs:{type:Object(c["c"])(Array),default:()=>Object(re["a"])([])}}),$k="ElTabBar",qk=Object(s["defineComponent"])({name:$k}),Gk=Object(s["defineComponent"])({...qk,props:Wk,setup(e,{expose:t}){const n=e,r=Object(s["getCurrentInstance"])(),a=Object(s["inject"])(Uk);a||Object(y["b"])($k,"<el-tabs><el-tab-bar /></el-tabs>");const o=Object(b["d"])("tabs"),i=Object(s["ref"])(),c=Object(s["ref"])(),u=()=>{let e=0,t=0;const o=["top","bottom"].includes(a.props.tabPosition)?"width":"height",i="width"===o?"x":"y",s="x"===i?"left":"top";return n.tabs.every(a=>{var i,l;const c=null==(l=null==(i=r.parent)?void 0:i.refs)?void 0:l["tab-"+a.uid];if(!c)return!1;if(!a.active)return!0;e=c["offset"+Object(Ri["a"])(s)],t=c["client"+Object(Ri["a"])(o)];const u=window.getComputedStyle(c);return"width"===o&&(n.tabs.length>1&&(t-=Number.parseFloat(u.paddingLeft)+Number.parseFloat(u.paddingRight)),e+=Number.parseFloat(u.paddingLeft)),!1}),{[o]:t+"px",transform:`translate${Object(Ri["a"])(i)}(${e}px)`}},d=()=>c.value=u();return Object(s["watch"])(()=>n.tabs,async()=>{await Object(s["nextTick"])(),d()},{immediate:!0}),Object(l["useResizeObserver"])(i,()=>d()),t({ref:i,update:d}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{ref_key:"barRef",ref:i,class:Object(s["normalizeClass"])([Object(s["unref"])(o).e("active-bar"),Object(s["unref"])(o).is(Object(s["unref"])(a).props.tabPosition)]),style:Object(s["normalizeStyle"])(c.value)},null,6))}});var Xk=Object(v["a"])(Gk,[["__file","tab-bar.vue"]]);const Kk=Object(c["b"])({panes:{type:Object(c["c"])(Array),default:()=>Object(re["a"])([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),Jk={tabClick:(e,t,n)=>n instanceof Event,tabRemove:(e,t)=>t instanceof Event},Zk="ElTabNav",Qk=Object(s["defineComponent"])({name:Zk,props:Kk,emits:Jk,setup(e,{expose:t,emit:n}){const r=Object(s["getCurrentInstance"])(),a=Object(s["inject"])(Uk);a||Object(y["b"])(Zk,"<el-tabs><tab-nav /></el-tabs>");const o=Object(b["d"])("tabs"),i=Object(l["useDocumentVisibility"])(),c=Object(l["useWindowFocus"])(),u=Object(s["ref"])(),d=Object(s["ref"])(),f=Object(s["ref"])(),h=Object(s["ref"])(),p=Object(s["ref"])(!1),m=Object(s["ref"])(0),v=Object(s["ref"])(!1),g=Object(s["ref"])(!0),O=Object(s["computed"])(()=>["top","bottom"].includes(a.props.tabPosition)?"width":"height"),w=Object(s["computed"])(()=>{const e="width"===O.value?"X":"Y";return{transform:`translate${e}(-${m.value}px)`}}),_=()=>{if(!u.value)return;const e=u.value["offset"+Object(Ri["a"])(O.value)],t=m.value;if(!t)return;const n=t>e?t-e:0;m.value=n},j=()=>{if(!u.value||!d.value)return;const e=d.value["offset"+Object(Ri["a"])(O.value)],t=u.value["offset"+Object(Ri["a"])(O.value)],n=m.value;if(e-n<=t)return;const r=e-n>2*t?n+t:e-t;m.value=r},k=async()=>{const e=d.value;if(!p.value||!f.value||!u.value||!e)return;await Object(s["nextTick"])();const t=f.value.querySelector(".is-active");if(!t)return;const n=u.value,r=["top","bottom"].includes(a.props.tabPosition),o=t.getBoundingClientRect(),i=n.getBoundingClientRect(),l=r?e.offsetWidth-i.width:e.offsetHeight-i.height,c=m.value;let h=c;r?(o.left<i.left&&(h=c-(i.left-o.left)),o.right>i.right&&(h=c+o.right-i.right)):(o.top<i.top&&(h=c-(i.top-o.top)),o.bottom>i.bottom&&(h=c+(o.bottom-i.bottom))),h=Math.max(h,0),m.value=Math.min(h,l)},x=()=>{var t;if(!d.value||!u.value)return;e.stretch&&(null==(t=h.value)||t.update());const n=d.value["offset"+Object(Ri["a"])(O.value)],r=u.value["offset"+Object(Ri["a"])(O.value)],a=m.value;r<n?(p.value=p.value||{},p.value.prev=a,p.value.next=a+r<n,n-a<r&&(m.value=n-r)):(p.value=!1,a>0&&(m.value=0))},S=e=>{const t=e.code,{up:n,down:r,left:a,right:o}=vt["a"];if(![n,r,a,o].includes(t))return;const i=Array.from(e.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),s=i.indexOf(e.target);let l;l=t===a||t===n?0===s?i.length-1:s-1:s<i.length-1?s+1:0,i[l].focus({preventScroll:!0}),i[l].click(),C()},C=()=>{g.value&&(v.value=!0)},M=()=>v.value=!1;return Object(s["watch"])(i,e=>{"hidden"===e?g.value=!1:"visible"===e&&setTimeout(()=>g.value=!0,50)}),Object(s["watch"])(c,e=>{e?setTimeout(()=>g.value=!0,50):g.value=!1}),Object(l["useResizeObserver"])(f,x),Object(s["onMounted"])(()=>setTimeout(()=>k(),0)),Object(s["onUpdated"])(()=>x()),t({scrollToActiveTab:k,removeFocus:M}),Object(s["watch"])(()=>e.panes,()=>r.update(),{flush:"post",deep:!0}),()=>{const t=p.value?[Object(s["createVNode"])("span",{class:[o.e("nav-prev"),o.is("disabled",!p.value.prev)],onClick:_},[Object(s["createVNode"])(I["a"],null,{default:()=>[Object(s["createVNode"])(G["ArrowLeft"],null,null)]})]),Object(s["createVNode"])("span",{class:[o.e("nav-next"),o.is("disabled",!p.value.next)],onClick:j},[Object(s["createVNode"])(I["a"],null,{default:()=>[Object(s["createVNode"])(G["ArrowRight"],null,null)]})])]:null,r=e.panes.map((t,r)=>{var i,l,c,u;const d=t.uid,f=t.props.disabled,h=null!=(l=null!=(i=t.props.name)?i:t.index)?l:""+r,p=!f&&(t.isClosable||e.editable);t.index=""+r;const m=p?Object(s["createVNode"])(I["a"],{class:"is-icon-close",onClick:e=>n("tabRemove",t,e)},{default:()=>[Object(s["createVNode"])(G["Close"],null,null)]}):null,b=(null==(u=(c=t.slots).label)?void 0:u.call(c))||t.props.label,g=!f&&t.active?0:-1;return Object(s["createVNode"])("div",{ref:"tab-"+d,class:[o.e("item"),o.is(a.props.tabPosition),o.is("active",t.active),o.is("disabled",f),o.is("closable",p),o.is("focus",v.value)],id:"tab-"+h,key:"tab-"+d,"aria-controls":"pane-"+h,role:"tab","aria-selected":t.active,tabindex:g,onFocus:()=>C(),onBlur:()=>M(),onClick:e=>{M(),n("tabClick",t,h,e)},onKeydown:e=>{!p||e.code!==vt["a"].delete&&e.code!==vt["a"].backspace||n("tabRemove",t,e)}},[b,m])});return Object(s["createVNode"])("div",{ref:f,class:[o.e("nav-wrap"),o.is("scrollable",!!p.value),o.is(a.props.tabPosition)]},[t,Object(s["createVNode"])("div",{class:o.e("nav-scroll"),ref:u},[Object(s["createVNode"])("div",{class:[o.e("nav"),o.is(a.props.tabPosition),o.is("stretch",e.stretch&&["top","bottom"].includes(a.props.tabPosition))],ref:d,style:w.value,role:"tablist",onKeydown:S},[e.type?null:Object(s["createVNode"])(Xk,{ref:h,tabs:[...e.panes]},null),r])])])}}}),ex=Object(c["b"])({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:Object(c["c"])(Function),default:()=>!0},stretch:Boolean}),tx=e=>Object(te["isString"])(e)||Object(u["d"])(e),nx={[d]:e=>tx(e),tabClick:(e,t)=>t instanceof Event,tabChange:e=>tx(e),edit:(e,t)=>["remove","add"].includes(t),tabRemove:e=>tx(e),tabAdd:()=>!0},rx=Object(s["defineComponent"])({name:"ElTabs",props:ex,emits:nx,setup(e,{emit:t,slots:n,expose:r}){var a;const o=Object(b["d"])("tabs"),{children:i,addChild:l,removeChild:c}=so(Object(s["getCurrentInstance"])(),"ElTabPane"),f=Object(s["ref"])(),h=Object(s["ref"])(null!=(a=e.modelValue)?a:"0"),p=async(n,r=!1)=>{var a,o,i;if(h.value!==n&&!Object(u["g"])(n))try{const s=await(null==(a=e.beforeLeave)?void 0:a.call(e,n,h.value));!1!==s&&(h.value=n,r&&(t(d,n),t("tabChange",n)),null==(i=null==(o=f.value)?void 0:o.removeFocus)||i.call(o))}catch(s){}},m=(e,n,r)=>{e.props.disabled||(p(n,!0),t("tabClick",e,r))},v=(e,n)=>{e.props.disabled||Object(u["g"])(e.props.name)||(n.stopPropagation(),t("edit",e.props.name,"remove"),t("tabRemove",e.props.name))},g=()=>{t("edit",void 0,"add"),t("tabAdd")};return Object(s["watch"])(()=>e.modelValue,e=>p(e)),Object(s["watch"])(h,async()=>{var e;await Object(s["nextTick"])(),null==(e=f.value)||e.scrollToActiveTab()}),Object(s["provide"])(Uk,{props:e,currentName:h,registerPane:l,unregisterPane:c}),r({currentName:h}),()=>{const t=n["add-icon"],r=e.editable||e.addable?Object(s["createVNode"])("span",{class:o.e("new-tab"),tabindex:"0",onClick:g,onKeydown:e=>{e.code===vt["a"].enter&&g()}},[t?Object(s["renderSlot"])(n,"add-icon"):Object(s["createVNode"])(I["a"],{class:o.is("icon-plus")},{default:()=>[Object(s["createVNode"])(G["Plus"],null,null)]})]):null,a=Object(s["createVNode"])("div",{class:[o.e("header"),o.is(e.tabPosition)]},[r,Object(s["createVNode"])(Qk,{ref:f,currentName:h.value,editable:e.editable,type:e.type,panes:i.value,stretch:e.stretch,onTabClick:m,onTabRemove:v},null)]),l=Object(s["createVNode"])("div",{class:o.e("content")},[Object(s["renderSlot"])(n,"default")]);return Object(s["createVNode"])("div",{class:[o.b(),o.m(e.tabPosition),{[o.m("card")]:"card"===e.type,[o.m("border-card")]:"border-card"===e.type}]},[..."bottom"!==e.tabPosition?[a,l]:[l,a]])}}}),ax=Object(c["b"])({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),ox=["id","aria-hidden","aria-labelledby"],ix="ElTabPane",sx=Object(s["defineComponent"])({name:ix}),lx=Object(s["defineComponent"])({...sx,props:ax,setup(e){const t=e,n=Object(s["getCurrentInstance"])(),r=Object(s["useSlots"])(),a=Object(s["inject"])(Uk);a||Object(y["b"])(ix,"usage: <el-tabs><el-tab-pane /></el-tabs/>");const o=Object(b["d"])("tab-pane"),i=Object(s["ref"])(),c=Object(s["computed"])(()=>t.closable||a.props.closable),u=Object(l["eagerComputed"])(()=>{var e;return a.currentName.value===(null!=(e=t.name)?e:i.value)}),d=Object(s["ref"])(u.value),f=Object(s["computed"])(()=>{var e;return null!=(e=t.name)?e:i.value}),h=Object(l["eagerComputed"])(()=>!t.lazy||d.value||u.value);Object(s["watch"])(u,e=>{e&&(d.value=!0)});const p=Object(s["reactive"])({uid:n.uid,slots:r,props:t,paneName:f,active:u,index:i,isClosable:c});return Object(s["onMounted"])(()=>{a.registerPane(p)}),Object(s["onUnmounted"])(()=>{a.unregisterPane(p.uid)}),(e,t)=>Object(s["unref"])(h)?Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,id:"pane-"+Object(s["unref"])(f),class:Object(s["normalizeClass"])(Object(s["unref"])(o).b()),role:"tabpanel","aria-hidden":!Object(s["unref"])(u),"aria-labelledby":"tab-"+Object(s["unref"])(f)},[Object(s["renderSlot"])(e.$slots,"default")],10,ox)),[[s["vShow"],Object(s["unref"])(u)]]):Object(s["createCommentVNode"])("v-if",!0)}});var cx=Object(v["a"])(lx,[["__file","tab-pane.vue"]]);const ux=Object(N["a"])(rx,{TabPane:cx}),dx=Object(N["d"])(cx),fx=Object(c["b"])({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:hr["a"],default:""},truncated:{type:Boolean},lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}}),hx=Object(s["defineComponent"])({name:"ElText"}),px=Object(s["defineComponent"])({...hx,props:fx,setup(e){const t=e,n=Oe(),r=Object(b["d"])("text"),a=Object(s["computed"])(()=>[r.b(),r.m(t.type),r.m(n.value),r.is("truncated",t.truncated),r.is("line-clamp",!Object(u["g"])(t.lineClamp))]);return(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.tag),{class:Object(s["normalizeClass"])(Object(s["unref"])(a)),style:Object(s["normalizeStyle"])({"-webkit-line-clamp":e.lineClamp})},{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3},8,["class","style"]))}});var mx=Object(v["a"])(px,[["__file","text.vue"]]);const vx=Object(N["a"])(mx),bx=Object(c["b"])({...Yc,parsedValue:{type:Object(c["c"])(Array)}}),gx=["disabled"],yx=Object(s["defineComponent"])({__name:"panel-time-range",props:bx,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,r=(e,t)=>{const n=[];for(let r=e;r<=t;r++)n.push(r);return n},{t:a,lang:o}=Object(Lr["b"])(),i=Object(b["d"])("time"),l=Object(b["d"])("picker"),c=Object(s["inject"])("EP_PICKER_BASE"),{arrowControl:u,disabledHours:d,disabledMinutes:f,disabledSeconds:h,defaultValue:p}=c.props,m=Object(s["computed"])(()=>[i.be("range-picker","body"),i.be("panel","content"),i.is("arrow",u),_.value?"has-seconds":""]),v=Object(s["computed"])(()=>[i.be("range-picker","body"),i.be("panel","content"),i.is("arrow",u),_.value?"has-seconds":""]),g=Object(s["computed"])(()=>n.parsedValue[0]),y=Object(s["computed"])(()=>n.parsedValue[1]),O=Nu(n),w=()=>{t("pick",O.value,!1)},_=Object(s["computed"])(()=>n.format.includes("ss")),j=Object(s["computed"])(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),k=(e=!1)=>{t("pick",[g.value,y.value],e)},x=e=>{M(e.millisecond(0),y.value)},S=e=>{M(g.value,e.millisecond(0))},C=e=>{const t=e.map(e=>la()(e).locale(o.value)),n=F(t);return t[0].isSame(n[0])&&t[1].isSame(n[1])},M=(e,n)=>{t("pick",[e,n],!0)},A=Object(s["computed"])(()=>g.value>y.value),T=Object(s["ref"])([0,2]),E=(e,n)=>{t("select-range",e,n,"min"),T.value=[e,n]},L=Object(s["computed"])(()=>_.value?11:8),P=(e,n)=>{t("select-range",e,n,"max");const r=Object(s["unref"])(L);T.value=[e+r,n+r]},D=e=>{const t=_.value?[0,3,6,11,14,17]:[0,3,8,11],n=["hours","minutes"].concat(_.value?["seconds"]:[]),r=t.indexOf(T.value[0]),a=(r+e+t.length)%t.length,o=t.length/2;a<o?Y["start_emitSelectRange"](n[a]):Y["end_emitSelectRange"](n[a-o])},N=e=>{const t=e.code,{left:n,right:r,up:a,down:o}=vt["a"];if([n,r].includes(t)){const r=t===n?-1:1;return D(r),void e.preventDefault()}if([a,o].includes(t)){const n=t===a?-1:1,r=T.value[0]<L.value?"start":"end";return Y[r+"_scrollDown"](n),void e.preventDefault()}},R=(e,t)=>{const n=d?d(e):[],a="start"===e,o=t||(a?y.value:g.value),i=o.hour(),s=a?r(i+1,23):r(0,i-1);return Object(q["union"])(n,s)},I=(e,t,n)=>{const a=f?f(e,t):[],o="start"===t,i=n||(o?y.value:g.value),s=i.hour();if(e!==s)return a;const l=i.minute(),c=o?r(l+1,59):r(0,l-1);return Object(q["union"])(a,c)},B=(e,t,n,a)=>{const o=h?h(e,t,n):[],i="start"===n,s=a||(i?y.value:g.value),l=s.hour(),c=s.minute();if(e!==l||t!==c)return o;const u=s.second(),d=i?r(u+1,59):r(0,u-1);return Object(q["union"])(o,d)},F=([e,t])=>[U(e,"start",!0,t),U(t,"end",!1,e)],{getAvailableHours:V,getAvailableMinutes:z,getAvailableSeconds:H}=Du(R,I,B),{timePickerOptions:Y,getAvailableTime:U,onSetOption:W}=Eu({getAvailableHours:V,getAvailableMinutes:z,getAvailableSeconds:H}),$=e=>e?Object(te["isArray"])(e)?e.map(e=>la()(e,n.format).locale(o.value)):la()(e,n.format).locale(o.value):null,G=e=>e?Object(te["isArray"])(e)?e.map(e=>e.format(n.format)):e.format(n.format):null,X=()=>{if(Object(te["isArray"])(p))return p.map(e=>la()(e).locale(o.value));const e=la()(p).locale(o.value);return[e,e.add(60,"m")]};return t("set-picker-option",["formatToString",G]),t("set-picker-option",["parseUserInput",$]),t("set-picker-option",["isValidValue",C]),t("set-picker-option",["handleKeydownInput",N]),t("set-picker-option",["getDefaultValue",X]),t("set-picker-option",["getRangeAvailableTime",F]),(e,t)=>e.actualVisible?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])([Object(s["unref"])(i).b("range-picker"),Object(s["unref"])(l).b("panel")])},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(i).be("range-picker","content"))},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(i).be("range-picker","cell"))},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(i).be("range-picker","header"))},Object(s["toDisplayString"])(Object(s["unref"])(a)("el.datepicker.startTime")),3),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(m))},[Object(s["createVNode"])(qu,{ref:"minSpinner",role:"start","show-seconds":Object(s["unref"])(_),"am-pm-mode":Object(s["unref"])(j),"arrow-control":Object(s["unref"])(u),"spinner-date":Object(s["unref"])(g),"disabled-hours":R,"disabled-minutes":I,"disabled-seconds":B,onChange:x,onSetOption:Object(s["unref"])(W),onSelectRange:E},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(i).be("range-picker","cell"))},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(i).be("range-picker","header"))},Object(s["toDisplayString"])(Object(s["unref"])(a)("el.datepicker.endTime")),3),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(v))},[Object(s["createVNode"])(qu,{ref:"maxSpinner",role:"end","show-seconds":Object(s["unref"])(_),"am-pm-mode":Object(s["unref"])(j),"arrow-control":Object(s["unref"])(u),"spinner-date":Object(s["unref"])(y),"disabled-hours":R,"disabled-minutes":I,"disabled-seconds":B,onChange:S,onSetOption:Object(s["unref"])(W),onSelectRange:P},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(i).be("panel","footer"))},[Object(s["createElementVNode"])("button",{type:"button",class:Object(s["normalizeClass"])([Object(s["unref"])(i).be("panel","btn"),"cancel"]),onClick:t[0]||(t[0]=e=>w())},Object(s["toDisplayString"])(Object(s["unref"])(a)("el.datepicker.cancel")),3),Object(s["createElementVNode"])("button",{type:"button",class:Object(s["normalizeClass"])([Object(s["unref"])(i).be("panel","btn"),"confirm"]),disabled:Object(s["unref"])(A),onClick:t[1]||(t[1]=e=>k())},Object(s["toDisplayString"])(Object(s["unref"])(a)("el.datepicker.confirm")),11,gx)],2)],2)):Object(s["createCommentVNode"])("v-if",!0)}});var Ox=Object(v["a"])(yx,[["__file","panel-time-range.vue"]]);la.a.extend(Mc.a);var wx=Object(s["defineComponent"])({name:"ElTimePicker",install:null,props:{...Uc,isRange:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,t){const n=Object(s["ref"])(),[r,a]=e.isRange?["timerange",Ox]:["time",Xu],o=e=>t.emit("update:modelValue",e);return Object(s["provide"])("ElPopperOptions",e.popperOptions),t.expose({focus:e=>{var t;null==(t=n.value)||t.handleFocusInput(e)},blur:e=>{var t;null==(t=n.value)||t.handleBlurInput(e)},handleOpen:()=>{var e;null==(e=n.value)||e.handleOpen()},handleClose:()=>{var e;null==(e=n.value)||e.handleClose()}}),()=>{var t;const i=null!=(t=e.format)?t:Iu;return Object(s["createVNode"])(Pd,Object(s["mergeProps"])(e,{ref:n,type:r,format:i,"onUpdate:modelValue":o}),{default:e=>Object(s["createVNode"])(a,e,null)})}}});const _x=wx;_x.install=e=>{e.component(_x.name,_x)};const jx=_x,kx=Object(c["b"])({format:{type:String,default:"HH:mm"},modelValue:String,disabled:Boolean,editable:{type:Boolean,default:!0},effect:{type:String,default:"light"},clearable:{type:Boolean,default:!0},size:ne["c"],placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:String,maxTime:String,name:String,prefixIcon:{type:Object(c["c"])([String,Object]),default:()=>G["Clock"]},clearIcon:{type:Object(c["c"])([String,Object]),default:()=>G["CircleClose"]},...ms["b"]}),xx=e=>{const t=(e||"").split(":");if(t.length>=2){let n=Number.parseInt(t[0],10);const r=Number.parseInt(t[1],10),a=e.toUpperCase();return a.includes("AM")&&12===n?n=0:a.includes("PM")&&12!==n&&(n+=12),{hours:n,minutes:r}}return null},Sx=(e,t)=>{const n=xx(e);if(!n)return-1;const r=xx(t);if(!r)return-1;const a=n.minutes+60*n.hours,o=r.minutes+60*r.hours;return a===o?0:a>o?1:-1},Cx=e=>(""+e).padStart(2,"0"),Mx=e=>`${Cx(e.hours)}:${Cx(e.minutes)}`,Ax=(e,t)=>{const n=xx(e);if(!n)return"";const r=xx(t);if(!r)return"";const a={hours:n.hours,minutes:n.minutes};return a.minutes+=r.minutes,a.hours+=r.hours,a.hours+=Math.floor(a.minutes/60),a.minutes=a.minutes%60,Mx(a)},Tx=Object(s["defineComponent"])({name:"ElTimeSelect"}),Ex=Object(s["defineComponent"])({...Tx,props:kx,emits:["change","blur","focus","update:modelValue"],setup(e,{expose:t}){const n=e;la.a.extend(Mc.a);const{Option:r}=Gv,a=Object(b["d"])("input"),o=Object(s["ref"])(),i=we(),{lang:l}=Object(Lr["b"])(),c=Object(s["computed"])(()=>n.modelValue),u=Object(s["computed"])(()=>{const e=xx(n.start);return e?Mx(e):null}),d=Object(s["computed"])(()=>{const e=xx(n.end);return e?Mx(e):null}),f=Object(s["computed"])(()=>{const e=xx(n.step);return e?Mx(e):null}),h=Object(s["computed"])(()=>{const e=xx(n.minTime||"");return e?Mx(e):null}),p=Object(s["computed"])(()=>{const e=xx(n.maxTime||"");return e?Mx(e):null}),m=Object(s["computed"])(()=>{const e=[];if(n.start&&n.end&&n.step){let t,r=u.value;while(r&&d.value&&Sx(r,d.value)<=0)t=la()(r,"HH:mm").locale(l.value).format(n.format),e.push({value:t,disabled:Sx(r,h.value||"-1:-1")<=0||Sx(r,p.value||"100:100")>=0}),r=Ax(r,f.value)}return e}),v=()=>{var e,t;null==(t=null==(e=o.value)?void 0:e.blur)||t.call(e)},g=()=>{var e,t;null==(t=null==(e=o.value)?void 0:e.focus)||t.call(e)};return t({blur:v,focus:g}),(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(Gv),{ref_key:"select",ref:o,"model-value":Object(s["unref"])(c),disabled:Object(s["unref"])(i),clearable:e.clearable,"clear-icon":e.clearIcon,size:e.size,effect:e.effect,placeholder:e.placeholder,"default-first-option":"",filterable:e.editable,"empty-values":e.emptyValues,"value-on-clear":e.valueOnClear,"onUpdate:modelValue":t[0]||(t[0]=t=>e.$emit("update:modelValue",t)),onChange:t[1]||(t[1]=t=>e.$emit("change",t)),onBlur:t[2]||(t[2]=t=>e.$emit("blur",t)),onFocus:t[3]||(t[3]=t=>e.$emit("focus",t))},{prefix:Object(s["withCtx"])(()=>[e.prefixIcon?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(a).e("prefix-icon"))},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.prefixIcon)))]),_:1},8,["class"])):Object(s["createCommentVNode"])("v-if",!0)]),default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(Object(s["unref"])(m),e=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(r),{key:e.value,label:e.value,value:e.value,disabled:e.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable","empty-values","value-on-clear"]))}});var Lx=Object(v["a"])(Ex,[["__file","time-select.vue"]]);Lx.install=e=>{e.component(Lx.name,Lx)};const Px=Lx,Dx=Px,Nx=Object(s["defineComponent"])({name:"ElTimeline",setup(e,{slots:t}){const n=Object(b["d"])("timeline");return Object(s["provide"])("timeline",t),()=>Object(s["h"])("ul",{class:[n.b()]},[Object(s["renderSlot"])(t,"default")])}}),Rx=Object(c["b"])({timestamp:{type:String,default:""},hideTimestamp:{type:Boolean,default:!1},center:{type:Boolean,default:!1},placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:F["e"]},hollow:{type:Boolean,default:!1}}),Ix=Object(s["defineComponent"])({name:"ElTimelineItem"}),Bx=Object(s["defineComponent"])({...Ix,props:Rx,setup(e){const t=e,n=Object(b["d"])("timeline-item"),r=Object(s["computed"])(()=>[n.e("node"),n.em("node",t.size||""),n.em("node",t.type||""),n.is("hollow",t.hollow)]);return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("li",{class:Object(s["normalizeClass"])([Object(s["unref"])(n).b(),{[Object(s["unref"])(n).e("center")]:e.center}])},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("tail"))},null,2),e.$slots.dot?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(r)),style:Object(s["normalizeStyle"])({backgroundColor:e.color})},[e.icon?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("icon"))},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.icon)))]),_:1},8,["class"])):Object(s["createCommentVNode"])("v-if",!0)],6)),e.$slots.dot?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("dot"))},[Object(s["renderSlot"])(e.$slots,"dot")],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("wrapper"))},[e.hideTimestamp||"top"!==e.placement?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])([Object(s["unref"])(n).e("timestamp"),Object(s["unref"])(n).is("top")])},Object(s["toDisplayString"])(e.timestamp),3)),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("content"))},[Object(s["renderSlot"])(e.$slots,"default")],2),e.hideTimestamp||"bottom"!==e.placement?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,class:Object(s["normalizeClass"])([Object(s["unref"])(n).e("timestamp"),Object(s["unref"])(n).is("bottom")])},Object(s["toDisplayString"])(e.timestamp),3))],2)],2))}});var Fx=Object(v["a"])(Bx,[["__file","timeline-item.vue"]]);const Vx=Object(N["a"])(Nx,{TimelineItem:Fx}),zx=Object(N["d"])(Fx),Hx=Object(c["b"])({nowrap:Boolean});var Yx=(e=>(e["top"]="top",e["bottom"]="bottom",e["left"]="left",e["right"]="right",e))(Yx||{});const Ux=Object.values(Yx),Wx=Object(c["b"])({width:{type:Number,default:10},height:{type:Number,default:10},style:{type:Object(c["c"])(Object),default:null}}),$x=Object(c["b"])({side:{type:Object(c["c"])(String),values:Ux,required:!0}}),qx=["absolute","fixed"],Gx=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],Xx=Object(c["b"])({arrowPadding:{type:Object(c["c"])(Number),default:5},effect:{type:String,default:""},contentClass:String,placement:{type:Object(c["c"])(String),values:Gx,default:"bottom"},reference:{type:Object(c["c"])(Object),default:null},offset:{type:Number,default:8},strategy:{type:Object(c["c"])(String),values:qx,default:"absolute"},showArrow:{type:Boolean,default:!1},...oe(["ariaLabel"])}),Kx=Object(c["b"])({delayDuration:{type:Number,default:300},defaultOpen:Boolean,open:{type:Boolean,default:void 0},onOpenChange:{type:Object(c["c"])(Function)},"onUpdate:open":{type:Object(c["c"])(Function)}}),Jx={type:Object(c["c"])(Function)},Zx=Object(c["b"])({onBlur:Jx,onClick:Jx,onFocus:Jx,onMouseDown:Jx,onMouseEnter:Jx,onMouseLeave:Jx}),Qx=Object(c["b"])({...Kx,...Wx,...Zx,...Xx,alwaysOn:Boolean,fullTransition:Boolean,transitionProps:{type:Object(c["c"])(Object),default:null},teleported:Boolean,to:{type:Object(c["c"])(String),default:"body"}}),eS=Symbol("tooltipV2"),tS=Symbol("tooltipV2Content"),nS="tooltip_v2.open",rS=Object(s["defineComponent"])({name:"ElTooltipV2Root"}),aS=Object(s["defineComponent"])({...rS,props:Kx,setup(e,{expose:t}){const n=e,r=Object(s["ref"])(n.defaultOpen),a=Object(s["ref"])(null),o=Object(s["computed"])({get:()=>Object(u["e"])(n.open)?r.value:n.open,set:e=>{var t;r.value=e,null==(t=n["onUpdate:open"])||t.call(n,e)}}),i=Object(s["computed"])(()=>Object(u["d"])(n.delayDuration)&&n.delayDuration>0),{start:c,stop:d}=Object(l["useTimeoutFn"])(()=>{o.value=!0},Object(s["computed"])(()=>n.delayDuration),{immediate:!1}),f=Object(b["d"])("tooltip-v2"),h=ve(),p=()=>{d(),o.value=!0},m=()=>{Object(s["unref"])(i)?c():p()},v=p,g=()=>{d(),o.value=!1},y=e=>{var t;e&&(document.dispatchEvent(new CustomEvent(nS)),v()),null==(t=n.onOpenChange)||t.call(n,e)};return Object(s["watch"])(o,y),Object(s["onMounted"])(()=>{document.addEventListener(nS,g)}),Object(s["onBeforeUnmount"])(()=>{d(),document.removeEventListener(nS,g)}),Object(s["provide"])(eS,{contentId:h,triggerRef:a,ns:f,onClose:g,onDelayOpen:m,onOpen:v}),t({onOpen:v,onClose:g}),(e,t)=>Object(s["renderSlot"])(e.$slots,"default",{open:Object(s["unref"])(o)})}});var oS=Object(v["a"])(aS,[["__file","root.vue"]]);const iS=Object(s["defineComponent"])({name:"ElTooltipV2Arrow"}),sS=Object(s["defineComponent"])({...iS,props:{...Wx,...$x},setup(e){const t=e,{ns:n}=Object(s["inject"])(eS),{arrowRef:r}=Object(s["inject"])(tS),a=Object(s["computed"])(()=>{const{style:e,width:r,height:a}=t,o=n.namespace.value;return{[`--${o}-tooltip-v2-arrow-width`]:r+"px",[`--${o}-tooltip-v2-arrow-height`]:a+"px",[`--${o}-tooltip-v2-arrow-border-width`]:r/2+"px",[`--${o}-tooltip-v2-arrow-cover-width`]:r/2-1,...e||{}}});return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{ref_key:"arrowRef",ref:r,style:Object(s["normalizeStyle"])(Object(s["unref"])(a)),class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("arrow"))},null,6))}});var lS=Object(v["a"])(sS,[["__file","arrow.vue"]]),cS=n("712a");Object(c["b"])({});const uS=e=>{if(!l["isClient"])return;if(!e)return e;const t=Object(l["unrefElement"])(e);return t||(Object(s["isRef"])(e)?t:e)},dS=({middleware:e,placement:t,strategy:n})=>{const r=Object(s["ref"])(),a=Object(s["ref"])(),o=Object(s["ref"])(),i=Object(s["ref"])(),c=Object(s["ref"])({}),u={x:o,y:i,placement:t,strategy:n,middlewareData:c},d=async()=>{if(!l["isClient"])return;const o=uS(r),i=Object(l["unrefElement"])(a);if(!o||!i)return;const c=await Object(cS["computePosition"])(o,i,{placement:Object(s["unref"])(t),strategy:Object(s["unref"])(n),middleware:Object(s["unref"])(e)});Object(B["c"])(u).forEach(e=>{u[e].value=c[e]})};return Object(s["onMounted"])(()=>{Object(s["watchEffect"])(()=>{d()})}),{...u,update:d,referenceRef:r,contentRef:a}},fS=({arrowRef:e,padding:t})=>({name:"arrow",options:{element:e,padding:t},fn(n){const r=Object(s["unref"])(e);return r?Object(cS["arrow"])({element:r,padding:t}).fn(n):{}}}),hS=Object(c["b"])({style:{type:Object(c["c"])([String,Object,Array]),default:()=>({})}}),pS=Object(s["defineComponent"])({name:"ElVisuallyHidden"}),mS=Object(s["defineComponent"])({...pS,props:hS,setup(e){const t=e,n=Object(s["computed"])(()=>[t.style,{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}]);return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",Object(s["mergeProps"])(e.$attrs,{style:Object(s["unref"])(n)}),[Object(s["renderSlot"])(e.$slots,"default")],16))}});var vS=Object(v["a"])(mS,[["__file","visual-hidden.vue"]]);const bS=["data-side"],gS=Object(s["defineComponent"])({name:"ElTooltipV2Content"}),yS=Object(s["defineComponent"])({...gS,props:{...Xx,...Hx},setup(e){const t=e,{triggerRef:n,contentId:r}=Object(s["inject"])(eS),a=Object(s["ref"])(t.placement),o=Object(s["ref"])(t.strategy),i=Object(s["ref"])(null),{referenceRef:l,contentRef:c,middlewareData:u,x:d,y:f,update:h}=dS({placement:a,strategy:o,middleware:Object(s["computed"])(()=>{const e=[Object(cS["offset"])(t.offset)];return t.showArrow&&e.push(fS({arrowRef:i})),e})}),p=Object(sn["b"])().nextZIndex(),m=Object(b["d"])("tooltip-v2"),v=Object(s["computed"])(()=>a.value.split("-")[0]),g=Object(s["computed"])(()=>({position:Object(s["unref"])(o),top:(Object(s["unref"])(f)||0)+"px",left:(Object(s["unref"])(d)||0)+"px",zIndex:p})),y=Object(s["computed"])(()=>{if(!t.showArrow)return{};const{arrow:e}=Object(s["unref"])(u);return{[`--${m.namespace.value}-tooltip-v2-arrow-x`]:(null==e?void 0:e.x)+"px"||"",[`--${m.namespace.value}-tooltip-v2-arrow-y`]:(null==e?void 0:e.y)+"px"||""}}),O=Object(s["computed"])(()=>[m.e("content"),m.is("dark","dark"===t.effect),m.is(Object(s["unref"])(o)),t.contentClass]);return Object(s["watch"])(i,()=>h()),Object(s["watch"])(()=>t.placement,e=>a.value=e),Object(s["onMounted"])(()=>{Object(s["watch"])(()=>t.reference||n.value,e=>{l.value=e||void 0},{immediate:!0})}),Object(s["provide"])(tS,{arrowRef:i}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{ref_key:"contentRef",ref:c,style:Object(s["normalizeStyle"])(Object(s["unref"])(g)),"data-tooltip-v2-root":""},[e.nowrap?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,"data-side":Object(s["unref"])(v),class:Object(s["normalizeClass"])(Object(s["unref"])(O))},[Object(s["renderSlot"])(e.$slots,"default",{contentStyle:Object(s["unref"])(g),contentClass:Object(s["unref"])(O)}),Object(s["createVNode"])(Object(s["unref"])(vS),{id:Object(s["unref"])(r),role:"tooltip"},{default:Object(s["withCtx"])(()=>[e.ariaLabel?(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:0},[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.ariaLabel),1)],64)):Object(s["renderSlot"])(e.$slots,"default",{key:1})]),_:3},8,["id"]),Object(s["renderSlot"])(e.$slots,"arrow",{style:Object(s["normalizeStyle"])(Object(s["unref"])(y)),side:Object(s["unref"])(v)})],10,bS))],4))}});var OS=Object(v["a"])(yS,[["__file","content.vue"]]);const wS=Object(c["b"])({setRef:{type:Object(c["c"])(Function),required:!0},onlyChild:Boolean});var _S=Object(s["defineComponent"])({props:wS,setup(e,{slots:t}){const n=Object(s["ref"])(),r=lf(n,t=>{t?e.setRef(t.nextElementSibling):e.setRef(null)});return()=>{var n;const[a]=(null==(n=t.default)?void 0:n.call(t))||[],o=e.onlyChild?ao(a.children):a.children;return Object(s["createVNode"])(s["Fragment"],{ref:r},[o])}}});const jS=Object(s["defineComponent"])({name:"ElTooltipV2Trigger"}),kS=Object(s["defineComponent"])({...jS,props:{...Hx,...Zx},setup(e){const t=e,{onClose:n,onOpen:r,onDelayOpen:a,triggerRef:o,contentId:i}=Object(s["inject"])(eS);let l=!1;const c=e=>{o.value=e},u=()=>{l=!1},d=Lt(t.onMouseEnter,a),f=Lt(t.onMouseLeave,n),h=Lt(t.onMouseDown,()=>{n(),l=!0,document.addEventListener("mouseup",u,{once:!0})}),p=Lt(t.onFocus,()=>{l||r()}),m=Lt(t.onBlur,n),v=Lt(t.onClick,e=>{0===e.detail&&n()}),b={blur:m,click:v,focus:p,mousedown:h,mouseenter:d,mouseleave:f},g=(e,t,n)=>{e&&Object.entries(t).forEach(([t,r])=>{e[n](t,r)})};return Object(s["watch"])(o,(e,t)=>{g(e,b,"addEventListener"),g(t,b,"removeEventListener"),e&&e.setAttribute("aria-describedby",i.value)}),Object(s["onBeforeUnmount"])(()=>{g(o.value,b,"removeEventListener"),document.removeEventListener("mouseup",u)}),(e,t)=>e.nowrap?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(_S),{key:0,"set-ref":c,"only-child":""},{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3})):(Object(s["openBlock"])(),Object(s["createElementBlock"])("button",Object(s["mergeProps"])({key:1,ref_key:"triggerRef",ref:o},e.$attrs),[Object(s["renderSlot"])(e.$slots,"default")],16))}});var xS=Object(v["a"])(kS,[["__file","trigger.vue"]]);const SS=Object(s["defineComponent"])({name:"ElTooltipV2"}),CS=Object(s["defineComponent"])({...SS,props:Qx,setup(e){const t=e,n=Object(s["toRefs"])(t),r=Object(s["reactive"])(Object(q["pick"])(n,Object.keys(Wx))),a=Object(s["reactive"])(Object(q["pick"])(n,Object.keys(Xx))),o=Object(s["reactive"])(Object(q["pick"])(n,Object.keys(Kx))),i=Object(s["reactive"])(Object(q["pick"])(n,Object.keys(Zx)));return(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(oS,Object(s["normalizeProps"])(Object(s["guardReactiveProps"])(o)),{default:Object(s["withCtx"])(({open:t})=>[Object(s["createVNode"])(xS,Object(s["mergeProps"])(i,{nowrap:""}),{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"trigger")]),_:3},16),(Object(s["openBlock"])(),Object(s["createBlock"])(s["Teleport"],{to:e.to,disabled:!e.teleported},[e.fullTransition?(Object(s["openBlock"])(),Object(s["createBlock"])(s["Transition"],Object(s["normalizeProps"])(Object(s["mergeProps"])({key:0},e.transitionProps)),{default:Object(s["withCtx"])(()=>[e.alwaysOn||t?(Object(s["openBlock"])(),Object(s["createBlock"])(OS,Object(s["normalizeProps"])(Object(s["mergeProps"])({key:0},a)),{arrow:Object(s["withCtx"])(({style:t,side:n})=>[e.showArrow?(Object(s["openBlock"])(),Object(s["createBlock"])(lS,Object(s["mergeProps"])({key:0},r,{style:t,side:n}),null,16,["style","side"])):Object(s["createCommentVNode"])("v-if",!0)]),default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3},16)):Object(s["createCommentVNode"])("v-if",!0)]),_:2},1040)):(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],{key:1},[e.alwaysOn||t?(Object(s["openBlock"])(),Object(s["createBlock"])(OS,Object(s["normalizeProps"])(Object(s["mergeProps"])({key:0},a)),{arrow:Object(s["withCtx"])(({style:t,side:n})=>[e.showArrow?(Object(s["openBlock"])(),Object(s["createBlock"])(lS,Object(s["mergeProps"])({key:0},r,{style:t,side:n}),null,16,["style","side"])):Object(s["createCommentVNode"])("v-if",!0)]),default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3},16)):Object(s["createCommentVNode"])("v-if",!0)],64))],8,["to","disabled"]))]),_:3},16))}});var MS=Object(v["a"])(CS,[["__file","tooltip.vue"]]);const AS=Object(N["a"])(MS),TS="left-check-change",ES="right-check-change",LS=Object(c["b"])({data:{type:Object(c["c"])(Array),default:()=>[]},titles:{type:Object(c["c"])(Array),default:()=>[]},buttonTexts:{type:Object(c["c"])(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:Object(c["c"])(Function)},leftDefaultChecked:{type:Object(c["c"])(Array),default:()=>[]},rightDefaultChecked:{type:Object(c["c"])(Array),default:()=>[]},renderContent:{type:Object(c["c"])(Function)},modelValue:{type:Object(c["c"])(Array),default:()=>[]},format:{type:Object(c["c"])(Object),default:()=>({})},filterable:Boolean,props:{type:Object(c["c"])(Object),default:()=>Object(re["a"])({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0}}),PS=(e,t)=>[e,t].every(te["isArray"])||Object(te["isArray"])(e)&&Object(q["isNil"])(t),DS={[f]:(e,t,n)=>[e,n].every(te["isArray"])&&["left","right"].includes(t),[d]:e=>Object(te["isArray"])(e),[TS]:PS,[ES]:PS},NS="checked-change",RS=Object(c["b"])({data:LS.data,optionRender:{type:Object(c["c"])(Function)},placeholder:String,title:String,filterable:Boolean,format:LS.format,filterMethod:LS.filterMethod,defaultChecked:LS.leftDefaultChecked,props:LS.props}),IS={[NS]:PS},BS=e=>{const t={label:"label",key:"key",disabled:"disabled"};return Object(s["computed"])(()=>({...t,...e.props}))},FS=(e,t,n)=>{const r=BS(e),a=Object(s["computed"])(()=>e.data.filter(n=>{if(Object(te["isFunction"])(e.filterMethod))return e.filterMethod(t.query,n);{const e=String(n[r.value.label]||n[r.value.key]);return e.toLowerCase().includes(t.query.toLowerCase())}})),o=Object(s["computed"])(()=>a.value.filter(e=>!e[r.value.disabled])),i=Object(s["computed"])(()=>{const n=t.checked.length,r=e.data.length,{noChecked:a,hasChecked:o}=e.format;return a&&o?n>0?o.replace(/\${checked}/g,n.toString()).replace(/\${total}/g,r.toString()):a.replace(/\${total}/g,r.toString()):`${n}/${r}`}),l=Object(s["computed"])(()=>{const e=t.checked.length;return e>0&&e<o.value.length}),c=()=>{const e=o.value.map(e=>e[r.value.key]);t.allChecked=e.length>0&&e.every(e=>t.checked.includes(e))},u=e=>{t.checked=e?o.value.map(e=>e[r.value.key]):[]};return Object(s["watch"])(()=>t.checked,(e,r)=>{if(c(),t.checkChangeByUser){const t=e.concat(r).filter(t=>!e.includes(t)||!r.includes(t));n(NS,e,t)}else n(NS,e),t.checkChangeByUser=!0}),Object(s["watch"])(o,()=>{c()}),Object(s["watch"])(()=>e.data,()=>{const e=[],n=a.value.map(e=>e[r.value.key]);t.checked.forEach(t=>{n.includes(t)&&e.push(t)}),t.checkChangeByUser=!1,t.checked=e}),Object(s["watch"])(()=>e.defaultChecked,(e,n)=>{if(n&&e.length===n.length&&e.every(e=>n.includes(e)))return;const a=[],i=o.value.map(e=>e[r.value.key]);e.forEach(e=>{i.includes(e)&&a.push(e)}),t.checkChangeByUser=!1,t.checked=a},{immediate:!0}),{filteredData:a,checkableData:o,checkedSummary:i,isIndeterminate:l,updateAllChecked:c,handleAllCheckedChange:u}},VS=Object(s["defineComponent"])({name:"ElTransferPanel"}),zS=Object(s["defineComponent"])({...VS,props:RS,emits:IS,setup(e,{expose:t,emit:n}){const r=e,a=Object(s["useSlots"])(),o=({option:e})=>e,{t:i}=Object(Lr["b"])(),l=Object(b["d"])("transfer"),c=Object(s["reactive"])({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),d=BS(r),{filteredData:f,checkedSummary:h,isIndeterminate:p,handleAllCheckedChange:m}=FS(r,c,n),v=Object(s["computed"])(()=>!Object(u["c"])(c.query)&&Object(u["c"])(f.value)),g=Object(s["computed"])(()=>!Object(u["c"])(a.default()[0].children)),{checked:y,allChecked:O,query:w}=Object(s["toRefs"])(c);return t({query:w}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(l).b("panel"))},[Object(s["createElementVNode"])("p",{class:Object(s["normalizeClass"])(Object(s["unref"])(l).be("panel","header"))},[Object(s["createVNode"])(Object(s["unref"])(ei),{modelValue:Object(s["unref"])(O),"onUpdate:modelValue":t[0]||(t[0]=e=>Object(s["isRef"])(O)?O.value=e:null),indeterminate:Object(s["unref"])(p),"validate-event":!1,onChange:Object(s["unref"])(m)},{default:Object(s["withCtx"])(()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.title)+" ",1),Object(s["createElementVNode"])("span",null,Object(s["toDisplayString"])(Object(s["unref"])(h)),1)]),_:1},8,["modelValue","indeterminate","onChange"])],2),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(l).be("panel","body"),Object(s["unref"])(l).is("with-footer",Object(s["unref"])(g))])},[e.filterable?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(Le),{key:0,modelValue:Object(s["unref"])(w),"onUpdate:modelValue":t[1]||(t[1]=e=>Object(s["isRef"])(w)?w.value=e:null),class:Object(s["normalizeClass"])(Object(s["unref"])(l).be("panel","filter")),size:"default",placeholder:e.placeholder,"prefix-icon":Object(s["unref"])(G["Search"]),clearable:"","validate-event":!1},null,8,["modelValue","class","placeholder","prefix-icon"])):Object(s["createCommentVNode"])("v-if",!0),Object(s["withDirectives"])(Object(s["createVNode"])(Object(s["unref"])(ni),{modelValue:Object(s["unref"])(y),"onUpdate:modelValue":t[2]||(t[2]=e=>Object(s["isRef"])(y)?y.value=e:null),"validate-event":!1,class:Object(s["normalizeClass"])([Object(s["unref"])(l).is("filterable",e.filterable),Object(s["unref"])(l).be("panel","list")])},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(Object(s["unref"])(f),t=>(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(ei),{key:t[Object(s["unref"])(d).key],class:Object(s["normalizeClass"])(Object(s["unref"])(l).be("panel","item")),value:t[Object(s["unref"])(d).key],disabled:t[Object(s["unref"])(d).disabled],"validate-event":!1},{default:Object(s["withCtx"])(()=>{var n;return[Object(s["createVNode"])(o,{option:null==(n=e.optionRender)?void 0:n.call(e,t)},null,8,["option"])]}),_:2},1032,["class","value","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[s["vShow"],!Object(s["unref"])(v)&&!Object(s["unref"])(u["c"])(e.data)]]),Object(s["withDirectives"])(Object(s["createElementVNode"])("p",{class:Object(s["normalizeClass"])(Object(s["unref"])(l).be("panel","empty"))},Object(s["toDisplayString"])(Object(s["unref"])(v)?Object(s["unref"])(i)("el.transfer.noMatch"):Object(s["unref"])(i)("el.transfer.noData")),3),[[s["vShow"],Object(s["unref"])(v)||Object(s["unref"])(u["c"])(e.data)]])],2),Object(s["unref"])(g)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("p",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(l).be("panel","footer"))},[Object(s["renderSlot"])(e.$slots,"default")],2)):Object(s["createCommentVNode"])("v-if",!0)],2))}});var HS=Object(v["a"])(zS,[["__file","transfer-panel.vue"]]);const YS=e=>{const t=BS(e),n=Object(s["computed"])(()=>e.data.reduce((e,n)=>(e[n[t.value.key]]=n)&&e,{})),r=Object(s["computed"])(()=>e.data.filter(n=>!e.modelValue.includes(n[t.value.key]))),a=Object(s["computed"])(()=>"original"===e.targetOrder?e.data.filter(n=>e.modelValue.includes(n[t.value.key])):e.modelValue.reduce((e,t)=>{const r=n.value[t];return r&&e.push(r),e},[]));return{sourceData:r,targetData:a}},US=(e,t)=>{const n=(n,r)=>{e.leftChecked=n,r&&t(TS,n,r)},r=(n,r)=>{e.rightChecked=n,r&&t(ES,n,r)};return{onSourceCheckedChange:n,onTargetCheckedChange:r}},WS=(e,t,n)=>{const r=BS(e),a=(e,t,r)=>{n(d,e),n(f,e,t,r)},o=()=>{const n=e.modelValue.slice();t.rightChecked.forEach(e=>{const t=n.indexOf(e);t>-1&&n.splice(t,1)}),a(n,"left",t.rightChecked)},i=()=>{let n=e.modelValue.slice();const o=e.data.filter(n=>{const a=n[r.value.key];return t.leftChecked.includes(a)&&!e.modelValue.includes(a)}).map(e=>e[r.value.key]);n="unshift"===e.targetOrder?o.concat(n):n.concat(o),"original"===e.targetOrder&&(n=e.data.filter(e=>n.includes(e[r.value.key])).map(e=>e[r.value.key])),a(n,"right",t.leftChecked)};return{addToLeft:o,addToRight:i}},$S={key:0},qS={key:0},GS=Object(s["defineComponent"])({name:"ElTransfer"}),XS=Object(s["defineComponent"])({...GS,props:LS,emits:DS,setup(e,{expose:t,emit:n}){const r=e,a=Object(s["useSlots"])(),{t:o}=Object(Lr["b"])(),i=Object(b["d"])("transfer"),{formItem:l}=be(),c=Object(s["reactive"])({leftChecked:[],rightChecked:[]}),d=BS(r),{sourceData:f,targetData:h}=YS(r),{onSourceCheckedChange:p,onTargetCheckedChange:m}=US(c,n),{addToLeft:v,addToRight:g}=WS(r,c,n),O=Object(s["ref"])(),w=Object(s["ref"])(),_=e=>{switch(e){case"left":O.value.query="";break;case"right":w.value.query="";break}},j=Object(s["computed"])(()=>2===r.buttonTexts.length),k=Object(s["computed"])(()=>r.titles[0]||o("el.transfer.titles.0")),x=Object(s["computed"])(()=>r.titles[1]||o("el.transfer.titles.1")),S=Object(s["computed"])(()=>r.filterPlaceholder||o("el.transfer.filterPlaceholder"));Object(s["watch"])(()=>r.modelValue,()=>{var e;r.validateEvent&&(null==(e=null==l?void 0:l.validate)||e.call(l,"change").catch(e=>Object(y["a"])(e)))});const C=Object(s["computed"])(()=>e=>r.renderContent?r.renderContent(s["h"],e):a.default?a.default({option:e}):Object(s["h"])("span",e[d.value.label]||e[d.value.key]));return t({clearQuery:_,leftPanel:O,rightPanel:w}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(i).b())},[Object(s["createVNode"])(HS,{ref_key:"leftPanel",ref:O,data:Object(s["unref"])(f),"option-render":Object(s["unref"])(C),placeholder:Object(s["unref"])(S),title:Object(s["unref"])(k),filterable:e.filterable,format:e.format,"filter-method":e.filterMethod,"default-checked":e.leftDefaultChecked,props:r.props,onCheckedChange:Object(s["unref"])(p)},{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(i).e("buttons"))},[Object(s["createVNode"])(Object(s["unref"])(oa),{type:"primary",class:Object(s["normalizeClass"])([Object(s["unref"])(i).e("button"),Object(s["unref"])(i).is("with-texts",Object(s["unref"])(j))]),disabled:Object(s["unref"])(u["c"])(c.rightChecked),onClick:Object(s["unref"])(v)},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["ArrowLeft"]))]),_:1}),Object(s["unref"])(u["g"])(e.buttonTexts[0])?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",$S,Object(s["toDisplayString"])(e.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),Object(s["createVNode"])(Object(s["unref"])(oa),{type:"primary",class:Object(s["normalizeClass"])([Object(s["unref"])(i).e("button"),Object(s["unref"])(i).is("with-texts",Object(s["unref"])(j))]),disabled:Object(s["unref"])(u["c"])(c.leftChecked),onClick:Object(s["unref"])(g)},{default:Object(s["withCtx"])(()=>[Object(s["unref"])(u["g"])(e.buttonTexts[1])?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",qS,Object(s["toDisplayString"])(e.buttonTexts[1]),1)),Object(s["createVNode"])(Object(s["unref"])(I["a"]),null,{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["ArrowRight"]))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),Object(s["createVNode"])(HS,{ref_key:"rightPanel",ref:w,data:Object(s["unref"])(h),"option-render":Object(s["unref"])(C),placeholder:Object(s["unref"])(S),filterable:e.filterable,format:e.format,"filter-method":e.filterMethod,title:Object(s["unref"])(x),"default-checked":e.rightDefaultChecked,props:r.props,onCheckedChange:Object(s["unref"])(m)},{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});var KS=Object(v["a"])(XS,[["__file","transfer.vue"]]);const JS=Object(N["a"])(KS),ZS="$treeNodeId",QS=function(e,t){t&&!t[ZS]&&Object.defineProperty(t,ZS,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},eC=function(e,t){return e?t[e]:t[ZS]},tC=(e,t,n)=>{const r=e.value.currentNode;n();const a=e.value.currentNode;r!==a&&t("current-change",a?a.data:null,a)},nC=e=>{let t=!0,n=!0,r=!0;for(let a=0,o=e.length;a<o;a++){const o=e[a];(!0!==o.checked||o.indeterminate)&&(t=!1,o.disabled||(r=!1)),(!1!==o.checked||o.indeterminate)&&(n=!1)}return{all:t,none:n,allWithoutDisable:r,half:!t&&!n}},rC=function(e){if(0===e.childNodes.length||e.loading)return;const{all:t,none:n,half:r}=nC(e.childNodes);t?(e.checked=!0,e.indeterminate=!1):r?(e.checked=!1,e.indeterminate=!0):n&&(e.checked=!1,e.indeterminate=!1);const a=e.parent;a&&0!==a.level&&(e.store.checkStrictly||rC(a))},aC=function(e,t){const n=e.store.props,r=e.data||{},a=n[t];if("function"===typeof a)return a(r,e);if("string"===typeof a)return r[a];if("undefined"===typeof a){const e=r[t];return void 0===e?"":e}};let oC=0;class iC{constructor(e){this.id=oC++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const t in e)Object(te["hasOwn"])(e,t)&&(this[t]=e[t]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){const e=this.store;if(!e)throw new Error("[Node]store is required!");e.registerNode(this);const t=e.props;if(t&&"undefined"!==typeof t.isLeaf){const e=aC(this,"isLeaf");"boolean"===typeof e&&(this.isLeafByUser=e)}if(!0!==e.lazy&&this.data?(this.setData(this.data),e.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&e.lazy&&e.defaultExpandAll&&this.expand(),Array.isArray(this.data)||QS(this,this.data),!this.data)return;const n=e.defaultExpandedKeys,r=e.key;r&&n&&n.includes(this.key)&&this.expand(null,e.autoExpandParent),r&&void 0!==e.currentNodeKey&&this.key===e.currentNodeKey&&(e.currentNode=this,e.currentNode.isCurrent=!0),e.lazy&&e._initDefaultCheckedNode(this),this.updateLeafState(),!this.parent||1!==this.level&&!0!==this.parent.expanded||(this.canFocus=!0)}setData(e){let t;Array.isArray(e)||QS(this,e),this.data=e,this.childNodes=[],t=0===this.level&&Array.isArray(this.data)?this.data:aC(this,"children")||[];for(let n=0,r=t.length;n<r;n++)this.insertChild({data:t[n]})}get label(){return aC(this,"label")}get key(){const e=this.store.key;return this.data?this.data[e]:null}get disabled(){return aC(this,"disabled")}get nextSibling(){const e=this.parent;if(e){const t=e.childNodes.indexOf(this);if(t>-1)return e.childNodes[t+1]}return null}get previousSibling(){const e=this.parent;if(e){const t=e.childNodes.indexOf(this);if(t>-1)return t>0?e.childNodes[t-1]:null}return null}contains(e,t=!0){return(this.childNodes||[]).some(n=>n===e||t&&n.contains(e))}remove(){const e=this.parent;e&&e.removeChild(this)}insertChild(e,t,n){if(!e)throw new Error("InsertChild error: child is required.");if(!(e instanceof iC)){if(!n){const n=this.getChildren(!0);n.includes(e.data)||("undefined"===typeof t||t<0?n.push(e.data):n.splice(t,0,e.data))}Object.assign(e,{parent:this,store:this.store}),e=Object(s["reactive"])(new iC(e)),e instanceof iC&&e.initialize()}e.level=this.level+1,"undefined"===typeof t||t<0?this.childNodes.push(e):this.childNodes.splice(t,0,e),this.updateLeafState()}insertBefore(e,t){let n;t&&(n=this.childNodes.indexOf(t)),this.insertChild(e,n)}insertAfter(e,t){let n;t&&(n=this.childNodes.indexOf(t),-1!==n&&(n+=1)),this.insertChild(e,n)}removeChild(e){const t=this.getChildren()||[],n=t.indexOf(e.data);n>-1&&t.splice(n,1);const r=this.childNodes.indexOf(e);r>-1&&(this.store&&this.store.deregisterNode(e),e.parent=null,this.childNodes.splice(r,1)),this.updateLeafState()}removeChildByData(e){let t=null;for(let n=0;n<this.childNodes.length;n++)if(this.childNodes[n].data===e){t=this.childNodes[n];break}t&&this.removeChild(t)}expand(e,t){const n=()=>{if(t){let e=this.parent;while(e.level>0)e.expanded=!0,e=e.parent}this.expanded=!0,e&&e(),this.childNodes.forEach(e=>{e.canFocus=!0})};this.shouldLoadData()?this.loadData(e=>{Array.isArray(e)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||rC(this),n())}):n()}doCreateChildren(e,t={}){e.forEach(e=>{this.insertChild(Object.assign({data:e},t),void 0,!0)})}collapse(){this.expanded=!1,this.childNodes.forEach(e=>{e.canFocus=!1})}shouldLoadData(){return!0===this.store.lazy&&this.store.load&&!this.loaded}updateLeafState(){if(!0===this.store.lazy&&!0!==this.loaded&&"undefined"!==typeof this.isLeafByUser)return void(this.isLeaf=this.isLeafByUser);const e=this.childNodes;!this.store.lazy||!0===this.store.lazy&&!0===this.loaded?this.isLeaf=!e||0===e.length:this.isLeaf=!1}setChecked(e,t,n,r){if(this.indeterminate="half"===e,this.checked=!0===e,this.store.checkStrictly)return;if(!this.shouldLoadData()||this.store.checkDescendants){const{all:n,allWithoutDisable:a}=nC(this.childNodes);this.isLeaf||n||!a||(this.checked=!1,e=!1);const o=()=>{if(t){const n=this.childNodes;for(let i=0,s=n.length;i<s;i++){const a=n[i];r=r||!1!==e;const o=a.disabled?a.checked:r;a.setChecked(o,t,!0,r)}const{half:a,all:o}=nC(n);o||(this.checked=o,this.indeterminate=a)}};if(this.shouldLoadData())return void this.loadData(()=>{o(),rC(this)},{checked:!1!==e});o()}const a=this.parent;a&&0!==a.level&&(n||rC(a))}getChildren(e=!1){if(0===this.level)return this.data;const t=this.data;if(!t)return null;const n=this.store.props;let r="children";return n&&(r=n.children||"children"),void 0===t[r]&&(t[r]=null),e&&!t[r]&&(t[r]=[]),t[r]}updateChildren(){const e=this.getChildren()||[],t=this.childNodes.map(e=>e.data),n={},r=[];e.forEach((e,a)=>{const o=e[ZS],i=!!o&&t.findIndex(e=>e[ZS]===o)>=0;i?n[o]={index:a,data:e}:r.push({index:a,data:e})}),this.store.lazy||t.forEach(e=>{n[e[ZS]]||this.removeChildByData(e)}),r.forEach(({index:e,data:t})=>{this.insertChild({data:t},e)}),this.updateLeafState()}loadData(e,t={}){if(!0!==this.store.lazy||!this.store.load||this.loaded||this.loading&&!Object.keys(t).length)e&&e.call(this);else{this.loading=!0;const n=n=>{this.childNodes=[],this.doCreateChildren(n,t),this.loaded=!0,this.loading=!1,this.updateLeafState(),e&&e.call(this,n)},r=()=>{this.loading=!1};this.store.load(this,n,r)}}eachNode(e){const t=[this];while(t.length){const n=t.shift();t.unshift(...n.childNodes),e(n)}}reInitChecked(){this.store.checkStrictly||rC(this)}}class sC{constructor(e){this.currentNode=null,this.currentNodeKey=null;for(const t in e)Object(te["hasOwn"])(e,t)&&(this[t]=e[t]);this.nodesMap={}}initialize(){if(this.root=new iC({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const e=this.load;e(this.root,e=>{this.root.doCreateChildren(e),this._initDefaultCheckedNodes()})}else this._initDefaultCheckedNodes()}filter(e){const t=this.filterNodeMethod,n=this.lazy,r=function(a){const o=a.root?a.root.childNodes:a.childNodes;if(o.forEach(n=>{n.visible=t.call(n,e,n.data,n),r(n)}),!a.visible&&o.length){let e=!0;e=!o.some(e=>e.visible),a.root?a.root.visible=!1===e:a.visible=!1===e}e&&a.visible&&!a.isLeaf&&(n&&!a.loaded||a.expand())};r(this)}setData(e){const t=e!==this.root.data;t?(this.root.setData(e),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode(e){if(e instanceof iC)return e;const t=Object(te["isObject"])(e)?eC(this.key,e):e;return this.nodesMap[t]||null}insertBefore(e,t){const n=this.getNode(t);n.parent.insertBefore({data:e},n)}insertAfter(e,t){const n=this.getNode(t);n.parent.insertAfter({data:e},n)}remove(e){const t=this.getNode(e);t&&t.parent&&(t===this.currentNode&&(this.currentNode=null),t.parent.removeChild(t))}append(e,t){const n=Object(u["e"])(t)?this.root:this.getNode(t);n&&n.insertChild({data:e})}_initDefaultCheckedNodes(){const e=this.defaultCheckedKeys||[],t=this.nodesMap;e.forEach(e=>{const n=t[e];n&&n.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(e){const t=this.defaultCheckedKeys||[];t.includes(e.key)&&e.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(e){e!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=e,this._initDefaultCheckedNodes())}registerNode(e){const t=this.key;if(e&&e.data)if(t){const t=e.key;void 0!==t&&(this.nodesMap[e.key]=e)}else this.nodesMap[e.id]=e}deregisterNode(e){const t=this.key;t&&e&&e.data&&(e.childNodes.forEach(e=>{this.deregisterNode(e)}),delete this.nodesMap[e.key])}getCheckedNodes(e=!1,t=!1){const n=[],r=function(a){const o=a.root?a.root.childNodes:a.childNodes;o.forEach(a=>{(a.checked||t&&a.indeterminate)&&(!e||e&&a.isLeaf)&&n.push(a.data),r(a)})};return r(this),n}getCheckedKeys(e=!1){return this.getCheckedNodes(e).map(e=>(e||{})[this.key])}getHalfCheckedNodes(){const e=[],t=function(n){const r=n.root?n.root.childNodes:n.childNodes;r.forEach(n=>{n.indeterminate&&e.push(n.data),t(n)})};return t(this),e}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(e=>(e||{})[this.key])}_getAllNodes(){const e=[],t=this.nodesMap;for(const n in t)Object(te["hasOwn"])(t,n)&&e.push(t[n]);return e}updateChildren(e,t){const n=this.nodesMap[e];if(!n)return;const r=n.childNodes;for(let a=r.length-1;a>=0;a--){const e=r[a];this.remove(e.data)}for(let a=0,o=t.length;a<o;a++){const e=t[a];this.append(e,n.data)}}_setCheckedKeys(e,t=!1,n){const r=this._getAllNodes().sort((e,t)=>e.level-t.level),a=Object.create(null),o=Object.keys(n);r.forEach(e=>e.setChecked(!1,!1));const i=t=>{t.childNodes.forEach(t=>{var n;a[t.data[e]]=!0,(null==(n=t.childNodes)?void 0:n.length)&&i(t)})};for(let s=0,l=r.length;s<l;s++){const n=r[s],l=n.data[e].toString(),c=o.includes(l);if(c){if(n.childNodes.length&&i(n),n.isLeaf||this.checkStrictly)n.setChecked(!0,!1);else if(n.setChecked(!0,!0),t){n.setChecked(!1,!1);const e=function(t){const n=t.childNodes;n.forEach(t=>{t.isLeaf||t.setChecked(!1,!1),e(t)})};e(n)}}else n.checked&&!a[l]&&n.setChecked(!1,!1)}}setCheckedNodes(e,t=!1){const n=this.key,r={};e.forEach(e=>{r[(e||{})[n]]=!0}),this._setCheckedKeys(n,t,r)}setCheckedKeys(e,t=!1){this.defaultCheckedKeys=e;const n=this.key,r={};e.forEach(e=>{r[e]=!0}),this._setCheckedKeys(n,t,r)}setDefaultExpandedKeys(e){e=e||[],this.defaultExpandedKeys=e,e.forEach(e=>{const t=this.getNode(e);t&&t.expand(null,this.autoExpandParent)})}setChecked(e,t,n){const r=this.getNode(e);r&&r.setChecked(!!t,n)}getCurrentNode(){return this.currentNode}setCurrentNode(e){const t=this.currentNode;t&&(t.isCurrent=!1),this.currentNode=e,this.currentNode.isCurrent=!0}setUserCurrentNode(e,t=!0){const n=e[this.key],r=this.nodesMap[n];this.setCurrentNode(r),t&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey(e,t=!0){if(null===e||void 0===e)return this.currentNode&&(this.currentNode.isCurrent=!1),void(this.currentNode=null);const n=this.getNode(e);n&&(this.setCurrentNode(n),t&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}const lC=Object(s["defineComponent"])({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=Object(b["d"])("tree"),n=Object(s["inject"])("NodeInstance"),r=Object(s["inject"])("RootTree");return()=>{const a=e.node,{data:o,store:i}=a;return e.renderContent?e.renderContent(s["h"],{_self:n,node:a,data:o,store:i}):Object(s["renderSlot"])(r.ctx.slots,"default",{node:a,data:o},()=>[Object(s["h"])("span",{class:t.be("node","label")},[a.label])])}}});var cC=Object(v["a"])(lC,[["__file","tree-node-content.vue"]]);function uC(e){const t=Object(s["inject"])("TreeNodeMap",null),n={treeNodeExpand:t=>{e.node!==t&&e.node.collapse()},children:[]};return t&&t.children.push(n),Object(s["provide"])("TreeNodeMap",n),{broadcastExpanded:t=>{if(e.accordion)for(const e of n.children)e.treeNodeExpand(t)}}}const dC=Symbol("dragEvents");function fC({props:e,ctx:t,el$:n,dropIndicator$:r,store:a}){const o=Object(b["d"])("tree"),i=Object(s["ref"])({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null}),l=({event:n,treeNode:r})=>{if("function"===typeof e.allowDrag&&!e.allowDrag(r.node))return n.preventDefault(),!1;n.dataTransfer.effectAllowed="move";try{n.dataTransfer.setData("text/plain","")}catch(a){}i.value.draggingNode=r,t.emit("node-drag-start",r.node,n)},c=({event:a,treeNode:s})=>{const l=s,c=i.value.dropNode;c&&c.node.id!==l.node.id&&Object(g["e"])(c.$el,o.is("drop-inner"));const u=i.value.draggingNode;if(!u||!l)return;let d=!0,f=!0,h=!0,p=!0;"function"===typeof e.allowDrop&&(d=e.allowDrop(u.node,l.node,"prev"),p=f=e.allowDrop(u.node,l.node,"inner"),h=e.allowDrop(u.node,l.node,"next")),a.dataTransfer.dropEffect=f||d||h?"move":"none",(d||f||h)&&(null==c?void 0:c.node.id)!==l.node.id&&(c&&t.emit("node-drag-leave",u.node,c.node,a),t.emit("node-drag-enter",u.node,l.node,a)),i.value.dropNode=d||f||h?l:null,l.node.nextSibling===u.node&&(h=!1),l.node.previousSibling===u.node&&(d=!1),l.node.contains(u.node,!1)&&(f=!1),(u.node===l.node||u.node.contains(l.node))&&(d=!1,f=!1,h=!1);const m=l.$el.querySelector("."+o.be("node","content")).getBoundingClientRect(),v=n.value.getBoundingClientRect();let b;const y=d?f?.25:h?.45:1:-1,O=h?f?.75:d?.55:0:1;let w=-9999;const _=a.clientY-m.top;b=_<m.height*y?"before":_>m.height*O?"after":f?"inner":"none";const j=l.$el.querySelector("."+o.be("node","expand-icon")).getBoundingClientRect(),k=r.value;"before"===b?w=j.top-v.top:"after"===b&&(w=j.bottom-v.top),k.style.top=w+"px",k.style.left=j.right-v.left+"px","inner"===b?Object(g["a"])(l.$el,o.is("drop-inner")):Object(g["e"])(l.$el,o.is("drop-inner")),i.value.showDropIndicator="before"===b||"after"===b,i.value.allowDrop=i.value.showDropIndicator||p,i.value.dropType=b,t.emit("node-drag-over",u.node,l.node,a)},u=e=>{const{draggingNode:n,dropType:r,dropNode:s}=i.value;if(e.preventDefault(),e.dataTransfer.dropEffect="move",n&&s){const i={data:n.node.data};"none"!==r&&n.node.remove(),"before"===r?s.node.parent.insertBefore(i,s.node):"after"===r?s.node.parent.insertAfter(i,s.node):"inner"===r&&s.node.insertChild(i),"none"!==r&&(a.value.registerNode(i),a.value.key&&n.node.eachNode(e=>{var t;null==(t=a.value.nodesMap[e.data[a.value.key]])||t.setChecked(e.checked,!a.value.checkStrictly)})),Object(g["e"])(s.$el,o.is("drop-inner")),t.emit("node-drag-end",n.node,s.node,r,e),"none"!==r&&t.emit("node-drop",n.node,s.node,r,e)}n&&!s&&t.emit("node-drag-end",n.node,null,r,e),i.value.showDropIndicator=!1,i.value.draggingNode=null,i.value.dropNode=null,i.value.allowDrop=!0};return Object(s["provide"])(dC,{treeNodeDragStart:l,treeNodeDragOver:c,treeNodeDragEnd:u}),{dragState:i}}const hC=Object(s["defineComponent"])({name:"ElTreeNode",components:{ElCollapseTransition:tl,ElCheckbox:ei,NodeContent:cC,ElIcon:I["a"],Loading:G["Loading"]},props:{node:{type:iC,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:{type:Boolean,default:!1}},emits:["node-expand"],setup(e,t){const n=Object(b["d"])("tree"),{broadcastExpanded:r}=uC(e),a=Object(s["inject"])("RootTree"),o=Object(s["ref"])(!1),i=Object(s["ref"])(!1),l=Object(s["ref"])(null),c=Object(s["ref"])(null),u=Object(s["ref"])(null),d=Object(s["inject"])(dC),f=Object(s["getCurrentInstance"])();Object(s["provide"])("NodeInstance",f),a||Object(y["a"])("Tree","Can not find node's tree."),e.node.expanded&&(o.value=!0,i.value=!0);const h=a.props.props["children"]||"children";Object(s["watch"])(()=>{const t=e.node.data[h];return t&&[...t]},()=>{e.node.updateChildren()}),Object(s["watch"])(()=>e.node.indeterminate,t=>{v(e.node.checked,t)}),Object(s["watch"])(()=>e.node.checked,t=>{v(t,e.node.indeterminate)}),Object(s["watch"])(()=>e.node.childNodes.length,()=>e.node.reInitChecked()),Object(s["watch"])(()=>e.node.expanded,e=>{Object(s["nextTick"])(()=>o.value=e),e&&(i.value=!0)});const p=e=>eC(a.props.nodeKey,e.data),m=t=>{const n=e.props.class;if(!n)return{};let r;if(Object(te["isFunction"])(n)){const{data:e}=t;r=n(e,t)}else r=n;return Object(te["isString"])(r)?{[r]:!0}:r},v=(t,n)=>{l.value===t&&c.value===n||a.ctx.emit("check-change",e.node.data,t,n),l.value=t,c.value=n},g=t=>{tC(a.store,a.ctx.emit,()=>a.store.value.setCurrentNode(e.node)),a.currentNode.value=e.node,a.props.expandOnClickNode&&w(),a.props.checkOnClickNode&&!e.node.disabled&&_(null,{target:{checked:!e.node.checked}}),a.ctx.emit("node-click",e.node.data,e.node,f,t)},O=t=>{a.instance.vnode.props["onNodeContextmenu"]&&(t.stopPropagation(),t.preventDefault()),a.ctx.emit("node-contextmenu",t,e.node.data,e.node,f)},w=()=>{e.node.isLeaf||(o.value?(a.ctx.emit("node-collapse",e.node.data,e.node,f),e.node.collapse()):(e.node.expand(),t.emit("node-expand",e.node.data,e.node,f)))},_=(t,n)=>{e.node.setChecked(n.target.checked,!a.props.checkStrictly),Object(s["nextTick"])(()=>{const t=a.store.value;a.ctx.emit("check",e.node.data,{checkedNodes:t.getCheckedNodes(),checkedKeys:t.getCheckedKeys(),halfCheckedNodes:t.getHalfCheckedNodes(),halfCheckedKeys:t.getHalfCheckedKeys()})})},j=(e,t,n)=>{r(t),a.ctx.emit("node-expand",e,t,n)},k=t=>{a.props.draggable&&d.treeNodeDragStart({event:t,treeNode:e})},x=t=>{t.preventDefault(),a.props.draggable&&d.treeNodeDragOver({event:t,treeNode:{$el:u.value,node:e.node}})},S=e=>{e.preventDefault()},C=e=>{a.props.draggable&&d.treeNodeDragEnd(e)};return{ns:n,node$:u,tree:a,expanded:o,childNodeRendered:i,oldChecked:l,oldIndeterminate:c,getNodeKey:p,getNodeClass:m,handleSelectChange:v,handleClick:g,handleContextMenu:O,handleExpandIconClick:w,handleCheckChange:_,handleChildNodeExpand:j,handleDragStart:k,handleDragOver:x,handleDrop:S,handleDragEnd:C,CaretRight:G["CaretRight"]}}}),pC=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],mC=["aria-expanded"];function vC(e,t,n,r,a,o){const i=Object(s["resolveComponent"])("el-icon"),l=Object(s["resolveComponent"])("el-checkbox"),c=Object(s["resolveComponent"])("loading"),u=Object(s["resolveComponent"])("node-content"),d=Object(s["resolveComponent"])("el-tree-node"),f=Object(s["resolveComponent"])("el-collapse-transition");return Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{ref:"node$",class:Object(s["normalizeClass"])([e.ns.b("node"),e.ns.is("expanded",e.expanded),e.ns.is("current",e.node.isCurrent),e.ns.is("hidden",!e.node.visible),e.ns.is("focusable",!e.node.disabled),e.ns.is("checked",!e.node.disabled&&e.node.checked),e.getNodeClass(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.node.disabled,"aria-checked":e.node.checked,draggable:e.tree.props.draggable,"data-key":e.getNodeKey(e.node),onClick:t[1]||(t[1]=Object(s["withModifiers"])((...t)=>e.handleClick&&e.handleClick(...t),["stop"])),onContextmenu:t[2]||(t[2]=(...t)=>e.handleContextMenu&&e.handleContextMenu(...t)),onDragstart:t[3]||(t[3]=Object(s["withModifiers"])((...t)=>e.handleDragStart&&e.handleDragStart(...t),["stop"])),onDragover:t[4]||(t[4]=Object(s["withModifiers"])((...t)=>e.handleDragOver&&e.handleDragOver(...t),["stop"])),onDragend:t[5]||(t[5]=Object(s["withModifiers"])((...t)=>e.handleDragEnd&&e.handleDragEnd(...t),["stop"])),onDrop:t[6]||(t[6]=Object(s["withModifiers"])((...t)=>e.handleDrop&&e.handleDrop(...t),["stop"]))},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(e.ns.be("node","content")),style:Object(s["normalizeStyle"])({paddingLeft:(e.node.level-1)*e.tree.props.indent+"px"})},[e.tree.props.icon||e.CaretRight?(Object(s["openBlock"])(),Object(s["createBlock"])(i,{key:0,class:Object(s["normalizeClass"])([e.ns.be("node","expand-icon"),e.ns.is("leaf",e.node.isLeaf),{expanded:!e.node.isLeaf&&e.expanded}]),onClick:Object(s["withModifiers"])(e.handleExpandIconClick,["stop"])},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.tree.props.icon||e.CaretRight)))]),_:1},8,["class","onClick"])):Object(s["createCommentVNode"])("v-if",!0),e.showCheckbox?(Object(s["openBlock"])(),Object(s["createBlock"])(l,{key:1,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:!!e.node.disabled,onClick:t[0]||(t[0]=Object(s["withModifiers"])(()=>{},["stop"])),onChange:e.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):Object(s["createCommentVNode"])("v-if",!0),e.node.loading?(Object(s["openBlock"])(),Object(s["createBlock"])(i,{key:2,class:Object(s["normalizeClass"])([e.ns.be("node","loading-icon"),e.ns.is("loading")])},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(c)]),_:1},8,["class"])):Object(s["createCommentVNode"])("v-if",!0),Object(s["createVNode"])(u,{node:e.node,"render-content":e.renderContent},null,8,["node","render-content"])],6),Object(s["createVNode"])(f,null,{default:Object(s["withCtx"])(()=>[!e.renderAfterExpand||e.childNodeRendered?Object(s["withDirectives"])((Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded},[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e.node.childNodes,t=>(Object(s["openBlock"])(),Object(s["createBlock"])(d,{key:e.getNodeKey(t),"render-content":e.renderContent,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,node:t,accordion:e.accordion,props:e.props,onNodeExpand:e.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,mC)),[[s["vShow"],e.expanded]]):Object(s["createCommentVNode"])("v-if",!0)]),_:1})],42,pC)),[[s["vShow"],e.node.visible]])}var bC=Object(v["a"])(hC,[["render",vC],["__file","tree-node.vue"]]);function gC({el$:e},t){const n=Object(b["d"])("tree"),r=Object(s["shallowRef"])([]),a=Object(s["shallowRef"])([]);Object(s["onMounted"])(()=>{i()}),Object(s["onUpdated"])(()=>{r.value=Array.from(e.value.querySelectorAll("[role=treeitem]")),a.value=Array.from(e.value.querySelectorAll("input[type=checkbox]"))}),Object(s["watch"])(a,e=>{e.forEach(e=>{e.setAttribute("tabindex","-1")})});const o=a=>{const o=a.target;if(!o.className.includes(n.b("node")))return;const i=a.code;r.value=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`));const s=r.value.indexOf(o);let l;if([vt["a"].up,vt["a"].down].includes(i)){if(a.preventDefault(),i===vt["a"].up){l=-1===s?0:0!==s?s-1:r.value.length-1;const e=l;while(1){if(t.value.getNode(r.value[l].dataset.key).canFocus)break;if(l--,l===e){l=-1;break}l<0&&(l=r.value.length-1)}}else{l=-1===s?0:s<r.value.length-1?s+1:0;const e=l;while(1){if(t.value.getNode(r.value[l].dataset.key).canFocus)break;if(l++,l===e){l=-1;break}l>=r.value.length&&(l=0)}}-1!==l&&r.value[l].focus()}[vt["a"].left,vt["a"].right].includes(i)&&(a.preventDefault(),o.click());const c=o.querySelector('[type="checkbox"]');[vt["a"].enter,vt["a"].space].includes(i)&&c&&(a.preventDefault(),c.click())};Object(l["useEventListener"])(e,"keydown",o);const i=()=>{var t;r.value=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`)),a.value=Array.from(e.value.querySelectorAll("input[type=checkbox]"));const o=e.value.querySelectorAll(`.${n.is("checked")}[role=treeitem]`);o.length?o[0].setAttribute("tabindex","0"):null==(t=r.value[0])||t.setAttribute("tabindex","0")}}const yC=Object(s["defineComponent"])({name:"ElTree",components:{ElTreeNode:bC},props:{data:{type:Array,default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},icon:{type:F["e"]}},emits:["check-change","current-change","node-click","node-contextmenu","node-collapse","node-expand","check","node-drag-start","node-drag-end","node-drop","node-drag-leave","node-drag-enter","node-drag-over"],setup(e,t){const{t:n}=Object(Lr["b"])(),r=Object(b["d"])("tree"),a=Object(s["inject"])(kv,null),o=Object(s["ref"])(new sC({key:e.nodeKey,data:e.data,lazy:e.lazy,props:e.props,load:e.load,currentNodeKey:e.currentNodeKey,checkStrictly:e.checkStrictly,checkDescendants:e.checkDescendants,defaultCheckedKeys:e.defaultCheckedKeys,defaultExpandedKeys:e.defaultExpandedKeys,autoExpandParent:e.autoExpandParent,defaultExpandAll:e.defaultExpandAll,filterNodeMethod:e.filterNodeMethod}));o.value.initialize();const i=Object(s["ref"])(o.value.root),l=Object(s["ref"])(null),c=Object(s["ref"])(null),u=Object(s["ref"])(null),{broadcastExpanded:d}=uC(e),{dragState:f}=fC({props:e,ctx:t,el$:c,dropIndicator$:u,store:o});gC({el$:c},o);const h=Object(s["computed"])(()=>{const{childNodes:e}=i.value,t=!!a&&0!==a.hasFilteredOptions;return(!e||0===e.length||e.every(({visible:e})=>!e))&&!t});Object(s["watch"])(()=>e.currentNodeKey,e=>{o.value.setCurrentNodeKey(e)}),Object(s["watch"])(()=>e.defaultCheckedKeys,e=>{o.value.setDefaultCheckedKey(e)}),Object(s["watch"])(()=>e.defaultExpandedKeys,e=>{o.value.setDefaultExpandedKeys(e)}),Object(s["watch"])(()=>e.data,e=>{o.value.setData(e)},{deep:!0}),Object(s["watch"])(()=>e.checkStrictly,e=>{o.value.checkStrictly=e});const p=t=>{if(!e.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");o.value.filter(t)},m=t=>eC(e.nodeKey,t.data),v=t=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const n=o.value.getNode(t);if(!n)return[];const r=[n.data];let a=n.parent;while(a&&a!==i.value)r.push(a.data),a=a.parent;return r.reverse()},g=(e,t)=>o.value.getCheckedNodes(e,t),y=e=>o.value.getCheckedKeys(e),O=()=>{const e=o.value.getCurrentNode();return e?e.data:null},w=()=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const t=O();return t?t[e.nodeKey]:null},_=(t,n)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");o.value.setCheckedNodes(t,n)},j=(t,n)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");o.value.setCheckedKeys(t,n)},k=(e,t,n)=>{o.value.setChecked(e,t,n)},x=()=>o.value.getHalfCheckedNodes(),S=()=>o.value.getHalfCheckedKeys(),C=(n,r=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");tC(o,t.emit,()=>o.value.setUserCurrentNode(n,r))},M=(n,r=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");tC(o,t.emit,()=>o.value.setCurrentNodeKey(n,r))},A=e=>o.value.getNode(e),T=e=>{o.value.remove(e)},E=(e,t)=>{o.value.append(e,t)},L=(e,t)=>{o.value.insertBefore(e,t)},P=(e,t)=>{o.value.insertAfter(e,t)},D=(e,n,r)=>{d(n),t.emit("node-expand",e,n,r)},N=(t,n)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");o.value.updateChildren(t,n)};return Object(s["provide"])("RootTree",{ctx:t,props:e,store:o,root:i,currentNode:l,instance:Object(s["getCurrentInstance"])()}),Object(s["provide"])(fe,void 0),{ns:r,store:o,root:i,currentNode:l,dragState:f,el$:c,dropIndicator$:u,isEmpty:h,filter:p,getNodeKey:m,getNodePath:v,getCheckedNodes:g,getCheckedKeys:y,getCurrentNode:O,getCurrentKey:w,setCheckedNodes:_,setCheckedKeys:j,setChecked:k,getHalfCheckedNodes:x,getHalfCheckedKeys:S,setCurrentNode:C,setCurrentKey:M,t:n,getNode:A,remove:T,append:E,insertBefore:L,insertAfter:P,handleNodeExpand:D,updateKeyChildren:N}}});function OC(e,t,n,r,a,o){const i=Object(s["resolveComponent"])("el-tree-node");return Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{ref:"el$",class:Object(s["normalizeClass"])([e.ns.b(),e.ns.is("dragging",!!e.dragState.draggingNode),e.ns.is("drop-not-allow",!e.dragState.allowDrop),e.ns.is("drop-inner","inner"===e.dragState.dropType),{[e.ns.m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e.root.childNodes,t=>(Object(s["openBlock"])(),Object(s["createBlock"])(i,{key:e.getNodeKey(t),node:t,props:e.props,accordion:e.accordion,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"render-content":e.renderContent,onNodeExpand:e.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),e.isEmpty?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(e.ns.e("empty-block"))},[Object(s["renderSlot"])(e.$slots,"empty",{},()=>{var t;return[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(e.ns.e("empty-text"))},Object(s["toDisplayString"])(null!=(t=e.emptyText)?t:e.t("el.tree.emptyText")),3)]})],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["withDirectives"])(Object(s["createElementVNode"])("div",{ref:"dropIndicator$",class:Object(s["normalizeClass"])(e.ns.e("drop-indicator"))},null,2),[[s["vShow"],e.dragState.showDropIndicator]])],2)}var wC=Object(v["a"])(yC,[["render",OC],["__file","tree.vue"]]);wC.install=e=>{e.component(wC.name,wC)};const _C=wC,jC=_C,kC=(e,{attrs:t,emit:n},{select:r,tree:a,key:o})=>{const i=Object(b["d"])("tree-select");Object(s["watch"])(()=>e.data,()=>{e.filterable&&Object(s["nextTick"])(()=>{var e,t;null==(t=a.value)||t.filter(null==(e=r.value)?void 0:e.states.inputValue)})},{flush:"post"});const l={...Object(q["pick"])(Object(s["toRefs"])(e),Object.keys(Gv.props)),...t,"onUpdate:modelValue":e=>n(d,e),valueKey:o,popperClass:Object(s["computed"])(()=>{const t=[i.e("popper")];return e.popperClass&&t.push(e.popperClass),t.join(" ")}),filterMethod:(t="")=>{var n;e.filterMethod?e.filterMethod(t):e.remoteMethod?e.remoteMethod(t):null==(n=a.value)||n.filter(t)}};return l},xC=Object(s["defineComponent"])({extends:Xv,setup(e,t){const n=Xv.setup(e,t);delete n.selectOptionClick;const r=Object(s["getCurrentInstance"])().proxy;return Object(s["nextTick"])(()=>{n.select.states.cachedOptions.get(r.value)||n.select.onOptionCreate(r)}),n},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function SC(e){return e||0===e}function CC(e){return Array.isArray(e)&&e.length}function MC(e){return Array.isArray(e)?e:SC(e)?[e]:[]}function AC(e,t,n,r,a){for(let o=0;o<e.length;o++){const i=e[o];if(t(i,o,e,a))return r?r(i,o,e,a):i;{const e=n(i);if(CC(e)){const a=AC(e,t,n,r,i);if(a)return a}}}}function TC(e,t,n,r){for(let a=0;a<e.length;a++){const o=e[a];t(o,a,e,r);const i=n(o);CC(i)&&TC(i,t,n,o)}}const EC=(e,{attrs:t,slots:n,emit:r},{select:a,tree:o,key:i})=>{Object(s["watch"])(()=>e.modelValue,()=>{e.showCheckbox&&Object(s["nextTick"])(()=>{const t=o.value;t&&!Object(q["isEqual"])(t.getCheckedKeys(),MC(e.modelValue))&&t.setCheckedKeys(MC(e.modelValue))})},{immediate:!0,deep:!0});const l=Object(s["computed"])(()=>({value:i.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...e.props})),c=(e,t)=>{var n;const r=l.value[e];return Object(te["isFunction"])(r)?r(t,null==(n=o.value)?void 0:n.getNode(c("value",t))):t[r]},u=MC(e.modelValue).map(t=>AC(e.data||[],e=>c("value",e)===t,e=>c("children",e),(e,t,n,r)=>r&&c("value",r))).filter(e=>SC(e)),f=Object(s["computed"])(()=>{if(!e.renderAfterExpand&&!e.lazy)return[];const t=[];return TC(e.data.concat(e.cacheData),e=>{const n=c("value",e);t.push({value:n,currentLabel:c("label",e),isDisabled:c("disabled",e)})},e=>c("children",e)),t});return{...Object(q["pick"])(Object(s["toRefs"])(e),Object.keys(_C.props)),...t,nodeKey:i,expandOnClickNode:Object(s["computed"])(()=>!e.checkStrictly&&e.expandOnClickNode),defaultExpandedKeys:Object(s["computed"])(()=>e.defaultExpandedKeys?e.defaultExpandedKeys.concat(u):u),renderContent:(t,{node:r,data:a,store:o})=>t(xC,{value:c("value",a),label:c("label",a),disabled:c("disabled",a)},e.renderContent?()=>e.renderContent(t,{node:r,data:a,store:o}):n.default?()=>n.default({node:r,data:a,store:o}):void 0),filterNodeMethod:(t,n,r)=>{if(e.filterNodeMethod)return e.filterNodeMethod(t,n,r);if(!t)return!0;const a=new RegExp(Object(Ri["b"])(t),"i");return a.test(c("label",n)||"")},onNodeClick:(n,r,o)=>{var i,s,l,u;if(null==(i=t.onNodeClick)||i.call(t,n,r,o),!e.showCheckbox||!e.checkOnClickNode){if(e.showCheckbox||!e.checkStrictly&&!r.isLeaf)e.expandOnClickNode&&o.proxy.handleExpandIconClick();else if(!c("disabled",n)){const e=null==(s=a.value)?void 0:s.states.options.get(c("value",n));null==(l=a.value)||l.handleOptionSelect(e)}null==(u=a.value)||u.focus()}},onCheck:(n,i)=>{var l;if(!e.showCheckbox)return;const u=c("value",n),f={};TC([o.value.store.root],e=>f[e.key]=e,e=>e.childNodes);const h=i.checkedKeys,p=e.multiple?MC(e.modelValue).filter(e=>!(e in f)&&!h.includes(e)):[],m=p.concat(h);if(e.checkStrictly)r(d,e.multiple?m:m.includes(u)?u:void 0);else if(e.multiple)r(d,p.concat(o.value.getCheckedKeys(!0)));else{const t=AC([n],e=>!CC(c("children",e))&&!c("disabled",e),e=>c("children",e)),a=t?c("value",t):void 0,o=SC(e.modelValue)&&!!AC([n],t=>c("value",t)===e.modelValue,e=>c("children",e));r(d,a===e.modelValue||o?void 0:a)}Object(s["nextTick"])(()=>{var r;const a=MC(e.modelValue);o.value.setCheckedKeys(a),null==(r=t.onCheck)||r.call(t,n,{checkedKeys:o.value.getCheckedKeys(),checkedNodes:o.value.getCheckedNodes(),halfCheckedKeys:o.value.getHalfCheckedKeys(),halfCheckedNodes:o.value.getHalfCheckedNodes()})}),null==(l=a.value)||l.focus()},cacheOptions:f}};var LC=Object(s["defineComponent"])({props:{data:{type:Array,default:()=>[]}},setup(e){const t=Object(s["inject"])(kv);return Object(s["watch"])(()=>e.data,()=>{var n;e.data.forEach(e=>{t.states.cachedOptions.has(e.value)||t.states.cachedOptions.set(e.value,e)});const r=(null==(n=t.selectRef)?void 0:n.querySelectorAll("input"))||[];Array.from(r).includes(document.activeElement)||t.setSelected()},{flush:"post",immediate:!0}),()=>{}}});const PC=Object(s["defineComponent"])({name:"ElTreeSelect",inheritAttrs:!1,props:{...Gv.props,..._C.props,cacheData:{type:Array,default:()=>[]}},setup(e,t){const{slots:n,expose:r}=t,a=Object(s["ref"])(),o=Object(s["ref"])(),i=Object(s["computed"])(()=>e.nodeKey||e.valueKey||"value"),l=kC(e,t,{select:a,tree:o,key:i}),{cacheOptions:c,...u}=EC(e,t,{select:a,tree:o,key:i}),d=Object(s["reactive"])({});return r(d),Object(s["onMounted"])(()=>{Object.assign(d,{...Object(q["pick"])(o.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...Object(q["pick"])(a.value,["focus","blur"])})}),()=>Object(s["h"])(Gv,Object(s["reactive"])({...l,ref:e=>a.value=e}),{...n,default:()=>[Object(s["h"])(LC,{data:c.value}),Object(s["h"])(_C,Object(s["reactive"])({...u,ref:e=>o.value=e}))]})}});var DC=Object(v["a"])(PC,[["__file","tree-select.vue"]]);DC.install=e=>{e.component(DC.name,DC)};const NC=DC,RC=NC,IC=Symbol(),BC={key:-1,level:-1,data:{}};var FC=(e=>(e["KEY"]="id",e["LABEL"]="label",e["CHILDREN"]="children",e["DISABLED"]="disabled",e))(FC||{}),VC=(e=>(e["ADD"]="add",e["DELETE"]="delete",e))(VC||{});const zC={type:Number,default:26},HC=Object(c["b"])({data:{type:Object(c["c"])(Array),default:()=>Object(re["a"])([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:Object(c["c"])(Object),default:()=>Object(re["a"])({children:"children",label:"label",disabled:"disabled",value:"id"})},highlightCurrent:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},defaultCheckedKeys:{type:Object(c["c"])(Array),default:()=>Object(re["a"])([])},checkStrictly:{type:Boolean,default:!1},defaultExpandedKeys:{type:Object(c["c"])(Array),default:()=>Object(re["a"])([])},indent:{type:Number,default:16},itemSize:zC,icon:{type:F["e"]},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:{type:Boolean,default:!1},currentNodeKey:{type:Object(c["c"])([String,Number])},accordion:{type:Boolean,default:!1},filterMethod:{type:Object(c["c"])(Function)},perfMode:{type:Boolean,default:!0}}),YC=Object(c["b"])({node:{type:Object(c["c"])(Object),default:()=>Object(re["a"])(BC)},expanded:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},current:{type:Boolean,default:!1},hiddenExpandIcon:{type:Boolean,default:!1},itemSize:zC}),UC=Object(c["b"])({node:{type:Object(c["c"])(Object),required:!0}}),WC="node-click",$C="node-expand",qC="node-collapse",GC="current-change",XC="check",KC="check-change",JC="node-contextmenu",ZC={[WC]:(e,t,n)=>e&&t&&n,[$C]:(e,t)=>e&&t,[qC]:(e,t)=>e&&t,[GC]:(e,t)=>e&&t,[XC]:(e,t)=>e&&t,[KC]:(e,t)=>e&&"boolean"===typeof t,[JC]:(e,t,n)=>e&&t&&n},QC={click:(e,t)=>!(!e||!t),toggle:e=>!!e,check:(e,t)=>e&&"boolean"===typeof t};function eM(e,t){const n=Object(s["ref"])(new Set),r=Object(s["ref"])(new Set),{emit:a}=Object(s["getCurrentInstance"])();Object(s["watch"])([()=>t.value,()=>e.defaultCheckedKeys],()=>Object(s["nextTick"])(()=>{y(e.defaultCheckedKeys)}),{immediate:!0});const o=()=>{if(!t.value||!e.showCheckbox||e.checkStrictly)return;const{levelTreeNodeMap:a,maxLevel:o}=t.value,i=n.value,s=new Set;for(let e=o-1;e>=1;--e){const t=a.get(e);t&&t.forEach(e=>{const t=e.children;if(t){let n=!0,r=!1;for(const e of t){const t=e.key;if(i.has(t))r=!0;else{if(s.has(t)){n=!1,r=!0;break}n=!1}}n?i.add(e.key):r?(s.add(e.key),i.delete(e.key)):(i.delete(e.key),s.delete(e.key))}})}r.value=s},i=e=>n.value.has(e.key),l=e=>r.value.has(e.key),c=(t,r,a=!0)=>{const i=n.value,s=(t,n)=>{i[n?VC.ADD:VC.DELETE](t.key);const r=t.children;!e.checkStrictly&&r&&r.forEach(e=>{e.disabled||s(e,n)})};s(t,r),o(),a&&u(t,r)},u=(e,t)=>{const{checkedNodes:n,checkedKeys:r}=m(),{halfCheckedNodes:o,halfCheckedKeys:i}=v();a(XC,e.data,{checkedKeys:r,checkedNodes:n,halfCheckedKeys:i,halfCheckedNodes:o}),a(KC,e.data,t)};function d(e=!1){return m(e).checkedKeys}function f(e=!1){return m(e).checkedNodes}function h(){return v().halfCheckedKeys}function p(){return v().halfCheckedNodes}function m(r=!1){const a=[],o=[];if((null==t?void 0:t.value)&&e.showCheckbox){const{treeNodeMap:e}=t.value;n.value.forEach(t=>{const n=e.get(t);n&&(!r||r&&n.isLeaf)&&(o.push(t),a.push(n.data))})}return{checkedKeys:o,checkedNodes:a}}function v(){const n=[],a=[];if((null==t?void 0:t.value)&&e.showCheckbox){const{treeNodeMap:e}=t.value;r.value.forEach(t=>{const r=e.get(t);r&&(a.push(t),n.push(r.data))})}return{halfCheckedNodes:n,halfCheckedKeys:a}}function b(e){n.value.clear(),r.value.clear(),Object(s["nextTick"])(()=>{y(e)})}function g(n,r){if((null==t?void 0:t.value)&&e.showCheckbox){const e=t.value.treeNodeMap.get(n);e&&c(e,r,!1)}}function y(n){if(null==t?void 0:t.value){const{treeNodeMap:r}=t.value;if(e.showCheckbox&&r&&n)for(const e of n){const t=r.get(e);t&&!i(t)&&c(t,!0,!1)}}}return{updateCheckedKeys:o,toggleCheckbox:c,isChecked:i,isIndeterminate:l,getCheckedKeys:d,getCheckedNodes:f,getHalfCheckedKeys:h,getHalfCheckedNodes:p,setChecked:g,setCheckedKeys:b}}function tM(e,t){const n=Object(s["ref"])(new Set([])),r=Object(s["ref"])(new Set([])),a=Object(s["computed"])(()=>Object(te["isFunction"])(e.filterMethod));function o(o){var i;if(!a.value)return;const s=new Set,l=r.value,c=n.value,u=[],d=(null==(i=t.value)?void 0:i.treeNodes)||[],f=e.filterMethod;function h(e){e.forEach(e=>{u.push(e),(null==f?void 0:f(o,e.data))?u.forEach(e=>{s.add(e.key)}):e.isLeaf&&c.add(e.key);const t=e.children;if(t&&h(t),!e.isLeaf)if(s.has(e.key)){if(t){let n=!0;for(const e of t)if(!c.has(e.key)){n=!1;break}n?l.add(e.key):l.delete(e.key)}}else c.add(e.key);u.pop()})}return c.clear(),h(d),s}function i(e){return r.value.has(e.key)}return{hiddenExpandIconKeySet:r,hiddenNodeKeySet:n,doFilter:o,isForceHiddenExpandIcon:i}}function nM(e,t){const n=Object(s["ref"])(new Set(e.defaultExpandedKeys)),r=Object(s["ref"])(),a=Object(s["shallowRef"])();Object(s["watch"])(()=>e.currentNodeKey,e=>{r.value=e},{immediate:!0}),Object(s["watch"])(()=>e.data,e=>{Y(e)},{immediate:!0});const{isIndeterminate:o,isChecked:i,toggleCheckbox:l,getCheckedKeys:c,getCheckedNodes:u,getHalfCheckedKeys:d,getHalfCheckedNodes:f,setChecked:h,setCheckedKeys:p}=eM(e,a),{doFilter:m,hiddenNodeKeySet:v,isForceHiddenExpandIcon:b}=tM(e,a),g=Object(s["computed"])(()=>{var t;return(null==(t=e.props)?void 0:t.value)||FC.KEY}),y=Object(s["computed"])(()=>{var t;return(null==(t=e.props)?void 0:t.children)||FC.CHILDREN}),O=Object(s["computed"])(()=>{var t;return(null==(t=e.props)?void 0:t.disabled)||FC.DISABLED}),w=Object(s["computed"])(()=>{var t;return(null==(t=e.props)?void 0:t.label)||FC.LABEL}),_=Object(s["computed"])(()=>{const e=n.value,t=v.value,r=[],o=a.value&&a.value.treeNodes||[];function i(){const n=[];for(let e=o.length-1;e>=0;--e)n.push(o[e]);while(n.length){const a=n.pop();if(a&&(t.has(a.key)||r.push(a),e.has(a.key))){const e=a.children;if(e){const t=e.length;for(let r=t-1;r>=0;--r)n.push(e[r])}}}}return i(),r}),j=Object(s["computed"])(()=>_.value.length>0);function k(e){const t=new Map,n=new Map;let r=1;function a(e,o=1,i){var s;const l=[];for(const r of e){const e=C(r),c={level:o,key:e,data:r};c.label=A(r),c.parent=i;const u=S(r);c.disabled=M(r),c.isLeaf=!u||0===u.length,u&&u.length&&(c.children=a(u,o+1,c)),l.push(c),t.set(e,c),n.has(o)||n.set(o,[]),null==(s=n.get(o))||s.push(c)}return o>r&&(r=o),l}const o=a(e);return{treeNodeMap:t,levelTreeNodeMap:n,maxLevel:r,treeNodes:o}}function x(e){const t=m(e);t&&(n.value=t)}function S(e){return e[y.value]}function C(e){return e?e[g.value]:""}function M(e){return e[O.value]}function A(e){return e[w.value]}function T(e){const t=n.value;t.has(e.key)?R(e):N(e)}function E(e){n.value=new Set(e)}function L(n,r){t(WC,n.data,n,r),P(n),e.expandOnClickNode&&T(n),e.showCheckbox&&e.checkOnClickNode&&!n.disabled&&l(n,!i(n),!0)}function P(e){F(e)||(r.value=e.key,t(GC,e.data,e))}function D(e,t){l(e,t)}function N(r){const o=n.value;if(a.value&&e.accordion){const{treeNodeMap:e}=a.value;o.forEach(t=>{const n=e.get(t);r&&r.level===(null==n?void 0:n.level)&&o.delete(t)})}o.add(r.key),t($C,r.data,r)}function R(e){n.value.delete(e.key),t(qC,e.data,e)}function I(e){return n.value.has(e.key)}function B(e){return!!e.disabled}function F(e){const t=r.value;return void 0!==t&&t===e.key}function V(){var e,t;if(r.value)return null==(t=null==(e=a.value)?void 0:e.treeNodeMap.get(r.value))?void 0:t.data}function z(){return r.value}function H(e){r.value=e}function Y(e){Object(s["nextTick"])(()=>a.value=k(e))}function U(e){var t;const n=Object(te["isObject"])(e)?C(e):e;return null==(t=a.value)?void 0:t.treeNodeMap.get(n)}return{tree:a,flattenTree:_,isNotEmpty:j,getKey:C,getChildren:S,toggleExpand:T,toggleCheckbox:l,isExpanded:I,isChecked:i,isIndeterminate:o,isDisabled:B,isCurrent:F,isForceHiddenExpandIcon:b,handleNodeClick:L,handleNodeCheck:D,getCurrentNode:V,getCurrentKey:z,setCurrentKey:H,getCheckedKeys:c,getCheckedNodes:u,getHalfCheckedKeys:d,getHalfCheckedNodes:f,setChecked:h,setCheckedKeys:p,filter:x,setData:Y,getNode:U,expandNode:N,collapseNode:R,setExpandedKeys:E}}var rM=Object(s["defineComponent"])({name:"ElTreeNodeContent",props:UC,setup(e){const t=Object(s["inject"])(IC),n=Object(b["d"])("tree");return()=>{const r=e.node,{data:a}=r;return(null==t?void 0:t.ctx.slots.default)?t.ctx.slots.default({node:r,data:a}):Object(s["h"])("span",{class:n.be("node","label")},[null==r?void 0:r.label])}}});const aM=["aria-expanded","aria-disabled","aria-checked","data-key","onClick"],oM=Object(s["defineComponent"])({name:"ElTreeNode"}),iM=Object(s["defineComponent"])({...oM,props:YC,emits:QC,setup(e,{emit:t}){const n=e,r=Object(s["inject"])(IC),a=Object(b["d"])("tree"),o=Object(s["computed"])(()=>{var e;return null!=(e=null==r?void 0:r.props.indent)?e:16}),i=Object(s["computed"])(()=>{var e;return null!=(e=null==r?void 0:r.props.icon)?e:G["CaretRight"]}),l=e=>{t("click",n.node,e)},c=()=>{t("toggle",n.node)},u=e=>{t("check",n.node,e)},d=e=>{var t,a,o,i;(null==(o=null==(a=null==(t=null==r?void 0:r.instance)?void 0:t.vnode)?void 0:a.props)?void 0:o["onNodeContextmenu"])&&(e.stopPropagation(),e.preventDefault()),null==r||r.ctx.emit(JC,e,null==(i=n.node)?void 0:i.data,n.node)};return(e,t)=>{var n,r,f;return Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{ref:"node$",class:Object(s["normalizeClass"])([Object(s["unref"])(a).b("node"),Object(s["unref"])(a).is("expanded",e.expanded),Object(s["unref"])(a).is("current",e.current),Object(s["unref"])(a).is("focusable",!e.disabled),Object(s["unref"])(a).is("checked",!e.disabled&&e.checked)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.disabled,"aria-checked":e.checked,"data-key":null==(n=e.node)?void 0:n.key,onClick:Object(s["withModifiers"])(l,["stop"]),onContextmenu:d},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).be("node","content")),style:Object(s["normalizeStyle"])({paddingLeft:(e.node.level-1)*Object(s["unref"])(o)+"px",height:e.itemSize+"px"})},[Object(s["unref"])(i)?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0,class:Object(s["normalizeClass"])([Object(s["unref"])(a).is("leaf",!!(null==(r=e.node)?void 0:r.isLeaf)),Object(s["unref"])(a).is("hidden",e.hiddenExpandIcon),{expanded:!(null==(f=e.node)?void 0:f.isLeaf)&&e.expanded},Object(s["unref"])(a).be("node","expand-icon")]),onClick:Object(s["withModifiers"])(c,["stop"])},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(Object(s["unref"])(i))))]),_:1},8,["class","onClick"])):Object(s["createCommentVNode"])("v-if",!0),e.showCheckbox?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(ei),{key:1,"model-value":e.checked,indeterminate:e.indeterminate,disabled:e.disabled,onChange:u,onClick:t[0]||(t[0]=Object(s["withModifiers"])(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled"])):Object(s["createCommentVNode"])("v-if",!0),Object(s["createVNode"])(Object(s["unref"])(rM),{node:e.node},null,8,["node"])],6)],42,aM)}}});var sM=Object(v["a"])(iM,[["__file","tree-node.vue"]]);const lM=Object(s["defineComponent"])({name:"ElTreeV2"}),cM=Object(s["defineComponent"])({...lM,props:HC,emits:ZC,setup(e,{expose:t,emit:n}){const r=e,a=Object(s["useSlots"])(),o=Object(s["computed"])(()=>r.itemSize);Object(s["provide"])(IC,{ctx:{emit:n,slots:a},props:r,instance:Object(s["getCurrentInstance"])()}),Object(s["provide"])(fe,void 0);const{t:i}=Object(Lr["b"])(),l=Object(b["d"])("tree"),{flattenTree:c,isNotEmpty:u,toggleExpand:d,isExpanded:f,isIndeterminate:h,isChecked:p,isDisabled:m,isCurrent:v,isForceHiddenExpandIcon:g,handleNodeClick:y,handleNodeCheck:O,toggleCheckbox:w,getCurrentNode:_,getCurrentKey:j,setCurrentKey:k,getCheckedKeys:x,getCheckedNodes:S,getHalfCheckedKeys:C,getHalfCheckedNodes:M,setChecked:A,setCheckedKeys:T,filter:E,setData:L,getNode:P,expandNode:D,collapseNode:N,setExpandedKeys:R}=nM(r,n);return t({toggleCheckbox:w,getCurrentNode:_,getCurrentKey:j,setCurrentKey:k,getCheckedKeys:x,getCheckedNodes:S,getHalfCheckedKeys:C,getHalfCheckedNodes:M,setChecked:A,setCheckedKeys:T,filter:E,setData:L,getNode:P,expandNode:D,collapseNode:N,setExpandedKeys:R}),(e,t)=>{var n;return Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(l).b(),{[Object(s["unref"])(l).m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[Object(s["unref"])(u)?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(My),{key:0,"class-name":Object(s["unref"])(l).b("virtual-list"),data:Object(s["unref"])(c),total:Object(s["unref"])(c).length,height:e.height,"item-size":Object(s["unref"])(o),"perf-mode":e.perfMode},{default:Object(s["withCtx"])(({data:t,index:n,style:r})=>[(Object(s["openBlock"])(),Object(s["createBlock"])(sM,{key:t[n].key,style:Object(s["normalizeStyle"])(r),node:t[n],expanded:Object(s["unref"])(f)(t[n]),"show-checkbox":e.showCheckbox,checked:Object(s["unref"])(p)(t[n]),indeterminate:Object(s["unref"])(h)(t[n]),"item-size":Object(s["unref"])(o),disabled:Object(s["unref"])(m)(t[n]),current:Object(s["unref"])(v)(t[n]),"hidden-expand-icon":Object(s["unref"])(g)(t[n]),onClick:Object(s["unref"])(y),onToggle:Object(s["unref"])(d),onCheck:Object(s["unref"])(O)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode"])):(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,class:Object(s["normalizeClass"])(Object(s["unref"])(l).e("empty-block"))},[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(l).e("empty-text"))},Object(s["toDisplayString"])(null!=(n=e.emptyText)?n:Object(s["unref"])(i)("el.tree.emptyText")),3)],2))],2)}}});var uM=Object(v["a"])(cM,[["__file","tree.vue"]]);const dM=Object(N["a"])(uM),fM=Symbol("uploadContextKey"),hM="ElUpload";class pM extends Error{constructor(e,t,n,r){super(e),this.name="UploadAjaxError",this.status=t,this.method=n,this.url=r}}function mM(e,t,n){let r;return r=n.response?""+(n.response.error||n.response):n.responseText?""+n.responseText:`fail to ${t.method} ${e} ${n.status}`,new pM(r,n.status,t.method,e)}function vM(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(n){return t}}const bM=e=>{"undefined"===typeof XMLHttpRequest&&Object(y["b"])(hM,"XMLHttpRequest is undefined");const t=new XMLHttpRequest,n=e.action;t.upload&&t.upload.addEventListener("progress",t=>{const n=t;n.percent=t.total>0?t.loaded/t.total*100:0,e.onProgress(n)});const r=new FormData;if(e.data)for(const[o,i]of Object.entries(e.data))Object(te["isArray"])(i)&&i.length?r.append(o,...i):r.append(o,i);r.append(e.filename,e.file,e.file.name),t.addEventListener("error",()=>{e.onError(mM(n,e,t))}),t.addEventListener("load",()=>{if(t.status<200||t.status>=300)return e.onError(mM(n,e,t));e.onSuccess(vM(t))}),t.open(e.method,n,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const a=e.headers||{};if(a instanceof Headers)a.forEach((e,n)=>t.setRequestHeader(n,e));else for(const[o,i]of Object.entries(a))Object(q["isNil"])(i)||t.setRequestHeader(o,String(i));return t.send(r),t},gM=["text","picture","picture-card"];let yM=1;const OM=()=>Date.now()+yM++,wM=Object(c["b"])({action:{type:String,default:"#"},headers:{type:Object(c["c"])(Object)},method:{type:String,default:"post"},data:{type:Object(c["c"])([Object,Function,Promise]),default:()=>Object(re["a"])({})},multiple:{type:Boolean,default:!1},name:{type:String,default:"file"},drag:{type:Boolean,default:!1},withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:Object(c["c"])(Array),default:()=>Object(re["a"])([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:gM,default:"text"},httpRequest:{type:Object(c["c"])(Function),default:bM},disabled:Boolean,limit:Number}),_M=Object(c["b"])({...wM,beforeUpload:{type:Object(c["c"])(Function),default:te["NOOP"]},beforeRemove:{type:Object(c["c"])(Function)},onRemove:{type:Object(c["c"])(Function),default:te["NOOP"]},onChange:{type:Object(c["c"])(Function),default:te["NOOP"]},onPreview:{type:Object(c["c"])(Function),default:te["NOOP"]},onSuccess:{type:Object(c["c"])(Function),default:te["NOOP"]},onProgress:{type:Object(c["c"])(Function),default:te["NOOP"]},onError:{type:Object(c["c"])(Function),default:te["NOOP"]},onExceed:{type:Object(c["c"])(Function),default:te["NOOP"]},crossorigin:{type:Object(c["c"])(String)}}),jM=Object(c["b"])({files:{type:Object(c["c"])(Array),default:()=>Object(re["a"])([])},disabled:{type:Boolean,default:!1},handlePreview:{type:Object(c["c"])(Function),default:te["NOOP"]},listType:{type:String,values:gM,default:"text"},crossorigin:{type:Object(c["c"])(String)}}),kM={remove:e=>!!e},xM=["onKeydown"],SM=["src","crossorigin"],CM=["onClick"],MM=["title"],AM=["onClick"],TM=["onClick"],EM=Object(s["defineComponent"])({name:"ElUploadList"}),LM=Object(s["defineComponent"])({...EM,props:jM,emits:kM,setup(e,{emit:t}){const n=e,{t:r}=Object(Lr["b"])(),a=Object(b["d"])("upload"),o=Object(b["d"])("icon"),i=Object(b["d"])("list"),l=we(),c=Object(s["ref"])(!1),u=Object(s["computed"])(()=>[a.b("list"),a.bm("list",n.listType),a.is("disabled",n.disabled)]),d=e=>{t("remove",e)};return(e,t)=>(Object(s["openBlock"])(),Object(s["createBlock"])(s["TransitionGroup"],{tag:"ul",class:Object(s["normalizeClass"])(Object(s["unref"])(u)),name:Object(s["unref"])(i).b()},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e.files,n=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("li",{key:n.uid||n.name,class:Object(s["normalizeClass"])([Object(s["unref"])(a).be("list","item"),Object(s["unref"])(a).is(n.status),{focusing:c.value}]),tabindex:"0",onKeydown:Object(s["withKeys"])(e=>!Object(s["unref"])(l)&&d(n),["delete"]),onFocus:t[0]||(t[0]=e=>c.value=!0),onBlur:t[1]||(t[1]=e=>c.value=!1),onClick:t[2]||(t[2]=e=>c.value=!1)},[Object(s["renderSlot"])(e.$slots,"default",{file:n},()=>["picture"===e.listType||"uploading"!==n.status&&"picture-card"===e.listType?(Object(s["openBlock"])(),Object(s["createElementBlock"])("img",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(a).be("list","item-thumbnail")),src:n.url,crossorigin:e.crossorigin,alt:""},null,10,SM)):Object(s["createCommentVNode"])("v-if",!0),"uploading"===n.status||"picture-card"!==e.listType?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,class:Object(s["normalizeClass"])(Object(s["unref"])(a).be("list","item-info"))},[Object(s["createElementVNode"])("a",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).be("list","item-name")),onClick:Object(s["withModifiers"])(t=>e.handlePreview(n),["prevent"])},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),{class:Object(s["normalizeClass"])(Object(s["unref"])(o).m("document"))},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["Document"]))]),_:1},8,["class"]),Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).be("list","item-file-name")),title:n.name},Object(s["toDisplayString"])(n.name),11,MM)],10,CM),"uploading"===n.status?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(eg),{key:0,type:"picture-card"===e.listType?"circle":"line","stroke-width":"picture-card"===e.listType?6:2,percentage:Number(n.percentage),style:Object(s["normalizeStyle"])("picture-card"===e.listType?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):Object(s["createCommentVNode"])("v-if",!0)],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("label",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).be("list","item-status-label"))},["text"===e.listType?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:0,class:Object(s["normalizeClass"])([Object(s["unref"])(o).m("upload-success"),Object(s["unref"])(o).m("circle-check")])},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["CircleCheck"]))]),_:1},8,["class"])):["picture-card","picture"].includes(e.listType)?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:1,class:Object(s["normalizeClass"])([Object(s["unref"])(o).m("upload-success"),Object(s["unref"])(o).m("check")])},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["Check"]))]),_:1},8,["class"])):Object(s["createCommentVNode"])("v-if",!0)],2),Object(s["unref"])(l)?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(I["a"]),{key:2,class:Object(s["normalizeClass"])(Object(s["unref"])(o).m("close")),onClick:e=>d(n)},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["Close"]))]),_:2},1032,["class","onClick"])),Object(s["createCommentVNode"])(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),Object(s["createCommentVNode"])(" This is a bug which needs to be fixed "),Object(s["createCommentVNode"])(" TODO: Fix the incorrect navigation interaction "),Object(s["unref"])(l)?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])("i",{key:3,class:Object(s["normalizeClass"])(Object(s["unref"])(o).m("close-tip"))},Object(s["toDisplayString"])(Object(s["unref"])(r)("el.upload.deleteTip")),3)),"picture-card"===e.listType?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:4,class:Object(s["normalizeClass"])(Object(s["unref"])(a).be("list","item-actions"))},[Object(s["createElementVNode"])("span",{class:Object(s["normalizeClass"])(Object(s["unref"])(a).be("list","item-preview")),onClick:t=>e.handlePreview(n)},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),{class:Object(s["normalizeClass"])(Object(s["unref"])(o).m("zoom-in"))},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["ZoomIn"]))]),_:1},8,["class"])],10,AM),Object(s["unref"])(l)?Object(s["createCommentVNode"])("v-if",!0):(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(a).be("list","item-delete")),onClick:e=>d(n)},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),{class:Object(s["normalizeClass"])(Object(s["unref"])(o).m("delete"))},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(G["Delete"]))]),_:1},8,["class"])],10,TM))],2)):Object(s["createCommentVNode"])("v-if",!0)])],42,xM))),128)),Object(s["renderSlot"])(e.$slots,"append")]),_:3},8,["class","name"]))}});var PM=Object(v["a"])(LM,[["__file","upload-list.vue"]]);const DM=Object(c["b"])({disabled:{type:Boolean,default:!1}}),NM={file:e=>Object(te["isArray"])(e)},RM=["onDrop","onDragover"],IM="ElUploadDrag",BM=Object(s["defineComponent"])({name:IM}),FM=Object(s["defineComponent"])({...BM,props:DM,emits:NM,setup(e,{emit:t}){const n=Object(s["inject"])(fM);n||Object(y["b"])(IM,"usage: <el-upload><el-upload-dragger /></el-upload>");const r=Object(b["d"])("upload"),a=Object(s["ref"])(!1),o=we(),i=e=>{if(o.value)return;a.value=!1,e.stopPropagation();const n=Array.from(e.dataTransfer.files);t("file",n)},l=()=>{o.value||(a.value=!0)};return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(r).b("dragger"),Object(s["unref"])(r).is("dragover",a.value)]),onDrop:Object(s["withModifiers"])(i,["prevent"]),onDragover:Object(s["withModifiers"])(l,["prevent"]),onDragleave:t[0]||(t[0]=Object(s["withModifiers"])(e=>a.value=!1,["prevent"]))},[Object(s["renderSlot"])(e.$slots,"default")],42,RM))}});var VM=Object(v["a"])(FM,[["__file","upload-dragger.vue"]]);const zM=Object(c["b"])({...wM,beforeUpload:{type:Object(c["c"])(Function),default:te["NOOP"]},onRemove:{type:Object(c["c"])(Function),default:te["NOOP"]},onStart:{type:Object(c["c"])(Function),default:te["NOOP"]},onSuccess:{type:Object(c["c"])(Function),default:te["NOOP"]},onProgress:{type:Object(c["c"])(Function),default:te["NOOP"]},onError:{type:Object(c["c"])(Function),default:te["NOOP"]},onExceed:{type:Object(c["c"])(Function),default:te["NOOP"]}}),HM=["onKeydown"],YM=["name","multiple","accept"],UM=Object(s["defineComponent"])({name:"ElUploadContent",inheritAttrs:!1}),WM=Object(s["defineComponent"])({...UM,props:zM,setup(e,{expose:t}){const n=e,r=Object(b["d"])("upload"),a=we(),o=Object(s["shallowRef"])({}),i=Object(s["shallowRef"])(),l=e=>{if(0===e.length)return;const{autoUpload:t,limit:r,fileList:a,multiple:o,onStart:i,onExceed:s}=n;if(r&&a.length+e.length>r)s(e,a);else{o||(e=e.slice(0,1));for(const n of e){const e=n;e.uid=OM(),i(e),t&&c(e)}}},c=async e=>{if(i.value.value="",!n.beforeUpload)return d(e);let t,r={};try{const a=n.data,o=n.beforeUpload(e);r=Object(te["isPlainObject"])(n.data)?Object(q["cloneDeep"])(n.data):n.data,t=await o,Object(te["isPlainObject"])(n.data)&&Object(q["isEqual"])(a,r)&&(r=Object(q["cloneDeep"])(n.data))}catch(o){t=!1}if(!1===t)return void n.onRemove(e);let a=e;t instanceof Blob&&(a=t instanceof File?t:new File([t],e.name,{type:e.type})),d(Object.assign(a,{uid:e.uid}),r)},u=async(e,t)=>Object(te["isFunction"])(e)?e(t):e,d=async(e,t)=>{const{headers:r,data:a,method:i,withCredentials:s,name:l,action:c,onProgress:d,onSuccess:f,onError:h,httpRequest:p}=n;try{t=await u(null!=t?t:a,e)}catch(g){return void n.onRemove(e)}const{uid:m}=e,v={headers:r||{},withCredentials:s,file:e,data:t,method:i,filename:l,action:c,onProgress:t=>{d(t,e)},onSuccess:t=>{f(t,e),delete o.value[m]},onError:t=>{h(t,e),delete o.value[m]}},b=p(v);o.value[m]=b,b instanceof Promise&&b.then(v.onSuccess,v.onError)},f=e=>{const t=e.target.files;t&&l(Array.from(t))},h=()=>{a.value||(i.value.value="",i.value.click())},p=()=>{h()},m=e=>{const t=Object(B["a"])(o.value).filter(e?([t])=>String(e.uid)===t:()=>!0);t.forEach(([e,t])=>{t instanceof XMLHttpRequest&&t.abort(),delete o.value[e]})};return t({abort:m,upload:c}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])([Object(s["unref"])(r).b(),Object(s["unref"])(r).m(e.listType),Object(s["unref"])(r).is("drag",e.drag)]),tabindex:"0",onClick:h,onKeydown:Object(s["withKeys"])(Object(s["withModifiers"])(p,["self"]),["enter","space"])},[e.drag?(Object(s["openBlock"])(),Object(s["createBlock"])(VM,{key:0,disabled:Object(s["unref"])(a),onFile:l},{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3},8,["disabled"])):Object(s["renderSlot"])(e.$slots,"default",{key:1}),Object(s["createElementVNode"])("input",{ref_key:"inputRef",ref:i,class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("input")),name:e.name,multiple:e.multiple,accept:e.accept,type:"file",onChange:f,onClick:t[0]||(t[0]=Object(s["withModifiers"])(()=>{},["stop"]))},null,42,YM)],42,HM))}});var $M=Object(v["a"])(WM,[["__file","upload-content.vue"]]);const qM="ElUpload",GM=e=>{var t;(null==(t=e.url)?void 0:t.startsWith("blob:"))&&URL.revokeObjectURL(e.url)},XM=(e,t)=>{const n=Object(l["useVModel"])(e,"fileList",void 0,{passive:!0}),r=e=>n.value.find(t=>t.uid===e.uid);function a(e){var n;null==(n=t.value)||n.abort(e)}function o(e=["ready","uploading","success","fail"]){n.value=n.value.filter(t=>!e.includes(t.status))}const i=(t,a)=>{const o=r(a);o&&(console.error(t),o.status="fail",n.value.splice(n.value.indexOf(o),1),e.onError(t,o,n.value),e.onChange(o,n.value))},c=(t,a)=>{const o=r(a);o&&(e.onProgress(t,o,n.value),o.status="uploading",o.percentage=Math.round(t.percent))},u=(t,a)=>{const o=r(a);o&&(o.status="success",o.response=t,e.onSuccess(t,o,n.value),e.onChange(o,n.value))},d=t=>{Object(q["isNil"])(t.uid)&&(t.uid=OM());const r={name:t.name,percentage:0,status:"ready",size:t.size,raw:t,uid:t.uid};if("picture-card"===e.listType||"picture"===e.listType)try{r.url=URL.createObjectURL(t)}catch(a){Object(y["a"])(qM,a.message),e.onError(a,r,n.value)}n.value=[...n.value,r],e.onChange(r,n.value)},f=async t=>{const o=t instanceof File?r(t):t;o||Object(y["b"])(qM,"file to be removed not found");const i=t=>{a(t);const r=n.value;r.splice(r.indexOf(t),1),e.onRemove(t,r),GM(t)};if(e.beforeRemove){const t=await e.beforeRemove(o,n.value);!1!==t&&i(o)}else i(o)};function h(){n.value.filter(({status:e})=>"ready"===e).forEach(({raw:e})=>{var n;return e&&(null==(n=t.value)?void 0:n.upload(e))})}return Object(s["watch"])(()=>e.listType,t=>{"picture-card"!==t&&"picture"!==t||(n.value=n.value.map(t=>{const{raw:r,url:a}=t;if(!a&&r)try{t.url=URL.createObjectURL(r)}catch(o){e.onError(o,t,n.value)}return t}))}),Object(s["watch"])(n,e=>{for(const t of e)t.uid||(t.uid=OM()),t.status||(t.status="success")},{immediate:!0,deep:!0}),{uploadFiles:n,abort:a,clearFiles:o,handleError:i,handleProgress:c,handleStart:d,handleSuccess:u,handleRemove:f,submit:h,revokeFileObjectURL:GM}},KM=Object(s["defineComponent"])({name:"ElUpload"}),JM=Object(s["defineComponent"])({...KM,props:_M,setup(e,{expose:t}){const n=e,r=we(),a=Object(s["shallowRef"])(),{abort:o,submit:i,clearFiles:l,uploadFiles:c,handleStart:u,handleError:d,handleRemove:f,handleSuccess:h,handleProgress:p,revokeFileObjectURL:m}=XM(n,a),v=Object(s["computed"])(()=>"picture-card"===n.listType),b=Object(s["computed"])(()=>({...n,fileList:c.value,onStart:u,onProgress:p,onSuccess:h,onError:d,onRemove:f}));return Object(s["onBeforeUnmount"])(()=>{c.value.forEach(m)}),Object(s["provide"])(fM,{accept:Object(s["toRef"])(n,"accept")}),t({abort:o,submit:i,clearFiles:l,handleStart:u,handleRemove:f}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",null,[Object(s["unref"])(v)&&e.showFileList?(Object(s["openBlock"])(),Object(s["createBlock"])(PM,{key:0,disabled:Object(s["unref"])(r),"list-type":e.listType,files:Object(s["unref"])(c),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:Object(s["unref"])(f)},Object(s["createSlots"])({append:Object(s["withCtx"])(()=>[Object(s["createVNode"])($M,Object(s["mergeProps"])({ref_key:"uploadRef",ref:a},Object(s["unref"])(b)),{default:Object(s["withCtx"])(()=>[e.$slots.trigger?Object(s["renderSlot"])(e.$slots,"trigger",{key:0}):Object(s["createCommentVNode"])("v-if",!0),!e.$slots.trigger&&e.$slots.default?Object(s["renderSlot"])(e.$slots,"default",{key:1}):Object(s["createCommentVNode"])("v-if",!0)]),_:3},16)]),_:2},[e.$slots.file?{name:"default",fn:Object(s["withCtx"])(({file:t})=>[Object(s["renderSlot"])(e.$slots,"file",{file:t})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):Object(s["createCommentVNode"])("v-if",!0),!Object(s["unref"])(v)||Object(s["unref"])(v)&&!e.showFileList?(Object(s["openBlock"])(),Object(s["createBlock"])($M,Object(s["mergeProps"])({key:1,ref_key:"uploadRef",ref:a},Object(s["unref"])(b)),{default:Object(s["withCtx"])(()=>[e.$slots.trigger?Object(s["renderSlot"])(e.$slots,"trigger",{key:0}):Object(s["createCommentVNode"])("v-if",!0),!e.$slots.trigger&&e.$slots.default?Object(s["renderSlot"])(e.$slots,"default",{key:1}):Object(s["createCommentVNode"])("v-if",!0)]),_:3},16)):Object(s["createCommentVNode"])("v-if",!0),e.$slots.trigger?Object(s["renderSlot"])(e.$slots,"default",{key:2}):Object(s["createCommentVNode"])("v-if",!0),Object(s["renderSlot"])(e.$slots,"tip"),!Object(s["unref"])(v)&&e.showFileList?(Object(s["openBlock"])(),Object(s["createBlock"])(PM,{key:3,disabled:Object(s["unref"])(r),"list-type":e.listType,files:Object(s["unref"])(c),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:Object(s["unref"])(f)},Object(s["createSlots"])({_:2},[e.$slots.file?{name:"default",fn:Object(s["withCtx"])(({file:t})=>[Object(s["renderSlot"])(e.$slots,"file",{file:t})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):Object(s["createCommentVNode"])("v-if",!0)]))}});var ZM=Object(v["a"])(JM,[["__file","upload.vue"]]);const QM=Object(N["a"])(ZM),eA=Object(c["b"])({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:Object(c["c"])([String,Array]),default:"Element Plus"},font:{type:Object(c["c"])(Object)},gap:{type:Object(c["c"])(Array),default:()=>[100,100]},offset:{type:Object(c["c"])(Array)}});function tA(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function nA(e){return Object.keys(e).map(t=>`${tA(t)}: ${e[t]};`).join(" ")}function rA(){return window.devicePixelRatio||1}const aA=(e,t)=>{let n=!1;return e.removedNodes.length&&t&&(n=Array.from(e.removedNodes).includes(t)),"attributes"===e.type&&e.target===t&&(n=!0),n},oA=3;function iA(e,t,n=1){const r=document.createElement("canvas"),a=r.getContext("2d"),o=e*n,i=t*n;return r.setAttribute("width",o+"px"),r.setAttribute("height",i+"px"),a.save(),[a,r,o,i]}function sA(){function e(e,t,n,r,a,o,i,s){const[l,c,u,d]=iA(r,a,n);if(e instanceof HTMLImageElement)l.drawImage(e,0,0,u,d);else{const{color:t,fontSize:r,fontStyle:i,fontWeight:s,fontFamily:c,textAlign:d,textBaseline:f}=o,h=Number(r)*n;l.font=`${i} normal ${s} ${h}px/${a}px ${c}`,l.fillStyle=t,l.textAlign=d,l.textBaseline=f;const p=Array.isArray(e)?e:[e];null==p||p.forEach((e,t)=>{l.fillText(null!=e?e:"",u/2,t*(h+oA*n))})}const f=Math.PI/180*Number(t),h=Math.max(r,a),[p,m,v]=iA(h,h,n);function b(e,t){const n=e*Math.cos(f)-t*Math.sin(f),r=e*Math.sin(f)+t*Math.cos(f);return[n,r]}p.translate(v/2,v/2),p.rotate(f),u>0&&d>0&&p.drawImage(c,-u/2,-d/2);let g=0,y=0,O=0,w=0;const _=u/2,j=d/2,k=[[0-_,0-j],[0+_,0-j],[0+_,0+j],[0-_,0+j]];k.forEach(([e,t])=>{const[n,r]=b(e,t);g=Math.min(g,n),y=Math.max(y,n),O=Math.min(O,r),w=Math.max(w,r)});const x=g+v/2,S=O+v/2,C=y-g,M=w-O,A=i*n,T=s*n,E=2*(C+A),L=M+T,[P,D]=iA(E,L);function N(e=0,t=0){P.drawImage(m,x,S,C,M,e,t,C,M)}return N(),N(C+A,-M/2-T/2),N(C+A,+M/2+T/2),[D.toDataURL(),E/n,L/n]}return e}const lA=Object(s["defineComponent"])({name:"ElWatermark"}),cA=Object(s["defineComponent"])({...lA,props:eA,setup(e){const t=e,n={position:"relative"},r=Object(s["computed"])(()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.color)?n:"rgba(0,0,0,.15)"}),a=Object(s["computed"])(()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.fontSize)?n:16}),o=Object(s["computed"])(()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.fontWeight)?n:"normal"}),i=Object(s["computed"])(()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.fontStyle)?n:"normal"}),c=Object(s["computed"])(()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.fontFamily)?n:"sans-serif"}),u=Object(s["computed"])(()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.textAlign)?n:"center"}),d=Object(s["computed"])(()=>{var e,n;return null!=(n=null==(e=t.font)?void 0:e.textBaseline)?n:"top"}),f=Object(s["computed"])(()=>t.gap[0]),h=Object(s["computed"])(()=>t.gap[1]),p=Object(s["computed"])(()=>f.value/2),m=Object(s["computed"])(()=>h.value/2),v=Object(s["computed"])(()=>{var e,n;return null!=(n=null==(e=t.offset)?void 0:e[0])?n:p.value}),b=Object(s["computed"])(()=>{var e,n;return null!=(n=null==(e=t.offset)?void 0:e[1])?n:m.value}),g=()=>{const e={zIndex:t.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let n=v.value-p.value,r=b.value-m.value;return n>0&&(e.left=n+"px",e.width=`calc(100% - ${n}px)`,n=0),r>0&&(e.top=r+"px",e.height=`calc(100% - ${r}px)`,r=0),e.backgroundPosition=`${n}px ${r}px`,e},y=Object(s["shallowRef"])(null),O=Object(s["shallowRef"])(),w=Object(s["ref"])(!1),_=()=>{O.value&&(O.value.remove(),O.value=void 0)},j=(e,t)=>{var n;y.value&&O.value&&(w.value=!0,O.value.setAttribute("style",nA({...g(),backgroundImage:`url('${e}')`,backgroundSize:Math.floor(t)+"px"})),null==(n=y.value)||n.append(O.value),setTimeout(()=>{w.value=!1}))},k=e=>{let n=120,r=64;const o=t.image,i=t.content,s=t.width,l=t.height;if(!o&&e.measureText){e.font=`${Number(a.value)}px ${c.value}`;const t=Array.isArray(i)?i:[i],o=t.map(t=>{const n=e.measureText(t);return[n.width,void 0!==n.fontBoundingBoxAscent?n.fontBoundingBoxAscent+n.fontBoundingBoxDescent:n.actualBoundingBoxAscent+n.actualBoundingBoxDescent]});n=Math.ceil(Math.max(...o.map(e=>e[0]))),r=Math.ceil(Math.max(...o.map(e=>e[1])))*t.length+(t.length-1)*oA}return[null!=s?s:n,null!=l?l:r]},x=sA(),S=()=>{const e=document.createElement("canvas"),n=e.getContext("2d"),s=t.image,l=t.content,p=t.rotate;if(n){O.value||(O.value=document.createElement("div"));const e=rA(),[t,m]=k(n),v=n=>{const[s,l]=x(n||"",p,e,t,m,{color:r.value,fontSize:a.value,fontStyle:i.value,fontWeight:o.value,fontFamily:c.value,textAlign:u.value,textBaseline:d.value},f.value,h.value);j(s,l)};if(s){const e=new Image;e.onload=()=>{v(e)},e.onerror=()=>{v(l)},e.crossOrigin="anonymous",e.referrerPolicy="no-referrer",e.src=s}else v(l)}};Object(s["onMounted"])(()=>{S()}),Object(s["watch"])(()=>t,()=>{S()},{deep:!0,flush:"post"}),Object(s["onBeforeUnmount"])(()=>{_()});const C=e=>{w.value||e.forEach(e=>{aA(e,O.value)&&(_(),S())})};return Object(l["useMutationObserver"])(y,C,{attributes:!0,subtree:!0,childList:!0}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{ref_key:"containerRef",ref:y,style:Object(s["normalizeStyle"])([n])},[Object(s["renderSlot"])(e.$slots,"default")],4))}});var uA=Object(v["a"])(cA,[["__file","watermark.vue"]]);const dA=Object(N["a"])(uA),fA=Object(c["b"])({zIndex:{type:Number,default:1001},visible:Boolean,fill:{type:String,default:"rgba(0,0,0,0.5)"},pos:{type:Object(c["c"])(Object)},targetAreaClickable:{type:Boolean,default:!0}}),hA=(e,t,n,r,a)=>{const o=Object(s["ref"])(null),i=()=>{let t;return t=Object(te["isString"])(e.value)?document.querySelector(e.value):Object(te["isFunction"])(e.value)?e.value():e.value,t},l=()=>{const e=i();if(!e||!t.value)return void(o.value=null);!mA(e)&&t.value&&e.scrollIntoView(a.value);const{left:n,top:r,width:s,height:l}=e.getBoundingClientRect();o.value={left:n,top:r,width:s,height:l,radius:0}};Object(s["onMounted"])(()=>{Object(s["watch"])([t,e],()=>{l()},{immediate:!0}),window.addEventListener("resize",l)}),Object(s["onBeforeUnmount"])(()=>{window.removeEventListener("resize",l)});const c=e=>{var t;return null!=(t=Object(te["isArray"])(n.value.offset)?n.value.offset[e]:n.value.offset)?t:6},u=Object(s["computed"])(()=>{var e;if(!o.value)return o.value;const t=c(0),r=c(1),a=(null==(e=n.value)?void 0:e.radius)||2;return{left:o.value.left-t,top:o.value.top-r,width:o.value.width+2*t,height:o.value.height+2*r,radius:a}}),d=Object(s["computed"])(()=>{const e=i();return r.value&&e&&window.DOMRect?{getBoundingClientRect(){var e,t,n,r;return window.DOMRect.fromRect({width:(null==(e=u.value)?void 0:e.width)||0,height:(null==(t=u.value)?void 0:t.height)||0,x:(null==(n=u.value)?void 0:n.left)||0,y:(null==(r=u.value)?void 0:r.top)||0})}}:e||void 0});return{mergedPosInfo:u,triggerTarget:d}},pA=Symbol("ElTour");function mA(e){const t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:r,right:a,bottom:o,left:i}=e.getBoundingClientRect();return r>=0&&i>=0&&a<=t&&o<=n}const vA=(e,t,n,r,a,o,i,c)=>{const u=Object(s["ref"])(),d=Object(s["ref"])(),f=Object(s["ref"])({}),h={x:u,y:d,placement:r,strategy:a,middlewareData:f},p=Object(s["computed"])(()=>{const e=[Object(cS["offset"])(Object(s["unref"])(o)),Object(cS["flip"])(),Object(cS["shift"])(),bA()];return Object(s["unref"])(c)&&Object(s["unref"])(n)&&e.push(Object(cS["arrow"])({element:Object(s["unref"])(n)})),e}),m=async()=>{if(!l["isClient"])return;const n=Object(s["unref"])(e),o=Object(s["unref"])(t);if(!n||!o)return;const i=await Object(cS["computePosition"])(n,o,{placement:Object(s["unref"])(r),strategy:Object(s["unref"])(a),middleware:Object(s["unref"])(p)});Object(B["c"])(h).forEach(e=>{h[e].value=i[e]})},v=Object(s["computed"])(()=>{if(!Object(s["unref"])(e))return{position:"fixed",top:"50%",left:"50%",transform:"translate3d(-50%, -50%, 0)",maxWidth:"100vw",zIndex:Object(s["unref"])(i)};const{overflow:t}=Object(s["unref"])(f);return{position:Object(s["unref"])(a),zIndex:Object(s["unref"])(i),top:null!=Object(s["unref"])(d)?Object(s["unref"])(d)+"px":"",left:null!=Object(s["unref"])(u)?Object(s["unref"])(u)+"px":"",maxWidth:(null==t?void 0:t.maxWidth)?(null==t?void 0:t.maxWidth)+"px":""}}),b=Object(s["computed"])(()=>{if(!Object(s["unref"])(c))return{};const{arrow:e}=Object(s["unref"])(f);return{left:null!=(null==e?void 0:e.x)?(null==e?void 0:e.x)+"px":"",top:null!=(null==e?void 0:e.y)?(null==e?void 0:e.y)+"px":""}});let g;return Object(s["onMounted"])(()=>{const n=Object(s["unref"])(e),r=Object(s["unref"])(t);n&&r&&(g=Object(cS["autoUpdate"])(n,r,m)),Object(s["watchEffect"])(()=>{m()})}),Object(s["onBeforeUnmount"])(()=>{g&&g()}),{update:m,contentStyle:v,arrowStyle:b}},bA=()=>({name:"overflow",async fn(e){const t=await Object(cS["detectOverflow"])(e);let n=0;t.left>0&&(n=t.left),t.right>0&&(n=t.right);const r=e.rects.floating.width;return{data:{maxWidth:r-n}}}}),gA={style:{width:"100%",height:"100%"}},yA=["d"],OA=Object(s["defineComponent"])({name:"ElTourMask",inheritAttrs:!1}),wA=Object(s["defineComponent"])({...OA,props:fA,setup(e){const t=e,{ns:n}=Object(s["inject"])(pA),r=Object(s["computed"])(()=>{var e,n;return null!=(n=null==(e=t.pos)?void 0:e.radius)?n:2}),a=Object(s["computed"])(()=>{const e=r.value,t=`a${e},${e} 0 0 1`;return{topRight:`${t} ${e},${e}`,bottomRight:`${t} ${-e},${e}`,bottomLeft:`${t} ${-e},${-e}`,topLeft:`${t} ${e},${-e}`}}),o=Object(s["computed"])(()=>{const e=window.innerWidth,n=window.innerHeight,o=a.value,i=`M${e},0 L0,0 L0,${n} L${e},${n} L${e},0 Z`,s=r.value;return t.pos?`${i} M${t.pos.left+s},${t.pos.top} h${t.pos.width-2*s} ${o.topRight} v${t.pos.height-2*s} ${o.bottomRight} h${-t.pos.width+2*s} ${o.bottomLeft} v${-t.pos.height+2*s} ${o.topLeft} z`:i}),i=Object(s["computed"])(()=>({fill:t.fill,pointerEvents:"auto",cursor:"auto"}));return gf(Object(s["toRef"])(t,"visible"),{ns:n}),(e,t)=>e.visible?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",Object(s["mergeProps"])({key:0,class:Object(s["unref"])(n).e("mask"),style:{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:e.zIndex,pointerEvents:e.pos&&e.targetAreaClickable?"none":"auto"}},e.$attrs),[(Object(s["openBlock"])(),Object(s["createElementBlock"])("svg",gA,[Object(s["createElementVNode"])("path",{class:Object(s["normalizeClass"])(Object(s["unref"])(n).e("hollow")),style:Object(s["normalizeStyle"])(Object(s["unref"])(i)),d:Object(s["unref"])(o)},null,14,yA)]))],16)):Object(s["createCommentVNode"])("v-if",!0)}});var _A=Object(v["a"])(wA,[["__file","mask.vue"]]);const jA=["absolute","fixed"],kA=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],xA=Object(c["b"])({placement:{type:Object(c["c"])(String),values:kA,default:"bottom"},reference:{type:Object(c["c"])(Object),default:null},strategy:{type:Object(c["c"])(String),values:jA,default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),SA={close:()=>!0},CA=["data-side"],MA=Object(s["defineComponent"])({name:"ElTourContent"}),AA=Object(s["defineComponent"])({...MA,props:xA,emits:SA,setup(e,{emit:t}){const n=e,r=Object(s["ref"])(n.placement),a=Object(s["ref"])(n.strategy),o=Object(s["ref"])(null),i=Object(s["ref"])(null);Object(s["watch"])(()=>n.placement,()=>{r.value=n.placement});const{contentStyle:l,arrowStyle:c}=vA(Object(s["toRef"])(n,"reference"),o,i,r,a,Object(s["toRef"])(n,"offset"),Object(s["toRef"])(n,"zIndex"),Object(s["toRef"])(n,"showArrow")),u=Object(s["computed"])(()=>r.value.split("-")[0]),{ns:d}=Object(s["inject"])(pA),f=()=>{t("close")},h=e=>{"pointer"===e.detail.focusReason&&e.preventDefault()};return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{ref_key:"contentRef",ref:o,style:Object(s["normalizeStyle"])(Object(s["unref"])(l)),class:Object(s["normalizeClass"])(Object(s["unref"])(d).e("content")),"data-side":Object(s["unref"])(u),tabindex:"-1"},[Object(s["createVNode"])(Object(s["unref"])(zn),{loop:"",trapped:"","focus-start-el":"container","focus-trap-el":o.value||void 0,onReleaseRequested:f,onFocusoutPrevented:h},{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3},8,["focus-trap-el"]),e.showArrow?(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:0,ref_key:"arrowRef",ref:i,style:Object(s["normalizeStyle"])(Object(s["unref"])(c)),class:Object(s["normalizeClass"])(Object(s["unref"])(d).e("arrow"))},null,6)):Object(s["createCommentVNode"])("v-if",!0)],14,CA))}});var TA=Object(v["a"])(AA,[["__file","content.vue"]]),EA=Object(s["defineComponent"])({name:"ElTourSteps",props:{current:{type:Number,default:0}},emits:["update-total"],setup(e,{slots:t,emit:n}){let r=0;return()=>{var a,o;const i=null==(a=t.default)?void 0:a.call(t),s=[];let l=0;function c(e){Object(te["isArray"])(e)&&e.forEach(e=>{var t;const n=null==(t=(null==e?void 0:e.type)||{})?void 0:t.name;"ElTourStep"===n&&(s.push(e),l+=1)})}return i.length&&c(oo(null==(o=i[0])?void 0:o.children)),r!==l&&(r=l,n("update-total",l)),s.length?s[e.current]:null}}});const LA=Object(c["b"])({modelValue:Boolean,current:{type:Number,default:0},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:F["e"]},placement:xA.placement,contentStyle:{type:Object(c["c"])([Object])},mask:{type:Object(c["c"])([Boolean,Object]),default:!0},gap:{type:Object(c["c"])(Object),default:()=>({offset:6,radius:2})},zIndex:{type:Number},scrollIntoViewOptions:{type:Object(c["c"])([Boolean,Object]),default:()=>({block:"center"})},type:{type:Object(c["c"])(String)},appendTo:{type:Object(c["c"])([String,Object]),default:"body"},closeOnPressEscape:{type:Boolean,default:!0},targetAreaClickable:{type:Boolean,default:!0}}),PA={[d]:e=>Object(u["a"])(e),["update:current"]:e=>Object(u["d"])(e),close:e=>Object(u["d"])(e),finish:()=>!0,change:e=>Object(u["d"])(e)},DA=Object(s["defineComponent"])({name:"ElTour"}),NA=Object(s["defineComponent"])({...DA,props:LA,emits:PA,setup(e,{emit:t}){const n=e,r=Object(b["d"])("tour"),a=Object(s["ref"])(0),o=Object(s["ref"])(),i=Object(l["useVModel"])(n,"current",t,{passive:!0}),c=Object(s["computed"])(()=>{var e;return null==(e=o.value)?void 0:e.target}),d=Object(s["computed"])(()=>[r.b(),"primary"===O.value?r.m("primary"):""]),f=Object(s["computed"])(()=>{var e;return(null==(e=o.value)?void 0:e.placement)||n.placement}),h=Object(s["computed"])(()=>{var e,t;return null!=(t=null==(e=o.value)?void 0:e.contentStyle)?t:n.contentStyle}),p=Object(s["computed"])(()=>{var e,t;return null!=(t=null==(e=o.value)?void 0:e.mask)?t:n.mask}),m=Object(s["computed"])(()=>!!p.value&&n.modelValue),v=Object(s["computed"])(()=>Object(u["a"])(p.value)?void 0:p.value),g=Object(s["computed"])(()=>{var e,t;return!!c.value&&(null!=(t=null==(e=o.value)?void 0:e.showArrow)?t:n.showArrow)}),y=Object(s["computed"])(()=>{var e,t;return null!=(t=null==(e=o.value)?void 0:e.scrollIntoViewOptions)?t:n.scrollIntoViewOptions}),O=Object(s["computed"])(()=>{var e,t;return null!=(t=null==(e=o.value)?void 0:e.type)?t:n.type}),{nextZIndex:w}=Object(sn["b"])(),_=w(),j=Object(s["computed"])(()=>{var e;return null!=(e=n.zIndex)?e:_}),{mergedPosInfo:k,triggerTarget:x}=hA(c,Object(s["toRef"])(n,"modelValue"),Object(s["toRef"])(n,"gap"),p,y);Object(s["watch"])(()=>n.modelValue,e=>{e||(i.value=0)});const S=()=>{n.closeOnPressEscape&&(t("update:modelValue",!1),t("close",i.value))},C=e=>{a.value=e},M=Object(s["useSlots"])();return Object(s["provide"])(pA,{currentStep:o,current:i,total:a,showClose:Object(s["toRef"])(n,"showClose"),closeIcon:Object(s["toRef"])(n,"closeIcon"),mergedType:O,ns:r,slots:M,updateModelValue(e){t("update:modelValue",e)},onClose(){t("close",i.value)},onFinish(){t("finish")},onChange(){t("change",i.value)}}),(e,t)=>{var n,r;return Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],null,[(Object(s["openBlock"])(),Object(s["createBlock"])(s["Teleport"],{to:e.appendTo},[Object(s["createElementVNode"])("div",Object(s["mergeProps"])({class:Object(s["unref"])(d)},e.$attrs),[Object(s["createVNode"])(_A,{visible:Object(s["unref"])(m),fill:null==(n=Object(s["unref"])(v))?void 0:n.color,style:Object(s["normalizeStyle"])(null==(r=Object(s["unref"])(v))?void 0:r.style),pos:Object(s["unref"])(k),"z-index":Object(s["unref"])(j),"target-area-clickable":e.targetAreaClickable},null,8,["visible","fill","style","pos","z-index","target-area-clickable"]),e.modelValue?(Object(s["openBlock"])(),Object(s["createBlock"])(TA,{key:Object(s["unref"])(i),reference:Object(s["unref"])(x),placement:Object(s["unref"])(f),"show-arrow":Object(s["unref"])(g),"z-index":Object(s["unref"])(j),style:Object(s["normalizeStyle"])(Object(s["unref"])(h)),onClose:S},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(Object(s["unref"])(EA),{current:Object(s["unref"])(i),onUpdateTotal:C},{default:Object(s["withCtx"])(()=>[Object(s["renderSlot"])(e.$slots,"default")]),_:3},8,["current"])]),_:3},8,["reference","placement","show-arrow","z-index","style"])):Object(s["createCommentVNode"])("v-if",!0)],16)],8,["to"])),Object(s["createCommentVNode"])(" just for IDE "),Object(s["createCommentVNode"])("v-if",!0)],64)}}});var RA=Object(v["a"])(NA,[["__file","tour.vue"]]);const IA=Object(c["b"])({target:{type:Object(c["c"])([String,Object,Function])},title:String,description:String,showClose:{type:Boolean,default:void 0},closeIcon:{type:F["e"]},showArrow:{type:Boolean,default:void 0},placement:xA.placement,mask:{type:Object(c["c"])([Boolean,Object]),default:void 0},contentStyle:{type:Object(c["c"])([Object])},prevButtonProps:{type:Object(c["c"])(Object)},nextButtonProps:{type:Object(c["c"])(Object)},scrollIntoViewOptions:{type:Object(c["c"])([Boolean,Object]),default:void 0},type:{type:Object(c["c"])(String)}}),BA={close:()=>!0},FA=Object(s["defineComponent"])({name:"ElTourStep"}),VA=Object(s["defineComponent"])({...FA,props:IA,emits:BA,setup(e,{emit:t}){const n=e,{Close:r}=F["a"],{t:a}=Object(Lr["b"])(),{currentStep:o,current:i,total:l,showClose:c,closeIcon:u,mergedType:d,ns:f,slots:h,updateModelValue:p,onClose:m,onFinish:v,onChange:b}=Object(s["inject"])(pA);Object(s["watch"])(n,e=>{o.value=e},{immediate:!0});const g=Object(s["computed"])(()=>{var e;return null!=(e=n.showClose)?e:c.value}),y=Object(s["computed"])(()=>{var e,t;return null!=(t=null!=(e=n.closeIcon)?e:u.value)?t:r}),O=e=>{if(e)return Object(q["omit"])(e,["children","onClick"])},w=()=>{var e,t;i.value-=1,(null==(e=n.prevButtonProps)?void 0:e.onClick)&&(null==(t=n.prevButtonProps)||t.onClick()),b()},_=()=>{var e;i.value>=l.value-1?j():i.value+=1,(null==(e=n.nextButtonProps)?void 0:e.onClick)&&n.nextButtonProps.onClick(),b()},j=()=>{k(),v()},k=()=>{p(!1),m(),t("close")};return(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])(s["Fragment"],null,[Object(s["unref"])(g)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("button",{key:0,"aria-label":"Close",class:Object(s["normalizeClass"])(Object(s["unref"])(f).e("closebtn")),type:"button",onClick:k},[Object(s["createVNode"])(Object(s["unref"])(I["a"]),{class:Object(s["normalizeClass"])(Object(s["unref"])(f).e("close"))},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(Object(s["unref"])(y))))]),_:1},8,["class"])],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("header",{class:Object(s["normalizeClass"])([Object(s["unref"])(f).e("header"),{"show-close":Object(s["unref"])(c)}])},[Object(s["renderSlot"])(e.$slots,"header",{},()=>[Object(s["createElementVNode"])("span",{role:"heading",class:Object(s["normalizeClass"])(Object(s["unref"])(f).e("title"))},Object(s["toDisplayString"])(e.title),3)])],2),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(f).e("body"))},[Object(s["renderSlot"])(e.$slots,"default",{},()=>[Object(s["createElementVNode"])("span",null,Object(s["toDisplayString"])(e.description),1)])],2),Object(s["createElementVNode"])("footer",{class:Object(s["normalizeClass"])(Object(s["unref"])(f).e("footer"))},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(f).b("indicators"))},[Object(s["unref"])(h).indicators?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(Object(s["unref"])(h).indicators),{key:0,current:Object(s["unref"])(i),total:Object(s["unref"])(l)},null,8,["current","total"])):(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],{key:1},Object(s["renderList"])(Object(s["unref"])(l),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("span",{key:e,class:Object(s["normalizeClass"])([Object(s["unref"])(f).b("indicator"),t===Object(s["unref"])(i)?"is-active":""])},null,2))),128))],2),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(f).b("buttons"))},[Object(s["unref"])(i)>0?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(oa),Object(s["mergeProps"])({key:0,size:"small",type:Object(s["unref"])(d)},O(e.prevButtonProps),{onClick:w}),{default:Object(s["withCtx"])(()=>{var t,n;return[Object(s["createTextVNode"])(Object(s["toDisplayString"])(null!=(n=null==(t=e.prevButtonProps)?void 0:t.children)?n:Object(s["unref"])(a)("el.tour.previous")),1)]}),_:1},16,["type"])):Object(s["createCommentVNode"])("v-if",!0),Object(s["unref"])(i)<=Object(s["unref"])(l)-1?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["unref"])(oa),Object(s["mergeProps"])({key:1,size:"small",type:"primary"===Object(s["unref"])(d)?"default":"primary"},O(e.nextButtonProps),{onClick:_}),{default:Object(s["withCtx"])(()=>{var t,n;return[Object(s["createTextVNode"])(Object(s["toDisplayString"])(null!=(n=null==(t=e.nextButtonProps)?void 0:t.children)?n:Object(s["unref"])(i)===Object(s["unref"])(l)-1?Object(s["unref"])(a)("el.tour.finish"):Object(s["unref"])(a)("el.tour.next")),1)]}),_:1},16,["type"])):Object(s["createCommentVNode"])("v-if",!0)],2)],2)],64))}});var zA=Object(v["a"])(VA,[["__file","step.vue"]]);const HA=Object(N["a"])(RA,{TourStep:zA}),YA=Object(N["d"])(zA),UA=Object(c["b"])({container:{type:Object(c["c"])([String,Object])},offset:{type:Number,default:0},bound:{type:Number,default:15},duration:{type:Number,default:300},marker:{type:Boolean,default:!0},type:{type:Object(c["c"])(String),default:"default"},direction:{type:Object(c["c"])(String),default:"vertical"}}),WA={change:e=>Object(te["isString"])(e),click:(e,t)=>e instanceof MouseEvent&&(Object(te["isString"])(t)||Object(u["g"])(t))},$A=Symbol("anchor"),qA=e=>{if(!l["isClient"]||""===e)return null;if(Object(te["isString"])(e))try{return document.querySelector(e)}catch(t){return null}return e};function GA(e){let t=0;const n=(...n)=>{t&&_(t),t=w(()=>{e(...n),t=0})};return n.cancel=()=>{_(t),t=0},n}const XA=Object(s["defineComponent"])({name:"ElAnchor"}),KA=Object(s["defineComponent"])({...XA,props:UA,emits:WA,setup(e,{expose:t,emit:n}){const r=e,a=Object(s["ref"])(""),o=Object(s["ref"])(null),i=Object(s["ref"])(null),c=Object(s["ref"])(),d={};let f=!1,h=0;const p=Object(b["d"])("anchor"),m=Object(s["computed"])(()=>[p.b(),"underline"===r.type?p.m("underline"):"",p.m(r.direction)]),v=e=>{d[e.href]=e.el},g=e=>{delete d[e]},y=e=>{const t=a.value;t!==e&&(a.value=e,n("change",e))};let O=null;const w=e=>{if(!c.value)return;const t=qA(e);if(!t)return;O&&O(),f=!0;const n=A(t,c.value),a=gl(t,n),o=n.scrollHeight-n.clientHeight,i=Math.min(a-r.offset,o);O=M(c.value,h,i,r.duration,()=>{setTimeout(()=>{f=!1},20)})},_=e=>{e&&(y(e),w(e))},j=(e,t)=>{n("click",e,t),_(t)},k=GA(()=>{c.value&&(h=T(c.value));const e=x();f||Object(u["g"])(e)||y(e)}),x=()=>{if(!c.value)return;const e=T(c.value),t=[];for(const n of Object.keys(d)){const e=qA(n);if(!e)continue;const a=A(e,c.value),o=gl(e,a);t.push({top:o-r.offset-r.bound,href:n})}t.sort((e,t)=>e.top-t.top);for(let n=0;n<t.length;n++){const r=t[n],a=t[n+1];if(0===n&&0===e)return"";if(r.top<=e&&(!a||a.top>e))return r.href}},S=()=>{const e=qA(r.container);!e||Object(u["h"])(e)?c.value=window:c.value=e};Object(l["useEventListener"])(c,"scroll",k);const C=Object(s["computed"])(()=>{if(!o.value||!i.value||!a.value)return{};const e=d[a.value];if(!e)return{};const t=o.value.getBoundingClientRect(),n=i.value.getBoundingClientRect(),s=e.getBoundingClientRect();if("horizontal"===r.direction){const e=s.left-t.left;return{left:e+"px",width:s.width+"px",opacity:1}}{const e=s.top-t.top+(s.height-n.height)/2;return{top:e+"px",opacity:1}}});return Object(s["onMounted"])(()=>{S();const e=decodeURIComponent(window.location.hash),t=qA(e);t?_(e):k()}),Object(s["watch"])(()=>r.container,()=>{S()}),Object(s["provide"])($A,{ns:p,direction:r.direction,currentAnchor:a,addLink:v,removeLink:g,handleClick:j}),t({scrollTo:_}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{ref_key:"anchorRef",ref:o,class:Object(s["normalizeClass"])(Object(s["unref"])(m))},[e.marker?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,ref_key:"markerRef",ref:i,class:Object(s["normalizeClass"])(Object(s["unref"])(p).e("marker")),style:Object(s["normalizeStyle"])(Object(s["unref"])(C))},null,6)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(p).e("list"))},[Object(s["renderSlot"])(e.$slots,"default")],2)],2))}});var JA=Object(v["a"])(KA,[["__file","anchor.vue"]]);const ZA=Object(c["b"])({title:String,href:String}),QA=["href"],eT=Object(s["defineComponent"])({name:"ElAnchorLink"}),tT=Object(s["defineComponent"])({...eT,props:ZA,setup(e){const t=e,n=Object(s["ref"])(null),{ns:r,direction:a,currentAnchor:o,addLink:i,removeLink:l,handleClick:c}=Object(s["inject"])($A),u=Object(s["computed"])(()=>[r.e("link"),r.is("active",o.value===t.href)]),d=e=>{c(e,t.href)};return Object(s["watch"])(()=>t.href,(e,t)=>{Object(s["nextTick"])(()=>{t&&l(t),e&&i({href:e,el:n.value})})}),Object(s["onMounted"])(()=>{const{href:e}=t;e&&i({href:e,el:n.value})}),Object(s["onBeforeUnmount"])(()=>{const{href:e}=t;e&&l(e)}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("item"))},[Object(s["createElementVNode"])("a",{ref_key:"linkRef",ref:n,class:Object(s["normalizeClass"])(Object(s["unref"])(u)),href:e.href,onClick:d},[Object(s["renderSlot"])(e.$slots,"default",{},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.title),1)])],10,QA),e.$slots["sub-link"]&&"vertical"===Object(s["unref"])(a)?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("list"))},[Object(s["renderSlot"])(e.$slots,"sub-link")],2)):Object(s["createCommentVNode"])("v-if",!0)],2))}});var nT=Object(v["a"])(tT,[["__file","anchor-link.vue"]]);const rT=Object(N["a"])(JA,{AnchorLink:nT}),aT=Object(N["d"])(nT),oT=Object(c["b"])({options:{type:Object(c["c"])(Array),default:()=>[]},modelValue:{type:[String,Number,Boolean],default:void 0},block:Boolean,size:ne["c"],disabled:Boolean,validateEvent:{type:Boolean,default:!0},id:String,name:String,...oe(["ariaLabel"])}),iT={[d]:e=>Object(te["isString"])(e)||Object(u["d"])(e),[f]:e=>Object(te["isString"])(e)||Object(u["d"])(e)},sT=["id","aria-label","aria-labelledby"],lT=["name","disabled","checked","onChange"],cT=Object(s["defineComponent"])({name:"ElSegmented"}),uT=Object(s["defineComponent"])({...cT,props:oT,emits:iT,setup(e,{emit:t}){const n=e,r=Object(b["d"])("segmented"),a=ve(),o=Oe(),i=we(),{formItem:c}=be(),{inputId:u,isLabeledByFormItem:h}=ge(n,{formItemContext:c}),p=Object(s["ref"])(null),m=Object(l["useActiveElement"])(),v=Object(s["reactive"])({isInit:!1,width:0,translateX:0,disabled:!1,focusVisible:!1}),g=e=>{const n=O(e);t(d,n),t(f,n)},O=e=>Object(te["isObject"])(e)?e.value:e,w=e=>Object(te["isObject"])(e)?e.label:e,_=e=>!!(i.value||Object(te["isObject"])(e)&&e.disabled),j=e=>n.modelValue===O(e),k=e=>n.options.find(t=>O(t)===e),x=e=>[r.e("item"),r.is("selected",j(e)),r.is("disabled",_(e))],S=()=>{if(!p.value)return;const e=p.value.querySelector(".is-selected"),t=p.value.querySelector(".is-selected input");if(!e||!t)return v.width=0,v.translateX=0,v.disabled=!1,void(v.focusVisible=!1);const r=e.getBoundingClientRect();v.isInit=!0,v.width=r.width,v.translateX=e.offsetLeft,v.disabled=_(k(n.modelValue));try{v.focusVisible=t.matches(":focus-visible")}catch(a){}},C=Object(s["computed"])(()=>[r.b(),r.m(o.value),r.is("block",n.block)]),M=Object(s["computed"])(()=>({width:v.width+"px",transform:`translateX(${v.translateX}px)`,display:v.isInit?"block":"none"})),A=Object(s["computed"])(()=>[r.e("item-selected"),r.is("disabled",v.disabled),r.is("focus-visible",v.focusVisible)]),T=Object(s["computed"])(()=>n.name||a.value);return Object(l["useResizeObserver"])(p,S),Object(s["watch"])(m,S),Object(s["watch"])(()=>n.modelValue,()=>{var e;S(),n.validateEvent&&(null==(e=null==c?void 0:c.validate)||e.call(c,"change").catch(e=>Object(y["a"])(e)))},{flush:"post"}),(e,t)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{id:Object(s["unref"])(u),ref_key:"segmentedRef",ref:p,class:Object(s["normalizeClass"])(Object(s["unref"])(C)),role:"radiogroup","aria-label":Object(s["unref"])(h)?void 0:e.ariaLabel||"segmented","aria-labelledby":Object(s["unref"])(h)?Object(s["unref"])(c).labelId:void 0},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("group"))},[Object(s["createElementVNode"])("div",{style:Object(s["normalizeStyle"])(Object(s["unref"])(M)),class:Object(s["normalizeClass"])(Object(s["unref"])(A))},null,6),(Object(s["openBlock"])(!0),Object(s["createElementBlock"])(s["Fragment"],null,Object(s["renderList"])(e.options,(t,n)=>(Object(s["openBlock"])(),Object(s["createElementBlock"])("label",{key:n,class:Object(s["normalizeClass"])(x(t))},[Object(s["createElementVNode"])("input",{class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("item-input")),type:"radio",name:Object(s["unref"])(T),disabled:_(t),checked:j(t),onChange:e=>g(t)},null,42,lT),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(Object(s["unref"])(r).e("item-label"))},[Object(s["renderSlot"])(e.$slots,"default",{item:t},()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(w(t)),1)])],2)],2))),128))],2)],10,sT))}});var dT=Object(v["a"])(uT,[["__file","segmented.vue"]]);const fT=Object(N["a"])(dT);var hT=[R,$,fr,Yk,Or,Mr,Ar["a"],zr,Hr,oa,ia,Ya,Ga,Ao,To,Ts,ls,Rs,ei,ti,ni,Hs,dl,fl,nl,oc,ic["a"],_c,jc,kc,xc,Sc,Rd,Kd,Jd,kf,Af,Ff,Wh,$h,qh,Sp,qp,Gp,I["a"],cm,tm,Le,bm,km,Zm,Qm,ev,tv,lv,Cb,Pb,Ub,at,eg,ji,xi,ki,lg,mg,_g,Ke,Gv,Xv,Kv,$y,nO,rO,RO,YO,GO,rw,hw,pw,Cw,uj,dj,Hk,ux,dx,ps,vx,jx,Dx,Vx,zx,nr,AS,JS,jC,RC,dM,QM,dA,HA,YA,rT,aT,fT];const pT="ElInfiniteScroll",mT=50,vT=200,bT=0,gT={delay:{type:Number,default:vT},distance:{type:Number,default:bT},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},yT=(e,t)=>Object.entries(gT).reduce((n,[r,a])=>{var o,i;const{type:s,default:l}=a,c=e.getAttribute("infinite-scroll-"+r);let u=null!=(i=null!=(o=t[c])?o:c)?i:l;return u="false"!==u&&u,u=s(u),n[r]=Number.isNaN(u)?l:u,n},{}),OT=e=>{const{observer:t}=e[pT];t&&(t.disconnect(),delete e[pT].observer)},wT=(e,t)=>{const{container:n,containerEl:r,instance:a,observer:o,lastScrollTop:i}=e[pT],{disabled:s,distance:l}=yT(e,a),{clientHeight:c,scrollHeight:u,scrollTop:d}=r,f=d-i;if(e[pT].lastScrollTop=d,o||s||f<0)return;let h=!1;if(n===e)h=u-(c+d)<=l;else{const{clientTop:t,scrollHeight:n}=e,a=gl(e,r);h=d+c>=a+t+n-l}h&&t.call(a)};function _T(e,t){const{containerEl:n,instance:r}=e[pT],{disabled:a}=yT(e,r);a||0===n.clientHeight||(n.scrollHeight<=n.clientHeight?t.call(r):OT(e))}const jT={async mounted(e,t){const{instance:n,value:r}=t;Object(te["isFunction"])(r)||Object(y["b"])(pT,"'v-infinite-scroll' binding value must be a function"),await Object(s["nextTick"])();const{delay:a,immediate:o}=yT(e,n),i=k(e,!0),l=i===window?document.documentElement:i,c=Object(q["throttle"])(wT.bind(null,e,r),a);if(i){if(e[pT]={instance:n,container:i,containerEl:l,delay:a,cb:r,onScroll:c,lastScrollTop:l.scrollTop},o){const t=new MutationObserver(Object(q["throttle"])(_T.bind(null,e,r),mT));e[pT].observer=t,t.observe(e,{childList:!0,subtree:!0}),_T(e,r)}i.addEventListener("scroll",c)}},unmounted(e){if(!e[pT])return;const{container:t,onScroll:n}=e[pT];null==t||t.removeEventListener("scroll",n),OT(e)},async updated(e){if(e[pT]){const{containerEl:t,cb:n,observer:r}=e[pT];t.clientHeight&&r&&_T(e,n)}else await Object(s["nextTick"])()}},kT=jT;kT.install=e=>{e.directive("InfiniteScroll",kT)};const xT=kT;var ST=n("90b1"),CT=n("3ef4");const MT="_trap-focus-children",AT=[],TT=e=>{if(0===AT.length)return;const t=AT[AT.length-1][MT];if(t.length>0&&e.code===vt["a"].tab){if(1===t.length)return e.preventDefault(),void(document.activeElement!==t[0]&&t[0].focus());const n=e.shiftKey,r=e.target===t[0],a=e.target===t[t.length-1];r&&n&&(e.preventDefault(),t[t.length-1].focus()),a&&!n&&(e.preventDefault(),t[0].focus())}},ET={beforeMount(e){e[MT]=qi(e),AT.push(e),AT.length<=1&&document.addEventListener("keydown",TT)},updated(e){Object(s["nextTick"])(()=>{e[MT]=qi(e)})},unmounted(){AT.shift(),0===AT.length&&document.removeEventListener("keydown",TT)}},LT=Object(s["defineComponent"])({name:"ElMessageBox",directives:{TrapFocus:ET},components:{ElButton:oa,ElFocusTrap:zn,ElInput:Le,ElOverlay:rf,ElIcon:I["a"],...F["b"]},inheritAttrs:!1,props:{buttonSize:{type:String,validator:mw},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:t}){const{locale:n,zIndex:r,ns:a,size:i}=Object(o["b"])("message-box",Object(s["computed"])(()=>e.buttonSize)),{t:l}=n,{nextZIndex:c}=r,u=Object(s["ref"])(!1),d=Object(s["reactive"])({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:c()}),f=Object(s["computed"])(()=>{const e=d.type;return{[a.bm("icon",e)]:e&&F["c"][e]}}),h=ve(),p=ve(),m=Object(s["computed"])(()=>d.icon||F["c"][d.type]||""),v=Object(s["computed"])(()=>!!d.message),b=Object(s["ref"])(),g=Object(s["ref"])(),y=Object(s["ref"])(),O=Object(s["ref"])(),w=Object(s["ref"])(),_=Object(s["computed"])(()=>d.confirmButtonClass);Object(s["watch"])(()=>d.inputValue,async t=>{await Object(s["nextTick"])(),"prompt"===e.boxType&&null!==t&&T()},{immediate:!0}),Object(s["watch"])(()=>u.value,t=>{var n,r;t&&("prompt"!==e.boxType&&(d.autofocus?y.value=null!=(r=null==(n=w.value)?void 0:n.$el)?r:b.value:y.value=b.value),d.zIndex=c()),"prompt"===e.boxType&&(t?Object(s["nextTick"])().then(()=>{var e;O.value&&O.value.$el&&(d.autofocus?y.value=null!=(e=E())?e:b.value:y.value=b.value)}):(d.editorErrorMessage="",d.validateError=!1))});const j=Object(s["computed"])(()=>e.draggable),k=Object(s["computed"])(()=>e.overflow);function x(){u.value&&(u.value=!1,Object(s["nextTick"])(()=>{d.action&&t("action",d.action)}))}cf(b,g,j,k),Object(s["onMounted"])(async()=>{await Object(s["nextTick"])(),e.closeOnHashChange&&window.addEventListener("hashchange",x)}),Object(s["onBeforeUnmount"])(()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",x)});const S=()=>{e.closeOnClickModal&&A(d.distinguishCancelAndClose?"close":"cancel")},C=Zd(S),M=e=>{if("textarea"!==d.inputType)return e.preventDefault(),A("confirm")},A=t=>{var n;("prompt"!==e.boxType||"confirm"!==t||T())&&(d.action=t,d.beforeClose?null==(n=d.beforeClose)||n.call(d,t,d,x):x())},T=()=>{if("prompt"===e.boxType){const e=d.inputPattern;if(e&&!e.test(d.inputValue||""))return d.editorErrorMessage=d.inputErrorMessage||l("el.messagebox.error"),d.validateError=!0,!1;const t=d.inputValidator;if("function"===typeof t){const e=t(d.inputValue);if(!1===e)return d.editorErrorMessage=d.inputErrorMessage||l("el.messagebox.error"),d.validateError=!0,!1;if("string"===typeof e)return d.editorErrorMessage=e,d.validateError=!0,!1}}return d.editorErrorMessage="",d.validateError=!1,!0},E=()=>{const e=O.value.$refs;return e.input||e.textarea},L=()=>{A("close")},P=()=>{e.closeOnPressEscape&&L()};return e.lockScroll&&gf(u),{...Object(s["toRefs"])(d),ns:a,overlayEvent:C,visible:u,hasMessage:v,typeClass:f,contentId:h,inputId:p,btnSize:i,iconComponent:m,confirmButtonClasses:_,rootRef:b,focusStartRef:y,headerRef:g,inputRef:O,confirmRef:w,doClose:x,handleClose:L,onCloseRequested:P,handleWrapperClick:S,handleInputEnter:M,handleAction:A,t:l}}}),PT=["aria-label","aria-describedby"],DT=["aria-label"],NT=["id"];function RT(e,t,n,r,a,o){const i=Object(s["resolveComponent"])("el-icon"),l=Object(s["resolveComponent"])("close"),c=Object(s["resolveComponent"])("el-input"),u=Object(s["resolveComponent"])("el-button"),d=Object(s["resolveComponent"])("el-focus-trap"),f=Object(s["resolveComponent"])("el-overlay");return Object(s["openBlock"])(),Object(s["createBlock"])(s["Transition"],{name:"fade-in-linear",onAfterLeave:t[11]||(t[11]=t=>e.$emit("vanish")),persisted:""},{default:Object(s["withCtx"])(()=>[Object(s["withDirectives"])(Object(s["createVNode"])(f,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:Object(s["normalizeClass"])(e.ns.namespace.value+"-overlay-message-box"),onClick:t[8]||(t[8]=(...t)=>e.overlayEvent.onClick&&e.overlayEvent.onClick(...t)),onMousedown:t[9]||(t[9]=(...t)=>e.overlayEvent.onMousedown&&e.overlayEvent.onMousedown(...t)),onMouseup:t[10]||(t[10]=(...t)=>e.overlayEvent.onMouseup&&e.overlayEvent.onMouseup(...t))},[Object(s["createVNode"])(d,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:Object(s["withCtx"])(()=>[Object(s["createElementVNode"])("div",{ref:"rootRef",class:Object(s["normalizeClass"])([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),{[e.ns.m("center")]:e.center}]),style:Object(s["normalizeStyle"])(e.customStyle),tabindex:"-1",onClick:t[7]||(t[7]=Object(s["withModifiers"])(()=>{},["stop"]))},[null!==e.title&&void 0!==e.title?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:0,ref:"headerRef",class:Object(s["normalizeClass"])([e.ns.e("header"),{"show-close":e.showClose}])},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(e.ns.e("title"))},[e.iconComponent&&e.center?(Object(s["openBlock"])(),Object(s["createBlock"])(i,{key:0,class:Object(s["normalizeClass"])([e.ns.e("status"),e.typeClass])},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.iconComponent)))]),_:1},8,["class"])):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("span",null,Object(s["toDisplayString"])(e.title),1)],2),e.showClose?(Object(s["openBlock"])(),Object(s["createElementBlock"])("button",{key:0,type:"button",class:Object(s["normalizeClass"])(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:t[0]||(t[0]=t=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),onKeydown:t[1]||(t[1]=Object(s["withKeys"])(Object(s["withModifiers"])(t=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[Object(s["createVNode"])(i,{class:Object(s["normalizeClass"])(e.ns.e("close"))},{default:Object(s["withCtx"])(()=>[Object(s["createVNode"])(l)]),_:1},8,["class"])],42,DT)):Object(s["createCommentVNode"])("v-if",!0)],2)):Object(s["createCommentVNode"])("v-if",!0),Object(s["createElementVNode"])("div",{id:e.contentId,class:Object(s["normalizeClass"])(e.ns.e("content"))},[Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(Object(s["openBlock"])(),Object(s["createBlock"])(i,{key:0,class:Object(s["normalizeClass"])([e.ns.e("status"),e.typeClass])},{default:Object(s["withCtx"])(()=>[(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.iconComponent)))]),_:1},8,["class"])):Object(s["createCommentVNode"])("v-if",!0),e.hasMessage?(Object(s["openBlock"])(),Object(s["createElementBlock"])("div",{key:1,class:Object(s["normalizeClass"])(e.ns.e("message"))},[Object(s["renderSlot"])(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(Object(s["openBlock"])(),Object(s["createBlock"])(Object(s["resolveDynamicComponent"])(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0},{default:Object(s["withCtx"])(()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.dangerouslyUseHTMLString?"":e.message),1)]),_:1},8,["for"]))])],2)):Object(s["createCommentVNode"])("v-if",!0)],2),Object(s["withDirectives"])(Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(e.ns.e("input"))},[Object(s["createVNode"])(c,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":t[2]||(t[2]=t=>e.inputValue=t),type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:Object(s["normalizeClass"])({invalid:e.validateError}),onKeydown:Object(s["withKeys"])(e.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(e.ns.e("errormsg")),style:Object(s["normalizeStyle"])({visibility:e.editorErrorMessage?"visible":"hidden"})},Object(s["toDisplayString"])(e.editorErrorMessage),7)],2),[[s["vShow"],e.showInput]])],10,NT),Object(s["createElementVNode"])("div",{class:Object(s["normalizeClass"])(e.ns.e("btns"))},[e.showCancelButton?(Object(s["openBlock"])(),Object(s["createBlock"])(u,{key:0,loading:e.cancelButtonLoading,class:Object(s["normalizeClass"])([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:t[3]||(t[3]=t=>e.handleAction("cancel")),onKeydown:t[4]||(t[4]=Object(s["withKeys"])(Object(s["withModifiers"])(t=>e.handleAction("cancel"),["prevent"]),["enter"]))},{default:Object(s["withCtx"])(()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]),_:1},8,["loading","class","round","size"])):Object(s["createCommentVNode"])("v-if",!0),Object(s["withDirectives"])(Object(s["createVNode"])(u,{ref:"confirmRef",type:"primary",loading:e.confirmButtonLoading,class:Object(s["normalizeClass"])([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:t[5]||(t[5]=t=>e.handleAction("confirm")),onKeydown:t[6]||(t[6]=Object(s["withKeys"])(Object(s["withModifiers"])(t=>e.handleAction("confirm"),["prevent"]),["enter"]))},{default:Object(s["withCtx"])(()=>[Object(s["createTextVNode"])(Object(s["toDisplayString"])(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]),_:1},8,["loading","class","round","disabled","size"]),[[s["vShow"],e.showConfirmButton]])],2)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,PT)]),_:3},8,["z-index","overlay-class","mask"]),[[s["vShow"],e.visible]])]),_:3})}var IT=Object(v["a"])(LT,[["render",RT],["__file","index.vue"]]);const BT=new Map,FT=e=>{let t=document.body;return e.appendTo&&(Object(te["isString"])(e.appendTo)&&(t=document.querySelector(e.appendTo)),Object(u["b"])(e.appendTo)&&(t=e.appendTo),Object(u["b"])(t)||(Object(y["a"])("ElMessageBox","the appendTo option is not an HTMLElement. Falling back to document.body."),t=document.body)),t},VT=(e,t,n=null)=>{const r=Object(s["createVNode"])(IT,e,Object(te["isFunction"])(e.message)||Object(s["isVNode"])(e.message)?{default:Object(te["isFunction"])(e.message)?e.message:()=>e.message}:null);return r.appContext=n,Object(s["render"])(r,t),FT(e).appendChild(t.firstElementChild),r.component},zT=()=>document.createElement("div"),HT=(e,t)=>{const n=zT();e.onVanish=()=>{Object(s["render"])(null,n),BT.delete(a)},e.onAction=t=>{const n=BT.get(a);let o;o=e.showInput?{value:a.inputValue,action:t}:t,e.callback?e.callback(o,r.proxy):"cancel"===t||"close"===t?e.distinguishCancelAndClose&&"cancel"!==t?n.reject("close"):n.reject("cancel"):n.resolve(o)};const r=VT(e,n,t),a=r.proxy;for(const o in e)Object(te["hasOwn"])(e,o)&&!Object(te["hasOwn"])(a.$props,o)&&(a[o]=e[o]);return a.visible=!0,a};function YT(e,t=null){if(!l["isClient"])return Promise.reject();let n;return Object(te["isString"])(e)||Object(s["isVNode"])(e)?e={message:e}:n=e.callback,new Promise((r,a)=>{const o=HT(e,null!=t?t:YT._context);BT.set(o,{options:e,callback:n,resolve:r,reject:a})})}const UT=["alert","confirm","prompt"],WT={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};function $T(e){return(t,n,r,a)=>{let o="";return Object(te["isObject"])(n)?(r=n,o=""):o=Object(u["g"])(n)?"":n,YT(Object.assign({title:o,message:t,type:"",...WT[e]},r,{boxType:e}),a)}}UT.forEach(e=>{YT[e]=$T(e)}),YT.close=()=>{BT.forEach((e,t)=>{t.doClose()}),BT.clear()},YT._context=null;const qT=YT;qT.install=e=>{qT._context=e._context,e.config.globalProperties.$msgbox=qT,e.config.globalProperties.$messageBox=qT,e.config.globalProperties.$alert=qT.alert,e.config.globalProperties.$confirm=qT.confirm,e.config.globalProperties.$prompt=qT.prompt};const GT=qT;var XT=n("2295"),KT=[xT,ST["a"],CT["a"],GT,XT["a"],Yb],JT=i([...hT,...KT])},c401:function(e,t,n){"use strict";var r=n("c532"),a=n("4c3d");e.exports=function(e,t,n){var o=this||a;return r.forEach(n,(function(n){e=n.call(o,e,t)})),e}},c430:function(e,t,n){"use strict";e.exports=!1},c532:function(e,t,n){"use strict";var r=n("1d2b"),a=Object.prototype.toString,o=function(e){return function(t){var n=a.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));function i(e){return e=e.toLowerCase(),function(t){return o(t)===e}}function s(e){return Array.isArray(e)}function l(e){return"undefined"===typeof e}function c(e){return null!==e&&!l(e)&&null!==e.constructor&&!l(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var u=i("ArrayBuffer");function d(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&u(e.buffer),t}function f(e){return"string"===typeof e}function h(e){return"number"===typeof e}function p(e){return null!==e&&"object"===typeof e}function m(e){if("object"!==o(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var v=i("Date"),b=i("File"),g=i("Blob"),y=i("FileList");function O(e){return"[object Function]"===a.call(e)}function w(e){return p(e)&&O(e.pipe)}function _(e){var t="[object FormData]";return e&&("function"===typeof FormData&&e instanceof FormData||a.call(e)===t||O(e.toString)&&e.toString()===t)}var j=i("URLSearchParams");function k(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function x(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function S(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),s(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.call(null,e[a],a,e)}function C(){var e={};function t(t,n){m(e[n])&&m(t)?e[n]=C(e[n],t):m(t)?e[n]=C({},t):s(t)?e[n]=t.slice():e[n]=t}for(var n=0,r=arguments.length;n<r;n++)S(arguments[n],t);return e}function M(e,t,n){return S(t,(function(t,a){e[a]=n&&"function"===typeof t?r(t,n):t})),e}function A(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}function T(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)}function E(e,t,n){var r,a,o,i={};t=t||{};do{r=Object.getOwnPropertyNames(e),a=r.length;while(a-- >0)o=r[a],i[o]||(t[o]=e[o],i[o]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t}function L(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n}function P(e){if(!e)return null;var t=e.length;if(l(t))return null;var n=new Array(t);while(t-- >0)n[t]=e[t];return n}var D=function(e){return function(t){return e&&t instanceof e}}("undefined"!==typeof Uint8Array&&Object.getPrototypeOf(Uint8Array));e.exports={isArray:s,isArrayBuffer:u,isBuffer:c,isFormData:_,isArrayBufferView:d,isString:f,isNumber:h,isObject:p,isPlainObject:m,isUndefined:l,isDate:v,isFile:b,isBlob:g,isFunction:O,isStream:w,isURLSearchParams:j,isStandardBrowserEnv:x,forEach:S,merge:C,extend:M,trim:k,stripBOM:A,inherits:T,toFlatObject:E,kindOf:o,kindOfTest:i,endsWith:L,toArray:P,isTypedArray:D,isFileList:y}},c65b:function(e,t,n){"use strict";var r=n("40d5"),a=Function.prototype.call;e.exports=r?a.bind(a):function(){return a.apply(a,arguments)}},c6b6:function(e,t,n){"use strict";var r=n("e330"),a=r({}.toString),o=r("".slice);e.exports=function(e){return o(a(e),8,-1)}},c6cd:function(e,t,n){"use strict";var r=n("c430"),a=n("da84"),o=n("6374"),i="__core-js_shared__",s=e.exports=a[i]||o(i,{});(s.versions||(s.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},c741:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0});var o=n("740b");a(n("740b"),t),a(n("fc75"),t),a(n("a0bf7"),t),a(n("bd7d"),t),a(n("aeaa"),t),a(n("4af5"),t),a(n("f512"),t),a(n("daed"),t),a(n("d756"),t),t.default=o.tinycolor},c7aa:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10===0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}});return t}))},c8af:function(e,t,n){"use strict";var r=n("c532");e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},c8f3:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<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 t}))},ca84:function(e,t,n){"use strict";var r=n("e330"),a=n("1a2d"),o=n("fc6a"),i=n("4d64").indexOf,s=n("d012"),l=r([].push);e.exports=function(e,t){var n,r=o(e),c=0,u=[];for(n in r)!a(s,n)&&a(r,n)&&l(u,n);while(t.length>c)a(r,n=t[c++])&&(~i(u,n)||l(u,n));return u}},cafa:function(e,t,n){"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},cb2d:function(e,t,n){"use strict";var r=n("1626"),a=n("9bf2"),o=n("13d2"),i=n("6374");e.exports=function(e,t,n,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:t;if(r(n)&&o(n,c,s),s.global)l?e[t]=n:i(t,n);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(u){}l?e[t]=n:a.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},cc12:function(e,t,n){"use strict";var r=n("da84"),a=n("861d"),o=r.document,i=a(o)&&a(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},cdce:function(e,t,n){"use strict";var r=n("da84"),a=n("1626"),o=r.WeakMap;e.exports=a(o)&&/native code/.test(String(o))},cee4:function(e,t,n){"use strict";var r=n("c532"),a=n("1d2b"),o=n("0a06"),i=n("4a7b"),s=n("4c3d");function l(e){var t=new o(e),n=a(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n.create=function(t){return l(i(e,t))},n}var c=l(s);c.Axios=o,c.CanceledError=n("fb60"),c.CancelToken=n("8df4b"),c.isCancel=n("2e67"),c.VERSION=n("5cce").version,c.toFormData=n("e467"),c.AxiosError=n("7917"),c.Cancel=c.CanceledError,c.all=function(e){return Promise.all(e)},c.spread=n("0df6"),c.isAxiosError=n("5f02"),e.exports=c,e.exports.default=c},cf1e:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={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(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10===1?t[0]:t[1]:t[2]},translate:function(e,n,r,a){var o,i=t.words[r];return 1===r.length?"y"===r&&n?"jedna godina":a||n?i[0]:i[1]:(o=t.correctGrammaticalCase(e,i),"yy"===r&&n&&"godinu"===o?e+" godina":e+" "+o)}},n=e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_č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 e=["[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 e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},cf51:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"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: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}});function n(e,t,n,r){var a={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return r||t?a[n][0]:a[n][1]}return t}))},cf75:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq",t}function r(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret",t}function a(e,t,n,r){var a=o(e);switch(n){case"ss":return a+" lup";case"mm":return a+" tup";case"hh":return a+" rep";case"dd":return a+" jaj";case"MM":return a+" jar";case"yy":return a+" DIS"}}function o(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),a=e%10,o="";return n>0&&(o+=t[n]+"vatlh"),r>0&&(o+=(""!==o?" ":"")+t[r]+"maH"),a>0&&(o+=(""!==o?" ":"")+t[a]),""===o?"pagh":o}var i=e.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:n,past:r,s:"puS lup",ss:a,m:"wa’ tup",mm:a,h:"wa’ rep",hh:a,d:"wa’ jaj",dd:a,M:"wa’ jar",MM:a,y:"wa’ DIS",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return i}))},d012:function(e,t,n){"use strict";e.exports={}},d039:function(e,t,n){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,n){"use strict";var r=n("da84"),a=n("1626"),o=function(e){return a(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e]):r[e]&&r[e][t]}},d095:function(e,t,n){e.exports=n("2ef0")},d1e7:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,o=a&&!r.call({1:2},1);t.f=o?function(e){var t=a(this,e);return!!t&&t.enumerable}:r},d26a:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},r=e.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(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});return r}))},d2bb:function(e,t,n){"use strict";var r=n("7282"),a=n("861d"),o=n("1d80"),i=n("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=r(Object.prototype,"__proto__","set"),e(n,[]),t=n instanceof Array}catch(s){}return function(n,r){return o(n),i(r),a(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0)},d2d4:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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 t}))},d5eb:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=["","default","small","large"]},d69a:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t}))},d6b6:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}});return t}))},d6d6:function(e,t,n){"use strict";var r=TypeError;e.exports=function(e,t){if(e<t)throw new r("Not enough arguments");return e}},d6e4:function(e,t,n){var r=n("7a23");Object.keys(r).forEach((function(e){t[e]=r[e]})),t.set=function(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)},t.del=function(e,t){Array.isArray(e)?e.splice(t,1):delete e[t]},t.Vue=r,t.Vue2=void 0,t.isVue2=!1,t.isVue3=!0,t.install=function(){}},d716:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});return t}))},d756:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numberInputToObject=t.parseIntFromHex=t.convertHexToDecimal=t.convertDecimalToHex=t.rgbaToArgbHex=t.rgbaToHex=t.rgbToHex=t.hsvToRgb=t.rgbToHsv=t.hslToRgb=t.rgbToHsl=t.rgbToRgb=void 0;var r=n("1127");function a(e,t,n){return{r:255*(0,r.bound01)(e,255),g:255*(0,r.bound01)(t,255),b:255*(0,r.bound01)(n,255)}}function o(e,t,n){e=(0,r.bound01)(e,255),t=(0,r.bound01)(t,255),n=(0,r.bound01)(n,255);var a=Math.max(e,t,n),o=Math.min(e,t,n),i=0,s=0,l=(a+o)/2;if(a===o)s=0,i=0;else{var c=a-o;switch(s=l>.5?c/(2-a-o):c/(a+o),a){case e:i=(t-n)/c+(t<n?6:0);break;case t:i=(n-e)/c+2;break;case n:i=(e-t)/c+4;break;default:break}i/=6}return{h:i,s:s,l:l}}function i(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function s(e,t,n){var a,o,s;if(e=(0,r.bound01)(e,360),t=(0,r.bound01)(t,100),n=(0,r.bound01)(n,100),0===t)o=n,s=n,a=n;else{var l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;a=i(c,l,e+1/3),o=i(c,l,e),s=i(c,l,e-1/3)}return{r:255*a,g:255*o,b:255*s}}function l(e,t,n){e=(0,r.bound01)(e,255),t=(0,r.bound01)(t,255),n=(0,r.bound01)(n,255);var a=Math.max(e,t,n),o=Math.min(e,t,n),i=0,s=a,l=a-o,c=0===a?0:l/a;if(a===o)i=0;else{switch(a){case e:i=(t-n)/l+(t<n?6:0);break;case t:i=(n-e)/l+2;break;case n:i=(e-t)/l+4;break;default:break}i/=6}return{h:i,s:c,v:s}}function c(e,t,n){e=6*(0,r.bound01)(e,360),t=(0,r.bound01)(t,100),n=(0,r.bound01)(n,100);var a=Math.floor(e),o=e-a,i=n*(1-t),s=n*(1-o*t),l=n*(1-(1-o)*t),c=a%6,u=[n,s,i,i,l,n][c],d=[l,n,n,s,i,i][c],f=[i,i,l,n,n,s][c];return{r:255*u,g:255*d,b:255*f}}function u(e,t,n,a){var o=[(0,r.pad2)(Math.round(e).toString(16)),(0,r.pad2)(Math.round(t).toString(16)),(0,r.pad2)(Math.round(n).toString(16))];return a&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function d(e,t,n,a,o){var i=[(0,r.pad2)(Math.round(e).toString(16)),(0,r.pad2)(Math.round(t).toString(16)),(0,r.pad2)(Math.round(n).toString(16)),(0,r.pad2)(h(a))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function f(e,t,n,a){var o=[(0,r.pad2)(h(a)),(0,r.pad2)(Math.round(e).toString(16)),(0,r.pad2)(Math.round(t).toString(16)),(0,r.pad2)(Math.round(n).toString(16))];return o.join("")}function h(e){return Math.round(255*parseFloat(e)).toString(16)}function p(e){return m(e)/255}function m(e){return parseInt(e,16)}function v(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}t.rgbToRgb=a,t.rgbToHsl=o,t.hslToRgb=s,t.rgbToHsv=l,t.hsvToRgb=c,t.rgbToHex=u,t.rgbaToHex=d,t.rgbaToArgbHex=f,t.convertDecimalToHex=h,t.convertHexToDecimal=p,t.parseIntFromHex=m,t.numberInputToObject=v},d758:function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}}))},d925:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},d9b5:function(e,t,n){"use strict";var r=n("d066"),a=n("1626"),o=n("3a9b"),i=n("fdbf"),s=Object;e.exports=i?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return a(t)&&o(t.prototype,s(e))}},d9e2:function(e,t,n){"use strict";var r=n("23e7"),a=n("da84"),o=n("2ba4"),i=n("e5cb"),s="WebAssembly",l=a[s],c=7!==new Error("e",{cause:7}).cause,u=function(e,t){var n={};n[e]=i(e,t,c),r({global:!0,constructor:!0,arity:1,forced:c},n)},d=function(e,t){if(l&&l[e]){var n={};n[e]=i(s+"."+e,t,c),r({target:s,stat:!0,constructor:!0,arity:1,forced:c},n)}};u("Error",(function(e){return function(t){return o(e,this,arguments)}})),u("EvalError",(function(e){return function(t){return o(e,this,arguments)}})),u("RangeError",(function(e){return function(t){return o(e,this,arguments)}})),u("ReferenceError",(function(e){return function(t){return o(e,this,arguments)}})),u("SyntaxError",(function(e){return function(t){return o(e,this,arguments)}})),u("TypeError",(function(e){return function(t){return o(e,this,arguments)}})),u("URIError",(function(e){return function(t){return o(e,this,arguments)}})),d("CompileError",(function(e){return function(t){return o(e,this,arguments)}})),d("LinkError",(function(e){return function(t){return o(e,this,arguments)}})),d("RuntimeError",(function(e){return function(t){return o(e,this,arguments)}}))},d9f8:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}});return t}))},da84:function(e,t,n){"use strict";(function(t){var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},daed:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},db29:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^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],a=/^(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=e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,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:r,longMonthsParse:r,shortMonthsParse:r,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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return o}))},dc4a:function(e,t,n){"use strict";var r=n("59ed"),a=n("7234");e.exports=function(e,t){var n=e[t];return a(n)?void 0:r(n)}},dc4d:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],a=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],o=e.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:r,longMonthsParse:r,shortMonthsParse:a,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(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}});return o}))},df7c:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var a=e[r];"."===a?e.splice(r,1):".."===a?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,a=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!a){n=t+1;break}}else-1===r&&(a=!1,r=t+1);return-1===r?"":e.slice(n,r)}function a(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",r=!1,o=arguments.length-1;o>=-1&&!r;o--){var i=o>=0?arguments[o]:e.cwd();if("string"!==typeof i)throw new TypeError("Arguments to path.resolve must be strings");i&&(t=i+"/"+t,r="/"===i.charAt(0))}return t=n(a(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),i="/"===o(e,-1);return e=n(a(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&i&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(a(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var a=r(e.split("/")),o=r(n.split("/")),i=Math.min(a.length,o.length),s=i,l=0;l<i;l++)if(a[l]!==o[l]){s=l;break}var c=[];for(l=s;l<a.length;l++)c.push("..");return c=c.concat(o.slice(s)),c.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,a=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!a){r=o;break}}else a=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,a=!0,o=0,i=e.length-1;i>=0;--i){var s=e.charCodeAt(i);if(47!==s)-1===r&&(a=!1,r=i+1),46===s?-1===t?t=i:1!==o&&(o=1):-1!==t&&(o=-1);else if(!a){n=i+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};var o="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("4362"))},e0c5:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"},r=e.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(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}});return r}))},e1d3:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},e330:function(e,t,n){"use strict";var r=n("40d5"),a=Function.prototype,o=a.call,i=r&&a.bind.bind(o,o);e.exports=r?i:function(e){return function(){return o.apply(e,arguments)}}},e391:function(e,t,n){"use strict";var r=n("577e");e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},e3db:function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},e467:function(e,t,n){"use strict";(function(t){var r=n("c532");function a(e,n){n=n||new FormData;var a=[];function o(e){return null===e?"":r.isDate(e)?e.toISOString():r.isArrayBuffer(e)||r.isTypedArray(e)?"function"===typeof Blob?new Blob([e]):t.from(e):e}function i(e,t){if(r.isPlainObject(e)||r.isArray(e)){if(-1!==a.indexOf(e))throw Error("Circular reference detected in "+t);a.push(e),r.forEach(e,(function(e,a){if(!r.isUndefined(e)){var s,l=t?t+"."+a:a;if(e&&!t&&"object"===typeof e)if(r.endsWith(a,"{}"))e=JSON.stringify(e);else if(r.endsWith(a,"[]")&&(s=r.toArray(e)))return void s.forEach((function(e){!r.isUndefined(e)&&n.append(l,o(e))}));i(e,l)}})),a.pop()}else n.append(t,o(e))}return i(e),n}e.exports=a}).call(this,n("b639").Buffer)},e47e:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("0898"),a=n("27b6"),o=n("5143");const i=Object(r["b"])({a11y:{type:Boolean,default:!0},locale:{type:Object(r["c"])(Object)},size:a["c"],button:{type:Object(r["c"])(Object)},experimentalFeatures:{type:Object(r["c"])(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:Object(r["c"])(Object)},zIndex:Number,namespace:{type:String,default:"el"},...o["b"]})},e5cb:function(e,t,n){"use strict";var r=n("d066"),a=n("1a2d"),o=n("9112"),i=n("3a9b"),s=n("d2bb"),l=n("e893"),c=n("aeb0"),u=n("7156"),d=n("e391"),f=n("ab36"),h=n("6f19"),p=n("83ab"),m=n("c430");e.exports=function(e,t,n,v){var b="stackTraceLimit",g=v?2:1,y=e.split("."),O=y[y.length-1],w=r.apply(null,y);if(w){var _=w.prototype;if(!m&&a(_,"cause")&&delete _.cause,!n)return w;var j=r("Error"),k=t((function(e,t){var n=d(v?t:e,void 0),r=v?new w(e):new w;return void 0!==n&&o(r,"message",n),h(r,k,r.stack,2),this&&i(_,this)&&u(r,this,k),arguments.length>g&&f(r,arguments[g]),r}));if(k.prototype=_,"Error"!==O?s?s(k,j):l(k,j,{name:!0}):p&&b in w&&(c(k,w,b),c(k,w,"prepareStackTrace")),l(k,w),!m)try{_.name!==O&&o(_,"name",O),_.constructor=k}catch(x){}return k}}},e683:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},e81d:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"},r=e.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(e){return"ល្ងាច"===e},meridiem:function(e,t,n){return e<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(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}});return r}))},e893:function(e,t,n){"use strict";var r=n("1a2d"),a=n("56ef"),o=n("06cf"),i=n("9bf2");e.exports=function(e,t,n){for(var s=a(t),l=i.f,c=o.f,u=0;u<s.length;u++){var d=s[u];r(e,d)||n&&r(n,d)||l(e,d,c(t,d))}}},e8b5:function(e,t,n){"use strict";var r=n("c6b6");e.exports=Array.isArray||function(e){return"Array"===r(e)}},ea7f:function(e,t,n){var r;(function(a,o){e.exports?(o["default"]=o,e.exports=a.document?o(a):o):(r=function(){return o(a)}.call(t,n,t,e),void 0===r||(e.exports=r))})("undefined"!==typeof window?window:this,(function(e){function t(t,n,r,a){t.hasOwnProperty(n)||(t[n]=a.apply(null,r),"function"===typeof CustomEvent&&e.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:n,module:t[n]}})))}var n={};return t(n,"Core/Globals.js",[],(function(){var t;return function(t){t.SVG_NS="http://www.w3.org/2000/svg",t.product="Highcharts",t.version="10.3.3",t.win="undefined"!==typeof e?e:{},t.doc=t.win.document,t.svg=t.doc&&t.doc.createElementNS&&!!t.doc.createElementNS(t.SVG_NS,"svg").createSVGRect,t.userAgent=t.win.navigator&&t.win.navigator.userAgent||"",t.isChrome=-1!==t.userAgent.indexOf("Chrome"),t.isFirefox=-1!==t.userAgent.indexOf("Firefox"),t.isMS=/(edge|msie|trident)/i.test(t.userAgent)&&!t.win.opera,t.isSafari=!t.isChrome&&-1!==t.userAgent.indexOf("Safari"),t.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(t.userAgent),t.isWebKit=-1!==t.userAgent.indexOf("AppleWebKit"),t.deg2rad=2*Math.PI/360,t.hasBidiBug=t.isFirefox&&4>parseInt(t.userAgent.split("Firefox/")[1],10),t.hasTouch=!!t.win.TouchEvent,t.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],t.noop=function(){},t.supportsPassiveEvents=function(){var e=!1;if(!t.isMS){var n=Object.defineProperty({},"passive",{get:function(){e=!0}});t.win.addEventListener&&t.win.removeEventListener&&(t.win.addEventListener("testPassive",t.noop,n),t.win.removeEventListener("testPassive",t.noop,n))}return e}(),t.charts=[],t.dateFormats={},t.seriesTypes={},t.symbolSizes={},t.chartCount=0}(t||(t={})),t})),t(n,"Core/Utilities.js",[n["Core/Globals.js"]],(function(e){function t(n,r,a,o){var i=r?"Highcharts error":"Highcharts warning";32===n&&(n=i+": Deprecated member");var s=c(n),l=s?i+" #"+n+": www.highcharts.com/errors/"+n+"/":n.toString();if("undefined"!==typeof o){var u="";s&&(l+="?"),g(o,(function(e,t){u+="\n - ".concat(t,": ").concat(e),s&&(l+=encodeURI(t)+"="+encodeURI(e))})),l+=u}O(e,"displayError",{chart:a,code:n,message:l,params:o},(function(){if(r)throw Error(l);j.console&&-1===t.messages.indexOf(l)&&console.warn(l)})),t.messages.push(l)}function n(e,t){var r={};return g(e,(function(a,o){i(e[o],!0)&&!e.nodeType&&t[o]?(a=n(e[o],t[o]),Object.keys(a).length&&(r[o]=a)):(i(e[o])||e[o]!==t[o]||o in e&&!(o in t))&&(r[o]=e[o])})),r}function r(e,t){return parseInt(e,t||10)}function a(e){return"string"===typeof e}function o(e){return e=Object.prototype.toString.call(e),"[object Array]"===e||"[object Array Iterator]"===e}function i(e,t){return!!e&&"object"===typeof e&&(!t||!o(e))}function s(e){return i(e)&&"number"===typeof e.nodeType}function l(e){var t=e&&e.constructor;return!(!i(e,!0)||s(e)||!t||!t.name||"Object"===t.name)}function c(e){return"number"===typeof e&&!isNaN(e)&&1/0>e&&-1/0<e}function u(e){return"undefined"!==typeof e&&null!==e}function d(e,t,n){var r,o=a(t)&&!u(n),i=function(t,n){u(t)?e.setAttribute(n,t):o?(r=e.getAttribute(n))||"class"!==n||(r=e.getAttribute(n+"Name")):e.removeAttribute(n)};return a(t)?i(n,t):g(t,i),r}function f(e,t){var n;for(n in e||(e={}),t)e[n]=t[n];return e}function h(){for(var e=arguments,t=e.length,n=0;n<t;n++){var r=e[n];if("undefined"!==typeof r&&null!==r)return r}}function p(t,n){e.isMS&&!e.svg&&n&&u(n.opacity)&&(n.filter="alpha(opacity=".concat(100*n.opacity,")")),f(t.style,n)}function m(e){return Math.pow(10,Math.floor(Math.log(e)/Math.LN10))}function v(e,t){return 1e14<e?e:parseFloat(e.toPrecision(t||14))}function b(n,a,o){var i=e.getStyle||b;if("width"===a)return a=Math.min(n.offsetWidth,n.scrollWidth),o=n.getBoundingClientRect&&n.getBoundingClientRect().width,o<a&&o>=a-1&&(a=Math.floor(o)),Math.max(0,a-(i(n,"padding-left",!0)||0)-(i(n,"padding-right",!0)||0));if("height"===a)return Math.max(0,Math.min(n.offsetHeight,n.scrollHeight)-(i(n,"padding-top",!0)||0)-(i(n,"padding-bottom",!0)||0));if(j.getComputedStyle||t(27,!0),n=j.getComputedStyle(n,void 0)){var s=n.getPropertyValue(a);h(o,"opacity"!==a)&&(s=r(s))}return s}function g(e,t,n){for(var r in e)Object.hasOwnProperty.call(e,r)&&t.call(n||e[r],e[r],r,e)}function y(t,n,r){function a(n,r){var a=t.removeEventListener||e.removeEventListenerPolyfill;a&&a.call(t,n,r,!1)}function o(e){var r;if(t.nodeName){if(n){var o={};o[n]=!0}else o=e;g(o,(function(t,n){if(e[n])for(r=e[n].length;r--;)a(n,e[n][r].fn)}))}}var i="function"===typeof t&&t.prototype||t;if(Object.hasOwnProperty.call(i,"hcEvents")){var s=i.hcEvents;n?(i=s[n]||[],r?(s[n]=i.filter((function(e){return r!==e.fn})),a(n,r)):(o(s),s[n]=[])):(o(s),delete i.hcEvents)}}function O(t,n,r,a){if(r=r||{},_.createEvent&&(t.dispatchEvent||t.fireEvent&&t!==e)){var o=_.createEvent("Events");o.initEvent(n,!0,!0),r=f(o,r),t.dispatchEvent?t.dispatchEvent(r):t.fireEvent(n,r)}else if(t.hcEvents){r.target||f(r,{preventDefault:function(){r.defaultPrevented=!0},target:t,type:n}),o=[];for(var i=t,s=!1;i.hcEvents;)Object.hasOwnProperty.call(i,"hcEvents")&&i.hcEvents[n]&&(o.length&&(s=!0),o.unshift.apply(o,i.hcEvents[n])),i=Object.getPrototypeOf(i);s&&o.sort((function(e,t){return e.order-t.order})),o.forEach((function(e){!1===e.fn.call(t,r)&&r.preventDefault()}))}a&&!r.defaultPrevented&&a.call(t,r)}var w=e.charts,_=e.doc,j=e.win;(t||(t={})).messages=[],Math.easeInOutSine=function(e){return-.5*(Math.cos(Math.PI*e)-1)};var k=Array.prototype.find?function(e,t){return e.find(t)}:function(e,t){var n,r=e.length;for(n=0;n<r;n++)if(t(e[n],n))return e[n]};g({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(n,r){e[r]=function(e){var a;return t(32,!1,void 0,(a={},a["Highcharts.".concat(r)]="use Array.".concat(n),a)),Array.prototype[n].apply(e,[].slice.call(arguments,1))}}));var x,S=function(){var e=Math.random().toString(36).substring(2,9)+"-",t=0;return function(){return"highcharts-"+(x?"":e)+t++}}();return j.jQuery&&(j.jQuery.fn.highcharts=function(){var t=[].slice.call(arguments);if(this[0])return t[0]?(new(e[a(t[0])?t.shift():"Chart"])(this[0],t[0],t[1]),this):w[d(this[0],"data-highcharts-chart")]}),k={addEvent:function(t,n,r,a){void 0===a&&(a={});var o="function"===typeof t&&t.prototype||t;Object.hasOwnProperty.call(o,"hcEvents")||(o.hcEvents={}),o=o.hcEvents,e.Point&&t instanceof e.Point&&t.series&&t.series.chart&&(t.series.chart.runTrackerClick=!0);var i=t.addEventListener||e.addEventListenerPolyfill;return i&&i.call(t,n,r,!!e.supportsPassiveEvents&&{passive:void 0===a.passive?-1!==n.indexOf("touch"):a.passive,capture:!1}),o[n]||(o[n]=[]),o[n].push({fn:r,order:"number"===typeof a.order?a.order:1/0}),o[n].sort((function(e,t){return e.order-t.order})),function(){y(t,n,r)}},arrayMax:function(e){for(var t=e.length,n=e[0];t--;)e[t]>n&&(n=e[t]);return n},arrayMin:function(e){for(var t=e.length,n=e[0];t--;)e[t]<n&&(n=e[t]);return n},attr:d,clamp:function(e,t,n){return e>t?e<n?e:n:t},cleanRecursively:n,clearTimeout:function(e){u(e)&&clearTimeout(e)},correctFloat:v,createElement:function(e,t,n,r,a){return e=_.createElement(e),t&&f(e,t),a&&p(e,{padding:"0",border:"none",margin:"0"}),n&&p(e,n),r&&r.appendChild(e),e},css:p,defined:u,destroyObjectProperties:function(e,t){g(e,(function(n,r){n&&n!==t&&n.destroy&&n.destroy(),delete e[r]}))},discardElement:function(e){e&&e.parentElement&&e.parentElement.removeChild(e)},erase:function(e,t){for(var n=e.length;n--;)if(e[n]===t){e.splice(n,1);break}},error:t,extend:f,extendClass:function(e,t){var n=function(){};return n.prototype=new e,f(n.prototype,t),n},find:k,fireEvent:O,getMagnitude:m,getNestedProperty:function(e,t){for(e=e.split(".");e.length&&u(t);){var n=e.shift();if("undefined"===typeof n||"__proto__"===n)return;if(t=t[n],!u(t)||"function"===typeof t||"number"===typeof t.nodeType||t===j)return}return t},getStyle:b,inArray:function(e,n,r){return t(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),n.indexOf(e,r)},isArray:o,isClass:l,isDOMElement:s,isFunction:function(e){return"function"===typeof e},isNumber:c,isObject:i,isString:a,keys:function(e){return t(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(e)},merge:function(){var e,t=arguments,n={},r=function(e,t){return"object"!==typeof e&&(e={}),g(t,(function(n,a){"__proto__"!==a&&"constructor"!==a&&(!i(n,!0)||l(n)||s(n)?e[a]=t[a]:e[a]=r(e[a]||{},n))})),e};!0===t[0]&&(n=t[1],t=Array.prototype.slice.call(t,2));var a=t.length;for(e=0;e<a;e++)n=r(n,t[e]);return n},normalizeTickInterval:function(e,t,n,r,a){var o=e;n=h(n,m(e));var i=e/n;for(t||(t=a?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===r&&(1===n?t=t.filter((function(e){return 0===e%1})):.1>=n&&(t=[1/n]))),r=0;r<t.length&&(o=t[r],!(a&&o*n>=e||!a&&i<=(t[r]+(t[r+1]||t[r]))/2));r++);return v(o*n,-Math.round(Math.log(.001)/Math.LN10))},objectEach:g,offset:function(e){var t=_.documentElement;return e=e.parentElement||e.parentNode?e.getBoundingClientRect():{top:0,left:0,width:0,height:0},{top:e.top+(j.pageYOffset||t.scrollTop)-(t.clientTop||0),left:e.left+(j.pageXOffset||t.scrollLeft)-(t.clientLeft||0),width:e.width,height:e.height}},pad:function(e,t,n){return Array((t||2)+1-String(e).replace("-","").length).join(n||"0")+e},pick:h,pInt:r,relativeLength:function(e,t,n){return/%$/.test(e)?t*parseFloat(e)/100+(n||0):parseFloat(e)},removeEvent:y,splat:function(e){return o(e)?e:[e]},stableSort:function(e,t){var n,r,a=e.length;for(r=0;r<a;r++)e[r].safeI=r;for(e.sort((function(e,r){return n=t(e,r),0===n?e.safeI-r.safeI:n})),r=0;r<a;r++)delete e[r].safeI},syncTimeout:function(e,t,n){return 0<t?setTimeout(e,t,n):(e.call(0,n),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:S,useSerialIds:function(e){return x=h(e,x)},wrap:function(e,t,n){var r=e[t];e[t]=function(){var e=arguments,t=this;return n.apply(this,[function(){return r.apply(t,arguments.length?arguments:e)}].concat([].slice.call(arguments)))}}},k})),t(n,"Core/Chart/ChartDefaults.js",[],(function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}})),t(n,"Core/Color/Color.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(e,t){var n=t.isNumber,r=t.merge,a=t.pInt;return t=function(){function t(n){this.rgba=[NaN,NaN,NaN,NaN],this.input=n;var r=e.Color;return r&&r!==t?new r(n):this instanceof t?void this.init(n):new t(n)}return t.parse=function(e){return e?new t(e):t.None},t.prototype.init=function(e){var n;if("object"===typeof e&&"undefined"!==typeof e.stops)this.stops=e.stops.map((function(e){return new t(e[1])}));else if("string"===typeof e){if(this.input=e=t.names[e.toLowerCase()]||e,"#"===e.charAt(0)){var r=e.length,a=parseInt(e.substr(1),16);7===r?n=[(16711680&a)>>16,(65280&a)>>8,255&a,1]:4===r&&(n=[(3840&a)>>4|(3840&a)>>8,(240&a)>>4|240&a,(15&a)<<4|15&a,1])}if(!n)for(a=t.parsers.length;a--&&!n;){var o=t.parsers[a];(r=o.regex.exec(e))&&(n=o.parse(r))}}n&&(this.rgba=n)},t.prototype.get=function(e){var t=this.input,a=this.rgba;if("object"===typeof t&&"undefined"!==typeof this.stops){var o=r(t);return o.stops=[].slice.call(o.stops),this.stops.forEach((function(t,n){o.stops[n]=[o.stops[n][0],t.get(e)]})),o}return a&&n(a[0])?"rgb"===e||!e&&1===a[3]?"rgb("+a[0]+","+a[1]+","+a[2]+")":"a"===e?"".concat(a[3]):"rgba("+a.join(",")+")":t},t.prototype.brighten=function(e){var t=this.rgba;if(this.stops)this.stops.forEach((function(t){t.brighten(e)}));else if(n(e)&&0!==e)for(var r=0;3>r;r++)t[r]+=a(255*e),0>t[r]&&(t[r]=0),255<t[r]&&(t[r]=255);return this},t.prototype.setOpacity=function(e){return this.rgba[3]=e,this},t.prototype.tweenTo=function(e,t){var r=this.rgba,a=e.rgba;return n(r[0])&&n(a[0])?(e=1!==a[3]||1!==r[3],(e?"rgba(":"rgb(")+Math.round(a[0]+(r[0]-a[0])*(1-t))+","+Math.round(a[1]+(r[1]-a[1])*(1-t))+","+Math.round(a[2]+(r[2]-a[2])*(1-t))+(e?","+(a[3]+(r[3]-a[3])*(1-t)):"")+")"):e.input||"none"},t.names={white:"#ffffff",black:"#000000"},t.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(e){return[a(e[1]),a(e[2]),a(e[3]),parseFloat(e[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(e){return[a(e[1]),a(e[2]),a(e[3]),1]}}],t.None=new t(""),t}(),t})),t(n,"Core/Color/Palettes.js",[],(function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}})),t(n,"Core/Time.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(e,t){var n=e.win,r=t.defined,a=t.error,o=t.extend,i=t.isObject,s=t.merge,l=t.objectEach,c=t.pad,u=t.pick,d=t.splat,f=t.timeUnits,h=e.isSafari&&n.Intl&&n.Intl.DateTimeFormat.prototype.formatRange,p=e.isSafari&&n.Intl&&!n.Intl.DateTimeFormat.prototype.formatRange;return t=function(){function t(e){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=n.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(e)}return t.prototype.get=function(e,t){if(this.variableTimezone||this.timezoneOffset){var n=t.getTime(),r=n-this.getTimezoneOffset(t);return t.setTime(r),e=t["getUTC"+e](),t.setTime(n),e}return this.useUTC?t["getUTC"+e]():t["get"+e]()},t.prototype.set=function(e,t,n){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===e||"Seconds"===e||"Minutes"===e&&0===this.getTimezoneOffset(t)%36e5)return t["setUTC"+e](n);var r=this.getTimezoneOffset(t);return r=t.getTime()-r,t.setTime(r),t["setUTC"+e](n),e=this.getTimezoneOffset(t),r=t.getTime()+e,t.setTime(r)}return this.useUTC||h&&"FullYear"===e?t["setUTC"+e](n):t["set"+e](n)},t.prototype.update=function(e){void 0===e&&(e={});var t=u(e.useUTC,!0);this.options=e=s(!0,this.options,e),this.Date=e.Date||n.Date||Date,this.timezoneOffset=(this.useUTC=t)&&e.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=t&&!(!e.getTimezoneOffset&&!e.timezone)},t.prototype.makeTime=function(e,t,n,r,a,o){if(this.useUTC){var i=this.Date.UTC.apply(0,arguments),s=this.getTimezoneOffset(i);i+=s;var l=this.getTimezoneOffset(i);s!==l?i+=l-s:s-36e5!==this.getTimezoneOffset(i-36e5)||p||(i-=36e5)}else i=new this.Date(e,t,u(n,1),u(r,0),u(a,0),u(o,0)).getTime();return i},t.prototype.timezoneOffsetFunction=function(){var e=this,t=this.options,r=t.getTimezoneOffset,o=t.moment||n.moment;if(!this.useUTC)return function(e){return 6e4*new Date(e.toString()).getTimezoneOffset()};if(t.timezone){if(o)return function(e){return 6e4*-o.tz(e,t.timezone).utcOffset()};a(25)}return this.useUTC&&r?function(e){return 6e4*r(e.valueOf())}:function(){return 6e4*(e.timezoneOffset||0)}},t.prototype.dateFormat=function(t,n,a){if(!r(n)||isNaN(n))return e.defaultOptions.lang&&e.defaultOptions.lang.invalidDate||"";t=u(t,"%Y-%m-%d %H:%M:%S");var i=this,s=new this.Date(n),d=this.get("Hours",s),f=this.get("Day",s),h=this.get("Date",s),p=this.get("Month",s),m=this.get("FullYear",s),v=e.defaultOptions.lang,b=v&&v.weekdays,g=v&&v.shortWeekdays;return s=o({a:g?g[f]:b[f].substr(0,3),A:b[f],d:c(h),e:c(h,2," "),w:f,b:v.shortMonths[p],B:v.months[p],m:c(p+1),o:p+1,y:m.toString().substr(2,2),Y:m,H:c(d),k:d,I:c(d%12||12),l:d%12||12,M:c(this.get("Minutes",s)),p:12>d?"AM":"PM",P:12>d?"am":"pm",S:c(s.getSeconds()),L:c(Math.floor(n%1e3),3)},e.dateFormats),l(s,(function(e,r){for(;-1!==t.indexOf("%"+r);)t=t.replace("%"+r,"function"===typeof e?e.call(i,n):e)})),a?t.substr(0,1).toUpperCase()+t.substr(1):t},t.prototype.resolveDTLFormat=function(e){return i(e,!0)?e:(e=d(e),{main:e[0],from:e[1],to:e[2]})},t.prototype.getTimeTicks=function(e,t,n,a){var i,s=this,l=[],c={},d=new s.Date(t),h=e.unitRange,p=e.count||1;if(a=u(a,1),r(t)){if(s.set("Milliseconds",d,h>=f.second?0:p*Math.floor(s.get("Milliseconds",d)/p)),h>=f.second&&s.set("Seconds",d,h>=f.minute?0:p*Math.floor(s.get("Seconds",d)/p)),h>=f.minute&&s.set("Minutes",d,h>=f.hour?0:p*Math.floor(s.get("Minutes",d)/p)),h>=f.hour&&s.set("Hours",d,h>=f.day?0:p*Math.floor(s.get("Hours",d)/p)),h>=f.day&&s.set("Date",d,h>=f.month?1:Math.max(1,p*Math.floor(s.get("Date",d)/p))),h>=f.month){s.set("Month",d,h>=f.year?0:p*Math.floor(s.get("Month",d)/p));var m=s.get("FullYear",d)}h>=f.year&&s.set("FullYear",d,m-m%p),h===f.week&&(m=s.get("Day",d),s.set("Date",d,s.get("Date",d)-m+a+(m<a?-7:0))),m=s.get("FullYear",d),a=s.get("Month",d);var v=s.get("Date",d),b=s.get("Hours",d);for(t=d.getTime(),!s.variableTimezone&&s.useUTC||!r(n)||(i=n-t>4*f.month||s.getTimezoneOffset(t)!==s.getTimezoneOffset(n)),t=d.getTime(),d=1;t<n;)l.push(t),t=h===f.year?s.makeTime(m+d*p,0):h===f.month?s.makeTime(m,a+d*p):!i||h!==f.day&&h!==f.week?i&&h===f.hour&&1<p?s.makeTime(m,a,v,b+d*p):t+h*p:s.makeTime(m,a,v+d*p*(h===f.day?1:7)),d++;l.push(t),h<=f.hour&&1e4>l.length&&l.forEach((function(e){0===e%18e5&&"000000000"===s.dateFormat("%H%M%S%L",e)&&(c[e]="day")}))}return l.info=o(e,{higherRanks:c,totalRange:h*p}),l},t.prototype.getDateFormat=function(e,t,n,r){var a=this.dateFormat("%m-%d %H:%M:%S.%L",t),o={millisecond:15,second:12,minute:9,hour:6,day:3},i="millisecond";for(s in f){if(e===f.week&&+this.dateFormat("%w",t)===n&&"00:00:00.000"===a.substr(6)){var s="week";break}if(f[s]>e){s=i;break}if(o[s]&&a.substr(o[s])!=="01-01 00:00:00.000".substr(o[s]))break;"week"!==s&&(i=s)}return this.resolveDTLFormat(r[s]).main},t}(),t})),t(n,"Core/Defaults.js",[n["Core/Chart/ChartDefaults.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Color/Palettes.js"],n["Core/Time.js"],n["Core/Utilities.js"]],(function(e,t,n,r,a,o){t=t.parse;var i=o.merge,s={colors:r.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:e,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:n.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:n.isTouchDevice?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:t("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};s.chart.styledMode=!1;var l=new a(i(s.global,s.time));return e={defaultOptions:s,defaultTime:l,getOptions:function(){return s},setOptions:function(e){return i(!0,s,e),(e.time||e.global)&&(n.time?n.time.update(i(s.global,s.time,e.global,e.time)):n.time=l),s}},e})),t(n,"Core/Animation/Fx.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(e,t,n){var r=e.parse,a=t.win,o=n.isNumber,i=n.objectEach;return function(){function e(e,t,n){this.pos=NaN,this.options=t,this.elem=e,this.prop=n}return e.prototype.dSetter=function(){var e=this.paths,t=e&&e[0];e=e&&e[1];var n=this.now||0,r=[];if(1!==n&&t&&e)if(t.length===e.length&&1>n)for(var a=0;a<e.length;a++){for(var i=t[a],s=e[a],l=[],c=0;c<s.length;c++){var u=i[c],d=s[c];o(u)&&o(d)&&("A"!==s[0]||4!==c&&5!==c)?l[c]=u+n*(d-u):l[c]=d}r.push(l)}else r=e;else r=this.toD||[];this.elem.attr("d",r,void 0,!0)},e.prototype.update=function(){var e=this.elem,t=this.prop,n=this.now,r=this.options.step;this[t+"Setter"]?this[t+"Setter"]():e.attr?e.element&&e.attr(t,n,null,!0):e.style[t]=n+this.unit,r&&r.call(e,n,this)},e.prototype.run=function(t,n,r){var o=this,i=o.options,s=function(e){return!s.stopped&&o.step(e)},l=a.requestAnimationFrame||function(e){setTimeout(e,13)},c=function(){for(var t=0;t<e.timers.length;t++)e.timers[t]()||e.timers.splice(t--,1);e.timers.length&&l(c)};t!==n||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=t,this.end=n,this.unit=r,this.now=this.start,this.pos=0,s.elem=this.elem,s.prop=this.prop,s()&&1===e.timers.push(s)&&l(c)):(delete i.curAnim[this.prop],i.complete&&0===Object.keys(i.curAnim).length&&i.complete.call(this.elem))},e.prototype.step=function(e){var t=+new Date,n=this.options,r=this.elem,a=n.complete,o=n.duration,s=n.curAnim;if(r.attr&&!r.element)e=!1;else if(e||t>=o+this.startTime){this.now=this.end,this.pos=1,this.update();var l=s[this.prop]=!0;i(s,(function(e){!0!==e&&(l=!1)})),l&&a&&a.call(r),e=!1}else this.pos=n.easing((t-this.startTime)/o),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0;return e},e.prototype.initPath=function(e,t,n){function r(e,t){for(;e.length<f;){var n=e[0],r=t[f-e.length];r&&"M"===n[0]&&(e[0]="C"===r[0]?["C",n[1],n[2],n[1],n[2],n[1],n[2]]:["L",n[1],n[2]]),e.unshift(n),l&&(n=e.pop(),e.push(e[e.length-1],n))}}function a(e,t){for(;e.length<f;)if(t=e[Math.floor(e.length/c)-1].slice(),"C"===t[0]&&(t[1]=t[5],t[2]=t[6]),l){var n=e[Math.floor(e.length/c)].slice();e.splice(e.length/2,0,t,n)}else e.push(t)}var i=e.startX,s=e.endX;n=n.slice();var l=e.isArea,c=l?2:1;if(t=t&&t.slice(),!t)return[n,n];if(i&&s&&s.length){for(e=0;e<i.length;e++){if(i[e]===s[0]){var u=e;break}if(i[0]===s[s.length-i.length+e]){u=e;var d=!0;break}if(i[i.length-1]===s[s.length-i.length+e]){u=i.length-e;break}}"undefined"===typeof u&&(t=[])}if(t.length&&o(u)){var f=n.length+u*c;d?(r(t,n),a(n,t)):(r(n,t),a(t,n))}return[t,n]},e.prototype.fillSetter=function(){e.prototype.strokeSetter.apply(this,arguments)},e.prototype.strokeSetter=function(){this.elem.attr(this.prop,r(this.start).tweenTo(r(this.end),this.pos),void 0,!0)},e.timers=[],e}()})),t(n,"Core/Animation/AnimationUtilities.js",[n["Core/Animation/Fx.js"],n["Core/Utilities.js"]],(function(e,t){function n(e){return l(e)?c({duration:500,defer:0},e):{duration:e?500:0,defer:0}}function r(t,n){for(var r=e.timers.length;r--;)e.timers[r].elem!==t||n&&n!==e.timers[r].prop||(e.timers[r].stopped=!0)}var a=t.defined,o=t.getStyle,i=t.isArray,s=t.isNumber,l=t.isObject,c=t.merge,u=t.objectEach,d=t.pick;return{animate:function(t,n,a){var d,f,h,p="";if(!l(a)){var m=arguments;a={duration:m[2],easing:m[3],complete:m[4]}}s(a.duration)||(a.duration=400),a.easing="function"===typeof a.easing?a.easing:Math[a.easing]||Math.easeInOutSine,a.curAnim=c(n),u(n,(function(s,l){r(t,l),h=new e(t,a,l),f=void 0,"d"===l&&i(n.d)?(h.paths=h.initPath(t,t.pathArray,n.d),h.toD=n.d,d=0,f=1):t.attr?d=t.attr(l):(d=parseFloat(o(t,l))||0,"opacity"!==l&&(p="px")),f||(f=s),"string"===typeof f&&f.match("px")&&(f=f.replace(/px/g,"")),h.run(d,f,p)}))},animObject:n,getDeferredAnimation:function(e,t,r){var o=n(t),i=0,s=0;return(r?[r]:e.series).forEach((function(e){e=n(e.options.animation),i=t&&a(t.defer)?o.defer:Math.max(i,e.duration+e.defer),s=Math.min(o.duration,e.duration)})),e.renderer.forExport&&(i=0),{defer:Math.max(0,i-s),duration:Math.min(i,s)}},setAnimation:function(e,t){t.renderer.globalAnimation=d(e,t.options.chart.animation,!0)},stop:r}})),t(n,"Core/Renderer/HTML/AST.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(e,t){var n=e.SVG_NS,r=t.attr,a=t.createElement,o=t.css,i=t.error,s=t.isFunction,l=t.isString,c=t.objectEach,u=t.splat,d=(t=e.win.trustedTypes)&&s(t.createPolicy)&&t.createPolicy("highcharts",{createHTML:function(e){return e}}),f=d?d.createHTML(""):"";try{var h=!!(new DOMParser).parseFromString(f,"text/html")}catch(p){h=!1}return s=function(){function t(e){this.nodes="string"===typeof e?this.parseMarkup(e):e}return t.filterUserAttributes=function(e){return c(e,(function(n,r){var a=!0;-1===t.allowedAttributes.indexOf(r)&&(a=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(r)&&(a=l(n)&&t.allowedReferences.some((function(e){return 0===n.indexOf(e)}))),a||(i(33,!1,void 0,{"Invalid attribute in config":"".concat(r)}),delete e[r]),l(n)&&e[r]&&(e[r]=n.replace(/</g,"&lt;"))})),e},t.parseStyle=function(e){return e.split(";").reduce((function(e,t){t=t.split(":").map((function(e){return e.trim()}));var n=t.shift();return n&&t.length&&(e[n.replace(/-([a-z])/g,(function(e){return e[1].toUpperCase()}))]=t.join(":")),e}),{})},t.setElementHTML=function(e,n){e.innerHTML=t.emptyHTML,n&&new t(n).addToDOM(e)},t.prototype.addToDOM=function(a){function s(a,l){var d;return u(a).forEach((function(a){var u=a.tagName,f=a.textContent?e.doc.createTextNode(a.textContent):void 0,h=t.bypassHTMLFiltering;if(u)if("#text"===u)var p=f;else if(-1!==t.allowedTags.indexOf(u)||h){u=e.doc.createElementNS("svg"===u?n:l.namespaceURI||n,u);var m=a.attributes||{};c(a,(function(e,t){"tagName"!==t&&"attributes"!==t&&"children"!==t&&"style"!==t&&"textContent"!==t&&(m[t]=e)})),r(u,h?m:t.filterUserAttributes(m)),a.style&&o(u,a.style),f&&u.appendChild(f),s(a.children||[],u),p=u}else i(33,!1,void 0,{"Invalid tagName in config":u});p&&l.appendChild(p),d=p})),d}return s(this.nodes,a)},t.prototype.parseMarkup=function(e){var n=[];if(e=e.trim().replace(/ style=(["'])/g," data-style=$1"),h)e=(new DOMParser).parseFromString(d?d.createHTML(e):e,"text/html");else{var r=a("div");r.innerHTML=e,e={body:r}}var o=function(e,n){var r=e.nodeName.toLowerCase(),a={tagName:r};if("#text"===r&&(a.textContent=e.textContent||""),r=e.attributes){var i={};[].forEach.call(r,(function(e){"data-style"===e.name?a.style=t.parseStyle(e.value):i[e.name]=e.value})),a.attributes=i}if(e.childNodes.length){var s=[];[].forEach.call(e.childNodes,(function(e){o(e,s)})),s.length&&(a.children=s)}n.push(a)};return[].forEach.call(e.body.childNodes,(function(e){return o(e,n)})),n},t.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align text-anchor textAnchor textLength title type valign width x x1 x2 xlink:href y y1 y2 zIndex".split(" "),t.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),t.allowedTags="a abbr b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text textPath thead title tbody tspan td th tr u ul #text".split(" "),t.emptyHTML=f,t.bypassHTMLFiltering=!1,t}(),s})),t(n,"Core/FormatUtilities.js",[n["Core/Defaults.js"],n["Core/Utilities.js"]],(function(e,t){function n(e,t,n,a){e=+e||0,t=+t;var o=r.lang,c=(e.toString().split(".")[1]||"").split("e")[0].length,u=e.toString().split("e"),d=t;if(-1===t)t=Math.min(c,20);else if(i(t)){if(t&&u[1]&&0>u[1]){var f=t+ +u[1];0<=f?(u[0]=(+u[0]).toExponential(f).split("e")[0],t=f):(u[0]=u[0].split(".")[0]||0,e=20>t?(u[0]*Math.pow(10,u[1])).toFixed(t):0,u[1]=0)}}else t=2;f=(Math.abs(u[1]?u[0]:e)+Math.pow(10,-Math.max(t,c)-1)).toFixed(t),c=String(l(f));var h=3<c.length?c.length%3:0;return n=s(n,o.decimalPoint),a=s(a,o.thousandsSep),e=(0>e?"-":"")+(h?c.substr(0,h)+a:""),e=0>+u[1]&&!d?"0":e+c.substr(h).replace(/(\d{3})(?=\d)/g,"$1"+a),t&&(e+=n+f.slice(-t)),u[1]&&0!==+e&&(e+="e"+u[1]),e}var r=e.defaultOptions,a=e.defaultTime,o=t.getNestedProperty,i=t.isNumber,s=t.pick,l=t.pInt;return{dateFormat:function(e,t,n){return a.dateFormat(e,t,n)},format:function(e,t,i){var s="{",l=!1,c=/f$/,u=/\.([0-9])/,d=r.lang,f=i&&i.time||a;i=i&&i.numberFormatter||n;for(var h=[];e;){var p=e.indexOf(s);if(-1===p)break;var m=e.slice(0,p);if(l){if(m=m.split(":"),s=o(m.shift()||"",t),m.length&&"number"===typeof s)if(m=m.join(":"),c.test(m)){var v=parseInt((m.match(u)||["","-1"])[1],10);null!==s&&(s=i(s,v,d.decimalPoint,-1<m.indexOf(",")?d.thousandsSep:""))}else s=f.dateFormat(m,s);h.push(s)}else h.push(m);e=e.slice(p+1),s=(l=!l)?"}":"{"}return h.push(e),h.join("")},numberFormat:n}})),t(n,"Core/Renderer/RendererUtilities.js",[n["Core/Utilities.js"]],(function(e){var t,n=e.clamp,r=e.pick,a=e.stableSort;return function(e){function t(e,o,i){var s,l=e,c=l.reducedLen||o,u=function(e,t){return(t.rank||0)-(e.rank||0)},d=function(e,t){return e.target-t.target},f=!0,h=[],p=0;for(s=e.length;s--;)p+=e[s].size;if(p>c){for(a(e,u),p=s=0;p<=c;)p+=e[s].size,s++;h=e.splice(s-1,e.length)}for(a(e,d),e=e.map((function(e){return{size:e.size,targets:[e.target],align:r(e.align,.5)}}));f;){for(s=e.length;s--;)c=e[s],u=(Math.min.apply(0,c.targets)+Math.max.apply(0,c.targets))/2,c.pos=n(u-c.size*c.align,0,o-c.size);for(s=e.length,f=!1;s--;)0<s&&e[s-1].pos+e[s-1].size>e[s].pos&&(e[s-1].size+=e[s].size,e[s-1].targets=e[s-1].targets.concat(e[s].targets),e[s-1].align=.5,e[s-1].pos+e[s-1].size>o&&(e[s-1].pos=o-e[s-1].size),e.splice(s,1),f=!0)}return l.push.apply(l,h),s=0,e.some((function(e){var n=0;return(e.targets||[]).some((function(){return l[s].pos=e.pos+n,"undefined"!==typeof i&&Math.abs(l[s].pos-l[s].target)>i?(l.slice(0,s+1).forEach((function(e){return delete e.pos})),l.reducedLen=(l.reducedLen||o)-.1*o,l.reducedLen>.1*o&&t(l,o,i),!0):(n+=l[s].size,s++,!1)}))})),a(l,d),l}e.distribute=t}(t||(t={})),t})),t(n,"Core/Renderer/SVG/SVGElement.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(e,t,n,r){var a=e.animate,o=e.animObject,i=e.stop,s=n.deg2rad,l=n.doc,c=n.svg,u=n.SVG_NS,d=n.win,f=r.addEvent,h=r.attr,p=r.createElement,m=r.css,v=r.defined,b=r.erase,g=r.extend,y=r.fireEvent,O=r.isArray,w=r.isFunction,_=r.isString,j=r.merge,k=r.objectEach,x=r.pick,S=r.pInt,C=r.syncTimeout,M=r.uniqueKey;return e=function(){function e(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=u,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return e.prototype._defaultGetter=function(e){return e=x(this[e+"Value"],this[e],this.element?this.element.getAttribute(e):null,0),/^[\-0-9\.]+$/.test(e)&&(e=parseFloat(e)),e},e.prototype._defaultSetter=function(e,t,n){n.setAttribute(t,e)},e.prototype.add=function(e){var t=this.renderer,n=this.element;if(e&&(this.parentGroup=e),"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&t.buildText(this),this.added=!0,!e||e.handleZ||this.zIndex)var r=this.zIndexSetter();return r||(e?e.element:t.box).appendChild(n),this.onAdd&&this.onAdd(),this},e.prototype.addClass=function(e,t){var n=t?"":this.attr("class")||"";return e=(e||"").split(/ /g).reduce((function(e,t){return-1===n.indexOf(t)&&e.push(t),e}),n?[n]:[]).join(" "),e!==n&&this.attr("class",e),this},e.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},e.prototype.align=function(e,t,n){var r,a,o,i={},s=this.renderer,l=s.alignedObjects;e?(this.alignOptions=e,this.alignByTranslate=t,(!n||_(n))&&(this.alignTo=r=n||"renderer",b(l,this),l.push(this),n=void 0)):(e=this.alignOptions,t=this.alignByTranslate,r=this.alignTo),n=x(n,s[r],"scrollablePlotBox"===r?s.plotBox:void 0,s),r=e.align;var c=e.verticalAlign;return s=(n.x||0)+(e.x||0),l=(n.y||0)+(e.y||0),"right"===r?a=1:"center"===r&&(a=2),a&&(s+=(n.width-(e.width||0))/a),i[t?"translateX":"x"]=Math.round(s),"bottom"===c?o=1:"middle"===c&&(o=2),o&&(l+=(n.height-(e.height||0))/o),i[t?"translateY":"y"]=Math.round(l),this[this.placed?"animate":"attr"](i),this.placed=!0,this.alignAttr=i,this},e.prototype.alignSetter=function(e){var t={left:"start",center:"middle",right:"end"};t[e]&&(this.alignValue=e,this.element.setAttribute("text-anchor",t[e]))},e.prototype.animate=function(e,t,n){var r=this,i=o(x(t,this.renderer.globalAnimation,!0));return t=i.defer,x(l.hidden,l.msHidden,l.webkitHidden,!1)&&(i.duration=0),0!==i.duration?(n&&(i.complete=n),C((function(){r.element&&a(r,e,i)}),t)):(this.attr(e,void 0,n||i.complete),k(e,(function(e,t){i.step&&i.step.call(this,e,{prop:t,pos:1,elem:this})}),this)),this},e.prototype.applyTextOutline=function(e){var t=this.element;-1!==e.indexOf("contrast")&&(e=e.replace(/contrast/g,this.renderer.getContrast(t.style.fill)));var r=e.split(" ");if(e=r[r.length-1],(r=r[0])&&"none"!==r&&n.svg){this.fakeTS=!0,r=r.replace(/(^[\d\.]+)(.*?)$/g,(function(e,t,n){return 2*Number(t)+n})),this.removeTextOutline();var a=l.createElementNS(u,"tspan");h(a,{class:"highcharts-text-outline",fill:e,stroke:e,"stroke-width":r,"stroke-linejoin":"round"}),e=t.querySelector("textPath")||t,[].forEach.call(e.childNodes,(function(e){var t=e.cloneNode(!0);t.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(e){return t.removeAttribute(e)})),a.appendChild(t)}));var o=0;[].forEach.call(e.querySelectorAll("text tspan"),(function(e){o+=Number(e.getAttribute("dy"))})),r=l.createElementNS(u,"tspan"),r.textContent="​",h(r,{x:Number(t.getAttribute("x")),dy:-o}),a.appendChild(r),e.insertBefore(a,e.firstChild)}},e.prototype.attr=function(e,t,n,r){var a,o,s,l=this.element,c=this.symbolCustomAttribs,u=this;if("string"===typeof e&&"undefined"!==typeof t){var d=e;e={},e[d]=t}return"string"===typeof e?u=(this[e+"Getter"]||this._defaultGetter).call(this,e,l):(k(e,(function(t,n){o=!1,r||i(this,n),this.symbolName&&-1!==c.indexOf(n)&&(a||(this.symbolAttr(e),a=!0),o=!0),!this.rotation||"x"!==n&&"y"!==n||(this.doTransform=!0),o||(s=this[n+"Setter"]||this._defaultSetter,s.call(this,t,n,l),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(n)&&this.updateShadows(n,t,s))}),this),this.afterSetters()),n&&n.call(this),u},e.prototype.clip=function(e){return this.attr("clip-path",e?"url("+this.renderer.url+"#"+e.id+")":"none")},e.prototype.crisp=function(e,t){t=t||e.strokeWidth||0;var n=Math.round(t)%2/2;return e.x=Math.floor(e.x||this.x||0)+n,e.y=Math.floor(e.y||this.y||0)+n,e.width=Math.floor((e.width||this.width||0)-2*n),e.height=Math.floor((e.height||this.height||0)-2*n),v(e.strokeWidth)&&(e.strokeWidth=t),e},e.prototype.complexColor=function(e,n,r){var a,o,i,s,l,c,u,d,f,h,p,m=this.renderer,b=[];y(this.renderer,"complexColor",{args:arguments},(function(){if(e.radialGradient?o="radialGradient":e.linearGradient&&(o="linearGradient"),o){if(i=e[o],l=m.gradients,c=e.stops,f=r.radialReference,O(i)&&(e[o]=i={x1:i[0],y1:i[1],x2:i[2],y2:i[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&f&&!v(i.gradientUnits)&&(s=i,i=j(i,m.getRadialAttr(f,s),{gradientUnits:"userSpaceOnUse"})),k(i,(function(e,t){"id"!==t&&b.push(t,e)})),k(c,(function(e){b.push(e)})),b=b.join(","),l[b])h=l[b].attr("id");else{i.id=h=M();var g=l[b]=m.createElement(o).attr(i).add(m.defs);g.radAttr=s,g.stops=[],c.forEach((function(e){0===e[1].indexOf("rgba")?(a=t.parse(e[1]),u=a.get("rgb"),d=a.get("a")):(u=e[1],d=1),e=m.createElement("stop").attr({offset:e[0],"stop-color":u,"stop-opacity":d}).add(g),g.stops.push(e)}))}p="url("+m.url+"#"+h+")",r.setAttribute(n,p),r.gradient=b,e.toString=function(){return p}}}))},e.prototype.css=function(e){var t=this.styles,n={},r=this.element,a=!t;if(e.color&&(e.fill=e.color),t&&k(e,(function(e,r){t&&t[r]!==e&&(n[r]=e,a=!0)})),a){if(t&&(e=g(t,n)),null===e.width||"auto"===e.width)delete this.textWidth;else if("text"===r.nodeName.toLowerCase()&&e.width)var o=this.textWidth=S(e.width);this.styles=e,o&&!c&&this.renderer.forExport&&delete e.width;var i=j(e);r.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach((function(e){return i&&delete i[e]})),m(r,i),this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),e.textOutline&&this.applyTextOutline(e.textOutline))}return this},e.prototype.dashstyleSetter=function(e){var t=this["stroke-width"];if("inherit"===t&&(t=1),e=e&&e.toLowerCase()){var n=e.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(e=n.length;e--;)n[e]=""+S(n[e])*x(t,NaN);e=n.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",e)}},e.prototype.destroy=function(){var e=this,t=e.element||{},n=e.renderer,r=t.ownerSVGElement,a=n.isSVG&&"SPAN"===t.nodeName&&e.parentGroup||void 0;if(t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null,i(e),e.clipPath&&r){var o=e.clipPath;[].forEach.call(r.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(e){-1<e.getAttribute("clip-path").indexOf(o.element.id)&&e.removeAttribute("clip-path")})),e.clipPath=o.destroy()}if(e.stops){for(r=0;r<e.stops.length;r++)e.stops[r].destroy();e.stops.length=0,e.stops=void 0}for(e.safeRemoveChild(t),n.styledMode||e.destroyShadows();a&&a.div&&0===a.div.childNodes.length;)t=a.parentGroup,e.safeRemoveChild(a.div),delete a.div,a=t;e.alignTo&&b(n.alignedObjects,e),k(e,(function(t,n){e[n]&&e[n].parentGroup===e&&e[n].destroy&&e[n].destroy(),delete e[n]}))},e.prototype.destroyShadows=function(){(this.shadows||[]).forEach((function(e){this.safeRemoveChild(e)}),this),this.shadows=void 0},e.prototype.dSetter=function(e,t,n){O(e)&&("string"===typeof e[0]&&(e=this.renderer.pathToSegments(e)),this.pathArray=e,e=e.reduce((function(e,t,n){return t&&t.join?(n?e+" ":"")+t.join(" "):(t||"").toString()}),"")),/(NaN| {2}|^$)/.test(e)&&(e="M 0 0"),this[t]!==e&&(n.setAttribute(t,e),this[t]=e)},e.prototype.fadeOut=function(e){var t=this;t.animate({opacity:0},{duration:x(e,150),complete:function(){t.hide()}})},e.prototype.fillSetter=function(e,t,n){"string"===typeof e?n.setAttribute(t,e):e&&this.complexColor(e,t,n)},e.prototype.getBBox=function(t,n){var r=this.alignValue,a=this.element,o=this.renderer,i=this.styles,l=this.textStr,c=o.cache,u=o.cacheKeys,d=a.namespaceURI===this.SVG_NS;n=x(n,this.rotation,0);var f,h=o.styledMode?a&&e.prototype.getStyle.call(a,"font-size"):i&&i.fontSize;if(v(l)){var p=l.toString();-1===p.indexOf("<")&&(p=p.replace(/[0-9]/g,"0")),p+=["",n,h,this.textWidth,r,i&&i.textOverflow,i&&i.fontWeight].join()}if(p&&!t&&(f=c[p]),!f){if(d||o.forExport){try{var b=this.fakeTS&&function(e){var t=a.querySelector(".highcharts-text-outline");t&&m(t,{display:e})};w(b)&&b("none"),f=a.getBBox?g({},a.getBBox()):{width:a.offsetWidth,height:a.offsetHeight,x:0,y:0},w(b)&&b("")}catch(O){}(!f||0>f.width)&&(f={x:0,y:0,width:0,height:0})}else f=this.htmlGetBBox();if(o.isSVG&&(o=f.width,t=f.height,d&&(f.height=t={"11px,17":14,"13px,20":16}[""+(h||"")+",".concat(Math.round(t))]||t),n)){d=Number(a.getAttribute("y")||0)-f.y,r={right:1,center:.5}[r||0]||0,i=n*s,h=(n-90)*s;var y=o*Math.cos(i);n=o*Math.sin(i),b=Math.cos(h),i=Math.sin(h),o=f.x+r*(o-y)+d*b,h=o+y,b=h-t*b,y=b-y,d=f.y+d-r*n+d*i,r=d+n,t=r-t*i,n=t-n,f.x=Math.min(o,h,b,y),f.y=Math.min(d,r,t,n),f.width=Math.max(o,h,b,y)-f.x,f.height=Math.max(d,r,t,n)-f.y}if(p&&(""===l||0<f.height)){for(;250<u.length;)delete c[u.shift()];c[p]||u.push(p),c[p]=f}}return f},e.prototype.getStyle=function(e){return d.getComputedStyle(this.element||this,"").getPropertyValue(e)},e.prototype.hasClass=function(e){return-1!==(""+this.attr("class")).split(" ").indexOf(e)},e.prototype.hide=function(){return this.attr({visibility:"hidden"})},e.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},e.prototype.init=function(e,t){this.element="span"===t?p(t):l.createElementNS(this.SVG_NS,t),this.renderer=e,y(this,"afterInit")},e.prototype.on=function(e,t){var n=this.onEvents;return n[e]&&n[e](),n[e]=f(this.element,e,t),this},e.prototype.opacitySetter=function(e,t,n){this.opacity=e=Number(Number(e).toFixed(3)),n.setAttribute(t,e)},e.prototype.removeClass=function(e){return this.attr("class",(""+this.attr("class")).replace(_(e)?new RegExp("(^| )".concat(e,"( |$)")):e," ").replace(/ +/g," ").trim())},e.prototype.removeTextOutline=function(){var e=this.element.querySelector("tspan.highcharts-text-outline");e&&this.safeRemoveChild(e)},e.prototype.safeRemoveChild=function(e){var t=e.parentNode;t&&t.removeChild(e)},e.prototype.setRadialReference=function(e){var t=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=e,t&&t.radAttr&&t.animate(this.renderer.getRadialAttr(e,t.radAttr)),this},e.prototype.setTextPath=function(e,t){var n=this;t=j(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},t);var r=this.renderer.url,a=this.text||this,o=a.textPath,i=t.attributes,s=t.enabled;return e=e||o&&o.path,o&&o.undo(),e&&s?(t=f(a,"afterModifyTree",(function(t){if(e&&s){var o=e.attr("id");o||e.attr("id",o=M());var l={x:0,y:0};v(i.dx)&&(l.dx=i.dx,delete i.dx),v(i.dy)&&(l.dy=i.dy,delete i.dy),a.attr(l),n.attr({transform:""}),n.box&&(n.box=n.box.destroy()),l=t.nodes.slice(0),t.nodes.length=0,t.nodes[0]={tagName:"textPath",attributes:g(i,{"text-anchor":i.textAnchor,href:""+r+"#".concat(o)}),children:l}}})),a.textPath={path:e,undo:t}):(a.attr({dx:0,dy:0}),delete a.textPath),this.added&&(a.textCache="",this.renderer.buildText(a)),this},e.prototype.shadow=function(e,t,n){var r=[],a=this.element,o=this.oldShadowOptions,i=this.parentGroup,s=i&&90===i.rotation;i={color:"#000000",offsetX:s?-1:1,offsetY:s?-1:1,opacity:.15,width:3};var l,c=!1;if(!0===e?l=i:"object"===typeof e&&(l=g(i,e)),l&&(l&&o&&k(l,(function(e,t){e!==o[t]&&(c=!0)})),c&&this.destroyShadows(),this.oldShadowOptions=l),l){if(!this.shadows){i=l.opacity/l.width;var u=s?"translate(".concat(l.offsetY,", ").concat(l.offsetX,")"):"translate(".concat(l.offsetX,", ").concat(l.offsetY,")");for(s=1;s<=l.width;s++){var d=a.cloneNode(!1),f=2*l.width+1-2*s;h(d,{stroke:e.color||"#000000","stroke-opacity":i*s,"stroke-width":f,transform:u,fill:"none"}),d.setAttribute("class",(d.getAttribute("class")||"")+" highcharts-shadow"),n&&(h(d,"height",Math.max(h(d,"height")-f,0)),d.cutHeight=f),t?t.element.appendChild(d):a.parentNode&&a.parentNode.insertBefore(d,a),r.push(d)}this.shadows=r}}else this.destroyShadows();return this},e.prototype.show=function(e){return void 0===e&&(e=!0),this.attr({visibility:e?"inherit":"visible"})},e.prototype["stroke-widthSetter"]=function(e,t,n){this[t]=e,n.setAttribute(t,e)},e.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var e=this.getStyle("stroke-width"),t=0;if(e.indexOf("px")===e.length-2)t=S(e);else if(""!==e){var n=l.createElementNS(u,"rect");h(n,{width:e,"stroke-width":0}),this.element.parentNode.appendChild(n),t=n.getBBox().width,n.parentNode.removeChild(n)}return t},e.prototype.symbolAttr=function(e){var t=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach((function(n){t[n]=x(e[n],t[n])})),t.attr({d:t.renderer.symbols[t.symbolName](t.x,t.y,t.width,t.height,t)})},e.prototype.textSetter=function(e){e!==this.textStr&&(delete this.textPxLength,this.textStr=e,this.added&&this.renderer.buildText(this))},e.prototype.titleSetter=function(e){var t=this.element,n=t.getElementsByTagName("title")[0]||l.createElementNS(this.SVG_NS,"title");t.insertBefore?t.insertBefore(n,t.firstChild):t.appendChild(n),n.textContent=String(x(e,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")},e.prototype.toFront=function(){var e=this.element;return e.parentNode.appendChild(e),this},e.prototype.translate=function(e,t){return this.attr({translateX:e,translateY:t})},e.prototype.updateShadows=function(e,t,n){var r=this.shadows;if(r)for(var a=r.length;a--;)n.call(r[a],"height"===e?Math.max(t-(r[a].cutHeight||0),0):"d"===e?this.d:t,e,r[a])},e.prototype.updateTransform=function(){var e=this.element,t=this.matrix,n=this.rotation;n=void 0===n?0:n;var r=this.scaleX,a=this.scaleY,o=this.translateX,i=this.translateY;o=["translate("+(void 0===o?0:o)+","+(void 0===i?0:i)+")"],v(t)&&o.push("matrix("+t.join(",")+")"),n&&o.push("rotate("+n+" "+x(this.rotationOriginX,e.getAttribute("x"),0)+" "+x(this.rotationOriginY,e.getAttribute("y")||0)+")"),(v(r)||v(a))&&o.push("scale("+x(r,1)+" "+x(a,1)+")"),o.length&&!(this.text||this).textPath&&e.setAttribute("transform",o.join(" "))},e.prototype.visibilitySetter=function(e,t,n){"inherit"===e?n.removeAttribute(t):this[t]!==e&&n.setAttribute(t,e),this[t]=e},e.prototype.xGetter=function(e){return"circle"===this.element.nodeName&&("x"===e?e="cx":"y"===e&&(e="cy")),this._defaultGetter(e)},e.prototype.zIndexSetter=function(e,t){var n=this.renderer,r=this.parentGroup,a=(r||n).element||n.box,o=this.element;n=a===n.box;var i,s=!1,l=this.added;if(v(e)?(o.setAttribute("data-z-index",e),e=+e,this[t]===e&&(l=!1)):v(this[t])&&o.removeAttribute("data-z-index"),this[t]=e,l){for((e=this.zIndex)&&r&&(r.handleZ=!0),t=a.childNodes,i=t.length-1;0<=i&&!s;i--){r=t[i],l=r.getAttribute("data-z-index");var c=!v(l);r!==o&&(0>e&&c&&!n&&!i?(a.insertBefore(o,t[i]),s=!0):(S(l)<=e||c&&(!v(e)||0<=e))&&(a.insertBefore(o,t[i+1]||null),s=!0))}s||(a.insertBefore(o,t[n?3:0]||null),s=!0)}return s},e}(),e.prototype.strokeSetter=e.prototype.fillSetter,e.prototype.yGetter=e.prototype.xGetter,e.prototype.matrixSetter=e.prototype.rotationOriginXSetter=e.prototype.rotationOriginYSetter=e.prototype.rotationSetter=e.prototype.scaleXSetter=e.prototype.scaleYSetter=e.prototype.translateXSetter=e.prototype.translateYSetter=e.prototype.verticalAlignSetter=function(e,t){this[t]=e,this.doTransform=!0},e})),t(n,"Core/Renderer/RendererRegistry.js",[n["Core/Globals.js"]],(function(e){var t;return function(t){var n;t.rendererTypes={},t.getRendererType=function(e){return void 0===e&&(e=n),t.rendererTypes[e]||t.rendererTypes[n]},t.registerRendererType=function(r,a,o){t.rendererTypes[r]=a,n&&!o||(n=r,e.Renderer=a)}}(t||(t={})),t})),t(n,"Core/Renderer/SVG/SVGLabel.js",[n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(e,t){var n=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),r=t.defined,a=t.extend,o=t.isNumber,i=t.merge,s=t.pick,l=t.removeEvent;return function(t){function c(e,n,r,a,o,i,s,l,u,d){var f,h=t.call(this)||this;return h.paddingLeftSetter=h.paddingSetter,h.paddingRightSetter=h.paddingSetter,h.init(e,"g"),h.textStr=n,h.x=r,h.y=a,h.anchorX=i,h.anchorY=s,h.baseline=u,h.className=d,h.addClass("button"===d?"highcharts-no-tooltip":"highcharts-label"),d&&h.addClass("highcharts-"+d),h.text=e.text(void 0,0,0,l).attr({zIndex:1}),"string"===typeof o&&((f=/^url\((.*?)\)$/.test(o))||h.renderer.symbols[o])&&(h.symbolKey=o),h.bBox=c.emptyBBox,h.padding=3,h.baselineOffset=0,h.needsBox=e.styledMode||f,h.deferredAttr={},h.alignFactor=0,h}return n(c,t),c.prototype.alignSetter=function(e){e={left:0,center:.5,right:1}[e],e!==this.alignFactor&&(this.alignFactor=e,this.bBox&&o(this.xSetting)&&this.attr({x:this.xSetting}))},c.prototype.anchorXSetter=function(e,t){this.anchorX=e,this.boxAttr(t,Math.round(e)-this.getCrispAdjust()-this.xSetting)},c.prototype.anchorYSetter=function(e,t){this.anchorY=e,this.boxAttr(t,e-this.ySetting)},c.prototype.boxAttr=function(e,t){this.box?this.box.attr(e,t):this.deferredAttr[e]=t},c.prototype.css=function(t){if(t){var n={};t=i(t),c.textProps.forEach((function(e){"undefined"!==typeof t[e]&&(n[e]=t[e],delete t[e])})),this.text.css(n),"fontSize"in n||"fontWeight"in n?this.updateTextPadding():("width"in n||"textOverflow"in n)&&this.updateBoxSize()}return e.prototype.css.call(this,t)},c.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),e.prototype.destroy.call(this)},c.prototype.fillSetter=function(e,t){e&&(this.needsBox=!0),this.fill=e,this.boxAttr(t,e)},c.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var e=this.padding,t=s(this.paddingLeft,e);return{width:this.width,height:this.height,x:this.bBox.x-t,y:this.bBox.y-e}},c.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},c.prototype.heightSetter=function(e){this.heightSetting=e},c.prototype.onAdd=function(){this.text.add(this),this.attr({text:s(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&r(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},c.prototype.paddingSetter=function(e,t){o(e)?e!==this[t]&&(this[t]=e,this.updateTextPadding()):this[t]=void 0},c.prototype.rSetter=function(e,t){this.boxAttr(t,e)},c.prototype.shadow=function(e){return e&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(e)),this},c.prototype.strokeSetter=function(e,t){this.stroke=e,this.boxAttr(t,e)},c.prototype["stroke-widthSetter"]=function(e,t){e&&(this.needsBox=!0),this["stroke-width"]=e,this.boxAttr(t,e)},c.prototype["text-alignSetter"]=function(e){this.textAlign=e},c.prototype.textSetter=function(e){"undefined"!==typeof e&&this.text.attr({text:e}),this.updateTextPadding()},c.prototype.updateBoxSize=function(){var e=this.text,t=e.element.style,n={},i=this.padding,s=this.bBox=o(this.widthSetting)&&o(this.heightSetting)&&!this.textAlign||!r(e.textStr)?c.emptyBBox:e.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||s.height||0)+2*i,t=this.renderer.fontMetrics(t&&t.fontSize,e),this.baselineOffset=i+Math.min((this.text.firstLineMetrics||t).b,s.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-t.h)/2),this.needsBox&&!e.textPath&&(this.box||(e=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect(),e.addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),e.add(this)),e=this.getCrispAdjust(),n.x=e,n.y=(this.baseline?-this.baselineOffset:0)+e,n.width=Math.round(this.width),n.height=Math.round(this.height),this.box.attr(a(n,this.deferredAttr)),this.deferredAttr={})},c.prototype.updateTextPadding=function(){var e=this.text;if(!e.textPath){this.updateBoxSize();var t=this.baseline?0:this.baselineOffset,n=s(this.paddingLeft,this.padding);r(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(n+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),n===e.x&&t===e.y||(e.attr("x",n),e.hasBoxWidthChanged&&(this.bBox=e.getBBox(!0)),"undefined"!==typeof t&&e.attr("y",t)),e.x=n,e.y=t}},c.prototype.widthSetter=function(e){this.widthSetting=o(e)?e:void 0},c.prototype.getPaddedWidth=function(){var e=this.padding,t=s(this.paddingLeft,e);return e=s(this.paddingRight,e),(this.widthSetting||this.bBox.width||0)+t+e},c.prototype.xSetter=function(e){this.x=e,this.alignFactor&&(e-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(e),this.attr("translateX",this.xSetting)},c.prototype.ySetter=function(e){this.ySetting=this.y=Math.round(e),this.attr("translateY",this.ySetting)},c.emptyBBox={width:0,height:0,x:0,y:0},c.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),c}(e)})),t(n,"Core/Renderer/SVG/Symbols.js",[n["Core/Utilities.js"]],(function(e){function t(e,t,n,r,o){var s=[];if(o){var l=o.start||0,c=i(o.r,n);n=i(o.r,r||n);var u=(o.end||0)-.001;r=o.innerR;var d=i(o.open,.001>Math.abs((o.end||0)-l-2*Math.PI)),f=Math.cos(l),h=Math.sin(l),p=Math.cos(u),m=Math.sin(u);l=i(o.longArc,.001>u-l-Math.PI?0:1),s.push(["M",e+c*f,t+n*h],["A",c,n,0,l,i(o.clockwise,1),e+c*p,t+n*m]),a(r)&&s.push(d?["M",e+r*p,t+r*m]:["L",e+r*p,t+r*m],["A",r,r,0,l,a(o.clockwise)?1-o.clockwise:0,e+r*f,t+r*h]),d||s.push(["Z"])}return s}function n(e,t,n,a,o){return o&&o.r?r(e,t,n,a,o):[["M",e,t],["L",e+n,t],["L",e+n,t+a],["L",e,t+a],["Z"]]}function r(e,t,n,r,a){return a=a&&a.r||0,[["M",e+a,t],["L",e+n-a,t],["C",e+n,t,e+n,t,e+n,t+a],["L",e+n,t+r-a],["C",e+n,t+r,e+n,t+r,e+n-a,t+r],["L",e+a,t+r],["C",e,t+r,e,t+r,e,t+r-a],["L",e,t+a],["C",e,t,e,t,e+a,t]]}var a=e.defined,o=e.isNumber,i=e.pick;return{arc:t,callout:function(e,t,n,a,i){var s=Math.min(i&&i.r||0,n,a),l=s+6,c=i&&i.anchorX;i=i&&i.anchorY||0;var u=r(e,t,n,a,{r:s});return o(c)?(e+c>=n?i>t+l&&i<t+a-l?u.splice(3,1,["L",e+n,i-6],["L",e+n+6,i],["L",e+n,i+6],["L",e+n,t+a-s]):u.splice(3,1,["L",e+n,a/2],["L",c,i],["L",e+n,a/2],["L",e+n,t+a-s]):0>=e+c?i>t+l&&i<t+a-l?u.splice(7,1,["L",e,i+6],["L",e-6,i],["L",e,i-6],["L",e,t+s]):u.splice(7,1,["L",e,a/2],["L",c,i],["L",e,a/2],["L",e,t+s]):i&&i>a&&c>e+l&&c<e+n-l?u.splice(5,1,["L",c+6,t+a],["L",c,t+a+6],["L",c-6,t+a],["L",e+s,t+a]):i&&0>i&&c>e+l&&c<e+n-l&&u.splice(1,1,["L",c-6,t],["L",c,t-6],["L",c+6,t],["L",n-s,t]),u):u},circle:function(e,n,r,a){return t(e+r/2,n+a/2,r/2,a/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(e,t,n,r){return[["M",e+n/2,t],["L",e+n,t+r/2],["L",e+n/2,t+r],["L",e,t+r/2],["Z"]]},rect:n,roundedRect:r,square:n,triangle:function(e,t,n,r){return[["M",e+n/2,t],["L",e+n,t+r],["L",e,t+r],["Z"]]},"triangle-down":function(e,t,n,r){return[["M",e,t],["L",e+n,t],["L",e+n/2,t+r],["Z"]]}}})),t(n,"Core/Renderer/SVG/TextBuilder.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(e,t,n){var r=t.doc,a=t.SVG_NS,o=t.win,i=n.attr,s=n.extend,l=n.fireEvent,c=n.isString,u=n.objectEach,d=n.pick;return function(){function t(e){var t=e.styles;this.renderer=e.renderer,this.svgElement=e,this.width=e.textWidth,this.textLineHeight=t&&t.lineHeight,this.textOutline=t&&t.textOutline,this.ellipsis=!(!t||"ellipsis"!==t.textOverflow),this.noWrap=!(!t||"nowrap"!==t.whiteSpace),this.fontSize=t&&t.fontSize}return t.prototype.buildSVG=function(){var t=this.svgElement,n=t.element,a=t.renderer,o=d(t.textStr,"").toString(),i=-1!==o.indexOf("<"),s=n.childNodes;a=this.width&&!t.added&&a.box;var l=/<br.*?>/g,u=[o,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(u!==t.textCache){for(t.textCache=u,delete t.actualWidth,u=s.length;u--;)n.removeChild(s[u]);i||this.ellipsis||this.width||t.textPath||-1!==o.indexOf(" ")&&(!this.noWrap||l.test(o))?""!==o&&(a&&a.appendChild(n),o=new e(o),this.modifyTree(o.nodes),o.addToDOM(n),this.modifyDOM(),this.ellipsis&&-1!==(n.textContent||"").indexOf("…")&&t.attr("title",this.unescapeEntities(t.textStr||"",["&lt;","&gt;"])),a&&a.removeChild(n)):n.appendChild(r.createTextNode(this.unescapeEntities(o))),c(this.textOutline)&&t.applyTextOutline&&t.applyTextOutline(this.textOutline)}},t.prototype.modifyDOM=function(){var e,t=this,n=this.svgElement,s=i(n.element,"x");for(n.firstLineMetrics=void 0;e=n.element.firstChild;){if(!/^[\s\u200B]*$/.test(e.textContent||" "))break;n.element.removeChild(e)}[].forEach.call(n.element.querySelectorAll("tspan.highcharts-br"),(function(e,r){e.nextSibling&&e.previousSibling&&(0===r&&1===e.previousSibling.nodeType&&(n.firstLineMetrics=n.renderer.fontMetrics(void 0,e.previousSibling)),i(e,{dy:t.getLineHeight(e.nextSibling),x:s}))}));var l=this.width||0;if(l){var c=function(e,o){var c=e.textContent||"",u=c.replace(/([^\^])-/g,"$1- ").split(" "),d=!t.noWrap&&(1<u.length||1<n.element.childNodes.length),f=t.getLineHeight(o),h=0,p=n.actualWidth;if(t.ellipsis)c&&t.truncate(e,c,void 0,0,Math.max(0,l-parseInt(t.fontSize||12,10)),(function(e,t){return e.substring(0,t)+"…"}));else if(d){for(c=[],d=[];o.firstChild&&o.firstChild!==e;)d.push(o.firstChild),o.removeChild(o.firstChild);for(;u.length;)u.length&&!t.noWrap&&0<h&&(c.push(e.textContent||""),e.textContent=u.join(" ").replace(/- /g,"-")),t.truncate(e,void 0,u,0===h&&p||0,l,(function(e,t){return u.slice(0,t).join(" ").replace(/- /g,"-")})),p=n.actualWidth,h++;d.forEach((function(t){o.insertBefore(t,e)})),c.forEach((function(t){o.insertBefore(r.createTextNode(t),e),t=r.createElementNS(a,"tspan"),t.textContent="​",i(t,{dy:f,x:s}),o.insertBefore(t,e)}))}},u=function(e){[].slice.call(e.childNodes).forEach((function(t){t.nodeType===o.Node.TEXT_NODE?c(t,e):(-1!==t.className.baseVal.indexOf("highcharts-br")&&(n.actualWidth=0),u(t))}))};u(n.element)}},t.prototype.getLineHeight=function(e){var t;return e=e.nodeType===o.Node.TEXT_NODE?e.parentElement:e,this.renderer.styledMode||(t=e&&/(px|em)$/.test(e.style.fontSize)?e.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(t,e||this.svgElement.element).h},t.prototype.modifyTree=function(e){var t=this,n=function(r,a){var o=r.attributes;o=void 0===o?{}:o;var i=r.children,l=r.style;l=void 0===l?{}:l;var c=r.tagName,u=t.renderer.styledMode;"b"===c||"strong"===c?u?o["class"]="highcharts-strong":l.fontWeight="bold":"i"!==c&&"em"!==c||(u?o["class"]="highcharts-emphasized":l.fontStyle="italic"),l&&l.color&&(l.fill=l.color),"br"===c?(o["class"]="highcharts-br",r.textContent="​",(a=e[a+1])&&a.textContent&&(a.textContent=a.textContent.replace(/^ +/gm,""))):"a"===c&&i&&i.some((function(e){return"#text"===e.tagName}))&&(r.children=[{children:i,tagName:"tspan"}]),"#text"!==c&&"a"!==c&&(r.tagName="tspan"),s(r,{attributes:o,style:l}),i&&i.filter((function(e){return"#text"!==e.tagName})).forEach(n)};e.forEach(n),l(this.svgElement,"afterModifyTree",{nodes:e})},t.prototype.truncate=function(e,t,n,r,a,o){var i,s=this.svgElement,l=s.renderer,c=s.rotation,u=[],d=n?1:0,f=(t||n||"").length,h=f,p=function(a,i){i=i||a;var c=e.parentNode;if(c&&"undefined"===typeof u[i])if(c.getSubStringLength)try{u[i]=r+c.getSubStringLength(0,n?i+1:i)}catch(d){}else l.getSpanWidth&&(e.textContent=o(t||n,a),u[i]=r+l.getSpanWidth(s,e));return u[i]};s.rotation=0;var m=p(e.textContent.length);if(r+m>a){for(;d<=f;)h=Math.ceil((d+f)/2),n&&(i=o(n,h)),m=p(h,i&&i.length-1),d===f?d=f+1:m>a?f=h-1:d=h;0===f?e.textContent="":t&&f===t.length-1||(e.textContent=i||o(t||n,h))}n&&n.splice(0,h),s.actualWidth=m,s.rotation=c},t.prototype.unescapeEntities=function(e,t){return u(this.renderer.escapes,(function(n,r){t&&-1!==t.indexOf(n)||(e=e.toString().replace(new RegExp(n,"g"),r))})),e},t}()})),t(n,"Core/Renderer/SVG/SVGRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGLabel.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Renderer/SVG/TextBuilder.js"],n["Core/Utilities.js"]],(function(e,t,n,r,a,o,i,s,l){var c,u=n.charts,d=n.deg2rad,f=n.doc,h=n.isFirefox,p=n.isMS,m=n.isWebKit,v=n.noop,b=n.SVG_NS,g=n.symbolSizes,y=n.win,O=l.addEvent,w=l.attr,_=l.createElement,j=l.css,k=l.defined,x=l.destroyObjectProperties,S=l.extend,C=l.isArray,M=l.isNumber,A=l.isObject,T=l.isString,E=l.merge,L=l.pick,P=l.pInt,D=l.uniqueKey;return n=function(){function n(e,t,n,r,a,o,i){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(e,t,n,r,a,o,i)}return n.prototype.init=function(e,t,n,r,a,o,i){var s,l=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),c=l.element;i||l.css(this.getStyle(r)),e.appendChild(c),w(e,"dir","ltr"),-1===e.innerHTML.indexOf("xmlns")&&w(c,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=c,this.boxWrapper=l,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(f.createTextNode("Created with Highcharts 10.3.3")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=a,this.styledMode=i,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(t,n,!1),h&&e.getBoundingClientRect&&(t=function(){j(e,{left:0,top:0}),s=e.getBoundingClientRect(),j(e,{left:Math.ceil(s.left)-s.left+"px",top:Math.ceil(s.top)-s.top+"px"})},t(),this.unSubPixelFix=O(y,"resize",t))},n.prototype.definition=function(t){return new e([t]).addToDOM(this.defs.element)},n.prototype.getReferenceURL=function(){if((h||m)&&f.getElementsByTagName("base").length){if(!k(c)){var t=D();t=new e([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:t},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#".concat(t,")"),fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(f.body),j(t,{position:"fixed",top:0,left:0,zIndex:9e5});var n=f.elementFromPoint(6,6);c="hitme"===(n&&n.id),f.body.removeChild(t)}if(c)return y.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},n.prototype.getStyle=function(e){return this.style=S({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},e)},n.prototype.setStyle=function(e){this.boxWrapper.css(this.getStyle(e))},n.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},n.prototype.destroy=function(){var e=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),x(this.gradients||{}),this.gradients=null,e&&(this.defs=e.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},n.prototype.createElement=function(e){var t=new this.Element;return t.init(this,e),t},n.prototype.getRadialAttr=function(e,t){return{cx:e[0]-e[2]/2+(t.cx||0)*e[2],cy:e[1]-e[2]/2+(t.cy||0)*e[2],r:(t.r||0)*e[2]}},n.prototype.buildText=function(e){new s(e).buildSVG()},n.prototype.getContrast=function(e){return e=t.parse(e).rgba.map((function(e){return e/=255,.03928>=e?e/12.92:Math.pow((e+.055)/1.055,2.4)})),e=.2126*e[0]+.7152*e[1]+.0722*e[2],1.05/(e+.05)>(e+.05)/.05?"#FFFFFF":"#000000"},n.prototype.button=function(t,n,r,a,o,i,s,l,c,u){void 0===o&&(o={});var d=this.label(t,n,r,c,void 0,void 0,u,void 0,"button"),f=this.styledMode;t=o.states||{};var h=0;o=E(o),delete o.states;var m=E({color:"#333333",cursor:"pointer",fontWeight:"normal"},o.style);delete o.style;var v=e.filterUserAttributes(o);if(d.attr(E({padding:8,r:2},v)),!f){v=E({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},v),i=E(v,{fill:"#e6e6e6"},e.filterUserAttributes(i||t.hover||{}));var b=i.style;delete i.style,s=E(v,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},e.filterUserAttributes(s||t.select||{}));var g=s.style;delete s.style,l=E(v,{style:{color:"#cccccc"}},e.filterUserAttributes(l||t.disabled||{}));var y=l.style;delete l.style}return O(d.element,p?"mouseover":"mouseenter",(function(){3!==h&&d.setState(1)})),O(d.element,p?"mouseout":"mouseleave",(function(){3!==h&&d.setState(h)})),d.setState=function(e){1!==e&&(d.state=h=e),d.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][e||0]),f||(d.attr([v,i,s,l][e||0]),e=[m,b,g,y][e||0],A(e)&&d.css(e))},f||(d.attr(v).css(S({cursor:"default"},m)),u&&d.text.css({pointerEvents:"none"})),d.on("touchstart",(function(e){return e.stopPropagation()})).on("click",(function(e){3!==h&&a.call(d,e)}))},n.prototype.crispLine=function(e,t,n){void 0===n&&(n="round");var r=e[0],a=e[1];return k(r[1])&&r[1]===a[1]&&(r[1]=a[1]=Math[n](r[1])-t%2/2),k(r[2])&&r[2]===a[2]&&(r[2]=a[2]=Math[n](r[2])+t%2/2),e},n.prototype.path=function(e){var t=this.styledMode?{}:{fill:"none"};return C(e)?t.d=e:A(e)&&S(t,e),this.createElement("path").attr(t)},n.prototype.circle=function(e,t,n){return e=A(e)?e:"undefined"===typeof e?{}:{x:e,y:t,r:n},t=this.createElement("circle"),t.xSetter=t.ySetter=function(e,t,n){n.setAttribute("c"+t,e)},t.attr(e)},n.prototype.arc=function(e,t,n,r,a,o){return A(e)?(r=e,t=r.y,n=r.r,e=r.x):r={innerR:r,start:a,end:o},e=this.symbol("arc",e,t,n,n,r),e.r=n,e},n.prototype.rect=function(e,t,n,r,a,o){a=A(e)?e.r:a;var i=this.createElement("rect");return e=A(e)?e:"undefined"===typeof e?{}:{x:e,y:t,width:Math.max(n,0),height:Math.max(r,0)},this.styledMode||("undefined"!==typeof o&&(e["stroke-width"]=o,e=i.crisp(e)),e.fill="none"),a&&(e.r=a),i.rSetter=function(e,t,n){i.r=e,w(n,{rx:e,ry:e})},i.rGetter=function(){return i.r||0},i.attr(e)},n.prototype.setSize=function(e,t,n){this.width=e,this.height=t,this.boxWrapper.animate({width:e,height:t},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:L(n,!0)?void 0:0}),this.alignElements()},n.prototype.g=function(e){var t=this.createElement("g");return e?t.attr({class:"highcharts-"+e}):t},n.prototype.image=function(e,t,n,r,a,o){var i={preserveAspectRatio:"none"},s=function(e,t){e.setAttributeNS?e.setAttributeNS("http://www.w3.org/1999/xlink","href",t):e.setAttribute("hc-svg-href",t)};M(t)&&(i.x=t),M(n)&&(i.y=n),M(r)&&(i.width=r),M(a)&&(i.height=a);var l=this.createElement("image").attr(i);return t=function(t){s(l.element,e),o.call(l,t)},o?(s(l.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),n=new y.Image,O(n,"load",t),n.src=e,n.complete&&t({})):s(l.element,e),l},n.prototype.symbol=function(e,t,n,r,a,o){var i,s=this,l=/^url\((.*?)\)$/,c=l.test(e),d=!c&&(this.symbols[e]?e:"circle"),h=d&&this.symbols[d];if(h){"number"===typeof t&&(i=h.call(this.symbols,Math.round(t||0),Math.round(n||0),r||0,a||0,o));var p=this.path(i);s.styledMode||p.attr("fill","none"),S(p,{symbolName:d||void 0,x:t,y:n,width:r,height:a}),o&&S(p,o)}else if(c){var m=e.match(l)[1],v=p=this.image(m);v.imgwidth=L(g[m]&&g[m].width,o&&o.width),v.imgheight=L(g[m]&&g[m].height,o&&o.height);var b=function(e){return e.attr({width:e.width,height:e.height})};["width","height"].forEach((function(e){v[e+"Setter"]=function(e,t){this[t]=e,e=this.alignByTranslate;var n=this.element,r=this.width,a=this.height,i=this.imgwidth,s=this.imgheight,l=this["img"+t];if(k(l)){var c=1;o&&"within"===o.backgroundSize&&r&&a?(c=Math.min(r/i,a/s),l=Math.round(l*c),w(n,{width:Math.round(i*c),height:Math.round(s*c)})):n&&n.setAttribute(t,l),e||this.translate(((r||0)-l*c)/2,((a||0)-l*c)/2)}}})),k(t)&&v.attr({x:t,y:n}),v.isImg=!0,k(v.imgwidth)&&k(v.imgheight)?b(v):(v.attr({width:0,height:0}),_("img",{onload:function(){var e=u[s.chartIndex];0===this.width&&(j(this,{position:"absolute",top:"-999em"}),f.body.appendChild(this)),g[m]={width:this.width,height:this.height},v.imgwidth=this.width,v.imgheight=this.height,v.element&&b(v),this.parentNode&&this.parentNode.removeChild(this),s.imgCount--,s.imgCount||!e||e.hasLoaded||e.onload()},src:m}),this.imgCount++)}return p},n.prototype.clipRect=function(e,t,n,r){var a=D()+"-",o=this.createElement("clipPath").attr({id:a}).add(this.defs);return e=this.rect(e,t,n,r,0).add(o),e.id=a,e.clipPath=o,e.count=0,e},n.prototype.text=function(e,t,n,r){var a={};return!r||!this.allowHTML&&this.forExport?(a.x=Math.round(t||0),n&&(a.y=Math.round(n)),k(e)&&(a.text=e),e=this.createElement("text").attr(a),(!r||this.forExport&&!this.allowHTML)&&(e.xSetter=function(e,t,n){for(var r,a=n.getElementsByTagName("tspan"),o=n.getAttribute(t),i=0;i<a.length;i++)r=a[i],r.getAttribute(t)===o&&r.setAttribute(t,e);n.setAttribute(t,e)}),e):this.html(e,t,n)},n.prototype.fontMetrics=function(e,t){return e=!this.styledMode&&/px/.test(e)||!y.getComputedStyle?e||t&&t.style&&t.style.fontSize||this.style&&this.style.fontSize:t&&a.prototype.getStyle.call(t,"font-size"),e=/px/.test(e)?P(e):12,t=24>e?e+3:Math.round(1.2*e),{h:t,b:Math.round(.8*t),f:e}},n.prototype.rotCorr=function(e,t,n){var r=e;return t&&n&&(r=Math.max(r*Math.cos(t*d),4)),{x:-e/3*Math.sin(t*d),y:r}},n.prototype.pathToSegments=function(e){for(var t=[],n=[],r={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},a=0;a<e.length;a++)T(n[0])&&M(e[a])&&n.length===r[n[0].toUpperCase()]&&e.splice(a,0,n[0].replace("M","L").replace("m","l")),"string"===typeof e[a]&&(n.length&&t.push(n.slice(0)),n.length=0),n.push(e[a]);return t.push(n.slice(0)),t},n.prototype.label=function(e,t,n,r,a,i,s,l,c){return new o(this,e,t,n,r,a,i,s,l,c)},n.prototype.alignElements=function(){this.alignedObjects.forEach((function(e){return e.align()}))},n}(),S(n.prototype,{Element:a,SVG_NS:b,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:i,draw:v}),r.registerRendererType("svg",n,!0),n})),t(n,"Core/Renderer/HTML/HTMLElement.js",[n["Core/Globals.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(e,t,n){var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=e.isFirefox,o=e.isMS,i=e.isWebKit,s=e.win,l=n.css,c=n.defined,u=n.extend,d=n.pick,f=n.pInt;return function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.compose=function(e){if(-1===t.composedClasses.indexOf(e)){t.composedClasses.push(e);var n=t.prototype,r=e.prototype;r.getSpanCorrection=n.getSpanCorrection,r.htmlCss=n.htmlCss,r.htmlGetBBox=n.htmlGetBBox,r.htmlUpdateTransform=n.htmlUpdateTransform,r.setSpanRotation=n.setSpanRotation}return e},t.prototype.getSpanCorrection=function(e,t,n){this.xCorr=-e*n,this.yCorr=-t},t.prototype.htmlCss=function(e){var t="SPAN"===this.element.tagName&&e&&"width"in e,n=d(t&&e.width,void 0);if(t){delete e.width,this.textWidth=n;var r=!0}return e&&"ellipsis"===e.textOverflow&&(e.whiteSpace="nowrap",e.overflow="hidden"),this.styles=u(this.styles,e),l(this.element,e),r&&this.htmlUpdateTransform(),this},t.prototype.htmlGetBBox=function(){var e=this.element;return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}},t.prototype.htmlUpdateTransform=function(){if(this.added){var e=this.renderer,t=this.element,n=this.translateX||0,r=this.translateY||0,a=this.x||0,o=this.y||0,i=this.textAlign||"left",s={left:0,center:.5,right:1}[i],u=this.styles;if(u=u&&u.whiteSpace,l(t,{marginLeft:n,marginTop:r}),!e.styledMode&&this.shadows&&this.shadows.forEach((function(e){l(e,{marginLeft:n+1,marginTop:r+1})})),this.inverted&&[].forEach.call(t.childNodes,(function(n){e.invertChild(n,t)})),"SPAN"===t.tagName){var d=this.rotation,h=this.textWidth&&f(this.textWidth),p=[d,i,t.innerHTML,this.textWidth,this.textAlign].join(),m=void 0;if(m=!1,h!==this.oldTextWidth){if(this.textPxLength)var v=this.textPxLength;else l(t,{width:"",whiteSpace:u||"nowrap"}),v=t.offsetWidth;(h>this.oldTextWidth||v>h)&&(/[ \-]/.test(t.textContent||t.innerText)||"ellipsis"===t.style.textOverflow)&&(l(t,{width:v>h||d?h+"px":"auto",display:"block",whiteSpace:u||"normal"}),this.oldTextWidth=h,m=!0)}this.hasBoxWidthChanged=m,p!==this.cTT&&(m=e.fontMetrics(t.style.fontSize,t).b,!c(d)||d===(this.oldRotation||0)&&i===this.oldAlign||this.setSpanRotation(d,s,m),this.getSpanCorrection(!c(d)&&this.textPxLength||t.offsetWidth,m,s,d,i)),l(t,{left:a+(this.xCorr||0)+"px",top:o+(this.yCorr||0)+"px"}),this.cTT=p,this.oldRotation=d,this.oldAlign=i}}else this.alignOnAdd=!0},t.prototype.setSpanRotation=function(e,t,n){var r={},c=o&&!/Edge/.test(s.navigator.userAgent)?"-ms-transform":i?"-webkit-transform":a?"MozTransform":s.opera?"-o-transform":void 0;c&&(r[c]=r.transform="rotate("+e+"deg)",r[c+(a?"Origin":"-origin")]=r.transformOrigin=100*t+"% "+n+"px",l(this.element,r))},t.composedClasses=[],t}(t)})),t(n,"Core/Renderer/HTML/HTMLRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Utilities.js"]],(function(e,t,n,r){var a=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=r.attr,i=r.createElement,s=r.extend,l=r.pick;return function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return a(r,n),r.compose=function(e){return-1===r.composedClasses.indexOf(e)&&(r.composedClasses.push(e),e.prototype.html=r.prototype.html),e},r.prototype.html=function(n,r,a){var c=this.createElement("span"),u=c.element,d=c.renderer,f=d.isSVG,h=function(e,n){["opacity","visibility"].forEach((function(r){e[r+"Setter"]=function(a,o,i){var s=e.div?e.div.style:n;t.prototype[r+"Setter"].call(this,a,o,i),s&&(s[o]=a)}})),e.addedSetters=!0};return c.textSetter=function(t){t!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,e.setElementHTML(this.element,l(t,"")),this.textStr=t,c.doTransform=!0)},f&&h(c,c.element.style),c.xSetter=c.ySetter=c.alignSetter=c.rotationSetter=function(e,t){"align"===t?c.alignValue=c.textAlign=e:c[t]=e,c.doTransform=!0},c.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},c.attr({text:n,x:Math.round(r),y:Math.round(a)}).css({position:"absolute"}),d.styledMode||c.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),u.style.whiteSpace="nowrap",c.css=c.htmlCss,f&&(c.add=function(e){var t=d.box.parentNode,n=[];if(this.parentGroup=e){var r=e.div;if(!r){for(;e;)n.push(e),e=e.parentGroup;n.reverse().forEach((function(e){function a(t,n){e[n]=t,"translateX"===n?d.left=t+"px":d.top=t+"px",e.doTransform=!0}var l=o(e.element,"class"),u=e.styles||{};r=e.div=e.div||i("div",l?{className:l}:void 0,{position:"absolute",left:(e.translateX||0)+"px",top:(e.translateY||0)+"px",display:e.display,opacity:e.opacity,cursor:u.cursor,pointerEvents:u.pointerEvents,visibility:e.visibility},r||t);var d=r.style;s(e,{classSetter:function(e){return function(t){this.element.setAttribute("class",t),e.className=t}}(r),on:function(){return n[0].div&&c.on.apply({element:n[0].div,onEvents:e.onEvents},arguments),e},translateXSetter:a,translateYSetter:a}),e.addedSetters||h(e)}))}}else r=t;return r.appendChild(u),c.added=!0,c.alignOnAdd&&c.htmlUpdateTransform(),c}),c},r.composedClasses=[],r}(n)})),t(n,"Core/Axis/AxisDefaults.js",[],(function(){var e;return function(e){e.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"},e.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){var e=this.axis.chart.numberFormatter;return e(this.total||0,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},e.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},e.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},e.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},e.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(e||(e={})),e})),t(n,"Core/Foundation.js",[n["Core/Utilities.js"]],(function(e){var t,n=e.addEvent,r=e.isFunction,a=e.objectEach,o=e.removeEvent;return function(e){e.registerEventOptions=function(e,t){e.eventOptions=e.eventOptions||{},a(t.events,(function(t,a){e.eventOptions[a]!==t&&(e.eventOptions[a]&&(o(e,a,e.eventOptions[a]),delete e.eventOptions[a]),r(t)&&(e.eventOptions[a]=t,n(e,a,t)))}))}}(t||(t={})),t})),t(n,"Core/Axis/Tick.js",[n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(e,t,n){var r=t.deg2rad,a=n.clamp,o=n.correctFloat,i=n.defined,s=n.destroyObjectProperties,l=n.extend,c=n.fireEvent,u=n.isNumber,d=n.merge,f=n.objectEach,h=n.pick;return t=function(){function t(e,t,n,r,a){this.isNewLabel=this.isNew=!0,this.axis=e,this.pos=t,this.type=n||"",this.parameters=a||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,c(this,"init"),n||r||this.addLabel()}return t.prototype.addLabel=function(){var t=this,n=t.axis,r=n.options,a=n.chart,s=n.categories,d=n.logarithmic,f=n.names,p=t.pos,m=h(t.options&&t.options.labels,r.labels),v=n.tickPositions,b=p===v[0],g=p===v[v.length-1],y=(!m.step||1===m.step)&&1===n.tickInterval;v=v.info;var O,w=t.label;if(s=this.parameters.category||(s?h(s[p],f[p],p):p),d&&u(s)&&(s=o(d.lin2log(s))),n.dateTime)if(v)var _=a.time.resolveDTLFormat(r.dateTimeLabelFormats[!r.grid&&v.higherRanks[p]||v.unitName]),j=_.main;else u(s)&&(j=n.dateTime.getXDateFormat(s,r.dateTimeLabelFormats||{}));t.isFirst=b,t.isLast=g;var k={axis:n,chart:a,dateTimeLabelFormat:j,isFirst:b,isLast:g,pos:p,tick:t,tickPositionInfo:v,value:s};c(this,"labelFormat",k);var x=function(t){return m.formatter?m.formatter.call(t,t):m.format?(t.text=n.defaultLabelFormatter.call(t,t),e.format(m.format,t,a)):n.defaultLabelFormatter.call(t,t)};r=x.call(k,k);var S=_&&_.list;t.shortenLabel=S?function(){for(O=0;O<S.length;O++)if(l(k,{dateTimeLabelFormat:S[O]}),w.attr({text:x.call(k,k)}),w.getBBox().width<n.getSlotWidth(t)-2*m.padding)return;w.attr({text:""})}:void 0,y&&n._addedPlotLB&&t.moveLabel(r,m),i(w)||t.movedLabel?w&&w.textStr!==r&&!y&&(!w.textWidth||m.style.width||w.styles.width||w.css({width:null}),w.attr({text:r}),w.textPxLength=w.getBBox().width):(t.label=w=t.createLabel({x:0,y:0},r,m),t.rotation=0)},t.prototype.createLabel=function(e,t,n){var r=this.axis,a=r.chart;return(e=i(t)&&n.enabled?a.renderer.text(t,e.x,e.y,n.useHTML).add(r.labelGroup):null)&&(a.styledMode||e.css(d(n.style)),e.textPxLength=e.getBBox().width),e},t.prototype.destroy=function(){s(this,this.axis)},t.prototype.getPosition=function(e,t,n,r){var i=this.axis,s=i.chart,l=r&&s.oldChartHeight||s.chartHeight;return e={x:e?o(i.translate(t+n,void 0,void 0,r)+i.transB):i.left+i.offset+(i.opposite?(r&&s.oldChartWidth||s.chartWidth)-i.right-i.left:0),y:e?l-i.bottom+i.offset-(i.opposite?i.height:0):o(l-i.translate(t+n,void 0,void 0,r)-i.transB)},e.y=a(e.y,-1e5,1e5),c(this,"afterGetPosition",{pos:e}),e},t.prototype.getLabelPosition=function(e,t,n,a,o,s,l,u){var d=this.axis,f=d.transA,h=d.isLinked&&d.linkedParent?d.linkedParent.reversed:d.reversed,p=d.staggerLines,m=d.tickRotCorr||{x:0,y:0},v=a||d.reserveSpaceDefault?0:-d.labelOffset*("center"===d.labelAlign?.5:1),b={};return n=0===d.side?n.rotation?-8:-n.getBBox().height:2===d.side?m.y+8:Math.cos(n.rotation*r)*(m.y-n.getBBox(!1,0).height/2),i(o.y)&&(n=0===d.side&&d.horiz?o.y+n:o.y),e=e+o.x+v+m.x-(s&&a?s*f*(h?-1:1):0),t=t+n-(s&&!a?s*f*(h?1:-1):0),p&&(a=l/(u||1)%p,d.opposite&&(a=p-a-1),t+=d.labelOffset/p*a),b.x=e,b.y=Math.round(t),c(this,"afterGetLabelPosition",{pos:b,tickmarkOffset:s,index:l}),b},t.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},t.prototype.getMarkPath=function(e,t,n,r,a,o){return o.crispLine([["M",e,t],["L",e+(a?0:-n),t+(a?n:0)]],r)},t.prototype.handleOverflow=function(e){var t=this.axis,n=t.options.labels,a=e.x,o=t.chart.chartWidth,i=t.chart.spacing,s=h(t.labelLeft,Math.min(t.pos,i[3]));i=h(t.labelRight,Math.max(t.isRadial?0:t.pos+t.len,o-i[1]));var l,c=this.label,u=this.rotation,d={left:0,center:.5,right:1}[t.labelAlign||c.attr("align")],f=c.getBBox().width,p=t.getSlotWidth(this),m={},v=p,b=1;u||"justify"!==n.overflow?0>u&&a-d*f<s?l=Math.round(a/Math.cos(u*r)-s):0<u&&a+d*f>i&&(l=Math.round((o-a)/Math.cos(u*r))):(o=a+(1-d)*f,a-d*f<s?v=e.x+v*(1-d)-s:o>i&&(v=i-e.x+v*d,b=-1),v=Math.min(p,v),v<p&&"center"===t.labelAlign&&(e.x+=b*(p-v-d*(p-Math.min(f,v)))),(f>v||t.autoRotation&&(c.styles||{}).width)&&(l=v)),l&&(this.shortenLabel?this.shortenLabel():(m.width=Math.floor(l)+"px",(n.style||{}).textOverflow||(m.textOverflow="ellipsis"),c.css(m)))},t.prototype.moveLabel=function(e,t){var n=this,r=n.label,a=n.axis,o=a.reversed,i=!1;if(r&&r.textStr===e?(n.movedLabel=r,i=!0,delete n.label):f(a.ticks,(function(t){i||t.isNew||t===n||!t.label||t.label.textStr!==e||(n.movedLabel=t.label,i=!0,t.labelPos=n.movedLabel.xy,delete t.label)})),!i&&(n.labelPos||r)){var s=n.labelPos||r.xy;r=a.horiz?o?0:a.width+a.left:s.x,a=a.horiz?s.y:o?a.width+a.left:0,n.movedLabel=n.createLabel({x:r,y:a},e,t),n.movedLabel&&n.movedLabel.attr({opacity:0})}},t.prototype.render=function(e,t,n){var r=this.axis,a=r.horiz,o=this.pos,i=h(this.tickmarkOffset,r.tickmarkOffset);o=this.getPosition(a,o,i,t),i=o.x;var s=o.y;r=a&&i===r.pos+r.len||!a&&s===r.pos?-1:1,a=h(n,this.label&&this.label.newOpacity,1),n=h(n,1),this.isActive=!0,this.renderGridLine(t,n,r),this.renderMark(o,n,r),this.renderLabel(o,t,a,e),this.isNew=!1,c(this,"afterRender")},t.prototype.renderGridLine=function(e,t,n){var r=this.axis,a=r.options,o={},i=this.pos,s=this.type,l=h(this.tickmarkOffset,r.tickmarkOffset),c=r.chart.renderer,u=this.gridLine,d=a.gridLineWidth,f=a.gridLineColor,p=a.gridLineDashStyle;"minor"===this.type&&(d=a.minorGridLineWidth,f=a.minorGridLineColor,p=a.minorGridLineDashStyle),u||(r.chart.styledMode||(o.stroke=f,o["stroke-width"]=d||0,o.dashstyle=p),s||(o.zIndex=1),e&&(t=0),this.gridLine=u=c.path().attr(o).addClass("highcharts-"+(s?s+"-":"")+"grid-line").add(r.gridGroup)),u&&(n=r.getPlotLinePath({value:i+l,lineWidth:u.strokeWidth()*n,force:"pass",old:e,acrossPanes:!1}))&&u[e||this.isNew?"attr":"animate"]({d:n,opacity:t})},t.prototype.renderMark=function(e,t,n){var r=this.axis,a=r.options,o=r.chart.renderer,i=this.type,s=r.tickSize(i?i+"Tick":"tick"),l=e.x;e=e.y;var c=h(a["minor"!==i?"tickWidth":"minorTickWidth"],!i&&r.isXAxis?1:0);a=a["minor"!==i?"tickColor":"minorTickColor"];var u=this.mark,d=!u;s&&(r.opposite&&(s[0]=-s[0]),u||(this.mark=u=o.path().addClass("highcharts-"+(i?i+"-":"")+"tick").add(r.axisGroup),r.chart.styledMode||u.attr({stroke:a,"stroke-width":c})),u[d?"attr":"animate"]({d:this.getMarkPath(l,e,s[0],u.strokeWidth()*n,r.horiz,o),opacity:t}))},t.prototype.renderLabel=function(e,t,n,r){var a=this.axis,o=a.horiz,i=a.options,s=this.label,l=i.labels,c=l.step;a=h(this.tickmarkOffset,a.tickmarkOffset);var d=e.x;e=e.y;var f=!0;s&&u(d)&&(s.xy=e=this.getLabelPosition(d,e,s,o,l,a,r,c),this.isFirst&&!this.isLast&&!i.showFirstLabel||this.isLast&&!this.isFirst&&!i.showLastLabel?f=!1:!o||l.step||l.rotation||t||0===n||this.handleOverflow(e),c&&r%c&&(f=!1),f&&u(e.y)?(e.opacity=n,s[this.isNewLabel?"attr":"animate"](e).show(!0),this.isNewLabel=!1):(s.hide(),this.isNewLabel=!0))},t.prototype.replaceMovedLabel=function(){var e=this.label,t=this.axis,n=t.reversed;if(e&&!this.isNew){var r=t.horiz?n?t.left:t.width+t.left:e.xy.x;n=t.horiz?e.xy.y:n?t.width+t.top:t.top,e.animate({x:r,y:n,opacity:0},void 0,e.destroy),delete this.label}t.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},t}(),t})),t(n,"Core/Axis/Axis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/AxisDefaults.js"],n["Core/Color/Color.js"],n["Core/Defaults.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Axis/Tick.js"],n["Core/Utilities.js"]],(function(e,t,n,r,a,o,i,s){var l=e.animObject,c=r.defaultOptions,u=a.registerEventOptions,d=o.deg2rad,f=s.arrayMax,h=s.arrayMin,p=s.clamp,m=s.correctFloat,v=s.defined,b=s.destroyObjectProperties,g=s.erase,y=s.error,O=s.extend,w=s.fireEvent,_=s.isArray,j=s.isNumber,k=s.isString,x=s.merge,S=s.normalizeTickInterval,C=s.objectEach,M=s.pick,A=s.relativeLength,T=s.removeEvent,E=s.splat,L=s.syncTimeout,P=function(e,t){return S(t,void 0,void 0,M(e.options.allowDecimals,.5>t||void 0!==e.tickAmount),!!e.tickAmount)};return e=function(){function e(e,t){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.bottom=this.alternateBands=void 0,this.init(e,t)}return e.prototype.init=function(e,t){var n=t.isX;this.chart=e,this.horiz=e.inverted&&!this.isZAxis?!n:n,this.isXAxis=n,this.coll=this.coll||(n?"xAxis":"yAxis"),w(this,"init",{userOptions:t}),this.opposite=M(t.opposite,this.opposite),this.side=M(t.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(t);var r=this.options,a=r.labels,o=r.type;this.userOptions=t,this.minPixelPadding=0,this.reversed=M(r.reversed,this.reversed),this.visible=r.visible,this.zoomEnabled=r.zoomEnabled,this.hasNames="category"===o||!0===r.categories,this.categories=r.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=v(r.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=r.minRange||r.maxZoom,this.range=r.range,this.offset=r.offset||0,this.min=this.max=null,t=M(r.crosshair,E(e.options.tooltip.crosshairs)[n?0:1]),this.crosshair=!0===t?{}:t,-1===e.axes.indexOf(this)&&(n?e.axes.splice(e.xAxis.length,0,this):e.axes.push(this),e[this.coll].push(this)),this.series=this.series||[],e.inverted&&!this.isZAxis&&n&&"undefined"===typeof this.reversed&&(this.reversed=!0),this.labelRotation=j(a.rotation)?a.rotation:void 0,u(this,r),w(this,"afterInit")},e.prototype.setOptions=function(e){this.options=x(t.defaultXAxisOptions,"yAxis"===this.coll&&t.defaultYAxisOptions,[t.defaultTopAxisOptions,t.defaultRightAxisOptions,t.defaultBottomAxisOptions,t.defaultLeftAxisOptions][this.side],x(c[this.coll],e)),w(this,"afterSetOptions",{userOptions:e})},e.prototype.defaultLabelFormatter=function(e){var t=this.axis;e=this.chart.numberFormatter;var n=j(this.value)?this.value:NaN,r=t.chart.time,a=this.dateTimeLabelFormat,o=c.lang,i=o.numericSymbols;o=o.numericSymbolMagnitude||1e3;var s=t.logarithmic?Math.abs(n):t.tickInterval,l=i&&i.length;if(t.categories)var u="".concat(this.value);else if(a)u=r.dateFormat(a,n);else if(l&&1e3<=s)for(;l--&&"undefined"===typeof u;)t=Math.pow(o,l+1),s>=t&&0===10*n%t&&null!==i[l]&&0!==n&&(u=e(n/t,-1)+i[l]);return"undefined"===typeof u&&(u=1e4<=Math.abs(n)?e(n,-1):e(n,-1,void 0,"")),u},e.prototype.getSeriesExtremes=function(){var e,t=this,n=t.chart;w(this,"getSeriesExtremes",null,(function(){t.hasVisibleSeries=!1,t.dataMin=t.dataMax=t.threshold=null,t.softThreshold=!t.isXAxis,t.series.forEach((function(r){if(r.visible||!n.options.chart.ignoreHiddenSeries){var a=r.options,o=a.threshold;if(t.hasVisibleSeries=!0,t.positiveValuesOnly&&0>=o&&(o=null),t.isXAxis){if(a=r.xData,a.length){a=t.logarithmic?a.filter(t.validatePositiveValue):a,e=r.getXExtremes(a);var i=e.min,s=e.max;j(i)||i instanceof Date||(a=a.filter(j),e=r.getXExtremes(a),i=e.min,s=e.max),a.length&&(t.dataMin=Math.min(M(t.dataMin,i),i),t.dataMax=Math.max(M(t.dataMax,s),s))}}else r=r.applyExtremes(),j(r.dataMin)&&(i=r.dataMin,t.dataMin=Math.min(M(t.dataMin,i),i)),j(r.dataMax)&&(s=r.dataMax,t.dataMax=Math.max(M(t.dataMax,s),s)),v(o)&&(t.threshold=o),(!a.softThreshold||t.positiveValuesOnly)&&(t.softThreshold=!1)}}))})),w(this,"afterGetSeriesExtremes")},e.prototype.translate=function(e,t,n,r,a,o){var i=this.linkedParent||this,s=r&&i.old?i.old.min:i.min;if(!j(s))return NaN;var l=i.minPixelPadding;a=(i.isOrdinal||i.brokenAxis&&i.brokenAxis.hasBreaks||i.logarithmic&&a)&&i.lin2val;var c=1,u=0;return r=r&&i.old?i.old.transA:i.transA,r||(r=i.transA),n&&(c*=-1,u=i.len),i.reversed&&(c*=-1,u-=c*(i.sector||i.len)),t?(o=(e*c+u-l)/r+s,a&&(o=i.lin2val(o))):(a&&(e=i.val2lin(e)),e=c*(e-s)*r,o=(i.isRadial?e:m(e))+u+c*l+(j(o)?r*o:0)),o},e.prototype.toPixels=function(e,t){return this.translate(e,!1,!this.horiz,void 0,!0)+(t?0:this.pos)},e.prototype.toValue=function(e,t){return this.translate(e-(t?0:this.pos),!0,!this.horiz,void 0,!0)},e.prototype.getPlotLinePath=function(e){function t(e,t,n){return"pass"!==y&&(e<t||e>n)&&(y?e=p(e,t,n):i=!0),e}var n,r,a,o,i,s=this,l=s.chart,c=s.left,u=s.top,d=e.old,f=e.value,h=e.lineWidth,m=d&&l.oldChartHeight||l.chartHeight,v=d&&l.oldChartWidth||l.chartWidth,b=s.transB,g=e.translatedValue,y=e.force;return e={value:f,lineWidth:h,old:d,force:y,acrossPanes:e.acrossPanes,translatedValue:g},w(this,"getPlotLinePath",e,(function(e){g=M(g,s.translate(f,void 0,void 0,d)),g=p(g,-1e5,1e5),n=a=Math.round(g+b),r=o=Math.round(m-g-b),j(g)?s.horiz?(r=u,o=m-s.bottom,n=a=t(n,c,c+s.width)):(n=c,a=v-s.right,r=o=t(r,u,u+s.height)):(i=!0,y=!1),e.path=i&&!y?null:l.renderer.crispLine([["M",n,r],["L",a,o]],h||1)})),e.path},e.prototype.getLinearTickPositions=function(e,t,n){var r=m(Math.floor(t/e)*e);n=m(Math.ceil(n/e)*e);var a,o=[];if(m(r+e)===r&&(a=20),this.single)return[t];for(t=r;t<=n;){if(o.push(t),t=m(t+e,a),t===i)break;var i=t}return o},e.prototype.getMinorTickInterval=function(){var e=this.options;return!0===e.minorTicks?M(e.minorTickInterval,"auto"):!1===e.minorTicks?null:e.minorTickInterval},e.prototype.getMinorTickPositions=function(){var e=this.options,t=this.tickPositions,n=this.minorTickInterval,r=this.pointRangePadding||0,a=this.min-r;r=this.max+r;var o=r-a,i=[];if(o&&o/n<this.len/3){var s=this.logarithmic;if(s)this.paddedTicks.forEach((function(e,t,r){t&&i.push.apply(i,s.getLogTickPositions(n,r[t-1],r[t],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())i=i.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(n),a,r,e.startOfWeek));else for(e=a+(t[0]-a)%n;e<=r&&e!==i[0];e+=n)i.push(e)}return 0!==i.length&&this.trimTicks(i),i},e.prototype.adjustForMinRange=function(){var e,t,n,r,a=this.options,o=this.logarithmic,i=this.min,s=this.max,l=0;if(this.isXAxis&&"undefined"===typeof this.minRange&&!o&&(v(a.min)||v(a.max)||v(a.floor)||v(a.ceiling)?this.minRange=null:(this.series.forEach((function(a){if(n=a.xData,r=a.xIncrement?1:n.length-1,1<n.length)for(e=r;0<e;e--)t=n[e]-n[e-1],(!l||t<l)&&(l=t)})),this.minRange=Math.min(5*l,this.dataMax-this.dataMin))),s-i<this.minRange){var c=this.dataMax-this.dataMin>=this.minRange,u=this.minRange,d=(u-s+i)/2;d=[i-d,M(a.min,i-d)],c&&(d[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),i=f(d),s=[i+u,M(a.max,i+u)],c&&(s[2]=o?o.log2lin(this.dataMax):this.dataMax),s=h(s),s-i<u&&(d[0]=s-u,d[1]=M(a.min,s-u),i=f(d))}this.min=i,this.max=s},e.prototype.getClosest=function(){var e;return this.categories?e=1:this.series.forEach((function(t){var n=t.closestPointRange,r=t.visible||!t.chart.options.chart.ignoreHiddenSeries;!t.noSharedTooltip&&v(n)&&r&&(e=v(e)?Math.min(e,n):n)})),e},e.prototype.nameToX=function(e){var t=_(this.options.categories),n=t?this.categories:this.names,r=e.options.x;if(e.series.requireSorting=!1,v(r)||(r=this.options.uniqueNames&&n?t?n.indexOf(e.name):M(n.keys[e.name],-1):e.series.autoIncrement()),-1===r){if(!t&&n)var a=n.length}else a=r;return"undefined"!==typeof a?(this.names[a]=e.name,this.names.keys[e.name]=a):e.x&&(a=e.x),a},e.prototype.updateNames=function(){var e=this,t=this.names;0<t.length&&(Object.keys(t.keys).forEach((function(e){delete t.keys[e]})),t.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((function(t){t.xIncrement=null,t.points&&!t.isDirtyData||(e.max=Math.max(e.max,t.xData.length-1),t.processData(),t.generatePoints()),t.data.forEach((function(n,r){if(n&&n.options&&"undefined"!==typeof n.name){var a=e.nameToX(n);"undefined"!==typeof a&&a!==n.x&&(n.x=a,t.xData[r]=a)}}))})))},e.prototype.setAxisTranslation=function(){var e=this,t=e.max-e.min,n=e.linkedParent,r=!!e.categories,a=e.isXAxis,o=e.axisPointRange||0,i=0,s=0,l=e.transA;if(a||r||o){var c=e.getClosest();n?(i=n.minPointOffset,s=n.pointRangePadding):e.series.forEach((function(t){var n=r?1:a?M(t.options.pointRange,c,0):e.axisPointRange||0,l=t.options.pointPlacement;o=Math.max(o,n),e.single&&!r||(t=t.is("xrange")?!a:a,i=Math.max(i,t&&k(l)?0:n/2),s=Math.max(s,t&&"on"===l?0:n))})),n=e.ordinal&&e.ordinal.slope&&c?e.ordinal.slope/c:1,e.minPointOffset=i*=n,e.pointRangePadding=s*=n,e.pointRange=Math.min(o,e.single&&r?1:t),a&&(e.closestPointRange=c)}e.translationSlope=e.transA=l=e.staticScale||e.len/(t+s||1),e.transB=e.horiz?e.left:e.bottom,e.minPixelPadding=l*i,w(this,"afterSetAxisTranslation")},e.prototype.minFromRange=function(){return this.max-this.range},e.prototype.setTickInterval=function(e){var t=this.chart,n=this.logarithmic,r=this.options,a=this.isXAxis,o=this.isLinked,i=r.tickPixelInterval,s=this.categories,l=this.softThreshold,c=r.maxPadding,u=r.minPadding,d=j(r.tickInterval)&&0<=r.tickInterval?r.tickInterval:void 0,f=j(this.threshold)?this.threshold:null;this.dateTime||s||o||this.getTickAmount();var h=M(this.userMin,r.min),p=M(this.userMax,r.max);if(o){this.linkedParent=t[this.coll][r.linkedTo];var b=this.linkedParent.getExtremes();this.min=M(b.min,b.dataMin),this.max=M(b.max,b.dataMax),r.type!==this.linkedParent.options.type&&y(11,1,t)}else{if(l&&v(f))if(this.dataMin>=f)b=f,u=0;else if(this.dataMax<=f){var g=f;c=0}this.min=M(h,b,this.dataMin),this.max=M(p,g,this.dataMax)}if(n&&(this.positiveValuesOnly&&!e&&0>=Math.min(this.min,M(this.dataMin,this.min))&&y(10,1,t),this.min=m(n.log2lin(this.min),16),this.max=m(n.log2lin(this.max),16)),this.range&&v(this.max)&&(this.userMin=this.min=h=Math.max(this.dataMin,this.minFromRange()),this.userMax=p=this.max,this.range=null),w(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(s||this.axisPointRange||this.stacking&&this.stacking.usePercentage||o)&&v(this.min)&&v(this.max)&&(t=this.max-this.min)&&(!v(h)&&u&&(this.min-=t*u),!v(p)&&c&&(this.max+=t*c)),j(this.userMin)||(j(r.softMin)&&r.softMin<this.min&&(this.min=h=r.softMin),j(r.floor)&&(this.min=Math.max(this.min,r.floor))),j(this.userMax)||(j(r.softMax)&&r.softMax>this.max&&(this.max=p=r.softMax),j(r.ceiling)&&(this.max=Math.min(this.max,r.ceiling))),l&&v(this.dataMin)&&(f=f||0,!v(h)&&this.min<f&&this.dataMin>=f?this.min=this.options.minRange?Math.min(f,this.max-this.minRange):f:!v(p)&&this.max>f&&this.dataMax<=f&&(this.max=this.options.minRange?Math.max(f,this.min+this.minRange):f)),j(this.min)&&j(this.max)&&!this.chart.polar&&this.min>this.max&&(v(this.options.min)?this.max=this.min:v(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||"undefined"===typeof this.min||"undefined"===typeof this.max?1:o&&this.linkedParent&&!d&&i===this.linkedParent.options.tickPixelInterval?d=this.linkedParent.tickInterval:M(d,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,s?1:(this.max-this.min)*i/Math.max(this.len,i)),a&&!e){var O=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach((function(e){e.forceCrop=e.forceCropping&&e.forceCropping(),e.processData(O)})),w(this,"postProcessData",{hasExtremesChanged:O})}this.setAxisTranslation(),w(this,"initialAxisTranslation"),this.pointRange&&!d&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),e=M(r.minTickInterval,this.dateTime&&!this.series.some((function(e){return e.noSharedTooltip}))?this.closestPointRange:0),!d&&this.tickInterval<e&&(this.tickInterval=e),this.dateTime||this.logarithmic||d||(this.tickInterval=P(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},e.prototype.setTickPositions=function(){var e,t=this.options,n=t.tickPositions,r=t.tickPositioner,a=this.getMinorTickInterval(),o=this.hasVerticalPanning(),i="colorAxis"===this.coll,s=(i||!o)&&t.startOnTick;if(o=(i||!o)&&t.endOnTick,i=[],this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===a&&this.tickInterval?this.tickInterval/5:a,this.single=this.min===this.max&&v(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),n)i=n.slice();else if(j(this.min)&&j(this.max)){if(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200)))if(this.dateTime)i=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)i=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(a=t=this.tickInterval;a<=2*t;){if(i=this.getLinearTickPositions(this.tickInterval,this.min,this.max),!(this.tickAmount&&i.length>this.tickAmount))break;this.tickInterval=P(this,a*=1.1)}else i=[this.min,this.max],y(19,!1,this.chart);i.length>this.len&&(i=[i[0],i[i.length-1]],i[0]===i[1]&&(i.length=1)),r&&(this.tickPositions=i,(e=r.apply(this,[this.min,this.max]))&&(i=e))}this.tickPositions=i,this.paddedTicks=i.slice(0),this.trimTicks(i,s,o),!this.isLinked&&j(this.min)&&j(this.max)&&(this.single&&2>i.length&&!this.categories&&!this.series.some((function(e){return e.is("heatmap")&&"between"===e.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),n||e||this.adjustTickAmount()),w(this,"afterSetTickPositions")},e.prototype.trimTicks=function(e,t,n){var r=e[0],a=e[e.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(w(this,"trimTicks"),!this.isLinked){if(t&&-1/0!==r)this.min=r;else for(;this.min-o>e[0];)e.shift();if(n)this.max=a;else for(;this.max+o<e[e.length-1];)e.pop();0===e.length&&v(r)&&!this.options.tickPositions&&e.push((a+r)/2)}},e.prototype.alignToOthers=function(){var e,t=this,n=[this],r=t.options,a="yAxis"===this.coll&&this.chart.options.chart.alignThresholds,o=[];if(t.thresholdAlignment=void 0,(!1!==this.chart.options.chart.alignTicks&&r.alignTicks||a)&&!1!==r.startOnTick&&!1!==r.endOnTick&&!t.logarithmic){var i=function(e){var t=e.options;return[e.horiz?t.left:t.top,t.width,t.height,t.pane].join()},s=i(this);this.chart[this.coll].forEach((function(r){var a=r.series;a.length&&a.some((function(e){return e.visible}))&&r!==t&&i(r)===s&&(e=!0,n.push(r))}))}if(e&&a){n.forEach((function(e){e=e.getThresholdAlignment(t),j(e)&&o.push(e)}));var l=1<o.length?o.reduce((function(e,t){return e+t}),0)/o.length:void 0;n.forEach((function(e){e.thresholdAlignment=l}))}return e},e.prototype.getThresholdAlignment=function(e){if((!j(this.dataMin)||this!==e&&this.series.some((function(e){return e.isDirty||e.isDirtyData})))&&this.getSeriesExtremes(),j(this.threshold))return e=p((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1),this.options.reversed&&(e=1-e),e},e.prototype.getTickAmount=function(){var e=this.options,t=e.tickPixelInterval,n=e.tickAmount;!v(e.tickInterval)&&!n&&this.len<t&&!this.isRadial&&!this.logarithmic&&e.startOnTick&&e.endOnTick&&(n=2),!n&&this.alignToOthers()&&(n=Math.ceil(this.len/t)+1),4>n&&(this.finalTickAmt=n,n=5),this.tickAmount=n},e.prototype.adjustTickAmount=function(){var e=this,t=e.finalTickAmt,n=e.max,r=e.min,a=e.options,o=e.tickPositions,i=e.tickAmount,s=e.thresholdAlignment,l=o&&o.length,c=M(e.threshold,e.softThreshold?0:null),u=e.tickInterval;if(j(s)){var d=.5>s?Math.ceil(s*(i-1)):Math.floor(s*(i-1));a.reversed&&(d=i-1-d)}if(e.hasData()&&j(r)&&j(n)){if(s=function(){e.transA*=(l-1)/(i-1),e.min=a.startOnTick?o[0]:Math.min(r,o[0]),e.max=a.endOnTick?o[o.length-1]:Math.max(n,o[o.length-1])},j(d)&&j(e.threshold)){for(;o[d]!==c||o.length!==i||o[0]>r||o[o.length-1]<n;){for(o.length=0,o.push(e.threshold);o.length<i;)void 0===o[d]||o[d]>e.threshold?o.unshift(m(o[0]-u)):o.push(m(o[o.length-1]+u));if(u>8*e.tickInterval)break;u*=2}s()}else if(l<i){for(;o.length<i;)o.length%2||r===c?o.push(m(o[o.length-1]+u)):o.unshift(m(o[0]-u));s()}if(v(t)){for(u=c=o.length;u--;)(3===t&&1===u%2||2>=t&&0<u&&u<c-1)&&o.splice(u,1);e.finalTickAmt=void 0}}},e.prototype.setScale=function(){var e=!1,t=!1;this.series.forEach((function(n){e=e||n.isDirtyData||n.isDirty,t=t||n.xAxis&&n.xAxis.isDirty||!1})),this.setAxisSize();var n=this.len!==(this.old&&this.old.len);n||e||t||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&(this.stacking.resetStacks(),this.stacking.buildStacks()),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=n||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks(),e&&this.panningState&&(this.panningState.isDirty=!0),w(this,"afterSetScale")},e.prototype.setExtremes=function(e,t,n,r,a){var o=this,i=o.chart;n=M(n,!0),o.series.forEach((function(e){delete e.kdTree})),a=O(a,{min:e,max:t}),w(o,"setExtremes",a,(function(){o.userMin=e,o.userMax=t,o.eventArgs=a,n&&i.redraw(r)}))},e.prototype.zoom=function(e,t){var n=this,r=this.dataMin,a=this.dataMax,o=this.options,i=Math.min(r,M(o.min,r)),s=Math.max(a,M(o.max,a));return e={newMin:e,newMax:t},w(this,"zoom",e,(function(e){var t=e.newMin,o=e.newMax;t===n.min&&o===n.max||(n.allowZoomOutside||(v(r)&&(t<i&&(t=i),t>s&&(t=s)),v(a)&&(o<i&&(o=i),o>s&&(o=s))),n.displayBtn="undefined"!==typeof t||"undefined"!==typeof o,n.setExtremes(t,o,!1,void 0,{trigger:"zoom"})),e.zoomed=!0})),e.zoomed},e.prototype.setAxisSize=function(){var e=this.chart,t=this.options,n=t.offsets||[0,0,0,0],r=this.horiz,a=this.width=Math.round(A(M(t.width,e.plotWidth-n[3]+n[1]),e.plotWidth)),o=this.height=Math.round(A(M(t.height,e.plotHeight-n[0]+n[2]),e.plotHeight)),i=this.top=Math.round(A(M(t.top,e.plotTop+n[0]),e.plotHeight,e.plotTop));t=this.left=Math.round(A(M(t.left,e.plotLeft+n[3]),e.plotWidth,e.plotLeft)),this.bottom=e.chartHeight-o-i,this.right=e.chartWidth-a-t,this.len=Math.max(r?a:o,0),this.pos=r?t:i},e.prototype.getExtremes=function(){var e=this.logarithmic;return{min:e?m(e.lin2log(this.min)):this.min,max:e?m(e.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},e.prototype.getThreshold=function(e){var t=this.logarithmic,n=t?t.lin2log(this.min):this.min;return t=t?t.lin2log(this.max):this.max,null===e||-1/0===e?e=n:1/0===e?e=t:n>e?e=n:t<e&&(e=t),this.translate(e,0,1,0,1)},e.prototype.autoLabelAlign=function(e){var t=(M(e,0)-90*this.side+720)%360;return e={align:"center"},w(this,"autoLabelAlign",e,(function(e){15<t&&165>t?e.align="right":195<t&&345>t&&(e.align="left")})),e.align},e.prototype.tickSize=function(e){var t=this.options,n=M(t["tick"===e?"tickWidth":"minorTickWidth"],"tick"===e&&this.isXAxis&&!this.categories?1:0),r=t["tick"===e?"tickLength":"minorTickLength"];if(n&&r){"inside"===t[e+"Position"]&&(r=-r);var a=[r,n]}return e={tickSize:a},w(this,"afterTickSize",e),e.tickSize},e.prototype.labelMetrics=function(){var e=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[e]&&this.ticks[e].label)},e.prototype.unsquish=function(){var e=this.options.labels,t=this.horiz,n=this.tickInterval,r=this.len/(((this.categories?1:0)+this.max-this.min)/n),a=e.rotation,o=this.labelMetrics(),i=Math.max(this.max-this.min,0),s=function(e){var t=e/(r||1);return t=1<t?Math.ceil(t):1,t*n>i&&1/0!==e&&1/0!==r&&i&&(t=Math.ceil(i/n)),m(t*n)},l=n,c=Number.MAX_VALUE;if(t){if(!e.staggerLines)if(j(a))var u=[a];else r<e.autoRotationLimit&&(u=e.autoRotation);if(u)for(var f=t=void 0,h=0,p=u;h<p.length;h++){var v=p[h];if((v===a||v&&-90<=v&&90>=v)&&(t=s(Math.abs(o.h/Math.sin(d*v))),f=t+Math.abs(v/360),f<c)){c=f;var b=v;l=t}}}else l=s(o.h);return this.autoRotation=u,this.labelRotation=M(b,j(a)?a:0),e.step?n:l},e.prototype.getSlotWidth=function(e){var t=this.chart,n=this.horiz,r=this.options.labels,a=Math.max(this.tickPositions.length-(this.categories?0:1),1),o=t.margin[3];if(e&&j(e.slotWidth))return e.slotWidth;if(n&&2>r.step)return r.rotation?0:(this.staggerLines||1)*this.len/a;if(!n){if(e=r.style.width,void 0!==e)return parseInt(String(e),10);if(o)return o-t.spacing[3]}return.33*t.chartWidth},e.prototype.renderUnsquish=function(){var e=this.chart,t=e.renderer,n=this.tickPositions,r=this.ticks,a=this.options.labels,o=a.style,i=this.horiz,s=this.getSlotWidth(),l=Math.max(1,Math.round(s-2*a.padding)),c={},u=this.labelMetrics(),d=o.textOverflow,f=0;if(k(a.rotation)||(c.rotation=a.rotation||0),n.forEach((function(e){e=r[e],e.movedLabel&&e.replaceMovedLabel(),e&&e.label&&e.label.textPxLength>f&&(f=e.label.textPxLength)})),this.maxLabelLength=f,this.autoRotation)f>l&&f>u.h?c.rotation=this.labelRotation:this.labelRotation=0;else if(s){var h=l;if(!d){var p="clip";for(l=n.length;!i&&l--;){var m=n[l];(m=r[m].label)&&(m.styles&&"ellipsis"===m.styles.textOverflow?m.css({textOverflow:"clip"}):m.textPxLength>s&&m.css({width:s+"px"}),m.getBBox().height>this.len/n.length-(u.h-u.f)&&(m.specificTextOverflow="ellipsis"))}}}c.rotation&&(h=f>.5*e.chartHeight?.33*e.chartHeight:f,d||(p="ellipsis")),(this.labelAlign=a.align||this.autoLabelAlign(this.labelRotation))&&(c.align=this.labelAlign),n.forEach((function(e){var t=(e=r[e])&&e.label,n=o.width,a={};t&&(t.attr(c),e.shortenLabel?e.shortenLabel():h&&!n&&"nowrap"!==o.whiteSpace&&(h<t.textPxLength||"SPAN"===t.element.tagName)?(a.width=h+"px",d||(a.textOverflow=t.specificTextOverflow||p),t.css(a)):t.styles&&t.styles.width&&!a.width&&!n&&t.css({width:null}),delete t.specificTextOverflow,e.rotation=c.rotation)}),this),this.tickRotCorr=t.rotCorr(u.b,this.labelRotation||0,0!==this.side)},e.prototype.hasData=function(){return this.series.some((function(e){return e.hasData()}))||this.options.showEmpty&&v(this.min)&&v(this.max)},e.prototype.addTitle=function(e){var t,n=this.chart.renderer,r=this.horiz,a=this.opposite,o=this.options.title,i=this.chart.styledMode;this.axisTitle||((t=o.textAlign)||(t=(r?{low:"left",middle:"center",high:"right"}:{low:a?"right":"left",middle:"center",high:a?"left":"right"})[o.align]),this.axisTitle=n.text(o.text||"",0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation,align:t}).addClass("highcharts-axis-title"),i||this.axisTitle.css(x(o.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),i||o.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[e?"show":"hide"](e)},e.prototype.generateTick=function(e){var t=this.ticks;t[e]?t[e].addLabel():t[e]=new i(this,e)},e.prototype.getOffset=function(){var e=this,t=this,n=t.chart,r=t.horiz,a=t.options,o=t.side,i=t.ticks,s=t.tickPositions,l=t.coll,c=t.axisParent,u=n.renderer,d=n.inverted&&!t.isZAxis?[1,0,3,2][o]:o,f=t.hasData(),h=a.title,p=a.labels,m=n.axisOffset;n=n.clipOffset;var b,g=[-1,1,1,-1][o],y=a.className,O=0,_=0,j=0;if(t.showAxis=b=f||a.showEmpty,t.staggerLines=t.horiz&&p.staggerLines||void 0,!t.axisGroup){var k=function(t,n,r){return u.g(t).attr({zIndex:r}).addClass("highcharts-".concat(l.toLowerCase()).concat(n," ")+(e.isRadial?"highcharts-radial-axis".concat(n," "):"")+(y||"")).add(c)};t.gridGroup=k("grid","-grid",a.gridZIndex),t.axisGroup=k("axis","",a.zIndex),t.labelGroup=k("axis-labels","-labels",p.zIndex)}if(f||t.isLinked?(s.forEach((function(e){t.generateTick(e)})),t.renderUnsquish(),t.reserveSpaceDefault=0===o||2===o||{1:"left",3:"right"}[o]===t.labelAlign,M(p.reserveSpace,"center"===t.labelAlign||null,t.reserveSpaceDefault)&&s.forEach((function(e){j=Math.max(i[e].getLabelSize(),j)})),t.staggerLines&&(j*=t.staggerLines),t.labelOffset=j*(t.opposite?-1:1)):C(i,(function(e,t){e.destroy(),delete i[t]})),h&&h.text&&!1!==h.enabled&&(t.addTitle(b),b&&!1!==h.reserveSpace)){t.titleOffset=O=t.axisTitle.getBBox()[r?"height":"width"];var x=h.offset;_=v(x)?0:M(h.margin,r?5:10)}t.renderLine(),t.offset=g*M(a.offset,m[o]?m[o]+(a.margin||0):0),t.tickRotCorr=t.tickRotCorr||{x:0,y:0},h=0===o?-t.labelMetrics().h:2===o?t.tickRotCorr.y:0,f=Math.abs(j)+_,j&&(f=f-h+g*(r?M(p.y,t.tickRotCorr.y+8*g):p.x)),t.axisTitleMargin=M(x,f),t.getMaxLabelDimensions&&(t.maxLabelDimensions=t.getMaxLabelDimensions(i,s)),"colorAxis"!==l&&(r=this.tickSize("tick"),m[o]=Math.max(m[o],(t.axisTitleMargin||0)+O+g*t.offset,f,s&&s.length&&r?r[0]+g*t.offset:0),a=!t.axisLine||a.offset?0:2*Math.floor(t.axisLine.strokeWidth()/2),n[d]=Math.max(n[d],a)),w(this,"afterGetOffset")},e.prototype.getLinePath=function(e){var t=this.chart,n=this.opposite,r=this.offset,a=this.horiz,o=this.left+(n?this.width:0)+r;return r=t.chartHeight-this.bottom-(n?this.height:0)+r,n&&(e*=-1),t.renderer.crispLine([["M",a?this.left:o,a?r:this.top],["L",a?t.chartWidth-this.right:o,a?r:t.chartHeight-this.bottom]],e)},e.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},e.prototype.getTitlePosition=function(){var e=this.horiz,t=this.left,n=this.top,r=this.len,a=this.options.title,o=e?t:n,i=this.opposite,s=this.offset,l=a.x,c=a.y,u=this.axisTitle,d=this.chart.renderer.fontMetrics(a.style.fontSize,u);return u=u?Math.max(u.getBBox(!1,0).height-d.h-1,0):0,r={low:o+(e?0:r),middle:o+r/2,high:o+(e?r:0)}[a.align],t=(e?n+this.height:t)+(e?1:-1)*(i?-1:1)*(this.axisTitleMargin||0)+[-u,u,d.f,-u][this.side],e={x:e?r+l:t+(i?this.width:0)+s+l,y:e?t+c-(i?this.height:0)+s:r+c},w(this,"afterGetTitlePosition",{titlePosition:e}),e},e.prototype.renderMinorTick=function(e,t){var n=this.minorTicks;n[e]||(n[e]=new i(this,e,"minor")),t&&n[e].isNew&&n[e].render(null,!0),n[e].render(null,!1,1)},e.prototype.renderTick=function(e,t,n){var r=this.ticks;(!this.isLinked||e>=this.min&&e<=this.max||this.grid&&this.grid.isColumn)&&(r[e]||(r[e]=new i(this,e)),n&&r[e].isNew&&r[e].render(t,!0,-1),r[e].render(t))},e.prototype.render=function(){var e,t,n=this,r=n.chart,a=n.logarithmic,s=n.options,c=n.isLinked,u=n.tickPositions,d=n.axisTitle,f=n.ticks,h=n.minorTicks,p=n.alternateBands,m=s.stackLabels,v=s.alternateGridColor,b=n.tickmarkOffset,g=n.axisLine,y=n.showAxis,O=l(r.renderer.globalAnimation);if(n.labelEdge.length=0,n.overlap=!1,[f,h,p].forEach((function(e){C(e,(function(e){e.isActive=!1}))})),n.hasData()||c){var _=n.chart.hasRendered&&n.old&&j(n.old.min);n.minorTickInterval&&!n.categories&&n.getMinorTickPositions().forEach((function(e){n.renderMinorTick(e,_)})),u.length&&(u.forEach((function(e,t){n.renderTick(e,t,_)})),b&&(0===n.min||n.single)&&(f[-1]||(f[-1]=new i(n,-1,null,!0)),f[-1].render(-1))),v&&u.forEach((function(i,s){t="undefined"!==typeof u[s+1]?u[s+1]+b:n.max-b,0===s%2&&i<n.max&&t<=n.max+(r.polar?-b:b)&&(p[i]||(p[i]=new o.PlotLineOrBand(n)),e=i+b,p[i].options={from:a?a.lin2log(e):e,to:a?a.lin2log(t):t,color:v,className:"highcharts-alternate-grid"},p[i].render(),p[i].isActive=!0)})),n._addedPlotLB||(n._addedPlotLB=!0,(s.plotLines||[]).concat(s.plotBands||[]).forEach((function(e){n.addPlotBandOrLine(e)})))}[f,h,p].forEach((function(e){var t=[],n=O.duration;C(e,(function(e,n){e.isActive||(e.render(n,!1,0),e.isActive=!1,t.push(n))})),L((function(){for(var n=t.length;n--;)e[t[n]]&&!e[t[n]].isActive&&(e[t[n]].destroy(),delete e[t[n]])}),e!==p&&r.hasRendered&&n?n:0)})),g&&(g[g.isPlaced?"animate":"attr"]({d:this.getLinePath(g.strokeWidth())}),g.isPlaced=!0,g[y?"show":"hide"](y)),d&&y&&(s=n.getTitlePosition(),d[d.isNew?"attr":"animate"](s),d.isNew=!1),m&&m.enabled&&n.stacking&&n.stacking.renderStackTotals(),n.old={len:n.len,max:n.max,min:n.min,transA:n.transA,userMax:n.userMax,userMin:n.userMin},n.isDirty=!1,w(this,"afterRender")},e.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(e){e.render()}))),this.series.forEach((function(e){e.isDirty=!0}))},e.prototype.getKeepProps=function(){return this.keepProps||e.keepProps},e.prototype.destroy=function(e){var t=this,n=t.plotLinesAndBands,r=this.eventOptions;if(w(this,"destroy",{keepEvents:e}),e||T(t),[t.ticks,t.minorTicks,t.alternateBands].forEach((function(e){b(e)})),n)for(e=n.length;e--;)n[e].destroy();for(var a in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(e){t[e]&&(t[e]=t[e].destroy())})),t.plotLinesAndBandsGroups)t.plotLinesAndBandsGroups[a]=t.plotLinesAndBandsGroups[a].destroy();C(t,(function(e,n){-1===t.getKeepProps().indexOf(n)&&delete t[n]})),this.eventOptions=r},e.prototype.drawCrosshair=function(e,t){var r,a=this.crosshair,o=M(a&&a.snap,!0),i=this.chart,s=this.cross;if(w(this,"drawCrosshair",{e:e,point:t}),e||(e=this.cross&&this.cross.e),a&&!1!==(v(t)||!o)){if(o?v(t)&&(r=M("colorAxis"!==this.coll?t.crosshairPos:null,this.isXAxis?t.plotX:this.len-t.plotY)):r=e&&(this.horiz?e.chartX-this.pos:this.len-e.chartY+this.pos),v(r)){var l={value:t&&(this.isXAxis?t.x:M(t.stackY,t.y)),translatedValue:r};i.polar&&O(l,{isCrosshair:!0,chartX:e&&e.chartX,chartY:e&&e.chartY,point:t}),l=this.getPlotLinePath(l)||null}if(!v(l))return void this.hideCrosshair();o=this.categories&&!this.isRadial,s||(this.cross=s=i.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(o?"category ":"thin ")+(a.className||"")).attr({zIndex:M(a.zIndex,2)}).add(),i.styledMode||(s.attr({stroke:a.color||(o?n.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":M(a.width,1)}).css({"pointer-events":"none"}),a.dashStyle&&s.attr({dashstyle:a.dashStyle}))),s.show().attr({d:l}),o&&!a.width&&s.attr({"stroke-width":this.transA}),this.cross.e=e}else this.hideCrosshair();w(this,"afterDrawCrosshair",{e:e,point:t})},e.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),w(this,"afterHideCrosshair")},e.prototype.hasVerticalPanning=function(){var e=this.chart.options.chart.panning;return!!(e&&e.enabled&&/y/.test(e.type))},e.prototype.validatePositiveValue=function(e){return j(e)&&0<e},e.prototype.update=function(e,t){var n=this.chart;e=x(this.userOptions,e),this.destroy(!0),this.init(n,e),n.isDirtyBox=!0,M(t,!0)&&n.redraw()},e.prototype.remove=function(e){for(var t=this.chart,n=this.coll,r=this.series,a=r.length;a--;)r[a]&&r[a].remove(!1);g(t.axes,this),g(t[n],this),t[n].forEach((function(e,t){e.options.index=e.userOptions.index=t})),this.destroy(),t.isDirtyBox=!0,M(e,!0)&&t.redraw()},e.prototype.setTitle=function(e,t){this.update({title:e},t)},e.prototype.setCategories=function(e,t){this.update({categories:e},t)},e.defaultOptions=t.defaultXAxisOptions,e.keepProps="extKey hcEvents names series userMax userMin".split(" "),e}(),e})),t(n,"Core/Axis/DateTimeAxis.js",[n["Core/Utilities.js"]],(function(e){var t,n=e.addEvent,r=e.getMagnitude,a=e.normalizeTickInterval,o=e.timeUnits;return function(e){function t(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function i(e){"datetime"!==e.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new l(this))}var s=[];e.compose=function(e){return-1===s.indexOf(e)&&(s.push(e),e.keepProps.push("dateTime"),e.prototype.getTimeTicks=t,n(e,"init",i)),e};var l=function(){function e(e){this.axis=e}return e.prototype.normalizeTimeTickInterval=function(e,t){var n=t||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];t=n[n.length-1];var i,s=o[t[0]],l=t[1];for(i=0;i<n.length&&(t=n[i],s=o[t[0]],l=t[1],!(n[i+1]&&e<=(s*l[l.length-1]+o[n[i+1][0]])/2));i++);return s===o.year&&e<5*s&&(l=[1,2,5]),e=a(e/s,l,"year"===t[0]?Math.max(r(e/s),1):1),{unitRange:s,count:e,unitName:t[0]}},e.prototype.getXDateFormat=function(e,t){var n=this.axis,r=n.chart.time;return n.closestPointRange?r.getDateFormat(n.closestPointRange,e,n.options.startOfWeek,t)||r.resolveDTLFormat(t.year).main:r.resolveDTLFormat(t.day).main},e}();e.Additions=l}(t||(t={})),t})),t(n,"Core/Axis/LogarithmicAxis.js",[n["Core/Utilities.js"]],(function(e){var t,n=e.addEvent,r=e.normalizeTickInterval,a=e.pick;return function(e){function t(e){var t=this.logarithmic;"logarithmic"!==e.userOptions.type?this.logarithmic=void 0:t||(this.logarithmic=new s(this))}function o(){var e=this.logarithmic;e&&(this.lin2val=function(t){return e.lin2log(t)},this.val2lin=function(t){return e.log2lin(t)})}var i=[];e.compose=function(e){return-1===i.indexOf(e)&&(i.push(e),e.keepProps.push("logarithmic"),n(e,"init",t),n(e,"afterInit",o)),e};var s=function(){function e(e){this.axis=e}return e.prototype.getLogTickPositions=function(e,t,n,o){var i=this.axis,s=i.len,l=i.options,c=[];if(o||(this.minorAutoInterval=void 0),.5<=e)e=Math.round(e),c=i.getLinearTickPositions(e,t,n);else if(.08<=e){var u,d=Math.floor(t),f=l=void 0;for(s=.3<e?[1,2,4]:.15<e?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];d<n+1&&!f;d++){var h=s.length;for(u=0;u<h&&!f;u++){var p=this.log2lin(this.lin2log(d)*s[u]);p>t&&(!o||l<=n)&&"undefined"!==typeof l&&c.push(l),l>n&&(f=!0),l=p}}}else t=this.lin2log(t),n=this.lin2log(n),e=o?i.getMinorTickInterval():l.tickInterval,e=a("auto"===e?null:e,this.minorAutoInterval,l.tickPixelInterval/(o?5:1)*(n-t)/((o?s/i.tickPositions.length:s)||1)),e=r(e),c=i.getLinearTickPositions(e,t,n).map(this.log2lin),o||(this.minorAutoInterval=e/5);return o||(i.tickInterval=e),c},e.prototype.lin2log=function(e){return Math.pow(10,e)},e.prototype.log2lin=function(e){return Math.log(e)/Math.LN10},e}();e.Additions=s}(t||(t={})),t})),t(n,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[n["Core/Utilities.js"]],(function(e){var t,n=e.erase,r=e.extend,a=e.isNumber;return function(e){var t,o=[];e.compose=function(e,n){return t||(t=e),-1===o.indexOf(n)&&(o.push(n),r(n.prototype,i.prototype)),n};var i=function(){function e(){}return e.prototype.getPlotBandPath=function(e,t,n){void 0===n&&(n=this.options);var r=this.getPlotLinePath({value:t,force:!0,acrossPanes:n.acrossPanes}),o=[],i=this.horiz;if(t=!a(this.min)||!a(this.max)||e<this.min&&t<this.min||e>this.max&&t>this.max,e=this.getPlotLinePath({value:e,force:!0,acrossPanes:n.acrossPanes}),n=1,e&&r){if(t){var s=e.toString()===r.toString();n=0}for(t=0;t<e.length;t+=2){var l=e[t],c=e[t+1],u=r[t],d=r[t+1];"M"!==l[0]&&"L"!==l[0]||"M"!==c[0]&&"L"!==c[0]||"M"!==u[0]&&"L"!==u[0]||"M"!==d[0]&&"L"!==d[0]||(i&&u[1]===l[1]?(u[1]+=n,d[1]+=n):i||u[2]!==l[2]||(u[2]+=n,d[2]+=n),o.push(["M",l[1],l[2]],["L",c[1],c[2]],["L",d[1],d[2]],["L",u[1],u[2]],["Z"])),o.isFlat=s}}return o},e.prototype.addPlotBand=function(e){return this.addPlotBandOrLine(e,"plotBands")},e.prototype.addPlotLine=function(e){return this.addPlotBandOrLine(e,"plotLines")},e.prototype.addPlotBandOrLine=function(e,n){var r=this,a=this.userOptions,o=new t(this,e);if(this.visible&&(o=o.render()),o){if(this._addedPlotLB||(this._addedPlotLB=!0,(a.plotLines||[]).concat(a.plotBands||[]).forEach((function(e){r.addPlotBandOrLine(e)}))),n){var i=a[n]||[];i.push(e),a[n]=i}this.plotLinesAndBands.push(o)}return o},e.prototype.removePlotBandOrLine=function(e){var t=this.plotLinesAndBands,r=this.options,a=this.userOptions;if(t){for(var o=t.length;o--;)t[o].id===e&&t[o].destroy();[r.plotLines||[],a.plotLines||[],r.plotBands||[],a.plotBands||[]].forEach((function(t){for(o=t.length;o--;)(t[o]||{}).id===e&&n(t,t[o])}))}},e.prototype.removePlotBand=function(e){this.removePlotBandOrLine(e)},e.prototype.removePlotLine=function(e){this.removePlotBandOrLine(e)},e}()}(t||(t={})),t})),t(n,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[n["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],n["Core/Utilities.js"]],(function(e,t){var n=t.arrayMax,r=t.arrayMin,a=t.defined,o=t.destroyObjectProperties,i=t.erase,s=t.fireEvent,l=t.merge,c=t.objectEach,u=t.pick;return t=function(){function t(e,t){this.axis=e,t&&(this.options=t,this.id=t.id)}return t.compose=function(n){return e.compose(t,n)},t.prototype.render=function(){s(this,"render");var e=this,t=e.axis,n=t.horiz,r=t.logarithmic,o=e.options,i=o.color,d=u(o.zIndex,0),f=o.events,h={},p=t.chart.renderer,m=o.label,v=e.label,b=o.to,g=o.from,y=o.value,O=e.svgElem,w=[],_=a(g)&&a(b);w=a(y);var j=!O,k={class:"highcharts-plot-"+(_?"band ":"line ")+(o.className||"")},x=_?"bands":"lines";if(r&&(g=r.log2lin(g),b=r.log2lin(b),y=r.log2lin(y)),t.chart.styledMode||(w?(k.stroke=i||"#999999",k["stroke-width"]=u(o.width,1),o.dashStyle&&(k.dashstyle=o.dashStyle)):_&&(k.fill=i||"#e6ebf5",o.borderWidth&&(k.stroke=o.borderColor,k["stroke-width"]=o.borderWidth))),h.zIndex=d,x+="-"+d,(r=t.plotLinesAndBandsGroups[x])||(t.plotLinesAndBandsGroups[x]=r=p.g("plot-"+x).attr(h).add()),j&&(e.svgElem=O=p.path().attr(k).add(r)),w)w=t.getPlotLinePath({value:y,lineWidth:O.strokeWidth(),acrossPanes:o.acrossPanes});else{if(!_)return;w=t.getPlotBandPath(g,b,o)}return!e.eventsAdded&&f&&(c(f,(function(t,n){O.on(n,(function(t){f[n].apply(e,[t])}))})),e.eventsAdded=!0),(j||!O.d)&&w&&w.length?O.attr({d:w}):O&&(w?(O.show(),O.animate({d:w})):O.d&&(O.hide(),v&&(e.label=v=v.destroy()))),m&&(a(m.text)||a(m.formatter))&&w&&w.length&&0<t.width&&0<t.height&&!w.isFlat?(m=l({align:n&&_&&"center",x:n?!_&&4:10,verticalAlign:!n&&_&&"middle",y:n?_?16:10:_?6:-4,rotation:n&&!_&&90},m),this.renderLabel(m,w,_,d)):v&&v.hide(),e},t.prototype.renderLabel=function(e,t,a,o){var i=this.axis,s=i.chart.renderer,c=this.label;c||(this.label=c=s.text(this.getLabelText(e),0,0,e.useHTML).attr({align:e.textAlign||e.align,rotation:e.rotation,class:"highcharts-plot-"+(a?"band":"line")+"-label "+(e.className||""),zIndex:o}).add(),i.chart.styledMode||c.css(l({textOverflow:"ellipsis"},e.style))),o=t.xBounds||[t[0][1],t[1][1],a?t[2][1]:t[0][1]],t=t.yBounds||[t[0][2],t[1][2],a?t[2][2]:t[0][2]],a=r(o),s=r(t),c.align(e,!1,{x:a,y:s,width:n(o)-a,height:n(t)-s}),c.alignValue&&"left"!==c.alignValue||(e=e.clip?i.width:i.chart.chartWidth,c.css({width:(90===c.rotation?i.height-(c.alignAttr.y-i.top):e-(c.alignAttr.x-i.left))+"px"})),c.show(!0)},t.prototype.getLabelText=function(e){return a(e.formatter)?e.formatter.call(this):e.text},t.prototype.destroy=function(){i(this.axis.plotLinesAndBands,this),delete this.axis,o(this)},t}(),t})),t(n,"Core/Tooltip.js",[n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n,r,a){var o=e.format,i=t.doc,s=n.distribute,l=a.clamp,c=a.css,u=a.discardElement,d=a.extend,f=a.fireEvent,h=a.isArray,p=a.isNumber,m=a.isString,v=a.merge,b=a.pick,g=a.splat,y=a.syncTimeout;return e=function(){function e(e,t){this.allowShared=!0,this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=e,this.init(e,t)}return e.prototype.applyFilter=function(){var e=this.chart;e.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+e.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{in:"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{in:"SourceGraphic"}}]}]})},e.prototype.bodyFormatter=function(e){return e.map((function(e){var t=e.series.tooltipOptions;return(t[(e.point.formatPrefix||"point")+"Formatter"]||e.point.tooltipFormatter).call(e.point,t[(e.point.formatPrefix||"point")+"Format"]||"")}))},e.prototype.cleanSplit=function(e){this.chart.series.forEach((function(t){var n=t&&t.tt;n&&(!n.isActive||e?t.tt=n.destroy():n.isActive=!1)}))},e.prototype.defaultFormatter=function(e){var t=this.points||g(this),n=[e.tooltipFooterHeaderFormatter(t[0])];return n=n.concat(e.bodyFormatter(t)),n.push(e.tooltipFooterHeaderFormatter(t[0],!0)),n},e.prototype.destroy=function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(!0),this.tt=this.tt.destroy()),this.renderer&&(this.renderer=this.renderer.destroy(),u(this.container)),a.clearTimeout(this.hideTimer),a.clearTimeout(this.tooltipTimeout)},e.prototype.getAnchor=function(e,t){var n=this.chart,r=n.pointer,a=n.inverted,o=n.plotTop;if(n=n.plotLeft,e=g(e),e[0].series&&e[0].series.yAxis&&!e[0].series.yAxis.options.reversedStacks&&(e=e.slice().reverse()),this.followPointer&&t)"undefined"===typeof t.chartX&&(t=r.normalize(t)),e=[t.chartX-n,t.chartY-o];else if(e[0].tooltipPos)e=e[0].tooltipPos;else{var i=0,s=0;e.forEach((function(e){(e=e.pos(!0))&&(i+=e[0],s+=e[1])})),i/=e.length,s/=e.length,this.shared&&1<e.length&&t&&(a?i=t.chartX:s=t.chartY),e=[i-n,s-o]}return e.map(Math.round)},e.prototype.getClassName=function(e,t,n){var r=e.series,a=r.options;return[this.options.className,"highcharts-label",n&&"highcharts-tooltip-header",t?"highcharts-tooltip-box":"highcharts-tooltip",!n&&"highcharts-color-"+b(e.colorIndex,r.colorIndex),a&&a.className].filter(m).join(" ")},e.prototype.getLabel=function(){var e,n=this,a=this.chart.styledMode,o=this.options,i=this.split&&this.allowShared,s=o.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none"),l=this.chart.renderer;if(n.label){var u=!n.label.hasClass("highcharts-label");(i&&!u||!i&&u)&&n.destroy()}if(!this.label){if(this.outside){u=this.chart.options.chart.style;var d=r.getRendererType();this.container=e=t.doc.createElement("div"),e.className="highcharts-tooltip-container",c(e,{position:"absolute",top:"1px",pointerEvents:s,zIndex:Math.max(this.options.style.zIndex||0,(u&&u.zIndex||0)+3)}),t.doc.body.appendChild(e),this.renderer=l=new d(e,0,0,u,void 0,void 0,l.styledMode)}if(i?this.label=l.g("tooltip"):(this.label=l.label("",0,0,o.shape,void 0,void 0,o.useHTML,void 0,"tooltip").attr({padding:o.padding,r:o.borderRadius}),a||this.label.attr({fill:o.backgroundColor,"stroke-width":o.borderWidth}).css(o.style).css({pointerEvents:s}).shadow(o.shadow)),a&&o.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),n.outside&&!n.split){var f=this.label,h=f.xSetter,p=f.ySetter;f.xSetter=function(t){h.call(f,n.distance),e.style.left=t+"px"},f.ySetter=function(t){p.call(f,n.distance),e.style.top=t+"px"}}this.label.attr({zIndex:8}).add()}return this.label},e.prototype.getPosition=function(e,t,n){var r,a=this.chart,o=this.distance,s={},l=a.inverted&&n.h||0,c=this.outside,u=c?i.documentElement.clientWidth-2*o:a.chartWidth,d=c?Math.max(i.body.scrollHeight,i.documentElement.scrollHeight,i.body.offsetHeight,i.documentElement.offsetHeight,i.documentElement.clientHeight):a.chartHeight,f=a.pointer.getChartPosition(),h=function(r){var i="x"===r;return[r,i?u:d,i?e:t].concat(c?[i?e*f.scaleX:t*f.scaleY,i?f.left-o+(n.plotX+a.plotLeft)*f.scaleX:f.top-o+(n.plotY+a.plotTop)*f.scaleY,0,i?u:d]:[i?e:t,i?n.plotX+a.plotLeft:n.plotY+a.plotTop,i?a.plotLeft:a.plotTop,i?a.plotLeft+a.plotWidth:a.plotTop+a.plotHeight])},p=h("y"),m=h("x");h=!!n.negative,!a.polar&&a.hoverSeries&&a.hoverSeries.yAxis&&a.hoverSeries.yAxis.reversed&&(h=!h);var v=!this.followPointer&&b(n.ttBelow,!a.inverted===h),g=function(e,t,n,r,a,i,u){var d=c?"y"===e?o*f.scaleY:o*f.scaleX:o,h=(n-r)/2,p=r<a-o,m=a+o+r<t,b=a-d-n+h;if(a=a+d-h,v&&m)s[e]=a;else if(!v&&p)s[e]=b;else if(p)s[e]=Math.min(u-r,0>b-l?b:b-l);else{if(!m)return!1;s[e]=Math.max(i,a+l+n>t?a:a+l)}},y=function(e,t,n,r,a){var i;return a<o||a>t-o?i=!1:s[e]=a<n/2?1:a>t-r/2?t-r-2:a-n/2,i},O=function(e){var t=p;p=m,m=t,r=e},w=function(){!1!==g.apply(0,p)?!1!==y.apply(0,m)||r||(O(!0),w()):r?s.x=s.y=0:(O(!0),w())};return(a.inverted||1<this.len)&&O(),w(),s},e.prototype.hide=function(e){var t=this;a.clearTimeout(this.hideTimer),e=b(e,this.options.hideDelay),this.isHidden||(this.hideTimer=y((function(){t.getLabel().fadeOut(e?void 0:e),t.isHidden=!0}),e))},e.prototype.init=function(e,t){this.chart=e,this.options=t,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=t.split&&!e.inverted&&!e.polar,this.shared=t.shared||this.split,this.outside=b(t.outside,!(!e.scrollablePixelsX&&!e.scrollablePixelsY))},e.prototype.shouldStickOnContact=function(e){return!(this.followPointer||!this.options.stickOnContact||e&&!this.chart.pointer.inClass(e.target,"highcharts-tooltip"))},e.prototype.move=function(e,t,n,r){var o=this,i=o.now,s=!1!==o.options.animation&&!o.isHidden&&(1<Math.abs(e-i.x)||1<Math.abs(t-i.y)),l=o.followPointer||1<o.len;d(i,{x:s?(2*i.x+e)/3:e,y:s?(i.y+t)/2:t,anchorX:l?void 0:s?(2*i.anchorX+n)/3:n,anchorY:l?void 0:s?(i.anchorY+r)/2:r}),o.getLabel().attr(i),o.drawTracker(),s&&(a.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){o&&o.move(e,t,n,r)}),32))},e.prototype.refresh=function(e,t){var n=this.chart,r=this.options,o=n.pointer,i=g(e),s=i[0],l=[],c=r.formatter||this.defaultFormatter,u=this.shared,d=n.styledMode,p={};if(r.enabled&&s.series){a.clearTimeout(this.hideTimer),this.allowShared=!(!h(e)&&e.series&&e.series.noSharedTooltip),this.followPointer=!this.split&&s.series.tooltipOptions.followPointer,e=this.getAnchor(e,t);var m=e[0],v=e[1];if(u&&this.allowShared?(o.applyInactiveState(i),i.forEach((function(e){e.setState("hover"),l.push(e.getLabelConfig())})),p={x:s.category,y:s.y},p.points=l):p=s.getLabelConfig(),this.len=l.length,c=c.call(p,this),u=s.series,this.distance=b(u.tooltipOptions.distance,16),!1===c)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(c,i);else{var y=m,O=v;if(t&&o.isDirectTouch&&(y=t.chartX-n.plotLeft,O=t.chartY-n.plotTop),!n.polar&&!1!==u.options.clip&&!i.some((function(e){return o.isDirectTouch||e.series.shouldShowTooltip(y,O)})))return void this.hide();t=this.getLabel(),r.style.width&&!d||t.css({width:n.spacingBox.width+"px"}),t.attr({text:c&&c.join?c.join(""):c}),t.addClass(this.getClassName(s),!0),d||t.attr({stroke:r.borderColor||s.color||u.color||"#666666"}),this.updatePosition({plotX:m,plotY:v,negative:s.negative,ttBelow:s.ttBelow,h:e[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}f(this,"refresh")}},e.prototype.renderSplit=function(e,t){function n(e,t,n,a,o){return void 0===o&&(o=!0),n?(t=A?0:P,e=l(e-a/2,S.left,S.right-a-(r.outside?T:0))):(t-=E,e=o?e-a-j:e+j,e=l(e,o?e:S.left,S.right)),{x:e,y:t}}var r=this,a=r.chart,o=r.chart,c=o.chartWidth,u=o.chartHeight,f=o.plotHeight,h=o.plotLeft,p=o.plotTop,v=o.pointer,g=o.scrollablePixelsY;g=void 0===g?0:g;var y=o.scrollablePixelsX,O=o.scrollingContainer;O=void 0===O?{scrollLeft:0,scrollTop:0}:O;var w=O.scrollLeft;O=O.scrollTop;var _=o.styledMode,j=r.distance,k=r.options,x=r.options.positioner,S=r.outside&&"number"!==typeof y?i.documentElement.getBoundingClientRect():{left:w,right:w+c,top:O,bottom:O+u},C=r.getLabel(),M=this.renderer||a.renderer,A=!(!a.xAxis[0]||!a.xAxis[0].opposite);a=v.getChartPosition();var T=a.left;a=a.top;var E=p+O,L=0,P=f-g;m(e)&&(e=[!1,e]),e=e.slice(0,t.length+1).reduce((function(e,a,o){if(!1!==a&&""!==a){o=t[o-1]||{isHeader:!0,plotX:t[0].plotX,plotY:f,series:{}};var i=o.isHeader,s=i?r:o.series;a=a.toString();var c=s.tt,u=o.isHeader,d=o.series;c||(c={padding:k.padding,r:k.borderRadius},_||(c.fill=k.backgroundColor,c["stroke-width"]=k.borderWidth),c=M.label("",0,0,k[u?"headerShape":"shape"],void 0,void 0,k.useHTML).addClass(r.getClassName(o,!0,u)).attr(c).add(C)),c.isActive=!0,c.attr({text:a}),_||c.css(k.style).shadow(k.shadow).attr({stroke:k.borderColor||o.color||d.color||"#333333"}),s=s.tt=c,u=s.getBBox(),a=u.width+s.strokeWidth(),i&&(L=u.height,P+=L,A&&(E-=L)),d=o.plotX,d=void 0===d?0:d,c=o.plotY,c=void 0===c?0:c;var m=o.series;if(o.isHeader){d=h+d;var v=p+f/2}else{var g=m.xAxis,y=m.yAxis;d=g.pos+l(d,-j,g.len+j),m.shouldShowTooltip(0,y.pos-p+c,{ignoreX:!0})&&(v=y.pos+c)}d=l(d,S.left-j,S.right+j),"number"===typeof v?(u=u.height+1,c=x?x.call(r,a,u,o):n(d,v,i,a),e.push({align:x?0:void 0,anchorX:d,anchorY:v,boxWidth:a,point:o,rank:b(c.rank,i?1:0),size:u,target:c.y,tt:s,x:c.x})):s.isActive=!1}return e}),[]),!x&&e.some((function(e){var t=(r.outside?T:0)+e.anchorX;return t<S.left&&t+e.boxWidth<S.right||t<T-S.left+e.boxWidth&&S.right-t>t}))&&(e=e.map((function(e){var t=n(e.anchorX,e.anchorY,e.point.isHeader,e.boxWidth,!1);return d(e,{target:t.y,x:t.x})}))),r.cleanSplit(),s(e,P);var D=T,N=T;e.forEach((function(e){var t=e.x,n=e.boxWidth;e=e.isHeader,e||(r.outside&&T+t<D&&(D=T+t),!e&&r.outside&&D+n>N&&(N=T+t))})),e.forEach((function(e){var t=e.x,n=e.anchorX,a=e.pos,o=e.point.isHeader;if(a={visibility:"undefined"===typeof a?"hidden":"inherit",x:t,y:(a||0)+E,anchorX:n,anchorY:e.anchorY},r.outside&&t<n){var i=T-D;0<i&&(o||(a.x=t+i,a.anchorX=n+i),o&&(a.x=(N-D)/2,a.anchorX=n+i))}e.tt.attr(a)})),e=r.container,g=r.renderer,r.outside&&e&&g&&(o=C.getBBox(),g.setSize(o.width+o.x,o.height+o.y,!1),e.style.left=D+"px",e.style.top=a+"px")},e.prototype.drawTracker=function(){if(this.shouldStickOnContact()){var e=this.chart,t=this.label,n=this.shared?e.hoverPoints:e.hoverPoint;if(t&&n){var r={x:0,y:0,width:0,height:0};n=this.getAnchor(n);var a=t.getBBox();n[0]+=e.plotLeft-t.translateX,n[1]+=e.plotTop-t.translateY,r.x=Math.min(0,n[0]),r.y=Math.min(0,n[1]),r.width=0>n[0]?Math.max(Math.abs(n[0]),a.width-n[0]):Math.max(Math.abs(n[0]),a.width),r.height=0>n[1]?Math.max(Math.abs(n[1]),a.height-Math.abs(n[1])):Math.max(Math.abs(n[1]),a.height),this.tracker?this.tracker.attr(r):(this.tracker=t.renderer.rect(r).addClass("highcharts-tracker").add(t),e.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}else this.tracker&&this.tracker.destroy()},e.prototype.styledModeFormat=function(e){return e.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')},e.prototype.tooltipFooterHeaderFormatter=function(e,t){var n=e.series,r=n.tooltipOptions,a=n.xAxis,i=a&&a.dateTime;a={isFooter:t,labelConfig:e};var s=r.xDateFormat,l=r[t?"footerFormat":"headerFormat"];return f(this,"headerFormatter",a,(function(t){i&&!s&&p(e.key)&&(s=i.getXDateFormat(e.key,r.dateTimeLabelFormats)),i&&s&&(e.point&&e.point.tooltipDateKeys||["key"]).forEach((function(e){l=l.replace("{point."+e+"}","{point."+e+":"+s+"}")})),n.chart.styledMode&&(l=this.styledModeFormat(l)),t.text=o(l,{point:e,series:n},this.chart)})),a.text},e.prototype.update=function(e){this.destroy(),v(!0,this.chart.options.tooltip.userOptions,e),this.init(this.chart,v(!0,this.options,e))},e.prototype.updatePosition=function(e){var t=this.chart,n=this.distance,r=this.options,a=t.pointer,o=this.getLabel(),i=a.getChartPosition();a=i.left;var s=i.top,l=i.scaleX;i=i.scaleY;var u=(r.positioner||this.getPosition).call(this,o.width,o.height,e),d=(e.plotX||0)+t.plotLeft;e=(e.plotY||0)+t.plotTop,this.outside&&(r.positioner&&(u.x+=a-n,u.y+=s-n),n=r.borderWidth+2*n,this.renderer.setSize(o.width+n,o.height+n,!1),1===l&&1===i||(c(this.container,{transform:"scale(".concat(l,", ").concat(i,")")}),d*=l,e*=i),d+=a-u.x,e+=s-u.y),this.move(Math.round(u.x),Math.round(u.y||0),d,e)},e}(),e})),t(n,"Core/Series/Point.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/Defaults.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],(function(e,t,n,r,a){var o=t.animObject,i=n.defaultOptions,s=r.format,l=a.addEvent,c=a.defined,u=a.erase,d=a.extend,f=a.fireEvent,h=a.getNestedProperty,p=a.isArray,m=a.isFunction,v=a.isNumber,b=a.isObject,g=a.merge,y=a.objectEach,O=a.pick,w=a.syncTimeout,_=a.removeEvent,j=a.uniqueKey;return t=function(){function t(){this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.shapeArgs=this.series=void 0,this.visible=!0,this.x=void 0}return t.prototype.animateBeforeDestroy=function(){var e=this,t={x:e.startXPos,opacity:0},n=e.getGraphicalProps();n.singular.forEach((function(n){e[n]=e[n].animate("dataLabel"===n?{x:e[n].startXPos,y:e[n].startYPos,opacity:0}:t)})),n.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.animate(d({x:e.startXPos},t.startYPos?{x:t.startXPos,y:t.startYPos}:{}))}))}))},t.prototype.applyOptions=function(e,n){var r=this.series,a=r.options.pointValKey||r.pointValKey;return e=t.prototype.optionsToObject.call(this,e),d(this,e),this.options=this.options?d(this.options,e):e,e.group&&delete this.group,e.dataLabels&&delete this.dataLabels,a&&(this.y=t.prototype.getNestedProperty.call(this,a)),this.formatPrefix=(this.isNull=this.isValid&&!this.isValid())?"null":"point",this.selected&&(this.state="select"),"name"in this&&"undefined"===typeof n&&r.xAxis&&r.xAxis.hasNames&&(this.x=r.xAxis.nameToX(this)),"undefined"===typeof this.x&&r?this.x="undefined"===typeof n?r.autoIncrement():n:v(e.x)&&r.options.relativeXValue&&(this.x=r.autoIncrement(e.x)),this},t.prototype.destroy=function(){function e(){for(a in(t.graphic||t.graphics||t.dataLabel||t.dataLabels)&&(_(t),t.destroyElements()),t)t[a]=null}var t=this,n=t.series,r=n.chart;n=n.options.dataSorting;var a,i=r.hoverPoints,s=o(t.series.chart.renderer.globalAnimation);t.legendItem&&r.legend.destroyItem(t),i&&(t.setState(),u(i,t),i.length||(r.hoverPoints=null)),t===r.hoverPoint&&t.onMouseOut(),n&&n.enabled?(this.animateBeforeDestroy(),w(e,s.duration)):e(),r.pointCount--},t.prototype.destroyElements=function(e){var t=this;e=t.getGraphicalProps(e),e.singular.forEach((function(e){t[e]=t[e].destroy()})),e.plural.forEach((function(e){t[e].forEach((function(e){e&&e.element&&e.destroy()})),delete t[e]}))},t.prototype.firePointEvent=function(e,t,n){var r=this,a=this.series.options;(a.point.events[e]||r.options&&r.options.events&&r.options.events[e])&&r.importEvents(),"click"===e&&a.allowPointSelect&&(n=function(e){r.select&&r.select(null,e.ctrlKey||e.metaKey||e.shiftKey)}),f(r,e,t,n)},t.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},t.prototype.getGraphicalProps=function(e){var t,n=this,r=[],a={singular:[],plural:[]};for(e=e||{graphic:1,dataLabel:1},e.graphic&&r.push("graphic","shadowGroup"),e.dataLabel&&r.push("dataLabel","dataLabelPath","dataLabelUpper","connector"),t=r.length;t--;){var o=r[t];n[o]&&a.singular.push(o)}return["graphic","dataLabel","connector"].forEach((function(t){var r=t+"s";e[t]&&n[r]&&a.plural.push(r)})),a},t.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},t.prototype.getNestedProperty=function(e){if(e)return 0===e.indexOf("custom.")?h(e,this.options):this[e]},t.prototype.getZone=function(){var e=this.series,t=e.zones;e=e.zoneAxis||"y";var n,r=0;for(n=t[r];this[e]>=n.value;)n=t[++r];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=n&&n.color&&!this.options.color?n.color:this.nonZonedColor,n},t.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},t.prototype.init=function(e,t,n){return this.series=e,this.applyOptions(t,n),this.id=c(this.id)?this.id:j(),this.resolveColor(),e.chart.pointCount++,f(this,"afterInit"),this},t.prototype.isValid=function(){return null!==this.x&&v(this.y)},t.prototype.optionsToObject=function(e){var n=this.series,r=n.options.keys,a=r||n.pointArrayMap||["y"],o=a.length,i={},s=0,l=0;if(v(e)||null===e)i[a[0]]=e;else if(p(e))for(!r&&e.length>o&&(n=typeof e[0],"string"===n?i.name=e[0]:"number"===n&&(i.x=e[0]),s++);l<o;)r&&"undefined"===typeof e[s]||(0<a[l].indexOf(".")?t.prototype.setNestedProperty(i,e[s],a[l]):i[a[l]]=e[s]),s++,l++;else"object"===typeof e&&(i=e,e.dataLabels&&(n._hasPointLabels=!0),e.marker&&(n._hasPointMarkers=!0));return i},t.prototype.pos=function(e,t){void 0===t&&(t=this.plotY);var n=this.plotX,r=this.series,a=r.chart,o=r.xAxis;r=r.yAxis;var i=0,s=0;if(v(n)&&v(t))return e&&(i=o?o.pos:a.plotLeft,s=r?r.pos:a.plotTop),a.inverted&&o&&r?[r.len-t+s,o.len-n+i]:[n+i,t+s]},t.prototype.resolveColor=function(){var e=this.series,t=e.chart.styledMode,n=e.chart.options.chart.colorCount;if(delete this.nonZonedColor,e.options.colorByPoint){if(!t){n=e.options.colors||e.chart.options.colors;var r=n[e.colorCounter];n=n.length}t=e.colorCounter,e.colorCounter++,e.colorCounter===n&&(e.colorCounter=0)}else t||(r=e.color),t=e.colorIndex;this.colorIndex=O(this.options.colorIndex,t),this.color=O(this.options.color,r)},t.prototype.setNestedProperty=function(e,t,n){return n.split(".").reduce((function(e,n,r,a){return e[n]=a.length-1===r?t:b(e[n],!0)?e[n]:{},e[n]}),e),e},t.prototype.shouldDraw=function(){return!this.isNull},t.prototype.tooltipFormatter=function(e){var t=this.series,n=t.tooltipOptions,r=O(n.valueDecimals,""),a=n.valuePrefix||"",o=n.valueSuffix||"";return t.chart.styledMode&&(e=t.chart.tooltip.styledModeFormat(e)),(t.pointArrayMap||["y"]).forEach((function(t){t="{point."+t,(a||o)&&(e=e.replace(RegExp(t+"}","g"),a+t+"}"+o)),e=e.replace(RegExp(t+"}","g"),t+":,."+r+"f}")})),s(e,{point:this,series:this.series},t.chart)},t.prototype.update=function(e,t,n,r){function a(){i.applyOptions(e);var r=l&&i.hasMockGraphic;r=null===i.y?!r:r,l&&r&&(i.graphic=l.destroy(),delete i.hasMockGraphic),b(e,!0)&&(l&&l.element&&e&&e.marker&&"undefined"!==typeof e.marker.symbol&&(i.graphic=l.destroy()),e&&e.dataLabels&&i.dataLabel&&(i.dataLabel=i.dataLabel.destroy()),i.connector&&(i.connector=i.connector.destroy())),o=i.index,s.updateParallelArrays(i,o),u.data[o]=b(u.data[o],!0)||b(e,!0)?i.options:O(e,u.data[o]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(c.isDirtyBox=!0),"point"===u.legendType&&(c.isDirtyLegend=!0),t&&c.redraw(n)}var o,i=this,s=i.series,l=i.graphic,c=s.chart,u=s.options;t=O(t,!0),!1===r?a():i.firePointEvent("update",{options:e},a)},t.prototype.remove=function(e,t){this.series.removePoint(this.series.data.indexOf(this),e,t)},t.prototype.select=function(e,t){var n=this,r=n.series,a=r.chart;this.selectedStaging=e=O(e,!n.selected),n.firePointEvent(e?"select":"unselect",{accumulate:t},(function(){n.selected=n.options.selected=e,r.options.data[r.data.indexOf(n)]=n.options,n.setState(e&&"select"),t||a.getSelectedPoints().forEach((function(e){var t=e.series;e.selected&&e!==n&&(e.selected=e.options.selected=!1,t.options.data[t.data.indexOf(e)]=e.options,e.setState(a.hoverPoints&&t.options.inactiveOtherPoints?"inactive":""),e.firePointEvent("unselect"))}))})),delete this.selectedStaging},t.prototype.onMouseOver=function(e){var t=this.series.chart,n=t.pointer;e=e?n.normalize(e):n.getChartCoordinatesFromPoint(this,t.inverted),n.runPointActions(e,this)},t.prototype.onMouseOut=function(){var e=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(e.hoverPoints||[]).forEach((function(e){e.setState()})),e.hoverPoints=e.hoverPoint=null},t.prototype.importEvents=function(){if(!this.hasImportedEvents){var e=this,t=g(e.series.options.point,e.options).events;e.events=t,y(t,(function(t,n){m(t)&&l(e,n,t)})),this.hasImportedEvents=!0}},t.prototype.setState=function(t,n){var r,a=this.series,o=this.state,s=a.options.states[t||"normal"]||{},l=i.plotOptions[a.type].marker&&a.options.marker,c=l&&!1===l.enabled,u=l&&l.states&&l.states[t||"normal"]||{},h=!1===u.enabled,p=this.marker||{},m=a.chart,b=l&&a.markerAttribs,g=a.halo,y=a.stateMarkerGraphic;if(t=t||"",!(t===this.state&&!n||this.selected&&"select"!==t||!1===s.enabled||t&&(h||c&&!1===u.enabled)||t&&p.states&&p.states[t]&&!1===p.states[t].enabled)){if(this.state=t,b&&(r=a.markerAttribs(this,t)),this.graphic&&!this.hasMockGraphic){if(o&&this.graphic.removeClass("highcharts-point-"+o),t&&this.graphic.addClass("highcharts-point-"+t),!m.styledMode){o=a.pointAttribs(this,t);var w=O(m.options.chart.animation,s.animation),_=o.opacity;a.options.inactiveOtherPoints&&v(_)&&((this.dataLabels||[]).forEach((function(e){e&&!e.hasClass("highcharts-data-label-hidden")&&e.animate({opacity:_},w)})),this.connector&&this.connector.animate({opacity:_},w)),this.graphic.animate(o,w)}r&&this.graphic.animate(r,O(m.options.chart.animation,u.animation,l.animation)),y&&y.hide()}else t&&u&&(l=p.symbol||a.symbol,y&&y.currentSymbol!==l&&(y=y.destroy()),r&&(y?y[n?"animate":"attr"]({x:r.x,y:r.y}):l&&(a.stateMarkerGraphic=y=m.renderer.symbol(l,r.x,r.y,r.width,r.height).add(a.markerGroup),y.currentSymbol=l)),!m.styledMode&&y&&"inactive"!==this.state&&y.attr(a.pointAttribs(this,t))),y&&(y[t&&this.isInside?"show":"hide"](),y.element.point=this,y.addClass(this.getClassName(),!0));s=s.halo,r=(y=this.graphic||y)&&y.visibility||"inherit",s&&s.size&&y&&"hidden"!==r&&!this.isCluster?(g||(a.halo=g=m.renderer.path().add(y.parentGroup)),g.show()[n?"animate":"attr"]({d:this.haloPath(s.size)}),g.attr({class:"highcharts-halo highcharts-color-"+O(this.colorIndex,a.colorIndex)+(this.className?" "+this.className:""),visibility:r,zIndex:-1}),g.point=this,m.styledMode||g.attr(d({fill:this.color||a.color,"fill-opacity":s.opacity},e.filterUserAttributes(s.attributes||{})))):g&&g.point&&g.point.haloPath&&g.animate({d:g.point.haloPath(0)},null,g.hide),f(this,"afterSetState",{state:t})}},t.prototype.haloPath=function(e){var t=this.pos();return t?this.series.chart.renderer.symbols.circle(Math.floor(t[0])-e,t[1]-e,2*e,2*e):[]},t}(),t})),t(n,"Core/Pointer.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Tooltip.js"],n["Core/Utilities.js"]],(function(e,t,n,r){var a=e.parse,o=t.charts,i=t.noop,s=r.addEvent,l=r.attr,c=r.css,u=r.defined,d=r.extend,f=r.find,h=r.fireEvent,p=r.isNumber,m=r.isObject,v=r.objectEach,b=r.offset,g=r.pick,y=r.splat;return e=function(){function e(e,t){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=e,this.hasDragged=!1,this.options=t,this.init(e,t)}return e.prototype.applyInactiveState=function(e){var t,n=[];(e||[]).forEach((function(e){t=e.series,n.push(t),t.linkedParent&&n.push(t.linkedParent),t.linkedSeries&&(n=n.concat(t.linkedSeries)),t.navigatorSeries&&n.push(t.navigatorSeries)})),this.chart.series.forEach((function(e){-1===n.indexOf(e)?e.setState("inactive",!0):e.options.inactiveOtherPoints&&e.setAllPointsToState("inactive")}))},e.prototype.destroy=function(){var n=this;this.eventsToUnbind.forEach((function(e){return e()})),this.eventsToUnbind=[],t.chartCount||(e.unbindDocumentMouseUp&&(e.unbindDocumentMouseUp=e.unbindDocumentMouseUp()),e.unbindDocumentTouchEnd&&(e.unbindDocumentTouchEnd=e.unbindDocumentTouchEnd())),clearInterval(n.tooltipTimeout),v(n,(function(e,t){n[t]=void 0}))},e.prototype.getSelectionMarkerAttrs=function(e,t){var n=this,r={args:{chartX:e,chartY:t},attrs:{},shapeType:"rect"};return h(this,"getSelectionMarkerAttrs",r,(function(r){var a=n.chart,o=n.mouseDownX;o=void 0===o?0:o;var i=n.mouseDownY;i=void 0===i?0:i;var s=n.zoomHor,l=n.zoomVert;r=r.attrs,r.x=a.plotLeft,r.y=a.plotTop,r.width=s?1:a.plotWidth,r.height=l?1:a.plotHeight,s&&(a=e-o,r.width=Math.abs(a),r.x=(0<a?0:a)+o),l&&(a=t-i,r.height=Math.abs(a),r.y=(0<a?0:a)+i)})),r},e.prototype.drag=function(e){var t=this.chart,n=t.options.chart,r=t.plotLeft,o=t.plotTop,i=t.plotWidth,s=t.plotHeight,l=this.mouseDownX||0,c=this.mouseDownY||0,u=m(n.panning)?n.panning&&n.panning.enabled:n.panning,d=n.panKey&&e[n.panKey+"Key"],f=e.chartX,h=e.chartY,p=this.selectionMarker;p&&p.touch||(f<r?f=r:f>r+i&&(f=r+i),h<o?h=o:h>o+s&&(h=o+s),this.hasDragged=Math.sqrt(Math.pow(l-f,2)+Math.pow(c-h,2)),10<this.hasDragged&&(r=t.isInsidePlot(l-r,c-o,{visiblePlotOnly:!0}),h=this.getSelectionMarkerAttrs(f,h),f=h.shapeType,h=h.attrs,!t.hasCartesianSeries&&!t.mapView||!this.zoomX&&!this.zoomY||!r||d||p||(this.selectionMarker=p=t.renderer[f](),p.attr({class:"highcharts-selection-marker",zIndex:7}).add(),t.styledMode||p.attr({fill:n.selectionMarkerFill||a("#335cad").setOpacity(.25).get()})),p&&p.attr(h),r&&!p&&u&&t.pan(e,n.panning)))},e.prototype.dragStart=function(e){var t=this.chart;t.mouseIsDown=e.type,t.cancelClick=!1,t.mouseDownX=this.mouseDownX=e.chartX,t.mouseDownY=this.mouseDownY=e.chartY},e.prototype.getSelectionBox=function(e){var t={args:{marker:e},result:{}};return h(this,"getSelectionBox",t,(function(t){t.result={x:e.attr?+e.attr("x"):e.x,y:e.attr?+e.attr("y"):e.y,width:e.attr?e.attr("width"):e.width,height:e.attr?e.attr("height"):e.height}})),t.result},e.prototype.drop=function(e){var t=this,n=this.chart,r=this.hasPinched;if(this.selectionMarker){var a=this.getSelectionBox(this.selectionMarker),o=a.x,i=a.y,s=a.width,l=a.height,f={originalEvent:e,xAxis:[],yAxis:[],x:o,y:i,width:s,height:l},m=!!n.mapView;(this.hasDragged||r)&&(n.axes.forEach((function(n){if(n.zoomEnabled&&u(n.min)&&(r||t[{xAxis:"zoomX",yAxis:"zoomY"}[n.coll]])&&p(o)&&p(i)&&p(s)&&p(l)){var a=n.horiz,c="touchend"===e.type?n.minPixelPadding:0,d=n.toValue((a?o:i)+c);a=n.toValue((a?o+s:i+l)-c),f[n.coll].push({axis:n,min:Math.min(d,a),max:Math.max(d,a)}),m=!0}})),m&&h(n,"selection",f,(function(e){n.zoom(d(e,r?{animation:!1}:null))}))),p(n.index)&&(this.selectionMarker=this.selectionMarker.destroy()),r&&this.scaleGroups()}n&&p(n.index)&&(c(n.container,{cursor:n._cursor}),n.cancelClick=10<this.hasDragged,n.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},e.prototype.findNearestKDPoint=function(e,t,n){var r;return e.forEach((function(e){var a=!(e.noSharedTooltip&&t)&&0>e.options.findNearestPointBy.indexOf("y");if(e=e.searchPoint(n,a),(a=m(e,!0)&&e.series)&&!(a=!m(r,!0))){a=r.distX-e.distX;var o=r.dist-e.dist,i=(e.series.group&&e.series.group.zIndex)-(r.series.group&&r.series.group.zIndex);a=0<(0!==a&&t?a:0!==o?o:0!==i?i:r.series.index>e.series.index?-1:1)}a&&(r=e)})),r},e.prototype.getChartCoordinatesFromPoint=function(e,t){var n=e.series,r=n.xAxis;n=n.yAxis;var a=e.shapeArgs;if(r&&n){var o=g(e.clientX,e.plotX),i=e.plotY||0;return e.isNode&&a&&p(a.x)&&p(a.y)&&(o=a.x,i=a.y),t?{chartX:n.len+n.pos-i,chartY:r.len+r.pos-o}:{chartX:o+r.pos,chartY:i+n.pos}}if(a&&a.x&&a.y)return{chartX:a.x,chartY:a.y}},e.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var e=this.chart.container,t=b(e);this.chartPosition={left:t.left,top:t.top,scaleX:1,scaleY:1};var n=e.offsetWidth;return e=e.offsetHeight,2<n&&2<e&&(this.chartPosition.scaleX=t.width/n,this.chartPosition.scaleY=t.height/e),this.chartPosition},e.prototype.getCoordinates=function(e){var t={xAxis:[],yAxis:[]};return this.chart.axes.forEach((function(n){t[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(e[n.horiz?"chartX":"chartY"])})})),t},e.prototype.getHoverData=function(e,t,n,r,a,o){var i=[];r=!(!r||!e);var s=function(e){return e.visible&&!(!a&&e.directTouch)&&g(e.options.enableMouseTracking,!0)},l={chartX:o?o.chartX:void 0,chartY:o?o.chartY:void 0,shared:a};h(this,"beforeGetHoverData",l);var c=t&&!t.stickyTracking?[t]:n.filter((function(e){return e.stickyTracking&&(l.filter||s)(e)})),u=r||!o?e:this.findNearestKDPoint(c,a,o);return t=u&&u.series,u&&(a&&!t.noSharedTooltip?(c=n.filter((function(e){return l.filter?l.filter(e):s(e)&&!e.noSharedTooltip})),c.forEach((function(e){var t=f(e.points,(function(e){return e.x===u.x&&!e.isNull}));m(t)&&(e.boosted&&e.boost&&(t=e.boost.getPoint(t)),i.push(t))}))):i.push(u)),l={hoverPoint:u},h(this,"afterGetHoverData",l),{hoverPoint:l.hoverPoint,hoverSeries:t,hoverPoints:i}},e.prototype.getPointFromEvent=function(e){e=e.target;for(var t;e&&!t;)t=e.point,e=e.parentNode;return t},e.prototype.onTrackerMouseOut=function(e){e=e.relatedTarget||e.toElement;var t=this.chart.hoverSeries;this.isDirectTouch=!1,!t||!e||t.stickyTracking||this.inClass(e,"highcharts-tooltip")||this.inClass(e,"highcharts-series-"+t.index)&&this.inClass(e,"highcharts-tracker")||t.onMouseOut()},e.prototype.inClass=function(e,t){for(var n;e;){if(n=l(e,"class")){if(-1!==n.indexOf(t))return!0;if(-1!==n.indexOf("highcharts-container"))return!1}e=e.parentElement}},e.prototype.init=function(e,t){this.options=t,this.chart=e,this.runChartClick=!(!t.chart.events||!t.chart.events.click),this.pinchDown=[],this.lastValidTouch={},n&&(e.tooltip=new n(e,t.tooltip)),this.setDOMEvents()},e.prototype.normalize=function(e,t){var n=e.touches,r=n?n.length?n.item(0):g(n.changedTouches,e.changedTouches)[0]:e;return t||(t=this.getChartPosition()),n=r.pageX-t.left,r=r.pageY-t.top,n/=t.scaleX,r/=t.scaleY,d(e,{chartX:Math.round(n),chartY:Math.round(r)})},e.prototype.onContainerClick=function(e){var t=this.chart,n=t.hoverPoint;e=this.normalize(e);var r=t.plotLeft,a=t.plotTop;t.cancelClick||(n&&this.inClass(e.target,"highcharts-tracker")?(h(n.series,"click",d(e,{point:n})),t.hoverPoint&&n.firePointEvent("click",e)):(d(e,this.getCoordinates(e)),t.isInsidePlot(e.chartX-r,e.chartY-a,{visiblePlotOnly:!0})&&h(t,"click",e)))},e.prototype.onContainerMouseDown=function(e){var n=1===(1&(e.buttons||e.button));e=this.normalize(e),t.isFirefox&&0!==e.button&&this.onContainerMouseMove(e),("undefined"===typeof e.button||n)&&(this.zoomOption(e),n&&e.preventDefault&&e.preventDefault(),this.dragStart(e))},e.prototype.onContainerMouseLeave=function(t){var n=o[g(e.hoverChartIndex,-1)],r=this.chart.tooltip;t=this.normalize(t),n&&(t.relatedTarget||t.toElement)&&(n.pointer.reset(),n.pointer.chartPosition=void 0),r&&!r.isHidden&&this.reset()},e.prototype.onContainerMouseEnter=function(e){delete this.chartPosition},e.prototype.onContainerMouseMove=function(e){var t=this.chart,n=t.tooltip;e=this.normalize(e),this.setHoverChartIndex(),e.preventDefault||(e.returnValue=!1),("mousedown"===t.mouseIsDown||this.touchSelect(e))&&this.drag(e),t.openMenu||!this.inClass(e.target,"highcharts-tracker")&&!t.isInsidePlot(e.chartX-t.plotLeft,e.chartY-t.plotTop,{visiblePlotOnly:!0})||n&&n.shouldStickOnContact(e)||(this.inClass(e.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(e))},e.prototype.onDocumentTouchEnd=function(t){var n=o[g(e.hoverChartIndex,-1)];n&&n.pointer.drop(t)},e.prototype.onContainerTouchMove=function(e){this.touchSelect(e)?this.onContainerMouseMove(e):this.touch(e)},e.prototype.onContainerTouchStart=function(e){this.touchSelect(e)?this.onContainerMouseDown(e):(this.zoomOption(e),this.touch(e,!0))},e.prototype.onDocumentMouseMove=function(e){var t=this.chart,n=t.tooltip,r=this.chartPosition;e=this.normalize(e,r),!r||t.isInsidePlot(e.chartX-t.plotLeft,e.chartY-t.plotTop,{visiblePlotOnly:!0})||n&&n.shouldStickOnContact(e)||this.inClass(e.target,"highcharts-tracker")||this.reset()},e.prototype.onDocumentMouseUp=function(t){var n=o[g(e.hoverChartIndex,-1)];n&&n.pointer.drop(t)},e.prototype.pinch=function(e){var t=this,n=t.chart,r=t.pinchDown,a=e.touches||[],o=a.length,s=t.lastValidTouch,l=t.hasZoom,c={},u=1===o&&(t.inClass(e.target,"highcharts-tracker")&&n.runTrackerClick||t.runChartClick),f={},p=t.chart.tooltip;p=1===o&&g(p&&p.options.followTouchMove,!0);var m=t.selectionMarker;1<o?t.initiated=!0:p&&(t.initiated=!1),l&&t.initiated&&!u&&!1!==e.cancelable&&e.preventDefault(),[].map.call(a,(function(e){return t.normalize(e)})),"touchstart"===e.type?([].forEach.call(a,(function(e,t){r[t]={chartX:e.chartX,chartY:e.chartY}})),s.x=[r[0].chartX,r[1]&&r[1].chartX],s.y=[r[0].chartY,r[1]&&r[1].chartY],n.axes.forEach((function(e){if(e.zoomEnabled){var t=n.bounds[e.horiz?"h":"v"],r=e.minPixelPadding,a=e.toPixels(Math.min(g(e.options.min,e.dataMin),e.dataMin)),o=e.toPixels(Math.max(g(e.options.max,e.dataMax),e.dataMax)),i=Math.max(a,o);t.min=Math.min(e.pos,Math.min(a,o)-r),t.max=Math.max(e.pos+e.len,i+r)}})),t.res=!0):p?this.runPointActions(t.normalize(e)):r.length&&(h(n,"touchpan",{originalEvent:e},(function(){m||(t.selectionMarker=m=d({destroy:i,touch:!0},n.plotBox)),t.pinchTranslate(r,a,c,m,f,s),t.hasPinched=l,t.scaleGroups(c,f)})),t.res&&(t.res=!1,this.reset(!1,0)))},e.prototype.pinchTranslate=function(e,t,n,r,a,o){this.zoomHor&&this.pinchTranslateDirection(!0,e,t,n,r,a,o),this.zoomVert&&this.pinchTranslateDirection(!1,e,t,n,r,a,o)},e.prototype.pinchTranslateDirection=function(e,t,n,r,a,o,i,s){var l=this.chart,c=e?"x":"y",u=e?"X":"Y",d="chart"+u,f=e?"width":"height",h=l["plot"+(e?"Left":"Top")],p=l.inverted,m=l.bounds[e?"h":"v"],v=1===t.length,b=t[0][d],g=!v&&t[1][d];t=function(){"number"===typeof j&&20<Math.abs(b-g)&&(w=s||Math.abs(_-j)/Math.abs(b-g)),O=(h-_)/w+b,y=l["plot"+(e?"Width":"Height")]/w};var y,O,w=s||1,_=n[0][d],j=!v&&n[1][d];if(t(),n=O,n<m.min){n=m.min;var k=!0}else n+y>m.max&&(n=m.max-y,k=!0);k?(_-=.8*(_-i[c][0]),"number"===typeof j&&(j-=.8*(j-i[c][1])),t()):i[c]=[_,j],p||(o[c]=O-h,o[f]=y),o=p?1/w:w,a[f]=y,a[c]=n,r[p?e?"scaleY":"scaleX":"scale"+u]=w,r["translate"+u]=o*h+(_-o*b)},e.prototype.reset=function(e,t){var n=this.chart,r=n.hoverSeries,a=n.hoverPoint,o=n.hoverPoints,i=n.tooltip,s=i&&i.shared?o:a;e&&s&&y(s).forEach((function(t){t.series.isCartesian&&"undefined"===typeof t.plotX&&(e=!1)})),e?i&&s&&y(s).length&&(i.refresh(s),i.shared&&o?o.forEach((function(e){e.setState(e.state,!0),e.series.isCartesian&&(e.series.xAxis.crosshair&&e.series.xAxis.drawCrosshair(null,e),e.series.yAxis.crosshair&&e.series.yAxis.drawCrosshair(null,e))})):a&&(a.setState(a.state,!0),n.axes.forEach((function(e){e.crosshair&&a.series[e.coll]===e&&e.drawCrosshair(null,a)})))):(a&&a.onMouseOut(),o&&o.forEach((function(e){e.setState()})),r&&r.onMouseOut(),i&&i.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach((function(e){e.hideCrosshair()})),this.hoverX=n.hoverPoints=n.hoverPoint=null)},e.prototype.runPointActions=function(t,n,r){var a=this.chart,i=a.tooltip&&a.tooltip.options.enabled?a.tooltip:void 0,l=!!i&&i.shared,c=n||a.hoverPoint,u=c&&c.series||a.hoverSeries;n=this.getHoverData(c,u,a.series,(!t||"touchmove"!==t.type)&&(!!n||u&&u.directTouch&&this.isDirectTouch),l,t),c=n.hoverPoint,u=n.hoverSeries;var d=n.hoverPoints;n=u&&u.tooltipOptions.followPointer&&!u.tooltipOptions.split;var h=l&&u&&!u.noSharedTooltip;if(c&&(r||c!==a.hoverPoint||i&&i.isHidden)){if((a.hoverPoints||[]).forEach((function(e){-1===d.indexOf(e)&&e.setState()})),a.hoverSeries!==u&&u.onMouseOver(),this.applyInactiveState(d),(d||[]).forEach((function(e){e.setState("hover")})),a.hoverPoint&&a.hoverPoint.firePointEvent("mouseOut"),!c.series)return;a.hoverPoints=d,a.hoverPoint=c,c.firePointEvent("mouseOver",void 0,(function(){i&&c&&i.refresh(h?d:c,t)}))}else n&&i&&!i.isHidden&&(r=i.getAnchor([{}],t),a.isInsidePlot(r[0],r[1],{visiblePlotOnly:!0})&&i.updatePosition({plotX:r[0],plotY:r[1]}));this.unDocMouseMove||(this.unDocMouseMove=s(a.container.ownerDocument,"mousemove",(function(t){var n=o[e.hoverChartIndex];n&&n.pointer.onDocumentMouseMove(t)})),this.eventsToUnbind.push(this.unDocMouseMove)),a.axes.forEach((function(e){var n,r=g((e.crosshair||{}).snap,!0);r&&((n=a.hoverPoint)&&n.series[e.coll]===e||(n=f(d,(function(t){return t.series&&t.series[e.coll]===e})))),n||!r?e.drawCrosshair(t,n):e.hideCrosshair()}))},e.prototype.scaleGroups=function(e,t){var n=this.chart;n.series.forEach((function(r){var a=e||r.getPlotBox();r.group&&(r.xAxis&&r.xAxis.zoomEnabled||n.mapView)&&(r.group.attr(a),r.markerGroup&&(r.markerGroup.attr(a),r.markerGroup.clip(t?n.clipRect:null)),r.dataLabelsGroup&&r.dataLabelsGroup.attr(a))})),n.clipRect.attr(t||n.clipBox)},e.prototype.setDOMEvents=function(){var n=this,r=this.chart.container,a=r.ownerDocument;r.onmousedown=this.onContainerMouseDown.bind(this),r.onmousemove=this.onContainerMouseMove.bind(this),r.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(s(r,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(s(r,"mouseleave",this.onContainerMouseLeave.bind(this))),e.unbindDocumentMouseUp||(e.unbindDocumentMouseUp=s(a,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(s(o,"scroll",(function(){delete n.chartPosition}))),o=o.parentElement;t.hasTouch&&(this.eventsToUnbind.push(s(r,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(s(r,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),e.unbindDocumentTouchEnd||(e.unbindDocumentTouchEnd=s(a,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},e.prototype.setHoverChartIndex=function(){var n=this.chart,r=t.charts[g(e.hoverChartIndex,-1)];r&&r!==n&&r.pointer.onContainerMouseLeave({relatedTarget:n.container}),r&&r.mouseIsDown||(e.hoverChartIndex=n.index)},e.prototype.touch=function(e,t){var n=this.chart;if(this.setHoverChartIndex(),1===e.touches.length)if(e=this.normalize(e),n.isInsidePlot(e.chartX-n.plotLeft,e.chartY-n.plotTop,{visiblePlotOnly:!0})&&!n.openMenu){if(t&&this.runPointActions(e),"touchmove"===e.type){t=this.pinchDown;var r=!!t[0]&&4<=Math.sqrt(Math.pow(t[0].chartX-e.chartX,2)+Math.pow(t[0].chartY-e.chartY,2))}g(r,!0)&&this.pinch(e)}else t&&this.reset();else 2===e.touches.length&&this.pinch(e)},e.prototype.touchSelect=function(e){return!(!this.chart.options.chart.zooming.singleTouch||!e.touches||1!==e.touches.length)},e.prototype.zoomOption=function(e){var t=this.chart,n=t.options.chart;t=t.inverted;var r=n.zooming.type||"";/touch/.test(e.type)&&(r=g(n.zooming.pinchType,r)),this.zoomX=e=/x/.test(r),this.zoomY=n=/y/.test(r),this.zoomHor=e&&!t||n&&t,this.zoomVert=n&&!t||e&&t,this.hasZoom=e||n},e}(),e})),t(n,"Core/MSPointer.js",[n["Core/Globals.js"],n["Core/Pointer.js"],n["Core/Utilities.js"]],(function(e,t,n){function r(){var e=[];return e.item=function(e){return this[e]},f(m,(function(t){e.push({pageX:t.pageX,pageY:t.pageY,target:t.target})})),e}function a(e,n,a,o){var s=i[t.hoverChartIndex||NaN];"touch"!==e.pointerType&&e.pointerType!==e.MSPOINTER_TYPE_TOUCH||!s||(s=s.pointer,o(e),s[n]({type:a,target:e.currentTarget,preventDefault:l,touches:r()}))}var o=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=e.charts,s=e.doc,l=e.noop,c=e.win,u=n.addEvent,d=n.css,f=n.objectEach,h=n.pick,p=n.removeEvent,m={},v=!!c.PointerEvent;return function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.isRequired=function(){return!(e.hasTouch||!c.PointerEvent&&!c.MSPointerEvent)},n.prototype.batchMSEvents=function(e){e(this.chart.container,v?"pointerdown":"MSPointerDown",this.onContainerPointerDown),e(this.chart.container,v?"pointermove":"MSPointerMove",this.onContainerPointerMove),e(s,v?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},n.prototype.destroy=function(){this.batchMSEvents(p),t.prototype.destroy.call(this)},n.prototype.init=function(e,n){t.prototype.init.call(this,e,n),this.hasZoom&&d(e.container,{"-ms-touch-action":"none","touch-action":"none"})},n.prototype.onContainerPointerDown=function(e){a(e,"onContainerTouchStart","touchstart",(function(e){m[e.pointerId]={pageX:e.pageX,pageY:e.pageY,target:e.currentTarget}}))},n.prototype.onContainerPointerMove=function(e){a(e,"onContainerTouchMove","touchmove",(function(e){m[e.pointerId]={pageX:e.pageX,pageY:e.pageY},m[e.pointerId].target||(m[e.pointerId].target=e.currentTarget)}))},n.prototype.onDocumentPointerUp=function(e){a(e,"onDocumentTouchEnd","touchend",(function(e){delete m[e.pointerId]}))},n.prototype.setDOMEvents=function(){var e=this.chart.tooltip;t.prototype.setDOMEvents.call(this),(this.hasZoom||h(e&&e.options.followTouchMove,!0))&&this.batchMSEvents(u)},n}(t)})),t(n,"Core/Legend/Legend.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Series/Point.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Utilities.js"]],(function(e,t,n,r,a,o){var i=e.animObject,s=e.setAnimation,l=t.format,c=n.marginNames,u=a.distribute,d=o.addEvent,f=o.createElement,h=o.css,p=o.defined,m=o.discardElement,v=o.find,b=o.fireEvent,g=o.isNumber,y=o.merge,O=o.pick,w=o.relativeLength,_=o.stableSort,j=o.syncTimeout;return e=function(){function e(e,t){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options=void 0,this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=e,this.init(e,t)}return e.prototype.init=function(e,t){this.chart=e,this.setOptions(t),t.enabled&&(this.render(),d(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=d(this.chart,"render",(function(){this.legend.proximatePositions(),this.legend.positionItems()})):this.unchartrender&&this.unchartrender())},e.prototype.setOptions=function(e){var t=O(e.padding,8);this.options=e,this.chart.styledMode||(this.itemStyle=e.itemStyle,this.itemHiddenStyle=y(this.itemStyle,e.itemHiddenStyle)),this.itemMarginTop=e.itemMarginTop||0,this.itemMarginBottom=e.itemMarginBottom||0,this.padding=t,this.initialItemY=t-5,this.symbolWidth=O(e.symbolWidth,16),this.pages=[],this.proximate="proximate"===e.layout&&!this.chart.inverted,this.baseline=void 0},e.prototype.update=function(e,t){var n=this.chart;this.setOptions(y(!0,this.options,e)),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,O(t,!0)&&n.redraw(),b(this,"afterUpdate")},e.prototype.colorizeItem=function(e,t){var n=e.legendItem||{},r=n.group,a=n.label,o=n.line;if(n=n.symbol,r&&r[t?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var i=this.options;r=this.itemHiddenStyle.color,i=t?i.itemStyle.color:r;var s=t&&e.color||r,l=e.options&&e.options.marker,c={fill:s};a&&a.css({fill:i,color:i}),o&&o.attr({stroke:s}),n&&(l&&n.isMarker&&(c=e.pointAttribs(),t||(c.stroke=c.fill=r)),n.attr(c))}b(this,"afterColorizeItem",{item:e,visible:t})},e.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},e.prototype.positionItem=function(e){var t=this,n=e.legendItem||{},r=n.group,a=n.x;a=void 0===a?0:a,n=n.y,n=void 0===n?0:n;var o=this.options,i=o.symbolPadding,s=!o.rtl;o=e.checkbox,r&&r.element&&(i={translateX:s?a:this.legendWidth-a-2*i-4,translateY:n},r[p(r.translateY)?"animate":"attr"](i,void 0,(function(){b(t,"afterPositionItem",{item:e})}))),o&&(o.x=a,o.y=n)},e.prototype.destroyItem=function(e){for(var t=e.checkbox,n=e.legendItem||{},r=0,a=["group","label","line","symbol"];r<a.length;r++){var o=a[r];n[o]&&(n[o]=n[o].destroy())}t&&m(t),e.legendItem=void 0},e.prototype.destroy=function(){for(var e=0,t=this.getAllItems();e<t.length;e++)this.destroyItem(t[e]);for(e=0,t="clipRect up down pager nav box title group".split(" ");e<t.length;e++){var n=t[e];this[n]&&(this[n]=this[n].destroy())}this.display=null},e.prototype.positionCheckboxes=function(){var e=this.group&&this.group.alignAttr,t=this.clipHeight||this.legendHeight,n=this.titleHeight;if(e){var r=e.translateY;this.allItems.forEach((function(a){var o=a.checkbox;if(o){var i=r+n+o.y+(this.scrollOffset||0)+3;h(o,{left:e.translateX+a.checkboxOffset+o.x-20+"px",top:i+"px",display:this.proximate||i>r-6&&i<r+t-6?"":"none"})}}),this)}},e.prototype.renderTitle=function(){var e=this.options,t=this.padding,n=e.title,r=0;n.text&&(this.title||(this.title=this.chart.renderer.label(n.text,t-3,t-4,void 0,void 0,void 0,e.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(n.style),this.title.add(this.group)),n.width||this.title.css({width:this.maxLegendWidth+"px"}),e=this.title.getBBox(),r=e.height,this.offsetWidth=e.width,this.contentGroup.attr({translateY:r})),this.titleHeight=r},e.prototype.setText=function(e){var t=this.options;e.legendItem.label.attr({text:t.labelFormat?l(t.labelFormat,e,this.chart):t.labelFormatter.call(e)})},e.prototype.renderItem=function(e){var t=e.legendItem=e.legendItem||{},n=this.chart,r=n.renderer,a=this.options,o=this.symbolWidth,i=a.symbolPadding||0,s=this.itemStyle,l=this.itemHiddenStyle,c="horizontal"===a.layout?O(a.itemDistance,20):0,u=!a.rtl,d=!e.series,f=!d&&e.series.drawLegendSymbol?e.series:e,h=f.options,p=this.createCheckboxForItem&&h&&h.showCheckbox,m=a.useHTML,v=e.options.className,b=t.label;h=o+i+c+(p?20:0),b||(t.group=r.g("legend-item").addClass("highcharts-"+f.type+"-series highcharts-color-"+e.colorIndex+(v?" "+v:"")+(d?" highcharts-series-"+e.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.label=b=r.text("",u?o+i:-i,this.baseline||0,m),n.styledMode||b.css(y(e.visible?s:l)),b.attr({align:u?"left":"right",zIndex:2}).add(t.group),this.baseline||(this.fontMetrics=r.fontMetrics(n.styledMode?12:s.fontSize,b),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,b.attr("y",this.baseline),this.symbolHeight=a.symbolHeight||this.fontMetrics.f,a.squareSymbol&&(this.symbolWidth=O(a.symbolWidth,Math.max(this.symbolHeight,16)),h=this.symbolWidth+i+c+(p?20:0),u&&b.attr("x",this.symbolWidth+i))),f.drawLegendSymbol(this,e),this.setItemEvents&&this.setItemEvents(e,b,m)),p&&!e.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(e),this.colorizeItem(e,e.visible),!n.styledMode&&s.width||b.css({width:(a.itemWidth||this.widthOption||n.spacingBox.width)-h+"px"}),this.setText(e),n=b.getBBox(),r=this.fontMetrics&&this.fontMetrics.h||0,e.itemWidth=e.checkboxOffset=a.itemWidth||t.labelWidth||n.width+h,this.maxItemWidth=Math.max(this.maxItemWidth,e.itemWidth),this.totalItemWidth+=e.itemWidth,this.itemHeight=e.itemHeight=Math.round(t.labelHeight||(n.height>1.5*r?n.height:r))},e.prototype.layoutItem=function(e){var t=this.options,n=this.padding,r="horizontal"===t.layout,a=e.itemHeight,o=this.itemMarginBottom,i=this.itemMarginTop,s=r?O(t.itemDistance,20):0,l=this.maxLegendWidth;t=t.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:e.itemWidth;var c=e.legendItem||{};r&&this.itemX-n+t>l&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=i+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=i+this.itemY+o,this.lastLineHeight=Math.max(a,this.lastLineHeight),c.x=this.itemX,c.y=this.itemY,r?this.itemX+=t:(this.itemY+=i+a+o,this.lastLineHeight=a),this.offsetWidth=this.widthOption||Math.max((r?this.itemX-n-(e.checkbox?0:s):t)+n,this.offsetWidth)},e.prototype.getAllItems=function(){var e=[];return this.chart.series.forEach((function(t){var n=t&&t.options;t&&O(n.showInLegend,!p(n.linkedTo)&&void 0,!0)&&(e=e.concat((t.legendItem||{}).labels||("point"===n.legendType?t.data:t)))})),b(this,"afterGetAllItems",{allItems:e}),e},e.prototype.getAlignment=function(){var e=this.options;return this.proximate?e.align.charAt(0)+"tv":e.floating?"":e.align.charAt(0)+e.verticalAlign.charAt(0)+e.layout.charAt(0)},e.prototype.adjustMargins=function(e,t){var n=this.chart,r=this.options,a=this.getAlignment();a&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(o,i){o.test(a)&&!p(e[i])&&(n[c[i]]=Math.max(n[c[i]],n.legend[(i+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][i]*r[i%2?"x":"y"]+O(r.margin,12)+t[i]+(n.titleOffset[i]||0)))}))},e.prototype.proximatePositions=function(){var e=this.chart,t=[],n="left"===this.options.align;this.allItems.forEach((function(r){var a,o=n;if(r.yAxis){r.xAxis.options.reversed&&(o=!o),r.points&&(a=v(o?r.points:r.points.slice(0).reverse(),(function(e){return g(e.plotY)}))),o=this.itemMarginTop+r.legendItem.label.getBBox().height+this.itemMarginBottom;var i=r.yAxis.top-e.plotTop;r.visible?(a=a?a.plotY:r.yAxis.height,a+=i-.3*o):a=i+r.yAxis.height,t.push({target:a,size:o,item:r})}}),this);for(var r,a=0,o=u(t,e.plotHeight);a<o.length;a++){var i=o[a];r=i.item.legendItem||{},g(i.pos)&&(r.y=e.plotTop-e.spacing[0]+i.pos)}},e.prototype.render=function(){var e=this.chart,t=e.renderer,n=this.options,r=this.padding,a=this.getAllItems(),o=this.group,i=this.box;this.itemX=r,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=w(n.width,e.spacingBox.width-r);var s=e.spacingBox.width-2*r-n.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(s/=2),this.maxLegendWidth=this.widthOption||s,o||(this.group=o=t.g("legend").addClass(n.className||"").attr({zIndex:7}).add(),this.contentGroup=t.g().attr({zIndex:1}).add(o),this.scrollGroup=t.g().add(this.contentGroup)),this.renderTitle(),_(a,(function(e,t){return(e.options&&e.options.legendIndex||0)-(t.options&&t.options.legendIndex||0)})),n.reversed&&a.reverse(),this.allItems=a,this.display=s=!!a.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,a.forEach(this.renderItem,this),a.forEach(this.layoutItem,this),a=(this.widthOption||this.offsetWidth)+r;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l),l+=r,i||(this.box=i=t.rect().addClass("highcharts-legend-box").attr({r:n.borderRadius}).add(o)),e.styledMode||i.attr({stroke:n.borderColor,"stroke-width":n.borderWidth||0,fill:n.backgroundColor||"none"}).shadow(n.shadow),0<a&&0<l&&i[i.placed?"animate":"attr"](i.crisp.call({},{x:0,y:0,width:a,height:l},i.strokeWidth())),o[s?"show":"hide"](),e.styledMode&&"none"===o.getStyle("display")&&(a=l=0),this.legendWidth=a,this.legendHeight=l,s&&this.align(),this.proximate||this.positionItems(),b(this,"afterRender")},e.prototype.align=function(e){void 0===e&&(e=this.chart.spacingBox);var t=this.chart,n=this.options,r=e.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<t.titleOffset[0]?r+=t.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<t.titleOffset[2]&&(r-=t.titleOffset[2]),r!==e.y&&(e=y(e,{y:r})),t.hasRendered||(this.group.placed=!1),this.group.align(y(n,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":n.verticalAlign}),!0,e)},e.prototype.handleOverflow=function(e){var t,n,r,a=this,o=this.chart,i=o.renderer,s=this.options,l=s.y,c="top"===s.verticalAlign,u=this.padding,d=s.maxHeight,f=s.navigation,h=O(f.animation,!0),p=f.arrowSize||12,m=this.pages,v=this.allItems,b=function(e){"number"===typeof e?w.attr({height:e}):w&&(a.clipRect=w.destroy(),a.contentGroup.clip()),a.contentGroup.div&&(a.contentGroup.div.style.clip=e?"rect("+u+"px,9999px,"+(u+e)+"px,0)":"auto")},g=function(e){return a[e]=i.circle(0,0,1.3*p).translate(p/2,p/2).add(y),o.styledMode||a[e].attr("fill","rgba(0,0,0,0.0001)"),a[e]};l=o.spacingBox.height+(c?-l:l)-u;var y=this.nav,w=this.clipRect;return"horizontal"!==s.layout||"middle"===s.verticalAlign||s.floating||(l/=2),d&&(l=Math.min(l,d)),m.length=0,e&&0<l&&e>l&&!1!==f.enabled?(this.clipHeight=t=Math.max(l-20-this.titleHeight-u,0),this.currentPage=O(this.currentPage,1),this.fullHeight=e,v.forEach((function(e,a){r=e.legendItem||{},e=r.y||0;var o=Math.round(r.label.getBBox().height),i=m.length;(!i||e-m[i-1]>t&&(n||e)!==m[i-1])&&(m.push(n||e),i++),r.pageIx=i-1,n&&((v[a-1].legendItem||{}).pageIx=i-1),a===v.length-1&&e+o-m[i-1]>t&&o<=t&&(m.push(e),r.pageIx=i),e!==n&&(n=e)})),w||(w=a.clipRect=i.clipRect(0,u,9999,0),a.contentGroup.clip(w)),b(t),y||(this.nav=y=i.g().attr({zIndex:1}).add(this.group),this.up=i.symbol("triangle",0,0,p,p).add(y),g("upTracker").on("click",(function(){a.scroll(-1,h)})),this.pager=i.text("",15,10).addClass("highcharts-legend-navigation"),!o.styledMode&&f.style&&this.pager.css(f.style),this.pager.add(y),this.down=i.symbol("triangle-down",0,0,p,p).add(y),g("downTracker").on("click",(function(){a.scroll(1,h)}))),a.scroll(0),e=l):y&&(b(),this.nav=y.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),e},e.prototype.scroll=function(e,t){var n=this,r=this.chart,a=this.pages,o=a.length,l=this.clipHeight,c=this.options.navigation,u=this.pager,d=this.padding,f=this.currentPage+e;f>o&&(f=o),0<f&&("undefined"!==typeof t&&s(t,r),this.nav.attr({translateX:d,translateY:l+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach((function(e){e.attr({class:1===f?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),u.attr({text:f+"/"+o}),[this.down,this.downTracker].forEach((function(e){e.attr({x:18+this.pager.getBBox().width,class:f===o?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),r.styledMode||(this.up.attr({fill:1===f?c.inactiveColor:c.activeColor}),this.upTracker.css({cursor:1===f?"default":"pointer"}),this.down.attr({fill:f===o?c.inactiveColor:c.activeColor}),this.downTracker.css({cursor:f===o?"default":"pointer"})),this.scrollOffset=-a[f-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=f,this.positionCheckboxes(),e=i(O(t,r.renderer.globalAnimation,!0)),j((function(){b(n,"afterScroll",{currentPage:f})}),e.duration))},e.prototype.setItemEvents=function(e,t,n){var a=this,o=e.legendItem||{},i=a.chart.renderer.boxWrapper,s=e instanceof r,l="highcharts-legend-"+(s?"point":"series")+"-active",c=a.chart.styledMode,u=function(t){a.allItems.forEach((function(n){e!==n&&[n].concat(n.linkedSeries||[]).forEach((function(e){e.setState(t,!s)}))}))},d=0;for(n=n?[t,o.symbol]:[o.group];d<n.length;d++)(o=n[d])&&o.on("mouseover",(function(){e.visible&&u("inactive"),e.setState("hover"),e.visible&&i.addClass(l),c||t.css(a.options.itemHoverStyle)})).on("mouseout",(function(){a.chart.styledMode||t.css(y(e.visible?a.itemStyle:a.itemHiddenStyle)),u(""),i.removeClass(l),e.setState()})).on("click",(function(t){var n=function(){e.setVisible&&e.setVisible(),u(e.visible?"inactive":"")};i.removeClass(l),t={browserEvent:t},e.firePointEvent?e.firePointEvent("legendItemClick",t,n):b(e,"legendItemClick",t,n)}))},e.prototype.createCheckboxForItem=function(e){e.checkbox=f("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:e.selected,defaultChecked:e.selected},this.options.itemCheckboxStyle,this.chart.container),d(e.checkbox,"click",(function(t){b(e.series||e,"checkboxClick",{checked:t.target.checked,item:e},(function(){e.select()}))}))},e}(),e})),t(n,"Core/Series/SeriesRegistry.js",[n["Core/Globals.js"],n["Core/Defaults.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],(function(e,t,n,r){var a,o=t.defaultOptions,i=r.extendClass,s=r.merge;return function(t){function r(e,r){var a=o.plotOptions||{},i=r.defaultOptions,s=r.prototype;s.type=e,s.pointClass||(s.pointClass=n),i&&(a[e]=i),t.seriesTypes[e]=r}t.seriesTypes=e.seriesTypes,t.registerSeriesType=r,t.seriesType=function(e,a,l,c,u){var d=o.plotOptions||{};return a=a||"",d[e]=s(d[a],l),r(e,i(t.seriesTypes[a]||function(){},c)),t.seriesTypes[e].prototype.type=e,u&&(t.seriesTypes[e].prototype.pointClass=i(n,u)),t.seriesTypes[e]}}(a||(a={})),a})),t(n,"Core/Chart/Chart.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Defaults.js"],n["Core/FormatUtilities.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/Legend.js"],n["Core/MSPointer.js"],n["Core/Pointer.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Time.js"],n["Core/Utilities.js"],n["Core/Renderer/HTML/AST.js"]],(function(e,t,n,r,a,o,i,s,l,c,u,d,f,h,p){var m=e.animate,v=e.animObject,b=e.setAnimation,g=n.defaultOptions,y=n.defaultTime,O=r.numberFormat,w=a.registerEventOptions,_=o.charts,j=o.doc,k=o.marginNames,x=o.svg,S=o.win,C=u.seriesTypes,M=h.addEvent,A=h.attr,T=h.cleanRecursively,E=h.createElement,L=h.css,P=h.defined,D=h.discardElement,N=h.erase,R=h.error,I=h.extend,B=h.find,F=h.fireEvent,V=h.getStyle,z=h.isArray,H=h.isNumber,Y=h.isObject,U=h.isString,W=h.merge,$=h.objectEach,q=h.pick,G=h.pInt,X=h.relativeLength,K=h.removeEvent,J=h.splat,Z=h.syncTimeout,Q=h.uniqueKey;return e=function(){function e(e,t,n){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.eventOptions=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.sharedClips={},this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0,this.getArgs(e,t,n)}return e.chart=function(t,n,r){return new e(t,n,r)},e.prototype.getArgs=function(e,t,n){U(e)||e.nodeName?(this.renderTo=e,this.init(t,n)):this.init(e,t)},e.prototype.init=function(e,t){var n=e.plotOptions||{};F(this,"init",{args:arguments},(function(){var r=W(g,e),a=r.chart;$(r.plotOptions,(function(e,t){Y(e)&&(e.tooltip=n[t]&&W(n[t].tooltip)||void 0)})),r.tooltip.userOptions=e.chart&&e.chart.forExport&&e.tooltip.userOptions||e.tooltip,this.userOptions=e,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=t,this.isResizing=0;var i=a.zooming=a.zooming||{};e.chart&&!e.chart.zooming&&(i.resetButton=a.resetZoomButton),i.key=q(i.key,a.zoomKey),i.pinchType=q(i.pinchType,a.pinchType),i.singleTouch=q(i.singleTouch,a.zoomBySingleTouch),i.type=q(i.type,a.zoomType),this.options=r,this.axes=[],this.series=[],this.time=e.time&&Object.keys(e.time).length?new f(e.time):o.time,this.numberFormatter=a.numberFormatter||O,this.styledMode=a.styledMode,this.hasCartesianSeries=a.showAxes,this.index=_.length,_.push(this),o.chartCount++,w(this,a),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,F(this,"afterInit"),this.firstRender()}))},e.prototype.initSeries=function(e){var t=this.options.chart;t=e.type||t.type||t.defaultSeriesType;var n=C[t];return n||R(17,!0,this,{missingModuleFor:t}),t=new n,"function"===typeof t.init&&t.init(this,e),t},e.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach((function(e){e.points||e.data||!e.enabledDataSorting||e.setData(e.options.data,!1)}))},e.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort((function(e,t){return e.linkedSeries.length||t.linkedSeries.length?t.linkedSeries.length-e.linkedSeries.length:0}))},e.prototype.orderSeries=function(e){var t=this.series;e=e||0;for(var n=t.length;e<n;++e)t[e]&&(t[e].index=e,t[e].name=t[e].getName())},e.prototype.isInsidePlot=function(e,t,n){void 0===n&&(n={});var r=this.inverted,a=this.plotBox,o=this.plotLeft,i=this.plotTop,s=this.scrollablePlotBox,l=0,c=0;n.visiblePlotOnly&&this.scrollingContainer&&(c=this.scrollingContainer,l=c.scrollLeft,c=c.scrollTop);var u=n.series;if(a=n.visiblePlotOnly&&s||a,s=n.inverted?t:e,t=n.inverted?e:t,e={x:s,y:t,isInsidePlot:!0,options:n},!n.ignoreX){var d=u&&(r&&!this.polar?u.yAxis:u.xAxis)||{pos:o,len:1/0};s=n.paneCoordinates?d.pos+s:o+s,s>=Math.max(l+o,d.pos)&&s<=Math.min(l+o+a.width,d.pos+d.len)||(e.isInsidePlot=!1)}return!n.ignoreY&&e.isInsidePlot&&(r=n.axis&&!n.axis.isXAxis&&n.axis||u&&(r?u.xAxis:u.yAxis)||{pos:i,len:1/0},n=n.paneCoordinates?r.pos+t:i+t,n>=Math.max(c+i,r.pos)&&n<=Math.min(c+i+a.height,r.pos+r.len)||(e.isInsidePlot=!1)),F(this,"afterIsInsidePlot",e),e.isInsidePlot},e.prototype.redraw=function(e){F(this,"beforeRedraw");var t=this.hasCartesianSeries?this.axes:this.colorAxis||[],n=this.series,r=this.pointer,a=this.legend,o=this.userOptions.legend,i=this.renderer,s=i.isHidden(),l=[],c=this.isDirtyBox,u=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),b(!!this.hasRendered&&e,this),s&&this.temporaryDisplay(),this.layOutTitles(),e=n.length;e--;){var d=n[e];if(d.options.stacking||d.options.centerInCategory){var f=!0;if(d.isDirty){var h=!0;break}}}if(h)for(e=n.length;e--;)d=n[e],d.options.stacking&&(d.isDirty=!0);n.forEach((function(e){e.isDirty&&("point"===e.options.legendType?("function"===typeof e.updateTotals&&e.updateTotals(),u=!0):o&&(o.labelFormatter||o.labelFormat)&&(u=!0)),e.isDirtyData&&F(e,"updatedData")})),u&&a&&a.options.enabled&&(a.render(),this.isDirtyLegend=!1),f&&this.getStacks(),t.forEach((function(e){e.updateNames(),e.setScale()})),this.getMargins(),t.forEach((function(e){e.isDirty&&(c=!0)})),t.forEach((function(e){var t=e.min+","+e.max;e.extKey!==t&&(e.extKey=t,l.push((function(){F(e,"afterSetExtremes",I(e.eventArgs,e.getExtremes())),delete e.eventArgs}))),(c||f)&&e.redraw()})),c&&this.drawChartBox(),F(this,"predraw"),n.forEach((function(e){(c||e.isDirty)&&e.visible&&e.redraw(),e.isDirtyData=!1})),r&&r.reset(!0),i.draw(),F(this,"redraw"),F(this,"render"),s&&this.temporaryDisplay(!0),l.forEach((function(e){e.call()}))},e.prototype.get=function(e){function t(t){return t.id===e||t.options&&t.options.id===e}for(var n=this.series,r=B(this.axes,t)||B(this.series,t),a=0;!r&&a<n.length;a++)r=B(n[a].points||[],t);return r},e.prototype.getAxes=function(){var e=this,n=this.options,r=n.xAxis=J(n.xAxis||{});n=n.yAxis=J(n.yAxis||{}),F(this,"getAxes"),r.forEach((function(e,t){e.index=t,e.isX=!0})),n.forEach((function(e,t){e.index=t})),r.concat(n).forEach((function(n){new t(e,n)})),F(this,"afterGetAxes")},e.prototype.getSelectedPoints=function(){return this.series.reduce((function(e,t){return t.getPointsCollection().forEach((function(t){q(t.selectedStaging,t.selected)&&e.push(t)})),e}),[])},e.prototype.getSelectedSeries=function(){return this.series.filter((function(e){return e.selected}))},e.prototype.setTitle=function(e,t,n){this.applyDescription("title",e),this.applyDescription("subtitle",t),this.applyDescription("caption",void 0),this.layOutTitles(n)},e.prototype.applyDescription=function(e,t){var n=this,r="title"===e?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};r=this.options[e]=W(!this.styledMode&&{style:r},this.options[e],t);var a=this[e];a&&t&&(this[e]=a=a.destroy()),r&&!a&&(a=this.renderer.text(r.text,0,0,r.useHTML).attr({align:r.align,class:"highcharts-"+e,zIndex:r.zIndex||4}).add(),a.update=function(t){n[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[e]](t)},this.styledMode||a.css(r.style),this[e]=a)},e.prototype.layOutTitles=function(e){var t=[0,0,0],n=this.renderer,r=this.spacingBox;["title","subtitle","caption"].forEach((function(e){var a,o=this[e],i=this.options[e],s=i.verticalAlign||"top";if(e="title"===e?"top"===s?-3:0:"top"===s?t[0]+2:0,o){this.styledMode||(a=i.style&&i.style.fontSize),a=n.fontMetrics(a,o).b,o.css({width:(i.width||r.width+(i.widthAdjust||0))+"px"});var l=Math.round(o.getBBox(i.useHTML).height);o.align(I({y:"bottom"===s?a:e+a,height:l},i),!1,"spacingBox"),i.floating||("top"===s?t[0]=Math.ceil(t[0]+l):"bottom"===s&&(t[2]=Math.ceil(t[2]+l)))}}),this),t[0]&&"top"===(this.options.title.verticalAlign||"top")&&(t[0]+=this.options.title.margin),t[2]&&"bottom"===this.options.caption.verticalAlign&&(t[2]+=this.options.caption.margin);var a=!this.titleOffset||this.titleOffset.join(",")!==t.join(",");this.titleOffset=t,F(this,"afterLayOutTitles"),!this.isDirtyBox&&a&&(this.isDirtyBox=this.isDirtyLegend=a,this.hasRendered&&q(e,!0)&&this.isDirtyBox&&this.redraw())},e.prototype.getChartSize=function(){var e=this.options.chart,t=e.width;e=e.height;var n=this.renderTo;P(t)||(this.containerWidth=V(n,"width")),P(e)||(this.containerHeight=V(n,"height")),this.chartWidth=Math.max(0,t||this.containerWidth||600),this.chartHeight=Math.max(0,X(e,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},e.prototype.temporaryDisplay=function(e){var t=this.renderTo;if(e)for(;t&&t.style;)t.hcOrigStyle&&(L(t,t.hcOrigStyle),delete t.hcOrigStyle),t.hcOrigDetached&&(j.body.removeChild(t),t.hcOrigDetached=!1),t=t.parentNode;else for(;t&&t.style;)if(j.body.contains(t)||t.parentNode||(t.hcOrigDetached=!0,j.body.appendChild(t)),("none"===V(t,"display",!1)||t.hcOricDetached)&&(t.hcOrigStyle={display:t.style.display,height:t.style.height,overflow:t.style.overflow},e={display:"block",overflow:"hidden"},t!==this.renderTo&&(e.height=0),L(t,e),t.offsetWidth||t.style.setProperty("display","block","important")),t=t.parentNode,t===j.body)break},e.prototype.setClassName=function(e){this.container.className="highcharts-container "+(e||"")},e.prototype.getContainer=function(){var e,t=this.options,n=t.chart,r=Q(),a=this.renderTo;a||(this.renderTo=a=n.renderTo),U(a)&&(this.renderTo=a=j.getElementById(a)),a||R(13,!0,this);var o=G(A(a,"data-highcharts-chart"));H(o)&&_[o]&&_[o].hasRendered&&_[o].destroy(),A(a,"data-highcharts-chart",this.index),a.innerHTML=p.emptyHTML,n.skipClone||a.offsetWidth||this.temporaryDisplay(),this.getChartSize(),o=this.chartWidth;var i=this.chartHeight;if(L(a,{overflow:"hidden"}),this.styledMode||(e=I({position:"relative",overflow:"hidden",width:o+"px",height:i+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},n.style||{})),this.container=r=E("div",{id:r},e,a),this._cursor=r.style.cursor,this.renderer=new(n.renderer||!x?c.getRendererType(n.renderer):d)(r,o,i,void 0,n.forExport,t.exporting&&t.exporting.allowHTML,this.styledMode),b(void 0,this),this.setClassName(n.className),this.styledMode)for(var s in t.defs)this.renderer.definition(t.defs[s]);else this.renderer.setStyle(n.style);this.renderer.chartIndex=this.index,F(this,"afterGetContainer")},e.prototype.getMargins=function(e){var t=this.spacing,n=this.margin,r=this.titleOffset;this.resetMargins(),r[0]&&!P(n[0])&&(this.plotTop=Math.max(this.plotTop,r[0]+t[0])),r[2]&&!P(n[2])&&(this.marginBottom=Math.max(this.marginBottom,r[2]+t[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(n,t),F(this,"getMargins"),e||this.getAxisMargins()},e.prototype.getAxisMargins=function(){var e=this,t=e.axisOffset=[0,0,0,0],n=e.colorAxis,r=e.margin,a=function(e){e.forEach((function(e){e.visible&&e.getOffset()}))};e.hasCartesianSeries?a(e.axes):n&&n.length&&a(n),k.forEach((function(n,a){P(r[a])||(e[n]+=t[a])})),e.setChartSize()},e.prototype.reflow=function(e){var t=this,n=t.options.chart,r=t.renderTo,a=P(n.width)&&P(n.height),o=n.width||V(r,"width");n=n.height||V(r,"height"),r=e?e.target:S,delete t.pointer.chartPosition,a||t.isPrinting||!o||!n||r!==S&&r!==j||(o===t.containerWidth&&n===t.containerHeight||(h.clearTimeout(t.reflowTimeout),t.reflowTimeout=Z((function(){t.container&&t.setSize(void 0,void 0,!1)}),e?100:0)),t.containerWidth=o,t.containerHeight=n)},e.prototype.setReflow=function(e){var t=this;!1===e||this.unbindReflow?!1===e&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=M(S,"resize",(function(e){t.options&&t.reflow(e)})),M(this,"destroy",this.unbindReflow))},e.prototype.setSize=function(e,t,n){var r=this,a=r.renderer;r.isResizing+=1,b(n,r),n=a.globalAnimation,r.oldChartHeight=r.chartHeight,r.oldChartWidth=r.chartWidth,"undefined"!==typeof e&&(r.options.chart.width=e),"undefined"!==typeof t&&(r.options.chart.height=t),r.getChartSize(),r.styledMode||(n?m:L)(r.container,{width:r.chartWidth+"px",height:r.chartHeight+"px"},n),r.setChartSize(!0),a.setSize(r.chartWidth,r.chartHeight,n),r.axes.forEach((function(e){e.isDirty=!0,e.setScale()})),r.isDirtyLegend=!0,r.isDirtyBox=!0,r.layOutTitles(),r.getMargins(),r.redraw(n),r.oldChartHeight=null,F(r,"resize"),Z((function(){r&&F(r,"endResize",null,(function(){--r.isResizing}))}),v(n).duration)},e.prototype.setChartSize=function(e){var t,n,r,a,o=this.inverted,i=this.renderer,s=this.chartWidth,l=this.chartHeight,c=this.options.chart,u=this.spacing,d=this.clipOffset;this.plotLeft=t=Math.round(this.plotLeft),this.plotTop=n=Math.round(this.plotTop),this.plotWidth=r=Math.max(0,Math.round(s-t-this.marginRight)),this.plotHeight=a=Math.max(0,Math.round(l-n-this.marginBottom)),this.plotSizeX=o?a:r,this.plotSizeY=o?r:a,this.plotBorderWidth=c.plotBorderWidth||0,this.spacingBox=i.spacingBox={x:u[3],y:u[0],width:s-u[3]-u[1],height:l-u[0]-u[2]},this.plotBox=i.plotBox={x:t,y:n,width:r,height:a},o=2*Math.floor(this.plotBorderWidth/2),s=Math.ceil(Math.max(o,d[3])/2),l=Math.ceil(Math.max(o,d[0])/2),this.clipBox={x:s,y:l,width:Math.floor(this.plotSizeX-Math.max(o,d[1])/2-s),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(o,d[2])/2-l))},e||(this.axes.forEach((function(e){e.setAxisSize(),e.setAxisTranslation()})),i.alignElements()),F(this,"afterSetChartSize",{skipAxes:e})},e.prototype.resetMargins=function(){F(this,"resetMargins");var e=this,t=e.options.chart;["margin","spacing"].forEach((function(n){var r=t[n],a=Y(r)?r:[r,r,r,r];["Top","Right","Bottom","Left"].forEach((function(r,o){e[n][o]=q(t[n+r],a[o])}))})),k.forEach((function(t,n){e[t]=q(e.margin[n],e.spacing[n])})),e.axisOffset=[0,0,0,0],e.clipOffset=[0,0,0,0]},e.prototype.drawChartBox=function(){var e,t=this.options.chart,n=this.renderer,r=this.chartWidth,a=this.chartHeight,o=this.styledMode,i=this.plotBGImage,s=t.backgroundColor,l=t.plotBackgroundColor,c=t.plotBackgroundImage,u=this.plotLeft,d=this.plotTop,f=this.plotWidth,h=this.plotHeight,p=this.plotBox,m=this.clipRect,v=this.clipBox,b=this.chartBackground,g=this.plotBackground,y=this.plotBorder,O="animate";if(b||(this.chartBackground=b=n.rect().addClass("highcharts-background").add(),O="attr"),o)var w=e=b.strokeWidth();else w=t.borderWidth||0,e=w+(t.shadow?8:0),s={fill:s||"none"},(w||b["stroke-width"])&&(s.stroke=t.borderColor,s["stroke-width"]=w),b.attr(s).shadow(t.shadow);b[O]({x:e/2,y:e/2,width:r-e-w%2,height:a-e-w%2,r:t.borderRadius}),O="animate",g||(O="attr",this.plotBackground=g=n.rect().addClass("highcharts-plot-background").add()),g[O](p),o||(g.attr({fill:l||"none"}).shadow(t.plotShadow),c&&(i?(c!==i.attr("href")&&i.attr("href",c),i.animate(p)):this.plotBGImage=n.image(c,u,d,f,h).add())),m?m.animate({width:v.width,height:v.height}):this.clipRect=n.clipRect(v),O="animate",y||(O="attr",this.plotBorder=y=n.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),o||y.attr({stroke:t.plotBorderColor,"stroke-width":t.plotBorderWidth||0,fill:"none"}),y[O](y.crisp({x:u,y:d,width:f,height:h},-y.strokeWidth())),this.isDirtyBox=!1,F(this,"afterDrawChartBox")},e.prototype.propFromSeries=function(){var e,t,n,r=this,a=r.options.chart,o=r.options.series;["inverted","angular","polar"].forEach((function(i){for(t=C[a.type||a.defaultSeriesType],n=a[i]||t&&t.prototype[i],e=o&&o.length;!n&&e--;)(t=C[o[e].type])&&t.prototype[i]&&(n=!0);r[i]=n}))},e.prototype.linkSeries=function(){var e=this,t=e.series;t.forEach((function(e){e.linkedSeries.length=0})),t.forEach((function(t){var n=t.options.linkedTo;U(n)&&(n=":previous"===n?e.series[t.index-1]:e.get(n))&&n.linkedParent!==t&&(n.linkedSeries.push(t),t.linkedParent=n,n.enabledDataSorting&&t.setDataSortingOptions(),t.visible=q(t.options.visible,n.options.visible,t.visible))})),F(this,"afterLinkSeries")},e.prototype.renderSeries=function(){this.series.forEach((function(e){e.translate(),e.render()}))},e.prototype.renderLabels=function(){var e=this,t=e.options.labels;t.items&&t.items.forEach((function(n){var r=I(t.style,n.style),a=G(r.left)+e.plotLeft,o=G(r.top)+e.plotTop+12;delete r.left,delete r.top,e.renderer.text(n.html,a,o).attr({zIndex:2}).css(r).add()}))},e.prototype.render=function(){var e=this.axes,t=this.colorAxis,n=this.renderer,r=this.options,a=function(e){e.forEach((function(e){e.visible&&e.render()}))},o=0;this.setTitle(),this.legend=new i(this,r.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),r=this.plotWidth,e.some((function(e){if(e.horiz&&e.visible&&e.options.labels.enabled&&e.series.length)return o=21,!0}));var s=this.plotHeight=Math.max(this.plotHeight-o,0);e.forEach((function(e){e.setScale()})),this.getAxisMargins();var l=1.1<r/this.plotWidth,c=1.05<s/this.plotHeight;(l||c)&&(e.forEach((function(e){(e.horiz&&l||!e.horiz&&c)&&e.setTickInterval(!0)})),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?a(e):t&&t.length&&a(t),this.seriesGroup||(this.seriesGroup=n.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},e.prototype.addCredits=function(e){var t=this,n=W(!0,this.options.credits,e);n.enabled&&!this.credits&&(this.credits=this.renderer.text(n.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){n.href&&(S.location.href=n.href)})).attr({align:n.position.align,zIndex:8}),t.styledMode||this.credits.css(n.style),this.credits.add().align(n.position),this.credits.update=function(e){t.credits=t.credits.destroy(),t.addCredits(e)})},e.prototype.destroy=function(){var e,t=this,n=t.axes,r=t.series,a=t.container,i=a&&a.parentNode;for(F(t,"destroy"),t.renderer.forExport?N(_,t):_[t.index]=void 0,o.chartCount--,t.renderTo.removeAttribute("data-highcharts-chart"),K(t),e=n.length;e--;)n[e]=n[e].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),e=r.length;e--;)r[e]=r[e].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach((function(e){var n=t[e];n&&n.destroy&&(t[e]=n.destroy())})),a&&(a.innerHTML=p.emptyHTML,K(a),i&&D(a)),$(t,(function(e,n){delete t[n]}))},e.prototype.firstRender=function(){var e=this,t=e.options;e.isReadyToRender&&!e.isReadyToRender()||(e.getContainer(),e.resetMargins(),e.setChartSize(),e.propFromSeries(),e.getAxes(),(z(t.series)?t.series:[]).forEach((function(t){e.initSeries(t)})),e.linkSeries(),e.setSeriesData(),F(e,"beforeRender"),l&&(s.isRequired()?e.pointer=new s(e,t):e.pointer=new l(e,t)),e.render(),e.pointer.getChartPosition(),e.renderer.imgCount||e.hasLoaded||e.onload(),e.temporaryDisplay(!0))},e.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach((function(e){e&&"undefined"!==typeof this.index&&e.apply(this,[this])}),this),F(this,"load"),F(this,"render"),P(this.index)&&this.setReflow(this.options.chart.reflow),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0},e.prototype.warnIfA11yModuleNotLoaded=function(){var e=this.options,t=this.title;e&&!this.accessibility&&(this.renderer.boxWrapper.attr({role:"img","aria-label":(t&&t.element.textContent||"").replace(/</g,"&lt;")}),e.accessibility&&!1===e.accessibility.enabled||R('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))},e.prototype.addSeries=function(e,t,n){var r,a=this;return e&&(t=q(t,!0),F(a,"addSeries",{options:e},(function(){r=a.initSeries(e),a.isDirtyLegend=!0,a.linkSeries(),r.enabledDataSorting&&r.setData(e.data,!1),F(a,"afterAddSeries",{series:r}),t&&a.redraw(n)}))),r},e.prototype.addAxis=function(e,t,n,r){return this.createAxis(t?"xAxis":"yAxis",{axis:e,redraw:n,animation:r})},e.prototype.addColorAxis=function(e,t,n){return this.createAxis("colorAxis",{axis:e,redraw:t,animation:n})},e.prototype.createAxis=function(e,n){return e=new t(this,W(n.axis,{index:this[e].length,isX:"xAxis"===e})),q(n.redraw,!0)&&this.redraw(n.animation),e},e.prototype.showLoading=function(e){var t=this,n=t.options,r=n.loading,a=function(){o&&L(o,{left:t.plotLeft+"px",top:t.plotTop+"px",width:t.plotWidth+"px",height:t.plotHeight+"px"})},o=t.loadingDiv,i=t.loadingSpan;o||(t.loadingDiv=o=E("div",{className:"highcharts-loading highcharts-loading-hidden"},null,t.container)),i||(t.loadingSpan=i=E("span",{className:"highcharts-loading-inner"},null,o),M(t,"redraw",a)),o.className="highcharts-loading",p.setElementHTML(i,q(e,n.lang.loading,"")),t.styledMode||(L(o,I(r.style,{zIndex:10})),L(i,r.labelStyle),t.loadingShown||(L(o,{opacity:0,display:""}),m(o,{opacity:r.style.opacity||.5},{duration:r.showDuration||0}))),t.loadingShown=!0,a()},e.prototype.hideLoading=function(){var e=this.options,t=this.loadingDiv;t&&(t.className="highcharts-loading highcharts-loading-hidden",this.styledMode||m(t,{opacity:0},{duration:e.loading.hideDuration||100,complete:function(){L(t,{display:"none"})}})),this.loadingShown=!1},e.prototype.update=function(e,t,n,r){var a,o,i=this,s={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},l=e.isResponsiveOptions,c=[];F(i,"update",{options:e}),l||i.setResponsive(!1,!0),e=T(e,i.options),i.userOptions=W(i.userOptions,e);var u=e.chart;if(u){if(W(!0,i.options.chart,u),"className"in u&&i.setClassName(u.className),"reflow"in u&&i.setReflow(u.reflow),"inverted"in u||"polar"in u||"type"in u){i.propFromSeries();var d=!0}"alignTicks"in u&&(d=!0),"events"in u&&w(this,u),$(u,(function(e,t){-1!==i.propsRequireUpdateSeries.indexOf("chart."+t)&&(a=!0),-1!==i.propsRequireDirtyBox.indexOf(t)&&(i.isDirtyBox=!0),-1!==i.propsRequireReflow.indexOf(t)&&(l?i.isDirtyBox=!0:o=!0)})),!i.styledMode&&u.style&&i.renderer.setStyle(i.options.chart.style||{})}!i.styledMode&&e.colors&&(this.options.colors=e.colors),e.time&&(this.time===y&&(this.time=new f(e.time)),W(!0,i.options.time,e.time)),$(e,(function(t,n){i[n]&&"function"===typeof i[n].update?i[n].update(t,!1):"function"===typeof i[s[n]]?i[s[n]](t):"colors"!==n&&-1===i.collectionsWithUpdate.indexOf(n)&&W(!0,i.options[n],e[n]),"chart"!==n&&-1!==i.propsRequireUpdateSeries.indexOf(n)&&(a=!0)})),this.collectionsWithUpdate.forEach((function(t){if(e[t]){var r=[];i[t].forEach((function(e,t){e.options.isInternal||r.push(q(e.options.index,t))})),J(e[t]).forEach((function(e,a){var o,s=P(e.id);s&&(o=i.get(e.id)),!o&&i[t]&&(o=i[t][r?r[a]:a])&&s&&P(o.options.id)&&(o=void 0),o&&o.coll===t&&(o.update(e,!1),n&&(o.touched=!0)),!o&&n&&i.collectionsWithInit[t]&&(i.collectionsWithInit[t][0].apply(i,[e].concat(i.collectionsWithInit[t][1]||[]).concat([!1])).touched=!0)})),n&&i[t].forEach((function(e){e.touched||e.options.isInternal?delete e.touched:c.push(e)}))}})),c.forEach((function(e){e.chart&&e.remove&&e.remove(!1)})),d&&i.axes.forEach((function(e){e.update({},!1)})),a&&i.getSeriesOrderByLinks().forEach((function(e){e.chart&&e.update({},!1)}),this),d=u&&u.width,u=u&&(U(u.height)?X(u.height,d||i.chartWidth):u.height),o||H(d)&&d!==i.chartWidth||H(u)&&u!==i.chartHeight?i.setSize(d,u,r):q(t,!0)&&i.redraw(r),F(i,"afterUpdate",{options:e,redraw:t,animation:r})},e.prototype.setSubtitle=function(e,t){this.applyDescription("subtitle",e),this.layOutTitles(t)},e.prototype.setCaption=function(e,t){this.applyDescription("caption",e),this.layOutTitles(t)},e.prototype.showResetZoom=function(){function e(){t.zoomOut()}var t=this,n=g.lang,r=t.options.chart.zooming.resetButton,a=r.theme,o="chart"===r.relativeTo||"spacingBox"===r.relativeTo?null:"scrollablePlotBox";F(this,"beforeShowResetZoom",null,(function(){t.resetZoomButton=t.renderer.button(n.resetZoom,null,null,e,a).attr({align:r.position.align,title:n.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(r.position,!1,o)})),F(this,"afterShowResetZoom")},e.prototype.zoomOut=function(){F(this,"selection",{resetSelection:!0},this.zoom)},e.prototype.zoom=function(e){var t,n=this,r=n.pointer,a=!1;!e||e.resetSelection?(n.axes.forEach((function(e){t=e.zoom()})),r.initiated=!1):e.xAxis.concat(e.yAxis).forEach((function(e){var o=e.axis;(r[o.isXAxis?"zoomX":"zoomY"]&&P(r.mouseDownX)&&P(r.mouseDownY)&&n.isInsidePlot(r.mouseDownX-n.plotLeft,r.mouseDownY-n.plotTop,{axis:o})||!P(n.inverted?r.mouseDownX:r.mouseDownY))&&(t=o.zoom(e.min,e.max),o.displayBtn&&(a=!0))}));var o=n.resetZoomButton;a&&!o?n.showResetZoom():!a&&Y(o)&&(n.resetZoomButton=o.destroy()),t&&n.redraw(q(n.options.chart.animation,e&&e.animation,100>n.pointCount))},e.prototype.pan=function(e,t){var n=this,r=n.hoverPoints;t="object"===typeof t?t:{enabled:t,type:"x"};var a=n.options.chart;a&&a.panning&&(a.panning=t);var o,i=t.type;F(this,"pan",{originalEvent:e},(function(){r&&r.forEach((function(e){e.setState()}));var t=n.xAxis;"xy"===i?t=t.concat(n.yAxis):"y"===i&&(t=n.yAxis);var a={};t.forEach((function(t){if(t.options.panningEnabled&&!t.options.isInternal){var r=t.horiz,s=e[r?"chartX":"chartY"];r=r?"mouseDownX":"mouseDownY";var l=n[r],c=t.minPointOffset||0,u=t.reversed&&!n.inverted||!t.reversed&&n.inverted?-1:1,d=t.getExtremes(),f=t.toValue(l-s,!0)+c*u,h=t.toValue(l+t.len-s,!0)-(c*u||t.isXAxis&&t.pointRangePadding||0),p=h<f;u=t.hasVerticalPanning(),l=p?h:f,f=p?f:h;var m=t.panningState;!u||t.isXAxis||m&&!m.isDirty||t.series.forEach((function(e){var t=e.getProcessedData(!0);t=e.getExtremes(t.yData,!0),m||(m={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),H(t.dataMin)&&H(t.dataMax)&&(m.startMin=Math.min(q(e.options.threshold,1/0),t.dataMin,m.startMin),m.startMax=Math.max(q(e.options.threshold,-1/0),t.dataMax,m.startMax))})),u=Math.min(q(m&&m.startMin,d.dataMin),c?d.min:t.toValue(t.toPixels(d.min)-t.minPixelPadding)),h=Math.max(q(m&&m.startMax,d.dataMax),c?d.max:t.toValue(t.toPixels(d.max)+t.minPixelPadding)),t.panningState=m,t.isOrdinal||(c=u-l,0<c&&(f+=c,l=u),c=f-h,0<c&&(f=h,l-=c),t.series.length&&l!==d.min&&f!==d.max&&l>=u&&f<=h&&(t.setExtremes(l,f,!1,!1,{trigger:"pan"}),!n.resetZoomButton&&l!==u&&f!==h&&i.match("y")&&(n.showResetZoom(),t.displayBtn=!1),o=!0),a[r]=s)}})),$(a,(function(e,t){n[t]=e})),o&&n.redraw(!1),L(n.container,{cursor:"move"})}))},e}(),I(e.prototype,{callbacks:[],collectionsWithInit:{xAxis:[e.prototype.addAxis,[!0]],yAxis:[e.prototype.addAxis,[!1]],series:[e.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),e})),t(n,"Core/Legend/LegendSymbol.js",[n["Core/Utilities.js"]],(function(e){var t,n=e.extend,r=e.merge,a=e.pick;return function(e){e.drawLineMarker=function(e){var t=this.legendItem=this.legendItem||{},o=this.options,i=e.symbolWidth,s=e.symbolHeight,l=s/2,c=this.chart.renderer,u=t.group;e=e.baseline-Math.round(.3*e.fontMetrics.b);var d={},f=o.marker,h=0;this.chart.styledMode||(d={"stroke-width":Math.min(o.lineWidth||0,24)},o.dashStyle?d.dashstyle=o.dashStyle:"square"!==o.linecap&&(d["stroke-linecap"]="round")),t.line=c.path().addClass("highcharts-graph").attr(d).add(u),d["stroke-linecap"]&&(h=Math.min(t.line.strokeWidth(),i)/2),t.line.attr({d:[["M",h,e],["L",i-h,e]]}),f&&!1!==f.enabled&&i&&(o=Math.min(a(f.radius,l),l),0===this.symbol.indexOf("url")&&(f=r(f,{width:s,height:s}),o=0),t.symbol=t=c.symbol(this.symbol,i/2-o,e-o,2*o,2*o,n({context:"legend"},f)).addClass("highcharts-point").add(u),t.isMarker=!0)},e.drawRectangle=function(e,t){t=t.legendItem||{};var n=e.symbolHeight,r=e.options.squareSymbol;t.symbol=this.chart.renderer.rect(r?(e.symbolWidth-n)/2:0,e.baseline-n+1,r?n:e.symbolWidth,n,a(e.options.symbolRadius,n/2)).addClass("highcharts-point").attr({zIndex:3}).add(t.group)}}(t||(t={})),t})),t(n,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){var e=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":e(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}})),t(n,"Core/Series/Series.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Defaults.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/Point.js"],n["Core/Series/SeriesDefaults.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(e,t,n,r,a,o,i,s,l,c){var u=e.animObject,d=e.setAnimation,f=t.defaultOptions,h=n.registerEventOptions,p=r.hasTouch,m=r.svg,v=r.win,b=s.seriesTypes,g=c.arrayMax,y=c.arrayMin,O=c.clamp,w=c.cleanRecursively,_=c.correctFloat,j=c.defined,k=c.erase,x=c.error,S=c.extend,C=c.find,M=c.fireEvent,A=c.getNestedProperty,T=c.isArray,E=c.isNumber,L=c.isString,P=c.merge,D=c.objectEach,N=c.pick,R=c.removeEvent,I=c.splat,B=c.syncTimeout;return e=function(){function e(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return e.prototype.init=function(e,t){M(this,"init",{options:t});var n=this,r=e.series;this.eventsToUnbind=[],n.chart=e,n.options=n.setOptions(t),t=n.options,n.linkedSeries=[],n.bindAxes(),S(n,{name:t.name,state:"",visible:!1!==t.visible,selected:!0===t.selected}),h(this,t);var a,o=t.events;(o&&o.click||t.point&&t.point.events&&t.point.events.click||t.allowPointSelect)&&(e.runTrackerClick=!0),n.getColor(),n.getSymbol(),n.parallelArrays.forEach((function(e){n[e+"Data"]||(n[e+"Data"]=[])})),n.isCartesian&&(e.hasCartesianSeries=!0),r.length&&(a=r[r.length-1]),n._i=N(a&&a._i,-1)+1,n.opacity=n.options.opacity,e.orderSeries(this.insert(r)),t.dataSorting&&t.dataSorting.enabled?n.setDataSortingOptions():n.points||n.data||n.setData(t.data,!1),M(this,"afterInit")},e.prototype.is=function(e){return b[e]&&this instanceof b[e]},e.prototype.insert=function(e){var t,n=this.options.index;if(E(n)){for(t=e.length;t--;)if(n>=N(e[t].options.index,e[t]._i)){e.splice(t+1,0,this);break}-1===t&&e.unshift(this),t+=1}else e.push(this);return N(t,e.length-1)},e.prototype.bindAxes=function(){var e,t=this,n=t.options,r=t.chart;M(this,"bindAxes",null,(function(){(t.axisTypes||[]).forEach((function(a){var o=0;r[a].forEach((function(r){e=r.options,(n[a]===o&&!e.isInternal||"undefined"!==typeof n[a]&&n[a]===e.id||"undefined"===typeof n[a]&&0===e.index)&&(t.insert(r.series),t[a]=r,r.isDirty=!0),e.isInternal||o++})),t[a]||t.optionalAxis===a||x(18,!0,r)}))})),M(this,"afterBindAxes")},e.prototype.updateParallelArrays=function(e,t){var n=e.series,r=arguments,a=E(t)?function(r){var a="y"===r&&n.toYData?n.toYData(e):e[r];n[r+"Data"][t]=a}:function(e){Array.prototype[t].apply(n[e+"Data"],Array.prototype.slice.call(r,2))};n.parallelArrays.forEach(a)},e.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0<this.yData.length},e.prototype.autoIncrement=function(e){var t,n=this.options,r=n.pointIntervalUnit,a=n.relativeXValue,o=this.chart.time,i=this.xIncrement;return i=N(i,n.pointStart,0),this.pointInterval=t=N(this.pointInterval,n.pointInterval,1),a&&E(e)&&(t*=e),r&&(n=new o.Date(i),"day"===r?o.set("Date",n,o.get("Date",n)+t):"month"===r?o.set("Month",n,o.get("Month",n)+t):"year"===r&&o.set("FullYear",n,o.get("FullYear",n)+t),t=n.getTime()-i),a&&E(e)?i+t:(this.xIncrement=i+t,i)},e.prototype.setDataSortingOptions=function(){var e=this.options;S(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),j(e.pointRange)||(e.pointRange=1)},e.prototype.setOptions=function(e){var t=this.chart,n=t.options,r=n.plotOptions,a=t.userOptions||{};e=P(e),t=t.styledMode;var o={plotOptions:r,userOptions:e};M(this,"setOptions",o);var i=o.plotOptions[this.type],s=a.plotOptions||{};return this.userOptions=o.userOptions,a=P(i,r.series,a.plotOptions&&a.plotOptions[this.type],e),this.tooltipOptions=P(f.tooltip,f.plotOptions.series&&f.plotOptions.series.tooltip,f.plotOptions[this.type].tooltip,n.tooltip.userOptions,r.series&&r.series.tooltip,r[this.type].tooltip,e.tooltip),this.stickyTracking=N(e.stickyTracking,s[this.type]&&s[this.type].stickyTracking,s.series&&s.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||a.stickyTracking),null===i.marker&&delete a.marker,this.zoneAxis=a.zoneAxis,r=this.zones=(a.zones||[]).slice(),!a.negativeColor&&!a.negativeFillColor||a.zones||(n={value:a[this.zoneAxis+"Threshold"]||a.threshold||0,className:"highcharts-negative"},t||(n.color=a.negativeColor,n.fillColor=a.negativeFillColor),r.push(n)),r.length&&j(r[r.length-1].value)&&r.push(t?{}:{color:this.color,fillColor:this.fillColor}),M(this,"afterSetOptions",{options:a}),a},e.prototype.getName=function(){return N(this.options.name,"Series "+(this.index+1))},e.prototype.getCyclic=function(e,t,n){var r=this.chart,a=this.userOptions,o=e+"Index",i=e+"Counter",s=n?n.length:N(r.options.chart[e+"Count"],r[e+"Count"]);if(!t){var l=N(a[o],a["_"+o]);j(l)||(r.series.length||(r[i]=0),a["_"+o]=l=r[i]%s,r[i]+=1),n&&(t=n[l])}"undefined"!==typeof l&&(this[o]=l),this[e]=t},e.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||f.plotOptions[this.type].color,this.chart.options.colors)},e.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},e.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},e.prototype.findPointIndex=function(e,t){var n,r,a=e.id,i=e.x,s=this.points,l=this.options.dataSorting;if(a)l=this.chart.get(a),l instanceof o&&(n=l);else if((this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)&&(n=function(t){return!t.touched&&t.index===e.index},l&&l.matchByName?n=function(t){return!t.touched&&t.name===e.name}:this.options.relativeXValue&&(n=function(t){return!t.touched&&t.options.x===e.x}),n=C(s,n),!n))return;if(n){var c=n&&n.index;"undefined"!==typeof c&&(r=!0)}return"undefined"===typeof c&&E(i)&&(c=this.xData.indexOf(i,t)),-1!==c&&"undefined"!==typeof c&&this.cropped&&(c=c>=this.cropStart?c-this.cropStart:c),!r&&E(c)&&s[c]&&s[c].touched&&(c=void 0),c},e.prototype.updateData=function(e,t){var n,r,a,o=this.options,i=o.dataSorting,s=this.points,l=[],c=this.requireSorting,u=e.length===s.length,d=!0;if(this.xIncrement=null,e.forEach((function(e,t){var r=j(e)&&this.pointClass.prototype.optionsToObject.call({series:this},e)||{},d=r.x;r.id||E(d)?(r=this.findPointIndex(r,a),-1===r||"undefined"===typeof r?l.push(e):s[r]&&e!==o.data[r]?(s[r].update(e,!1,null,!1),s[r].touched=!0,c&&(a=r+1)):s[r]&&(s[r].touched=!0),(!u||t!==r||i&&i.enabled||this.hasDerivedData)&&(n=!0)):l.push(e)}),this),n)for(e=s.length;e--;)(r=s[e])&&!r.touched&&r.remove&&r.remove(!1,t);else!u||i&&i.enabled?d=!1:(e.forEach((function(e,t){e!==s[t].y&&s[t].update&&s[t].update(e,!1,null,!1)})),l.length=0);return s.forEach((function(e){e&&(e.touched=!1)})),!!d&&(l.forEach((function(e){this.addPoint(e,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=g(this.xData),this.autoIncrement()),!0)},e.prototype.setData=function(e,t,n,r){void 0===t&&(t=!0);var a=this,o=a.points,i=o&&o.length||0,s=a.options,l=a.chart,c=s.dataSorting,u=a.xAxis,d=s.turboThreshold,f=this.xData,h=this.yData,p=a.pointArrayMap;p=p&&p.length;var m,v=s.keys,b=0,g=1,y=null;if(!l.options.chart.allowMutatingData){s.data&&delete a.options.data,a.userOptions.data&&delete a.userOptions.data;var O=P(!0,e)}if(e=O||e||[],O=e.length,c&&c.enabled&&(e=this.sortData(e)),l.options.chart.allowMutatingData&&!1!==r&&O&&i&&!a.cropped&&!a.hasGroupedData&&a.visible&&!a.boosted&&(m=this.updateData(e,n)),!m){if(a.xIncrement=null,a.colorCounter=0,this.parallelArrays.forEach((function(e){a[e+"Data"].length=0})),d&&O>d)if(y=a.getFirstValidPoint(e),E(y))for(n=0;n<O;n++)f[n]=this.autoIncrement(),h[n]=e[n];else if(T(y))if(p)if(y.length===p)for(n=0;n<O;n++)f[n]=this.autoIncrement(),h[n]=e[n];else for(n=0;n<O;n++)r=e[n],f[n]=r[0],h[n]=r.slice(1,p+1);else if(v&&(b=v.indexOf("x"),g=v.indexOf("y"),b=0<=b?b:0,g=0<=g?g:1),1===y.length&&(g=0),b===g)for(n=0;n<O;n++)f[n]=this.autoIncrement(),h[n]=e[n][g];else for(n=0;n<O;n++)r=e[n],f[n]=r[b],h[n]=r[g];else x(12,!1,l);else for(n=0;n<O;n++)"undefined"!==typeof e[n]&&(r={series:a},a.pointClass.prototype.applyOptions.apply(r,[e[n]]),a.updateParallelArrays(r,n));for(h&&L(h[0])&&x(14,!0,l),a.data=[],a.options.data=a.userOptions.data=e,n=i;n--;)o[n]&&o[n].destroy&&o[n].destroy();u&&(u.minRange=u.userMinRange),a.isDirty=l.isDirtyBox=!0,a.isDirtyData=!!o,n=!1}"point"===s.legendType&&(this.processData(),this.generatePoints()),t&&l.redraw(n)},e.prototype.sortData=function(e){var t=this,n=t.options.dataSorting.sortKey||"y",r=function(e,t){return j(t)&&e.pointClass.prototype.optionsToObject.call({series:e},t)||{}};return e.forEach((function(n,a){e[a]=r(t,n),e[a].index=a}),this),e.concat().sort((function(e,t){return e=A(n,e),t=A(n,t),t<e?-1:t>e?1:0})).forEach((function(e,t){e.x=t}),this),t.linkedSeries&&t.linkedSeries.forEach((function(t){var n=t.options,a=n.data;n.dataSorting&&n.dataSorting.enabled||!a||(a.forEach((function(n,o){a[o]=r(t,n),e[o]&&(a[o].x=e[o].x,a[o].index=o)})),t.setData(a,!1))})),e},e.prototype.getProcessedData=function(e){var t=this.xAxis,n=this.options,r=n.cropThreshold,a=e||this.getExtremesFromAll||n.getExtremesFromAll,o=this.isCartesian;e=t&&t.val2lin,n=!(!t||!t.logarithmic);var i=0,s=this.xData,l=this.yData,c=this.requireSorting,u=!1,d=s.length;if(t){u=t.getExtremes();var f=u.min,h=u.max;u=!(!t.categories||t.names.length)}if(o&&this.sorted&&!a&&(!r||d>r||this.forceCrop))if(s[d-1]<f||s[0]>h)s=[],l=[];else if(this.yData&&(s[0]<f||s[d-1]>h)){var p=this.cropData(this.xData,this.yData,f,h);s=p.xData,l=p.yData,i=p.start,p=!0}for(r=s.length||1;--r;)if(t=n?e(s[r])-e(s[r-1]):s[r]-s[r-1],0<t&&("undefined"===typeof m||t<m))var m=t;else 0>t&&c&&!u&&(x(15,!1,this.chart),c=!1);return{xData:s,yData:l,cropped:p,cropStart:i,closestPointRange:m}},e.prototype.processData=function(e){var t=this.xAxis;if(this.isCartesian&&!this.isDirty&&!t.isDirty&&!this.yAxis.isDirty&&!e)return!1;e=this.getProcessedData(),this.cropped=e.cropped,this.cropStart=e.cropStart,this.processedXData=e.xData,this.processedYData=e.yData,this.closestPointRange=this.basePointRange=e.closestPointRange,M(this,"afterProcessData")},e.prototype.cropData=function(e,t,n,r,a){var o,i=e.length,s=0,l=i;for(a=N(a,this.cropShoulder),o=0;o<i;o++)if(e[o]>=n){s=Math.max(0,o-a);break}for(n=o;n<i;n++)if(e[n]>r){l=n+a;break}return{xData:e.slice(s,l),yData:t.slice(s,l),start:s,end:l}},e.prototype.generatePoints=function(){var e=this.options,t=this.processedData||e.data,n=this.processedXData,r=this.processedYData,a=this.pointClass,o=n.length,i=this.cropStart||0,s=this.hasGroupedData,l=e.keys,c=[];e=e.dataGrouping&&e.dataGrouping.groupAll?i:0;var u,d,f=this.data;if(!f&&!s){var h=[];h.length=t.length,f=this.data=h}for(l&&s&&(this.options.keys=!1),d=0;d<o;d++){if(h=i+d,s){var p=(new a).init(this,[n[d]].concat(I(r[d])));p.dataGroup=this.groupMap[e+d],p.dataGroup.options&&(p.options=p.dataGroup.options,S(p,p.dataGroup.options),delete p.dataLabels)}else(p=f[h])||"undefined"===typeof t[h]||(f[h]=p=(new a).init(this,t[h],n[d]));p&&(p.index=s?e+d:h,c[d]=p)}if(this.options.keys=l,f&&(o!==(u=f.length)||s))for(d=0;d<u;d++)d!==i||s||(d+=o),f[d]&&(f[d].destroyElements(),f[d].plotX=void 0);this.data=f,this.points=c,M(this,"afterGeneratePoints")},e.prototype.getXExtremes=function(e){return{min:y(e),max:g(e)}},e.prototype.getExtremes=function(e,t){var n=this.xAxis,r=this.yAxis,a=this.processedXData||this.xData,o=[],i=this.requireSorting?this.cropShoulder:0;r=!!r&&r.positiveValuesOnly;var s,l=0,c=0,u=0;e=e||this.stackedYData||this.processedYData||[];var d=e.length;if(n){var f=n.getExtremes();l=f.min,c=f.max}for(s=0;s<d;s++){var h=a[s];f=e[s];var p=(E(f)||T(f))&&(f.length||0<f||!r);if(h=t||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!n||(a[s+i]||h)>=l&&(a[s-i]||h)<=c,p&&h)if(p=f.length)for(;p--;)E(f[p])&&(o[u++]=f[p]);else o[u++]=f}return e={activeYData:o,dataMin:y(o),dataMax:g(o)},M(this,"afterGetExtremes",{dataExtremes:e}),e},e.prototype.applyExtremes=function(){var e=this.getExtremes();return this.dataMin=e.dataMin,this.dataMax=e.dataMax,e},e.prototype.getFirstValidPoint=function(e){for(var t=e.length,n=0,r=null;null===r&&n<t;)r=e[n],n++;return r},e.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var e,t,n=this.options,r=n.stacking,a=this.xAxis,o=a.categories,i=this.enabledDataSorting,s=this.yAxis,l=this.points,c=l.length,u=this.pointPlacementToXValue(),d=!!u,f=n.threshold,h=n.startFromThreshold?f:0,p=this.zoneAxis||"y",m=Number.MAX_VALUE;for(e=0;e<c;e++){var v=l[e],b=v.x,g=void 0,y=void 0,w=v.y,k=v.low,x=r&&s.stacking&&s.stacking.stacks[(this.negStacks&&w<(h?0:f)?"-":"")+this.stackKey];if((s.positiveValuesOnly&&!s.validatePositiveValue(w)||a.positiveValuesOnly&&!a.validatePositiveValue(b))&&(v.isNull=!0),v.plotX=t=_(O(a.translate(b,0,0,0,1,u,"flags"===this.type),-1e5,1e5)),r&&this.visible&&x&&x[b]){var S=this.getStackIndicator(S,b,this.index);!v.isNull&&S.key&&(g=x[b],y=g.points[S.key]),g&&T(y)&&(k=y[0],w=y[1],k===h&&S.key===x[b].base&&(k=N(E(f)?f:s.min)),s.positiveValuesOnly&&j(k)&&0>=k&&(k=void 0),v.total=v.stackTotal=N(g.total),v.percentage=j(v.y)&&g.total?v.y/g.total*100:void 0,v.stackY=w,this.irregularWidths||g.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))}if(v.yBottom=j(k)?O(s.translate(k,0,1,0,1),-1e5,1e5):void 0,this.dataModify&&(w=this.dataModify.modifyValue(w,e)),v.plotY=void 0,E(w)&&(g=s.translate(w,!1,!0,!1,!0),"undefined"!==typeof g&&(v.plotY=O(g,-1e5,1e5))),v.isInside=this.isPointInside(v),v.clientX=d?_(a.translate(b,0,0,0,1,u)):t,v.negative=v[p]<(n[p+"Threshold"]||f||0),v.category=N(o&&o[v.x],v.x),!v.isNull&&!1!==v.visible){"undefined"!==typeof C&&(m=Math.min(m,Math.abs(t-C)));var C=t}v.zone=this.zones.length?v.getZone():void 0,!v.graphic&&this.group&&i&&(v.isNew=!0)}this.closestPointRangePx=m,M(this,"afterTranslate")},e.prototype.getValidPoints=function(e,t,n){var r=this.chart;return(e||this.points||[]).filter((function(e){return!(t&&!r.isInsidePlot(e.plotX,e.plotY,{inverted:r.inverted}))&&(!1!==e.visible&&(n||!e.isNull))}))},e.prototype.getClipBox=function(){var e=this.chart,t=this.xAxis,n=this.yAxis,r=P(e.clipBox);return t&&t.len!==e.plotSizeX&&(r.width=t.len),n&&n.len!==e.plotSizeY&&(r.height=n.len),r},e.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},e.prototype.setClip=function(){var e=this.chart,t=this.group,n=this.markerGroup,r=e.sharedClips;e=e.renderer;var a=this.getClipBox(),o=this.getSharedClipKey(),i=r[o];i?i.animate(a):r[o]=i=e.clipRect(a),t&&t.clip(!1===this.options.clip?void 0:i),n&&n.clip()},e.prototype.animate=function(e){var t=this.chart,n=this.group,r=this.markerGroup,a=t.inverted,o=u(this.options.animation),i=[this.getSharedClipKey(),o.duration,o.easing,o.defer].join(),s=t.sharedClips[i],l=t.sharedClips[i+"m"];if(e&&n)o=this.getClipBox(),s?s.attr("height",o.height):(o.width=0,a&&(o.x=t.plotHeight),s=t.renderer.clipRect(o),t.sharedClips[i]=s,l=t.renderer.clipRect({x:-99,y:-99,width:a?t.plotWidth+199:99,height:a?99:t.plotHeight+199}),t.sharedClips[i+"m"]=l),n.clip(s),r&&r.clip(l);else if(s&&!s.hasClass("highcharts-animating")){t=this.getClipBox();var c=o.step;r&&r.element.childNodes.length&&(o.step=function(e,t){c&&c.apply(t,arguments),"width"===t.prop&&l&&l.element&&l.attr(a?"height":"width",e+99)}),s.addClass("highcharts-animating").animate(t,o)}},e.prototype.afterAnimate=function(){var e=this;this.setClip(),D(this.chart.sharedClips,(function(t,n,r){t&&!e.chart.container.querySelector('[clip-path="url(#'.concat(t.id,')"]'))&&(t.destroy(),delete r[n])})),this.finishedAnimating=!0,M(this,"afterAnimate")},e.prototype.drawPoints=function(e){void 0===e&&(e=this.points);var t,n,r=this.chart,a=r.styledMode,o=this.colorAxis,i=this.options.marker,s=this[this.specialGroup||"markerGroup"],l=this.xAxis,c=N(i.enabled,!(l&&!l.isRadial)||null,this.closestPointRangePx>=i.enabledThreshold*i.radius);if(!1!==i.enabled||this._hasPointMarkers)for(t=0;t<e.length;t++){var u=e[t],d=(n=u.graphic)?"animate":"attr",f=u.marker||{},h=!!u.marker;if((c&&"undefined"===typeof f.enabled||f.enabled)&&!u.isNull&&!1!==u.visible){var p=N(f.symbol,this.symbol,"rect"),m=this.markerAttribs(u,u.selected&&"select");this.enabledDataSorting&&(u.startXPos=l.reversed?-(m.width||0):l.width);var v=!1!==u.isInside;!n&&v&&(0<(m.width||0)||u.hasImage)&&(u.graphic=n=r.renderer.symbol(p,m.x,m.y,m.width,m.height,h?f:i).add(s),this.enabledDataSorting&&r.hasRendered&&(n.attr({x:u.startXPos}),d="animate")),n&&"animate"===d&&n[v?"show":"hide"](v).animate(m),n&&(f=this.pointAttribs(u,a||!u.selected?void 0:"select"),a?o&&n.css({fill:f.fill}):n[d](f)),n&&n.addClass(u.getClassName(),!0)}else n&&(u.graphic=n.destroy())}},e.prototype.markerAttribs=function(e,t){var n=this.options,r=n.marker,a=e.marker||{},o=a.symbol||r.symbol,i={},s=N(a.radius,r&&r.radius);return t&&(r=r.states[t],t=a.states&&a.states[t],s=N(t&&t.radius,r&&r.radius,s&&s+(r&&r.radiusPlus||0))),e.hasImage=o&&0===o.indexOf("url"),e.hasImage&&(s=0),e=e.pos(),E(s)&&e&&(i.x=e[0]-s,i.y=e[1]-s,n.crisp&&(i.x=Math.floor(i.x))),s&&(i.width=i.height=2*s),i},e.prototype.pointAttribs=function(e,t){var n=this.options.marker,r=e&&e.options,a=r&&r.marker||{},o=r&&r.color,i=e&&e.color,s=e&&e.zone&&e.zone.color,l=this.color;return e=N(a.lineWidth,n.lineWidth),r=1,l=o||s||i||l,o=a.fillColor||n.fillColor||l,i=a.lineColor||n.lineColor||l,t=t||"normal",n=n.states[t]||{},t=a.states&&a.states[t]||{},e=N(t.lineWidth,n.lineWidth,e+N(t.lineWidthPlus,n.lineWidthPlus,0)),o=t.fillColor||n.fillColor||o,i=t.lineColor||n.lineColor||i,r=N(t.opacity,n.opacity,r),{stroke:i,"stroke-width":e,fill:o,opacity:r}},e.prototype.destroy=function(e){var t,n,r,a,o=this,i=o.chart,s=/AppleWebKit\/533/.test(v.navigator.userAgent),u=o.data||[];for(M(o,"destroy",{keepEventsForUpdate:e}),this.removeEvents(e),(o.axisTypes||[]).forEach((function(e){(a=o[e])&&a.series&&(k(a.series,o),a.isDirty=a.forceRedraw=!0)})),o.legendItem&&o.chart.legend.destroyItem(o),n=u.length;n--;)(r=u[n])&&r.destroy&&r.destroy();o.clips&&o.clips.forEach((function(e){return e.destroy()})),c.clearTimeout(o.animationTimeout),D(o,(function(e,n){e instanceof l&&!e.survive&&(t=s&&"group"===n?"hide":"destroy",e[t]())})),i.hoverSeries===o&&(i.hoverSeries=void 0),k(i.series,o),i.orderSeries(),D(o,(function(t,n){e&&"hcEvents"===n||delete o[n]}))},e.prototype.applyZones=function(){var e,t,n,r,a,o,i,s,l=this,c=this.chart,u=c.renderer,d=this.zones,f=this.clips||[],h=this.graph,p=this.area,m=Math.max(c.plotWidth,c.plotHeight),v=this[(this.zoneAxis||"y")+"Axis"],b=c.inverted,g=!1;if(d.length&&(h||p)&&v&&"undefined"!==typeof v.min){var y=v.reversed,w=v.horiz;h&&!this.showLine&&h.hide(),p&&p.hide();var _=v.getExtremes();d.forEach((function(d,j){e=y?w?c.plotWidth:0:w?0:v.toPixels(_.min)||0,e=O(N(t,e),0,m),t=O(Math.round(v.toPixels(N(d.value,_.max),!0)||0),0,m),g&&(e=t=v.toPixels(_.max)),r=Math.abs(e-t),a=Math.min(e,t),o=Math.max(e,t),v.isXAxis?(n={x:b?o:a,y:0,width:r,height:m},w||(n.x=c.plotHeight-n.x)):(n={x:0,y:b?o:a,width:m,height:r},w&&(n.y=c.plotWidth-n.y)),b&&u.isVML&&(n=v.isXAxis?{x:0,y:y?a:o,height:n.width,width:c.chartWidth}:{x:n.y-c.plotLeft-c.spacingBox.x,y:0,width:n.height,height:c.chartHeight}),f[j]?f[j].animate(n):f[j]=u.clipRect(n),i=l["zone-area-"+j],s=l["zone-graph-"+j],h&&s&&s.clip(f[j]),p&&i&&i.clip(f[j]),g=d.value>_.max,l.resetZones&&0===t&&(t=void 0)})),this.clips=f}else l.visible&&(h&&h.show(),p&&p.show())},e.prototype.plotGroup=function(e,t,n,r,a){var o=this[e],i=!o;return n={visibility:n,zIndex:r||.1},"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(n.opacity=this.opacity),i&&(this[e]=o=this.chart.renderer.g().add(a)),o.addClass("highcharts-"+t+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(j(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(n)[i?"attr":"animate"](this.getPlotBox(t)),o},e.prototype.getPlotBox=function(e){var t=this.xAxis,n=this.yAxis,r=this.chart;return e=r.inverted&&!r.polar&&t&&!1!==this.invertible&&"series"===e,r.inverted&&(t=n,n=this.xAxis),{translateX:t?t.left:r.plotLeft,translateY:n?n.top:r.plotTop,rotation:e?90:0,rotationOriginX:e?(t.len-n.len)/2:0,rotationOriginY:e?(t.len+n.len)/2:0,scaleX:e?-1:1,scaleY:1}},e.prototype.removeEvents=function(e){e||R(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(e){e()})),this.eventsToUnbind.length=0)},e.prototype.render=function(){var e=this,t=e.chart,n=e.options,r=u(n.animation),a=e.visible?"inherit":"hidden",o=n.zIndex,i=e.hasRendered,s=t.seriesGroup;t=!e.finishedAnimating&&t.renderer.isSVG?r.duration:0,M(this,"render"),e.plotGroup("group","series",a,o,s),e.markerGroup=e.plotGroup("markerGroup","markers",a,o,s),!1!==n.clip&&e.setClip(),e.animate&&t&&e.animate(!0),e.drawGraph&&(e.drawGraph(),e.applyZones()),e.visible&&e.drawPoints(),e.drawDataLabels&&e.drawDataLabels(),e.redrawPoints&&e.redrawPoints(),e.drawTracker&&!1!==e.options.enableMouseTracking&&e.drawTracker(),e.animate&&t&&e.animate(),i||(t&&r.defer&&(t+=r.defer),e.animationTimeout=B((function(){e.afterAnimate()}),t||0)),e.isDirty=!1,e.hasRendered=!0,M(e,"afterRender")},e.prototype.redraw=function(){var e=this.isDirty||this.isDirtyData;this.translate(),this.render(),e&&delete this.kdTree},e.prototype.searchPoint=function(e,t){var n=this.xAxis,r=this.yAxis,a=this.chart.inverted;return this.searchKDTree({clientX:a?n.len-e.chartY+n.pos:e.chartX-n.pos,plotY:a?r.len-e.chartX+r.pos:e.chartY-r.pos},t,e)},e.prototype.buildKDTree=function(e){function t(e,r,a){var o=e&&e.length;if(o){var i=n.kdAxisArray[r%a];return e.sort((function(e,t){return e[i]-t[i]})),o=Math.floor(o/2),{point:e[o],left:t(e.slice(0,o),r+1,a),right:t(e.slice(o+1),r+1,a)}}}this.buildingKdTree=!0;var n=this,r=-1<n.options.findNearestPointBy.indexOf("y")?2:1;delete n.kdTree,B((function(){n.kdTree=t(n.getValidPoints(null,!n.directTouch),r,r),n.buildingKdTree=!1}),n.options.kdNow||e&&"touchstart"===e.type?0:1)},e.prototype.searchKDTree=function(e,t,n){function r(e,t,n,l){var c=t.point,u=a.kdAxisArray[n%l],d=c,f=j(e[o])&&j(c[o])?Math.pow(e[o]-c[o],2):null,h=j(e[i])&&j(c[i])?Math.pow(e[i]-c[i],2):null;return h=(f||0)+(h||0),c.dist=j(h)?Math.sqrt(h):Number.MAX_VALUE,c.distX=j(f)?Math.sqrt(f):Number.MAX_VALUE,u=e[u]-c[u],h=0>u?"left":"right",f=0>u?"right":"left",t[h]&&(h=r(e,t[h],n+1,l),d=h[s]<d[s]?h:c),t[f]&&Math.sqrt(u*u)<d[s]&&(e=r(e,t[f],n+1,l),d=e[s]<d[s]?e:d),d}var a=this,o=this.kdAxisArray[0],i=this.kdAxisArray[1],s=t?"distX":"dist";if(t=-1<a.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(n),this.kdTree)return r(e,this.kdTree,t,t)},e.prototype.pointPlacementToXValue=function(){var e=this.options,t=e.pointRange,n=this.xAxis;return e=e.pointPlacement,"between"===e&&(e=n.reversed?-.5:.5),E(e)?e*(t||n.pointRange):0},e.prototype.isPointInside=function(e){var t=this.chart,n=this.xAxis,r=this.yAxis;return"undefined"!==typeof e.plotY&&"undefined"!==typeof e.plotX&&0<=e.plotY&&e.plotY<=(r?r.len:t.plotHeight)&&0<=e.plotX&&e.plotX<=(n?n.len:t.plotWidth)},e.prototype.drawTracker=function(){var e=this,t=e.options,n=t.trackByArea,r=[].concat(n?e.areaPath:e.graphPath),a=e.chart,o=a.pointer,i=a.renderer,s=a.options.tooltip.snap,l=e.tracker,c=function(t){a.hoverSeries!==e&&e.onMouseOver()},u="rgba(192,192,192,"+(m?1e-4:.002)+")";l?l.attr({d:r}):e.graph&&(e.tracker=i.path(r).attr({visibility:e.visible?"inherit":"hidden",zIndex:2}).addClass(n?"highcharts-tracker-area":"highcharts-tracker-line").add(e.group),a.styledMode||e.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:u,fill:n?u:"none","stroke-width":e.graph.strokeWidth()+(n?0:2*s)}),[e.tracker,e.markerGroup,e.dataLabelsGroup].forEach((function(e){e&&(e.addClass("highcharts-tracker").on("mouseover",c).on("mouseout",(function(e){o.onTrackerMouseOut(e)})),t.cursor&&!a.styledMode&&e.css({cursor:t.cursor}),p)&&e.on("touchstart",c)}))),M(this,"afterDrawTracker")},e.prototype.addPoint=function(e,t,n,r,a){var o=this.options,i=this.data,s=this.chart,l=this.xAxis;l=l&&l.hasNames&&l.names;var c,u=o.data,d=this.xData;t=N(t,!0);var f={series:this};this.pointClass.prototype.applyOptions.apply(f,[e]);var h=f.x,p=d.length;if(this.requireSorting&&h<d[p-1])for(c=!0;p&&d[p-1]>h;)p--;this.updateParallelArrays(f,"splice",p,0,0),this.updateParallelArrays(f,p),l&&f.name&&(l[h]=f.name),u.splice(p,0,e),(c||this.processedData)&&(this.data.splice(p,0,null),this.processData()),"point"===o.legendType&&this.generatePoints(),n&&(i[0]&&i[0].remove?i[0].remove(!1):(i.shift(),this.updateParallelArrays(f,"shift"),u.shift())),!1!==a&&M(this,"addPoint",{point:f}),this.isDirtyData=this.isDirty=!0,t&&s.redraw(r)},e.prototype.removePoint=function(e,t,n){var r=this,a=r.data,o=a[e],i=r.points,s=r.chart,l=function(){i&&i.length===a.length&&i.splice(e,1),a.splice(e,1),r.options.data.splice(e,1),r.updateParallelArrays(o||{series:r},"splice",e,1),o&&o.destroy(),r.isDirty=!0,r.isDirtyData=!0,t&&s.redraw()};d(n,s),t=N(t,!0),o?o.firePointEvent("remove",null,l):l()},e.prototype.remove=function(e,t,n,r){function a(){o.destroy(r),i.isDirtyLegend=i.isDirtyBox=!0,i.linkSeries(),N(e,!0)&&i.redraw(t)}var o=this,i=o.chart;!1!==n?M(o,"remove",null,a):a()},e.prototype.update=function(e,t){e=w(e,this.userOptions),M(this,"update",{options:e});var n=this,r=n.chart,a=n.userOptions,o=n.initialType||n.type,i=r.options.plotOptions,s=b[o].prototype,l=n.finishedAnimating&&{animation:!1},c={},u=["eventOptions","navigatorSeries","baseSeries"],d=e.type||a.type||r.options.chart.type,f=!(this.hasDerivedData||d&&d!==this.type||"undefined"!==typeof e.pointStart||"undefined"!==typeof e.pointInterval||"undefined"!==typeof e.relativeXValue||e.joinBy||e.mapData||n.hasOptionChanged("dataGrouping")||n.hasOptionChanged("pointStart")||n.hasOptionChanged("pointInterval")||n.hasOptionChanged("pointIntervalUnit")||n.hasOptionChanged("keys"));if(d=d||o,f&&(u.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==e.visible&&u.push("area","graph"),n.parallelArrays.forEach((function(e){u.push(e+"Data")})),e.data&&(e.dataSorting&&S(n.options.dataSorting,e.dataSorting),this.setData(e.data,!1))),e=P(a,l,{index:"undefined"===typeof a.index?n.index:a.index,pointStart:N(i&&i.series&&i.series.pointStart,a.pointStart,n.xData[0])},!f&&{data:n.options.data},e),f&&e.data&&(e.data=n.options.data),u=["group","markerGroup","dataLabelsGroup","transformGroup","shadowGroup"].concat(u),u.forEach((function(e){u[e]=n[e],delete n[e]})),i=!1,b[d]){if(i=d!==n.type,n.remove(!1,!1,!1,!0),i)if(Object.setPrototypeOf)Object.setPrototypeOf(n,b[d].prototype);else{for(h in l=Object.hasOwnProperty.call(n,"hcEvents")&&n.hcEvents,s)n[h]=void 0;S(n,b[d].prototype),l?n.hcEvents=l:delete n.hcEvents}}else x(17,!0,r,{missingModuleFor:d});if(u.forEach((function(e){n[e]=u[e]})),n.init(r,e),f&&this.points){if(e=n.options,!1===e.visible)c.graphic=1,c.dataLabel=1;else if(!n._hasPointLabels){s=e.marker;var h=e.dataLabels;a=a.marker||{},!s||!1!==s.enabled&&a.symbol===s.symbol&&a.height===s.height&&a.width===s.width||(c.graphic=1),h&&!1===h.enabled&&(c.dataLabel=1)}for(a=0,s=this.points;a<s.length;a++)(h=s[a])&&h.series&&(h.resolveColor(),Object.keys(c).length&&h.destroyElements(c),!1===e.showInLegend&&h.legendItem&&r.legend.destroyItem(h))}n.initialType=o,r.linkSeries(),i&&n.linkedSeries.length&&(n.isDirtyData=!0),M(this,"afterUpdate"),N(t,!0)&&r.redraw(!!f&&void 0)},e.prototype.setName=function(e){this.name=this.options.name=this.userOptions.name=e,this.chart.isDirtyLegend=!0},e.prototype.hasOptionChanged=function(e){var t=this.options[e],n=this.chart.options.plotOptions,r=this.userOptions[e];return r?t!==r:t!==N(n&&n[this.type]&&n[this.type][e],n&&n.series&&n.series[e],t)},e.prototype.onMouseOver=function(){var e=this.chart,t=e.hoverSeries;e.pointer.setHoverChartIndex(),t&&t!==this&&t.onMouseOut(),this.options.events.mouseOver&&M(this,"mouseOver"),this.setState("hover"),e.hoverSeries=this},e.prototype.onMouseOut=function(){var e=this.options,t=this.chart,n=t.tooltip,r=t.hoverPoint;t.hoverSeries=null,r&&r.onMouseOut(),this&&e.events.mouseOut&&M(this,"mouseOut"),!n||this.stickyTracking||n.shared&&!this.noSharedTooltip||n.hide(),t.series.forEach((function(e){e.setState("",!0)}))},e.prototype.setState=function(e,t){var n=this,r=n.options,a=n.graph,o=r.inactiveOtherPoints,i=r.states,s=N(i[e||"normal"]&&i[e||"normal"].animation,n.chart.options.chart.animation),l=r.lineWidth,c=0,u=r.opacity;if(e=e||"",n.state!==e&&([n.group,n.markerGroup,n.dataLabelsGroup].forEach((function(t){t&&(n.state&&t.removeClass("highcharts-series-"+n.state),e&&t.addClass("highcharts-series-"+e))})),n.state=e,!n.chart.styledMode)){if(i[e]&&!1===i[e].enabled)return;if(e&&(l=i[e].lineWidth||l+(i[e].lineWidthPlus||0),u=N(i[e].opacity,u)),a&&!a.dashstyle&&E(l))for(r={"stroke-width":l},a.animate(r,s);n["zone-graph-"+c];)n["zone-graph-"+c].animate(r,s),c+=1;o||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach((function(e){e&&e.animate({opacity:u},s)}))}t&&o&&n.points&&n.setAllPointsToState(e||void 0)},e.prototype.setAllPointsToState=function(e){this.points.forEach((function(t){t.setState&&t.setState(e)}))},e.prototype.setVisible=function(e,t){var n=this,r=n.chart,a=r.options.chart.ignoreHiddenSeries,o=n.visible,i=(n.visible=e=n.options.visible=n.userOptions.visible="undefined"===typeof e?!o:e)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(e){n[e]&&n[e][i]()})),r.hoverSeries!==n&&(r.hoverPoint&&r.hoverPoint.series)!==n||n.onMouseOut(),n.legendItem&&r.legend.colorizeItem(n,e),n.isDirty=!0,n.options.stacking&&r.series.forEach((function(e){e.options.stacking&&e.visible&&(e.isDirty=!0)})),n.linkedSeries.forEach((function(t){t.setVisible(e,!1)})),a&&(r.isDirtyBox=!0),M(n,i),!1!==t&&r.redraw()},e.prototype.show=function(){this.setVisible(!0)},e.prototype.hide=function(){this.setVisible(!1)},e.prototype.select=function(e){this.selected=e=this.options.selected="undefined"===typeof e?!this.selected:e,this.checkbox&&(this.checkbox.checked=e),M(this,e?"select":"unselect")},e.prototype.shouldShowTooltip=function(e,t,n){return void 0===n&&(n={}),n.series=this,n.visiblePlotOnly=!0,this.chart.isInsidePlot(e,t,n)},e.defaultOptions=i,e.types=s.seriesTypes,e.registerType=s.registerSeriesType,e}(),S(e.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:a.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o,requireSorting:!0,sorted:!0}),s.series=e,e})),t(n,"Extensions/ScrollablePlotArea.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Chart/Chart.js"],n["Core/Series/Series.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n,r,a,o){var i=e.stop,s=o.addEvent,l=o.createElement,c=o.defined,u=o.merge,d=o.pick;s(n,"afterSetChartSize",(function(e){var n=this.options.chart.scrollablePlotArea,r=n&&n.minWidth;if(n=n&&n.minHeight,!this.renderer.forExport){if(r){if(this.scrollablePixelsX=r=Math.max(0,r-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=u(this.plotBox),this.plotBox.width=this.plotWidth+=r,this.inverted?this.clipBox.height+=r:this.clipBox.width+=r;var a={1:{name:"right",value:r}}}}else n&&(this.scrollablePixelsY=r=Math.max(0,n-this.chartHeight),c(r)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=u(this.plotBox),this.plotBox.height=this.plotHeight+=r,this.inverted?this.clipBox.width+=r:this.clipBox.height+=r,a={2:{name:"bottom",value:r}}));a&&!e.skipAxes&&this.axes.forEach((function(e){a[e.side]?e.getPlotLinePath=function(){var n=a[e.side].name,r=this[n];this[n]=r-a[e.side].value;var o=t.prototype.getPlotLinePath.apply(this,arguments);return this[n]=r,o}:(e.setAxisSize(),e.setAxisTranslation())}))}})),s(n,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),n.prototype.setUpScrolling=function(){var e,t=this,n={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(n.overflowX="auto"),this.scrollablePixelsY&&(n.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},n,this.scrollingParent),s(this.scrollingContainer,"scroll",(function(){t.pointer&&(delete t.pointer.chartPosition,t.hoverPoint&&(e=t.hoverPoint),t.pointer.runPointActions(void 0,e,!0))})),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},n.prototype.moveFixedElements=function(){var e,t=this.container,n=this.fixedRenderer,r=".highcharts-breadcrumbs-group .highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?e=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?e=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(e=".highcharts-yaxis"),e&&r.push(e+":not(.highcharts-radial-axis)",e+"-labels:not(.highcharts-radial-axis-labels)"),r.forEach((function(e){[].forEach.call(t.querySelectorAll(e),(function(e){(e.namespaceURI===n.SVG_NS?n.box:n.box.parentNode).appendChild(e),e.style.pointerEvents="auto"}))}))},n.prototype.applyFixed=function(){var e=!this.fixedDiv,t=this.options.chart,n=t.scrollablePlotArea,r=a.getRendererType();e?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(t.style&&t.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=t=new r(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=t.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":d(n.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),s(this,"afterShowResetZoom",this.moveFixedElements),s(this,"afterApplyDrilldown",this.moveFixedElements),s(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||e)&&(this.scrollableDirty=!1,this.moveFixedElements()),t=this.chartWidth+(this.scrollablePixelsX||0),r=this.chartHeight+(this.scrollablePixelsY||0),i(this.container),this.container.style.width=t+"px",this.container.style.height=r+"px",this.renderer.boxWrapper.attr({width:t,height:r,viewBox:[0,0,t,r].join(" ")}),this.chartBackground.attr({width:t,height:r}),this.scrollingContainer.style.height=this.chartHeight+"px",e&&(n.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*n.scrollPositionX),n.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*n.scrollPositionY)),r=this.axisOffset,e=this.plotTop-r[0]-1,n=this.plotLeft-r[3]-1,t=this.plotTop+this.plotHeight+r[2]+1,r=this.plotLeft+this.plotWidth+r[1]+1;var o=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),c=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);e=this.scrollablePixelsX?[["M",0,e],["L",this.plotLeft-1,e],["L",this.plotLeft-1,t],["L",0,t],["Z"],["M",o,e],["L",this.chartWidth,e],["L",this.chartWidth,t],["L",o,t],["Z"]]:this.scrollablePixelsY?[["M",n,0],["L",n,this.plotTop-1],["L",r,this.plotTop-1],["L",r,0],["Z"],["M",n,c],["L",n,this.chartHeight],["L",r,this.chartHeight],["L",r,c],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:e})},s(t,"afterInit",(function(){this.chart.scrollableDirty=!0})),s(r,"show",(function(){this.chart.scrollableDirty=!0}))})),t(n,"Core/Axis/Stacking/StackItem.js",[n["Core/FormatUtilities.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n){var r=e.format,a=t.series,o=n.destroyObjectProperties,i=n.pick,s=n.isNumber;return e=function(){function e(e,t,n,r,a){var o=e.chart.inverted,i=e.reversed;this.axis=e,e=this.isNegative=!!n!==!!i,this.options=t=t||{},this.x=r,this.cumulative=this.total=null,this.points={},this.hasValidPoints=!1,this.stack=a,this.rightCliff=this.leftCliff=0,this.alignOptions={align:t.align||(o?e?"left":"right":"center"),verticalAlign:t.verticalAlign||(o?"middle":e?"bottom":"top"),y:t.y,x:t.x},this.textAlign=t.textAlign||(o?e?"right":"left":"center")}return e.prototype.destroy=function(){o(this,this.axis)},e.prototype.render=function(e){var t=this.axis.chart,n=this.options,a=n.format;a=a?r(a,this,t):n.formatter.call(this),this.label?this.label.attr({text:a,visibility:"hidden"}):(this.label=t.renderer.label(a,null,void 0,n.shape,void 0,void 0,n.useHTML,!1,"stack-labels"),a={r:n.borderRadius||0,text:a,padding:i(n.padding,5),visibility:"hidden"},t.styledMode||(a.fill=n.backgroundColor,a.stroke=n.borderColor,a["stroke-width"]=n.borderWidth,this.label.css(n.style||{})),this.label.attr(a),this.label.added||this.label.add(e)),this.label.labelrank=t.plotSizeY},e.prototype.setOffset=function(e,t,n,r,o,l){var c=this.alignOptions,u=this.axis,d=this.label,f=this.options,h=this.textAlign,p=u.chart;e=this.getStackBox({xOffset:e,width:t,boxBottom:n,boxTop:r,defaultX:o,xAxis:l}),o=c.verticalAlign,d&&e&&(t=d.getBBox(),n=d.padding,r="justify"===i(f.overflow,"justify"),c.x=f.x||0,c.y=f.y||0,o=this.adjustStackPosition({labelBox:t,verticalAlign:o,textAlign:h}),h=o.x,o=o.y,e.x-=h,e.y-=o,d.align(c,!1,e),(h=p.isInsidePlot(d.alignAttr.x+c.x+h,d.alignAttr.y+c.y+o))||(r=!1),r&&a.prototype.justifyDataLabel.call(u,d,c,d.alignAttr,t,e),d.attr({x:d.alignAttr.x,y:d.alignAttr.y,rotation:f.rotation,rotationOriginX:t.width/2,rotationOriginY:t.height/2}),i(!r&&f.crop,!0)&&(h=s(d.x)&&s(d.y)&&p.isInsidePlot(d.x-n+d.width,d.y)&&p.isInsidePlot(d.x+n,d.y)),d[h?"show":"hide"]())},e.prototype.adjustStackPosition=function(e){var t=e.labelBox,n={bottom:0,middle:1,top:2,right:1,center:0,left:-1};return{x:t.width/2+t.width/2*n[e.textAlign],y:t.height/2*n[e.verticalAlign]}},e.prototype.getStackBox=function(e){var t=this.axis,n=t.chart,r=e.boxTop,a=e.defaultX,o=e.xOffset,s=e.width,l=e.boxBottom;return r=t.stacking.usePercentage?100:i(r,this.total,0),r=t.toPixels(r),e=i(a,(e.xAxis||n.xAxis[0]).toPixels(this.x))+o,t=t.toPixels(l||0),t=Math.abs(r-t),l=this.isNegative,n.inverted?{x:(l?r:r-t)-n.plotLeft,y:e-n.plotTop,width:t,height:s}:{x:e-n.plotLeft,y:(l?r-t:r)-n.plotTop,width:s,height:t}},e}(),e})),t(n,"Core/Axis/Stacking/StackingAxis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Axis/Stacking/StackItem.js"],n["Core/Utilities.js"]],(function(e,t,n,r,a){function o(){var e=this,t=e.inverted;e.yAxis.forEach((function(e){e.stacking&&e.stacking.stacks&&e.hasVisibleSeries&&(e.stacking.oldStacks=e.stacking.stacks)})),e.series.forEach((function(n){var r=n.xAxis&&n.xAxis.options||{};!n.options.stacking||!0!==n.visible&&!1!==e.options.chart.ignoreHiddenSeries||(n.stackKey=[n.type,k(n.options.stack,""),t?r.top:r.left,t?r.height:r.width].join())}))}function i(){var e=this.stacking;if(e){var t=e.stacks;j(t,(function(e,n){y(e),t[n]=null})),e&&e.stackTotalGroup&&e.stackTotalGroup.destroy()}}function s(){"yAxis"!==this.coll||this.stacking||(this.stacking=new x(this))}function l(e,t,n,r){return!g(e)||e.x!==t||r&&e.stackKey!==r?e={x:t,index:0,key:r,stackKey:r}:e.index++,e.key=[n,t,e.index].join(),e}function c(){var e,t=this,n=t.stackKey,r=t.yAxis.stacking.stacks,a=t.processedXData,o=t[t.options.stacking+"Stacker"];o&&[n,"-"+n].forEach((function(n){for(var i,s,l=a.length;l--;)i=a[l],e=t.getStackIndicator(e,i,t.index,n),(s=(i=r[n]&&r[n][i])&&i.points[e.key])&&o.call(t,s,i,l)}))}function u(e,t,n){t=t.total?100/t.total:0,e[0]=b(e[0]*t),e[1]=b(e[1]*t),this.stackedYData[n]=e[1]}function d(){var e=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?m.setStackedPoints.call(this,"group"):e&&j(e.stacks,(function(t,n){"group"===n.slice(-5)&&(j(t,(function(e){return e.destroy()})),delete e.stacks[n])}))}function f(e){var t=this.chart,n=e||this.options.stacking;if(n&&(!0===this.visible||!1===t.options.chart.ignoreHiddenSeries)){var a=this.processedXData,o=this.processedYData,i=[],s=o.length,l=this.options,c=l.threshold,u=k(l.startFromThreshold&&c,0);l=l.stack,e=e?""+this.type+",".concat(n):this.stackKey;var d="-"+e,f=this.negStacks;t="group"===n?t.yAxis[0]:this.yAxis;var h,p,m=t.stacking.stacks,v=t.stacking.oldStacks;for(t.stacking.stacksTouched+=1,p=0;p<s;p++){var y=a[p],O=o[p],_=this.getStackIndicator(_,y,this.index),j=_.key,x=(h=f&&O<(u?0:c))?d:e;m[x]||(m[x]={}),m[x][y]||(v[x]&&v[x][y]?(m[x][y]=v[x][y],m[x][y].total=null):m[x][y]=new r(t,t.options.stackLabels,!!h,y,l)),x=m[x][y],null!==O?(x.points[j]=x.points[this.index]=[k(x.cumulative,u)],g(x.cumulative)||(x.base=j),x.touched=t.stacking.stacksTouched,0<_.index&&!1===this.singleStacks&&(x.points[j][0]=x.points[this.index+","+y+",0"][0])):x.points[j]=x.points[this.index]=null,"percent"===n?(h=h?e:d,f&&m[h]&&m[h][y]?(h=m[h][y],x.total=h.total=Math.max(h.total,x.total)+Math.abs(O)||0):x.total=b(x.total+(Math.abs(O)||0))):"group"===n?(w(O)&&(O=O[0]),null!==O&&(x.total=(x.total||0)+1)):x.total=b(x.total+(O||0)),x.cumulative="group"===n?(x.total||1)-1:k(x.cumulative,u)+(O||0),null!==O&&(x.points[j].push(x.cumulative),i[p]=x.cumulative,x.hasValidPoints=!0)}"percent"===n&&(t.stacking.usePercentage=!0),"group"!==n&&(this.stackedYData=i),t.stacking.oldStacks={}}}var h,p=e.getDeferredAnimation,m=n.series.prototype,v=a.addEvent,b=a.correctFloat,g=a.defined,y=a.destroyObjectProperties,O=a.fireEvent,w=a.isArray,_=a.isNumber,j=a.objectEach,k=a.pick,x=function(){function e(e){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=e}return e.prototype.buildStacks=function(){var e,t=this.axis,n=t.series,r=t.options.reversedStacks,a=n.length;for(this.usePercentage=!1,e=a;e--;){var o=n[r?e:a-e-1];o.setStackedPoints(),o.setGroupedPoints()}for(e=0;e<a;e++)n[e].modifyStacks();O(t,"afterBuildStacks")},e.prototype.cleanStacks=function(){if(this.oldStacks)var e=this.stacks=this.oldStacks;j(e,(function(e){j(e,(function(e){e.cumulative=e.total}))}))},e.prototype.resetStacks=function(){var e=this;j(this.stacks,(function(t){j(t,(function(n,r){_(n.touched)&&n.touched<e.stacksTouched?(n.destroy(),delete t[r]):(n.total=null,n.cumulative=null)}))}))},e.prototype.renderStackTotals=function(){var e=this.axis,t=e.chart,n=t.renderer,r=this.stacks;e=p(t,e.options.stackLabels&&e.options.stackLabels.animation||!1);var a=this.stackTotalGroup=this.stackTotalGroup||n.g("stack-labels").attr({zIndex:6,opacity:0}).add();a.translate(t.plotLeft,t.plotTop),j(r,(function(e){j(e,(function(e){e.render(a)}))})),a.animate({opacity:1},e)},e}();return function(e){var t=[];e.compose=function(e,n,r){-1===t.indexOf(e)&&(t.push(e),v(e,"init",s),v(e,"destroy",i)),-1===t.indexOf(n)&&(t.push(n),n.prototype.getStacks=o),-1===t.indexOf(r)&&(t.push(r),e=r.prototype,e.getStackIndicator=l,e.modifyStacks=c,e.percentStacker=u,e.setGroupedPoints=d,e.setStackedPoints=f)}}(h||(h={})),h})),t(n,"Series/Line/LineSeries.js",[n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n){var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=n.defined,o=n.merge;return n=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(n,t),n.prototype.drawGraph=function(){var e=this,t=this.options,n=(this.gappedPath||this.getGraphPath).call(this),r=this.chart.styledMode,a=[["graph","highcharts-graph"]];r||a[0].push(t.lineColor||this.color||"#cccccc",t.dashStyle),a=e.getZonesGraphs(a),a.forEach((function(a,o){var i=a[0],s=e[i],l=s?"animate":"attr";s?(s.endX=e.preventGraphAnimation?null:n.xMap,s.animate({d:n})):n.length&&(e[i]=s=e.chart.renderer.path(n).addClass(a[1]).attr({zIndex:1}).add(e.group)),s&&!r&&(i={stroke:a[2],"stroke-width":t.lineWidth||0,fill:e.fillGraph&&e.color||"none"},a[3]?i.dashstyle=a[3]:"square"!==t.linecap&&(i["stroke-linecap"]=i["stroke-linejoin"]="round"),s[l](i).shadow(2>o&&t.shadow)),s&&(s.startX=n.xMap,s.isArea=n.isArea)}))},n.prototype.getGraphPath=function(e,t,n){var r,o=this,i=o.options,s=[],l=[],c=i.step;e=e||o.points;var u=e.reversed;return u&&e.reverse(),(c={right:1,center:2}[c]||c&&3)&&u&&(c=4-c),e=this.getValidPoints(e,!1,!(i.connectNulls&&!t&&!n)),e.forEach((function(u,d){var f=u.plotX,h=u.plotY,p=e[d-1];(u.leftCliff||p&&p.rightCliff)&&!n&&(r=!0),u.isNull&&!a(t)&&0<d?r=!i.connectNulls:u.isNull&&!t?r=!0:(0===d||r?d=[["M",u.plotX,u.plotY]]:o.getPointSpline?d=[o.getPointSpline(e,u,d)]:c?(d=1===c?[["L",p.plotX,h]]:2===c?[["L",(p.plotX+f)/2,p.plotY],["L",(p.plotX+f)/2,h]]:[["L",f,p.plotY]],d.push(["L",f,h])):d=[["L",f,h]],l.push(u.x),c&&(l.push(u.x),2===c&&l.push(u.x)),s.push.apply(s,d),r=!1)})),s.xMap=l,o.graphPath=s},n.prototype.getZonesGraphs=function(e){return this.zones.forEach((function(t,n){n=["zone-graph-"+n,"highcharts-graph highcharts-zone-graph-"+n+" "+(t.className||"")],this.chart.styledMode||n.push(t.color||this.color,t.dashStyle||this.options.dashStyle),e.push(n)}),this),e},n.defaultOptions=o(e.defaultOptions,{}),n}(e),t.registerSeriesType("line",n),n})),t(n,"Series/Area/AreaSeries.js",[n["Core/Color/Color.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n,r){var a=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=e.parse,i=n.seriesTypes.line;e=r.extend;var s=r.merge,l=r.objectEach,c=r.pick;return r=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return a(t,e),t.prototype.drawGraph=function(){this.areaPath=[],e.prototype.drawGraph.apply(this);var t=this,n=this.areaPath,r=this.options,a=[["area","highcharts-area",this.color,r.fillColor]];this.zones.forEach((function(e,n){a.push(["zone-area-"+n,"highcharts-area highcharts-zone-area-"+n+" "+e.className,e.color||t.color,e.fillColor||r.fillColor])})),a.forEach((function(e){var a=e[0],i={},s=t[a],l=s?"animate":"attr";s?(s.endX=t.preventGraphAnimation?null:n.xMap,s.animate({d:n})):(i.zIndex=0,s=t[a]=t.chart.renderer.path(n).addClass(e[1]).add(t.group),s.isArea=!0),t.chart.styledMode||(i.fill=c(e[3],o(e[2]).setOpacity(c(r.fillOpacity,.75)).get())),s[l](i),s.startX=n.xMap,s.shiftUnit=r.step?2:1}))},t.prototype.getGraphPath=function(e){var t=i.prototype.getGraphPath,n=this.options,r=n.stacking,a=this.yAxis,o=[],s=[],l=this.index,u=a.stacking.stacks[this.stackKey],d=n.threshold,f=Math.round(a.getThreshold(n.threshold));n=c(n.connectNulls,"percent"===r);var h=function(t,n,i){var c=e[t];t=r&&u[c.x].points[l];var h=c[i+"Null"]||0;if(i=c[i+"Cliff"]||0,c=!0,i||h){var p=(h?t[0]:t[1])+i,m=t[0]+i;c=!!h}else!r&&e[n]&&e[n].isNull&&(p=m=d);"undefined"!==typeof p&&(s.push({plotX:b,plotY:null===p?f:a.getThreshold(p),isNull:c,isCliff:!0}),o.push({plotX:b,plotY:null===m?f:a.getThreshold(m),doCurve:!1}))};e=e||this.points,r&&(e=this.getStackPoints(e));for(var p=0,m=e.length;p<m;++p){r||(e[p].leftCliff=e[p].rightCliff=e[p].leftNull=e[p].rightNull=void 0);var v=e[p].isNull,b=c(e[p].rectPlotX,e[p].plotX),g=r?c(e[p].yBottom,f):f;v&&!n||(n||h(p,p-1,"left"),v&&!r&&n||(s.push(e[p]),o.push({x:p,plotX:b,plotY:g})),n||h(p,p+1,"right"))}return h=t.call(this,s,!0,!0),o.reversed=!0,v=t.call(this,o,!0,!0),(g=v[0])&&"M"===g[0]&&(v[0]=["L",g[1],g[2]]),v=h.concat(v),v.length&&v.push(["Z"]),t=t.call(this,s,!1,n),v.xMap=h.xMap,this.areaPath=v,t},t.prototype.getStackPoints=function(e){var t=this,n=[],r=[],a=this.xAxis,o=this.yAxis,i=o.stacking.stacks[this.stackKey],s={},u=o.series,d=u.length,f=o.options.reversedStacks?1:-1,h=u.indexOf(t);if(e=e||this.points,this.options.stacking){for(var p=0;p<e.length;p++)e[p].leftNull=e[p].rightNull=void 0,s[e[p].x]=e[p];l(i,(function(e,t){null!==e.total&&r.push(t)})),r.sort((function(e,t){return e-t}));var m=u.map((function(e){return e.visible}));r.forEach((function(e,l){var p,v,b=0;if(s[e]&&!s[e].isNull)n.push(s[e]),[-1,1].forEach((function(n){var a=1===n?"rightNull":"leftNull",o=i[r[l+n]],c=0;if(o)for(var b=h;0<=b&&b<d;){var g=u[b].index;p=o.points[g],p||(g===t.index?s[e][a]=!0:m[b]&&(v=i[e].points[g])&&(c-=v[1]-v[0])),b+=f}s[e][1===n?"rightCliff":"leftCliff"]=c}));else{for(var g=h;0<=g&&g<d;){if(p=i[e].points[u[g].index]){b=p[1];break}g+=f}b=c(b,0),b=o.translate(b,0,1,0,1),n.push({isNull:!0,plotX:a.translate(e,0,0,0,1),x:e,plotY:b,yBottom:b})}}))}return n},t.defaultOptions=s(i.defaultOptions,{threshold:0}),t}(i),e(r.prototype,{singleStacks:!1,drawLegendSymbol:t.drawRectangle}),n.registerSeriesType("area",r),r})),t(n,"Series/Spline/SplineSeries.js",[n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t){var n=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),r=e.seriesTypes.line,a=t.merge,o=t.pick;return t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return n(t,e),t.prototype.getPointSpline=function(e,t,n){var r=t.plotX||0,a=t.plotY||0,i=e[n-1];if(n=e[n+1],i&&!i.isNull&&!1!==i.doCurve&&!t.isCliff&&n&&!n.isNull&&!1!==n.doCurve&&!t.isCliff){e=i.plotY||0;var s=n.plotX||0;n=n.plotY||0;var l=0,c=(1.5*r+(i.plotX||0))/2.5,u=(1.5*a+e)/2.5;s=(1.5*r+s)/2.5;var d=(1.5*a+n)/2.5;s!==c&&(l=(d-u)*(s-r)/(s-c)+a-d),u+=l,d+=l,u>e&&u>a?(u=Math.max(e,a),d=2*a-u):u<e&&u<a&&(u=Math.min(e,a),d=2*a-u),d>n&&d>a?(d=Math.max(n,a),u=2*a-d):d<n&&d<a&&(d=Math.min(n,a),u=2*a-d),t.rightContX=s,t.rightContY=d}return t=["C",o(i.rightContX,i.plotX,0),o(i.rightContY,i.plotY,0),o(c,r,0),o(u,a,0),r,a],i.rightContX=i.rightContY=void 0,t},t.defaultOptions=a(r.defaultOptions),t}(r),e.registerSeriesType("spline",t),t})),t(n,"Series/AreaSpline/AreaSplineSeries.js",[n["Series/Spline/SplineSeries.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n,r){var a=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=n.seriesTypes,i=o.area;o=o.area.prototype;var s=r.extend,l=r.merge;return r=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.points=void 0,e.options=void 0,e}return a(n,t),n.defaultOptions=l(e.defaultOptions,i.defaultOptions),n}(e),s(r.prototype,{getGraphPath:o.getGraphPath,getStackPoints:o.getStackPoints,drawGraph:o.drawGraph,drawLegendSymbol:t.drawRectangle}),n.registerSeriesType("areaspline",r),r})),t(n,"Series/Column/ColumnSeriesDefaults.js",[],(function(){return{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}})),t(n,"Series/Column/ColumnSeries.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Color/Color.js"],n["Series/Column/ColumnSeriesDefaults.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n,r,a,o,i,s){var l=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),c=e.animObject,u=t.parse,d=r.hasTouch;e=r.noop;var f=s.clamp,h=s.defined,p=s.extend,m=s.fireEvent,v=s.isArray,b=s.isNumber,g=s.merge,y=s.pick,O=s.objectEach;return s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.borderWidth=void 0,t.data=void 0,t.group=void 0,t.options=void 0,t.points=void 0,t}return l(t,e),t.prototype.animate=function(e){var t=this,n=this.yAxis,r=t.options,a=this.chart.inverted,o={},i=a?"translateX":"translateY";if(e)o.scaleY=.001,e=f(n.toPixels(r.threshold),n.pos,n.pos+n.len),a?o.translateX=e-n.len:o.translateY=e,t.clipBox&&t.setClip(),t.group.attr(o);else{var s=Number(t.group.attr(i));t.group.animate({scaleY:1},p(c(t.options.animation),{step:function(e,r){t.group&&(o[i]=s+r.pos*(n.pos-s),t.group.attr(o))}}))}},t.prototype.init=function(t,n){e.prototype.init.apply(this,arguments);var r=this;t=r.chart,t.hasRendered&&t.series.forEach((function(e){e.type===r.type&&(e.isDirty=!0)}))},t.prototype.getColumnMetrics=function(){var e=this,t=e.options,n=e.xAxis,r=e.yAxis,a=n.options.reversedStacks;a=n.reversed&&!a||!n.reversed&&a;var o,i={},s=0;!1===t.grouping?s=1:e.chart.series.forEach((function(t){var n=t.yAxis,a=t.options;if(t.type===e.type&&(t.visible||!e.chart.options.chart.ignoreHiddenSeries)&&r.len===n.len&&r.pos===n.pos){if(a.stacking&&"group"!==a.stacking){o=t.stackKey,"undefined"===typeof i[o]&&(i[o]=s++);var l=i[o]}else!1!==a.grouping&&(l=s++);t.columnIndex=l}}));var l=Math.min(Math.abs(n.transA)*(n.ordinal&&n.ordinal.slope||t.pointRange||n.closestPointRange||n.tickInterval||1),n.len),c=l*t.groupPadding,u=(l-2*c)/(s||1);return t=Math.min(t.maxPointWidth||n.len,y(t.pointWidth,u*(1-2*t.pointPadding))),e.columnMetrics={width:t,offset:(u-t)/2+(c+((e.columnIndex||0)+(a?1:0))*u-l/2)*(a?-1:1),paddedWidth:u,columnCount:s},e.columnMetrics},t.prototype.crispCol=function(e,t,n,r){var a=this.chart,o=this.borderWidth,i=-(o%2?.5:0);return o=o%2?.5:1,a.inverted&&a.renderer.isVML&&(o+=1),this.options.crisp&&(n=Math.round(e+n)+i,e=Math.round(e)+i,n-=e),r=Math.round(t+r)+o,i=.5>=Math.abs(t)&&.5<r,t=Math.round(t)+o,r-=t,i&&r&&(--t,r+=1),{x:e,y:t,width:n,height:r}},t.prototype.adjustForMissingColumns=function(e,t,n,r){var a=this,o=this.options.stacking;if(!n.isNull&&1<r.columnCount){var i=this.yAxis.options.reversedStacks,s=0,l=i?0:-r.columnCount;O(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(e){if("number"===typeof n.x){var t=e[n.x.toString()];t&&(e=t.points[a.index],o?(e&&(s=l),t.hasValidPoints&&(i?l++:l--)):v(e)&&(e=Object.keys(t.points).filter((function(e){return!e.match(",")&&t.points[e]&&1<t.points[e].length})).map(parseFloat).sort((function(e,t){return t-e})),s=e.indexOf(a.index),l=e.length))}})),e=(n.plotX||0)+((l-1)*r.paddedWidth+t)/2-t-s*r.paddedWidth}return e},t.prototype.translate=function(){var e=this,t=e.chart,n=e.options,r=e.dense=2>e.closestPointRange*e.xAxis.transA;r=e.borderWidth=y(n.borderWidth,r?0:1);var a=e.xAxis,i=e.yAxis,s=n.threshold,l=e.translatedThreshold=i.getThreshold(s),c=y(n.minPointLength,5),u=e.getColumnMetrics(),d=u.width,p=e.pointXOffset=u.offset,m=e.dataMin,v=e.dataMax,g=e.barW=Math.max(d,1+2*r);t.inverted&&(l-=.5),n.pointPadding&&(g=Math.ceil(g)),o.prototype.translate.apply(e),e.points.forEach((function(r){var o=y(r.yBottom,l),O=999+Math.abs(o),w=r.plotX||0;O=f(r.plotY,-O,i.len+O);var _=Math.min(O,o),j=Math.max(O,o)-_,k=d,x=w+p,S=g;c&&Math.abs(j)<c&&(j=c,w=!i.reversed&&!r.negative||i.reversed&&r.negative,b(s)&&b(v)&&r.y===s&&v<=s&&(i.min||0)<s&&(m!==v||(i.max||0)<=s)&&(w=!w),_=Math.abs(_-l)>c?o-c:l-(w?c:0)),h(r.options.pointWidth)&&(k=S=Math.ceil(r.options.pointWidth),x-=Math.round((k-d)/2)),n.centerInCategory&&(x=e.adjustForMissingColumns(x,k,r,u)),r.barX=x,r.pointWidth=k,r.tooltipPos=t.inverted?[f(i.len+i.pos-t.plotLeft-O,i.pos-t.plotLeft,i.len+i.pos-t.plotLeft),a.len+a.pos-t.plotTop-x-S/2,j]:[a.left-t.plotLeft+x+S/2,f(O+i.pos-t.plotTop,i.pos-t.plotTop,i.len+i.pos-t.plotTop),j],r.shapeType=e.pointClass.prototype.shapeType||"rect",r.shapeArgs=e.crispCol.apply(e,r.isNull?[x,l,S,0]:[x,_,S,j])}))},t.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},t.prototype.pointAttribs=function(e,t){var n=this.options,r=this.pointAttrToOptions||{},a=r.stroke||"borderColor",o=r["stroke-width"]||"borderWidth",i=e&&e.color||this.color,s=e&&e[a]||n[a]||i;r=e&&e.options.dashStyle||n.dashStyle;var l=e&&e[o]||n[o]||this[o]||0,c=y(e&&e.opacity,n.opacity,1);if(e&&this.zones.length){var d=e.getZone();i=e.options.color||d&&(d.color||e.nonZonedColor)||this.color,d&&(s=d.borderColor||s,r=d.dashStyle||r,l=d.borderWidth||l)}return t&&e&&(e=g(n.states[t],e.options.states&&e.options.states[t]||{}),t=e.brightness,i=e.color||"undefined"!==typeof t&&u(i).brighten(e.brightness).get()||i,s=e[a]||s,l=e[o]||l,r=e.dashStyle||r,c=y(e.opacity,c)),a={fill:i,stroke:s,"stroke-width":l,opacity:c},r&&(a.dashstyle=r),a},t.prototype.drawPoints=function(e){void 0===e&&(e=this.points);var t,n=this,r=this.chart,a=n.options,o=r.renderer,i=a.animationLimit||250;e.forEach((function(e){var s=e.graphic,l=!!s,c=s&&r.pointCount<i?"animate":"attr";b(e.plotY)&&null!==e.y?(t=e.shapeArgs,s&&e.hasNewShapeType()&&(s=s.destroy()),n.enabledDataSorting&&(e.startXPos=n.xAxis.reversed?-(t&&t.width||0):n.xAxis.width),s||(e.graphic=s=o[e.shapeType](t).add(e.group||n.group))&&n.enabledDataSorting&&r.hasRendered&&r.pointCount<i&&(s.attr({x:e.startXPos}),l=!0,c="animate"),s&&l&&s[c](g(t)),a.borderRadius&&s[c]({r:a.borderRadius}),r.styledMode||s[c](n.pointAttribs(e,e.selected&&"select")).shadow(!1!==e.allowShadow&&a.shadow,null,a.stacking&&!a.borderRadius),s&&(s.addClass(e.getClassName(),!0),s.attr({visibility:e.visible?"inherit":"hidden"}))):s&&(e.graphic=s.destroy())}))},t.prototype.drawTracker=function(e){void 0===e&&(e=this.points);var t,n=this,r=n.chart,a=r.pointer,o=function(e){var t=a.getPointFromEvent(e);"undefined"!==typeof t&&(a.isDirectTouch=!0,t.onMouseOver(e))};e.forEach((function(e){t=v(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))})),n._hasTracking||(n.trackerGroups.forEach((function(e){n[e]&&(n[e].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",(function(e){a.onTrackerMouseOut(e)})),d&&n[e].on("touchstart",o),!r.styledMode&&n.options.cursor&&n[e].css({cursor:n.options.cursor}))})),n._hasTracking=!0),m(this,"afterDrawTracker")},t.prototype.remove=function(){var e=this,t=e.chart;t.hasRendered&&t.series.forEach((function(t){t.type===e.type&&(t.isDirty=!0)})),o.prototype.remove.apply(e,arguments)},t.defaultOptions=g(o.defaultOptions,n),t}(o),p(s.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:a.drawRectangle,getSymbol:e,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),i.registerSeriesType("column",s),s})),t(n,"Core/Series/DataLabel.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],(function(e,t,n){var r,a=e.getDeferredAnimation,o=t.format,i=n.defined,s=n.extend,l=n.fireEvent,c=n.isArray,u=n.isString,d=n.merge,f=n.objectEach,h=n.pick,p=n.splat;return function(e){function t(e,t,n,r,a){var o=this,l=this.chart,c=this.isCartesian&&l.inverted,u=this.enabledDataSorting,d=e.plotX,f=e.plotY,p=n.rotation,m=n.align,v=i(d)&&i(f)&&l.isInsidePlot(d,Math.round(f),{inverted:c,paneCoordinates:!0,series:o});f=function(n){u&&o.xAxis&&!b&&o.setDataLabelStartPos(e,t,a,v,n)};var b="justify"===h(n.overflow,u?"none":"justify");if(d=this.visible&&!1!==e.visible&&i(d)&&(e.series.forceDL||u&&!b||v||h(n.inside,!!this.options.stacking)&&r&&l.isInsidePlot(d,c?r.x+1:r.y+r.height-1,{inverted:c,paneCoordinates:!0,series:o})),c=e.pos(),d&&c){p&&t.attr({align:m}),m=t.getBBox(!0);var g=[0,0],y=l.renderer.fontMetrics(l.styledMode?void 0:n.style.fontSize,t).b;r=s({x:c[0],y:Math.round(c[1]),width:0,height:0},r),s(n,{width:m.width,height:m.height}),p?(b=!1,g=l.renderer.rotCorr(y,p),y={x:r.x+(n.x||0)+r.width/2+g.x,y:r.y+(n.y||0)+{top:0,middle:.5,bottom:1}[n.verticalAlign]*r.height},g=[m.x-Number(t.attr("x")),m.y-Number(t.attr("y"))],f(y),t[a?"attr":"animate"](y)):(f(r),t.align(n,void 0,r),y=t.alignAttr),b&&0<=r.height?this.justifyDataLabel(t,n,y,m,r,a):h(n.crop,!0)&&(r=y.x,f=y.y,r+=g[0],f+=g[1],d=l.isInsidePlot(r,f,{paneCoordinates:!0,series:o})&&l.isInsidePlot(r+m.width,f+m.height,{paneCoordinates:!0,series:o})),n.shape&&!p&&t[a?"attr":"animate"]({anchorX:c[0],anchorY:c[1]})}a&&u&&(t.placed=!1),d||u&&!b?t.show():(t.hide(),t.placed=!1)}function n(e,t){var n=t.filter;return!n||(t=n.operator,e=e[n.property],n=n.value,">"===t&&e>n||"<"===t&&e<n||">="===t&&e>=n||"<="===t&&e<=n||"=="===t&&e==n||"==="===t&&e===n)}function r(e){void 0===e&&(e=this.points);var t=this,r=t.chart,s=t.options,d=t.hasRendered||0,m=r.renderer,b=r.options.chart,g=b.backgroundColor;b=b.plotBackgroundColor;var y,O=m.getContrast(u(b)&&b||u(g)&&g||"#000000"),w=s.dataLabels;if(g=w.animation,g=w.defer?a(r,g,t):{defer:0,duration:0},w=v(v(r.options.plotOptions&&r.options.plotOptions.series&&r.options.plotOptions.series.dataLabels,r.options.plotOptions&&r.options.plotOptions[t.type]&&r.options.plotOptions[t.type].dataLabels),w),l(this,"drawDataLabels"),c(w)||w.enabled||t._hasPointLabels){var _=t.plotGroup("dataLabelsGroup","data-labels",d?"inherit":"hidden",w.zIndex||6);_.attr({opacity:+d}),!d&&(d=t.dataLabelsGroup)&&(t.visible&&_.show(),d[s.animation?"animate":"attr"]({opacity:1},g)),e.forEach((function(e){y=p(v(w,e.dlOptions||e.options&&e.options.dataLabels)),y.forEach((function(a,l){var c=a.enabled&&(!e.isNull||e.dataLabelOnNull)&&n(e,a),u=e.connectors?e.connectors[l]:e.connector,d=e.dataLabels?e.dataLabels[l]:e.dataLabel,p=!d,v=h(a.distance,e.labelDistance);if(c){var b=e.getLabelConfig(),g=h(a[e.formatPrefix+"Format"],a.format);b=i(g)?o(g,b,r):(a[e.formatPrefix+"Formatter"]||a.formatter).call(b,a),g=a.style;var y=a.rotation;r.styledMode||(g.color=h(a.color,g.color,t.color,"#000000"),"contrast"===g.color?(e.contrastColor=m.getContrast(e.color||t.color),g.color=!i(v)&&a.inside||0>v||s.stacking?e.contrastColor:O):delete e.contrastColor,s.cursor&&(g.cursor=s.cursor));var w={r:a.borderRadius||0,rotation:y,padding:a.padding,zIndex:1};if(!r.styledMode){v=a.backgroundColor;var j=a.borderColor;w.fill="auto"===v?e.color:v,w.stroke="auto"===j?e.color:j,w["stroke-width"]=a.borderWidth}f(w,(function(e,t){"undefined"===typeof e&&delete w[t]}))}!d||c&&i(b)&&!!d.div===!!a.useHTML&&(d.rotation&&a.rotation||d.rotation===a.rotation)||(p=!0,e.dataLabel=d=e.dataLabel&&e.dataLabel.destroy(),e.dataLabels&&(1===e.dataLabels.length?delete e.dataLabels:delete e.dataLabels[l]),l||delete e.dataLabel,u&&(e.connector=e.connector.destroy(),e.connectors&&(1===e.connectors.length?delete e.connectors:delete e.connectors[l]))),c&&i(b)?(d?w.text=b:(e.dataLabels=e.dataLabels||[],d=e.dataLabels[l]=y?m.text(b,0,0,a.useHTML).addClass("highcharts-data-label"):m.label(b,0,0,a.shape,null,null,a.useHTML,null,"data-label"),l||(e.dataLabel=d),d.addClass(" highcharts-data-label-color-"+e.colorIndex+" "+(a.className||"")+(a.useHTML?" highcharts-tracker":""))),d.options=a,d.attr(w),r.styledMode||d.css(g).shadow(a.shadow),(l=a[e.formatPrefix+"TextPath"]||a.textPath)&&!a.useHTML&&(d.setTextPath(e.getDataLabelPath&&e.getDataLabelPath(d)||e.graphic,l),e.dataLabelPath&&!l.enabled&&(e.dataLabelPath=e.dataLabelPath.destroy())),d.added||d.add(_),t.alignDataLabel(e,d,a,null,p)):d&&d.hide()}))}))}l(this,"afterDrawDataLabels")}function m(e,t,n,r,a,o){var i=this.chart,s=t.align,l=t.verticalAlign,c=e.box?0:e.padding||0,u=t.x;u=void 0===u?0:u;var d=t.y;d=void 0===d?0:d;var f=(n.x||0)+c;if(0>f){"right"===s&&0<=u?(t.align="left",t.inside=!0):u-=f;var h=!0}return f=(n.x||0)+r.width-c,f>i.plotWidth&&("left"===s&&0>=u?(t.align="right",t.inside=!0):u+=i.plotWidth-f,h=!0),f=n.y+c,0>f&&("bottom"===l&&0<=d?(t.verticalAlign="top",t.inside=!0):d-=f,h=!0),f=(n.y||0)+r.height-c,f>i.plotHeight&&("top"===l&&0>=d?(t.verticalAlign="bottom",t.inside=!0):d+=i.plotHeight-f,h=!0),h&&(t.x=u,t.y=d,e.placed=!o,e.align(t,void 0,a)),h}function v(e,t){var n,r=[];if(c(e)&&!c(t))r=e.map((function(e){return d(e,t)}));else if(c(t)&&!c(e))r=t.map((function(t){return d(e,t)}));else if(c(e)||c(t))for(n=Math.max(e.length,t.length);n--;)r[n]=d(e[n],t[n]);else r=d(e,t);return r}function b(e,t,n,r,a){var o=this.chart,i=o.inverted,s=this.xAxis,l=s.reversed,c=i?t.height/2:t.width/2;e=(e=e.pointWidth)?e/2:0,t.startXPos=i?a.x:l?-c-e:s.width-c+e,t.startYPos=i?l?this.yAxis.height-c+e:-c-e:a.y,r?"hidden"===t.visibility&&(t.show(),t.attr({opacity:0}).animate({opacity:1})):t.attr({opacity:1}).animate({opacity:0},void 0,t.hide),o.hasRendered&&(n&&t.attr({x:t.startXPos,y:t.startYPos}),t.placed=!0)}var g=[];e.compose=function(e){if(-1===g.indexOf(e)){var n=e.prototype;g.push(e),n.alignDataLabel=t,n.drawDataLabels=r,n.justifyDataLabel=m,n.setDataLabelStartPos=b}}}(r||(r={})),r})),t(n,"Series/Column/ColumnDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n){var r,a=t.series,o=n.merge,i=n.pick;return function(t){function n(e,t,n,r,s){var l=this.chart.inverted,c=e.series,u=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0;c=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0;var d=e.dlBox||e.shapeArgs,f=i(e.below,e.plotY>i(this.translatedThreshold,c)),h=i(n.inside,!!this.options.stacking);d&&(r=o(d),0>r.y&&(r.height+=r.y,r.y=0),d=r.y+r.height-c,0<d&&d<r.height&&(r.height-=d),l&&(r={x:c-r.y-r.height,y:u-r.x-r.width,width:r.height,height:r.width}),h||(l?(r.x+=f?0:r.width,r.width=0):(r.y+=f?r.height:0,r.height=0))),n.align=i(n.align,!l||h?"center":f?"right":"left"),n.verticalAlign=i(n.verticalAlign,l||h?"middle":f?"top":"bottom"),a.prototype.alignDataLabel.call(this,e,t,n,r,s),n.inside&&e.contrastColor&&t.css({color:e.contrastColor})}var r=[];t.compose=function(t){e.compose(a),-1===r.indexOf(t)&&(r.push(t),t.prototype.alignDataLabel=n)}}(r||(r={})),r})),t(n,"Series/Bar/BarSeries.js",[n["Series/Column/ColumnSeries.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n){var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=n.extend,o=n.merge;return n=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(n,t),n.defaultOptions=o(e.defaultOptions,{}),n}(e),a(n.prototype,{inverted:!0}),t.registerSeriesType("bar",n),n})),t(n,"Series/Scatter/ScatterSeriesDefaults.js",[],(function(){return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}})),t(n,"Series/Scatter/ScatterSeries.js",[n["Series/Scatter/ScatterSeriesDefaults.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n){var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=t.seriesTypes,o=a.column,i=a.line;a=n.addEvent;var s=n.extend,l=n.merge;return n=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(n,t),n.prototype.applyJitter=function(){var e=this,t=this.options.jitter,n=this.points.length;t&&this.points.forEach((function(r,a){["x","y"].forEach((function(o,i){var s="plot"+o.toUpperCase();if(t[o]&&!r.isNull){var l=e[o+"Axis"],c=t[o]*l.transA;if(l&&!l.isLog){var u=Math.max(0,r[s]-c);l=Math.min(l.len,r[s]+c),i=1e4*Math.sin(a+i*n),r[s]=u+(l-u)*(i-Math.floor(i)),"x"===o&&(r.clientX=r.plotX)}}}))}))},n.prototype.drawGraph=function(){this.options.lineWidth?t.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},n.defaultOptions=l(i.defaultOptions,e),n}(i),s(n.prototype,{drawTracker:o.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),a(n,"afterTranslate",(function(){this.applyJitter()})),t.registerSeriesType("scatter",n),n})),t(n,"Series/CenteredUtilities.js",[n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Utilities.js"]],(function(e,t,n){var r,a=e.deg2rad,o=n.fireEvent,i=n.isNumber,s=n.pick,l=n.relativeLength;return function(e){e.getCenter=function(){var e=this.options,n=this.chart,r=2*(e.slicedOffset||0),a=n.plotWidth-2*r,c=n.plotHeight-2*r,u=e.center,d=Math.min(a,c),f=e.thickness,h=e.size,p=e.innerSize||0;for("string"===typeof h&&(h=parseFloat(h)),"string"===typeof p&&(p=parseFloat(p)),e=[s(u[0],"50%"),s(u[1],"50%"),s(h&&0>h?void 0:e.size,"100%"),s(p&&0>p?void 0:e.innerSize||0,"0%")],!n.angular||this instanceof t||(e[3]=0),u=0;4>u;++u)h=e[u],n=2>u||2===u&&/%$/.test(h),e[u]=l(h,[a,c,d,e[2]][u])+(n?r:0);return e[3]>e[2]&&(e[3]=e[2]),i(f)&&2*f<e[2]&&0<f&&(e[3]=e[2]-2*f),o(this,"afterGetCenter",{positions:e}),e},e.getStartAndEndRadians=function(e,t){return e=i(e)?e:0,t=i(t)&&t>e&&360>t-e?t:e+360,{start:a*(e+-90),end:a*(t+-90)}}}(r||(r={})),r})),t(n,"Series/Pie/PiePoint.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],(function(e,t,n){var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=e.setAnimation,o=n.addEvent,i=n.defined;e=n.extend;var s=n.isNumber,l=n.pick,c=n.relativeLength;return t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.labelDistance=void 0,t.options=void 0,t.series=void 0,t}return r(t,e),t.prototype.getConnectorPath=function(){var e=this.labelPosition,t=this.series.options.dataLabels,n=this.connectorShapes,r=t.connectorShape;return n[r]&&(r=n[r]),r.call(this,{x:e.final.x,y:e.final.y,alignment:e.alignment},e.connectorPosition,t)},t.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},t.prototype.haloPath=function(e){var t=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(t.x,t.y,t.r+e,t.r+e,{innerR:t.r-1,start:t.start,end:t.end})},t.prototype.init=function(){var t=this;e.prototype.init.apply(this,arguments),this.name=l(this.name,"Slice");var n=function(e){t.slice("select"===e.type)};return o(this,"select",n),o(this,"unselect",n),this},t.prototype.isValid=function(){return s(this.y)&&0<=this.y},t.prototype.setVisible=function(e,t){var n=this,r=this.series,a=r.chart,o=r.options.ignoreHiddenPoint;t=l(t,o),e!==this.visible&&(this.visible=this.options.visible=e="undefined"===typeof e?!this.visible:e,r.options.data[r.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(t){n[t]&&n[t][e?"show":"hide"](e)})),this.legendItem&&a.legend.colorizeItem(this,e),e||"hover"!==this.state||this.setState(""),o&&(r.isDirty=!0),t&&a.redraw())},t.prototype.slice=function(e,t,n){var r=this.series;a(n,r.chart),l(t,!0),this.sliced=this.options.sliced=i(e)?e:!this.sliced,r.options.data[r.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},t}(t),e(t.prototype,{connectorShapes:{fixedOffset:function(e,t,n){var r=t.breakAt;return t=t.touchingSliceAt,[["M",e.x,e.y],n.softConnector?["C",e.x+("left"===e.alignment?-5:5),e.y,2*r.x-t.x,2*r.y-t.y,r.x,r.y]:["L",r.x,r.y],["L",t.x,t.y]]},straight:function(e,t){return t=t.touchingSliceAt,[["M",e.x,e.y],["L",t.x,t.y]]},crookedLine:function(e,t,n){t=t.touchingSliceAt;var r=this.series,a=r.center[0],o=r.chart.plotWidth,i=r.chart.plotLeft;r=e.alignment;var s=this.shapeArgs.r;return n=c(n.crookDistance,1),o="left"===r?a+s+(o+i-a-s)*(1-n):i+(a-s)*n,n=["L",o,e.y],a=!0,("left"===r?o>e.x||o<t.x:o<e.x||o>t.x)&&(a=!1),e=[["M",e.x,e.y]],a&&e.push(n),e.push(["L",t.x,t.y]),e}}}),t})),t(n,"Series/Pie/PieSeriesDefaults.js",[],(function(){return{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}})),t(n,"Series/Pie/PieSeries.js",[n["Series/CenteredUtilities.js"],n["Series/Column/ColumnSeries.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Series/Pie/PiePoint.js"],n["Series/Pie/PieSeriesDefaults.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Utilities.js"]],(function(e,t,n,r,a,o,i,s,l,c){var u=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),d=e.getStartAndEndRadians;n=n.noop;var f=c.clamp,h=c.extend,p=c.fireEvent,m=c.merge,v=c.pick,b=c.relativeLength;return c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.center=void 0,t.data=void 0,t.maxLabelDistance=void 0,t.options=void 0,t.points=void 0,t}return u(t,e),t.prototype.animate=function(e){var t=this,n=t.points,r=t.startAngleRad;e||n.forEach((function(e){var n=e.graphic,a=e.shapeArgs;n&&a&&(n.attr({r:v(e.startR,t.center&&t.center[3]/2),start:r,end:r}),n.animate({r:a.r,start:a.start,end:a.end},t.options.animation))}))},t.prototype.drawEmpty=function(){var e=this.startAngleRad,t=this.endAngleRad,n=this.options;if(0===this.total&&this.center){var r=this.center[0],a=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(r,a,this.center[1]/2,0,e,t).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:l.arc(r,a,this.center[2]/2,0,{start:e,end:t,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":n.borderWidth,fill:n.fillColor||"none",stroke:n.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},t.prototype.drawPoints=function(){var e=this.chart.renderer;this.points.forEach((function(t){t.graphic&&t.hasNewShapeType()&&(t.graphic=t.graphic.destroy()),t.graphic||(t.graphic=e[t.shapeType](t.shapeArgs).add(t.series.group),t.delayedRendering=!0)}))},t.prototype.generatePoints=function(){e.prototype.generatePoints.call(this),this.updateTotals()},t.prototype.getX=function(e,t,n){var r=this.center,a=this.radii?this.radii[n.index]||0:r[2]/2;return e=Math.asin(f((e-r[1])/(a+n.labelDistance),-1,1)),r[0]+(t?-1:1)*Math.cos(e)*(a+n.labelDistance)+(0<n.labelDistance?(t?-1:1)*this.options.dataLabels.padding:0)},t.prototype.hasData=function(){return!!this.processedXData.length},t.prototype.redrawPoints=function(){var e,t,n,r,a=this,o=a.chart,i=o.renderer,s=a.options.shadow;this.drawEmpty(),!s||a.shadowGroup||o.styledMode||(a.shadowGroup=i.g("shadow").attr({zIndex:-1}).add(a.group)),a.points.forEach((function(l){var c={};if(t=l.graphic,!l.isNull&&t){var u=void 0;r=l.shapeArgs,e=l.getTranslate(),o.styledMode||(u=l.shadowGroup,s&&!u&&(u=l.shadowGroup=i.g("shadow").add(a.shadowGroup)),u&&u.attr(e),n=a.pointAttribs(l,l.selected&&"select")),l.delayedRendering?(t.setRadialReference(a.center).attr(r).attr(e),o.styledMode||t.attr(n).attr({"stroke-linejoin":"round"}).shadow(s,u),l.delayedRendering=!1):(t.setRadialReference(a.center),o.styledMode||m(!0,c,n),m(!0,c,r,e),t.animate(c)),t.attr({visibility:l.visible?"inherit":"hidden"}),t.addClass(l.getClassName(),!0)}else t&&(l.graphic=t.destroy())}))},t.prototype.sortByAngle=function(e,t){e.sort((function(e,n){return"undefined"!==typeof e.angle&&(n.angle-e.angle)*t}))},t.prototype.translate=function(e){p(this,"translate"),this.generatePoints();var t=this.options,n=t.slicedOffset,r=n+(t.borderWidth||0),a=d(t.startAngle,t.endAngle),o=this.startAngleRad=a.start;a=(this.endAngleRad=a.end)-o;var i=this.points,s=t.dataLabels.distance;t=t.ignoreHiddenPoint;var l,c=i.length,u=0;for(e||(this.center=e=this.getCenter()),l=0;l<c;l++){var f=i[l],h=o+u*a;!f.isValid()||t&&!f.visible||(u+=f.percentage/100);var m=o+u*a,g={x:e[0],y:e[1],r:e[2]/2,innerR:e[3]/2,start:Math.round(1e3*h)/1e3,end:Math.round(1e3*m)/1e3};f.shapeType="arc",f.shapeArgs=g,f.labelDistance=v(f.options.dataLabels&&f.options.dataLabels.distance,s),f.labelDistance=b(f.labelDistance,g.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,f.labelDistance),m=(m+h)/2,m>1.5*Math.PI?m-=2*Math.PI:m<-Math.PI/2&&(m+=2*Math.PI),f.slicedTranslation={translateX:Math.round(Math.cos(m)*n),translateY:Math.round(Math.sin(m)*n)},g=Math.cos(m)*e[2]/2;var y=Math.sin(m)*e[2]/2;f.tooltipPos=[e[0]+.7*g,e[1]+.7*y],f.half=m<-Math.PI/2||m>Math.PI/2?1:0,f.angle=m,h=Math.min(r,f.labelDistance/5),f.labelPosition={natural:{x:e[0]+g+Math.cos(m)*f.labelDistance,y:e[1]+y+Math.sin(m)*f.labelDistance},final:{},alignment:0>f.labelDistance?"center":f.half?"right":"left",connectorPosition:{breakAt:{x:e[0]+g+Math.cos(m)*h,y:e[1]+y+Math.sin(m)*h},touchingSliceAt:{x:e[0]+g,y:e[1]+y}}}}p(this,"afterTranslate")},t.prototype.updateTotals=function(){var e,t=this.points,n=t.length,r=this.options.ignoreHiddenPoint,a=0;for(e=0;e<n;e++){var o=t[e];!o.isValid()||r&&!o.visible||(a+=o.y)}for(this.total=a,e=0;e<n;e++)o=t[e],o.percentage=0<a&&(o.visible||!r)?o.y/a*100:0,o.total=a},t.defaultOptions=m(i.defaultOptions,o),t}(i),h(c.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:r.drawRectangle,drawTracker:t.prototype.drawTracker,getCenter:e.getCenter,getSymbol:n,isCartesian:!1,noSharedTooltip:!0,pointAttribs:t.prototype.pointAttribs,pointClass:a,requireSorting:!1,searchPoint:n,trackerGroups:["group","dataLabelsGroup"]}),s.registerSeriesType("pie",c),c})),t(n,"Series/Pie/PieDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Globals.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(e,t,n,r,a){var o,i=t.noop,s=n.distribute,l=r.series,c=a.arrayMax,u=a.clamp,d=a.defined,f=a.merge,h=a.pick,p=a.relativeLength;return function(t){function n(){var e,t,n,r,a,o,i,u,p,m,v,b,g=this,y=g.data,O=g.chart,w=g.options.dataLabels||{},_=w.connectorPadding,j=O.plotWidth,k=O.plotHeight,x=O.plotLeft,S=Math.round(O.chartWidth/3),C=g.center,M=C[2]/2,A=C[1],T=[[],[]],E=[0,0,0,0],L=g.dataLabelPositioners;g.visible&&(w.enabled||g._hasPointLabels)&&(y.forEach((function(e){e.dataLabel&&e.visible&&e.dataLabel.shortened&&(e.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),e.dataLabel.shortened=!1)})),l.prototype.drawDataLabels.apply(g),y.forEach((function(e){e.dataLabel&&(e.visible?(T[e.half].push(e),e.dataLabel._pos=null,!d(w.style.width)&&!d(e.options.dataLabels&&e.options.dataLabels.style&&e.options.dataLabels.style.width)&&e.dataLabel.getBBox().width>S&&(e.dataLabel.css({width:Math.round(.7*S)+"px"}),e.dataLabel.shortened=!0)):(e.dataLabel=e.dataLabel.destroy(),e.dataLabels&&1===e.dataLabels.length&&delete e.dataLabels))})),T.forEach((function(t,n){var l,c=t.length,f=[];if(c){if(g.sortByAngle(t,n-.5),0<g.maxLabelDistance){var y=Math.max(0,A-M-g.maxLabelDistance),S=Math.min(A+M+g.maxLabelDistance,O.plotHeight);t.forEach((function(e){0<e.labelDistance&&e.dataLabel&&(e.top=Math.max(0,A-M-e.labelDistance),e.bottom=Math.min(A+M+e.labelDistance,O.plotHeight),l=e.dataLabel.getBBox().height||21,e.distributeBox={target:e.labelPosition.natural.y-e.top+l/2,size:l,rank:e.y},f.push(e.distributeBox))})),y=S+l-y,s(f,y,y/5)}for(v=0;v<c;v++){if(e=t[v],o=e.labelPosition,r=e.dataLabel,m=!1===e.visible?"hidden":"inherit",p=y=o.natural.y,f&&d(e.distributeBox)&&("undefined"===typeof e.distributeBox.pos?m="hidden":(i=e.distributeBox.size,p=L.radialDistributionY(e))),delete e.positionIndex,w.justify)u=L.justify(e,M,C);else switch(w.alignTo){case"connectors":u=L.alignToConnectors(t,n,j,x);break;case"plotEdges":u=L.alignToPlotEdges(r,n,j,x);break;default:u=L.radialDistributionX(g,e,p,y)}r._attr={visibility:m,align:o.alignment},b=e.options.dataLabels||{},r._pos={x:u+h(b.x,w.x)+({left:_,right:-_}[o.alignment]||0),y:p+h(b.y,w.y)-10},o.final.x=u,o.final.y=p,h(w.crop,!0)&&(a=r.getBBox().width,y=null,u-a<_&&1===n?(y=Math.round(a-u+_),E[3]=Math.max(y,E[3])):u+a>j-_&&0===n&&(y=Math.round(u+a-j+_),E[1]=Math.max(y,E[1])),0>p-i/2?E[0]=Math.max(Math.round(i/2-p),E[0]):p+i/2>k&&(E[2]=Math.max(Math.round(p+i/2-k),E[2])),r.sideOverflow=y)}}})),0===c(E)||this.verifyDataLabelOverflow(E))&&(this.placeDataLabels(),this.points.forEach((function(e){var a;(b=f(w,e.options.dataLabels),t=h(b.connectorWidth,1))&&(n=e.connector,(r=e.dataLabel)&&r._pos&&e.visible&&0<e.labelDistance?(m=r._attr.visibility,(a=!n)&&(e.connector=n=O.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+e.colorIndex+(e.className?" "+e.className:"")).add(g.dataLabelsGroup),O.styledMode||n.attr({"stroke-width":t,stroke:b.connectorColor||e.color||"#666666"})),n[a?"attr":"animate"]({d:e.getConnectorPath()}),n.attr("visibility",m)):n&&(e.connector=n.destroy()))})))}function r(){this.points.forEach((function(e){var t,n=e.dataLabel;n&&e.visible&&((t=n._pos)?(n.sideOverflow&&(n._attr.width=Math.max(n.getBBox().width-n.sideOverflow,0),n.css({width:n._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),n.shortened=!0),n.attr(n._attr),n[n.moved?"animate":"attr"](t),n.moved=!0):n&&n.attr({y:-9999})),delete e.distributeBox}),this)}function a(e){var t=this.center,n=this.options,r=n.center,a=n.minSize||80,o=null!==n.size;if(!o){if(null!==r[0])var i=Math.max(t[2]-Math.max(e[1],e[3]),a);else i=Math.max(t[2]-e[1]-e[3],a),t[0]+=(e[3]-e[1])/2;null!==r[1]?i=u(i,a,t[2]-Math.max(e[0],e[2])):(i=u(i,a,t[2]-e[0]-e[2]),t[1]+=(e[0]-e[2])/2),i<t[2]?(t[2]=i,t[3]=Math.min(n.thickness?Math.max(0,i-2*n.thickness):Math.max(0,p(n.innerSize||0,i)),i),this.translate(t),this.drawDataLabels&&this.drawDataLabels()):o=!0}return o}var o=[],m={radialDistributionY:function(e){return e.top+e.distributeBox.pos},radialDistributionX:function(e,t,n,r){return e.getX(n<t.top+2||n>t.bottom-2?r:n,t.half,t)},justify:function(e,t,n){return n[0]+(e.half?-1:1)*(t+e.labelDistance)},alignToPlotEdges:function(e,t,n,r){return e=e.getBBox().width,t?e+r:n-e-r},alignToConnectors:function(e,t,n,r){var a,o=0;return e.forEach((function(e){a=e.dataLabel.getBBox().width,a>o&&(o=a)})),t?o+r:n-o-r}};t.compose=function(t){e.compose(l),-1===o.indexOf(t)&&(o.push(t),t=t.prototype,t.dataLabelPositioners=m,t.alignDataLabel=i,t.drawDataLabels=n,t.placeDataLabels=r,t.verifyDataLabelOverflow=a)}}(o||(o={})),o})),t(n,"Extensions/OverlappingDataLabels.js",[n["Core/Chart/Chart.js"],n["Core/Utilities.js"]],(function(e,t){function n(e,t){var n=!1;if(e){var r=e.newOpacity;e.oldOpacity!==r&&(e.alignAttr&&e.placed?(e[r?"removeClass":"addClass"]("highcharts-data-label-hidden"),n=!0,e.alignAttr.opacity=r,e[e.isOld?"animate":"attr"](e.alignAttr,null,(function(){t.styledMode||e.css({pointerEvents:r?"auto":"none"})})),a(t,"afterHideOverlappingLabel")):e.attr({opacity:r})),e.isOld=!0}return n}var r=t.addEvent,a=t.fireEvent,o=t.isArray,i=t.isNumber,s=t.objectEach,l=t.pick;r(e,"render",(function(){var e=this,t=[];(this.labelCollectors||[]).forEach((function(e){t=t.concat(e())})),(this.yAxis||[]).forEach((function(e){e.stacking&&e.options.stackLabels&&!e.options.stackLabels.allowOverlap&&s(e.stacking.stacks,(function(e){s(e,(function(e){e.label&&t.push(e.label)}))}))})),(this.series||[]).forEach((function(r){var a=r.options.dataLabels;r.visible&&(!1!==a.enabled||r._hasPointLabels)&&(a=function(r){return r.forEach((function(r){r.visible&&(o(r.dataLabels)?r.dataLabels:r.dataLabel?[r.dataLabel]:[]).forEach((function(a){var o=a.options;a.labelrank=l(o.labelrank,r.labelrank,r.shapeArgs&&r.shapeArgs.height),o.allowOverlap?(a.oldOpacity=a.opacity,a.newOpacity=1,n(a,e)):t.push(a)}))}))},a(r.nodes||[]),a(r.points))})),this.hideOverlappingLabels(t)})),e.prototype.hideOverlappingLabels=function(e){var t,r,o,s=this,l=e.length,c=s.renderer,u=!1,d=function(e){var t,n,r=e.box?0:e.padding||0,a=t=0;if(e&&(!e.alignAttr||e.placed)){var o=e.alignAttr||{x:e.attr("x"),y:e.attr("y")},s=e.parentGroup;e.width||(t=e.getBBox(),e.width=t.width,e.height=t.height,t=c.fontMetrics(null,e.element).h);var l=e.width-2*r;return(n={left:"0",center:"0.5",right:"1"}[e.alignValue])?a=+n*l:i(e.x)&&Math.round(e.x)!==e.translateX&&(a=e.x-e.translateX),{x:o.x+(s.translateX||0)+r-(a||0),y:o.y+(s.translateY||0)+r-t,width:e.width-2*r,height:e.height-2*r}}};for(r=0;r<l;r++)(t=e[r])&&(t.oldOpacity=t.opacity,t.newOpacity=1,t.absoluteBox=d(t));for(e.sort((function(e,t){return(t.labelrank||0)-(e.labelrank||0)})),r=0;r<l;r++){var f=(d=e[r])&&d.absoluteBox;for(t=r+1;t<l;++t){var h=(o=e[t])&&o.absoluteBox;!f||!h||d===o||0===d.newOpacity||0===o.newOpacity||"hidden"===d.visibility||"hidden"===o.visibility||h.x>=f.x+f.width||h.x+h.width<=f.x||h.y>=f.y+f.height||h.y+h.height<=f.y||((d.labelrank<o.labelrank?d:o).newOpacity=0)}}e.forEach((function(e){n(e,s)&&(u=!0)})),u&&a(s,"afterHideAllOverlappingLabels")}})),t(n,"Core/Responsive.js",[n["Core/Utilities.js"]],(function(e){var t,n=e.extend,r=e.find,a=e.isArray,o=e.isObject,i=e.merge,s=e.objectEach,l=e.pick,c=e.splat,u=e.uniqueKey;return function(e){var t=[];e.compose=function(e){return-1===t.indexOf(e)&&(t.push(e),n(e.prototype,d.prototype)),e};var d=function(){function e(){}return e.prototype.currentOptions=function(e){function t(e,r,i,l){var u;s(e,(function(e,s){if(!l&&-1<n.collectionsWithUpdate.indexOf(s)&&r[s])for(e=c(e),i[s]=[],u=0;u<Math.max(e.length,r[s].length);u++)r[s][u]&&(void 0===e[u]?i[s][u]=r[s][u]:(i[s][u]={},t(e[u],r[s][u],i[s][u],l+1)));else o(e)?(i[s]=a(e)?[]:{},t(e,r[s]||{},i[s],l+1)):i[s]="undefined"===typeof r[s]?null:r[s]}))}var n=this,r={};return t(e,this.options,r,0),r},e.prototype.matchResponsiveRule=function(e,t){var n=e.condition;(n.callback||function(){return this.chartWidth<=l(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=l(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=l(n.minWidth,0)&&this.chartHeight>=l(n.minHeight,0)}).call(this)&&t.push(e._id)},e.prototype.setResponsive=function(e,t){var n=this,a=this.options.responsive,o=this.currentResponsive,s=[];!t&&a&&a.rules&&a.rules.forEach((function(e){"undefined"===typeof e._id&&(e._id=u()),n.matchResponsiveRule(e,s)}),this),t=i.apply(void 0,s.map((function(e){return r((a||{}).rules||[],(function(t){return t._id===e}))})).map((function(e){return e&&e.chartOptions}))),t.isResponsiveOptions=!0,s=s.toString()||void 0,s!==(o&&o.ruleIds)&&(o&&this.update(o.undoOptions,e,!0),s?(o=this.currentOptions(t),o.isResponsiveOptions=!0,this.currentResponsive={ruleIds:s,mergedOptions:t,undoOptions:o},this.update(t,e,!0)):this.currentResponsive=void 0)},e}()}(t||(t={})),t})),t(n,"masters/highcharts.src.js",[n["Core/Globals.js"],n["Core/Utilities.js"],n["Core/Defaults.js"],n["Core/Animation/Fx.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/FormatUtilities.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Renderer/HTML/HTMLElement.js"],n["Core/Renderer/HTML/HTMLRenderer.js"],n["Core/Axis/Axis.js"],n["Core/Axis/DateTimeAxis.js"],n["Core/Axis/LogarithmicAxis.js"],n["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],n["Core/Axis/Tick.js"],n["Core/Tooltip.js"],n["Core/Series/Point.js"],n["Core/Pointer.js"],n["Core/MSPointer.js"],n["Core/Legend/Legend.js"],n["Core/Chart/Chart.js"],n["Core/Axis/Stacking/StackingAxis.js"],n["Core/Axis/Stacking/StackItem.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Series/Column/ColumnSeries.js"],n["Series/Column/ColumnDataLabel.js"],n["Series/Pie/PieSeries.js"],n["Series/Pie/PieDataLabel.js"],n["Core/Series/DataLabel.js"],n["Core/Responsive.js"],n["Core/Color/Color.js"],n["Core/Time.js"]],(function(e,t,n,r,a,o,i,s,l,c,u,d,f,h,p,m,v,b,g,y,O,w,_,j,k,x,S,C,M,A,T,E,L,P,D){return e.animate=a.animate,e.animObject=a.animObject,e.getDeferredAnimation=a.getDeferredAnimation,e.setAnimation=a.setAnimation,e.stop=a.stop,e.timers=r.timers,e.AST=o,e.Axis=f,e.Chart=_,e.chart=_.chart,e.Fx=r,e.Legend=w,e.PlotLineOrBand=m,e.Point=g,e.Pointer=O.isRequired()?O:y,e.Series=x,e.StackItem=k,e.SVGElement=l,e.SVGRenderer=c,e.Tick=v,e.Time=D,e.Tooltip=b,e.Color=P,e.color=P.parse,d.compose(c),u.compose(l),e.defaultOptions=n.defaultOptions,e.getOptions=n.getOptions,e.time=n.defaultTime,e.setOptions=n.setOptions,e.dateFormat=i.dateFormat,e.format=i.format,e.numberFormat=i.numberFormat,e.addEvent=t.addEvent,e.arrayMax=t.arrayMax,e.arrayMin=t.arrayMin,e.attr=t.attr,e.clearTimeout=t.clearTimeout,e.correctFloat=t.correctFloat,e.createElement=t.createElement,e.css=t.css,e.defined=t.defined,e.destroyObjectProperties=t.destroyObjectProperties,e.discardElement=t.discardElement,e.distribute=s.distribute,e.erase=t.erase,e.error=t.error,e.extend=t.extend,e.extendClass=t.extendClass,e.find=t.find,e.fireEvent=t.fireEvent,e.getMagnitude=t.getMagnitude,e.getStyle=t.getStyle,e.inArray=t.inArray,e.isArray=t.isArray,e.isClass=t.isClass,e.isDOMElement=t.isDOMElement,e.isFunction=t.isFunction,e.isNumber=t.isNumber,e.isObject=t.isObject,e.isString=t.isString,e.keys=t.keys,e.merge=t.merge,e.normalizeTickInterval=t.normalizeTickInterval,e.objectEach=t.objectEach,e.offset=t.offset,e.pad=t.pad,e.pick=t.pick,e.pInt=t.pInt,e.relativeLength=t.relativeLength,e.removeEvent=t.removeEvent,e.seriesType=S.seriesType,e.splat=t.splat,e.stableSort=t.stableSort,e.syncTimeout=t.syncTimeout,e.timeUnits=t.timeUnits,e.uniqueKey=t.uniqueKey,e.useSerialIds=t.useSerialIds,e.wrap=t.wrap,M.compose(C),E.compose(x),h.compose(f),p.compose(f),T.compose(A),m.compose(f),L.compose(_),j.compose(f,_,x),e})),n["masters/highcharts.src.js"]._modules=n,n["masters/highcharts.src.js"]}))},eafd:function(e,t,n){"use strict";(function(e){
/*! #__NO_SIDE_EFFECTS__ */
function n(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}
/**
* @vue/shared v3.4.27
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
Object.defineProperty(t,"__esModule",{value:!0});const r={},a=[],o=()=>{},i=()=>!1,s=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),c=Object.assign,u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,f=(e,t)=>d.call(e,t),h=Array.isArray,p=e=>"[object Map]"===k(e),m=e=>"[object Set]"===k(e),v=e=>"[object Date]"===k(e),b=e=>"[object RegExp]"===k(e),g=e=>"function"===typeof e,y=e=>"string"===typeof e,O=e=>"symbol"===typeof e,w=e=>null!==e&&"object"===typeof e,_=e=>(w(e)||g(e))&&g(e.then)&&g(e.catch),j=Object.prototype.toString,k=e=>j.call(e),x=e=>k(e).slice(8,-1),S=e=>"[object Object]"===k(e),C=e=>y(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,M=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),A=n("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),T=e=>{const t=Object.create(null);return n=>{const r=t[n];return r||(t[n]=e(n))}},E=/-(\w)/g,L=T(e=>e.replace(E,(e,t)=>t?t.toUpperCase():"")),P=/\B([A-Z])/g,D=T(e=>e.replace(P,"-$1").toLowerCase()),N=T(e=>e.charAt(0).toUpperCase()+e.slice(1)),R=T(e=>{const t=e?"on"+N(e):"";return t}),I=(e,t)=>!Object.is(e,t),B=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},F=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},V=e=>{const t=parseFloat(e);return isNaN(t)?e:t},z=e=>{const t=y(e)?Number(e):NaN;return isNaN(t)?e:t};let H;const Y=()=>H||(H="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof e?e:{}),U=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function W(e){return U.test(e)?"__props."+e:`__props[${JSON.stringify(e)}]`}const $={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",HOISTED:-1,"-1":"HOISTED",BAIL:-2,"-2":"BAIL"},q={[1]:"TEXT",[2]:"CLASS",[4]:"STYLE",[8]:"PROPS",[16]:"FULL_PROPS",[32]:"NEED_HYDRATION",[64]:"STABLE_FRAGMENT",[128]:"KEYED_FRAGMENT",[256]:"UNKEYED_FRAGMENT",[512]:"NEED_PATCH",[1024]:"DYNAMIC_SLOTS",[2048]:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},G={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},X={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},K={[1]:"STABLE",[2]:"DYNAMIC",[3]:"FORWARDED"},J="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",Z=n(J),Q=Z,ee=2;function te(e,t=0,n=e.length){let r=e.split(/(\r?\n)/);const a=r.filter((e,t)=>t%2===1);r=r.filter((e,t)=>t%2===0);let o=0;const i=[];for(let s=0;s<r.length;s++)if(o+=r[s].length+(a[s]&&a[s].length||0),o>=t){for(let e=s-ee;e<=s+ee||n>o;e++){if(e<0||e>=r.length)continue;const l=e+1;i.push(`${l}${" ".repeat(Math.max(3-String(l).length,0))}|  ${r[e]}`);const c=r[e].length,u=a[e]&&a[e].length||0;if(e===s){const e=t-(o-(c+u)),r=Math.max(1,n>o?c-e:n-t);i.push("   |  "+" ".repeat(e)+"^".repeat(r))}else if(e>s){if(n>o){const e=Math.max(Math.min(n-o,c),1);i.push("   |  "+"^".repeat(e))}o+=c+u}}break}return i.join("\n")}function ne(e){if(h(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],a=y(r)?ie(r):ne(r);if(a)for(const e in a)t[e]=a[e]}return t}if(y(e)||w(e))return e}const re=/;(?![^(]*\))/g,ae=/:([^]+)/,oe=/\/\*[^]*?\*\//g;function ie(e){const t={};return e.replace(oe,"").split(re).forEach(e=>{if(e){const n=e.split(ae);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function se(e){let t="";if(!e||y(e))return t;for(const n in e){const r=e[n];if(y(r)||"number"===typeof r){const e=n.startsWith("--")?n:D(n);t+=`${e}:${r};`}}return t}function le(e){let t="";if(y(e))t=e;else if(h(e))for(let n=0;n<e.length;n++){const r=le(e[n]);r&&(t+=r+" ")}else if(w(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ce(e){if(!e)return null;let{class:t,style:n}=e;return t&&!y(t)&&(e.class=le(t)),n&&(e.style=ne(n)),e}const ue="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,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,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,summary,template,blockquote,iframe,tfoot",de="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",fe="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",he="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",pe=n(ue),me=n(de),ve=n(fe),be=n(he),ge="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ye=n(ge),Oe=n(ge+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function we(e){return!!e||""===e}const _e=/[>/="'\u0009\u000a\u000c\u0020]/,je={};function ke(e){if(je.hasOwnProperty(e))return je[e];const t=_e.test(e);return t&&console.error("unsafe attribute name: "+e),je[e]=!t}const xe={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},Se=n("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),Ce=n("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan");function Me(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}const Ae=/["'&<>]/;function Te(e){const t=""+e,n=Ae.exec(t);if(!n)return t;let r,a,o="",i=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#39;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}i!==a&&(o+=t.slice(i,a)),i=a+1,o+=r}return i!==a?o+t.slice(i,a):o}const Ee=/^-?>|<!--|-->|--!>|<!-$/g;function Le(e){return e.replace(Ee,"")}function Pe(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=De(e[r],t[r]);return n}function De(e,t){if(e===t)return!0;let n=v(e),r=v(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=O(e),r=O(t),n||r)return e===t;if(n=h(e),r=h(t),n||r)return!(!n||!r)&&Pe(e,t);if(n=w(e),r=w(t),n||r){if(!n||!r)return!1;const a=Object.keys(e).length,o=Object.keys(t).length;if(a!==o)return!1;for(const n in e){const r=e.hasOwnProperty(n),a=t.hasOwnProperty(n);if(r&&!a||!r&&a||!De(e[n],t[n]))return!1}}return String(e)===String(t)}function Ne(e,t){return e.findIndex(e=>De(e,t))}const Re=e=>y(e)?e:null==e?"":h(e)||w(e)&&(e.toString===j||!g(e.toString))?JSON.stringify(e,Ie,2):String(e),Ie=(e,t)=>t&&t.__v_isRef?Ie(e,t.value):p(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Be(t,r)+" =>"]=n,e),{})}:m(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Be(e))}:O(t)?Be(t):!w(t)||h(t)||S(t)?t:String(t),Be=(e,t="")=>{var n;return O(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};t.EMPTY_ARR=a,t.EMPTY_OBJ=r,t.NO=i,t.NOOP=o,t.PatchFlagNames=q,t.PatchFlags=$,t.ShapeFlags=G,t.SlotFlags=X,t.camelize=L,t.capitalize=N,t.def=F,t.escapeHtml=Te,t.escapeHtmlComment=Le,t.extend=c,t.genPropsAccessExp=W,t.generateCodeFrame=te,t.getGlobalThis=Y,t.hasChanged=I,t.hasOwn=f,t.hyphenate=D,t.includeBooleanAttr=we,t.invokeArrayFns=B,t.isArray=h,t.isBooleanAttr=Oe,t.isBuiltInDirective=A,t.isDate=v,t.isFunction=g,t.isGloballyAllowed=Z,t.isGloballyWhitelisted=Q,t.isHTMLTag=pe,t.isIntegerKey=C,t.isKnownHtmlAttr=Se,t.isKnownSvgAttr=Ce,t.isMap=p,t.isMathMLTag=ve,t.isModelListener=l,t.isObject=w,t.isOn=s,t.isPlainObject=S,t.isPromise=_,t.isRegExp=b,t.isRenderableAttrValue=Me,t.isReservedProp=M,t.isSSRSafeAttrName=ke,t.isSVGTag=me,t.isSet=m,t.isSpecialBooleanAttr=ye,t.isString=y,t.isSymbol=O,t.isVoidTag=be,t.looseEqual=De,t.looseIndexOf=Ne,t.looseToNumber=V,t.makeMap=n,t.normalizeClass=le,t.normalizeProps=ce,t.normalizeStyle=ne,t.objectToString=j,t.parseStringStyle=ie,t.propsToAttrMap=xe,t.remove=u,t.slotFlagsText=K,t.stringifyStyle=se,t.toDisplayString=Re,t.toHandlerKey=R,t.toNumber=z,t.toRawType=x,t.toTypeString=k}).call(this,n("c8ba"))},ebe4:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return t}))},ec18:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
function t(e,t,n,r){var a={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?a[n][2]?a[n][2]:a[n][1]:r?a[n][0]:a[n][1]}var n=e.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:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},ec2e:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:0,doy:6}});return t}))},eda5:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}});return t}))},edd0:function(e,t,n){"use strict";var r=n("13d2"),a=n("9bf2");e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),a.f(e,t,n)}},edd9:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return f}));var r=n("7a23"),a=n("4c52"),o=n("304f"),i=n("4cb3"),s=n("0a08"),l=n("8afb"),c=n("27b6"),u=n("bfce");const d=Object(r["ref"])();function f(e,t){const n=Object(r["getCurrentInstance"])()?Object(r["inject"])(a["a"],d):d;return e?Object(r["computed"])(()=>{var r,a;return null!=(a=null==(r=n.value)?void 0:r[e])?a:t}):n}function h(e,t){const n=f(),a=Object(o["d"])(e,Object(r["computed"])(()=>{var e;return(null==(e=n.value)?void 0:e.namespace)||o["a"]})),l=Object(i["b"])(Object(r["computed"])(()=>{var e;return null==(e=n.value)?void 0:e.locale})),c=Object(s["b"])(Object(r["computed"])(()=>{var e;return(null==(e=n.value)?void 0:e.zIndex)||s["a"]})),u=Object(r["computed"])(()=>{var e;return Object(r["unref"])(t)||(null==(e=n.value)?void 0:e.size)||""});return p(Object(r["computed"])(()=>Object(r["unref"])(n)||{})),{ns:a,locale:l,zIndex:c,size:u}}const p=(e,t,n=!1)=>{var u;const h=!!Object(r["getCurrentInstance"])(),p=h?f():void 0,v=null!=(u=null==t?void 0:t.provide)?u:h?r["provide"]:void 0;if(!v)return void Object(l["a"])("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");const b=Object(r["computed"])(()=>{const t=Object(r["unref"])(e);return(null==p?void 0:p.value)?m(p.value,t):t});return v(a["a"],b),v(i["a"],Object(r["computed"])(()=>b.value.locale)),v(o["b"],Object(r["computed"])(()=>b.value.namespace)),v(s["c"],Object(r["computed"])(()=>b.value.zIndex)),v(c["a"],{size:Object(r["computed"])(()=>b.value.size||"")}),!n&&d.value||(d.value=b.value),b},m=(e,t)=>{const n=[...new Set([...Object(u["c"])(e),...Object(u["c"])(t)])],r={};for(const a of n)r[a]=void 0!==t[a]?t[a]:e[a];return r}},f260:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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 t}))},f3ff:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"},r=e.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(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});return r}))},f4e0:function(e,t,n){"use strict";e.exports=n("6dee")},f4eb:function(e,t,n){"use strict";n.r(t),n.d(t,"CompileErrorCodes",(function(){return u})),n.d(t,"CompileWarnCodes",(function(){return s})),n.d(t,"ERROR_DOMAIN",(function(){return S})),n.d(t,"LOCATION_STUB",(function(){return a})),n.d(t,"baseCompile",(function(){return W})),n.d(t,"createCompileError",(function(){return f})),n.d(t,"createCompileWarn",(function(){return c})),n.d(t,"createLocation",(function(){return i})),n.d(t,"createParser",(function(){return A})),n.d(t,"createPosition",(function(){return o})),n.d(t,"defaultOnError",(function(){return h})),n.d(t,"detectHtmlTag",(function(){return m})),n.d(t,"errorMessages",(function(){return d})),n.d(t,"warnMessages",(function(){return l}));var r=n("25de");
/*!
  * message-compiler v9.13.1
  * (c) 2024 kazuya kawaguchi
  * Released under the MIT License.
  */
const a={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function o(e,t,n){return{line:e,column:t,offset:n}}function i(e,t,n){const r={start:e,end:t};return null!=n&&(r.source=n),r}const s={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},l={[s.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function c(e,t,...n){const r=e,a={message:String(r),code:e};return t&&(a.location=t),a}const u={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},d={[u.EXPECTED_TOKEN]:"Expected token: '{0}'",[u.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[u.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[u.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[u.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[u.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[u.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[u.EMPTY_PLACEHOLDER]:"Empty placeholder",[u.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[u.INVALID_LINKED_FORMAT]:"Invalid linked format",[u.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[u.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[u.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[u.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[u.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[u.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function f(e,t,n={}){const{domain:r,messages:a,args:o}=n,i=e,s=new SyntaxError(String(i));return s.code=e,t&&(s.location=t),s.domain=r,s}function h(e){throw e}const p=/<\/?[\w\s="/.':;#-\/]+>/,m=e=>p.test(e),v=" ",b="\r",g="\n",y=String.fromCharCode(8232),O=String.fromCharCode(8233);function w(e){const t=e;let n=0,r=1,a=1,o=0;const i=e=>t[e]===b&&t[e+1]===g,s=e=>t[e]===g,l=e=>t[e]===O,c=e=>t[e]===y,u=e=>i(e)||s(e)||l(e)||c(e),d=()=>n,f=()=>r,h=()=>a,p=()=>o,m=e=>i(e)||l(e)||c(e)?g:t[e],v=()=>m(n),w=()=>m(n+o);function _(){return o=0,u(n)&&(r++,a=0),i(n)&&n++,n++,a++,t[n]}function j(){return i(n+o)&&o++,o++,t[n+o]}function k(){n=0,r=1,a=1,o=0}function x(e=0){o=e}function S(){const e=n+o;while(e!==n)_();o=0}return{index:d,line:f,column:h,peekOffset:p,charAt:m,currentChar:v,currentPeek:w,next:_,peek:j,reset:k,resetPeek:x,skipToPeek:S}}const _=void 0,j="'",k="tokenizer";function x(e,t={}){const n=!1!==t.location,r=w(e),a=()=>r.index(),s=()=>o(r.line(),r.column(),r.index()),l=s(),c=a(),d={currentType:14,offset:c,startLoc:l,endLoc:l,lastType:14,lastOffset:c,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},h=()=>d,{onError:p}=t;function m(e,t,r,...a){const o=h();if(t.column+=r,t.offset+=r,p){const r=n?i(o.startLoc,t):null,s=f(e,r,{domain:k,args:a});p(s)}}function b(e,t,r){e.endLoc=s(),e.currentType=t;const a={type:t};return n&&(a.loc=i(e.startLoc,e.endLoc)),null!=r&&(a.value=r),a}const y=e=>b(e,14);function O(e,t){return e.currentChar()===t?(e.next(),t):(m(u.EXPECTED_TOKEN,s(),0,t),"")}function x(e){let t="";while(e.currentPeek()===v||e.currentPeek()===g)t+=e.currentPeek(),e.peek();return t}function S(e){const t=x(e);return e.skipToPeek(),t}function C(e){if(e===_)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function M(e){if(e===_)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}function A(e,t){const{currentType:n}=t;if(2!==n)return!1;x(e);const r=C(e.currentPeek());return e.resetPeek(),r}function T(e,t){const{currentType:n}=t;if(2!==n)return!1;x(e);const r="-"===e.currentPeek()?e.peek():e.currentPeek(),a=M(r);return e.resetPeek(),a}function E(e,t){const{currentType:n}=t;if(2!==n)return!1;x(e);const r=e.currentPeek()===j;return e.resetPeek(),r}function L(e,t){const{currentType:n}=t;if(8!==n)return!1;x(e);const r="."===e.currentPeek();return e.resetPeek(),r}function P(e,t){const{currentType:n}=t;if(9!==n)return!1;x(e);const r=C(e.currentPeek());return e.resetPeek(),r}function D(e,t){const{currentType:n}=t;if(8!==n&&12!==n)return!1;x(e);const r=":"===e.currentPeek();return e.resetPeek(),r}function N(e,t){const{currentType:n}=t;if(10!==n)return!1;const r=()=>{const t=e.currentPeek();return"{"===t?C(e.peek()):!("@"===t||"%"===t||"|"===t||":"===t||"."===t||t===v||!t)&&(t===g?(e.peek(),r()):B(e,!1))},a=r();return e.resetPeek(),a}function R(e){x(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function I(e){const t=x(e),n="%"===e.currentPeek()&&"{"===e.peek();return e.resetPeek(),{isModulo:n,hasSpace:t.length>0}}function B(e,t=!0){const n=(t=!1,r="",a=!1)=>{const o=e.currentPeek();return"{"===o?"%"!==r&&t:"@"!==o&&o?"%"===o?(e.peek(),n(t,"%",!0)):"|"===o?!("%"!==r&&!a)||!(r===v||r===g):o===v?(e.peek(),n(!0,v,a)):o!==g||(e.peek(),n(!0,g,a)):"%"===r||t},r=n();return t&&e.resetPeek(),r}function F(e,t){const n=e.currentChar();return n===_?_:t(n)?(e.next(),n):null}function V(e){const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t}function z(e){return F(e,V)}function H(e){const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t||45===t}function Y(e){return F(e,H)}function U(e){const t=e.charCodeAt(0);return t>=48&&t<=57}function W(e){return F(e,U)}function $(e){const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function q(e){return F(e,$)}function G(e){let t="",n="";while(t=W(e))n+=t;return n}function X(e){S(e);const t=e.currentChar();return"%"!==t&&m(u.EXPECTED_TOKEN,s(),0,t),e.next(),"%"}function K(e){let t="";while(1){const n=e.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if("%"===n){if(!B(e))break;t+=n,e.next()}else if(n===v||n===g)if(B(e))t+=n,e.next();else{if(R(e))break;t+=n,e.next()}else t+=n,e.next()}return t}function J(e){S(e);let t="",n="";while(t=Y(e))n+=t;return e.currentChar()===_&&m(u.UNTERMINATED_CLOSING_BRACE,s(),0),n}function Z(e){S(e);let t="";return"-"===e.currentChar()?(e.next(),t+="-"+G(e)):t+=G(e),e.currentChar()===_&&m(u.UNTERMINATED_CLOSING_BRACE,s(),0),t}function Q(e){return e!==j&&e!==g}function ee(e){S(e),O(e,"'");let t="",n="";while(t=F(e,Q))n+="\\"===t?te(e):t;const r=e.currentChar();return r===g||r===_?(m(u.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),r===g&&(e.next(),O(e,"'")),n):(O(e,"'"),n)}function te(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),"\\"+t;case"u":return ne(e,t,4);case"U":return ne(e,t,6);default:return m(u.UNKNOWN_ESCAPE_SEQUENCE,s(),0,t),""}}function ne(e,t,n){O(e,t);let r="";for(let a=0;a<n;a++){const n=q(e);if(!n){m(u.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${t}${r}${e.currentChar()}`);break}r+=n}return`\\${t}${r}`}function re(e){return"{"!==e&&"}"!==e&&e!==v&&e!==g}function ae(e){S(e);let t="",n="";while(t=F(e,re))n+=t;return n}function oe(e){let t="",n="";while(t=z(e))n+=t;return n}function ie(e){const t=n=>{const r=e.currentChar();return"{"!==r&&"%"!==r&&"@"!==r&&"|"!==r&&"("!==r&&")"!==r&&r?r===v?n:(n+=r,e.next(),t(n)):n};return t("")}function se(e){S(e);const t=O(e,"|");return S(e),t}function le(e,t){let n=null;const r=e.currentChar();switch(r){case"{":return t.braceNest>=1&&m(u.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),e.next(),n=b(t,2,"{"),S(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&m(u.EMPTY_PLACEHOLDER,s(),0),e.next(),n=b(t,3,"}"),t.braceNest--,t.braceNest>0&&S(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&m(u.UNTERMINATED_CLOSING_BRACE,s(),0),n=ce(e,t)||y(t),t.braceNest=0,n;default:{let r=!0,a=!0,o=!0;if(R(e))return t.braceNest>0&&m(u.UNTERMINATED_CLOSING_BRACE,s(),0),n=b(t,1,se(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(5===t.currentType||6===t.currentType||7===t.currentType))return m(u.UNTERMINATED_CLOSING_BRACE,s(),0),t.braceNest=0,ue(e,t);if(r=A(e,t))return n=b(t,5,J(e)),S(e),n;if(a=T(e,t))return n=b(t,6,Z(e)),S(e),n;if(o=E(e,t))return n=b(t,7,ee(e)),S(e),n;if(!r&&!a&&!o)return n=b(t,13,ae(e)),m(u.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,n.value),S(e),n;break}}return n}function ce(e,t){const{currentType:n}=t;let r=null;const a=e.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||a!==g&&a!==v||m(u.INVALID_LINKED_FORMAT,s(),0),a){case"@":return e.next(),r=b(t,8,"@"),t.inLinked=!0,r;case".":return S(e),e.next(),b(t,9,".");case":":return S(e),e.next(),b(t,10,":");default:return R(e)?(r=b(t,1,se(e)),t.braceNest=0,t.inLinked=!1,r):L(e,t)||D(e,t)?(S(e),ce(e,t)):P(e,t)?(S(e),b(t,12,oe(e))):N(e,t)?(S(e),"{"===a?le(e,t)||r:b(t,11,ie(e))):(8===n&&m(u.INVALID_LINKED_FORMAT,s(),0),t.braceNest=0,t.inLinked=!1,ue(e,t))}}function ue(e,t){let n={type:14};if(t.braceNest>0)return le(e,t)||y(t);if(t.inLinked)return ce(e,t)||y(t);const r=e.currentChar();switch(r){case"{":return le(e,t)||y(t);case"}":return m(u.UNBALANCED_CLOSING_BRACE,s(),0),e.next(),b(t,3,"}");case"@":return ce(e,t)||y(t);default:{if(R(e))return n=b(t,1,se(e)),t.braceNest=0,t.inLinked=!1,n;const{isModulo:r,hasSpace:a}=I(e);if(r)return a?b(t,0,K(e)):b(t,4,X(e));if(B(e))return b(t,0,K(e));break}}return n}function de(){const{currentType:e,offset:t,startLoc:n,endLoc:o}=d;return d.lastType=e,d.lastOffset=t,d.lastStartLoc=n,d.lastEndLoc=o,d.offset=a(),d.startLoc=s(),r.currentChar()===_?b(d,14):ue(r,d)}return{nextToken:de,currentOffset:a,currentPosition:s,context:h}}const S="parser",C=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function M(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):"�"}}}function A(e={}){const t=!1!==e.location,{onError:n,onWarn:a}=e;function o(e,r,a,o,...s){const l=e.currentPosition();if(l.offset+=o,l.column+=o,n){const e=t?i(a,l):null,o=f(r,e,{domain:S,args:s});n(o)}}function l(e,n,r,o,...s){const l=e.currentPosition();if(l.offset+=o,l.column+=o,a){const e=t?i(r,l):null;a(c(n,e,s))}}function d(e,n,r){const a={type:e};return t&&(a.start=n,a.end=n,a.loc={start:r,end:r}),a}function h(e,n,r,a){a&&(e.type=a),t&&(e.end=n,e.loc&&(e.loc.end=r))}function p(e,t){const n=e.context(),r=d(3,n.offset,n.startLoc);return r.value=t,h(r,e.currentOffset(),e.currentPosition()),r}function m(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:a}=n,o=d(5,r,a);return o.index=parseInt(t,10),e.nextToken(),h(o,e.currentOffset(),e.currentPosition()),o}function v(e,t,n){const r=e.context(),{lastOffset:a,lastStartLoc:o}=r,i=d(4,a,o);return i.key=t,!0===n&&(i.modulo=!0),e.nextToken(),h(i,e.currentOffset(),e.currentPosition()),i}function b(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:a}=n,o=d(9,r,a);return o.value=t.replace(C,M),e.nextToken(),h(o,e.currentOffset(),e.currentPosition()),o}function g(e){const t=e.nextToken(),n=e.context(),{lastOffset:r,lastStartLoc:a}=n,i=d(8,r,a);return 12!==t.type?(o(e,u.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,0),i.value="",h(i,r,a),{nextConsumeToken:t,node:i}):(null==t.value&&o(e,u.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,0,T(t)),i.value=t.value||"",h(i,e.currentOffset(),e.currentPosition()),{node:i})}function y(e,t){const n=e.context(),r=d(7,n.offset,n.startLoc);return r.value=t,h(r,e.currentOffset(),e.currentPosition()),r}function O(e){const t=e.context(),n=d(6,t.offset,t.startLoc);let r=e.nextToken();if(9===r.type){const t=g(e);n.modifier=t.node,r=t.nextConsumeToken||e.nextToken()}switch(10!==r.type&&o(e,u.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,T(r)),r=e.nextToken(),2===r.type&&(r=e.nextToken()),r.type){case 11:null==r.value&&o(e,u.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,T(r)),n.key=y(e,r.value||"");break;case 5:null==r.value&&o(e,u.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,T(r)),n.key=v(e,r.value||"");break;case 6:null==r.value&&o(e,u.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,T(r)),n.key=m(e,r.value||"");break;case 7:null==r.value&&o(e,u.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,T(r)),n.key=b(e,r.value||"");break;default:{o(e,u.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc,0);const a=e.context(),i=d(7,a.offset,a.startLoc);return i.value="",h(i,a.offset,a.startLoc),n.key=i,h(n,a.offset,a.startLoc),{nextConsumeToken:r,node:n}}}return h(n,e.currentOffset(),e.currentPosition()),{node:n}}function w(e){const t=e.context(),n=1===t.currentType?e.currentOffset():t.offset,r=1===t.currentType?t.endLoc:t.startLoc,a=d(2,n,r);a.items=[];let i=null,c=null;do{const n=i||e.nextToken();switch(i=null,n.type){case 0:null==n.value&&o(e,u.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,T(n)),a.items.push(p(e,n.value||""));break;case 6:null==n.value&&o(e,u.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,T(n)),a.items.push(m(e,n.value||""));break;case 4:c=!0;break;case 5:null==n.value&&o(e,u.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,T(n)),a.items.push(v(e,n.value||"",!!c)),c&&(l(e,s.USE_MODULO_SYNTAX,t.lastStartLoc,0,T(n)),c=null);break;case 7:null==n.value&&o(e,u.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,T(n)),a.items.push(b(e,n.value||""));break;case 8:{const t=O(e);a.items.push(t.node),i=t.nextConsumeToken||null;break}}}while(14!==t.currentType&&1!==t.currentType);const f=1===t.currentType?t.lastOffset:e.currentOffset(),g=1===t.currentType?t.lastEndLoc:e.currentPosition();return h(a,f,g),a}function _(e,t,n,r){const a=e.context();let i=0===r.items.length;const s=d(1,t,n);s.cases=[],s.cases.push(r);do{const t=w(e);i||(i=0===t.items.length),s.cases.push(t)}while(14!==a.currentType);return i&&o(e,u.MUST_HAVE_MESSAGES_IN_PLURAL,n,0),h(s,e.currentOffset(),e.currentPosition()),s}function j(e){const t=e.context(),{offset:n,startLoc:r}=t,a=w(e);return 14===t.currentType?a:_(e,n,r,a)}function k(n){const a=x(n,Object(r["assign"])({},e)),i=a.context(),s=d(0,i.offset,i.startLoc);return t&&s.loc&&(s.loc.source=n),s.body=j(a),e.onCacheKey&&(s.cacheKey=e.onCacheKey(n)),14!==i.currentType&&o(a,u.UNEXPECTED_LEXICAL_ANALYSIS,i.lastStartLoc,0,n[i.offset]||""),h(s,a.currentOffset(),a.currentPosition()),s}return{parse:k}}function T(e){if(14===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function E(e,t={}){const n={ast:e,helpers:new Set},r=()=>n,a=e=>(n.helpers.add(e),e);return{context:r,helper:a}}function L(e,t){for(let n=0;n<e.length;n++)P(e[n],t)}function P(e,t){switch(e.type){case 1:L(e.cases,t),t.helper("plural");break;case 2:L(e.items,t);break;case 6:{const n=e;P(n.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function D(e,t={}){const n=E(e);n.helper("normalize"),e.body&&P(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function N(e){const t=e.body;return 2===t.type?R(t):t.cases.forEach(e=>R(e)),e}function R(e){if(1===e.items.length){const t=e.items[0];3!==t.type&&9!==t.type||(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(3!==r.type&&9!==r.type)break;if(null==r.value)break;t.push(r.value)}if(t.length===e.items.length){e.static=Object(r["join"])(t);for(let t=0;t<e.items.length;t++){const n=e.items[t];3!==n.type&&9!==n.type||delete n.value}}}}function I(e){switch(e.t=e.type,e.type){case 0:{const t=e;I(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let e=0;e<n.length;e++)I(n[e]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let e=0;e<n.length;e++)I(n[e]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;I(t.key),t.k=t.key,delete t.key,t.modifier&&(I(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:0}delete e.type}function B(e,t){const{sourceMap:n,filename:r,breakLineCode:a,needIndent:o}=t,i=!1!==t.location,s={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:o,indentLevel:0};i&&e.loc&&(s.source=e.loc.source);const l=()=>s;function c(e,t){s.code+=e}function u(e,t=!0){const n=t?a:"";c(o?n+"  ".repeat(e):n)}function d(e=!0){const t=++s.indentLevel;e&&u(t)}function f(e=!0){const t=--s.indentLevel;e&&u(t)}function h(){u(s.indentLevel)}const p=e=>"_"+e,m=()=>s.needIndent;return{context:l,push:c,indent:d,deindent:f,newline:h,helper:p,needIndent:m}}function F(e,t){const{helper:n}=e;e.push(n("linked")+"("),Y(e,t.key),t.modifier?(e.push(", "),Y(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function V(e,t){const{helper:n,needIndent:r}=e;e.push(n("normalize")+"(["),e.indent(r());const a=t.items.length;for(let o=0;o<a;o++){if(Y(e,t.items[o]),o===a-1)break;e.push(", ")}e.deindent(r()),e.push("])")}function z(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(n("plural")+"(["),e.indent(r());const a=t.cases.length;for(let n=0;n<a;n++){if(Y(e,t.cases[n]),n===a-1)break;e.push(", ")}e.deindent(r()),e.push("])")}}function H(e,t){t.body?Y(e,t.body):e.push("null")}function Y(e,t){const{helper:n}=e;switch(t.type){case 0:H(e,t);break;case 1:z(e,t);break;case 2:V(e,t);break;case 6:F(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:0}}const U=(e,t={})=>{const n=Object(r["isString"])(t.mode)?t.mode:"normal",a=Object(r["isString"])(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,i=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",s=t.needIndent?t.needIndent:"arrow"!==n,l=e.helpers||[],c=B(e,{mode:n,filename:a,sourceMap:o,breakLineCode:i,needIndent:s});c.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(s),l.length>0&&(c.push(`const { ${Object(r["join"])(l.map(e=>`${e}: _${e}`),", ")} } = ctx`),c.newline()),c.push("return "),Y(c,e),c.deindent(s),c.push("}"),delete e.helpers;const{code:u,map:d}=c.context();return{ast:e,code:u,map:d?d.toJSON():void 0}};function W(e,t={}){const n=Object(r["assign"])({},t),a=!!n.jit,o=!!n.minify,i=null==n.optimize||n.optimize,s=A(n),l=s.parse(e);return a?(i&&N(l),o&&I(l),{ast:l,code:""}):(D(l,n),U(l,n))}},f512:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bounds=t.random=void 0;var r=n("740b");function a(e){if(void 0===e&&(e={}),void 0!==e.count&&null!==e.count){var t=e.count,n=[];e.count=void 0;while(t>n.length)e.count=null,e.seed&&(e.seed+=1),n.push(a(e));return e.count=t,n}var l=o(e.hue,e.seed),c=i(l,e),u=s(l,c,e),d={h:l,s:c,v:u};return void 0!==e.alpha&&(d.a=e.alpha),new r.TinyColor(d)}function o(e,t){var n=c(e),r=d(n,t);return r<0&&(r=360+r),r}function i(e,t){if("monochrome"===t.hue)return 0;if("random"===t.luminosity)return d([0,100],t.seed);var n=u(e).saturationRange,r=n[0],a=n[1];switch(t.luminosity){case"bright":r=55;break;case"dark":r=a-10;break;case"light":a=55;break;default:break}return d([r,a],t.seed)}function s(e,t,n){var r=l(e,t),a=100;switch(n.luminosity){case"dark":a=r+20;break;case"light":r=(a+r)/2;break;case"random":r=0,a=100;break;default:break}return d([r,a],n.seed)}function l(e,t){for(var n=u(e).lowerBounds,r=0;r<n.length-1;r++){var a=n[r][0],o=n[r][1],i=n[r+1][0],s=n[r+1][1];if(t>=a&&t<=i){var l=(s-o)/(i-a),c=o-l*a;return l*t+c}}return 0}function c(e){var n=parseInt(e,10);if(!Number.isNaN(n)&&n<360&&n>0)return[n,n];if("string"===typeof e){var a=t.bounds.find((function(t){return t.name===e}));if(a){var o=f(a);if(o.hueRange)return o.hueRange}var i=new r.TinyColor(e);if(i.isValid){var s=i.toHsv().h;return[s,s]}}return[0,360]}function u(e){e>=334&&e<=360&&(e-=360);for(var n=0,r=t.bounds;n<r.length;n++){var a=r[n],o=f(a);if(o.hueRange&&e>=o.hueRange[0]&&e<=o.hueRange[1])return o}throw Error("Color not found")}function d(e,t){if(void 0===t)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var n=e[1]||1,r=e[0]||0;t=(9301*t+49297)%233280;var a=t/233280;return Math.floor(r+a*(n-r))}function f(e){var t=e.lowerBounds[0][0],n=e.lowerBounds[e.lowerBounds.length-1][0],r=e.lowerBounds[e.lowerBounds.length-1][1],a=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,n],brightnessRange:[r,a]}}t.random=a,t.bounds=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}]},f5df:function(e,t,n){"use strict";var r=n("00ee"),a=n("1626"),o=n("c6b6"),i=n("b622"),s=i("toStringTag"),l=Object,c="Arguments"===o(function(){return arguments}()),u=function(e,t){try{return e[t]}catch(n){}};e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=u(t=l(e),s))?n:c?o(t):"Object"===(r=o(t))&&a(t.callee)?"Arguments":r}},f5f6:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=e=>e},f6b4:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=["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"],n=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],r=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],a=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],o=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],i=e.defineLocale("gd",{months:t,monthsShort:n,monthsParseExact:!0,weekdays:r,weekdaysShort:a,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(e){var t=1===e?"d":e%10===2?"na":"mh";return e+t},week:{dow:1,doy:4}});return i}))},f6b49:function(e,t,n){"use strict";var r=n("c532");function a(){this.handlers=[]}a.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},a.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},a.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=a},f6f2:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return h})),n.d(t,"f",(function(){return m})),n.d(t,"g",(function(){return b})),n.d(t,"h",(function(){return y})),n.d(t,"i",(function(){return w})),n.d(t,"j",(function(){return j}));var r=n("7a23"),a=Object(r["defineComponent"])({name:"ArrowDown",__name:"arrow-down",setup(e){return(e,t)=>(Object(r["openBlock"])(),Object(r["createElementBlock"])("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Object(r["createElementVNode"])("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}}),o=a,i=Object(r["defineComponent"])({name:"ArrowLeft",__name:"arrow-left",setup(e){return(e,t)=>(Object(r["openBlock"])(),Object(r["createElementBlock"])("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Object(r["createElementVNode"])("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}}),s=i,l=Object(r["defineComponent"])({name:"ArrowRight",__name:"arrow-right",setup(e){return(e,t)=>(Object(r["openBlock"])(),Object(r["createElementBlock"])("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Object(r["createElementVNode"])("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),c=l,u=Object(r["defineComponent"])({name:"Check",__name:"check",setup(e){return(e,t)=>(Object(r["openBlock"])(),Object(r["createElementBlock"])("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Object(r["createElementVNode"])("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),d=u,f=Object(r["defineComponent"])({name:"Close",__name:"close",setup(e){return(e,t)=>(Object(r["openBlock"])(),Object(r["createElementBlock"])("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Object(r["createElementVNode"])("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),h=f,p=Object(r["defineComponent"])({name:"Loading",__name:"loading",setup(e){return(e,t)=>(Object(r["openBlock"])(),Object(r["createElementBlock"])("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Object(r["createElementVNode"])("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}}),m=p,v=Object(r["defineComponent"])({name:"Lock",__name:"lock",setup(e){return(e,t)=>(Object(r["openBlock"])(),Object(r["createElementBlock"])("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Object(r["createElementVNode"])("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),Object(r["createElementVNode"])("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m192-160v-64a192 192 0 1 0-384 0v64zM512 64a256 256 0 0 1 256 256v128H256V320A256 256 0 0 1 512 64"})]))}}),b=v,g=Object(r["defineComponent"])({name:"QuestionFilled",__name:"question-filled",setup(e){return(e,t)=>(Object(r["openBlock"])(),Object(r["createElementBlock"])("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Object(r["createElementVNode"])("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"})]))}}),y=g,O=Object(r["defineComponent"])({name:"RefreshLeft",__name:"refresh-left",setup(e){return(e,t)=>(Object(r["openBlock"])(),Object(r["createElementBlock"])("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Object(r["createElementVNode"])("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),w=O,_=Object(r["defineComponent"])({name:"Search",__name:"search",setup(e){return(e,t)=>(Object(r["openBlock"])(),Object(r["createElementBlock"])("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Object(r["createElementVNode"])("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),j=_;
/*! Element Plus Icons Vue v2.3.1 */},f772:function(e,t,n){"use strict";var r=n("5692"),a=n("90e3"),o=r("keys");e.exports=function(e){return o[e]||(o[e]=a(e))}},f906:function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){"use strict";var e={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"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,r=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,o={},i=function(e){return(e=+e)+(e>68?1900:2e3)},s=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],c=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},u=function(e,t){var n,r=o.meridiem;if(r){for(var a=1;a<=24;a+=1)if(e.indexOf(r(a,0,t))>-1){n=a>12;break}}else n=e===(t?"pm":"PM");return n},d={A:[a,function(e){this.afternoon=u(e,!1)}],a:[a,function(e){this.afternoon=u(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[r,s("seconds")],ss:[r,s("seconds")],m:[r,s("minutes")],mm:[r,s("minutes")],H:[r,s("hours")],h:[r,s("hours")],HH:[r,s("hours")],hh:[r,s("hours")],D:[r,s("day")],DD:[n,s("day")],Do:[a,function(e){var t=o.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],M:[r,s("month")],MM:[n,s("month")],MMM:[a,function(e){var t=c("months"),n=(c("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[a,function(e){var t=c("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,s("year")],YY:[n,function(e){this.year=i(e)}],YYYY:[/\d{4}/,s("year")],Z:l,ZZ:l};function f(n){var r,a;r=n,a=o&&o.formats;for(var i=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var o=r&&r.toUpperCase();return n||a[r]||e[r]||a[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=i.length,l=0;l<s;l+=1){var c=i[l],u=d[c],f=u&&u[0],h=u&&u[1];i[l]=h?{regex:f,parser:h}:c.replace(/^\[|\]$/g,"")}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var a=i[n];if("string"==typeof a)r+=a.length;else{var o=a.regex,l=a.parser,c=e.slice(r),u=o.exec(c)[0];l.call(t,u),e=e.replace(u,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(i=e.parseTwoDigitYear);var r=t.prototype,a=r.parse;r.parse=function(e){var t=e.date,r=e.utc,i=e.args;this.$u=r;var s=i[1];if("string"==typeof s){var l=!0===i[2],c=!0===i[3],u=l||c,d=i[2];c&&(d=i[2]),o=this.$locale(),!l&&d&&(o=n.Ls[d]),this.$d=function(e,t,n){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var r=f(t)(e),a=r.year,o=r.month,i=r.day,s=r.hours,l=r.minutes,c=r.seconds,u=r.milliseconds,d=r.zone,h=new Date,p=i||(a||o?1:h.getDate()),m=a||h.getFullYear(),v=0;a&&!o||(v=o>0?o-1:h.getMonth());var b=s||0,g=l||0,y=c||0,O=u||0;return d?new Date(Date.UTC(m,v,p,b,g,y,O+60*d.offset*1e3)):n?new Date(Date.UTC(m,v,p,b,g,y,O)):new Date(m,v,p,b,g,y,O)}catch(e){return new Date("")}}(t,s,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date("")),o={}}else if(s instanceof Array)for(var h=s.length,p=1;p<=h;p+=1){i[1]=s[p-1];var m=n.apply(this,i);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}p===h&&(this.$d=new Date(""))}else a.call(this,e)}}}))},facd:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^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],a=/^(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=e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,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:r,longMonthsParse:r,shortMonthsParse:r,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(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return o}))},fb60:function(e,t,n){"use strict";var r=n("7917"),a=n("c532");function o(e){r.call(this,null==e?"canceled":e,r.ERR_CANCELED),this.name="CanceledError"}a.inherits(o,r,{__CANCEL__:!0}),e.exports=o},fc6a:function(e,t,n){"use strict";var r=n("44ad"),a=n("1d80");e.exports=function(e){return r(a(e))}},fc75:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.names=void 0,t.names={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},fd7e:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t}))},fdbf:function(e,t,n){"use strict";var r=n("04f8");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},ffff:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
//! moment.js locale configuration
var t=e.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 t}))}}]);
//# sourceMappingURL=chunk-vendors.4398ab87.js.map