ecinc-cloud-moahtgl 9.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,31 @@
1
+ (function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["ecmoahtgl"]=e():t["ecmoahtgl"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"010e":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}});return e}))},"02b7":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".radio-type[data-v-1f5a3130]{padding:0 5px;line-height:32px;background:#f7f8fa;color:#666;font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-all;text-align:center;border-radius:3px}.wfTypeKey[data-v-1f5a3130]{background:#1689fa;color:#fff}[data-v-1f5a3130] .no-footer-btn .btn-group-container{display:none}[data-v-1f5a3130] .no-footer-btn>div:first-child{height:100%!important}[data-v-1f5a3130] .busi-form-container{height:100vh!important}",""]),t.exports=e},"02fb":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(t,e){return 12===t&&(t=0),"രാത്രി"===e&&t>=4||"ഉച്ച കഴിഞ്ഞ്"===e||"വൈകുന്നേരം"===e?t+12:t},meridiem:function(t,e,n){return t<4?"രാത്രി":t<12?"രാവിലെ":t<17?"ഉച്ച കഴിഞ്ഞ്":t<20?"വൈകുന്നേരം":"രാത്രി"}});return e}))},"03ec":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(t){var e=/сехет$/i.exec(t)?"рен":/ҫул$/i.exec(t)?"тан":"ран";return t+e},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}});return e}))},"0506":function(t,e,n){"use strict";n("ebc5")},"0558":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";function e(t){return t%100===11||t%10!==1}function n(t,n,i,r){var a=t+" ";switch(i){case"s":return n||r?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return e(t)?a+(n||r?"sekúndur":"sekúndum"):a+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return e(t)?a+(n||r?"mínútur":"mínútum"):n?a+"mínúta":a+"mínútu";case"hh":return e(t)?a+(n||r?"klukkustundir":"klukkustundum"):a+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return e(t)?n?a+"dagar":a+(r?"daga":"dögum"):n?a+"dagur":a+(r?"dag":"degi");case"M":return n?"mánuður":r?"mánuð":"mánuði";case"MM":return e(t)?n?a+"mánuðir":a+(r?"mánuði":"mánuðum"):n?a+"mánuður":a+(r?"mánuð":"mánuði");case"y":return n||r?"ár":"ári";case"yy":return e(t)?a+(n||r?"ár":"árum"):a+(n||r?"ár":"ári")}}var i=t.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s: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 i}))},"0721":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))},"079e":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("ja",{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/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,n){return t<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(t){return t.week()<this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(t){return this.week()<t.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}});return e}))},"0a3c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e="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("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(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,a=t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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",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 a}))},"0a84":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}});return e}))},"0b27":function(t,e,n){"use strict";n("6857")},"0bd4":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".content[data-v-188aa5e8]{display:inline-block;overflow:hidden;text-overflow:ellipsis;cursor:pointer;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}",""]),t.exports=e},"0caa":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";function e(t,e,n,i){var r={s:["thodde secondanim","thodde second"],ss:[t+" secondanim",t+" second"],m:["eka mintan","ek minute"],mm:[t+" mintanim",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voranim",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disanim",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineanim",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsanim",t+" vorsam"]};return e?r[n][0]:r[n][1]}var n=t.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_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[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokalli"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokalli":t<16?"donparam":t<20?"sanje":"rati"}});return n}))},"0e49":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}});return e}))},"0e57":function(t,e,n){"use strict";n("220f")},"0e6b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e}))},"0e81":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},n=t.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".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 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",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'ıncı";var i=t%10,r=t%100-i,a=t>=100?100:null;return t+(e[i]||e[r]||e[a])}},week:{dow:1,doy:7}});return n}))},"0f14":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))},"0f28":function(t,e,n){var i=n("ac4a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("b5d6eed0",i,!0,{sourceMap:!1,shadowMode:!1})},"0f38":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}});return e}))},"0ff2":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return e}))},"10e8":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(t){return"หลังเที่ยง"===t},meridiem:function(t,e,n){return t<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return e}))},"13e9":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}},n=t.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"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",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var t=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"дан",dd:e.translate,M:"месец",MM:e.translate,y:"годину",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},1526:function(t,e,n){var i=n("674c");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("7de62948",i,!0,{sourceMap:!1,shadowMode:!1})},"1b45":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},"1cfd":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(t){return function(e,r,a,o){var s=n(e),l=i[t][n(e)];return 2===s&&(l=l[r?0:1]),l.replace(/%d/i,e)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],o=t.defineLocale("ar-ly",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<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")},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return o}))},"1f4b":function(t,e,n){var i=n("c86e");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("4c1ea8b6",i,!0,{sourceMap:!1,shadowMode:!1})},"1fc1":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";function e(t,e){var n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]}function n(t,n,i){var r={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:n?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===i?n?"хвіліна":"хвіліну":"h"===i?n?"гадзіна":"гадзіну":t+" "+e(r[i],+t)}var i=t.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:n,mm:n,h:n,hh:n,d:"дзень",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(t){return/^(дня|вечара)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночы":t<12?"раніцы":t<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!==2&&t%10!==3||t%100===12||t%100===13?t+"-ы":t+"-і";case"D":return t+"-га";default:return t}},week:{dow:1,doy:7}});return i}))},"201b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".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:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(t){return/(წამი|წუთი|საათი|წელი)/.test(t)?t.replace(/ი$/,"ში"):t+"ში"},past:function(t){return/(წამი|წუთი|საათი|დღე|თვე)/.test(t)?t.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(t)?t.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(t){return 0===t?t:1===t?t+"-ლი":t<20||t<=100&&t%20===0||t%100===0?"მე-"+t:t+"-ე"},week:{dow:1,doy:7}});return e}))},"220f":function(t,e,n){var i=n("02b7");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("65ffd0a1",i,!0,{sourceMap:!1,shadowMode:!1})},"22f8":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"일";case"M":return t+"월";case"w":case"W":return t+"주";default:return t}},meridiemParse:/오전|오후/,isPM:function(t){return"오후"===t},meridiem:function(t,e,n){return t<12?"오전":"오후"}});return e}))},"23d1":function(t,e,n){"use strict";n("78c2")},2421:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"],r=t.defineLocale("ku",{months:i,monthsShort:i,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(t){return/ئێواره‌/.test(t)},meridiem:function(t,e,n){return t<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return r}))},"24fb":function(t,e,n){"use strict";function i(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"===typeof btoa){var a=r(i),o=i.sources.map((function(t){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(t," */")}));return[n].concat(o).concat([a]).join("\n")}return[n].join("\n")}function r(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(n," */")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=i(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,i){"string"===typeof t&&(t=[[null,t,""]]);var r={};if(i)for(var a=0;a<this.length;a++){var o=this[a][0];null!=o&&(r[o]=!0)}for(var s=0;s<t.length;s++){var l=[].concat(t[s]);i&&r[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),e.push(l))}},e}},2554:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi",i;case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta",i;case"h":return e?"jedan sat":"jednog sata";case"hh":return i+=1===t?"sat":2===t||3===t||4===t?"sata":"sati",i;case"dd":return i+=1===t?"dan":"dana",i;case"MM":return i+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci",i;case"yy":return i+=1===t?"godina":2===t||3===t||4===t?"godine":"godina",i}}var n=t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"26f9":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(t,e,n,i){return e?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"}function i(t,e,n,i){return e?a(n)[0]:i?a(n)[1]:a(n)[2]}function r(t){return t%10===0||t>10&&t<20}function a(t){return e[t].split("_")}function o(t,e,n,o){var s=t+" ";return 1===t?s+i(t,e,n[0],o):e?s+(r(t)?a(n)[1]:a(n)[0]):o?s+a(n)[1]:s+(r(t)?a(n)[1]:a(n)[2])}var s=t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:n,ss:o,m:i,mm:o,h:i,hh:o,d:i,dd:o,M:i,MM:o,y:i,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}});return s}))},2921:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return t<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 rồi 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",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}});return e}))},"293c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}},n=t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var t=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"2bfb":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}});return e}))},"2e8c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}});return e}))},"2f62":function(t,e,n){"use strict";(function(t){
2
+ /*!
3
+ * vuex v3.6.2
4
+ * (c) 2021 Evan You
5
+ * @license MIT
6
+ */
7
+ function i(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:i});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[i].concat(t.init):i,n.call(this,t)}}function i(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}n.d(e,"a",(function(){return C}));var r="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},a=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(t){a&&(t._devtoolHook=a,a.emit("vuex:init",t),a.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){a.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){a.emit("vuex:action",t,e)}),{prepend:!0}))}function s(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function l(t){return null!==t&&"object"===typeof t}function u(t){return t&&"function"===typeof t.then}function d(t,e){return function(){return t(e)}}var c=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},h={namespaced:{configurable:!0}};h.namespaced.get=function(){return!!this._rawModule.namespaced},c.prototype.addChild=function(t,e){this._children[t]=e},c.prototype.removeChild=function(t){delete this._children[t]},c.prototype.getChild=function(t){return this._children[t]},c.prototype.hasChild=function(t){return t in this._children},c.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},c.prototype.forEachChild=function(t){s(this._children,t)},c.prototype.forEachGetter=function(t){this._rawModule.getters&&s(this._rawModule.getters,t)},c.prototype.forEachAction=function(t){this._rawModule.actions&&s(this._rawModule.actions,t)},c.prototype.forEachMutation=function(t){this._rawModule.mutations&&s(this._rawModule.mutations,t)},Object.defineProperties(c.prototype,h);var p=function(t){this.register([],t,!1)};function f(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return void 0;f(t.concat(i),e.getChild(i),n.modules[i])}}p.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},p.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},p.prototype.update=function(t){f([],this.root,t)},p.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var r=new c(e,n);if(0===t.length)this.root=r;else{var a=this.get(t.slice(0,-1));a.addChild(t[t.length-1],r)}e.modules&&s(e.modules,(function(e,r){i.register(t.concat(r),e,n)}))},p.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},p.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var m;var g=function(t){var e=this;void 0===t&&(t={}),!m&&"undefined"!==typeof window&&window.Vue&&I(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new p(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new m,this._makeLocalGettersCache=Object.create(null);var r=this,a=this,s=a.dispatch,l=a.commit;this.dispatch=function(t,e){return s.call(r,t,e)},this.commit=function(t,e,n){return l.call(r,t,e,n)},this.strict=i;var u=this._modules.root.state;M(this,u,[],this._modules.root),x(this,u),n.forEach((function(t){return t(e)}));var d=void 0!==t.devtools?t.devtools:m.config.devtools;d&&o(this)},y={state:{configurable:!0}};function _(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function v(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;M(t,n,[],t._modules.root,!0),x(t,n,e)}function x(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var r=t._wrappedGetters,a={};s(r,(function(e,n){a[n]=d(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var o=m.config.silent;m.config.silent=!0,t._vm=new m({data:{$$state:e},computed:a}),m.config.silent=o,t.strict&&T(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),m.nextTick((function(){return i.$destroy()})))}function M(t,e,n,i,r){var a=!n.length,o=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[o],t._modulesNamespaceMap[o]=i),!a&&!r){var s=k(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit((function(){m.set(s,l,i.state)}))}var u=i.context=b(t,o,n);i.forEachMutation((function(e,n){var i=o+n;L(t,i,e,u)})),i.forEachAction((function(e,n){var i=e.root?n:o+n,r=e.handler||e;S(t,i,r,u)})),i.forEachGetter((function(e,n){var i=o+n;D(t,i,e,u)})),i.forEachChild((function(i,a){M(t,e,n.concat(a),i,r)}))}function b(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var a=Y(n,i,r),o=a.payload,s=a.options,l=a.type;return s&&s.root||(l=e+l),t.dispatch(l,o)},commit:i?t.commit:function(n,i,r){var a=Y(n,i,r),o=a.payload,s=a.options,l=a.type;s&&s.root||(l=e+l),t.commit(l,o,s)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return w(t,e)}},state:{get:function(){return k(t.state,n)}}}),r}function w(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,i)===e){var a=r.slice(i);Object.defineProperty(n,a,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function L(t,e,n,i){var r=t._mutations[e]||(t._mutations[e]=[]);r.push((function(e){n.call(t,i.state,e)}))}function S(t,e,n,i){var r=t._actions[e]||(t._actions[e]=[]);r.push((function(e){var r=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return u(r)||(r=Promise.resolve(r)),t._devtoolHook?r.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):r}))}function D(t,e,n,i){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)})}function T(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function k(t,e){return e.reduce((function(t,e){return t[e]}),t)}function Y(t,e,n){return l(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function I(t){m&&t===m||(m=t,i(m))}y.state.get=function(){return this._vm._data.$$state},y.state.set=function(t){0},g.prototype.commit=function(t,e,n){var i=this,r=Y(t,e,n),a=r.type,o=r.payload,s=(r.options,{type:a,payload:o}),l=this._mutations[a];l&&(this._withCommit((function(){l.forEach((function(t){t(o)}))})),this._subscribers.slice().forEach((function(t){return t(s,i.state)})))},g.prototype.dispatch=function(t,e){var n=this,i=Y(t,e),r=i.type,a=i.payload,o={type:r,payload:a},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(o,n.state)}))}catch(u){0}var l=s.length>1?Promise.all(s.map((function(t){return t(a)}))):s[0](a);return new Promise((function(t,e){l.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(o,n.state)}))}catch(u){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(o,n.state,t)}))}catch(u){0}e(t)}))}))}},g.prototype.subscribe=function(t,e){return _(t,this._subscribers,e)},g.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return _(n,this._actionSubscribers,e)},g.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},g.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},g.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),M(this,this.state,t,this._modules.get(t),n.preserveState),x(this,this.state)},g.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=k(e.state,t.slice(0,-1));m.delete(n,t[t.length-1])})),v(this)},g.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},g.prototype.hotUpdate=function(t){this._modules.update(t),v(this,!0)},g.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(g.prototype,y);O((function(t,e){var n={};return A(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=H(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"===typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0})),n})),O((function(t,e){var n={};return A(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.commit;if(t){var a=H(this.$store,"mapMutations",t);if(!a)return;i=a.context.commit}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n}));var C=O((function(t,e){var n={};return A(e).forEach((function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||H(this.$store,"mapGetters",t))return this.$store.getters[r]},n[i].vuex=!0})),n}));O((function(t,e){var n={};return A(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var a=H(this.$store,"mapActions",t);if(!a)return;i=a.context.dispatch}return"function"===typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n}));function A(t){return P(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function P(t){return Array.isArray(t)||l(t)}function O(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function H(t,e,n){var i=t._modulesNamespaceMap[n];return i}}).call(this,n("c8ba"))},"300a":function(t,e,n){var i=n("8ced");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("3c4a6c76",i,!0,{sourceMap:!1,shadowMode:!1})},3886:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}});return e}))},"39a6":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e}))},"39bd":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function i(t,e,n,i){var r="";if(e)switch(n){case"s":r="काही सेकंद";break;case"ss":r="%d सेकंद";break;case"m":r="एक मिनिट";break;case"mm":r="%d मिनिटे";break;case"h":r="एक तास";break;case"hh":r="%d तास";break;case"d":r="एक दिवस";break;case"dd":r="%d दिवस";break;case"M":r="एक महिना";break;case"MM":r="%d महिने";break;case"y":r="एक वर्ष";break;case"yy":r="%d वर्षे";break}else switch(n){case"s":r="काही सेकंदां";break;case"ss":r="%d सेकंदां";break;case"m":r="एका मिनिटा";break;case"mm":r="%d मिनिटां";break;case"h":r="एका तासा";break;case"hh":r="%d तासां";break;case"d":r="एका दिवसा";break;case"dd":r="%d दिवसां";break;case"M":r="एका महिन्या";break;case"MM":r="%d महिन्यां";break;case"y":r="एका वर्षा";break;case"yy":r="%d वर्षां";break}return r.replace(/%d/i,t)}var r=t.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात्री"===e?t<4?t:t+12:"सकाळी"===e?t:"दुपारी"===e?t>=10?t:t+12:"सायंकाळी"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"रात्री":t<10?"सकाळी":t<17?"दुपारी":t<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}});return r}))},"3a39":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},i=t.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(t,e){return 12===t&&(t=0),"राति"===e?t<4?t:t+12:"बिहान"===e?t:"दिउँसो"===e?t>=10?t:t+12:"साँझ"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"राति":t<12?"बिहान":t<16?"दिउँसो":t<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});return i}))},"3b1b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"},n=t.defineLocale("tg",{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",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(t,e){return 12===t&&(t=0),"шаб"===e?t<4?t:t+12:"субҳ"===e?t:"рӯз"===e?t>=11?t:t+12:"бегоҳ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"шаб":t<11?"субҳ":t<16?"рӯз":t<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(t){var n=t%10,i=t>=100?100:null;return t+(e[t]||e[n]||e[i])},week:{dow:1,doy:7}});return n}))},"3c0d":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),i=[/^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],r=/^(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 a(t){return t>1&&t<5&&1!==~~(t/10)}function o(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"pár sekund":"pár sekundami";case"ss":return e||i?r+(a(t)?"sekundy":"sekund"):r+"sekundami";case"m":return e?"minuta":i?"minutu":"minutou";case"mm":return e||i?r+(a(t)?"minuty":"minut"):r+"minutami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?r+(a(t)?"hodiny":"hodin"):r+"hodinami";case"d":return e||i?"den":"dnem";case"dd":return e||i?r+(a(t)?"dny":"dní"):r+"dny";case"M":return e||i?"měsíc":"měsícem";case"MM":return e||i?r+(a(t)?"měsíce":"měsíců"):r+"měsíci";case"y":return e||i?"rok":"rokem";case"yy":return e||i?r+(a(t)?"roky":"let"):r+"lety"}}var s=t.defineLocale("cs",{months:e,monthsShort:n,monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},"3d74":function(t,e,n){"use strict";n("0f28")},"3de5":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},i=t.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(t){return t+"வது"},preparse:function(t){return t.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(t,e,n){return t<2?" யாமம்":t<6?" வைகறை":t<10?" காலை":t<14?" நண்பகல்":t<18?" எற்பாடு":t<22?" மாலை":" யாமம்"},meridiemHour:function(t,e){return 12===t&&(t=0),"யாமம்"===e?t<2?t:t+12:"வைகறை"===e||"காலை"===e||"நண்பகல்"===e&&t>=10?t:t+12},week:{dow:0,doy:6}});return i}))},"3e92":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},i=t.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(t){return t.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತ್ರಿ"===e?t<4?t:t+12:"ಬೆಳಿಗ್ಗೆ"===e?t:"ಮಧ್ಯಾಹ್ನ"===e?t>=10?t:t+12:"ಸಂಜೆ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ರಾತ್ರಿ":t<10?"ಬೆಳಿಗ್ಗೆ":t<17?"ಮಧ್ಯಾಹ್ನ":t<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(t){return t+"ನೇ"},week:{dow:0,doy:6}});return i}))},"423e":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}});return e}))},"440c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";function e(t,e,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?r[n][0]:r[n][1]}function n(t){var e=t.substr(0,t.indexOf(" "));return r(e)?"a "+t:"an "+t}function i(t){var e=t.substr(0,t.indexOf(" "));return r(e)?"viru "+t:"virun "+t}function r(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10,n=t/10;return r(0===e?n:e)}if(t<1e4){while(t>=10)t/=10;return r(t)}return t/=1e3,r(t)}var a=t.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:i,s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},4678:function(t,e,n){var i={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-SG":"cdab","./en-SG.js":"cdab","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-nz":"6f50","./en-nz.js":"6f50","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-tw":"90ea","./zh-tw.js":"90ea"};function r(t){var e=a(t);return n(e)}function a(t){var e=i[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}r.keys=function(){return Object.keys(i)},r.resolve=a,t.exports=r,r.id="4678"},"485c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},n=t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(t){return/^(gündüz|axşam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gecə":t<12?"səhər":t<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)return t+"-ıncı";var n=t%10,i=t%100-n,r=t>=100?100:null;return t+(e[n]||e[i]||e[r])},week:{dow:1,doy:7}});return n}))},4979:function(t,e,n){"use strict";n("1526")},"499e":function(t,e,n){"use strict";function i(t,e){for(var n=[],i={},r=0;r<e.length;r++){var a=e[r],o=a[0],s=a[1],l=a[2],u=a[3],d={id:t+":"+r,css:s,media:l,sourceMap:u};i[o]?i[o].parts.push(d):n.push(i[o]={id:o,parts:[d]})}return n}n.r(e),n.d(e,"default",(function(){return f}));var r="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!r)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 a={},o=r&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,u=!1,d=function(){},c=null,h="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,n,r){u=n,c=r||{};var o=i(t,e);return m(o),function(e){for(var n=[],r=0;r<o.length;r++){var s=o[r],l=a[s.id];l.refs--,n.push(l)}e?(o=i(t,e),m(o)):o=[];for(r=0;r<n.length;r++){l=n[r];if(0===l.refs){for(var u=0;u<l.parts.length;u++)l.parts[u]();delete a[l.id]}}}}function m(t){for(var e=0;e<t.length;e++){var n=t[e],i=a[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(y(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var o=[];for(r=0;r<n.parts.length;r++)o.push(y(n.parts[r]));a[n.id]={id:n.id,refs:1,parts:o}}}}function g(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function y(t){var e,n,i=document.querySelector("style["+h+'~="'+t.id+'"]');if(i){if(u)return d;i.parentNode.removeChild(i)}if(p){var r=l++;i=s||(s=g()),e=v.bind(null,i,r,!1),n=v.bind(null,i,r,!0)}else i=g(),e=x.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}var _=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function v(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=_(e,r);else{var a=document.createTextNode(r),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(a,o[e]):t.appendChild(a)}}function x(t,e){var n=e.css,i=e.media,r=e.sourceMap;if(i&&t.setAttribute("media",i),c.ssrId&&t.setAttribute(h,e.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},"49ab":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return e}))},"4ba9":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi",i;case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta",i;case"h":return e?"jedan sat":"jednog sata";case"hh":return i+=1===t?"sat":2===t||3===t||4===t?"sata":"sati",i;case"dd":return i+=1===t?"dan":"dana",i;case"MM":return i+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci",i;case"yy":return i+=1===t?"godina":2===t||3===t||4===t?"godine":"godina",i}}var n=t.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"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:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"4e7c":function(t,e,n){"use strict";n("e71b")},5038:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return e}))},5120:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Méitheamh","Iúil","Lúnasa","Meán Fómhair","Deaireadh Fómhair","Samhain","Nollaig"],n=["Eaná","Feab","Márt","Aibr","Beal","Méit","Iúil","Lúna","Meán","Deai","Samh","Noll"],i=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Satharn"],r=["Dom","Lua","Mái","Céa","Déa","hAo","Sat"],a=["Do","Lu","Má","Ce","Dé","hA","Sa"],o=t.defineLocale("ga",{months:e,monthsShort:n,monthsParseExact:!0,weekdays:i,weekdaysShort:r,weekdaysMin:a,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é aig] 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í",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){var e=1===t?"d":t%10===2?"na":"mh";return t+e},week:{dow:1,doy:4}});return o}))},5294:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"],i=t.defineLocale("ur",{months:e,monthsShort:e,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(t){return"شام"===t},meridiem:function(t,e,n){return t<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}});return i}))},"52bd":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,n){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return e}))},"55c9":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e="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("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(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,a=t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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",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 a}))},5768:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".form-slicer[data-v-bb33d52c]{height:10px;background-color:#f7f8fa}",""]),t.exports=e},"576c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e}))},"585e":function(t,e,n){"use strict";n("c49f")},"598a":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],i=t.defineLocale("dv",{months:e,monthsShort:e,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(t){return"މފ"===t},meridiem:function(t,e,n){return t<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:7,doy:12}});return i}))},"5b14":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(t,e,n,i){var r=t;switch(n){case"s":return i||e?"néhány másodperc":"néhány másodperce";case"ss":return r+(i||e)?" másodperc":" másodperce";case"m":return"egy"+(i||e?" perc":" perce");case"mm":return r+(i||e?" perc":" perce");case"h":return"egy"+(i||e?" óra":" órája");case"hh":return r+(i||e?" óra":" órája");case"d":return"egy"+(i||e?" nap":" napja");case"dd":return r+(i||e?" nap":" napja");case"M":return"egy"+(i||e?" hónap":" hónapja");case"MM":return r+(i||e?" hónap":" hónapja");case"y":return"egy"+(i||e?" év":" éve");case"yy":return r+(i||e?" év":" éve")}return""}function i(t){return(t?"":"[múlt] ")+"["+e[this.day()]+"] LT[-kor]"}var r=t.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return t<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.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 r}))},"5c3a":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}});return e}))},"5cbb":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(t,e){return 12===t&&(t=0),"రాత్రి"===e?t<4?t:t+12:"ఉదయం"===e?t:"మధ్యాహ్నం"===e?t>=10?t:t+12:"సాయంత్రం"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"రాత్రి":t<10?"ఉదయం":t<17?"మధ్యాహ్నం":t<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}});return e}))},"5fbd":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"e":1===e||2===e?"a":"e";return t+n},week:{dow:1,doy:4}});return e}))},6117:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(t,e){return 12===t&&(t=0),"يېرىم كېچە"===e||"سەھەر"===e||"چۈشتىن بۇرۇن"===e?t:"چۈشتىن كېيىن"===e||"كەچ"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"يېرىم كېچە":i<900?"سەھەر":i<1130?"چۈشتىن بۇرۇن":i<1230?"چۈش":i<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-كۈنى";case"w":case"W":return t+"-ھەپتە";default:return t}},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:7}});return e}))},"62e4":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},6403:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return e}))},"65db":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_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:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,n){return t>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 [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});return e}))},"674c":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".ghsj .title[data-v-8a3ec806]{font-weight:600;border-bottom:1px solid #e4e4e4}.ghsj .show_date[data-v-8a3ec806],.ghsj .title[data-v-8a3ec806]{text-align:center;line-height:50px}",""]),t.exports=e},6784:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"],i=t.defineLocale("sd",{months:e,monthsShort:e,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(t){return"شام"===t},meridiem:function(t,e,n){return t<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}});return i}))},6857:function(t,e,n){var i=n("ac81");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("13837cd9",i,!0,{sourceMap:!1,shadowMode:!1})},6887:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";function e(t,e,n){var i={mm:"munutenn",MM:"miz",dd:"devezh"};return t+" "+r(i[n],t)}function n(t){switch(i(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}function i(t){return t>9?i(t%10):t}function r(t,e){return 2===e?a(t):t}function a(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}var o=t.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:n},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){var e=1===t?"añ":"vet";return t+e},week:{dow:1,doy:4}});return o}))},"688b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},6909:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&n<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}});return e}))},"6bb3":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".right-bottom[data-v-d8b16958],[data-v-d8b16958] .left-bottom{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[data-v-d8b16958] .van-swipe-cell__wrapper .row2-noleft-icon{border:1px solid transparent;margin:-1px;width:100vw}.bottom-btn[data-v-d8b16958]{margin-top:10px;width:100%;float:left;text-align:right}.bottom-btn .btn-stand[data-v-d8b16958]{width:60px;font-size:12px;border:1px solid #d8d8d8;border-radius:2px;margin-left:10px;-webkit-box-sizing:unset;box-sizing:unset}[data-v-d8b16958] .row2-noleft-icon:after,[data-v-d8b16958] .row2-noleft-icon:after:after{content:none}.right-button[data-v-d8b16958]{width:70px;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;color:#fff;padding:10px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.right-button[data-v-d8b16958]:first-child{background-color:#ccc}.right-button[data-v-d8b16958]:last-child{background-color:#ee0a24}",""]),t.exports=e},"6ce3":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_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:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))},"6d79":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},n=t.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(t){var n=t%10,i=t>=100?100:null;return t+(e[t]||e[n]||e[i])},week:{dow:1,doy:7}});return n}))},"6d83":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return e}))},"6e98":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},"6f12":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},"6f50":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e}))},7118:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e="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("_"),i=t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}});return i}))},7333:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}});return e}))},"737e":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".h5app-container[data-v-0a5c280e]{font-size:12px!important}.svg-icon-font[data-v-0a5c280e]{color:#999}.icon-active[data-v-0a5c280e]{color:#1689fa}[data-v-0a5c280e] .shade{background-color:rgba(0,0,0,.5)}[data-v-0a5c280e] .bottom-tab{text-align:center}[data-v-0a5c280e] .bottom-tab .van-cell:not(:last-child):after{left:0}",""]),t.exports=e},"74dc":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",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:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});return e}))},7593:function(t,e,n){var i=n("0bd4");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("1af70918",i,!0,{sourceMap:!1,shadowMode:!1})},"78c2":function(t,e,n){var i=n("93bd");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("7439c476",i,!0,{sourceMap:!1,shadowMode:!1})},"7be6":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e="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 i(t){return t>1&&t<5}function r(t,e,n,r){var a=t+" ";switch(n){case"s":return e||r?"pár sekúnd":"pár sekundami";case"ss":return e||r?a+(i(t)?"sekundy":"sekúnd"):a+"sekundami";case"m":return e?"minúta":r?"minútu":"minútou";case"mm":return e||r?a+(i(t)?"minúty":"minút"):a+"minútami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?a+(i(t)?"hodiny":"hodín"):a+"hodinami";case"d":return e||r?"deň":"dňom";case"dd":return e||r?a+(i(t)?"dni":"dní"):a+"dňami";case"M":return e||r?"mesiac":"mesiacom";case"MM":return e||r?a+(i(t)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return e||r?"rok":"rokom";case"yy":return e||r?a+(i(t)?"roky":"rokov"):a+"rokmi"}}var a=t.defineLocale("sk",{months:e,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: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 a}))},"7f33":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_À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:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}});return e}))},"7f94":function(t,e,n){"use strict";n("1f4b")},8155:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";function e(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"nekaj sekund":"nekaj sekundami";case"ss":return r+=1===t?e?"sekundo":"sekundi":2===t?e||i?"sekundi":"sekundah":t<5?e||i?"sekunde":"sekundah":"sekund",r;case"m":return e?"ena minuta":"eno minuto";case"mm":return r+=1===t?e?"minuta":"minuto":2===t?e||i?"minuti":"minutama":t<5?e||i?"minute":"minutami":e||i?"minut":"minutami",r;case"h":return e?"ena ura":"eno uro";case"hh":return r+=1===t?e?"ura":"uro":2===t?e||i?"uri":"urama":t<5?e||i?"ure":"urami":e||i?"ur":"urami",r;case"d":return e||i?"en dan":"enim dnem";case"dd":return r+=1===t?e||i?"dan":"dnem":2===t?e||i?"dni":"dnevoma":e||i?"dni":"dnevi",r;case"M":return e||i?"en mesec":"enim mesecem";case"MM":return r+=1===t?e||i?"mesec":"mesecem":2===t?e||i?"meseca":"mesecema":t<5?e||i?"mesece":"meseci":e||i?"mesecev":"meseci",r;case"y":return e||i?"eno leto":"enim letom";case"yy":return r+=1===t?e||i?"leto":"letom":2===t?e||i?"leti":"letoma":t<5?e||i?"leta":"leti":e||i?"let":"leti",r}}var n=t.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"81e9":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",e[7],e[8],e[9]];function i(t,e,n,i){var a="";switch(n){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"ss":return i?"sekunnin":"sekuntia";case"m":return i?"minuutin":"minuutti";case"mm":a=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":a=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":a=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":a=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":a=i?"vuoden":"vuotta";break}return a=r(t,i)+" "+a,a}function r(t,i){return t<10?i?n[t]:e[t]:t}var a=t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s: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 a}))},8230:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=t.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:0,doy:6}});return i}))},"84aa":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":n>10&&n<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}});return e}))},8689:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},i=t.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(t){return t.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}});return i}))},"86d5":function(t,e,n){var i=n("737e");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("8b09cca0",i,!0,{sourceMap:!1,shadowMode:!1})},8840:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},8875:function(t,e,n){var i,r,a;(function(n,o){r=[],i=o,a="function"===typeof i?i.apply(e,r):i,void 0===a||(t.exports=a)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var n,i,r,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,o=/@([^@]*):(\d+):(\d+)\s*$/gi,s=a.exec(p.stack)||o.exec(p.stack),l=s&&s[1]||!1,u=s&&s[2]||!1,d=document.location.href.replace(document.location.hash,""),c=document.getElementsByTagName("script");l===d&&(n=document.documentElement.outerHTML,i=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),r=n.replace(i,"$1").trim());for(var h=0;h<c.length;h++){if("interactive"===c[h].readyState)return c[h];if(c[h].src===l)return c[h];if(l===d&&c[h].innerHTML&&c[h].innerHTML.trim()===r)return c[h]}return null}}return t}))},"898b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e="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("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(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,a=t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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",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 a}))},"8ced":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".form-slicer[data-v-6ab1e674]{height:10px;background-color:#f7f8fa}",""]),t.exports=e},"8d47":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";function e(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}var n=t.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(t,e){return t?"string"===typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(t,e,n){return t>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(t){return"μ"===(t+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,n){var i=this._calendarEl[t],r=n&&n.hours();return e(i)&&(i=i.apply(n)),i.replace("{}",r%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(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e="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("_");function i(t){return t%10<5&&t%10>1&&~~(t/10)%10!==1}function r(t,e,n){var r=t+" ";switch(n){case"ss":return r+(i(t)?"sekundy":"sekund");case"m":return e?"minuta":"minutę";case"mm":return r+(i(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return r+(i(t)?"godziny":"godzin");case"MM":return r+(i(t)?"miesiące":"miesięcy");case"yy":return r+(i(t)?"lata":"lat")}}var a=t.defineLocale("pl",{months:function(t,i){return t?""===i?"("+n[t.month()]+"|"+e[t.month()]+")":/D MMMM/.test(i)?n[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),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:r,m:r,mm:r,h:r,hh:r,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a}))},"8df4":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},i=t.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(t){return/بعد از ظهر/.test(t)},meridiem:function(t,e,n){return t<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"ثانیه d%",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(t){return t.replace(/[۰-۹]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});return i}))},"8e09":function(t,e,n){"use strict";n("ca92")},"8e73":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(t){return function(e,n,a,o){var s=i(e),l=r[t][i(e)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,e)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],s=t.defineLocale("ar",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<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(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return s}))},9043:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},i=t.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e&&t>=4||"দুপুর"===e&&t<5||"বিকাল"===e?t+12:t},meridiem:function(t,e,n){return t<4?"রাত":t<10?"সকাল":t<17?"দুপুর":t<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});return i}))},"90ea":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return e}))},"93bd":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'[data-v-1985d7ed] .top-box .mt8{margin:0}[data-v-1985d7ed] .leftCircle2{height:0}.htgl-home-index[data-v-1985d7ed]{z-index:0;position:relative}[data-v-1985d7ed] .top-box{background:-webkit-gradient(linear,left top,left bottom,from(#ebf6ff),color-stop(50%,#fff));background:linear-gradient(180deg,#ebf6ff,#fff 50%);border-radius:12px 12px 0 0;margin-top:-25px;z-index:1;position:relative}.home_htfk_content[data-v-1985d7ed]{padding:15px;height:100%;line-height:100%}.home_htfk_content .svg-icon-font[data-v-1985d7ed]{width:36px;height:36px}.home_htfk_content .content_item[data-v-1985d7ed]{width:100%;height:100%}.home_htfk_content .content_item[data-v-1985d7ed],.home_htfk_content .content_item .inner_item_left[data-v-1985d7ed]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.home_htfk_content .content_item .inner_item_left[data-v-1985d7ed]{width:45%;text-align:center}.home_htfk_content .content_item .inner_item_left .item-svg[data-v-1985d7ed]{font-size:23px}.home_htfk_content .content_item .inner_item_right[data-v-1985d7ed]{width:55%;line-height:25px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:left;-ms-flex-align:left;align-items:left}.home_htfk_content .content_item .inner_item_right .item-title[data-v-1985d7ed]{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#666}.home_htfk_content .content_item .inner_item_right .item-count[data-v-1985d7ed]{font-weight:700;font-size:18px;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home_htfk_content .content_item .inner_item_right .item-num[data-v-1985d7ed]{font-size:12px;color:#666;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home_htfk_content .content_item .inner_item_right .item-goUrl[data-v-1985d7ed]{font-size:12px;color:#1e90ff;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.data-more[data-v-1985d7ed]:after{content:"+";font-size:10px;vertical-align:top;line-height:10px;font-weight:600}.htgl_home[data-v-1985d7ed]{background-color:#fff;overflow-y:auto;overflow-x:hidden;height:calc(100% - var(--headerHeight))}.htgl_home .block-box[data-v-1985d7ed] .thead{padding:0;padding-left:16px}.htgl_home .block-box[data-v-1985d7ed] .quick-box{padding:7px 0}.htgl_home .block-box[data-v-1985d7ed] .quick-box .tab{padding:13px 0!important}.htgl_home .block-box[data-v-1985d7ed] .thead .van-cell__value--alone{text-align:right;font-size:12px}.htgl_home[data-v-1985d7ed] .van-cell{padding:10px 12px!important}.htgl_home .num_overflow[data-v-1985d7ed]:after{content:"+";font-size:10px;vertical-align:top;line-height:10px;font-weight:600}.htgl_home .statistics[data-v-1985d7ed]{width:100%;height:92px;background-color:#3975c6;display:-webkit-box;display:-ms-flexbox;display:flex}.htgl_home .statistics .statistics_item[data-v-1985d7ed]{height:92px;width:33.3%;color:#fff;text-align:center;position:relative}.htgl_home .statistics .statistics_item[data-v-1985d7ed]:after{content:"";width:1px;height:49px;background:#eee;opacity:.1;position:absolute;right:0;top:23px}.htgl_home .statistics .statistics_item .statistics_item_text[data-v-1985d7ed]{margin-top:20px;color:#fff;font-size:14px}.htgl_home .statistics .statistics_item .statistics_item_num[data-v-1985d7ed]{margin-top:10px;color:#fff;font-size:16px;font-weight:600}.htgl_home .statistics .statistics_item .statistics_item_num .line[data-v-1985d7ed]{display:inline-block;width:1px;height:14px;background:#a1bbdd;margin:0 2px}.htgl_home .entrance[data-v-1985d7ed]{border-top:10px solid #f8f8f8;width:100%;background-color:#fff;padding-bottom:8px}.htgl_home .entrance .entrance_title[data-v-1985d7ed]{font-size:14px;color:#333;padding-top:15px;margin-left:15px}.htgl_home .entrance .entrance_content .entrance_item[data-v-1985d7ed]{width:25%;display:inline-block;text-align:center;vertical-align:top}.htgl_home .entrance .entrance_content .entrance_item .entrance_item_img[data-v-1985d7ed]{margin-top:21px}.htgl_home .entrance .entrance_content .entrance_item .entrance_item_text[data-v-1985d7ed]{margin-top:8px;margin-bottom:6px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.htgl_home .three[data-v-1985d7ed]{background-color:#fff}.htgl_home .three .three_top[data-v-1985d7ed]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0 auto;padding:10px 15px 0}.htgl_home .three .three_top .three_title[data-v-1985d7ed]{font-size:14px;color:#333}.htgl_home .three .three_top .three_select[data-v-1985d7ed]{font-size:12px;color:#333}.htgl_home .three .three_top .three_select[data-v-1985d7ed] .van-cell__value{text-align:right}.htgl_home .three .three_top .three_select:focus .selectIcon[data-v-1985d7ed]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.htgl_home .three .three_top .three_select .selectIcon[data-v-1985d7ed]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.htgl_home .three .three_top .three_select .selectIcon[data-v-1985d7ed]:after{content:"";border-top:4px solid #333;border-left:3px solid transparent;border-right:3px solid transparent}.htgl_home .three .three_top .van-cell[data-v-1985d7ed]{width:70px;padding:0}.htgl_home .three .three_content[data-v-1985d7ed]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 10px}.htgl_home .three .three_content .three_item[data-v-1985d7ed]{width:50%;height:88px;background-color:#f8f8f8;-webkit-box-sizing:border-box;box-sizing:border-box;border:5px solid #fff;padding:15px;text-align:center;overflow:hidden}.htgl_home .three .three_content .three_item .three_item_text[data-v-1985d7ed]{font-size:13px;line-height:18px;padding-bottom:8px}.htgl_home .three .three_content .three_item .three_item_num[data-v-1985d7ed]{font-size:16px;line-height:22px;font-weight:600}.htgl_index_img[data-v-1985d7ed]{width:100%;height:auto;display:block;margin:0 auto}.van-cell[data-v-1985d7ed]:after{border-bottom:none}[data-v-1985d7ed] .bootom_slect_item .van-action-sheet__content{max-height:300px}.triangleSelect[data-v-1985d7ed]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:6px}.triangleSelect[data-v-1985d7ed]:before{-webkit-transform:rotate(90deg);transform:rotate(90deg)}',""]),t.exports=e},"957c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";function e(t,e){var n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]}function n(t,n,i){var r={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===i?n?"минута":"минуту":t+" "+e(r[i],+t)}var i=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],r=t.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:n,m:n,mm:n,h:"час",hh:n,d:"день",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:4}});return r}))},"958b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";function e(t,e,n,i){switch(n){case"s":return e?"хэдхэн секунд":"хэдхэн секундын";case"ss":return t+(e?" секунд":" секундын");case"m":case"mm":return t+(e?" минут":" минутын");case"h":case"hh":return t+(e?" цаг":" цагийн");case"d":case"dd":return t+(e?" өдөр":" өдрийн");case"M":case"MM":return t+(e?" сар":" сарын");case"y":case"yy":return t+(e?" жил":" жилийн");default:return t}}var n=t.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(t){return"ҮХ"===t},meridiem:function(t,e,n){return t<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" өдөр";default:return t}}});return n}))},9609:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"},n=t.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(t){var n=t%10,i=t>=100?100:null;return t+(e[t]||e[n]||e[i])},week:{dow:1,doy:7}});return n}))},"972c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";function e(t,e,n){var i={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},r=" ";return(t%100>=20||t>=100&&t%100===0)&&(r=" de "),t+r+i[n]}var n=t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:e,m:"un minut",mm:e,h:"o oră",hh:e,d:"o zi",dd:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}});return n}))},9797:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e=t,n="",i=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return e>20?n=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(n=i[e]),t+n},week:{dow:1,doy:4}});return e}))},"9f26":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),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|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}});return e}))},a356:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("ar-dz",{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:4}});return e}))},a7fa:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}});return e}))},a937:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".form-slicer[data-v-63fb0d2a]{height:10px;background-color:#f7f8fa}[data-v-63fb0d2a] .listdata-container{height:calc(100vh - 60px)!important}[data-v-63fb0d2a] .listdata-container .van-swipe-cell .van-swipe-cell__wrapper{border-bottom:1px solid transparent}[data-v-63fb0d2a] .listdata-container .van-swipe-cell:first-child .form-slicer{display:none}.van-popup-full[data-v-63fb0d2a]{width:100%;height:100%;top:calc(50% - .00002px)}[data-v-63fb0d2a] .van-wform-operate-cell{top:unset}[data-v-63fb0d2a] .van-wform-operate-cell .form-slicer{background-color:#f7f8fa;bottom:unset}[data-v-63fb0d2a] .dataTable .van-swipe-cell:after{content:none}[data-v-63fb0d2a] .dataTable .cell_div{padding:unset}[data-v-63fb0d2a] .dataTable .cell_div .van-cell-group:after,[data-v-63fb0d2a] .dataTable .cell_div .van-cell-group>div:last-child:after{content:none}[data-v-63fb0d2a] .dataTable .cell_div .van-cell{padding:10px 16px}[data-v-63fb0d2a] .dataTable .van-cell__title.van-field__label{line-height:inherit}",""]),t.exports=e},ac4a:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".form-slicer[data-v-3445bf0e]{height:10px;background-color:#f7f8fa}",""]),t.exports=e},ac81:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,"[data-v-1c002b14] .selectPageDialog .listdata-container{height:calc(100vh - 162px)}[data-v-1c002b14] .no-footer-btn .btn-group-container{display:none}[data-v-1c002b14] .busi-form-container,[data-v-1c002b14] .no-footer-btn>div:first-child{height:calc(100vh - var(--headerHeight))!important}",""]),t.exports=e},ada2:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";function e(t,e){var n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]}function n(t,n,i){var r={ss:n?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===i?n?"хвилина":"хвилину":"h"===i?n?"година":"годину":t+" "+e(r[i],+t)}function i(t,e){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};if(!0===t)return n["nominative"].slice(1,7).concat(n["nominative"].slice(0,1));if(!t)return n["nominative"];var i=/(\[[ВвУу]\]) ?dddd/.test(e)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(e)?"genitive":"nominative";return n[i][t.day()]}function r(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}var a=t.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:i,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:r("[Сьогодні "),nextDay:r("[Завтра "),lastDay:r("[Вчора "),nextWeek:r("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return r("[Минулої] dddd [").call(this);case 1:case 2:case 4:return r("[Минулого] 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(t){return/^(дня|вечора)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночі":t<12?"ранку":t<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-й";case"D":return t+"-го";default:return t}},week:{dow:1,doy:7}});return a}))},b29d:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(t){return"ຕອນແລງ"===t},meridiem:function(t,e,n){return t<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(t){return"ທີ່"+t}});return e}))},b3eb:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}var n=t.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},b469:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}var n=t.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},b53d:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}});return e}))},b540:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}});return e}))},b84c:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_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 [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",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))},b97c:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(t,e,n){return n?e%10===1&&e%100!==11?t[2]:t[3]:e%10===1&&e%100!==11?t[0]:t[1]}function i(t,i,r){return t+" "+n(e[r],t,i)}function r(t,i,r){return n(e[r],t,i)}function a(t,e){return e?"dažas sekundes":"dažām sekundēm"}var o=t.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:a,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}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},bb71:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}var n=t.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},c109:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}});return e}))},c1df:function(t,e,n){(function(t){(function(e,n){t.exports=n()})(0,(function(){"use strict";var e,i;function r(){return e.apply(null,arguments)}function a(t){e=t}function o(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function s(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function l(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}function u(t){return void 0===t}function d(t){return"number"===typeof t||"[object Number]"===Object.prototype.toString.call(t)}function c(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function h(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function p(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function f(t,e){for(var n in e)p(e,n)&&(t[n]=e[n]);return p(e,"toString")&&(t.toString=e.toString),p(e,"valueOf")&&(t.valueOf=e.valueOf),t}function m(t,e,n,i){return Zn(t,e,n,i,!0).utc()}function g(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function y(t){return null==t._pf&&(t._pf=g()),t._pf}function _(t){if(null==t._isValid){var e=y(t),n=i.call(e.parsedDateParts,(function(t){return null!=t})),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function v(t){var e=m(NaN);return null!=t?f(y(e),t):y(e).userInvalidated=!0,e}i=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,i=0;i<n;i++)if(i in e&&t.call(this,e[i],i,e))return!0;return!1};var x=r.momentProperties=[];function M(t,e){var n,i,r;if(u(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),u(e._i)||(t._i=e._i),u(e._f)||(t._f=e._f),u(e._l)||(t._l=e._l),u(e._strict)||(t._strict=e._strict),u(e._tzm)||(t._tzm=e._tzm),u(e._isUTC)||(t._isUTC=e._isUTC),u(e._offset)||(t._offset=e._offset),u(e._pf)||(t._pf=y(e)),u(e._locale)||(t._locale=e._locale),x.length>0)for(n=0;n<x.length;n++)i=x[n],r=e[i],u(r)||(t[i]=r);return t}var b=!1;function w(t){M(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,r.updateOffset(this),b=!1)}function L(t){return t instanceof w||null!=t&&null!=t._isAMomentObject}function S(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function D(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=S(e)),n}function T(t,e,n){var i,r=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),o=0;for(i=0;i<r;i++)(n&&t[i]!==e[i]||!n&&D(t[i])!==D(e[i]))&&o++;return o+a}function k(t){!1===r.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function Y(t,e){var n=!0;return f((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,t),n){for(var i,a=[],o=0;o<arguments.length;o++){if(i="","object"===typeof arguments[o]){for(var s in i+="\n["+o+"] ",arguments[0])i+=s+": "+arguments[0][s]+", ";i=i.slice(0,-2)}else i=arguments[o];a.push(i)}k(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)}),e)}var I,C={};function A(t,e){null!=r.deprecationHandler&&r.deprecationHandler(t,e),C[t]||(k(e),C[t]=!0)}function P(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function O(t){var e,n;for(n in t)e=t[n],P(e)?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function H(t,e){var n,i=f({},t);for(n in e)p(e,n)&&(s(t[n])&&s(e[n])?(i[n]={},f(i[n],t[n]),f(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)p(t,n)&&!p(e,n)&&s(t[n])&&(i[n]=f({},i[n]));return i}function N(t){null!=t&&this.set(t)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,I=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)p(t,e)&&n.push(e);return n};var E={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(t,e,n){var i=this._calendar[t]||this._calendar["sameElse"];return P(i)?i.call(e,n):i}var z={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 j(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,(function(t){return t.slice(1)})),this._longDateFormat[t])}var B="Invalid date";function F(){return this._invalidDate}var V="%d",W=/\d{1,2}/;function G(t){return this._ordinal.replace("%d",t)}var U={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"};function X(t,e,n,i){var r=this._relativeTime[n];return P(r)?r(t,e,n,i):r.replace(/%d/i,t)}function Z(t,e){var n=this._relativeTime[t>0?"future":"past"];return P(n)?n(e):n.replace(/%s/i,e)}var q={};function $(t,e){var n=t.toLowerCase();q[n]=q[n+"s"]=q[e]=t}function J(t){return"string"===typeof t?q[t]||q[t.toLowerCase()]:void 0}function K(t){var e,n,i={};for(n in t)p(t,n)&&(e=J(n),e&&(i[e]=t[n]));return i}var Q={};function tt(t,e){Q[t]=e}function et(t){var e=[];for(var n in t)e.push({unit:n,priority:Q[n]});return e.sort((function(t,e){return t.priority-e.priority})),e}function nt(t,e,n){var i=""+Math.abs(t),r=e-i.length,a=t>=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}var it=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,rt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,at={},ot={};function st(t,e,n,i){var r=i;"string"===typeof i&&(r=function(){return this[i]()}),t&&(ot[t]=r),e&&(ot[e[0]]=function(){return nt(r.apply(this,arguments),e[1],e[2])}),n&&(ot[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function lt(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function ut(t){var e,n,i=t.match(it);for(e=0,n=i.length;e<n;e++)ot[i[e]]?i[e]=ot[i[e]]:i[e]=lt(i[e]);return function(e){var r,a="";for(r=0;r<n;r++)a+=P(i[r])?i[r].call(e,t):i[r];return a}}function dt(t,e){return t.isValid()?(e=ct(e,t.localeData()),at[e]=at[e]||ut(e),at[e](t)):t.localeData().invalidDate()}function ct(t,e){var n=5;function i(t){return e.longDateFormat(t)||t}rt.lastIndex=0;while(n>=0&&rt.test(t))t=t.replace(rt,i),rt.lastIndex=0,n-=1;return t}var ht=/\d/,pt=/\d\d/,ft=/\d{3}/,mt=/\d{4}/,gt=/[+-]?\d{6}/,yt=/\d\d?/,_t=/\d\d\d\d?/,vt=/\d\d\d\d\d\d?/,xt=/\d{1,3}/,Mt=/\d{1,4}/,bt=/[+-]?\d{1,6}/,wt=/\d+/,Lt=/[+-]?\d+/,St=/Z|[+-]\d\d:?\d\d/gi,Dt=/Z|[+-]\d\d(?::?\d\d)?/gi,Tt=/[+-]?\d+(\.\d{1,3})?/,kt=/[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,Yt={};function It(t,e,n){Yt[t]=P(e)?e:function(t,i){return t&&n?n:e}}function Ct(t,e){return p(Yt,t)?Yt[t](e._strict,e._locale):new RegExp(At(t))}function At(t){return Pt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,i,r){return e||n||i||r})))}function Pt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ot={};function Ht(t,e){var n,i=e;for("string"===typeof t&&(t=[t]),d(e)&&(i=function(t,n){n[e]=D(t)}),n=0;n<t.length;n++)Ot[t[n]]=i}function Nt(t,e){Ht(t,(function(t,n,i,r){i._w=i._w||{},e(t,i._w,i,r)}))}function Et(t,e,n){null!=e&&p(Ot,t)&&Ot[t](e,n._a,n,t)}var Rt=0,zt=1,jt=2,Bt=3,Ft=4,Vt=5,Wt=6,Gt=7,Ut=8;function Xt(t){return Zt(t)?366:365}function Zt(t){return t%4===0&&t%100!==0||t%400===0}st("Y",0,0,(function(){var t=this.year();return t<=9999?""+t:"+"+t})),st(0,["YY",2],0,(function(){return this.year()%100})),st(0,["YYYY",4],0,"year"),st(0,["YYYYY",5],0,"year"),st(0,["YYYYYY",6,!0],0,"year"),$("year","y"),tt("year",1),It("Y",Lt),It("YY",yt,pt),It("YYYY",Mt,mt),It("YYYYY",bt,gt),It("YYYYYY",bt,gt),Ht(["YYYYY","YYYYYY"],Rt),Ht("YYYY",(function(t,e){e[Rt]=2===t.length?r.parseTwoDigitYear(t):D(t)})),Ht("YY",(function(t,e){e[Rt]=r.parseTwoDigitYear(t)})),Ht("Y",(function(t,e){e[Rt]=parseInt(t,10)})),r.parseTwoDigitYear=function(t){return D(t)+(D(t)>68?1900:2e3)};var qt,$t=Kt("FullYear",!0);function Jt(){return Zt(this.year())}function Kt(t,e){return function(n){return null!=n?(te(this,t,n),r.updateOffset(this,e),this):Qt(this,t)}}function Qt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function te(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&Zt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),re(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function ee(t){return t=J(t),P(this[t])?this[t]():this}function ne(t,e){if("object"===typeof t){t=K(t);for(var n=et(t),i=0;i<n.length;i++)this[n[i].unit](t[n[i].unit])}else if(t=J(t),P(this[t]))return this[t](e);return this}function ie(t,e){return(t%e+e)%e}function re(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=ie(e,12);return t+=(e-n)/12,1===n?Zt(t)?29:28:31-n%7%2}qt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},st("M",["MM",2],"Mo",(function(){return this.month()+1})),st("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),st("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),$("month","M"),tt("month",8),It("M",yt),It("MM",yt,pt),It("MMM",(function(t,e){return e.monthsShortRegex(t)})),It("MMMM",(function(t,e){return e.monthsRegex(t)})),Ht(["M","MM"],(function(t,e){e[zt]=D(t)-1})),Ht(["MMM","MMMM"],(function(t,e,n,i){var r=n._locale.monthsParse(t,i,n._strict);null!=r?e[zt]=r:y(n).invalidMonth=t}));var ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,oe="January_February_March_April_May_June_July_August_September_October_November_December".split("_");function se(t,e){return t?o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||ae).test(e)?"format":"standalone"][t.month()]:o(this._months)?this._months:this._months["standalone"]}var le="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function ue(t,e){return t?o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[ae.test(e)?"format":"standalone"][t.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"]}function de(t,e,n){var i,r,a,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)a=m([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===e?(r=qt.call(this._shortMonthsParse,o),-1!==r?r:null):(r=qt.call(this._longMonthsParse,o),-1!==r?r:null):"MMM"===e?(r=qt.call(this._shortMonthsParse,o),-1!==r?r:(r=qt.call(this._longMonthsParse,o),-1!==r?r:null)):(r=qt.call(this._longMonthsParse,o),-1!==r?r:(r=qt.call(this._shortMonthsParse,o),-1!==r?r:null))}function ce(t,e,n){var i,r,a;if(this._monthsParseExact)return de.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=m([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}}function he(t,e){var n;if(!t.isValid())return t;if("string"===typeof e)if(/^\d+$/.test(e))e=D(e);else if(e=t.localeData().monthsParse(e),!d(e))return t;return n=Math.min(t.date(),re(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function pe(t){return null!=t?(he(this,t),r.updateOffset(this,!0),this):Qt(this,"Month")}function fe(){return re(this.year(),this.month())}var me=kt;function ge(t){return this._monthsParseExact?(p(this,"_monthsRegex")||ve.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=me),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}var ye=kt;function _e(t){return this._monthsParseExact?(p(this,"_monthsRegex")||ve.call(this),t?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=ye),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function ve(){function t(t,e){return e.length-t.length}var e,n,i=[],r=[],a=[];for(e=0;e<12;e++)n=m([2e3,e]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(i.sort(t),r.sort(t),a.sort(t),e=0;e<12;e++)i[e]=Pt(i[e]),r[e]=Pt(r[e]);for(e=0;e<24;e++)a[e]=Pt(a[e]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function xe(t,e,n,i,r,a,o){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,i,r,a,o),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,i,r,a,o),s}function Me(t){var e;if(t<100&&t>=0){var n=Array.prototype.slice.call(arguments);n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function be(t,e,n){var i=7+e-n,r=(7+Me(t,0,i).getUTCDay()-e)%7;return-r+i-1}function we(t,e,n,i,r){var a,o,s=(7+n-i)%7,l=be(t,i,r),u=1+7*(e-1)+s+l;return u<=0?(a=t-1,o=Xt(a)+u):u>Xt(t)?(a=t+1,o=u-Xt(t)):(a=t,o=u),{year:a,dayOfYear:o}}function Le(t,e,n){var i,r,a=be(t.year(),e,n),o=Math.floor((t.dayOfYear()-a-1)/7)+1;return o<1?(r=t.year()-1,i=o+Se(r,e,n)):o>Se(t.year(),e,n)?(i=o-Se(t.year(),e,n),r=t.year()+1):(r=t.year(),i=o),{week:i,year:r}}function Se(t,e,n){var i=be(t,e,n),r=be(t+1,e,n);return(Xt(t)-i+r)/7}function De(t){return Le(t,this._week.dow,this._week.doy).week}st("w",["ww",2],"wo","week"),st("W",["WW",2],"Wo","isoWeek"),$("week","w"),$("isoWeek","W"),tt("week",5),tt("isoWeek",5),It("w",yt),It("ww",yt,pt),It("W",yt),It("WW",yt,pt),Nt(["w","ww","W","WW"],(function(t,e,n,i){e[i.substr(0,1)]=D(t)}));var Te={dow:0,doy:6};function ke(){return this._week.dow}function Ye(){return this._week.doy}function Ie(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Ce(t){var e=Le(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Ae(t,e){return"string"!==typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"===typeof t?t:null):parseInt(t,10)}function Pe(t,e){return"string"===typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Oe(t,e){return t.slice(e,7).concat(t.slice(0,e))}st("d",0,"do","day"),st("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),st("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),st("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),st("e",0,0,"weekday"),st("E",0,0,"isoWeekday"),$("day","d"),$("weekday","e"),$("isoWeekday","E"),tt("day",11),tt("weekday",11),tt("isoWeekday",11),It("d",yt),It("e",yt),It("E",yt),It("dd",(function(t,e){return e.weekdaysMinRegex(t)})),It("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),It("dddd",(function(t,e){return e.weekdaysRegex(t)})),Nt(["dd","ddd","dddd"],(function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:y(n).invalidWeekday=t})),Nt(["d","e","E"],(function(t,e,n,i){e[i]=D(t)}));var He="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");function Ne(t,e){var n=o(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Oe(n,this._week.dow):t?n[t.day()]:n}var Ee="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function Re(t){return!0===t?Oe(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}var ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function je(t){return!0===t?Oe(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Be(t,e,n){var i,r,a,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=m([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===e?(r=qt.call(this._weekdaysParse,o),-1!==r?r:null):"ddd"===e?(r=qt.call(this._shortWeekdaysParse,o),-1!==r?r:null):(r=qt.call(this._minWeekdaysParse,o),-1!==r?r:null):"dddd"===e?(r=qt.call(this._weekdaysParse,o),-1!==r?r:(r=qt.call(this._shortWeekdaysParse,o),-1!==r?r:(r=qt.call(this._minWeekdaysParse,o),-1!==r?r:null))):"ddd"===e?(r=qt.call(this._shortWeekdaysParse,o),-1!==r?r:(r=qt.call(this._weekdaysParse,o),-1!==r?r:(r=qt.call(this._minWeekdaysParse,o),-1!==r?r:null))):(r=qt.call(this._minWeekdaysParse,o),-1!==r?r:(r=qt.call(this._weekdaysParse,o),-1!==r?r:(r=qt.call(this._shortWeekdaysParse,o),-1!==r?r:null)))}function Fe(t,e,n){var i,r,a;if(this._weekdaysParseExact)return Be.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=m([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}}function Ve(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Ae(t,this.localeData()),this.add(t-e,"d")):e}function We(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ge(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Pe(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}var Ue=kt;function Xe(t){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=Ue),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}var Ze=kt;function qe(t){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ze),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}var $e=kt;function Je(t){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Ke.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=$e),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ke(){function t(t,e){return e.length-t.length}var e,n,i,r,a,o=[],s=[],l=[],u=[];for(e=0;e<7;e++)n=m([2e3,1]).day(e),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(i),s.push(r),l.push(a),u.push(i),u.push(r),u.push(a);for(o.sort(t),s.sort(t),l.sort(t),u.sort(t),e=0;e<7;e++)s[e]=Pt(s[e]),l[e]=Pt(l[e]),u[e]=Pt(u[e]);this._weekdaysRegex=new RegExp("^("+u.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("^("+o.join("|")+")","i")}function Qe(){return this.hours()%12||12}function tn(){return this.hours()||24}function en(t,e){st(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function nn(t,e){return e._meridiemParse}function rn(t){return"p"===(t+"").toLowerCase().charAt(0)}st("H",["HH",2],0,"hour"),st("h",["hh",2],0,Qe),st("k",["kk",2],0,tn),st("hmm",0,0,(function(){return""+Qe.apply(this)+nt(this.minutes(),2)})),st("hmmss",0,0,(function(){return""+Qe.apply(this)+nt(this.minutes(),2)+nt(this.seconds(),2)})),st("Hmm",0,0,(function(){return""+this.hours()+nt(this.minutes(),2)})),st("Hmmss",0,0,(function(){return""+this.hours()+nt(this.minutes(),2)+nt(this.seconds(),2)})),en("a",!0),en("A",!1),$("hour","h"),tt("hour",13),It("a",nn),It("A",nn),It("H",yt),It("h",yt),It("k",yt),It("HH",yt,pt),It("hh",yt,pt),It("kk",yt,pt),It("hmm",_t),It("hmmss",vt),It("Hmm",_t),It("Hmmss",vt),Ht(["H","HH"],Bt),Ht(["k","kk"],(function(t,e,n){var i=D(t);e[Bt]=24===i?0:i})),Ht(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),Ht(["h","hh"],(function(t,e,n){e[Bt]=D(t),y(n).bigHour=!0})),Ht("hmm",(function(t,e,n){var i=t.length-2;e[Bt]=D(t.substr(0,i)),e[Ft]=D(t.substr(i)),y(n).bigHour=!0})),Ht("hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[Bt]=D(t.substr(0,i)),e[Ft]=D(t.substr(i,2)),e[Vt]=D(t.substr(r)),y(n).bigHour=!0})),Ht("Hmm",(function(t,e,n){var i=t.length-2;e[Bt]=D(t.substr(0,i)),e[Ft]=D(t.substr(i))})),Ht("Hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[Bt]=D(t.substr(0,i)),e[Ft]=D(t.substr(i,2)),e[Vt]=D(t.substr(r))}));var an=/[ap]\.?m?\.?/i;function on(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var sn,ln=Kt("Hours",!0),un={calendar:E,longDateFormat:z,invalidDate:B,ordinal:V,dayOfMonthOrdinalParse:W,relativeTime:U,months:oe,monthsShort:le,week:Te,weekdays:He,weekdaysMin:ze,weekdaysShort:Ee,meridiemParse:an},dn={},cn={};function hn(t){return t?t.toLowerCase().replace("_","-"):t}function pn(t){var e,n,i,r,a=0;while(a<t.length){r=hn(t[a]).split("-"),e=r.length,n=hn(t[a+1]),n=n?n.split("-"):null;while(e>0){if(i=fn(r.slice(0,e).join("-")),i)return i;if(n&&n.length>=e&&T(r,n,!0)>=e-1)break;e--}a++}return sn}function fn(e){var i=null;if(!dn[e]&&"undefined"!==typeof t&&t&&t.exports)try{i=sn._abbr;n("4678")("./"+e),mn(i)}catch(r){}return dn[e]}function mn(t,e){var n;return t&&(n=u(e)?_n(t):gn(t,e),n?sn=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),sn._abbr}function gn(t,e){if(null!==e){var n,i=un;if(e.abbr=t,null!=dn[t])A("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."),i=dn[t]._config;else if(null!=e.parentLocale)if(null!=dn[e.parentLocale])i=dn[e.parentLocale]._config;else{if(n=fn(e.parentLocale),null==n)return cn[e.parentLocale]||(cn[e.parentLocale]=[]),cn[e.parentLocale].push({name:t,config:e}),null;i=n._config}return dn[t]=new N(H(i,e)),cn[t]&&cn[t].forEach((function(t){gn(t.name,t.config)})),mn(t),dn[t]}return delete dn[t],null}function yn(t,e){if(null!=e){var n,i,r=un;i=fn(t),null!=i&&(r=i._config),e=H(r,e),n=new N(e),n.parentLocale=dn[t],dn[t]=n,mn(t)}else null!=dn[t]&&(null!=dn[t].parentLocale?dn[t]=dn[t].parentLocale:null!=dn[t]&&delete dn[t]);return dn[t]}function _n(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return sn;if(!o(t)){if(e=fn(t),e)return e;t=[t]}return pn(t)}function vn(){return I(dn)}function xn(t){var e,n=t._a;return n&&-2===y(t).overflow&&(e=n[zt]<0||n[zt]>11?zt:n[jt]<1||n[jt]>re(n[Rt],n[zt])?jt:n[Bt]<0||n[Bt]>24||24===n[Bt]&&(0!==n[Ft]||0!==n[Vt]||0!==n[Wt])?Bt:n[Ft]<0||n[Ft]>59?Ft:n[Vt]<0||n[Vt]>59?Vt:n[Wt]<0||n[Wt]>999?Wt:-1,y(t)._overflowDayOfYear&&(e<Rt||e>jt)&&(e=jt),y(t)._overflowWeeks&&-1===e&&(e=Gt),y(t)._overflowWeekday&&-1===e&&(e=Ut),y(t).overflow=e),t}function Mn(t,e,n){return null!=t?t:null!=e?e:n}function bn(t){var e=new Date(r.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function wn(t){var e,n,i,r,a,o=[];if(!t._d){for(i=bn(t),t._w&&null==t._a[jt]&&null==t._a[zt]&&Ln(t),null!=t._dayOfYear&&(a=Mn(t._a[Rt],i[Rt]),(t._dayOfYear>Xt(a)||0===t._dayOfYear)&&(y(t)._overflowDayOfYear=!0),n=Me(a,0,t._dayOfYear),t._a[zt]=n.getUTCMonth(),t._a[jt]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=o[e]=i[e];for(;e<7;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[Bt]&&0===t._a[Ft]&&0===t._a[Vt]&&0===t._a[Wt]&&(t._nextDay=!0,t._a[Bt]=0),t._d=(t._useUTC?Me:xe).apply(null,o),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Bt]=24),t._w&&"undefined"!==typeof t._w.d&&t._w.d!==r&&(y(t).weekdayMismatch=!0)}}function Ln(t){var e,n,i,r,a,o,s,l;if(e=t._w,null!=e.GG||null!=e.W||null!=e.E)a=1,o=4,n=Mn(e.GG,t._a[Rt],Le(qn(),1,4).year),i=Mn(e.W,1),r=Mn(e.E,1),(r<1||r>7)&&(l=!0);else{a=t._locale._week.dow,o=t._locale._week.doy;var u=Le(qn(),a,o);n=Mn(e.gg,t._a[Rt],u.year),i=Mn(e.w,u.week),null!=e.d?(r=e.d,(r<0||r>6)&&(l=!0)):null!=e.e?(r=e.e+a,(e.e<0||e.e>6)&&(l=!0)):r=a}i<1||i>Se(n,a,o)?y(t)._overflowWeeks=!0:null!=l?y(t)._overflowWeekday=!0:(s=we(n,i,r,a,o),t._a[Rt]=s.year,t._dayOfYear=s.dayOfYear)}var Sn=/^\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)?)?$/,Dn=/^\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)?)?$/,Tn=/Z|[+-]\d\d(?::?\d\d)?/,kn=[["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}/]],Yn=[["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/]],In=/^\/?Date\((\-?\d+)/i;function Cn(t){var e,n,i,r,a,o,s=t._i,l=Sn.exec(s)||Dn.exec(s);if(l){for(y(t).iso=!0,e=0,n=kn.length;e<n;e++)if(kn[e][1].exec(l[1])){r=kn[e][0],i=!1!==kn[e][2];break}if(null==r)return void(t._isValid=!1);if(l[3]){for(e=0,n=Yn.length;e<n;e++)if(Yn[e][1].exec(l[3])){a=(l[2]||" ")+Yn[e][0];break}if(null==a)return void(t._isValid=!1)}if(!i&&null!=a)return void(t._isValid=!1);if(l[4]){if(!Tn.exec(l[4]))return void(t._isValid=!1);o="Z"}t._f=r+(a||"")+(o||""),Bn(t)}else t._isValid=!1}var 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}))$/;function Pn(t,e,n,i,r,a){var o=[On(t),le.indexOf(e),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return a&&o.push(parseInt(a,10)),o}function On(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function Hn(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Nn(t,e,n){if(t){var i=Ee.indexOf(t),r=new Date(e[0],e[1],e[2]).getDay();if(i!==r)return y(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}var En={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Rn(t,e,n){if(t)return En[t];if(e)return 0;var i=parseInt(n,10),r=i%100,a=(i-r)/100;return 60*a+r}function zn(t){var e=An.exec(Hn(t._i));if(e){var n=Pn(e[4],e[3],e[2],e[5],e[6],e[7]);if(!Nn(e[1],n,t))return;t._a=n,t._tzm=Rn(e[8],e[9],e[10]),t._d=Me.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),y(t).rfc2822=!0}else t._isValid=!1}function jn(t){var e=In.exec(t._i);null===e?(Cn(t),!1===t._isValid&&(delete t._isValid,zn(t),!1===t._isValid&&(delete t._isValid,r.createFromInputFallback(t)))):t._d=new Date(+e[1])}function Bn(t){if(t._f!==r.ISO_8601)if(t._f!==r.RFC_2822){t._a=[],y(t).empty=!0;var e,n,i,a,o,s=""+t._i,l=s.length,u=0;for(i=ct(t._f,t._locale).match(it)||[],e=0;e<i.length;e++)a=i[e],n=(s.match(Ct(a,t))||[])[0],n&&(o=s.substr(0,s.indexOf(n)),o.length>0&&y(t).unusedInput.push(o),s=s.slice(s.indexOf(n)+n.length),u+=n.length),ot[a]?(n?y(t).empty=!1:y(t).unusedTokens.push(a),Et(a,n,t)):t._strict&&!n&&y(t).unusedTokens.push(a);y(t).charsLeftOver=l-u,s.length>0&&y(t).unusedInput.push(s),t._a[Bt]<=12&&!0===y(t).bigHour&&t._a[Bt]>0&&(y(t).bigHour=void 0),y(t).parsedDateParts=t._a.slice(0),y(t).meridiem=t._meridiem,t._a[Bt]=Fn(t._locale,t._a[Bt],t._meridiem),wn(t),xn(t)}else zn(t);else Cn(t)}function Fn(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(i=t.isPM(n),i&&e<12&&(e+=12),i||12!==e||(e=0),e):e}function Vn(t){var e,n,i,r,a;if(0===t._f.length)return y(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<t._f.length;r++)a=0,e=M({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Bn(e),_(e)&&(a+=y(e).charsLeftOver,a+=10*y(e).unusedTokens.length,y(e).score=a,(null==i||a<i)&&(i=a,n=e));f(t,n||e)}function Wn(t){if(!t._d){var e=K(t._i);t._a=h([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),wn(t)}}function Gn(t){var e=new w(xn(Un(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Un(t){var e=t._i,n=t._f;return t._locale=t._locale||_n(t._l),null===e||void 0===n&&""===e?v({nullInput:!0}):("string"===typeof e&&(t._i=e=t._locale.preparse(e)),L(e)?new w(xn(e)):(c(e)?t._d=e:o(n)?Vn(t):n?Bn(t):Xn(t),_(t)||(t._d=null),t))}function Xn(t){var e=t._i;u(e)?t._d=new Date(r.now()):c(e)?t._d=new Date(e.valueOf()):"string"===typeof e?jn(t):o(e)?(t._a=h(e.slice(0),(function(t){return parseInt(t,10)})),wn(t)):s(e)?Wn(t):d(e)?t._d=new Date(e):r.createFromInputFallback(t)}function Zn(t,e,n,i,r){var a={};return!0!==n&&!1!==n||(i=n,n=void 0),(s(t)&&l(t)||o(t)&&0===t.length)&&(t=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=r,a._l=n,a._i=t,a._f=e,a._strict=i,Gn(a)}function qn(t,e,n,i){return Zn(t,e,n,i,!1)}r.createFromInputFallback=Y("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 and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var $n=Y("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=qn.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:v()})),Jn=Y("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=qn.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:v()}));function Kn(t,e){var n,i;if(1===e.length&&o(e[0])&&(e=e[0]),!e.length)return qn();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}function Qn(){var t=[].slice.call(arguments,0);return Kn("isBefore",t)}function ti(){var t=[].slice.call(arguments,0);return Kn("isAfter",t)}var ei=function(){return Date.now?Date.now():+new Date},ni=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ii(t){for(var e in t)if(-1===qt.call(ni,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,i=0;i<ni.length;++i)if(t[ni[i]]){if(n)return!1;parseFloat(t[ni[i]])!==D(t[ni[i]])&&(n=!0)}return!0}function ri(){return this._isValid}function ai(){return Ti(NaN)}function oi(t){var e=K(t),n=e.year||0,i=e.quarter||0,r=e.month||0,a=e.week||e.isoWeek||0,o=e.day||0,s=e.hour||0,l=e.minute||0,u=e.second||0,d=e.millisecond||0;this._isValid=ii(e),this._milliseconds=+d+1e3*u+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+r+3*i+12*n,this._data={},this._locale=_n(),this._bubble()}function si(t){return t instanceof oi}function li(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function ui(t,e){st(t,0,0,(function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+nt(~~(t/60),2)+e+nt(~~t%60,2)}))}ui("Z",":"),ui("ZZ",""),It("Z",Dt),It("ZZ",Dt),Ht(["Z","ZZ"],(function(t,e,n){n._useUTC=!0,n._tzm=ci(Dt,t)}));var di=/([\+\-]|\d\d)/gi;function ci(t,e){var n=(e||"").match(t);if(null===n)return null;var i=n[n.length-1]||[],r=(i+"").match(di)||["-",0,0],a=60*r[1]+D(r[2]);return 0===a?0:"+"===r[0]?a:-a}function hi(t,e){var n,i;return e._isUTC?(n=e.clone(),i=(L(t)||c(t)?t.valueOf():qn(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):qn(t).local()}function pi(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function fi(t,e,n){var i,a=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"===typeof t){if(t=ci(Dt,t),null===t)return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=pi(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==t&&(!e||this._changeInProgress?Ai(this,Ti(t-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:pi(this)}function mi(t,e){return null!=t?("string"!==typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function gi(t){return this.utcOffset(0,t)}function yi(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(pi(this),"m")),this}function _i(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var t=ci(St,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function vi(t){return!!this.isValid()&&(t=t?qn(t).utcOffset():0,(this.utcOffset()-t)%60===0)}function xi(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Mi(){if(!u(this._isDSTShifted))return this._isDSTShifted;var t={};if(M(t,this),t=Un(t),t._a){var e=t._isUTC?m(t._a):qn(t._a);this._isDSTShifted=this.isValid()&&T(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function bi(){return!!this.isValid()&&!this._isUTC}function wi(){return!!this.isValid()&&this._isUTC}function Li(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}r.updateOffset=function(){};var Si=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Di=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ti(t,e){var n,i,r,a=t,o=null;return si(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:d(t)?(a={},e?a[e]=t:a.milliseconds=t):(o=Si.exec(t))?(n="-"===o[1]?-1:1,a={y:0,d:D(o[jt])*n,h:D(o[Bt])*n,m:D(o[Ft])*n,s:D(o[Vt])*n,ms:D(li(1e3*o[Wt]))*n}):(o=Di.exec(t))?(n="-"===o[1]?-1:1,a={y:ki(o[2],n),M:ki(o[3],n),w:ki(o[4],n),d:ki(o[5],n),h:ki(o[6],n),m:ki(o[7],n),s:ki(o[8],n)}):null==a?a={}:"object"===typeof a&&("from"in a||"to"in a)&&(r=Ii(qn(a.from),qn(a.to)),a={},a.ms=r.milliseconds,a.M=r.months),i=new oi(a),si(t)&&p(t,"_locale")&&(i._locale=t._locale),i}function ki(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Yi(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Ii(t,e){var n;return t.isValid()&&e.isValid()?(e=hi(e,t),t.isBefore(e)?n=Yi(t,e):(n=Yi(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ci(t,e){return function(n,i){var r,a;return null===i||isNaN(+i)||(A(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=i,i=a),n="string"===typeof n?+n:n,r=Ti(n,i),Ai(this,r,t),this}}function Ai(t,e,n,i){var a=e._milliseconds,o=li(e._days),s=li(e._months);t.isValid()&&(i=null==i||i,s&&he(t,Qt(t,"Month")+s*n),o&&te(t,"Date",Qt(t,"Date")+o*n),a&&t._d.setTime(t._d.valueOf()+a*n),i&&r.updateOffset(t,o||s))}Ti.fn=oi.prototype,Ti.invalid=ai;var Pi=Ci(1,"add"),Oi=Ci(-1,"subtract");function Hi(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Ni(t,e){var n=t||qn(),i=hi(n,this).startOf("day"),a=r.calendarFormat(this,i)||"sameElse",o=e&&(P(e[a])?e[a].call(this,n):e[a]);return this.format(o||this.localeData().calendar(a,this,qn(n)))}function Ei(){return new w(this)}function Ri(t,e){var n=L(t)?t:qn(t);return!(!this.isValid()||!n.isValid())&&(e=J(e)||"millisecond","millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function zi(t,e){var n=L(t)?t:qn(t);return!(!this.isValid()||!n.isValid())&&(e=J(e)||"millisecond","millisecond"===e?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function ji(t,e,n,i){var r=L(t)?t:qn(t),a=L(e)?e:qn(e);return!!(this.isValid()&&r.isValid()&&a.isValid())&&(i=i||"()",("("===i[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(a,n):!this.isAfter(a,n)))}function Bi(t,e){var n,i=L(t)?t:qn(t);return!(!this.isValid()||!i.isValid())&&(e=J(e)||"millisecond","millisecond"===e?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function Fi(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function Vi(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function Wi(t,e,n){var i,r,a;if(!this.isValid())return NaN;if(i=hi(t,this),!i.isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=J(e),e){case"year":a=Gi(this,i)/12;break;case"month":a=Gi(this,i);break;case"quarter":a=Gi(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-r)/864e5;break;case"week":a=(this-i-r)/6048e5;break;default:a=this-i}return n?a:S(a)}function Gi(t,e){var n,i,r=12*(e.year()-t.year())+(e.month()-t.month()),a=t.clone().add(r,"months");return e-a<0?(n=t.clone().add(r-1,"months"),i=(e-a)/(a-n)):(n=t.clone().add(r+1,"months"),i=(e-a)/(n-a)),-(r+i)||0}function Ui(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Xi(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?dt(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):P(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",dt(n,"Z")):dt(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Zi(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r="-MM-DD[T]HH:mm:ss.SSS",a=e+'[")]';return this.format(n+i+r+a)}function qi(t){t||(t=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var e=dt(this,t);return this.localeData().postformat(e)}function $i(t,e){return this.isValid()&&(L(t)&&t.isValid()||qn(t).isValid())?Ti({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function Ji(t){return this.from(qn(),t)}function Ki(t,e){return this.isValid()&&(L(t)&&t.isValid()||qn(t).isValid())?Ti({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function Qi(t){return this.to(qn(),t)}function tr(t){var e;return void 0===t?this._locale._abbr:(e=_n(t),null!=e&&(this._locale=e),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var er=Y("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function nr(){return this._locale}var ir=1e3,rr=60*ir,ar=60*rr,or=3506328*ar;function sr(t,e){return(t%e+e)%e}function lr(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-or:new Date(t,e,n).valueOf()}function ur(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-or:Date.UTC(t,e,n)}function dr(t){var e;if(t=J(t),void 0===t||"millisecond"===t||!this.isValid())return this;var n=this._isUTC?ur:lr;switch(t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=sr(e+(this._isUTC?0:this.utcOffset()*rr),ar);break;case"minute":e=this._d.valueOf(),e-=sr(e,rr);break;case"second":e=this._d.valueOf(),e-=sr(e,ir);break}return this._d.setTime(e),r.updateOffset(this,!0),this}function cr(t){var e;if(t=J(t),void 0===t||"millisecond"===t||!this.isValid())return this;var n=this._isUTC?ur:lr;switch(t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=ar-sr(e+(this._isUTC?0:this.utcOffset()*rr),ar)-1;break;case"minute":e=this._d.valueOf(),e+=rr-sr(e,rr)-1;break;case"second":e=this._d.valueOf(),e+=ir-sr(e,ir)-1;break}return this._d.setTime(e),r.updateOffset(this,!0),this}function hr(){return this._d.valueOf()-6e4*(this._offset||0)}function pr(){return Math.floor(this.valueOf()/1e3)}function fr(){return new Date(this.valueOf())}function mr(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function gr(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function yr(){return this.isValid()?this.toISOString():null}function _r(){return _(this)}function vr(){return f({},y(this))}function xr(){return y(this).overflow}function Mr(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function br(t,e){st(0,[t,t.length],0,e)}function wr(t){return Tr.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Lr(t){return Tr.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Sr(){return Se(this.year(),1,4)}function Dr(){var t=this.localeData()._week;return Se(this.year(),t.dow,t.doy)}function Tr(t,e,n,i,r){var a;return null==t?Le(this,i,r).year:(a=Se(t,i,r),e>a&&(e=a),kr.call(this,t,e,n,i,r))}function kr(t,e,n,i,r){var a=we(t,e,n,i,r),o=Me(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function Yr(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}st(0,["gg",2],0,(function(){return this.weekYear()%100})),st(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),br("gggg","weekYear"),br("ggggg","weekYear"),br("GGGG","isoWeekYear"),br("GGGGG","isoWeekYear"),$("weekYear","gg"),$("isoWeekYear","GG"),tt("weekYear",1),tt("isoWeekYear",1),It("G",Lt),It("g",Lt),It("GG",yt,pt),It("gg",yt,pt),It("GGGG",Mt,mt),It("gggg",Mt,mt),It("GGGGG",bt,gt),It("ggggg",bt,gt),Nt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,i){e[i.substr(0,2)]=D(t)})),Nt(["gg","GG"],(function(t,e,n,i){e[i]=r.parseTwoDigitYear(t)})),st("Q",0,"Qo","quarter"),$("quarter","Q"),tt("quarter",7),It("Q",ht),Ht("Q",(function(t,e){e[zt]=3*(D(t)-1)})),st("D",["DD",2],"Do","date"),$("date","D"),tt("date",9),It("D",yt),It("DD",yt,pt),It("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),Ht(["D","DD"],jt),Ht("Do",(function(t,e){e[jt]=D(t.match(yt)[0])}));var Ir=Kt("Date",!0);function Cr(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}st("DDD",["DDDD",3],"DDDo","dayOfYear"),$("dayOfYear","DDD"),tt("dayOfYear",4),It("DDD",xt),It("DDDD",ft),Ht(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=D(t)})),st("m",["mm",2],0,"minute"),$("minute","m"),tt("minute",14),It("m",yt),It("mm",yt,pt),Ht(["m","mm"],Ft);var Ar=Kt("Minutes",!1);st("s",["ss",2],0,"second"),$("second","s"),tt("second",15),It("s",yt),It("ss",yt,pt),Ht(["s","ss"],Vt);var Pr,Or=Kt("Seconds",!1);for(st("S",0,0,(function(){return~~(this.millisecond()/100)})),st(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),st(0,["SSS",3],0,"millisecond"),st(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),st(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),st(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),st(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),st(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),st(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),$("millisecond","ms"),tt("millisecond",16),It("S",xt,ht),It("SS",xt,pt),It("SSS",xt,ft),Pr="SSSS";Pr.length<=9;Pr+="S")It(Pr,wt);function Hr(t,e){e[Wt]=D(1e3*("0."+t))}for(Pr="S";Pr.length<=9;Pr+="S")Ht(Pr,Hr);var Nr=Kt("Milliseconds",!1);function Er(){return this._isUTC?"UTC":""}function Rr(){return this._isUTC?"Coordinated Universal Time":""}st("z",0,0,"zoneAbbr"),st("zz",0,0,"zoneName");var zr=w.prototype;function jr(t){return qn(1e3*t)}function Br(){return qn.apply(null,arguments).parseZone()}function Fr(t){return t}zr.add=Pi,zr.calendar=Ni,zr.clone=Ei,zr.diff=Wi,zr.endOf=cr,zr.format=qi,zr.from=$i,zr.fromNow=Ji,zr.to=Ki,zr.toNow=Qi,zr.get=ee,zr.invalidAt=xr,zr.isAfter=Ri,zr.isBefore=zi,zr.isBetween=ji,zr.isSame=Bi,zr.isSameOrAfter=Fi,zr.isSameOrBefore=Vi,zr.isValid=_r,zr.lang=er,zr.locale=tr,zr.localeData=nr,zr.max=Jn,zr.min=$n,zr.parsingFlags=vr,zr.set=ne,zr.startOf=dr,zr.subtract=Oi,zr.toArray=mr,zr.toObject=gr,zr.toDate=fr,zr.toISOString=Xi,zr.inspect=Zi,zr.toJSON=yr,zr.toString=Ui,zr.unix=pr,zr.valueOf=hr,zr.creationData=Mr,zr.year=$t,zr.isLeapYear=Jt,zr.weekYear=wr,zr.isoWeekYear=Lr,zr.quarter=zr.quarters=Yr,zr.month=pe,zr.daysInMonth=fe,zr.week=zr.weeks=Ie,zr.isoWeek=zr.isoWeeks=Ce,zr.weeksInYear=Dr,zr.isoWeeksInYear=Sr,zr.date=Ir,zr.day=zr.days=Ve,zr.weekday=We,zr.isoWeekday=Ge,zr.dayOfYear=Cr,zr.hour=zr.hours=ln,zr.minute=zr.minutes=Ar,zr.second=zr.seconds=Or,zr.millisecond=zr.milliseconds=Nr,zr.utcOffset=fi,zr.utc=gi,zr.local=yi,zr.parseZone=_i,zr.hasAlignedHourOffset=vi,zr.isDST=xi,zr.isLocal=bi,zr.isUtcOffset=wi,zr.isUtc=Li,zr.isUTC=Li,zr.zoneAbbr=Er,zr.zoneName=Rr,zr.dates=Y("dates accessor is deprecated. Use date instead.",Ir),zr.months=Y("months accessor is deprecated. Use month instead",pe),zr.years=Y("years accessor is deprecated. Use year instead",$t),zr.zone=Y("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",mi),zr.isDSTShifted=Y("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Mi);var Vr=N.prototype;function Wr(t,e,n,i){var r=_n(),a=m().set(i,e);return r[n](a,t)}function Gr(t,e,n){if(d(t)&&(e=t,t=void 0),t=t||"",null!=e)return Wr(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=Wr(t,i,n,"month");return r}function Ur(t,e,n,i){"boolean"===typeof t?(d(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,d(e)&&(n=e,e=void 0),e=e||"");var r,a=_n(),o=t?a._week.dow:0;if(null!=n)return Wr(e,(n+o)%7,i,"day");var s=[];for(r=0;r<7;r++)s[r]=Wr(e,(r+o)%7,i,"day");return s}function Xr(t,e){return Gr(t,e,"months")}function Zr(t,e){return Gr(t,e,"monthsShort")}function qr(t,e,n){return Ur(t,e,n,"weekdays")}function $r(t,e,n){return Ur(t,e,n,"weekdaysShort")}function Jr(t,e,n){return Ur(t,e,n,"weekdaysMin")}Vr.calendar=R,Vr.longDateFormat=j,Vr.invalidDate=F,Vr.ordinal=G,Vr.preparse=Fr,Vr.postformat=Fr,Vr.relativeTime=X,Vr.pastFuture=Z,Vr.set=O,Vr.months=se,Vr.monthsShort=ue,Vr.monthsParse=ce,Vr.monthsRegex=_e,Vr.monthsShortRegex=ge,Vr.week=De,Vr.firstDayOfYear=Ye,Vr.firstDayOfWeek=ke,Vr.weekdays=Ne,Vr.weekdaysMin=je,Vr.weekdaysShort=Re,Vr.weekdaysParse=Fe,Vr.weekdaysRegex=Xe,Vr.weekdaysShortRegex=qe,Vr.weekdaysMinRegex=Je,Vr.isPM=rn,Vr.meridiem=on,mn("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===D(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),r.lang=Y("moment.lang is deprecated. Use moment.locale instead.",mn),r.langData=Y("moment.langData is deprecated. Use moment.localeData instead.",_n);var Kr=Math.abs;function Qr(){var t=this._data;return this._milliseconds=Kr(this._milliseconds),this._days=Kr(this._days),this._months=Kr(this._months),t.milliseconds=Kr(t.milliseconds),t.seconds=Kr(t.seconds),t.minutes=Kr(t.minutes),t.hours=Kr(t.hours),t.months=Kr(t.months),t.years=Kr(t.years),this}function ta(t,e,n,i){var r=Ti(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function ea(t,e){return ta(this,t,e,1)}function na(t,e){return ta(this,t,e,-1)}function ia(t){return t<0?Math.floor(t):Math.ceil(t)}function ra(){var t,e,n,i,r,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*ia(oa(s)+o),o=0,s=0),l.milliseconds=a%1e3,t=S(a/1e3),l.seconds=t%60,e=S(t/60),l.minutes=e%60,n=S(e/60),l.hours=n%24,o+=S(n/24),r=S(aa(o)),s+=r,o-=ia(oa(r)),i=S(s/12),s%=12,l.days=o,l.months=s,l.years=i,this}function aa(t){return 4800*t/146097}function oa(t){return 146097*t/4800}function sa(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if(t=J(t),"month"===t||"quarter"===t||"year"===t)switch(e=this._days+i/864e5,n=this._months+aa(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(oa(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}}function la(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*D(this._months/12):NaN}function ua(t){return function(){return this.as(t)}}var da=ua("ms"),ca=ua("s"),ha=ua("m"),pa=ua("h"),fa=ua("d"),ma=ua("w"),ga=ua("M"),ya=ua("Q"),_a=ua("y");function va(){return Ti(this)}function xa(t){return t=J(t),this.isValid()?this[t+"s"]():NaN}function Ma(t){return function(){return this.isValid()?this._data[t]:NaN}}var ba=Ma("milliseconds"),wa=Ma("seconds"),La=Ma("minutes"),Sa=Ma("hours"),Da=Ma("days"),Ta=Ma("months"),ka=Ma("years");function Ya(){return S(this.days()/7)}var Ia=Math.round,Ca={ss:44,s:45,m:45,h:22,d:26,M:11};function Aa(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}function Pa(t,e,n){var i=Ti(t).abs(),r=Ia(i.as("s")),a=Ia(i.as("m")),o=Ia(i.as("h")),s=Ia(i.as("d")),l=Ia(i.as("M")),u=Ia(i.as("y")),d=r<=Ca.ss&&["s",r]||r<Ca.s&&["ss",r]||a<=1&&["m"]||a<Ca.m&&["mm",a]||o<=1&&["h"]||o<Ca.h&&["hh",o]||s<=1&&["d"]||s<Ca.d&&["dd",s]||l<=1&&["M"]||l<Ca.M&&["MM",l]||u<=1&&["y"]||["yy",u];return d[2]=e,d[3]=+t>0,d[4]=n,Aa.apply(null,d)}function Oa(t){return void 0===t?Ia:"function"===typeof t&&(Ia=t,!0)}function Ha(t,e){return void 0!==Ca[t]&&(void 0===e?Ca[t]:(Ca[t]=e,"s"===t&&(Ca.ss=e-1),!0))}function Na(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=Pa(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}var Ea=Math.abs;function Ra(t){return(t>0)-(t<0)||+t}function za(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i=Ea(this._milliseconds)/1e3,r=Ea(this._days),a=Ea(this._months);t=S(i/60),e=S(t/60),i%=60,t%=60,n=S(a/12),a%=12;var o=n,s=a,l=r,u=e,d=t,c=i?i.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var p=h<0?"-":"",f=Ra(this._months)!==Ra(h)?"-":"",m=Ra(this._days)!==Ra(h)?"-":"",g=Ra(this._milliseconds)!==Ra(h)?"-":"";return p+"P"+(o?f+o+"Y":"")+(s?f+s+"M":"")+(l?m+l+"D":"")+(u||d||c?"T":"")+(u?g+u+"H":"")+(d?g+d+"M":"")+(c?g+c+"S":"")}var ja=oi.prototype;return ja.isValid=ri,ja.abs=Qr,ja.add=ea,ja.subtract=na,ja.as=sa,ja.asMilliseconds=da,ja.asSeconds=ca,ja.asMinutes=ha,ja.asHours=pa,ja.asDays=fa,ja.asWeeks=ma,ja.asMonths=ga,ja.asQuarters=ya,ja.asYears=_a,ja.valueOf=la,ja._bubble=ra,ja.clone=va,ja.get=xa,ja.milliseconds=ba,ja.seconds=wa,ja.minutes=La,ja.hours=Sa,ja.days=Da,ja.weeks=Ya,ja.months=Ta,ja.years=ka,ja.humanize=Na,ja.toISOString=za,ja.toString=za,ja.toJSON=za,ja.locale=tr,ja.localeData=nr,ja.toIsoString=Y("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",za),ja.lang=er,st("X",0,0,"unix"),st("x",0,0,"valueOf"),It("x",Lt),It("X",Tt),Ht("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))})),Ht("x",(function(t,e,n){n._d=new Date(D(t))})),r.version="2.24.0",a(qn),r.fn=zr,r.min=Qn,r.max=ti,r.now=ei,r.utc=m,r.unix=jr,r.months=Xr,r.isDate=c,r.locale=mn,r.invalid=v,r.duration=Ti,r.isMoment=L,r.weekdays=qr,r.parseZone=Br,r.localeData=_n,r.isDuration=si,r.monthsShort=Zr,r.weekdaysMin=Jr,r.defineLocale=gn,r.updateLocale=yn,r.locales=vn,r.weekdaysShort=$r,r.normalizeUnits=J,r.relativeTimeRounding=Oa,r.relativeTimeThreshold=Ha,r.calendarFormat=Hi,r.prototype=zr,r.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"},r}))}).call(this,n("62e4")(t))},c49f:function(t,e,n){var i=n("a937");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("45c64d4a",i,!0,{sourceMap:!1,shadowMode:!1})},c7aa:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(t){return 2===t?"שעתיים":t+" שעות"},d:"יום",dd:function(t){return 2===t?"יומיים":t+" ימים"},M:"חודש",MM:function(t){return 2===t?"חודשיים":t+" חודשים"},y:"שנה",yy:function(t){return 2===t?"שנתיים":t%10===0&&10!==t?t+" שנה":t+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(t){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(t)},meridiem:function(t,e,n){return t<5?"לפנות בוקר":t<10?"בבוקר":t<12?n?'לפנה"צ':"לפני הצהריים":t<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}});return e}))},c86e:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".form-slicer[data-v-7c853140]{height:10px;background-color:#f8f8ff}[data-v-7c853140] .listdata-container{height:calc(100vh - 60px)!important}[data-v-7c853140] .listdata-container .van-swipe-cell .van-swipe-cell__wrapper{border-bottom:1px solid transparent}[data-v-7c853140] .listdata-container .van-swipe-cell:first-child .form-slicer{display:none}.van-popup-full[data-v-7c853140]{width:100%;height:100%;top:calc(50% - .00002px)}[data-v-7c853140] .van-wform-operate-cell{top:unset}[data-v-7c853140] .van-wform-operate-cell .form-slicer{background-color:#f8f8ff;bottom:unset}[data-v-7c853140] .dataTable .van-swipe-cell:after{content:none}[data-v-7c853140] .dataTable .cell_div{padding:unset}[data-v-7c853140] .dataTable .cell_div .van-cell-group:after,[data-v-7c853140] .dataTable .cell_div .van-cell-group>div:last-child:after{content:none}[data-v-7c853140] .dataTable .cell_div .van-cell{padding:10px 16px}[data-v-7c853140] .dataTable .van-cell__title.van-field__label{line-height:inherit}",""]),t.exports=e},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(i){"object"===typeof window&&(n=window)}t.exports=n},c8f3:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(t){return"M"===t.charAt(0)},meridiem:function(t,e,n){return t<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))},ca92:function(t,e,n){var i=n("6bb3");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("abfc5a96",i,!0,{sourceMap:!1,shadowMode:!1})},cdab:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("en-SG",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e}))},cf1e:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}},n=t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"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] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var t=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},cf51:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,n){return t>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(t,e,n,i){var r={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n míut","'iens míut"],mm:[t+" míuts",t+" míuts"],h:["'n þora","'iensa þora"],hh:[t+" þoras",t+" þoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return i||e?r[n][0]:r[n][1]}return e}))},cf75:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq",e}function i(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu’":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret",e}function r(t,e,n,i){var r=a(t);switch(n){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}function a(t){var n=Math.floor(t%1e3/100),i=Math.floor(t%100/10),r=t%10,a="";return n>0&&(a+=e[n]+"vatlh"),i>0&&(a+=(""!==a?" ":"")+e[i]+"maH"),r>0&&(a+=(""!==a?" ":"")+e[r]),""===a?"pagh":a}var o=t.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:n,past:i,s:"puS lup",ss:r,m:"wa’ tup",mm:r,h:"wa’ rep",hh:r,d:"wa’ jaj",dd:r,M:"wa’ jar",MM:r,y:"wa’ DIS",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},cfbe:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,".form-slicer[data-v-10db0c6a]{height:10px;background-color:#f7f8fa}",""]),t.exports=e},d13e:function(t,e,n){"use strict";n("86d5")},d26a:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},i=t.defineLocale("bo",{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:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(t){return t.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(t,e){return 12===t&&(t=0),"མཚན་མོ"===e&&t>=4||"ཉིན་གུང"===e&&t<5||"དགོང་དག"===e?t+12:t},meridiem:function(t,e,n){return t<4?"མཚན་མོ":t<10?"ཞོགས་ཀས":t<17?"ཉིན་གུང":t<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});return i}))},d2d4:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"});return e}))},d6b6:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(t){return/^(ցերեկվա|երեկոյան)$/.test(t)},meridiem:function(t){return t<4?"գիշերվա":t<12?"առավոտվա":t<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-ին":t+"-րդ";default:return t}},week:{dow:1,doy:7}});return e}))},d716:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}});return e}))},d9f8:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}});return e}))},db29:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e="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("_"),i=[/^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],r=/^(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,a=t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}});return a}))},dc4d:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},i=t.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात"===e?t<4?t:t+12:"सुबह"===e?t:"दोपहर"===e?t>=10?t:t+12:"शाम"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"रात":t<10?"सुबह":t<17?"दोपहर":t<20?"शाम":"रात"},week:{dow:0,doy:6}});return i}))},e0c5:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"},i=t.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(t){return t.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(t,e){return 12===t&&(t=0),"રાત"===e?t<4?t:t+12:"સવાર"===e?t:"બપોર"===e?t>=10?t:t+12:"સાંજ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"રાત":t<10?"સવાર":t<17?"બપોર":t<20?"સાંજ":"રાત"},week:{dow:0,doy:6}});return i}))},e1d3:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e}))},e44c:function(t,e,n){"use strict";n("7593")},e71b:function(t,e,n){var i=n("cfbe");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("2ea56190",i,!0,{sourceMap:!1,shadowMode:!1})},e81d:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"},i=t.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(t){return"ល្ងាច"===t},meridiem:function(t,e,n){return t<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(t){return t.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}});return i}))},ebc5:function(t,e,n){var i=n("5768");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=n("499e").default;r("7439d97f",i,!0,{sourceMap:!1,shadowMode:!1})},ebe4:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return e}))},ec18:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";function e(t,e,n,i){var r={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["ühe minuti","üks minut"],mm:[t+" minuti",t+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[t+" tunni",t+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[t+" kuu",t+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[t+" aasta",t+" aastat"]};return e?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}var n=t.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d päeva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},eda5:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(t){return t+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(t){return"ප.ව."===t||"පස් වරු"===t},meridiem:function(t,e,n){return t>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}});return e}))},f260:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},f3ff:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"},i=t.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(t){return t.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ਰਾਤ"===e?t<4?t:t+12:"ਸਵੇਰ"===e?t:"ਦੁਪਹਿਰ"===e?t>=10?t:t+12:"ਸ਼ਾਮ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ਰਾਤ":t<10?"ਸਵੇਰ":t<17?"ਦੁਪਹਿਰ":t<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});return i}))},f6b4:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],n=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],i=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],r=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],a=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],o=t.defineLocale("gd",{months:e,monthsShort:n,monthsParseExact:!0,weekdays:i,weekdaysShort:r,weekdaysMin:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){var e=1===t?"d":t%10===2?"na":"mh";return t+e},week:{dow:1,doy:4}});return o}))},f9a1:function(t,e,n){"use strict";n("300a")},facd:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e="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("_"),i=[/^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],r=/^(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,a=t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}});return a}))},fb15:function(t,e,n){"use strict";n.r(e);var i={};if(n.r(i),n.d(i,"extendShape",(function(){return pp})),n.d(i,"extendPath",(function(){return mp})),n.d(i,"registerShape",(function(){return gp})),n.d(i,"getShapeClass",(function(){return yp})),n.d(i,"makePath",(function(){return _p})),n.d(i,"makeImage",(function(){return vp})),n.d(i,"mergePath",(function(){return Mp})),n.d(i,"resizePath",(function(){return bp})),n.d(i,"subPixelOptimizeLine",(function(){return wp})),n.d(i,"subPixelOptimizeRect",(function(){return Lp})),n.d(i,"subPixelOptimize",(function(){return Sp})),n.d(i,"updateProps",(function(){return Tp})),n.d(i,"initProps",(function(){return kp})),n.d(i,"removeElement",(function(){return Yp})),n.d(i,"removeElementWithFadeOut",(function(){return Cp})),n.d(i,"isElementRemoved",(function(){return Ap})),n.d(i,"getTransform",(function(){return Pp})),n.d(i,"applyTransform",(function(){return Op})),n.d(i,"transformDirection",(function(){return Hp})),n.d(i,"groupTransition",(function(){return Rp})),n.d(i,"clipPointsByRect",(function(){return zp})),n.d(i,"clipRectByRect",(function(){return jp})),n.d(i,"createIcon",(function(){return Bp})),n.d(i,"linePolygonIntersect",(function(){return Fp})),n.d(i,"lineLineIntersect",(function(){return Vp})),n.d(i,"Group",(function(){return ro})),n.d(i,"Image",(function(){return td})),n.d(i,"Text",(function(){return wd})),n.d(i,"Circle",(function(){return eh})),n.d(i,"Ellipse",(function(){return rh})),n.d(i,"Sector",(function(){return Mh})),n.d(i,"Ring",(function(){return Lh})),n.d(i,"Polygon",(function(){return Ch})),n.d(i,"Polyline",(function(){return Oh})),n.d(i,"Rect",(function(){return ud})),n.d(i,"Line",(function(){return Rh})),n.d(i,"BezierCurve",(function(){return Vh})),n.d(i,"Arc",(function(){return Uh})),n.d(i,"IncrementalDisplayable",(function(){return up})),n.d(i,"CompoundPath",(function(){return Zh})),n.d(i,"LinearGradient",(function(){return Kh})),n.d(i,"RadialGradient",(function(){return tp})),n.d(i,"BoundingRect",(function(){return Br})),n.d(i,"OrientedBoundingRect",(function(){return op})),n.d(i,"Point",(function(){return Cr})),n.d(i,"Path",(function(){return Uu})),"undefined"!==typeof window){var r=window.document.currentScript,a=n("8875");r=a(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:a});var o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"h5app-container"},[e("router-view",{class:{"router-container":t.bottomShow}}),t.bottomShow?e("van-tabbar",{staticClass:"page-foot-tab",attrs:{fixed:!0},on:{change:t.tabChange},model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},[e("van-tabbar-item",{attrs:{name:"home",replace:"",to:"/htglHome",icon:"logistics"},scopedSlots:t._u([{key:"icon",fn:function(n){return[e("svg",t._g({class:{"svg-icon-font":!0,"icon-active":n.active},attrs:{"aria-hidden":"true"}},t.$listeners),[e("use",{attrs:{"xlink:href":"#icon-home_index"}})])]}}],null,!1,2247697801)},[e("span",[t._v("主页")])]),e("van-tabbar-item",{attrs:{name:"htda",replace:"",icon:"newspaper-o"},scopedSlots:t._u([{key:"icon",fn:function(n){return[e("svg",t._g({class:{"svg-icon-font":!0,"icon-active":n.active},attrs:{"aria-hidden":"true"}},t.$listeners),[e("use",{attrs:{"xlink:href":"#icon-htda_d"}})])]}}],null,!1,2404448325)},[e("span",[t._v("合同查询")])]),e("van-tabbar-item",{attrs:{name:"fkgl",replace:"",icon:"records"},scopedSlots:t._u([{key:"icon",fn:function(n){return[e("svg",t._g({class:{"svg-icon-font":!0,"icon-active":n.active},attrs:{"aria-hidden":"true"}},t.$listeners),[e("use",{attrs:{"xlink:href":"#icon-htfk_d"}})])]}}],null,!1,2756726669)},[e("span",[t._v("付款管理")])]),e("van-tabbar-item",{attrs:{name:"taskItem",replace:"",to:"/htglTaskItem",icon:"todo-list-o"},scopedSlots:t._u([{key:"icon",fn:function(n){return[e("svg",t._g({class:{"svg-icon-font":!0,"icon-active":n.active},attrs:{"aria-hidden":"true"}},t.$listeners),[e("use",{attrs:{"xlink:href":"#icon-taskItem"}})])]}}],null,!1,3285841567)},[e("span",[t._v("审批")])])],1):t._e()],1)},l=[],u={components:{},props:{},data:function(){return{bottomShow:!0,active:"home"}},computed:{},watch:{$route:{immediate:!0,handler:function(t){this.changeActive(t.path,t.query)},deep:!0}},created:function(){},beforeDestroy:function(){},mounted:function(){},methods:{changeActive:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!0;switch(t){case"/htglHome":this.active="home";break;case"/htglTaskItem":this.active="taskItem";break;case"/htcxList":this.active="htda";break;case"/IndexList":"fkgl"===e.showTemplate?this.active="fkgl":n=!1;break;case"/wdjy":n=!1;break;default:this.$router.replace({path:"/htglHome"});break}this.bottomShow=n},tabChange:function(t){"fkgl"===t?this.$router.replace({path:"/IndexList",query:{showTemplate:t}}):"htda"===t&&this.$router.replace({path:"/htcxList",query:{showTemplate:t}})}}},d=u;n("d13e");function c(t,e,n,i,r,a,o,s){var l,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var d=u.render;u.render=function(t,e){return l.call(e),d(t,e)}}else{var c=u.beforeCreate;u.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:u}}var h=c(d,s,l,!1,null,"0a5c280e",null),p=h.exports,f=function(){var t=this,e=t._self._c;return e("van-row",{staticStyle:{height:"100%"}},[t.loadTable?e("data-table",{directives:[{name:"show",rawName:"v-show",value:!t.showView,expression:"!showView"}],ref:"indexListTable",attrs:{"module-info":t.moduleInfo,"list-style":t.templateO[t.showTemplate]&&t.templateO[t.showTemplate].listStyle&&(t.templateO[t.showTemplate].listStyle[t.tabActive]||t.templateO[t.showTemplate].listStyle[0]||t.templateO[t.showTemplate].listStyle),"do-search-fields":t.templateO[t.showTemplate]&&t.templateO[t.showTemplate].doSearchFields,"toolbar-btns":t.listpageBtns,"on-nav-tab-click":t.initUrl,"on-list-data-before-load":t.templateO[t.showTemplate]&&t.templateO[t.showTemplate].onListDataBeforeLoad,"on-list-data-loaded":t.onListDataLoaded,"nav-tab-list":t.templateO[t.showTemplate]&&t.templateO[t.showTemplate].navTabList,"advanced-search":t.templateO[t.showTemplate]&&t.templateO[t.showTemplate].advancedSearch[t.tabActive],"on-cell-click":t.cellClick,"show-footer-nav-bar":!!["htda","fkgl"].includes(t.showTemplate)},scopedSlots:t._u([{key:"row",fn:function(n){return[t.showTemplate?e(t.showTemplate,{tag:"component",attrs:{"slot-props":n,"cell-info":t.cellInfo(n)}}):t._e()]}},{key:"rightBtn",fn:function(n){return[t._l([t.cellInfo(n)].filter((function(t){return 1===t.btnType})),(function(i){return t._l(i.btnList,(function(t,i){return e("van-button",{key:t.name,attrs:{square:"",type:"danger",color:t.color||(i?"":"#ccc"),text:t.name},on:{click:function(e){return e.stopPropagation(),t.click(n.dataitem)}}})}))}))]}},{key:"cellBtn",fn:function(n){return[t._l([t.cellInfo(n)],(function(i){return t._l(i.btnList,(function(t){return e("van-button",{key:t.name,staticClass:"tag_btn van-hairline--surround",attrs:{hairline:"",text:t.name},on:{click:function(e){return e.stopPropagation(),t.click(n.dataitem)}}})}))}))]}}],null,!1,388159950)},[e("template",{slot:"searchpopu"},[e("van-cell-group",t._l(t.taskA,(function(n){return e("van-cell",{key:n.value,staticStyle:{"align-items":"center"},on:{click:function(e){return t.searchpopuClick(n)}},scopedSlots:t._u([t.taskValue===n.value?{key:"right-icon",fn:function(){return[e("svg",{staticStyle:{width:"14px",height:"14px"}},[e("use",{attrs:{"xlink:href":"#icon-gzbg_wdicon"}})])]},proxy:!0}:null],null,!0)},[e("span",{style:{color:t.taskValue===n.value?"#409efe":"#323233"}},[t._v(t._s(n.text))])])})),1)],1)],2):t._e(),t.showView?e("Basicform",{class:{"no-footer-btn":!t.showFooterBtn},attrs:{"wf-attach":t.htglwfAttach,"batch-save-namefield":"batchFiles","toolbar-btns":t.toolBarBtns,"on-basic-form-before-open":t.templateO[t.showTemplate]&&t.templateO[t.showTemplate].onBasicFormBeforeOpen,"on-basic-form-opened":t.templateO[t.showTemplate]&&t.templateO[t.showTemplate].onBasicFormOpened,"on-basic-form-before-submit":t.templateO[t.showTemplate]&&t.templateO[t.showTemplate].onBasicFormBeforeSubmit,"on-basic-form-submited":t.templateO[t.showTemplate]&&t.templateO[t.showTemplate].onBasicFormSubmited},scopedSlots:t._u([{key:"default",fn:function(n){return[e("busi-form",{ref:"busiForm",attrs:{vo:n.vo,"can-edit":n.canEdit,"module-info":t.moduleInfo}}),e("custom-form",{attrs:{vo:n.vo,"can-edit":n.canEdit,"module-info":t.moduleInfo}})]}}],null,!1,3060957494)}):t._e(),e("van-dialog",{attrs:{"show-cancel-button":""},on:{confirm:t.dialogConfirm,closed:t.dialogClosed},model:{value:t.showDialog,callback:function(e){t.showDialog=e},expression:"showDialog"}},[t.showDialog?e("dialog-countent",{ref:"dialogCountent"}):t._e()],1)],1)},m=[],g=n("c1df"),y="font-size: 16px;color: #333;font-weight: 600;line-height:12px;margin-top: 0;padding-top: 10px;",_={data:function(){var t=this;return{templateO:{hzsgl:{title:"合作商",component:"@/mapp/htgl/components/HtglTableCell",listStyle:{search:1,pageBtn:!0},advancedSearch:[{show:!1,searchPopupType:"droupDown"}],doSearchFields:["name"],basePathList:["hzsgl"],onListDataBeforeLoad:function(t,e){e.urlsearch="orgCode:".concat(this.loginUser.orgCode,";"),e.urlsearch+="status:1;",e.orderBy="createTime desc"}},htmb:{title:"合同模板",component:"@/mapp/htgl/components/HtglTableCell",listStyle:{search:1,pageBtn:!0},advancedSearch:[{show:!1,searchPopupType:"droupDown"}],doSearchFields:["templateName"],basePathList:["htmb"],onListDataBeforeLoad:function(t,e){e.urlsearch="orgCode:".concat(this.loginUser.orgCode,";"),e.orderBy="createTime desc"}},htda:{title:"合同查询",component:"@/mapp/htgl/components/HtglTableCell",advancedSearch:[{show:!0,selectTime:{filed:"createTime",format:"yyyy-MM-dd",title:"创建时间"}},{show:!1,searchPopupType:"droupDown"}],listStyle:[{search:1,pageBtn:!1,rowBtn:1,rowBtnStyle:3,rowBtnPopupType:"bottom"},{search:1,pageBtn:!0,rowBtn:0,rowBtnStyle:0}],doSearchFields:["contractName"],basePathList:["htda"],listDataUrl:"/htgl/htda/listdata",customForm:"@/mapp/htgl/htda/HtglHtdaHtdaPopup",onListDataBeforeLoad:function(t,e){if(e.urlsearch="orgCode:".concat(this.loginUser.orgCode,";"),0===this.tabActive){e.orderBy="remainDays asc",e.urlsearch+="status:1;";var n=g().format("YYYY-MM-DD"),i=g().add(1,"M").format("YYYY-MM-DD");e.searchMap||(e.searchMap={}),e.searchAndOr="and",e.searchMap["startDate_END"]=n,e.searchMap["endDate_START"]=n,"dq"===this.$route.query.search&&(e.searchMap["endDate_END"]=i)}else e.orderBy="createTime desc",e.urlsearch+="status:1,4,5;"},onCellTipClick:function(t,e,n){n({listbtns:[{btnName:"借阅申请",btnIcon:"",btnClick:function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];t.addhhtjy.apply(t,i)},btnPermission:"jysq",id:"jysq",btnType:"column"}]})},onBasicFormOpened:function(t,e){var n=t.moduleInfo.basePath;if(1===e.status){var i=g(e.startDate).format("x")-0,r=g(e.endDate).format("x")-0,a=g().format("x")-0;i<=a&&(e.status=2),r<a&&(e.status=3)}"htbgjl"===n&&(e.updatorId=this.loginUser.personId,e.updator=this.loginUser.personName)},onBasicFormBeforeSubmit:function(t,e,n){var i=t.moduleInfo,r=i.basePath,a=i.contractId,o=i.contractName;if("htda"===r){var s=!0;if(s=g(e.startDate).format("x")-0<=g(e.endDate).format("x")-0,!s){var l="合同结束日期不能早于合同开始日期";return n.reject(l),void this.$toast(l)}if(e.contractMoney&&(s=e.contractMoney-0),!s){var u="合同总金额不能为0";return n.reject(u),void this.$toast(u)}e.status&&~"1,2,3".indexOf(e.status)&&(e.status=1)}"htbgjl"===r&&(e.contractId=a,e.contractName=o),n.resolve(!0)}},fkgl:{title:"付款管理",component:"@/mapp/htgl/components/HtglTableCell",advancedSearch:[{show:!1,searchPopupType:"droupDown"},{show:!0,searchPopupType:"droupDown"},{show:!1,searchPopupType:"droupDown"}],listStyle:[{search:1,pageBtn:!0,rowBtn:1,rowBtnStyle:3,rowBtnPopupType:"bottom"},{search:1,pageBtn:!0,rowBtn:0,rowBtnStyle:0,rowBtnPopupType:"bottom"},{search:1,pageBtn:!0,rowBtn:0,rowBtnStyle:0}],navTabList:[{name:"付款计划",isActive:!0,showFooterBtns:!0},{name:"收票记录",showFooterBtns:!0},{name:"付款记录",showFooterBtns:!1}],doSearchFields:["contractName"],basePathList:["fkjh","spjl","fkjl"],onListDataBeforeLoad:function(e,n){if(n.urlsearch="orgCode:".concat(t.loginUser.orgCode,";"),0===t.tabActive){if(n.urlsearch+="status:1;",n.orderBy="planPayDate desc","fk"===t.$route.query.search){var i=g().format("YYYY-MM-DD"),r=g().add(1,"M").format("YYYY-MM-DD");n.searchMap||(n.searchMap={}),n.searchAndOr="and",n.searchMap["planPayDate_START"]=i,n.searchMap["planPayDate_END"]=r}}else 1===t.tabActive?(n.urlsearch+="status:".concat(t.searchValue,";"),n.orderBy="invoiceDate desc"):2===t.tabActive&&(n.urlsearch+="status:1;",n.orderBy="payDate desc")},onCellTipClick:function(t,e,n){1===e.status?n({listbtns:[{btnName:"付款",btnIcon:"",btnClick:function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];t.addfkjl.apply(t,i)},btnPermission:"fk",id:"fk",btnType:"column"},{btnName:"延期",btnIcon:"",btnClick:function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];t.editYq.apply(t,i)},btnPermission:"yq",id:"yq",btnType:"column"},{btnName:"编辑",btnIcon:"",btnClick:function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];t.editData.apply(t,i)},btnPermission:"",id:"bj",btnType:"column"}]}):n({listbtns:[{btnName:"查看详情",btnIcon:"",btnClick:function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];t.cellClick.apply(t,i)},btnPermission:"bg",id:"bg",btnType:"column"}]})},onBasicFormBeforeOpen:function(t,e,n){t.moduleInfo.spjlId&&(e.from="spjl"),n.resolve(!0)},onBasicFormOpened:function(t,e){var n=t.moduleInfo||{},i=this;if(e.jbrId||(e.jbrId=i.loginUser.personId,e.jbr=i.loginUser.personName),n.row){e.jhfkje=n.row.payAmount,e.yfkje=n.row.amountPaid,e.planPayAmount=n.row.payAmount,e.amountPaid=n.row.amountPaid;var r=n.row.passenger.hzsgl,a=n.row.passenger.htda,o=n.row;e.contractNumber=a.contractNumber,e.contractId=a.id,e.contractName=a.contractName,e.contractDate=a.signDate,e.contractFzrId=a.fzrId,e.contractFzr=a.fzr,e.catepory=o.catepory,e.fkjhId=o.id,e.payAmount=o.invoiceAmount,e.receiptDate=o.receiptDate,e.payee=r.name,e.noteType=o.noteType,e.invoiceNumber=o.invoiceNumber,e.taxPoint=o.taxPoint,e.taxpaperNumber=r.taxpaperNumber,e.bankName=r.bankName,e.bankAccount=r.bankAccount}},onBasicFormBeforeSubmit:function(t,e,n){console.log(t,e,n,"$scope, vo, defer");var i=t.moduleInfo.basePath;"spjl"===i&&(null==e.invoiceAmount?(this.$toast("发票金额需大于0,请重新输入!"),n.resolve(!1)):null==e.taxPoint?(this.$toast("税点比例需大于0,请重新输入!"),n.resolve(!1)):n.resolve(!0));var r=!1;if("fkjh"===i&&(r=g(e.planPayDate)<g().startOf("D"),r)){var a="计划付款日期不能早于当前日期";return n.reject(a),void this.$toast(a)}if("fkjl"===i){g(e.payDate)<g(e.receiptDate||e.passenger.spjlTime),t.vo.passenger.spjlList=t.$vnode.context.$refs.busiForm.spjlArr}n.resolve(!0)}},jygl:{title:"借阅管理",component:"@/mapp/htgl/components/HtglTableCell",advancedSearch:[{show:!1,searchPopupType:"droupDown"},{show:!1,searchPopupType:"droupDown"}],listStyle:[{search:1,pageBtn:!0,rowBtn:1,rowBtnStyle:1},{search:1,pageBtn:!0,rowBtn:0,rowBtnStyle:0}],navTabList:[{name:"未归还",isActive:!0,showFooterBtns:!0},{name:"已归还",showFooterBtns:!1}],doSearchFields:["contractName"],basePathList:["jygl"],onListDataBeforeLoad:function(t,e){e.urlsearch="orgCode:".concat(this.loginUser.orgCode,";"),0===this.tabActive?e.urlsearch+="status:0;":e.urlsearch+="status:1;",e.orderBy="borrowDate desc"},onBasicFormBeforeSubmit:function(t,e,n){var i=!1;if(i=g(e.estimatedDate)<g(e.borrowDate),i){var r="预计归还日期不能早于借阅日期";return n.reject(r),void this.$toast(r)}if(i=g().startOf("D")<g(e.borrowDate),i){var a="借阅日期不能超过当前日期";return n.reject(a),void this.$toast(a)}n.resolve(!0)}},wdjy:{title:"我的借阅",component:"@/mapp/htgl/components/HtglTableCell",navTabList:[{name:"借阅中",isActive:!0,showFooterBtns:!1},{name:"已归还",showFooterBtns:!1}],advancedSearch:[{show:!1,searchPopupType:"droupDown"},{show:!1,searchPopupType:"droupDown"}],doSearchFields:["contractName"],basePathList:["jygl"],customForm:"@/mapp/htgl/wdjy/HtglWdjy",onListDataBeforeLoad:function(t,e){e.urlsearch="orgCode:".concat(this.loginUser.orgCode,";"),0===this.tabActive?e.urlsearch+="status:0;borrowId:".concat(this.loginUser.personId):e.urlsearch+="status:1;borrowId:".concat(this.loginUser.personId),e.orderBy="borrowDate desc"}}},htmbTemplateTypelist:[{id:1,templateType:"租赁类合同"},{id:2,templateType:"工程项目类合同"},{id:3,templateType:"采购类合同"},{id:4,templateType:"销售类合同"},{id:5,templateType:"仓储运输类合同"},{id:6,templateType:"财务类合同"},{id:7,templateType:"合作协议"},{id:8,templateType:"其他"}],htdaStatuslist:[{id:1,status:"未开始"},{id:2,status:"执行中"},{id:3,status:"结束"},{id:4,status:"终止"},{id:5,status:"解除"}],spjlNoteTypeList:[{id:1,noteType:"增值税普通发票"},{id:2,noteType:"增值税专用发票"},{id:3,noteType:"国税通用机打发票"},{id:4,noteType:"地税通用机打发票"}],fkjlPayTypeList:[{id:1,payType:"支票"},{id:2,payType:"现金"},{id:3,payType:"银行转账"},{id:4,payType:"其他"}],jyglBorrowTypeList:[{id:1,borrowType:"合同原件"},{id:2,borrowType:"复印件"},{id:3,borrowType:"电子版合同"}]}},methods:{kzsglCellInfo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{title:t.name,content:[{lt:"纳税识别号",lc:[t.taxpaperNumber],ls:"width:calc(100% - 100px)",rt:"行业",rc:[t.industry],rs:"width:100px"},{lt:"开户行",lc:[t.bankName]}],btnType:1,btnList:[{name:"编辑",click:this.editData},{name:"删除",click:this.delData}]}},htmbCellInfo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{title:t.templateName,content:[{lt:"模板类型",lc:[t.templateType],ls:"width:50%",rt:"",rc:[this.getDate(t.createTime)],rs:"width:50%"},{lt:"适用范围",lc:[t.remark],ls:"width:100%",rs:"width:0%"}],btnType:1,btnList:[{name:"编辑",click:this.editData},{name:"删除",click:this.delData}]}},htdaCellInfo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(1===t.status){var e=g(t.startDate).format("x")-0,n=g(t.endDate).format("x")-0,i=g().format("x")-0,r=g(i).add(1,"d").format("x")-0;e<i&&(t.status=2),n<r&&(t.status=3)}var a=this.htdaStatuslist.filter((function(e){return e.id===t.status}))[0]||{},o=a.status;return this.tabActive?{title:t.contractName,content:[{lt:"合同剩余天数",lc:[t.remainDays]+"天",ls:"width:130px",rc:[this.moneyCurrency(t.contractMoney)],rs:y+"width:calc(100% - 130px)"},{lt:"计划付款日期",lc:[this.getDate(t.planPayDate)],ls:"width:100%",rs:"width:0%"},{lt:"合同周期",lc:[this.getDate(t.startDate),"至",this.getDate(t.endDate)],ls:"width:calc(100% - 50px)",rc:[o],rs:"width:50px"}],btnType:1,btnList:[]}:{title:t.contractName,content:[{lt:t.contractType,ls:"width:250px",rc:[this.htdaStatuslist[t.status].status],rs:"width:calc(100% - 250px)"},{lt:"签署时间",lc:[this.getDate(t.signDate)],ls:"width:250px",rt:"合同负责人",rc:t.fzr,rs:"width:calc(100% - 250px)"},{lt:"合作商",lc:t.partnerName,ls:"width:100%",rs:"width:0%"}],btnType:4}},fukuandata:function(t){return 1===t?"未付款":2===t?"已付款":void 0},fkglCellInfo:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.spjlNoteTypeList.filter((function(t){return t.id===e.noteType}))[0]||{},i=n.noteType,r=this.fkjlPayTypeList.filter((function(t){return t.id===e.payType}))[0]||{},a=r.payType,o=[{lt:"计划付款日期",lc:[this.getDate(e.planPayDate)],ls:"width:180px",rc:[this.moneyCurrency(e.payAmount)],rs:y+"width:calc(100% - 180px)"},{lc:[e.catepory],ls:"width:100%",rs:"width:0%"}],s=[{lt:"票据类型",lc:[i],ls:"width:160px",rc:[this.moneyCurrency(e.invoiceAmount)],rs:y+"width:calc(100% - 160px)"},{lt:"发票日期",lc:[this.getDate(e.invoiceDate)],ls:"width:100%",rs:"width:0%"},{lc:[e.catepory],ls:"width:calc(100% - 50px)",rc:[this.fukuandata(e.status)],rs:"width:50px"}],l=[{lc:[a],ls:"width:100px",rc:[this.moneyCurrency(e.payAmount)],rs:y+"width:calc(100% - 100px)"},{lt:"付款日期",lc:[this.getDate(e.payDate)],ls:"width:100%",rs:"width:0%"}],u=[];u=this.tabActive?1===this.tabActive?s:l:o;var d={name:"付款",click:function(){t.addfkjl(e)}},c=[{name:"编辑",click:this.editData}];0===this.tabActive&&c.push({name:"删除",click:this.delData});var h={};return 1===this.tabActive&&(c=this.isAdmin?[d]:[],h.click=function(e){var n=[{btnName:"编辑",btnClick:function(e,n,i){t.editData(n)}},{btnName:"删除",btnClick:function(e,n,i){t.delData(n)}}];e.morebtnClick(e.rowindex,e.dataitem,n)}),2===this.tabActive&&this.isAdmin&&c.push({name:"删除",click:this.delData}),{title:e.contractName,content:u,btnType:1===this.tabActive?2:1,btnList:c,moreBtn:h}},jyglCellInfo:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.jyglBorrowTypeList.filter((function(t){return t.id===e.borrowType}))[0]||{},i=n.borrowType,r={lt:"借阅日期",lc:[this.getDate(e.borrowDate),"至",this.getDate(e.estimatedDate)],ls:"width:100%",rs:"width:0%"},a="未",o="归还";e.status&&(a="已"),3===e.borrowType&&(o="回收");var s={lt:o+"日期",lc:[this.getDate(e.autcalDate)],rc:[a+o]},l={name:"回收",click:function(){var n=t;n.$dialog.confirm({message:"确定回收吗?"}).then((function(){n.clickRowInfo=e,n.updatejygl()})).catch((function(){}))}},u={name:"归还",click:function(){t.clickRowInfo=e,t.$options.components["DialogCountent"]=t.$loadComponent("@/mapp/htgl/jygl/HtglJyglGhsj"),t.$nextTick((function(){t.showDialog=!0}))}},d={};return 0===this.tabActive&&(d.click=function(e){var n=[{btnName:"编辑",btnClick:function(e,n,i){t.editData(n)}},{btnName:"删除",btnClick:function(e,n,i){t.delData(n)}}];e.morebtnClick(e.rowindex,e.dataitem,n)}),{title:e.contractName,content:[{lt:"借阅人",lc:[e.borrowName],rc:[i]},this.tabActive?s:r],btnType:this.tabActive?0:2,btnList:[3===e.borrowType?l:u],moreBtn:d}},wdjyCellInfo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e="未",n="归还";t.status&&(e="已"),3===t.borrowType&&(n="回收");var i=this.jyglBorrowTypeList.filter((function(e){return e.id===t.borrowType}))[0]||{},r=i.borrowType,a={lt:"借阅日期",lc:[this.getDate(t.borrowDate)],ls:"width:50%",rs:"width:50%",rt:"预计归还日期",rc:[this.getDate(t.estimatedDate)]},o={lt:t.autcalDate?n+"日期":"",lc:[this.getDate(t.autcalDate)],rc:[e+n]};return{title:t.contractName,content:[{lt:"合同编号",lc:[t.contractNumber],rc:"借阅类型 "+[r]},this.tabActive?o:a],btnType:(this.tabActive,0),btnList:[]}},moneyCurrency:function(t){return"¥"+parseFloat(t||0).toFixed(2)},getDate:function(t){var e="";return t&&(e=g(t).format("YYYY年MM月DD日")),e},addhtbgjl:function(t){this.htglwfAttach=!0,this.toolBarBtns=[];var e=this.getModuleInfo({basePathList:["htbgjl"]});Object.assign(e,{winWidth:window.mobileWidth,winHeight:window.mobileHeight,basePath:"htbgjl",contractId:t.id,contractName:t.contractName}),this.openBusiForm(null,1,e)},addhhtjy:function(t){this.htglwfAttach=!0;var e="htgl/jysq",n="jysq",i="合同借阅",r="",a=t.id,o="true",s="wfEngineUrl=".concat(e,"&busiCode=").concat(n,"&wfName=").concat(encodeURI(encodeURI(i)),"&startNodeName=").concat(encodeURI(encodeURI(r)),"&isCostRecord=").concat(o,"&contractId=").concat(a);this.$router.push("/wflow?"+s)},addfkjl:function(t){this.toolBarBtns=[];var e=this.getModuleInfo({basePathList:["fkjl"]});console.log(e,"moduleInfo"),e.row=t,e.formTemplate="#/dcontent/vuebusiform/M/htgl.fkjl.form.vue?sysCode="+this.$route.meta.sysCode,Object.assign(e,{winWidth:window.mobileWidth,winHeight:window.mobileHeight,basePath:"fkjl",spjlId:t.id}),this.openBusiForm(null,1,e)},editYq:function(t){this.toolBarBtns=[];var e=this.getModuleInfo({basePathList:["fkjh"]});e.yq=!0,e.formTemplate="#/dcontent/vuebusiform/M/htgl.fkjh.form_yq.vue?sysCode="+this.$route.meta.sysCode,Object.assign(e,{winWidth:window.mobileWidth,winHeight:window.mobileHeight,basePath:"fkjh",spjlId:t.id}),this.openBusiForm(t,1,e)},dialogConfirm:function(){this.clickRowInfo.autcalDate=this.$refs.dialogCountent&&this.$refs.dialogCountent.confirmDate,g().startOf("D")<g(this.clickRowInfo.autcalDate)?this.$toast.fail("归还日期不能超过当前日期"):g(this.clickRowInfo.borrowDate).startOf("D")>g(this.clickRowInfo.autcalDate)?this.$toast.fail("归还日期不能早于借阅日期"):this.updatejygl()},updatejygl:function(){var t=this;t.showDialog=!1;var e=t.clickRowInfo,n=e.id,i=e.autcalDate,r={id:n,status:"1"};i&&(r.autcalDate=i),t.$http({data:r,method:"PUT",contentType:"application/x-www-form-urlencoded",url:t.moduleInfo.updateUrl}).then((function(e){"success"===e.code?(t.$toast.success(e.message),t.$bus.emit("refreshListData")):t.$toast.fail(e.message)}))},onListDataBeforeLoad:function(t,e){},onListDataLoaded:function(t,e){},onBasicFormBeforeOpen:function(t,e,n){},onBasicFormOpened:function(t,e){},onBasicFormBeforeSubmit:function(t,e,n){},onBasicFormSubmited:function(t,e){}}},v=function(){var t=this,e=t._self._c;return e("div",{staticClass:"ghsj"},[e("div",{staticClass:"title"},[t._v("归还日期")]),e("van-datetime-picker",{attrs:{"show-toolbar":!1,type:"date"},model:{value:t.currentDate,callback:function(e){t.currentDate=e},expression:"currentDate"}})],1)},x=[],M=n("c1df"),b={filters:{showDate:function(t){return M(new Date(t)).format("YYYY年MM月DD日")}},data:function(){return{currentDate:new Date}},computed:{confirmDate:function(){return M(new Date(this.currentDate)).format("YYYY-MM-DD")}}},w=b,L=(n("4979"),c(w,v,x,!1,null,"8a3ec806",null)),S=L.exports,D={components:{dialogCountent:S},mixins:[_],props:{},data:function(){return{needBack:!0,loginUser:this.$store.getters.loginUser,rolesList:this.$store.state.user.roles,loadTable:!1,showTemplate:"",showView:!1,moduleInfo:{winWidth:window.mobileWidth,winHeight:window.mobileHeight},tabActive:0,listpageBtns:[{btnName:"新增",btnIcon:"plus",btnClick:this.setShowView,btnPermission:"setShowView",id:"add_btn",btnType:"page"}],htglwfAttach:!1,toolBarBtns:[],showDialog:!1,clickRowInfo:{},showFooterBtn:!0,isAdmin:!1,advancedSearch:{show:!0,searchPopupType:"droupDown"},taskValue:"",taskA:[{text:"全部",value:""},{text:"未付款",value:1},{text:"已付款",value:2}],searchValue:"1,2"}},computed:{},watch:{$route:{immediate:!0,handler:function(t){this.needBack&&this.backShowTemplate(t.query),this.initPage(t.query)},deep:!0}},created:function(){},beforeDestroy:function(){this.$bus.on("onCellTipClick",this.onCellTipClick)},mounted:function(){this.$bus.on("onCellTipClick",this.onCellTipClick),this.$options.components["DialogCountent"]=this.$loadComponent("@/mapp/htgl/jygl/HtglJyglGhsj"),this.rolesList&&this.rolesList.includes("htglAdmin")&&(this.isAdmin=!0,this.templateO.fkgl.navTabList[2].showFooterBtns=!0)},methods:{searchpopuClick:function(t){var e=this;this.taskValue=t.value,""===t.value?this.searchValue="1,2":this.searchValue=t.value,this.$bus.emit("onCustomSearch",[t.text],(function(){e.taskValue="",e.searchValue="1,2"})),this.$bus.emit("refreshListData")},onCellTipClick:function(){for(var t,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];(t=this.templateO[this.showTemplate]).onCellTipClick.apply(t,[this].concat(n))},backShowTemplate:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.showTemplate?this.needBack=!1:this.$router.back(-1)},initPage:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.showTemplate){this.htglwfAttach=!1,this.showView=!1;var n=e.showTemplate;this.$wv.setTitle({bool:!0,text:this.templateO[n].title,color:"#000000"}),this.Cookies.set("LIST_TAB_ACTIVE",""),this.loadTable=!1,this.$options.components[n]=this.$loadComponent(this.templateO[n].component),this.showTemplate=n,e.showView||this.$nextTick((function(){t.loadTable=!0,t.initUrl()}))}},getTabActive:function(){var t=0;return this.$refs["indexListTable"]&&(t=this.$refs["indexListTable"].tabActive),t},cellInfo:function(t){var e={};switch(this.showTemplate){case"hzsgl":e=this.kzsglCellInfo(t.dataitem);break;case"htmb":e=this.htmbCellInfo(t.dataitem);break;case"jygl":e=this.jyglCellInfo(t.dataitem);break;case"htda":e=this.htdaCellInfo(t.dataitem);break;case"fkgl":e=this.fkglCellInfo(t.dataitem);break;case"wdjy":e=this.wdjyCellInfo(t.dataitem);break;default:break}return e},closeDialog:function(){this.$router.back(-1)},initUrl:function(t){this.tabActive=this.getTabActive(),this.changeUrl()},changeUrl:function(){var t=this.getModuleInfo(this.templateO[this.showTemplate]);Object.assign(this.moduleInfo,t)},getModuleInfo:function(t){var e=t||{},n=e.basePathList,i=void 0===n?[]:n,r=e.listDataUrl,a=e.addNewUrl,o=e.insertUrl,s=e.updateUrl,l=e.getByIdUrl,u=e.delUrl,d=e.formTemplate,c=i[this.tabActive]||i[0],h={basePath:c,listDataUrl:r||"/htgl/"+c+"/listdata",addNewUrl:a||"/htgl/"+c+"/addNew",insertUrl:o||"/htgl/"+c+"/insert",updateUrl:s||"/htgl/"+c+"/update",getByIdUrl:l||"/htgl/"+c+"/getById",delUrl:u||"/htgl/"+c+"/delete",formTemplate:d||"#/dcontent/vuebusiform/M/htgl."+c+".form.vue?sysCode="+this.$route.meta.sysCode};return console.log(h," return moduleInfo"),h},setTitleByShowPath:function(t){var e="";switch(console.log("showPath",t),t){case"fkjh":e="付款计划";break;case"spjl":e="收票记录";break;case"fkjl":e="付款记录";break;case"jygl":e="借阅管理";break;case"htmb":e="合同模板";break;default:break}console.log("title",e),e&&this.$wv.setTitle({bool:!0,text:e,color:"#000000"})},cellClick:function(t,e,n,i){var r;if(console.log("row",t),"wdjy"===this.showTemplate){if(0===this.tabActive)return void this.viewPDF(t);r=this.getModuleInfo({basePathList:["jygl"]}),Object.assign(r,{winWidth:window.mobileWidth,winHeight:window.mobileHeight,basePath:"jygl"})}this.toolBarBtns=[],this.openBusiForm(t,0,r)},viewPDF:function(t){if(t.passenger.attachments){var e=window.location.protocol+"//"+window.location.hostname+":"+window.location.port,n=e+"/apigw/htgl/kpsq/downloadById?inline=true&attachIds=".concat(t.passenger.attachments.id,"&topdf=false&httpPort=2028&nameField=mbFileName&fileName=").concat(t.passenger.attachments.fileName);window.open("./plugins/PDFjs/web/viewer.html?file="+encodeURIComponent(n))}else this.$toast.fail("没有可打开的合同正文!")},setShowView:function(){this.toolBarBtns=[],this.openBusiForm(null,1)},editData:function(t){this.toolBarBtns=[],this.openBusiForm(t,1)},delData:function(t){var e=this;e.$dialog.confirm({message:"确定要删除此条记录吗?"}).then((function(){e.$http({method:"DELETE",contentType:"application/json charset=utf-8",url:e.moduleInfo.delUrl,params:{ids:t.id}}).then((function(t){"success"===t.code?(e.$toast.success(t.message),e.$bus.emit("refreshListData")):e.$toast.fail(t.message)}))})).catch((function(){}))},openBusiForm:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.moduleInfo;this.$router.push({path:this.$route.path,query:{showView:1,showPath:i.basePath}}),this.setTitleByShowPath(i.basePath),this.openCustomForm(i,e),this.$options.components["BusiForm"]=this.$loadComponent(i.formTemplate),this.showView=!0,e||(this.showFooterBtn=!1),this.$nextTick((function(){n.$bus.emit("openBusiform",i,t,e,(function(t){console.log("res----",t),"success"===t.code&&(n.$router.back(-1),n.$bus.emit("refreshListData")),n.showView=!1,n.showFooterBtn=!0}))}))},openCustomForm:function(t,e){var n=!1;"htda"===t.basePath&&(n=!e,this.htglwfAttach=!!e),"jygl"===t.basePath&&0===this.tabActive&&(n=!0);var i=this.templateO[this.showTemplate]||{},r=i.customForm;this.$options.components["CustomForm"]=n&&r?this.$loadComponent(r):void 0},dialogClosed:function(){this.$options.components["DialogCountent"]=void 0}}},T=D,k=(n("0b27"),c(T,f,m,!1,null,"1c002b14",null)),Y=k.exports,I=function(){var t=this,e=t._self._c;return e("van-cell",{staticClass:"row2-noleft-icon"},[e("template",{slot:"title"},[e("span",{staticClass:"left-top"},[t._v(t._s(t.cellInfo.title))])]),e("template",{slot:"label"},t._l(t.cellInfo.content,(function(n){return e("div",{key:n},[e("van-col",{staticClass:"left-bottom",style:n.ls},[e("span",{staticStyle:{"vertical-align":"inherit"}},[n.lt?e("span",[t._v(t._s(n.lt)+"  ")]):t._e(),t._l(n.lc,(function(n){return e("span",{key:n},[t._v(t._s(n))])}))],2)]),e("van-col",{staticClass:"right-bottom",style:n.rs},[e("span",{staticStyle:{"vertical-align":"inherit"}},[n.rt?e("span",[t._v(t._s(n.rt)+"  ")]):t._e(),t._l(n.rc,(function(n){return e("span",{key:n},[t._v(t._s(n))])}))],2)])],1)})),0)],2)},C=[],A={components:{},props:{slotProps:{type:Object,default:function(){return{}}},cellInfo:{type:Object,default:function(){return{}}}},data:function(){return{}},computed:{},watch:{},created:function(){},beforeDestroy:function(){},mounted:function(){},methods:{}},P=A,O=(n("8e09"),c(P,I,C,!1,null,"d8b16958",null)),H=O.exports,N=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-container"},[e("data-table",{directives:[{name:"show",rawName:"v-show",value:!t.showModal,expression:"!showModal"}],attrs:{"list-style":t.listStyle,"module-info":t.moduleInfo,"nav-tab-list":t.navTabList,"on-nav-tab-click":t.navTabClick,"do-search-fields":t.doSearchFields,"toolbar-btns":t.listpageBtns,"advanced-search":t.advancedSearch,"on-list-data-before-load":t.onListDataBeforeLoad,"on-list-data-loaded":t.onListDataLoaded,"on-delete-successed":t.onDeleteSuccessed,"on-cell-click":t.showApplyClick},scopedSlots:t._u([{key:"row",fn:function(n){return[e("van-cell",{staticClass:"row2-noleft-icon"},[e("template",{slot:"title"},[e("span",{staticClass:"left-top"},[t._v(t._s(n.dataitem.contractName))])]),e("template",{slot:"label"},[e("div",[e("span",{staticClass:"left-bottom"},[t._v(" "+t._s(n.dataitem.contractType)+" ")]),e("span",{staticClass:"right-bottom"},[t._v(" "+t._s(t.getStatusByNumber(n.dataitem.status))+" ")])]),e("div",[e("span",{staticClass:"left-bottom",staticStyle:{width:"50% !important"}},[t._v("签署时间:"+t._s(t.getDate(n.dataitem.signDate)))]),e("span",{staticClass:"right-bottom",staticStyle:{width:"50% !important"}},[t._v("合同负责人:"+t._s(n.dataitem.fzr))])]),e("div",[e("span",{staticClass:"left-bottom",staticStyle:{width:"100% !important"}},[t._v("合作商:"+t._s(n.dataitem.partnerName))])])])],2)]}},{key:"searchpopu",fn:function(){return[[-1!==t.roleList.indexOf("dwAdministrators")?e("div",[e("InputField",{attrs:{vo:t.searchFiled,model:"contractName",label:"合同名称",placeholder:"请输入合同名称"}}),e("InputField",{attrs:{vo:t.searchFiled,model:"contractNumber",label:"合同编号",placeholder:"请输入合同编号"}})],1):t._e(),e("div",[e("div",{staticStyle:{padding:"20px","font-size":"15px"}},[t._v("合同状态:")]),e("div",{staticStyle:{padding:"0 20px 10px"}},[e("van-row",{attrs:{align:"center"}},t._l(t.statusList,(function(n,i){return e("van-col",{key:i,staticStyle:{"margin-bottom":"10px"},attrs:{span:"8"}},[e("div",{staticClass:"radio-type",class:{wfTypeKey:!!n.checked},style:{margin:(i+1)%3===0?"0 0 0 10px":(i+1)%3===1?"0 10px 0 0":"0 5px"},on:{click:function(e){return t.selectWfTypeStatus(n,i)}}},[t._v(" "+t._s(n.status)+" ")])])})),1)],1)]),e("div",[e("div",{staticStyle:{padding:"20px","font-size":"15px"}},[t._v("合同类型:")]),e("div",{staticStyle:{padding:"0 20px 10px"}},[e("van-row",{attrs:{align:"center"}},t._l(t.option,(function(n,i){return e("van-col",{key:i,staticStyle:{"margin-bottom":"10px"},attrs:{span:"8"}},[e("div",{staticClass:"radio-type",class:{wfTypeKey:!!n.checked},style:{margin:(i+1)%3===0?"0 0 0 10px":(i+1)%3===1?"0 10px 0 0":"0 5px"},on:{click:function(e){return t.selectWfType(n,i)}}},[t._v(" "+t._s(n.text)+" ")])])})),1)],1)]),e("div",{staticClass:"form-slicer"})]]},proxy:!0}])}),e("Basicform",{directives:[{name:"show",rawName:"v-show",value:t.showModal,expression:"showModal"}],class:{"no-footer-btn":!t.showFooterBtn},attrs:{"toolbar-btns":t.busiformBtns,"on-basic-form-before-open":t.onBasicFormBeforeOpen,"on-basic-form-opened":t.onBasicFormOpened,"on-basic-form-before-submit":t.onBasicFormBeforeSubmit,"on-basic-form-submited":t.onBasicFormSubmited},scopedSlots:t._u([{key:"default",fn:function(n){return[e("busi-form",{ref:"busiForm",attrs:{vo:n.vo,"can-edit":n.canEdit,"module-info":t.moduleInfo}})]}}])})],1)},E=[],R=n("c1df"),z={components:{},data:function(){return{moduleInfo:{winWidth:window.mobileWidth,winHeight:window.mobileHeight,listDataUrl:"/htgl/htda/listdata",delUrl:"/htgl/htda/delete",updateUrl:"/htgl/htda/update",addNewUrl:"/htgl/htda/addNew",insertUrl:"/htgl/htda/insert",getByIdUrl:"/htgl/htda/getById",deleteUrl:"/htgl/htda/delete"},statusList:[{id:1,status:"未开始",checked:!1},{id:2,status:"执行中",checked:!1},{id:3,status:"结束",checked:!1},{id:4,status:"终止",checked:!1},{id:5,status:"解除",checked:!1}],busiformBtns:[],navTabList:[],listStyle:{shape:"circle",leftIcon:0,leftIconUrl:"/images/logo.png",tabs:1,title:"flSubject",rightLabel:"flCreator",rightStatus:" ",search:1,leftLabel:"flCreateDate",rowBtnStyle:3,pageBtn:1,rowBtn:1,topbarBtn:0,rowBtnPopupType:"bottom"},doSearchFields:["contractName"],advancedSearch:{show:!0,searchInput:!1,selectTime:{name:"合同开始日期",filed:"searchTime",format:"yyyy-MM-dd"},advancedOnSearch:this.advancedOnSearch},showModal:!1,loginUser:this.$store.getters.loginUser,roleList:this.$store.state.user.roles,isAdmin:!1,active:0,searchFiled:{contractName:"",contractNumber:""},option:[],contractTypeOptions:[],selectTime:{startTime:"",endTime:""},value:[]}},computed:{},watch:{$route:function(t){var e=Object.keys(t.query),n=this,i=["showDetail","showModal"];i.forEach((function(t){-1!==e.indexOf(t)?n.$data[t]=!0:n.$data[t]=!1}))}},created:function(){var t=this;this.$wv.setTitle({bool:!0,text:"合同查询",color:"#000000"}),this.$bus.on("advSearchReset",this.clearSearchKey),this.$http({url:"htgl/htda/listdata",method:"POST"}).then((function(e){"success"===e.code&&(e.body.passenger.contractTypeOptions.forEach((function(t){t.checked=!1})),t.option=e.body.passenger.contractTypeOptions,t.contractTypeOptions=e.body.passenger.contractTypeOptions)}))},mounted:function(){this.$bus.on("onCellTipClick",this.onCellTipClick)},beforeDestroy:function(){this.$bus.off("advSearchReset",this.clearSearchKey),this.$bus.off("onCellTipClick",this.onCellTipClick)},methods:{getDate:function(t){var e="";return t&&(e=R(t).format("YYYY年MM月DD日")),e},getStatusByNumber:function(t){var e=[{id:1,status:"未开始"},{id:2,status:"执行中"},{id:3,status:"结束"},{id:4,status:"终止"},{id:5,status:"解除"},{id:9,status:"已注销"}],n=e.find((function(e){return e.id===t}));return n?n.status:"未知状态"},onCellTipClick:function(t,e){e({listbtns:[{btnName:"借阅申请",btnIcon:"",btnClick:this.addhhtjy,btnPermission:"jysq",id:"jysq",btnType:"column"}]})},addhhtjy:function(t){this.htglwfAttach=!0;var e="htgl/jysq",n="jysq",i="合同借阅",r="",a=t.id,o="true",s="wfEngineUrl=".concat(e,"&busiCode=").concat(n,"&wfName=").concat(encodeURI(encodeURI(i)),"&startNodeName=").concat(encodeURI(encodeURI(r)),"&isCostRecord=").concat(o,"&contractId=").concat(a);this.$router.push("/wflow?"+s)},clearSearchKey:function(t,e){this.searchFiled={name:"",dept:""},this.option=this.contractTypeOptions,this.statusList=[{id:1,status:"未开始",checked:!1},{id:2,status:"执行中",checked:!1},{id:3,status:"结束",checked:!1},{id:4,status:"终止",checked:!1},{id:5,status:"解除",checked:!1}],this.$forceUpdate()},openBusiForm:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.moduleInfo;this.$router.push({path:this.$route.path,query:{showModal:1,showPath:i.basePath}}),i.formTemplate="#/dcontent/vuebusiform/M/htgl.htda.form.vue?sysCode="+this.$route.meta.sysCode,this.$options.components["BusiForm"]=this.$loadComponent(i.formTemplate),this.showModal=!0,e||(this.showFooterBtn=!1),this.$nextTick((function(){n.$bus.emit("openBusiform",i,t,e,(function(t){console.log("res----",t),"success"===t.code&&(n.$router.back(-1),n.$bus.emit("refreshListData")),n.showModal=!1,n.showFooterBtn=!0}))}))},advancedOnSearch:function(t,e,n,i,r){console.log("高级搜索",r),this.selectTime={startDate:e.searchTime_START,endDate:e.searchTime_END},console.log("高级搜索wan",this.selectTime)},selectWfType:function(t,e){this.option.forEach((function(t,n){t.checked=n===e&&!t.checked})),this.$forceUpdate()},selectWfTypeStatus:function(t,e){this.statusList.forEach((function(t,n){t.checked=n===e&&!t.checked})),this.$forceUpdate()},onListDataBeforeLoad:function(t,e){-1!==this.roleList.indexOf("dwAdministrators")?this.active=t.tabActive:this.active=1,e.searchMap={contractName:this.searchFiled.contractName||(e.searchMap.contractName?e.searchMap.contractName:""),contractNumber:this.searchFiled.contractNumber,startDate_START:""!==this.selectTime.startDate&&void 0!==this.selectTime.startDate?this.selectTime.startDate:"",startDate_END:""!==this.selectTime.endDate&&void 0!==this.selectTime.endDate?this.selectTime.endDate:""},e.urlsearch="status:1,2,3,4,5";var n=this.option.filter((function(t){return!0===t.checked})),i=this.statusList.filter((function(t){return!0===t.checked}));e.searchMap.contractType=0===n.length?"":n[0].value,e.searchMap.status=0===i.length?"":i[0].id},onListDataLoaded:function(t,e){console.log("vwMyMeeting listdata loaded")},showApplyClick:function(t){var e=this;this.$store.getters.roles.map((function(n){if("htglAdmin"===n)return e.toolBarBtns=[],void e.openBusiForm(t,0)}))}}},j=z,B=(n("0e57"),c(j,N,E,!1,null,"1f5a3130",null)),F=B.exports,V=function(){var t=this,e=t._self._c;return e("div",[t.htdaFileVo.passenger?e("Attachment",{ref:"htdaAttachments",attrs:{"cur-t-n":t.curTN,vo:t.htdaFileVo,"can-edit":!1,attachments:t.htdaFileVo.passenger.attachments,"batch-save-namefield":"batchFiles","show-attachments":!0}}):t._e(),e("div",{staticClass:"form-slicer"}),e("van-cell-group",t._l(t.cellList,(function(n){return e("van-cell",{key:n.title,attrs:{title:n.title,"is-link":""},on:{click:function(e){return t.openPopup(n.path)}}})})),1),e("PopupDialog",{attrs:{title:t.popupTitle,showpop:t.showPopup1},on:{"update:showpop":function(e){t.showPopup1=e}}},[t.showListTable?e("div",[e("data-table",{staticClass:"dataTable",attrs:{"module-info":t.moduleInfo,"list-style":{search:0},"on-list-data-before-load":t.onListDataBeforeLoad,"on-list-data-loaded":t.onListDataLoaded,"on-cell-click":t.cellClick},scopedSlots:t._u([{key:"row",fn:function(n){return["htbgjl"===t.showPath?e("htbgjlList",{attrs:{"slot-props":n}}):t._e(),"fkjh"===t.showPath?e("fkjhList",{attrs:{"slot-props":n}}):t._e(),"fkjl"===t.showPath?e("fkjlList",{attrs:{"slot-props":n}}):t._e(),"spjl"===t.showPath?e("spjlList",{attrs:{"slot-props":n}}):t._e(),"jygl"===t.showPath?e("jyglList",{attrs:{"slot-props":n}}):t._e()]}}],null,!1,3186961419)})],1):t._e()]),e("PopupDialog",{attrs:{title:"变更详情",showpop:t.showPopup2},on:{"update:showpop":function(e){t.showPopup2=e}}},[t.showPopup2?e("div",[e("htbgjlForm",{attrs:{vo:t.cellInfo,"can-edit":0}}),t.cellInfo.passenger?e("Attachment",{ref:"attachments",attrs:{"cur-t-n":t.curTN,vo:t.cellInfo,"can-edit":!1,attachments:t.cellInfo.passenger.attachments,"batch-save-namefield":"batchFiles","show-attachments":!0}}):t._e()],1):t._e()])],1)},W=[],G=function(){var t=this,e=t._self._c;return e("van-cell-group",[e("van-cell",{staticClass:"row2-noleft-icon"},[e("template",{slot:"title"},[e("span",{staticClass:"left-top"},[e("span",{staticStyle:{"padding-right":"15px"}},[t._v(t._s(t.cellInfo.changeTypeView))]),e("span",[t._v(t._s(t.cellInfo.updator))])]),e("span",{staticClass:"right-top"},[e("span",{staticStyle:{float:"right",width:"max-content","line-height":"16px",color:"#999999"}},[t._v(t._s(t.cellInfo.changeTimeView))])])]),e("template",{slot:"label"},[e("div",[e("span",{staticClass:"left-bottom content",staticStyle:{width:"100%"}},[t._v(t._s(t.cellInfo.changeDes))])])])],2)],1)},U=[],X=n("c1df"),Z={props:{slotProps:{type:Object,default:function(){return{}}},vo:{type:Object,default:function(){return{}}},canEdit:{type:Number,default:0},moduleInfo:{type:Object,default:function(){return{}}}},data:function(){return{changeTypeList:[{id:1,changeType:"内容变更"},{id:2,changeType:"合同解除"},{id:3,changeType:"合同终止"}]}},computed:{cellInfo:function(){var t=this.slotProps.dataitem||{},e=X(t.changeTime).format("YYYY-MM-DD HH:mm");t.changeTimeView=e;var n=this.changeTypeList.filter((function(e){return e.id===t.changeType}))[0]||{},i=n.changeType;return t.changeTypeView=i,t}},watch:{},created:function(){},beforeDestroy:function(){},mounted:function(){},methods:{}},q=Z,$=(n("e44c"),c(q,G,U,!1,null,"188aa5e8",null)),J=$.exports,K=function(){var t=this,e=t._self._c;return e("van-cell-group",[e("div",{staticClass:"form-slicer"}),e("input-field",{attrs:{vo:t.cellInfo,model:"catepory",label:"款项类别","default-value":"","text-formatter":"textfield",readonly:!0}}),e("input-field",{attrs:{vo:t.cellInfo,model:"payAmount",label:"付款金额","default-value":"","text-formatter":"currency2",readonly:!0}}),e("datetime-field",{attrs:{vo:t.cellInfo,model:"planPayDate",label:"计划付款日期","default-value":"",readonly:!0,format:"yyyy年MM月dd日"}}),e("input-field",{attrs:{vo:t.cellInfo,model:"payRatio",label:"付款比例","default-value":"","value-suffix":"%","text-formatter":"currency2",readonly:!0}})],1)},Q=[],tt={props:{slotProps:{type:Object,default:function(){return{}}}},data:function(){return{}},computed:{cellInfo:function(){var t=this.slotProps.dataitem||{};return t}},watch:{},created:function(){},beforeDestroy:function(){},mounted:function(){},methods:{}},et=tt,nt=(n("f9a1"),c(et,K,Q,!1,null,"6ab1e674",null)),it=nt.exports,rt=function(){var t=this,e=t._self._c;return e("van-cell-group",[e("div",{staticClass:"form-slicer"}),e("input-field",{attrs:{vo:t.cellInfo,model:"catepory",label:"对应款项类别","default-value":"","text-formatter":"textfield",readonly:!0}}),e("input-field",{attrs:{vo:t.cellInfo,model:"payee",label:"收款单位","default-value":"","text-formatter":"textfield",readonly:!0}}),e("input-field",{attrs:{vo:t.cellInfo,model:"payAmount",label:"付款金额","default-value":"","text-formatter":"currency2",readonly:!0}}),e("select-field",{attrs:{vo:t.cellInfo,model:"payType",label:"付款方式","default-value":"","prop-type":"Short",readonly:!0,"element-formatter":"1:支票<br>2:现金<br>3:银行转账<br>4:其他<br>5:删除"}}),e("datetime-field",{attrs:{vo:t.cellInfo,model:"payDate",label:"计划付款日期","default-value":"",readonly:!0,format:"yyyy年MM月dd日"}})],1)},at=[],ot={props:{slotProps:{type:Object,default:function(){return{}}}},data:function(){return{}},computed:{cellInfo:function(){var t=this.slotProps.dataitem||{};return t}},watch:{},created:function(){},beforeDestroy:function(){},mounted:function(){},methods:{}},st=ot,lt=(n("4e7c"),c(st,rt,at,!1,null,"10db0c6a",null)),ut=lt.exports,dt=function(){var t=this,e=t._self._c;return e("van-cell-group",[e("div",{staticClass:"form-slicer"}),e("datetime-field",{attrs:{vo:t.cellInfo,model:"invoiceDate",label:"开票日期","default-value":"",readonly:!0,format:"yyyy年MM月dd日"}}),e("input-field",{attrs:{vo:t.cellInfo,model:"invoiceAmount",label:"发票金额","default-value":"","text-formatter":"currency2",readonly:!0}}),e("select-field",{attrs:{vo:t.cellInfo,model:"noteType",label:"票据类型 ","default-value":"",placeholder:"请选择票据类型 ","prop-type":"Short",readonly:!0,"element-formatter":"1:增值税普通发票<br>2:增值税专用发票<br>3:国税通用机打发票<br>4:地税通用机打发票"}})],1)},ct=[],ht={props:{slotProps:{type:Object,default:function(){return{}}}},data:function(){return{}},computed:{cellInfo:function(){var t=this.slotProps.dataitem||{};return t}},watch:{},created:function(){},beforeDestroy:function(){},mounted:function(){},methods:{}},pt=ht,ft=(n("3d74"),c(pt,dt,ct,!1,null,"3445bf0e",null)),mt=ft.exports,gt=function(){var t=this,e=t._self._c;return e("van-cell-group",[e("div",{staticClass:"form-slicer"}),e("input-field",{attrs:{vo:t.cellInfo,model:"borrowName",label:"借阅人","default-value":"","text-formatter":"textfield",placeholder:"请输入借阅人",readonly:!0}}),e("datetime-field",{attrs:{vo:t.cellInfo,model:"borrowDate",label:"借阅日期","default-value":"",readonly:!0,format:"yyyy年MM月dd日"}}),e("datetime-field",{attrs:{vo:t.cellInfo,model:"estimatedDate",label:"归还日期","default-value":"",readonly:!0,format:"yyyy年MM月dd日"}}),e("select-field",{attrs:{vo:t.cellInfo,model:"status",label:"借阅状态","default-value":"","prop-type":"Short",readonly:!0,"element-formatter":"0:未归还<br>1:已归还<br>9:删除"}})],1)},yt=[],_t={props:{slotProps:{type:Object,default:function(){return{}}}},data:function(){return{}},computed:{cellInfo:function(){var t=this.slotProps.dataitem||{};return t}},watch:{},created:function(){},beforeDestroy:function(){},mounted:function(){},methods:{}},vt=_t,xt=(n("0506"),c(vt,gt,yt,!1,null,"bb33d52c",null)),Mt=xt.exports,bt={components:{htbgjlList:J,fkjhList:it,fkjlList:ut,spjlList:mt,jyglList:Mt},props:{vo:{type:Object,default:function(){return{}}}},data:function(){return{popupTitle:"",showPopup1:!1,showPopup2:!1,cellList:[{title:"付款计划",path:"fkjh"},{title:"收票记录",path:"spjl"},{title:"付款记录",path:"fkjl"},{title:"借阅记录",path:"jygl"},{title:"变更记录",path:"htbgjl"}],cellInfo:{},showPopup:!1,footerBtns:[{id:"btn_close",btnName:"关 闭",btnIcon:"close",btnClick:this.closePopup,btnPermission:"",btnStyleType:"default"}],showListTable:!1,showPath:"",moduleInfo:{winWidth:window.mobileWidth,winHeight:window.mobileHeight,insertUrl:""},htdaFileVo:{passenger:{attachments:[]}}}},computed:{},watch:{$route:{immediate:!0,handler:function(t){var e=this;Object.keys(t).length&&1==t.query.tier?(this.initUrl(),this.$nextTick((function(){e.showListTable=!0}))):this.moduleInfo={listDataUrl:"/htgl/htda/listdata",addNewUrl:"/htgl/htda/addNew",insertUrl:"/htgl/htda/insert",updateUrl:"/htgl/htda/update",getByIdUrl:"/htgl/htda/getById",delUrl:"/htgl/htda/delete"}},deep:!0},"vo.id":{immediate:!0,handler:function(t){t&&this.gethtdaFileList()}}},created:function(){},beforeDestroy:function(){},mounted:function(){},methods:{closePopup:function(){this.$router.back(-1)},openPopup:function(t){this.showPath=t,this.popupTitle=this.cellList.filter((function(e){return e.path===t}))[0].title,this.showPopup1=!0,this.showListTable=!1},initUrl:function(t){this.changeUrl(this.showPath)},changeUrl:function(t){var e={listDataUrl:"/htgl/"+t+"/listdata",addNewUrl:"/htgl/"+t+"/addNew",insertUrl:"/htgl/"+t+"/insert",updateUrl:"/htgl/"+t+"/update",getByIdUrl:"/htgl/"+t+"/getById",delUrl:"/htgl/"+t+"/delete"};Object.assign(this.moduleInfo,e)},beforeClose:function(t){t.position,t.instance},cellClick:function(t){"htbgjl"===this.showPath&&(this.$options.components["htbgjlForm"]=this.$loadComponent("#/dcontent/vuebusiform/M/htgl.htbgjl.form.vue?sysCode="+this.$route.meta.sysCode),this.gethtbgjlInfo(t.id),this.showPopup2=!0)},gethtbgjlInfo:function(t){var e=this,n=this;n.$http({method:"get",contentType:"application/json charset=utf-8",url:"/htgl/htbgjl/getById",params:{id:t}}).then((function(t){"success"===t.code?e.cellInfo=t.body.vo:n.$toast.fail(t.message)}))},gethtdaFileList:function(){var t=this;t.$http({url:"/htgl/htda/queryAttachList",method:"get",contentType:"application/x-www-form-urlencoded",params:{htdaId:this.vo.id}}).then((function(e){Object.assign(t.htdaFileVo,t.vo),t.htdaFileVo.passenger={},t.htdaFileVo.passenger.attachments=e.body.listdata}))},onListDataBeforeLoad:function(t,e){e.urlsearch="contractId:".concat(this.vo.id),"htbgjl"===this.showPath&&(e.orderBy="changeTime desc")}}},wt=bt,Lt=(n("585e"),c(wt,V,W,!1,null,"63fb0d2a",null)),St=Lt.exports,Dt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"htgl_home"},[t._m(0),e("TopTo",[e("TopItem",{attrs:{"num-left":t._f("remindNumTransform")(t.contractRemind.approvalNum),type:5},on:{"click-fun":t.tosp}},[t._v(" 待审批 "),t.contractRemind.approvalNum>99?e("template",{slot:"leftMore2"},[e("span",{staticClass:"data-more"})]):t._e(),t.contractRemind.finishNum>99?e("template",{slot:"rightMore"},[e("span",{staticClass:"data-more"})]):t._e()],2),e("TopItem",{attrs:{"num-left":t._f("remindNumTransform")(t.contractRemind.jhfkyqtx),type:5}},[t._v(" 计划付款逾期提醒 "),t.contractRemind.jhfkyqtx>99?e("template",{slot:"leftMore2"},[e("span",{staticClass:"data-more"})]):t._e()],2),e("TopItem",{attrs:{"num-left":t._f("remindNumTransform")(t.contractRemind.htdqtx),type:5}},[t._v(" 合同到期提醒 "),t.contractRemind.htdqtx>99?e("template",{slot:"leftMore2"},[e("span",{staticClass:"data-more"})]):t._e()],2)],1),e("BlockFrameApp",{staticStyle:{"border-top":"10px solid #F7F8FA"},attrs:{header:{title:"快速入口"}}},[e("QuickTo",[e("QuickItem",{attrs:{icon:"#icon-spsq","d-width":"25%",padding:"20px 0"},on:{"click-fun":t.tospsq}},[t._v("合同审批")]),e("QuickItem",{attrs:{icon:"#icon-bgsq","d-width":"25%",padding:"20px 0"},on:{"click-fun":t.tobgsq}},[t._v("合同变更")]),e("QuickItem",{attrs:{icon:"#icon-jysq_01","d-width":"25%",padding:"20px 0"},on:{"click-fun":t.tojysq}},[t._v("合同借阅")]),e("QuickItem",{attrs:{icon:"#icon-fksq_01","d-width":"25%",padding:"20px 0"},on:{"click-fun":t.tofksq}},[t._v("合同付款")]),e("QuickItem",{attrs:{icon:"#icon-jygl","d-width":"25%",padding:"20px 0"},on:{"click-fun":t.tojygl}},[t._v("借阅管理")]),e("QuickItem",{attrs:{icon:"#icon-wdjy","d-width":"25%",padding:"20px 0"},on:{"click-fun":t.towdjy}},[t._v("我的借阅")]),e("QuickItem",{attrs:{icon:"#icon-hzs_01","d-width":"25%",padding:"20px 0"},on:{"click-fun":t.tohzsgl}},[t._v("合作商")]),e("QuickItem",{attrs:{icon:"#icon-htmb_01","d-width":"25%",padding:"20px 0"},on:{"click-fun":t.tohtmb}},[t._v("合同模板")])],1)],1),e("BlockFrameApp",{staticStyle:{"border-top":"10px solid #F7F8FA"},attrs:{header:{title:"负责合同统计"}}},[e("template",{slot:"head-right"},[e("div",{staticClass:"date-picker-container",staticStyle:{"padding-right":"12px"},on:{click:t.toggleDialog}},[e("span",[t._v(t._s(t.dataQueryShow))]),e("van-icon",{staticClass:"arrow-icon",staticStyle:{transform:"rotate(90deg)","margin-left":"5px"},attrs:{name:"arrow"}})],1),t.dialogVisible?e("van-popup",{attrs:{position:"bottom"},model:{value:t.dialogVisible,callback:function(e){t.dialogVisible=e},expression:"dialogVisible"}},[e("van-picker",{attrs:{"default-index":t.defaultIndex,"show-toolbar":"",title:"选择年份",columns:t.columns},on:{confirm:t.handleChange}})],1):t._e()],1),e("div",{staticClass:"three",staticStyle:{padding:"0px 0px"}},[e("div",{staticClass:"home_htfk_content"},[t.listdata.length>0?e("div",{staticStyle:{display:"flex","flex-wrap":"wrap","justify-content":"space-between","align-items":"center","align-content":"center"}},t._l(t.listdata,(function(n,i){return e("div",{key:i,staticClass:"content_item_box",staticStyle:{"aspect-ratio":"166 / 85",width:"44%",padding:"7px","margin-bottom":"12px",background:"#f7f8fa"}},[e("div",{staticClass:"content_item"},[e("div",{staticClass:"inner_item_left",staticStyle:{"font-size":"23px"}},[e("div",{staticStyle:{width:"45px",height:"45px","border-radius":"30px",display:"flex","justify-content":"center","align-items":"center"}},[n.svg?e("svg",{staticClass:"svg-icon-font",attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":"#icon-"+n.svg}})]):t._e()])]),e("div",{staticClass:"inner_item_right"},[e("div",{staticClass:"item-title"},[t._v(t._s(n.subject))]),e("div",{staticClass:"item-count"},[t._v(t._s(n.count))])])])])})),0):t._e()])])],2),e("SelectDialog")],1)},Tt=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"htgl-home-index"},[e("img",{staticClass:"htgl_index_img",attrs:{src:"images/m-imgs/htgl/htgl_index.png"}}),e("br")])}],kt=n("2f62");function Yt(t){return Yt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yt(t)}function It(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Ct(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?It(Object(n),!0).forEach((function(e){At(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):It(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function At(t,e,n){return e=Pt(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pt(t){var e=Ot(t,"string");return"symbol"==Yt(e)?e:e+""}function Ot(t,e){if("object"!=Yt(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=Yt(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var Ht=n("c1df"),Nt={filters:{remindNumTransform:function(t){var e=t||"";return t||(e=0),t>99&&(e="99"),e}},props:{},data:function(){var t=this;return{columns:[{values:Array.from({length:30},(function(t,e){return String(2020+e)}))}],listdata:[],year:"",dataQueryShow:"",dialogVisible:!1,dataQuery:"",defaultIndex:"",loginUser:this.$store.getters.loginUser,entranceList:[{title:"合同审批",icon:"spsq",iconColor:"#61d687",click:this.tospsq},{title:"合同付款",icon:"fksq",iconColor:"#ea9342",click:this.tofksq},{title:"合同借阅申请",icon:"jysq",iconColor:"#409eff",click:this.tojysq},{title:"合同变更申请",icon:"bgsq",iconColor:"#40caff",click:this.tobgsq},{title:"借阅管理",icon:"jygl",iconColor:"#409eff",click:this.tojygl},{title:"我的借阅",icon:"wdjy",iconColor:"#52dbdb",click:this.towdjy},{title:"合作商",icon:"hzs",iconColor:"#61d687",click:this.tohzsgl},{title:"合同模板",icon:"ht_m",iconColor:"#ea9342",click:this.tohtmb}],fkDateInfo:{name:"",startDate:"",endDate:"",isAdmin:0},fkDate:"",fkDateOption:[{text:"本月",value:"本月",unit:"M"},{text:"本季",value:"本季",unit:"Q"},{text:"本年",value:"本年",unit:"Y"}],htqytjOption:[{text:"本月",value:"本月",unit:"M",children:[{text:"签约金额",value:"签约金额"},{text:"签约合同数",value:"签约合同数"}]},{text:"本季",value:"本季",unit:"Q",children:[{text:"签约金额",value:"签约金额"},{text:"签约合同数",value:"签约合同数"}]},{text:"本年",value:"本年",unit:"Y",children:[{text:"签约金额",value:"签约金额"},{text:"签约合同数",value:"签约合同数"}]}],htfktjOption:[{text:"全部",value:"全部"}],totalPlannedPayment:0,totalAmountReceived:0,totalAmountOfApplicationPayment:0,totalActualPayment:0,contractRemind:{htda:0,fkjfTaotal:0,approvalNum:0,finishNum:0,fkjf:0,totalHtda:0,jhfkyqtx:0,htdqtx:0},isLegends:!0,legendAligns:{location:"bottom"},qytjInfo:{name:"签约金额",startDate:"",endDate:""},qyjeEchartOption:{title:"合同签约金额统计",seriesData:[],tooltipFormatter:function(e){return"".concat(e.name,":").concat(t.$options.filters.currency(e.data.money))}},qyslEchartOption:{title:"合同签约合同数统计",seriesData:[],tooltipFormatter:function(t){return"".concat(t.name,":").concat(t.data.num)}},fktjInfo:{name:"",startDate:"",endDate:"",isAdmin:0},echartOption:{actualPayment:[],createTime:[],planAmount:[],yAxisFormatter:function(t){var e=t;return t>=Math.pow(10,4)&&(e=(t/Math.pow(10,4)).toFixed(0)+"万"),t>=Math.pow(10,8)&&(e=(t/Math.pow(10,8)).toFixed(0)+"亿"),t>=Math.pow(10,12)&&(e=(t/Math.pow(10,12)).toFixed(0)+"万亿"),e},tooltipFormatter:function(e){var n="";return e&&e.length&&(n=e[0].name,e.forEach((function(e){n+="<br>".concat(e.marker).concat(e.seriesName,":").concat(t.$options.filters.currency(e.value))}))),n}},isAdmin:0}},computed:Ct({},Object(kt["a"])(["routes","loginUser"])),watch:{$route:function(t){}},created:function(){this.$options.components["EchartHTQY"]=this.$loadComponent("@/mapp/htgl/htglHome/components/HtglEchartHTQY"),this.$options.components["BlockFrameApp"]=this.$loadComponent("@/mapp/common/components/H5appIndex/BlockFrameApp/index"),this.$options.components["QuickTo"]=this.$loadComponent("@/mapp/common/components/H5appIndex/QuickTo/index"),this.$options.components["QuickItem"]=this.$loadComponent("@/mapp/common/components/H5appIndex/QuickItem/index"),this.$options.components["TopTo"]=this.$loadComponent("@/mapp/common/components/H5appIndex/TopTo/index"),this.$options.components["TopItem"]=this.$loadComponent("@/mapp/common/components/H5appIndex/TopItem/index"),this.$wv.setTitle({bool:!0,text:"合同管理",color:"#000000"}),this.getContractRemind();var t=this.$store.state.user.roles;t&&(t.includes("htglAdmin")||t.includes("dwLeaders"))&&(this.isAdmin=1,this.fkDateOption.forEach((function(t){t.children=[{text:"我的",value:"我的",isAdmin:0},{text:"全部",value:"全部",isAdmin:1}]})),this.htfktjOption.forEach((function(t){t.children=[{text:"我的",value:"我的",isAdmin:0},{text:"全部",value:"全部",isAdmin:1}]}))),this.selectfkDate(this.fkDateOption[0]),this.selectqytj(this.htqytjOption[0]),this.selectfktj(this.htfktjOption[0]);var e=new Date,n=e.getFullYear();this.dataQuery=n.toString(),this.dataQueryShow=this.dataQuery+"年",this.defaultIndex=this.dataQuery-2020,this.getContractPaymentTx(),this.getContractPaymentTop()},beforeDestroy:function(){},mounted:function(){},methods:{getContractPaymentTop:function(){var t=this,e={fzrId:this.loginUser.personId,orgCode:this.loginUser.orgCode};this.$http({method:"GET",contentType:"application/x-www-form-urlencoded",url:"/htgl/statistic/contractInfoRemindStatistics",params:e}).then((function(e){e.body.vo,t.contractRemind.jhfkyqtx=e.body.vo[0].number,t.contractRemind.htdqtx=e.body.vo[2].number}))},getContractPaymentTx:function(){var t=this,e={year:this.dataQuery,fzrId:this.loginUser.personId,orgCode:this.loginUser.orgCode};this.$http({method:"GET",contentType:"application/x-www-form-urlencoded",url:"/htgl/statistic/fzContractInfoStatistics",params:e}).then((function(e){t.listdata=e.body.vo,console.log("datadata",e.body.vo)}))},handleChange:function(t){var e=t[0];this.dataQuery=new Date(e).getFullYear(),this.dataQueryShow=this.dataQuery+"年",this.toggleDialog(),this.getContractPaymentTx()},toggleDialog:function(){this.dialogVisible=!this.dialogVisible},tospsq:function(){var t="htgl/htsp",e="htsp",n="合同审批",i="",r="true",a="wfEngineUrl=".concat(t,"&busiCode=").concat(e,"&wfName=").concat(encodeURI(encodeURI(n)),"&startNodeName=").concat(encodeURI(encodeURI(i)),"&isCostRecord=").concat(r);this.$router.push("/wflow?"+a)},tofksq:function(){var t="htgl/fksq",e="fksq",n="合同付款",i="",r="true",a="wfEngineUrl=".concat(t,"&busiCode=").concat(e,"&wfName=").concat(encodeURI(encodeURI(n)),"&startNodeName=").concat(encodeURI(encodeURI(i)),"&isCostRecord=").concat(r);this.$router.push("/wflow?"+a)},tojysq:function(){var t="htgl/jysq",e="jysq",n="合同借阅",i="",r="true",a="wfEngineUrl=".concat(t,"&busiCode=").concat(e,"&wfName=").concat(encodeURI(encodeURI(n)),"&startNodeName=").concat(encodeURI(encodeURI(i)),"&isCostRecord=").concat(r);this.$router.push("/wflow?"+a)},tobgsq:function(){var t="htgl/htbg",e="htbg",n="合同变更",i="",r="true",a="wfEngineUrl=".concat(t,"&busiCode=").concat(e,"&wfName=").concat(encodeURI(encodeURI(n)),"&startNodeName=").concat(encodeURI(encodeURI(i)),"&isCostRecord=").concat(r);this.$router.push("/wflow?"+a)},tojygl:function(){this.$router.push({path:"/IndexList",query:{showTemplate:"jygl"}})},towdjy:function(){this.$router.push({path:"/IndexList",query:{showTemplate:"wdjy"}})},tohzsgl:function(){this.$router.push({path:"/IndexList",query:{showTemplate:"hzsgl"}})},tohtmb:function(){this.$router.push({path:"/IndexList",query:{showTemplate:"htmb"}})},tosp:function(){console.log(this.contractRemind.approvalNum,"待审批数据"),this.$router.replace({path:"/htglTaskItem"})},tohtda:function(t){this.$router.replace({path:"/IndexList",query:{showTemplate:"htda",search:t}})},tofkgl:function(t){this.$router.replace({path:"/IndexList",query:{showTemplate:"fkgl",search:t}})},openSelectfkDate:function(){var t=this;this.$bus.emit("openListitemDialog","请选择",this.fkDateOption,(function(e){"success"===e.code&&t.selectfkDate(e.value)}),null,!1)},selectfkDate:function(t){Array.isArray(t)?(this.fkDateInfo.name="".concat(t[0].value,"(").concat(t[1].value,")"),this.fkDateInfo.isAdmin=t[1].isAdmin,this.fkDateInfo.startDate=Ht().startOf(t[0].unit).format("YYYY-MM-DD HH:mm:ss"),this.fkDateInfo.endDate=Ht().endOf(t[0].unit).format("YYYY-MM-DD HH:mm:ss")):(this.fkDateInfo.name=t.value,this.fkDateInfo.isAdmin=0,this.fkDateInfo.startDate=Ht().startOf(t.unit).format("YYYY-MM-DD HH:mm:ss"),this.fkDateInfo.endDate=Ht().endOf(t.unit).format("YYYY-MM-DD HH:mm:ss"),t.children&&(this.fkDateInfo.name+="(".concat(t.children[0].value,")"),this.fkDateInfo.isAdmin=t.children[0].isAdmin)),this.getContractPayment()},getContractPayment:function(){var t=this,e={startDate:this.fkDateInfo.startDate,endDate:this.fkDateInfo.endDate,isAdmin:this.fkDateInfo.isAdmin,orgCode:this.loginUser.orgCode};this.$http({method:"GET",contentType:"application/x-www-form-urlencoded",url:"/htgl/fkjh/contractPaymentPhone",params:e}).then((function(e){var n=e.body.map;t.totalActualPayment=n.totalActualPayment,t.totalAmountOfApplicationPayment=n.totalAmountOfApplicationPayment,t.totalAmountReceived=n.totalAmountReceived,t.totalPlannedPayment=n.totalPlannedPayment}))},getContractRemind:function(){var t=this,e={startDate:Ht().format("YYYY-MM-DD 00:00:00"),endDate:Ht().add(1,"M").format("YYYY-MM-DD 23:59:59"),isAdmin:this.isAdmin};this.$http({contentType:"application/x-www-form-urlencoded",url:"/workflow/wfTaskItem/findWfTaskItemCount",method:"GET",params:{sysCode:this.$route.meta.sysCode,timeoutCount:!0,module:"htsp,fksq,jysq,htbg"}}).then((function(e){"success"===e.code&&(t.contractRemind.approvalNum=e.body.wfItemMap.todoCount,t.contractRemind.finishNum=e.body.wfItemMap.doneCount)})),this.$http({method:"GET",contentType:"application/x-www-form-urlencoded",url:"/htgl/fkjh/contractRemind",params:e}).then((function(e){t.contractRemind.htda=e.body.map.htda,t.contractRemind.totalHtda=e.body.map.totalHtda,t.contractRemind.fkjf=e.body.map.fkjf,t.contractRemind.fkjfTaotal=e.body.map.fkjfTaotal}))},openSelectqytj:function(){var t=this;this.$bus.emit("openListitemDialog","请选择",this.htqytjOption,(function(e){"success"===e.code&&t.selectqytj(e.value)}),null,!1)},selectqytj:function(t){Array.isArray(t)?(this.qytjInfo.name=t[0].value+t[1].value,this.qytjInfo.startDate=Ht().startOf(t[0].unit).format("YYYY-MM"),this.qytjInfo.endDate=Ht().endOf(t[0].unit).format("YYYY-MM")):(this.qytjInfo.name=t.value+t.children[0].value,this.qytjInfo.startDate=Ht().startOf(t.unit).format("YYYY-MM"),this.qytjInfo.endDate=Ht().endOf(t.unit).format("YYYY-MM")),this.gethtqytjData()},gethtqytjData:function(){var t=this,e={startDate:this.qytjInfo.startDate,endDate:this.qytjInfo.endDate};this.$http({method:"GET",contentType:"application/x-www-form-urlencoded",url:"/htgl/fkjl/contractSigningStatistics",params:e}).then((function(e){if("success"===e.code){var n=e.body.list,i=[],r=[];n.forEach((function(t){var e=t.contractType.replace(/类?合同$/,"类"),n={name:e,money:t.money-0||0,num:t.num-0||0};n.money&&i.push(Ct(Ct({},n),{},{value:t.money})),n.num&&r.push(Ct(Ct({},n),{},{value:t.num}))})),Object.assign(t.qyjeEchartOption,{seriesData:i}),Object.assign(t.qyslEchartOption,{seriesData:r})}}))},openSelectfktj:function(){var t=this;this.$bus.emit("openListitemDialog","请选择",this.htfktjOption,(function(e){"success"===e.code&&t.selectfktj(e.value)}),null,!1)},selectfktj:function(t){Array.isArray(t)?(this.fktjInfo.name="".concat(t[0].value,"(").concat(t[1].value,")"),this.fktjInfo.isAdmin=t[1].isAdmin,this.fktjInfo.type=t[0].value):(this.fktjInfo.name=t.value,this.fktjInfo.isAdmin=0,this.fktjInfo.type=t.value,t.children&&(this.fktjInfo.name+="(".concat(t.children[0].value,")"),this.fktjInfo.isAdmin=t.children[0].isAdmin)),"全部"===this.fktjInfo.type&&(this.fktjInfo.type=null),this.getfktjData()},getfktjData:function(){var t=this,e=Ht().add(-1,"Y").format("YYYY-MM"),n=Ht().format("YYYY-MM"),i={startDate:e,endDate:n,type:this.fktjInfo.type,isAdmin:this.fktjInfo.isAdmin};this.$http({url:"htgl/fkjl/paymentPlanStatistics",method:"get",contentType:"application/x-www-form-urlencoded",params:i}).then((function(e){if("success"===e.code){if(1===t.htfktjOption.length){var n=t.htfktjOption[0];e.body.passenger.contractTypeOptions.forEach((function(e){t.htfktjOption.push(JSON.parse(JSON.stringify(Ct(Ct({},n),{},{text:e.value,value:e.value}))))}))}var i=e.body.list,r=[],a=[],o=[],s=0,l=0;i.forEach((function(t){a.push(t.actualPayment),r.push(t.createTime),o.push(t.planAmount),s-=parseFloat(t.actualPayment)||0,l-=parseFloat(t.planAmount)||0})),Object.assign(t.echartOption,{actualPayment:a,createTime:r,planAmount:o}),t.actualPaymentTotal=-s,t.planAmountTotal=-l,i.push({actualPayment:t.actualPaymentTotal,planAmount:t.planAmountTotal,createTime:"合计"})}}))}}},Et=Nt,Rt=(n("23d1"),c(Et,Dt,Tt,!1,null,"1985d7ed",null)),zt=Rt.exports,jt=function(){var t=this,e=t._self._c;return e("div",{ref:"myCharts",staticStyle:{width:"100%",height:"100%"}})},Bt=[],Ft=function(t,e){return Ft=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},Ft(t,e)};function Vt(t,e){function n(){this.constructor=t}Ft(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Wt=function(){return Wt=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},Wt.apply(this,arguments)};Object.create;function Gt(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var a=arguments[e],o=0,s=a.length;o<s;o++,r++)i[r]=a[o];return i}Object.create;var Ut=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),Xt=function(){function t(){this.browser=new Ut,this.node=!1,this.wxa=!1,this.worker=!1,this.canvasSupported=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1}return t}(),Zt=new Xt;function qt(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),a=t.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),a&&(n.edge=!0,n.version=a[1],n.newEdge=+a[1].split(".")[0]>18),o&&(n.weChat=!0),e.canvasSupported=!!document.createElement("canvas").getContext,e.svgSupported="undefined"!==typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!==typeof document}"object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?(Zt.wxa=!0,Zt.canvasSupported=!0,Zt.touchEventsSupported=!0):"undefined"===typeof document&&"undefined"!==typeof self?(Zt.worker=!0,Zt.canvasSupported=!0):"undefined"===typeof navigator?(Zt.node=!0,Zt.canvasSupported=!0,Zt.svgSupported=!0):qt(navigator.userAgent,Zt);var $t=Zt,Jt={"[object Function]":!0,"[object RegExp]":!0,"[object Date]":!0,"[object Error]":!0,"[object CanvasGradient]":!0,"[object CanvasPattern]":!0,"[object Image]":!0,"[object Canvas]":!0},Kt={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0},Qt=Object.prototype.toString,te=Array.prototype,ee=te.forEach,ne=te.filter,ie=te.slice,re=te.map,ae=function(){}.constructor,oe=ae?ae.prototype:null,se={};var le=2311;function ue(){return le++}function de(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!==typeof console&&console.error.apply(console,t)}function ce(t){if(null==t||"object"!==typeof t)return t;var e=t,n=Qt.call(t);if("[object Array]"===n){if(!Ke(t)){e=[];for(var i=0,r=t.length;i<r;i++)e[i]=ce(t[i])}}else if(Kt[n]){if(!Ke(t)){var a=t.constructor;if(a.from)e=a.from(t);else{e=new a(t.length);for(i=0,r=t.length;i<r;i++)e[i]=ce(t[i])}}}else if(!Jt[n]&&!Ke(t)&&!Re(t))for(var o in e={},t)t.hasOwnProperty(o)&&(e[o]=ce(t[o]));return e}function he(t,e,n){if(!He(e)||!He(t))return n?ce(e):t;for(var i in e)if(e.hasOwnProperty(i)){var r=t[i],a=e[i];!He(a)||!He(r)||Ie(a)||Ie(r)||Re(a)||Re(r)||Ne(a)||Ne(r)||Ke(a)||Ke(r)?!n&&i in t||(t[i]=ce(e[i])):he(r,a,n)}return t}function pe(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=he(n,t[i],e);return n}function fe(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function me(t,e,n){for(var i=De(e),r=0;r<i.length;r++){var a=i[r];(n?null!=e[a]:null==t[a])&&(t[a]=e[a])}return t}var ge=function(){return se.createCanvas()};function ye(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return-1}function _e(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e}function ve(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),r=0;r<i.length;r++){var a=i[r];"constructor"!==a&&(n?null!=e[a]:null==t[a])&&(t[a]=e[a])}else me(t,e,n)}function xe(t){return!!t&&("string"!==typeof t&&"number"===typeof t.length)}function Me(t,e,n){if(t&&e)if(t.forEach&&t.forEach===ee)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var a in t)t.hasOwnProperty(a)&&e.call(n,t[a],a,t)}function be(t,e,n){if(!t)return[];if(!e)return Ue(t);if(t.map&&t.map===re)return t.map(e,n);for(var i=[],r=0,a=t.length;r<a;r++)i.push(e.call(n,t[r],r,t));return i}function we(t,e,n,i){if(t&&e){for(var r=0,a=t.length;r<a;r++)n=e.call(i,n,t[r],r,t);return n}}function Le(t,e,n){if(!t)return[];if(!e)return Ue(t);if(t.filter&&t.filter===ne)return t.filter(e,n);for(var i=[],r=0,a=t.length;r<a;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}function Se(t,e,n){if(t&&e)for(var i=0,r=t.length;i<r;i++)if(e.call(n,t[i],i,t))return t[i]}function De(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}function Te(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return t.apply(e,n.concat(ie.call(arguments)))}}se.createCanvas=function(){return document.createElement("canvas")};var ke=oe&&Ce(oe.bind)?oe.call.bind(oe.bind):Te;function Ye(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(ie.call(arguments)))}}function Ie(t){return Array.isArray?Array.isArray(t):"[object Array]"===Qt.call(t)}function Ce(t){return"function"===typeof t}function Ae(t){return"string"===typeof t}function Pe(t){return"[object String]"===Qt.call(t)}function Oe(t){return"number"===typeof t}function He(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function Ne(t){return!!Jt[Qt.call(t)]}function Ee(t){return!!Kt[Qt.call(t)]}function Re(t){return"object"===typeof t&&"number"===typeof t.nodeType&&"object"===typeof t.ownerDocument}function ze(t){return null!=t.colorStops}function je(t){return null!=t.image}function Be(t){return"[object RegExp]"===Qt.call(t)}function Fe(t){return t!==t}function Ve(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,i=t.length;n<i;n++)if(null!=t[n])return t[n]}function We(t,e){return null!=t?t:e}function Ge(t,e,n){return null!=t?t:null!=e?e:n}function Ue(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return ie.apply(t,e)}function Xe(t){if("number"===typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function Ze(t,e){if(!t)throw new Error(e)}function qe(t){return null==t?null:"function"===typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var $e="__ec_primitive__";function Je(t){t[$e]=!0}function Ke(t){return t[$e]}var Qe=function(){function t(e){this.data={};var n=Ie(e);this.data={};var i=this;function r(t,e){n?i.set(t,e):i.set(e,t)}e instanceof t?e.each(r):e&&Me(e,r)}return t.prototype.get=function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},t.prototype.set=function(t,e){return this.data[t]=e},t.prototype.each=function(t,e){for(var n in this.data)this.data.hasOwnProperty(n)&&t.call(e,this.data[n],n)},t.prototype.keys=function(){return De(this.data)},t.prototype.removeKey=function(t){delete this.data[t]},t}();function tn(t){return new Qe(t)}function en(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];var r=t.length;for(i=0;i<e.length;i++)n[i+r]=e[i];return n}function nn(t,e){var n;if(Object.create)n=Object.create(t);else{var i=function(){};i.prototype=t,n=new i}return e&&fe(n,e),n}function rn(t,e){return t.hasOwnProperty(e)}function an(){}
8
+ /*! *****************************************************************************
9
+ Copyright (c) Microsoft Corporation.
10
+
11
+ Permission to use, copy, modify, and/or distribute this software for any
12
+ purpose with or without fee is hereby granted.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
15
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
16
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
17
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
18
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
19
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20
+ PERFORMANCE OF THIS SOFTWARE.
21
+ ***************************************************************************** */var on=function(t,e){return on=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},on(t,e)};function sn(t,e){function n(){this.constructor=t}on(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;Object.create;function ln(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function un(t,e){return t[0]=e[0],t[1]=e[1],t}function dn(t){return[t[0],t[1]]}function cn(t,e,n){return t[0]=e,t[1]=n,t}function hn(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function pn(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t}function fn(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function mn(t){return Math.sqrt(gn(t))}function gn(t){return t[0]*t[0]+t[1]*t[1]}function yn(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function _n(t,e){var n=mn(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function vn(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var xn=vn;function Mn(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var bn=Mn;function wn(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t}function Ln(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function Sn(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function Dn(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var Tn=function(){function t(t,e){this.target=t,this.topTarget=e&&e.topTarget}return t}(),kn=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){var e=t.target;while(e&&!e.draggable)e=e.parent;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new Tn(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,a=i-this._y;this._x=n,this._y=i,e.drift(r,a,t),this.handler.dispatchToElement(new Tn(e,t),"drag",t.event);var o=this.handler.findHover(n,i,e).target,s=this._dropTarget;this._dropTarget=o,e!==o&&(s&&o!==s&&this.handler.dispatchToElement(new Tn(s,t),"dragleave",t.event),o&&o!==s&&this.handler.dispatchToElement(new Tn(o,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new Tn(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new Tn(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),Yn=kn,In=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"===typeof e&&(i=n,n=e,e=null),!n||!t)return this;var a=this._$eventProcessor;null!=e&&a&&a.normalizeQuery&&(e=a.normalizeQuery(e)),r[t]||(r[t]=[]);for(var o=0;o<r[t].length;o++)if(r[t][o].h===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=r[t].length-1,u=r[t][l];return u&&u.callAtLast?r[t].splice(l,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,a=n[t].length;r<a;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var a=e.length,o=i.length,s=0;s<o;s++){var l=i[s];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(a){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e);break}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){if(!this._$handlers)return this;var e=this._$handlers[t],n=this._$eventProcessor;if(e)for(var i=arguments,r=i.length,a=i[r-1],o=e.length,s=0;s<o;s++){var l=e[s];if(!n||!n.filter||null==l.query||n.filter(t,l.query))switch(r){case 0:l.h.call(a);break;case 1:l.h.call(a,i[0]);break;case 2:l.h.call(a,i[0],i[1]);break;default:l.h.apply(a,i.slice(1,r-1));break}}return n&&n.afterTrigger&&n.afterTrigger(t),this},t}(),Cn=In,An=Math.log(2);function Pn(t,e,n,i,r,a){var o=i+"-"+r,s=t.length;if(a.hasOwnProperty(o))return a[o];if(1===e){var l=Math.round(Math.log((1<<s)-1&~r)/An);return t[n][l]}var u=i|1<<n,d=n+1;while(i&1<<d)d++;for(var c=0,h=0,p=0;h<s;h++){var f=1<<h;f&r||(c+=(p%2?-1:1)*t[n][h]*Pn(t,e-1,d,u,r|f,a),p++)}return a[o]=c,c}function On(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},r=Pn(n,8,0,0,0,i);if(0!==r){for(var a=[],o=0;o<8;o++)for(var s=0;s<8;s++)null==a[s]&&(a[s]=0),a[s]+=((o+s)%2?-1:1)*Pn(n,7,0===o?1:0,1<<o,1<<s,i)/r*e[o];return function(t,e,n){var i=e*a[6]+n*a[7]+1;t[0]=(e*a[0]+n*a[1]+a[2])/i,t[1]=(e*a[3]+n*a[4]+a[5])/i}}}var Hn="___zrEVENTSAVED",Nn=[];function En(t,e,n,i,r){return Rn(Nn,e,i,r,!0)&&Rn(t,n,Nn[0],Nn[1])}function Rn(t,e,n,i,r){if(e.getBoundingClientRect&&$t.domSupported&&!Bn(e)){var a=e[Hn]||(e[Hn]={}),o=zn(e,a),s=jn(o,a,r);if(s)return s(t,n,i),!0}return!1}function zn(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],a=0;a<4;a++){var o=document.createElement("div"),s=o.style,l=a%2,u=(a>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",r[u]+":0",i[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(o),n.push(o)}return n}function jn(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],a=e.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var d=t[u].getBoundingClientRect(),c=2*u,h=d.left,p=d.top;o.push(h,p),l=l&&a&&h===a[c]&&p===a[c+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=o,e[i]=n?On(s,o):On(o,s))}function Bn(t){return"CANVAS"===t.nodeName.toUpperCase()}var Fn="undefined"!==typeof window&&!!window.addEventListener,Vn=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Wn=[];function Gn(t,e,n,i){return n=n||{},i||!$t.canvasSupported?Un(t,e,n):$t.browser.firefox&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):Un(t,e,n),n}function Un(t,e,n){if($t.domSupported&&t.getBoundingClientRect){var i=e.clientX,r=e.clientY;if(Bn(t)){var a=t.getBoundingClientRect();return n.zrX=i-a.left,void(n.zrY=r-a.top)}if(Rn(Wn,t,i,r))return n.zrX=Wn[0],void(n.zrY=Wn[1])}n.zrX=n.zrY=0}function Xn(t){return t||window.event}function Zn(t,e,n){if(e=Xn(e),null!=e.zrX)return e;var i=e.type,r=i&&i.indexOf("touch")>=0;if(r){var a="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];a&&Gn(t,a,e,n)}else{Gn(t,e,e,n);var o=qn(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&Vn.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function qn(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;var r=0!==i?Math.abs(i):Math.abs(n),a=i>0?-1:i<0?1:n>0?-1:1;return 3*r*a}function $n(t,e,n,i){Fn?t.addEventListener(e,n,i):t.attachEvent("on"+e,n)}function Jn(t,e,n,i){Fn?t.removeEventListener(e,n,i):t.detachEvent("on"+e,n)}var Kn=Fn?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function Qn(t){return 2===t.which||3===t.which}var ti=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},a=0,o=i.length;a<o;a++){var s=i[a],l=Gn(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in ii)if(ii.hasOwnProperty(e)){var n=ii[e](this._track,t);if(n)return n}},t}();function ei(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}function ni(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}var ii={pinch:function(t,e){var n=t.length;if(n){var i=(t[n-1]||{}).points,r=(t[n-2]||{}).points||i;if(r&&r.length>1&&i&&i.length>1){var a=ei(i)/ei(r);!isFinite(a)&&(a=1),e.pinchScale=a;var o=ni(i);return e.pinchX=o[0],e.pinchY=o[1],{type:"pinch",target:t[0].target,event:e}}}}},ri="silent";function ai(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:oi}}function oi(){Kn(this.event)}var si=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return sn(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(Cn),li=function(){function t(t,e){this.x=t,this.y=e}return t}(),ui=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],di=function(t){function e(e,n,i,r){var a=t.call(this)||this;return a._hovered=new li(0,0),a.storage=e,a.painter=n,a.painterRoot=r,i=i||new si,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new Yn(a),a}return sn(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(Me(ui,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=hi(this,e,n),r=this._hovered,a=r.target;a&&!a.__zr&&(r=this.findHover(r.x,r.y),a=r.target);var o=this._hovered=i?new li(e,n):this.findHover(e,n),s=o.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),a&&s!==a&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(o,"mousemove",t),s&&s!==a&&this.dispatchToElement(o,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new li(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){t=t||{};var i=t.target;if(!i||!i.silent){var r="on"+e,a=ai(e,t,n);while(i)if(i[r]&&(a.cancelBubble=!!i[r].call(i,a)),i.trigger(e,a),i=i.__hostTarget?i.__hostTarget:i.parent,a.cancelBubble)break;a.cancelBubble||(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"===typeof t[r]&&t[r].call(t,a),t.trigger&&t.trigger(e,a)})))}},e.prototype.findHover=function(t,e,n){for(var i=this.storage.getDisplayList(),r=new li(t,e),a=i.length-1;a>=0;a--){var o=void 0;if(i[a]!==n&&!i[a].ignore&&(o=ci(i[a],t,e))&&(!r.topTarget&&(r.topTarget=i[a]),o!==ri)){r.target=i[a];break}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new ti);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var a=new li;a.target=i.target,this.dispatchToElement(a,r,i.event)}},e}(Cn);function ci(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){var i=t,r=void 0,a=!1;while(i){if(i.ignoreClip&&(a=!0),!a){var o=i.getClipPath();if(o&&!o.contain(e,n))return!1;i.silent&&(r=!0)}var s=i.__hostTarget;i=s||i.parent}return!r||ri}return!1}function hi(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}Me(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){di.prototype[t]=function(e){var n,i,r=e.zrX,a=e.zrY,o=hi(this,r,a);if("mouseup"===t&&o||(n=this.findHover(r,a),i=n.target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||xn(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var pi=di;function fi(){return[1,0,0,1,0,0]}function mi(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function gi(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function yi(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],a=e[0]*n[2]+e[2]*n[3],o=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=a,t[3]=o,t[4]=s,t[5]=l,t}function _i(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function vi(t,e,n){var i=e[0],r=e[2],a=e[4],o=e[1],s=e[3],l=e[5],u=Math.sin(n),d=Math.cos(n);return t[0]=i*d+o*u,t[1]=-i*u+o*d,t[2]=r*d+s*u,t[3]=-r*u+d*s,t[4]=d*a+u*l,t[5]=d*l-u*a,t}function xi(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function Mi(t,e){var n=e[0],i=e[2],r=e[4],a=e[1],o=e[3],s=e[5],l=n*o-a*i;return l?(l=1/l,t[0]=o*l,t[1]=-a*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-o*r)*l,t[5]=(a*r-n*s)*l,t):null}function bi(t){var e=fi();return gi(e,t),e}var wi=mi,Li=5e-5;function Si(t){return t>Li||t<-Li}var Di=[],Ti=[],ki=fi(),Yi=Math.abs,Ii=function(){function t(){}return t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return Si(this.rotation)||Si(this.x)||Si(this.y)||Si(this.scaleX-1)||Si(this.scaleY-1)},t.prototype.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),i=this.transform;n||e?(i=i||fi(),n?this.getLocalTransform(i):wi(i),e&&(n?yi(i,t.transform,i):gi(i,t.transform)),this.transform=i,this._resolveGlobalScaleRatio(i)):i&&wi(i)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(Di);var n=Di[0]<0?-1:1,i=Di[1]<0?-1:1,r=((Di[0]-n)*e+n)/Di[0]||0,a=((Di[1]-i)*e+i)/Di[1]||0;t[0]*=r,t[1]*=r,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||fi(),Mi(this.invTransform,t)},t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.getComputedTransform=function(){var t=this,e=[];while(t)e.push(t),t=t.parent;while(t=e.pop())t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3];Si(e-1)&&(e=Math.sqrt(e)),Si(n-1)&&(n=Math.sqrt(n)),t[0]<0&&(e=-e),t[3]<0&&(n=-n),this.rotation=Math.atan2(-t[1]/n,t[0]/e),e<0&&n<0&&(this.rotation+=Math.PI,e=-e,n=-n),this.x=t[4],this.y=t[5],this.scaleX=e,this.scaleY=n}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(yi(Ti,t.invTransform,e),e=Ti);var n=this.originX,i=this.originY;(n||i)&&(ki[4]=n,ki[5]=i,yi(Ti,e,ki),Ti[4]-=n,Ti[5]-=i,e=Ti),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&Ln(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&Ln(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&Yi(t[0]-1)>1e-10&&Yi(t[3]-1)>1e-10?Math.sqrt(Yi(t[0]*t[3]-t[2]*t[1])):1},t.getLocalTransform=function(t,e){e=e||[],wi(e);var n=t.originX||0,i=t.originY||0,r=t.scaleX,a=t.scaleY,o=t.rotation||0,s=t.x,l=t.y;return e[4]-=n,e[5]-=i,e[0]*=r,e[1]*=a,e[2]*=r,e[3]*=a,e[4]*=r,e[5]*=a,o&&vi(e,e,o),e[4]+=n,e[5]+=i,e[4]+=s,e[5]+=l,e},t.initDefaultProps=function(){var e=t.prototype;e.x=0,e.y=0,e.scaleX=1,e.scaleY=1,e.originX=0,e.originY=0,e.rotation=0,e.globalScaleRatio=1}(),t}(),Ci=Ii,Ai={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i))},elasticOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/i)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-Ai.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*Ai.bounceIn(2*t):.5*Ai.bounceOut(2*t-1)+.5}},Pi=Ai,Oi=function(){function t(t){this._initialized=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart}return t.prototype.step=function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),!this._paused){var n=(t-this._startTime-this._pausedTime)/this._life;n<0&&(n=0),n=Math.min(n,1);var i=this.easing,r="string"===typeof i?Pi[i]:i,a="function"===typeof r?r(n):n;if(this.onframe&&this.onframe(a),1===n){if(!this.loop)return!0;this._restart(t),this.onrestart&&this.onrestart()}return!1}this._pausedTime+=e},t.prototype._restart=function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t}(),Hi=Oi,Ni=function(){function t(t){this.value=t}return t}(),Ei=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new Ni(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),Ri=function(){function t(t){this._list=new Ei,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var a=n.len(),o=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}o?o.value=e:o=new Ni(e),o.key=t,n.insertEntry(o),i[t]=o}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),zi=Ri,ji={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Bi(t){return t=Math.round(t),t<0?0:t>255?255:t}function Fi(t){return t=Math.round(t),t<0?0:t>360?360:t}function Vi(t){return t<0?0:t>1?1:t}function Wi(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Bi(parseFloat(e)/100*255):Bi(parseInt(e,10))}function Gi(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Vi(parseFloat(e)/100):Vi(parseFloat(e))}function Ui(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function Xi(t,e,n){return t+(e-t)*n}function Zi(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function qi(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var $i=new zi(20),Ji=null;function Ki(t,e){Ji&&qi(Ji,e),Ji=$i.put(t,Ji||e.slice())}function Qi(t,e){if(t){e=e||[];var n=$i.get(t);if(n)return qi(e,n);t+="";var i=t.replace(/ /g,"").toLowerCase();if(i in ji)return qi(e,ji[i]),Ki(t,e),e;var r=i.length;if("#"!==i.charAt(0)){var a=i.indexOf("("),o=i.indexOf(")");if(-1!==a&&o+1===r){var s=i.substr(0,a),l=i.substr(a+1,o-(a+1)).split(","),u=1;switch(s){case"rgba":if(4!==l.length)return 3===l.length?Zi(e,+l[0],+l[1],+l[2],1):Zi(e,0,0,0,1);u=Gi(l.pop());case"rgb":return 3!==l.length?void Zi(e,0,0,0,1):(Zi(e,Wi(l[0]),Wi(l[1]),Wi(l[2]),u),Ki(t,e),e);case"hsla":return 4!==l.length?void Zi(e,0,0,0,1):(l[3]=Gi(l[3]),tr(l,e),Ki(t,e),e);case"hsl":return 3!==l.length?void Zi(e,0,0,0,1):(tr(l,e),Ki(t,e),e);default:return}}Zi(e,0,0,0,1)}else{if(4===r||5===r){var d=parseInt(i.slice(1,4),16);return d>=0&&d<=4095?(Zi(e,(3840&d)>>4|(3840&d)>>8,240&d|(240&d)>>4,15&d|(15&d)<<4,5===r?parseInt(i.slice(4),16)/15:1),Ki(t,e),e):void Zi(e,0,0,0,1)}if(7===r||9===r){d=parseInt(i.slice(1,7),16);return d>=0&&d<=16777215?(Zi(e,(16711680&d)>>16,(65280&d)>>8,255&d,9===r?parseInt(i.slice(7),16)/255:1),Ki(t,e),e):void Zi(e,0,0,0,1)}}}}function tr(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=Gi(t[1]),r=Gi(t[2]),a=r<=.5?r*(i+1):r+i-r*i,o=2*r-a;return e=e||[],Zi(e,Bi(255*Ui(o,a,n+1/3)),Bi(255*Ui(o,a,n)),Bi(255*Ui(o,a,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function er(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,a=t[2]/255,o=Math.min(i,r,a),s=Math.max(i,r,a),l=s-o,u=(s+o)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+o):l/(2-s-o);var d=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,h=((s-a)/6+l/2)/l;i===s?e=h-c:r===s?e=1/3+d-h:a===s&&(e=2/3+c-d),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,n,u];return null!=t[3]&&p.push(t[3]),p}}function nr(t,e){var n=Qi(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return sr(n,4===n.length?"rgba":"rgb")}}function ir(t){var e=Qi(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function rr(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),a=Math.ceil(i),o=e[r],s=e[a],l=i-r;return n[0]=Bi(Xi(o[0],s[0],l)),n[1]=Bi(Xi(o[1],s[1],l)),n[2]=Bi(Xi(o[2],s[2],l)),n[3]=Vi(Xi(o[3],s[3],l)),n}}function ar(t,e,n,i){var r=Qi(t);if(t)return r=er(r),null!=e&&(r[0]=Fi(e)),null!=n&&(r[1]=Gi(n)),null!=i&&(r[2]=Gi(i)),sr(tr(r),"rgba")}function or(t,e){var n=Qi(t);if(n&&null!=e)return n[3]=Vi(e),sr(n,"rgba")}function sr(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function lr(t,e){var n=Qi(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var ur=Array.prototype.slice;function dr(t,e,n){return(e-t)*n+t}function cr(t,e,n){return n>.5?e:t}function hr(t,e,n,i){for(var r=e.length,a=0;a<r;a++)t[a]=dr(e[a],n[a],i)}function pr(t,e,n,i){for(var r=e.length,a=r&&e[0].length,o=0;o<r;o++){t[o]||(t[o]=[]);for(var s=0;s<a;s++)t[o][s]=dr(e[o][s],n[o][s],i)}}function fr(t,e,n,i){for(var r=e.length,a=0;a<r;a++)t[a]=e[a]+n[a]*i;return t}function mr(t,e,n,i){for(var r=e.length,a=r&&e[0].length,o=0;o<r;o++){t[o]||(t[o]=[]);for(var s=0;s<a;s++)t[o][s]=e[o][s]+n[o][s]*i}return t}function gr(t,e,n){var i=t,r=e;if(i.push&&r.push){var a=i.length,o=r.length;if(a!==o){var s=a>o;if(s)i.length=o;else for(var l=a;l<o;l++)i.push(1===n?r[l]:ur.call(r[l]))}var u=i[0]&&i[0].length;for(l=0;l<i.length;l++)if(1===n)isNaN(i[l])&&(i[l]=r[l]);else for(var d=0;d<u;d++)isNaN(i[l][d])&&(i[l][d]=r[l][d])}}function yr(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function _r(t,e,n,i,r,a,o){var s=.5*(n-t),l=.5*(i-e);return(2*(e-n)+s+l)*o+(-3*(e-n)-2*s-l)*a+s*r+e}function vr(t,e,n,i,r,a,o,s){for(var l=e.length,u=0;u<l;u++)t[u]=_r(e[u],n[u],i[u],r[u],a,o,s)}function xr(t,e,n,i,r,a,o,s){for(var l=e.length,u=e[0].length,d=0;d<l;d++){t[d]||(t[1]=[]);for(var c=0;c<u;c++)t[d][c]=_r(e[d][c],n[d][c],i[d][c],r[d][c],a,o,s)}}function Mr(t){if(xe(t)){var e=t.length;if(xe(t[0])){for(var n=[],i=0;i<e;i++)n.push(ur.call(t[i]));return n}return ur.call(t)}return t}function br(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function wr(t){return xe(t&&t[0])?2:1}var Lr,Sr,Dr=[0,0,0,0],Tr=function(){function t(t){this.keyframes=[],this.maxTime=0,this.arrDim=0,this.interpolable=!0,this._needsSort=!1,this._isAllValueEqual=!0,this._lastFrame=0,this._lastFramePercent=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return!this._isAllValueEqual&&this.keyframes.length>=2&&this.interpolable},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e){t>=this.maxTime?this.maxTime=t:this._needsSort=!0;var n=this.keyframes,i=n.length;if(this.interpolable)if(xe(e)){var r=wr(e);if(i>0&&this.arrDim!==r)return void(this.interpolable=!1);if(1===r&&"number"!==typeof e[0]||2===r&&"number"!==typeof e[0][0])return void(this.interpolable=!1);if(i>0){var a=n[i-1];this._isAllValueEqual&&(1===r&&yr(e,a.value)||(this._isAllValueEqual=!1))}this.arrDim=r}else{if(this.arrDim>0)return void(this.interpolable=!1);if("string"===typeof e){var o=Qi(e);o?(e=o,this.isValueColor=!0):this.interpolable=!1}else if("number"!==typeof e)return void(this.interpolable=!1);if(this._isAllValueEqual&&i>0){a=n[i-1];(this.isValueColor&&!yr(a.value,e)||a.value!==e)&&(this._isAllValueEqual=!1)}}var s={time:t,value:e,percent:0};return this.keyframes.push(s),s},t.prototype.prepare=function(t){var e=this.keyframes;this._needsSort&&e.sort((function(t,e){return t.time-e.time}));for(var n=this.arrDim,i=e.length,r=e[i-1],a=0;a<i;a++)e[a].percent=e[a].time/this.maxTime,n>0&&a!==i-1&&gr(e[a].value,r.value,n);if(t&&this.needsAnimate()&&t.needsAnimate()&&n===t.arrDim&&this.isValueColor===t.isValueColor&&!t._finished){this._additiveTrack=t;var o=e[0].value;for(a=0;a<i;a++)0===n?this.isValueColor?e[a].additiveValue=fr([],e[a].value,o,-1):e[a].additiveValue=e[a].value-o:1===n?e[a].additiveValue=fr([],e[a].value,o,-1):2===n&&(e[a].additiveValue=mr([],e[a].value,o,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i=null!=this._additiveTrack,r=i?"additiveValue":"value",a=this.keyframes,o=this.keyframes.length,s=this.propName,l=this.arrDim,u=this.isValueColor;if(e<0)n=0;else if(e<this._lastFramePercent){var d=Math.min(this._lastFrame+1,o-1);for(n=d;n>=0;n--)if(a[n].percent<=e)break;n=Math.min(n,o-2)}else{for(n=this._lastFrame;n<o;n++)if(a[n].percent>e)break;n=Math.min(n-1,o-2)}var c=a[n+1],h=a[n];if(h&&c){this._lastFrame=n,this._lastFramePercent=e;var p=c.percent-h.percent;if(0!==p){var f=(e-h.percent)/p,m=i?this._additiveValue:u?Dr:t[s];if((l>0||u)&&!m&&(m=this._additiveValue=[]),this.useSpline){var g=a[n][r],y=a[0===n?n:n-1][r],_=a[n>o-2?o-1:n+1][r],v=a[n>o-3?o-1:n+2][r];if(l>0)1===l?vr(m,y,g,_,v,f,f*f,f*f*f):xr(m,y,g,_,v,f,f*f,f*f*f);else if(u)vr(m,y,g,_,v,f,f*f,f*f*f),i||(t[s]=br(m));else{var x=void 0;x=this.interpolable?_r(y,g,_,v,f,f*f,f*f*f):_,i?this._additiveValue=x:t[s]=x}}else if(l>0)1===l?hr(m,h[r],c[r],f):pr(m,h[r],c[r],f);else if(u)hr(m,h[r],c[r],f),i||(t[s]=br(m));else{x=void 0;x=this.interpolable?dr(h[r],c[r],f):cr(h[r],c[r],f),i?this._additiveValue=x:t[s]=x}i&&this._addToTarget(t)}}}},t.prototype._addToTarget=function(t){var e=this.arrDim,n=this.propName,i=this._additiveValue;0===e?this.isValueColor?(Qi(t[n],Dr),fr(Dr,Dr,i,1),t[n]=br(Dr)):t[n]=t[n]+i:1===e?fr(t[n],t[n],i,1):2===e&&mr(t[n],t[n],i,1)},t}(),kr=function(){function t(t,e,n){this._tracks={},this._trackKeys=[],this._delay=0,this._maxTime=0,this._paused=!1,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&n?de("Can' use additive animation on looped animation."):this._additiveAnimators=n}return t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e){return this.whenWithKeys(t,e,De(e))},t.prototype.whenWithKeys=function(t,e,n){for(var i=this._tracks,r=0;r<n.length;r++){var a=n[r],o=i[a];if(!o){o=i[a]=new Tr(a);var s=void 0,l=this._getAdditiveTrack(a);if(l){var u=l.keyframes[l.keyframes.length-1];s=u&&u.value,l.isValueColor&&s&&(s=br(s))}else s=this._target[a];if(null==s)continue;0!==t&&o.addKeyframe(0,Mr(s)),this._trackKeys.push(a)}o.addKeyframe(t,Mr(e[a]))}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneList;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedList;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t,e){if(!(this._started>0)){this._started=1;for(var n=this,i=[],r=0;r<this._trackKeys.length;r++){var a=this._trackKeys[r],o=this._tracks[a],s=this._getAdditiveTrack(a),l=o.keyframes;if(o.prepare(s),o.needsAnimate())i.push(o);else if(!o.interpolable){var u=l[l.length-1];u&&(n._target[o.propName]=u.value)}}if(i.length||e){var d=new Hi({life:this._maxTime,loop:this._loop,delay:this._delay,onframe:function(t){n._started=2;var e=n._additiveAnimators;if(e){for(var r=!1,a=0;a<e.length;a++)if(e[a]._clip){r=!0;break}r||(n._additiveAnimators=null)}for(a=0;a<i.length;a++)i[a].step(n._target,t);var o=n._onframeList;if(o)for(a=0;a<o.length;a++)o[a](n._target,t)},ondestroy:function(){n._doneCallback()}});this._clip=d,this.animation&&this.animation.addClip(d),t&&"spline"!==t&&(d.easing=t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeList||(this._onframeList=[]),this._onframeList.push(t)),this},t.prototype.done=function(t){return t&&(this._doneList||(this._doneList=[]),this._doneList.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedList||(this._abortedList=[]),this._abortedList.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var a=n[t[r]];a&&(e?a.step(this._target,1):1===this._started&&a.step(this._target,0),a.setFinished())}var o=!0;for(r=0;r<i.length;r++)if(!n[i[r]].isFinished()){o=!1;break}return o&&this._abortedCallback(),o},t.prototype.saveFinalToTarget=function(t,e){if(t){e=e||this._trackKeys;for(var n=0;n<e.length;n++){var i=e[n],r=this._tracks[i];if(r&&!r.isFinished()){var a=r.keyframes,o=a[a.length-1];if(o){var s=Mr(o.value);r.isValueColor&&(s=br(s)),t[i]=s}}}}},t.prototype.__changeFinalValue=function(t,e){e=e||De(t);for(var n=0;n<e.length;n++){var i=e[n],r=this._tracks[i];if(r){var a=r.keyframes;if(a.length>1){var o=a.pop();r.addKeyframe(o.time,t[i]),r.prepare(r.getAdditiveTrack())}}}},t}(),Yr=kr,Ir=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),Cr=Ir,Ar=Math.min,Pr=Math.max,Or=new Cr,Hr=new Cr,Nr=new Cr,Er=new Cr,Rr=new Cr,zr=new Cr,jr=function(){function t(t,e,n,i){n<0&&isFinite(n)&&(t+=n,n=-n),i<0&&isFinite(i)&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=Ar(t.x,this.x),n=Ar(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Pr(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Pr(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=fi();return _i(r,r,[-e.x,-e.y]),xi(r,r,[n,i]),_i(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,a=i.x+i.width,o=i.y,s=i.y+i.height,l=e.x,u=e.x+e.width,d=e.y,c=e.y+e.height,h=!(a<l||u<r||s<d||c<o);if(n){var p=1/0,f=0,m=Math.abs(a-l),g=Math.abs(u-r),y=Math.abs(s-d),_=Math.abs(c-o),v=Math.min(m,g),x=Math.min(y,_);a<l||u<r?v>f&&(f=v,m<g?Cr.set(zr,-m,0):Cr.set(zr,g,0)):v<p&&(p=v,m<g?Cr.set(Rr,m,0):Cr.set(Rr,-g,0)),s<d||c<o?x>f&&(f=x,y<_?Cr.set(zr,0,-y):Cr.set(zr,0,_)):v<p&&(p=v,y<_?Cr.set(Rr,0,y):Cr.set(Rr,0,-_))}return n&&Cr.copy(n,h?Rr:zr),h},t.prototype.contain=function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],a=i[3],o=i[4],s=i[5];return e.x=n.x*r+o,e.y=n.y*a+s,e.width=n.width*r,e.height=n.height*a,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}Or.x=Nr.x=n.x,Or.y=Er.y=n.y,Hr.x=Er.x=n.x+n.width,Hr.y=Nr.y=n.y+n.height,Or.transform(i),Er.transform(i),Hr.transform(i),Nr.transform(i),e.x=Ar(Or.x,Hr.x,Nr.x,Er.x),e.y=Ar(Or.y,Hr.y,Nr.y,Er.y);var l=Pr(Or.x,Hr.x,Nr.x,Er.x),u=Pr(Or.y,Hr.y,Nr.y,Er.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),Br=jr,Fr={},Vr="12px sans-serif";function Wr(t,e){return Lr||(Lr=ge().getContext("2d")),Sr!==e&&(Sr=Lr.font=e||Vr),Lr.measureText(t)}var Gr={measureText:Wr};function Ur(t,e){e=e||Vr;var n=Fr[e];n||(n=Fr[e]=new zi(500));var i=n.get(t);return null==i&&(i=Gr.measureText(t,e).width,n.put(t,i)),i}function Xr(t,e,n,i){var r=Ur(t,e),a=Jr(e),o=qr(0,r,n),s=$r(0,a,i),l=new Br(o,s,r,a);return l}function Zr(t,e,n,i){var r=((t||"")+"").split("\n"),a=r.length;if(1===a)return Xr(r[0],e,n,i);for(var o=new Br(0,0,0,0),s=0;s<r.length;s++){var l=Xr(r[s],e,n,i);0===s?o.copy(l):o.union(l)}return o}function qr(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function $r(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function Jr(t){return Ur("国",t)}function Kr(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function Qr(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,a=n.height,o=n.width,s=a/2,l=n.x,u=n.y,d="left",c="top";if(i instanceof Array)l+=Kr(i[0],n.width),u+=Kr(i[1],n.height),d=null,c=null;else switch(i){case"left":l-=r,u+=s,d="right",c="middle";break;case"right":l+=r+o,u+=s,c="middle";break;case"top":l+=o/2,u-=r,d="center",c="bottom";break;case"bottom":l+=o/2,u+=a+r,d="center";break;case"inside":l+=o/2,u+=s,d="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=o-r,u+=s,d="right",c="middle";break;case"insideTop":l+=o/2,u+=r,d="center";break;case"insideBottom":l+=o/2,u+=a-r,d="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=o-r,u+=r,d="right";break;case"insideBottomLeft":l+=r,u+=a-r,c="bottom";break;case"insideBottomRight":l+=o-r,u+=a-r,d="right",c="bottom";break}return t=t||{},t.x=l,t.y=u,t.align=d,t.verticalAlign=c,t}var ta=1;"undefined"!==typeof window&&(ta=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var ea=ta,na=.4,ia="#333",ra="#ccc",aa="#eee",oa="__zr_normal__",sa=["x","y","scaleX","scaleY","originX","originY","rotation","ignore"],la={x:!0,y:!0,scaleX:!0,scaleY:!0,originX:!0,originY:!0,rotation:!0,ignore:!1},ua={},da=new Br(0,0,0,0),ca=function(){function t(t){this.id=ue(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.attachedTransform,a=void 0,o=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.x=e.x,r.y=e.y,r.originX=e.originX,r.originY=e.originY,r.rotation=e.rotation,r.scaleX=e.scaleX,r.scaleY=e.scaleY,null!=n.position){var u=da;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(ua,n,u):Qr(ua,n,u),r.x=ua.x,r.y=ua.y,a=ua.align,o=ua.verticalAlign;var d=n.origin;if(d&&null!=n.rotation){var c=void 0,h=void 0;"center"===d?(c=.5*u.width,h=.5*u.height):(c=Kr(d[0],u.width),h=Kr(d[1],u.height)),l=!0,r.originX=-r.x+c+(i?0:u.x),r.originY=-r.y+h+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var p=n.offset;p&&(r.x+=p[0],r.y+=p[1],l||(r.originX=-p[0],r.originY=-p[1]));var f=null==n.inside?"string"===typeof n.position&&n.position.indexOf("inside")>=0:n.inside,m=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),g=void 0,y=void 0,_=void 0;f&&this.canBeInsideText()?(g=n.insideFill,y=n.insideStroke,null!=g&&"auto"!==g||(g=this.getInsideTextFill()),null!=y&&"auto"!==y||(y=this.getInsideTextStroke(g),_=!0)):(g=n.outsideFill,y=n.outsideStroke,null!=g&&"auto"!==g||(g=this.getOutsideFill()),null!=y&&"auto"!==y||(y=this.getOutsideStroke(g),_=!0)),g=g||"#000",g===m.fill&&y===m.stroke&&_===m.autoStroke&&a===m.align&&o===m.verticalAlign||(s=!0,m.fill=g,m.stroke=y,m.autoStroke=_,m.align=a,m.verticalAlign=o,e.setDefaultTextStyle(m)),s&&e.dirtyStyle(),e.markRedraw()}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?ra:ia},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"===typeof e&&Qi(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),a=0;a<3;a++)n[a]=n[a]*i+(r?0:255)*(1-i);return n[3]=1,sr(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},fe(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"===typeof t)this.attrKV(t,e);else if(He(t))for(var n=t,i=De(n),r=0;r<i.length;r++){var a=i[r];this.attrKV(a,t[a])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!r||r===oa){var a=i.targetName,o=a?e[a]:e;i.saveFinalToTarget(o)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,sa)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null==t[r]||r in e||(e[r]=this[r])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(oa,!1,t)},t.prototype.useState=function(e,n,i){var r=e===oa,a=this.hasState();if(a||!r){var o=this.currentStates,s=this.stateTransition;if(!(ye(o,e)>=0)||!n&&1!==o.length){var l;if(this.stateProxy&&!r&&(l=this.stateProxy(e)),l||(l=this.states&&this.states[e]),l||r){r||this.saveCurrentToNormalState(l);var u=!(!l||!l.hoverLayer);return u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,l,this._normalState,n,!i&&!this.__inHover&&s&&s.duration>0,s),this._textContent&&this._textContent.useState(e,n),this._textGuide&&this._textGuide.useState(e,n),r?(this.currentStates=[],this._normalState={}):n?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~t.REDARAW_BIT),l}de("State "+e+" not exists.")}}},t.prototype.useStates=function(e,n){if(e.length){var i=[],r=this.currentStates,a=e.length,o=a===r.length;if(o)for(var s=0;s<a;s++)if(e[s]!==r[s]){o=!1;break}if(o)return;for(s=0;s<a;s++){var l=e[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,e)),u||(u=this.states[l]),u&&i.push(u)}var d=!(!i[a-1]||!i[a-1].hoverLayer);d&&this._toggleHoverLayerFlag(!0);var c=this._mergeStates(i),h=this.stateTransition;this.saveCurrentToNormalState(c),this._applyStateObj(e.join(","),c,this._normalState,!1,!n&&!this.__inHover&&h&&h.duration>0,h),this._textContent&&this._textContent.useStates(e),this._textGuide&&this._textGuide.useStates(e),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!d&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~t.REDARAW_BIT)}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=ye(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=ye(i,t),a=ye(i,e)>=0;r>=0?a?i.splice(r,1):i[r]=e:n&&!a&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i<t.length;i++){var r=t[i];fe(n,r),r.textConfig&&(e=e||{},fe(e,r.textConfig))}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,a){var o=!(e&&i);e&&e.textConfig?(this.textConfig=fe({},i?this.textConfig:n.textConfig),fe(this.textConfig,e.textConfig)):o&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},l=!1,u=0;u<sa.length;u++){var d=sa[u],c=r&&la[d];e&&null!=e[d]?c?(l=!0,s[d]=e[d]):this[d]=e[d]:o&&null!=n[d]&&(c?(l=!0,s[d]=n[d]):this[d]=n[d])}if(!r)for(u=0;u<this.animators.length;u++){var h=this.animators[u],p=h.targetName;h.__changeFinalValue(p?(e||n)[p]:e||n)}l&&this._transitionState(t,s,a)},t.prototype._attachComponent=function(t){if(t.__zr&&!t.__hostTarget)throw new Error("Text element has been added to zrender.");if(t===this)throw new Error("Recursive component attachment.");var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;if(e!==t){if(e&&e!==t&&this.removeTextContent(),t.__zr&&!t.__hostTarget)throw new Error("Text element has been added to zrender.");t.attachedTransform=new Ci,this._attachComponent(t),this._textContent=t,this.markRedraw()}},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),fe(this.textConfig,t),this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.attachedTransform=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=t.REDARAW_BIT;var e=this.__zr;e&&(this.__inHover?e.refreshHover():e.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)},t.prototype.removeSelfFromZr=function(t){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)},t.prototype.animate=function(t,e){var n=t?this[t]:this;if(n){var i=new Yr(n,e);return this.addAnimator(i,t),i}de('Property "'+t+'" is not existed in element '+this.id)},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during((function(){i.updateDuringAnimation(e)})).done((function(){var e=i.animators,n=ye(e,t);n>=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],a=0;a<i;a++){var o=n[a];t&&t!==o.scope?r.push(o):o.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){ha(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){ha(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=ha(this,e,n,i),a=0;a<r.length;a++)r[a].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.REDARAW_BIT=1,t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=!1,e.silent=!1,e.isGroup=!1,e.draggable=!1,e.dragging=!1,e.ignoreClip=!1,e.__inHover=!1,e.__dirty=t.REDARAW_BIT;var n={};function i(t,e,i){n[t+e+i]||(console.warn("DEPRECATED: '"+t+"' has been deprecated. use '"+e+"', '"+i+"' instead"),n[t+e+i]=!0)}function r(t,n,r,a){function o(t,e){Object.defineProperty(e,0,{get:function(){return t[r]},set:function(e){t[r]=e}}),Object.defineProperty(e,1,{get:function(){return t[a]},set:function(e){t[a]=e}})}Object.defineProperty(e,t,{get:function(){if(i(t,r,a),!this[n]){var e=this[n]=[];o(this,e)}return this[n]},set:function(e){i(t,r,a),this[r]=e[0],this[a]=e[1],this[n]=e,o(this,e)}})}Object.defineProperty&&(!$t.browser.ie||$t.browser.version>8)&&(r("position","_legacyPos","x","y"),r("scale","_legacyScale","scaleX","scaleY"),r("origin","_legacyOrigin","originX","originY"))}(),t}();function ha(t,e,n,i,r){n=n||{};var a=[];ga(t,"",t,e,n,i,a,r);var o=a.length,s=!1,l=n.done,u=n.aborted,d=function(){s=!0,o--,o<=0&&(s?l&&l():u&&u())},c=function(){o--,o<=0&&(s?l&&l():u&&u())};o||l&&l(),a.length>0&&n.during&&a[0].during((function(t,e){n.during(e)}));for(var h=0;h<a.length;h++){var p=a[h];d&&p.done(d),c&&p.aborted(c),p.start(n.easing,n.force)}return a}function pa(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}function fa(t){return xe(t[0])}function ma(t,e,n){if(xe(e[n]))if(xe(t[n])||(t[n]=[]),Ee(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),pa(t[n],e[n],i))}else{var r=e[n],a=t[n],o=r.length;if(fa(r))for(var s=r[0].length,l=0;l<o;l++)a[l]?pa(a[l],r[l],s):a[l]=Array.prototype.slice.call(r[l]);else pa(a,r,o);a.length=r.length}else t[n]=e[n]}function ga(t,e,n,i,r,a,o,s){for(var l=[],u=[],d=De(i),c=r.duration,h=r.delay,p=r.additive,f=r.setToFinal,m=!He(a),g=0;g<d.length;g++){var y=d[g];if(null!=n[y]&&null!=i[y]&&(m||a[y]))if(He(i[y])&&!xe(i[y])){if(e){s||(n[y]=i[y],t.updateDuringAnimation(e));continue}ga(t,y,n[y],i[y],r,a&&a[y],o,s)}else l.push(y),u.push(y);else s||(n[y]=i[y],t.updateDuringAnimation(e),u.push(y))}var _=l.length;if(_>0||r.force&&!o.length){for(var v=t.animators,x=[],M=0;M<v.length;M++)v[M].targetName===e&&x.push(v[M]);if(!p&&x.length)for(M=0;M<x.length;M++){var b=x[M].stopTracks(u);if(b){var w=ye(v,x[M]);v.splice(w,1)}}var L=void 0,S=void 0,D=void 0;if(s){S={},f&&(L={});for(M=0;M<_;M++){y=l[M];S[y]=n[y],f?L[y]=i[y]:n[y]=i[y]}}else if(f){D={};for(M=0;M<_;M++){y=l[M];D[y]=Mr(n[y]),ma(n,i,y)}}var T=new Yr(n,!1,p?x:null);T.targetName=e,r.scope&&(T.scope=r.scope),f&&L&&T.whenWithKeys(0,L,l),D&&T.whenWithKeys(0,D,l),T.whenWithKeys(null==c?500:c,s?S:i,l).delay(h||0),t.addAnimator(T,e),o.push(T)}}ve(ca,Cn),ve(ca,Ci);var ya=ca,_a=32,va=7;function xa(t){var e=0;while(t>=_a)e|=1&t,t>>=1;return t+e}function Ma(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){while(r<n&&i(t[r],t[r-1])<0)r++;ba(t,e,r)}else while(r<n&&i(t[r],t[r-1])>=0)r++;return r-e}function ba(t,e,n){n--;while(e<n){var i=t[e];t[e++]=t[n],t[n--]=i}}function wa(t,e,n,i,r){for(i===e&&i++;i<n;i++){var a,o=t[i],s=e,l=i;while(s<l)a=s+l>>>1,r(o,t[a])<0?l=a:s=a+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:while(u>0)t[s+u]=t[s+u-1],u--}t[s]=o}}function La(t,e,n,i,r,a){var o=0,s=0,l=1;if(a(t,e[n+r])>0){s=i-r;while(l<s&&a(t,e[n+r+l])>0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}else{s=r+1;while(l<s&&a(t,e[n+r-l])<=0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=o;o=r-l,l=r-u}o++;while(o<l){var d=o+(l-o>>>1);a(t,e[n+d])>0?o=d+1:l=d}return l}function Sa(t,e,n,i,r,a){var o=0,s=0,l=1;if(a(t,e[n+r])<0){s=r+1;while(l<s&&a(t,e[n+r-l])<0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=o;o=r-l,l=r-u}else{s=i-r;while(l<s&&a(t,e[n+r+l])>=0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}o++;while(o<l){var d=o+(l-o>>>1);a(t,e[n+d])<0?l=d:o=d+1}return l}function Da(t,e){var n,i,r=va,a=0,o=0;a=t.length;var s=[];function l(t,e){n[o]=t,i[o]=e,o+=1}function u(){while(o>1){var t=o-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;c(t)}}function d(){while(o>1){var t=o-2;t>0&&i[t-1]<i[t+1]&&t--,c(t)}}function c(r){var a=n[r],s=i[r],l=n[r+1],u=i[r+1];i[r]=s+u,r===o-3&&(n[r+1]=n[r+2],i[r+1]=i[r+2]),o--;var d=Sa(t[l],t,a,s,0,e);a+=d,s-=d,0!==s&&(u=La(t[a+s-1],t,l,u,u-1,e),0!==u&&(s<=u?h(a,s,l,u):p(a,s,l,u)))}function h(n,i,a,o){var l=0;for(l=0;l<i;l++)s[l]=t[n+l];var u=0,d=a,c=n;if(t[c++]=t[d++],0!==--o)if(1!==i){var h,p,f,m=r;while(1){h=0,p=0,f=!1;do{if(e(t[d],s[u])<0){if(t[c++]=t[d++],p++,h=0,0===--o){f=!0;break}}else if(t[c++]=s[u++],h++,p=0,1===--i){f=!0;break}}while((h|p)<m);if(f)break;do{if(h=Sa(t[d],s,u,i,0,e),0!==h){for(l=0;l<h;l++)t[c+l]=s[u+l];if(c+=h,u+=h,i-=h,i<=1){f=!0;break}}if(t[c++]=t[d++],0===--o){f=!0;break}if(p=La(s[u],t,d,o,0,e),0!==p){for(l=0;l<p;l++)t[c+l]=t[d+l];if(c+=p,d+=p,o-=p,0===o){f=!0;break}}if(t[c++]=s[u++],1===--i){f=!0;break}m--}while(h>=va||p>=va);if(f)break;m<0&&(m=0),m+=2}if(r=m,r<1&&(r=1),1===i){for(l=0;l<o;l++)t[c+l]=t[d+l];t[c+o]=s[u]}else{if(0===i)throw new Error;for(l=0;l<i;l++)t[c+l]=s[u+l]}}else{for(l=0;l<o;l++)t[c+l]=t[d+l];t[c+o]=s[u]}else for(l=0;l<i;l++)t[c+l]=s[u+l]}function p(n,i,a,o){var l=0;for(l=0;l<o;l++)s[l]=t[a+l];var u=n+i-1,d=o-1,c=a+o-1,h=0,p=0;if(t[c--]=t[u--],0!==--i)if(1!==o){var f=r;while(1){var m=0,g=0,y=!1;do{if(e(s[d],t[u])<0){if(t[c--]=t[u--],m++,g=0,0===--i){y=!0;break}}else if(t[c--]=s[d--],g++,m=0,1===--o){y=!0;break}}while((m|g)<f);if(y)break;do{if(m=i-Sa(s[d],t,n,i,i-1,e),0!==m){for(c-=m,u-=m,i-=m,p=c+1,h=u+1,l=m-1;l>=0;l--)t[p+l]=t[h+l];if(0===i){y=!0;break}}if(t[c--]=s[d--],1===--o){y=!0;break}if(g=o-La(t[u],s,0,o,o-1,e),0!==g){for(c-=g,d-=g,o-=g,p=c+1,h=d+1,l=0;l<g;l++)t[p+l]=s[h+l];if(o<=1){y=!0;break}}if(t[c--]=t[u--],0===--i){y=!0;break}f--}while(m>=va||g>=va);if(y)break;f<0&&(f=0),f+=2}if(r=f,r<1&&(r=1),1===o){for(c-=i,u-=i,p=c+1,h=u+1,l=i-1;l>=0;l--)t[p+l]=t[h+l];t[c]=s[d]}else{if(0===o)throw new Error;for(h=c-(o-1),l=0;l<o;l++)t[h+l]=s[l]}}else{for(c-=i,u-=i,p=c+1,h=u+1,l=i-1;l>=0;l--)t[p+l]=t[h+l];t[c]=s[d]}else for(h=c-(o-1),l=0;l<o;l++)t[h+l]=s[l]}return a<120?5:a<1542?10:a<119151?19:40,n=[],i=[],{mergeRuns:u,forceMergeRuns:d,pushRun:l}}function Ta(t,e,n,i){n||(n=0),i||(i=t.length);var r=i-n;if(!(r<2)){var a=0;if(r<_a)return a=Ma(t,n,i,e),void wa(t,n,i,n+a,e);var o=Da(t,e),s=xa(r);do{if(a=Ma(t,n,i,e),a<s){var l=r;l>s&&(l=s),wa(t,n,n+l,n+a,e),a=l}o.pushRun(n,a),o.mergeRuns(),r-=a,n+=a}while(0!==r);o.forceMergeRuns()}}var ka=!1;function Ya(){ka||(ka=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Ia(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var Ca,Aa=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Ia}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return!t&&n.length||this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,$t.canvasSupported&&Ta(n,Ia)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e=e?e.slice():[];var r=i,a=t;while(r)r.parent=a,r.updateTransform(),e.push(r),a=r,r=r.getClipPath()}if(t.childrenRef){for(var o=t.childrenRef(),s=0;s<o.length;s++){var l=o[s];t.__dirty&&(l.__dirty|=ya.REDARAW_BIT),this._updateAndAddDisplayable(l,e,n)}t.__dirty=0}else{var u=t;e&&e.length?u.__clipPaths=e:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(Ya(),u.z=0),isNaN(u.z2)&&(Ya(),u.z2=0),isNaN(u.zlevel)&&(Ya(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var d=t.getDecalElement&&t.getDecalElement();d&&this._updateAndAddDisplayable(d,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var h=t.getTextContent();h&&this._updateAndAddDisplayable(h,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e<n;e++)this.delRoot(t[e]);else{var i=ye(this._roots,t);i>=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),Pa=Aa;Ca="undefined"!==typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};var Oa=Ca,Ha=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n.onframe=e.onframe||function(){},n}return sn(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._clipsHead?(this._clipsTail.next=t,t.prev=this._clipsTail,t.next=null,this._clipsTail=t):this._clipsHead=this._clipsTail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._clipsHead=n,n?n.prev=e:this._clipsTail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){var e=(new Date).getTime()-this._pausedTime,n=e-this._time,i=this._clipsHead;while(i){var r=i.next,a=i.step(e,n);a?(i.ondestroy&&i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.onframe(n),this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;function e(){t._running&&(Oa(e),!t._paused&&t.update())}this._running=!0,Oa(e)},e.prototype.start=function(){this._running||(this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){var t=this._clipsHead;while(t){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._clipsHead=this._clipsTail=null},e.prototype.isFinished=function(){return null==this._clipsHead},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new Yr(t,e.loop);return this.addAnimator(n),n},e}(Cn),Na=Ha,Ea=300,Ra=$t.domSupported,za=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},i=be(t,(function(t){var e=t.replace("mouse","pointer");return n.hasOwnProperty(e)?e:t}));return{mouse:t,touch:e,pointer:i}}(),ja={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},Ba=!1;function Fa(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Va(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}function Wa(t){t&&(t.zrByTouch=!0)}function Ga(t,e){return Zn(t.dom,new Xa(t,e),!0)}function Ua(t,e){var n=e,i=!1;while(n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot))n=n.parentNode;return i}var Xa=function(){function t(t,e){this.stopPropagation=an,this.stopImmediatePropagation=an,this.preventDefault=an,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return t}(),Za={mousedown:function(t){t=Zn(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=Zn(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=Zn(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=Zn(this.dom,t);var e=t.toElement||t.relatedTarget;Ua(this,e)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Ba=!0,t=Zn(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Ba||(t=Zn(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=Zn(this.dom,t),Wa(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Za.mousemove.call(this,t),Za.mousedown.call(this,t)},touchmove:function(t){t=Zn(this.dom,t),Wa(t),this.handler.processGesture(t,"change"),Za.mousemove.call(this,t)},touchend:function(t){t=Zn(this.dom,t),Wa(t),this.handler.processGesture(t,"end"),Za.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<Ea&&Za.click.call(this,t)},pointerdown:function(t){Za.mousedown.call(this,t)},pointermove:function(t){Fa(t)||Za.mousemove.call(this,t)},pointerup:function(t){Za.mouseup.call(this,t)},pointerout:function(t){Fa(t)||Za.mouseout.call(this,t)}};Me(["click","dblclick","contextmenu"],(function(t){Za[t]=function(e){e=Zn(this.dom,e),this.trigger(t,e)}}));var qa={pointermove:function(t){Fa(t)||qa.mousemove.call(this,t)},pointerup:function(t){qa.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function $a(t,e){var n=e.domHandlers;$t.pointerEventsSupported?Me(za.pointer,(function(i){Ka(e,i,(function(e){n[i].call(t,e)}))})):($t.touchEventsSupported&&Me(za.touch,(function(i){Ka(e,i,(function(r){n[i].call(t,r),Va(e)}))})),Me(za.mouse,(function(i){Ka(e,i,(function(r){r=Xn(r),e.touching||n[i].call(t,r)}))})))}function Ja(t,e){function n(n){function i(i){i=Xn(i),Ua(t,i.target)||(i=Ga(t,i),e.domHandlers[n].call(t,i))}Ka(e,n,i,{capture:!0})}$t.pointerEventsSupported?Me(ja.pointer,n):$t.touchEventsSupported||Me(ja.mouse,n)}function Ka(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,$n(t.domTarget,e,n,i)}function Qa(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&Jn(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var to=function(){function t(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e}return t}(),eo=function(t){function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new to(e,Za),Ra&&(i._globalHandlerScope=new to(document,qa)),$a(i,i._localHandlerScope),i}return sn(e,t),e.prototype.dispose=function(){Qa(this._localHandlerScope),Ra&&Qa(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,Ra&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?Ja(this,e):Qa(e)}},e}(Cn),no=eo,io=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return sn(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){if(t&&(t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),t.__hostTarget))throw"This elemenet has been used as an attachment";return this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=ye(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.removeSelfFromZr(e)}},e.prototype.getBoundingRect=function(t){for(var e=new Br(0,0,0,0),n=t||this._children,i=[],r=null,a=0;a<n.length;a++){var o=n[a];if(!o.ignore&&!o.invisible){var s=o.getBoundingRect(),l=o.getLocalTransform(i);l?(Br.applyTransform(e,s,l),r=r||e.clone(),r.union(e)):(r=r||s.clone(),r.union(s))}}return r||e},e}(ya);io.prototype.type="group";var ro=io,ao=!$t.canvasSupported,oo={},so={};
22
+ /*!
23
+ * ZRender, a high performance 2d drawing library.
24
+ *
25
+ * Copyright (c) 2013, Baidu Inc.
26
+ * All rights reserved.
27
+ *
28
+ * LICENSE
29
+ * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
30
+ */function lo(t){delete so[t]}function uo(t){if(!t)return!1;if("string"===typeof t)return lr(t,1)<na;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r<i;r++)n+=lr(e[r].color,1);return n/=i,n<na}return!1}var co=function(){function t(t,e,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var r=new Pa,a=n.renderer||"canvas";if(ao)throw new Error("IE8 support has been dropped since 5.0");if(oo[a]||(a=De(oo)[0]),!oo[a])throw new Error("Renderer '"+a+"' is not imported. Please import it first.");n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var o=new oo[a](e,r,n,t);this.storage=r,this.painter=o;var s=$t.node||$t.worker?null:new no(o.getViewportRoot(),o.root);this.handler=new pi(r,o,s,o.root),this.animation=new Na({stage:{update:function(){return i._flush(!0)}}}),this.animation.start()}return t.prototype.add=function(t){t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh()},t.prototype.setBackgroundColor=function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=uo(t)},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},t.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},t.prototype.flush=function(){this._flush(!1)},t.prototype._flush=function(t){var e,n=(new Date).getTime();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=(new Date).getTime();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.addHover=function(t){},t.prototype.removeHover=function(t){},t.prototype.clearHover=function(){},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.pathToImage=function(t,e){if(this.painter.pathToImage)return this.painter.pathToImage(t,e)},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof ro&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},t.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,lo(this.id)},t}();function ho(t,e){var n=new co(ue(),t,e);return so[n.id]=n,n}function po(t,e){oo[t]=e}var fo=1e-4;function mo(t){return t.replace(/^\s+|\s+$/g,"")}function go(t,e,n,i){var r=e[1]-e[0],a=n[1]-n[0];if(0===r)return 0===a?n[0]:(n[0]+n[1])/2;if(i)if(r>0){if(t<=e[0])return n[0];if(t>=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/r*a+n[0]}function yo(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return"string"===typeof t?mo(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function _o(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function vo(t){return t.sort((function(t,e){return t-e})),t}function xo(t){if(t=+t,isNaN(t))return 0;var e=1,n=0;while(Math.round(t*e)/e!==t)e*=10,n++;return n}function Mo(t){var e=t.toString(),n=e.indexOf("e");if(n>0){var i=+e.slice(n+1);return i<0?-i:0}var r=e.indexOf(".");return r<0?0:e.length-1-r}function bo(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),a=Math.round(n(Math.abs(e[1]-e[0]))/i),o=Math.min(Math.max(-r+a,0),20);return isFinite(o)?o:20}function wo(t,e,n){if(!t[e])return 0;var i=we(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===i)return 0;var r=Math.pow(10,n),a=be(t,(function(t){return(isNaN(t)?0:t)/i*r*100})),o=100*r,s=be(a,(function(t){return Math.floor(t)})),l=we(s,(function(t,e){return t+e}),0),u=be(a,(function(t,e){return t-s[e]}));while(l<o){for(var d=Number.NEGATIVE_INFINITY,c=null,h=0,p=u.length;h<p;++h)u[h]>d&&(d=u[h],c=h);++s[c],u[c]=0,++l}return s[e]/r}var Lo=9007199254740991;function So(t){var e=2*Math.PI;return(t%e+e)%e}function Do(t){return t>-fo&&t<fo}var To=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function ko(t){if(t instanceof Date)return t;if("string"===typeof t){var e=To.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,+e[7]||0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,+e[7]||0)}return null==t?new Date(NaN):new Date(Math.round(t))}function Yo(t){return Math.pow(10,Io(t))}function Io(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function Co(t,e){var n,i=Io(t),r=Math.pow(10,i),a=t/r;return n=e?a<1.5?1:a<2.5?2:a<4?3:a<7?5:10:a<1?1:a<2?2:a<3?3:a<5?5:10,t=n*r,i>=-20?+t.toFixed(i<0?-i:0):t}function Ao(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],a=n-i;return a?r+a*(t[i]-r):r}function Po(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i<t.length;){for(var r=t[i].interval,a=t[i].close,o=0;o<2;o++)r[o]<=e&&(r[o]=e,a[o]=o?1:1-n),e=r[o],n=a[o];r[0]===r[1]&&a[0]*a[1]!==1?t.splice(i,1):i++}return t;function s(t,e,n){return t.interval[n]<e.interval[n]||t.interval[n]===e.interval[n]&&(t.close[n]-e.close[n]===(n?-1:1)||!n&&s(t,e,1))}}function Oo(t){var e=parseFloat(t);return e==t&&(0!==e||"string"!==typeof t||t.indexOf("x")<=0)?e:NaN}function Ho(t){return!isNaN(Oo(t))}function No(){return Math.round(9*Math.random())}function Eo(t,e){return 0===e?t:Eo(e,t%e)}function Ro(t,e){return null==t?e:null==e?t:t*e/Eo(t,e)}var zo="series\0",jo="\0_ec_\0";function Bo(t){return t instanceof Array?t:null==t?[]:[t]}function Fo(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i<r;i++){var a=n[i];!t.emphasis[e].hasOwnProperty(a)&&t[e].hasOwnProperty(a)&&(t.emphasis[e][a]=t[e][a])}}}var Vo=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function Wo(t){return!He(t)||Ie(t)||t instanceof Date?t:t.value}function Go(t){return He(t)&&!(t instanceof Array)}function Uo(t,e,n){var i="normalMerge"===n,r="replaceMerge"===n,a="replaceAll"===n;t=t||[],e=(e||[]).slice();var o=tn();Me(e,(function(t,n){He(t)||(e[n]=null)}));var s=Xo(t,o,n);return(i||r)&&Zo(s,t,o,e),i&&qo(s,e),i||r?$o(s,e,r):a&&Jo(s,e),Ko(s),s}function Xo(t,e,n){var i=[];if("replaceAll"===n)return i;for(var r=0;r<t.length;r++){var a=t[r];a&&null!=a.id&&e.set(a.id,r),i.push({existing:"replaceMerge"===n||is(a)?null:a,newOption:null,keyInfo:null,brandNew:null})}return i}function Zo(t,e,n,i){Me(i,(function(r,a){if(r&&null!=r.id){var o=ts(r.id),s=n.get(o);if(null!=s){var l=t[s];Ze(!l.newOption,'Duplicated option on id "'+o+'".'),l.newOption=r,l.existing=e[s],i[a]=null}}}))}function qo(t,e){Me(e,(function(n,i){if(n&&null!=n.name)for(var r=0;r<t.length;r++){var a=t[r].existing;if(!t[r].newOption&&a&&(null==a.id||null==n.id)&&!is(n)&&!is(a)&&Qo("name",a,n))return t[r].newOption=n,void(e[i]=null)}}))}function $o(t,e,n){Me(e,(function(e){if(e){var i,r=0;while((i=t[r])&&(i.newOption||is(i.existing)||i.existing&&null!=e.id&&!Qo("id",e,i.existing)))r++;i?(i.newOption=e,i.brandNew=n):t.push({newOption:e,brandNew:n,existing:null,keyInfo:null}),r++}}))}function Jo(t,e){Me(e,(function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})}))}function Ko(t){var e=tn();Me(t,(function(t){var n=t.existing;n&&e.set(n.id,t)})),Me(t,(function(t){var n=t.newOption;Ze(!n||null==n.id||!e.get(n.id)||e.get(n.id)===t,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&e.set(n.id,t),!t.keyInfo&&(t.keyInfo={})})),Me(t,(function(t,n){var i=t.existing,r=t.newOption,a=t.keyInfo;if(He(r)){if(a.name=null!=r.name?ts(r.name):i?i.name:zo+n,i)a.id=ts(i.id);else if(null!=r.id)a.id=ts(r.id);else{var o=0;do{a.id="\0"+a.name+"\0"+o++}while(e.get(a.id))}e.set(a.id,t)}}))}function Qo(t,e,n){var i=es(e[t],null),r=es(n[t],null);return null!=i&&null!=r&&i===r}function ts(t){return es(t,"")}function es(t,e){if(null==t)return e;var n=typeof t;return"string"===n?t:"number"===n||Pe(t)?t+"":e}function ns(t){var e=t.name;return!(!e||!e.indexOf(zo))}function is(t){return t&&null!=t.id&&0===ts(t.id).indexOf(jo)}function rs(t){return jo+t}function as(t,e,n){Me(t,(function(t){var i=t.newOption;He(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=os(e,i,t.existing,n))}))}function os(t,e,n,i){var r=e.type?e.type:n?n.subType:i.determineSubType(t,e);return r}function ss(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[a(n),a(i)];function r(t,e,n){for(var i=0,r=t.length;i<r;i++){var a=es(t[i].seriesId,null);if(null==a)return;for(var o=Bo(t[i].dataIndex),s=n&&n[a],l=0,u=o.length;l<u;l++){var d=o[l];s&&s[d]?s[d]=null:(e[a]||(e[a]={}))[d]=1}}}function a(t,e){var n=[];for(var i in t)if(t.hasOwnProperty(i)&&null!=t[i])if(e)n.push(+i);else{var r=a(t[i],!0);r.length&&n.push({seriesId:i,dataIndex:r})}return n}}function ls(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?Ie(e.dataIndex)?be(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?Ie(e.name)?be(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function us(){var t="__ec_inner_"+ds++;return function(e){return e[t]||(e[t]={})}}var ds=No();function cs(t,e,n){var i;if(Ae(e)){var r={};r[e+"Index"]=0,i=r}else i=e;var a=tn(),o={},s=!1;Me(i,(function(t,e){if("dataIndex"!==e&&"dataIndexInside"!==e){var i=e.match(/^(\w+)(Index|Id|Name)$/)||[],r=i[1],l=(i[2]||"").toLowerCase();if(r&&l&&!(n&&n.includeMainTypes&&ye(n.includeMainTypes,r)<0)){s=s||!!r;var u=a.get(r)||a.set(r,{});u[l]=t}}else o[e]=t}));var l=n?n.defaultMainType:null;return!s&&l&&a.set(l,{}),a.each((function(e,i){var r=fs(t,i,e,{useDefault:l===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});o[i+"Models"]=r.models,o[i+"Model"]=r.models[0]})),o}var hs={useDefault:!0,enableAll:!1,enableNone:!1},ps={useDefault:!1,enableAll:!0,enableNone:!0};function fs(t,e,n,i){i=i||hs;var r=n.index,a=n.id,o=n.name,s={models:null,specified:null!=r||null!=a||null!=o};if(!s.specified){var l=void 0;return s.models=i.useDefault&&(l=t.getComponent(e))?[l]:[],s}return"none"===r||!1===r?(Ze(i.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):("all"===r&&(Ze(i.enableAll,'`"all"` is not a valid value on index option.'),r=a=o=null),s.models=t.queryComponents({mainType:e,index:r,id:a,name:o}),s)}function ms(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function gs(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function ys(t){return"auto"===t?$t.domSupported?"html":"richText":t||"html"}function _s(t,e){var n=tn(),i=[];return Me(t,(function(t){var r=e(t);(n.get(r)||(i.push(r),n.set(r,[]))).push(t)})),{keys:i,buckets:n}}function vs(t,e,n,i,r){var a=null==e||"auto"===e;if(null==i)return i;if("number"===typeof i){var o=dr(n||0,i,r);return _o(o,a?Math.max(Mo(n||0),Mo(i)):e)}if("string"===typeof i)return r<1?n:i;for(var s=[],l=n,u=i,d=Math.max(l?l.length:0,u.length),c=0;c<d;++c){var h=t.getDimensionInfo(c);if("ordinal"===h.type)s[c]=(r<1&&l?l:u)[c];else{var p=l&&l[c]?l[c]:0,f=u[c];o=dr(p,f,r);s[c]=_o(o,a?Math.max(Mo(p),Mo(f)):e)}}return s}var xs=".",Ms="___EC__COMPONENT__CONTAINER___",bs="___EC__EXTENDED_CLASS___";function ws(t){var e={main:"",sub:""};if(t){var n=t.split(xs);e.main=n[0]||"",e.sub=n[1]||""}return e}function Ls(t){Ze(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function Ss(t){return!(!t||!t[bs])}function Ds(t,e){t.$constructor=t,t.extend=function(t){var e=this;function n(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];if(t.$constructor)t.$constructor.apply(this,arguments);else{if(Ts(e)){var a=nn(n.prototype,new(e.bind.apply(e,Gt([void 0],i))));return a}e.apply(this,arguments)}}return n[bs]=!0,fe(n.prototype,t),n.extend=this.extend,n.superCall=Cs,n.superApply=As,_e(n,this),n.superClass=e,n}}function Ts(t){return"function"===typeof t&&/^class\s/.test(Function.prototype.toString.call(t))}function ks(t,e){t.extend=e.extend}var Ys=Math.round(10*Math.random());function Is(t){var e=["__\0is_clz",Ys++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function Cs(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this.superClass.prototype[e].apply(t,n)}function As(t,e,n){return this.superClass.prototype[e].apply(t,n)}function Ps(t){var e={};function n(t){var n=e[t.main];return n&&n[Ms]||(n=e[t.main]={},n[Ms]=!0),n}t.registerClass=function(t){var i=t.type||t.prototype.type;if(i){Ls(i),t.prototype.type=i;var r=ws(i);if(r.sub){if(r.sub!==Ms){var a=n(r);a[r.sub]=t}}else e[r.main]=t}return t},t.getClass=function(t,n,i){var r=e[t];if(r&&r[Ms]&&(r=n?r[n]:null),i&&!r)throw new Error(n?"Component "+t+"."+(n||"")+" not exists. Load it first.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=ws(t),i=[],r=e[n.main];return r&&r[Ms]?Me(r,(function(t,e){e!==Ms&&i.push(t)})):i.push(r),i},t.hasClass=function(t){var n=ws(t);return!!e[n.main]},t.getAllClassMainTypes=function(){var t=[];return Me(e,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){var n=ws(t),i=e[n.main];return i&&i[Ms]}}function Os(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,i,r){for(var a={},o=0;o<t.length;o++){var s=t[o][1];if(!(i&&ye(i,s)>=0||r&&ye(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(a[t[o][0]]=l)}}return a}}var Hs=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],Ns=Os(Hs),Es=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return Ns(this,t,e)},t}(),Rs=new zi(50);function zs(t){if("string"===typeof t){var e=Rs.get(t);return e&&e.image}return t}function js(t,e,n,i,r){if(t){if("string"===typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var a=Rs.get(t),o={hostEl:n,cb:i,cbPayload:r};return a?(e=a.image,!Fs(e)&&a.pending.push(o)):(e=new Image,e.onload=e.onerror=Bs,Rs.put(t,e.__cachedImgObj={image:e,pending:[o]}),e.src=e.__zrImageSrc=t),e}return t}return e}function Bs(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function Fs(t){return t&&t.width&&t.height}var Vs=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function Ws(t,e,n,i,r){if(!e)return"";var a=(t+"").split("\n");r=Gs(e,n,i,r);for(var o=0,s=a.length;o<s;o++)a[o]=Us(a[o],r);return a.join("\n")}function Gs(t,e,n,i){i=i||{};var r=fe({},i);r.font=e,n=We(n,"..."),r.maxIterations=We(i.maxIterations,2);var a=r.minChar=We(i.minChar,0);r.cnCharWidth=Ur("国",e);var o=r.ascCharWidth=Ur("a",e);r.placeholder=We(i.placeholder,"");for(var s=t=Math.max(0,t-1),l=0;l<a&&s>=o;l++)s-=o;var u=Ur(n,e);return u>s&&(n="",u=0),s=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function Us(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var a=Ur(t,i);if(a<=n)return t;for(var o=0;;o++){if(a<=r||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?Xs(t,r,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*r/a):0;t=t.substr(0,s),a=Ur(t,i)}return""===t&&(t=e.placeholder),t}function Xs(t,e,n,i){for(var r=0,a=0,o=t.length;a<o&&r<e;a++){var s=t.charCodeAt(a);r+=0<=s&&s<=127?n:i}return a}function Zs(t,e){null!=t&&(t+="");var n,i=e.overflow,r=e.padding,a=e.font,o="truncate"===i,s=Jr(a),l=We(e.lineHeight,s),u="truncate"===e.lineOverflow,d=e.width;n=null!=d&&"break"===i||"breakAll"===i?t?il(t,e.font,d,"breakAll"===i,0).lines:[]:t?t.split("\n"):[];var c=n.length*l,h=We(e.height,c);if(c>h&&u){var p=Math.floor(h/l);n=n.slice(0,p)}var f=h,m=d;if(r&&(f+=r[0]+r[2],null!=m&&(m+=r[1]+r[3])),t&&o&&null!=m)for(var g=Gs(d,a,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),y=0;y<n.length;y++)n[y]=Us(n[y],g);if(null==d){var _=0;for(y=0;y<n.length;y++)_=Math.max(Ur(n[y],a),_);d=_}return{lines:n,height:h,outerHeight:f,lineHeight:l,calculatedLineHeight:s,contentHeight:c,width:d}}var qs=function(){function t(){}return t}(),$s=function(){function t(t){this.tokens=[],t&&(this.tokens=t)}return t}(),Js=function(){function t(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return t}();function Ks(t,e){var n=new Js;if(null!=t&&(t+=""),!t)return n;var i,r=e.width,a=e.height,o=e.overflow,s="break"!==o&&"breakAll"!==o||null==r?null:{width:r,accumWidth:0,breakAll:"breakAll"===o},l=Vs.lastIndex=0;while(null!=(i=Vs.exec(t))){var u=i.index;u>l&&Qs(n,t.substring(l,u),e,s),Qs(n,i[2],e,s,i[1]),l=Vs.lastIndex}l<t.length&&Qs(n,t.substring(l,t.length),e,s);var d=[],c=0,h=0,p=e.padding,f="truncate"===o,m="truncate"===e.lineOverflow;function g(t,e,n){t.width=e,t.lineHeight=n,c+=n,h=Math.max(h,e)}t:for(var y=0;y<n.lines.length;y++){for(var _=n.lines[y],v=0,x=0,M=0;M<_.tokens.length;M++){var b=_.tokens[M],w=b.styleName&&e.rich[b.styleName]||{},L=b.textPadding=w.padding,S=L?L[1]+L[3]:0,D=b.font=w.font||e.font;b.contentHeight=Jr(D);var T=We(w.height,b.contentHeight);if(b.innerHeight=T,L&&(T+=L[0]+L[2]),b.height=T,b.lineHeight=Ge(w.lineHeight,e.lineHeight,T),b.align=w&&w.align||e.align,b.verticalAlign=w&&w.verticalAlign||"middle",m&&null!=a&&c+b.lineHeight>a){M>0?(_.tokens=_.tokens.slice(0,M),g(_,x,v),n.lines=n.lines.slice(0,y+1)):n.lines=n.lines.slice(0,y);break t}var k=w.width,Y=null==k||"auto"===k;if("string"===typeof k&&"%"===k.charAt(k.length-1))b.percentWidth=k,d.push(b),b.contentWidth=Ur(b.text,D);else{if(Y){var I=w.backgroundColor,C=I&&I.image;C&&(C=zs(C),Fs(C)&&(b.width=Math.max(b.width,C.width*T/C.height)))}var A=f&&null!=r?r-x:null;null!=A&&A<b.width?!Y||A<S?(b.text="",b.width=b.contentWidth=0):(b.text=Ws(b.text,A-S,D,e.ellipsis,{minChar:e.truncateMinChar}),b.width=b.contentWidth=Ur(b.text,D)):b.contentWidth=Ur(b.text,D)}b.width+=S,x+=b.width,w&&(v=Math.max(v,b.lineHeight)),b}g(_,x,v)}n.outerWidth=n.width=We(r,h),n.outerHeight=n.height=We(a,c),n.contentHeight=c,n.contentWidth=h,p&&(n.outerWidth+=p[1]+p[3],n.outerHeight+=p[0]+p[2]);for(y=0;y<d.length;y++){b=d[y];var P=b.percentWidth;b.width=parseInt(P,10)/100*n.width}return n}function Qs(t,e,n,i,r){var a,o,s=""===e,l=r&&n.rich[r]||{},u=t.lines,d=l.font||n.font,c=!1;if(i){var h=l.padding,p=h?h[1]+h[3]:0;if(null!=l.width&&"auto"!==l.width){var f=rl(l.width,i.width)+p;u.length>0&&f+i.accumWidth>i.width&&(a=e.split("\n"),c=!0),i.accumWidth=f}else{var m=il(e,d,i.width,i.breakAll,i.accumWidth);i.accumWidth=m.accumWidth+p,o=m.linesWidths,a=m.lines}}else a=e.split("\n");for(var g=0;g<a.length;g++){var y=a[g],_=new qs;if(_.styleName=r,_.text=y,_.isLineHolder=!y&&!s,"number"===typeof l.width?_.width=l.width:_.width=o?o[g]:Ur(y,d),g||c)u.push(new $s([_]));else{var v=(u[u.length-1]||(u[0]=new $s)).tokens,x=v.length;1===x&&v[0].isLineHolder?v[0]=_:(y||!x||s)&&v.push(_)}}}function tl(t){var e=t.charCodeAt(0);return e>=33&&e<=255}var el=we(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function nl(t){return!tl(t)||!!el[t]}function il(t,e,n,i,r){for(var a=[],o=[],s="",l="",u=0,d=0,c=0;c<t.length;c++){var h=t.charAt(c);if("\n"!==h){var p=Ur(h,e),f=!i&&!nl(h);(a.length?d+p>n:r+d+p>n)?d?(s||l)&&(f?(s||(s=l,l="",u=0,d=u),a.push(s),o.push(d-u),l+=h,u+=p,s="",d=u):(l&&(s+=l,d+=u,l="",u=0),a.push(s),o.push(d),s=h,d=p)):f?(a.push(l),o.push(u),l=h,u=p):(a.push(h),o.push(p)):(d+=p,f?(l+=h,u+=p):(l&&(s+=l,l="",u=0),s+=h))}else l&&(s+=l,d+=u),a.push(s),o.push(d),s="",l="",u=0,d=0}return a.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(a.push(s),o.push(d)),1===a.length&&(d+=r),{accumWidth:d,lines:a,linesWidths:o}}function rl(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}var al="__zr_style_"+Math.round(10*Math.random()),ol={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},sl={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};ol[al]=!0;var ll=["z","z2","invisible"],ul=function(t){function e(e){return t.call(this,e)||this}return sn(e,t),e.prototype._init=function(e){for(var n=De(e),i=0;i<n.length;i++){var r=n[i];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,e,n,i){var r=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&hl(this,t,e)||r&&!r[0]&&!r[3])return!1;if(n&&this.__clipPaths)for(var a=0;a<this.__clipPaths.length;++a)if(this.__clipPaths[a].isZeroArea())return!1;if(i&&this.parent){var o=this.parent;while(o){if(o.ignore)return!1;o=o.parent}}return!0},e.prototype.contain=function(t,e){return this.rectContain(t,e)},e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return i.contain(n[0],n[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),i=this.style,r=i.shadowBlur||0,a=i.shadowOffsetX||0,o=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new Br(0,0,0,0)),e?Br.applyTransform(t,n,e):t.copy(n),(r||a||o)&&(t.width+=2*r+Math.abs(a),t.height+=2*r+Math.abs(o),t.x=Math.min(t.x,t.x+a-r),t.y=Math.min(t.y,t.y+o-r));var s=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-s),t.y=Math.floor(t.y-s),t.width=Math.ceil(t.width+1+2*s),t.height=Math.ceil(t.height+1+2*s))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new Br(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},e.prototype.setStyle=function(t,e){return"string"===typeof t?this.style[t]=e:fe(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(){this.markRedraw(),this.__dirty|=e.STYLE_CHANGED_BIT,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&e.STYLE_CHANGED_BIT)},e.prototype.styleUpdated=function(){this.__dirty&=~e.STYLE_CHANGED_BIT},e.prototype.createStyle=function(t){return nn(ol,t)},e.prototype.useStyle=function(t){t[al]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[al]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,ll)},e.prototype._applyStateObj=function(e,n,i,r,a,o){t.prototype._applyStateObj.call(this,e,n,i,r,a,o);var s,l=!(n&&r);if(n&&n.style?a?r?s=n.style:(s=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(s,n.style)):(s=this._mergeStyle(this.createStyle(),r?this.style:i.style),this._mergeStyle(s,n.style)):l&&(s=i.style),s)if(a){var u=this.style;if(this.style=this.createStyle(l?{}:u),l)for(var d=De(u),c=0;c<d.length;c++){var h=d[c];h in s&&(s[h]=s[h],this.style[h]=u[h])}var p=De(s);for(c=0;c<p.length;c++){h=p[c];this.style[h]=this.style[h]}this._transitionState(e,{style:s},o,this.getAnimationStyleProps())}else this.useStyle(s);for(c=0;c<ll.length;c++){h=ll[c];n&&null!=n[h]?this[h]=n[h]:l&&null!=i[h]&&(this[h]=i[h])}},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var a=e[r];a.style&&(n=n||{},this._mergeStyle(n,a.style))}return n&&(i.style=n),i},e.prototype._mergeStyle=function(t,e){return fe(t,e),t},e.prototype.getAnimationStyleProps=function(){return sl},e.STYLE_CHANGED_BIT=2,e.initDefaultProps=function(){var t=e.prototype;t.type="displayable",t.invisible=!1,t.z=0,t.z2=0,t.zlevel=0,t.culling=!1,t.cursor="pointer",t.rectHover=!1,t.incremental=!1,t._rect=null,t.dirtyRectTolerance=0,t.__dirty=ya.REDARAW_BIT|e.STYLE_CHANGED_BIT}(),e}(ya),dl=new Br(0,0,0,0),cl=new Br(0,0,0,0);function hl(t,e,n){return dl.copy(t.getBoundingRect()),t.transform&&dl.applyTransform(t.transform),cl.width=e,cl.height=n,!dl.intersect(cl)}var pl=ul,fl=Math.pow,ml=Math.sqrt,gl=1e-8,yl=1e-4,_l=ml(3),vl=1/3,xl=ln(),Ml=ln(),bl=ln();function wl(t){return t>-gl&&t<gl}function Ll(t){return t>gl||t<-gl}function Sl(t,e,n,i,r){var a=1-r;return a*a*(a*t+3*r*e)+r*r*(r*i+3*a*n)}function Dl(t,e,n,i,r){var a=1-r;return 3*(((e-t)*a+2*(n-e)*r)*a+(i-n)*r*r)}function Tl(t,e,n,i,r,a){var o=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,d=s*s-3*o*l,c=s*l-9*o*u,h=l*l-3*s*u,p=0;if(wl(d)&&wl(c))if(wl(s))a[0]=0;else{var f=-l/s;f>=0&&f<=1&&(a[p++]=f)}else{var m=c*c-4*d*h;if(wl(m)){var g=c/d,y=(f=-s/o+g,-g/2);f>=0&&f<=1&&(a[p++]=f),y>=0&&y<=1&&(a[p++]=y)}else if(m>0){var _=ml(m),v=d*s+1.5*o*(-c+_),x=d*s+1.5*o*(-c-_);v=v<0?-fl(-v,vl):fl(v,vl),x=x<0?-fl(-x,vl):fl(x,vl);f=(-s-(v+x))/(3*o);f>=0&&f<=1&&(a[p++]=f)}else{var M=(2*d*s-3*o*c)/(2*ml(d*d*d)),b=Math.acos(M)/3,w=ml(d),L=Math.cos(b),S=(f=(-s-2*w*L)/(3*o),y=(-s+w*(L+_l*Math.sin(b)))/(3*o),(-s+w*(L-_l*Math.sin(b)))/(3*o));f>=0&&f<=1&&(a[p++]=f),y>=0&&y<=1&&(a[p++]=y),S>=0&&S<=1&&(a[p++]=S)}}return p}function kl(t,e,n,i,r){var a=6*n-12*e+6*t,o=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(wl(o)){if(Ll(a)){var u=-s/a;u>=0&&u<=1&&(r[l++]=u)}}else{var d=a*a-4*o*s;if(wl(d))r[0]=-a/(2*o);else if(d>0){var c=ml(d),h=(u=(-a+c)/(2*o),(-a-c)/(2*o));u>=0&&u<=1&&(r[l++]=u),h>=0&&h<=1&&(r[l++]=h)}}return l}function Yl(t,e,n,i,r,a){var o=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-o)*r+o,d=(l-s)*r+s,c=(d-u)*r+u;a[0]=t,a[1]=o,a[2]=u,a[3]=c,a[4]=c,a[5]=d,a[6]=l,a[7]=i}function Il(t,e,n,i,r,a,o,s,l,u,d){var c,h,p,f,m,g=.005,y=1/0;xl[0]=l,xl[1]=u;for(var _=0;_<1;_+=.05)Ml[0]=Sl(t,n,r,o,_),Ml[1]=Sl(e,i,a,s,_),f=bn(xl,Ml),f<y&&(c=_,y=f);y=1/0;for(var v=0;v<32;v++){if(g<yl)break;h=c-g,p=c+g,Ml[0]=Sl(t,n,r,o,h),Ml[1]=Sl(e,i,a,s,h),f=bn(Ml,xl),h>=0&&f<y?(c=h,y=f):(bl[0]=Sl(t,n,r,o,p),bl[1]=Sl(e,i,a,s,p),m=bn(bl,xl),p<=1&&m<y?(c=p,y=m):g*=.5)}return d&&(d[0]=Sl(t,n,r,o,c),d[1]=Sl(e,i,a,s,c)),ml(y)}function Cl(t,e,n,i,r,a,o,s,l){for(var u=t,d=e,c=0,h=1/l,p=1;p<=l;p++){var f=p*h,m=Sl(t,n,r,o,f),g=Sl(e,i,a,s,f),y=m-u,_=g-d;c+=Math.sqrt(y*y+_*_),u=m,d=g}return c}function Al(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function Pl(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function Ol(t,e,n,i,r){var a=t-2*e+n,o=2*(e-t),s=t-i,l=0;if(wl(a)){if(Ll(o)){var u=-s/o;u>=0&&u<=1&&(r[l++]=u)}}else{var d=o*o-4*a*s;if(wl(d)){u=-o/(2*a);u>=0&&u<=1&&(r[l++]=u)}else if(d>0){var c=ml(d),h=(u=(-o+c)/(2*a),(-o-c)/(2*a));u>=0&&u<=1&&(r[l++]=u),h>=0&&h<=1&&(r[l++]=h)}}return l}function Hl(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function Nl(t,e,n,i,r){var a=(e-t)*i+t,o=(n-e)*i+e,s=(o-a)*i+a;r[0]=t,r[1]=a,r[2]=s,r[3]=s,r[4]=o,r[5]=n}function El(t,e,n,i,r,a,o,s,l){var u,d=.005,c=1/0;xl[0]=o,xl[1]=s;for(var h=0;h<1;h+=.05){Ml[0]=Al(t,n,r,h),Ml[1]=Al(e,i,a,h);var p=bn(xl,Ml);p<c&&(u=h,c=p)}c=1/0;for(var f=0;f<32;f++){if(d<yl)break;var m=u-d,g=u+d;Ml[0]=Al(t,n,r,m),Ml[1]=Al(e,i,a,m);p=bn(Ml,xl);if(m>=0&&p<c)u=m,c=p;else{bl[0]=Al(t,n,r,g),bl[1]=Al(e,i,a,g);var y=bn(bl,xl);g<=1&&y<c?(u=g,c=y):d*=.5}}return l&&(l[0]=Al(t,n,r,u),l[1]=Al(e,i,a,u)),ml(c)}function Rl(t,e,n,i,r,a,o){for(var s=t,l=e,u=0,d=1/o,c=1;c<=o;c++){var h=c*d,p=Al(t,n,r,h),f=Al(e,i,a,h),m=p-s,g=f-l;u+=Math.sqrt(m*m+g*g),s=p,l=f}return u}var zl=Math.min,jl=Math.max,Bl=Math.sin,Fl=Math.cos,Vl=2*Math.PI,Wl=ln(),Gl=ln(),Ul=ln();function Xl(t,e,n){if(0!==t.length){for(var i=t[0],r=i[0],a=i[0],o=i[1],s=i[1],l=1;l<t.length;l++)i=t[l],r=zl(r,i[0]),a=jl(a,i[0]),o=zl(o,i[1]),s=jl(s,i[1]);e[0]=r,e[1]=o,n[0]=a,n[1]=s}}function Zl(t,e,n,i,r,a){r[0]=zl(t,n),r[1]=zl(e,i),a[0]=jl(t,n),a[1]=jl(e,i)}var ql=[],$l=[];function Jl(t,e,n,i,r,a,o,s,l,u){var d=kl,c=Sl,h=d(t,n,r,o,ql);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var p=0;p<h;p++){var f=c(t,n,r,o,ql[p]);l[0]=zl(f,l[0]),u[0]=jl(f,u[0])}h=d(e,i,a,s,$l);for(p=0;p<h;p++){var m=c(e,i,a,s,$l[p]);l[1]=zl(m,l[1]),u[1]=jl(m,u[1])}l[0]=zl(t,l[0]),u[0]=jl(t,u[0]),l[0]=zl(o,l[0]),u[0]=jl(o,u[0]),l[1]=zl(e,l[1]),u[1]=jl(e,u[1]),l[1]=zl(s,l[1]),u[1]=jl(s,u[1])}function Kl(t,e,n,i,r,a,o,s){var l=Hl,u=Al,d=jl(zl(l(t,n,r),1),0),c=jl(zl(l(e,i,a),1),0),h=u(t,n,r,d),p=u(e,i,a,c);o[0]=zl(t,r,h),o[1]=zl(e,a,p),s[0]=jl(t,r,h),s[1]=jl(e,a,p)}function Ql(t,e,n,i,r,a,o,s,l){var u=Sn,d=Dn,c=Math.abs(r-a);if(c%Vl<1e-4&&c>1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(Wl[0]=Fl(r)*n+t,Wl[1]=Bl(r)*i+e,Gl[0]=Fl(a)*n+t,Gl[1]=Bl(a)*i+e,u(s,Wl,Gl),d(l,Wl,Gl),r%=Vl,r<0&&(r+=Vl),a%=Vl,a<0&&(a+=Vl),r>a&&!o?a+=Vl:r<a&&o&&(r+=Vl),o){var h=a;a=r,r=h}for(var p=0;p<a;p+=Math.PI/2)p>r&&(Ul[0]=Fl(p)*n+t,Ul[1]=Bl(p)*i+e,u(s,Ul,s),d(l,Ul,l))}var tu={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},eu=[],nu=[],iu=[],ru=[],au=[],ou=[],su=Math.min,lu=Math.max,uu=Math.cos,du=Math.sin,cu=Math.sqrt,hu=Math.abs,pu=Math.PI,fu=2*pu,mu="undefined"!==typeof Float32Array,gu=[];function yu(t){var e=Math.round(t/pu*1e8)/1e8;return e%2*pu}function _u(t,e){var n=yu(t[0]);n<0&&(n+=fu);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=fu?r=n+fu:e&&n-r>=fu?r=n-fu:!e&&n>r?r=n+(fu-yu(n-r)):e&&n<r&&(r=n-(fu-yu(r-n))),t[0]=n,t[1]=r}var vu=function(){function t(t){this.dpr=1,this._version=0,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,n){n=n||0,n>0&&(this._ux=hu(n/ea/t)||0,this._uy=hu(n/ea/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this.addData(tu.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=hu(t-this._xi)>this._ux||hu(e-this._yi)>this._uy||this._len<5;return this.addData(tu.L,t,e),this._ctx&&n&&(this._needsDash?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},t.prototype.bezierCurveTo=function(t,e,n,i,r,a){return this.addData(tu.C,t,e,n,i,r,a),this._ctx&&(this._needsDash?this._dashedBezierTo(t,e,n,i,r,a):this._ctx.bezierCurveTo(t,e,n,i,r,a)),this._xi=r,this._yi=a,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this.addData(tu.Q,t,e,n,i),this._ctx&&(this._needsDash?this._dashedQuadraticTo(t,e,n,i):this._ctx.quadraticCurveTo(t,e,n,i)),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,a){gu[0]=i,gu[1]=r,_u(gu,a),i=gu[0],r=gu[1];var o=r-i;return this.addData(tu.A,t,e,n,n,i,o,0,a?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,a),this._xi=uu(r)*n+t,this._yi=du(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._ctx&&this._ctx.rect(t,e,n,i),this.addData(tu.R,t,e,n,i),this},t.prototype.closePath=function(){this.addData(tu.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.setLineDash=function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;n<t.length;n++)e+=t[n];this._dashSum=e,this._needsDash=!0}else this._lineDash=null,this._needsDash=!1;return this},t.prototype.setLineDashOffset=function(t){return this._dashOffset=t,this},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!mu||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},t.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();mu&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(r=0;r<e;r++)for(var a=t[r].data,o=0;o<a.length;o++)this.data[i++]=a[o];this._len=i},t.prototype.addData=function(t,e,n,i,r,a,o,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var d=0;d<arguments.length;d++)u[this._len++]=arguments[d]}},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},t.prototype._dashedLineTo=function(t,e){var n,i,r=this._dashSum,a=this._lineDash,o=this._ctx,s=this._dashOffset,l=this._xi,u=this._yi,d=t-l,c=e-u,h=cu(d*d+c*c),p=l,f=u,m=a.length;d/=h,c/=h,s<0&&(s=r+s),s%=r,p-=s*d,f-=s*c;while(d>0&&p<=t||d<0&&p>=t||0===d&&(c>0&&f<=e||c<0&&f>=e))i=this._dashIdx,n=a[i],p+=d*n,f+=c*n,this._dashIdx=(i+1)%m,d>0&&p<l||d<0&&p>l||c>0&&f<u||c<0&&f>u||o[i%2?"moveTo":"lineTo"](d>=0?su(p,t):lu(p,t),c>=0?su(f,e):lu(f,e));d=p-t,c=f-e,this._dashOffset=-cu(d*d+c*c)},t.prototype._dashedBezierTo=function(t,e,n,i,r,a){var o,s,l,u,d,c=this._ctx,h=this._dashSum,p=this._dashOffset,f=this._lineDash,m=this._xi,g=this._yi,y=0,_=this._dashIdx,v=f.length,x=0;for(p<0&&(p=h+p),p%=h,o=0;o<1;o+=.1)s=Sl(m,t,n,r,o+.1)-Sl(m,t,n,r,o),l=Sl(g,e,i,a,o+.1)-Sl(g,e,i,a,o),y+=cu(s*s+l*l);for(;_<v;_++)if(x+=f[_],x>p)break;o=(x-p)/y;while(o<=1)u=Sl(m,t,n,r,o),d=Sl(g,e,i,a,o),_%2?c.moveTo(u,d):c.lineTo(u,d),o+=f[_]/y,_=(_+1)%v;_%2!==0&&c.lineTo(r,a),s=r-u,l=a-d,this._dashOffset=-cu(s*s+l*l)},t.prototype._dashedQuadraticTo=function(t,e,n,i){var r=n,a=i;n=(n+2*t)/3,i=(i+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,i,r,a)},t.prototype.toStatic=function(){if(this._saveData){var t=this.data;t instanceof Array&&(t.length=this._len,mu&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){iu[0]=iu[1]=au[0]=au[1]=Number.MAX_VALUE,ru[0]=ru[1]=ou[0]=ou[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,a=0;for(t=0;t<this._len;){var o=e[t++],s=1===t;switch(s&&(n=e[t],i=e[t+1],r=n,a=i),o){case tu.M:n=r=e[t++],i=a=e[t++],au[0]=r,au[1]=a,ou[0]=r,ou[1]=a;break;case tu.L:Zl(n,i,e[t],e[t+1],au,ou),n=e[t++],i=e[t++];break;case tu.C:Jl(n,i,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],au,ou),n=e[t++],i=e[t++];break;case tu.Q:Kl(n,i,e[t++],e[t++],e[t],e[t+1],au,ou),n=e[t++],i=e[t++];break;case tu.A:var l=e[t++],u=e[t++],d=e[t++],c=e[t++],h=e[t++],p=e[t++]+h;t+=1;var f=!e[t++];s&&(r=uu(h)*d+l,a=du(h)*c+u),Ql(l,u,d,c,h,p,f,au,ou),n=uu(p)*d+l,i=du(p)*c+u;break;case tu.R:r=n=e[t++],a=i=e[t++];var m=e[t++],g=e[t++];Zl(r,a,r+m,a+g,au,ou);break;case tu.Z:n=r,i=a;break}Sn(iu,iu,au),Dn(ru,ru,ou)}return 0===t&&(iu[0]=iu[1]=ru[0]=ru[1]=0),new Br(iu[0],iu[1],ru[0]-iu[0],ru[1]-iu[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,i=this._uy,r=0,a=0,o=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,d=0,c=0;c<e;){var h=t[c++],p=1===c;p&&(r=t[c],a=t[c+1],o=r,s=a);var f=-1;switch(h){case tu.M:r=o=t[c++],a=s=t[c++];break;case tu.L:var m=t[c++],g=t[c++],y=m-r,_=g-a;(hu(y)>n||hu(_)>i||c===e-1)&&(f=Math.sqrt(y*y+_*_),r=m,a=g);break;case tu.C:var v=t[c++],x=t[c++],M=(m=t[c++],g=t[c++],t[c++]),b=t[c++];f=Cl(r,a,v,x,m,g,M,b,10),r=M,a=b;break;case tu.Q:v=t[c++],x=t[c++],m=t[c++],g=t[c++];f=Rl(r,a,v,x,m,g,10),r=m,a=g;break;case tu.A:var w=t[c++],L=t[c++],S=t[c++],D=t[c++],T=t[c++],k=t[c++],Y=k+T;c+=1;t[c++];p&&(o=uu(T)*S+w,s=du(T)*D+L),f=lu(S,D)*su(fu,Math.abs(k)),r=uu(Y)*S+w,a=du(Y)*D+L;break;case tu.R:o=r=t[c++],s=a=t[c++];var I=t[c++],C=t[c++];f=2*I+2*C;break;case tu.Z:y=o-r,_=s-a;f=Math.sqrt(y*y+_*_),r=o,a=s;break}f>=0&&(l[d++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,a,o,s,l,u,d,c=this.data,h=this._ux,p=this._uy,f=this._len,m=e<1,g=0,y=0;if(!m||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=this._pathLen,d=e*u,d))t:for(var _=0;_<f;){var v=c[_++],x=1===_;switch(x&&(r=c[_],a=c[_+1],n=r,i=a),v){case tu.M:n=r=c[_++],i=a=c[_++],t.moveTo(r,a);break;case tu.L:if(o=c[_++],s=c[_++],hu(o-r)>h||hu(s-a)>p||_===f-1){if(m){var M=l[y++];if(g+M>d){var b=(d-g)/M;t.lineTo(r*(1-b)+o*b,a*(1-b)+s*b);break t}g+=M}t.lineTo(o,s),r=o,a=s}break;case tu.C:var w=c[_++],L=c[_++],S=c[_++],D=c[_++],T=c[_++],k=c[_++];if(m){M=l[y++];if(g+M>d){b=(d-g)/M;Yl(r,w,S,T,b,eu),Yl(a,L,D,k,b,nu),t.bezierCurveTo(eu[1],nu[1],eu[2],nu[2],eu[3],nu[3]);break t}g+=M}t.bezierCurveTo(w,L,S,D,T,k),r=T,a=k;break;case tu.Q:w=c[_++],L=c[_++],S=c[_++],D=c[_++];if(m){M=l[y++];if(g+M>d){b=(d-g)/M;Nl(r,w,S,b,eu),Nl(a,L,D,b,nu),t.quadraticCurveTo(eu[1],nu[1],eu[2],nu[2]);break t}g+=M}t.quadraticCurveTo(w,L,S,D),r=S,a=D;break;case tu.A:var Y=c[_++],I=c[_++],C=c[_++],A=c[_++],P=c[_++],O=c[_++],H=c[_++],N=!c[_++],E=C>A?C:A,R=hu(C-A)>.001,z=P+O,j=!1;if(m){M=l[y++];g+M>d&&(z=P+O*(d-g)/M,j=!0),g+=M}if(R&&t.ellipse?t.ellipse(Y,I,C,A,H,P,z,N):t.arc(Y,I,E,P,z,N),j)break t;x&&(n=uu(P)*C+Y,i=du(P)*A+I),r=uu(z)*C+Y,a=du(z)*A+I;break;case tu.R:n=r=c[_],i=a=c[_+1],o=c[_++],s=c[_++];var B=c[_++],F=c[_++];if(m){M=l[y++];if(g+M>d){var V=d-g;t.moveTo(o,s),t.lineTo(o+su(V,B),s),V-=B,V>0&&t.lineTo(o+B,s+su(V,F)),V-=F,V>0&&t.lineTo(o+lu(B-V,0),s+F),V-=B,V>0&&t.lineTo(o,s+lu(F-V,0));break t}g+=M}t.rect(o,s,B,F);break;case tu.Z:if(m){M=l[y++];if(g+M>d){b=(d-g)/M;t.lineTo(r*(1-b)+n*b,a*(1-b)+i*b);break t}g+=M}t.closePath(),r=n,a=i}}},t.CMD=tu,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._needsDash=!1,e._dashOffset=0,e._dashIdx=0,e._dashSum=0,e._ux=0,e._uy=0}(),t}(),xu=vu;function Mu(t,e,n,i,r,a,o){if(0===r)return!1;var s=r,l=0,u=t;if(o>e+s&&o>i+s||o<e-s&&o<i-s||a>t+s&&a>n+s||a<t-s&&a<n-s)return!1;if(t===n)return Math.abs(a-t)<=s/2;l=(e-i)/(t-n),u=(t*i-n*e)/(t-n);var d=l*a-o+u,c=d*d/(l*l+1);return c<=s/2*s/2}function bu(t,e,n,i,r,a,o,s,l,u,d){if(0===l)return!1;var c=l;if(d>e+c&&d>i+c&&d>a+c&&d>s+c||d<e-c&&d<i-c&&d<a-c&&d<s-c||u>t+c&&u>n+c&&u>r+c&&u>o+c||u<t-c&&u<n-c&&u<r-c&&u<o-c)return!1;var h=Il(t,e,n,i,r,a,o,s,u,d,null);return h<=c/2}function wu(t,e,n,i,r,a,o,s,l){if(0===o)return!1;var u=o;if(l>e+u&&l>i+u&&l>a+u||l<e-u&&l<i-u&&l<a-u||s>t+u&&s>n+u&&s>r+u||s<t-u&&s<n-u&&s<r-u)return!1;var d=El(t,e,n,i,r,a,s,l,null);return d<=u/2}var Lu=2*Math.PI;function Su(t){return t%=Lu,t<0&&(t+=Lu),t}var Du=2*Math.PI;function Tu(t,e,n,i,r,a,o,s,l){if(0===o)return!1;var u=o;s-=t,l-=e;var d=Math.sqrt(s*s+l*l);if(d-u>n||d+u<n)return!1;if(Math.abs(i-r)%Du<1e-4)return!0;if(a){var c=i;i=Su(r),r=Su(c)}else i=Su(i),r=Su(r);i>r&&(r+=Du);var h=Math.atan2(l,s);return h<0&&(h+=Du),h>=i&&h<=r||h+Du>=i&&h+Du<=r}function ku(t,e,n,i,r,a){if(a>e&&a>i||a<e&&a<i)return 0;if(i===e)return 0;var o=(a-e)/(i-e),s=i<e?1:-1;1!==o&&0!==o||(s=i<e?.5:-.5);var l=o*(n-t)+t;return l===r?1/0:l>r?s:0}var Yu=xu.CMD,Iu=2*Math.PI,Cu=1e-4;function Au(t,e){return Math.abs(t-e)<Cu}var Pu=[-1,-1,-1],Ou=[-1,-1];function Hu(){var t=Ou[0];Ou[0]=Ou[1],Ou[1]=t}function Nu(t,e,n,i,r,a,o,s,l,u){if(u>e&&u>i&&u>a&&u>s||u<e&&u<i&&u<a&&u<s)return 0;var d=Tl(e,i,a,s,u,Pu);if(0===d)return 0;for(var c=0,h=-1,p=void 0,f=void 0,m=0;m<d;m++){var g=Pu[m],y=0===g||1===g?.5:1,_=Sl(t,n,r,o,g);_<l||(h<0&&(h=kl(e,i,a,s,Ou),Ou[1]<Ou[0]&&h>1&&Hu(),p=Sl(e,i,a,s,Ou[0]),h>1&&(f=Sl(e,i,a,s,Ou[1]))),2===h?g<Ou[0]?c+=p<e?y:-y:g<Ou[1]?c+=f<p?y:-y:c+=s<f?y:-y:g<Ou[0]?c+=p<e?y:-y:c+=s<p?y:-y)}return c}function Eu(t,e,n,i,r,a,o,s){if(s>e&&s>i&&s>a||s<e&&s<i&&s<a)return 0;var l=Ol(e,i,a,s,Pu);if(0===l)return 0;var u=Hl(e,i,a);if(u>=0&&u<=1){for(var d=0,c=Al(e,i,a,u),h=0;h<l;h++){var p=0===Pu[h]||1===Pu[h]?.5:1,f=Al(t,n,r,Pu[h]);f<o||(Pu[h]<u?d+=c<e?p:-p:d+=a<c?p:-p)}return d}p=0===Pu[0]||1===Pu[0]?.5:1,f=Al(t,n,r,Pu[0]);return f<o?0:a<e?p:-p}function Ru(t,e,n,i,r,a,o,s){if(s-=e,s>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);Pu[0]=-l,Pu[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=Iu-1e-4){i=0,r=Iu;var d=a?1:-1;return o>=Pu[0]+t&&o<=Pu[1]+t?d:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=Iu,r+=Iu);for(var h=0,p=0;p<2;p++){var f=Pu[p];if(f+t>o){var m=Math.atan2(s,f);d=a?1:-1;m<0&&(m=Iu+m),(m>=i&&m<=r||m+Iu>=i&&m+Iu<=r)&&(m>Math.PI/2&&m<1.5*Math.PI&&(d=-d),h+=d)}}return h}function zu(t,e,n,i,r){for(var a,o,s=t.data,l=t.len(),u=0,d=0,c=0,h=0,p=0,f=0;f<l;){var m=s[f++],g=1===f;switch(m===Yu.M&&f>1&&(n||(u+=ku(d,c,h,p,i,r))),g&&(d=s[f],c=s[f+1],h=d,p=c),m){case Yu.M:h=s[f++],p=s[f++],d=h,c=p;break;case Yu.L:if(n){if(Mu(d,c,s[f],s[f+1],e,i,r))return!0}else u+=ku(d,c,s[f],s[f+1],i,r)||0;d=s[f++],c=s[f++];break;case Yu.C:if(n){if(bu(d,c,s[f++],s[f++],s[f++],s[f++],s[f],s[f+1],e,i,r))return!0}else u+=Nu(d,c,s[f++],s[f++],s[f++],s[f++],s[f],s[f+1],i,r)||0;d=s[f++],c=s[f++];break;case Yu.Q:if(n){if(wu(d,c,s[f++],s[f++],s[f],s[f+1],e,i,r))return!0}else u+=Eu(d,c,s[f++],s[f++],s[f],s[f+1],i,r)||0;d=s[f++],c=s[f++];break;case Yu.A:var y=s[f++],_=s[f++],v=s[f++],x=s[f++],M=s[f++],b=s[f++];f+=1;var w=!!(1-s[f++]);a=Math.cos(M)*v+y,o=Math.sin(M)*x+_,g?(h=a,p=o):u+=ku(d,c,a,o,i,r);var L=(i-y)*x/v+y;if(n){if(Tu(y,_,x,M,M+b,w,e,L,r))return!0}else u+=Ru(y,_,x,M,M+b,w,L,r);d=Math.cos(M+b)*v+y,c=Math.sin(M+b)*x+_;break;case Yu.R:h=d=s[f++],p=c=s[f++];var S=s[f++],D=s[f++];if(a=h+S,o=p+D,n){if(Mu(h,p,a,p,e,i,r)||Mu(a,p,a,o,e,i,r)||Mu(a,o,h,o,e,i,r)||Mu(h,o,h,p,e,i,r))return!0}else u+=ku(a,p,a,o,i,r),u+=ku(h,o,h,p,i,r);break;case Yu.Z:if(n){if(Mu(d,c,h,p,e,i,r))return!0}else u+=ku(d,c,h,p,i,r);d=h,c=p;break}}return n||Au(c,p)||(u+=ku(d,c,h,p,i,r)||0),0!==u}function ju(t,e,n){return zu(t,0,!1,e,n)}function Bu(t,e,n,i){return zu(t,e,!0,n,i)}var Fu=me({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},ol),Vu={style:me({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},sl.style)},Wu=["x","y","rotation","scaleX","scaleY","originX","originY","invisible","culling","z","z2","zlevel","parent"],Gu=function(t){function e(e){return t.call(this,e)||this}return sn(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var a=r.style;for(var o in i)a[o]!==i[o]&&(a[o]=i[o]);a.fill=i.fill?i.decal:null,a.decal=null,a.shadowColor=null,i.strokeFirst&&(a.stroke=null);for(var s=0;s<Wu.length;++s)r[Wu[s]]=this[Wu[s]];r.__dirty|=ya.REDARAW_BIT}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=De(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r<n.length;r++){var a=n[r],o=e[a];"style"===a?this.style?fe(this.style,o):this.useStyle(o):"shape"===a?fe(this.shape,o):t.prototype.attrKV.call(this,a,o)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if(Ae(t)){var e=lr(t,0);return e>.5?ia:e>.2?aa:ra}if(t)return ra}return ia},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(Ae(e)){var n=this.__zr,i=!(!n||!n.isDarkMode()),r=lr(t,0)<na;if(i===r)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=~e.SHAPE_CHANGED_BIT},e.prototype.createPathProxy=function(){this.path=new xu(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.getBoundingRect=function(){var t=this._rect,n=this.style,i=!t;if(i){var r=!1;this.path||(r=!0,this.createPathProxy());var a=this.path;(r||this.__dirty&e.SHAPE_CHANGED_BIT)&&(a.beginPath(),this.buildPath(a,this.shape,!1),this.pathUpdated()),t=a.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||i){o.copy(t);var s=n.strokeNoScale?this.getLineScale():1,l=n.lineWidth;if(!this.hasFill()){var u=this.strokeContainThreshold;l=Math.max(l,null==u?4:u)}s>1e-10&&(o.width+=l/s,o.height+=l/s,o.x-=l/s/2,o.y-=l/s/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var a=this.path;if(this.hasStroke()){var o=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(o=Math.max(o,this.strokeContainThreshold)),Bu(a,o/s,t,e)))return!0}if(this.hasFill())return ju(a,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=e.SHAPE_CHANGED_BIT,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"===typeof t?n[t]=e:fe(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&e.SHAPE_CHANGED_BIT)},e.prototype.createStyle=function(t){return nn(Fu,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=fe({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,a,o){t.prototype._applyStateObj.call(this,e,n,i,r,a,o);var s,l=!(n&&r);if(n&&n.shape?a?r?s=n.shape:(s=fe({},i.shape),fe(s,n.shape)):(s=fe({},r?this.shape:i.shape),fe(s,n.shape)):l&&(s=i.shape),s)if(a){this.shape=fe({},this.shape);for(var u={},d=De(s),c=0;c<d.length;c++){var h=d[c];"object"===typeof s[h]?this.shape[h]=s[h]:u[h]=s[h]}this._transitionState(e,{shape:u},o)}else this.shape=s,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var a=e[r];a.shape&&(n=n||{},this._mergeStyle(n,a.shape))}return n&&(i.shape=n),i},e.prototype.getAnimationStyleProps=function(){return Vu},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var n=function(e){function n(n){var i=e.call(this,n)||this;return t.init&&t.init.call(i,n),i}return sn(n,e),n.prototype.getDefaultStyle=function(){return ce(t.style)},n.prototype.getDefaultShape=function(){return ce(t.shape)},n}(e);for(var i in t)"function"===typeof t[i]&&(n.prototype[i]=t[i]);return n},e.SHAPE_CHANGED_BIT=4,e.initDefaultProps=function(){var t=e.prototype;t.type="path",t.strokeContainThreshold=5,t.segmentIgnoreThreshold=0,t.subPixelOptimize=!1,t.autoBatch=!1,t.__dirty=ya.REDARAW_BIT|pl.STYLE_CHANGED_BIT|e.SHAPE_CHANGED_BIT}(),e}(pl),Uu=Gu,Xu=me({strokeFirst:!0,font:Vr,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},Fu),Zu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return sn(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.createStyle=function(t){return nn(Xu,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=Zr(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=function(){var t=e.prototype;t.dirtyRectTolerance=10}(),e}(pl);Zu.prototype.type="tspan";var qu=Zu,$u=me({x:0,y:0},ol),Ju={style:me({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},sl.style)};function Ku(t){return!!(t&&"string"!==typeof t&&t.width&&t.height)}var Qu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return sn(e,t),e.prototype.createStyle=function(t){return nn($u,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i=Ku(e.image)?e.image:this.__image;if(!i)return 0;var r="width"===t?"height":"width",a=e[r];return null==a?i[t]:i[t]/i[r]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return Ju},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Br(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(pl);Qu.prototype.type="image";var td=Qu;function ed(t,e){var n,i,r,a,o,s=e.x,l=e.y,u=e.width,d=e.height,c=e.r;u<0&&(s+=u,u=-u),d<0&&(l+=d,d=-d),"number"===typeof c?n=i=r=a=c:c instanceof Array?1===c.length?n=i=r=a=c[0]:2===c.length?(n=r=c[0],i=a=c[1]):3===c.length?(n=c[0],i=a=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],a=c[3]):n=i=r=a=0,n+i>u&&(o=n+i,n*=u/o,i*=u/o),r+a>u&&(o=r+a,r*=u/o,a*=u/o),i+r>d&&(o=i+r,i*=d/o,r*=d/o),n+a>d&&(o=n+a,n*=d/o,a*=d/o),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+d-r),0!==r&&t.arc(s+u-r,l+d-r,r,0,Math.PI/2),t.lineTo(s+a,l+d),0!==a&&t.arc(s+a,l+d-a,a,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}var nd=Math.round;function id(t,e,n){if(e){var i=e.x1,r=e.x2,a=e.y1,o=e.y2;t.x1=i,t.x2=r,t.y1=a,t.y2=o;var s=n&&n.lineWidth;return s?(nd(2*i)===nd(2*r)&&(t.x1=t.x2=ad(i,s,!0)),nd(2*a)===nd(2*o)&&(t.y1=t.y2=ad(a,s,!0)),t):t}}function rd(t,e,n){if(e){var i=e.x,r=e.y,a=e.width,o=e.height;t.x=i,t.y=r,t.width=a,t.height=o;var s=n&&n.lineWidth;return s?(t.x=ad(i,s,!0),t.y=ad(r,s,!0),t.width=Math.max(ad(i+a,s,!1)-t.x,0===a?0:1),t.height=Math.max(ad(r+o,s,!1)-t.y,0===o?0:1),t):t}}function ad(t,e,n){if(!e)return t;var i=nd(2*t);return(i+nd(e))%2===0?i/2:(i+(n?1:-1))/2}var od=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),sd={},ld=function(t){function e(e){return t.call(this,e)||this}return sn(e,t),e.prototype.getDefaultShape=function(){return new od},e.prototype.buildPath=function(t,e){var n,i,r,a;if(this.subPixelOptimize){var o=rd(sd,e,this.style);n=o.x,i=o.y,r=o.width,a=o.height,o.r=e.r,e=o}else n=e.x,i=e.y,r=e.width,a=e.height;e.r?ed(t,e):t.rect(n,i,r,a)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(Uu);ld.prototype.type="rect";var ud=ld,dd={fill:"#000"},cd=2,hd={style:me({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},sl.style)},pd=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=dd,n.attr(e),n}return sn(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}var i=this.attachedTransform;if(i){i.updateTransform();var r=i.transform;r?(this.transform=this.transform||[],gi(this.transform,r)):this.transform=null}else t.prototype.update.call(this)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),this.attachedTransform?this.attachedTransform.getComputedTransform():t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){this._childCursor=0,gd(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new Br(0,0,0,0),e=this._children,n=[],i=null,r=0;r<e.length;r++){var a=e[r],o=a.getBoundingRect(),s=a.getLocalTransform(n);s?(t.copy(o),t.applyTransform(s),i=i||t.clone(),i.union(t)):(i=i||o.clone(),i.union(o))}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||dd},e.prototype.setTextContent=function(t){throw new Error("Can't attach text on another text")},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,i=t.rich||n&&{};return fe(t,e),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var n=De(e),i=0;i<n.length;i++){var r=n[i];t[r]=t[r]||{},fe(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return hd},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||Vr,n=t.padding,i=Md(t),r=Zs(i,t),a=bd(t),o=!!t.backgroundColor,s=r.outerHeight,l=r.lines,u=r.lineHeight,d=this._defaultStyle,c=t.x||0,h=t.y||0,p=t.align||d.align||"left",f=t.verticalAlign||d.verticalAlign||"top",m=c,g=$r(h,r.contentHeight,f);if(a||n){var y=r.width;n&&(y+=n[1]+n[3]);var _=qr(c,y,p),v=$r(h,s,f);a&&this._renderBackground(t,t,_,v,y,s)}g+=u/2,n&&(m=xd(c,p,n),"top"===f?g+=n[0]:"bottom"===f&&(g-=n[2]));for(var x=0,M=!1,b=(vd("fill"in t?t.fill:(M=!0,d.fill))),w=(_d("stroke"in t?t.stroke:o||d.autoStroke&&!M?null:(x=cd,d.stroke))),L=t.textShadowBlur>0,S=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),D=r.calculatedLineHeight,T=0;T<l.length;T++){var k=this._getOrCreateChild(qu),Y=k.createStyle();k.useStyle(Y),Y.text=l[T],Y.x=m,Y.y=g,p&&(Y.textAlign=p),Y.textBaseline="middle",Y.opacity=t.opacity,Y.strokeFirst=!0,L&&(Y.shadowBlur=t.textShadowBlur||0,Y.shadowColor=t.textShadowColor||"transparent",Y.shadowOffsetX=t.textShadowOffsetX||0,Y.shadowOffsetY=t.textShadowOffsetY||0),w&&(Y.stroke=w,Y.lineWidth=t.lineWidth||x,Y.lineDash=t.lineDash,Y.lineDashOffset=t.lineDashOffset||0),b&&(Y.fill=b),Y.font=e,g+=u,S&&k.setBoundingRect(new Br(qr(Y.x,t.width,Y.textAlign),$r(Y.y,D,Y.textBaseline),t.width,D))}},e.prototype._updateRichTexts=function(){var t=this.style,e=Md(t),n=Ks(e,t),i=n.width,r=n.outerWidth,a=n.outerHeight,o=t.padding,s=t.x||0,l=t.y||0,u=this._defaultStyle,d=t.align||u.align,c=t.verticalAlign||u.verticalAlign,h=qr(s,r,d),p=$r(l,a,c),f=h,m=p;o&&(f+=o[3],m+=o[0]);var g=f+i;bd(t)&&this._renderBackground(t,t,h,p,r,a);for(var y=!!t.backgroundColor,_=0;_<n.lines.length;_++){var v=n.lines[_],x=v.tokens,M=x.length,b=v.lineHeight,w=v.width,L=0,S=f,D=g,T=M-1,k=void 0;while(L<M&&(k=x[L],!k.align||"left"===k.align))this._placeToken(k,t,b,m,S,"left",y),w-=k.width,S+=k.width,L++;while(T>=0&&(k=x[T],"right"===k.align))this._placeToken(k,t,b,m,D,"right",y),w-=k.width,D-=k.width,T--;S+=(i-(S-f)-(g-D)-w)/2;while(L<=T)k=x[L],this._placeToken(k,t,b,m,S+k.width/2,"center",y),S+=k.width,L++;m+=b}},e.prototype._placeToken=function(t,e,n,i,r,a,o){var s=e.rich[t.styleName]||{};s.text=t.text;var l=t.verticalAlign,u=i+n/2;"top"===l?u=i+t.height/2:"bottom"===l&&(u=i+n-t.height/2);var d=!t.isLineHolder&&bd(s);d&&this._renderBackground(s,e,"right"===a?r-t.width:"center"===a?r-t.width/2:r,u-t.height/2,t.width,t.height);var c=!!s.backgroundColor,h=t.textPadding;h&&(r=xd(r,a,h),u-=t.height/2-h[0]-t.innerHeight/2);var p=this._getOrCreateChild(qu),f=p.createStyle();p.useStyle(f);var m=this._defaultStyle,g=!1,y=0,_=_d("fill"in s?s.fill:"fill"in e?e.fill:(g=!0,m.fill)),v=_d("stroke"in s?s.stroke:"stroke"in e?e.stroke:c||o||m.autoStroke&&!g?null:(y=cd,m.stroke)),x=s.textShadowBlur>0||e.textShadowBlur>0;f.text=t.text,f.x=r,f.y=u,x&&(f.shadowBlur=s.textShadowBlur||e.textShadowBlur||0,f.shadowColor=s.textShadowColor||e.textShadowColor||"transparent",f.shadowOffsetX=s.textShadowOffsetX||e.textShadowOffsetX||0,f.shadowOffsetY=s.textShadowOffsetY||e.textShadowOffsetY||0),f.textAlign=a,f.textBaseline="middle",f.font=t.font||Vr,f.opacity=Ge(s.opacity,e.opacity,1),v&&(f.lineWidth=Ge(s.lineWidth,e.lineWidth,y),f.lineDash=We(s.lineDash,e.lineDash),f.lineDashOffset=e.lineDashOffset||0,f.stroke=v),_&&(f.fill=_);var M=t.contentWidth,b=t.contentHeight;p.setBoundingRect(new Br(qr(f.x,M,f.textAlign),$r(f.y,b,f.textBaseline),M,b))},e.prototype._renderBackground=function(t,e,n,i,r,a){var o,s,l=t.backgroundColor,u=t.borderWidth,d=t.borderColor,c=Ae(l),h=t.borderRadius,p=this;if(c||u&&d){o=this._getOrCreateChild(ud),o.useStyle(o.createStyle()),o.style.fill=null;var f=o.shape;f.x=n,f.y=i,f.width=r,f.height=a,f.r=h,o.dirtyShape()}if(c){var m=o.style;m.fill=l||null,m.fillOpacity=We(t.fillOpacity,1)}else if(l&&l.image){s=this._getOrCreateChild(td),s.onload=function(){p.dirtyStyle()};var g=s.style;g.image=l.image,g.x=n,g.y=i,g.width=r,g.height=a}if(u&&d){m=o.style;m.lineWidth=u,m.stroke=d,m.strokeOpacity=We(t.strokeOpacity,1),m.lineDash=t.borderDash,m.lineDashOffset=t.borderDashOffset||0,o.strokeContainThreshold=0,o.hasFill()&&o.hasStroke()&&(m.strokeFirst=!0,m.lineWidth*=2)}var y=(o||s).style;y.shadowBlur=t.shadowBlur||0,y.shadowColor=t.shadowColor||"transparent",y.shadowOffsetX=t.shadowOffsetX||0,y.shadowOffsetY=t.shadowOffsetY||0,y.opacity=Ge(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";if(t.fontSize||t.fontFamily||t.fontWeight){var n="";n="string"!==typeof t.fontSize||-1===t.fontSize.indexOf("px")&&-1===t.fontSize.indexOf("rem")&&-1===t.fontSize.indexOf("em")?isNaN(+t.fontSize)?"12px":t.fontSize+"px":t.fontSize,e=[t.fontStyle,t.fontWeight,n,t.fontFamily||"sans-serif"].join(" ")}return e&&qe(e)||t.textFont||t.font},e}(pl),fd={left:!0,right:1,center:1},md={top:1,bottom:1,middle:1};function gd(t){return yd(t),Me(t.rich,yd),t}function yd(t){if(t){t.font=pd.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||fd[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||md[n]?n:"top";var i=t.padding;i&&(t.padding=Xe(t.padding))}}function _d(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function vd(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function xd(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function Md(t){var e=t.text;return null!=e&&(e+=""),e}function bd(t){return!!(t.backgroundColor||t.borderWidth&&t.borderColor)}var wd=pd,Ld=us(),Sd=1,Dd={},Td=us(),kd=0,Yd=1,Id=2,Cd=["emphasis","blur","select"],Ad=["normal","emphasis","blur","select"],Pd=10,Od=9,Hd="highlight",Nd="downplay",Ed="select",Rd="unselect",zd="toggleSelect";function jd(t){return null!=t&&"none"!==t}var Bd=new zi(100);function Fd(t){if("string"!==typeof t)return t;var e=Bd.get(t);return e||(e=nr(t,-.1),Bd.put(t,e)),e}function Vd(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function Wd(t){Vd(t,"emphasis",Id)}function Gd(t){t.hoverState===Id&&Vd(t,"normal",kd)}function Ud(t){Vd(t,"blur",Yd)}function Xd(t){t.hoverState===Yd&&Vd(t,"normal",kd)}function Zd(t){t.selected=!0}function qd(t){t.selected=!1}function $d(t,e,n){e(t,n)}function Jd(t,e,n){$d(t,e,n),t.isGroup&&t.traverse((function(t){$d(t,e,n)}))}function Kd(t,e){switch(e){case"emphasis":t.hoverState=Id;break;case"normal":t.hoverState=kd;break;case"blur":t.hoverState=Yd;break;case"select":t.selected=!0}}function Qd(t,e,n,i){for(var r=t.style,a={},o=0;o<e.length;o++){var s=e[o],l=r[s];a[s]=null==l?i&&i[s]:l}for(o=0;o<t.animators.length;o++){var u=t.animators[o];u.__fromStateTransition&&u.__fromStateTransition.indexOf(n)<0&&"style"===u.targetName&&u.saveFinalToTarget(a,e)}return a}function tc(t,e,n,i){var r=n&&ye(n,"select")>=0,a=!1;if(t instanceof Uu){var o=Td(t),s=r&&o.selectFill||o.normalFill,l=r&&o.selectStroke||o.normalStroke;if(jd(s)||jd(l)){i=i||{};var u=i.style||{};!jd(u.fill)&&jd(s)?(a=!0,i=fe({},i),u=fe({},u),u.fill=Fd(s)):!jd(u.stroke)&&jd(l)&&(a||(i=fe({},i),u=fe({},u)),u.stroke=Fd(l)),i.style=u}}if(i&&null==i.z2){a||(i=fe({},i));var d=t.z2EmphasisLift;i.z2=t.z2+(null!=d?d:Pd)}return i}function ec(t,e,n){if(n&&null==n.z2){n=fe({},n);var i=t.z2SelectLift;n.z2=t.z2+(null!=i?i:Od)}return n}function nc(t,e,n){var i=ye(t.currentStates,e)>=0,r=t.style.opacity,a=i?null:Qd(t,["opacity"],e,{opacity:1});n=n||{};var o=n.style||{};return null==o.opacity&&(n=fe({},n),o=fe({opacity:i?r:.1*a.opacity},o),n.style=o),n}function ic(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return tc(this,t,e,n);if("blur"===t)return nc(this,t,n);if("select"===t)return ec(this,t,n)}return n}function rc(t){t.stateProxy=ic;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=ic),n&&(n.stateProxy=ic)}function ac(t,e){!pc(t,e)&&!t.__highByOuter&&Jd(t,Wd)}function oc(t,e){!pc(t,e)&&!t.__highByOuter&&Jd(t,Gd)}function sc(t,e){t.__highByOuter|=1<<(e||0),Jd(t,Wd)}function lc(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&Jd(t,Gd)}function uc(t){Jd(t,Ud)}function dc(t){Jd(t,Xd)}function cc(t){Jd(t,Zd)}function hc(t){Jd(t,qd)}function pc(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function fc(t){var e=t.getModel();e.eachComponent((function(e,n){var i="series"===e?t.getViewOfSeriesModel(n):t.getViewOfComponentModel(n);i.group.traverse((function(t){Xd(t)}))}))}function mc(t,e,n,i,r){var a=i.getModel();function o(t,e){for(var n=0;n<e.length;n++){var i=t.getItemGraphicEl(e[n]);i&&dc(i)}}if(n=n||"coordinateSystem",r){if(null!=t&&e&&"none"!==e){var s=a.getSeriesByIndex(t),l=s.coordinateSystem;l&&l.master&&(l=l.master);var u=[];a.eachSeries((function(t){var r=s===t,a=t.coordinateSystem;a&&a.master&&(a=a.master);var d=a&&l?a===l:r;if(!("series"===n&&!r||"coordinateSystem"===n&&!d||"series"===e&&r)){var c=i.getViewOfSeriesModel(t);if(c.group.traverse((function(t){Ud(t)})),xe(e))o(t.getData(),e);else if(He(e))for(var h=De(e),p=0;p<h.length;p++)o(t.getData(h[p]),e[h[p]]);u.push(t)}})),a.eachComponent((function(t,e){if("series"!==t){var n=i.getViewOfComponentModel(e);n&&n.blurSeries&&n.blurSeries(u,a)}}))}}else fc(i)}function gc(t,e,n){if(Yc(e)){var i=e.type===Hd,r=t.seriesIndex,a=t.getData(e.dataType),o=ls(a,e);o=(Ie(o)?o[0]:o)||0;var s=a.getItemGraphicEl(o);if(!s){var l=a.count(),u=0;while(!s&&u<l)s=a.getItemGraphicEl(u++)}if(s){var d=Ld(s);mc(r,d.focus,d.blurScope,n,i)}else{var c=t.get(["emphasis","focus"]),h=t.get(["emphasis","blurScope"]);null!=c&&mc(r,c,h,n,i)}}}function yc(t,e,n){if(kc(e)){var i=e.dataType,r=t.getData(i),a=ls(r,e);Ie(a)||(a=[a]),t[e.type===zd?"toggleSelect":e.type===Ed?"select":"unselect"](a,i)}}function _c(t){var e=t.getAllData();Me(e,(function(e){var n=e.data,i=e.type;n.eachItemGraphicEl((function(e,n){t.isSelected(n,i)?cc(e):hc(e)}))}))}function vc(t){var e=[];return t.eachSeries((function(t){var n=t.getAllData();Me(n,(function(n){n.data;var i=n.type,r=t.getSelectedDataIndices();if(r.length>0){var a={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(a.dataType=i),e.push(a)}}))})),e}function xc(t,e,n){Sc(t,!0),Jd(t,rc),Mc(t,e,n)}function Mc(t,e,n){var i=Ld(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var bc=["emphasis","blur","select"],wc={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Lc(t,e,n,i){n=n||"itemStyle";for(var r=0;r<bc.length;r++){var a=bc[r],o=e.getModel([a,n]),s=t.ensureState(a);s.style=i?i(o):o[wc[n]]()}}function Sc(t,e){var n=!1===e,i=t;t.highDownSilentOnTouch&&(i.__highDownSilentOnTouch=t.highDownSilentOnTouch),n&&!i.__highDownDispatcher||(i.__highByOuter=i.__highByOuter||0,i.__highDownDispatcher=!n)}function Dc(t){return!(!t||!t.__highDownDispatcher)}function Tc(t){var e=Dd[t];return null==e&&Sd<=32&&(e=Dd[t]=Sd++),e}function kc(t){var e=t.type;return e===Ed||e===Rd||e===zd}function Yc(t){var e=t.type;return e===Hd||e===Nd}function Ic(t){var e=Td(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}var Cc=xu.CMD,Ac=[[],[],[]],Pc=Math.sqrt,Oc=Math.atan2;function Hc(t,e){var n,i,r,a,o,s,l=t.data,u=t.len(),d=Cc.M,c=Cc.C,h=Cc.L,p=Cc.R,f=Cc.A,m=Cc.Q;for(r=0,a=0;r<u;){switch(n=l[r++],a=r,i=0,n){case d:i=1;break;case h:i=1;break;case c:i=3;break;case m:i=2;break;case f:var g=e[4],y=e[5],_=Pc(e[0]*e[0]+e[1]*e[1]),v=Pc(e[2]*e[2]+e[3]*e[3]),x=Oc(-e[1]/v,e[0]/_);l[r]*=_,l[r++]+=g,l[r]*=v,l[r++]+=y,l[r++]*=_,l[r++]*=v,l[r++]+=x,l[r++]+=x,r+=2,a=r;break;case p:s[0]=l[r++],s[1]=l[r++],Ln(s,s,e),l[a++]=s[0],l[a++]=s[1],s[0]+=l[r++],s[1]+=l[r++],Ln(s,s,e),l[a++]=s[0],l[a++]=s[1]}for(o=0;o<i;o++){var M=Ac[o];M[0]=l[r++],M[1]=l[r++],Ln(M,M,e),l[a++]=M[0],l[a++]=M[1]}}t.increaseVersion()}var Nc=Math.sqrt,Ec=Math.sin,Rc=Math.cos,zc=Math.PI;function jc(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function Bc(t,e){return(t[0]*e[0]+t[1]*e[1])/(jc(t)*jc(e))}function Fc(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(Bc(t,e))}function Vc(t,e,n,i,r,a,o,s,l,u,d){var c=l*(zc/180),h=Rc(c)*(t-n)/2+Ec(c)*(e-i)/2,p=-1*Ec(c)*(t-n)/2+Rc(c)*(e-i)/2,f=h*h/(o*o)+p*p/(s*s);f>1&&(o*=Nc(f),s*=Nc(f));var m=(r===a?-1:1)*Nc((o*o*(s*s)-o*o*(p*p)-s*s*(h*h))/(o*o*(p*p)+s*s*(h*h)))||0,g=m*o*p/s,y=m*-s*h/o,_=(t+n)/2+Rc(c)*g-Ec(c)*y,v=(e+i)/2+Ec(c)*g+Rc(c)*y,x=Fc([1,0],[(h-g)/o,(p-y)/s]),M=[(h-g)/o,(p-y)/s],b=[(-1*h-g)/o,(-1*p-y)/s],w=Fc(M,b);if(Bc(M,b)<=-1&&(w=zc),Bc(M,b)>=1&&(w=0),w<0){var L=Math.round(w/zc*1e6)/1e6;w=2*zc+L%2*zc}d.addData(u,_,v,o,s,x,w,c,a)}var Wc=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Gc=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function Uc(t){var e=new xu;if(!t)return e;var n,i=0,r=0,a=i,o=r,s=xu.CMD,l=t.match(Wc);if(!l)return e;for(var u=0;u<l.length;u++){for(var d=l[u],c=d.charAt(0),h=void 0,p=d.match(Gc)||[],f=p.length,m=0;m<f;m++)p[m]=parseFloat(p[m]);var g=0;while(g<f){var y=void 0,_=void 0,v=void 0,x=void 0,M=void 0,b=void 0,w=void 0,L=i,S=r,D=void 0,T=void 0;switch(c){case"l":i+=p[g++],r+=p[g++],h=s.L,e.addData(h,i,r);break;case"L":i=p[g++],r=p[g++],h=s.L,e.addData(h,i,r);break;case"m":i+=p[g++],r+=p[g++],h=s.M,e.addData(h,i,r),a=i,o=r,c="l";break;case"M":i=p[g++],r=p[g++],h=s.M,e.addData(h,i,r),a=i,o=r,c="L";break;case"h":i+=p[g++],h=s.L,e.addData(h,i,r);break;case"H":i=p[g++],h=s.L,e.addData(h,i,r);break;case"v":r+=p[g++],h=s.L,e.addData(h,i,r);break;case"V":r=p[g++],h=s.L,e.addData(h,i,r);break;case"C":h=s.C,e.addData(h,p[g++],p[g++],p[g++],p[g++],p[g++],p[g++]),i=p[g-2],r=p[g-1];break;case"c":h=s.C,e.addData(h,p[g++]+i,p[g++]+r,p[g++]+i,p[g++]+r,p[g++]+i,p[g++]+r),i+=p[g-2],r+=p[g-1];break;case"S":y=i,_=r,D=e.len(),T=e.data,n===s.C&&(y+=i-T[D-4],_+=r-T[D-3]),h=s.C,L=p[g++],S=p[g++],i=p[g++],r=p[g++],e.addData(h,y,_,L,S,i,r);break;case"s":y=i,_=r,D=e.len(),T=e.data,n===s.C&&(y+=i-T[D-4],_+=r-T[D-3]),h=s.C,L=i+p[g++],S=r+p[g++],i+=p[g++],r+=p[g++],e.addData(h,y,_,L,S,i,r);break;case"Q":L=p[g++],S=p[g++],i=p[g++],r=p[g++],h=s.Q,e.addData(h,L,S,i,r);break;case"q":L=p[g++]+i,S=p[g++]+r,i+=p[g++],r+=p[g++],h=s.Q,e.addData(h,L,S,i,r);break;case"T":y=i,_=r,D=e.len(),T=e.data,n===s.Q&&(y+=i-T[D-4],_+=r-T[D-3]),i=p[g++],r=p[g++],h=s.Q,e.addData(h,y,_,i,r);break;case"t":y=i,_=r,D=e.len(),T=e.data,n===s.Q&&(y+=i-T[D-4],_+=r-T[D-3]),i+=p[g++],r+=p[g++],h=s.Q,e.addData(h,y,_,i,r);break;case"A":v=p[g++],x=p[g++],M=p[g++],b=p[g++],w=p[g++],L=i,S=r,i=p[g++],r=p[g++],h=s.A,Vc(L,S,i,r,b,w,v,x,M,h,e);break;case"a":v=p[g++],x=p[g++],M=p[g++],b=p[g++],w=p[g++],L=i,S=r,i+=p[g++],r+=p[g++],h=s.A,Vc(L,S,i,r,b,w,v,x,M,h,e);break}}"z"!==c&&"Z"!==c||(h=s.Z,e.addData(h),i=a,r=o),n=h}return e.toStatic(),e}var Xc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return sn(e,t),e.prototype.applyTransform=function(t){},e}(Uu);function Zc(t){return null!=t.setData}function qc(t,e){var n=Uc(t),i=fe({},e);return i.buildPath=function(t){if(Zc(t)){t.setData(n.data);var e=t.getContext();e&&t.rebuildPath(e,1)}else{e=t;n.rebuildPath(e,1)}},i.applyTransform=function(t){Hc(n,t),this.dirtyShape()},i}function $c(t,e){return new Xc(qc(t,e))}function Jc(t,e){var n=qc(t,e),i=function(t){function e(e){var i=t.call(this,e)||this;return i.applyTransform=n.applyTransform,i.buildPath=n.buildPath,i}return sn(e,t),e}(Xc);return i}function Kc(t,e){for(var n=[],i=t.length,r=0;r<i;r++){var a=t[r];a.path||a.createPathProxy(),a.shapeChanged()&&a.buildPath(a.path,a.shape,!0),n.push(a.path)}var o=new Uu(e);return o.createPathProxy(),o.buildPath=function(t){if(Zc(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},o}var Qc=function(){function t(){this.cx=0,this.cy=0,this.r=0}return t}(),th=function(t){function e(e){return t.call(this,e)||this}return sn(e,t),e.prototype.getDefaultShape=function(){return new Qc},e.prototype.buildPath=function(t,e,n){n&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(Uu);th.prototype.type="circle";var eh=th,nh=function(){function t(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return t}(),ih=function(t){function e(e){return t.call(this,e)||this}return sn(e,t),e.prototype.getDefaultShape=function(){return new nh},e.prototype.buildPath=function(t,e){var n=.5522848,i=e.cx,r=e.cy,a=e.rx,o=e.ry,s=a*n,l=o*n;t.moveTo(i-a,r),t.bezierCurveTo(i-a,r-l,i-s,r-o,i,r-o),t.bezierCurveTo(i+s,r-o,i+a,r-l,i+a,r),t.bezierCurveTo(i+a,r+l,i+s,r+o,i,r+o),t.bezierCurveTo(i-s,r+o,i-a,r+l,i-a,r),t.closePath()},e}(Uu);ih.prototype.type="ellipse";var rh=ih,ah=Math.PI,oh=2*ah,sh=Math.sin,lh=Math.cos,uh=Math.acos,dh=Math.atan2,ch=Math.abs,hh=Math.sqrt,ph=Math.max,fh=Math.min,mh=1e-4;function gh(t,e,n,i,r,a,o,s){var l=n-t,u=i-e,d=o-r,c=s-a,h=c*l-d*u;if(!(h*h<mh))return h=(d*(e-a)-c*(t-r))/h,[t+h*l,e+h*u]}function yh(t,e,n,i,r,a,o){var s=t-n,l=e-i,u=(o?a:-a)/hh(s*s+l*l),d=u*l,c=-u*s,h=t+d,p=e+c,f=n+d,m=i+c,g=(h+f)/2,y=(p+m)/2,_=f-h,v=m-p,x=_*_+v*v,M=r-a,b=h*m-f*p,w=(v<0?-1:1)*hh(ph(0,M*M*x-b*b)),L=(b*v-_*w)/x,S=(-b*_-v*w)/x,D=(b*v+_*w)/x,T=(-b*_+v*w)/x,k=L-g,Y=S-y,I=D-g,C=T-y;return k*k+Y*Y>I*I+C*C&&(L=D,S=T),{cx:L,cy:S,x01:-d,y01:-c,x11:L*(r/M-1),y11:S*(r/M-1)}}function _h(t,e){var n=ph(e.r,0),i=ph(e.r0||0,0),r=n>0,a=i>0;if(r||a){if(r||(n=i,i=0),i>n){var o=n;n=i,i=o}var s,l=!!e.clockwise,u=e.startAngle,d=e.endAngle;if(u===d)s=0;else{var c=[u,d];_u(c,!l),s=ch(c[0]-c[1])}var h=e.cx,p=e.cy,f=e.cornerRadius||0,m=e.innerCornerRadius||0;if(n>mh)if(s>oh-mh)t.moveTo(h+n*lh(u),p+n*sh(u)),t.arc(h,p,n,u,d,!l),i>mh&&(t.moveTo(h+i*lh(d),p+i*sh(d)),t.arc(h,p,i,d,u,l));else{var g=ch(n-i)/2,y=fh(g,f),_=fh(g,m),v=_,x=y,M=n*lh(u),b=n*sh(u),w=i*lh(d),L=i*sh(d),S=void 0,D=void 0,T=void 0,k=void 0;if((y>mh||_>mh)&&(S=n*lh(d),D=n*sh(d),T=i*lh(u),k=i*sh(u),s<ah)){var Y=gh(M,b,T,k,S,D,w,L);if(Y){var I=M-Y[0],C=b-Y[1],A=S-Y[0],P=D-Y[1],O=1/sh(uh((I*A+C*P)/(hh(I*I+C*C)*hh(A*A+P*P)))/2),H=hh(Y[0]*Y[0]+Y[1]*Y[1]);v=fh(_,(i-H)/(O-1)),x=fh(y,(n-H)/(O+1))}}if(s>mh)if(x>mh){var N=yh(T,k,M,b,n,x,l),E=yh(S,D,w,L,n,x,l);t.moveTo(h+N.cx+N.x01,p+N.cy+N.y01),x<y?t.arc(h+N.cx,p+N.cy,x,dh(N.y01,N.x01),dh(E.y01,E.x01),!l):(t.arc(h+N.cx,p+N.cy,x,dh(N.y01,N.x01),dh(N.y11,N.x11),!l),t.arc(h,p,n,dh(N.cy+N.y11,N.cx+N.x11),dh(E.cy+E.y11,E.cx+E.x11),!l),t.arc(h+E.cx,p+E.cy,x,dh(E.y11,E.x11),dh(E.y01,E.x01),!l))}else t.moveTo(h+M,p+b),t.arc(h,p,n,u,d,!l);else t.moveTo(h+M,p+b);if(i>mh&&s>mh)if(v>mh){N=yh(w,L,S,D,i,-v,l),E=yh(M,b,T,k,i,-v,l);t.lineTo(h+N.cx+N.x01,p+N.cy+N.y01),v<_?t.arc(h+N.cx,p+N.cy,v,dh(N.y01,N.x01),dh(E.y01,E.x01),!l):(t.arc(h+N.cx,p+N.cy,v,dh(N.y01,N.x01),dh(N.y11,N.x11),!l),t.arc(h,p,i,dh(N.cy+N.y11,N.cx+N.x11),dh(E.cy+E.y11,E.cx+E.x11),l),t.arc(h+E.cx,p+E.cy,v,dh(E.y11,E.x11),dh(E.y01,E.x01),!l))}else t.lineTo(h+w,p+L),t.arc(h,p,i,d,u,l);else t.lineTo(h+w,p+L)}else t.moveTo(h,p);t.closePath()}}var vh=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0,this.innerCornerRadius=0}return t}(),xh=function(t){function e(e){return t.call(this,e)||this}return sn(e,t),e.prototype.getDefaultShape=function(){return new vh},e.prototype.buildPath=function(t,e){_h(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(Uu);xh.prototype.type="sector";var Mh=xh,bh=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return t}(),wh=function(t){function e(e){return t.call(this,e)||this}return sn(e,t),e.prototype.getDefaultShape=function(){return new bh},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(Uu);wh.prototype.type="ring";var Lh=wh;function Sh(t,e,n,i,r,a,o){var s=.5*(n-t),l=.5*(i-e);return(2*(e-n)+s+l)*o+(-3*(e-n)-2*s-l)*a+s*r+e}function Dh(t,e){for(var n=t.length,i=[],r=0,a=1;a<n;a++)r+=vn(t[a-1],t[a]);var o=r/2;o=o<n?n:o;for(a=0;a<o;a++){var s=a/(o-1)*(e?n:n-1),l=Math.floor(s),u=s-l,d=void 0,c=t[l%n],h=void 0,p=void 0;e?(d=t[(l-1+n)%n],h=t[(l+1)%n],p=t[(l+2)%n]):(d=t[0===l?l:l-1],h=t[l>n-2?n-1:l+1],p=t[l>n-3?n-1:l+2]);var f=u*u,m=u*f;i.push([Sh(d[0],c[0],h[0],p[0],u,f,m),Sh(d[1],c[1],h[1],p[1],u,f,m)])}return i}function Th(t,e,n,i){var r,a,o,s,l=[],u=[],d=[],c=[];if(i){o=[1/0,1/0],s=[-1/0,-1/0];for(var h=0,p=t.length;h<p;h++)Sn(o,o,t[h]),Dn(s,s,t[h]);Sn(o,o,i[0]),Dn(s,s,i[1])}for(h=0,p=t.length;h<p;h++){var f=t[h];if(n)r=t[h?h-1:p-1],a=t[(h+1)%p];else{if(0===h||h===p-1){l.push(dn(t[h]));continue}r=t[h-1],a=t[h+1]}fn(u,a,r),yn(u,u,e);var m=vn(f,r),g=vn(f,a),y=m+g;0!==y&&(m/=y,g/=y),yn(d,u,-m),yn(c,u,g);var _=hn([],f,d),v=hn([],f,c);i&&(Dn(_,_,o),Sn(_,_,s),Dn(v,v,o),Sn(v,v,s)),l.push(_),l.push(v)}return n&&l.push(l.shift()),l}function kh(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i&&"spline"!==i){var a=Th(r,i,n,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var o=r.length,s=0;s<(n?o:o-1);s++){var l=a[2*s],u=a[2*s+1],d=r[(s+1)%o];t.bezierCurveTo(l[0],l[1],u[0],u[1],d[0],d[1])}}else{"spline"===i&&(r=Dh(r,n)),t.moveTo(r[0][0],r[0][1]);s=1;for(var c=r.length;s<c;s++)t.lineTo(r[s][0],r[s][1])}n&&t.closePath()}}var Yh=function(){function t(){this.points=null,this.smooth=0,this.smoothConstraint=null}return t}(),Ih=function(t){function e(e){return t.call(this,e)||this}return sn(e,t),e.prototype.getDefaultShape=function(){return new Yh},e.prototype.buildPath=function(t,e){kh(t,e,!0)},e}(Uu);Ih.prototype.type="polygon";var Ch=Ih,Ah=function(){function t(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return t}(),Ph=function(t){function e(e){return t.call(this,e)||this}return sn(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Ah},e.prototype.buildPath=function(t,e){kh(t,e,!1)},e}(Uu);Ph.prototype.type="polyline";var Oh=Ph,Hh={},Nh=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return t}(),Eh=function(t){function e(e){return t.call(this,e)||this}return sn(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Nh},e.prototype.buildPath=function(t,e){var n,i,r,a;if(this.subPixelOptimize){var o=id(Hh,e,this.style);n=o.x1,i=o.y1,r=o.x2,a=o.y2}else n=e.x1,i=e.y1,r=e.x2,a=e.y2;var s=e.percent;0!==s&&(t.moveTo(n,i),s<1&&(r=n*(1-s)+r*s,a=i*(1-s)+a*s),t.lineTo(r,a))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(Uu);Eh.prototype.type="line";var Rh=Eh,zh=[],jh=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return t}();function Bh(t,e,n){var i=t.cpx2,r=t.cpy2;return null===i||null===r?[(n?Dl:Sl)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?Dl:Sl)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?Pl:Al)(t.x1,t.cpx1,t.x2,e),(n?Pl:Al)(t.y1,t.cpy1,t.y2,e)]}var Fh=function(t){function e(e){return t.call(this,e)||this}return sn(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new jh},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,a=e.y2,o=e.cpx1,s=e.cpy1,l=e.cpx2,u=e.cpy2,d=e.percent;0!==d&&(t.moveTo(n,i),null==l||null==u?(d<1&&(Nl(n,o,r,d,zh),o=zh[1],r=zh[2],Nl(i,s,a,d,zh),s=zh[1],a=zh[2]),t.quadraticCurveTo(o,s,r,a)):(d<1&&(Yl(n,o,l,r,d,zh),o=zh[1],l=zh[2],r=zh[3],Yl(i,s,u,a,d,zh),s=zh[1],u=zh[2],a=zh[3]),t.bezierCurveTo(o,s,l,u,r,a)))},e.prototype.pointAt=function(t){return Bh(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=Bh(this.shape,t,!0);return _n(e,e)},e}(Uu);Fh.prototype.type="bezier-curve";var Vh=Fh,Wh=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return t}(),Gh=function(t){function e(e){return t.call(this,e)||this}return sn(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Wh},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),a=e.startAngle,o=e.endAngle,s=e.clockwise,l=Math.cos(a),u=Math.sin(a);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,a,o,!s)},e}(Uu);Gh.prototype.type="arc";var Uh=Gh,Xh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return sn(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Uu.prototype.getBoundingRect.call(this)},e}(Uu),Zh=Xh,qh=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}(),$h=qh,Jh=function(t){function e(e,n,i,r,a,o){var s=t.call(this,a)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==i?1:i,s.y2=null==r?0:r,s.type="linear",s.global=o||!1,s}return sn(e,t),e}($h),Kh=Jh,Qh=function(t){function e(e,n,i,r,a){var o=t.call(this,r)||this;return o.x=null==e?.5:e,o.y=null==n?.5:n,o.r=null==i?.5:i,o.type="radial",o.global=a||!1,o}return sn(e,t),e}($h),tp=Qh,ep=[0,0],np=[0,0],ip=new Cr,rp=new Cr,ap=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new Cr;for(n=0;n<2;n++)this._axes[n]=new Cr;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,i=this._axes,r=t.x,a=t.y,o=r+t.width,s=a+t.height;if(n[0].set(r,a),n[1].set(o,a),n[2].set(o,s),n[3].set(r,s),e)for(var l=0;l<4;l++)n[l].transform(e);Cr.sub(i[0],n[1],n[0]),Cr.sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(l=0;l<2;l++)this._origin[l]=i[l].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,i=!e;return ip.set(1/0,1/0),rp.set(0,0),!this._intersectCheckOneSide(this,t,ip,rp,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(t,this,ip,rp,i,-1)&&(n=!1,i)||i||Cr.copy(e,n?ip:rp),n},t.prototype._intersectCheckOneSide=function(t,e,n,i,r,a){for(var o=!0,s=0;s<2;s++){var l=this._axes[s];if(this._getProjMinMaxOnAxis(s,t._corners,ep),this._getProjMinMaxOnAxis(s,e._corners,np),ep[1]<np[0]||ep[0]>np[1]){if(o=!1,r)return o;var u=Math.abs(np[0]-ep[1]),d=Math.abs(ep[0]-np[1]);Math.min(u,d)>i.len()&&(u<d?Cr.scale(i,l,-u*a):Cr.scale(i,l,d*a))}else if(n){u=Math.abs(np[0]-ep[1]),d=Math.abs(ep[0]-np[1]);Math.min(u,d)<n.len()&&(u<d?Cr.scale(n,l,u*a):Cr.scale(n,l,-d*a))}}return o},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],r=this._origin,a=e[0].dot(i)+r[t],o=a,s=a,l=1;l<e.length;l++){var u=e[l].dot(i)+r[t];o=Math.min(u,o),s=Math.max(u,s)}n[0]=o,n[1]=s},t}(),op=ap,sp=[],lp=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return sn(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new Br(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(sp)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();if(i.contain(n[0],n[1]))for(var r=0;r<this._displayables.length;r++){var a=this._displayables[r];if(a.contain(t,e))return!0}return!1},e}(pl),up=lp,dp=Math.max,cp=Math.min,hp={};function pp(t){return Uu.extend(t)}var fp=Jc;function mp(t,e){return fp(t,e)}function gp(t,e){hp[t]=e}function yp(t){if(hp.hasOwnProperty(t))return hp[t]}function _p(t,e,n,i){var r=$c(t,e);return n&&("center"===i&&(n=xp(n,r.getBoundingRect())),bp(r,n)),r}function vp(t,e,n){var i=new td({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(xp(e,r))}}});return i}function xp(t,e){var n,i=e.width/e.height,r=t.height*i;r<=t.width?n=t.height:(r=t.width,n=r/i);var a=t.x+t.width/2,o=t.y+t.height/2;return{x:a-r/2,y:o-n/2,width:r,height:n}}var Mp=Kc;function bp(t,e){if(t.applyTransform){var n=t.getBoundingRect(),i=n.calculateTransform(e);t.applyTransform(i)}}function wp(t){return id(t.shape,t.shape,t.style),t}function Lp(t){return rd(t.shape,t.shape,t.style),t}var Sp=ad;function Dp(t,e,n,i,r,a,o){var s,l=!1;"function"===typeof r?(o=a,a=r,r=null):He(r)&&(a=r.cb,o=r.during,l=r.isFrom,s=r.removeOpt,r=r.dataIndex);var u,d="update"===t,c="remove"===t;if(i&&i.ecModel){var h=i.ecModel.getUpdatePayload();u=h&&h.animation}var p=i&&i.isAnimationEnabled();if(c||e.stopAnimation("remove"),p){var f=void 0,m=void 0,g=void 0;u?(f=u.duration||0,m=u.easing||"cubicOut",g=u.delay||0):c?(s=s||{},f=We(s.duration,200),m=We(s.easing,"cubicOut"),g=0):(f=i.getShallow(d?"animationDurationUpdate":"animationDuration"),m=i.getShallow(d?"animationEasingUpdate":"animationEasing"),g=i.getShallow(d?"animationDelayUpdate":"animationDelay")),"function"===typeof g&&(g=g(r,i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null)),"function"===typeof f&&(f=f(r)),f>0?l?e.animateFrom(n,{duration:f,delay:g||0,easing:m,done:a,force:!!a||!!o,scope:t,during:o}):e.animateTo(n,{duration:f,delay:g||0,easing:m,done:a,force:!!a||!!o,setToFinal:!0,scope:t,during:o}):(e.stopAnimation(),!l&&e.attr(n),a&&a())}else e.stopAnimation(),!l&&e.attr(n),o&&o(1),a&&a()}function Tp(t,e,n,i,r,a){Dp("update",t,e,n,i,r,a)}function kp(t,e,n,i,r,a){Dp("init",t,e,n,i,r,a)}function Yp(t,e,n,i,r,a){Ap(t)||Dp("remove",t,e,n,i,r,a)}function Ip(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),Yp(t,{style:{opacity:0}},e,n,i)}function Cp(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse((function(t){t.isGroup||Ip(t,e,n,i)})):Ip(t,e,n,i)}function Ap(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){var n=t.animators[e];if("remove"===n.scope)return!0}return!1}function Pp(t,e){var n=mi([]);while(t&&t!==e)yi(n,t.getLocalTransform(),n),t=t.parent;return n}function Op(t,e,n){return e&&!xe(e)&&(e=Ci.getLocalTransform(e)),n&&(e=Mi([],e)),Ln([],t,e)}function Hp(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),a=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return a=Op(a,e,n),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function Np(t){return!t.isGroup}function Ep(t){return null!=t.shape}function Rp(t,e,n){if(t&&e){var i=r(t);e.traverse((function(t){if(Np(t)&&t.anid){var e=i[t.anid];if(e){var r=a(t);t.attr(a(e)),Tp(t,r,n,Ld(t).dataIndex)}}}))}function r(t){var e={};return t.traverse((function(t){Np(t)&&t.anid&&(e[t.anid]=t)})),e}function a(t){var e={x:t.x,y:t.y,rotation:t.rotation};return Ep(t)&&(e.shape=fe({},t.shape)),e}}function zp(t,e){return be(t,(function(t){var n=t[0];n=dp(n,e.x),n=cp(n,e.x+e.width);var i=t[1];return i=dp(i,e.y),i=cp(i,e.y+e.height),[n,i]}))}function jp(t,e){var n=dp(t.x,e.x),i=cp(t.x+t.width,e.x+e.width),r=dp(t.y,e.y),a=cp(t.y+t.height,e.y+e.height);if(i>=n&&a>=r)return{x:n,y:r,width:i-n,height:a-r}}function Bp(t,e,n){var i=fe({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),me(r,n),new td(i)):_p(t.replace("path://",""),i,n,"center")}function Fp(t,e,n,i,r){for(var a=0,o=r[r.length-1];a<r.length;a++){var s=r[a];if(Vp(t,e,n,i,s[0],s[1],o[0],o[1]))return!0;o=s}}function Vp(t,e,n,i,r,a,o,s){var l=n-t,u=i-e,d=o-r,c=s-a,h=Wp(d,c,l,u);if(Gp(h))return!1;var p=t-r,f=e-a,m=Wp(p,f,l,u)/h;if(m<0||m>1)return!1;var g=Wp(p,f,d,c)/h;return!(g<0||g>1)}function Wp(t,e,n,i){return t*i-n*e}function Gp(t){return t<=1e-6&&t>=-1e-6}gp("circle",eh),gp("ellipse",rh),gp("sector",Mh),gp("ring",Lh),gp("polygon",Ch),gp("polyline",Oh),gp("rect",ud),gp("line",Rh),gp("bezierCurve",Vh),gp("arc",Uh);var Up={};function Xp(t,e){for(var n=0;n<Cd.length;n++){var i=Cd[n],r=e[i],a=t.ensureState(i);a.style=a.style||{},a.style.text=r}var o=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(o,!0)}function Zp(t,e,n){var i,r=t.labelFetcher,a=t.labelDataIndex,o=t.labelDimIndex,s=e.normal;r&&(i=r.getFormattedLabel(a,"normal",null,o,s&&s.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==i&&(i=Ce(t.defaultText)?t.defaultText(a,t,n):t.defaultText);for(var l={normal:i},u=0;u<Cd.length;u++){var d=Cd[u],c=e[d];l[d]=We(r?r.getFormattedLabel(a,d,null,o,c&&c.get("formatter")):null,i)}return l}function qp(t,e,n,i){n=n||Up;for(var r=t instanceof wd,a=!1,o=0;o<Ad.length;o++){var s=e[Ad[o]];if(s&&s.getShallow("show")){a=!0;break}}var l=r?t:t.getTextContent();if(a){r||(l||(l=new wd,t.setTextContent(l)),t.stateProxy&&(l.stateProxy=t.stateProxy));var u=Zp(n,e),d=e.normal,c=!!d.getShallow("show"),h=Jp(d,i&&i.normal,n,!1,!r);h.text=u.normal,r||t.setTextConfig(Kp(d,n,!1));for(o=0;o<Cd.length;o++){var p=Cd[o];s=e[p];if(s){var f=l.ensureState(p),m=!!We(s.getShallow("show"),c);if(m!==c&&(f.ignore=!m),f.style=Jp(s,i&&i[p],n,!0,!r),f.style.text=u[p],!r){var g=t.ensureState(p);g.textConfig=Kp(s,n,!0)}}}l.silent=!!d.getShallow("silent"),null!=l.style.x&&(h.x=l.style.x),null!=l.style.y&&(h.y=l.style.y),l.ignore=!c,l.useStyle(h),l.dirty(),n.enableTextSetter&&(sf(l).setLabelText=function(t){var i=Zp(n,e,t);Xp(l,i)})}else l&&(l.ignore=!0);t.dirty()}function $p(t,e){e=e||"label";for(var n={normal:t.getModel(e)},i=0;i<Cd.length;i++){var r=Cd[i];n[r]=t.getModel([r,e])}return n}function Jp(t,e,n,i,r){var a={};return Qp(a,t,n,i,r),e&&fe(a,e),a}function Kp(t,e,n){e=e||{};var i,r={},a=t.getShallow("rotate"),o=We(t.getShallow("distance"),n?null:5),s=t.getShallow("offset");return i=t.getShallow("position")||(n?null:"inside"),"outside"===i&&(i=e.defaultOutsidePosition||"top"),null!=i&&(r.position=i),null!=s&&(r.offset=s),null!=a&&(a*=Math.PI/180,r.rotation=a),null!=o&&(r.distance=o),r.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",r}function Qp(t,e,n,i,r){n=n||Up;var a,o=e.ecModel,s=o&&o.option.textStyle,l=tf(e);if(l)for(var u in a={},l)if(l.hasOwnProperty(u)){var d=e.getModel(["rich",u]);af(a[u]={},d,s,n,i,r,!1,!0)}a&&(t.rich=a);var c=e.get("overflow");c&&(t.overflow=c);var h=e.get("minMargin");null!=h&&(t.margin=h),af(t,e,s,n,i,r,!0,!1)}function tf(t){var e;while(t&&t!==t.ecModel){var n=(t.option||Up).rich;if(n){e=e||{};for(var i=De(n),r=0;r<i.length;r++){var a=i[r];e[a]=1}}t=t.parentModel}return e}var ef=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],nf=["align","lineHeight","width","height","tag","verticalAlign"],rf=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function af(t,e,n,i,r,a,o,s){n=!r&&n||Up;var l=i&&i.inheritColor,u=e.getShallow("color"),d=e.getShallow("textBorderColor"),c=We(e.getShallow("opacity"),n.opacity);"inherit"!==u&&"auto"!==u||(u=l||null),"inherit"!==d&&"auto"!==d||(d=l||null),a||(u=u||n.color,d=d||n.textBorderColor),null!=u&&(t.fill=u),null!=d&&(t.stroke=d);var h=We(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=h&&(t.lineWidth=h);var p=We(e.getShallow("textBorderType"),n.textBorderType);null!=p&&(t.lineDash=p);var f=We(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=f&&(t.lineDashOffset=f),r||null!=c||s||(c=i&&i.defaultOpacity),null!=c&&(t.opacity=c),r||a||null==t.fill&&i.inheritColor&&(t.fill=i.inheritColor);for(var m=0;m<ef.length;m++){var g=ef[m],y=We(e.getShallow(g),n[g]);null!=y&&(t[g]=y)}for(m=0;m<nf.length;m++){g=nf[m],y=e.getShallow(g);null!=y&&(t[g]=y)}if(null==t.verticalAlign){var _=e.getShallow("baseline");null!=_&&(t.verticalAlign=_)}if(!o||!i.disableBox){for(m=0;m<rf.length;m++){g=rf[m],y=e.getShallow(g);null!=y&&(t[g]=y)}var v=e.getShallow("borderType");null!=v&&(t.borderDash=v),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!l||(t.backgroundColor=l),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!l||(t.borderColor=l)}}function of(t,e){var n=e&&e.getModel("textStyle");return qe([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var sf=us();function lf(t,e,n,i){if(t){var r=sf(t);r.prevValue=r.value,r.value=n;var a=e.normal;r.valueAnimation=a.get("valueAnimation"),r.valueAnimation&&(r.precision=a.get("precision"),r.defaultInterpolatedText=i,r.statesModels=e)}}function uf(t,e,n,i,r){var a=sf(t);if(a.valueAnimation){var o=a.defaultInterpolatedText,s=We(a.interpolatedValue,a.prevValue),l=a.value;(null==s?kp:Tp)(t,{},i,e,null,u)}function u(i){var u=vs(n,a.precision,s,l,i);a.interpolatedValue=1===i?null:u;var d=Zp({labelDataIndex:e,labelFetcher:r,defaultText:o?o(u):u+""},a.statesModels,u);Xp(t,d)}}var df=["textStyle","color"],cf=new wd,hf=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(df):null)},t.prototype.getFont=function(){return of({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){return cf.useStyle({text:t,fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily"),verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline"),padding:this.getShallow("padding"),lineHeight:this.getShallow("lineHeight"),rich:this.getShallow("rich")}),cf.update(),cf.getBoundingRect()},t}(),pf=hf,ff=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],mf=Os(ff),gf=function(){function t(){}return t.prototype.getLineStyle=function(t){return mf(this,t)},t}(),yf=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],_f=Os(yf),vf=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return _f(this,t,e)},t}(),xf=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r]},t.prototype.mergeOption=function(t,e){he(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,i=null==n?n:n[t];if(null==i&&!e){var r=this.parentModel;r&&(i=r.getShallow(t))}return i},t.prototype.getModel=function(e,n){var i=null!=e,r=i?this.parsePath(e):null,a=i?this._doGet(r):this.option;return n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),new t(a,n,this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){var t=this.constructor;return new t(ce(this.option))},t.prototype.parsePath=function(t){return"string"===typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!$t.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var i=0;i<t.length;i++)if(t[i]&&(n=n&&"object"===typeof n?n[t[i]]:null,null==n))break;return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();Ds(xf),Is(xf),ve(xf,gf),ve(xf,vf),ve(xf,Es),ve(xf,pf);var Mf=xf,bf=Math.round(10*Math.random());function wf(t){return[t||"",bf++].join("_")}function Lf(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=ws(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var a=ws(n).main;t.hasSubTypes(n)&&e[a]&&(r=e[a](i))}return r}}function Sf(t,e){function n(t){var n={},a=[];return Me(t,(function(o){var s=i(n,o),l=s.originalDeps=e(o),u=r(l,t);s.entryCount=u.length,0===s.entryCount&&a.push(o),Me(u,(function(t){ye(s.predecessor,t)<0&&s.predecessor.push(t);var e=i(n,t);ye(e.successor,t)<0&&e.successor.push(o)}))})),{graph:n,noEntryList:a}}function i(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function r(t,e){var n=[];return Me(t,(function(t){ye(e,t)>=0&&n.push(t)})),n}t.topologicalTravel=function(t,e,i,r){if(t.length){var a=n(e),o=a.graph,s=a.noEntryList,l={};Me(t,(function(t){l[t]=!0}));while(s.length){var u=s.pop(),d=o[u],c=!!l[u];c&&(i.call(r,u,d.originalDeps.slice()),delete l[u]),Me(d.successor,c?p:h)}Me(l,(function(){var t="";throw new Error(t)}))}function h(t){o[t].entryCount--,0===o[t].entryCount&&s.push(t)}function p(t){l[t]=!0,h(t)}}}function Df(t,e){return he(he({},t,!0),e,!0)}var Tf={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Guage",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},kf={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}},Yf="ZH",If="EN",Cf=If,Af={},Pf={},Of=$t.domSupported?function(){var t=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return t.indexOf(Yf)>-1?Yf:Cf}():Cf;function Hf(t,e){t=t.toUpperCase(),Pf[t]=new Mf(e),Af[t]=e}function Nf(t){if(Ae(t)){var e=Af[t.toUpperCase()]||{};return t===Yf||t===If?ce(e):he(ce(e),ce(Af[Cf]),!1)}return he(ce(t),ce(Af[Cf]),!1)}function Ef(t){return Pf[t]}function Rf(){return Pf[Cf]}Hf(If,Tf),Hf(Yf,kf);var zf=1e3,jf=60*zf,Bf=60*jf,Ff=24*Bf,Vf=365*Ff,Wf={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{hh}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {hh}:{mm}:{ss} {SSS}"},Gf="{yyyy}-{MM}-{dd}",Uf={year:"{yyyy}",month:"{yyyy}-{MM}",day:Gf,hour:Gf+" "+Wf.hour,minute:Gf+" "+Wf.minute,second:Gf+" "+Wf.second,millisecond:Wf.none},Xf=["year","month","day","hour","minute","second","millisecond"],Zf=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function qf(t,e){return t+="","0000".substr(0,e-t.length)+t}function $f(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function Jf(t){return t===$f(t)}function Kf(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function Qf(t,e,n,i){var r=ko(t),a=r[im(n)](),o=r[rm(n)]()+1,s=Math.floor((o-1)/4)+1,l=r[am(n)](),u=r["get"+(n?"UTC":"")+"Day"](),d=r[om(n)](),c=(d-1)%12+1,h=r[sm(n)](),p=r[lm(n)](),f=r[um(n)](),m=i instanceof Mf?i:Ef(i||Of)||Rf(),g=m.getModel("time"),y=g.get("month"),_=g.get("monthAbbr"),v=g.get("dayOfWeek"),x=g.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,a+"").replace(/{yy}/g,a%100+"").replace(/{Q}/g,s+"").replace(/{MMMM}/g,y[o-1]).replace(/{MMM}/g,_[o-1]).replace(/{MM}/g,qf(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,qf(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,v[u]).replace(/{ee}/g,x[u]).replace(/{e}/g,u+"").replace(/{HH}/g,qf(d,2)).replace(/{H}/g,d+"").replace(/{hh}/g,qf(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,qf(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,qf(p,2)).replace(/{s}/g,p+"").replace(/{SSS}/g,qf(f,3)).replace(/{S}/g,f+"")}function tm(t,e,n,i,r){var a=null;if("string"===typeof n)a=n;else if("function"===typeof n)a=n(t.value,e,{level:t.level});else{var o=fe({},Wf);if(t.level>0)for(var s=0;s<Xf.length;++s)o[Xf[s]]="{primary|"+o[Xf[s]]+"}";var l=n?!1===n.inherit?n:me(n,o):o,u=em(t.value,r);if(l[u])a=l[u];else if(l.inherit){var d=Zf.indexOf(u);for(s=d-1;s>=0;--s)if(l[u]){a=l[u];break}a=a||o.none}if(Ie(a)){var c=null==t.level?0:t.level>=0?t.level:a.length+t.level;c=Math.min(c,a.length-1),a=a[c]}}return Qf(new Date(t.value),a,r,i)}function em(t,e){var n=ko(t),i=n[rm(e)]()+1,r=n[am(e)](),a=n[om(e)](),o=n[sm(e)](),s=n[lm(e)](),l=n[um(e)](),u=0===l,d=u&&0===s,c=d&&0===o,h=c&&0===a,p=h&&1===r,f=p&&1===i;return f?"year":p?"month":h?"day":c?"hour":d?"minute":u?"second":"millisecond"}function nm(t,e,n){var i="number"===typeof t?ko(t):t;switch(e=e||em(t,n),e){case"year":return i[im(n)]();case"half-year":return i[rm(n)]()>=6?1:0;case"quarter":return Math.floor((i[rm(n)]()+1)/4);case"month":return i[rm(n)]();case"day":return i[am(n)]();case"half-day":return i[om(n)]()/24;case"hour":return i[om(n)]();case"minute":return i[sm(n)]();case"second":return i[lm(n)]();case"millisecond":return i[um(n)]()}}function im(t){return t?"getUTCFullYear":"getFullYear"}function rm(t){return t?"getUTCMonth":"getMonth"}function am(t){return t?"getUTCDate":"getDate"}function om(t){return t?"getUTCHours":"getHours"}function sm(t){return t?"getUTCMinutes":"getMinutes"}function lm(t){return t?"getUTCSeconds":"getSeconds"}function um(t){return t?"getUTCSeconds":"getSeconds"}function dm(t){return t?"setUTCFullYear":"setFullYear"}function cm(t){return t?"setUTCMonth":"setMonth"}function hm(t){return t?"setUTCDate":"setDate"}function pm(t){return t?"setUTCHours":"setHours"}function fm(t){return t?"setUTCMinutes":"setMinutes"}function mm(t){return t?"setUTCSeconds":"setSeconds"}function gm(t){return t?"setUTCSeconds":"setSeconds"}function ym(t){if(!Ho(t))return Ae(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function _m(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var vm=Xe,xm=/([&<>"'])/g,Mm={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function bm(t){return null==t?"":(t+"").replace(xm,(function(t,e){return Mm[e]}))}function wm(t,e,n){var i="yyyy-MM-dd hh:mm:ss";function r(t){return t&&qe(t)?t:"-"}function a(t){return!(null==t||isNaN(t)||!isFinite(t))}var o="time"===e,s=t instanceof Date;if(o||s){var l=o?ko(t):t;if(!isNaN(+l))return Qf(l,i,n);if(s)return"-"}if("ordinal"===e)return Pe(t)?r(t):Oe(t)&&a(t)?t+"":"-";var u=Oo(t);return a(u)?ym(u):Pe(t)?r(t):"-"}var Lm=["a","b","c","d","e","f","g"],Sm=function(t,e){return"{"+t+(null==e?"":e)+"}"};function Dm(t,e,n){Ie(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],a=0;a<r.length;a++){var o=Lm[a];t=t.replace(Sm(o),Sm(o,0))}for(var s=0;s<i;s++)for(var l=0;l<r.length;l++){var u=e[s][r[l]];t=t.replace(Sm(Lm[l],s),n?bm(u):u)}return t}function Tm(t,e,n){return Me(e,(function(e,i){t=t.replace("{"+i+"}",n?bm(e):e)})),t}function km(t,e){var n=Ae(t)?{color:t,extraCssText:e}:t||{},i=n.color,r=n.type;e=n.extraCssText;var a=n.renderMode||"html";if(!i)return"";if("html"===a)return"subItem"===r?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+bm(i)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+bm(i)+";"+(e||"")+'"></span>';var o=n.markerId||"markerX";return{renderMode:a,content:"{"+o+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}}function Ym(t,e){return e=e||"transparent",Ae(t)?t:He(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Im(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var Cm=Me,Am=["left","right","top","bottom","width","height"],Pm=[["width","left","right"],["height","top","bottom"]];function Om(t,e,n,i,r){var a=0,o=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,u){var d,c,h=l.getBoundingRect(),p=e.childAt(u+1),f=p&&p.getBoundingRect();if("horizontal"===t){var m=h.width+(f?-f.x+h.x:0);d=a+m,d>i||l.newline?(a=0,d=m,o+=s+n,s=h.height):s=Math.max(s,h.height)}else{var g=h.height+(f?-f.y+h.y:0);c=o+g,c>r||l.newline?(a+=s+n,o=0,c=g,s=h.width):s=Math.max(s,h.width)}l.newline||(l.x=a,l.y=o,l.markRedraw(),"horizontal"===t?a=d+n:o=c+n)}))}var Hm=Om;Ye(Om,"vertical"),Ye(Om,"horizontal");function Nm(t,e,n){var i=e.width,r=e.height,a=yo(t.left,i),o=yo(t.top,r),s=yo(t.right,i),l=yo(t.bottom,r);return(isNaN(a)||isNaN(parseFloat(t.left)))&&(a=0),(isNaN(s)||isNaN(parseFloat(t.right)))&&(s=i),(isNaN(o)||isNaN(parseFloat(t.top)))&&(o=0),(isNaN(l)||isNaN(parseFloat(t.bottom)))&&(l=r),n=vm(n||0),{width:Math.max(s-a-n[1]-n[3],0),height:Math.max(l-o-n[0]-n[2],0)}}function Em(t,e,n){n=vm(n||0);var i=e.width,r=e.height,a=yo(t.left,i),o=yo(t.top,r),s=yo(t.right,i),l=yo(t.bottom,r),u=yo(t.width,i),d=yo(t.height,r),c=n[2]+n[0],h=n[1]+n[3],p=t.aspect;switch(isNaN(u)&&(u=i-s-h-a),isNaN(d)&&(d=r-l-c-o),null!=p&&(isNaN(u)&&isNaN(d)&&(p>i/r?u=.8*i:d=.8*r),isNaN(u)&&(u=p*d),isNaN(d)&&(d=u/p)),isNaN(a)&&(a=i-s-u-h),isNaN(o)&&(o=r-l-d-c),t.left||t.right){case"center":a=i/2-u/2-n[3];break;case"right":a=i-u-h;break}switch(t.top||t.bottom){case"middle":case"center":o=r/2-d/2-n[0];break;case"bottom":o=r-d-c;break}a=a||0,o=o||0,isNaN(u)&&(u=i-h-a-(s||0)),isNaN(d)&&(d=r-c-o-(l||0));var f=new Br(a+n[3],o+n[0],u,d);return f.margin=n,f}function Rm(t,e,n,i,r){var a=!r||!r.hv||r.hv[0],o=!r||!r.hv||r.hv[1],s=r&&r.boundingMode||"all";if(a||o){var l;if("raw"===s)l="group"===t.type?new Br(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(l=t.getBoundingRect(),t.needLocalTransform()){var u=t.getLocalTransform();l=l.clone(),l.applyTransform(u)}var d=Em(me({width:l.width,height:l.height},e),n,i),c=a?d.x-l.x:0,h=o?d.y-l.y:0;"raw"===s?(t.x=c,t.y=h):(t.x+=c,t.y+=h),t.markRedraw()}}function zm(t,e){return null!=t[Pm[e][0]]||null!=t[Pm[e][1]]&&null!=t[Pm[e][2]]}function jm(t){var e=t.layoutMode||t.constructor.layoutMode;return He(e)?e:e?{type:e}:null}function Bm(t,e,n){var i=n&&n.ignoreSize;!Ie(i)&&(i=[i,i]);var r=o(Pm[0],0),a=o(Pm[1],1);function o(n,r){var a={},o=0,u={},d=0,c=2;if(Cm(n,(function(e){u[e]=t[e]})),Cm(n,(function(t){s(e,t)&&(a[t]=u[t]=e[t]),l(a,t)&&o++,l(u,t)&&d++})),i[r])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(d!==c&&o){if(o>=c)return a;for(var h=0;h<n.length;h++){var p=n[h];if(!s(a,p)&&s(t,p)){a[p]=t[p];break}}return a}return u}function s(t,e){return t.hasOwnProperty(e)}function l(t,e){return null!=t[e]&&"auto"!==t[e]}function u(t,e,n){Cm(t,(function(t){e[t]=n[t]}))}u(Pm[0],t,r),u(Pm[1],t,a)}function Fm(t){return Vm({},t)}function Vm(t,e){return e&&t&&Cm(Am,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}var Wm=us(),Gm=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=wf("ec_cpt_model"),r}return Vt(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=jm(this),i=n?Fm(t):{},r=e.getTheme();he(t,r.get(this.mainType)),he(t,this.getDefaultOption()),n&&Bm(t,i,n)},e.prototype.mergeOption=function(t,e){he(this.option,t,!0);var n=jm(this);n&&Bm(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!Ss(t))return t.defaultOption;var e=Wm(this);if(!e.defaultOption){var n=[],i=t;while(i){var r=i.prototype.defaultOption;r&&n.push(r),i=i.superClass}for(var a={},o=n.length-1;o>=0;o--)a=he(a,n[o],!0);e.defaultOption=a}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return fs(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(Mf);function Um(t){var e=[];return Me(Gm.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=be(e,(function(t){return ws(t).main})),"dataset"!==t&&ye(e,"dataset")<=0&&e.unshift("dataset"),e}ks(Gm,Mf),Ps(Gm),Lf(Gm),Sf(Gm,Um);var Xm=Gm,Zm="";"undefined"!==typeof navigator&&(Zm=navigator.platform||"");var qm="rgba(0, 0, 0, 0.2)",$m={darkMode:"auto",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:qm,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:qm,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:qm,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:qm,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:qm,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:qm,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Zm.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},Jm=tn(["tooltip","label","itemName","itemId","seriesName"]),Km="original",Qm="arrayRows",tg="objectRows",eg="keyedColumns",ng="typedArray",ig="unknown",rg="column",ag="row",og={Must:1,Might:2,Not:3},sg=us();function lg(t){sg(t).datasetMap=tn()}function ug(t,e,n){var i={},r=cg(e);if(!r||!t)return i;var a,o,s=[],l=[],u=e.ecModel,d=sg(u).datasetMap,c=r.uid+"_"+n.seriesLayoutBy;t=t.slice(),Me(t,(function(e,n){var r=He(e)?e:t[n]={name:e};"ordinal"===r.type&&null==a&&(a=n,o=f(r)),i[r.name]=[]}));var h=d.get(c)||d.set(c,{categoryWayDim:o,valueWayDim:0});function p(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function f(t){var e=t.dimsDef;return e?e.length:1}return Me(t,(function(t,e){var n=t.name,r=f(t);if(null==a){var o=h.valueWayDim;p(i[n],o,r),p(l,o,r),h.valueWayDim+=r}else if(a===e)p(i[n],0,r),p(s,0,r);else{o=h.categoryWayDim;p(i[n],o,r),p(l,o,r),h.categoryWayDim+=r}})),s.length&&(i.itemName=s),l.length&&(i.seriesName=l),i}function dg(t,e,n){var i={},r=cg(t);if(!r)return i;var a,o=e.sourceFormat,s=e.dimensionsDefine;o!==tg&&o!==eg||Me(s,(function(t,e){"name"===(He(t)?t.name:t)&&(a=e)}));var l=function(){for(var t={},i={},r=[],l=0,u=Math.min(5,n);l<u;l++){var d=fg(e.data,o,e.seriesLayoutBy,s,e.startIndex,l);r.push(d);var c=d===og.Not;if(c&&null==t.v&&l!==a&&(t.v=l),(null==t.n||t.n===t.v||!c&&r[t.n]===og.Not)&&(t.n=l),h(t)&&r[t.n]!==og.Not)return t;c||(d===og.Might&&null==i.v&&l!==a&&(i.v=l),null!=i.n&&i.n!==i.v||(i.n=l))}function h(t){return null!=t.v&&null!=t.n}return h(t)?t:h(i)?i:null}();if(l){i.value=[l.v];var u=null!=a?a:l.n;i.itemName=[u],i.seriesName=[u]}return i}function cg(t){var e=t.get("data",!0);if(!e)return fs(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},hs).models[0]}function hg(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?fs(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},hs).models:[]}function pg(t,e){return fg(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function fg(t,e,n,i,r,a){var o,s,l,u=5;if(Ee(t))return og.Not;if(i){var d=i[a];He(d)?(s=d.name,l=d.type):Ae(d)&&(s=d)}if(null!=l)return"ordinal"===l?og.Must:og.Not;if(e===Qm){var c=t;if(n===ag){for(var h=c[a],p=0;p<(h||[]).length&&p<u;p++)if(null!=(o=x(h[r+p])))return o}else for(p=0;p<c.length&&p<u;p++){var f=c[r+p];if(f&&null!=(o=x(f[a])))return o}}else if(e===tg){var m=t;if(!s)return og.Not;for(p=0;p<m.length&&p<u;p++){var g=m[p];if(g&&null!=(o=x(g[s])))return o}}else if(e===eg){var y=t;if(!s)return og.Not;h=y[s];if(!h||Ee(h))return og.Not;for(p=0;p<h.length&&p<u;p++)if(null!=(o=x(h[p])))return o}else if(e===Km){var _=t;for(p=0;p<_.length&&p<u;p++){g=_[p];var v=Wo(g);if(!Ie(v))return og.Not;if(null!=(o=x(v[a])))return o}}function x(t){var e=Ae(t);return null!=t&&isFinite(t)&&""!==t?e?og.Might:og.Not:e&&"-"!==t?og.Must:void 0}return og.Not}var mg=tn();function gg(t,e){Ze(null==mg.get(t)&&e),mg.set(t,e)}function yg(t,e,n){var i=mg.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}var _g,vg,xg,Mg=us(),bg=us(),wg=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var i=Bo(this.get("color",!0)),r=this.get("colorLayer",!0);return Dg(this,Mg,i,r,t,e,n)},t.prototype.clearColorPalette=function(){Tg(this,Mg)},t}();function Lg(t,e,n,i){var r=Bo(t.get(["aria","decal","decals"]));return Dg(t,bg,r,null,e,n,i)}function Sg(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}function Dg(t,e,n,i,r,a,o){a=a||t;var s=e(a),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var d=null!=o&&i?Sg(i,o):n;if(d=d||n,d&&d.length){var c=d[l];return r&&(u[r]=c),s.paletteIdx=(l+1)%d.length,c}}function Tg(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}var kg="\0_ec_inner",Yg=1,Ig=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vt(e,t),e.prototype.init=function(t,e,n,i,r,a){i=i||{},this.option=null,this._theme=new Mf(i),this._locale=new Mf(r),this._optionManager=a},e.prototype.setOption=function(t,e,n){var i=Hg(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,Hg(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):xg(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var a=i.getTimelineOption(this);a&&(n=!0,this._mergeOption(a,e))}if(!t||"recreate"===t||"media"===t){var o=i.getMediaOption(this);o.length&&Me(o,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,a=[],o=tn(),s=e&&e.replaceMergeMainTypeMap;function l(e){var a=yg(this,e,Bo(t[e])),o=i.get(e),l=o?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=Uo(o,a,l);as(u,e,Xm),n[e]=null,i.set(e,null),r.set(e,0);var d=[],c=[],h=0;Me(u,(function(t,n){var i=t.existing,r=t.newOption;if(r){var a=Xm.getClass(e,t.keyInfo.subType,!0);if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var o=fe({componentIndex:n},t.keyInfo);i=new a(r,this,this,o),fe(i,o),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(d.push(i.option),c.push(i),h++):(d.push(void 0),c.push(void 0))}),this),n[e]=d,i.set(e,c),r.set(e,h),"series"===e&&_g(this)}lg(this),Me(t,(function(t,e){null!=t&&(Xm.hasClass(e)?e&&(a.push(e),o.set(e,!0)):n[e]=null==n[e]?ce(t):he(n[e],t,!0))})),s&&s.each((function(t,e){Xm.hasClass(e)&&!o.get(e)&&(a.push(e),o.set(e,!0))})),Xm.topologicalTravel(a,Xm.getAllClassMainTypes(),l,this),this._seriesIndices||_g(this)},e.prototype.getOption=function(){var t=ce(this.option);return Me(t,(function(e,n){if(Xm.hasClass(n)){for(var i=Bo(e),r=i.length,a=!1,o=r-1;o>=0;o--)i[o]&&!is(i[o])?a=!0:(i[o]=null,!a&&r--);i.length=r,t[n]=i}})),delete t[kg],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.getLocale=function(t){var e=this.getLocaleModel();return e.get(t)},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r<n.length;r++)if(n[r])return n[r]}},e.prototype.queryComponents=function(t){var e=t.mainType;if(!e)return[];var n,i=t.index,r=t.id,a=t.name,o=this._componentsMap.get(e);return o&&o.length?(null!=i?(n=[],Me(Bo(i),(function(t){o[t]&&n.push(o[t])}))):n=null!=r?Pg("id",r,o):null!=a?Pg("name",a,o):Le(o,(function(t){return!!t})),Og(n,t)):[]},e.prototype.findComponents=function(t){var e=t.query,n=t.mainType,i=a(e),r=i?this.queryComponents(i):Le(this._componentsMap.get(n),(function(t){return!!t}));return o(Og(r,t));function a(t){var e=n+"Index",i=n+"Id",r=n+"Name";return!t||null==t[e]&&null==t[i]&&null==t[r]?null:{mainType:n,index:t[e],id:t[i],name:t[r]}}function o(e){return t.filter?Le(e,t.filter):e}},e.prototype.eachComponent=function(t,e,n){var i=this._componentsMap;if(Ce(t)){var r=e,a=t;i.each((function(t,e){for(var n=0;t&&n<t.length;n++){var i=t[n];i&&a.call(r,e,i,i.componentIndex)}}))}else for(var o=Ae(t)?i.get(t):He(t)?this.findComponents(t):null,s=0;o&&s<o.length;s++){var l=o[s];l&&e.call(n,l,l.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=es(t,null);return Le(this._componentsMap.get("series"),(function(t){return!!t&&null!=e&&t.name===e}))},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return Le(this._componentsMap.get("series"),(function(e){return!!e&&e.subType===t}))},e.prototype.getSeries=function(){return Le(this._componentsMap.get("series").slice(),(function(t){return!!t}))},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){vg(this),Me(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)}),this)},e.prototype.eachRawSeries=function(t,e){Me(this._componentsMap.get("series"),(function(n){n&&t.call(e,n,n.componentIndex)}))},e.prototype.eachSeriesByType=function(t,e,n){vg(this),Me(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)}),this)},e.prototype.eachRawSeriesByType=function(t,e,n){return Me(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return vg(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){vg(this);var n=[];Me(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];t.call(e,r,i)&&n.push(i)}),this),this._seriesIndices=n,this._seriesIndicesMap=tn(n)},e.prototype.restoreData=function(t){_g(this);var e=this._componentsMap,n=[];e.each((function(t,e){Xm.hasClass(e)&&n.push(e)})),Xm.topologicalTravel(n,Xm.getAllClassMainTypes(),(function(n){Me(e.get(n),(function(e){!e||"series"===n&&Cg(e,t)||e.restoreData()}))}))},e.internalField=function(){_g=function(t){var e=t._seriesIndices=[];Me(t._componentsMap.get("series"),(function(t){t&&e.push(t.componentIndex)})),t._seriesIndicesMap=tn(e)},vg=function(t){0},xg=function(t,e){t.option={},t.option[kg]=Yg,t._componentsMap=tn({series:[]}),t._componentsCount=tn();var n=e.aria;He(n)&&null==n.enabled&&(n.enabled=!0),Ag(e,t._theme.option),he(e,$m,!1),t._mergeOption(e,null)}}(),e}(Mf);function Cg(t,e){if(e){var n=e.seriesIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}function Ag(t,e){var n=t.color&&!t.colorLayer;Me(e,(function(e,i){"colorLayer"===i&&n||Xm.hasClass(i)||("object"===typeof e?t[i]=t[i]?he(t[i],e,!1):ce(e):null==t[i]&&(t[i]=e))}))}function Pg(t,e,n){if(Ie(e)){var i=tn();return Me(e,(function(t){if(null!=t){var e=es(t,null);null!=e&&i.set(t,!0)}})),Le(n,(function(e){return e&&i.get(e[t])}))}var r=es(e,null);return Le(n,(function(e){return e&&null!=r&&e[t]===r}))}function Og(t,e){return e.hasOwnProperty("subType")?Le(t,(function(t){return t&&t.subType===e.subType})):t}function Hg(t){var e=tn();return t&&Me(Bo(t.replaceMerge),(function(t){e.set(t,!0)})),{replaceMergeMainTypeMap:e}}ve(Ig,wg);var Ng=Ig,Eg=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],Rg=function(){function t(t){Me(Eg,(function(e){this[e]=ke(t[e],t)}),this)}return t}(),zg=Rg,jg={},Bg=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];Me(jg,(function(i,r){var a=i.create(t,e);n=n.concat(a||[])})),this._coordinateSystems=n},t.prototype.update=function(t,e){Me(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){jg[t]=e},t.get=function(t){return jg[t]},t}(),Fg=Bg,Vg=/^(min|max)?(.+)$/,Wg=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&(Me(Bo(t.series),(function(t){t&&t.data&&Ee(t.data)&&Je(t.data)})),Me(Bo(t.dataset),(function(t){t&&t.source&&Ee(t.source)&&Je(t.source)}))),t=ce(t);var i=this._optionBackup,r=Gg(t,e,!i);this._newBaseOption=r.baseOption,i?(r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],ce(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=ce(n[i.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e=this._api.getWidth(),n=this._api.getHeight(),i=this._mediaList,r=this._mediaDefault,a=[],o=[];if(!i.length&&!r)return o;for(var s=0,l=i.length;s<l;s++)Ug(i[s].query,e,n)&&a.push(s);return!a.length&&r&&(a=[-1]),a.length&&!Zg(a,this._currentMediaIndices)&&(o=be(a,(function(t){return ce(-1===t?r.option:i[t].option)}))),this._currentMediaIndices=a,o},t}();function Gg(t,e,n){var i,r,a=[],o=t.baseOption,s=t.timeline,l=t.options,u=t.media,d=!!t.media,c=!!(l||s||o&&o.timeline);function h(t){Me(e,(function(e){e(t,n)}))}return o?(r=o,r.timeline||(r.timeline=s)):((c||d)&&(t.options=t.media=null),r=t),d&&Ie(u)&&Me(u,(function(t){t&&t.option&&(t.query?a.push(t):i||(i=t))})),h(r),Me(l,(function(t){return h(t)})),Me(a,(function(t){return h(t.option)})),{baseOption:r,timelineOptions:l||[],mediaDefault:i,mediaList:a}}function Ug(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return Me(t,(function(t,e){var n=e.match(Vg);if(n&&n[1]&&n[2]){var a=n[1],o=n[2].toLowerCase();Xg(i[o],t,a)||(r=!1)}})),r}function Xg(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e}function Zg(t,e){return t.join(",")===e.join(",")}var qg=Wg,$g=Me,Jg=He,Kg=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Qg(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=Kg.length;n<i;n++){var r=Kg[n],a=e.normal,o=e.emphasis;a&&a[r]&&(t[r]=t[r]||{},t[r].normal?he(t[r].normal,a[r]):t[r].normal=a[r],a[r]=null),o&&o[r]&&(t[r]=t[r]||{},t[r].emphasis?he(t[r].emphasis,o[r]):t[r].emphasis=o[r],o[r]=null)}}function ty(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e].normal,r=t[e].emphasis;i&&(n?(t[e].normal=t[e].emphasis=null,me(t[e],i)):t[e]=i),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function ey(t){ty(t,"itemStyle"),ty(t,"lineStyle"),ty(t,"areaStyle"),ty(t,"label"),ty(t,"labelLine"),ty(t,"upperLabel"),ty(t,"edgeLabel")}function ny(t,e){var n=Jg(t)&&t[e],i=Jg(n)&&n.textStyle;if(i){0;for(var r=0,a=Vo.length;r<a;r++){var o=Vo[r];i.hasOwnProperty(o)&&(n[o]=i[o])}}}function iy(t){t&&(ey(t),ny(t,"label"),t.emphasis&&ny(t.emphasis,"label"))}function ry(t){if(Jg(t)){Qg(t),ey(t),ny(t,"label"),ny(t,"upperLabel"),ny(t,"edgeLabel"),t.emphasis&&(ny(t.emphasis,"label"),ny(t.emphasis,"upperLabel"),ny(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(Qg(e),iy(e));var n=t.markLine;n&&(Qg(n),iy(n));var i=t.markArea;i&&iy(i);var r=t.data;if("graph"===t.type){r=r||t.nodes;var a=t.links||t.edges;if(a&&!Ee(a))for(var o=0;o<a.length;o++)iy(a[o]);Me(t.categories,(function(t){ey(t)}))}if(r&&!Ee(r))for(o=0;o<r.length;o++)iy(r[o]);if(e=t.markPoint,e&&e.data){var s=e.data;for(o=0;o<s.length;o++)iy(s[o])}if(n=t.markLine,n&&n.data){var l=n.data;for(o=0;o<l.length;o++)Ie(l[o])?(iy(l[o][0]),iy(l[o][1])):iy(l[o])}"gauge"===t.type?(ny(t,"axisLabel"),ny(t,"title"),ny(t,"detail")):"treemap"===t.type?(ty(t.breadcrumb,"itemStyle"),Me(t.levels,(function(t){ey(t)}))):"tree"===t.type&&ey(t.leaves)}}function ay(t){return Ie(t)?t:t?[t]:[]}function oy(t){return(Ie(t)?t[0]:t)||{}}function sy(t,e){$g(ay(t.series),(function(t){Jg(t)&&ry(t)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),$g(n,(function(e){$g(ay(t[e]),(function(t){t&&(ny(t,"axisLabel"),ny(t.axisPointer,"label"))}))})),$g(ay(t.parallel),(function(t){var e=t&&t.parallelAxisDefault;ny(e,"axisLabel"),ny(e&&e.axisPointer,"label")})),$g(ay(t.calendar),(function(t){ty(t,"itemStyle"),ny(t,"dayLabel"),ny(t,"monthLabel"),ny(t,"yearLabel")})),$g(ay(t.radar),(function(t){ny(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)})),$g(ay(t.geo),(function(t){Jg(t)&&(iy(t),$g(ay(t.regions),(function(t){iy(t)})))})),$g(ay(t.timeline),(function(t){iy(t),ty(t,"label"),ty(t,"itemStyle"),ty(t,"controlStyle",!0);var e=t.data;Ie(e)&&Me(e,(function(t){He(t)&&(ty(t,"label"),ty(t,"itemStyle"))}))})),$g(ay(t.toolbox),(function(t){ty(t,"iconStyle"),$g(t.feature,(function(t){ty(t,"iconStyle")}))})),ny(oy(t.axisPointer),"label"),ny(oy(t.tooltip).axisPointer,"label")}function ly(t,e){for(var n=e.split(","),i=t,r=0;r<n.length;r++)if(i=i&&i[n[r]],null==i)break;return i}function uy(t,e,n,i){for(var r,a=e.split(","),o=t,s=0;s<a.length-1;s++)r=a[s],null==o[r]&&(o[r]={}),o=o[r];(i||null==o[a[s]])&&(o[a[s]]=n)}function dy(t){t&&Me(cy,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var cy=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],hy=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],py=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function fy(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<py.length;n++){var i=py[n][1],r=py[n][0];null!=e[i]&&(e[r]=e[i])}}function my(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function gy(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function yy(t){t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency"))}function _y(t,e){if(t)for(var n=0;n<t.length;n++)e(t[n]),t[n]&&_y(t[n].children,e)}function vy(t,e){sy(t,e),t.series=Bo(t.series),Me(t.series,(function(t){if(He(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){null!=t.clockWise&&(t.clockwise=t.clockWise),my(t.label);var n=t.data;if(n&&!Ee(n))for(var i=0;i<n.length;i++)my(n[i]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if("gauge"===e){var r=ly(t,"pointer.color");null!=r&&uy(t,"itemStyle.color",r)}else if("bar"===e){fy(t),fy(t.backgroundStyle),fy(t.emphasis);n=t.data;if(n&&!Ee(n))for(i=0;i<n.length;i++)"object"===typeof n[i]&&(fy(n[i]),fy(n[i]&&n[i].emphasis))}else if("sunburst"===e){var a=t.highlightPolicy;a&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=a)),gy(t),_y(t.data,gy)}else"graph"===e||"sankey"===e?yy(t):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&me(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),dy(t)}})),t.dataRange&&(t.visualMap=t.dataRange),Me(hy,(function(e){var n=t[e];n&&(Ie(n)||(n=[n]),Me(n,(function(t){dy(t)})))}))}function xy(t){var e=tn();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),a={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!a.stackedDimension||!a.isStackedByIndex&&!a.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(a)}})),e.each(My)}function My(t){Me(t,(function(e,n){var i=[],r=[NaN,NaN],a=[e.stackResultDimension,e.stackedOverDimension],o=e.data,s=e.isStackedByIndex,l=o.map(a,(function(a,l,u){var d,c,h=o.get(e.stackedDimension,u);if(isNaN(h))return r;s?c=o.getRawIndex(u):d=o.get(e.stackedByDimension,u);for(var p=NaN,f=n-1;f>=0;f--){var m=t[f];if(s||(c=m.data.rawIndexOf(m.stackedByDimension,d)),c>=0){var g=m.data.getByRawIndex(m.stackResultDimension,c);if(h>=0&&g>0||h<=0&&g<0){h+=g,p=g;break}}}return i[0]=h,i[1]=p,i}));o.hostModel.setData(l),e.data=l}))}var by,wy,Ly,Sy,Dy,Ty=function(){function t(t){this.data=t.data||(t.sourceFormat===eg?{}:[]),this.sourceFormat=t.sourceFormat||ig,this.seriesLayoutBy=t.seriesLayoutBy||rg,this.startIndex=t.startIndex||0,this.dimensionsDefine=t.dimensionsDefine,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.encodeDefine=t.encodeDefine,this.metaRawOption=t.metaRawOption}return t}();function ky(t){return t instanceof Ty}function Yy(t,e,n,i){n=n||Py(t);var r=e.seriesLayoutBy,a=Oy(t,n,r,e.sourceHeader,e.dimensions),o=new Ty({data:t,sourceFormat:n,seriesLayoutBy:r,dimensionsDefine:a.dimensionsDefine,startIndex:a.startIndex,dimensionsDetectedCount:a.dimensionsDetectedCount,encodeDefine:Ay(i),metaRawOption:ce(e)});return o}function Iy(t){return new Ty({data:t,sourceFormat:Ee(t)?ng:Km})}function Cy(t){return new Ty({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:ce(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount,encodeDefine:Ay(t.encodeDefine)})}function Ay(t){return t?tn(t):null}function Py(t){var e=ig;if(Ee(t))e=ng;else if(Ie(t)){0===t.length&&(e=Qm);for(var n=0,i=t.length;n<i;n++){var r=t[n];if(null!=r){if(Ie(r)){e=Qm;break}if(He(r)){e=tg;break}}}}else if(He(t))for(var a in t)if(rn(t,a)&&xe(t[a])){e=eg;break}return e}function Oy(t,e,n,i,r){var a,o;if(!t)return{dimensionsDefine:Ny(r),startIndex:o,dimensionsDetectedCount:a};if(e===Qm){var s=t;"auto"===i||null==i?Ey((function(t){null!=t&&"-"!==t&&(Ae(t)?null==o&&(o=1):o=0)}),n,s,10):o=Oe(i)?i:i?1:0,r||1!==o||(r=[],Ey((function(t,e){r[e]=null!=t?t+"":""}),n,s,1/0)),a=r?r.length:n===ag?s.length:s[0]?s[0].length:null}else if(e===tg)r||(r=Hy(t));else if(e===eg)r||(r=[],Me(t,(function(t,e){r.push(e)})));else if(e===Km){var l=Wo(t[0]);a=Ie(l)&&l.length||1}return{startIndex:o,dimensionsDefine:Ny(r),dimensionsDetectedCount:a}}function Hy(t){var e,n=0;while(n<t.length&&!(e=t[n++]));if(e){var i=[];return Me(e,(function(t,e){i.push(e)})),i}}function Ny(t){if(t){var e=tn();return be(t,(function(t,n){t=He(t)?t:{name:t};var i={name:t.name,displayName:t.displayName,type:t.type};if(null==i.name)return i;i.name+="",null==i.displayName&&(i.displayName=i.name);var r=e.get(i.name);return r?i.name+="-"+r.count++:e.set(i.name,{count:1}),i}))}}function Ey(t,e,n,i){if(e===ag)for(var r=0;r<n.length&&r<i;r++)t(n[r]?n[r][0]:null,r);else{var a=n[0]||[];for(r=0;r<a.length&&r<i;r++)t(a[r],r)}}var Ry=function(){function t(t,e){var n=ky(t)?t:Iy(t);this._source=n;var i=this._data=n.data;n.sourceFormat===ng&&(this._offset=0,this._dimSize=e,this._data=i),Dy(this,i,n)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(t,e){},t.prototype.appendData=function(t){},t.prototype.clean=function(){},t.protoInitialize=function(){var e=t.prototype;e.pure=!1,e.persistent=!0}(),t.internalField=function(){var t;Dy=function(t,r,a){var o=a.sourceFormat,s=a.seriesLayoutBy,l=a.startIndex,u=a.dimensionsDefine,d=Sy[Zy(o,s)];if(fe(t,d),o===ng)t.getItem=e,t.count=i,t.fillStorage=n;else{var c=By(o,s);t.getItem=ke(c,null,r,l,u);var h=Wy(o,s);t.count=ke(h,null,r,l,u)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,r=i*t,a=0;a<i;a++)e[a]=n[r+a];return e},n=function(t,e,n,i){for(var r=this._data,a=this._dimSize,o=0;o<a;o++){for(var s=i[o],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],d=e-t,c=n[o],h=0;h<d;h++){var p=r[h*a+o];c[t+h]=p,p<l&&(l=p),p>u&&(u=p)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}t={},t[Qm+"_"+rg]={pure:!0,appendData:r},t[Qm+"_"+ag]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[tg]={pure:!0,appendData:r},t[eg]={pure:!0,appendData:function(t){var e=this._data;Me(t,(function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])}))}},t[Km]={appendData:r},t[ng]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},Sy=t}(),t}(),zy=function(t,e,n,i){return t[i]},jy=(by={},by[Qm+"_"+rg]=function(t,e,n,i){return t[i+e]},by[Qm+"_"+ag]=function(t,e,n,i){i+=e;for(var r=[],a=t,o=0;o<a.length;o++){var s=a[o];r.push(s?s[i]:null)}return r},by[tg]=zy,by[eg]=function(t,e,n,i){for(var r=[],a=0;a<n.length;a++){var o=n[a].name;0;var s=t[o];r.push(s?s[i]:null)}return r},by[Km]=zy,by);function By(t,e){var n=jy[Zy(t,e)];return n}var Fy=function(t,e,n){return t.length},Vy=(wy={},wy[Qm+"_"+rg]=function(t,e,n){return Math.max(0,t.length-e)},wy[Qm+"_"+ag]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},wy[tg]=Fy,wy[eg]=function(t,e,n){var i=n[0].name;var r=t[i];return r?r.length:0},wy[Km]=Fy,wy);function Wy(t,e){var n=Vy[Zy(t,e)];return n}var Gy=function(t,e,n){return null!=e?t[e]:t},Uy=(Ly={},Ly[Qm]=Gy,Ly[tg]=function(t,e,n){return null!=e?t[n]:t},Ly[eg]=Gy,Ly[Km]=function(t,e,n){var i=Wo(t);return null!=e&&i instanceof Array?i[e]:i},Ly[ng]=Gy,Ly);function Xy(t){var e=Uy[t];return e}function Zy(t,e){return t===Qm?t+"_"+e:t}function qy(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r,a,o=t.getProvider().getSource().sourceFormat,s=t.getDimensionInfo(n);return s&&(r=s.name,a=s.index),Xy(o)(i,a,r)}}}var $y=/\{@(.+?)\}/g,Jy=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),a=n.getName(t),o=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,d=this.mainType,c="series"===d,h=n.userOutput;return{componentType:d,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:c?this.subType:null,seriesIndex:this.seriesIndex,seriesId:c?this.id:null,seriesName:c?this.name:null,name:a,dataIndex:r,data:o,dataType:e,value:i,color:l,borderColor:u,dimensionNames:h?h.dimensionNames:null,encode:h?h.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,i,r,a){e=e||"normal";var o=this.getData(n),s=this.getDataParams(t,n);if(a&&(s.value=a.interpolatedValue),null!=i&&Ie(s.value)&&(s.value=s.value[i]),!r){var l=o.getItemModel(t);r=l.get("normal"===e?["label","formatter"]:[e,"label","formatter"])}if("function"===typeof r)return s.status=e,s.dimensionIndex=i,r(s);if("string"===typeof r){var u=Dm(r,s);return u.replace($y,(function(e,n){var i=n.length,r="["===n.charAt(0)&&"]"===n.charAt(i-1)?+n.slice(1,i-1):n,s=qy(o,t,r);if(a&&Ie(a.interpolatedValue)){var l=o.getDimensionInfo(r);l&&(s=a.interpolatedValue[l.index])}return null!=s?s+"":""}))}},t.prototype.getRawValue=function(t,e){return qy(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function Ky(t){var e,n;return He(t)?t.type&&(n=t):e=t,{markupText:e,markupFragment:n}}function Qy(t){return new t_(t)}var t_=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var a,o=d(this._modBy),s=this._modDataCount||0,l=d(t&&t.modBy),u=t&&t.modDataCount||0;function d(t){return!(t>=1)&&(t=1),t}o===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,a=this._doReset(i)),this._modBy=l,this._modDataCount=u;var c=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var h=this._dueIndex,p=Math.min(null!=c?this._dueIndex+c:1/0,this._dueEnd);if(!i&&(a||h<p)){var f=this._progress;if(Ie(f))for(var m=0;m<f.length;m++)this._doProgress(f[m],h,p,l,u);else this._doProgress(f,h,p,l,u)}this._dueIndex=p;var g=null!=this._settedOutputEnd?this._settedOutputEnd:p;0,this._outputDueEnd=g}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,i,r){e_.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:e_.next},this.context)},t.prototype._doReset=function(t){var e,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&(e=this._reset(this.context),e&&e.progress&&(n=e.forceFirstProgress,e=e.progress),Ie(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var i=this._downstream;return i&&i.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),e_=function(){var t,e,n,i,r,a={reset:function(l,u,d,c){e=l,t=u,n=d,i=c,r=Math.ceil(i/n),a.next=n>1&&i>0?s:o}};return a;function o(){return e<t?e++:null}function s(){var a=e%r*n+Math.ceil(e/r),o=e>=t?null:a<i?a:e;return e++,o}}();"undefined"!==typeof console&&console.warn&&console.log;function n_(t){0}function i_(t){throw new Error(t)}function r_(t,e){var n=e&&e.type;if("ordinal"===n){var i=e&&e.ordinalMeta;return i?i.parseAndCollect(t):t}return"time"===n&&"number"!==typeof t&&null!=t&&"-"!==t&&(t=+ko(t)),null==t||""===t?NaN:+t}var a_=tn({number:function(t){return parseFloat(t)},time:function(t){return+ko(t)},trim:function(t){return"string"===typeof t?qe(t):t}});function o_(t){return a_.get(t)}var s_={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},l_=function(){function t(t,e){if("number"!==typeof e){var n="";0,i_(n)}this._opFn=s_[t],this._rvalFloat=Oo(e)}return t.prototype.evaluate=function(t){return"number"===typeof t?this._opFn(t,this._rvalFloat):this._opFn(Oo(t),this._rvalFloat)},t}(),u_=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=typeof t,i=typeof e,r="number"===n?t:Oo(t),a="number"===i?e:Oo(e),o=isNaN(r),s=isNaN(a);if(o&&(r=this._incomparable),s&&(a=this._incomparable),o&&s){var l="string"===n,u="string"===i;l&&(r=u?t:0),u&&(a=l?e:0)}return r<a?this._resultLT:r>a?-this._resultLT:0},t}(),d_=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=Oo(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=Oo(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function c_(t,e){return"eq"===t||"ne"===t?new d_("eq"===t,e):rn(s_,t)?new l_(t,e):null}var h_=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return r_(t,e)},t}();function p_(t,e){var n=new h_,i=t.data,r=n.sourceFormat=t.sourceFormat,a=t.startIndex,o="";t.seriesLayoutBy!==rg&&i_(o);var s=[],l={},u=t.dimensionsDefine;if(u)Me(u,(function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};if(s.push(i),null!=n){var r="";rn(l,n)&&i_(r),l[n]=i}}));else for(var d=0;d<t.dimensionsDetectedCount;d++)s.push({index:d});var c=By(r,rg);e.__isBuiltIn&&(n.getRawDataItem=function(t){return c(i,a,s,t)},n.getRawData=ke(f_,null,t)),n.cloneRawData=ke(m_,null,t);var h=Wy(r,rg);n.count=ke(h,null,i,a,s);var p=Xy(r);n.retrieveValue=function(t,e){var n=c(i,a,s,t);return f(n,e)};var f=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=s[e];return n?p(t,e,n.name):void 0}};return n.getDimensionInfo=ke(g_,null,s,l),n.cloneAllDimensionInfo=ke(y_,null,s),n}function f_(t){var e=t.sourceFormat;if(!b_(e)){var n="";0,i_(n)}return t.data}function m_(t){var e=t.sourceFormat,n=t.data;if(!b_(e)){var i="";0,i_(i)}if(e===Qm){for(var r=[],a=0,o=n.length;a<o;a++)r.push(n[a].slice());return r}if(e===tg){for(r=[],a=0,o=n.length;a<o;a++)r.push(fe({},n[a]));return r}}function g_(t,e,n){if(null!=n)return"number"===typeof n||!isNaN(n)&&!rn(e,n)?t[n]:rn(e,n)?e[n]:void 0}function y_(t){return ce(t)}var __=tn();function v_(t){t=ce(t);var e=t.type,n="";e||i_(n);var i=e.split(":");2!==i.length&&i_(n);var r=!1;"echarts"===i[0]&&(e=i[1],r=!0),t.__isBuiltIn=r,__.set(e,t)}function x_(t,e,n){var i=Bo(t),r=i.length,a="";r||i_(a);for(var o=0,s=r;o<s;o++){var l=i[o];e=M_(l,e,n,1===r?null:o),o!==s-1&&(e.length=Math.max(e.length,1))}return e}function M_(t,e,n,i){var r="";e.length||i_(r),He(t)||i_(r);var a=t.type,o=__.get(a);o||i_(r);var s=be(e,(function(t){return p_(t,o)})),l=Bo(o.transform({upstream:s[0],upstreamList:s,config:ce(t.config)}));return be(l,(function(t,n){var i="";He(t)||i_(i),t.data||i_(i);var r,a=Py(t.data);b_(a)||i_(i);var o=e[0];if(o&&0===n&&!t.dimensions){var s=o.startIndex;s&&(t.data=o.data.slice(0,s).concat(t.data)),r={seriesLayoutBy:rg,sourceHeader:s,dimensions:o.metaRawOption.dimensions}}else r={seriesLayoutBy:rg,sourceHeader:0,dimensions:t.dimensions};return Yy(t.data,r,null,null)}))}function b_(t){return t===Qm||t===tg}var w_=function(){function t(t){this._sourceList=[],this._upstreamSignList=[],this._versionSignBase=0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[])},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&this._createSource()},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(S_(n)){var a=n,o=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),l=u.getSource(),o=l.data,s=l.sourceFormat,e=[u._getVersionSign()]}else o=a.get("data",!0),s=Ee(o)?ng:Km,e=[];var d=this._getSourceMetaRawOption(),c=l?l.metaRawOption:null,h=We(d.seriesLayoutBy,c?c.seriesLayoutBy:null),p=We(d.sourceHeader,c?c.sourceHeader:null),f=We(d.dimensions,c?c.dimensions:null);t=[Yy(o,{seriesLayoutBy:h,sourceHeader:p,dimensions:f},s,a.get("encode",!0))]}else{var m=n;if(r){var g=this._applyTransform(i);t=g.sourceList,e=g.upstreamSignList}else{var y=m.get("source",!0);t=[Yy(y,this._getSourceMetaRawOption(),null,null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);if(null!=r){var a="";1!==t.length&&D_(a)}var o=[],s=[];return Me(t,(function(t){t.prepareSource();var e=t.getSource(r||0),n="";null==r||e||D_(n),o.push(e),s.push(t._getVersionSign())})),i?e=x_(i,o,{datasetIndex:n.componentIndex}):null!=r&&(e=[Cy(o[0])]),{sourceList:e,upstreamSignList:s}},t.prototype._isDirty=function(){var t=this._sourceList;if(!t.length)return!0;for(var e=this._getUpstreamSourceManagers(),n=0;n<e.length;n++){var i=e[n];if(i._isDirty()||this._upstreamSignList[n]!==i._getVersionSign())return!0}},t.prototype.getSource=function(t){return this._sourceList[t||0]},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(S_(t)){var e=cg(t);return e?[e.getSourceManager()]:[]}return be(hg(t),(function(t){return t.getSourceManager()}))},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;if(S_(i))t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var r=i;t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),n=r.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function L_(t){var e=t.option.transform;e&&Je(t.option.transform)}function S_(t){return"series"===t.mainType}function D_(t){throw new Error(t)}var T_="line-height:1";function k_(t,e){var n=t.color||"#6e7079",i=t.fontSize||12,r=t.fontWeight||"400",a=t.color||"#464646",o=t.fontSize||14,s=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+bm(i+"")+"px;color:"+bm(n)+";font-weight:"+bm(r+""),valueStyle:"font-size:"+bm(o+"")+"px;color:"+bm(a)+";font-weight:"+bm(s+"")}:{nameStyle:{fontSize:i,fill:n,fontWeight:r},valueStyle:{fontSize:o,fill:a,fontWeight:s}}}var Y_=[0,10,20,30],I_=["","\n","\n\n","\n\n\n"];function C_(t,e){return e.type=t,e}function A_(t){return rn(P_,t.type)&&P_[t.type]}var P_={section:{planLayout:function(t){var e=t.blocks.length,n=e>1||e>0&&!t.noHeader,i=0;Me(t.blocks,(function(t){A_(t).planLayout(t);var e=t.__gapLevelBetweenSubBlocks;e>=i&&(i=e+(!n||e&&("section"!==t.type||t.noHeader)?0:1))})),t.__gapLevelBetweenSubBlocks=i},build:function(t,e,n,i){var r=e.noHeader,a=N_(e),o=O_(t,e,r?n:a.html,i);if(r)return o;var s=wm(e.header,"ordinal",t.useUTC),l=k_(i,t.renderMode).nameStyle;return"richText"===t.renderMode?j_(t,s,l)+a.richText+o:E_('<div style="'+l+";"+T_+';">'+bm(s)+"</div>"+o,n)}},nameValue:{planLayout:function(t){t.__gapLevelBetweenSubBlocks=0},build:function(t,e,n,i){var r=t.renderMode,a=e.noName,o=e.noValue,s=!e.markerType,l=e.name,u=e.value,d=t.useUTC;if(!a||!o){var c=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),h=a?"":wm(l,"ordinal",d),p=e.valueType,f=o?[]:Ie(u)?be(u,(function(t,e){return wm(t,Ie(p)?p[e]:p,d)})):[wm(u,Ie(p)?p[0]:p,d)],m=!s||!a,g=!s&&a,y=k_(i,r),_=y.nameStyle,v=y.valueStyle;return"richText"===r?(s?"":c)+(a?"":j_(t,h,_))+(o?"":B_(t,f,m,g,v)):E_((s?"":c)+(a?"":R_(h,!s,_))+(o?"":z_(f,m,g,v)),n)}}}};function O_(t,e,n,i){var r=[],a=e.blocks||[];Ze(!a||Ie(a)),a=a||[];var o=t.orderMode;if(e.sortBlocks&&o){a=a.slice();var s={valueAsc:"asc",valueDesc:"desc"};if(rn(s,o)){var l=new u_(s[o],null);a.sort((function(t,e){return l.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===o&&a.reverse()}var u=N_(e);if(Me(a,(function(e,n){var a=A_(e).build(t,e,n>0?u.html:0,i);null!=a&&r.push(a)})),r.length)return"richText"===t.renderMode?r.join(u.richText):E_(r.join(""),n)}function H_(t,e,n,i,r,a){if(t){var o=A_(t);o.planLayout(t);var s={useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e};return o.build(s,t,0,a)}}function N_(t){var e=t.__gapLevelBetweenSubBlocks;return{html:Y_[e],richText:I_[e]}}function E_(t,e){var n='<div style="clear:both"></div>',i="margin: "+e+"px 0 0";return'<div style="'+i+";"+T_+';">'+t+n+"</div>"}function R_(t,e,n){var i=e?"margin-left:2px":"";return'<span style="'+n+";"+i+'">'+bm(t)+"</span>"}function z_(t,e,n,i){var r=n?"10px":"20px",a=e?"float:right;margin-left:"+r:"";return'<span style="'+a+";"+i+'">'+be(t,(function(t){return bm(t)})).join("&nbsp;&nbsp;")+"</span>"}function j_(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function B_(t,e,n,i,r){var a=[r],o=i?10:20;return n&&a.push({padding:[0,0,0,o],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(e.join(" "),a)}function F_(t,e){var n=t.getData().getItemVisual(e,"style"),i=n[t.visualDrawType];return Ym(i)}function V_(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var W_=function(){function t(){this.richTextStyles={},this._nextStyleNameId=No()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=km({color:e,type:t,renderMode:n,markerId:i});return Ae(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};Ie(e)?Me(e,(function(t){return fe(n,t)})):fe(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function G_(t){var e,n,i,r,a=t.series,o=t.dataIndex,s=t.multipleSeries,l=a.getData(),u=l.mapDimensionsAll("defaultedTooltip"),d=u.length,c=a.getRawValue(o),h=Ie(c),p=F_(a,o);if(d>1||h&&!d){var f=U_(c,a,o,u,p);e=f.inlineValues,n=f.inlineValueTypes,i=f.blocks,r=f.inlineValues[0]}else if(d){var m=l.getDimensionInfo(u[0]);r=e=qy(l,o,u[0]),n=m.type}else r=e=h?c[0]:c;var g=ns(a),y=g&&a.name||"",_=l.getName(o),v=s?y:_;return C_("section",{header:y,noHeader:s||!g,sortParam:r,blocks:[C_("nameValue",{markerType:"item",markerColor:p,name:v,noName:!qe(v),value:e,valueType:n})].concat(i||[])})}function U_(t,e,n,i,r){var a=e.getData(),o=we(t,(function(t,e,n){var i=a.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),s=[],l=[],u=[];function d(t,e){var n=a.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(o?u.push(C_("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?Me(i,(function(t){d(qy(a,n,t),t)})):Me(t,d),{inlineValues:s,inlineValueTypes:l,blocks:u}}var X_=us();function Z_(t,e){return t.getName(e)||t.getId(e)}var q_=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return Vt(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=Qy({count:K_,reset:Q_}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n);var i=X_(this).sourceManager=new w_(this);i.prepareSource();var r=this.getInitialData(t,n);ev(r,this),this.dataTask.context.data=r,X_(this).dataBeforeProcessed=r,$_(this),this._initSelectedMapFromData(r)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=jm(this),i=n?Fm(t):{},r=this.subType;Xm.hasClass(r)&&(r+="Series"),he(t,e.getTheme().get(this.subType)),he(t,this.getDefaultOption()),Fo(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Bm(t,i,n)},e.prototype.mergeOption=function(t,e){t=he(this.option,t,!0),this.fillDataTextStyle(t.data);var n=jm(this);n&&Bm(this.option,t,n);var i=X_(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);ev(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,X_(this).dataBeforeProcessed=r,$_(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!Ee(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&Fo(t[n],"label",e)},e.prototype.getInitialData=function(t,e){},e.prototype.appendData=function(t){var e=this.getRawData();e.appendData(t.data)},e.prototype.getData=function(t){var e=iv(this);if(e){var n=e.context.data;return null==t?n:n.getLinkedData(t)}return X_(this).data},e.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},e.prototype.setData=function(t){var e=iv(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}X_(this).data=t},e.prototype.getSource=function(){return X_(this).sourceManager.getSource()},e.prototype.getRawData=function(){return X_(this).dataBeforeProcessed},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.formatTooltip=function(t,e,n){return G_({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){if($t.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),!!t},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=wg.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n)for(var i=this.getData(e),r=0;r<t.length;r++){var a=t[r],o=Z_(i,a);n[o]=!1,this._selectedDataIndicesMap[o]=-1}},e.prototype.toggleSelect=function(t,e){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],e)?this.unselect(n,e):this.select(n,e)},e.prototype.getSelectedDataIndices=function(){for(var t=this._selectedDataIndicesMap,e=De(t),n=[],i=0;i<e.length;i++){var r=t[e[i]];r>=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e),r=Z_(i,t);return n[r]||!1},e.prototype._innerSelect=function(t,e){var n,i,r=this.option.selectedMode,a=e.length;if(r&&a)if("multiple"===r)for(var o=this.option.selectedMap||(this.option.selectedMap={}),s=0;s<a;s++){var l=e[s],u=Z_(t,l);o[u]=!0,this._selectedDataIndicesMap[u]=t.getRawIndex(l)}else if("single"===r||!0===r){var d=e[a-1];u=Z_(t,d);this.option.selectedMap=(n={},n[u]=!0,n),this._selectedDataIndicesMap=(i={},i[u]=t.getRawIndex(d),i)}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each((function(n){var i=t.getRawDataItem(n);"object"===typeof i&&i.selected&&e.push(n)})),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return Xm.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.useColorPaletteOnData=!1,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(Xm);function $_(t){var e=t.name;ns(t)||(t.name=J_(t)||e)}function J_(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return Me(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}function K_(t){return t.model.getRawData().count()}function Q_(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),tv}function tv(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function ev(t,e){Me(Gt(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,Ye(nv,e))}))}function nv(t,e){var n=iv(t);return n&&n.setOutputEnd((e||this).count()),e}function iv(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}ve(q_,Jy),ve(q_,wg),ks(q_,Xm);var rv=q_,av=function(){function t(){this.group=new ro,this.uid=wf("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.blurSeries=function(t,e){},t}();Ds(av),Ps(av);var ov=av;function sv(){var t=us();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,a=!!n.progressiveRender,o=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===o&&a===s)&&"reset"}}var lv=us(),uv=sv(),dv=function(){function t(){this.group=new ro,this.uid=wf("viewChart"),this.renderTask=Qy({plan:pv,reset:fv}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.highlight=function(t,e,n,i){hv(t.getData(),i,"emphasis")},t.prototype.downplay=function(t,e,n,i){hv(t.getData(),i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.markUpdateMethod=function(t,e){lv(t).updateMethod=e},t.protoInitialize=function(){var e=t.prototype;e.type="chart"}(),t}();function cv(t,e,n){t&&("emphasis"===e?sc:lc)(t,n)}function hv(t,e,n){var i=ls(t,e),r=e&&null!=e.highlightKey?Tc(e.highlightKey):null;null!=i?Me(Bo(i),(function(e){cv(t.getItemGraphicEl(e),n,r)})):t.eachItemGraphicEl((function(t){cv(t,n,r)}))}function pv(t){return uv(t.model)}function fv(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,a=e.pipelineContext.progressiveRender,o=t.view,s=r&&lv(r).updateMethod,l=a?"incrementalPrepareRender":s&&o[s]?s:"render";return"render"!==l&&o[l](e,n,i,r),mv[l]}Ds(dv,["dispose"]),Ps(dv);var mv={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},gv=dv,yv="\0__throttleOriginMethod",_v="\0__throttleRate",vv="\0__throttleType";function xv(t,e,n){var i,r,a,o,s,l=0,u=0,d=null;function c(){u=(new Date).getTime(),d=null,t.apply(a,o||[])}e=e||0;var h=function(){for(var t=[],h=0;h<arguments.length;h++)t[h]=arguments[h];i=(new Date).getTime(),a=this,o=t;var p=s||e,f=s||n;s=null,r=i-(f?l:u)-p,clearTimeout(d),f?d=setTimeout(c,p):r>=0?c():d=setTimeout(c,-r),l=i};return h.clear=function(){d&&(clearTimeout(d),d=null)},h.debounceNextCall=function(t){s=t},h}function Mv(t,e,n,i){var r=t[e];if(r){var a=r[yv]||r,o=r[vv],s=r[_v];if(s!==n||o!==i){if(null==n||!i)return t[e]=a;r=t[e]=xv(a,n,"debounce"===i),r[yv]=a,r[vv]=i,r[_v]=n}return r}}function bv(t,e){var n=t[e];n&&n[yv]&&(t[e]=n[yv])}var wv=us(),Lv={itemStyle:Os(yf,!0),lineStyle:Os(ff,!0)},Sv={lineStyle:"stroke",itemStyle:"fill"};function Dv(t,e){var n=t.visualStyleMapper||Lv[e];return n||(console.warn("Unkown style type '"+e+"'."),Lv.itemStyle)}function Tv(t,e){var n=t.visualDrawType||Sv[e];return n||(console.warn("Unkown style type '"+e+"'."),"fill")}var kv={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),a=Dv(t,i),o=a(r),s=r.getShallow("decal");s&&(n.setVisual("decal",s),s.dirty=!0);var l=Tv(t,i),u=o[l],d=Ce(u)?u:null;if(o[l]&&!d||(o[l]=t.getColorFromPalette(t.name,null,e.getSeriesCount()),n.setVisual("colorFromPalette",!0)),n.setVisual("style",o),n.setVisual("drawType",l),!e.isSeriesFiltered(t)&&d)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=fe({},o);r[l]=d(i),e.setItemVisual(n,"style",r)}}}},Yv=new Mf,Iv={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=Dv(t,i),a=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){Yv.option=n[i];var o=r(Yv),s=t.ensureUniqueItemVisual(e,"style");fe(s,o),Yv.option.decal&&(t.setItemVisual(e,"decal",Yv.option.decal),Yv.option.decal.dirty=!0),a in o&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},Cv={performRawSeries:!0,overallReset:function(t){var e=tn();t.eachSeries((function(t){if(t.useColorPaletteOnData){var n=e.get(t.type);n||(n={},e.set(t.type,n)),wv(t).scope=n}})),t.eachSeries((function(e){if(e.useColorPaletteOnData&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),a=wv(e).scope,o=e.visualStyleAccessPath||"itemStyle",s=Tv(e,o);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var o=i[t],l=r.getItemVisual(o,"colorFromPalette");if(l){var u=r.ensureUniqueItemVisual(o,"style"),d=n.getName(t)||t+"",c=n.count();u[s]=e.getColorFromPalette(d,a,c)}}))}}))}},Av=Math.PI;function Pv(t,e){e=e||{},me(e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new ro,i=new ud({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,a=new wd({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily}}),o=new ud({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(o),e.showSpinner&&(r=new Uh({shape:{startAngle:-Av/2,endAngle:-Av/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),r.animateShape(!0).when(1e3,{endAngle:3*Av/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*Av/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=a.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),o.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}var Ov=function(){function t(t,e,n,i){this._stageTaskMap=tn(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex,a=r?n.step:null,o=i&&i.modDataCount,s=null!=o?Math.ceil(o/a):null;return{step:a,modBy:s,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData(),r=i.count(),a=n.progressiveEnabled&&e.incrementalPrepareRender&&r>=n.threshold,o=t.get("large")&&r>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?r:null;t.pipelineContext=n.context={progressiveRender:a,modDataCount:s,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=tn();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;Me(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{}),a="";Ze(!(i.reset&&i.overallReset),a),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,a=r.context;a.model=e,a.ecModel=n,a.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,a=this;function o(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}Me(t,(function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=a._stageTaskMap.get(t.uid),u=l.seriesTaskMap,d=l.overallTask;if(d){var c,h=d.agentStubMap;h.each((function(t){o(i,t)&&(t.dirty(),c=!0)})),c&&d.dirty(),a.updatePayload(d,n);var p=a.getPerformArgs(d,i.block);h.each((function(t){t.perform(p)})),d.perform(p)&&(r=!0)}else u&&u.each((function(s,l){o(i,s)&&s.dirty();var u=a.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),a.updatePayload(s,n),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,a=e.seriesTaskMap,o=e.seriesTaskMap=tn(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=o.set(s,a&&a.get(s)||Qy({plan:zv,reset:jv,count:Vv}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,a=e.overallTask=e.overallTask||Qy({reset:Hv});a.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var o=a.agentStubMap,s=a.agentStubMap=tn(),l=t.seriesType,u=t.getTargetSeries,d=!0,c=!1,h="";function p(t){var e=t.uid,n=s.set(e,o&&o.get(e)||(c=!0,Qy({reset:Nv,onDirty:Rv})));n.context={model:t,overallProgress:d},n.agent=a,n.__block=d,r._pipe(t,n)}Ze(!t.createOnAllSeries,h),l?n.eachRawSeriesByType(l,p):u?u(n,i).each(p):(d=!1,Me(n.getSeries(),p)),c&&a.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return Ce(t)&&(t={overallReset:t,seriesType:Wv(t)}),t.uid=wf("stageHandler"),e&&(t.visualType=e),t},t}();function Hv(t){t.overallReset(t.ecModel,t.api,t.payload)}function Nv(t){return t.overallProgress&&Ev}function Ev(){this.agent.dirty(),this.getDownstream().dirty()}function Rv(){this.agent&&this.agent.dirty()}function zv(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function jv(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Bo(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?be(e,(function(t,e){return Fv(e)})):Bv}var Bv=Fv(0);function Fv(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var a=e.start;a<e.end;a++)r.dataEach(i,a);else r&&r.progress&&r.progress(e,i)}}function Vv(t){return t.data.count()}function Wv(t){Gv=null;try{t(Uv,Xv)}catch(e){}return Gv}var Gv,Uv={},Xv={};function Zv(t,e){for(var n in e.prototype)t[n]=an}Zv(Uv,Ng),Zv(Xv,zg),Uv.eachSeriesByType=Uv.eachRawSeriesByType=function(t){Gv=t},Uv.eachComponent=function(t){"series"===t.mainType&&t.subType&&(Gv=t.subType)};var qv=Ov,$v=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],Jv={color:$v,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],$v]},Kv="#B9B8CE",Qv="#100C2A",tx=function(){return{axisLine:{lineStyle:{color:Kv}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},ex=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],nx={darkMode:!0,color:ex,backgroundColor:Qv,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Kv}},textStyle:{color:Kv},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Kv}},dataZoom:{borderColor:"#71708A",textStyle:{color:Kv},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:Kv}},timeline:{lineStyle:{color:Kv},label:{color:Kv},controlStyle:{color:Kv,borderColor:Kv}},calendar:{itemStyle:{color:Qv},dayLabel:{color:Kv},monthLabel:{color:Kv},yearLabel:{color:Kv}},timeAxis:tx(),logAxis:tx(),valueAxis:tx(),categoryAxis:tx(),line:{symbol:"circle"},graph:{color:ex},gauge:{title:{color:Kv},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Kv},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};nx.categoryAxis.splitLine.show=!1;var ix=nx;function rx(t){if(Ae(t)){var e=new DOMParser;t=e.parseFromString(t,"text/xml")}var n=t;9===n.nodeType&&(n=n.firstChild);while("svg"!==n.nodeName.toLowerCase()||1!==n.nodeType)n=n.nextSibling;return n}var ax=tn(),ox={registerMap:function(t,e,n){var i;if(Ie(e))i=e;else if(e.svg)i=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}];else{var r=e.geoJson||e.geoJSON;r&&!e.features&&(n=e.specialAreas,e=r),i=[{type:"geoJSON",source:e,specialAreas:n}]}return Me(i,(function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON");var n=sx[e];n(t)})),ax.set(t,i)},retrieveMap:function(t){return ax.get(t)}},sx={geoJSON:function(t){var e=t.source;t.geoJSON=Ae(e)?"undefined"!==typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=rx(t.source)}},lx=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},i={};if(Ae(t)){var r=ws(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var a=["Index","Name","Id"],o={name:1,dataIndex:1,dataType:1};Me(t,(function(t,r){for(var s=!1,l=0;l<a.length;l++){var u=a[l],d=r.lastIndexOf(u);if(d>0&&d===r.length-u.length){var c=r.slice(0,d);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}o.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,a=n.model,o=n.view;if(!a||!o)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,a,"mainType")&&u(s,a,"subType")&&u(s,a,"index","componentIndex")&&u(s,a,"name")&&u(s,a,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!o.filterForExposedEvent||o.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),ux={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendSymbol&&n.setVisual("legendSymbol",t.legendSymbol),t.hasSymbolVisual){var i=t.get("symbol"),r=t.get("symbolSize"),a=t.get("symbolKeepAspect"),o=t.get("symbolRotate"),s=Ce(i),l=Ce(r),u=Ce(o),d=s||l||u,c=!s&&i?i:t.defaultSymbol,h=l?null:r,p=u?null:o;if(n.setVisual({legendSymbol:t.legendSymbol||c,symbol:c,symbolSize:h,symbolKeepAspect:a,symbolRotate:p}),!e.isSeriesFiltered(t))return{dataEach:d?f:null}}function f(e,n){var a=t.getRawValue(n),d=t.getDataParams(n);s&&e.setItemVisual(n,"symbol",i(a,d)),l&&e.setItemVisual(n,"symbolSize",r(a,d)),u&&e.setItemVisual(n,"symbolRotate",o(a,d))}}},dx={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t)){var n=t.getData();return{dataEach:n.hasItemOption?i:null}}function i(t,e){var n=t.getItemModel(e),i=n.getShallow("symbol",!0),r=n.getShallow("symbolSize",!0),a=n.getShallow("symbolRotate",!0),o=n.getShallow("symbolKeepAspect",!0);null!=i&&t.setItemVisual(e,"symbol",i),null!=r&&t.setItemVisual(e,"symbolSize",r),null!=a&&t.setItemVisual(e,"symbolRotate",a),null!=o&&t.setItemVisual(e,"symbolKeepAspect",o)}}};function cx(t,e,n){switch(n){case"color":var i=t.getItemVisual(e,"style");return i[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n);default:0}}function hx(t,e){switch(e){case"color":var n=t.getVisual("style");return n[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e);default:0}}function px(t,e,n,i){switch(n){case"color":var r=t.ensureUniqueItemVisual(e,"style");r[t.getVisual("drawType")]=i,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=i;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,i);break;default:0}}var fx=2*Math.PI,mx=xu.CMD,gx=["top","right","bottom","left"];function yx(t,e,n,i,r){var a=n.width,o=n.height;switch(t){case"top":i.set(n.x+a/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+a/2,n.y+o+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+o/2),r.set(-1,0);break;case"right":i.set(n.x+a+e,n.y+o/2),r.set(1,0);break}}function _x(t,e,n,i,r,a,o,s,l){o-=t,s-=e;var u=Math.sqrt(o*o+s*s);o/=u,s/=u;var d=o*n+t,c=s*n+e;if(Math.abs(i-r)%fx<1e-4)return l[0]=d,l[1]=c,u-n;if(a){var h=i;i=Su(r),r=Su(h)}else i=Su(i),r=Su(r);i>r&&(r+=fx);var p=Math.atan2(s,o);if(p<0&&(p+=fx),p>=i&&p<=r||p+fx>=i&&p+fx<=r)return l[0]=d,l[1]=c,u-n;var f=n*Math.cos(i)+t,m=n*Math.sin(i)+e,g=n*Math.cos(r)+t,y=n*Math.sin(r)+e,_=(f-o)*(f-o)+(m-s)*(m-s),v=(g-o)*(g-o)+(y-s)*(y-s);return _<v?(l[0]=f,l[1]=m,Math.sqrt(_)):(l[0]=g,l[1]=y,Math.sqrt(v))}function vx(t,e,n,i,r,a,o,s){var l=r-t,u=a-e,d=n-t,c=i-e,h=Math.sqrt(d*d+c*c);d/=h,c/=h;var p=l*d+u*c,f=p/h;s&&(f=Math.min(Math.max(f,0),1)),f*=h;var m=o[0]=t+f*d,g=o[1]=e+f*c;return Math.sqrt((m-r)*(m-r)+(g-a)*(g-a))}function xx(t,e,n,i,r,a,o){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i);var s=t+n,l=e+i,u=o[0]=Math.min(Math.max(r,t),s),d=o[1]=Math.min(Math.max(a,e),l);return Math.sqrt((u-r)*(u-r)+(d-a)*(d-a))}var Mx=[];function bx(t,e,n){var i=xx(e.x,e.y,e.width,e.height,t.x,t.y,Mx);return n.set(Mx[0],Mx[1]),i}function Lx(t,e,n){for(var i,r,a=0,o=0,s=0,l=0,u=1/0,d=e.data,c=t.x,h=t.y,p=0;p<d.length;){var f=d[p++];1===p&&(a=d[p],o=d[p+1],s=a,l=o);var m=u;switch(f){case mx.M:s=d[p++],l=d[p++],a=s,o=l;break;case mx.L:m=vx(a,o,d[p],d[p+1],c,h,Mx,!0),a=d[p++],o=d[p++];break;case mx.C:m=Il(a,o,d[p++],d[p++],d[p++],d[p++],d[p],d[p+1],c,h,Mx),a=d[p++],o=d[p++];break;case mx.Q:m=El(a,o,d[p++],d[p++],d[p],d[p+1],c,h,Mx),a=d[p++],o=d[p++];break;case mx.A:var g=d[p++],y=d[p++],_=d[p++],v=d[p++],x=d[p++],M=d[p++];p+=1;var b=!!(1-d[p++]);i=Math.cos(x)*_+g,r=Math.sin(x)*v+y,p<=1&&(s=i,l=r);var w=(c-g)*v/_+g;m=_x(g,y,v,x,x+M,b,w,h,Mx),a=Math.cos(x+M)*_+g,o=Math.sin(x+M)*v+y;break;case mx.R:s=a=d[p++],l=o=d[p++];var L=d[p++],S=d[p++];m=xx(s,l,L,S,c,h,Mx);break;case mx.Z:m=vx(a,o,s,l,c,h,Mx,!0),a=s,o=l;break}m<u&&(u=m,n.set(Mx[0],Mx[1]))}return u}var Sx=new Cr,Dx=new Cr,Tx=new Cr,kx=new Cr,Yx=new Cr;function Ix(t,e){if(t){var n=t.getTextGuideLine(),i=t.getTextContent();if(i&&n){var r=t.textGuideLineConfig||{},a=[[0,0],[0,0],[0,0]],o=r.candidates||gx,s=i.getBoundingRect().clone();s.applyTransform(i.getComputedTransform());var l=1/0,u=r.anchor,d=t.getComputedTransform(),c=d&&Mi([],d),h=e.get("length2")||0;u&&Tx.copy(u);for(var p=0;p<o.length;p++){var f=o[p];yx(f,0,s,Sx,kx),Cr.scaleAndAdd(Dx,Sx,kx,h),Dx.transform(c);var m=t.getBoundingRect(),g=u?u.distance(Dx):t instanceof Uu?Lx(Dx,t.path,Tx):bx(Dx,m,Tx);g<l&&(l=g,Dx.transform(d),Tx.transform(d),Tx.toArray(a[0]),Dx.toArray(a[1]),Sx.toArray(a[2]))}Px(a,e.get("minTurnAngle")),n.setShape({points:a})}}}var Cx=[],Ax=new Cr;function Px(t,e){if(e<=180&&e>0){e=e/180*Math.PI,Sx.fromArray(t[0]),Dx.fromArray(t[1]),Tx.fromArray(t[2]),Cr.sub(kx,Sx,Dx),Cr.sub(Yx,Tx,Dx);var n=kx.len(),i=Yx.len();if(!(n<.001||i<.001)){kx.scale(1/n),Yx.scale(1/i);var r=kx.dot(Yx),a=Math.cos(e);if(a<r){var o=vx(Dx.x,Dx.y,Tx.x,Tx.y,Sx.x,Sx.y,Cx,!1);Ax.fromArray(Cx),Ax.scaleAndAdd(Yx,o/Math.tan(Math.PI-e));var s=Tx.x!==Dx.x?(Ax.x-Dx.x)/(Tx.x-Dx.x):(Ax.y-Dx.y)/(Tx.y-Dx.y);if(isNaN(s))return;s<0?Cr.copy(Ax,Dx):s>1&&Cr.copy(Ax,Tx),Ax.toArray(t[1])}}}}function Ox(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,Sx.fromArray(t[0]),Dx.fromArray(t[1]),Tx.fromArray(t[2]),Cr.sub(kx,Dx,Sx),Cr.sub(Yx,Tx,Dx);var i=kx.len(),r=Yx.len();if(!(i<.001||r<.001)){kx.scale(1/i),Yx.scale(1/r);var a=kx.dot(e),o=Math.cos(n);if(a<o){var s=vx(Dx.x,Dx.y,Tx.x,Tx.y,Sx.x,Sx.y,Cx,!1);Ax.fromArray(Cx);var l=Math.PI/2,u=Math.acos(Yx.dot(e)),d=l+u-n;if(d>=l)Cr.copy(Ax,Tx);else{Ax.scaleAndAdd(Yx,s/Math.tan(Math.PI/2-d));var c=Tx.x!==Dx.x?(Ax.x-Dx.x)/(Tx.x-Dx.x):(Ax.y-Dx.y)/(Tx.y-Dx.y);if(isNaN(c))return;c<0?Cr.copy(Ax,Dx):c>1&&Cr.copy(Ax,Tx)}Ax.toArray(t[1])}}}}function Hx(t,e,n,i){var r="normal"===n,a=r?t:t.ensureState(n);a.ignore=e;var o=i.get("smooth");o&&!0===o&&(o=.3),a.shape=a.shape||{},o>0&&(a.shape.smooth=o);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):a.style=s}function Nx(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=xn(i[0],i[1]),a=xn(i[1],i[2]);if(!r||!a)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var o=Math.min(r,a)*n,s=wn([],i[1],i[0],o/r),l=wn([],i[1],i[2],o/a),u=wn([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var d=1;d<i.length;d++)t.lineTo(i[d][0],i[d][1])}function Ex(t,e,n){var i=t.getTextGuideLine(),r=t.getTextContent();if(r){for(var a=e.normal,o=a.get("show"),s=r.ignore,l=0;l<Ad.length;l++){var u=Ad[l],d=e[u],c="normal"===u;if(d){var h=d.get("show"),p=c?s:We(r.states[u]&&r.states[u].ignore,s);if(p||!We(h,o)){var f=c?i:i&&i.states.normal;f&&(f.ignore=!0);continue}i||(i=new Oh,t.setTextGuideLine(i),c||!s&&o||Hx(i,!0,"normal",e.normal),t.stateProxy&&(i.stateProxy=t.stateProxy)),Hx(i,!1,u,d)}}if(i){me(i.style,n),i.style.fill=null;var m=a.get("showAbove"),g=t.textGuideLineConfig=t.textGuideLineConfig||{};g.showAbove=m||!1,i.buildPath=Nx}}else i&&t.removeTextGuideLine()}function Rx(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},i=0;i<Cd.length;i++){var r=Cd[i];n[r]=t.getModel([r,e])}return n}function zx(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];if(!i.defaultAttr.ignore){var r=i.label,a=r.getComputedTransform(),o=r.getBoundingRect(),s=!a||a[1]<1e-5&&a[2]<1e-5,l=r.style.margin||0,u=o.clone();u.applyTransform(a),u.x-=l/2,u.y-=l/2,u.width+=l,u.height+=l;var d=s?new op(o,a):null;e.push({label:r,labelLine:i.labelLine,rect:u,localRect:o,obb:d,priority:i.priority,defaultAttr:i.defaultAttr,layoutOption:i.computedLayoutOption,axisAligned:s,transform:a})}}return e}function jx(t,e,n,i,r,a){var o=t.length;if(!(o<2)){t.sort((function(t,n){return t.rect[e]-n.rect[e]}));for(var s,l=0,u=!1,d=[],c=0,h=0;h<o;h++){var p=t[h],f=p.rect;s=f[e]-l,s<0&&(f[e]-=s,p.label[e]-=s,u=!0);var m=Math.max(-s,0);d.push(m),c+=m,l=f[e]+f[n]}c>0&&a&&b(-c/o,0,o);var g,y,_=t[0],v=t[o-1];return x(),g<0&&w(-g,.8),y<0&&w(y,.8),x(),M(g,y,1),M(y,g,-1),x(),g<0&&L(-g),y<0&&L(y),u}function x(){g=_.rect[e]-i,y=r-v.rect[e]-v.rect[n]}function M(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){b(i*n,0,o);var r=i+t;r<0&&w(-r*n,1)}else w(-t*n,1)}}function b(n,i,r){0!==n&&(u=!0);for(var a=i;a<r;a++){var o=t[a],s=o.rect;s[e]+=n,o.label[e]+=n}}function w(i,r){for(var a=[],s=0,l=1;l<o;l++){var u=t[l-1].rect,d=Math.max(t[l].rect[e]-u[e]-u[n],0);a.push(d),s+=d}if(s){var c=Math.min(Math.abs(i)/s,r);if(i>0)for(l=0;l<o-1;l++){var h=a[l]*c;b(h,0,l+1)}else for(l=o-1;l>0;l--){h=a[l-1]*c;b(-h,l,o)}}}function L(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(o-1)),i=0;i<o-1;i++)if(e>0?b(n,0,i+1):b(-n,o-i-1,o),t-=n,t<=0)return}}function Bx(t,e,n,i){return jx(t,"x","width",e,n,i)}function Fx(t,e,n,i){return jx(t,"y","height",e,n,i)}function Vx(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new Br(0,0,0,0);function i(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r<t.length;r++){var a=t[r],o=a.axisAligned,s=a.localRect,l=a.transform,u=a.label,d=a.labelLine;n.copy(a.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var c=a.obb,h=!1,p=0;p<e.length;p++){var f=e[p];if(n.intersect(f.rect)){if(o&&f.axisAligned){h=!0;break}if(f.obb||(f.obb=new op(f.localRect,f.transform)),c||(c=new op(s,l)),c.intersect(f.obb)){h=!0;break}}}h?(i(u),d&&i(d)):(u.attr("ignore",a.defaultAttr.ignore),d&&d.attr("ignore",a.defaultAttr.labelGuideIgnore),e.push(a))}}function Wx(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function Gx(t,e){var n=t.label,i=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:Wx(i&&i.shape.points)}}var Ux=["align","verticalAlign","width","height","fontSize"],Xx=new Ci,Zx=us(),qx=us();function $x(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null!=e[r]&&(t[r]=e[r])}}var Jx=["x","y","rotation"],Kx=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,n,i,r){var a=i.style,o=i.__hostTarget,s=o.textConfig||{},l=i.getComputedTransform(),u=i.getBoundingRect().plain();Br.applyTransform(u,u,l),l?Xx.setLocalTransform(l):(Xx.x=Xx.y=Xx.rotation=Xx.originX=Xx.originY=0,Xx.scaleX=Xx.scaleY=1);var d,c=i.__hostTarget;if(c){d=c.getBoundingRect().plain();var h=c.getComputedTransform();Br.applyTransform(d,d,h)}var p=d&&c.getTextGuideLine();this._labelList.push({label:i,labelLine:p,seriesModel:n,dataIndex:t,dataType:e,layoutOption:r,computedLayoutOption:null,rect:u,hostRect:d,priority:d?d.width*d.height:0,defaultAttr:{ignore:i.ignore,labelGuideIgnore:p&&p.ignore,x:Xx.x,y:Xx.y,rotation:Xx.rotation,style:{x:a.x,y:a.y,align:a.align,verticalAlign:a.verticalAlign,width:a.width,height:a.height,fontSize:a.fontSize},cursor:i.cursor,attachedPos:s.position,attachedRot:s.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,i=n.get("labelLayout");(Ce(i)||De(i).length)&&t.group.traverse((function(t){if(t.ignore)return!0;var r=t.getTextContent(),a=Ld(t);r&&!r.disableLabelLayout&&e._addLabel(a.dataIndex,a.dataType,n,r,i)}))},t.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),n=t.getHeight();function i(t,e){return function(){Ix(t,e)}}for(var r=0;r<this._labelList.length;r++){var a=this._labelList[r],o=a.label,s=o.__hostTarget,l=a.defaultAttr,u=void 0;u="function"===typeof a.layoutOption?a.layoutOption(Gx(a,s)):a.layoutOption,u=u||{},a.computedLayoutOption=u;var d=Math.PI/180;s&&s.setTextConfig({local:!1,position:null!=u.x||null!=u.y?null:l.attachedPos,rotation:null!=u.rotate?u.rotate*d:l.attachedRot,offset:[u.dx||0,u.dy||0]});var c=!1;if(null!=u.x?(o.x=yo(u.x,e),o.setStyle("x",0),c=!0):(o.x=l.x,o.setStyle("x",l.style.x)),null!=u.y?(o.y=yo(u.y,n),o.setStyle("y",0),c=!0):(o.y=l.y,o.setStyle("y",l.style.y)),u.labelLinePoints){var h=s.getTextGuideLine();h&&(h.setShape({points:u.labelLinePoints}),c=!1)}var p=Zx(o);p.needsUpdateLabelLine=c,o.rotation=null!=u.rotate?u.rotate*d:l.rotation;for(var f=0;f<Ux.length;f++){var m=Ux[f];o.setStyle(m,null!=u[m]?u[m]:l.style[m])}if(u.draggable){if(o.draggable=!0,o.cursor="move",s){var g=a.seriesModel;if(null!=a.dataIndex){var y=a.seriesModel.getData(a.dataType);g=y.getItemModel(a.dataIndex)}o.on("drag",i(s,g.getModel("labelLine")))}}else o.off("drag"),o.cursor=l.cursor}},t.prototype.layout=function(t){var e=t.getWidth(),n=t.getHeight(),i=zx(this._labelList),r=Le(i,(function(t){return"shiftX"===t.layoutOption.moveOverlap})),a=Le(i,(function(t){return"shiftY"===t.layoutOption.moveOverlap}));Bx(r,0,e),Fx(a,0,n);var o=Le(i,(function(t){return t.layoutOption.hideOverlap}));Vx(o)},t.prototype.processLabelsOverall=function(){var t=this;Me(this._chartViewList,(function(e){var n=e.__model,i=e.ignoreLabelLineUpdate,r=n.isAnimationEnabled();e.group.traverse((function(e){if(e.ignore)return!0;var a=!i,o=e.getTextContent();!a&&o&&(a=Zx(o).needsUpdateLabelLine),a&&t._updateLabelLine(e,n),r&&t._animateLabels(e,n)}))}))},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),i=Ld(t),r=i.dataIndex;if(n&&null!=r){var a=e.getData(i.dataType),o=a.getItemModel(r),s={},l=a.getItemVisual(r,"style"),u=a.getVisual("drawType");s.stroke=l[u];var d=o.getModel("labelLine");Ex(t,Rx(o),s),Ix(t,d)}},t.prototype._animateLabels=function(t,e){var n=t.getTextContent(),i=t.getTextGuideLine();if(n&&!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!Ap(t)){var r=Zx(n),a=r.oldLayout,o=Ld(t),s=o.dataIndex,l={x:n.x,y:n.y,rotation:n.rotation},u=e.getData(o.dataType);if(a){n.attr(a);var d=t.prevStates;d&&(ye(d,"select")>=0&&n.attr(r.oldLayoutSelect),ye(d,"emphasis")>=0&&n.attr(r.oldLayoutEmphasis)),Tp(n,l,e,s)}else if(n.attr(l),!sf(n).valueAnimation){var c=We(n.style.opacity,1);n.style.opacity=0,kp(n,{style:{opacity:c}},e,s)}if(r.oldLayout=l,n.states.select){var h=r.oldLayoutSelect={};$x(h,l,Jx),$x(h,n.states.select,Jx)}if(n.states.emphasis){var p=r.oldLayoutEmphasis={};$x(p,l,Jx),$x(p,n.states.emphasis,Jx)}uf(n,s,u,e,e)}if(i&&!i.ignore&&!i.invisible){r=qx(i),a=r.oldLayout;var f={points:i.shape.points};a?(i.attr({shape:a}),Tp(i,{shape:f},e)):(i.setShape(f),i.style.strokePercent=0,kp(i,{style:{strokePercent:1}},e)),r.oldLayout=f}},t}(),Qx=Kx;function tM(t,e){function n(e,n){var i=[];return e.eachComponent({mainType:"series",subType:t,query:n},(function(t){i.push(t.seriesIndex)})),i}Me([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],(function(t){e(t[0],(function(e,i,r){e=fe({},e),r.dispatchAction(fe(e,{type:t[1],seriesIndex:n(i,e)}))}))}))}function eM(t,e,n,i,r){var a=t+e;n.isSilent(a)||i.eachComponent({mainType:"series",subType:"pie"},(function(t){for(var e=t.seriesIndex,i=r.selected,o=0;o<i.length;o++)if(i[o].seriesIndex===e){var s=t.getData(),l=ls(s,r.fromActionPayload);n.trigger(a,{type:a,seriesId:t.id,name:Ie(l)?s.getName(l[0]):s.getName(l),selected:fe({},t.option.selectedMap)})}}))}function nM(t,e,n){t.on("selectchanged",(function(t){var i=n.getModel();t.isFromClick?(eM("map","selectchanged",e,i,t),eM("pie","selectchanged",e,i,t)):"select"===t.fromAction?(eM("map","selected",e,i,t),eM("pie","selected",e,i,t)):"unselect"===t.fromAction&&(eM("map","unselected",e,i,t),eM("pie","unselected",e,i,t))}))}function iM(t,e,n){var i;while(t){if(e(t)&&(i=t,n))break;t=t.__hostTarget||t.parent}return i}var rM=Math.round(9*Math.random()),aM=function(){function t(){this._id="__ec_inner_"+rM++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return"function"===typeof Object.defineProperty?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype["delete"]=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),oM=aM,sM=Uu.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,a=e.height/2;t.moveTo(n,i-a),t.lineTo(n+r,i+a),t.lineTo(n-r,i+a),t.closePath()}}),lM=Uu.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,a=e.height/2;t.moveTo(n,i-a),t.lineTo(n+r,i),t.lineTo(n,i+a),t.lineTo(n-r,i),t.closePath()}}),uM=Uu.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,a=Math.max(r,e.height),o=r/2,s=o*o/(a-o),l=i-a+o+s,u=Math.asin(s/o),d=Math.cos(u)*o,c=Math.sin(u),h=Math.cos(u),p=.6*o,f=.7*o;t.moveTo(n-d,l+s),t.arc(n,l,o,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+d-c*p,l+s+h*p,n,i-f,n,i),t.bezierCurveTo(n,i-f,n-d+c*p,l+s+h*p,n-d,l+s),t.closePath()}}),dM=Uu.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,a=e.y,o=i/3*2;t.moveTo(r,a),t.lineTo(r+o,a+n),t.lineTo(r,a+n/4*3),t.lineTo(r-o,a+n),t.lineTo(r,a),t.closePath()}}),cM={line:ud,rect:ud,roundRect:ud,square:ud,circle:eh,diamond:lM,pin:uM,arrow:dM,triangle:sM},hM={line:function(t,e,n,i,r){var a=2;r.x=t,r.y=e+i/2-a/2,r.width=n,r.height=a},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var a=Math.min(n,i);r.x=t,r.y=e,r.width=a,r.height=a},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},pM={};Me(cM,(function(t,e){pM[e]=new t}));var fM=Uu.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=Qr(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=pM[i];r||(i="rect",r=pM[i]),hM[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function mM(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):n.fill=t,this.markRedraw()}}function gM(t,e,n,i,r,a,o){var s,l=0===t.indexOf("empty");return l&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),s=0===t.indexOf("image://")?vp(t.slice(8),new Br(e,n,i,r),o?"center":"cover"):0===t.indexOf("path://")?_p(t.slice(7),{},new Br(e,n,i,r),o?"center":"cover"):new fM({shape:{symbolType:t,x:e,y:n,width:i,height:r}}),s.__isEmptyBrush=l,s.setColor=mM,a&&s.setColor(a),s}function yM(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,a=null==e.y?0:e.y,o=null==e.y2?0:e.y2;e.global||(i=i*n.width+n.x,r=r*n.width+n.x,a=a*n.height+n.y,o=o*n.height+n.y),i=isNaN(i)?0:i,r=isNaN(r)?1:r,a=isNaN(a)?0:a,o=isNaN(o)?0:o;var s=t.createLinearGradient(i,a,r,o);return s}function _M(t,e,n){var i=n.width,r=n.height,a=Math.min(i,r),o=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;e.global||(o=o*i+n.x,s=s*r+n.y,l*=a);var u=t.createRadialGradient(o,s,0,o,s,l);return u}function vM(t,e,n){for(var i="radial"===e.type?_M(t,e,n):yM(t,e,n),r=e.colorStops,a=0;a<r.length;a++)i.addColorStop(r[a].offset,r[a].color);return i}function xM(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}function MM(t,e){return t&&"solid"!==t&&e>0?(e=e||1,"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:Oe(t)?[t]:Ie(t)?t:null):null}var bM=new xu(!0);function wM(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function LM(t){var e=t.fill;return null!=e&&"none"!==e}function SM(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function DM(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function TM(t,e,n){var i=js(e.image,e.__image,n);if(Fs(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"===typeof DOMMatrix){var a=new DOMMatrix;a.rotateSelf(0,0,(e.rotation||0)/Math.PI*180),a.scaleSelf(e.scaleX||1,e.scaleY||1),a.translateSelf(e.x||0,e.y||0),r.setTransform(a)}return r}}function kM(t,e,n,i){var r=wM(n),a=LM(n),o=n.strokePercent,s=o<1,l=!e.path;e.silent&&!s||!l||e.createPathProxy();var u=e.path||bM;if(!i){var d=n.fill,c=n.stroke,h=a&&!!d.colorStops,p=r&&!!c.colorStops,f=a&&!!d.image,m=r&&!!c.image,g=void 0,y=void 0,_=void 0,v=void 0,x=void 0;(h||p)&&(x=e.getBoundingRect()),h&&(g=e.__dirty?vM(t,d,x):e.__canvasFillGradient,e.__canvasFillGradient=g),p&&(y=e.__dirty?vM(t,c,x):e.__canvasStrokeGradient,e.__canvasStrokeGradient=y),f&&(_=e.__dirty||!e.__canvasFillPattern?TM(t,d,e):e.__canvasFillPattern,e.__canvasFillPattern=_),m&&(v=e.__dirty||!e.__canvasStrokePattern?TM(t,c,e):e.__canvasStrokePattern,e.__canvasStrokePattern=_),h?t.fillStyle=g:f&&(_?t.fillStyle=_:a=!1),p?t.strokeStyle=y:m&&(v?t.strokeStyle=v:r=!1)}var M=n.lineDash&&n.lineWidth>0&&MM(n.lineDash,n.lineWidth),b=n.lineDashOffset,w=!!t.setLineDash,L=e.getGlobalScale();if(u.setScale(L[0],L[1],e.segmentIgnoreThreshold),M){var S=n.strokeNoScale&&e.getLineScale?e.getLineScale():1;S&&1!==S&&(M=be(M,(function(t){return t/S})),b/=S)}var D=!0;(l||e.__dirty&Uu.SHAPE_CHANGED_BIT||M&&!w&&r)&&(u.setDPR(t.dpr),s?u.setContext(null):(u.setContext(t),D=!1),u.reset(),M&&!w&&(u.setLineDash(M),u.setLineDashOffset(b)),e.buildPath(u,e.shape,i),u.toStatic(),e.pathUpdated()),D&&u.rebuildPath(t,s?o:1),M&&w&&(t.setLineDash(M),t.lineDashOffset=b),i||(n.strokeFirst?(r&&DM(t,n),a&&SM(t,n)):(a&&SM(t,n),r&&DM(t,n))),M&&w&&t.setLineDash([])}function YM(t,e,n){var i=e.__image=js(n.image,e.__image,e,e.onload);if(i&&Fs(i)){var r=n.x||0,a=n.y||0,o=e.getWidth(),s=e.getHeight(),l=i.width/i.height;if(null==o&&null!=s?o=s*l:null==s&&null!=o?s=o/l:null==o&&null==s&&(o=i.width,s=i.height),n.sWidth&&n.sHeight){var u=n.sx||0,d=n.sy||0;t.drawImage(i,u,d,n.sWidth,n.sHeight,r,a,o,s)}else if(n.sx&&n.sy){u=n.sx,d=n.sy;var c=o-u,h=s-d;t.drawImage(i,u,d,c,h,r,a,o,s)}else t.drawImage(i,r,a,o,s)}}function IM(t,e,n){var i=n.text;if(null!=i&&(i+=""),i){t.font=n.font||Vr,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var r=void 0;if(t.setLineDash){var a=n.lineDash&&n.lineWidth>0&&MM(n.lineDash,n.lineWidth),o=n.lineDashOffset;if(a){var s=n.strokeNoScale&&e.getLineScale?e.getLineScale():1;s&&1!==s&&(a=be(a,(function(t){return t/s})),o/=s),t.setLineDash(a),t.lineDashOffset=o,r=!0}}n.strokeFirst?(wM(n)&&t.strokeText(i,n.x,n.y),LM(n)&&t.fillText(i,n.x,n.y)):(LM(n)&&t.fillText(i,n.x,n.y),wM(n)&&t.strokeText(i,n.x,n.y)),r&&t.setLineDash([])}}var CM=["shadowBlur","shadowOffsetX","shadowOffsetY"],AM=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function PM(t,e,n,i,r){var a=!1;if(!i&&(n=n||{},e===n))return!1;(i||e.opacity!==n.opacity)&&(a||(WM(t,r),a=!0),t.globalAlpha=null==e.opacity?ol.opacity:e.opacity),(i||e.blend!==n.blend)&&(a||(WM(t,r),a=!0),t.globalCompositeOperation=e.blend||ol.blend);for(var o=0;o<CM.length;o++){var s=CM[o];(i||e[s]!==n[s])&&(a||(WM(t,r),a=!0),t[s]=t.dpr*(e[s]||0))}return(i||e.shadowColor!==n.shadowColor)&&(a||(WM(t,r),a=!0),t.shadowColor=e.shadowColor||ol.shadowColor),a}function OM(t,e,n,i,r){var a=GM(e,r.inHover),o=i?null:n&&GM(n,r.inHover)||{};if(a===o)return!1;var s=PM(t,a,o,i,r);if((i||a.fill!==o.fill)&&(s||(WM(t,r),s=!0),t.fillStyle=a.fill),(i||a.stroke!==o.stroke)&&(s||(WM(t,r),s=!0),t.strokeStyle=a.stroke),(i||a.opacity!==o.opacity)&&(s||(WM(t,r),s=!0),t.globalAlpha=null==a.opacity?1:a.opacity),e.hasStroke()){var l=a.lineWidth,u=l/(a.strokeNoScale&&e&&e.getLineScale?e.getLineScale():1);t.lineWidth!==u&&(s||(WM(t,r),s=!0),t.lineWidth=u)}for(var d=0;d<AM.length;d++){var c=AM[d],h=c[0];(i||a[h]!==o[h])&&(s||(WM(t,r),s=!0),t[h]=a[h]||c[1])}return s}function HM(t,e,n,i,r){return PM(t,GM(e,r.inHover),n&&GM(n,r.inHover),i,r)}function NM(t,e){var n=e.transform,i=t.dpr||1;n?t.setTransform(i*n[0],i*n[1],i*n[2],i*n[3],i*n[4],i*n[5]):t.setTransform(i,0,0,i,0,0)}function EM(t,e,n){for(var i=!1,r=0;r<t.length;r++){var a=t[r];i=i||a.isZeroArea(),NM(e,a),e.beginPath(),a.buildPath(e,a.shape),e.clip()}n.allClipped=i}function RM(t,e){return t&&e?t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||t[4]!==e[4]||t[5]!==e[5]:!(!t&&!e)}var zM=1,jM=2,BM=3,FM=4;function VM(t){var e=LM(t),n=wM(t);return!(t.lineDash||!(+e^+n)||e&&"string"!==typeof t.fill||n&&"string"!==typeof t.stroke||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}function WM(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function GM(t,e){return e&&t.__hoverStyle||t.style}function UM(t,e){XM(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function XM(t,e,n,i){var r=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return e.__dirty&=~ya.REDARAW_BIT,void(e.__isRendered=!1);var a=e.__clipPaths,o=n.prevElClipPaths,s=!1,l=!1;if(o&&!xM(a,o)||(o&&o.length&&(WM(t,n),t.restore(),l=s=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),a&&a.length&&(WM(t,n),t.save(),EM(a,t,n),s=!0),n.prevElClipPaths=a),n.allClipped)e.__isRendered=!1;else{e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var u=n.prevEl;u||(l=s=!0);var d=e instanceof Uu&&e.autoBatch&&VM(e.style);s||RM(r,u.transform)?(WM(t,n),NM(t,e)):d||WM(t,n);var c=GM(e,n.inHover);e instanceof Uu?(n.lastDrawType!==zM&&(l=!0,n.lastDrawType=zM),OM(t,e,u,l,n),d&&(n.batchFill||n.batchStroke)||t.beginPath(),kM(t,e,c,d),d&&(n.batchFill=c.fill||"",n.batchStroke=c.stroke||"")):e instanceof qu?(n.lastDrawType!==BM&&(l=!0,n.lastDrawType=BM),OM(t,e,u,l,n),IM(t,e,c)):e instanceof td?(n.lastDrawType!==jM&&(l=!0,n.lastDrawType=jM),HM(t,e,u,l,n),YM(t,e,c)):e instanceof up&&(n.lastDrawType!==FM&&(l=!0,n.lastDrawType=FM),ZM(t,e,n)),d&&i&&WM(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}}function ZM(t,e,n){var i=e.getDisplayables(),r=e.getTemporalDisplayables();t.save();var a,o,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(a=e.getCursor(),o=i.length;a<o;a++){var l=i[a];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),XM(t,l,s,a===o-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var u=0,d=r.length;u<d;u++){l=r[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),XM(t,l,s,u===d-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}var qM=new oM,$M=new zi(100),JM=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function KM(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),i=e.getZr(),r="svg"===i.painter.type;t.dirty&&qM["delete"](t);var a=qM.get(t);if(a)return a;var o=me(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===o.backgroundColor&&(o.backgroundColor=null);var s={repeat:"repeat"};return l(s),s.rotation=o.rotation,s.scaleX=s.scaleY=r?1:1/n,qM.set(t,s),t.dirty=!1,s;function l(t){for(var e,a=[n],s=!0,l=0;l<JM.length;++l){var u=o[JM[l]],d=typeof u;if(null!=u&&!Ie(u)&&"string"!==d&&"number"!==d&&"boolean"!==d){s=!1;break}a.push(u)}if(s){e=a.join(",")+(r?"-svg":"");var c=$M.get(e);c&&(r?t.svgElement=c:t.image=c)}var h,p=tb(o.dashArrayX),f=eb(o.dashArrayY),m=QM(o.symbol),g=nb(p),y=ib(f),_=!r&&ge(),v=r&&i.painter.createSVGElement("g"),x=M();function M(){for(var t=1,e=0,n=g.length;e<n;++e)t=Ro(t,g[e]);var i=1;for(e=0,n=m.length;e<n;++e)i=Ro(i,m[e].length);t*=i;var r=y*g.length*m.length;return{width:Math.max(1,Math.min(t,o.maxTileWidth)),height:Math.max(1,Math.min(r,o.maxTileHeight))}}function b(){h&&(h.clearRect(0,0,_.width,_.height),o.backgroundColor&&(h.fillStyle=o.backgroundColor,h.fillRect(0,0,_.width,_.height)));for(var t=0,e=0;e<f.length;++e)t+=f[e];if(!(t<=0)){var a=-y,s=0,l=0,u=0;while(a<x.height){if(s%2===0){var d=l/2%m.length,c=0,g=0,M=0;while(c<2*x.width){var b=0;for(e=0;e<p[u].length;++e)b+=p[u][e];if(b<=0)break;if(g%2===0){var w=.5*(1-o.symbolSize),L=c+p[u][g]*w,S=a+f[s]*w,D=p[u][g]*o.symbolSize,T=f[s]*o.symbolSize,k=M/2%m[d].length;Y(L,S,D,T,m[d][k])}c+=p[u][g],++M,++g,g===p[u].length&&(g=0)}++u,u===p.length&&(u=0)}a+=f[s],++l,++s,s===f.length&&(s=0)}}function Y(t,e,a,s,l){var u=r?1:n,d=gM(l,t*u,e*u,a*u,s*u,o.color,o.symbolKeepAspect);r?v.appendChild(i.painter.paintOne(d)):UM(h,d)}}_&&(_.width=x.width*n,_.height=x.height*n,h=_.getContext("2d")),b(),s&&$M.put(e,_||v),t.image=_,t.svgElement=v,t.svgWidth=x.width,t.svgHeight=x.height}}function QM(t){if(!t||0===t.length)return[["rect"]];if("string"===typeof t)return[[t]];for(var e=!0,n=0;n<t.length;++n)if("string"!==typeof t[n]){e=!1;break}if(e)return QM([t]);var i=[];for(n=0;n<t.length;++n)"string"===typeof t[n]?i.push([t[n]]):i.push(t[n]);return i}function tb(t){if(!t||0===t.length)return[[0,0]];if("number"===typeof t){var e=Math.ceil(t);return[[e,e]]}for(var n=!0,i=0;i<t.length;++i)if("number"!==typeof t[i]){n=!1;break}if(n)return tb([t]);var r=[];for(i=0;i<t.length;++i)if("number"===typeof t[i]){e=Math.ceil(t[i]);r.push([e,e])}else{e=be(t[i],(function(t){return Math.ceil(t)}));e.length%2===1?r.push(e.concat(e)):r.push(e)}return r}function eb(t){if(!t||"object"===typeof t&&0===t.length)return[0,0];if("number"===typeof t){var e=Math.ceil(t);return[e,e]}var n=be(t,(function(t){return Math.ceil(t)}));return t.length%2?n.concat(n):n}function nb(t){return be(t,(function(t){return ib(t)}))}function ib(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2===1?2*e:e}function rb(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(t){var n=i.getItemVisual(t,"decal");if(n){var r=i.ensureUniqueItemVisual(t,"style");r.decal=KM(n,e)}}));var r=i.getVisual("decal");if(r){var a=i.getVisual("style");a.decal=KM(r,e)}}}))}var ab=Ze,ob=Me,sb=Ce,lb=He,ub=ye,db="undefined"!==typeof window,cb=1,hb=800,pb=900,fb=1e3,mb=2e3,gb=5e3,yb=1e3,_b=1100,vb=2e3,xb=3e3,Mb=4e3,bb=4500,wb=4600,Lb=5e3,Sb=6e3,Db=7e3,Tb={PROCESSOR:{FILTER:fb,SERIES_FILTER:hb,STATISTIC:gb},VISUAL:{LAYOUT:yb,PROGRESSIVE_LAYOUT:_b,GLOBAL:vb,CHART:xb,POST_CHART_LAYOUT:wb,COMPONENT:Mb,BRUSH:Lb,CHART_ITEM:bb,ARIA:Sb,DECAL:Db}},kb="__flagInMainProcess",Yb="__optionUpdated",Ib="__needsUpdateStatus",Cb=/^[a-zA-Z0-9_]+$/,Ab="__connectUpdateStatus",Pb=0,Ob=1,Hb=2;function Nb(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(!this.isDisposed())return Rb(this,t,e);cw(this.id)}}function Eb(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return Rb(this,t,e)}}function Rb(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),Cn.prototype[e].apply(t,n)}var zb,jb,Bb,Fb,Vb,Wb,Gb,Ub,Xb,Zb,qb,$b,Jb,Kb,Qb,tw,ew,nw,iw,rw,aw,ow=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vt(e,t),e}(Cn),sw=ow.prototype;sw.on=Eb("on"),sw.off=Eb("off");var lw=function(t){function e(e,n,i){var r=t.call(this,new lx)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],i=i||{},"string"===typeof n&&(n=vw[n]),r._dom=e;var a="canvas",o=!1,s=r._zr=ho(e,{renderer:i.renderer||a,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,useDirtyRect:null==i.useDirtyRect?o:i.useDirtyRect});r._throttledZrFlush=xv(ke(s.flush,s),17),n=ce(n),n&&vy(n,!0),r._theme=n,r._locale=Nf(i.locale||Of),r._coordSysMgr=new Fg;var l=r._api=ew(r);function u(t,e){return t.__prio-e.__prio}return Ta(_w,u),Ta(fw,u),r._scheduler=new qv(r,l,fw,_w),r._messageCenter=new ow,r._labelManager=new Qx,r._initEvents(),r.resize=ke(r.resize,r),s.animation.on("frame",r._onframe,r),Zb(s,r),qb(s,r),Je(r),r}return Vt(e,t),e.prototype._onframe=function(){if(!this._disposed){aw(this);var t=this._scheduler;if(this[Yb]){var e=this[Yb].silent;this[kb]=!0,zb(this),Fb.update.call(this),this._zr.flush(),this[kb]=!1,this[Yb]=!1,Ub.call(this,e),Xb.call(this,e)}else if(t.unfinished){var n=cb,i=this._model,r=this._api;t.unfinished=!1;do{var a=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),Wb(this,i),t.performVisualTasks(i),Qb(this,this._model,r,"remain"),n-=+new Date-a}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.setOption=function(t,e,n){if(this._disposed)cw(this.id);else{var i,r,a;if(lb(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,a=e.transition,e=e.notMerge),this[kb]=!0,!this._model||e){var o=new qg(this._api),s=this._theme,l=this._model=new Ng;l.scheduler=this._scheduler,l.init(null,null,null,s,this._locale,o)}this._model.setOption(t,{replaceMerge:r},mw),iw(this,a),n?(this[Yb]={silent:i},this[kb]=!1,this.getZr().wakeUp()):(zb(this),Fb.update.call(this),this._zr.flush(),this[Yb]=!1,this[kb]=!1,Ub.call(this,i),Xb.call(this,i))}},e.prototype.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||db&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){if($t.canvasSupported){t=fe({},t||{}),t.pixelRatio=t.pixelRatio||this.getDevicePixelRatio(),t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor");var e=this._zr;return e.painter.getRenderedCanvas(t)}},e.prototype.getSvgDataURL=function(){if($t.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return Me(e,(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){t=t||{};var e=t.excludeComponents,n=this._model,i=[],r=this;ob(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var a="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return ob(i,(function(t){t.group.ignore=!1})),a}cw(this.id)},e.prototype.getConnectedDataURL=function(t){if(this._disposed)cw(this.id);else if($t.canvasSupported){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,a=1/0;if(bw[n]){var o=a,s=a,l=-a,u=-a,d=[],c=t&&t.pixelRatio||this.getDevicePixelRatio();Me(Mw,(function(a,c){if(a.group===n){var h=e?a.getZr().painter.getSvgDom().innerHTML:a.getRenderedCanvas(ce(t)),p=a.getDom().getBoundingClientRect();o=i(p.left,o),s=i(p.top,s),l=r(p.right,l),u=r(p.bottom,u),d.push({dom:h,left:p.left,top:p.top})}})),o*=c,s*=c,l*=c,u*=c;var h=l-o,p=u-s,f=ge(),m=ho(f,{renderer:e?"svg":"canvas"});if(m.resize({width:h,height:p}),e){var g="";return ob(d,(function(t){var e=t.left-o,n=t.top-s;g+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"})),m.painter.getSvgRoot().innerHTML=g,t.connectedBackgroundColor&&m.painter.setBackgroundColor(t.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}return t.connectedBackgroundColor&&m.add(new ud({shape:{x:0,y:0,width:h,height:p},style:{fill:t.connectedBackgroundColor}})),ob(d,(function(t){var e=new td({style:{x:t.left*c-o,y:t.top*c-s,image:t.dom}});m.add(e)})),m.refreshImmediately(),f.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},e.prototype.convertToPixel=function(t,e){return Vb(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return Vb(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(!this._disposed){var n,i=this._model,r=cs(i,t);return Me(r,(function(t,i){i.indexOf("Models")>=0&&Me(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var a=this._chartsMap[t.__viewId];a&&a.containPoint&&(n=n||a.containPoint(e,t))}else 0}),this)}),this),!!n}cw(this.id)},e.prototype.getVisual=function(t,e){var n=this._model,i=cs(n,t,{defaultMainType:"series"}),r=i.seriesModel;var a=r.getData(),o=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?a.indexOfRawIndex(i.dataIndex):null;return null!=o?cx(a,o,e):hx(a,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;ob(dw,(function(e){var n=function(n){var i,r=t.getModel(),a=n.target,o="globalout"===e;if(o?i={}:a&&iM(a,(function(t){var e=Ld(t);if(e&&null!=e.dataIndex){var n=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return i=n&&n.getDataParams(e.dataIndex,e.dataType)||{},!0}if(e.eventData)return i=fe({},e.eventData),!0}),!0),i){var s=i.componentType,l=i.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=i.seriesIndex);var u=s&&null!=l&&r.getComponent(s,l),d=u&&t["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];0,i.event=n,i.type=e,t._$eventProcessor.eventInfo={targetEl:a,packedEvent:i,model:u,view:d},t.trigger(e,i)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)})),ob(pw,(function(e,n){t._messageCenter.on(n,(function(t){this.trigger(n,t)}),t)})),ob(["selectchanged"],(function(e){t._messageCenter.on(e,(function(t){this.trigger(e,t)}),t)})),nM(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?cw(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)cw(this.id);else{this._disposed=!0,ms(this.getDom(),Lw,"");var t=this._api,e=this._model;ob(this._componentsViews,(function(n){n.dispose(e,t)})),ob(this._chartsViews,(function(n){n.dispose(e,t)})),this._zr.dispose(),delete Mw[this.id]}},e.prototype.resize=function(t){if(this._disposed)cw(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[kb]=!0,n&&zb(this),Fb.update.call(this,{type:"resize",animation:{duration:0}}),this[kb]=!1,Ub.call(this,i),Xb.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)cw(this.id);else if(lb(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),xw[t]){var n=xw[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?cw(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=fe({},t);return e.type=pw[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)cw(this.id);else if(lb(e)||(e={silent:!!e}),hw[t.type]&&this._model)if(this[kb])this._pendingActions.push(t);else{var n=e.silent;Gb.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&$t.browser.weChat&&this._throttledZrFlush(),Ub.call(this,n),Xb.call(this,n)}},e.prototype.updateLabelLayout=function(){var t=this._labelManager;t.updateLayoutConfig(this._api),t.layout(this._api),t.processLabelsOverall()},e.prototype.appendData=function(t){if(this._disposed)cw(this.id);else{var e=t.seriesIndex,n=this.getModel(),i=n.getSeriesByIndex(e);0,i.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){for(var e=[],n=t.currentStates,i=0;i<n.length;i++){var r=n[i];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),t.hoverState===Id&&t.states.emphasis?e.push("emphasis"):t.hoverState===Yd&&t.states.blur&&e.push("blur"),t.useStates(e)}function e(t,e){var n=t._zr,i=n.storage,r=0;i.traverse((function(t){t.isGroup||r++})),r>e.get("hoverLayerThreshold")&&!$t.node&&!$t.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.group.traverse((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}function n(t,e){var n=t.get("blendMode")||null;e.group.traverse((function(t){t.isGroup||(t.style.blend=n),t.eachPendingDisplayable&&t.eachPendingDisplayable((function(t){t.style.blend=n}))}))}function i(t,e){if(!t.preventAutoZ){var n=t.get("z"),i=t.get("zlevel");e.group.traverse((function(t){if(!t.isGroup){null!=n&&(t.z=n),null!=i&&(t.zlevel=i);var e=t.getTextContent(),r=t.getTextGuideLine();if(e&&(e.z=t.z,e.zlevel=t.zlevel,e.z2=t.z2+2),r){var a=t.textGuideLineConfig&&t.textGuideLineConfig.showAbove;r.z=t.z,r.zlevel=t.zlevel,r.z2=t.z2+(a?1:-1)}}}))}}function r(t,e){e.group.traverse((function(t){if(!Ap(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}}))}function a(e,n){var i=e.getModel("stateAnimation"),r=e.isAnimationEnabled(),a=i.get("duration"),o=a>0?{duration:a,delay:i.get("delay"),easing:i.get("easing")}:null;n.group.traverse((function(e){if(e.states&&e.states.emphasis){if(Ap(e))return;if(e instanceof Uu&&Ic(e),e.__dirty){var n=e.prevStates;n&&e.useStates(n)}if(r){e.stateTransition=o;var i=e.getTextContent(),a=e.getTextGuideLine();i&&(i.stateTransition=o),a&&(a.stateTransition=o)}e.__dirty&&t(e)}}))}zb=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),jb(t,!0),jb(t,!1),e.plan()},jb=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,a=e?t._componentsMap:t._chartsMap,o=t._zr,s=t._api,l=0;l<r.length;l++)r[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,d=!l&&a[u];if(!d){var c=ws(t.type),h=e?ov.getClass(c.main,c.sub):gv.getClass(c.sub);0,d=new h,d.init(n,s),a[u]=d,r.push(d),o.add(d.group)}t.__viewId=d.__id=u,d.__alive=!0,d.__model=t,d.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!e&&i.prepareView(d,t,n,s)}e?n.eachComponent((function(t,e){"series"!==t&&u(e)})):n.eachSeries(u);for(l=0;l<r.length;){var d=r[l];d.__alive?l++:(!e&&d.renderTask.dispose(),o.remove(d.group),d.dispose(n,s),r.splice(l,1),a[d.__id]===d&&delete a[d.__id],d.__id=d.group.__ecComponentInfo=null)}},Bb=function(t,e,n,i,r){var a=t._model;if(a.setUpdatePayload(n),i){var o={};o[i+"Id"]=n[i+"Id"],o[i+"Index"]=n[i+"Index"],o[i+"Name"]=n[i+"Name"];var s={mainType:i,query:o};r&&(s.subType=r);var l,u=n.excludeSeriesId;null!=u&&(l=tn(),ob(Bo(u),(function(t){var e=es(t,null);null!=e&&l.set(e,!0)}))),a&&a.eachComponent(s,(function(e){l&&null!=l.get(e.id)||(Yc(n)&&!n.notBlur?e instanceof rv&&gc(e,n,t._api):kc(n)&&e instanceof rv&&(yc(e,n,t._api),_c(e),rw(t)),d(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId]))}),t)}else ob([].concat(t._componentsViews).concat(t._chartsViews),d);function d(i){i&&i.__alive&&i[e]&&i[e](i.__model,a,t._api,n)}},Fb={prepareAndUpdate:function(t){zb(this),Fb.update.call(this,t)},update:function(t){var e=this._model,n=this._api,i=this._zr,r=this._coordSysMgr,a=this._scheduler;if(e){e.setUpdatePayload(t),a.restoreData(e,t),a.performSeriesTasks(e),r.create(e,n),a.performDataProcessorTasks(e,t),Wb(this,e),r.update(e,n),$b(e),a.performVisualTasks(e,t),Jb(this,e,n,t);var o=e.get("backgroundColor")||"transparent",s=e.get("darkMode");if($t.canvasSupported)i.setBackgroundColor(o),null!=s&&"auto"!==s&&i.setDarkMode(s);else{var l=Qi(o);o=sr(l,"rgb"),0===l[3]&&(o="transparent")}tw(e,n)}},updateTransform:function(t){var e=this,n=this._model,i=this._api;if(n){n.setUpdatePayload(t);var r=[];n.eachComponent((function(a,o){if("series"!==a){var s=e.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,n,i,t);l&&l.update&&r.push(s)}else r.push(s)}}));var a=tn();n.eachSeries((function(r){var o=e._chartsMap[r.__viewId];if(o.updateTransform){var s=o.updateTransform(r,n,i,t);s&&s.update&&a.set(r.uid,1)}else a.set(r.uid,1)})),$b(n),this._scheduler.performVisualTasks(n,t,{setDirty:!0,dirtyMap:a}),Qb(this,n,i,t,a),tw(n,this._api)}},updateView:function(t){var e=this._model;e&&(e.setUpdatePayload(t),gv.markUpdateMethod(t,"updateView"),$b(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),Jb(this,this._model,this._api,t),tw(e,this._api))},updateVisual:function(t){var e=this,n=this._model;n&&(n.setUpdatePayload(t),n.eachSeries((function(t){t.getData().clearAllVisual()})),gv.markUpdateMethod(t,"updateVisual"),$b(n),this._scheduler.performVisualTasks(n,t,{visualType:"visual",setDirty:!0}),n.eachComponent((function(i,r){if("series"!==i){var a=e.getViewOfComponentModel(r);a&&a.__alive&&a.updateVisual(r,n,e._api,t)}})),n.eachSeries((function(i){var r=e._chartsMap[i.__viewId];r.updateVisual(i,n,e._api,t)})),tw(n,this._api))},updateLayout:function(t){Fb.update.call(this,t)}},Vb=function(t,e,n,i){if(t._disposed)cw(t.id);else{for(var r,a=t._model,o=t._coordSysMgr.getCoordinateSystems(),s=cs(a,n),l=0;l<o.length;l++){var u=o[l];if(u[e]&&null!=(r=u[e](a,s,i)))return r}0}},Wb=function(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries((function(t){i.updateStreamModes(t,n[t.__viewId])}))},Gb=function(t,e){var n=this,i=this.getModel(),r=t.type,a=t.escapeConnect,o=hw[r],s=o.actionInfo,l=(s.update||"update").split(":"),u=l.pop(),d=null!=l[0]&&ws(l[0]);this[kb]=!0;var c=[t],h=!1;t.batch&&(h=!0,c=be(t.batch,(function(e){return e=me(fe({},e),t),e.batch=null,e})));var p,f=[],m=kc(t),g=Yc(t)||m;if(ob(c,(function(t){p=o.action(t,n._model,n._api),p=p||fe({},t),p.type=s.event||p.type,f.push(p),g?(Bb(n,u,t,"series"),rw(n)):d&&Bb(n,u,t,d.main,d.sub)})),"none"===u||g||d||(this[Yb]?(zb(this),Fb.update.call(this,t),this[Yb]=!1):Fb[u].call(this,t)),p=h?{type:s.event||r,escapeConnect:a,batch:f}:f[0],this[kb]=!1,!e){var y=this._messageCenter;if(y.trigger(p.type,p),m){var _={type:"selectchanged",escapeConnect:a,selected:vc(i),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};y.trigger(_.type,_)}}},Ub=function(t){var e=this._pendingActions;while(e.length){var n=e.shift();Gb.call(this,n,t)}},Xb=function(t){!t&&this.trigger("updated")},Zb=function(t,e){t.on("rendered",(function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[Yb]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))},qb=function(t,e){t.on("mouseover",(function(t){var n=t.target,i=iM(n,Dc);if(i){var r=Ld(i);mc(r.seriesIndex,r.focus,r.blurScope,e._api,!0),ac(i,t),rw(e)}})).on("mouseout",(function(t){var n=t.target,i=iM(n,Dc);if(i){var r=Ld(i);mc(r.seriesIndex,r.focus,r.blurScope,e._api,!1),oc(i,t),rw(e)}})).on("click",(function(t){var n=t.target,i=iM(n,(function(t){return null!=Ld(t).dataIndex}),!0);if(i){var r=i.selected?"unselect":"select",a=Ld(i);e._api.dispatchAction({type:r,dataType:a.dataType,dataIndexInside:a.dataIndex,seriesIndex:a.seriesIndex,isFromClick:!0})}}))},$b=function(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))},Jb=function(t,e,n,i){Kb(t,e,n,i),ob(t._chartsViews,(function(t){t.__alive=!1})),Qb(t,e,n,i),ob(t._chartsViews,(function(t){t.__alive||t.remove(e,n)}))},Kb=function(t,e,n,o,s){ob(s||t._componentsViews,(function(t){var s=t.__model;r(s,t),t.render(s,e,n,o),i(s,t),a(s,t)}))},Qb=function(t,o,s,l,u){var d=t._scheduler,c=t._labelManager;c.clearLabels();var h=!1;o.eachSeries((function(e){var i=t._chartsMap[e.__viewId];i.__alive=!0;var a=i.renderTask;d.updatePayload(a,l),r(e,i),u&&u.get(e.uid)&&a.dirty(),a.perform(d.getPerformArgs(a))&&(h=!0),e.__transientTransitionOpt=null,i.group.silent=!!e.get("silent"),n(e,i),_c(e),c.addLabelsOfSeries(i)})),d.unfinished=h||d.unfinished,c.updateLayoutConfig(s),c.layout(s),c.processLabelsOverall(),o.eachSeries((function(e){var n=t._chartsMap[e.__viewId];i(e,n),a(e,n)})),e(t,o)},tw=function(t,e){ob(yw,(function(n){n(t,e)}))},rw=function(t){t[Ib]=!0,t.getZr().wakeUp()},aw=function(e){e[Ib]&&(e.getZr().storage.traverse((function(e){Ap(e)||t(e)})),e[Ib]=!1)},ew=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Vt(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){while(e){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){sc(e,n),rw(t)},n.prototype.leaveEmphasis=function(e,n){lc(e,n),rw(t)},n.prototype.enterBlur=function(e){uc(e),rw(t)},n.prototype.leaveBlur=function(e){dc(e),rw(t)},n.prototype.enterSelect=function(e){cc(e),rw(t)},n.prototype.leaveSelect=function(e){hc(e),rw(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(zg))(t)},nw=function(t){function e(t,e){for(var n=0;n<t.length;n++){var i=t[n];i[Ab]=e}}ob(pw,(function(n,i){t._messageCenter.on(i,(function(n){if(bw[t.group]&&t[Ab]!==Pb){if(n&&n.escapeConnect)return;var i=t.makeActionFromEvent(n),r=[];ob(Mw,(function(e){e!==t&&e.group===t.group&&r.push(e)})),e(r,Pb),ob(r,(function(t){t[Ab]!==Ob&&t.dispatchAction(i)})),e(r,Hb)}}))}))},iw=function(t,e){var n=t._model;Me(Bo(e),(function(t){var e,i=t.from,r=t.to;null==r&&i_(e);var a={includeMainTypes:["series"],enableAll:!1,enableNone:!1},o=i?cs(n,i,a):null,s=cs(n,r,a),l=s.seriesModel;null==l&&(e=""),o&&o.seriesModel!==l&&(e=""),null!=e&&i_(e),l.__transientTransitionOpt={from:i?i.dimension:null,to:r.dimension,dividingMethod:t.dividingMethod}}))}}(),e}(Cn),uw=lw.prototype;uw.on=Nb("on"),uw.off=Nb("off"),uw.one=function(t,e,n){var i=this;function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];e&&e.apply&&e.apply(this,n),i.off(t,r)}n_("ECharts#one is deprecated."),this.on.call(this,t,r,n)};var dw=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function cw(t){0}var hw={},pw={},fw=[],mw=[],gw=[],yw=[],_w=[],vw={},xw={},Mw={},bw={},ww=+new Date-0,Lw=(new Date,"_echarts_instance_");function Sw(t,e,n){var i=Dw(t);if(i)return i;var r=new lw(t,e,n);return r.id="ec_"+ww++,Mw[r.id]=r,ms(t,Lw,r.id),nw(r),ob(gw,(function(t){t(r)})),r}function Dw(t){return Mw[gs(t,Lw)]}function Tw(t,e){vw[t]=e}function kw(t){ub(mw,t)<0&&mw.push(t)}function Yw(t,e){Ew(fw,t,e,mb)}function Iw(t){ub(gw,t)<0&&t&&gw.push(t)}function Cw(t){ub(yw,t)<0&&t&&yw.push(t)}function Aw(t,e,n){"function"===typeof e&&(n=e,e="");var i=lb(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,pw[e]||(ab(Cb.test(i)&&Cb.test(e)),hw[i]||(hw[i]={action:n,actionInfo:t}),pw[e]=i)}function Pw(t,e){Fg.register(t,e)}function Ow(t,e){Ew(_w,t,e,yb,"layout")}function Hw(t,e){Ew(_w,t,e,xb,"visual")}var Nw=[];function Ew(t,e,n,i,r){if((sb(e)||lb(e))&&(n=e,e=i),!(ub(Nw,n)>=0)){Nw.push(n);var a=qv.wrapStageHandler(n,r);a.__prio=e,a.__raw=n,t.push(a)}}function Rw(t,e){xw[t]=e}function zw(t,e,n){ox.registerMap(t,e,n)}var jw=v_;Hw(vb,kv),Hw(bb,Iv),Hw(bb,Cv),Hw(vb,ux),Hw(bb,dx),Hw(Db,rb),kw(vy),Yw(pb,xy),Rw("default",Pv),Aw({type:Hd,event:Hd,update:Hd},an),Aw({type:Nd,event:Nd,update:Nd},an),Aw({type:Ed,event:Ed,update:Ed},an),Aw({type:Rd,event:Rd,update:Rd},an),Aw({type:zd,event:zd,update:zd},an),Tw("light",Jv),Tw("dark",ix);var Bw=[],Fw={registerPreprocessor:kw,registerProcessor:Yw,registerPostInit:Iw,registerPostUpdate:Cw,registerAction:Aw,registerCoordinateSystem:Pw,registerLayout:Ow,registerVisual:Hw,registerTransform:jw,registerLoading:Rw,registerMap:zw,PRIORITY:Tb,ComponentModel:Xm,ComponentView:ov,SeriesModel:rv,ChartView:gv,registerComponentModel:function(t){Xm.registerClass(t)},registerComponentView:function(t){ov.registerClass(t)},registerSeriesModel:function(t){rv.registerClass(t)},registerChartView:function(t){gv.registerClass(t)},registerSubTypeDefaulter:function(t,e){Xm.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){po(t,e)}};function Vw(t){Ie(t)?Me(t,(function(t){Vw(t)})):ye(Bw,t)>=0||(Bw.push(t),Ce(t)&&(t={install:t}),t.install(Fw))}function Ww(){return!1}function Gw(t,e,n){var i=ge(),r=e.getWidth(),a=e.getHeight(),o=i.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=r+"px",o.height=a+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=a*n,i}var Uw=function(t){function e(e,n,i){var r,a=t.call(this)||this;a.motionBlur=!1,a.lastFrameAlpha=.7,a.dpr=1,a.virtual=!1,a.config={},a.incremental=!1,a.zlevel=0,a.maxRepaintRectCount=5,a.__dirty=!0,a.__firstTimePaint=!0,a.__used=!1,a.__drawIndex=0,a.__startIndex=0,a.__endIndex=0,a.__prevStartIndex=null,a.__prevEndIndex=null,i=i||ea,"string"===typeof e?r=Gw(e,n,i):He(e)&&(r=e,e=r.id),a.id=e,a.dom=r;var o=r.style;return o&&(r.onselectstart=Ww,o.webkitUserSelect="none",o.userSelect="none",o.webkitTapHighlightColor="rgba(0,0,0,0)",o["-webkit-touch-callout"]="none",o.padding="0",o.margin="0",o.borderWidth="0"),a.domBack=null,a.ctxBack=null,a.painter=n,a.config=null,a.dpr=i,a}return sn(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=Gw("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,a=[],o=this.maxRepaintRectCount,s=!1,l=new Br(0,0,0,0);function u(t){if(t.isFinite()&&!t.isZero())if(0===a.length){var e=new Br(0,0,0,0);e.copy(t),a.push(e)}else{for(var n=!1,i=1/0,r=0,u=0;u<a.length;++u){var d=a[u];if(d.intersect(t)){var c=new Br(0,0,0,0);c.copy(d),c.union(t),a[u]=c,n=!0;break}if(s){l.copy(t),l.union(d);var h=t.width*t.height,p=d.width*d.height,f=l.width*l.height,m=f-h-p;m<i&&(i=m,r=u)}}if(s&&(a[r].union(t),n=!0),!n){e=new Br(0,0,0,0);e.copy(t),a.push(e)}s||(s=a.length>=o)}}for(var d=this.__startIndex;d<this.__endIndex;++d){var c=t[d];if(c){var h=c.shouldBePainted(n,i,!0,!0),p=c.__isRendered&&(c.__dirty&ya.REDARAW_BIT||!h)?c.getPrevPaintRect():null;p&&u(p);var f=h&&(c.__dirty&ya.REDARAW_BIT||!c.__isRendered)?c.getPaintRect():null;f&&u(f)}}for(d=this.__prevStartIndex;d<this.__prevEndIndex;++d){c=e[d],h=c.shouldBePainted(n,i,!0,!0);if(c&&(!h||!c.__zr)&&c.__isRendered){p=c.getPrevPaintRect();p&&u(p)}}do{r=!1;for(d=0;d<a.length;)if(a[d].isZero())a.splice(d,1);else{for(var m=d+1;m<a.length;)a[d].intersect(a[m])?(r=!0,a[d].union(a[m]),a.splice(m,1)):m++;d++}}while(r);return this._paintRects=a,a},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,i=this.dom,r=i.style,a=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,a&&(a.width=t*n,a.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var i=this.dom,r=this.ctx,a=i.width,o=i.height;e=e||this.clearColor;var s=this.motionBlur&&!t,l=this.lastFrameAlpha,u=this.dpr,d=this;s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,a/u,o/u));var c=this.domBack;function h(t,n,i,a){if(r.clearRect(t,n,i,a),e&&"transparent"!==e){var o=void 0;ze(e)?(o=e.__canvasGradient||vM(r,e,{x:0,y:0,width:i,height:a}),e.__canvasGradient=o):je(e)&&(o=TM(r,e,{dirty:function(){d.setUnpainted(),d.__painter.refresh()}})),r.save(),r.fillStyle=o||e,r.fillRect(t,n,i,a),r.restore()}s&&(r.save(),r.globalAlpha=l,r.drawImage(c,t,n,i,a),r.restore())}!n||s?h(0,0,a,o):n.length&&Me(n,(function(t){h(t.x*u,t.y*u,t.width*u,t.height*u)}))},e}(Cn),Xw=Uw,Zw=1e5,qw=314159,$w=.01,Jw=.001;function Kw(t){return parseInt(t,10)}function Qw(t){return!!t&&(!!t.__builtin__||"function"===typeof t.resize&&"function"===typeof t.refresh)}function tL(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}var eL=function(){function t(t,e,n,i){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var r=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=fe({},n||{}),this.dpr=n.devicePixelRatio||ea,this._singleCanvas=r,this.root=t;var a=t.style;a&&(a.webkitTapHighlightColor="transparent",a.webkitUserSelect="none",a.userSelect="none",a["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var o=this._zlevelList;this._prevDisplayList=[];var s=this._layers;if(r){var l=t,u=l.width,d=l.height;null!=n.width&&(u=n.width),null!=n.height&&(d=n.height),this.dpr=n.devicePixelRatio||1,l.width=u*this.dpr,l.height=d*this.dpr,this._width=u,this._height=d;var c=new Xw(l,this,this.dpr);c.__builtin__=!0,c.initContext(),s[qw]=c,c.zlevel=qw,o.push(qw),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var h=this._domRoot=tL(this._width,this._height);t.appendChild(h)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),n=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var r=0;r<i.length;r++){var a=i[r],o=this._layers[a];if(!o.__builtin__&&o.refresh){var s=0===r?this._backgroundColor:null;o.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e=t.length,n=this._hoverlayer;if(n&&n.clear(),e){for(var i,r={inHover:!0,viewWidth:this._width,viewHeight:this._height},a=0;a<e;a++){var o=t[a];o.__inHover&&(n||(n=this._hoverlayer=this.getLayer(Zw)),i||(i=n.ctx,i.save()),XM(i,o,r,a===e-1))}i&&i.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(Zw)},t.prototype.paintOne=function(t,e){UM(t,e)},t.prototype._paintList=function(t,e,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,e,n),a=r.finished,o=r.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),o&&this._paintHoverList(t),a)this.eachLayer((function(t){t.afterBrush&&t.afterBrush()}));else{var s=this;Oa((function(){s._paintList(t,e,n,i)}))}}},t.prototype._compositeManually=function(){var t=this.getLayer(qw).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer((function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)}))},t.prototype._doPaintList=function(t,e,n){for(var i=this,r=[],a=this._opts.useDirtyRect,o=0;o<this._zlevelList.length;o++){var s=this._zlevelList[o],l=this._layers[s];l.__builtin__&&l!==this._hoverlayer&&(l.__dirty||n)&&r.push(l)}for(var u=!0,d=!1,c=function(o){var s=r[o],l=s.ctx,c=a&&s.createRepaintRects(t,e,h._width,h._height);l.save();var p,f=n?s.__startIndex:s.__drawIndex,m=!n&&s.incremental&&Date.now,g=m&&Date.now(),y=s.zlevel===h._zlevelList[0]?h._backgroundColor:null;if(s.__startIndex===s.__endIndex)s.clear(!1,y,c);else if(f===s.__startIndex){var _=t[f];_.incremental&&_.notClear&&!n||s.clear(!1,y,c)}-1===f&&(console.error("For some unknown reason. drawIndex is -1"),f=s.__startIndex);var v=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(p=f;p<s.__endIndex;p++){var r=t[p];if(r.__inHover&&(d=!0),i._doPaintEl(r,s,a,e,n,p===s.__endIndex-1),m){var o=Date.now()-g;if(o>15)break}}n.prevElClipPaths&&l.restore()};if(c)if(0===c.length)p=s.__endIndex;else for(var x=h.dpr,M=0;M<c.length;++M){var b=c[M];l.save(),l.beginPath(),l.rect(b.x*x,b.y*x,b.width*x,b.height*x),l.clip(),v(b),l.restore()}else l.save(),v(),l.restore();s.__drawIndex=p,s.__drawIndex<s.__endIndex&&(u=!1)},h=this,p=0;p<r.length;p++)c(p);return $t.wxa&&Me(this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),{finished:u,needsRefreshHover:d}},t.prototype._doPaintEl=function(t,e,n,i,r,a){var o=e.ctx;if(n){var s=t.getPaintRect();(!i||s&&s.intersect(i))&&(XM(o,t,r,a),t.setPrevPaintRect(s))}else XM(o,t,r,a)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=qw);var n=this._layers[t];return n||(n=new Xw("zr_"+t,this,this.dpr),n.zlevel=t,n.__builtin__=!0,this._layerConfig[t]?he(n,this._layerConfig[t],!0):this._layerConfig[t-$w]&&he(n,this._layerConfig[t-$w],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,i=this._zlevelList,r=i.length,a=this._domRoot,o=null,s=-1;if(n[t])de("ZLevel "+t+" has been used already");else if(Qw(e)){if(r>0&&t>i[0]){for(s=0;s<r-1;s++)if(i[s]<t&&i[s+1]>t)break;o=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(o){var l=o.dom;l.nextSibling?a.insertBefore(e.dom,l.nextSibling):a.appendChild(e.dom)}else a.firstChild?a.insertBefore(e.dom,a.firstChild):a.appendChild(e.dom);e.__painter=this}else de("Layer of zlevel "+t+" is not valid")},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i];t.call(e,this._layers[r],r)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],a=this._layers[r];a.__builtin__&&t.call(e,a,r)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],a=this._layers[r];a.__builtin__||t.call(e,a,r)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){o&&(o.__endIndex!==t&&(o.__dirty=!0),o.__endIndex=t)}if(this.eachBuiltinLayer((function(t,e){t.__dirty=t.__used=!1})),this._singleCanvas)for(var n=1;n<t.length;n++){var i=t[n];if(i.zlevel!==t[n-1].zlevel||i.incremental){this._needsManuallyCompositing=!0;break}}var r,a,o=null,s=0;for(a=0;a<t.length;a++){i=t[a];var l=i.zlevel,u=void 0;r!==l&&(r=l,s=0),i.incremental?(u=this.getLayer(l+Jw,this._needsManuallyCompositing),u.incremental=!0,s=1):u=this.getLayer(l+(s>0?$w:0),this._needsManuallyCompositing),u.__builtin__||de("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==a&&(u.__dirty=!0),u.__startIndex=a,u.incremental?u.__drawIndex=-1:u.__drawIndex=a,e(a),o=u),i.__dirty&ya.REDARAW_BIT&&!i.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=a))}e(a),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,Me(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?he(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i];if(r===t||r===t+$w){var a=this._layers[r];he(a,n[t],!0)}}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(ye(n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||e!==this._height){for(var r in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(r)&&this._layers[r].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(qw).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[qw].dom;var e=new Xw("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,r=e.dom.height;this.eachLayer((function(t){t.__builtin__?n.drawImage(t.dom,0,0,i,r):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())}))}else for(var a={inHover:!1,viewWidth:this._width,viewHeight:this._height},o=this.storage.getDisplayList(!0),s=0,l=o.length;s<l;s++){var u=o[s];XM(n,u,a,s===l-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype._getSize=function(t){var e=this._opts,n=["width","height"][t],i=["clientWidth","clientHeight"][t],r=["paddingLeft","paddingTop"][t],a=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var o=this.root,s=document.defaultView.getComputedStyle(o);return(o[i]||Kw(s[n])||Kw(o.style[n]))-(Kw(s[r])||0)-(Kw(s[a])||0)|0},t.prototype.pathToImage=function(t,e){e=e||this.dpr;var n=document.createElement("canvas"),i=n.getContext("2d"),r=t.getBoundingRect(),a=t.style,o=a.shadowBlur*e,s=a.shadowOffsetX*e,l=a.shadowOffsetY*e,u=t.hasStroke()?a.lineWidth:0,d=Math.max(u/2,-s+o),c=Math.max(u/2,s+o),h=Math.max(u/2,-l+o),p=Math.max(u/2,l+o),f=r.width+d+c,m=r.height+h+p;n.width=f*e,n.height=m*e,i.scale(e,e),i.clearRect(0,0,f,m),i.dpr=e;var g={x:t.x,y:t.y,scaleX:t.scaleX,scaleY:t.scaleY,rotation:t.rotation,originX:t.originX,originY:t.originY};t.x=d-r.x,t.y=h-r.y,t.rotation=0,t.scaleX=1,t.scaleY=1,t.updateTransform(),t&&XM(i,t,{inHover:!1,viewWidth:this._width,viewHeight:this._height},!0);var y=new td({style:{x:0,y:0,image:n}});return fe(t,g),y},t}(),nL=eL;function iL(t){t.registerPainter("canvas",nL)}function rL(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function aL(t,e,n){n||(n=function(t,e){return t===e}),t=t.slice(),e=e.slice();var i=e.length,r=t.length,a=1,o=i+r,s=[{newPos:-1,components:[]}],l=oL(s[0],e,t,0,n);if(s[0].newPos+1>=i&&l+1>=r){for(var u=[],d=0;d<e.length;d++)u.push(d);return[{indices:u,count:e.length,added:!1,removed:!1}]}function c(){for(var o=-1*a;o<=a;o+=2){var l,u=s[o-1],d=s[o+1],c=(d?d.newPos:0)-o;u&&(s[o-1]=void 0);var h=u&&u.newPos+1<i,p=d&&0<=c&&c<r;if(h||p){if(!h||p&&u.newPos<d.newPos?(l=uL(d),sL(l.components,!1,!0)):(l=u,l.newPos++,sL(l.components,!0,!1)),c=oL(l,e,t,o,n),l.newPos+1>=i&&c+1>=r)return lL(l.components);s[o]=l}else s[o]=void 0}a++}while(a<=o){var h=c();if(h)return h}}function oL(t,e,n,i,r){var a=e.length,o=n.length,s=t.newPos,l=s-i,u=0;while(s+1<a&&l+1<o&&r(e[s+1],n[l+1]))s++,l++,u++;return u&&t.components.push({count:u,added:!1,removed:!1,indices:[]}),t.newPos=s,l}function sL(t,e,n){var i=t[t.length-1];i&&i.added===e&&i.removed===n?t[t.length-1]={count:i.count+1,added:e,removed:n,indices:[]}:t.push({count:1,added:e,removed:n,indices:[]})}function lL(t){for(var e=0,n=t.length,i=0,r=0;e<n;e++){var a=t[e];if(a.removed){for(s=r;s<r+a.count;s++)a.indices.push(s);r+=a.count}else{for(var o=[],s=i;s<i+a.count;s++)o.push(s);a.indices=o,i+=a.count,a.added||(r+=a.count)}}return t}function uL(t){return{newPos:t.newPos,components:t.components.slice(0)}}function dL(t,e,n){return aL(t,e,n)}var cL="none",hL=Math.round,pL=Math.sin,fL=Math.cos,mL=Math.PI,gL=2*Math.PI,yL=180/mL,_L=1e-4;function vL(t){return hL(1e3*t)/1e3}function xL(t){return hL(1e4*t)/1e4}function ML(t){return t<_L&&t>-_L}function bL(t){var e=t.fill;return null!=e&&e!==cL}function wL(t){var e=t.stroke;return null!=e&&e!==cL}function LL(t,e){e&&SL(t,"transform","matrix("+vL(e[0])+","+vL(e[1])+","+vL(e[2])+","+vL(e[3])+","+xL(e[4])+","+xL(e[5])+")")}function SL(t,e,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&t.setAttribute(e,n)}function DL(t,e,n){t.setAttributeNS("http://www.w3.org/1999/xlink",e,n)}function TL(t,e,n){t.setAttributeNS("http://www.w3.org/XML/1998/namespace",e,n)}function kL(t,e,n){var i=null==e.opacity?1:e.opacity;if(n instanceof td)t.style.opacity=i+"";else{if(bL(e)){var r=e.fill;r="transparent"===r?cL:r,SL(t,"fill",r),SL(t,"fill-opacity",(null!=e.fillOpacity?e.fillOpacity*i:i)+"")}else SL(t,"fill",cL);if(wL(e)){var a=e.stroke;a="transparent"===a?cL:a,SL(t,"stroke",a);var o=e.lineWidth,s=e.strokeNoScale?n.getLineScale():1;SL(t,"stroke-width",(s?o/s:0)+""),SL(t,"paint-order",e.strokeFirst?"stroke":"fill"),SL(t,"stroke-opacity",(null!=e.strokeOpacity?e.strokeOpacity*i:i)+"");var l=e.lineDash&&o>0&&MM(e.lineDash,o);if(l){var u=e.lineDashOffset;s&&1!==s&&(l=be(l,(function(t){return t/s})),u&&(u/=s,u=hL(u))),SL(t,"stroke-dasharray",l.join(",")),SL(t,"stroke-dashoffset",(u||0)+"")}else SL(t,"stroke-dasharray","");e.lineCap&&SL(t,"stroke-linecap",e.lineCap),e.lineJoin&&SL(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&SL(t,"stroke-miterlimit",e.miterLimit+"")}else SL(t,"stroke",cL)}}var YL=function(){function t(){}return t.prototype.reset=function(){this._d=[],this._str=""},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,i,r,a){this._add("C",t,e,n,i,r,a)},t.prototype.quadraticCurveTo=function(t,e,n,i){this._add("Q",t,e,n,i)},t.prototype.arc=function(t,e,n,i,r,a){this.ellipse(t,e,n,n,0,i,r,a)},t.prototype.ellipse=function(t,e,n,i,r,a,o,s){var l=0===this._d.length,u=o-a,d=!s,c=Math.abs(u),h=ML(c-gL)||(d?u>=gL:-u>=gL),p=u>0?u%gL:u%gL+gL,f=!1;f=!!h||!ML(c)&&p>=mL===!!d;var m=xL(t+n*fL(a)),g=xL(e+i*pL(a));h&&(u=d?gL-1e-4:1e-4-gL,f=!0,l&&this._d.push("M",m,g));var y=xL(t+n*fL(a+u)),_=xL(e+i*pL(a+u));if(isNaN(m)||isNaN(g)||isNaN(n)||isNaN(i)||isNaN(r)||isNaN(yL)||isNaN(y)||isNaN(_))return"";this._d.push("A",xL(n),xL(i),hL(r*yL),+f,+d,y,_)},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("L",t+n,e),this._add("L",t+n,e+i),this._add("L",t,e+i),this._add("L",t,e)},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,a,o,s,l){this._d.push(t);for(var u=1;u<arguments.length;u++){var d=arguments[u];if(isNaN(d))return void(this._invalid=!0);this._d.push(xL(d))}},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(" "),this._d=[]},t.prototype.getStr=function(){return this._str},t}(),IL={brush:function(t){var e=t.style,n=t.__svgEl;n||(n=rL("path"),t.__svgEl=n),t.path||t.createPathProxy();var i=t.path;t.shapeChanged()&&(i.beginPath(),t.buildPath(i,t.shape),t.pathUpdated());var r=i.getVersion(),a=t,o=a.__svgPathBuilder;(a.__svgPathVersion!==r||!o||t.style.strokePercent<1)&&(o||(o=a.__svgPathBuilder=new YL),o.reset(),i.rebuildPath(o,t.style.strokePercent),o.generateStr(),a.__svgPathVersion=r),SL(n,"d",o.getStr()),kL(n,e,t),LL(n,t.transform)}},CL={brush:function(t){var e=t.style,n=e.image;if(n instanceof HTMLImageElement?n=n.src:n instanceof HTMLCanvasElement&&(n=n.toDataURL()),n){var i=e.x||0,r=e.y||0,a=e.width,o=e.height,s=t.__svgEl;s||(s=rL("image"),t.__svgEl=s),n!==t.__imageSrc&&(DL(s,"href",n),t.__imageSrc=n),SL(s,"width",a+""),SL(s,"height",o+""),SL(s,"x",i+""),SL(s,"y",r+""),kL(s,e,t),LL(s,t.transform)}}},AL={left:"start",right:"end",center:"middle",middle:"middle"};function PL(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}var OL={brush:function(t){var e=t.style,n=e.text;if(null!=n&&(n+=""),n&&!isNaN(e.x)&&!isNaN(e.y)){var i=t.__svgEl;i||(i=rL("text"),TL(i,"xml:space","preserve"),t.__svgEl=i);var r=e.font||Vr,a=i.style;a.font=r,i.textContent=n,kL(i,e,t),LL(i,t.transform);var o=e.x||0,s=PL(e.y||0,Jr(r),e.textBaseline),l=AL[e.textAlign]||e.textAlign;SL(i,"dominant-baseline","central"),SL(i,"text-anchor",l),SL(i,"x",o+""),SL(i,"y",s+"")}}},HL="0",NL="1",EL=function(){function t(t,e,n,i,r){this.nextId=0,this._domName="_dom",this.createElement=rL,this._zrId=t,this._svgRoot=e,this._tagNames="string"===typeof n?[n]:n,this._markLabel=i,r&&(this._domName=r)}return t.prototype.getDefs=function(t){var e=this._svgRoot,n=this._svgRoot.getElementsByTagName("defs");if(0===n.length){if(t){var i=e.insertBefore(this.createElement("defs"),e.firstChild);return i.contains||(i.contains=function(t){var e=i.children;if(!e)return!1;for(var n=e.length-1;n>=0;--n)if(e[n]===t)return!0;return!1}),i}return null}return n[0]},t.prototype.doUpdate=function(t,e){if(t){var n=this.getDefs(!1);if(t[this._domName]&&n.contains(t[this._domName]))"function"===typeof e&&e(t);else{var i=this.add(t);i&&(t[this._domName]=i)}}},t.prototype.add=function(t){return null},t.prototype.addDom=function(t){var e=this.getDefs(!0);t.parentNode!==e&&e.appendChild(t)},t.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},t.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return Me(this._tagNames,(function(n){for(var i=t.getElementsByTagName(n),r=0;r<i.length;r++)e.push(i[r])})),e},t.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;Me(t,(function(t){t[e._markLabel]=HL}))},t.prototype.markDomUsed=function(t){t&&(t[this._markLabel]=NL)},t.prototype.markDomUnused=function(t){t&&(t[this._markLabel]=HL)},t.prototype.isDomUnused=function(t){return t&&t[this._markLabel]!==NL},t.prototype.removeUnused=function(){var t=this,e=this.getDefs(!1);if(e){var n=this.getDoms();Me(n,(function(n){t.isDomUnused(n)&&e.removeChild(n)}))}},t.prototype.getSvgProxy=function(t){return t instanceof Uu?IL:t instanceof td?CL:t instanceof qu?OL:IL},t.prototype.getSvgElement=function(t){return t.__svgEl},t}(),RL=EL;function zL(t){return"linear"===t.type}function jL(t){return"radial"===t.type}function BL(t){return t&&("linear"===t.type||"radial"===t.type)}var FL=function(t){function e(e,n){return t.call(this,e,n,["linearGradient","radialGradient"],"__gradient_in_use__")||this}return sn(e,t),e.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var n=this;Me(["fill","stroke"],(function(i){var r=e.style[i];if(BL(r)){var a=r,o=n.getDefs(!0),s=void 0;a.__dom?(s=a.__dom,o.contains(a.__dom)||n.addDom(s)):s=n.add(a),n.markUsed(e);var l=s.getAttribute("id");t.setAttribute(i,"url(#"+l+")")}}))}},e.prototype.add=function(t){var e;if(zL(t))e=this.createElement("linearGradient");else{if(!jL(t))return de("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},e.prototype.update=function(t){if(BL(t)){var e=this;this.doUpdate(t,(function(){var n=t.__dom;if(n){var i=n.tagName,r=t.type;"linear"===r&&"linearGradient"===i||"radial"===r&&"radialGradient"===i?e.updateDom(t,t.__dom):(e.removeDom(t),e.add(t))}}))}},e.prototype.updateDom=function(t,e){if(zL(t))e.setAttribute("x1",t.x+""),e.setAttribute("y1",t.y+""),e.setAttribute("x2",t.x2+""),e.setAttribute("y2",t.y2+"");else{if(!jL(t))return void de("Illegal gradient type.");e.setAttribute("cx",t.x+""),e.setAttribute("cy",t.y+""),e.setAttribute("r",t.r+"")}t.global?e.setAttribute("gradientUnits","userSpaceOnUse"):e.setAttribute("gradientUnits","objectBoundingBox"),e.innerHTML="";for(var n=t.colorStops,i=0,r=n.length;i<r;++i){var a=this.createElement("stop");a.setAttribute("offset",100*n[i].offset+"%");var o=n[i].color;if(o.indexOf("rgba")>-1){var s=Qi(o)[3],l=ir(o);a.setAttribute("stop-color","#"+l),a.setAttribute("stop-opacity",s+"")}else a.setAttribute("stop-color",n[i].color);e.appendChild(a)}t.__dom=e},e.prototype.markUsed=function(e){if(e.style){var n=e.style.fill;n&&n.__dom&&t.prototype.markDomUsed.call(this,n.__dom),n=e.style.stroke,n&&n.__dom&&t.prototype.markDomUsed.call(this,n.__dom)}},e}(RL),VL=FL;function WL(t){return t&&(!!t.image||!!t.svgElement)}var GL=new oM,UL=function(t){function e(e,n){return t.call(this,e,n,["pattern"],"__pattern_in_use__")||this}return sn(e,t),e.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var n=this;Me(["fill","stroke"],(function(i){var r=e.style[i];if(WL(r)){var a=n.getDefs(!0),o=GL.get(r);o?a.contains(o)||n.addDom(o):o=n.add(r),n.markUsed(e);var s=o.getAttribute("id");t.setAttribute(i,"url(#"+s+")")}}))}},e.prototype.add=function(t){if(WL(t)){var e=this.createElement("pattern");return t.id=null==t.id?this.nextId++:t.id,e.setAttribute("id","zr"+this._zrId+"-pattern-"+t.id),e.setAttribute("x","0"),e.setAttribute("y","0"),e.setAttribute("patternUnits","userSpaceOnUse"),this.updateDom(t,e),this.addDom(e),e}},e.prototype.update=function(t){if(WL(t)){var e=this;this.doUpdate(t,(function(){var n=GL.get(t);e.updateDom(t,n)}))}},e.prototype.updateDom=function(t,e){var n=t.svgElement;if(n instanceof SVGElement)n.parentNode!==e&&(e.innerHTML="",e.appendChild(n),e.setAttribute("width",t.svgWidth+""),e.setAttribute("height",t.svgHeight+""));else{var i=void 0,r=e.getElementsByTagName("image");if(r.length){if(!t.image)return void e.removeChild(r[0]);i=r[0]}else t.image&&(i=this.createElement("image"));if(i){var a=void 0;if("string"===typeof t.image?a=t.image:t.image instanceof HTMLImageElement?a=t.image.src:t.image instanceof HTMLCanvasElement&&(a=t.image.toDataURL()),a){i.setAttribute("href",a),i.setAttribute("x","0"),i.setAttribute("y","0");var o={dirty:function(){}},s=js(a,i,o,(function(t){e.setAttribute("width",t.width+""),e.setAttribute("height",t.height+"")}));s&&s.width&&s.height&&(e.setAttribute("width",s.width+""),e.setAttribute("height",s.height+"")),e.appendChild(i)}}}var l=t.x||0,u=t.y||0,d=(t.rotation||0)/Math.PI*180,c=t.scaleX||1,h=t.scaleY||1,p="translate("+l+", "+u+") rotate("+d+") scale("+c+", "+h+")";e.setAttribute("patternTransform",p),GL.set(t,e)},e.prototype.markUsed=function(e){e.style&&(WL(e.style.fill)&&t.prototype.markDomUsed.call(this,GL.get(e.style.fill)),WL(e.style.stroke)&&t.prototype.markDomUsed.call(this,GL.get(e.style.stroke)))},e}(RL),XL=UL;function ZL(t){var e=[];if(t)for(var n=0;n<t.length;n++){var i=t[n];e.push(i.id)}return e.join(",")}function qL(t){var e=t.__clipPaths;return e&&e.length>0}var $L=function(t){function e(e,n){var i=t.call(this,e,n,"clipPath","__clippath_in_use__")||this;return i._refGroups={},i._keyDuplicateCount={},i}return sn(e,t),e.prototype.markAllUnused=function(){for(var e in t.prototype.markAllUnused.call(this),this._refGroups)this.markDomUnused(this._refGroups[e]);this._keyDuplicateCount={}},e.prototype._getClipPathGroup=function(t,e){if(qL(t)){var n=t.__clipPaths,i=this._keyDuplicateCount,r=ZL(n);return xM(n,e&&e.__clipPaths)&&(i[r]=i[r]||0,i[r]&&(r+="-"+i[r]),i[r]++),this._refGroups[r]||(this._refGroups[r]=this.createElement("g"))}},e.prototype.update=function(t,e){var n=this._getClipPathGroup(t,e);return n&&(this.markDomUsed(n),this.updateDom(n,t.__clipPaths)),n},e.prototype.updateDom=function(t,e){if(e&&e.length>0){var n=this.getDefs(!0),i=e[0],r=void 0,a=void 0;i._dom?(a=i._dom.getAttribute("id"),r=i._dom,n.contains(r)||n.appendChild(r)):(a="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,r=this.createElement("clipPath"),r.setAttribute("id",a),n.appendChild(r),i._dom=r);var o=this.getSvgProxy(i);o.brush(i);var s=this.getSvgElement(i);r.innerHTML="",r.appendChild(s),t.setAttribute("clip-path","url(#"+a+")"),e.length>1&&this.updateDom(r,e.slice(1))}else t&&t.setAttribute("clip-path","none")},e.prototype.markUsed=function(e){var n=this;e.__clipPaths&&Me(e.__clipPaths,(function(e){e._dom&&t.prototype.markDomUsed.call(n,e._dom)}))},e.prototype.removeUnused=function(){t.prototype.removeUnused.call(this);var e={};for(var n in this._refGroups){var i=this._refGroups[n];this.isDomUnused(i)?i.parentNode&&i.parentNode.removeChild(i):e[n]=i}this._refGroups=e},e}(RL),JL=$L,KL=function(t){function e(e,n){var i=t.call(this,e,n,["filter"],"__filter_in_use__","_shadowDom")||this;return i._shadowDomMap={},i._shadowDomPool=[],i}return sn(e,t),e.prototype._getFromPool=function(){var t=this._shadowDomPool.pop();if(!t){t=this.createElement("filter"),t.setAttribute("id","zr"+this._zrId+"-shadow-"+this.nextId++);var e=this.createElement("feDropShadow");t.appendChild(e),this.addDom(t)}return t},e.prototype.update=function(t,e){var n=e.style;if(tS(n)){var i=eS(e),r=e._shadowDom=this._shadowDomMap[i];r||(r=this._getFromPool(),this._shadowDomMap[i]=r),this.updateDom(t,e,r)}else this.remove(t,e)},e.prototype.remove=function(t,e){null!=e._shadowDom&&(e._shadowDom=null,t.style.filter="")},e.prototype.updateDom=function(t,e,n){var i=n.children[0],r=e.style,a=e.getGlobalScale(),o=a[0],s=a[1];if(o&&s){var l=r.shadowOffsetX||0,u=r.shadowOffsetY||0,d=r.shadowBlur,c=r.shadowColor;i.setAttribute("dx",l/o+""),i.setAttribute("dy",u/s+""),i.setAttribute("flood-color",c);var h=d/2/o,p=d/2/s,f=h+" "+p;i.setAttribute("stdDeviation",f),n.setAttribute("x","-100%"),n.setAttribute("y","-100%"),n.setAttribute("width","300%"),n.setAttribute("height","300%"),e._shadowDom=n;var m=n.getAttribute("id");t.style.filter="url(#"+m+")"}},e.prototype.removeUnused=function(){var t=this.getDefs(!1);if(t){var e=this._shadowDomPool;for(var n in this._shadowDomMap){var i=this._shadowDomMap[n];e.push(i)}this._shadowDomMap={}}},e}(RL),QL=KL;function tS(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}function eS(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}function nS(t){return parseInt(t,10)}function iS(t){return t instanceof Uu?IL:t instanceof td?CL:t instanceof qu?OL:IL}function rS(t,e){return e&&t&&e.parentNode!==t}function aS(t,e,n){if(rS(t,e)&&n){var i=n.nextSibling;i?t.insertBefore(e,i):t.appendChild(e)}}function oS(t,e){if(rS(t,e)){var n=t.firstChild;n?t.insertBefore(e,n):t.appendChild(e)}}function sS(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function lS(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function uS(t){return t.__svgEl}var dS=function(){function t(t,e,n,i){this.type="svg",this.refreshHover=cS("refreshHover"),this.pathToImage=cS("pathToImage"),this.configLayer=cS("configLayer"),this.root=t,this.storage=e,this._opts=n=fe({},n||{});var r=rL("svg");r.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/svg"),r.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),r.setAttribute("version","1.1"),r.setAttribute("baseProfile","full"),r.style.cssText="user-select:none;position:absolute;left:0;top:0;";var a=rL("g");r.appendChild(a);var o=rL("g");r.appendChild(o),this._gradientManager=new VL(i,o),this._patternManager=new XL(i,o),this._clipPathManager=new JL(i,o),this._shadowManager=new QL(i,o);var s=document.createElement("div");s.style.cssText="overflow:hidden;position:relative",this._svgDom=r,this._svgRoot=o,this._backgroundRoot=a,this._viewport=s,t.appendChild(s),s.appendChild(r),this.resize(n.width,n.height),this._visibleList=[]}return t.prototype.getType=function(){return"svg"},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.getSvgRoot=function(){return this._svgRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},t.prototype.setBackgroundColor=function(t){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var e=rL("rect");e.setAttribute("width",this.getWidth()),e.setAttribute("height",this.getHeight()),e.setAttribute("x",0),e.setAttribute("y",0),e.setAttribute("id",0),e.style.fill=t,this._backgroundRoot.appendChild(e),this._backgroundNode=e},t.prototype.createSVGElement=function(t){return rL(t)},t.prototype.paintOne=function(t){var e=iS(t);return e&&e.brush(t),uS(t)},t.prototype._paintList=function(t){var e=this._gradientManager,n=this._patternManager,i=this._clipPathManager,r=this._shadowManager;e.markAllUnused(),n.markAllUnused(),i.markAllUnused(),r.markAllUnused();for(var a=this._svgRoot,o=this._visibleList,s=t.length,l=[],u=0;u<s;u++){var d=t[u],c=iS(d),h=uS(d);d.invisible||(!d.__dirty&&h||(c&&c.brush(d),h=uS(d),h&&d.style&&(e.update(d.style.fill),e.update(d.style.stroke),n.update(d.style.fill),n.update(d.style.stroke),r.update(h,d)),d.__dirty=0),h&&l.push(d))}var p,f,m,g,y=dL(o,l);for(u=0;u<y.length;u++){var _=y[u];if(_.removed)for(var v=0;v<_.count;v++){d=o[_.indices[v]],h=uS(d);qL(d)?lS(h):sS(a,h)}}for(u=0;u<y.length;u++){_=y[u];if(!_.removed)for(v=0;v<_.count;v++){d=l[_.indices[v]];var x=i.update(d,m);x!==g&&(p=f,x&&(p?aS(a,x,p):oS(a,x),f=x,p=null),g=x);h=uS(d);p?aS(g||a,h,p):oS(g||a,h),p=h||p,g||(f=p),e.markUsed(d),e.addWithoutUpdate(h,d),n.markUsed(d),n.addWithoutUpdate(h,d),i.markUsed(d),m=d}}e.removeUnused(),n.removeUnused(),i.removeUnused(),r.removeUnused(),this._visibleList=l},t.prototype._getDefs=function(t){var e=this._svgDom,n=e.getElementsByTagName("defs");if(0===n.length){if(t){var i=e.insertBefore(rL("defs"),e.firstChild);return i.contains||(i.contains=function(t){var e=i.children;if(!e)return!1;for(var n=e.length-1;n>=0;--n)if(e[n]===t)return!0;return!1}),i}return null}return n[0]},t.prototype.resize=function(t,e){var n=this._viewport;n.style.display="none";var i=this._opts;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var r=n.style;r.width=t+"px",r.height=e+"px";var a=this._svgDom;a.setAttribute("width",t+""),a.setAttribute("height",e+"")}this._backgroundNode&&(this._backgroundNode.setAttribute("width",t),this._backgroundNode.setAttribute("height",e))},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype._getSize=function(t){var e=this._opts,n=["width","height"][t],i=["clientWidth","clientHeight"][t],r=["paddingLeft","paddingTop"][t],a=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var o=this.root,s=document.defaultView.getComputedStyle(o);return(o[i]||nS(s[n])||nS(o.style[n]))-(nS(s[r])||0)-(nS(s[a])||0)|0},t.prototype.dispose=function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},t.prototype.clear=function(){var t=this._viewport;t&&t.parentNode&&t.parentNode.removeChild(t)},t.prototype.toDataURL=function(){this.refresh();var t=this._svgDom,e=t.outerHTML||(t.parentNode&&t.parentNode).innerHTML,n=encodeURIComponent(e.replace(/></g,">\n\r<"));return"data:image/svg+xml;charset=UTF-8,"+n},t}();function cS(t){return function(){de('In SVG mode painter not support method "'+t+'"')}}var hS=dS;function pS(t){t.registerPainter("svg",hS)}function fS(t){return null==t?0:t.length||1}function mS(t){return t}var gS=function(){function t(t,e,n,i,r,a){this._old=t,this._new=e,this._oldKeyGetter=n||mS,this._newKeyGetter=i||mS,this.context=r,this._diffModeMultiple="multiple"===a}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var a=0;a<t.length;a++){var o=i[a],s=n[o],l=fS(s);if(l>1){var u=s.shift();1===s.length&&(n[o]=s[0]),this._update&&this._update(u,a)}else 1===l?(n[o]=null,this._update&&this._update(s,a)):this._remove&&this._remove(a)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],a=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,a,"_newKeyGetter");for(var o=0;o<r.length;o++){var s=r[o],l=n[s],u=i[s],d=fS(l),c=fS(u);if(d>1&&1===c)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===d&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===d&&1===c)this._update&&this._update(u,l),i[s]=null;else if(d>1)for(var h=0;h<d;h++)this._remove&&this._remove(l[h]);else this._remove&&this._remove(l)}this._performRestAdd(a,i)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=e[i],a=fS(r);if(a>1)for(var o=0;o<a;o++)this._add&&this._add(r[o]);else 1===a&&this._add&&this._add(r);e[i]=null}},t.prototype._initIndexMap=function(t,e,n,i){for(var r=this._diffModeMultiple,a=0;a<t.length;a++){var o="_ec_"+this[i](t[a],a);if(r||(n[a]=o),e){var s=e[o],l=fS(s);0===l?(e[o]=a,r&&n.push(o)):1===l?e[o]=[s,a]:s.push(a)}}},t}(),yS=gS;function _S(t){var e={},n=e.encode={},i=tn(),r=[],a=[],o=e.userOutput={dimensionNames:t.dimensions.slice(),encode:{}};Me(t.dimensions,(function(e){var s=t.getDimensionInfo(e),l=s.coordDim;if(l){0;var u=s.coordDimIndex;vS(n,l)[u]=e,s.isExtraCoord||(i.set(l,1),MS(s.type)&&(r[0]=e),vS(o.encode,l)[u]=s.index),s.defaultTooltip&&a.push(e)}Jm.each((function(t,e){var i=vS(n,e),r=s.otherDims[e];null!=r&&!1!==r&&(i[r]=s.name)}))}));var s=[],l={};i.each((function(t,e){var i=n[e];l[e]=i[0],s=s.concat(i)})),e.dataDimsOnCoord=s,e.encodeFirstDimNotExtra=l;var u=n.label;u&&u.length&&(r=u.slice());var d=n.tooltip;return d&&d.length?a=d.slice():a.length||(a=r.slice()),n.defaultedLabel=r,n.defaultedTooltip=a,e}function vS(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function xS(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function MS(t){return!("ordinal"===t||"time"===t)}var bS,wS,LS,SS,DS,TS,kS,YS,IS,CS,AS,PS,OS,HS,NS=function(){function t(t){this.otherDims={},null!=t&&fe(this,t)}return t}(),ES=NS,RS=Math.floor,zS=He,jS=be,BS="undefined",FS=-1,VS="e\0\0",WS={float:typeof Float64Array===BS?Array:Float64Array,int:typeof Int32Array===BS?Array:Int32Array,ordinal:Array,number:Array,time:Array},GS=typeof Uint32Array===BS?Array:Uint32Array,US=typeof Int32Array===BS?Array:Int32Array,XS=typeof Uint16Array===BS?Array:Uint16Array,ZS=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx","_nameRepeatCount"],qS=["_extent","_approximateExtent","_rawExtent"],$S=function(){function t(t,e){this.type="list",this._count=0,this._rawCount=0,this._storage={},this._storageArr=[],this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._rawExtent={},this._extent={},this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!0,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"],this.getRawIndex=DS,t=t||["x","y"];for(var n={},i=[],r={},a=0;a<t.length;a++){var o=t[a],s=Ae(o)?new ES({name:o}):o instanceof ES?o:new ES(o),l=s.name;s.type=s.type||"float",s.coordDim||(s.coordDim=l,s.coordDimIndex=0);var u=s.otherDims=s.otherDims||{};i.push(l),n[l]=s,s.index=a,s.createInvertedIndices&&(r[l]=[]),0===u.itemName&&(this._nameDimIdx=a,this._nameOrdinalMeta=s.ordinalMeta),0===u.itemId&&(this._idDimIdx=a,this._idOrdinalMeta=s.ordinalMeta)}this.dimensions=i,this._dimensionInfos=n,this.hostModel=e,this._dimensionsSummary=_S(this),this._invertedIndicesMap=r,this.userOutput=this._dimensionsSummary.userOutput}return t.prototype.getDimension=function(t){return"number"!==typeof t&&(isNaN(t)||this._dimensionInfos.hasOwnProperty(t))||(t=this.dimensions[t]),t},t.prototype.getDimensionInfo=function(t){return this._dimensionInfos[this.getDimension(t)]},t.prototype.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimensionsSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){var e=this._dimensionsSummary,n=e.encode[t];return(n||[]).slice()},t.prototype.initData=function(t,e,n){var i=ky(t)||xe(t),r=i?new Ry(t,this.dimensions.length):t;this._rawData=r;var a=r.getSource().sourceFormat;this._storage={},this._indices=null,this._dontMakeIdFromName=null!=this._idDimIdx||a===ng||!!r.fillStorage,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},n||(this.hasItemOption=!1),this.defaultDimValueGetter=bS[a],this._dimValueGetter=n=n||this.defaultDimValueGetter,this._dimValueGetterArrayRows=bS.arrayRows,this._rawExtent={},this._initDataFromProvider(0,r.count()),r.pure&&(this.hasItemOption=!1)},t.prototype.getProvider=function(){return this._rawData},t.prototype.appendData=function(t){var e=this._rawData,n=this.count();e.appendData(t);var i=e.count();e.persistent||(i+=n),this._initDataFromProvider(n,i,!0)},t.prototype.appendValues=function(t,e){for(var n=this._storage,i=this.dimensions,r=i.length,a=this._rawExtent,o=this.count(),s=o+Math.max(t.length,e?e.length:0),l=0;l<r;l++){var u=i[l];a[u]||(a[u]=PS()),SS(n,this._dimensionInfos[u],s,!0)}for(var d=jS(i,(function(t){return a[t]})),c=this._storageArr=jS(i,(function(t){return n[t]})),h=[],p=o;p<s;p++){for(var f=p-o,m=0;m<r;m++){u=i[m];var g=this._dimValueGetterArrayRows(t[f]||h,u,f,m);c[m][p]=g;var y=d[m];g<y[0]&&(y[0]=g),g>y[1]&&(y[1]=g)}e&&(this._nameList[p]=e[f],this._dontMakeIdFromName||IS(this,p))}this._rawCount=this._count=s,this._extent={},wS(this)},t.prototype._initDataFromProvider=function(t,e,n){if(!(t>=e)){for(var i=this._rawData,r=this._storage,a=this.dimensions,o=a.length,s=this._dimensionInfos,l=this._nameList,u=this._idList,d=this._rawExtent,c=i.getSource().sourceFormat,h=c===Km,p=0;p<o;p++){var f=a[p];d[f]||(d[f]=PS()),SS(r,s[f],e,n)}var m=this._storageArr=jS(a,(function(t){return r[t]})),g=jS(a,(function(t){return d[t]}));if(i.fillStorage)i.fillStorage(t,e,m,g);else for(var y=[],_=t;_<e;_++){y=i.getItem(_,y);for(var v=0;v<o;v++){f=a[v];var x=m[v],M=this._dimValueGetter(y,f,_,v);x[_]=M;var b=g[v];M<b[0]&&(b[0]=M),M>b[1]&&(b[1]=M)}if(h&&!i.pure&&y){var w=y.name;null==l[_]&&null!=w&&(l[_]=es(w,null));var L=y.id;null==u[_]&&null!=L&&(u[_]=es(L,null))}this._dontMakeIdFromName||IS(this,_)}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent={},wS(this)}},t.prototype.count=function(){return this._count},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r<i;r++)t[r]=e[r]}else t=new n(e.buffer,0,i)}else{n=LS(this);t=new n(this.count());for(r=0;r<t.length;r++)t[r]=r}return t},t.prototype.getByDimIdx=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._storageArr[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._storage[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._storage[t];return n?n[e]:NaN},t.prototype.getValues=function(t,e){var n=[];Ie(t)||(e=t,t=this.dimensions);for(var i=0,r=t.length;i<r;i++)n.push(this.get(t[i],e));return n},t.prototype.hasValue=function(t){for(var e=this._dimensionsSummary.dataDimsOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this.get(e[n],t)))return!1;return!0},t.prototype.getDataExtent=function(t){t=this.getDimension(t);var e=this._storage[t],n=PS();if(!e)return n;var i,r=this.count(),a=!this._indices;if(a)return this._rawExtent[t].slice();if(i=this._extent[t],i)return i.slice();i=n;for(var o=i[0],s=i[1],l=0;l<r;l++){var u=this.getRawIndex(l),d=e[u];d<o&&(o=d),d>s&&(s=d)}return i=[o,s],this._extent[t]=i,i},t.prototype.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){zS(t)?fe(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getSum=function(t){var e=this._storage[t],n=0;if(e)for(var i=0,r=this.count();i<r;i++){var a=this.get(t,i);isNaN(a)||(n+=a)}return n},t.prototype.getMedian=function(t){var e=[];this.each(t,(function(t){isNaN(t)||e.push(t)}));var n=e.sort((function(t,e){return t-e})),i=this.count();return 0===i?0:i%2===1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},t.prototype.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t];var i=n[e];return null==i||isNaN(i)?FS:i},t.prototype.indexOfName=function(t){for(var e=0,n=this.count();e<n;e++)if(this.getName(e)===t)return e;return-1},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;var i=0,r=this._count-1;while(i<=r){var a=(i+r)/2|0;if(e[a]<t)i=a+1;else{if(!(e[a]>t))return a;r=a-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._storage,r=i[t],a=[];if(!r)return a;null==n&&(n=1/0);for(var o=1/0,s=-1,l=0,u=0,d=this.count();u<d;u++){var c=this.getRawIndex(u),h=e-r[c],p=Math.abs(h);p<=n&&((p<o||p===o&&h>=0&&s<0)&&(o=p,s=h,l=0),h===s&&(a[l++]=u))}return a.length=l,a},t.prototype.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],n=0;n<this.dimensions.length;n++){var i=this.dimensions[n];e.push(this.get(i,t))}return e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=YS(this,this._nameDimIdx,this._nameOrdinalMeta,e)),null==n&&(n=""),n},t.prototype.getId=function(t){return kS(this,this.getRawIndex(t))},t.prototype.each=function(t,e,n,i){var r=this;if(this._count){"function"===typeof t&&(i=n,n=e,e=t,t=[]);var a=n||i||this,o=jS(CS(t),this.getDimension,this);0;for(var s=o.length,l=jS(o,(function(t){return r._dimensionInfos[t].index})),u=this._storageArr,d=0,c=this.count();d<c;d++){var h=this.getRawIndex(d);switch(s){case 0:e.call(a,d);break;case 1:e.call(a,u[l[0]][h],d);break;case 2:e.call(a,u[l[0]][h],u[l[1]][h],d);break;default:for(var p=0,f=[];p<s;p++)f[p]=u[l[p]][h];f[p]=d,e.apply(a,f)}}}},t.prototype.filterSelf=function(t,e,n,i){var r=this;if(this._count){"function"===typeof t&&(i=n,n=e,e=t,t=[]);var a=n||i||this,o=jS(CS(t),this.getDimension,this);0;for(var s=this.count(),l=LS(this),u=new l(s),d=[],c=o.length,h=0,p=jS(o,(function(t){return r._dimensionInfos[t].index})),f=p[0],m=this._storageArr,g=0;g<s;g++){var y=void 0,_=this.getRawIndex(g);if(0===c)y=e.call(a,g);else if(1===c){var v=m[f][_];y=e.call(a,v,g)}else{for(var x=0;x<c;x++)d[x]=m[p[x]][_];d[x]=g,y=e.apply(a,d)}y&&(u[h++]=_)}return h<s&&(this._indices=u),this._count=h,this._extent={},this.getRawIndex=this._indices?TS:DS,this}},t.prototype.selectRange=function(t){var e=this,n=this._count;if(n){var i=[];for(var r in t)t.hasOwnProperty(r)&&i.push(r);0;var a=i.length;if(a){var o=this.count(),s=LS(this),l=new s(o),u=0,d=i[0],c=jS(i,(function(t){return e._dimensionInfos[t].index})),h=t[d][0],p=t[d][1],f=this._storageArr,m=!1;if(!this._indices){var g=0;if(1===a){for(var y=f[c[0]],_=0;_<n;_++){var v=y[_];(v>=h&&v<=p||isNaN(v))&&(l[u++]=g),g++}m=!0}else if(2===a){y=f[c[0]];var x=f[c[1]],M=t[i[1]][0],b=t[i[1]][1];for(_=0;_<n;_++){v=y[_];var w=x[_];(v>=h&&v<=p||isNaN(v))&&(w>=M&&w<=b||isNaN(w))&&(l[u++]=g),g++}m=!0}}if(!m)if(1===a)for(_=0;_<o;_++){var L=this.getRawIndex(_);v=f[c[0]][L];(v>=h&&v<=p||isNaN(v))&&(l[u++]=L)}else for(_=0;_<o;_++){for(var S=!0,D=(L=this.getRawIndex(_),0);D<a;D++){var T=i[D];v=f[c[D]][L];(v<t[T][0]||v>t[T][1])&&(S=!1)}S&&(l[u++]=this.getRawIndex(_))}return u<o&&(this._indices=l),this._count=u,this._extent={},this.getRawIndex=this._indices?TS:DS,this}}},t.prototype.mapArray=function(t,e,n,i){"function"===typeof t&&(i=n,n=e,e=t,t=[]),n=n||i||this;var r=[];return this.each(t,(function(){r.push(e&&e.apply(this,arguments))}),n),r},t.prototype.map=function(t,e,n,i){var r=n||i||this,a=jS(CS(t),this.getDimension,this);var o=AS(this,a),s=o._storage;o._indices=this._indices,o.getRawIndex=o._indices?TS:DS;for(var l=[],u=a.length,d=this.count(),c=[],h=o._rawExtent,p=0;p<d;p++){for(var f=0;f<u;f++)c[f]=this.get(a[f],p);c[u]=p;var m=e&&e.apply(r,c);if(null!=m){"object"!==typeof m&&(l[0]=m,m=l);for(var g=this.getRawIndex(p),y=0;y<m.length;y++){var _=a[y],v=m[y],x=h[_],M=s[_];M&&(M[g]=v),v<x[0]&&(x[0]=v),v>x[1]&&(x[1]=v)}}}return o},t.prototype.downSample=function(t,e,n,i){for(var r=AS(this,[t]),a=r._storage,o=[],s=RS(1/e),l=a[t],u=this.count(),d=r._rawExtent[t],c=new(LS(this))(u),h=0,p=0;p<u;p+=s){s>u-p&&(s=u-p,o.length=s);for(var f=0;f<s;f++){var m=this.getRawIndex(p+f);o[f]=l[m]}var g=n(o),y=this.getRawIndex(Math.min(p+i(o,g)||0,u-1));l[y]=g,g<d[0]&&(d[0]=g),g>d[1]&&(d[1]=g),c[h++]=y}return r._count=h,r._indices=c,r.getRawIndex=TS,r},t.prototype.lttbDownSample=function(t,e){var n,i,r,a=AS(this,[]),o=a._storage,s=o[t],l=this.count(),u=new(LS(this))(l),d=0,c=RS(1/e),h=this.getRawIndex(0);u[d++]=h;for(var p=1;p<l-1;p+=c){for(var f=Math.min(p+c,l-1),m=Math.min(p+2*c,l),g=(m+f)/2,y=0,_=f;_<m;_++){var v=this.getRawIndex(_),x=s[v];isNaN(x)||(y+=x)}y/=m-f;var M=p,b=Math.min(p+c,l),w=p-1,L=s[h];n=-1,r=M;for(_=M;_<b;_++){v=this.getRawIndex(_),x=s[v];isNaN(x)||(i=Math.abs((w-g)*(x-L)-(w-_)*(y-L)),i>n&&(n=i,r=v))}u[d++]=r,h=r}return u[d++]=this.getRawIndex(l-1),a._count=d,a._indices=u,a.getRawIndex=TS,a},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new Mf(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new yS(t?t.getIndices():[],this.getIndices(),(function(e){return kS(t,e)}),(function(t){return kS(e,t)}))},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},zS(t)?fe(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return null==i?this.getVisual(e):i},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(r=this.getVisual(e),Ie(r)?r=r.slice():zS(r)&&(r=fe({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,zS(e)?fe(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){if(zS(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?fe(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel;if(e){var i=Ld(e);i.dataIndex=t,i.dataType=this.dataType,i.seriesIndex=n&&n.seriesIndex,"group"===e.type&&e.traverse(OS,e)}this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){Me(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){if(!e){var n=jS(this.dimensions,this.getDimensionInfo,this);e=new t(n,this.hostModel)}if(e._storage=this._storage,e._storageArr=this._storageArr,HS(e,this),this._indices){var i=this._indices.constructor;if(i===Array){var r=this._indices.length;e._indices=new i(r);for(var a=0;a<r;a++)e._indices[a]=this._indices[a]}else e._indices=new i(this._indices)}else e._indices=null;return e.getRawIndex=e._indices?TS:DS,e},t.prototype.wrapMethod=function(t,e){var n=this[t];"function"===typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(Ue(arguments)))})},t.internalField=function(){function e(t,e,n,i){return r_(t[i],this._dimensionInfos[e])}function n(t){var e=t.constructor;return e===Array?t.slice():new e(t)}bS={arrayRows:e,objectRows:function(t,e,n,i){return r_(t[e],this._dimensionInfos[e])},keyedColumns:e,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return!this._rawData.pure&&Go(t)&&(this.hasItemOption=!0),r_(r instanceof Array?r[i]:r,this._dimensionInfos[e])},typedArray:function(t,e,n,i){return t[i]}},wS=function(t){var e=t._invertedIndicesMap;Me(e,(function(n,i){var r=t._dimensionInfos[i],a=r.ordinalMeta;if(a){n=e[i]=new US(a.categories.length);for(var o=0;o<n.length;o++)n[o]=FS;for(o=0;o<t._count;o++)n[t.get(i,o)]=o}}))},YS=function(t,e,n,i){var r,a=t._storageArr[e];return a&&(r=a[i],n&&n.categories.length&&(r=n.categories[r])),es(r,null)},LS=function(t){return t._rawCount>65535?GS:XS},SS=function(t,e,n,i){var r=WS[e.type],a=e.name;if(i){var o=t[a],s=o&&o.length;if(s!==n){for(var l=new r(n),u=0;u<s;u++)l[u]=o[u];t[a]=l}}else t[a]=new r(n)},DS=function(t){return t},TS=function(t){return t<this._count&&t>=0?this._indices[t]:-1},kS=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=YS(t,t._idDimIdx,t._idOrdinalMeta,e)),null==n&&(n=VS+e),n},CS=function(t){return Ie(t)||(t=null!=t?[t]:[]),t},function(t,e){for(var n=0;n<e.length;n++)t._dimensionInfos[e[n]]||console.error("Unkown dimension "+e[n])},AS=function(e,i){var r=e.dimensions,a=new t(jS(r,e.getDimensionInfo,e),e.hostModel);HS(a,e);for(var o=a._storage={},s=e._storage,l=a._storageArr=[],u=0;u<r.length;u++){var d=r[u];s[d]&&(ye(i,d)>=0?(o[d]=n(s[d]),a._rawExtent[d]=PS(),a._extent[d]=null):o[d]=s[d],l.push(o[d]))}return a},PS=function(){return[1/0,-1/0]},OS=function(t){var e=Ld(t),n=Ld(this);e.seriesIndex=n.seriesIndex,e.dataIndex=n.dataIndex,e.dataType=n.dataType},HS=function(t,e){Me(ZS.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,Me(qS,(function(n){t[n]=ce(e[n])})),t._calculationInfo=fe({},e._calculationInfo)},IS=function(t,e){var n=t._nameList,i=t._idList,r=t._nameDimIdx,a=t._idDimIdx,o=n[e],s=i[e];if(null==o&&null!=r&&(n[e]=o=YS(t,r,t._nameOrdinalMeta,e)),null==s&&null!=a&&(i[e]=s=YS(t,a,t._idOrdinalMeta,e)),null==s&&null!=o){var l=t._nameRepeatCount,u=l[o]=(l[o]||0)+1;s=o,u>1&&(s+="__ec__"+u),i[e]=s}}}(),t}(),JS=$S;function KS(t,e,n){ky(e)||(e=Iy(e)),n=n||{},t=(t||[]).slice();for(var i=(n.dimsDef||[]).slice(),r=tn(),a=tn(),o=[],s=QS(e,t,i,n.dimCount),l=0;l<s;l++){var u=i[l],d=i[l]=fe({},He(u)?u:{name:u}),c=d.name,h=o[l]=new ES;null!=c&&null==r.get(c)&&(h.name=h.displayName=c,r.set(c,l)),null!=d.type&&(h.type=d.type),null!=d.displayName&&(h.displayName=d.displayName)}var p=n.encodeDef;!p&&n.encodeDefaulter&&(p=n.encodeDefaulter(e,s));var f=tn(p);f.each((function(t,e){var n=Bo(t).slice();if(1===n.length&&!Ae(n[0])&&n[0]<0)f.set(e,!1);else{var i=f.set(e,[]);Me(n,(function(t,n){var a=Ae(t)?r.get(t):t;null!=a&&a<s&&(i[n]=a,g(o[a],e,n))}))}}));var m=0;function g(t,e,n){null!=Jm.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,a.set(e,!0))}Me(t,(function(t){var e,n,i,r;if(Ae(t))e=t,r={};else{r=t,e=r.name;var a=r.ordinalMeta;r.ordinalMeta=null,r=ce(r),r.ordinalMeta=a,n=r.dimsDef,i=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var s=f.get(e);if(!1!==s){if(s=Bo(s),!s.length)for(var l=0;l<(n&&n.length||1);l++){while(m<o.length&&null!=o[m].coordDim)m++;m<o.length&&s.push(m++)}Me(s,(function(t,a){var s=o[t];if(g(me(s,r),e,a),null==s.name&&n){var l=n[a];!He(l)&&(l={name:l}),s.name=s.displayName=l.name,s.defaultTooltip=l.defaultTooltip}i&&me(s.otherDims,i)}))}}));var y=n.generateCoord,_=n.generateCoordCount,v=null!=_;_=y?_||1:0;for(var x=y||"value",M=0;M<s;M++){h=o[M]=o[M]||new ES;var b=h.coordDim;null==b&&(h.coordDim=tD(x,a,v),h.coordDimIndex=0,(!y||_<=0)&&(h.isExtraCoord=!0),_--),null==h.name&&(h.name=tD(h.coordDim,r,!1)),null!=h.type||pg(e,M)!==og.Must&&(!h.isExtraCoord||null==h.otherDims.itemName&&null==h.otherDims.seriesName)||(h.type="ordinal")}return o}function QS(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return Me(e,(function(t){var e;He(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}function tD(t,e,n){if(n||null!=e.get(t)){var i=0;while(null!=e.get(t+i))i++;t+=i}return e.set(t,!0),t}var eD=KS;function nD(t,e){return e=e||{},eD(e.coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,encodeDefaulter:e.encodeDefaulter,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})}var iD=function(){function t(t){this.coordSysDims=[],this.axisMap=tn(),this.categoryAxisMap=tn(),this.coordSysName=t}return t}();function rD(t){var e=t.get("coordinateSystem"),n=new iD(e),i=aD[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}var aD={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",hs).models[0],a=t.getReferringComponents("yAxis",hs).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",a),oD(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),oD(a)&&(i.set("y",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",hs).models[0];e.coordSysDims=["single"],n.set("single",r),oD(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",hs).models[0],a=r.findAxisModel("radiusAxis"),o=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",a),n.set("angle",o),oD(a)&&(i.set("radius",a),e.firstCategoryDimIndex=0),oD(o)&&(i.set("angle",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,a=r.getComponent("parallel",t.get("parallelIndex")),o=e.coordSysDims=a.dimensions.slice();Me(a.parallelAxisIndex,(function(t,a){var s=r.getComponent("parallelAxis",t),l=o[a];n.set(l,s),oD(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=a))}))}};function oD(t){return"category"===t.get("type")}function sD(t,e,n){n=n||{};var i,r,a,o,s=n.byIndex,l=n.stackedCoordDimension,u=!(!t||!t.get("stack"));if(Me(e,(function(t,n){Ae(t)&&(e[n]=t={name:t}),u&&!t.isExtraCoord&&(s||i||!t.ordinalMeta||(i=t),r||"ordinal"===t.type||"time"===t.type||l&&l!==t.coordDim||(r=t))})),!r||s||i||(s=!0),r){a="__\0ecstackresult",o="__\0ecstackedover",i&&(i.createInvertedIndices=!0);var d=r.coordDim,c=r.type,h=0;Me(e,(function(t){t.coordDim===d&&h++})),e.push({name:a,coordDim:d,coordDimIndex:h,type:c,isExtraCoord:!0,isCalculationCoord:!0}),h++,e.push({name:o,coordDim:o,coordDimIndex:h,type:c,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:r&&r.name,stackedByDimension:i&&i.name,isStackedByIndex:s,stackedOverDimension:o,stackResultDimension:a}}function lD(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function uD(t,e){return lD(t,e)?t.getCalculationInfo("stackResultDimension"):e}function dD(t,e,n){n=n||{},ky(t)||(t=Iy(t));var i,r=e.get("coordinateSystem"),a=Fg.get(r),o=rD(e);o&&o.coordSysDims&&(i=be(o.coordSysDims,(function(t){var e={name:t},n=o.axisMap.get(t);if(n){var i=n.get("type");e.type=xS(i)}return e}))),i||(i=a&&(a.getDimensionsInfo?a.getDimensionsInfo():a.dimensions.slice())||["x","y"]);var s,l,u=n.useEncodeDefaulter,d=nD(t,{coordDimensions:i,generateCoord:n.generateCoord,encodeDefaulter:Ce(u)?u:u?Ye(ug,i,e):null});o&&Me(d,(function(t,e){var i=t.coordDim,r=o.categoryAxisMap.get(i);r&&(null==s&&(s=e),t.ordinalMeta=r.getOrdinalMeta(),n.createInvertedIndices&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(l=!0)})),l||null==s||(d[s].otherDims.itemName=0);var c=sD(e,d),h=new JS(d,e);h.setCalculationInfo(c);var p=null!=s&&cD(t)?function(t,e,n,i){return i===s?n:this.defaultDimValueGetter(t,e,n,i)}:null;return h.hasItemOption=!1,h.initData(t,null,p),h}function cD(t){if(t.sourceFormat===Km){var e=hD(t.data||[]);return null!=e&&!Ie(Wo(e))}}function hD(t){var e=0;while(e<t.length&&null==t[e])e++;return t[e]}var pD=dD,fD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.legendSymbol="line",n}return Vt(e,t),e.prototype.getInitialData=function(t){return pD(this.getSource(),this,{useEncodeDefaulter:!0})},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={zlevel:0,z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0,lineStyle:{width:"bolder"}},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0},e}(rv),mD=fD;function gD(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=qy(t,e,n[0]);return null!=r?r+"":null}if(i){for(var a=[],o=0;o<n.length;o++)a.push(qy(t,e,n[o]));return a.join(" ")}}function yD(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!Ie(e))return e+"";for(var i=[],r=0;r<n.length;r++){var a=t.getDimensionInfo(n[r]);a&&i.push(e[a.index])}return i.join(" ")}var _D=function(t){function e(e,n,i,r){var a=t.call(this)||this;return a.updateData(e,n,i,r),a}return Vt(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var a=gM(t,-1,-1,2,2,null,r);a.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),a.drift=vD,this._symbolType=t,this.add(a)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){sc(this.childAt(0))},e.prototype.downplay=function(){lc(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var a=t.getItemVisual(n,"symbol")||"circle",o=t.hostModel,s=e.getSymbolSize(t,n),l=a!==this._symbolType,u=r&&r.disableAnimation;if(l){var d=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(a,t,n,s,d)}else{var c=this.childAt(0);c.silent=!1;var h={scaleX:s[0]/2,scaleY:s[1]/2};u?c.attr(h):Tp(c,h,o,n)}if(this._updateCommon(t,n,s,i,r),l){c=this.childAt(0);if(!u){h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:c.style.opacity}};c.scaleX=c.scaleY=0,c.style.opacity=0,kp(c,h,o,n)}}u&&this.childAt(0).stopAnimation("remove"),this._seriesModel=o},e.prototype._updateCommon=function(t,e,n,i,r){var a,o,s,l,u,d,c,h,p,f=this.childAt(0),m=t.hostModel;if(i&&(a=i.emphasisItemStyle,o=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,d=i.symbolOffset,c=i.labelStatesModels,h=i.hoverScale,p=i.cursorStyle),!i||t.hasItemOption){var g=i&&i.itemModel?i.itemModel:t.getItemModel(e),y=g.getModel("emphasis");a=y.getModel("itemStyle").getItemStyle(),s=g.getModel(["select","itemStyle"]).getItemStyle(),o=g.getModel(["blur","itemStyle"]).getItemStyle(),l=y.get("focus"),u=y.get("blurScope"),d=g.getShallow("symbolOffset"),c=$p(g),h=y.getShallow("scale"),p=g.getShallow("cursor")}var _=t.getItemVisual(e,"symbolRotate");f.attr("rotation",(_||0)*Math.PI/180||0),d&&(f.x=yo(d[0],n[0]),f.y=yo(d[1],n[1])),p&&f.attr("cursor",p);var v=t.getItemVisual(e,"style"),x=v.fill;if(f instanceof td){var M=f.style;f.useStyle(fe({image:M.image,x:M.x,y:M.y,width:M.width,height:M.height},v))}else f.__isEmptyBrush?f.useStyle(fe({},v)):f.useStyle(v),f.style.decal=null,f.setColor(x,r&&r.symbolInnerColor),f.style.strokeNoScale=!0;var b=t.getItemVisual(e,"liftZ"),w=this._z2;null!=b?null==w&&(this._z2=f.z2,f.z2+=b):null!=w&&(f.z2=w,this._z2=null);var L=r&&r.useNameLabel;function S(e){return L?t.getName(e):gD(t,e)}qp(f,c,{labelFetcher:m,labelDataIndex:e,defaultText:S,inheritColor:x,defaultOpacity:v.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var D=f.ensureState("emphasis");if(D.style=a,f.ensureState("select").style=s,f.ensureState("blur").style=o,h){var T=Math.max(1.1,3/this._sizeY);D.scaleX=this._sizeX*T,D.scaleY=this._sizeY*T}this.setSymbolScale(1),xc(this,l,u)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e){var n=this.childAt(0),i=this._seriesModel,r=Ld(this).dataIndex,a=e&&e.animation;if(this.silent=n.silent=!0,e&&e.fadeLabel){var o=n.getTextContent();o&&Yp(o,{style:{opacity:0}},i,{dataIndex:r,removeOpt:a,cb:function(){n.removeTextContent()}})}else n.removeTextContent();Yp(n,{style:{opacity:0},scaleX:0,scaleY:0},i,{dataIndex:r,cb:t,removeOpt:a})},e.getSymbolSize=function(t,e){var n=t.getItemVisual(e,"symbolSize");return n instanceof Array?n.slice():[+n,+n]},e}(ro);function vD(t,e){this.parent.drift(t,e)}var xD=_D;function MD(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function bD(t){return null==t||He(t)||(t={isIgnore:t}),t||{}}function wD(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),symbolRotate:e.get("symbolRotate"),symbolOffset:e.get("symbolOffset"),hoverScale:n.get("scale"),labelStatesModels:$p(e),cursorStyle:e.get("cursor")}}var LD=function(){function t(t){this.group=new ro,this._SymbolCtor=t||xD}return t.prototype.updateData=function(t,e){e=bD(e);var n=this.group,i=t.hostModel,r=this._data,a=this._SymbolCtor,o=e.disableAnimation,s=wD(t),l={disableAnimation:o},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(i){var r=u(i);if(MD(t,r,i,e)){var o=new a(t,i,s,l);o.setPosition(r),t.setItemGraphicEl(i,o),n.add(o)}})).update((function(d,c){var h=r.getItemGraphicEl(c),p=u(d);if(MD(t,p,d,e)){if(h){h.updateData(t,d,s,l);var f={x:p[0],y:p[1]};o?h.attr(f):Tp(h,f,i)}else h=new a(t,d),h.setPosition(p);n.add(h),t.setItemGraphicEl(d,h)}else n.remove(h)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}))})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.isPersistent=function(){return!0},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=wD(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}n=bD(n);for(var r=t.start;r<t.end;r++){var a=e.getItemLayout(r);if(MD(e,a,r,n)){var o=new this._SymbolCtor(e,r,this._seriesScope);o.traverse(i),o.setPosition(a),this.group.add(o),e.setItemGraphicEl(r,o)}}},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl((function(t){t.fadeOut((function(){e.remove(t)}))})):e.removeAll()},t}(),SD=LD;function DD(t,e,n){var i=t.getBaseAxis(),r=t.getOtherAxis(i),a=TD(r,n),o=i.dim,s=r.dim,l=e.mapDimension(s),u=e.mapDimension(o),d="x"===s||"radius"===s?1:0,c=be(t.dimensions,(function(t){return e.mapDimension(t)})),h=!1,p=e.getCalculationInfo("stackResultDimension");return lD(e,c[0])&&(h=!0,c[0]=p),lD(e,c[1])&&(h=!0,c[1]=p),{dataDimsForPoint:c,valueStart:a,valueAxisDim:s,baseAxisDim:o,stacked:!!h,valueDim:l,baseDim:u,baseDataOffset:d,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function TD(t,e){var n=0,i=t.scale.getExtent();return"start"===e?n=i[0]:"end"===e?n=i[1]:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]),n}function kD(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var a=t.baseDataOffset,o=[];return o[a]=n.get(t.baseDim,i),o[1-a]=r,e.dataToPoint(o)}var YD="undefined"!==typeof Float32Array,ID=YD?Float32Array:Array;function CD(t){return Ie(t)?YD?new Float32Array(t):t:new ID(t)}function AD(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}function PD(t,e,n,i,r,a,o,s){for(var l=AD(t,e),u=[],d=[],c=[],h=[],p=[],f=[],m=[],g=DD(r,e,o),y=DD(a,t,s),_=t.getLayout("points")||[],v=e.getLayout("points")||[],x=0;x<l.length;x++){var M=l[x],b=!0,w=void 0,L=void 0;switch(M.cmd){case"=":w=2*M.idx,L=2*M.idx1;var S=_[w],D=_[w+1],T=v[L],k=v[L+1];(isNaN(S)||isNaN(D))&&(S=T,D=k),u.push(S,D),d.push(T,k),c.push(n[w],n[w+1]),h.push(i[L],i[L+1]),m.push(e.getRawIndex(M.idx1));break;case"+":var Y=M.idx,I=g.dataDimsForPoint,C=r.dataToPoint([e.get(I[0],Y),e.get(I[1],Y)]);L=2*Y,u.push(C[0],C[1]),d.push(v[L],v[L+1]);var A=kD(g,r,e,Y);c.push(A[0],A[1]),h.push(i[L],i[L+1]),m.push(e.getRawIndex(Y));break;case"-":var P=M.idx,O=t.getRawIndex(P),H=y.dataDimsForPoint;if(w=2*P,O!==P){var N=a.dataToPoint([t.get(H[0],P),t.get(H[1],P)]),E=kD(y,a,t,P);u.push(_[w],_[w+1]),d.push(N[0],N[1]),c.push(n[w],n[w+1]),h.push(E[0],E[1]),m.push(O)}else b=!1}b&&(p.push(M),f.push(f.length))}f.sort((function(t,e){return m[t]-m[e]}));var R=u.length,z=CD(R),j=CD(R),B=CD(R),F=CD(R),V=[];for(x=0;x<f.length;x++){var W=f[x],G=2*x,U=2*W;z[G]=u[U],z[G+1]=u[U+1],j[G]=d[U],j[G+1]=d[U+1],B[G]=c[U],B[G+1]=c[U+1],F[G]=h[U],F[G+1]=h[U+1],V[x]=p[W]}return{current:z,next:j,stackedOnCurrent:B,stackedOnNext:F,status:V}}var OD=Math.min,HD=Math.max;function ND(t,e){return isNaN(t)||isNaN(e)}function ED(t,e,n,i,r,a,o,s,l){for(var u,d,c,h,p,f,m=n,g=0;g<i;g++){var y=e[2*m],_=e[2*m+1];if(m>=r||m<0)break;if(ND(y,_)){if(l){m+=a;continue}break}if(m===n)t[a>0?"moveTo":"lineTo"](y,_),c=y,h=_;else{var v=y-u,x=_-d;if(v*v+x*x<.5){m+=a;continue}if(o>0){var M=m+a,b=e[2*M],w=e[2*M+1],L=g+1;if(l)while(ND(b,w)&&L<i)L++,M+=a,b=e[2*M],w=e[2*M+1];var S=.5,D=0,T=0,k=void 0,Y=void 0;if(L>=i||ND(b,w))p=y,f=_;else{D=b-u,T=w-d;var I=y-u,C=b-y,A=_-d,P=w-_,O=void 0,H=void 0;"x"===s?(O=Math.abs(I),H=Math.abs(C),p=y-O*o,f=_,k=y+O*o,Y=_):"y"===s?(O=Math.abs(A),H=Math.abs(P),p=y,f=_-O*o,k=y,Y=_+O*o):(O=Math.sqrt(I*I+A*A),H=Math.sqrt(C*C+P*P),S=H/(H+O),p=y-D*o*(1-S),f=_-T*o*(1-S),k=y+D*o*S,Y=_+T*o*S,k=OD(k,HD(b,y)),Y=OD(Y,HD(w,_)),k=HD(k,OD(b,y)),Y=HD(Y,OD(w,_)),D=k-y,T=Y-_,p=y-D*O/H,f=_-T*O/H,p=OD(p,HD(u,y)),f=OD(f,HD(d,_)),p=HD(p,OD(u,y)),f=HD(f,OD(d,_)),D=y-p,T=_-f,k=y+D*H/O,Y=_+T*H/O)}t.bezierCurveTo(c,h,p,f,y,_),c=k,h=Y}else t.lineTo(y,_)}u=y,d=_,m+=a}return g}var RD=function(){function t(){this.smooth=0,this.smoothConstraint=!0}return t}(),zD=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return Vt(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new RD},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0;r--)if(!ND(n[2*r-2],n[2*r-1]))break;for(;i<r;i++)if(!ND(n[2*i],n[2*i+1]))break}while(i<r)i+=ED(t,n,i,r,r,1,e.smooth,e.smoothMonotone,e.connectNulls)+1},e.prototype.getPointOn=function(t,e){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,i,r=this.path,a=r.data,o=xu.CMD,s="x"===e,l=[],u=0;u<a.length;){var d=a[u++],c=void 0,h=void 0,p=void 0,f=void 0,m=void 0,g=void 0,y=void 0;switch(d){case o.M:n=a[u++],i=a[u++];break;case o.L:if(c=a[u++],h=a[u++],y=s?(t-n)/(c-n):(t-i)/(h-i),y<=1&&y>=0){var _=s?(h-i)*y+i:(c-n)*y+n;return s?[t,_]:[_,t]}n=c,i=h;break;case o.C:c=a[u++],h=a[u++],p=a[u++],f=a[u++],m=a[u++],g=a[u++];var v=s?Tl(n,c,p,m,t,l):Tl(i,h,f,g,t,l);if(v>0)for(var x=0;x<v;x++){var M=l[x];if(M<=1&&M>=0){_=s?Sl(i,h,f,g,M):Sl(n,c,p,m,M);return s?[t,_]:[_,t]}}n=m,i=g;break}}},e}(Uu),jD=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vt(e,t),e}(RD),BD=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return Vt(e,t),e.prototype.getDefaultShape=function(){return new jD},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,a=n.length/2,o=e.smoothMonotone;if(e.connectNulls){for(;a>0;a--)if(!ND(n[2*a-2],n[2*a-1]))break;for(;r<a;r++)if(!ND(n[2*r],n[2*r+1]))break}while(r<a){var s=ED(t,n,r,a,a,1,e.smooth,o,e.connectNulls);ED(t,i,r+s-1,s,a,-1,e.stackedOnSmooth,o,e.connectNulls),r+=s+1,t.closePath()}},e}(Uu);function FD(t,e,n,i,r){var a=t.getArea(),o=a.x,s=a.y,l=a.width,u=a.height,d=n.get(["lineStyle","width"])||2;o-=d/2,s-=d/2,l+=d,u+=d,o=Math.floor(o),l=Math.round(l);var c=new ud({shape:{x:o,y:s,width:l,height:u}});if(e){var h=t.getBaseAxis(),p=h.isHorizontal(),f=h.inverse;p?(f&&(c.shape.x+=l),c.shape.width=0):(f||(c.shape.y+=u),c.shape.height=0);var m="function"===typeof r?function(t){r(t,c)}:null;kp(c,{shape:{width:l,height:u,x:o,y:s}},n,null,i,m)}return c}function VD(t,e,n){var i=t.getArea(),r=_o(i.r0,1),a=_o(i.r,1),o=new Mh({shape:{cx:_o(t.cx,1),cy:_o(t.cy,1),r0:r,r:a,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});if(e){var s="angle"===t.getBaseAxis().dim;s?o.shape.endAngle=i.startAngle:o.shape.r=r,kp(o,{shape:{endAngle:i.endAngle,r:a}},n)}return o}function WD(t,e,n,i,r){return t?"polar"===t.type?VD(t,e,n):"cartesian2d"===t.type?FD(t,e,n,i,r):null:null}function GD(t,e){return t.type===e}function UD(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return;return!0}}function XD(t){for(var e=1/0,n=1/0,i=-1/0,r=-1/0,a=0;a<t.length;){var o=t[a++],s=t[a++];isNaN(o)||(e=Math.min(o,e),i=Math.max(o,i)),isNaN(s)||(n=Math.min(s,n),r=Math.max(s,r))}return[[e,n],[i,r]]}function ZD(t,e){var n=XD(t),i=n[0],r=n[1],a=XD(e),o=a[0],s=a[1];return Math.max(Math.abs(i[0]-o[0]),Math.abs(i[1]-o[1]),Math.abs(r[0]-s[0]),Math.abs(r[1]-s[1]))}function qD(t){return"number"===typeof t?t:t?.5:0}function $D(t,e,n){if(!n.valueDim)return[];for(var i=e.count(),r=CD(2*i),a=0;a<i;a++){var o=kD(n,t,e,a);r[2*a]=o[0],r[2*a+1]=o[1]}return r}function JD(t,e,n){for(var i=e.getBaseAxis(),r="x"===i.dim||"radius"===i.dim?0:1,a=[],o=0,s=[],l=[],u=[];o<t.length-2;o+=2)switch(u[0]=t[o+2],u[1]=t[o+3],l[0]=t[o],l[1]=t[o+1],a.push(l[0],l[1]),n){case"end":s[r]=u[r],s[1-r]=l[1-r],a.push(s[0],s[1]);break;case"middle":var d=(l[r]+u[r])/2,c=[];s[r]=c[r]=d,s[1-r]=l[1-r],c[1-r]=u[1-r],a.push(s[0],s[1]),a.push(c[0],c[1]);break;default:s[r]=l[r],s[1-r]=u[1-r],a.push(s[0],s[1])}return a.push(t[o++],t[o++]),a}function KD(t,e){var n=t.getVisual("visualMeta");if(n&&n.length&&t.count()&&"cartesian2d"===e.type){for(var i,r,a=n.length-1;a>=0;a--){var o=n[a].dimension,s=t.dimensions[o],l=t.getDimensionInfo(s);if(i=l&&l.coordDim,"x"===i||"y"===i){r=n[a];break}}if(r){var u=e.getAxis(i),d=be(r.stops,(function(t){return{offset:0,coord:u.toGlobalCoord(u.dataToCoord(t.value)),color:t.color}})),c=d.length,h=r.outerColors.slice();c&&d[0].coord>d[c-1].coord&&(d.reverse(),h.reverse());var p=10,f=d[0].coord-p,m=d[c-1].coord+p,g=m-f;if(g<.001)return"transparent";Me(d,(function(t){t.offset=(t.coord-f)/g})),d.push({offset:c?d[c-1].offset:.5,color:h[1]||"transparent"}),d.unshift({offset:c?d[0].offset:.5,color:h[0]||"transparent"});var y=new Kh(0,0,0,0,d,!0);return y[i]=f,y[i+"2"]=m,y}}}function QD(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var a=n.getAxesByScale("ordinal")[0];if(a&&(!r||!tT(a,e))){var o=e.mapDimension(a.dim),s={};return Me(a.getViewLabels(),(function(t){var e=a.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(o,t))}}}}function tT(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),a=Math.max(1,Math.round(r/5)),o=0;o<r;o+=a)if(1.5*xD.getSymbolSize(e,o)[t.isHorizontal()?1:0]>i)return!1;return!0}function eT(t,e){return isNaN(t)||isNaN(e)}function nT(t){for(var e=t.length/2;e>0;e--)if(!eT(t[2*e-2],t[2*e-1]))break;return e-1}function iT(t,e){return[t[2*e],t[2*e+1]]}function rT(t,e,n){for(var i,r,a=t.length/2,o="x"===n?0:1,s=0,l=-1,u=0;u<a;u++)if(r=t[2*u+o],!isNaN(r)&&!isNaN(t[2*u+1-o]))if(0!==u){if(i<=e&&r>=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}function aT(t,e,n,i){if(GD(e,"cartesian2d")){var r=i.getModel("endLabel"),a=r.get("show"),o=r.get("valueAnimation"),s=i.getData(),l={lastFrameIndex:0},u=a?function(n,i){t._endLabelOnDuring(n,i,s,l,o,r,e)}:null,d=e.getBaseAxis().isHorizontal(),c=FD(e,n,i,(function(){var e=t._endLabel;e&&n&&null!=l.originalX&&e.attr({x:l.originalX,y:l.originalY})}),u);if(!i.get("clip",!0)){var h=c.shape,p=Math.max(h.width,h.height);d?(h.y-=p,h.height+=2*p):(h.x-=p,h.width+=2*p)}return u&&u(1,c),c}return VD(e,n,i)}function oT(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,a=i?r?"right":"left":"center",o=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||a,verticalAlign:t.get("verticalAlign")||o}}}var sT=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vt(e,t),e.prototype.init=function(){var t=new ro,e=new SD;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem,a=this.group,o=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=o.getLayout("points")||[],d="polar"===r.type,c=this._coordSys,h=this._symbolDraw,p=this._polyline,f=this._polygon,m=this._lineGroup,g=t.get("animation"),y=!l.isEmpty(),_=l.get("origin"),v=DD(r,o,_),x=y&&$D(r,o,v),M=t.get("showSymbol"),b=M&&!d&&QD(t,o,r),w=this._data;w&&w.eachItemGraphicEl((function(t,e){t.__temp&&(a.remove(t),w.setItemGraphicEl(e,null))})),M||h.remove(),a.add(m);var L,S=!d&&t.get("step");r&&r.getArea&&t.get("clip",!0)&&(L=r.getArea(),null!=L.width?(L.x-=.1,L.y-=.1,L.width+=.2,L.height+=.2):L.r0&&(L.r0-=.5,L.r+=.5)),this._clipShapeForSymbol=L;var D=KD(o,r)||o.getVisual("style")[o.getVisual("drawType")];p&&c.type===r.type&&S===this._step?(y&&!f?f=this._newPolygon(u,x):f&&!y&&(m.remove(f),f=this._polygon=null),d||this._initOrUpdateEndLabel(t,r,Ym(D)),m.setClipPath(aT(this,r,!1,t)),M&&h.updateData(o,{isIgnore:b,clipShape:L,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),UD(this._stackedOnPoints,x)&&UD(this._points,u)||(g?this._doUpdateAnimation(o,x,r,n,S,_):(S&&(u=JD(u,r,S),x&&(x=JD(x,r,S))),p.setShape({points:u}),f&&f.setShape({points:u,stackedOnPoints:x})))):(M&&h.updateData(o,{isIgnore:b,clipShape:L,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),g&&this._initSymbolLabelAnimation(o,r,L),S&&(u=JD(u,r,S),x&&(x=JD(x,r,S))),p=this._newPolyline(u),y&&(f=this._newPolygon(u,x)),d||this._initOrUpdateEndLabel(t,r,Ym(D)),m.setClipPath(aT(this,r,!0,t)));var T=t.get(["emphasis","focus"]),k=t.get(["emphasis","blurScope"]);if(p.useStyle(me(s.getLineStyle(),{fill:"none",stroke:D,lineJoin:"bevel"})),Lc(p,t,"lineStyle"),p.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"])){var Y=p.getState("emphasis").style;Y.lineWidth=p.style.lineWidth+1}Ld(p).seriesIndex=t.seriesIndex,xc(p,T,k);var I=qD(t.get("smooth")),C=t.get("smoothMonotone"),A=t.get("connectNulls");if(p.setShape({smooth:I,smoothMonotone:C,connectNulls:A}),f){var P=o.getCalculationInfo("stackedOnSeries"),O=0;f.useStyle(me(l.getAreaStyle(),{fill:D,opacity:.7,lineJoin:"bevel",decal:o.getVisual("style").decal})),P&&(O=qD(P.get("smooth"))),f.setShape({smooth:I,stackedOnSmooth:O,smoothMonotone:C,connectNulls:A}),Lc(f,t,"areaStyle"),Ld(f).seriesIndex=t.seriesIndex,xc(f,T,k)}var H=function(t){i._changePolyState(t)};o.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=H)})),this._polyline.onHoverStateChange=H,this._data=o,this._coordSys=r,this._stackedOnPoints=x,this._points=u,this._step=S,this._valueOrigin=_},e.prototype.dispose=function(){},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),a=ls(r,i);if(this._changePolyState("emphasis"),!(a instanceof Array)&&null!=a&&a>=0){var o=r.getLayout("points"),s=r.getItemGraphicEl(a);if(!s){var l=o[2*a],u=o[2*a+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;s=new xD(r,a),s.x=l,s.y=u,s.setZ(t.get("zlevel"),t.get("z")),s.__temp=!0,r.setItemGraphicEl(a,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else gv.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),a=ls(r,i);if(this._changePolyState("normal"),null!=a&&a>=0){var o=r.getItemGraphicEl(a);o&&(o.__temp?(r.setItemGraphicEl(a,null),this.group.remove(o)):o.downplay())}else gv.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;Kd(this._polyline,t),e&&Kd(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new zD({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new BD({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,a=e.getBaseAxis(),o=a.inverse;"cartesian2d"===e.type?(i=a.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===a.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");"function"===typeof l&&(l=l(null));var u=s.get("animationDelay")||0,d="function"===typeof u?u(null):u;t.eachItemGraphicEl((function(t,a){var s=t;if(s){var c=[t.x,t.y],h=void 0,p=void 0,f=void 0;if(r){var m=n,g=e.pointToCoord(c);i?(h=m.startAngle,p=m.endAngle,f=-g[1]/180*Math.PI):(h=m.r0,p=m.r,f=g[0])}else{var y=n;i?(h=y.x,p=y.x+y.width,f=t.x):(h=y.y+y.height,p=y.y,f=t.y)}var _=p===h?0:(f-h)/(p-h);o&&(_=1-_);var v="function"===typeof u?u(a):l*_+d,x=s.getSymbolPath(),M=x.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,delay:v}),M&&M.animateFrom({style:{opacity:0}},{duration:300,delay:v}),x.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(i.get("show")){var r=t.getData(),a=this._polyline,o=this._endLabel;o||(o=this._endLabel=new wd({z2:200}),o.ignoreClip=!0,a.setTextContent(this._endLabel),a.disableLabelAnimation=!0);var s=nT(r.getLayout("points"));s>=0&&(qp(a,$p(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:s,defaultText:function(t,e,n){return null!=n?yD(r,n):gD(r,t)},enableTextSetter:!0},oT(i,e)),a.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,a,o){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),d=n.hostModel,c=d.get("connectNulls"),h=a.get("precision"),p=a.get("distance")||0,f=o.getBaseAxis(),m=f.isHorizontal(),g=f.inverse,y=e.shape,_=g?m?y.x:y.y+y.height:m?y.x+y.width:y.y,v=(m?p:0)*(g?-1:1),x=(m?0:-p)*(g?-1:1),M=m?"x":"y",b=rT(u,_,M),w=b.range,L=w[1]-w[0],S=void 0;if(L>=1){if(L>1&&!c){var D=iT(u,w[0]);s.attr({x:D[0]+v,y:D[1]+x}),r&&(S=d.getRawValue(w[0]))}else{D=l.getPointOn(_,M);D&&s.attr({x:D[0]+v,y:D[1]+x});var T=d.getRawValue(w[0]),k=d.getRawValue(w[1]);r&&(S=vs(n,h,T,k,b.t))}i.lastFrameIndex=w[0]}else{var Y=1===t||i.lastFrameIndex>0?w[0]:0;D=iT(u,Y);r&&(S=d.getRawValue(Y)),s.attr({x:D[0]+v,y:D[1]+x})}r&&sf(s).setLabelText(S)}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,a){var o=this._polyline,s=this._polygon,l=t.hostModel,u=PD(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,a),d=u.current,c=u.stackedOnCurrent,h=u.next,p=u.stackedOnNext;if(r&&(d=JD(u.current,n,r),c=JD(u.stackedOnCurrent,n,r),h=JD(u.next,n,r),p=JD(u.stackedOnNext,n,r)),ZD(d,h)>3e3||s&&ZD(c,p)>3e3)return o.setShape({points:h}),void(s&&s.setShape({points:h,stackedOnPoints:p}));o.shape.__points=u.current,o.shape.points=d;var f={shape:{points:h}};u.current!==d&&(f.shape.__points=u.next),o.stopAnimation(),Tp(o,f,l),s&&(s.setShape({points:d,stackedOnPoints:c}),s.stopAnimation(),Tp(s,{shape:{stackedOnPoints:p}},l),o.shape.points!==s.shape.points&&(s.shape.points=o.shape.points));for(var m=[],g=u.status,y=0;y<g.length;y++){var _=g[y].cmd;if("="===_){var v=t.getItemGraphicEl(g[y].idx1);v&&m.push({el:v,ptIdx:y})}}o.animators&&o.animators.length&&o.animators[0].during((function(){s&&s.dirtyShape();for(var t=o.shape.__points,e=0;e<m.length;e++){var n=m[e].el,i=2*m[e].ptIdx;n.x=t[i],n.y=t[i+1],n.markRedraw()}}))},e.prototype.remove=function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(t,i){t.__temp&&(e.remove(t),n.setItemGraphicEl(i,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(gv),lT=sT;function uT(t,e){return{seriesType:t,plan:sv(),reset:function(t){var n=t.getData(),i=t.coordinateSystem,r=t.pipelineContext,a=e||r.large;if(i){var o=be(i.dimensions,(function(t){return n.mapDimension(t)})).slice(0,2),s=o.length,l=n.getCalculationInfo("stackResultDimension");lD(n,o[0])&&(o[0]=l),lD(n,o[1])&&(o[1]=l);var u=n.getDimensionInfo(o[0]),d=n.getDimensionInfo(o[1]),c=u&&u.index,h=d&&d.index;return s&&{progress:function(t,e){for(var n=t.end-t.start,r=a&&CD(n*s),o=[],l=[],u=t.start,d=0;u<t.end;u++){var p=void 0;if(1===s){var f=e.getByDimIdx(c,u);p=i.dataToPoint(f,null,l)}else o[0]=e.getByDimIdx(c,u),o[1]=e.getByDimIdx(h,u),p=i.dataToPoint(o,null,l);a?(r[d++]=p[0],r[d++]=p[1]):e.setItemLayout(u,p.slice())}a&&e.setLayout("points",r)}}}}}}var dT={average:function(t){for(var e=0,n=0,i=0;i<t.length;i++)isNaN(t[i])||(e+=t[i],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},cT=function(t){return Math.round(t.length/2)};function hT(t){return{seriesType:t,reset:function(t,e,n){var i=t.getData(),r=t.get("sampling"),a=t.coordinateSystem,o=i.count();if(o>10&&"cartesian2d"===a.type&&r){var s=a.getBaseAxis(),l=a.getOtherAxis(s),u=s.getExtent(),d=n.getDevicePixelRatio(),c=Math.abs(u[1]-u[0])*(d||1),h=Math.round(o/c);if(h>1){"lttb"===r&&t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/h));var p=void 0;"string"===typeof r?p=dT[r]:"function"===typeof r&&(p=r),p&&t.setData(i.downSample(i.mapDimension(l.dim),1/h,p,cT))}}}}}function pT(t){t.registerChartView(lT),t.registerSeriesModel(mD),t.registerLayout(uT("line",!0)),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,hT("line"))}var fT="__ec_stack_",mT=.5,gT="undefined"!==typeof Float32Array?Float32Array:Array;function yT(t){return t.get("stack")||fT+t.seriesIndex}function _T(t){return t.dim+t.index}function vT(t){var e=[],n=t.axis,i="axis0";if("category"===n.type){for(var r=n.getBandWidth(),a=0;a<t.count;a++)e.push(me({bandWidth:r,axisKey:i,stackId:fT+a},t));var o=wT(e),s=[];for(a=0;a<t.count;a++){var l=o[i][fT+a];l.offsetCenter=l.offset+l.width/2,s.push(l)}return s}}function xT(t,e){var n=[];return e.eachSeriesByType(t,(function(t){TT(t)&&!kT(t)&&n.push(t)})),n}function MT(t){var e={};Me(t,(function(t){var n=t.coordinateSystem,i=n.getBaseAxis();if("time"===i.type||"value"===i.type)for(var r=t.getData(),a=i.dim+"_"+i.index,o=r.mapDimension(i.dim),s=0,l=r.count();s<l;++s){var u=r.get(o,s);e[a]?e[a].push(u):e[a]=[u]}}));var n={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];if(r){r.sort((function(t,e){return t-e}));for(var a=null,o=1;o<r.length;++o){var s=r[o]-r[o-1];s>0&&(a=null===a?s:Math.min(a,s))}n[i]=a}}return n}function bT(t){var e=MT(t),n=[];return Me(t,(function(t){var i,r=t.coordinateSystem,a=r.getBaseAxis(),o=a.getExtent();if("category"===a.type)i=a.getBandWidth();else if("value"===a.type||"time"===a.type){var s=a.dim+"_"+a.index,l=e[s],u=Math.abs(o[1]-o[0]),d=a.scale.getExtent(),c=Math.abs(d[1]-d[0]);i=l?u/c*l:u}else{var h=t.getData();i=Math.abs(o[1]-o[0])/h.count()}var p=yo(t.get("barWidth"),i),f=yo(t.get("barMaxWidth"),i),m=yo(t.get("barMinWidth")||1,i),g=t.get("barGap"),y=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:p,barMaxWidth:f,barMinWidth:m,barGap:g,barCategoryGap:y,axisKey:_T(a),stackId:yT(t)})})),wT(n)}function wT(t){var e={};Me(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,a=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},o=a.stacks;e[i]=a;var s=t.stackId;o[s]||a.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(a.remainedWidth,l),a.remainedWidth-=l);var u=t.barMaxWidth;u&&(o[s].maxWidth=u);var d=t.barMinWidth;d&&(o[s].minWidth=d);var c=t.barGap;null!=c&&(a.gap=c);var h=t.barCategoryGap;null!=h&&(a.categoryGap=h)}));var n={};return Me(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,a=t.categoryGap;if(null==a){var o=De(i).length;a=Math.max(35-4*o,15)+"%"}var s=yo(a,r),l=yo(t.gap,1),u=t.remainedWidth,d=t.autoWidthCount,c=(u-s)/(d+(d-1)*l);c=Math.max(c,0),Me(i,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,d--}else{var i=c;e&&e<i&&(i=Math.min(e,u)),n&&n>i&&(i=n),i!==c&&(t.width=i,u-=i+l*i,d--)}})),c=(u-s)/(d+(d-1)*l),c=Math.max(c,0);var h,p=0;Me(i,(function(t,e){t.width||(t.width=c),h=t,p+=t.width*(1+l)})),h&&(p-=h.width*l);var f=-p/2;Me(i,(function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:f,width:t.width},f+=t.width*(1+l)}))})),n}function LT(t,e,n){if(t&&e){var i=t[_T(e)];return null!=i&&null!=n?i[yT(n)]:i}}function ST(t,e){var n=xT(t,e),i=bT(n),r={};Me(n,(function(t){var e=t.getData(),n=t.coordinateSystem,a=n.getBaseAxis(),o=yT(t),s=i[_T(a)][o],l=s.offset,u=s.width,d=n.getOtherAxis(a),c=t.get("barMinHeight")||0;r[o]=r[o]||[],e.setLayout({bandWidth:s.bandWidth,offset:l,size:u});for(var h=e.mapDimension(d.dim),p=e.mapDimension(a.dim),f=lD(e,h),m=d.isHorizontal(),g=YT(a,d,f),y=0,_=e.count();y<_;y++){var v=e.get(h,y),x=e.get(p,y),M=v>=0?"p":"n",b=g;f&&(r[o][x]||(r[o][x]={p:g,n:g}),b=r[o][x][M]);var w=void 0,L=void 0,S=void 0,D=void 0;if(m){var T=n.dataToPoint([v,x]);w=b,L=T[1]+l,S=T[0]-g,D=u,Math.abs(S)<c&&(S=(S<0?-1:1)*c),isNaN(S)||f&&(r[o][x][M]+=S)}else{T=n.dataToPoint([x,v]);w=T[0]+l,L=b,S=u,D=T[1]-g,Math.abs(D)<c&&(D=(D<=0?-1:1)*c),isNaN(D)||f&&(r[o][x][M]+=D)}e.setItemLayout(y,{x:w,y:L,width:S,height:D})}}))}var DT={seriesType:"bar",plan:sv(),reset:function(t){if(TT(t)&&kT(t)){var e=t.getData(),n=t.coordinateSystem,i=n.master.getRect(),r=n.getBaseAxis(),a=n.getOtherAxis(r),o=e.mapDimension(a.dim),s=e.mapDimension(r.dim),l=a.isHorizontal(),u=l?0:1,d=LT(bT([t]),r,t).width;return d>mT||(d=mT),{progress:function(t,e){var c,h=t.count,p=new gT(2*h),f=new gT(2*h),m=new gT(h),g=[],y=[],_=0,v=0;while(null!=(c=t.next()))y[u]=e.get(o,c),y[1-u]=e.get(s,c),g=n.dataToPoint(y,null,g),f[_]=l?i.x+i.width:g[0],p[_++]=g[0],f[_]=l?g[1]:i.y+i.height,p[_++]=g[1],m[v++]=c;e.setLayout({largePoints:p,largeDataIndices:m,largeBackgroundPoints:f,barWidth:d,valueAxisStart:YT(r,a,!1),backgroundStart:l?i.x:i.y,valueAxisHorizontal:l})}}}}};function TT(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function kT(t){return t.pipelineContext&&t.pipelineContext.large}function YT(t,e,n){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}var IT=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.getInitialData=function(t,e){return pD(this.getSource(),this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t){var e=this.coordinateSystem;if(e){var n=e.dataToPoint(e.clampData(t)),i=this.getData(),r=i.getLayout("offset"),a=i.getLayout("size"),o=e.getBaseAxis().isHorizontal()?0:1;return n[o]+=r+a/2,n}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(rv);rv.registerClass(IT);var CT=IT,AT=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.getInitialData=function(){return pD(this.getSource(),this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=Df(CT.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(CT),PT=AT,OT=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return t}(),HT=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return Vt(e,t),e.prototype.getDefaultShape=function(){return new OT},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),a=Math.max(e.r,0),o=.5*(a-r),s=r+o,l=e.startAngle,u=e.endAngle,d=e.clockwise,c=Math.cos(l),h=Math.sin(l),p=Math.cos(u),f=Math.sin(u),m=d?u-l<2*Math.PI:l-u<2*Math.PI;m&&(t.moveTo(c*r+n,h*r+i),t.arc(c*s+n,h*s+i,o,-Math.PI+l,l,!d)),t.arc(n,i,a,l,u,!d),t.moveTo(p*a+n,f*a+i),t.arc(p*s+n,f*s+i,o,u-2*Math.PI,u-Math.PI,!d),0!==r&&(t.arc(n,i,r,u,l,d),t.moveTo(c*r+n,f*r+i)),t.closePath()},e}(Uu),NT=HT,ET=["itemStyle","borderWidth"],RT=["itemStyle","borderRadius"],zT=[0,0],jT=Math.max,BT=Math.min;function FT(t,e){var n=t.getArea&&t.getArea();if(GD(t,"cartesian2d")){var i=t.getBaseAxis();if("category"!==i.type||!i.onBand){var r=e.getLayout("bandWidth");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}var VT=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return Vt(e,t),e.prototype.render=function(t,e,n,i){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var r=t.get("coordinateSystem");("cartesian2d"===r||"polar"===r)&&(this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,i))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._incrementalRenderLarge(t,e)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t,e,n,i){var r,a=this.group,o=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?r=u.isHorizontal():"polar"===l.type&&(r="angle"===u.dim);var d=t.isAnimationEnabled()?t:null,c=UT(t,l);c&&this._enableRealtimeSort(c,o,n);var h=t.get("clip",!0)||c,p=FT(l,o);a.removeClipPath();var f=t.get("roundCap",!0),m=t.get("showBackground",!0),g=t.getModel("backgroundStyle"),y=g.get("borderRadius")||0,_=[],v=this._backgroundEls,x=i&&i.isInitSort,M=i&&"changeAxisOrder"===i.type;function b(t){var e=ZT[l.type](o,t),n=ok(l,r,e);return n.useStyle(g.getItemStyle()),"cartesian2d"===l.type&&n.setShape("r",y),_[t]=n,n}o.diff(s).add((function(e){var n=o.getItemModel(e),i=ZT[l.type](o,e,n);if(m&&b(e),o.hasValue(e)){var s=!1;h&&(s=WT[l.type](p,i));var g=GT[l.type](t,o,e,i,r,d,u.model,!1,f);$T(g,o,e,n,i,t,r,"polar"===l.type),x?g.attr({shape:i}):c?XT(c,d,g,i,e,r,!1,!1):kp(g,{shape:i},t,e),o.setItemGraphicEl(e,g),a.add(g),g.ignore=s}})).update((function(e,n){var i=o.getItemModel(e),w=ZT[l.type](o,e,i);if(m){var L=void 0;0===v.length?L=b(n):(L=v[n],L.useStyle(g.getItemStyle()),"cartesian2d"===l.type&&L.setShape("r",y),_[e]=L);var S=ZT[l.type](o,e),D=ak(r,S,l);Tp(L,{shape:D},d,e)}var T=s.getItemGraphicEl(n);if(!o.hasValue(e))return a.remove(T),void(T=null);var k=!1;h&&(k=WT[l.type](p,w),k&&a.remove(T)),T||(T=GT[l.type](t,o,e,w,r,d,u.model,!!T,f)),M||$T(T,o,e,i,w,t,r,"polar"===l.type),x?T.attr({shape:w}):c?XT(c,d,T,w,e,r,!0,M):Tp(T,{shape:w},t,e,null),o.setItemGraphicEl(e,T),T.ignore=k,a.add(T)})).remove((function(e){var n=s.getItemGraphicEl(e);n&&Cp(n,t,e)})).execute();var w=this._backgroundGroup||(this._backgroundGroup=new ro);w.removeAll();for(var L=0;L<_.length;++L)w.add(_[L]);a.add(w),this._backgroundEls=_,this._data=o},e.prototype._renderLarge=function(t,e,n){this._clear(),tk(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),tk(e,this.group,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)?WD(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,n){var i=this;if(e.count()){var r=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,n),this._isFirstFrame=!1;else{var a=function(t){var n=e.getItemGraphicEl(t);if(n){var i=n.shape;return(r.isHorizontal()?Math.abs(i.height):Math.abs(i.width))||0}return 0};this._onRendered=function(){i._updateSortWithinSameData(e,a,r,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,n){var i=[];return t.each(t.mapDimension(e.dim),(function(t,e){var r=n(e);r=null==r?NaN:r,i.push({dataIndex:e,mappedValue:r,ordinalNumber:t})})),i.sort((function(t,e){return e.mappedValue-t.mappedValue})),{ordinalNumbers:be(i,(function(t){return t.ordinalNumber}))}},e.prototype._isOrderChangedWithinSameData=function(t,e,n){for(var i=n.scale,r=t.mapDimension(n.dim),a=Number.MAX_VALUE,o=0,s=i.getOrdinalMeta().categories.length;o<s;++o){var l=t.rawIndexOf(r,i.getRawOrdinalNumber(o)),u=l<0?Number.MIN_VALUE:e(t.indexOfRawIndex(l));if(u>a)return!0;a=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),a=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=a;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r,animation:{duration:0}})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){Cp(e,t,Ld(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(gv),WT={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,a=t.y+t.height,o=jT(e.x,t.x),s=BT(e.x+e.width,r),l=jT(e.y,t.y),u=BT(e.y+e.height,a),d=s<o,c=u<l;return e.x=d&&o>r?s:o,e.y=c&&l>a?u:l,e.width=d?0:s-o,e.height=c?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),d||c},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=BT(e.r,t.r),a=jT(e.r0,t.r0);e.r=r,e.r0=a;var o=r-a<0;if(n<0){i=e.r;e.r=e.r0,e.r0=i}return o}},GT={cartesian2d:function(t,e,n,i,r,a,o,s,l){var u=new ud({shape:fe({},i),z2:1});if(u.__dataIndex=n,u.name="item",a){var d=u.shape,c=r?"height":"width";d[c]=0}return u},polar:function(t,e,n,i,r,a,o,s,l){var u=i.startAngle<i.endAngle,d=!r&&l?NT:Mh,c=new d({shape:me({clockwise:u},i),z2:1});if(c.name="item",a){var h=c.shape,p=r?"r":"endAngle",f={};h[p]=r?0:i.startAngle,f[p]=i[p],(s?Tp:kp)(c,{shape:f},a)}return c}};function UT(t,e){var n=t.get("realtimeSort",!0),i=e.getBaseAxis();if(n&&"category"===i.type&&"cartesian2d"===e.type)return{baseAxis:i,otherAxis:e.getOtherAxis(i)}}function XT(t,e,n,i,r,a,o,s){var l,u;a?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(o?Tp:kp)(n,{shape:l},e,r,null);var d=e?t.baseAxis.model:null;(o?Tp:kp)(n,{shape:u},d,r)}var ZT={cartesian2d:function(t,e,n){var i=t.getItemLayout(e),r=n?JT(n,i):0,a=i.width>0?1:-1,o=i.height>0?1:-1;return{x:i.x+a*r/2,y:i.y+o*r/2,width:i.width-a*r,height:i.height-o*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle}}};function qT(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function $T(t,e,n,i,r,a,o,s){var l=e.getItemVisual(n,"style");s||t.setShape("r",i.get(RT)||0),t.useStyle(l);var u=i.getShallow("cursor");if(u&&t.attr("cursor",u),!s){var d=o?r.height>0?"bottom":"top":r.width>0?"left":"right",c=$p(i);qp(t,c,{labelFetcher:a,labelDataIndex:n,defaultText:gD(a.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:d});var h=t.getTextContent();lf(h,c,a.getRawValue(n),(function(t){return yD(e,t)}))}var p=i.getModel(["emphasis"]);xc(t,p.get("focus"),p.get("blurScope")),Lc(t,i),qT(r)&&(t.style.fill="none",t.style.stroke="none",Me(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}function JT(t,e){var n=t.get(ET)||0,i=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),r=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(n,i,r)}var KT=function(){function t(){}return t}(),QT=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return Vt(e,t),e.prototype.getDefaultShape=function(){return new KT},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.__startPoint,r=this.__baseDimIdx,a=0;a<n.length;a+=2)i[r]=n[a+r],t.moveTo(i[0],i[1]),t.lineTo(n[a],n[a+1])},e}(Uu);function tk(t,e,n){var i=t.getData(),r=[],a=i.getLayout("valueAxisHorizontal")?1:0;r[1-a]=i.getLayout("valueAxisStart");var o=i.getLayout("largeDataIndices"),s=i.getLayout("barWidth"),l=t.getModel("backgroundStyle"),u=t.get("showBackground",!0);if(u){var d=i.getLayout("largeBackgroundPoints"),c=[];c[1-a]=i.getLayout("backgroundStart");var h=new QT({shape:{points:d},incremental:!!n,silent:!0,z2:0});h.__startPoint=c,h.__baseDimIdx=a,h.__largeDataIndices=o,h.__barWidth=s,rk(h,l,i),e.add(h)}var p=new QT({shape:{points:i.getLayout("largePoints")},incremental:!!n});p.__startPoint=r,p.__baseDimIdx=a,p.__largeDataIndices=o,p.__barWidth=s,e.add(p),ik(p,t,i),Ld(p).seriesIndex=t.seriesIndex,t.get("silent")||(p.on("mousedown",ek),p.on("mousemove",ek))}var ek=xv((function(t){var e=this,n=nk(e,t.offsetX,t.offsetY);Ld(e).dataIndex=n>=0?n:null}),30,!1);function nk(t,e,n){var i=t.__baseDimIdx,r=1-i,a=t.shape.points,o=t.__largeDataIndices,s=Math.abs(t.__barWidth/2),l=t.__startPoint[r];zT[0]=e,zT[1]=n;for(var u=zT[i],d=zT[1-i],c=u-s,h=u+s,p=0,f=a.length/2;p<f;p++){var m=2*p,g=a[m+i],y=a[m+r];if(g>=c&&g<=h&&(l<=y?d>=l&&d<=y:d>=y&&d<=l))return o[p]}return-1}function ik(t,e,n){var i=n.getVisual("style");t.useStyle(fe({},i)),t.style.fill=null,t.style.stroke=i.fill,t.style.lineWidth=n.getLayout("barWidth")}function rk(t,e,n){var i=e.get("borderColor")||e.get("color"),r=e.getItemStyle();t.useStyle(r),t.style.fill=null,t.style.stroke=i,t.style.lineWidth=n.getLayout("barWidth")}function ak(t,e,n){if(GD(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}r=n.getArea();var a=e;return{cx:r.cx,cy:r.cy,r0:t?r.r0:a.r0,r:t?r.r:a.r,startAngle:t?a.startAngle:0,endAngle:t?a.endAngle:2*Math.PI}}function ok(t,e,n){var i="polar"===t.type?Mh:ud;return new i({shape:ak(e,n,t),silent:!0,z2:0})}var sk=VT;function lk(t){t.registerChartView(sk),t.registerSeriesModel(PT),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,Ye(ST,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,DT),t.registerVisual({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,hT("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)}))}))}var uk=2*Math.PI,dk=Math.PI/180;function ck(t,e){return Em(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function hk(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),r=ck(t,n),a=t.get("center"),o=t.get("radius");Ie(o)||(o=[0,o]),Ie(a)||(a=[a,a]);var s=yo(r.width,n.getWidth()),l=yo(r.height,n.getHeight()),u=Math.min(s,l),d=yo(a[0],s)+r.x,c=yo(a[1],l)+r.y,h=yo(o[0],u/2),p=yo(o[1],u/2),f=-t.get("startAngle")*dk,m=t.get("minAngle")*dk,g=0;e.each(i,(function(t){!isNaN(t)&&g++}));var y=e.getSum(i),_=Math.PI/(y||g)*2,v=t.get("clockwise"),x=t.get("roseType"),M=t.get("stillShowZeroSum"),b=e.getDataExtent(i);b[0]=0;var w=uk,L=0,S=f,D=v?1:-1;if(e.setLayout({viewRect:r,r:p}),e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:v,cx:d,cy:c,r0:h,r:x?NaN:p});else{i="area"!==x?0===y&&M?_:t*_:uk/g,i<m?(i=m,w-=m):L+=t;var r=S+D*i;e.setItemLayout(n,{angle:i,startAngle:S,endAngle:r,clockwise:v,cx:d,cy:c,r0:h,r:x?go(t,b,[h,p]):p}),S=r}})),w<uk&&g)if(w<=.001){var T=uk/g;e.each(i,(function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n);i.angle=T,i.startAngle=f+D*n*T,i.endAngle=f+D*(n+1)*T}}))}else _=w/L,S=f,e.each(i,(function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n),r=i.angle===m?m:t*_;i.startAngle=S,i.endAngle=S+D*r,S+=D*r}}))}))}function pk(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var i=t.getData();i.filterSelf((function(t){for(var e=i.getName(t),r=0;r<n.length;r++)if(!n[r].isSelected(e))return!1;return!0}))}}}}var fk=Math.PI/180;function mk(t,e,n,i,r,a,o,s,l,u){if(!(t.length<2)){for(var d=t.length,c=0;c<d;c++)if("outer"===t[c].position&&"labelLine"===t[c].labelAlignTo){var h=t[c].label.x-u;t[c].linePoints[1][0]+=h,t[c].label.x=u}Fx(t,l,l+o)&&f(t)}function p(t){for(var a=t.rB,o=a*a,s=0;s<t.list.length;s++){var l=t.list[s],u=Math.abs(l.label.y-n),d=i+l.len,c=d*d,h=Math.sqrt((1-Math.abs(u*u/o))*c);l.label.x=e+(h+l.len2)*r}}function f(t){for(var a={list:[],maxY:0},o={list:[],maxY:0},s=0;s<t.length;s++)if("none"===t[s].labelAlignTo){var l=t[s],u=l.label.y>n?o:a,d=Math.abs(l.label.y-n);if(d>u.maxY){var c=l.label.x-e-l.len2*r,h=i+l.len,f=Math.abs(c)<h?Math.sqrt(d*d/(1-c*c/h/h)):h;u.rB=f,u.maxY=d}u.list.push(l)}p(a),p(o)}}function gk(t,e,n,i,r,a,o,s){for(var l=[],u=[],d=Number.MAX_VALUE,c=-Number.MAX_VALUE,h=0;h<t.length;h++){var p=t[h].label;yk(t[h])||(p.x<e?(d=Math.min(d,p.x),l.push(t[h])):(c=Math.max(c,p.x),u.push(t[h])))}mk(u,e,n,i,1,r,a,o,s,c),mk(l,e,n,i,-1,r,a,o,s,d);for(h=0;h<t.length;h++){var f=t[h];p=f.label;if(!yk(f)){var m=f.linePoints;if(m){var g="edge"===f.labelAlignTo,y=f.rect.width,_=void 0;_=g?p.x<e?m[2][0]-f.labelDistance-o-f.edgeDistance:o+r-f.edgeDistance-m[2][0]-f.labelDistance:p.x<e?p.x-o-f.bleedMargin:o+r-p.x-f.bleedMargin,_<f.rect.width&&(f.label.style.width=_,"edge"===f.labelAlignTo&&(y=_));var v=m[1][0]-m[2][0];g?p.x<e?m[2][0]=o+f.edgeDistance+y+f.labelDistance:m[2][0]=o+r-f.edgeDistance-y-f.labelDistance:(p.x<e?m[2][0]=p.x+f.labelDistance:m[2][0]=p.x-f.labelDistance,m[1][0]=m[2][0]+v),m[1][1]=m[2][1]=p.y}}}}function yk(t){return"center"===t.position}function _k(t){var e,n,i=t.getData(),r=[],a=!1,o=(t.get("minShowLabelAngle")||0)*fk,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,d=s.x,c=s.y,h=s.height;function p(t){t.ignore=!0}function f(t){if(!t.ignore)return!0;for(var e in t.states)if(!1===t.states[e].ignore)return!0;return!1}i.each((function(t){var s=i.getItemGraphicEl(t),c=s.shape,h=s.getTextContent(),m=s.getTextGuideLine(),g=i.getItemModel(t),y=g.getModel("label"),_=y.get("position")||g.get(["emphasis","label","position"]),v=y.get("distanceToLabelLine"),x=y.get("alignTo"),M=yo(y.get("edgeDistance"),u),b=y.get("bleedMargin"),w=g.getModel("labelLine"),L=w.get("length");L=yo(L,u);var S=w.get("length2");if(S=yo(S,u),Math.abs(c.endAngle-c.startAngle)<o)return Me(h.states,p),void(h.ignore=!0);if(f(h)){var D,T,k,Y,I=(c.startAngle+c.endAngle)/2,C=Math.cos(I),A=Math.sin(I);e=c.cx,n=c.cy;var P,O="inside"===_||"inner"===_;if("center"===_)D=c.cx,T=c.cy,Y="center";else{var H=(O?(c.r+c.r0)/2*C:c.r*C)+e,N=(O?(c.r+c.r0)/2*A:c.r*A)+n;if(D=H+3*C,T=N+3*A,!O){var E=H+C*(L+l-c.r),R=N+A*(L+l-c.r),z=E+(C<0?-1:1)*S,j=R;D="edge"===x?C<0?d+M:d+u-M:z+(C<0?-v:v),T=j,k=[[H,N],[E,R],[z,j]]}Y=O?"center":"edge"===x?C>0?"right":"left":C>0?"left":"right"}var B=y.get("rotate");if(P="number"===typeof B?B*(Math.PI/180):B?C<0?-I+Math.PI:-I:0,a=!!P,h.x=D,h.y=T,h.rotation=P,h.setStyle({verticalAlign:"middle"}),O){h.setStyle({align:Y});var F=h.states.select;F&&(F.x+=h.x,F.y+=h.y)}else{var V=h.getBoundingRect().clone();V.applyTransform(h.getComputedTransform());var W=(h.style.margin||0)+2.1;V.y-=W/2,V.height+=W,r.push({label:h,labelLine:m,position:_,len:L,len2:S,minTurnAngle:w.get("minTurnAngle"),maxSurfaceAngle:w.get("maxSurfaceAngle"),surfaceNormal:new Cr(C,A),linePoints:k,textAlign:Y,labelDistance:v,labelAlignTo:x,edgeDistance:M,bleedMargin:b,rect:V})}s.setTextConfig({inside:O})}})),!a&&t.get("avoidLabelOverlap")&&gk(r,e,n,l,u,h,d,c);for(var m=0;m<r.length;m++){var g=r[m],y=g.label,_=g.labelLine,v=isNaN(y.x)||isNaN(y.y);if(y){y.setStyle({align:g.textAlign}),v&&(Me(y.states,p),y.ignore=!0);var x=y.states.select;x&&(x.x+=y.x,x.y+=y.y)}if(_){var M=g.linePoints;v||!M?(Me(_.states,p),_.ignore=!0):(Px(M,g.minTurnAngle),Ox(M,g.surfaceNormal,g.maxSurfaceAngle),_.setShape({points:M}),y.__hostTarget.textGuideLineConfig={anchor:new Cr(M[0][0],M[0][1])})}}}function vk(t,e){var n=t.get("borderRadius");return null==n?null:(Ie(n)||(n=[n,n]),{innerCornerRadius:Kr(n[0],e.r0),cornerRadius:Kr(n[1],e.r)})}var xk=function(t){function e(e,n,i){var r=t.call(this)||this;r.z2=2;var a=new Oh,o=new wd;return r.setTextGuideLine(a),r.setTextContent(o),r.updateData(e,n,i,!0),r}return Vt(e,t),e.prototype.updateData=function(t,e,n,i){var r=this,a=t.hostModel,o=t.getItemModel(e),s=o.getModel("emphasis"),l=t.getItemLayout(e),u=fe(vk(o.getModel("itemStyle"),l)||{},l);if(i){r.setShape(u);var d=a.getShallow("animationType");"scale"===d?(r.shape.r=l.r0,kp(r,{shape:{r:l.r}},a,e)):null!=n?(r.setShape({startAngle:n,endAngle:n}),kp(r,{shape:{startAngle:l.startAngle,endAngle:l.endAngle}},a,e)):(r.shape.endAngle=l.startAngle,Tp(r,{shape:{endAngle:l.endAngle}},a,e))}else Tp(r,{shape:u},a,e);r.useStyle(t.getItemVisual(e,"style")),Lc(r,o);var c=(l.startAngle+l.endAngle)/2,h=a.get("selectedOffset"),p=Math.cos(c)*h,f=Math.sin(c)*h,m=o.getShallow("cursor");m&&r.attr("cursor",m),this._updateLabel(a,t,e),r.ensureState("emphasis").shape=Wt({r:l.r+(s.get("scale")&&s.get("scaleSize")||0)},vk(s.getModel("itemStyle"),l)),fe(r.ensureState("select"),{x:p,y:f,shape:vk(o.getModel(["select","itemStyle"]),l)}),fe(r.ensureState("blur"),{shape:vk(o.getModel(["blur","itemStyle"]),l)});var g=r.getTextGuideLine(),y=r.getTextContent();g&&fe(g.ensureState("select"),{x:p,y:f}),fe(y.ensureState("select"),{x:p,y:f}),xc(this,s.get("focus"),s.get("blurScope"))},e.prototype._updateLabel=function(t,e,n){var i,r=this,a=e.getItemModel(n),o=a.getModel("labelLine"),s=e.getItemVisual(n,"style"),l=s&&s.fill,u=s&&s.opacity;qp(r,$p(a),{labelFetcher:e.hostModel,labelDataIndex:n,inheritColor:l,defaultOpacity:u,defaultText:t.getFormattedLabel(n,"normal")||e.getName(n)});var d=r.getTextContent();r.setTextConfig({position:null,rotation:null}),d.attr({z2:10});var c=t.get(["label","position"]);"outside"===c||"outer"===c?Ex(this,Rx(a),{stroke:l,opacity:Ge(o.get(["lineStyle","opacity"]),u,1)}):null===(i=r.getTextGuideLine())||void 0===i||i.hide()},e}(Mh),Mk=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return Vt(e,t),e.prototype.init=function(){var t=new ro;this._sectorGroup=t},e.prototype.render=function(t,e,n,i){var r,a=t.getData(),o=this._data,s=this.group;if(!o&&a.count()>0){for(var l=a.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u<a.count();++u)l=a.getItemLayout(u);l&&(r=l.startAngle)}a.diff(o).add((function(t){var e=new xk(a,t,r);a.setItemGraphicEl(t,e),s.add(e)})).update((function(t,e){var n=o.getItemGraphicEl(e);n.updateData(a,t,r),n.off("click"),s.add(n),a.setItemGraphicEl(t,n)})).remove((function(e){var n=o.getItemGraphicEl(e);Cp(n,t,e)})).execute(),_k(t),"expansion"!==t.get("animationTypeUpdate")&&(this._data=a)},e.prototype.dispose=function(){},e.prototype.containPoint=function(t,e){var n=e.getData(),i=n.getItemLayout(0);if(i){var r=t[0]-i.cx,a=t[1]-i.cy,o=Math.sqrt(r*r+a*a);return o<=i.r&&o>=i.r0}},e.type="pie",e}(gv),bk=Mk;function wk(t,e,n){e=Ie(e)&&{coordDimensions:e}||fe({},e);var i=t.getSource(),r=nD(i,e),a=new JS(r,t);return a.initData(i,n),a}var Lk=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){var e=this._getRawData();return e.indexOfName(t)>=0},t.prototype.indexOfName=function(t){var e=this._getDataWithEncodedVisual();return e.indexOfName(t)},t.prototype.getItemVisual=function(t,e){var n=this._getDataWithEncodedVisual();return n.getItemVisual(t,e)},t}(),Sk=Lk,Dk=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.useColorPaletteOnData=!0,e}return Vt(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new Sk(ke(this.getData,this),ke(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return wk(this,{coordDimensions:["value"],encodeDefaulter:Ye(dg,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=[];return n.each(n.mapDimension("value"),(function(t){r.push(t)})),i.percent=wo(r,e,n.hostModel.get("percentPrecision")),i.$vars.push("percent"),i},e.prototype._defaultLabelLine=function(t){Fo(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={zlevel:0,z:2,legendHoverLink:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(rv),Tk=Dk;function kk(t){t.registerChartView(bk),t.registerSeriesModel(Tk),tM("pie",t.registerAction),t.registerLayout(Ye(hk,"pie")),t.registerProcessor(pk("pie"))}var Yk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return Vt(e,t),e.prototype.getInitialData=function(t,e){return pD(this.getSource(),this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}}},e}(rv),Ik=Yk,Ck=4,Ak=function(){function t(){}return t}(),Pk=function(t){function e(e){return t.call(this,e)||this}return Vt(e,t),e.prototype.getDefaultShape=function(){return new Ak},e.prototype.buildPath=function(t,e){var n=e.points,i=e.size,r=this.symbolProxy,a=r.shape,o=t.getContext?t.getContext():t,s=o&&i[0]<Ck;if(s)this._ctx=o;else{this._ctx=null;for(var l=0;l<n.length;){var u=n[l++],d=n[l++];isNaN(u)||isNaN(d)||(this.softClipShape&&!this.softClipShape.contain(u,d)||(a.x=u-i[0]/2,a.y=d-i[1]/2,a.width=i[0],a.height=i[1],r.buildPath(t,a,!0)))}}},e.prototype.afterBrush=function(){var t=this.shape,e=t.points,n=t.size,i=this._ctx;if(i)for(var r=0;r<e.length;){var a=e[r++],o=e[r++];isNaN(a)||isNaN(o)||(this.softClipShape&&!this.softClipShape.contain(a,o)||i.fillRect(a-n[0]/2,o-n[1]/2,n[0],n[1]))}},e.prototype.findDataIndex=function(t,e){for(var n=this.shape,i=n.points,r=n.size,a=Math.max(r[0],4),o=Math.max(r[1],4),s=i.length/2-1;s>=0;s--){var l=2*s,u=i[l]-a/2,d=i[l+1]-o/2;if(t>=u&&e>=d&&t<=u+a&&e<=d+o)return s}return-1},e}(Uu),Ok=function(){function t(){this.group=new ro}return t.prototype.isPersistent=function(){return!this._incremental},t.prototype.updateData=function(t,e){this.group.removeAll();var n=new Pk({rectHover:!0,cursor:"default"});n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,!1,e),this.group.add(n),this._incremental=null},t.prototype.updateLayout=function(t){if(!this._incremental){var e=t.getLayout("points");this.group.eachChild((function(t){if(null!=t.startIndex){var n=2*(t.endIndex-t.startIndex),i=4*t.startIndex*2;e=new Float32Array(e.buffer,i,n)}t.setShape("points",e)}))}},t.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new up({silent:!0})),this.group.add(this._incremental)):this._incremental=null},t.prototype.incrementalUpdate=function(t,e,n){var i;this._incremental?(i=new Pk,this._incremental.addDisplayable(i,!0)):(i=new Pk({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end}),i.incremental=!0,this.group.add(i)),i.setShape({points:e.getLayout("points")}),this._setCommon(i,e,!!this._incremental,n)},t.prototype._setCommon=function(t,e,n,i){var r=e.hostModel;i=i||{};var a=e.getVisual("symbolSize");t.setShape("size",a instanceof Array?a:[a,a]),t.softClipShape=i.clipShape||null,t.symbolProxy=gM(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<Ck;t.useStyle(r.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var s=e.getVisual("style"),l=s&&s.fill;if(l&&t.setColor(l),!n){var u=Ld(t);u.seriesIndex=r.seriesIndex,t.on("mousemove",(function(e){u.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>=0&&(u.dataIndex=n+(t.startIndex||0))}))}},t.prototype.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},t.prototype._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t}(),Hk=Ok,Nk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._updateSymbolDraw(i,t);r.updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData(),r=this._updateSymbolDraw(i,t);r.incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var r=uT("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext,r=i.large;return n&&r===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=r?new Hk:new SD,this._isLargeDraw=r,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(gv),Ek=Nk,Rk=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vt(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(Xm),zk=Rk,jk=function(){function t(){}return t.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},t.prototype.getCoordSysModel=function(){},t}(),Bk=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vt(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",hs).models[0]},e.type="cartesian2dAxis",e}(Xm);ve(Bk,jk);var Fk={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},Vk=he({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},Fk),Wk=he({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},Fk),Gk=he({scale:!0,splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},Wk),Uk=me({scale:!0,logBase:10},Wk),Xk={category:Vk,value:Wk,time:Gk,log:Uk},Zk=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&be(i,qk);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if("string"!==typeof t&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return e=i.get(t),null==e&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=tn(this.categories))},t}();function qk(t){return He(t)&&null!=t.value?t.value:t+""}var $k=Zk,Jk={value:1,category:1,time:1,log:1};function Kk(t,e,n,i){Me(Jk,(function(r,a){var o=he(he({},Xk[a],!0),i,!0),s=function(t){function n(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=t.apply(this,n)||this;return r.type=e+"Axis."+a,r}return Vt(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=jm(this),i=n?Fm(t):{},r=e.getTheme();he(t,r.get(a+"Axis")),he(t,this.getDefaultOption()),t.type=Qk(t),n&&Bm(t,i,n)},n.prototype.optionUpdated=function(){var t=this.option;"category"===t.type&&(this.__ordinalMeta=$k.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+a,n.defaultOption=o,n}(n);t.registerComponentModel(s)})),t.registerSubTypeDefaulter(e+"Axis",Qk)}function Qk(t){return t.type||(t.data?"category":"value")}var tY=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();Ps(tY);var eY=tY,nY=_o;function iY(t,e,n,i){var r={},a=t[1]-t[0],o=r.interval=Co(a/e,!0);null!=n&&o<n&&(o=r.interval=n),null!=i&&o>i&&(o=r.interval=i);var s=r.intervalPrecision=rY(o),l=r.niceTickExtent=[nY(Math.ceil(t[0]/o)*o,s),nY(Math.floor(t[1]/o)*o,s)];return oY(l,t),r}function rY(t){return Mo(t)+2}function aY(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function oY(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),aY(t,0,e),aY(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function sY(t,e){return t>=e[0]&&t<=e[1]}function lY(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function uY(t,e){return t*(e[1]-e[0])+e[0]}var dY=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new $k({})),Ie(i)&&(i=new $k({categories:be(i,(function(t){return He(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return Vt(e,t),e.prototype.parse=function(t){return"string"===typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return t=this.parse(t),sY(t,this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return t=this._getTickNumber(this.parse(t)),lY(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(uY(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){var t=[],e=this._extent,n=e[0];while(n<=e[1])t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,a=this._ordinalMeta.categories.length,o=Math.min(a,e.length);r<o;++r){var s=e[r];n[r]=s,i[s]=r}for(var l=0;r<a;++r){while(null!=i[l])l++;n.push(l),i[l]=r}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.niceTicks=function(){},e.prototype.niceExtent=function(){},e.type="ordinal",e}(eY);eY.registerClass(dY);var cY=dY,hY=_o,pY=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return Vt(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return sY(t,this._extent)},e.prototype.normalize=function(t){return lY(t,this._extent)},e.prototype.scale=function(t){return uY(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=rY(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,a=[];if(!e)return a;var o=1e4;n[0]<i[0]&&(t?a.push({value:hY(i[0]-e,r)}):a.push({value:n[0]}));var s=i[0];while(s<=i[1]){if(a.push({value:s}),s=hY(s+e,r),s===a[a.length-1].value)break;if(a.length>o)return[]}var l=a.length?a[a.length-1].value:i[1];return n[1]>l&&(t?a.push({value:hY(l+e,r)}):a.push({value:n[1]})),a},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;r<e.length;r++){var a=e[r],o=e[r-1],s=0,l=[],u=a.value-o.value,d=u/t;while(s<t-1){var c=hY(o.value+(s+1)*d);c>i[0]&&c<i[1]&&l.push(c),s++}n.push(l)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;null==n?n=Mo(t.value)||0:"auto"===n&&(n=this._intervalPrecision);var i=hY(t.value,n,!0);return ym(i)},e.prototype.niceTicks=function(t,e,n){t=t||5;var i=this._extent,r=i[1]-i[0];if(isFinite(r)){r<0&&(r=-r,i.reverse());var a=iY(i,t,e,n);this._intervalPrecision=a.intervalPrecision,this._interval=a.interval,this._niceExtent=a.niceTickExtent}},e.prototype.niceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=e[0];t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1;var i=e[1]-e[0];isFinite(i)||(e[0]=0,e[1]=1),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=hY(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=hY(Math.ceil(e[1]/r)*r))},e.type="interval",e}(eY);eY.registerClass(pY);var fY=pY,mY=function(t,e,n,i){while(n<i){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n},gY=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return Vt(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return Qf(t.value,Uf[Kf($f(this._minLevelUnit))]||Uf.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var i=this.getSetting("useUTC"),r=this.getSetting("locale");return tm(t,e,n,r,i)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=[];if(!e)return i;i.push({value:n[0],level:0});var r=this.getSetting("useUTC"),a=SY(this._minLevelUnit,this._approxInterval,r,n);return i=i.concat(a),i.push({value:n[1],level:0}),i},e.prototype.niceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=Ff,e[1]+=Ff),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-Ff}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.niceTicks=function(t,e,n){t=t||10;var i=this._extent,r=i[1]-i[0];this._approxInterval=r/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var a=yY.length,o=Math.min(mY(yY,this._approxInterval,0,a),a-1);this._interval=yY[o][1],this._minLevelUnit=yY[Math.max(o-1,0)][0]},e.prototype.parse=function(t){return"number"===typeof t?t:+ko(t)},e.prototype.contain=function(t){return sY(this.parse(t),this._extent)},e.prototype.normalize=function(t){return lY(this.parse(t),this._extent)},e.prototype.scale=function(t){return uY(t,this._extent)},e.type="time",e}(fY),yY=[["second",zf],["minute",jf],["hour",Bf],["quarter-day",6*Bf],["half-day",12*Bf],["day",1.2*Ff],["half-week",3.5*Ff],["week",7*Ff],["month",31*Ff],["quarter",95*Ff],["half-year",Vf/2],["year",Vf]];function _Y(t,e,n,i){var r=ko(e),a=ko(n),o=function(t){return nm(r,t,i)===nm(a,t,i)},s=function(){return o("year")},l=function(){return s()&&o("month")},u=function(){return l()&&o("day")},d=function(){return u()&&o("hour")},c=function(){return d()&&o("minute")},h=function(){return c()&&o("second")},p=function(){return h()&&o("millisecond")};switch(t){case"year":return s();case"month":return l();case"day":return u();case"hour":return d();case"minute":return c();case"second":return h();case"millisecond":return p()}}function vY(t,e){return t/=Ff,t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function xY(t){var e=30*Ff;return t/=e,t>6?6:t>3?3:t>2?2:1}function MY(t){return t/=Bf,t>12?12:t>6?6:t>3.5?4:t>2?2:1}function bY(t,e){return t/=e?jf:zf,t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function wY(t){return Co(t,!0)}function LY(t,e,n){var i=new Date(t);switch($f(e)){case"year":case"month":i[cm(n)](0);case"day":i[hm(n)](1);case"hour":i[pm(n)](0);case"minute":i[fm(n)](0);case"second":i[mm(n)](0),i[gm(n)](0)}return i.getTime()}function SY(t,e,n,i){var r=1e4,a=Zf,o=0;function s(t,e,n,r,a,o,s){var l=new Date(e),u=e,d=l[r]();while(u<n&&u<=i[1])s.push({value:u}),d+=t,l[a](d),u=l.getTime();s.push({value:u,notAdd:!0})}function l(t,r,a){var o=[],l=!r.length;if(!_Y($f(t),i[0],i[1],n)){l&&(r=[{value:LY(new Date(i[0]),t,n)},{value:i[1]}]);for(var u=0;u<r.length-1;u++){var d=r[u].value,c=r[u+1].value;if(d!==c){var h=void 0,p=void 0,f=void 0,m=!1;switch(t){case"year":h=Math.max(1,Math.round(e/Ff/365)),p=im(n),f=dm(n);break;case"half-year":case"quarter":case"month":h=xY(e),p=rm(n),f=cm(n);break;case"week":case"half-week":case"day":h=vY(e,31),p=am(n),f=hm(n),m=!0;break;case"half-day":case"quarter-day":case"hour":h=MY(e),p=om(n),f=pm(n);break;case"minute":h=bY(e,!0),p=sm(n),f=fm(n);break;case"second":h=bY(e,!1),p=lm(n),f=mm(n);break;case"millisecond":h=wY(e),p=um(n),f=gm(n);break}s(h,d,c,p,f,m,o),"year"===t&&a.length>1&&0===u&&a.unshift({value:a[0].value-h})}}for(u=0;u<o.length;u++)a.push(o[u]);return o}}for(var u=[],d=[],c=0,h=0,p=0;p<a.length&&o++<r;++p){var f=$f(a[p]);if(Jf(a[p])){l(a[p],u[u.length-1]||[],d);var m=a[p+1]?$f(a[p+1]):null;if(f!==m){if(d.length){h=c,d.sort((function(t,e){return t.value-e.value}));for(var g=[],y=0;y<d.length;++y){var _=d[y].value;0!==y&&d[y-1].value===_||(g.push(d[y]),_>=i[0]&&_<=i[1]&&c++)}var v=(i[1]-i[0])/e;if(c>1.5*v&&h>v/1.5)break;if(u.push(g),c>v||t===a[p])break}d=[]}}}var x=Le(be(u,(function(t){return Le(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),M=[],b=x.length-1;for(p=0;p<x.length;++p)for(var w=x[p],L=0;L<w.length;++L)M.push({value:w[L].value,level:b-p});M.sort((function(t,e){return t.value-e.value}));var S=[];for(p=0;p<M.length;++p)0!==p&&M[p].value===M[p-1].value||S.push(M[p]);return S}eY.registerClass(gY);var DY=gY,TY=eY.prototype,kY=fY.prototype,YY=Mo,IY=_o,CY=Math.floor,AY=Math.ceil,PY=Math.pow,OY=Math.log,HY=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new fY,e._interval=0,e}return Vt(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent(),r=kY.getTicks.call(this,t);return be(r,(function(t){var e=t.value,r=_o(PY(this.base,e));return r=e===n[0]&&this._fixMin?EY(r,i[0]):r,r=e===n[1]&&this._fixMax?EY(r,i[1]):r,{value:r}}),this)},e.prototype.setExtent=function(t,e){var n=this.base;t=OY(t)/OY(n),e=OY(e)/OY(n),kY.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=TY.getExtent.call(this);e[0]=PY(t,e[0]),e[1]=PY(t,e[1]);var n=this._originalScale,i=n.getExtent();return this._fixMin&&(e[0]=EY(e[0],i[0])),this._fixMax&&(e[1]=EY(e[1],i[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=OY(t[0])/OY(e),t[1]=OY(t[1])/OY(e),TY.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.niceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=Yo(n),r=t/n*i;r<=.5&&(i*=10);while(!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0)i*=10;var a=[_o(AY(e[0]/i)*i),_o(CY(e[1]/i)*i)];this._interval=i,this._niceExtent=a}},e.prototype.niceExtent=function(t){kY.niceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return t=OY(t)/OY(this.base),sY(t,this._extent)},e.prototype.normalize=function(t){return t=OY(t)/OY(this.base),lY(t,this._extent)},e.prototype.scale=function(t){return t=uY(t,this._extent),PY(this.base,t)},e.type="log",e}(eY),NY=HY.prototype;function EY(t,e){return IY(t,YY(e))}NY.getMinorTicks=kY.getMinorTicks,NY.getLabel=kY.getLabel,eY.registerClass(HY);var RY=HY,zY=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var i=this._isOrdinal="ordinal"===t.type;this._needCrossZero=e.getNeedCrossZero&&e.getNeedCrossZero();var r=this._modelMinRaw=e.get("min",!0);Ce(r)?this._modelMinNum=VY(t,r({min:n[0],max:n[1]})):"dataMin"!==r&&(this._modelMinNum=VY(t,r));var a=this._modelMaxRaw=e.get("max",!0);if(Ce(a)?this._modelMaxNum=VY(t,a({min:n[0],max:n[1]})):"dataMax"!==a&&(this._modelMaxNum=VY(t,a)),i)this._axisDataLen=e.getCategories().length;else{var o=e.get("boundaryGap"),s=Ie(o)?o:[o||0,o||0];"boolean"===typeof s[0]||"boolean"===typeof s[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[Kr(s[0],1),Kr(s[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,i=this._axisDataLen,r=this._boundaryGapInner,a=t?null:n-e||Math.abs(e),o="dataMin"===this._modelMinRaw?e:this._modelMinNum,s="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,l=null!=o,u=null!=s;null==o&&(o=t?i?0:NaN:e-r[0]*a),null==s&&(s=t?i?i-1:NaN:n+r[1]*a),(null==o||!isFinite(o))&&(o=NaN),(null==s||!isFinite(s))&&(s=NaN),o>s&&(o=NaN,s=NaN);var d=Fe(o)||Fe(s)||t&&!i;this._needCrossZero&&(o>0&&s>0&&!l&&(o=0),o<0&&s<0&&!u&&(s=0));var c=this._determinedMin,h=this._determinedMax;return null!=c&&(o=c,l=!0),null!=h&&(s=h,u=!0),{min:o,max:s,minFixed:l,maxFixed:u,isBlank:d}},t.prototype.modifyDataMinMax=function(t,e){this[BY[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){var n=jY[t];this[n]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),jY={min:"_determinedMin",max:"_determinedMax"},BY={min:"_dataMin",max:"_dataMax"};function FY(t,e,n){var i=t.rawExtentInfo;return i||(i=new zY(t,e,n),t.rawExtentInfo=i,i)}function VY(t,e){return null==e?null:Fe(e)?NaN:t.parse(e)}function WY(t,e){var n=t.type,i=FY(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,a=i.max,o=e.ecModel;if(o&&"time"===n){var s=xT("bar",o),l=!1;if(Me(s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=bT(s),d=GY(r,a,e,u);r=d.min,a=d.max}}return{extent:[r,a],fixMin:i.minFixed,fixMax:i.maxFixed}}function GY(t,e,n,i){var r=n.axis.getExtent(),a=r[1]-r[0],o=LT(i,n.axis);if(void 0===o)return{min:t,max:e};var s=1/0;Me(o,(function(t){s=Math.min(t.offset,s)}));var l=-1/0;Me(o,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,d=e-t,c=1-(s+l)/a,h=d/c-d;return e+=h*(l/u),t-=h*(s/u),{min:t,max:e}}function UY(t,e){var n=WY(t,e),i=n.extent,r=e.get("splitNumber");t instanceof RY&&(t.base=e.get("logBase"));var a=t.type;t.setExtent(i[0],i[1]),t.niceExtent({splitNumber:r,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:"interval"===a||"time"===a?e.get("minInterval"):null,maxInterval:"interval"===a||"time"===a?e.get("maxInterval"):null});var o=e.get("interval");null!=o&&t.setInterval&&t.setInterval(o)}function XY(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new cY({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new DY({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(eY.getClass(e)||fY)}}function ZY(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}function qY(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?function(e){return function(n,i){return t.scale.getFormattedLabel(n,i,e)}}(e):"string"===typeof e?function(e){return function(n){var i=t.scale.getLabel(n),r=e.replace("{value}",null!=i?i:"");return r}}(e):"function"===typeof e?function(e){return function(i,r){return null!=n&&(r=i.value-n),e($Y(t,i),r,null!=i.level?{level:i.level}:null)}}(e):function(e){return t.scale.getLabel(e)}}function $Y(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function JY(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,a=n.getExtent();n instanceof cY?r=n.count():(i=n.getTicks(),r=i.length);var o,s=t.getLabelModel(),l=qY(t),u=1;r>40&&(u=Math.ceil(r/40));for(var d=0;d<r;d+=u){var c=i?i[d]:{value:a[0]+d},h=l(c,d),p=s.getTextRect(h),f=KY(p,s.get("rotate")||0);o?o.union(f):o=f}return o}}function KY(t,e){var n=e*Math.PI/180,i=t.width,r=t.height,a=i*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),o=i*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n)),s=new Br(t.x,t.y,a,o);return s}function QY(t){var e=t.get("interval");return null==e?"auto":e}function tI(t){return"category"===t.type&&0===QY(t.getLabelModel())}function eI(t,e){var n={};return Me(t.mapDimensionsAll(e),(function(e){n[uD(t,e)]=!0})),De(n)}function nI(t,e,n){e&&Me(eI(e,n),(function(n){var i=e.getApproximateExtent(n);i[0]<t[0]&&(t[0]=i[0]),i[1]>t[1]&&(t[1]=i[1])}))}var iI=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return be(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),Le(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),rI=iI,aI=["x","y"];function oI(t){return"interval"===t.type||"time"===t.type}var sI=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=aI,e}return Vt(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(oI(t)&&oI(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),a=this.dataToPoint([n[1],i[1]]),o=n[1]-n[0],s=i[1]-i[0];if(o&&s){var l=(a[0]-r[0])/o,u=(a[1]-r[1])/s,d=r[0]-n[0]*l,c=r[1]-i[0]*u,h=this._transform=[l,0,0,u,d,c];this._invTransform=Mi([],h)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return Ln(n,t,this._transform);var a=this.getAxis("x"),o=this.getAxis("y");return n[0]=a.toGlobalCoord(a.dataToCoord(i)),n[1]=o.toGlobalCoord(o.dataToCoord(r)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),a=i.getExtent(),o=n.parse(t[0]),s=i.parse(t[1]);return e=e||[],e[0]=Math.min(Math.max(Math.min(r[0],r[1]),o),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),e},e.prototype.pointToData=function(t,e){if(e=e||[],this._invTransform)return Ln(e,t,this._invTransform);var n=this.getAxis("x"),i=this.getAxis("y");return e[0]=n.coordToData(n.toLocalCoord(t[0])),e[1]=i.coordToData(i.toLocalCoord(t[1])),e},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),i=Math.min(e[0],e[1]),r=Math.max(t[0],t[1])-n,a=Math.max(e[0],e[1])-i;return new Br(n,i,r,a)},e}(rI),lI=sI,uI=us();function dI(t){return"category"===t.type?hI(t):mI(t)}function cI(t,e){return"category"===t.type?fI(t,e):{ticks:be(t.scale.getTicks(),(function(t){return t.value}))}}function hI(t){var e=t.getLabelModel(),n=pI(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function pI(t,e){var n,i,r=gI(t,"labels"),a=QY(e),o=yI(r,a);return o||(Ce(a)?n=wI(t,a):(i="auto"===a?vI(t):a,n=bI(t,i)),_I(r,a,{labels:n,labelCategoryInterval:i}))}function fI(t,e){var n,i,r=gI(t,"ticks"),a=QY(e),o=yI(r,a);if(o)return o;if(e.get("show")&&!t.scale.isBlank()||(n=[]),Ce(a))n=wI(t,a,!0);else if("auto"===a){var s=pI(t,t.getLabelModel());i=s.labelCategoryInterval,n=be(s.labels,(function(t){return t.tickValue}))}else i=a,n=bI(t,i,!0);return _I(r,a,{ticks:n,tickCategoryInterval:i})}function mI(t){var e=t.scale.getTicks(),n=qY(t);return{labels:be(e,(function(e,i){return{formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}function gI(t,e){return uI(t)[e]||(uI(t)[e]=[])}function yI(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function _I(t,e,n){return t.push({key:e,value:n}),n}function vI(t){var e=uI(t).autoInterval;return null!=e?e:uI(t).autoInterval=t.calculateCategoryInterval()}function xI(t){var e=MI(t),n=qY(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,a=r.getExtent(),o=r.count();if(a[1]-a[0]<1)return 0;var s=1;o>40&&(s=Math.max(1,Math.floor(o/40)));for(var l=a[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),d=Math.abs(u*Math.cos(i)),c=Math.abs(u*Math.sin(i)),h=0,p=0;l<=a[1];l+=s){var f=0,m=0,g=Zr(n({value:l}),e.font,"center","top");f=1.3*g.width,m=1.3*g.height,h=Math.max(h,f,7),p=Math.max(p,m,7)}var y=h/d,_=p/c;isNaN(y)&&(y=1/0),isNaN(_)&&(_=1/0);var v=Math.max(0,Math.floor(Math.min(y,_))),x=uI(t.model),M=t.getExtent(),b=x.lastAutoInterval,w=x.lastTickCount;return null!=b&&null!=w&&Math.abs(b-v)<=1&&Math.abs(w-o)<=1&&b>v&&x.axisExtent0===M[0]&&x.axisExtent1===M[1]?v=b:(x.lastTickCount=o,x.lastAutoInterval=v,x.axisExtent0=M[0],x.axisExtent1=M[1]),v}function MI(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function bI(t,e,n){var i=qY(t),r=t.scale,a=r.getExtent(),o=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=a[0],d=r.count();0!==u&&l>1&&d/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=tI(t),h=o.get("showMinLabel")||c,p=o.get("showMaxLabel")||c;h&&u!==a[0]&&m(a[0]);for(var f=u;f<=a[1];f+=l)m(f);function m(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return p&&f-l!==a[1]&&m(a[1]),s}function wI(t,e,n){var i=t.scale,r=qY(t),a=[];return Me(i.getTicks(),(function(t){var o=i.getLabel(t),s=t.value;e(t.value,o)&&a.push(n?s:{formattedLabel:r(t),rawLabel:o,tickValue:s})})),a}var LI=[0,1],SI=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return bo(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&(n=n.slice(),DI(n,i.count())),go(t,LI,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&(n=n.slice(),DI(n,i.count()));var r=go(t,n,LI,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){t=t||{};var e=t.tickModel||this.getTickModel(),n=cI(this,e),i=n.ticks,r=be(i,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this),a=e.get("alignWithLabel");return TI(this,r,a,t.clamp),r},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var n=this.scale.getMinorTicks(e),i=be(n,(function(t){return be(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this);return i},t.prototype.getViewLabels=function(){return dI(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return xI(this)},t}();function DI(t,e){var n=t[1]-t[0],i=e,r=n/i/2;t[0]+=r,t[1]-=r}function TI(t,e,n,i){var r=e.length;if(t.onBand&&!n&&r){var a,o,s=t.getExtent();if(1===r)e[0].coord=s[0],a=e[1]={coord:s[0]};else{var l=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/l;Me(e,(function(t){t.coord-=u/2}));var d=t.scale.getExtent();o=1+d[1]-e[r-1].tickValue,a={coord:e[r-1].coord+u*o},e.push(a)}var c=s[0]>s[1];h(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift()),i&&h(s[0],e[0].coord)&&e.unshift({coord:s[0]}),h(s[1],a.coord)&&(i?a.coord=s[1]:e.pop()),i&&h(a.coord,s[1])&&e.push({coord:s[1]})}function h(t,e){return t=_o(t),e=_o(e),c?t>e:t<e}}var kI=SI,YI=function(t){function e(e,n,i,r,a){var o=t.call(this,e,n,i)||this;return o.index=0,o.type=r||"value",o.position=a||"bottom",o}return Vt(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(kI),II=YI;function CI(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,a={},o=r.getAxesOnZeroOf()[0],s=r.position,l=o?"onZero":s,u=r.dim,d=i.getRect(),c=[d.x,d.x+d.width,d.y,d.y+d.height],h={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,f="x"===u?[c[2]-p,c[3]+p]:[c[0]-p,c[1]+p];if(o){var m=o.toGlobalCoord(o.dataToCoord(0));f[h.onZero]=Math.max(Math.min(m,f[1]),f[0])}a.position=["y"===u?f[h[l]]:c[0],"x"===u?f[h[l]]:c[3]],a.rotation=Math.PI/2*("x"===u?0:1);var g={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=g[s],a.labelOffset=o?f[h[s]]-f[h.onZero]:0,e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),Ve(n.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var y=e.get(["axisLabel","rotate"]);return a.labelRotate="top"===l?-y:y,a.z2=1,a}function AI(t){return"cartesian2d"===t.get("coordinateSystem")}function PI(t){var e={xAxisModel:null,yAxisModel:null};return Me(e,(function(n,i){var r=i.replace(/Model$/,""),a=t.getReferringComponents(r,hs).models[0];e[i]=a})),e}var OI=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=aI,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;this._updateScale(t,this.model),Me(n.x,(function(t){UY(t.scale,t.model)})),Me(n.y,(function(t){UY(t.scale,t.model)}));var i={};Me(n.x,(function(t){NI(n,"y",t,i)})),Me(n.y,(function(t){NI(n,"x",t,i)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),a=Em(i,{width:e.getWidth(),height:e.getHeight()});this._rect=a;var o=this._axesList;function s(){Me(o,(function(t){var e=t.isHorizontal(),n=e?[0,a.width]:[0,a.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),RI(t,e?a.x:a.y)}))}s(),r&&(Me(o,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=JY(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get(["axisLabel","margin"]);a[n]-=e[n]+i,"top"===t.position?a.y+=e.height+i:"left"===t.position&&(a.x+=e.width+i)}}})),s()),Me(this._coordsList,(function(t){t.calcAffineTransform()}))},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}He(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,r=this._coordsList;i<r.length;i++)if(r[i].getAxis("x").index===t||r[i].getAxis("y").index===e)return r[i]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,i=t.seriesModel,r=t.xAxisModel||i&&i.getReferringComponents("xAxis",hs).models[0],a=t.yAxisModel||i&&i.getReferringComponents("yAxis",hs).models[0],o=t.gridModel,s=this._coordsList;if(i)e=i.coordinateSystem,ye(s,e)<0&&(e=null);else if(r&&a)e=this.getCartesian(r.componentIndex,a.componentIndex);else if(r)n=this.getAxis("x",r.componentIndex);else if(a)n=this.getAxis("y",a.componentIndex);else if(o){var l=o.coordinateSystem;l===this&&(e=this._coordsList[0])}return{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var i=this,r=this,a={left:!1,right:!1,top:!1,bottom:!1},o={x:{},y:{}},s={x:0,y:0};if(e.eachComponent("xAxis",l("x"),this),e.eachComponent("yAxis",l("y"),this),!s.x||!s.y)return this._axesMap={},void(this._axesList=[]);function l(e){return function(n,i){if(HI(n,t)){var l=n.get("position");"x"===e?"top"!==l&&"bottom"!==l&&(l=a.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=a.left?"right":"left"),a[l]=!0;var u=new II(e,XY(n),[0,0],n.get("type"),l),d="category"===u.type;u.onBand=d&&n.get("boundaryGap"),u.inverse=n.get("inverse"),n.axis=u,u.model=n,u.grid=r,u.index=i,r._axesList.push(u),o[e][i]=u,s[e]++}}}this._axesMap=o,Me(o.x,(function(e,n){Me(o.y,(function(r,a){var o="x"+n+"y"+a,s=new lI(o);s.master=i,s.model=t,i._coordsMap[o]=s,i._coordsList.push(s),s.addAxis(e),s.addAxis(r)}))}))},t.prototype._updateScale=function(t,e){function n(t,e){Me(eI(t,e.dim),(function(n){e.scale.unionExtentFromData(t,n)}))}Me(this._axesList,(function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}})),t.eachSeries((function(t){if(AI(t)){var i=PI(t),r=i.xAxisModel,a=i.yAxisModel;if(!HI(r,e)||!HI(a,e))return;var o=this.getCartesian(r.componentIndex,a.componentIndex),s=t.getData(),l=o.getAxis("x"),u=o.getAxis("y");"list"===s.type&&(n(s,l),n(s,u))}}),this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return Me(this.getCartesians(),(function(i){var r=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),a=i.getOtherAxis(r);ye(e,r)<0&&e.push(r),ye(n,a)<0&&n.push(a)})),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var i=[];return e.eachComponent("grid",(function(r,a){var o=new t(r,e,n);o.name="grid_"+a,o.resize(r,n,!0),r.coordinateSystem=o,i.push(o)})),e.eachSeries((function(t){if(AI(t)){var e=PI(t),n=e.xAxisModel,i=e.yAxisModel,r=n.getCoordSysModel();0;var a=r.coordinateSystem;t.coordinateSystem=a.getCartesian(n.componentIndex,i.componentIndex)}})),i},t.dimensions=aI,t}();function HI(t,e){return t.getCoordSysModel()===e}function NI(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,a=t[e],o=n.model,s=o.get(["axisLine","onZero"]),l=o.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)EI(a[l])&&(r=a[l]);else for(var u in a)if(a.hasOwnProperty(u)&&EI(a[u])&&!i[d(a[u])]){r=a[u];break}r&&(i[d(r)]=!0)}function d(t){return t.dim+"_"+t.index}}function EI(t){return t&&"category"!==t.type&&"time"!==t.type&&ZY(t)}function RI(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}var zI=OI,jI=Math.PI,BI=function(){function t(t,e){this.group=new ro,this.opt=e,this.axisModel=t,me(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new ro({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!FI[t]},t.prototype.add=function(t){FI[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,a=So(e-t);return Do(a)?(r=n>0?"top":"bottom",i="center"):Do(a-jI)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=a>0&&a<jI?n>0?"right":"left":n>0?"left":"right"),{rotation:a,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),FI={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var a=e.axis.getExtent(),o=i.transform,s=[a[0],0],l=[a[1],0];o&&(Ln(s,s,o),Ln(l,l,o));var u=fe({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),d=new Rh({subPixelOptimize:!0,shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:u,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});d.anid="line",n.add(d);var c=e.get(["axisLine","symbol"]),h=e.get(["axisLine","symbolSize"]),p=e.get(["axisLine","symbolOffset"])||0;if("number"===typeof p&&(p=[p,p]),null!=c){"string"===typeof c&&(c=[c,c]),"string"!==typeof h&&"number"!==typeof h||(h=[h,h]);var f=h[0],m=h[1];Me([{rotate:t.rotation+Math.PI/2,offset:p[0],r:0},{rotate:t.rotation-Math.PI/2,offset:p[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,i){if("none"!==c[i]&&null!=c[i]){var r=gM(c[i],-f/2,-m/2,f,m,u.stroke,!0),a=e.r+e.offset;r.attr({rotation:e.rotate,x:s[0]+a*Math.cos(t.rotation),y:s[1]-a*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=qI(n,i,e,t),a=JI(n,i,e,t);WI(e,a,r),$I(n,i,e,t.tickDirection)},axisName:function(t,e,n,i){var r=Ve(t.axisName,e.get("name"));if(r){var a,o,s=e.get("nameLocation"),l=t.nameDirection,u=e.getModel("nameTextStyle"),d=e.get("nameGap")||0,c=e.axis.getExtent(),h=c[0]>c[1]?-1:1,p=["start"===s?c[0]-h*d:"end"===s?c[1]+h*d:(c[0]+c[1])/2,XI(s)?t.labelOffset+l*d:0],f=e.get("nameRotate");null!=f&&(f=f*jI/180),XI(s)?a=BI.innerTextLayout(t.rotation,null!=f?f:t.rotation,l):(a=VI(t.rotation,s,f||0,c),o=t.axisNameAvailableWidth,null!=o&&(o=Math.abs(o/Math.sin(a.rotation)),!isFinite(o)&&(o=null)));var m=u.getFont(),g=e.get("nameTruncate",!0)||{},y=g.ellipsis,_=Ve(t.nameTruncateMaxWidth,g.maxWidth,o),v=e.get("tooltip",!0),x=e.mainType,M={componentType:x,name:r,$vars:["name"]};M[x+"Index"]=e.componentIndex;var b=new wd({x:p[0],y:p[1],rotation:a.rotation,silent:BI.isLabelSilent(e),style:Jp(u,{text:r,font:m,overflow:"truncate",width:_,ellipsis:y,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||a.textAlign,verticalAlign:u.get("verticalAlign")||a.textVerticalAlign}),z2:1});if(b.tooltip=v&&v.show?fe({content:r,formatter:function(){return r},formatterParams:M},v):null,b.__fullText=r,b.anid="name",e.get("triggerEvent")){var w=BI.makeAxisEventDataBase(e);w.targetType="axisName",w.name=r,Ld(b).eventData=w}i.add(b),b.updateTransform(),n.add(b),b.decomposeTransform()}}};function VI(t,e,n,i){var r,a,o=So(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;return Do(o-jI/2)?(a=l?"bottom":"top",r="center"):Do(o-1.5*jI)?(a=l?"top":"bottom",r="center"):(a="middle",r=o<1.5*jI&&o>jI/2?l?"left":"right":l?"right":"left"),{rotation:o,textAlign:r,textVerticalAlign:a}}function WI(t,e,n){if(!tI(t.axis)){var i=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]);e=e||[],n=n||[];var a=e[0],o=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],d=n[1],c=n[n.length-1],h=n[n.length-2];!1===i?(GI(a),GI(u)):UI(a,o)&&(i?(GI(o),GI(d)):(GI(a),GI(u))),!1===r?(GI(s),GI(c)):UI(l,s)&&(r?(GI(l),GI(h)):(GI(s),GI(c)))}}function GI(t){t&&(t.ignore=!0)}function UI(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=mi([]);return vi(r,r,-t.rotation),n.applyTransform(yi([],r,t.getLocalTransform())),i.applyTransform(yi([],r,e.getLocalTransform())),n.intersect(i)}}function XI(t){return"middle"===t||"center"===t}function ZI(t,e,n,i,r){for(var a=[],o=[],s=[],l=0;l<t.length;l++){var u=t[l].coord;o[0]=u,o[1]=0,s[0]=u,s[1]=n,e&&(Ln(o,o,e),Ln(s,s,e));var d=new Rh({subPixelOptimize:!0,shape:{x1:o[0],y1:o[1],x2:s[0],y2:s[1]},style:i,z2:2,autoBatch:!0,silent:!0});d.anid=r+"_"+t[l].tickValue,a.push(d)}return a}function qI(t,e,n,i){var r=n.axis,a=n.getModel("axisTick"),o=a.get("show");if("auto"===o&&i.handleAutoShown&&(o=i.handleAutoShown("axisTick")),o&&!r.scale.isBlank()){for(var s=a.getModel("lineStyle"),l=i.tickDirection*a.get("length"),u=r.getTicksCoords(),d=ZI(u,e.transform,l,me(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),c=0;c<d.length;c++)t.add(d[c]);return d}}function $I(t,e,n,i){var r=n.axis,a=n.getModel("minorTick");if(a.get("show")&&!r.scale.isBlank()){var o=r.getMinorTicksCoords();if(o.length)for(var s=a.getModel("lineStyle"),l=i*a.get("length"),u=me(s.getLineStyle(),me(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),d=0;d<o.length;d++)for(var c=ZI(o[d],e.transform,l,u,"minorticks_"+d),h=0;h<c.length;h++)t.add(c[h])}}function JI(t,e,n,i){var r=n.axis,a=Ve(i.axisLabelShow,n.get(["axisLabel","show"]));if(a&&!r.scale.isBlank()){var o=n.getModel("axisLabel"),s=o.get("margin"),l=r.getViewLabels(),u=(Ve(i.labelRotate,o.get("rotate"))||0)*jI/180,d=BI.innerTextLayout(i.rotation,u,i.labelDirection),c=n.getCategories&&n.getCategories(!0),h=[],p=BI.isLabelSilent(n),f=n.get("triggerEvent");return Me(l,(function(a,l){var u="ordinal"===r.scale.type?r.scale.getRawOrdinalNumber(a.tickValue):a.tickValue,m=a.formattedLabel,g=a.rawLabel,y=o;if(c&&c[u]){var _=c[u];He(_)&&_.textStyle&&(y=new Mf(_.textStyle,o,n.ecModel))}var v=y.getTextColor()||n.get(["axisLine","lineStyle","color"]),x=r.dataToCoord(u),M=new wd({x:x,y:i.labelOffset+i.labelDirection*s,rotation:d.rotation,silent:p,z2:10,style:Jp(y,{text:m,align:y.getShallow("align",!0)||d.textAlign,verticalAlign:y.getShallow("verticalAlign",!0)||y.getShallow("baseline",!0)||d.textVerticalAlign,fill:"function"===typeof v?v("category"===r.type?g:"value"===r.type?u+"":u,l):v})});if(M.anid="label_"+u,f){var b=BI.makeAxisEventDataBase(n);b.targetType="axisLabel",b.value=g,Ld(M).eventData=b}e.add(M),M.updateTransform(),h.push(M),t.add(M),M.decomposeTransform()})),h}}var KI=BI;function QI(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return tC(n,t,e),n.seriesInvolved&&nC(n,t),n}function tC(t,e,n){var i=e.getComponent("tooltip"),r=e.getComponent("axisPointer"),a=r.get("link",!0)||[],o=[];Me(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var s=uC(n.model),l=t.coordSysAxesInfo[s]={};t.coordSysMap[s]=n;var u=n.model,d=u.getModel("tooltip",i);if(Me(n.getAxes(),Ye(f,!1,null)),n.getTooltipAxes&&i&&d.get("show")){var c="axis"===d.get("trigger"),h="cross"===d.get(["axisPointer","type"]),p=n.getTooltipAxes(d.get(["axisPointer","axis"]));(c||h)&&Me(p.baseAxes,Ye(f,!h||"cross",c)),h&&Me(p.otherAxes,Ye(f,"cross",!1))}}function f(i,s,u){var c=u.model.getModel("axisPointer",r),h=c.get("show");if(h&&("auto"!==h||i||lC(c))){null==s&&(s=c.get("triggerTooltip")),c=i?eC(u,d,r,e,i,s):c;var p=c.get("snap"),f=uC(u.model),m=s||p||"category"===u.type,g=t.axesInfo[f]={key:f,axis:u,coordSys:n,axisPointerModel:c,triggerTooltip:s,involveSeries:m,snap:p,useHandle:lC(c),seriesModels:[],linkGroup:null};l[f]=g,t.seriesInvolved=t.seriesInvolved||m;var y=iC(a,u);if(null!=y){var _=o[y]||(o[y]={axesInfo:{}});_.axesInfo[f]=g,_.mapper=a[y].mapper,g.linkGroup=_}}}}))}function eC(t,e,n,i,r,a){var o=e.getModel("axisPointer"),s=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],l={};Me(s,(function(t){l[t]=ce(o.get(t))})),l.snap="category"!==t.type&&!!a,"cross"===o.get("type")&&(l.type="line");var u=l.label||(l.label={});if(null==u.show&&(u.show=!1),"cross"===r){var d=o.get(["label","show"]);if(u.show=null==d||d,!a){var c=l.lineStyle=o.get("crossStyle");c&&me(u,c.textStyle)}}return t.model.getModel("axisPointer",new Mf(l,n,i))}function nC(t,e){e.eachSeries((function(e){var n=e.coordinateSystem,i=e.get(["tooltip","trigger"],!0),r=e.get(["tooltip","show"],!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==r&&!1!==e.get(["axisPointer","show"],!0)&&Me(t.coordSysAxesInfo[uC(n.model)],(function(t){var i=t.axis;n.getAxis(i.dim)===i&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}))}function iC(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var a=t[r]||{};if(rC(a[i+"AxisId"],n.id)||rC(a[i+"AxisIndex"],n.componentIndex)||rC(a[i+"AxisName"],n.name))return r}}function rC(t,e){return"all"===t||Ie(t)&&ye(t,e)>=0||t===e}function aC(t){var e=oC(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,a=n.get("status"),o=n.get("value");null!=o&&(o=i.parse(o));var s=lC(n);null==a&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==o||o>l[1])&&(o=l[1]),o<l[0]&&(o=l[0]),r.value=o,s&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}function oC(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[uC(t)]}function sC(t){var e=oC(t);return e&&e.axisPointerModel}function lC(t){return!!t.get(["handle","show"])}function uC(t){return t.type+"||"+t.id}var dC={},cC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.render=function(e,n,i,r){this.axisPointerClass&&aC(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},e.prototype.updateAxisPointer=function(t,e,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,i){var r=e.getAxisPointerClass(this.axisPointerClass);if(r){var a=sC(t);a?(this._axisPointer||(this._axisPointer=new r)).render(t,a,n,i):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){dC[t]=e},e.getAxisPointerClass=function(t){return t&&dC[t]},e.type="axis",e}(ov),hC=cC,pC=us();function fC(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var a=n.getModel("splitArea"),o=a.getModel("areaStyle"),s=o.get("color"),l=i.coordinateSystem.getRect(),u=r.getTicksCoords({tickModel:a,clamp:!0});if(u.length){var d=s.length,c=pC(t).splitAreaColors,h=tn(),p=0;if(c)for(var f=0;f<u.length;f++){var m=c.get(u[f].tickValue);if(null!=m){p=(m+(d-1)*f)%d;break}}var g=r.toGlobalCoord(u[0].coord),y=o.getAreaStyle();s=Ie(s)?s:[s];for(f=1;f<u.length;f++){var _=r.toGlobalCoord(u[f].coord),v=void 0,x=void 0,M=void 0,b=void 0;r.isHorizontal()?(v=g,x=l.y,M=_-v,b=l.height,g=v+M):(v=l.x,x=g,M=l.width,b=_-x,g=x+b);var w=u[f-1].tickValue;null!=w&&h.set(w,p),e.add(new ud({anid:null!=w?"area_"+w:null,shape:{x:v,y:x,width:M,height:b},style:me({fill:s[p]},y),autoBatch:!0,silent:!0})),p=(p+1)%d}pC(t).splitAreaColors=h}}}function mC(t){pC(t).splitAreaColors=null}var gC=["axisLine","axisTickLabel","axisName"],yC=["splitArea","splitLine","minorSplitLine"],_C=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return Vt(e,t),e.prototype.render=function(e,n,i,r){this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new ro,this.group.add(this._axisGroup),e.get("show")){var o=e.getCoordSysModel(),s=CI(o,e),l=new KI(e,fe({handleAutoShown:function(t){for(var n=o.coordinateSystem.getCartesians(),i=0;i<n.length;i++){var r=n[i].getOtherAxis(e.axis).type;if("value"===r||"log"===r)return!0}return!1}},s));Me(gC,l.add,l),this._axisGroup.add(l.getGroup()),Me(yC,(function(t){e.get([t,"show"])&&vC[t](this,this._axisGroup,e,o)}),this),Rp(a,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)}},e.prototype.remove=function(){mC(this)},e.type="cartesianAxis",e}(hC),vC={splitLine:function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var a=n.getModel("splitLine"),o=a.getModel("lineStyle"),s=o.get("color");s=Ie(s)?s:[s];for(var l=i.coordinateSystem.getRect(),u=r.isHorizontal(),d=0,c=r.getTicksCoords({tickModel:a}),h=[],p=[],f=o.getLineStyle(),m=0;m<c.length;m++){var g=r.toGlobalCoord(c[m].coord);u?(h[0]=g,h[1]=l.y,p[0]=g,p[1]=l.y+l.height):(h[0]=l.x,h[1]=g,p[0]=l.x+l.width,p[1]=g);var y=d++%s.length,_=c[m].tickValue;e.add(new Rh({anid:null!=_?"line_"+c[m].tickValue:null,subPixelOptimize:!0,autoBatch:!0,shape:{x1:h[0],y1:h[1],x2:p[0],y2:p[1]},style:me({stroke:s[y]},f),silent:!0}))}}},minorSplitLine:function(t,e,n,i){var r=n.axis,a=n.getModel("minorSplitLine"),o=a.getModel("lineStyle"),s=i.coordinateSystem.getRect(),l=r.isHorizontal(),u=r.getMinorTicksCoords();if(u.length)for(var d=[],c=[],h=o.getLineStyle(),p=0;p<u.length;p++)for(var f=0;f<u[p].length;f++){var m=r.toGlobalCoord(u[p][f].coord);l?(d[0]=m,d[1]=s.y,c[0]=m,c[1]=s.y+s.height):(d[0]=s.x,d[1]=m,c[0]=s.x+s.width,c[1]=m),e.add(new Rh({anid:"minor_line_"+u[p][f].tickValue,subPixelOptimize:!0,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:c[0],y2:c[1]},style:h,silent:!0}))}},splitArea:function(t,e,n,i){fC(t,e,n,i)}},xC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.type="xAxis",e}(_C),MC=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=xC.type,e}return Vt(e,t),e.type="yAxis",e}(_C),bC=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return Vt(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new ud({shape:t.coordinateSystem.getRect(),style:me({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(ov),wC={offset:0};function LC(t){t.registerComponentView(bC),t.registerComponentModel(zk),t.registerCoordinateSystem("cartesian2d",zI),Kk(t,"x",Bk,wC),Kk(t,"y",Bk,wC),t.registerComponentView(xC),t.registerComponentView(MC),t.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))}function SC(t){Vw(LC),t.registerSeriesModel(Ik),t.registerChartView(Ek),t.registerLayout(uT("scatter"))}function DC(t){t.eachSeriesByType("radar",(function(t){var e=t.getData(),n=[],i=t.coordinateSystem;if(i){var r=i.getIndicatorAxes();Me(r,(function(t,a){e.each(e.mapDimension(r[a].dim),(function(t,e){n[e]=n[e]||[];var r=i.dataToPoint(t,a);n[e][a]=TC(r)?r:kC(i)}))})),e.each((function(t){var r=Se(n[t],(function(t){return TC(t)}))||kC(i);n[t].push(r.slice()),e.setItemLayout(t,n[t])}))}}))}function TC(t){return!isNaN(t[0])&&!isNaN(t[1])}function kC(t){return[t.cx,t.cy]}function YC(t){var e=t.polar;if(e){Ie(e)||(e=[e]);var n=[];Me(e,(function(e,i){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],Ie(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):n.push(e)})),t.polar=n}Me(t.series,(function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)}))}function IC(t){return Ie(t)||(t=[+t,+t]),t}var CC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.render=function(t,e,n){var r=t.coordinateSystem,a=this.group,o=t.getData(),s=this._data;function l(t,e){var n=t.getItemVisual(e,"symbol")||"circle";if("none"!==n){var i=IC(t.getItemVisual(e,"symbolSize")),r=gM(n,-1,-1,2,2),a=t.getItemVisual(e,"symbolRotate")||0;return r.attr({style:{strokeNoScale:!0},z2:100,scaleX:i[0]/2,scaleY:i[1]/2,rotation:a*Math.PI/180||0}),r}}function u(e,n,r,a,o,s){r.removeAll();for(var u=0;u<n.length-1;u++){var d=l(a,o);d&&(d.__dimIdx=u,e[u]?(d.setPosition(e[u]),i[s?"initProps":"updateProps"](d,{x:n[u][0],y:n[u][1]},t,o)):d.setPosition(n[u]),r.add(d))}}function d(t){return be(t,(function(t){return[r.cx,r.cy]}))}o.diff(s).add((function(e){var n=o.getItemLayout(e);if(n){var i=new Ch,r=new Oh,a={shape:{points:n}};i.shape.points=d(n),r.shape.points=d(n),kp(i,a,t,e),kp(r,a,t,e);var s=new ro,l=new ro;s.add(r),s.add(i),s.add(l),u(r.shape.points,n,l,o,e,!0),o.setItemGraphicEl(e,s)}})).update((function(e,n){var i=s.getItemGraphicEl(n),r=i.childAt(0),a=i.childAt(1),l=i.childAt(2),d={shape:{points:o.getItemLayout(e)}};d.shape.points&&(u(r.shape.points,d.shape.points,l,o,e,!1),Tp(r,d,t),Tp(a,d,t),o.setItemGraphicEl(e,i))})).remove((function(t){a.remove(s.getItemGraphicEl(t))})).execute(),o.eachItemGraphicEl((function(t,e){var n=o.getItemModel(e),i=t.childAt(0),r=t.childAt(1),s=t.childAt(2),l=o.getItemVisual(e,"style"),u=l.fill;a.add(t),i.useStyle(me(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:u})),Lc(i,n,"lineStyle"),Lc(r,n,"areaStyle");var d=n.getModel("areaStyle"),c=d.isEmpty()&&d.parentModel.isEmpty();r.ignore=c,Me(["emphasis","select","blur"],(function(t){var e=n.getModel([t,"areaStyle"]),i=e.isEmpty()&&e.parentModel.isEmpty();r.ensureState(t).ignore=i&&c})),r.useStyle(me(d.getAreaStyle(),{fill:u,opacity:.7,decal:l.decal}));var h=n.getModel("emphasis"),p=h.getModel("itemStyle").getItemStyle();s.eachChild((function(t){if(t instanceof td){var i=t.style;t.useStyle(fe({image:i.image,x:i.x,y:i.y,width:i.width,height:i.height},l))}else t.useStyle(l),t.setColor(u);var r=t.ensureState("emphasis");r.style=ce(p);var a=o.get(o.dimensions[t.__dimIdx],e);(null==a||isNaN(a))&&(a=""),qp(t,$p(n),{labelFetcher:o.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:a,inheritColor:u,defaultOpacity:l.opacity})})),xc(t,h.get("focus"),h.get("blurScope"))})),this._data=o},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.type="radar",e}(gv),AC=CC,PC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.useColorPaletteOnData=!0,n.hasSymbolVisual=!0,n}return Vt(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new Sk(ke(this.getData,this),ke(this.getRawData,this))},e.prototype.getInitialData=function(t,e){return wk(this,{generateCoord:"indicator_",generateCoordCount:1/0})},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.coordinateSystem,a=r.getIndicatorAxes(),o=this.getData().getName(t),s=""===o?this.name:o,l=F_(this,t);return C_("section",{header:s,sortBlocks:!0,blocks:be(a,(function(e){var n=i.get(i.mapDimension(e.dim),t);return C_("nameValue",{markerType:"subItem",markerColor:l,name:e.name,value:n,sortParam:n})}))})},e.prototype.getTooltipPosition=function(t){if(null!=t)for(var e=this.getData(),n=this.coordinateSystem,i=e.getValues(be(n.dimensions,(function(t){return e.mapDimension(t)})),t),r=0,a=i.length;r<a;r++)if(!isNaN(i[r])){var o=n.getIndicatorAxes();return n.coordToPoint(o[r].dataToCoord(i[r]),r)}},e.type="series.radar",e.dependencies=["radar"],e.defaultOption={zlevel:0,z:2,coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid"},label:{position:"top"},symbol:"emptyCircle",symbolSize:4},e}(rv),OC=PC,HC=Xk.value;function NC(t,e){return me({show:e},t)}var EC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.optionUpdated=function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),i=this.get("axisLine"),r=this.get("axisTick"),a=this.get("axisLabel"),o=this.get("axisName"),s=this.get(["axisName","show"]),l=this.get(["axisName","formatter"]),u=this.get("axisNameGap"),d=this.get("triggerEvent"),c=be(this.get("indicator")||[],(function(c){null!=c.max&&c.max>0&&!c.min?c.min=0:null!=c.min&&c.min<0&&!c.max&&(c.max=0);var h=o;null!=c.color&&(h=me({color:c.color},o));var p=he(ce(c),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:a,name:c.text,nameLocation:"end",nameGap:u,nameTextStyle:h,triggerEvent:d},!1);if(s||(p.name=""),"string"===typeof l){var f=p.name;p.name=l.replace("{value}",null!=f?f:"")}else"function"===typeof l&&(p.name=l(p.name,p));var m=new Mf(p,null,this.ecModel);return ve(m,jk.prototype),m.mainType="radar",m.componentIndex=this.componentIndex,m}),this);this._indicatorModels=c},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:he({lineStyle:{color:"#bbb"}},HC.axisLine),axisLabel:NC(HC.axisLabel,!1),axisTick:NC(HC.axisTick,!1),splitLine:NC(HC.splitLine,!0),splitArea:NC(HC.splitArea,!0),indicator:[]},e}(Xm),RC=EC,zC=["axisLine","axisTickLabel","axisName"],jC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes(),i=be(n,(function(t){var n=new KI(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return n}));Me(i,(function(t){Me(zC,t.add,t),this.group.add(t.getGroup())}),this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),a=t.getModel("splitArea"),o=r.getModel("lineStyle"),s=a.getModel("areaStyle"),l=r.get("show"),u=a.get("show"),d=o.get("color"),c=s.get("color"),h=Ie(d)?d:[d],p=Ie(c)?c:[c],f=[],m=[];if("circle"===i)for(var g=n[0].getTicksCoords(),y=e.cx,_=e.cy,v=0;v<g.length;v++){if(l){var x=k(f,h,v);f[x].push(new eh({shape:{cx:y,cy:_,r:g[v].coord}}))}if(u&&v<g.length-1){x=k(m,p,v);m[x].push(new Lh({shape:{cx:y,cy:_,r0:g[v].coord,r:g[v+1].coord}}))}}else{var M,b=be(n,(function(t,n){var i=t.getTicksCoords();return M=null==M?i.length-1:Math.min(i.length-1,M),be(i,(function(t){return e.coordToPoint(t.coord,n)}))})),w=[];for(v=0;v<=M;v++){for(var L=[],S=0;S<n.length;S++)L.push(b[S][v]);if(L[0]&&L.push(L[0].slice()),l){x=k(f,h,v);f[x].push(new Oh({shape:{points:L}}))}if(u&&w){x=k(m,p,v-1);m[x].push(new Ch({shape:{points:L.concat(w)}}))}w=L.slice().reverse()}}var D=o.getLineStyle(),T=s.getAreaStyle();Me(m,(function(t,e){this.group.add(Mp(t,{style:me({stroke:"none",fill:p[e%p.length]},T),silent:!0}))}),this),Me(f,(function(t,e){this.group.add(Mp(t,{style:me({fill:"none",stroke:h[e%h.length]},D),silent:!0}))}),this)}function k(t,e,n){var i=n%e.length;return t[i]=t[i]||[],i}},e.type="radar",e}(ov),BC=jC,FC=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.type="value",r.angle=0,r.name="",r}return Vt(e,t),e}(kI),VC=FC,WC=function(){function t(t,e,n){this.dimensions=[],this._model=t,this._indicatorAxes=be(t.getIndicatorModels(),(function(t,e){var n="indicator_"+e,i=new VC(n,new fY);return i.name=t.get("name"),i.model=t,t.axis=i,this.dimensions.push(n),i}),this),this.resize(t,n)}return t.prototype.getIndicatorAxes=function(){return this._indicatorAxes},t.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},t.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e],i=n.angle,r=this.cx+t*Math.cos(i),a=this.cy-t*Math.sin(i);return[r,a]},t.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=Math.sqrt(e*e+n*n);e/=i,n/=i;for(var r,a=Math.atan2(-n,e),o=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],d=Math.abs(a-u.angle);d<o&&(r=u,s=l,o=d)}return[s,+(r&&r.coordToData(i))]},t.prototype.resize=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),a=Math.min(i,r)/2;this.cx=yo(n[0],i),this.cy=yo(n[1],r),this.startAngle=t.get("startAngle")*Math.PI/180;var o=t.get("radius");"string"!==typeof o&&"number"!==typeof o||(o=[0,o]),this.r0=yo(o[0],a),this.r=yo(o[1],a),Me(this._indicatorAxes,(function(t,e){t.setExtent(this.r0,this.r);var n=this.startAngle+e*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),t.angle=n}),this)},t.prototype.update=function(t,e){var n=this._indicatorAxes,i=this._model;Me(n,(function(t){t.scale.setExtent(1/0,-1/0)})),t.eachSeriesByType("radar",(function(e,r){if("radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===i){var a=e.getData();Me(n,(function(t){t.scale.unionExtentFromData(a,a.mapDimension(t.dim))}))}}),this);var r=i.get("splitNumber");function a(t){var e=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),n=t/e;return 2===n?n=5:n*=2,n*e}Me(n,(function(t,e){var n=WY(t.scale,t.model).extent;UY(t.scale,t.model);var i=t.model,o=t.scale,s=VY(o,i.get("min",!0)),l=VY(o,i.get("max",!0)),u=o.getInterval();if(null!=s&&null!=l)o.setExtent(+s,+l),o.setInterval((l-s)/r);else if(null!=s){var d=void 0;do{d=s+u*r,o.setExtent(+s,d),o.setInterval(u),u=a(u)}while(d<n[1]&&isFinite(d)&&isFinite(n[1]))}else if(null!=l){var c=void 0;do{c=l-u*r,o.setExtent(c,+l),o.setInterval(u),u=a(u)}while(c>n[0]&&isFinite(c)&&isFinite(n[0]))}else{var h=o.getTicks().length-1;h>r&&(u=a(u));d=Math.ceil(n[1]/u)*u,c=_o(d-u*r);o.setExtent(c,d),o.setInterval(u)}}))},t.prototype.convertToPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.convertFromPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.create=function(e,n){var i=[];return e.eachComponent("radar",(function(r){var a=new t(r,e,n);i.push(a),r.coordinateSystem=a})),e.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("radarIndex")||0])})),i},t.dimensions=[],t}(),GC=WC;function UC(t){t.registerCoordinateSystem("radar",GC),t.registerComponentModel(RC),t.registerComponentView(BC)}function XC(t){Vw(UC),t.registerChartView(AC),t.registerSeriesModel(OC),t.registerLayout(DC),t.registerProcessor(pk("radar")),t.registerPreprocessor(YC)}var ZC="\0_ec_interaction_mutex";function qC(t,e,n){var i=KC(t);i[e]=n}function $C(t,e,n){var i=KC(t),r=i[e];r===n&&(i[e]=null)}function JC(t,e){return!!KC(t)[e]}function KC(t){return t[ZC]||(t[ZC]={})}Aw({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){}));var QC=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var i=ke(n._mousedownHandler,n),r=ke(n._mousemoveHandler,n),a=ke(n._mouseupHandler,n),o=ke(n._mousewheelHandler,n),s=ke(n._pinchHandler,n);return n.enable=function(t,n){this.disable(),this._opt=me(ce(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",i),e.on("mousemove",r),e.on("mouseup",a)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",o),e.on("pinch",s))},n.disable=function(){e.off("mousedown",i),e.off("mousemove",r),e.off("mouseup",a),e.off("mousewheel",o),e.off("pinch",s)},n}return Vt(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(t){this.pointerChecker=t},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!(Qn(t)||t.target&&t.target.draggable)){var e=t.offsetX,n=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,n)&&(this._x=e,this._y=n,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(this._dragging&&nA("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!JC(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,i=this._x,r=this._y,a=e-i,o=n-r;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&Kn(t.event),eA(this,"pan","moveOnMouseMove",t,{dx:a,dy:o,oldX:i,oldY:r,newX:e,newY:n,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){Qn(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=nA("zoomOnMouseWheel",t,this._opt),n=nA("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,r=Math.abs(i),a=t.offsetX,o=t.offsetY;if(0!==i&&(e||n)){if(e){var s=r>3?1.4:r>1?1.2:1.1,l=i>0?s:1/s;tA(this,"zoom","zoomOnMouseWheel",t,{scale:l,originX:a,originY:o,isAvailableBehavior:null})}if(n){var u=Math.abs(i),d=(i>0?1:-1)*(u>3?.4:u>1?.15:.05);tA(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:d,originX:a,originY:o,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){if(!JC(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;tA(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e}(Cn);function tA(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(Kn(i.event),eA(t,e,n,i,r))}function eA(t,e,n,i,r){r.isAvailableBehavior=ke(nA,null,n,i),t.trigger(e,r)}function nA(t,e,n){var i=n[t];return!t||i&&(!Ae(i)||e.event[i+"Key"])}var iA=QC;function rA(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function aA(t,e,n,i){var r=t.target,a=t.zoomLimit,o=t.zoom=t.zoom||1;if(o*=e,a){var s=a.min||0,l=a.max||1/0;o=Math.max(Math.min(l,o),s)}var u=o/t.zoom;t.zoom=o,r.x-=(n-r.x)*(u-1),r.y-=(i-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}var oA={axisPointer:1,tooltip:1,brush:1};function sA(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!oA.hasOwnProperty(i.mainType)&&r&&r.model!==n}var lA=1e-8;function uA(t,e){return Math.abs(t-e)<lA}function dA(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var a=1;a<t.length;a++){var o=t[a];i+=ku(r[0],r[1],o[0],o[1],e,n),r=o}var s=t[0];return uA(r[0],s[0])&&uA(r[1],s[1])||(i+=ku(r[0],r[1],s[0],s[1],e,n)),0!==i}var cA=function(){function t(t,e,n){if(this.name=t,this.geometries=e,n)n=[n[0],n[1]];else{var i=this.getBoundingRect();n=[i.x+i.width/2,i.y+i.height/2]}this.center=n}return t.prototype.getBoundingRect=function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,n=[e,e],i=[-e,-e],r=[],a=[],o=this.geometries,s=0;s<o.length;s++)if("polygon"===o[s].type){var l=o[s].exterior;Xl(l,r,a),Sn(n,n,r),Dn(i,i,a)}return 0===s&&(n[0]=n[1]=i[0]=i[1]=0),this._rect=new Br(n[0],n[1],i[0]-n[0],i[1]-n[1])},t.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var i=0,r=n.length;i<r;i++)if("polygon"===n[i].type){var a=n[i].exterior,o=n[i].interiors;if(dA(a,t[0],t[1])){for(var s=0;s<(o?o.length:0);s++)if(dA(o[s],t[0],t[1]))continue t;return!0}}return!1},t.prototype.transformTo=function(t,e,n,i){var r=this.getBoundingRect(),a=r.width/r.height;n?i||(i=n/a):n=a*i;for(var o=new Br(t,e,n,i),s=r.calculateTransform(o),l=this.geometries,u=0;u<l.length;u++)if("polygon"===l[u].type){for(var d=l[u].exterior,c=l[u].interiors,h=0;h<d.length;h++)Ln(d[h],d[h],s);for(var p=0;p<(c?c.length:0);p++)for(h=0;h<c[p].length;h++)Ln(c[p][h],c[p][h],s)}r=this._rect,r.copy(o),this.center=[r.x+r.width/2,r.y+r.height/2]},t.prototype.cloneShallow=function(e){null==e&&(e=this.name);var n=new t(e,this.geometries,this.center);return n._rect=this._rect,n.transformTo=null,n},t}(),hA=cA;function pA(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;null==n&&(n=1024);for(var i=e.features,r=0;r<i.length;r++){var a=i[r],o=a.geometry;if("Polygon"===o.type)for(var s=o.coordinates,l=0;l<s.length;l++)s[l]=fA(s[l],o.encodeOffsets[l],n);else if("MultiPolygon"===o.type)for(s=o.coordinates,l=0;l<s.length;l++)for(var u=s[l],d=0;d<u.length;d++)u[d]=fA(u[d],o.encodeOffsets[l][d],n)}return e.UTF8Encoding=!1,e}function fA(t,e,n){for(var i=[],r=e[0],a=e[1],o=0;o<t.length;o+=2){var s=t.charCodeAt(o)-64,l=t.charCodeAt(o+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),s+=r,l+=a,r=s,a=l,i.push([s/n,l/n])}return i}function mA(t,e){return t=pA(t),be(Le(t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];if("Polygon"===i.type){var a=i.coordinates;r.push({type:"polygon",exterior:a[0],interiors:a.slice(1)})}if("MultiPolygon"===i.type){a=i.coordinates;Me(a,(function(t){t[0]&&r.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}))}var o=new hA(n[e||"name"],r,n.cp);return o.properties=n,o}))}for(var gA=[126,25],yA=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],_A=0;_A<yA.length;_A++)for(var vA=0;vA<yA[_A].length;vA++)yA[_A][vA][0]/=10.5,yA[_A][vA][1]/=-14,yA[_A][vA][0]+=gA[0],yA[_A][vA][1]+=gA[1];function xA(t,e){"china"===t&&e.push(new hA("南海诸岛",be(yA,(function(t){return{type:"polygon",exterior:t}})),gA))}var MA={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function bA(t,e){if("china"===t){var n=MA[e.name];if(n){var i=e.center;i[0]+=n[0]/10.5,i[1]+=-n[1]/14}}}var wA={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function LA(t,e){if("world"===t){var n=wA[e.name];if(n){var i=e.center;i[0]=n[0],i[1]=n[1]}}}var SA=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function DA(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:SA[0]})}var TA=us(),kA={load:function(t,e,n){var i=TA(e).parsed;if(i)return i;var r,a=e.specialAreas||{},o=e.geoJSON;try{r=o?mA(o,n):[]}catch(s){throw new Error("Invalid geoJson format\n"+s.message)}return xA(t,r),Me(r,(function(e){var n=e.name;bA(t,e),LA(t,e),DA(t,e);var i=a[n];i&&e.transformTo(i.left,i.top,i.width,i.height)})),TA(e).parsed={regions:r,boundingRect:YA(r)}}};function YA(t){for(var e,n=0;n<t.length;n++){var i=t[n].getBoundingRect();e=e||i.clone(),e.union(i)}return e}var IA,CA=/[\s,]+/,AA=function(){function t(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}return t.prototype.parse=function(t,e){e=e||{};var n=rx(t);if(!n)throw new Error("Illegal svg");var i=new ro;this._root=i;var r=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),o=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(o)&&(o=null),RA(n,i,null,!0);var s,l,u=n.firstChild;while(u)this._parseNode(u,i),u=u.nextSibling;if(r){var d=qe(r).split(CA);d.length>=4&&(s={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(s&&null!=a&&null!=o&&(l=GA(s,a,o),!e.ignoreViewBox)){var c=i;i=new ro,i.add(c),c.scaleX=c.scaleY=l.scale,c.x=l.x,c.y=l.y}return e.ignoreRootClip||null==a||null==o||i.setClipPath(new ud({shape:{x:0,y:0,width:a,height:o}})),{root:i,width:a,height:o,viewBoxRect:s,viewBoxTransform:l}},t.prototype._parseNode=function(t,e){var n,i=t.nodeName.toLowerCase();if("defs"===i?this._isDefine=!0:"text"===i&&(this._isText=!0),this._isDefine){var r=PA[i];if(r){var a=r.call(this,t),o=t.getAttribute("id");o&&(this._defs[o]=a)}}else{r=IA[i];r&&(n=r.call(this,t,e),e.add(n))}if(n){var s=t.firstChild;while(s)1===s.nodeType&&this._parseNode(s,n),3===s.nodeType&&this._isText&&this._parseText(s,n),s=s.nextSibling}"defs"===i?this._isDefine=!1:"text"===i&&(this._isText=!1)},t.prototype._parseText=function(t,e){if(1===t.nodeType){var n=t.getAttribute("dx")||0,i=t.getAttribute("dy")||0;this._textX+=parseFloat(n),this._textY+=parseFloat(i)}var r=new qu({style:{text:t.textContent},x:this._textX||0,y:this._textY||0});HA(e,r),RA(t,r,this._defs);var a=r.style,o=a.fontSize;o&&o<9&&(a.fontSize=9,r.scaleX*=o/9,r.scaleY*=o/9);var s=(a.fontSize||a.fontFamily)&&[a.fontStyle,a.fontWeight,(a.fontSize||12)+"px",a.fontFamily||"sans-serif"].join(" ");a.font=s;var l=r.getBoundingRect();return this._textX+=l.width,e.add(r),r},t.internalField=function(){IA={g:function(t,e){var n=new ro;return HA(e,n),RA(t,n,this._defs),n},rect:function(t,e){var n=new ud;return HA(e,n),RA(t,n,this._defs),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n},circle:function(t,e){var n=new eh;return HA(e,n),RA(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n},line:function(t,e){var n=new Rh;return HA(e,n),RA(t,n,this._defs),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n},ellipse:function(t,e){var n=new rh;return HA(e,n),RA(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=NA(i));var r=new Ch({shape:{points:n||[]}});return HA(e,r),RA(t,r,this._defs),r},polyline:function(t,e){var n=new Uu;HA(e,n),RA(t,n,this._defs);var i,r=t.getAttribute("points");r&&(i=NA(r));var a=new Oh({shape:{points:i||[]}});return a},image:function(t,e){var n=new td;return HA(e,n),RA(t,n,this._defs),n.setStyle({image:t.getAttribute("xlink:href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",a=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(a);var o=new ro;return HA(e,o),RA(t,o,this._defs),o},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||0,a=t.getAttribute("dy")||0,o=new ro;return HA(e,o),RA(t,o,this._defs),this._textX+=r,this._textY+=a,o},path:function(t,e){var n=t.getAttribute("d")||"",i=$c(n);return HA(e,i),RA(t,i,this._defs),i}}}(),t}(),PA={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),a=new Kh(e,n,i,r);return OA(t,a),a}};function OA(t,e){var n=t.firstChild;while(n){if(1===n.nodeType){var i=n.getAttribute("offset"),r=void 0;r=i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var a=n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function HA(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),me(e.__inheritedStyle,t.__inheritedStyle))}function NA(t){for(var e=qe(t).split(CA),n=[],i=0;i<e.length;i+=2){var r=parseFloat(e[i]),a=parseFloat(e[i+1]);n.push([r,a])}return n}var EA={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"};function RA(t,e,n,i){var r=e,a=r.__inheritedStyle||{};if(1===t.nodeType&&(FA(t,e),fe(a,WA(t)),!i))for(var o in EA)if(EA.hasOwnProperty(o)){var s=t.getAttribute(o);null!=s&&(a[EA[o]]=s)}r.style=r.style||{},null!=a.fill&&(r.style.fill=jA(a.fill,n)),null!=a.stroke&&(r.style.stroke=jA(a.stroke,n)),Me(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){null!=a[t]&&(r.style[t]=parseFloat(a[t]))})),a.textBaseline&&"auto"!==a.textBaseline||(a.textBaseline="alphabetic"),"alphabetic"===a.textBaseline&&(a.textBaseline="bottom"),"start"===a.textAlign&&(a.textAlign="left"),"end"===a.textAlign&&(a.textAlign="right"),Me(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],(function(t){null!=a[t]&&(r.style[t]=a[t])})),a.lineDash&&(r.style.lineDash=be(qe(a.lineDash).split(CA),(function(t){return parseFloat(t)}))),r.__inheritedStyle=a}var zA=/url\(\s*#(.*?)\)/;function jA(t,e){var n=e&&t&&t.match(zA);if(n){var i=qe(n[1]),r=e[i];return r}return t}var BA=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function FA(t,e){var n=t.getAttribute("transform");if(n){n=n.replace(/,/g," ");var i=[],r=null;n.replace(BA,(function(t,e,n){return i.push(e,n),""}));for(var a=i.length-1;a>0;a-=2){var o=i[a],s=i[a-1],l=void 0;switch(r=r||fi(),s){case"translate":l=qe(o).split(CA),_i(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":l=qe(o).split(CA),xi(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":l=qe(o).split(CA),vi(r,r,parseFloat(l[0]));break;case"skew":l=qe(o).split(CA),console.warn("Skew transform is not supported yet");break;case"matrix":l=qe(o).split(CA),r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5]);break}}e.setLocalTransform(r)}}var VA=/([^\s:;]+)\s*:\s*([^:;]+)/g;function WA(t){var e=t.getAttribute("style"),n={};if(!e)return n;var i,r={};VA.lastIndex=0;while(null!=(i=VA.exec(e)))r[i[1]]=i[2];for(var a in EA)EA.hasOwnProperty(a)&&null!=r[a]&&(n[EA[a]]=r[a]);return n}function GA(t,e,n){var i=e/t.width,r=n/t.height,a=Math.min(i,r);return{scale:a,x:-(t.x+t.width/2)*a+e/2,y:-(t.y+t.height/2)*a+n/2}}function UA(t,e){var n=new AA;return n.parse(t,e)}var XA=us(),ZA={load:function(t,e){var n=XA(e).originRoot;if(n)return{root:n,boundingRect:XA(e).boundingRect};var i=qA(e);return XA(e).originRoot=i.root,XA(e).boundingRect=i.boundingRect,i},makeGraphic:function(t,e,n){var i=XA(e),r=i.rootMap||(i.rootMap=tn()),a=r.get(n);if(a)return a;var o=i.originRoot,s=i.boundingRect;return i.originRootHostKey?a=qA(e,s).root:(i.originRootHostKey=n,a=o),r.set(n,a)},removeGraphic:function(t,e,n){var i=XA(e),r=i.rootMap;r&&r.removeKey(n),n===i.originRootHostKey&&(i.originRootHostKey=null)}};function qA(t,e){var n,i,r=t.svgXML;try{n=r&&UA(r,{ignoreViewBox:!0,ignoreRootClip:!0})||{},i=n.root,Ze(null!=i)}catch(d){throw new Error("Invalid svg format\n"+d.message)}var a=n.width,o=n.height,s=n.viewBoxRect;if(e||(e=null==a||null==o?i.getBoundingRect():new Br(0,0,0,0),null!=a&&(e.width=a),null!=o&&(e.height=o)),s){var l=GA(s,e.width,e.height),u=i;i=new ro,i.add(u),u.scaleX=u.scaleY=l.scale,u.x=l.x,u.y=l.y}return i.setClipPath(new ud({shape:e.plain()})),{root:i,boundingRect:e}}var $A={geoJSON:kA,svg:ZA},JA={load:function(t,e,n){var i,r=[],a=tn(),o=tn(),s=KA(t);return Me(s,(function(s){var l=$A[s.type].load(t,s,n);Me(l.regions,(function(t){var n=t.name;e&&e.hasOwnProperty(n)&&(t=t.cloneShallow(n=e[n])),r.push(t),a.set(n,t),o.set(n,t.center)}));var u=l.boundingRect;u&&(i?i.union(u):i=u.clone())})),{regions:r,regionsMap:a,nameCoordMap:o,boundingRect:i||new Br(0,0,0,0)}},makeGraphic:function(t,e){var n=KA(t),i=[];return Me(n,(function(n){var r=$A[n.type].makeGraphic;r&&i.push(r(t,n,e))})),i},removeGraphic:function(t,e){var n=KA(t);Me(n,(function(n){var i=$A[n.type].makeGraphic;i&&i(t,n,e)}))}};function KA(t){var e=ox.retrieveMap(t)||[];return e}function QA(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}var tP=function(){function t(t){var e=new ro;this.uid=wf("ec_map_draw"),this._controller=new iA(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new ro),e.add(this._backgroundGroup=new ro)}return t.prototype.draw=function(t,e,n,i,r){var a="geo"===t.mainType,o=t.getData&&t.getData();a&&e.eachComponent({mainType:"series",subType:"map"},(function(e){o||e.getHostGeoModel()!==t||(o=e.getData())}));var s=t.coordinateSystem;this._updateBackground(s);var l,u,d=this._regionsGroup,c=this.group,h=s.getTransformInfo(),p=!d.childAt(0)||r;if(p)c.transform=h.roamTransform,c.decomposeTransform(),c.dirty();else{var f=new Ci;f.transform=h.roamTransform,f.decomposeTransform();var m={scaleX:f.scaleX,scaleY:f.scaleY,x:f.x,y:f.y};l=f.scaleX,u=f.scaleY,Tp(c,m,t)}d.removeAll();var g=tn(),y=o&&o.getVisual("visualMeta")&&o.getVisual("visualMeta").length>0;Me(s.regions,(function(e){var i=g.get(e.name)||g.set(e.name,new ro),r=new Zh({segmentIgnoreThreshold:1,shape:{paths:[]}});i.add(r);var s,f=t.getRegionModel(e.name)||t,m=f.getModel("itemStyle"),_=f.getModel("emphasis"),v=_.getModel("itemStyle"),x=f.getModel(["blur","itemStyle"]),M=f.getModel(["select","itemStyle"]),b=QA(m),w=QA(v),L=QA(x),S=QA(M);if(o){s=o.indexOfName(e.name);var D=o.getItemVisual(s,"style"),T=o.getItemVisual(s,"decal");y&&D.fill&&(b.fill=D.fill),T&&(b.decal=KM(T,n))}var k=h.rawScaleX,Y=h.rawScaleY,I=h.rawX,C=h.rawY,A=function(t){return[t[0]*k+I,t[1]*Y+C]};Me(e.geometries,(function(t){if("polygon"===t.type){for(var e=[],n=0;n<t.exterior.length;++n)e.push(A(t.exterior[n]));r.shape.paths.push(new Ch({segmentIgnoreThreshold:1,shape:{points:e}}));for(n=0;n<(t.interiors?t.interiors.length:0);++n){for(var i=t.interiors[n],a=[],o=0;o<i.length;++o)a.push(A(i[o]));r.shape.paths.push(new Ch({segmentIgnoreThreshold:1,shape:{points:a}}))}}})),r.setStyle(b),r.style.strokeNoScale=!0,r.culling=!0,r.ensureState("emphasis").style=w,r.ensureState("blur").style=L,r.ensureState("select").style=S;for(var P=!1,O=0;O<Ad.length;O++){var H=Ad[O];if(f.get("normal"===H?["label","show"]:[H,"label","show"])){P=!0;break}}var N=o&&isNaN(o.get(o.mapDimension("value"),s)),E=o&&o.getItemLayout(s);if(a||N&&P||E&&E.showLabel){var R=a?e.name:s,z=void 0;(!o||s>=0)&&(z=t);var j=A(e.center),B=new wd({x:j[0],y:j[1],scaleX:1/c.scaleX,scaleY:1/c.scaleY,z2:10,silent:!0});qp(B,$p(f),{labelFetcher:z,labelDataIndex:R,defaultText:e.name},{normal:{align:"center",verticalAlign:"middle"}}),r.setTextContent(B),r.setTextConfig({local:!0}),r.disableLabelAnimation=!0,p||Tp(B,{scaleX:1/l,scaleY:1/u},t)}if(o)o.setItemGraphicEl(s,i);else{var F=t.getRegionModel(e.name);Ld(r).eventData={componentType:"geo",componentIndex:t.componentIndex,geoIndex:t.componentIndex,name:e.name,region:F&&F.option||{}}}var V=i.__regions||(i.__regions=[]);V.push(e),i.highDownSilentOnTouch=!!t.get("selectedMode"),xc(i,_.get("focus"),_.get("blurScope")),d.add(i)})),this._updateController(t,e,n),this._updateMapSelectHandler(t,d,n,i)},t.prototype.remove=function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&JA.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost=null},t.prototype._updateBackground=function(t){var e=t.map;this._mapName!==e&&Me(JA.makeGraphic(e,this.uid),(function(t){this._backgroundGroup.add(t)}),this),this._mapName=e},t.prototype._updateController=function(t,e,n){var i=t.coordinateSystem,r=this._controller,a=this._controllerHost;a.zoomLimit=t.get("scaleLimit"),a.zoom=i.getZoom(),r.enable(t.get("roam")||!1);var o=t.mainType;function s(){var e={type:"geoRoam",componentType:o};return e[o+"Id"]=t.id,e}r.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,rA(a,t.dx,t.dy),n.dispatchAction(fe(s(),{dx:t.dx,dy:t.dy}))}),this),r.off("zoom").on("zoom",(function(t){this._mouseDownFlag=!1,aA(a,t.scale,t.originX,t.originY),n.dispatchAction(fe(s(),{zoom:t.scale,originX:t.originX,originY:t.originY}));var e=this.group;this._regionsGroup.traverse((function(t){var n=t.getTextContent();n&&(n.scaleX=1/e.scaleX,n.scaleY=1/e.scaleY,n.markRedraw())}))}),this),r.setPointerChecker((function(e,r,a){return i.getViewRectAfterRoam().contain(r,a)&&!sA(e,n,t)}))},t.prototype._updateMapSelectHandler=function(t,e,n,i){var r=this;e.off("mousedown"),t.get("selectedMode")&&(e.on("mousedown",(function(){r._mouseDownFlag=!0})),e.on("click",(function(t){r._mouseDownFlag&&(r._mouseDownFlag=!1)})))},t}(),eP=tP,nP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.render=function(t,e,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var r=this.group;if(r.removeAll(),!t.getHostGeoModel()){if(i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===t.id){a=this._mapDraw;a&&r.add(a.group)}else if(t.needsDrawMap){var a=this._mapDraw||new eP(n);r.add(a.group),a.draw(t,e,n,this,i),this._mapDraw=a}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n)}}},e.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},e.prototype._renderSymbols=function(t,e,n){var i=t.originalData,r=this.group;i.each(i.mapDimension("value"),(function(e,n){if(!isNaN(e)){var a=i.getItemLayout(n);if(a&&a.point){var o=a.point,s=a.offset,l=new eh({style:{fill:t.getData().getVisual("style").fill},shape:{cx:o[0]+9*s,cy:o[1],r:3},silent:!0,z2:8+(s?0:Pd+1)});if(!s){var u=t.mainSeries.getData(),d=i.getName(n),c=u.indexOfName(d),h=i.getItemModel(n),p=h.getModel("label"),f=u.getItemGraphicEl(c);qp(l,$p(h),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(c,n)}}}),l.disableLabelAnimation=!0,p.get("position")||l.setTextConfig({position:"bottom"}),f.onHoverStateChange=function(t){l.useState(t)}}r.add(l)}}}))},e.type="map",e}(gv),iP=nP,rP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.needsDrawMap=!1,n.seriesGroup=[],n.getTooltipPosition=function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,i=n.getRegion(e);return i&&n.dataToPoint(i.center)}},n}return Vt(e,t),e.prototype.getInitialData=function(t){for(var e=wk(this,{coordDimensions:["value"],encodeDefaulter:Ye(dg,this)}),n=tn(),i=[],r=0,a=e.count();r<a;r++){var o=e.getName(r);n.set(o,!0)}var s=JA.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return Me(s.regions,(function(t){var e=t.name;n.get(e)||i.push(e)})),e.appendValues([],i),e},e.prototype.getHostGeoModel=function(){var t=this.option.geoIndex;return null!=t?this.ecModel.getComponent("geo",t):null},e.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},e.prototype.getRawValue=function(t){var e=this.getData();return e.get(e.mapDimension("value"),t)},e.prototype.getRegionModel=function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},e.prototype.formatTooltip=function(t,e,n){for(var i=this.getData(),r=this.getRawValue(t),a=i.getName(t),o=this.seriesGroup,s=[],l=0;l<o.length;l++){var u=o[l].originalData.indexOfName(a),d=i.mapDimension("value");isNaN(o[l].originalData.get(d,u))||s.push(o[l].name)}return C_("section",{header:s.join(", "),noHeader:!s.length,blocks:[C_("nameValue",{name:a,value:r})]})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(rv),aP=rP;function oP(t,e){var n={};return Me(t,(function(t){t.each(t.mapDimension("value"),(function(e,i){var r="ec-"+t.getName(i);n[r]=n[r]||[],isNaN(e)||n[r].push(e)}))})),t[0].map(t[0].mapDimension("value"),(function(i,r){for(var a,o="ec-"+t[0].getName(r),s=0,l=1/0,u=-1/0,d=n[o].length,c=0;c<d;c++)l=Math.min(l,n[o][c]),u=Math.max(u,n[o][c]),s+=n[o][c];return a="min"===e?l:"max"===e?u:"average"===e?s/d:s,0===d?NaN:a}))}function sP(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)})),Me(e,(function(t,e){for(var n=oP(be(t,(function(t){return t.getData()})),t[0].get("mapValueCalculation")),i=0;i<t.length;i++)t[i].originalData=t[i].getData();for(i=0;i<t.length;i++)t[i].seriesGroup=t,t[i].needsDrawMap=0===i&&!t[i].getHostGeoModel(),t[i].setData(n.cloneShallow()),t[i].mainSeries=t[0]}))}function lP(t){var e={};t.eachSeriesByType("map",(function(n){var i=n.getMapType();if(!n.getHostGeoModel()&&!e[i]){var r={};Me(n.seriesGroup,(function(e){var n=e.coordinateSystem,i=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&i.each(i.mapDimension("value"),(function(t,e){var a=i.getName(e),o=n.getRegion(a);if(o&&!isNaN(t)){var s=r[a]||0,l=n.dataToPoint(o.center);r[a]=s+1,i.setItemLayout(e,{point:l,offset:s})}}))}));var a=n.getData();a.each((function(t){var e=a.getName(t),n=a.getItemLayout(t)||{};n.showLabel=!r[e],a.setItemLayout(t,n)})),e[i]=!0}}))}var uP=Ln,dP=function(t){function e(e){var n=t.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new Ci,n._rawTransformable=new Ci,n.name=e,n}return Vt(e,t),e.prototype.setBoundingRect=function(t,e,n,i){return this._rect=new Br(t,e,n,i),this._rect},e.prototype.getBoundingRect=function(){return this._rect},e.prototype.setViewRect=function(t,e,n,i){this.transformTo(t,e,n,i),this._viewRect=new Br(t,e,n,i)},e.prototype.transformTo=function(t,e,n,i){var r=this.getBoundingRect(),a=this._rawTransformable;a.transform=r.calculateTransform(new Br(t,e,n,i)),a.decomposeTransform(),this._updateTransform()},e.prototype.setCenter=function(t){t&&(this._center=t,this._updateCenterAndZoom())},e.prototype.setZoom=function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},e.prototype.getDefaultCenter=function(){var t=this.getBoundingRect(),e=t.x+t.width/2,n=t.y+t.height/2;return[e,n]},e.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},e.prototype.getZoom=function(){return this._zoom||1},e.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},e.prototype._updateCenterAndZoom=function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),r=this.getZoom();i=Ln([],i,t),n=Ln([],n,t),e.originX=i[0],e.originY=i[1],e.x=n[0]-i[0],e.y=n[1]-i[1],e.scaleX=e.scaleY=r,this._updateTransform()},e.prototype._updateTransform=function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),gi(this.transform||(this.transform=[]),e.transform||fi()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],Mi(this.invTransform,this.transform),this.decomposeTransform()},e.prototype.getTransformInfo=function(){var t=this._roamTransformable.transform,e=this._rawTransformable;return{roamTransform:t?Ue(t):fi(),rawScaleX:e.scaleX,rawScaleY:e.scaleY,rawX:e.x,rawY:e.y}},e.prototype.getViewRect=function(){return this._viewRect},e.prototype.getViewRectAfterRoam=function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},e.prototype.dataToPoint=function(t,e,n){var i=e?this._rawTransform:this.transform;return n=n||[],i?uP(n,t,i):un(n,t)},e.prototype.pointToData=function(t){var e=this.invTransform;return e?uP([],t,e):[t[0],t[1]]},e.prototype.convertToPixel=function(t,e,n){var i=cP(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=cP(e);return i===this?i.pointToData(n):null},e.prototype.containPoint=function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])},e.dimensions=["x","y"],e}(Ci);function cP(t){var e=t.seriesModel;return e?e.coordinateSystem:null}var hP=dP,pP=function(t){function e(e,n,i,r){var a=t.call(this,e)||this;a.dimensions=["lng","lat"],a.type="geo",a.map=n;var o=JA.load(n,i);return a._nameCoordMap=o.nameCoordMap,a._regionsMap=o.regionsMap,a._invertLongitute=null==r||r,a.regions=o.regions,a._rect=o.boundingRect,a}return Vt(e,t),e.prototype.containCoord=function(t){for(var e=this.regions,n=0;n<e.length;n++)if(e[n].contain(t))return!0;return!1},e.prototype.transformTo=function(t,e,n,i){var r=this.getBoundingRect(),a=this._invertLongitute;r=r.clone(),a&&(r.y=-r.y-r.height);var o=this._rawTransformable;o.transform=r.calculateTransform(new Br(t,e,n,i)),o.decomposeTransform(),a&&(o.scaleY=-o.scaleY),o.updateTransform(),this._updateTransform()},e.prototype.getRegion=function(t){return this._regionsMap.get(t)},e.prototype.getRegionByCoord=function(t){for(var e=this.regions,n=0;n<e.length;n++)if(e[n].contain(t))return e[n]},e.prototype.addGeoCoord=function(t,e){this._nameCoordMap.set(t,e)},e.prototype.getGeoCoord=function(t){return this._nameCoordMap.get(t)},e.prototype.getBoundingRect=function(){return this._rect},e.prototype.dataToPoint=function(t,e,n){if("string"===typeof t&&(t=this.getGeoCoord(t)),t)return hP.prototype.dataToPoint.call(this,t,e,n)},e.prototype.convertToPixel=function(t,e,n){var i=fP(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=fP(e);return i===this?i.pointToData(n):null},e}(hP);function fP(t){var e=t.geoModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",hs).models[0]||{}).coordinateSystem:null}ve(pP,hP);var mP=pP;function gP(t,e){var n=t.get("boundingCoords");if(null!=n){var i=n[0],r=n[1];isNaN(i[0])||isNaN(i[1])||isNaN(r[0])||isNaN(r[1])||this.setBoundingRect(i[0],i[1],r[0]-i[0],r[1]-i[1])}var a,o,s,l=this.getBoundingRect(),u=t.get("layoutCenter"),d=t.get("layoutSize"),c=e.getWidth(),h=e.getHeight(),p=l.width/l.height*this.aspectScale,f=!1;if(u&&d&&(a=[yo(u[0],c),yo(u[1],h)],o=yo(d,Math.min(c,h)),isNaN(a[0])||isNaN(a[1])||isNaN(o)||(f=!0)),f)s={},p>1?(s.width=o,s.height=o/p):(s.height=o,s.width=o*p),s.y=a[1]-s.height/2,s.x=a[0]-s.width/2;else{var m=t.getBoxLayoutParams();m.aspect=p,s=Em(m,{width:c,height:h})}this.setViewRect(s.x,s.y,s.width,s.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function yP(t,e){Me(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}var _P=function(){function t(){this.dimensions=mP.prototype.dimensions}return t.prototype.create=function(t,e){var n=[];t.eachComponent("geo",(function(t,i){var r=t.get("map"),a=t.get("aspectScale"),o=!0,s=ox.retrieveMap(r);s&&s[0]&&"svg"===s[0].type?(null==a&&(a=1),o=!1):null==a&&(a=.75);var l=new mP(r+i,r,t.get("nameMap"),o);l.aspectScale=a,l.zoomLimit=t.get("scaleLimit"),n.push(l),t.coordinateSystem=l,l.model=t,l.resize=gP,l.resize(t,e)})),t.eachSeries((function(t){var e=t.get("coordinateSystem");if("geo"===e){var i=t.get("geoIndex")||0;t.coordinateSystem=n[i]}}));var i={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();i[e]=i[e]||[],i[e].push(t)}})),Me(i,(function(t,i){var r=be(t,(function(t){return t.get("nameMap")})),a=new mP(i,i,pe(r));a.zoomLimit=Ve.apply(null,be(t,(function(t){return t.get("scaleLimit")}))),n.push(a),a.resize=gP,a.aspectScale=t[0].get("aspectScale"),a.resize(t[0],e),Me(t,(function(t){t.coordinateSystem=a,yP(a,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n){for(var i=(t||[]).slice(),r=tn(),a=0;a<i.length;a++)r.set(i[a].name,i[a]);var o=JA.load(e,n);return Me(o.regions,(function(t){var e=t.name;!r.get(e)&&i.push({name:e})})),i},t}(),vP=new _P,xP=vP,MP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.init=function(e,n,i){t.prototype.init.call(this,e,n,i),Fo(e,"label",["show"])},e.prototype.optionUpdated=function(){var t=this.option,e=this;t.regions=xP.getFilledRegions(t.regions,t.map,t.nameMap);var n={};this._optionModelMap=we(t.regions||[],(function(t,i){var r=i.name;return r&&(t.set(r,new Mf(i,e)),i.selected&&(n[r]=!0)),t}),tn()),t.selectedMap||(t.selectedMap=n)},e.prototype.getRegionModel=function(t){return this._optionModelMap.get(t)||new Mf(null,this,this.ecModel)},e.prototype.getFormattedLabel=function(t,e){var n=this.getRegionModel(t),i="normal"===e?n.get(["label","formatter"]):n.get(["emphasis","label","formatter"]),r={name:t};return"function"===typeof i?(r.status=e,i(r)):"string"===typeof i?i.replace("{a}",null!=t?t:""):void 0},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.select=function(t){var e=this.option,n=e.selectedMode;if(n){"multiple"!==n&&(e.selectedMap=null);var i=e.selectedMap||(e.selectedMap={});i[t]=!0}},e.prototype.unSelect=function(t){var e=this.option.selectedMap;e&&(e[t]=!1)},e.prototype.toggleSelected=function(t){this[this.isSelected(t)?"unSelect":"select"](t)},e.prototype.isSelected=function(t){var e=this.option.selectedMap;return!(!e||!e[t])},e.prototype._initSelectedMapFromData=function(){},e.type="geo",e.layoutMode="box",e.defaultOption={zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},e}(Xm),bP=MP;function wP(t,e,n){var i=t.getZoom(),r=t.getCenter(),a=e.zoom,o=t.dataToPoint(r);if(null!=e.dx&&null!=e.dy&&(o[0]-=e.dx,o[1]-=e.dy,t.setCenter(t.pointToData(o))),null!=a){if(n){var s=n.min||0,l=n.max||1/0;a=Math.max(Math.min(i*a,l),s)/i}t.scaleX*=a,t.scaleY*=a;var u=(e.originX-t.x)*(a-1),d=(e.originY-t.y)*(a-1);t.x-=u,t.y-=d,t.updateTransform(),t.setCenter(t.pointToData(o)),t.setZoom(a*i)}return{center:t.getCenter(),zoom:t.getZoom()}}var LP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.init=function(t,e){var n=new eP(e);this._mapDraw=n,this.group.add(n.group),this._api=e},e.prototype.render=function(t,e,n,i){var r=this._mapDraw;t.get("show")?r.draw(t,e,n,this,i):this._mapDraw.group.removeAll(),r.group.on("click",this._handleRegionClick,this),r.group.silent=t.get("silent"),this._model=t,this.updateSelectStatus(t,e,n)},e.prototype._handleRegionClick=function(t){var e,n=t.target;while(n&&null==(e=Ld(n).eventData))n=n.__hostTarget||n.parent;e&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:e.name})},e.prototype.updateSelectStatus=function(t,e,n){var i=this;this._mapDraw.group.traverse((function(t){var e=Ld(t).eventData;if(e)return i._model.isSelected(e.name)?n.enterSelect(t):n.leaveSelect(t),!0}))},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},e.type="geo",e}(ov),SP=LP;function DP(t){function e(e,n){n.update="geo:updateSelectStatus",t.registerAction(n,(function(t,n){var i={};return n.eachComponent({mainType:"geo",query:t},(function(n){n[e](t.name);var r=n.coordinateSystem;Me(r.regions,(function(t){i[t.name]=n.isSelected(t.name)||!1}))})),{selected:i,name:t.name}}))}t.registerCoordinateSystem("geo",xP),t.registerComponentModel(bP),t.registerComponentView(SP),e("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),e("select",{type:"geoSelect",event:"geoselected"}),e("unSelect",{type:"geoUnSelect",event:"geounselected"}),t.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){var i=e.coordinateSystem;if("geo"===i.type){var r=wP(i,t,e.get("scaleLimit"));e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom),"series"===n&&Me(e.seriesGroup,(function(t){t.setCenter(r.center),t.setZoom(r.zoom)}))}}))}))}function TP(t){Vw(DP),t.registerChartView(iP),t.registerSeriesModel(aP),t.registerLayout(lP),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,sP),tM("map",t.registerAction)}function kP(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};var n,i,r=[e];while(n=r.pop())if(i=n.children,n.isExpand&&i.length)for(var a=i.length,o=a-1;o>=0;o--){var s=i[o];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(s)}}function YP(t,e){var n=t.isExpand?t.children:[],i=t.parentNode.children,r=t.hierNode.i?i[t.hierNode.i-1]:null;if(n.length){OP(t);var a=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-a):t.hierNode.prelim=a}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=HP(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function IP(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function CP(t){return arguments.length?t:jP}function AP(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function PP(t,e){return Em(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function OP(t){var e=t.children,n=e.length,i=0,r=0;while(--n>=0){var a=e[n];a.hierNode.prelim+=i,a.hierNode.modifier+=i,r+=a.hierNode.change,i+=a.hierNode.shift+r}}function HP(t,e,n,i){if(e){var r=t,a=t,o=a.parentNode.children[0],s=e,l=r.hierNode.modifier,u=a.hierNode.modifier,d=o.hierNode.modifier,c=s.hierNode.modifier;while(s=NP(s),a=EP(a),s&&a){r=NP(r),o=EP(o),r.hierNode.ancestor=t;var h=s.hierNode.prelim+c-a.hierNode.prelim-u+i(s,a);h>0&&(zP(RP(s,t,n),t,h),u+=h,l+=h),c+=s.hierNode.modifier,u+=a.hierNode.modifier,l+=r.hierNode.modifier,d+=o.hierNode.modifier}s&&!NP(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=c-l),a&&!EP(o)&&(o.hierNode.thread=a,o.hierNode.modifier+=u-d,n=t)}return n}function NP(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function EP(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function RP(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function zP(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function jP(t,e){return t.parentNode===e.parentNode?1:2}var BP=function(){function t(){this.parentPoint=[],this.childPoints=[]}return t}(),FP=function(t){function e(e){return t.call(this,e)||this}return Vt(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new BP},e.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,a=n[0],o=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(a[0],a[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,d=yo(e.forkPosition,1),c=[];c[l]=r[l],c[u]=r[u]+(o[u]-r[u])*d,t.moveTo(r[0],r[1]),t.lineTo(c[0],c[1]),t.moveTo(a[0],a[1]),c[l]=a[l],t.lineTo(c[0],c[1]),c[l]=o[l],t.lineTo(c[0],c[1]),t.lineTo(o[0],o[1]);for(var h=1;h<i-1;h++){var p=n[h];t.moveTo(p[0],p[1]),c[l]=p[l],t.lineTo(c[0],c[1])}},e}(Uu),VP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._mainGroup=new ro,n}return Vt(e,t),e.prototype.init=function(t,e){this._controller=new iA(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},e.prototype.render=function(t,e,n){var i=t.getData(),r=t.layoutInfo,a=this._mainGroup,o=t.get("layout");"radial"===o?(a.x=r.x+r.width/2,a.y=r.y+r.height/2):(a.x=r.x,a.y=r.y),this._updateViewCoordSys(t),this._updateController(t,e,n);var s=this._data;i.diff(s).add((function(e){WP(i,e)&&GP(i,e,null,a,t)})).update((function(e,n){var r=s.getItemGraphicEl(n);WP(i,e)?GP(i,e,r,a,t):r&&XP(s,n,r,a,t)})).remove((function(e){var n=s.getItemGraphicEl(e);n&&XP(s,e,n,a,t)})).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===t.get("expandAndCollapse")&&i.eachItemGraphicEl((function(e,i){e.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:i})}))})),this._data=i},e.prototype._updateViewCoordSys=function(t){var e=t.getData(),n=[];e.each((function(t){var i=e.getItemLayout(t);!i||isNaN(i.x)||isNaN(i.y)||n.push([+i.x,+i.y])}));var i=[],r=[];Xl(n,i,r);var a=this._min,o=this._max;r[0]-i[0]===0&&(i[0]=a?a[0]:i[0]-1,r[0]=o?o[0]:r[0]+1),r[1]-i[1]===0&&(i[1]=a?a[1]:i[1]-1,r[1]=o?o[1]:r[1]+1);var s=t.coordinateSystem=new hP;s.zoomLimit=t.get("scaleLimit"),s.setBoundingRect(i[0],i[1],r[0]-i[0],r[1]-i[1]),s.setCenter(t.get("center")),s.setZoom(t.get("zoom")),this.group.attr({x:s.x,y:s.y,scaleX:s.scaleX,scaleY:s.scaleY}),this._min=i,this._max=r},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,a=this._controllerHost,o=this.group;r.setPointerChecker((function(e,i,r){var a=o.getBoundingRect();return a.applyTransform(o.transform),a.contain(i,r)&&!sA(e,n,t)})),r.enable(t.get("roam")),a.zoomLimit=t.get("scaleLimit"),a.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){rA(a,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){aA(a,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(t),n.updateLabelLayout()}))},e.prototype._updateNodeAndLinkScale=function(t){var e=t.getData(),n=this._getNodeGlobalScale(t);e.eachItemGraphicEl((function(t,e){t.setSymbolScale(n)}))},e.prototype._getNodeGlobalScale=function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=this._nodeScaleRatio,i=e.scaleX||1,r=e.getZoom(),a=(r-1)*n+1;return a/i},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},e.type="tree",e}(gv);function WP(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(n.y)}function GP(t,e,n,i,r){var a=!n,o=t.tree.getNodeByDataIndex(e),s=o.getModel(),l=o.getVisual("style").fill,u=!1===o.isExpand&&0!==o.children.length?l:"#fff",d=t.tree.root,c=o.parentNode===d?o:o.parentNode||o,h=t.getItemGraphicEl(c.dataIndex),p=c.getLayout(),f=h?{x:h.__oldX,y:h.__oldY,rawX:h.__radialOldRawX,rawY:h.__radialOldRawY}:p,m=o.getLayout();a?(n=new xD(t,e,null,{symbolInnerColor:u,useNameLabel:!0}),n.x=f.x,n.y=f.y):n.updateData(t,e,null,{symbolInnerColor:u,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=m.rawX,n.__radialRawY=m.rawY,i.add(n),t.setItemGraphicEl(e,n),n.__oldX=n.x,n.__oldY=n.y,Tp(n,{x:m.x,y:m.y},r);var g=n.getSymbolPath();if("radial"===r.get("layout")){var y=d.children[0],_=y.getLayout(),v=y.children.length,x=void 0,M=void 0;if(m.x===_.x&&!0===o.isExpand){var b={x:(y.children[0].getLayout().x+y.children[v-1].getLayout().x)/2,y:(y.children[0].getLayout().y+y.children[v-1].getLayout().y)/2};x=Math.atan2(b.y-_.y,b.x-_.x),x<0&&(x=2*Math.PI+x),M=b.x<_.x,M&&(x-=Math.PI)}else x=Math.atan2(m.y-_.y,m.x-_.x),x<0&&(x=2*Math.PI+x),0===o.children.length||0!==o.children.length&&!1===o.isExpand?(M=m.x<_.x,M&&(x-=Math.PI)):(M=m.x>_.x,M||(x-=Math.PI));var w=M?"left":"right",L=s.getModel("label"),S=L.get("rotate"),D=S*(Math.PI/180),T=g.getTextContent();T&&(g.setTextConfig({position:L.get("position")||w,rotation:null==S?-x:D,origin:"center"}),T.setStyle("verticalAlign","middle"))}var k=s.get(["emphasis","focus"]),Y="ancestor"===k?o.getAncestorsIndices():"descendant"===k?o.getDescendantIndices():null;Y&&(Ld(n).focus=Y),UP(r,o,d,n,f,p,m,i),n.__edge&&(n.onHoverStateChange=function(e){if("blur"!==e){var i=o.parentNode&&t.getItemGraphicEl(o.parentNode.dataIndex);i&&i.hoverState===Yd||Kd(n.__edge,e)}})}function UP(t,e,n,i,r,a,o,s){var l=e.getModel(),u=t.get("edgeShape"),d=t.get("layout"),c=t.getOrient(),h=t.get(["lineStyle","curveness"]),p=t.get("edgeForkPosition"),f=l.getModel("lineStyle").getLineStyle(),m=i.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(m||(m=i.__edge=new Vh({shape:ZP(d,c,h,r,r)})),Tp(m,{shape:ZP(d,c,h,a,o)},t));else if("polyline"===u)if("orthogonal"===d){if(e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var g=e.children,y=[],_=0;_<g.length;_++){var v=g[_].getLayout();y.push([v.x,v.y])}m||(m=i.__edge=new FP({shape:{parentPoint:[o.x,o.y],childPoints:[[o.x,o.y]],orient:c,forkPosition:p}})),Tp(m,{shape:{parentPoint:[o.x,o.y],childPoints:y}},t)}}else 0;m&&(m.useStyle(me({strokeNoScale:!0,fill:null},f)),Lc(m,l,"lineStyle"),rc(m),s.add(m))}function XP(t,e,n,i,r){var a,o=t.tree.getNodeByDataIndex(e),s=t.tree.root,l=o.parentNode===s?o:o.parentNode||o;while(a=l.getLayout(),null==a)l=l.parentNode===s?l:l.parentNode||l;var u={duration:r.get("animationDurationUpdate"),easing:r.get("animationEasingUpdate")};Yp(n,{x:a.x+1,y:a.y+1},r,{cb:function(){i.remove(n),t.setItemGraphicEl(e,null)},removeOpt:u}),n.fadeOut(null,{fadeLabel:!0,animation:u});var d=t.getItemGraphicEl(l.dataIndex),c=d.__edge,h=n.__edge||(!1===l.isExpand||1===l.children.length?c:void 0),p=r.get("edgeShape"),f=r.get("layout"),m=r.get("orient"),g=r.get(["lineStyle","curveness"]);h&&("curve"===p?Yp(h,{shape:ZP(f,m,g,a,a),style:{opacity:0}},r,{cb:function(){i.remove(h)},removeOpt:u}):"polyline"===p&&"orthogonal"===r.get("layout")&&Yp(h,{shape:{parentPoint:[a.x,a.y],childPoints:[[a.x,a.y]]},style:{opacity:0}},r,{cb:function(){i.remove(h)},removeOpt:u}))}function ZP(t,e,n,i,r){var a,o,s,l,u,d,c,h;if("radial"===t){u=i.rawX,c=i.rawY,d=r.rawX,h=r.rawY;var p=AP(u,c),f=AP(u,c+(h-c)*n),m=AP(d,h+(c-h)*n),g=AP(d,h);return{x1:p.x||0,y1:p.y||0,x2:g.x||0,y2:g.y||0,cpx1:f.x||0,cpy1:f.y||0,cpx2:m.x||0,cpy2:m.y||0}}return u=i.x,c=i.y,d=r.x,h=r.y,"LR"!==e&&"RL"!==e||(a=u+(d-u)*n,o=c,s=d+(u-d)*n,l=h),"TB"!==e&&"BT"!==e||(a=u,o=c+(h-c)*n,s=d,l=h+(c-h)*n),{x1:u,y1:c,x2:d,y2:h,cpx1:a,cpy1:o,cpx2:s,cpy2:l}}var qP=VP,$P=us();function JP(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,rO(e,n,t),Me(n,(function(n){Me(e.TRANSFERABLE_METHODS,(function(e){n.wrapMethod(e,Ye(KP,t))}))})),e.wrapMethod("cloneShallow",Ye(tO,t)),Me(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,Ye(QP,t))})),Ze(n[e.dataType]===e)}function KP(t,e){if(iO(this)){var n=fe({},$P(this).datas);n[this.dataType]=e,rO(e,n,t)}else aO(e,this.dataType,$P(this).mainData,t);return e}function QP(t,e){return t.struct&&t.struct.update(),e}function tO(t,e){return Me($P(e).datas,(function(n,i){n!==e&&aO(n.cloneShallow(),i,e,t)})),e}function eO(t){var e=$P(this).mainData;return null==t||null==e?e:$P(e).datas[t]}function nO(){var t=$P(this).mainData;return null==t?[{data:t}]:be(De($P(t).datas),(function(e){return{type:e,data:$P(t).datas[e]}}))}function iO(t){return $P(t).mainData===t}function rO(t,e,n){$P(t).datas={},Me(e,(function(e,i){aO(e,i,t,n)}))}function aO(t,e,n,i){$P(n).datas[e]=t,$P(t).mainData=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=eO,t.getLinkedDataAll=nO}var oO=JP,sO=function(){function t(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=e}return t.prototype.isRemoved=function(){return this.dataIndex<0},t.prototype.eachNode=function(t,e,n){"function"===typeof t&&(n=e,e=t,t=null),t=t||{},Ae(t)&&(t={order:t});var i,r=t.order||"preorder",a=this[t.attr||"children"];"preorder"===r&&(i=e.call(n,this));for(var o=0;!i&&o<a.length;o++)a[o].eachNode(t,e,n);"postorder"===r&&e.call(n,this)},t.prototype.updateDepthAndHeight=function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(t+1),i.height>e&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].getNodeById(t);if(r)return r}},t.prototype.contains=function(t){if(t===this)return!0;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].contains(t);if(r)return r}},t.prototype.getAncestors=function(t){var e=[],n=t?this:this.parentNode;while(n)e.push(n),n=n.parentNode;return e.reverse(),e},t.prototype.getAncestorsIndices=function(){var t=[],e=this;while(e)t.push(e.dataIndex),e=e.parentNode;return t.reverse(),t},t.prototype.getDescendantIndices=function(){var t=[];return this.eachNode((function(e){t.push(e.dataIndex)})),t},t.prototype.getValue=function(t){var e=this.hostTree.data;return e.get(e.getDimension(t||"value"),this.dataIndex)},t.prototype.setLayout=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostTree,n=e.data.getItemModel(this.dataIndex);return n.getModel(t)}},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.isAncestorOf=function(t){var e=t.parentNode;while(e){if(e===this)return!0;e=e.parentNode}return!1},t.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},t}(),lO=function(){function t(t){this.type="tree",this._nodes=[],this.hostModel=t}return t.prototype.eachNode=function(t,e,n){this.root.eachNode(t,e,n)},t.prototype.getNodeByDataIndex=function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},t.prototype.getNodeById=function(t){return this.root.getNodeById(t)},t.prototype.update=function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n<i;n++)e[n].dataIndex=-1;for(n=0,i=t.count();n<i;n++)e[t.getRawIndex(n)].dataIndex=n},t.prototype.clearLayouts=function(){this.data.clearItemLayouts()},t.createTree=function(e,n,i){var r=new t(n),a=[],o=1;function s(t,e){var n=t.value;o=Math.max(o,Ie(n)?n.length:1),a.push(t);var i=new sO(es(t.name,""),r);e?uO(i,e):r.root=i,r._nodes.push(i);var l=t.children;if(l)for(var u=0;u<l.length;u++)s(l[u],i)}s(e),r.root.updateDepthAndHeight(0);var l=nD(a,{coordDimensions:["value"],dimensionsCount:o}),u=new JS(l,n);return u.initData(a),i&&i(u),oO({mainData:u,struct:r,structAttr:"tree"}),r.update(),r},t}();function uO(t,e){var n=e.children;t.parentNode!==e&&(n.push(t),t.parentNode=e)}var dO=lO,cO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return Vt(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new Mf(n,this,this.ecModel),r=dO.createTree(e,this,a);function a(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e);return n.children.length&&n.isExpand||(t.parentModel=i),t}))}var o=0;r.eachNode("preorder",(function(t){t.depth>o&&(o=t.depth)}));var s=t.expandAndCollapse,l=s&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=l})),r.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,n){var i=this.getData().tree,r=i.root.children[0],a=i.getNodeByDataIndex(t),o=a.getValue(),s=a.name;while(a&&a!==r)s=a.parentNode.name+"."+s,a=a.parentNode;return C_("nameValue",{name:s,value:o,noValue:isNaN(o)||null==o})},e.type="series.tree",e.layoutMode="box",e.defaultOption={zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(rv),hO=cO;function pO(t,e,n){var i,r=[t],a=[];while(i=r.pop())if(a.push(i),i.isExpand){var o=i.children;if(o.length)for(var s=0;s<o.length;s++)r.push(o[s])}while(i=a.pop())e(i,n)}function fO(t,e){var n,i=[t];while(n=i.pop())if(e(n),n.isExpand){var r=n.children;if(r.length)for(var a=r.length-1;a>=0;a--)i.push(r[a])}}function mO(t,e){t.eachSeriesByType("tree",(function(t){gO(t,e)}))}function gO(t,e){var n=PP(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,a=0,o=null;"radial"===i?(r=2*Math.PI,a=Math.min(n.height,n.width)/2,o=CP((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(r=n.width,a=n.height,o=CP());var s=t.getData().tree.root,l=s.children[0];if(l){kP(s),pO(l,YP,o),s.hierNode.modifier=-l.hierNode.prelim,fO(l,IP);var u=l,d=l,c=l;fO(l,(function(t){var e=t.getLayout().x;e<u.getLayout().x&&(u=t),e>d.getLayout().x&&(d=t),t.depth>c.depth&&(c=t)}));var h=u===d?1:o(u,d)/2,p=h-u.getLayout().x,f=0,m=0,g=0,y=0;if("radial"===i)f=r/(d.getLayout().x+h+p),m=a/(c.depth-1||1),fO(l,(function(t){g=(t.getLayout().x+p)*f,y=(t.depth-1)*m;var e=AP(g,y);t.setLayout({x:e.x,y:e.y,rawX:g,rawY:y},!0)}));else{var _=t.getOrient();"RL"===_||"LR"===_?(m=a/(d.getLayout().x+h+p),f=r/(c.depth-1||1),fO(l,(function(t){y=(t.getLayout().x+p)*m,g="LR"===_?(t.depth-1)*f:r-(t.depth-1)*f,t.setLayout({x:g,y:y},!0)}))):"TB"!==_&&"BT"!==_||(f=r/(d.getLayout().x+h+p),m=a/(c.depth-1||1),fO(l,(function(t){g=(t.getLayout().x+p)*f,y="TB"===_?(t.depth-1)*m:a-(t.depth-1)*m,t.setLayout({x:g,y:y},!0)})))}}}function yO(t){t.eachSeriesByType("tree",(function(t){var e=t.getData(),n=e.tree;n.eachNode((function(t){var n=t.getModel(),i=n.getModel("itemStyle").getItemStyle(),r=e.ensureUniqueItemVisual(t.dataIndex,"style");fe(r,i)}))}))}function _O(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=t.dataIndex,i=e.getData().tree,r=i.getNodeByDataIndex(n);r.isExpand=!r.isExpand}))})),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=e.coordinateSystem,i=wP(n,t);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)}))}))}function vO(t){t.registerChartView(qP),t.registerSeriesModel(hO),t.registerLayout(mO),t.registerVisual(yO),_O(t)}function xO(t,e,n){if(t&&ye(e,t.type)>=0){var i=n.getData().tree.root,r=t.targetNode;if("string"===typeof r&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var a=t.targetNodeId;if(null!=a&&(r=i.getNodeById(a)))return{node:r}}}function MO(t){var e=[];while(t)t=t.parentNode,t&&e.push(t);return e.reverse()}function bO(t,e){var n=MO(t);return ye(n,e)>=0}function wO(t,e){var n=[];while(t){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}var LO=function(){},SO=["treemapZoomToNode","treemapRender","treemapMove"];function DO(t){for(var e=0;e<SO.length;e++)t.registerAction({type:SO[e],update:"updateView"},LO);t.registerAction({type:"treemapRootToNode",update:"updateView"},(function(t,e){function n(e,n){var i=["treemapZoomToNode","treemapRootToNode"],r=xO(t,i,e);if(r){var a=e.getViewRoot();a&&(t.direction=bO(a,r.node)?"rollUp":"drillDown"),e.resetViewRoot(r.node)}}e.eachComponent({mainType:"series",subType:"treemap",query:t},n)}))}function TO(t){var e=t.getData(),n=e.tree,i={};n.eachNode((function(e){var n=e;while(n&&n.depth>1)n=n.parentNode;var r=Lg(t.ecModel,n.name||n.dataIndex+"",i);e.setVisual("decal",r)}))}var kO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return Vt(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};YO(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},a=new Mf({itemStyle:r},this,e);i=t.levels=IO(i,e);var o=be(i||[],(function(t){return new Mf(t,a,e)}),this),s=dO.createTree(n,this,l);function l(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),i=o[n.depth];return t.parentModel=i||a,t}))}return s.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t),a=i.getName(t);return C_("nameValue",{name:a,value:r})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=wO(i,this),n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},fe(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=tn(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){TO(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(rv);function YO(t){var e=0;Me(t.children,(function(t){YO(t);var n=t.value;Ie(n)&&(n=n[0]),e+=n}));var n=t.value;Ie(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),Ie(t.value)?t.value[0]=n:t.value=n}function IO(t,e){var n=Bo(e.get("color")),i=Bo(e.get(["aria","decal","decals"]));if(n){var r,a;t=t||[],Me(t,(function(t){var e=new Mf(t),n=e.get("color"),i=e.get("decal");(e.get(["itemStyle","color"])||n&&"none"!==n)&&(r=!0),(e.get(["itemStyle","decal"])||i&&"none"!==i)&&(a=!0)}));var o=t[0]||(t[0]={});return r||(o.color=n.slice()),!a&&i&&(o.decal=i.slice()),t}}var CO=kO,AO=8,PO=8,OO=5,HO=function(){function t(t){this.group=new ro,t.add(this.group)}return t.prototype.render=function(t,e,n,i){var r=t.getModel("breadcrumb"),a=this.group;if(a.removeAll(),r.get("show")&&n){var o=r.getModel("itemStyle"),s=o.getModel("textStyle"),l={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,l,s),this._renderContent(t,l,o,s,i),Rm(a,l.pos,l.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=es(i.getModel().get("name"),""),a=n.getTextRect(r),o=Math.max(a.width+2*AO,e.emptyItemWidth);e.totalWidth+=o+PO,e.renderList.push({node:i,text:r,width:o})}},t.prototype._renderContent=function(t,e,n,i,r){for(var a=0,o=e.emptyItemWidth,s=t.get(["breadcrumb","height"]),l=Nm(e.pos,e.box),u=e.totalWidth,d=e.renderList,c=d.length-1;c>=0;c--){var h=d[c],p=h.node,f=h.width,m=h.text;u>l.width&&(u-=f-o,f=o,m=null);var g=new Ch({shape:{points:NO(a,0,f,s,c===d.length-1,0===c)},style:me(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new wd({style:{text:m,fill:i.getTextColor(),font:i.getFont()}}),textConfig:{position:"inside"},z:10,onclick:Ye(r,p)});g.disableLabelAnimation=!0,this.group.add(g),EO(g,t,p),a+=f+PO}},t.prototype.remove=function(){this.group.removeAll()},t}();function NO(t,e,n,i,r,a){var o=[[r?t:t-OO,e],[t+n,e],[t+n,e+i],[r?t:t-OO,e+i]];return!a&&o.splice(2,0,[t+n+OO,e+i/2]),!r&&o.push([t,e+i/2]),o}function EO(t,e,n){Ld(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.componentIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&wO(n,e)}}var RO=HO,zO=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){e--,e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;i<r;i++){var a=this._storage[i];a.el.animateTo(a.target,{duration:a.duration,delay:a.delay,easing:a.easing,setToFinal:!0,done:n,aborted:n})}return this},t}();function jO(){return new zO}var BO=ro,FO=ud,VO=3,WO="label",GO="upperLabel",UO=10,XO=1,ZO=2,qO=Os([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),$O=function(t){var e=qO(t);return e.stroke=e.fill=e.lineWidth=null,e},JO=us(),KO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._state="ready",n._storage=QO(),n}return Vt(e,t),e.prototype.render=function(t,e,n,i){var r=e.findComponents({mainType:"series",subType:"treemap",query:i});if(!(ye(r,t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var a=["treemapZoomToNode","treemapRootToNode"],o=xO(i,a,t),s=i&&i.type,l=t.layoutInfo,u=!this._oldTree,d=this._storage,c="treemapRootToNode"===s&&o&&d?{rootNodeGroup:d.nodeGroup[o.node.getRawIndex()],direction:i.direction}:null,h=this._giveContainerGroup(l),p=this._doRender(h,t,c);u||s&&"treemapZoomToNode"!==s&&"treemapRootToNode"!==s?p.renderFinally():this._doAnimation(h,p,t,c),this._resetController(n),this._renderBreadcrumb(t,n,o)}},e.prototype._giveContainerGroup=function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new BO,this._initEvents(e),this.group.add(e)),e.x=t.x,e.y=t.y,e},e.prototype._doRender=function(t,e,n){var i=e.getData().tree,r=this._oldTree,a=QO(),o=QO(),s=this._storage,l=[];function u(t,i,r,u){return tH(e,o,s,n,a,l,t,i,r,u)}c(i.root?[i.root]:[],r&&r.root?[r.root]:[],t,i===r||!r,0);var d=h(s);return this._oldTree=i,this._storage=o,{lastsForAnimation:a,willDeleteEls:d,renderFinally:p};function c(t,e,n,i,r){function a(t){return t.getId()}function o(a,o){var s=null!=a?t[a]:null,l=null!=o?e[o]:null,d=u(s,l,n,r);d&&c(s&&s.viewChildren||[],l&&l.viewChildren||[],d,i,r+1)}i?(e=t,Me(t,(function(t,e){!t.isRemoved()&&o(e,e)}))):new yS(e,t,a,a).add(o).update(o).remove(Ye(o,null)).execute()}function h(t){var e=QO();return t&&Me(t,(function(t,n){var i=e[n];Me(t,(function(t){t&&(i.push(t),JO(t).willDelete=!0)}))})),e}function p(){Me(d,(function(t){Me(t,(function(t){t.parent&&t.parent.remove(t)}))})),Me(l,(function(t){t.invisible=!0,t.dirty()}))}},e.prototype._doAnimation=function(t,e,n,i){if(n.get("animation")){var r=n.get("animationDurationUpdate"),a=n.get("animationEasing"),o=(Ce(r)?0:r)||0,s=(Ce(a)?null:a)||"cubicOut",l=jO();Me(e.willDeleteEls,(function(t,e){Me(t,(function(t,n){if(!t.invisible){var r,a=t.parent,u=JO(a);if(i&&"drillDown"===i.direction)r=a===i.rootNodeGroup?{shape:{x:0,y:0,width:u.nodeWidth,height:u.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var d=0,c=0;u.willDelete||(d=u.nodeWidth/2,c=u.nodeHeight/2),r="nodeGroup"===e?{x:d,y:c,style:{opacity:0}}:{shape:{x:d,y:c,width:0,height:0},style:{opacity:0}}}r&&l.add(t,r,o,0,s)}}))})),Me(this._storage,(function(t,n){Me(t,(function(t,i){var r=e.lastsForAnimation[n][i],a={};r&&(t instanceof ro?null!=r.oldX&&(a.x=t.x,a.y=t.y,t.x=r.oldX,t.y=r.oldY):(r.oldShape&&(a.shape=fe({},t.shape),t.setShape(r.oldShape)),r.fadein?(t.setStyle("opacity",0),a.style={opacity:1}):1!==t.style.opacity&&(a.style={opacity:1})),l.add(t,a,o,0,s))}))}),this),this._state="animating",l.finished(ke((function(){this._state="ready",e.renderFinally()}),this)).start()}},e.prototype._resetController=function(t){var e=this._controller;e||(e=this._controller=new iA(t.getZr()),e.enable(this.seriesModel.get("roam")),e.on("pan",ke(this._onPan,this)),e.on("zoom",ke(this._onZoom,this)));var n=new Br(0,0,t.getWidth(),t.getHeight());e.setPointerChecker((function(t,e,i){return n.contain(e,i)}))},e.prototype._clearController=function(){var t=this._controller;t&&(t.dispose(),t=null)},e.prototype._onPan=function(t){if("animating"!==this._state&&(Math.abs(t.dx)>VO||Math.abs(t.dy)>VO)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var r=i.getLayout();if(!r)return;var a=new Br(r.x,r.y,r.width,r.height),o=this.seriesModel.layoutInfo;e-=o.x,n-=o.y;var s=fi();_i(s,s,[-e,-n]),xi(s,s,[t.scale,t.scale]),_i(s,s,[e,n]),a.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x,y:a.y,width:a.width,height:a.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",(function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if("zoomToNode"===n)e._zoomToNode(i);else if("link"===n){var a=r.hostTree.data.getItemModel(r.dataIndex),o=a.get("link",!0),s=a.get("target",!0)||"blank";o&&Im(o,s)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2),n||(n={node:t.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new RO(this.group))).render(t,e,n.node,(function(e){"animating"!==i._state&&(bO(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))}))},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=QO(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var n,i=this.seriesModel.getViewRoot();return i.eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var a=r.transformCoordToLocal(t,e),o=r.shape;if(!(o.x<=a[0]&&a[0]<=o.x+o.width&&o.y<=a[1]&&a[1]<=o.y+o.height))return!1;n={node:i,offsetX:a[0],offsetY:a[1]}}}),this),n},e.type="treemap",e}(gv);function QO(){return{nodeGroup:[],background:[],content:[]}}function tH(t,e,n,i,r,a,o,s,l,u){if(o){var d=o.getLayout(),c=t.getData(),h=o.getModel();if(c.setItemGraphicEl(o.dataIndex,null),d&&d.isInView){var p=d.width,f=d.height,m=d.borderWidth,g=d.invisible,y=o.getRawIndex(),_=s&&s.getRawIndex(),v=o.viewChildren,x=d.upperHeight,M=v&&v.length,b=h.getModel("itemStyle"),w=h.getModel(["emphasis","itemStyle"]),L=h.getModel(["blur","itemStyle"]),S=h.getModel(["select","itemStyle"]),D=b.get("borderRadius")||0,T=R("nodeGroup",BO);if(T){if(l.add(T),T.x=d.x||0,T.y=d.y||0,T.markRedraw(),JO(T).nodeWidth=p,JO(T).nodeHeight=f,d.isAboveViewRoot)return T;var k=R("background",FO,u,XO);k&&P(T,k,M&&d.upperLabelHeight);var Y=h.get(["emphasis","focus"]),I=h.get(["emphasis","blurScope"]),C="ancestor"===Y?o.getAncestorsIndices():"descendant"===Y?o.getDescendantIndices():null;if(M)Dc(T)&&Sc(T,!1),k&&(Sc(k,!0),c.setItemGraphicEl(o.dataIndex,k),Mc(k,C||Y,I));else{var A=R("content",FO,u,ZO);A&&O(T,A),k&&Dc(k)&&Sc(k,!1),Sc(T,!0),c.setItemGraphicEl(o.dataIndex,T),Mc(T,C||Y,I)}return T}}}function P(e,n,i){var r=Ld(n);if(r.dataIndex=o.dataIndex,r.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:p,height:f,r:D}),g)H(n);else{n.invisible=!1;var a=o.getVisual("style"),s=a.stroke,l=$O(b);l.fill=s;var u=qO(w);u.fill=w.get("borderColor");var d=qO(L);d.fill=L.get("borderColor");var c=qO(S);if(c.fill=S.get("borderColor"),i){var h=p-2*m;N(n,s,h,x,a.opacity,{x:m,y:0,width:h,height:x})}else n.removeTextContent();n.setStyle(l),n.ensureState("emphasis").style=u,n.ensureState("blur").style=d,n.ensureState("select").style=c,rc(n)}e.add(n)}function O(e,n){var i=Ld(n);i.dataIndex=o.dataIndex,i.seriesIndex=t.seriesIndex;var r=Math.max(p-2*m,0),a=Math.max(f-2*m,0);if(n.culling=!0,n.setShape({x:m,y:m,width:r,height:a,r:D}),g)H(n);else{n.invisible=!1;var s=o.getVisual("style"),l=s.fill,u=$O(b);u.fill=l,u.decal=s.decal;var d=qO(w),c=qO(L),h=qO(S);N(n,l,r,s.opacity,a),n.setStyle(u),n.ensureState("emphasis").style=d,n.ensureState("blur").style=c,n.ensureState("select").style=h,rc(n)}e.add(n)}function H(t){!t.invisible&&a.push(t)}function N(e,n,i,r,a,s){var l=h.getModel(s?GO:WO),u=Ve(t.getFormattedLabel(o.dataIndex,"normal",null,null,l.get("formatter")),es(h.get("name"),null));if(!s&&d.isLeafRoot){var c=t.get("drillDownIcon",!0);u=c?c+" "+u:u}var p=l.getShallow("show");qp(e,$p(h,s?GO:WO),{defaultText:p?u:null,inheritColor:n,defaultOpacity:i,labelFetcher:t,labelDataIndex:o.dataIndex});var f=e.getTextContent(),m=f.style,g=Xe(m.padding||0);s&&(e.setTextConfig({layoutRect:s}),f.disableLabelLayout=!0),f.beforeUpdate=function(){var t=Math.max((s?s.width:e.shape.width)-g[1]-g[3],0),n=Math.max((s?s.height:e.shape.height)-g[0]-g[2],0);m.width===t&&m.height===n||f.setStyle({width:t,height:n})},m.truncateMinChar=2,m.lineOverflow="truncate",E(m,s,d);var y=f.getState("emphasis");E(y?y.style:null,s,d)}function E(e,n,i){var r=e?e.text:null;if(!n&&i.isLeafRoot&&null!=r){var a=t.get("drillDownIcon",!0);e.text=a?a+" "+r:r}}function R(t,i,a,o){var s=null!=_&&n[t][_],l=r[t];return s?(n[t][_]=null,z(l,s)):g||(s=new i,s instanceof pl&&(s.z=eH(a,o)),j(l,s)),e[t][y]=s}function z(t,e){var n=t[y]={};e instanceof BO?(n.oldX=e.x,n.oldY=e.y):n.oldShape=fe({},e.shape)}function j(t,e){var n=t[y]={},a=o.parentNode,s=e instanceof ro;if(a&&(!i||"drillDown"===i.direction)){var l=0,u=0,d=r.background[a.getRawIndex()];!i&&d&&d.oldShape&&(l=d.oldShape.width,u=d.oldShape.height),s?(n.oldX=0,n.oldY=u):n.oldShape={x:l,y:u,width:0,height:0}}n.fadein=!s}}function eH(t,e){var n=t*UO+e;return(n-1)/n}var nH=KO,iH=Me,rH=He,aH=-1,oH=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=ce(e);this.type=i,this.mappingMethod=n,this._normalizeData=_H[n];var a=t.visualHandlers[i];this.applyVisual=a.applyVisual,this.getColorMapper=a.getColorMapper,this._normalizedToVisual=a._normalizedToVisual[n],"piecewise"===n?(uH(r),sH(r)):"category"===n?r.categories?lH(r):uH(r,!0):(Ze("linear"!==n||r.dataExtent),uH(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return ke(this._normalizeData,this)},t.listVisualTypes=function(){return De(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){He(t)?Me(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,a=Ie(e)?[]:He(e)?{}:(r=!0,null);return t.eachVisual(e,(function(t,e){var o=n.call(i,t,e);r?a=o:a[e]=o})),a},t.retrieveVisuals=function(e){var n,i={};return e&&iH(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)})),n?i:null},t.prepareVisualTypes=function(t){if(Ie(t))t=t.slice();else{if(!rH(t))return[];var e=[];iH(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,a=0,o=e.length;a<o;a++){var s=e[a].value;if(null!=s){if(s===t||"string"===typeof s&&s===t+"")return a;n&&c(s,a)}}for(a=0,o=e.length;a<o;a++){var l=e[a],u=l.interval,d=l.close;if(u){if(u[0]===-1/0){if(vH(d[1],t,u[1]))return a}else if(u[1]===1/0){if(vH(d[0],u[0],t))return a}else if(vH(d[0],u[0],t)&&vH(d[1],t,u[1]))return a;n&&c(u[0],a),n&&c(u[1],a)}}if(n)return t===1/0?e.length-1:t===-1/0?0:i;function c(e,n){var a=Math.abs(e-t);a<r&&(r=a,i=n)}},t.visualHandlers={color:{applyVisual:hH("color"),getColorMapper:function(){var t=this.option;return ke("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),pH.call(this,t)}:function(e,n,i){var r=!!i;return!n&&(e=this._normalizeData(e)),i=rr(e,t.parsedVisual,i),r?i:sr(i,"rgba")},this)},_normalizedToVisual:{linear:function(t){return sr(rr(t,this.option.parsedVisual),"rgba")},category:pH,piecewise:function(t,e){var n=gH.call(this,e);return null==n&&(n=sr(rr(t,this.option.parsedVisual),"rgba")),n},fixed:fH}},colorHue:dH((function(t,e){return ar(t,e)})),colorSaturation:dH((function(t,e){return ar(t,null,e)})),colorLightness:dH((function(t,e){return ar(t,null,null,e)})),colorAlpha:dH((function(t,e){return or(t,e)})),decal:{applyVisual:hH("decal"),_normalizedToVisual:{linear:null,category:pH,piecewise:null,fixed:null}},opacity:{applyVisual:hH("opacity"),_normalizedToVisual:mH([0,1])},liftZ:{applyVisual:hH("liftZ"),_normalizedToVisual:{linear:fH,category:fH,piecewise:fH,fixed:fH}},symbol:{applyVisual:function(t,e,n){var i=this.mapValueToVisual(t);n("symbol",i)},_normalizedToVisual:{linear:cH,category:pH,piecewise:function(t,e){var n=gH.call(this,e);return null==n&&(n=cH.call(this,t)),n},fixed:fH}},symbolSize:{applyVisual:hH("symbolSize"),_normalizedToVisual:mH([0,1])}},t}();function sH(t){var e=t.pieceList;t.hasSpecialVisual=!1,Me(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}function lH(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(iH(e,(function(t,e){n[t]=e})),!Ie(i)){var r=[];He(i)?iH(i,(function(t,e){var i=n[e];r[null!=i?i:aH]=t})):r[aH]=i,i=yH(t,r)}for(var a=e.length-1;a>=0;a--)null==i[a]&&(delete n[e[a]],e.pop())}function uH(t,e){var n=t.visual,i=[];He(n)?iH(n,(function(t){i.push(t)})):null!=n&&i.push(n);var r={color:1,symbol:1};e||1!==i.length||r.hasOwnProperty(t.type)||(i[1]=i[0]),yH(t,i)}function dH(t){return{applyVisual:function(e,n,i){var r=this.mapValueToVisual(e);i("color",t(n("color"),r))},_normalizedToVisual:mH([0,1])}}function cH(t){var e=this.option.visual;return e[Math.round(go(t,[0,1],[0,e.length-1],!0))]||{}}function hH(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function pH(t){var e=this.option.visual;return e[this.option.loop&&t!==aH?t%e.length:t]}function fH(){return this.option.visual[0]}function mH(t){return{linear:function(e){return go(e,t,this.option.visual,!0)},category:pH,piecewise:function(e,n){var i=gH.call(this,n);return null==i&&(i=go(e,t,this.option.visual,!0)),i},fixed:fH}}function gH(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=oH.findPieceIndex(t,n),r=n[i];if(r&&r.visual)return r.visual[this.type]}}function yH(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=be(e,(function(t){return Qi(t)}))),e}var _H={linear:function(t){return go(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=oH.findPieceIndex(t,e,!0);if(null!=n)return go(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?aH:e},fixed:an};function vH(t,e,n){return t?e<=n:e<n}var xH=oH,MH="itemStyle",bH=us(),wH={seriesType:"treemap",reset:function(t){var e=t.getData().tree,n=e.root;n.isRemoved()||LH(n,{},t.getViewRoot().getAncestors(),t)}};function LH(t,e,n,i){var r=t.getModel(),a=t.getLayout(),o=t.hostTree.data;if(a&&!a.invisible&&a.isInView){var s,l=r.getModel(MH),u=SH(l,e,i),d=o.ensureUniqueItemVisual(t.dataIndex,"style"),c=l.get("borderColor"),h=l.get("borderColorSaturation");null!=h&&(s=DH(u),c=TH(h,s)),d.stroke=c;var p=t.viewChildren;if(p&&p.length){var f=YH(t,r,a,l,u,p);Me(p,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var a=CH(r,u,t,e,f,i);LH(t,a,n,i)}}))}else s=DH(u),d.fill=s}}function SH(t,e,n){var i=fe({},e),r=n.designatedVisualItemStyle;return Me(["color","colorAlpha","colorSaturation"],(function(n){r[n]=e[n];var a=t.get(n);r[n]=null,null!=a&&(i[n]=a)})),i}function DH(t){var e=kH(t,"color");if(e){var n=kH(t,"colorAlpha"),i=kH(t,"colorSaturation");return i&&(e=ar(e,null,null,i)),n&&(e=or(e,n)),e}}function TH(t,e){return null!=e?ar(e,null,null,t):null}function kH(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function YH(t,e,n,i,r,a){if(a&&a.length){var o=IH(e,"color")||null!=r.color&&"none"!==r.color&&(IH(e,"colorAlpha")||IH(e,"colorSaturation"));if(o){var s=e.get("visualMin"),l=e.get("visualMax"),u=n.dataExtent.slice();null!=s&&s<u[0]&&(u[0]=s),null!=l&&l>u[1]&&(u[1]=l);var d=e.get("colorMappingBy"),c={type:o.name,dataExtent:u,visual:o.range};"color"!==c.type||"index"!==d&&"id"!==d?c.mappingMethod="linear":(c.mappingMethod="category",c.loop=!0);var h=new xH(c);return bH(h).drColorMappingBy=d,h}}}function IH(t,e){var n=t.get(e);return Ie(n)&&n.length?{name:e,range:n}:null}function CH(t,e,n,i,r,a){var o=fe({},e);if(r){var s=r.type,l="color"===s&&bH(r).drColorMappingBy,u="index"===l?i:"id"===l?a.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));o[s]=r.mapValueToVisual(u)}return o}var AH=Math.max,PH=Math.min,OH=Ve,HH=Me,NH=["itemStyle","borderWidth"],EH=["itemStyle","gapWidth"],RH=["upperLabel","show"],zH=["upperLabel","height"],jH={seriesType:"treemap",reset:function(t,e,n,i){var r=n.getWidth(),a=n.getHeight(),o=t.option,s=Em(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=o.size||[],u=yo(OH(s.width,l[0]),r),d=yo(OH(s.height,l[1]),a),c=i&&i.type,h=["treemapZoomToNode","treemapRootToNode"],p=xO(i,h,t),f="treemapRender"===c||"treemapMove"===c?i.rootRect:null,m=t.getViewRoot(),g=MO(m);if("treemapMove"!==c){var y="treemapZoomToNode"===c?ZH(t,p,m,u,d):f?[f.width,f.height]:[u,d],_=o.sort;_&&"asc"!==_&&"desc"!==_&&(_="desc");var v={squareRatio:o.squareRatio,sort:_,leafDepth:o.leafDepth};m.hostTree.clearLayouts();var x={x:0,y:0,width:y[0],height:y[1],area:y[0]*y[1]};m.setLayout(x),BH(m,v,!1,0),x=m.getLayout(),HH(g,(function(t,e){var n=(g[e+1]||m).getValue();t.setLayout(fe({dataExtent:[n,n],borderWidth:0,upperHeight:0},x))}))}var M=t.getData().tree.root;M.setLayout(qH(s,f,p),!0),t.setLayoutInfo(s),$H(M,new Br(-s.x,-s.y,r,a),g,m,0)}};function BH(t,e,n,i){var r,a;if(!t.isRemoved()){var o=t.getLayout();r=o.width,a=o.height;var s=t.getModel(),l=s.get(NH),u=s.get(EH)/2,d=JH(s),c=Math.max(l,d),h=l-u,p=c-u;t.setLayout({borderWidth:l,upperHeight:c,upperLabelHeight:d},!0),r=AH(r-2*h,0),a=AH(a-h-p,0);var f=r*a,m=FH(t,s,f,e,n,i);if(m.length){var g={x:h,y:p,width:r,height:a},y=PH(r,a),_=1/0,v=[];v.area=0;for(var x=0,M=m.length;x<M;){var b=m[x];v.push(b),v.area+=b.getLayout().area;var w=UH(v,y,e.squareRatio);w<=_?(x++,_=w):(v.area-=v.pop().getLayout().area,XH(v,y,g,u,!1),y=PH(g.width,g.height),v.length=v.area=0,_=1/0)}if(v.length&&XH(v,y,g,u,!0),!n){var L=s.get("childrenVisibleMin");null!=L&&f<L&&(n=!0)}for(x=0,M=m.length;x<M;x++)BH(m[x],e,n,i+1)}}}function FH(t,e,n,i,r,a){var o=t.children||[],s=i.sort;"asc"!==s&&"desc"!==s&&(s=null);var l=null!=i.leafDepth&&i.leafDepth<=a;if(r&&!l)return t.viewChildren=[];o=Le(o,(function(t){return!t.isRemoved()})),WH(o,s);var u=GH(e,o,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=VH(e,n,u.sum,s,o),0===u.sum)return t.viewChildren=[];for(var d=0,c=o.length;d<c;d++){var h=o[d].getValue()/u.sum*n;o[d].setLayout({area:h})}return l&&(o.length&&t.setLayout({isLeafRoot:!0},!0),o.length=0),t.viewChildren=o,t.setLayout({dataExtent:u.dataExtent},!0),o}function VH(t,e,n,i,r){if(!i)return n;for(var a=t.get("visibleMin"),o=r.length,s=o,l=o-1;l>=0;l--){var u=r["asc"===i?o-l-1:l].getValue();u/n*e<a&&(s=l,n-=u)}return"asc"===i?r.splice(0,o-s):r.splice(s,o-s),n}function WH(t,e){return e&&t.sort((function(t,n){var i="asc"===e?t.getValue()-n.getValue():n.getValue()-t.getValue();return 0===i?"asc"===e?t.dataIndex-n.dataIndex:n.dataIndex-t.dataIndex:i})),t}function GH(t,e,n){for(var i=0,r=0,a=e.length;r<a;r++)i+=e[r].getValue();var o,s=t.get("visualDimension");return e&&e.length?"value"===s&&n?(o=[e[e.length-1].getValue(),e[0].getValue()],"asc"===n&&o.reverse()):(o=[1/0,-1/0],HH(e,(function(t){var e=t.getValue(s);e<o[0]&&(o[0]=e),e>o[1]&&(o[1]=e)}))):o=[NaN,NaN],{sum:i,dataExtent:o}}function UH(t,e,n){for(var i=0,r=1/0,a=0,o=void 0,s=t.length;a<s;a++)o=t[a].getLayout().area,o&&(o<r&&(r=o),o>i&&(i=o));var l=t.area*t.area,u=e*e*n;return l?AH(u*i/l,l/(u*r)):1/0}function XH(t,e,n,i,r){var a=e===n.width?0:1,o=1-a,s=["x","y"],l=["width","height"],u=n[s[a]],d=e?t.area/e:0;(r||d>n[l[o]])&&(d=n[l[o]]);for(var c=0,h=t.length;c<h;c++){var p=t[c],f={},m=d?p.getLayout().area/d:0,g=f[l[o]]=AH(d-2*i,0),y=n[s[a]]+n[l[a]]-u,_=c===h-1||y<m?y:m,v=f[l[a]]=AH(_-2*i,0);f[s[o]]=n[s[o]]+PH(i,g/2),f[s[a]]=u+PH(i,v/2),u+=_,p.setLayout(f,!0)}n[s[o]]+=d,n[l[o]]-=d}function ZH(t,e,n,i,r){var a,o=(e||{}).node,s=[i,r];if(!o||o===n)return s;var l=i*r,u=l*t.option.zoomToNodeRatio;while(a=o.parentNode){for(var d=0,c=a.children,h=0,p=c.length;h<p;h++)d+=c[h].getValue();var f=o.getValue();if(0===f)return s;u*=d/f;var m=a.getModel(),g=m.get(NH),y=Math.max(g,JH(m));u+=4*g*g+(3*g+y)*Math.pow(u,.5),u>Lo&&(u=Lo),o=a}u<l&&(u=l);var _=Math.pow(u/l,.5);return[i*_,r*_]}function qH(t,e,n){if(e)return{x:e.x,y:e.y};var i={x:0,y:0};if(!n)return i;var r=n.node,a=r.getLayout();if(!a)return i;var o=[a.width/2,a.height/2],s=r;while(s){var l=s.getLayout();o[0]+=l.x,o[1]+=l.y,s=s.parentNode}return{x:t.width/2-o[0],y:t.height/2-o[1]}}function $H(t,e,n,i,r){var a=t.getLayout(),o=n[r],s=o&&o===t;if(!(o&&!s||r===n.length&&t!==i)){t.setLayout({isInView:!0,invisible:!s&&!e.intersect(a),isAboveViewRoot:s},!0);var l=new Br(e.x-a.x,e.y-a.y,e.width,e.height);HH(t.viewChildren||[],(function(t){$H(t,l,n,i,r+1)}))}}function JH(t){return t.get(RH)?t.get(zH):0}function KH(t){t.registerSeriesModel(CO),t.registerChartView(nH),t.registerVisual(wH),t.registerLayout(jH),DO(t)}function QH(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getGraph(),r=i.data,a=n.mapArray(n.getName);r.filterSelf((function(t){var n=r.getItemModel(t),i=n.getShallow("category");if(null!=i){"number"===typeof i&&(i=a[i]);for(var o=0;o<e.length;o++)if(!e[o].isSelected(i))return!1}return!0}))}))}function tN(t){var e={};t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getData(),r={};n.each((function(i){var a=n.getName(i);r["ec-"+a]=i;var o=n.getItemModel(i),s=o.getModel("itemStyle").getItemStyle();s.fill||(s.fill=t.getColorFromPalette(a,e)),n.setItemVisual(i,"style",s);for(var l=["symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var d=o.getShallow(l[u],!0);null!=d&&n.setItemVisual(i,l[u],d)}})),n.count()&&i.each((function(t){var e=i.getItemModel(t),a=e.getShallow("category");if(null!=a){"string"===typeof a&&(a=r["ec-"+a]);var o=n.getItemVisual(a,"style"),s=i.ensureUniqueItemVisual(t,"style");fe(s,o);for(var l=["symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++)i.setItemVisual(t,l[u],n.getItemVisual(a,l[u]))}}))}))}function eN(t){return t instanceof Array||(t=[t,t]),t}function nN(t){t.eachSeriesByType("graph",(function(t){var e=t.getGraph(),n=t.getEdgeData(),i=eN(t.get("edgeSymbol")),r=eN(t.get("edgeSymbolSize"));n.setVisual("fromSymbol",i&&i[0]),n.setVisual("toSymbol",i&&i[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]),n.setVisual("style",t.getModel("lineStyle").getLineStyle()),n.each((function(t){var i=n.getItemModel(t),r=e.getEdgeByIndex(t),a=eN(i.getShallow("symbol",!0)),o=eN(i.getShallow("symbolSize",!0)),s=i.getModel("lineStyle").getLineStyle(),l=n.ensureUniqueItemVisual(t,"style");switch(fe(l,s),l.stroke){case"source":var u=r.node1.getVisual("style");l.stroke=u&&u.fill;break;case"target":u=r.node2.getVisual("style");l.stroke=u&&u.fill;break}a[0]&&r.setVisual("fromSymbol",a[0]),a[1]&&r.setVisual("toSymbol",a[1]),o[0]&&r.setVisual("fromSymbolSize",o[0]),o[1]&&r.setVisual("toSymbolSize",o[1])}))}))}var iN="--\x3e",rN=function(t){return t.get("autoCurveness")||null},aN=function(t,e){var n=rN(t),i=20,r=[];if("number"===typeof n)i=n;else if(Ie(n))return void(t.__curvenessList=n);e>i&&(i=e);var a=i%2?i+2:i+3;r=[];for(var o=0;o<a;o++)r.push((o%2?o+1:o)/10*(o%2?-1:1));t.__curvenessList=r},oN=function(t,e,n){var i=[t.id,t.dataIndex].join("."),r=[e.id,e.dataIndex].join(".");return[n.uid,i,r].join(iN)},sN=function(t){var e=t.split(iN);return[e[0],e[2],e[1]].join(iN)},lN=function(t,e){var n=oN(t.node1,t.node2,e);return e.__edgeMap[n]},uN=function(t,e){var n=dN(oN(t.node1,t.node2,e),e),i=dN(oN(t.node2,t.node1,e),e);return n+i},dN=function(t,e){var n=e.__edgeMap;return n[t]?n[t].length:0};function cN(t){rN(t)&&(t.__curvenessList=[],t.__edgeMap={},aN(t))}function hN(t,e,n,i){if(rN(n)){var r=oN(t,e,n),a=n.__edgeMap,o=a[sN(r)];a[r]&&!o?a[r].isForward=!0:o&&a[r]&&(o.isForward=!0,a[r].isForward=!1),a[r]=a[r]||[],a[r].push(i)}}function pN(t,e,n,i){var r=rN(e),a=Ie(r);if(!r)return null;var o=lN(t,e);if(!o)return null;for(var s=-1,l=0;l<o.length;l++)if(o[l]===n){s=l;break}var u=uN(t,e);aN(e,u),t.lineStyle=t.lineStyle||{};var d=oN(t.node1,t.node2,e),c=e.__curvenessList,h=a||u%2?0:1;if(o.isForward)return c[h+s];var p=sN(d),f=dN(p,e),m=c[s+f+h];return i?a?r&&0===r[0]?(f+h)%2?m:-m:((f%2?0:1)+h)%2?m:-m:(f+h)%2?m:-m:c[s+f+h]}function fN(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=t.getGraph();n.eachNode((function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])})),mN(n,t)}}function mN(t,e){t.eachEdge((function(t,n){var i=Ge(t.getModel().get(["lineStyle","curveness"]),-pN(t,e,n,!0),0),r=dn(t.node1.getLayout()),a=dn(t.node2.getLayout()),o=[r,a];+i&&o.push([(r[0]+a[0])/2-(r[1]-a[1])*i,(r[1]+a[1])/2-(a[0]-r[0])*i]),t.setLayout(o)}))}function gN(t,e){t.eachSeriesByType("graph",(function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var i=t.getData(),r=[];Me(n.dimensions,(function(t){r=r.concat(i.mapDimensionsAll(t))}));for(var a=0;a<i.count();a++){for(var o=[],s=!1,l=0;l<r.length;l++){var u=i.get(r[l],a);isNaN(u)||(s=!0),o.push(u)}s?i.setItemLayout(a,n.dataToPoint(o)):i.setItemLayout(a,[NaN,NaN])}mN(i.graph,t)}else e&&"none"!==e||fN(t)}))}function yN(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=t.option.nodeScaleRatio,i=e.scaleX,r=e.getZoom(),a=(r-1)*n+1;return a/i}function _N(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}var vN=Math.PI,xN=[];function MN(t,e){var n=t.coordinateSystem;if(!n||"view"===n.type){var i=n.getBoundingRect(),r=t.getData(),a=r.graph,o=i.width/2+i.x,s=i.height/2+i.y,l=Math.min(i.width,i.height)/2,u=r.count();r.setLayout({cx:o,cy:s}),u&&(bN[e](t,a,r,l,o,s,u),a.eachEdge((function(e,n){var i,r=Ge(e.getModel().get(["lineStyle","curveness"]),pN(e,t,n),0),a=dn(e.node1.getLayout()),l=dn(e.node2.getLayout()),u=(a[0]+l[0])/2,d=(a[1]+l[1])/2;+r&&(r*=3,i=[o*r+u*(1-r),s*r+d*(1-r)]),e.setLayout([a,l,i])})))}}var bN={value:function(t,e,n,i,r,a,o){var s=0,l=n.getSum("value"),u=2*Math.PI/(l||o);e.eachNode((function(t){var e=t.getValue("value"),n=u*(l?e:1)/2;s+=n,t.setLayout([i*Math.cos(s)+r,i*Math.sin(s)+a]),s+=n}))},symbolSize:function(t,e,n,i,r,a,o){var s=0;xN.length=o;var l=yN(t);e.eachNode((function(t){var e=_N(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=l;var n=Math.asin(e/2/i);isNaN(n)&&(n=vN/2),xN[t.dataIndex]=n,s+=2*n}));var u=(2*vN-s)/o/2,d=0;e.eachNode((function(t){var e=u+xN[t.dataIndex];d+=e,t.setLayout([i*Math.cos(d)+r,i*Math.sin(d)+a]),d+=e}))}};function wN(t){t.eachSeriesByType("graph",(function(t){"circular"===t.get("layout")&&MN(t,"symbolSize")}))}var LN=pn;function SN(t,e,n){for(var i=t,r=e,a=n.rect,o=a.width,s=a.height,l=[a.x+o/2,a.y+s/2],u=null==n.gravity?.1:n.gravity,d=0;d<i.length;d++){var c=i[d];c.p||(c.p=ln(o*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),c.pp=dn(c.p),c.edges=null}var h,p,f=null==n.friction?.6:n.friction,m=f;return{warmUp:function(){m=.8*f},setFixed:function(t){i[t].fixed=!0},setUnfixed:function(t){i[t].fixed=!1},beforeStep:function(t){h=t},afterStep:function(t){p=t},step:function(t){h&&h(i,r);for(var e=[],n=i.length,a=0;a<r.length;a++){var o=r[a];if(!o.ignoreForceLayout){var s=o.n1,d=o.n2;fn(e,d.p,s.p);var c=mn(e)-o.d,f=d.w/(s.w+d.w);isNaN(f)&&(f=0),_n(e,e),!s.fixed&&LN(s.p,s.p,e,f*c*m),!d.fixed&&LN(d.p,d.p,e,-(1-f)*c*m)}}for(a=0;a<n;a++){var g=i[a];g.fixed||(fn(e,l,g.p),LN(g.p,g.p,e,u*m))}for(a=0;a<n;a++){s=i[a];for(var y=a+1;y<n;y++){d=i[y];fn(e,d.p,s.p);c=mn(e);0===c&&(cn(e,Math.random()-.5,Math.random()-.5),c=1);var _=(s.rep+d.rep)/c/c;!s.fixed&&LN(s.pp,s.pp,e,_),!d.fixed&&LN(d.pp,d.pp,e,-_)}}var v=[];for(a=0;a<n;a++){g=i[a];g.fixed||(fn(v,g.p,g.pp),LN(g.p,g.p,v,m),un(g.pp,g.p))}m*=.992;var x=m<.01;p&&p(i,r,x),t&&t(x)}}}function DN(t){t.eachSeriesByType("graph",(function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var n=t.preservedPoints||{},i=t.getGraph(),r=i.data,a=i.edgeData,o=t.getModel("force"),s=o.get("initLayout");t.preservedPoints?r.each((function(t){var e=r.getId(t);r.setItemLayout(t,n[e]||[NaN,NaN])})):s&&"none"!==s?"circular"===s&&MN(t,"value"):fN(t);var l=r.getDataExtent("value"),u=a.getDataExtent("value"),d=o.get("repulsion"),c=o.get("edgeLength"),h=Ie(d)?d:[d,d],p=Ie(c)?c:[c,c];p=[p[1],p[0]];var f=r.mapArray("value",(function(t,e){var n=r.getItemLayout(e),i=go(t,l,h);return isNaN(i)&&(i=(h[0]+h[1])/2),{w:i,rep:i,fixed:r.getItemModel(e).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),m=a.mapArray("value",(function(e,n){var r=i.getEdgeByIndex(n),a=go(e,u,p);isNaN(a)&&(a=(p[0]+p[1])/2);var o=r.getModel(),s=Ge(r.getModel().get(["lineStyle","curveness"]),-pN(r,t,n,!0),0);return{n1:f[r.node1.dataIndex],n2:f[r.node2.dataIndex],d:a,curveness:s,ignoreForceLayout:o.get("ignoreForceLayout")}})),g=e.getBoundingRect(),y=SN(f,m,{rect:g,gravity:o.get("gravity"),friction:o.get("friction")});y.beforeStep((function(t,e){for(var n=0,r=t.length;n<r;n++)t[n].fixed&&un(t[n].p,i.getNodeByIndex(n).getLayout())})),y.afterStep((function(t,e,a){for(var o=0,s=t.length;o<s;o++)t[o].fixed||i.getNodeByIndex(o).setLayout(t[o].p),n[r.getId(o)]=t[o].p;for(o=0,s=e.length;o<s;o++){var l=e[o],u=i.getEdgeByIndex(o),d=l.n1.p,c=l.n2.p,h=u.getLayout();h=h?h.slice():[],h[0]=h[0]||[],h[1]=h[1]||[],un(h[0],d),un(h[1],c),+l.curveness&&(h[2]=[(d[0]+c[0])/2-(d[1]-c[1])*l.curveness,(d[1]+c[1])/2-(c[0]-d[0])*l.curveness]),u.setLayout(h)}})),t.forceLayout=y,t.preservedPoints=n,y.step()}else t.forceLayout=null}))}function TN(t,e,n){var i=fe(t.getBoxLayoutParams(),{aspect:n});return Em(i,{width:e.getWidth(),height:e.getHeight()})}function kN(t,e){var n=[];return t.eachSeriesByType("graph",(function(t){var i=t.get("coordinateSystem");if(!i||"view"===i){var r=t.getData(),a=r.mapArray((function(t){var e=r.getItemModel(t);return[+e.get("x"),+e.get("y")]})),o=[],s=[];Xl(a,o,s),s[0]-o[0]===0&&(s[0]+=1,o[0]-=1),s[1]-o[1]===0&&(s[1]+=1,o[1]-=1);var l=(s[0]-o[0])/(s[1]-o[1]),u=TN(t,e,l);isNaN(l)&&(o=[u.x,u.y],s=[u.x+u.width,u.y+u.height]);var d=s[0]-o[0],c=s[1]-o[1],h=u.width,p=u.height,f=t.coordinateSystem=new hP;f.zoomLimit=t.get("scaleLimit"),f.setBoundingRect(o[0],o[1],d,c),f.setViewRect(u.x,u.y,h,p),f.setCenter(t.get("center")),f.setZoom(t.get("zoom")),n.push(f)}})),n}var YN=Rh.prototype,IN=Vh.prototype,CN=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return t}();(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Vt(e,t)})(CN);function AN(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var PN=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}return Vt(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new CN},e.prototype.buildPath=function(t,e){AN(e)?YN.buildPath.call(this,t,e):IN.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return AN(this.shape)?YN.pointAt.call(this,t):IN.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,n=AN(e)?[e.x2-e.x1,e.y2-e.y1]:IN.tangentAt.call(this,t);return _n(n,n)},e}(Uu),ON=PN,HN=["fromSymbol","toSymbol"];function NN(t){return"_"+t+"Type"}function EN(t,e,n){var i=e.getItemVisual(n,t);if(i&&"none"!==i){var r=e.getItemVisual(n,t+"Size"),a=e.getItemVisual(n,t+"Rotate"),o=Ie(r)?r:[r,r],s=gM(i,-o[0]/2,-o[1]/2,o[0],o[1]);return s.__specifiedRotation=null==a||isNaN(a)?void 0:+a*Math.PI/180||0,s.name=t,s}}function RN(t){var e=new ON({name:"line",subPixelOptimize:!0});return zN(e.shape,t),e}function zN(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var n=e[2];n?(t.cpx1=n[0],t.cpy1=n[1]):(t.cpx1=NaN,t.cpy1=NaN)}var jN=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createLine(e,n,i),r}return Vt(e,t),e.prototype._createLine=function(t,e,n){var i=t.hostModel,r=t.getItemLayout(e),a=RN(r);a.shape.percent=0,kp(a,{shape:{percent:1}},i,e),this.add(a),Me(HN,(function(n){var i=EN(n,t,e);this.add(i),this[NN(n)]=t.getItemVisual(e,n)}),this),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),a=t.getItemLayout(e),o={shape:{}};zN(o.shape,a),Tp(r,o,i,e),Me(HN,(function(n){var i=t.getItemVisual(e,n),r=NN(n);if(this[r]!==i){this.remove(this.childOfName(n));var a=EN(n,t,e);this.add(a)}this[r]=i}),this),this._updateCommonStl(t,e,n)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),a=n&&n.emphasisLineStyle,o=n&&n.blurLineStyle,s=n&&n.selectLineStyle,l=n&&n.labelStatesModels;if(!n||t.hasItemOption){var u=t.getItemModel(e);a=u.getModel(["emphasis","lineStyle"]).getLineStyle(),o=u.getModel(["blur","lineStyle"]).getLineStyle(),s=u.getModel(["select","lineStyle"]).getLineStyle(),l=$p(u)}var d=t.getItemVisual(e,"style"),c=d.stroke;r.useStyle(d),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=a,r.ensureState("blur").style=o,r.ensureState("select").style=s,Me(HN,(function(t){var e=this.childOfName(t);if(e){e.setColor(c),e.style.opacity=d.opacity;for(var n=0;n<Cd.length;n++){var i=Cd[n],a=r.getState(i);if(a){var o=a.style||{},s=e.ensureState(i),l=s.style||(s.style={});null!=o.stroke&&(l[e.__isEmptyBrush?"stroke":"fill"]=o.stroke),null!=o.opacity&&(l.opacity=o.opacity)}}e.markRedraw()}}),this);var h=i.getRawValue(e);qp(this,l,{labelDataIndex:e,labelFetcher:{getFormattedLabel:function(e,n){return i.getFormattedLabel(e,n,t.dataType)}},inheritColor:c||"#000",defaultOpacity:d.opacity,defaultText:(null==h?t.getName(e):isFinite(h)?_o(h):h)+""});var p=this.getTextContent();if(p){var f=l.normal;p.__align=p.style.align,p.__verticalAlign=p.style.verticalAlign,p.__position=f.get("position")||"middle";var m=f.get("distance");Ie(m)||(m=[m,m]),p.__labelDistance=m}this.setTextConfig({position:null,local:!0,inside:!1}),xc(this)},e.prototype.highlight=function(){sc(this)},e.prototype.downplay=function(){lc(this)},e.prototype.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},e.prototype.setLinePoints=function(t){var e=this.childOfName("line");zN(e.shape,t),e.dirty()},e.prototype.beforeUpdate=function(){var t=this,e=t.childOfName("fromSymbol"),n=t.childOfName("toSymbol"),i=t.getTextContent();if(e||n||i&&!i.ignore){var r=1,a=this.parent;while(a)a.scaleX&&(r/=a.scaleX),a=a.parent;var o=t.childOfName("line");if(this.__dirty||o.__dirty){var s=o.shape.percent,l=o.pointAt(0),u=o.pointAt(s),d=fn([],u,l);if(_n(d,d),e&&(e.setPosition(l),w(e,0),e.scaleX=e.scaleY=r*s,e.markRedraw()),n&&(n.setPosition(u),w(n,1),n.scaleX=n.scaleY=r*s,n.markRedraw()),i&&!i.ignore){i.x=i.y=0,i.originX=i.originY=0;var c=void 0,h=void 0,p=i.__labelDistance,f=p[0]*r,m=p[1]*r,g=s/2,y=o.tangentAt(g),_=[y[1],-y[0]],v=o.pointAt(g);_[1]>0&&(_[0]=-_[0],_[1]=-_[1]);var x=y[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var M=-Math.atan2(y[1],y[0]);u[0]<l[0]&&(M=Math.PI+M),i.rotation=M}var b=void 0;switch(i.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":b=-m,h="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":b=m,h="top";break;default:b=0,h="middle"}switch(i.__position){case"end":i.x=d[0]*f+u[0],i.y=d[1]*m+u[1],c=d[0]>.8?"left":d[0]<-.8?"right":"center",h=d[1]>.8?"top":d[1]<-.8?"bottom":"middle";break;case"start":i.x=-d[0]*f+l[0],i.y=-d[1]*m+l[1],c=d[0]>.8?"right":d[0]<-.8?"left":"center",h=d[1]>.8?"bottom":d[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=f*x+l[0],i.y=l[1]+b,c=y[0]<0?"right":"left",i.originX=-f*x,i.originY=-b;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=v[0],i.y=v[1]+b,c="center",i.originY=-b;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-f*x+u[0],i.y=u[1]+b,c=y[0]>=0?"right":"left",i.originX=f*x,i.originY=-b;break}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||h,align:i.__align||c})}}}function w(t,e){var n=t.__specifiedRotation;if(null==n){var i=o.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}(ro),BN=jN,FN=function(){function t(t){this.group=new ro,this._LineCtor=t||BN}return t.prototype.isPersistent=function(){return!0},t.prototype.updateData=function(t){var e=this,n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var a=WN(t);t.diff(r).add((function(n){e._doAdd(t,n,a)})).update((function(n,i){e._doUpdate(r,t,i,n,a)})).remove((function(t){i.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=WN(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||VN(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var i=t.start;i<t.end;i++){var r=e.getItemLayout(i);if(UN(r)){var a=new this._LineCtor(e,i,this._seriesScope);a.traverse(n),this.group.add(a),e.setItemGraphicEl(i,a)}}},t.prototype.remove=function(){this.group.removeAll()},t.prototype._doAdd=function(t,e,n){var i=t.getItemLayout(e);if(UN(i)){var r=new this._LineCtor(t,e,n);t.setItemGraphicEl(e,r),this.group.add(r)}},t.prototype._doUpdate=function(t,e,n,i,r){var a=t.getItemGraphicEl(n);UN(e.getItemLayout(i))?(a?a.updateData(e,i,r):a=new this._LineCtor(e,i,r),e.setItemGraphicEl(i,a),this.group.add(a)):this.group.remove(a)},t}();function VN(t){return t.animators&&t.animators.length>0}function WN(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:e.getModel(["emphasis","lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),labelStatesModels:$p(e)}}function GN(t){return isNaN(t[0])||isNaN(t[1])}function UN(t){return!GN(t[0])&&!GN(t[1])}var XN=FN,ZN=[],qN=[],$N=[],JN=Al,KN=bn,QN=Math.abs;function tE(t,e,n){for(var i,r=t[0],a=t[1],o=t[2],s=1/0,l=n*n,u=.1,d=.1;d<=.9;d+=.1){ZN[0]=JN(r[0],a[0],o[0],d),ZN[1]=JN(r[1],a[1],o[1],d);var c=QN(KN(ZN,e)-l);c<s&&(s=c,i=d)}for(var h=0;h<32;h++){var p=i+u;qN[0]=JN(r[0],a[0],o[0],i),qN[1]=JN(r[1],a[1],o[1],i),$N[0]=JN(r[0],a[0],o[0],p),$N[1]=JN(r[1],a[1],o[1],p);c=KN(qN,e)-l;if(QN(c)<.01)break;var f=KN($N,e)-l;u/=2,c<0?f>=0?i+=u:i-=u:f>=0?i-=u:i+=u}return i}function eE(t,e){var n=[],i=Nl,r=[[],[],[]],a=[[],[]],o=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),d=t.getVisual("toSymbol");l.__original||(l.__original=[dn(l[0]),dn(l[1])],l[2]&&l.__original.push(dn(l[2])));var c=l.__original;if(null!=l[2]){if(un(r[0],c[0]),un(r[1],c[2]),un(r[2],c[1]),u&&"none"!==u){var h=_N(t.node1),p=tE(r,c[0],h*e);i(r[0][0],r[1][0],r[2][0],p,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],p,n),r[0][1]=n[3],r[1][1]=n[4]}if(d&&"none"!==d){h=_N(t.node2),p=tE(r,c[1],h*e);i(r[0][0],r[1][0],r[2][0],p,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],p,n),r[1][1]=n[1],r[2][1]=n[2]}un(l[0],r[0]),un(l[1],r[2]),un(l[2],r[1])}else{if(un(a[0],c[0]),un(a[1],c[1]),fn(o,a[1],a[0]),_n(o,o),u&&"none"!==u){h=_N(t.node1);pn(a[0],a[0],o,h*e)}if(d&&"none"!==d){h=_N(t.node2);pn(a[1],a[1],o,-h*e)}un(l[0],a[0]),un(l[1],a[1])}}))}function nE(t){return"view"===t.type}var iE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.init=function(t,e){var n=new SD,i=new XN,r=this.group;this._controller=new iA(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var a=this._symbolDraw,o=this._lineDraw,s=this.group;if(nE(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):Tp(s,l,t)}eE(t.getGraph(),yN(t));var u=t.getData();a.updateData(u);var d=t.getEdgeData();o.updateData(d),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var c=t.forceLayout,h=t.get(["force","layoutAnimation"]);c&&this._startForceLayoutIteration(c,h),u.graph.eachNode((function(t){var e=t.dataIndex,n=t.getGraphicEl(),r=t.getModel();n.off("drag").off("dragend");var a=r.get("draggable");a&&n.on("drag",(function(){c&&(c.warmUp(),!i._layouting&&i._startForceLayoutIteration(c,h),c.setFixed(e),u.setItemLayout(e,[n.x,n.y]))})).on("dragend",(function(){c&&c.setUnfixed(e)})),n.setDraggable(a&&!!c);var o=r.get(["emphasis","focus"]);"adjacency"===o&&(Ld(n).focus=t.getAdjacentDataIndices())})),u.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);"adjacency"===n&&(Ld(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var p="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),f=u.getLayout("cx"),m=u.getLayout("cy");u.eachItemGraphicEl((function(t,e){var n=u.getItemModel(e),i=n.get(["label","rotate"])||0,r=t.getSymbolPath();if(p){var a=u.getItemLayout(e),o=Math.atan2(a[1]-m,a[0]-f);o<0&&(o=2*Math.PI+o);var s=a[0]<f;s&&(o-=Math.PI);var l=s?"left":"right";r.setTextConfig({rotation:-o,position:l,origin:"center"});var d=r.ensureState("emphasis");fe(d.textConfig||(d.textConfig={}),{position:l})}else r.setTextConfig({rotation:i*=Math.PI/180})})),this._firstRender=!1},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;(function i(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())}))})()},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,a=this._controllerHost,o=this.group;r.setPointerChecker((function(e,i,r){var a=o.getBoundingRect();return a.applyTransform(o.transform),a.contain(i,r)&&!sA(e,n,t)})),nE(t.coordinateSystem)?(r.enable(t.get("roam")),a.zoomLimit=t.get("scaleLimit"),a.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){rA(a,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){aA(a,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(),eE(t.getGraph(),yN(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=yN(t);e.eachItemGraphicEl((function(t,e){t.setSymbolScale(n)}))},e.prototype.updateLayout=function(t){eE(t.getGraph(),yN(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(gv),rE=iE;function aE(t){return"_EC_"+t}var oE=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[aE(t)]){var i=new sE(t,e);return i.hostGraph=this,this.nodes.push(i),n[aE(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[aE(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if("number"===typeof t&&(t=this.nodes[t]),"number"===typeof e&&(e=this.nodes[e]),t instanceof sE||(t=i[aE(t)]),e instanceof sE||(e=i[aE(e)]),t&&e){var a=t.id+"-"+e.id,o=new lE(t,e,n);return o.hostGraph=this,this._directed&&(t.outEdges.push(o),e.inEdges.push(o)),t.edges.push(o),t!==e&&e.edges.push(o),this.edges.push(o),r[a]=o,o}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof sE&&(t=t.id),e instanceof sE&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof sE||(e=this._nodesMap[aE(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",a=0;a<this.nodes.length;a++)this.nodes[a].__visited=!1;if(!t.call(i,e,null)){var o=[e];while(o.length){var s=o.shift(),l=s[r];for(a=0;a<l.length;a++){var u=l[a],d=u.node1===s?u.node2:u.node1;if(!d.__visited){if(t.call(i,d,s))return;o.push(d),d.__visited=!0}}}}}},t.prototype.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,i=this.edges,r=0,a=n.length;r<a;r++)n[r].dataIndex=-1;for(r=0,a=t.count();r<a;r++)n[t.getRawIndex(r)].dataIndex=r;e.filterSelf((function(t){var n=i[e.getRawIndex(t)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}));for(r=0,a=i.length;r<a;r++)i[r].dataIndex=-1;for(r=0,a=e.count();r<a;r++)i[e.getRawIndex(r)].dataIndex=r},t.prototype.clone=function(){for(var e=new t(this._directed),n=this.nodes,i=this.edges,r=0;r<n.length;r++)e.addNode(n[r].id,n[r].dataIndex);for(r=0;r<i.length;r++){var a=i[r];e.addEdge(a.node1.id,a.node2.id,a.dataIndex)}return e},t}(),sE=function(){function t(t,e){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==t?"":t,this.dataIndex=null==e?-1:e}return t.prototype.degree=function(){return this.edges.length},t.prototype.inDegree=function(){return this.inEdges.length},t.prototype.outDegree=function(){return this.outEdges.length},t.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostGraph,n=e.data.getItemModel(this.dataIndex);return n.getModel(t)}},t.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},e=0;e<this.edges.length;e++){var n=this.edges[e];n.dataIndex<0||(t.edge.push(n.dataIndex),t.node.push(n.node1.dataIndex,n.node2.dataIndex))}return t},t}(),lE=function(){function t(t,e,n){this.dataIndex=-1,this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}return t.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostGraph,n=e.edgeData.getItemModel(this.dataIndex);return n.getModel(t)}},t.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},t}();function uE(t,e){return{getValue:function(n){var i=this[t][e];return i.get(i.getDimension(n||"value"),this.dataIndex)},setVisual:function(n,i){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}ve(sE,uE("hostGraph","data")),ve(lE,uE("hostGraph","edgeData"));var dE=oE;function cE(t,e,n,i,r){for(var a=new dE(i),o=0;o<t.length;o++)a.addNode(Ve(t[o].id,t[o].name,o),o);var s=[],l=[],u=0;for(o=0;o<e.length;o++){var d=e[o],c=d.source,h=d.target;a.addEdge(c,h,u)&&(l.push(d),s.push(Ve(es(d.id,null),c+" > "+h)),u++)}var p,f=n.get("coordinateSystem");if("cartesian2d"===f||"polar"===f)p=pD(t,n);else{var m=Fg.get(f),g=m&&m.dimensions||[];ye(g,"value")<0&&g.concat(["value"]);var y=nD(t,{coordDimensions:g});p=new JS(y,n),p.initData(t)}var _=new JS(["value"],n);return _.initData(l,s),r&&r(p,_),oO({mainData:p,struct:a,structAttr:"graph",datas:{node:p,edge:_},datasAttr:{node:"data",edge:"edgeData"}}),a.update(),a}var hE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return Vt(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new Sk(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),Fo(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n=t.edges||t.links||[],i=t.data||t.nodes||[],r=this;if(i&&n){cN(this);var a=cE(i,n,this,!0,o);return Me(a.edges,(function(t){hN(t.node1,t.node2,this,t.dataIndex)}),this),a.data}function o(t,e){t.wrapMethod("getItemModel",(function(t){var e=r._categoriesModels,n=t.getShallow("category"),i=e[n];return i&&(i.parentModel=t.parentModel,t.parentModel=i),t}));var n=Mf.prototype.getModel;function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=a,i}function a(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=a,t.getModel=i,t}))}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),a=i.graph.getEdgeByIndex(t),o=i.getName(a.node1.dataIndex),s=i.getName(a.node2.dataIndex),l=[];return null!=o&&l.push(o),null!=s&&l.push(s),C_("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}var u=G_({series:this,dataIndex:t,multipleSeries:e});return u},e.prototype._updateCategoriesData=function(){var t=be(this.option.categories||[],(function(t){return null!=t.value?t:fe({value:0},t)})),e=new JS(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(rv),pE=hE,fE={type:"graphRoam",event:"graphRoam",update:"none"};function mE(t){t.registerChartView(rE),t.registerSeriesModel(pE),t.registerProcessor(QH),t.registerVisual(tN),t.registerVisual(nN),t.registerLayout(gN),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,wN),t.registerLayout(DN),t.registerCoordinateSystem("graphView",{dimensions:hP.dimensions,create:kN}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){})),t.registerAction(fE,(function(t,e){e.eachComponent({mainType:"series",query:t},(function(e){var n=e.coordinateSystem,i=wP(n,t);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)}))}))}var gE=function(){function t(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return t}(),yE=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return Vt(e,t),e.prototype.getDefaultShape=function(){return new gE},e.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,a=e.width,o=e.angle,s=e.x-n(o)*a*(a>=r/3?1:2),l=e.y-i(o)*a*(a>=r/3?1:2);o=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(o)*a,e.y+i(o)*a),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(o)*a,e.y-i(o)*a),t.lineTo(s,l)},e}(Uu),_E=yE;function vE(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),a=Math.min(i,r),o=yo(n[0],e.getWidth()),s=yo(n[1],e.getHeight()),l=yo(t.get("radius"),a/2);return{cx:o,cy:s,r:l}}function xE(t,e){var n=null==t?"":t+"";return e&&("string"===typeof e?n=e.replace("{value}",n):"function"===typeof e&&(n=e(t))),n}var ME=2*Math.PI,bE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=vE(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,i,r){for(var a=this.group,o=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),d=u.get("roundCap"),c=d?NT:Mh,h=u.get("show"),p=u.getModel("lineStyle"),f=p.get("width"),m=(l-s)%ME||l===s?(l-s)%ME:ME,g=s,y=0;h&&y<i.length;y++){var _=Math.min(Math.max(i[y][0],0),1);l=s+m*_;var v=new c({shape:{startAngle:g,endAngle:l,cx:r.cx,cy:r.cy,clockwise:o,r0:r.r-f,r:r.r},silent:!0});v.setStyle({fill:i[y][1]}),v.setStyle(p.getLineStyle(["color","width"])),a.add(v),g=l}var x=function(t){if(t<=0)return i[0][1];var e;for(e=0;e<i.length;e++)if(i[e][0]>=t&&(0===e?0:i[e-1][0])<t)return i[e][1];return i[e-1][1]};if(!o){var M=s;s=l,l=M}this._renderTicks(t,e,n,x,r,s,l,o,f),this._renderTitleAndDetail(t,e,n,x,r),this._renderAnchor(t,r),this._renderPointer(t,e,n,x,r,s,l,o,f)},e.prototype._renderTicks=function(t,e,n,i,r,a,o,s,l){for(var u,d,c=this.group,h=r.cx,p=r.cy,f=r.r,m=+t.get("min"),g=+t.get("max"),y=t.getModel("splitLine"),_=t.getModel("axisTick"),v=t.getModel("axisLabel"),x=t.get("splitNumber"),M=_.get("splitNumber"),b=yo(y.get("length"),f),w=yo(_.get("length"),f),L=a,S=(o-a)/x,D=S/M,T=y.getModel("lineStyle").getLineStyle(),k=_.getModel("lineStyle").getLineStyle(),Y=y.get("distance"),I=0;I<=x;I++){if(u=Math.cos(L),d=Math.sin(L),y.get("show")){var C=Y?Y+l:l,A=new Rh({shape:{x1:u*(f-C)+h,y1:d*(f-C)+p,x2:u*(f-b-C)+h,y2:d*(f-b-C)+p},style:T,silent:!0});"auto"===T.stroke&&A.setStyle({stroke:i(I/x)}),c.add(A)}if(v.get("show")){C=v.get("distance")+Y;var P=xE(_o(I/x*(g-m)+m),v.get("formatter")),O=i(I/x);c.add(new wd({style:Jp(v,{text:P,x:u*(f-b-C)+h,y:d*(f-b-C)+p,verticalAlign:d<-.8?"top":d>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:O}),silent:!0}))}if(_.get("show")&&I!==x){C=_.get("distance");C=C?C+l:l;for(var H=0;H<=M;H++){u=Math.cos(L),d=Math.sin(L);var N=new Rh({shape:{x1:u*(f-C)+h,y1:d*(f-C)+p,x2:u*(f-w-C)+h,y2:d*(f-w-C)+p},silent:!0,style:k});"auto"===k.stroke&&N.setStyle({stroke:i((I+H/M)/x)}),c.add(N),L+=D}L-=D}else L+=S}},e.prototype._renderPointer=function(t,e,n,i,r,a,o,s,l){var u=this.group,d=this._data,c=this._progressEls,h=[],p=t.get(["pointer","show"]),f=t.getModel("progress"),m=f.get("show"),g=t.getData(),y=g.mapDimension("value"),_=+t.get("min"),v=+t.get("max"),x=[_,v],M=[a,o];function b(e,n){var i,a=g.getItemModel(e),o=a.getModel("pointer"),s=yo(o.get("width"),r.r),l=yo(o.get("length"),r.r),u=t.get(["pointer","icon"]),d=o.get("offsetCenter"),c=yo(d[0],r.r),h=yo(d[1],r.r),p=o.get("keepAspect");return i=u?gM(u,c-s/2,h-l,s,l,null,p):new _E({shape:{angle:-Math.PI/2,width:s,r:l,x:c,y:h}}),i.rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function w(t,e){var n=f.get("roundCap"),i=n?NT:Mh,o=f.get("overlap"),u=o?f.get("width"):l/g.count(),d=o?r.r-u:r.r-(t+1)*u,c=o?r.r:r.r-t*u,h=new i({shape:{startAngle:a,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:d,r:c}});return o&&(h.z2=v-g.get(y,t)%v),h}(m||p)&&(g.diff(d).add((function(e){if(p){var n=b(e,a);kp(n,{rotation:-(go(g.get(y,e),x,M,!0)+Math.PI/2)},t),u.add(n),g.setItemGraphicEl(e,n)}if(m){var i=w(e,a),r=f.get("clip");kp(i,{shape:{endAngle:go(g.get(y,e),x,M,r)}},t),u.add(i),h[e]=i}})).update((function(e,n){if(p){var i=d.getItemGraphicEl(n),r=i?i.rotation:a,o=b(e,r);o.rotation=r,Tp(o,{rotation:-(go(g.get(y,e),x,M,!0)+Math.PI/2)},t),u.add(o),g.setItemGraphicEl(e,o)}if(m){var s=c[n],l=s?s.shape.endAngle:a,_=w(e,l),v=f.get("clip");Tp(_,{shape:{endAngle:go(g.get(y,e),x,M,v)}},t),u.add(_),h[e]=_}})).execute(),g.each((function(t){var e=g.getItemModel(t),n=e.getModel("emphasis");if(p){var r=g.getItemGraphicEl(t);r.useStyle(g.getItemVisual(t,"style")),r.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===r.style.fill&&r.setStyle("fill",i(go(g.get(y,t),x,[0,1],!0))),r.z2EmphasisLift=0,Lc(r,e),xc(r,n.get("focus"),n.get("blurScope"))}if(m){var a=h[t];a.useStyle(g.getItemVisual(t,"style")),a.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),a.z2EmphasisLift=0,Lc(a,e),xc(a,n.get("focus"),n.get("blurScope"))}})),this._progressEls=h)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor"),i=n.get("show");if(i){var r=n.get("size"),a=n.get("icon"),o=n.get("offsetCenter"),s=n.get("keepAspect"),l=gM(a,e.cx-r/2+yo(o[0],e.r),e.cy-r/2+yo(o[1],e.r),r,r,null,s);l.z2=n.get("showAbove")?1:0,l.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(l)}},e.prototype._renderTitleAndDetail=function(t,e,n,i,r){var a=this,o=t.getData(),s=o.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),d=new ro,c=[],h=[],p=t.isAnimationEnabled();o.diff(this._data).add((function(t){c[t]=new wd({silent:!0}),h[t]=new wd({silent:!0})})).update((function(t,e){c[t]=a._titleEls[e],h[t]=a._detailEls[e]})).execute(),o.each((function(e){var n=o.getItemModel(e),a=o.get(s,e),f=new ro,m=i(go(a,[l,u],[0,1],!0)),g=n.getModel("title");if(g.get("show")){var y=g.get("offsetCenter"),_=r.cx+yo(y[0],r.r),v=r.cy+yo(y[1],r.r),x=c[e];x.attr({style:Jp(g,{x:_,y:v,text:o.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:m})}),f.add(x)}var M=n.getModel("detail");if(M.get("show")){var b=M.get("offsetCenter"),w=r.cx+yo(b[0],r.r),L=r.cy+yo(b[1],r.r),S=yo(M.get("width"),r.r),D=yo(M.get("height"),r.r),T=t.get(["progress","show"])?o.getItemVisual(e,"style").fill:m,k=(x=h[e],M.get("formatter"));x.attr({style:Jp(M,{x:w,y:L,text:xE(a,k),width:isNaN(S)?null:S,height:isNaN(D)?null:D,align:"center",verticalAlign:"middle"},{inheritColor:T})}),lf(x,{normal:M},a,(function(t){return xE(t,k)})),p&&uf(x,e,o,t,{getFormattedLabel:function(t,e,n,i,r,o){return xE(o?o.interpolatedValue:a,k)}}),f.add(x)}d.add(f)})),this.group.add(d),this._titleEls=c,this._detailEls=h},e.type="gauge",e}(gv),wE=bE,LE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n.useColorPaletteOnData=!0,n}return Vt(e,t),e.prototype.getInitialData=function(t,e){return wk(this,["value"])},e.type="series.gauge",e.defaultOption={zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12},pointer:{icon:null,offsetCenter:[0,0],show:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(rv),SE=LE;function DE(t){t.registerChartView(wE),t.registerSeriesModel(SE)}var TE=["itemStyle","opacity"],kE=function(t){function e(e,n){var i=t.call(this)||this,r=i,a=new Oh,o=new wd;return r.setTextContent(o),i.setTextGuideLine(a),i.updateData(e,n,!0),i}return Vt(e,t),e.prototype.updateData=function(t,e,n){var i=this,r=t.hostModel,a=t.getItemModel(e),o=t.getItemLayout(e),s=a.getModel("emphasis"),l=a.get(TE);l=null==l?1:l,i.useStyle(t.getItemVisual(e,"style")),i.style.lineJoin="round",n?(i.setShape({points:o.points}),i.style.opacity=0,kp(i,{style:{opacity:l}},r,e)):Tp(i,{style:{opacity:l},shape:{points:o.points}},r,e),Lc(i,a),this._updateLabel(t,e),xc(this,s.get("focus"),s.get("blurScope"))},e.prototype._updateLabel=function(t,e){var n=this,i=this.getTextGuideLine(),r=n.getTextContent(),a=t.hostModel,o=t.getItemModel(e),s=t.getItemLayout(e),l=s.label,u=t.getItemVisual(e,"style"),d=u.fill;qp(r,$p(o),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:u.opacity,defaultText:t.getName(e)},{normal:{align:l.textAlign,verticalAlign:l.verticalAlign}}),n.setTextConfig({local:!0,inside:!!l.inside,insideStroke:d,outsideFill:d});var c=l.linePoints;i.setShape({points:c}),n.textGuideLineConfig={anchor:c?new Cr(c[0][0],c[0][1]):null},Tp(r,{style:{x:l.x,y:l.y}},a,e),r.attr({rotation:l.rotation,originX:l.x,originY:l.y,z2:10}),Ex(n,Rx(o),{stroke:d})},e}(Ch),YE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return Vt(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,a=this.group;i.diff(r).add((function(t){var e=new kE(i,t);i.setItemGraphicEl(t,e),a.add(e)})).update((function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),a.add(n),i.setItemGraphicEl(t,n)})).remove((function(e){var n=r.getItemGraphicEl(e);Cp(n,t,e)})).execute(),this._data=i},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(gv),IE=YE,CE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.useColorPaletteOnData=!0,n}return Vt(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new Sk(ke(this.getData,this),ke(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return wk(this,{coordDimensions:["value"],encodeDefaulter:Ye(dg,this)})},e.prototype._defaultLabelLine=function(t){Fo(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),a=n.getSum(r);return i.percent=a?+(n.get(r,e)/a*100).toFixed(2):0,i.$vars.push("percent"),i},e.type="series.funnel",e.defaultOption={zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(rv),AE=CE;function PE(t,e){return Em(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function OE(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),r=[],a="ascending"===e,o=0,s=t.count();o<s;o++)r[o]=o;return"function"===typeof e?r.sort(e):"none"!==e&&r.sort((function(t,e){return a?i[t]-i[e]:i[e]-i[t]})),r}function HE(t){var e=t.hostModel,n=e.get("orient");t.each((function(e){var i,r,a,o,s=t.getItemModel(e),l=s.getModel("label"),u=l.get("position"),d=s.getModel("labelLine"),c=t.getItemLayout(e),h=c.points,p="inner"===u||"inside"===u||"center"===u||"insideLeft"===u||"insideRight"===u;if(p)"insideLeft"===u?(r=(h[0][0]+h[3][0])/2+5,a=(h[0][1]+h[3][1])/2,i="left"):"insideRight"===u?(r=(h[1][0]+h[2][0])/2-5,a=(h[1][1]+h[2][1])/2,i="right"):(r=(h[0][0]+h[1][0]+h[2][0]+h[3][0])/4,a=(h[0][1]+h[1][1]+h[2][1]+h[3][1])/4,i="center"),o=[[r,a],[r,a]];else{var f=void 0,m=void 0,g=void 0,y=void 0,_=d.get("length");0,"left"===u?(f=(h[3][0]+h[0][0])/2,m=(h[3][1]+h[0][1])/2,g=f-_,r=g-5,i="right"):"right"===u?(f=(h[1][0]+h[2][0])/2,m=(h[1][1]+h[2][1])/2,g=f+_,r=g+5,i="left"):"top"===u?(f=(h[3][0]+h[0][0])/2,m=(h[3][1]+h[0][1])/2,y=m-_,a=y-5,i="center"):"bottom"===u?(f=(h[1][0]+h[2][0])/2,m=(h[1][1]+h[2][1])/2,y=m+_,a=y+5,i="center"):"rightTop"===u?(f="horizontal"===n?h[3][0]:h[1][0],m="horizontal"===n?h[3][1]:h[1][1],"horizontal"===n?(y=m-_,a=y-5,i="center"):(g=f+_,r=g+5,i="top")):"rightBottom"===u?(f=h[2][0],m=h[2][1],"horizontal"===n?(y=m+_,a=y+5,i="center"):(g=f+_,r=g+5,i="bottom")):"leftTop"===u?(f=h[0][0],m="horizontal"===n?h[0][1]:h[1][1],"horizontal"===n?(y=m-_,a=y-5,i="center"):(g=f-_,r=g-5,i="right")):"leftBottom"===u?(f="horizontal"===n?h[1][0]:h[3][0],m="horizontal"===n?h[1][1]:h[2][1],"horizontal"===n?(y=m+_,a=y+5,i="center"):(g=f-_,r=g-5,i="right")):(f=(h[1][0]+h[2][0])/2,m=(h[1][1]+h[2][1])/2,"horizontal"===n?(y=m+_,a=y+5,i="center"):(g=f+_,r=g+5,i="left")),"horizontal"===n?(g=f,r=g):(y=m,a=y),o=[[f,m],[g,y]]}c.label={linePoints:o,x:r,y:a,verticalAlign:"middle",textAlign:i,inside:p}}))}function NE(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),a=PE(t,e),o=t.get("orient"),s=a.width,l=a.height,u=OE(n,r),d=a.x,c=a.y,h="horizontal"===o?[yo(t.get("minSize"),l),yo(t.get("maxSize"),l)]:[yo(t.get("minSize"),s),yo(t.get("maxSize"),s)],p=n.getDataExtent(i),f=t.get("min"),m=t.get("max");null==f&&(f=Math.min(p[0],0)),null==m&&(m=p[1]);var g=t.get("funnelAlign"),y=t.get("gap"),_="horizontal"===o?s:l,v=(_-y*(n.count()-1))/n.count(),x=function(t,e){if("horizontal"===o){var r=n.get(i,t)||0,a=go(r,[f,m],h,!0),u=void 0;switch(g){case"top":u=c;break;case"center":u=c+(l-a)/2;break;case"bottom":u=c+(l-a);break}return[[e,u],[e,u+a]]}var p,y=n.get(i,t)||0,_=go(y,[f,m],h,!0);switch(g){case"left":p=d;break;case"center":p=d+(s-_)/2;break;case"right":p=d+s-_;break}return[[p,e],[p+_,e]]};"ascending"===r&&(v=-v,y=-y,"horizontal"===o?d+=s:c+=l,u=u.reverse());for(var M=0;M<u.length;M++){var b=u[M],w=u[M+1],L=n.getItemModel(b);if("horizontal"===o){var S=L.get(["itemStyle","width"]);null==S?S=v:(S=yo(S,s),"ascending"===r&&(S=-S));var D=x(b,d),T=x(w,d+S);d+=S+y,n.setItemLayout(b,{points:D.concat(T.slice().reverse())})}else{var k=L.get(["itemStyle","height"]);null==k?k=v:(k=yo(k,l),"ascending"===r&&(k=-k));D=x(b,c),T=x(w,c+k);c+=k+y,n.setItemLayout(b,{points:D.concat(T.slice().reverse())})}}HE(n)}))}function EE(t){t.registerChartView(IE),t.registerSeriesModel(AE),t.registerLayout(NE),t.registerProcessor(pk("funnel"))}var RE=.3,zE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._dataGroup=new ro,n._initialized=!1,n}return Vt(e,t),e.prototype.init=function(){this.group.add(this._dataGroup)},e.prototype.render=function(t,e,n,i){var r=this._dataGroup,a=t.getData(),o=this._data,s=t.coordinateSystem,l=s.dimensions,u=VE(t);function d(t){var e=FE(a,r,t,l,s);WE(e,a,t,u)}function c(e,n){var i=o.getItemGraphicEl(n),r=BE(a,e,l,s);a.setItemGraphicEl(e,i),Tp(i,{shape:{points:r}},t,e),WE(i,a,e,u)}function h(t){var e=o.getItemGraphicEl(t);r.remove(e)}if(a.diff(o).add(d).update(c).remove(h).execute(),!this._initialized){this._initialized=!0;var p=jE(s,t,(function(){setTimeout((function(){r.removeClipPath()}))}));r.setClipPath(p)}this._data=a},e.prototype.incrementalPrepareRender=function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},e.prototype.incrementalRender=function(t,e,n){for(var i=e.getData(),r=e.coordinateSystem,a=r.dimensions,o=VE(e),s=t.start;s<t.end;s++){var l=FE(i,this._dataGroup,s,a,r);l.incremental=!0,WE(l,i,s,o)}},e.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},e.type="parallel",e}(gv);function jE(t,e,n){var i=t.model,r=t.getRect(),a=new ud({shape:{x:r.x,y:r.y,width:r.width,height:r.height}}),o="horizontal"===i.get("layout")?"width":"height";return a.setShape(o,0),kp(a,{shape:{width:r.width,height:r.height}},e,n),a}function BE(t,e,n,i){for(var r=[],a=0;a<n.length;a++){var o=n[a],s=t.get(t.mapDimension(o),e);GE(s,i.getAxis(o).type)||r.push(i.dataToPoint(s,o))}return r}function FE(t,e,n,i,r){var a=BE(t,n,i,r),o=new Oh({shape:{points:a},z2:10});return e.add(o),t.setItemGraphicEl(n,o),o}function VE(t){var e=t.get("smooth",!0);return!0===e&&(e=RE),e=Oo(e),Fe(e)&&(e=0),{smooth:e}}function WE(t,e,n,i){t.useStyle(e.getItemVisual(n,"style")),t.style.fill=null,t.setShape("smooth",i.smooth);var r=e.getItemModel(n),a=r.getModel("emphasis");Lc(t,r,"lineStyle"),xc(t,a.get("focus"),a.get("blurScope"))}function GE(t,e){return"category"===e?null==t:null==t||isNaN(t)}var UE=zE,XE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return Vt(e,t),e.prototype.getInitialData=function(t,e){return pD(this.getSource(),this,{useEncodeDefaulter:ke(ZE,null,this)})},e.prototype.getRawIndicesByActiveState=function(t){var e=this.coordinateSystem,n=this.getData(),i=[];return e.eachActiveState(n,(function(e,r){t===e&&i.push(n.getRawIndex(r))})),i},e.type="series.parallel",e.dependencies=["parallel"],e.defaultOption={zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},e}(rv);function ZE(t){var e=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(e){var n={};return Me(e.dimensions,(function(t){var e=qE(t);n[t]=e})),n}}function qE(t){return+t.replace("dim","")}var $E=XE,JE=["lineStyle","opacity"],KE={seriesType:"parallel",reset:function(t,e){var n=t.coordinateSystem,i={normal:t.get(["lineStyle","opacity"]),active:t.get("activeOpacity"),inactive:t.get("inactiveOpacity")};return{progress:function(t,e){n.eachActiveState(e,(function(t,n){var r=i[t];if("normal"===t&&e.hasItemOption){var a=e.getItemModel(n).get(JE,!0);null!=a&&(r=a)}var o=e.ensureUniqueItemVisual(n,"style");o.opacity=r}),t.start,t.end)}}}},QE=KE;function tR(t){eR(t),nR(t)}function eR(t){if(!t.parallel){var e=!1;Me(t.series,(function(t){t&&"parallel"===t.type&&(e=!0)})),e&&(t.parallel=[{}])}}function nR(t){var e=Bo(t.parallelAxis);Me(e,(function(e){if(He(e)){var n=e.parallelIndex||0,i=Bo(t.parallel)[n];i&&i.parallelAxisDefault&&he(e,i.parallelAxisDefault,!1)}}))}var iR=5,rR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.render=function(t,e,n){this._model=t,this._api=n,this._handlers||(this._handlers={},Me(aR,(function(t,e){n.getZr().on(e,this._handlers[e]=ke(t,this))}),this)),Mv(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},e.prototype.dispose=function(t,e){Me(this._handlers,(function(t,n){e.getZr().off(n,t)})),this._handlers=null},e.prototype._throttledDispatchExpand=function(t){this._dispatchExpand(t)},e.prototype._dispatchExpand=function(t){t&&this._api.dispatchAction(fe({type:"parallelAxisExpand"},t))},e.type="parallel",e}(ov),aR={mousedown:function(t){oR(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(oR(this,"click")&&e){var n=[t.offsetX,t.offsetY],i=Math.pow(e[0]-n[0],2)+Math.pow(e[1]-n[1],2);if(i>iR)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&oR(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function oR(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var sR=rR,lR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&he(e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){Me(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],n=Le(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this);Me(n,(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(Xm),uR=lR,dR=function(t){function e(e,n,i,r,a){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o.axisIndex=a,o}return Vt(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(kI),cR=dR;function hR(t,e,n,i,r,a){t=t||0;var o=n[1]-n[0];if(null!=r&&(r=fR(r,[0,o])),null!=a&&(a=Math.max(a,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=fR(s,[0,o]),r=a=fR(s,[r,a]),i=0}e[0]=fR(e[0],n),e[1]=fR(e[1],n);var l=pR(e,i);e[i]+=t;var u,d=r||0,c=n.slice();return l.sign<0?c[0]+=d:c[1]-=d,e[i]=fR(e[i],c),u=pR(e,i),null!=r&&(u.sign!==l.sign||u.span<r)&&(e[1-i]=e[i]+l.sign*r),u=pR(e,i),null!=a&&u.span>a&&(e[1-i]=e[i]+u.sign*a),e}function pR(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function fR(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var mR=Me,gR=Math.min,yR=Math.max,_R=Math.floor,vR=Math.ceil,xR=_o,MR=Math.PI,bR=function(){function t(t,e,n){this.type="parallel",this._axesMap=tn(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=t.dimensions,r=t.parallelAxisIndex;mR(i,(function(t,n){var i=r[n],a=e.getComponent("parallelAxis",i),o=this._axesMap.set(t,new cR(t,XY(a),[0,0],a.get("type"),i)),s="category"===o.type;o.onBand=s&&a.get("boundaryGap"),o.inverse=a.get("inverse"),a.axis=o,o.model=a,o.coordinateSystem=a.coordinateSystem=this}),this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,a=t[1-r],o=t[r];return a>=n&&a<=n+e.axisLength&&o>=i&&o<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var i=n.getData();mR(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),UY(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=Em(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],a=e.get("layout"),o="horizontal"===a?0:1,s=n[r[o]],l=[0,s],u=this.dimensions.length,d=wR(e.get("axisExpandWidth"),l),c=wR(e.get("axisExpandCount")||0,[0,u]),h=e.get("axisExpandable")&&u>3&&u>c&&c>1&&d>0&&s>0,p=e.get("axisExpandWindow");if(p)t=wR(p[1]-p[0],l),p[1]=p[0]+t;else{t=wR(d*(c-1),l);var f=e.get("axisExpandCenter")||_R(u/2);p=[d*f-t/2],p[1]=p[0]+t}var m=(s-t)/(u-c);m<3&&(m=0);var g=[_R(xR(p[0]/d,1))+1,vR(xR(p[1]/d,1))-1],y=m/d*p[0];return{layout:a,pixelDimIndex:o,layoutBase:n[i[o]],layoutLength:s,axisBase:n[i[1-o]],axisLength:n[r[1-o]],axisExpandable:h,axisExpandWidth:d,axisCollapseWidth:m,axisExpandWindow:p,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:y}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each((function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),mR(n,(function(e,n){var a=(i.axisExpandable?SR:LR)(n,i),o={horizontal:{x:a.position,y:i.axisLength},vertical:{x:0,y:a.position}},s={horizontal:MR/2,vertical:0},l=[o[r].x+t.x,o[r].y+t.y],u=s[r],d=fi();vi(d,d,u),_i(d,d,l),this._axesLayout[e]={position:l,rotation:u,transform:d,axisNameAvailableWidth:a.axisNameAvailableWidth,axisLabelShow:a.axisLabelShow,nameTruncateMaxWidth:a.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var r=this._axesMap,a=this.dimensions,o=[],s=[];Me(a,(function(e){o.push(t.mapDimension(e)),s.push(r.get(e).model)}));for(var l=this.hasAxisBrushed(),u=n;u<i;u++){var d=void 0;if(l){d="active";for(var c=t.getValues(o,u),h=0,p=a.length;h<p;h++){var f=s[h].getActiveState(c[h]);if("inactive"===f){d="inactive";break}}}else d="normal";e(d,u)}},t.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,e=this._axesMap,n=!1,i=0,r=t.length;i<r;i++)"normal"!==e.get(t[i]).model.getActiveState()&&(n=!0);return n},t.prototype.axisCoordToPoint=function(t,e){var n=this._axesLayout[e];return Op([t,0],n.transform)},t.prototype.getAxisLayout=function(t){return ce(this._axesLayout[t])},t.prototype.getSlidedAxisExpandWindow=function(t){var e=this._makeLayoutInfo(),n=e.pixelDimIndex,i=e.axisExpandWindow.slice(),r=i[1]-i[0],a=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:i};var o,s=t[n]-e.layoutBase-e.axisExpandWindow0Pos,l="slide",u=e.axisCollapseWidth,d=this._model.get("axisExpandSlideTriggerArea"),c=null!=d[0];if(u)c&&u&&s<r*d[0]?(l="jump",o=s-r*d[2]):c&&u&&s>r*(1-d[0])?(l="jump",o=s-r*(1-d[2])):(o=s-r*d[1])>=0&&(o=s-r*(1-d[1]))<=0&&(o=0),o*=e.axisExpandWidth/u,o?hR(o,i,a,"all"):l="none";else{var h=i[1]-i[0],p=a[1]*s/h;i=[yR(0,p-h/2)],i[1]=gR(a[1],i[0]+h),i[0]=i[1]-h}return{axisExpandWindow:i,behavior:l}},t}();function wR(t,e){return gR(yR(t,e[0]),e[1])}function LR(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function SR(t,e){var n,i,r=e.layoutLength,a=e.axisExpandWidth,o=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,d=!1;return t<l[0]?(n=t*s,i=s):t<=l[1]?(n=e.axisExpandWindow0Pos+t*a-e.axisExpandWindow[0],u=a,d=!0):(n=r-(o-1-t)*s,i=s),{position:n,axisNameAvailableWidth:u,axisLabelShow:d,nameTruncateMaxWidth:i}}var DR=bR;function TR(t,e){var n=[];return t.eachComponent("parallel",(function(i,r){var a=new DR(i,t,e);a.name="parallel_"+r,a.resize(i,e),i.coordinateSystem=a,a.model=i,n.push(a)})),t.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var e=t.getReferringComponents("parallel",hs).models[0];t.coordinateSystem=e.coordinateSystem}})),n}var kR={create:TR},YR=kR,IR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.activeIntervals=[],n}return Vt(e,t),e.prototype.getAreaSelectStyle=function(){return Os([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},e.prototype.setActiveIntervals=function(t){var e=this.activeIntervals=ce(t);if(e)for(var n=e.length-1;n>=0;n--)vo(e[n])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i<r;i++)if(e[i][0]<=t&&t<=e[i][1])return"active";return"inactive"},e}(Xm);ve(IR,jk);var CR=IR,AR=!0,PR=Math.min,OR=Math.max,HR=Math.pow,NR=1e4,ER=6,RR=6,zR="globalPan",jR={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},BR={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},FR={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},VR=0,WR=function(t){function e(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new ro,n._uid="brushController_"+VR++,Me(bz,(function(t,e){this._handlers[e]=ke(t,this)}),n),n}return Vt(e,t),e.prototype.enableBrush=function(t){return this._brushType&&this._doDisableBrush(),t.brushType&&this._doEnableBrush(t),this},e.prototype._doEnableBrush=function(t){var e=this._zr;this._enableGlobalPan||qC(e,zR,this._uid),Me(this._handlers,(function(t,n){e.on(n,t)})),this._brushType=t.brushType,this._brushOption=he(ce(FR),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;$C(t,zR,this._uid),Me(this._handlers,(function(e,n){t.off(n,e)})),this._brushType=this._brushOption=null},e.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};Me(t,(function(t){e[t.panelId]=ce(t)}))}else this._panels=null;return this},e.prototype.mount=function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({x:t.x||0,y:t.y||0,rotation:t.rotation||0,scaleX:t.scaleX||1,scaleY:t.scaleY||1}),this._transform=e.getLocalTransform(),this},e.prototype.updateCovers=function(t){t=be(t,(function(t){return he(ce(FR),t,!0)}));var e="\0-brush-index-",n=this._covers,i=this._covers=[],r=this,a=this._creatingCover;return new yS(n,t,s,o).add(l).update(l).remove(u).execute(),this;function o(t,n){return(null!=t.id?t.id:e+n)+"-"+t.brushType}function s(t,e){return o(t.__brushOption,e)}function l(e,o){var s=t[e];if(null!=o&&n[o]===a)i[e]=n[o];else{var l=i[e]=null!=o?(n[o].__brushOption=s,n[o]):UR(r,GR(r,s));qR(r,l)}}function u(t){n[t]!==a&&r.group.remove(n[t])}},e.prototype.unmount=function(){return this.enableBrush(!1),QR(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(Cn);function GR(t,e){var n=Sz[e.brushType].createCover(t,e);return n.__brushOption=e,ZR(n,e),t.group.add(n),n}function UR(t,e){var n=$R(e);return n.endCreating&&(n.endCreating(t,e),ZR(e,e.__brushOption)),e}function XR(t,e){var n=e.__brushOption;$R(e).updateCoverShape(t,e,n.range,n)}function ZR(t,e){var n=e.z;null==n&&(n=NR),t.traverse((function(t){t.z=n,t.z2=n}))}function qR(t,e){$R(e).updateCommon(t,e),XR(t,e)}function $R(t){return Sz[t.__brushOption.brushType]}function JR(t,e,n){var i,r=t._panels;if(!r)return AR;var a=t._transform;return Me(r,(function(t){t.isTargetByCursor(e,n,a)&&(i=t)})),i}function KR(t,e){var n=t._panels;if(!n)return AR;var i=e.__brushOption.panelId;return null!=i?n[i]:AR}function QR(t){var e=t._covers,n=e.length;return Me(e,(function(e){t.group.remove(e)}),t),e.length=0,!!n}function tz(t,e){var n=be(t._covers,(function(t){var e=t.__brushOption,n=ce(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}}));t.trigger("brush",{areas:n,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function ez(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],i=e[0],r=n[0]-i[0],a=n[1]-i[1],o=HR(r*r+a*a,.5);return o>ER}function nz(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function iz(t,e,n,i){var r=new ro;return r.add(new ud({name:"main",style:sz(n),silent:!0,draggable:!0,cursor:"move",drift:Ye(hz,t,e,r,["n","s","w","e"]),ondragend:Ye(tz,e,{isEnd:!0})})),Me(i,(function(n){r.add(new ud({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Ye(hz,t,e,r,n),ondragend:Ye(tz,e,{isEnd:!0})}))})),r}function rz(t,e,n,i){var r=i.brushStyle.lineWidth||0,a=OR(r,RR),o=n[0][0],s=n[1][0],l=o-r/2,u=s-r/2,d=n[0][1],c=n[1][1],h=d-a+r/2,p=c-a+r/2,f=d-o,m=c-s,g=f+r,y=m+r;oz(t,e,"main",o,s,f,m),i.transformable&&(oz(t,e,"w",l,u,a,y),oz(t,e,"e",h,u,a,y),oz(t,e,"n",l,u,g,a),oz(t,e,"s",l,p,g,a),oz(t,e,"nw",l,u,a,a),oz(t,e,"ne",h,u,a,a),oz(t,e,"sw",l,p,a,a),oz(t,e,"se",h,p,a,a))}function az(t,e){var n=e.__brushOption,i=n.transformable,r=e.childAt(0);r.useStyle(sz(n)),r.attr({silent:!i,cursor:i?"move":"default"}),Me([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var r=e.childOfName(n.join("")),a=1===n.length?dz(t,n[0]):cz(t,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?BR[a]+"-resize":null})}))}function oz(t,e,n,i,r,a,o){var s=e.childOfName(n);s&&s.setShape(gz(mz(t,e,[[i,r],[i+a,r+o]])))}function sz(t){return me({strokeNoScale:!0},t.brushStyle)}function lz(t,e,n,i){var r=[PR(t,n),PR(e,i)],a=[OR(t,n),OR(e,i)];return[[r[0],a[0]],[r[1],a[1]]]}function uz(t){return Pp(t.group)}function dz(t,e){var n={w:"left",e:"right",n:"top",s:"bottom"},i={left:"w",right:"e",top:"n",bottom:"s"},r=Hp(n[e],uz(t));return i[r]}function cz(t,e){var n=[dz(t,e[0]),dz(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}function hz(t,e,n,i,r,a){var o=n.__brushOption,s=t.toRectRange(o.range),l=fz(e,r,a);Me(i,(function(t){var e=jR[t];s[e[0]][e[1]]+=l[e[0]]})),o.range=t.fromRectRange(lz(s[0][0],s[1][0],s[0][1],s[1][1])),qR(e,n),tz(e,{isEnd:!1})}function pz(t,e,n,i){var r=e.__brushOption.range,a=fz(t,n,i);Me(r,(function(t){t[0]+=a[0],t[1]+=a[1]})),qR(t,e),tz(t,{isEnd:!1})}function fz(t,e,n){var i=t.group,r=i.transformCoordToLocal(e,n),a=i.transformCoordToLocal(0,0);return[r[0]-a[0],r[1]-a[1]]}function mz(t,e,n){var i=KR(t,e);return i&&i!==AR?i.clipPath(n,t._transform):ce(n)}function gz(t){var e=PR(t[0][0],t[1][0]),n=PR(t[0][1],t[1][1]),i=OR(t[0][0],t[1][0]),r=OR(t[0][1],t[1][1]);return{x:e,y:n,width:i-e,height:r-n}}function yz(t,e,n){if(t._brushType&&!Lz(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,a=JR(t,e,n);if(!t._dragging)for(var o=0;o<r.length;o++){var s=r[o].__brushOption;if(a&&(a===AR||s.panelId===a.panelId)&&Sz[s.brushType].contain(r[o],n[0],n[1]))return}a&&i.setCursorStyle("crosshair")}}function _z(t){var e=t.event;e.preventDefault&&e.preventDefault()}function vz(t,e,n){return t.childOfName("main").contain(e,n)}function xz(t,e,n,i){var r,a=t._creatingCover,o=t._creatingPanel,s=t._brushOption;if(t._track.push(n.slice()),ez(t)||a){if(o&&!a){"single"===s.brushMode&&QR(t);var l=ce(s);l.brushType=Mz(l.brushType,o),l.panelId=o===AR?null:o.panelId,a=t._creatingCover=GR(t,l),t._covers.push(a)}if(a){var u=Sz[Mz(t._brushType,o)],d=a.__brushOption;d.range=u.getCreatingRange(mz(t,a,t._track)),i&&(UR(t,a),u.updateCommon(t,a)),XR(t,a),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&JR(t,e,n)&&QR(t)&&(r={isEnd:i,removeOnClick:!0});return r}function Mz(t,e){return"auto"===t?e.defaultBrushType:t}var bz={mousedown:function(t){if(this._dragging)wz(this,t);else if(!t.target||!t.target.draggable){_z(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null;var n=this._creatingPanel=JR(this,t,e);n&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(yz(this,t,i),this._dragging){_z(t);var r=xz(this,t,i,!1);r&&tz(this,r)}},mouseup:function(t){wz(this,t)}};function wz(t,e){if(t._dragging){_z(e);var n=e.offsetX,i=e.offsetY,r=t.group.transformCoordToLocal(n,i),a=xz(t,e,r,!0);t._dragging=!1,t._track=[],t._creatingCover=null,a&&tz(t,a)}}function Lz(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}var Sz={lineX:Dz(0),lineY:Dz(1),rect:{createCover:function(t,e){function n(t){return t}return iz({toRectRange:n,fromRectRange:n},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=nz(t);return lz(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,i){rz(t,e,n,i)},updateCommon:az,contain:vz},polygon:{createCover:function(t,e){var n=new ro;return n.add(new Oh({name:"main",style:sz(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new Ch({name:"main",draggable:!0,drift:Ye(pz,t,e),ondragend:Ye(tz,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:mz(t,e,n)})},updateCommon:az,contain:vz}};function Dz(t){return{createCover:function(e,n){return iz({toRectRange:function(e){var n=[e,[0,100]];return t&&n.reverse(),n},fromRectRange:function(e){return e[t]}},e,n,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var n=nz(e),i=PR(n[0][t],n[1][t]),r=OR(n[0][t],n[1][t]);return[i,r]},updateCoverShape:function(e,n,i,r){var a,o=KR(e,n);if(o!==AR&&o.getLinearBrushOtherExtent)a=o.getLinearBrushOtherExtent(t);else{var s=e._zr;a=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[i,a];t&&l.reverse(),rz(e,n,l,r)},updateCommon:az,contain:vz}}var Tz=WR;function kz(t){return t=Cz(t),function(e){return zp(e,t)}}function Yz(t,e){return t=Cz(t),function(n){var i=null!=e?e:n,r=i?t.width:t.height,a=i?t.x:t.y;return[a,a+(r||0)]}}function Iz(t,e,n){var i=Cz(t);return function(t,r){return i.contain(r[0],r[1])&&!sA(t,e,n)}}function Cz(t){return Br.create(t)}var Az=["axisLine","axisTickLabel","axisName"],Pz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments),(this._brushController=new Tz(n.getZr())).on("brush",ke(this._onBrush,this))},e.prototype.render=function(t,e,n,i){if(!Oz(t,e,i)){this.axisModel=t,this.api=n,this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new ro,this.group.add(this._axisGroup),t.get("show")){var a=Nz(t,e),o=a.coordinateSystem,s=t.getAreaSelectStyle(),l=s.width,u=t.axis.dim,d=o.getAxisLayout(u),c=fe({strokeContainThreshold:l},d),h=new KI(t,c);Me(Az,h.add,h),this._axisGroup.add(h.getGroup()),this._refreshBrushController(c,s,t,a,l,n),Rp(r,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,e,n,i,r,a){var o=n.axis.getExtent(),s=o[1]-o[0],l=Math.min(30,.1*Math.abs(s)),u=Br.create({x:o[0],y:-r/2,width:s,height:r});u.x-=l,u.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:"pl",clipPath:kz(u),isTargetByCursor:Iz(u,a,i),getLinearBrushOtherExtent:Yz(u,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(Hz(n))},e.prototype._onBrush=function(t){var e=t.areas,n=this.axisModel,i=n.axis,r=be(e,(function(t){return[i.coordToData(t.range[0],!0),i.coordToData(t.range[1],!0)]}));(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:r})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(ov);function Oz(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}function Hz(t){var e=t.axis;return be(t.activeIntervals,(function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}}))}function Nz(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}var Ez=Pz,Rz={type:"axisAreaSelect",event:"axisAreaSelected"};function zz(t){t.registerAction(Rz,(function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},(function(e){e.axis.model.setActiveIntervals(t.intervals)}))})),t.registerAction("parallelAxisExpand",(function(t,e){e.eachComponent({mainType:"parallel",query:t},(function(e){e.setAxisExpand(t)}))}))}var jz={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function Bz(t){t.registerComponentView(sR),t.registerComponentModel(uR),t.registerCoordinateSystem("parallel",YR),t.registerPreprocessor(tR),t.registerComponentModel(CR),t.registerComponentView(Ez),Kk(t,"parallel",CR,jz),zz(t)}function Fz(t){Vw(Bz),t.registerChartView(UE),t.registerSeriesModel($E),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,QE)}var Vz=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return t}(),Wz=function(t){function e(e){return t.call(this,e)||this}return Vt(e,t),e.prototype.getDefaultShape=function(){return new Vz},e.prototype.buildPath=function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},e.prototype.highlight=function(){sc(this)},e.prototype.downplay=function(){lc(this)},e}(Uu),Gz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._focusAdjacencyDisabled=!1,n}return Vt(e,t),e.prototype.render=function(t,e,n){var i=this,r=t.getGraph(),a=this.group,o=t.layoutInfo,s=o.width,l=o.height,u=t.getData(),d=t.getData("edge"),c=t.get("orient");this._model=t,a.removeAll(),a.x=o.x,a.y=o.y,r.eachEdge((function(e){var n=new Wz,i=Ld(n);i.dataIndex=e.dataIndex,i.seriesIndex=t.seriesIndex,i.dataType="edge";var r,o,u,h,p,f,m,g,y=e.getModel(),_=y.getModel("lineStyle"),v=_.get("curveness"),x=e.node1.getLayout(),M=e.node1.getModel(),b=M.get("localX"),w=M.get("localY"),L=e.node2.getLayout(),S=e.node2.getModel(),D=S.get("localX"),T=S.get("localY"),k=e.getLayout();switch(n.shape.extent=Math.max(1,k.dy),n.shape.orient=c,"vertical"===c?(r=(null!=b?b*s:x.x)+k.sy,o=(null!=w?w*l:x.y)+x.dy,u=(null!=D?D*s:L.x)+k.ty,h=null!=T?T*l:L.y,p=r,f=o*(1-v)+h*v,m=u,g=o*v+h*(1-v)):(r=(null!=b?b*s:x.x)+x.dx,o=(null!=w?w*l:x.y)+k.sy,u=null!=D?D*s:L.x,h=(null!=T?T*l:L.y)+k.ty,p=r*(1-v)+u*v,f=o,m=r*v+u*(1-v),g=h),n.setShape({x1:r,y1:o,x2:u,y2:h,cpx1:p,cpy1:f,cpx2:m,cpy2:g}),n.useStyle(_.getItemStyle()),n.style.fill){case"source":n.style.fill=e.node1.getVisual("color"),n.style.decal=e.node1.getVisual("style").decal;break;case"target":n.style.fill=e.node2.getVisual("color"),n.style.decal=e.node2.getVisual("style").decal;break;case"gradient":var Y=e.node1.getVisual("color"),I=e.node2.getVisual("color");"string"===typeof Y&&"string"===typeof I&&(n.style.fill=new Kh(0,0,1,0,[{color:Y,offset:0},{color:I,offset:1}]))}var C=y.getModel("emphasis");Lc(n,y,"lineStyle",(function(t){return t.getItemStyle()})),a.add(n),d.setItemGraphicEl(e.dataIndex,n);var A=C.get("focus");xc(n,"adjacency"===A?e.getAdjacentDataIndices():A,C.get("blurScope")),Ld(n).dataType="edge"})),r.eachNode((function(e){var n=e.getLayout(),i=e.getModel(),r=i.get("localX"),o=i.get("localY"),d=i.getModel("emphasis"),c=new ud({shape:{x:null!=r?r*s:n.x,y:null!=o?o*l:n.y,width:n.dx,height:n.dy},style:i.getModel("itemStyle").getItemStyle()});qp(c,$p(i),{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id}),c.disableLabelAnimation=!0,c.setStyle("fill",e.getVisual("color")),c.setStyle("decal",e.getVisual("style").decal),Lc(c,i),a.add(c),u.setItemGraphicEl(e.dataIndex,c),Ld(c).dataType="node";var h=d.get("focus");xc(c,"adjacency"===h?e.getAdjacentDataIndices():h,d.get("blurScope"))})),u.eachItemGraphicEl((function(e,r){var a=u.getItemModel(r);a.get("draggable")&&(e.drift=function(e,a){i._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=a,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:u.getRawIndex(r),localX:this.shape.x/s,localY:this.shape.y/l})},e.ondragend=function(){i._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move")})),!this._data&&t.isAnimationEnabled()&&a.setClipPath(Uz(a.getBoundingRect(),t,(function(){a.removeClipPath()}))),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(gv);function Uz(t,e,n){var i=new ud({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return kp(i,{shape:{width:t.width+20}},e,n),i}var Xz=Gz,Zz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.getInitialData=function(t,e){var n=t.edges||t.links,i=t.data||t.nodes,r=t.levels;this.levelModels=[];for(var a=this.levelModels,o=0;o<r.length;o++)null!=r[o].depth&&r[o].depth>=0&&(a[r[o].depth]=new Mf(r[o],this,e));if(i&&n){var s=cE(i,n,this,!0,l);return s.data}function l(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=i.depth,a=n.levelModels[r];a&&(t.parentModel=a)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e),r=i.node1.getLayout();if(r){var a=r.depth,o=n.levelModels[a];o&&(t.parentModel=o)}return t}))}},e.prototype.setNodePosition=function(t,e){var n=this.option.data[t];n.localX=e[0],n.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,n){function i(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),a=r.data,o=r.value,s=a.source+" -- "+a.target;return C_("nameValue",{name:s,value:o,noValue:i(o)})}var l=this.getGraph().getNodeByIndex(t),u=l.getLayout().value,d=this.getDataParams(t,n).data.name;return C_("nameValue",{name:null!=d?d+"":null,value:u,noValue:i(u)})},e.prototype.optionUpdated=function(){this.option},e.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(e),a=r.getLayout().value;i.value=a}return i},e.type="series.sankey",e.defaultOption={zlevel:0,z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(rv),qz=Zz;function $z(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=Jz(t,e);t.layoutInfo=r;var a=r.width,o=r.height,s=t.getGraph(),l=s.nodes,u=s.edges;Qz(l);var d=Le(l,(function(t){return 0===t.getLayout().value})),c=0!==d.length?0:t.get("layoutIterations"),h=t.get("orient"),p=t.get("nodeAlign");Kz(l,u,n,i,a,o,c,h,p)}))}function Jz(t,e){return Em(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function Kz(t,e,n,i,r,a,o,s,l){tj(t,e,n,r,a,s,l),aj(t,e,a,r,i,o,s),_j(t,s)}function Qz(t){Me(t,(function(t){var e=gj(t.outEdges,mj),n=gj(t.inEdges,mj),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)}))}function tj(t,e,n,i,r,a,o){for(var s=[],l=[],u=[],d=[],c=0,h=0;h<e.length;h++)s[h]=1;for(h=0;h<t.length;h++)l[h]=t[h].inEdges.length,0===l[h]&&u.push(t[h]);var p=-1;while(u.length){for(var f=0;f<u.length;f++){var m=u[f],g=m.hostGraph.data.getRawDataItem(m.dataIndex),y=null!=g.depth&&g.depth>=0;y&&g.depth>p&&(p=g.depth),m.setLayout({depth:y?g.depth:c},!0),"vertical"===a?m.setLayout({dy:n},!0):m.setLayout({dx:n},!0);for(var _=0;_<m.outEdges.length;_++){var v=m.outEdges[_],x=e.indexOf(v);s[x]=0;var M=v.node2,b=t.indexOf(M);0===--l[b]&&d.indexOf(M)<0&&d.push(M)}}++c,u=d,d=[]}for(h=0;h<s.length;h++)if(1===s[h])throw new Error("Sankey is a DAG, the original data has cycle!");var w=p>c-1?p:c-1;o&&"left"!==o&&nj(t,o,a,w);var L="vertical"===a?(r-n)/w:(i-n)/w;rj(t,L,a)}function ej(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function nj(t,e,n,i){if("right"===e){var r=[],a=t,o=0;while(a.length){for(var s=0;s<a.length;s++){var l=a[s];l.setLayout({skNodeHeight:o},!0);for(var u=0;u<l.inEdges.length;u++){var d=l.inEdges[u];r.indexOf(d.node1)<0&&r.push(d.node1)}}a=r,r=[],++o}Me(t,(function(t){ej(t)||t.setLayout({depth:Math.max(0,i-t.getLayout().skNodeHeight)},!0)}))}else"justify"===e&&ij(t,i)}function ij(t,e){Me(t,(function(t){ej(t)||t.outEdges.length||t.setLayout({depth:e},!0)}))}function rj(t,e,n){Me(t,(function(t){var i=t.getLayout().depth*e;"vertical"===n?t.setLayout({y:i},!0):t.setLayout({x:i},!0)}))}function aj(t,e,n,i,r,a,o){var s=oj(t,o);sj(s,e,n,i,r,o),lj(s,r,n,i,o);for(var l=1;a>0;a--)l*=.99,uj(s,l,o),lj(s,r,n,i,o),yj(s,l,o),lj(s,r,n,i,o)}function oj(t,e){var n=[],i="vertical"===e?"y":"x",r=_s(t,(function(t){return t.getLayout()[i]}));return r.keys.sort((function(t,e){return t-e})),Me(r.keys,(function(t){n.push(r.buckets.get(t))})),n}function sj(t,e,n,i,r,a){var o=1/0;Me(t,(function(t){var e=t.length,s=0;Me(t,(function(t){s+=t.getLayout().value}));var l="vertical"===a?(i-(e-1)*r)/s:(n-(e-1)*r)/s;l<o&&(o=l)})),Me(t,(function(t){Me(t,(function(t,e){var n=t.getLayout().value*o;"vertical"===a?(t.setLayout({x:e},!0),t.setLayout({dx:n},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:n},!0))}))})),Me(e,(function(t){var e=+t.getValue()*o;t.setLayout({dy:e},!0)}))}function lj(t,e,n,i,r){var a="vertical"===r?"x":"y";Me(t,(function(t){var o,s,l;t.sort((function(t,e){return t.getLayout()[a]-e.getLayout()[a]}));for(var u=0,d=t.length,c="vertical"===r?"dx":"dy",h=0;h<d;h++)s=t[h],l=u-s.getLayout()[a],l>0&&(o=s.getLayout()[a]+l,"vertical"===r?s.setLayout({x:o},!0):s.setLayout({y:o},!0)),u=s.getLayout()[a]+s.getLayout()[c]+e;var p="vertical"===r?i:n;if(l=u-e-p,l>0){o=s.getLayout()[a]-l,"vertical"===r?s.setLayout({x:o},!0):s.setLayout({y:o},!0),u=o;for(h=d-2;h>=0;--h)s=t[h],l=s.getLayout()[a]+s.getLayout()[c]+e-u,l>0&&(o=s.getLayout()[a]-l,"vertical"===r?s.setLayout({x:o},!0):s.setLayout({y:o},!0)),u=s.getLayout()[a]}}))}function uj(t,e,n){Me(t.slice().reverse(),(function(t){Me(t,(function(t){if(t.outEdges.length){var i=gj(t.outEdges,dj,n)/gj(t.outEdges,mj);if(isNaN(i)){var r=t.outEdges.length;i=r?gj(t.outEdges,cj,n)/r:0}if("vertical"===n){var a=t.getLayout().x+(i-fj(t,n))*e;t.setLayout({x:a},!0)}else{var o=t.getLayout().y+(i-fj(t,n))*e;t.setLayout({y:o},!0)}}}))}))}function dj(t,e){return fj(t.node2,e)*t.getValue()}function cj(t,e){return fj(t.node2,e)}function hj(t,e){return fj(t.node1,e)*t.getValue()}function pj(t,e){return fj(t.node1,e)}function fj(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function mj(t){return t.getValue()}function gj(t,e,n){var i=0,r=t.length,a=-1;while(++a<r){var o=+e(t[a],n);isNaN(o)||(i+=o)}return i}function yj(t,e,n){Me(t,(function(t){Me(t,(function(t){if(t.inEdges.length){var i=gj(t.inEdges,hj,n)/gj(t.inEdges,mj);if(isNaN(i)){var r=t.inEdges.length;i=r?gj(t.inEdges,pj,n)/r:0}if("vertical"===n){var a=t.getLayout().x+(i-fj(t,n))*e;t.setLayout({x:a},!0)}else{var o=t.getLayout().y+(i-fj(t,n))*e;t.setLayout({y:o},!0)}}}))}))}function _j(t,e){var n="vertical"===e?"x":"y";Me(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),Me(t,(function(t){var e=0,n=0;Me(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),Me(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}function vj(t){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph(),n=e.nodes;if(n.length){var i=1/0,r=-1/0;Me(n,(function(t){var e=t.getLayout().value;e<i&&(i=e),e>r&&(r=e)})),Me(n,(function(e){var n=new xH({type:"color",mappingMethod:"linear",dataExtent:[i,r],visual:t.get("color")}),a=n.mapValueToVisual(e.getLayout().value),o=e.getModel().get(["itemStyle","color"]);null!=o?(e.setVisual("color",o),e.setVisual("style",{fill:o})):(e.setVisual("color",a),e.setVisual("style",{fill:a}))}))}}))}function xj(t){t.registerChartView(Xz),t.registerSeriesModel(qz),t.registerLayout($z),t.registerVisual(vj),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))}var Mj=function(){function t(){}return t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),a=e.getComponent("yAxis",this.get("yAxisIndex")),o=r.get("type"),s=a.get("type");"category"===o?(t.layout="horizontal",n=r.getOrdinalMeta(),i=!0):"category"===s?(t.layout="vertical",n=a.getOrdinalMeta(),i=!0):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,d=this._baseAxisDim=l[u],c=l[1-u],h=[r,a],p=h[u].get("type"),f=h[1-u].get("type"),m=t.data;if(m&&i){var g=[];Me(m,(function(t,e){var n;Ie(t)?(n=t.slice(),t.unshift(e)):Ie(t.value)?(n=t.value.slice(),t.value.unshift(e)):n=t,g.push(n)})),t.data=g}var y=this.defaultValueDimensions,_=[{name:d,type:xS(p),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:c,type:xS(f),dimsDef:y.slice()}];return wk(this,{coordDimensions:_,dimensionsCount:y.length+1,encodeDefaulter:Ye(ug,_,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),bj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return Vt(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(rv);ve(bj,Mj,!0);var wj=bj,Lj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,a=this._data;this._data||r.removeAll();var o="horizontal"===t.get("layout")?1:0;i.diff(a).add((function(t){if(i.hasValue(t)){var e=i.getItemLayout(t),n=Tj(e,i,t,o,!0);i.setItemGraphicEl(t,n),r.add(n)}})).update((function(t,e){var n=a.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?kj(s,n,i,t):n=Tj(s,i,t,o),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=a.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=i},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},e.type="boxplot",e}(gv),Sj=function(){function t(){}return t}(),Dj=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return Vt(e,t),e.prototype.getDefaultShape=function(){return new Sj},e.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();i<n.length;i++)t.moveTo(n[i][0],n[i][1]),i++,t.lineTo(n[i][0],n[i][1])},e}(Uu);function Tj(t,e,n,i,r){var a=t.ends,o=new Dj({shape:{points:r?Yj(a,i,t):a}});return kj(t,o,e,n,r),o}function kj(t,e,n,r,a){var o=n.hostModel,s=i[a?"initProps":"updateProps"];s(e,{shape:{points:t.ends}},o,r),e.useStyle(n.getItemVisual(r,"style")),e.style.strokeNoScale=!0,e.z2=100;var l=n.getItemModel(r);Lc(e,l),xc(e,l.get(["emphasis","focus"]),l.get(["emphasis","blurScope"]))}function Yj(t,e,n){return be(t,(function(t){return t=t.slice(),t[e]=n.initBaseline,t}))}var Ij=Lj;function Cj(t,e){t.eachRawSeriesByType("boxplot",(function(t){t.getData().setVisual("legendSymbol","roundRect")}))}var Aj=Me;function Pj(t){var e=Oj(t);Aj(e,(function(t){var e=t.seriesModels;e.length&&(Hj(t),Aj(e,(function(e,n){Nj(e,t.boxOffsetList[n],t.boxWidthList[n])})))}))}function Oj(t){var e=[],n=[];return t.eachSeriesByType("boxplot",(function(t){var i=t.getBaseAxis(),r=ye(n,i);r<0&&(r=n.length,n[r]=i,e[r]={axis:i,seriesModels:[]}),e[r].seriesModels.push(t)})),e}function Hj(t){var e,n,i=t.axis,r=t.seriesModels,a=r.length,o=t.boxWidthList=[],s=t.boxOffsetList=[],l=[];if("category"===i.type)n=i.getBandWidth();else{var u=0;Aj(r,(function(t){u=Math.max(u,t.getData().count())})),e=i.getExtent(),Math.abs(e[1]-e[0])}Aj(r,(function(t){var e=t.get("boxWidth");Ie(e)||(e=[e,e]),l.push([yo(e[0],n)||0,yo(e[1],n)||0])}));var d=.8*n-2,c=d/a*.3,h=(d-c*(a-1))/a,p=h/2-d/2;Aj(r,(function(t,e){s.push(p),p+=c+h,o.push(Math.min(Math.max(h,l[e][0]),l[e][1]))}))}function Nj(t,e,n){var i=t.coordinateSystem,r=t.getData(),a=n/2,o="horizontal"===t.get("layout")?0:1,s=1-o,l=["x","y"],u=r.mapDimension(l[o]),d=r.mapDimensionsAll(l[s]);if(!(null==u||d.length<5))for(var c=0;c<r.count();c++){var h=r.get(u,c),p=v(h,d[2],c),f=v(h,d[0],c),m=v(h,d[1],c),g=v(h,d[3],c),y=v(h,d[4],c),_=[];x(_,m,!1),x(_,g,!0),_.push(f,m,y,g),M(_,f),M(_,y),M(_,p),r.setItemLayout(c,{initBaseline:p[s],ends:_})}function v(t,n,a){var l,u=r.get(n,a),d=[];return d[o]=t,d[s]=u,isNaN(t)||isNaN(u)?l=[NaN,NaN]:(l=i.dataToPoint(d),l[o]+=e),l}function x(t,e,n){var i=e.slice(),r=e.slice();i[o]+=a,r[o]-=a,n?t.push(i,r):t.push(r,i)}function M(t,e){var n=e.slice(),i=e.slice();n[o]-=a,i[o]+=a,t.push(n,i)}}function Ej(t,e){e=e||{};for(var n=[],i=[],r=e.boundIQR,a="none"===r||0===r,o=0;o<t.length;o++){var s=vo(t[o].slice()),l=Ao(s,.25),u=Ao(s,.5),d=Ao(s,.75),c=s[0],h=s[s.length-1],p=(null==r?1.5:r)*(d-l),f=a?c:Math.max(c,l-p),m=a?h:Math.min(h,d+p),g=e.itemNameFormatter,y=Ce(g)?g({value:o}):Ae(g)?g.replace("{value}",o+""):o+"";n.push([y,f,l,u,d,m]);for(var _=0;_<s.length;_++){var v=s[_];if(v<f||v>m){var x=[y,v];i.push(x)}}}return{boxData:n,outliers:i}}var Rj={type:"echarts:boxplot",transform:function(t){var e=t.upstream;if(e.sourceFormat!==Qm){var n="";0,i_(n)}var i=Ej(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:i.boxData},{data:i.outliers}]}};function zj(t){t.registerSeriesModel(wj),t.registerChartView(Ij),t.registerVisual(Cj),t.registerLayout(Pj),t.registerTransform(Rj)}var jj=["color","borderColor"],Bj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,i){this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),a=t.get("clip",!0),o=t.coordinateSystem,s=o.getArea&&o.getArea();this._data||i.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var o=e.getItemLayout(n);if(a&&Gj(s,o))return;var l=Wj(o,n,!0);kp(l,{shape:{points:o.ends}},t,n),Uj(l,e,n,r),i.add(l),e.setItemGraphicEl(n,l)}})).update((function(o,l){var u=n.getItemGraphicEl(l);if(e.hasValue(o)){var d=e.getItemLayout(o);a&&Gj(s,d)?i.remove(u):(u?Tp(u,{shape:{points:d.ends}},t,o):u=Wj(d,o),Uj(u,e,o,r),i.add(u),e.setItemGraphicEl(o,u))}else i.remove(u)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),$j(t,this.group);var e=t.get("clip",!0)?WD(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){var n,i=e.getData(),r=i.getLayout("isSimpleBox");while(null!=(n=t.next())){var a=i.getItemLayout(n),o=Wj(a,n);Uj(o,i,n,r),o.incremental=!0,this.group.add(o)}},e.prototype._incrementalRenderLarge=function(t,e){$j(e,this.group,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(gv),Fj=function(){function t(){}return t}(),Vj=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return Vt(e,t),e.prototype.getDefaultShape=function(){return new Fj},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(Uu);function Wj(t,e,n){var i=t.ends;return new Vj({shape:{points:n?Xj(i,t):i},z2:100})}function Gj(t,e){for(var n=!0,i=0;i<e.ends.length;i++)if(t.contain(e.ends[i][0],e.ends[i][1])){n=!1;break}return n}function Uj(t,e,n,i){var r=e.getItemModel(n);t.useStyle(e.getItemVisual(n,"style")),t.style.strokeNoScale=!0,t.__simpleBox=i,Lc(t,r)}function Xj(t,e){return be(t,(function(t){return t=t.slice(),t[1]=e.initBaseline,t}))}var Zj=function(){function t(){}return t}(),qj=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeCandlestickBox",n}return Vt(e,t),e.prototype.getDefaultShape=function(){return new Zj},e.prototype.buildPath=function(t,e){for(var n=e.points,i=0;i<n.length;)if(this.__sign===n[i++]){var r=n[i++];t.moveTo(r,n[i++]),t.lineTo(r,n[i++])}else i+=3},e}(Uu);function $j(t,e,n){var i=t.getData(),r=i.getLayout("largePoints"),a=new qj({shape:{points:r},__sign:1});e.add(a);var o=new qj({shape:{points:r},__sign:-1});e.add(o),Jj(1,a,t,i),Jj(-1,o,t,i),n&&(a.incremental=!0,o.incremental=!0)}function Jj(t,e,n,i){var r=n.get(["itemStyle",t>0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]),a=n.getModel("itemStyle").getItemStyle(jj);e.useStyle(a),e.style.fill=null,e.style.stroke=r}var Kj=Bj,Qj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return Vt(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(rv);ve(Qj,Mj,!0);var tB=Qj;function eB(t){t&&Ie(t.series)&&Me(t.series,(function(t){He(t)&&"k"===t.type&&(t.type="candlestick")}))}var nB=["itemStyle","borderColor"],iB=["itemStyle","borderColor0"],rB=["itemStyle","color"],aB=["itemStyle","color0"],oB={seriesType:"candlestick",plan:sv(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?rB:aB)}function i(t,e){return e.get(t>0?nB:iB)}var r=t.getData();if(r.setVisual("legendSymbol","roundRect"),!e.isSeriesFiltered(t)){var a=t.pipelineContext.large;return!a&&{progress:function(t,e){var r;while(null!=(r=t.next())){var a=e.getItemModel(r),o=e.getItemLayout(r).sign,s=a.getItemStyle();s.fill=n(o,a),s.stroke=i(o,a)||s.fill;var l=e.ensureUniqueItemVisual(r,"style");fe(l,s)}}}}}},sB=oB,lB="undefined"!==typeof Float32Array?Float32Array:Array,uB={seriesType:"candlestick",plan:sv(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),i=cB(t,n),r=0,a=1,o=["x","y"],s=n.mapDimension(o[r]),l=n.mapDimensionsAll(o[a]),u=l[0],d=l[1],c=l[2],h=l[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(null==s||l.length<4))return{progress:t.pipelineContext.large?f:p};function p(t,n){var o;while(null!=(o=t.next())){var l=n.get(s,o),p=n.get(u,o),f=n.get(d,o),m=n.get(c,o),g=n.get(h,o),y=Math.min(p,f),_=Math.max(p,f),v=L(y,l),x=L(_,l),M=L(m,l),b=L(g,l),w=[];S(w,x,0),S(w,v,1),w.push(T(b),T(x),T(M),T(v)),n.setItemLayout(o,{sign:dB(n,o,p,f,d),initBaseline:p>f?x[a]:v[a],ends:w,brushRect:D(m,g,l)})}function L(t,n){var i=[];return i[r]=n,i[a]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function S(t,e,n){var a=e.slice(),o=e.slice();a[r]=Sp(a[r]+i/2,1,!1),o[r]=Sp(o[r]-i/2,1,!0),n?t.push(a,o):t.push(o,a)}function D(t,e,n){var o=L(t,n),s=L(e,n);return o[r]-=i/2,s[r]-=i/2,{x:o[0],y:o[1],width:a?i:s[0]-o[0],height:a?s[1]-o[1]:i}}function T(t){return t[r]=Sp(t[r],1),t}}function f(t,n){var i,o,l=new lB(4*t.count),p=0,f=[],m=[];while(null!=(o=t.next())){var g=n.get(s,o),y=n.get(u,o),_=n.get(d,o),v=n.get(c,o),x=n.get(h,o);isNaN(g)||isNaN(v)||isNaN(x)?(l[p++]=NaN,p+=3):(l[p++]=dB(n,o,y,_,d),f[r]=g,f[a]=v,i=e.dataToPoint(f,null,m),l[p++]=i?i[0]:NaN,l[p++]=i?i[1]:NaN,f[a]=x,i=e.dataToPoint(f,null,m),l[p++]=i?i[1]:NaN)}n.setLayout("largePoints",l)}}};function dB(t,e,n,i,r){var a;return a=n>i?-1:n<i?1:e>0?t.get(r,e-1)<=i?1:-1:1,a}function cB(t,e){var n,i=t.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),a=yo(We(t.get("barMaxWidth"),r),r),o=yo(We(t.get("barMinWidth"),1),r),s=t.get("barWidth");return null!=s?yo(s,r):Math.max(Math.min(r/2,a),o)}var hB=uB;function pB(t){t.registerChartView(Kj),t.registerSeriesModel(tB),t.registerPreprocessor(eB),t.registerVisual(sB),t.registerLayout(hB)}var fB=3;function mB(t){return Ie(t)||(t=[+t,+t]),t}function gB(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}var yB=function(t){function e(e,n){var i=t.call(this)||this,r=new xD(e,n),a=new ro;return i.add(r),i.add(a),i.updateData(e,n),i}return Vt(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=this.childAt(1),r=0;r<fB;r++){var a=gM(e,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var o=-r/fB*t.period+t.effectOffset;a.animate("",!0).when(t.period,{scale:[t.rippleScale/2,t.rippleScale/2]}).delay(o).start(),a.animateStyle(!0).when(t.period,{opacity:0}).delay(o).start(),i.add(a)}gB(i,t)},e.prototype.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale"],r=0;r<i.length;r++){var a=i[r];if(e[a]!==t[a])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}gB(n,t)},e.prototype.highlight=function(){sc(this)},e.prototype.downplay=function(){lc(this)},e.prototype.updateData=function(t,e){var n=this,i=t.hostModel;this.childAt(0).updateData(t,e);var r=this.childAt(1),a=t.getItemModel(e),o=t.getItemVisual(e,"symbol"),s=mB(t.getItemVisual(e,"symbolSize")),l=t.getItemVisual(e,"style"),u=l&&l.fill;r.setScale(s),r.traverse((function(t){t.setStyle("fill",u)}));var d=a.getShallow("symbolOffset");d&&(r.x=yo(d[0],s[0]),r.y=yo(d[1],s[1]));var c=t.getItemVisual(e,"symbolRotate");r.rotation=(c||0)*Math.PI/180||0;var h={};h.showEffectOn=i.get("showEffectOn"),h.rippleScale=a.get(["rippleEffect","scale"]),h.brushType=a.get(["rippleEffect","brushType"]),h.period=1e3*a.get(["rippleEffect","period"]),h.effectOffset=e/t.count(),h.z=i.getShallow("z")||0,h.zlevel=i.getShallow("zlevel")||0,h.symbolType=o,h.color=u,h.rippleEffectColor=a.get(["rippleEffect","color"]),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),"render"===h.showEffectOn?(this._effectCfg?this.updateEffectAnimation(h):this.startEffectAnimation(h),this._effectCfg=h):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(t){"emphasis"===t?"render"!==h.showEffectOn&&n.startEffectAnimation(h):"normal"===t&&"render"!==h.showEffectOn&&n.stopEffectAnimation()}),this._effectCfg=h,xc(this)},e.prototype.fadeOut=function(t){this.off("mouseover").off("mouseout"),t&&t()},e}(ro);_e(yB,ro);var _B=yB,vB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.init=function(){this._symbolDraw=new SD(_B)},e.prototype.render=function(t,e,n){var i=t.getData(),r=this._symbolDraw;r.updateData(i),this.group.add(r.group)},e.prototype.updateTransform=function(t,e,n){var i=t.getData();this.group.dirty();var r=uT("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout()},e.prototype._updateGroupTransform=function(t){var e=t.coordinateSystem;e&&e.getRoamTransform&&(this.group.transform=bi(e.getRoamTransform()),this.group.decomposeTransform())},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0)},e.type="effectScatter",e}(gv),xB=vB,MB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return Vt(e,t),e.prototype.getInitialData=function(t,e){return pD(this.getSource(),this,{useEncodeDefaulter:!0})},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.type="series.effectScatter",e.dependencies=["grid","polar"],e.defaultOption={coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",rippleEffect:{period:4,scale:2.5,brushType:"fill"},symbolSize:10},e}(rv),bB=MB;function wB(t){t.registerChartView(xB),t.registerSeriesModel(bB),t.registerLayout(uT("effectScatter"))}var LB=function(t){function e(e,n,i){var r=t.call(this)||this;return r.add(r.createLine(e,n,i)),r._updateEffectSymbol(e,n),r}return Vt(e,t),e.prototype.createLine=function(t,e,n){return new BN(t,e,n)},e.prototype._updateEffectSymbol=function(t,e){var n=t.getItemModel(e),i=n.getModel("effect"),r=i.get("symbolSize"),a=i.get("symbol");Ie(r)||(r=[r,r]);var o=t.getItemVisual(e,"style"),s=i.get("color")||o&&o.stroke,l=this.childAt(1);this._symbolType!==a&&(this.remove(l),l=gM(a,-.5,-.5,1,1,s),l.z2=100,l.culling=!0,this.add(l)),l&&(l.setStyle("shadowColor",s),l.setStyle(i.getItemStyle(["color"])),l.scaleX=r[0],l.scaleY=r[1],l.setColor(s),this._symbolType=a,this._symbolScale=r,this._updateEffectAnimation(t,i,e))},e.prototype._updateEffectAnimation=function(t,e,n){var i=this.childAt(1);if(i){var r=this,a=t.getItemLayout(n),o=1e3*e.get("period"),s=e.get("loop"),l=e.get("constantSpeed"),u=Ve(e.get("delay"),(function(e){return e/t.count()*o/3}));if(i.ignore=!0,this._updateAnimationPoints(i,a),l>0&&(o=this._getLineLength(i)/l*1e3),(o!==this._period||s!==this._loop)&&(i.stopAnimation(),o>0)){var d=void 0;d="function"===typeof u?u(n):u,i.__t>0&&(d=-o*i.__t),i.__t=0;var c=i.animate("",s).when(o,{__t:1}).delay(d).during((function(){r._updateSymbolPosition(i)}));s||c.done((function(){r.remove(i)})),c.start()}this._period=o,this._loop=s}},e.prototype._getLineLength=function(t){return xn(t.__p1,t.__cp1)+xn(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t,a=[t.x,t.y],o=a.slice(),s=Al,l=Pl;a[0]=s(e[0],i[0],n[0],r),a[1]=s(e[1],i[1],n[1],r);var u=l(e[0],i[0],n[0],r),d=l(e[1],i[1],n[1],r);t.rotation=-Math.atan2(d,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT<t.__t?(t.scaleY=1.05*xn(o,a),1===r&&(a[0]=o[0]+(a[0]-o[0])/2,a[1]=o[1]+(a[1]-o[1])/2)):1===t.__lastT?t.scaleY=2*xn(e,a):t.scaleY=this._symbolScale[1]),t.__lastT=t.__t,t.ignore=!1,t.x=a[0],t.y=a[1]},e.prototype.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var n=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,n,e)},e}(ro),SB=LB,DB=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createPolyline(e,n,i),r}return Vt(e,t),e.prototype._createPolyline=function(t,e,n){var i=t.getItemLayout(e),r=new Oh({shape:{points:i}});this.add(r),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel,r=this.childAt(0),a={shape:{points:t.getItemLayout(e)}};Tp(r,a,i,e),this._updateCommonStl(t,e,n)},e.prototype._updateCommonStl=function(t,e,n){var i=this.childAt(0),r=t.getItemModel(e),a=n&&n.emphasisLineStyle;n&&!t.hasItemOption||(a=r.getModel(["emphasis","lineStyle"]).getLineStyle()),i.useStyle(t.getItemVisual(e,"style")),i.style.fill=null,i.style.strokeNoScale=!0;var o=i.ensureState("emphasis");o.style=a,xc(this)},e.prototype.updateLayout=function(t,e){var n=this.childAt(0);n.setShape("points",t.getItemLayout(e))},e}(ro),TB=DB,kB=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return Vt(e,t),e.prototype.createLine=function(t,e,n){return new TB(t,e,n)},e.prototype._updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],i=0,r=1;r<e.length;r++){var a=e[r-1],o=e[r];i+=xn(a,o),n.push(i)}if(0!==i){for(r=0;r<n.length;r++)n[r]/=i;this._offsets=n,this._length=i}else this._length=0},e.prototype._getLineLength=function(){return this._length},e.prototype._updateSymbolPosition=function(t){var e=t.__t,n=this._points,i=this._offsets,r=n.length;if(i){var a,o=this._lastFrame;if(e<this._lastFramePercent){var s=Math.min(o+1,r-1);for(a=s;a>=0;a--)if(i[a]<=e)break;a=Math.min(a,r-2)}else{for(a=o;a<r;a++)if(i[a]>e)break;a=Math.min(a-1,r-2)}var l=(e-i[a])/(i[a+1]-i[a]),u=n[a],d=n[a+1];t.x=u[0]*(1-l)+l*d[0],t.y=u[1]*(1-l)+l*d[1];var c=d[0]-u[0],h=d[1]-u[1];t.rotation=-Math.atan2(h,c)-Math.PI/2,this._lastFrame=a,this._lastFramePercent=e,t.ignore=!1}},e}(SB),YB=kB,IB=function(){function t(){this.polyline=!1,this.curveness=0,this.segs=[]}return t}(),CB=function(t){function e(e){return t.call(this,e)||this}return Vt(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new IB},e.prototype.buildPath=function(t,e){var n=e.segs,i=e.curveness;if(e.polyline)for(var r=0;r<n.length;){var a=n[r++];if(a>0){t.moveTo(n[r++],n[r++]);for(var o=1;o<a;o++)t.lineTo(n[r++],n[r++])}}else for(r=0;r<n.length;){var s=n[r++],l=n[r++],u=n[r++],d=n[r++];if(t.moveTo(s,l),i>0){var c=(s+u)/2-(l-d)*i,h=(l+d)/2-(u-s)*i;t.quadraticCurveTo(c,h,u,d)}else t.lineTo(u,d)}},e.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,a=this.style.lineWidth;if(n.polyline)for(var o=0,s=0;s<i.length;){var l=i[s++];if(l>0)for(var u=i[s++],d=i[s++],c=1;c<l;c++){var h=i[s++],p=i[s++];if(Mu(u,d,h,p,a,t,e))return o}o++}else for(o=0,s=0;s<i.length;){u=i[s++],d=i[s++],h=i[s++],p=i[s++];if(r>0){var f=(u+h)/2-(d-p)*r,m=(d+p)/2-(h-u)*r;if(wu(u,d,f,m,h,p,a,t,e))return o}else if(Mu(u,d,h,p,a,t,e))return o;o++}return-1},e}(Uu),AB=function(){function t(){this.group=new ro}return t.prototype.isPersistent=function(){return!this._incremental},t.prototype.updateData=function(t){this.group.removeAll();var e=new CB({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},t.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new up({silent:!0})),this.group.add(this._incremental)):this._incremental=null},t.prototype.incrementalUpdate=function(t,e){var n=new CB;n.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(n,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=t.start,this.group.add(n))},t.prototype.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;t.setShape({polyline:i.get("polyline"),curveness:i.get(["lineStyle","curveness"])}),t.useStyle(i.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var r=e.getVisual("style");if(r&&r.stroke&&t.setStyle("stroke",r.stroke),t.setStyle("fill",null),!n){var a=Ld(t);a.seriesIndex=i.seriesIndex,t.on("mousemove",(function(e){a.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>0&&(a.dataIndex=n+t.__startIndex)}))}},t.prototype._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t}(),PB=AB,OB={seriesType:"lines",plan:sv(),reset:function(t){var e=t.coordinateSystem,n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,a){var o=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var u=0,d=r.start;d<r.end;d++)u+=t.getLineCoordsCount(d);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var c=0,h=[];for(d=r.start;d<r.end;d++){var p=t.getLineCoords(d,o);n&&(s[c++]=p);for(var f=0;f<p;f++)h=e.dataToPoint(o[f],!1,h),s[c++]=h[0],s[c++]=h[1]}a.setLayout("linesPoints",s)}else for(d=r.start;d<r.end;d++){var m=a.getItemModel(d),g=(p=t.getLineCoords(d,o),[]);if(n)for(var y=0;y<p;y++)g.push(e.dataToPoint(o[y]));else{g[0]=e.dataToPoint(o[0]),g[1]=e.dataToPoint(o[1]);var _=m.get(["lineStyle","curveness"]);+_&&(g[2]=[(g[0][0]+g[1][0])/2-(g[0][1]-g[1][1])*_,(g[0][1]+g[1][1])/2-(g[1][0]-g[0][0])*_])}a.setItemLayout(d,g)}}}}},HB=OB,NB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._updateLineDraw(i,t),a=t.get("zlevel"),o=t.get(["effect","trailLength"]),s=n.getZr(),l="svg"===s.painter.getType();(l||s.painter.getLayer(a).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&o)&&(l||s.configLayer(a,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(o/10+.9,1),0)}));r.updateData(i);var u=t.get("clip",!0)&&WD(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=a,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData(),r=this._updateLineDraw(i,t);r.incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var a=HB.reset(t,e,n);a.progress&&a.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),a=e.pipelineContext,o=a.large;return n&&i===this._hasEffet&&r===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new PB:new XN(r?i?YB:TB:i?SB:BN),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=o,this.group.removeAll()),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr(),n="svg"===e.painter.getType();n||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.type="lines",e}(gv),EB=NB,RB="undefined"===typeof Uint32Array?Array:Uint32Array,zB="undefined"===typeof Float64Array?Array:Float64Array;function jB(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=be(e,(function(t){var e=[t[0].coord,t[1].coord],n={coords:e};return t[0].name&&(n.fromName=t[0].name),t[1].name&&(n.toName=t[1].name),pe([n,t[0],t[1]])})))}var BB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return Vt(e,t),e.prototype.init=function(e){e.data=e.data||[],jB(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(jB(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=en(this._flatCoords,e.flatCoords),this._flatCoordsOffset=en(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t),n=e.option instanceof Array?e.option:e.getShallow("coords");return n},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r<i;r++)e[r]=e[r]||[],e[r][0]=this._flatCoords[n+2*r],e[r][1]=this._flatCoords[n+2*r+1];return i}var a=this._getCoordsFromItemModel(t);for(r=0;r<a.length;r++)e[r]=e[r]||[],e[r][0]=a[r][0],e[r][1]=a[r][1];return a.length},e.prototype._processFlatCoordsArray=function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),"number"===typeof t[0]){for(var n=t.length,i=new RB(n),r=new zB(n),a=0,o=0,s=0,l=0;l<n;){s++;var u=t[l++];i[o++]=a+e,i[o++]=u;for(var d=0;d<u;d++){var c=t[l++],h=t[l++];r[a++]=c,r[a++]=h}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,o),flatCoords:r,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},e.prototype.getInitialData=function(t,e){var n=new JS(["value"],this);return n.hasItemOption=!1,n.initData(t.data,[],(function(t,e,i,r){if(t instanceof Array)return NaN;n.hasItemOption=!0;var a=t.value;return null!=a?a instanceof Array?a[r]:a:void 0})),n},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=i.getItemModel(t),a=r.get("name");if(a)return a;var o=r.get("fromName"),s=r.get("toName"),l=[];return null!=o&&l.push(o),null!=s&&l.push(s),C_("nameValue",{name:l.join(" > ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(rv),FB=BB;function VB(t){return t instanceof Array||(t=[t,t]),t}var WB={seriesType:"lines",reset:function(t){var e=VB(t.get("symbol")),n=VB(t.get("symbolSize")),i=t.getData();function r(t,e){var n=t.getItemModel(e),i=VB(n.getShallow("symbol",!0)),r=VB(n.getShallow("symbolSize",!0));i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}return i.setVisual("fromSymbol",e&&e[0]),i.setVisual("toSymbol",e&&e[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?r:null}}},GB=WB;function UB(t){t.registerChartView(EB),t.registerSeriesModel(FB),t.registerLayout(HB),t.registerVisual(GB)}var XB=256,ZB=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=ge();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,a){var o=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,d=this.canvas,c=d.getContext("2d"),h=t.length;d.width=e,d.height=n;for(var p=0;p<h;++p){var f=t[p],m=f[0],g=f[1],y=f[2],_=i(y);c.globalAlpha=_,c.drawImage(o,m-u,g-u)}if(!d.width||!d.height)return d;var v=c.getImageData(0,0,d.width,d.height),x=v.data,M=0,b=x.length,w=this.minOpacity,L=this.maxOpacity,S=L-w;while(M<b){_=x[M+3]/256;var D=4*Math.floor(_*(XB-1));if(_>0){var T=a(_)?s:l;_>0&&(_=_*S+w),x[M++]=T[D],x[M++]=T[D+1],x[M++]=T[D+2],x[M++]=T[D+3]*_*256}else M+=4}return c.putImageData(v,0,0),d},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=ge()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],a=0,o=0;o<256;o++)t[e](o/255,!0,r),i[a++]=r[0],i[a++]=r[1],i[a++]=r[2],i[a++]=r[3];return i},t}(),qB=ZB;function $B(t,e,n){var i=t[1]-t[0];e=be(e,(function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}}));var r=e.length,a=0;return function(t){var i;for(i=a;i<r;i++){var o=e[i].interval;if(o[0]<=t&&t<=o[1]){a=i;break}}if(i===r)for(i=a-1;i>=0;i--){o=e[i].interval;if(o[0]<=t&&t<=o[1]){a=i;break}}return i>=0&&i<r&&n[i]}}function JB(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}function KB(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var QB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.render=function(t,e,n){var i;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):KB(r)&&this._renderOnGeo(r,t,i,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(KB(r)?this.render(e,n,i):this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0))},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var a,o,s,l,u=t.coordinateSystem;if(GD(u,"cartesian2d")){var d=u.getAxis("x"),c=u.getAxis("y");0,a=d.getBandWidth(),o=c.getBandWidth(),s=d.scale.getExtent(),l=c.scale.getExtent()}for(var h=this.group,p=t.getData(),f=t.getModel(["emphasis","itemStyle"]).getItemStyle(),m=t.getModel(["blur","itemStyle"]).getItemStyle(),g=t.getModel(["select","itemStyle"]).getItemStyle(),y=$p(t),_=t.get(["emphasis","focus"]),v=t.get(["emphasis","blurScope"]),x=GD(u,"cartesian2d")?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],M=n;M<i;M++){var b=void 0,w=p.getItemVisual(M,"style");if(GD(u,"cartesian2d")){var L=p.get(x[0],M),S=p.get(x[1],M);if(isNaN(p.get(x[2],M))||L<s[0]||L>s[1]||S<l[0]||S>l[1])continue;var D=u.dataToPoint([L,S]);b=new ud({shape:{x:Math.floor(Math.round(D[0])-a/2),y:Math.floor(Math.round(D[1])-o/2),width:Math.ceil(a),height:Math.ceil(o)},style:w})}else{if(isNaN(p.get(x[1],M)))continue;b=new ud({z2:1,shape:u.dataToRect([p.get(x[0],M)]).contentShape,style:w})}var T=p.getItemModel(M);if(p.hasItemOption){var k=T.getModel("emphasis");f=k.getModel("itemStyle").getItemStyle(),m=T.getModel(["blur","itemStyle"]).getItemStyle(),g=T.getModel(["select","itemStyle"]).getItemStyle(),_=k.get("focus"),v=k.get("blurScope"),y=$p(T)}var Y=t.getRawValue(M),I="-";Y&&null!=Y[2]&&(I=Y[2]+""),qp(b,y,{labelFetcher:t,labelDataIndex:M,defaultOpacity:w.opacity,defaultText:I}),b.ensureState("emphasis").style=f,b.ensureState("blur").style=m,b.ensureState("select").style=g,xc(b,_,v),b.incremental=r,r&&(b.states.emphasis.hoverLayer=!0),h.add(b),p.setItemGraphicEl(M,b)}},e.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,a=n.targetVisuals.outOfRange,o=e.getData(),s=this._hmLayer||this._hmLayer||new qB;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var d=Math.max(l.x,0),c=Math.max(l.y,0),h=Math.min(l.width+l.x,i.getWidth()),p=Math.min(l.height+l.y,i.getHeight()),f=h-d,m=p-c,g=[o.mapDimension("lng"),o.mapDimension("lat"),o.mapDimension("value")],y=o.mapArray(g,(function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=d,r[1]-=c,r.push(i),r})),_=n.getExtent(),v="visualMap.continuous"===n.type?JB(_,n.option.range):$B(_,n.getPieceList(),n.option.selected);s.update(y,f,m,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:a.color.getColorMapper()},v);var x=new td({style:{width:f,height:m,x:d,y:c,image:s.canvas},silent:!0});this.group.add(x)},e.type="heatmap",e}(gv),tF=QB,eF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.getInitialData=function(t,e){return pD(this.getSource(),this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=Fg.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(rv),nF=eF;function iF(t){t.registerChartView(tF),t.registerSeriesModel(nF)}var rF=["itemStyle","borderWidth"],aF=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],oF=new eh,sF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.render=function(t,e,n){var i=this.group,r=t.getData(),a=this._data,o=t.coordinateSystem,s=o.getBaseAxis(),l=s.isHorizontal(),u=o.master.getRect(),d={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:o,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:aF[+l],categoryDim:aF[1-+l]};return r.diff(a).add((function(t){if(r.hasValue(t)){var e=vF(r,t),n=lF(r,t,e,d),a=bF(r,d,n);r.setItemGraphicEl(t,a),i.add(a),kF(a,d,n)}})).update((function(t,e){var n=a.getItemGraphicEl(e);if(r.hasValue(t)){var o=vF(r,t),s=lF(r,t,o,d),l=SF(r,s);n&&l!==n.__pictorialShapeStr&&(i.remove(n),r.setItemGraphicEl(t,null),n=null),n?wF(n,d,s):n=bF(r,d,s,!0),r.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=s,i.add(n),kF(n,d,s)}else i.remove(n)})).remove((function(t){var e=a.getItemGraphicEl(t);e&&LF(a,t,e.__pictorialSymbolMeta.animationModel,e)})).execute(),this._data=r,this.group},e.prototype.remove=function(t,e){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl((function(e){LF(i,Ld(e).dataIndex,t,e)})):n.removeAll()},e.type="pictorialBar",e}(gv);function lF(t,e,n,i){var r=t.getItemLayout(e),a=n.get("symbolRepeat"),o=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=n.get("symbolRotate"),u=(l||0)*Math.PI/180||0,d=n.get("symbolPatternSize")||2,c=n.isAnimationEnabled(),h={dataIndex:e,layout:r,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:o,symbolRepeat:a,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:d,rotation:u,animationModel:c?n:null,hoverScale:c&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};uF(n,a,r,i,h),cF(t,e,r,a,o,h.boundingLength,h.pxSign,d,i,h),hF(n,h.symbolScale,u,i,h);var p=h.symbolSize,f=n.get("symbolOffset");return Ie(f)&&(f=[yo(f[0],p[0]),yo(f[1],p[1])]),pF(n,p,r,a,o,f,s,h.valueLineWidth,h.boundingLength,h.repeatCutLength,i,h),h}function uF(t,e,n,i,r){var a,o=i.valueDim,s=t.get("symbolBoundingData"),l=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),u=l.toGlobalCoord(l.dataToCoord(0)),d=1-+(n[o.wh]<=0);if(Ie(s)){var c=[dF(l,s[0])-u,dF(l,s[1])-u];c[1]<c[0]&&c.reverse(),a=c[d]}else a=null!=s?dF(l,s)-u:e?i.coordSysExtent[o.index][d]-u:n[o.wh];r.boundingLength=a,e&&(r.repeatCutLength=n[o.wh]),r.pxSign=a>0?1:a<0?-1:0}function dF(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function cF(t,e,n,i,r,a,o,s,l,u){var d,c=l.valueDim,h=l.categoryDim,p=Math.abs(n[h.wh]),f=t.getItemVisual(e,"symbolSize");d=Ie(f)?f.slice():null==f?["100%","100%"]:[f,f],d[h.index]=yo(d[h.index],p),d[c.index]=yo(d[c.index],i?p:Math.abs(a)),u.symbolSize=d;var m=u.symbolScale=[d[0]/s,d[1]/s];m[c.index]*=(l.isHorizontal?-1:1)*o}function hF(t,e,n,i,r){var a=t.get(rF)||0;a&&(oF.attr({scaleX:e[0],scaleY:e[1],rotation:n}),oF.updateTransform(),a/=oF.getLineScale(),a*=e[i.valueDim.index]),r.valueLineWidth=a}function pF(t,e,n,i,r,a,o,s,l,u,d,c){var h=d.categoryDim,p=d.valueDim,f=c.pxSign,m=Math.max(e[p.index]+s,0),g=m;if(i){var y=Math.abs(l),_=Ve(t.get("symbolMargin"),"15%")+"",v=!1;_.lastIndexOf("!")===_.length-1&&(v=!0,_=_.slice(0,_.length-1));var x=yo(_,e[p.index]),M=Math.max(m+2*x,0),b=v?0:2*x,w=Ho(i),L=w?i:YF((y+b)/M),S=y-L*m;x=S/2/(v?L:L-1),M=m+2*x,b=v?0:2*x,w||"fixed"===i||(L=u?YF((Math.abs(u)+b)/M):0),g=L*M-b,c.repeatTimes=L,c.symbolMargin=x}var D=f*(g/2),T=c.pathPosition=[];T[h.index]=n[h.wh]/2,T[p.index]="start"===o?D:"end"===o?l-D:l/2,a&&(T[0]+=a[0],T[1]+=a[1]);var k=c.bundlePosition=[];k[h.index]=n[h.xy],k[p.index]=n[p.xy];var Y=c.barRectShape=fe({},n);Y[p.wh]=f*Math.max(Math.abs(n[p.wh]),Math.abs(T[p.index]+D)),Y[h.wh]=n[h.wh];var I=c.clipShape={};I[h.xy]=-n[h.xy],I[h.wh]=d.ecSize[h.wh],I[p.xy]=0,I[p.wh]=n[p.wh]}function fF(t){var e=t.symbolPatternSize,n=gM(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function mF(t,e,n,i){var r=t.__pictorialBundle,a=n.symbolSize,o=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,d=0,c=a[e.valueDim.index]+o+2*n.symbolMargin;for(DF(t,(function(t){t.__pictorialAnimationIndex=d,t.__pictorialRepeatTimes=u,d<u?TF(t,null,f(d),n,i):TF(t,null,{scaleX:0,scaleY:0},n,i,(function(){r.remove(t)})),d++}));d<u;d++){var h=fF(n);h.__pictorialAnimationIndex=d,h.__pictorialRepeatTimes=u,r.add(h);var p=f(d);TF(h,{x:p.x,y:p.y,scaleX:0,scaleY:0},{scaleX:p.scaleX,scaleY:p.scaleY,rotation:p.rotation},n,i)}function f(t){var e=s.slice(),i=n.pxSign,r=t;return("start"===n.symbolRepeatDirection?i>0:i<0)&&(r=u-1-t),e[l.index]=c*(r-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function gF(t,e,n,i){var r=t.__pictorialBundle,a=t.__pictorialMainPath;a?TF(a,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(a=t.__pictorialMainPath=fF(n),r.add(a),TF(a,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function yF(t,e,n){var i=fe({},e.barRectShape),r=t.__pictorialBarRect;r?TF(r,null,{shape:i},e,n):(r=t.__pictorialBarRect=new ud({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(r))}function _F(t,e,n,r){if(n.symbolClip){var a=t.__pictorialClipPath,o=fe({},n.clipShape),s=e.valueDim,l=n.animationModel,u=n.dataIndex;if(a)Tp(a,{shape:o},l,u);else{o[s.wh]=0,a=new ud({shape:o}),t.__pictorialBundle.setClipPath(a),t.__pictorialClipPath=a;var d={};d[s.wh]=n.clipShape[s.wh],i[r?"updateProps":"initProps"](a,{shape:d},l,u)}}}function vF(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=xF,n.isAnimationEnabled=MF,n}function xF(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function MF(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function bF(t,e,n,i){var r=new ro,a=new ro;return r.add(a),r.__pictorialBundle=a,a.x=n.bundlePosition[0],a.y=n.bundlePosition[1],n.symbolRepeat?mF(r,e,n):gF(r,e,n),yF(r,n,i),_F(r,e,n,i),r.__pictorialShapeStr=SF(t,n),r.__pictorialSymbolMeta=n,r}function wF(t,e,n){var i=n.animationModel,r=n.dataIndex,a=t.__pictorialBundle;Tp(a,{x:n.bundlePosition[0],y:n.bundlePosition[1]},i,r),n.symbolRepeat?mF(t,e,n,!0):gF(t,e,n,!0),yF(t,n,!0),_F(t,e,n,!0)}function LF(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var a=[];DF(i,(function(t){a.push(t)})),i.__pictorialMainPath&&a.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),Me(a,(function(t){Yp(t,{scaleX:0,scaleY:0},n,e,(function(){i.parent&&i.parent.remove(i)}))})),t.setItemGraphicEl(e,null)}function SF(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function DF(t,e,n){Me(t.__pictorialBundle.children(),(function(i){i!==t.__pictorialBarRect&&e.call(n,i)}))}function TF(t,e,n,r,a,o){e&&t.attr(e),r.symbolClip&&!a?n&&t.attr(n):n&&i[a?"updateProps":"initProps"](t,n,r.animationModel,r.dataIndex,o)}function kF(t,e,n){var i=n.dataIndex,r=n.itemModel,a=r.getModel("emphasis"),o=a.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),u=r.getShallow("cursor"),d=a.get("focus"),c=a.get("blurScope"),h=a.get("scale");DF(t,(function(t){if(t instanceof td){var e=t.style;t.useStyle(fe({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState("emphasis");i.style=o,h&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=n.z2}));var p=e.valueDim.posDesc[+(n.boundingLength>0)],f=t.__pictorialBarRect;qp(f,$p(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:gD(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:p}),xc(t,d,c)}function YF(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var IF=sF,CF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return Vt(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=Df(CT.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(CT),AF=CF;function PF(t){t.registerChartView(IF),t.registerSeriesModel(AF),t.registerLayout(Ye(ST,"pictorialBar"))}var OF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return Vt(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this,a=this.group,o=t.getLayerSeries(),s=i.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function d(t){return t.name}a.x=0,a.y=l.y+u[0];var c=new yS(this._layersSeries||[],o,d,d),h=[];function p(e,n,s){var l=r._layers;if("remove"!==e){for(var u,d,c=[],p=[],f=o[n].indices,m=0;m<f.length;m++){var g=i.getItemLayout(f[m]),y=g.x,_=g.y0,v=g.y;c.push(y,_),p.push(y,_+v),u=i.getItemVisual(f[m],"style")}var x=i.getItemLayout(f[0]),M=t.getModel("label"),b=M.get("margin"),w=t.getModel("emphasis");if("add"===e){var L=h[n]=new ro;d=new BD({shape:{points:c,stackedOnPoints:p,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),L.add(d),a.add(L),t.isAnimationEnabled()&&d.setClipPath(HF(d.getBoundingRect(),t,(function(){d.removeClipPath()})))}else{L=l[s];d=L.childAt(0),a.add(L),h[n]=L,Tp(d,{shape:{points:c,stackedOnPoints:p}},t)}qp(d,$p(t),{labelDataIndex:f[m-1],defaultText:i.getName(f[m-1]),inheritColor:u.fill},{normal:{verticalAlign:"middle"}}),d.setTextConfig({position:null,local:!0});var S=d.getTextContent();S&&(S.x=x.x-b,S.y=x.y0+x.y/2),d.useStyle(u),i.setItemGraphicEl(n,d),Lc(d,t),xc(d,w.get("focus"),w.get("blurScope"))}else a.remove(l[n])}c.add(ke(p,this,"add")).update(ke(p,this,"update")).remove(ke(p,this,"remove")).execute(),this._layersSeries=o,this._layers=h},e.type="themeRiver",e}(gv);function HF(t,e,n){var i=new ud({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return kp(i,{shape:{x:t.x-50,width:t.width+100,height:t.height+20}},e,n),i}var NF=OF,EF=2,RF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.useColorPaletteOnData=!0,n}return Vt(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new Sk(ke(this.getData,this),ke(this.getRawData,this))},e.prototype.fixData=function(t){var e=t.length,n={},i=_s(t,(function(t){return n.hasOwnProperty(t[0]+"")||(n[t[0]+""]=-1),t[2]})),r=[];i.buckets.each((function(t,e){r.push({name:e,dataList:t})}));for(var a=r.length,o=0;o<a;++o){for(var s=r[o].name,l=0;l<r[o].dataList.length;++l){var u=r[o].dataList[l][0]+"";n[u]=o}for(var u in n)n.hasOwnProperty(u)&&n[u]!==o&&(n[u]=o,t[e]=[u,0,s],e++)}return t},e.prototype.getInitialData=function(t,e){for(var n=this.getReferringComponents("singleAxis",hs).models[0],i=n.get("type"),r=Le(t.data,(function(t){return void 0!==t[2]})),a=this.fixData(r||[]),o=[],s=this.nameMap=tn(),l=0,u=0;u<a.length;++u)o.push(a[u][EF]),s.get(a[u][EF])||(s.set(a[u][EF],l),l++);var d=nD(a,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:xS(i)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),c=new JS(d,this);return c.initData(a),c},e.prototype.getLayerSeries=function(){for(var t=this.getData(),e=t.count(),n=[],i=0;i<e;++i)n[i]=i;var r=t.mapDimension("single"),a=_s(n,(function(e){return t.get("name",e)})),o=[];return a.buckets.each((function(e,n){e.sort((function(e,n){return t.get(r,e)-t.get(r,n)})),o.push({name:n,indices:e})})),o},e.prototype.getAxisTooltipData=function(t,e,n){Ie(t)||(t=t?[t]:[]);for(var i,r=this.getData(),a=this.getLayerSeries(),o=[],s=a.length,l=0;l<s;++l){for(var u=Number.MAX_VALUE,d=-1,c=a[l].indices.length,h=0;h<c;++h){var p=r.get(t[0],a[l].indices[h]),f=Math.abs(p-e);f<=u&&(i=p,u=f,d=a[l].indices[h])}o.push(d)}return{dataIndices:o,nestestValue:i}},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=i.getName(t),a=i.get(i.mapDimension("value"),t);return C_("nameValue",{name:r,value:a})},e.type="series.themeRiver",e.dependencies=["singleAxis"],e.defaultOption={zlevel:0,z:2,coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},e}(rv),zF=RF;function jF(t,e){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),n=t.coordinateSystem,i={},r=n.getRect();i.rect=r;var a=t.get("boundaryGap"),o=n.getAxis();if(i.boundaryGap=a,"horizontal"===o.orient){a[0]=yo(a[0],r.height),a[1]=yo(a[1],r.height);var s=r.height-a[0]-a[1];BF(e,t,s)}else{a[0]=yo(a[0],r.width),a[1]=yo(a[1],r.width);var l=r.width-a[0]-a[1];BF(e,t,l)}e.setLayout("layoutInfo",i)}))}function BF(t,e,n){if(t.count())for(var i,r=e.coordinateSystem,a=e.getLayerSeries(),o=t.mapDimension("single"),s=t.mapDimension("value"),l=be(a,(function(e){return be(e.indices,(function(e){var n=r.dataToPoint(t.get(o,e));return n[1]=t.get(s,e),n}))})),u=FF(l),d=u.y0,c=n/u.max,h=a.length,p=a[0].indices.length,f=0;f<p;++f){i=d[f]*c,t.setItemLayout(a[0].indices[f],{layerIndex:0,x:l[0][f][0],y0:i,y:l[0][f][1]*c});for(var m=1;m<h;++m)i+=l[m-1][f][1]*c,t.setItemLayout(a[m].indices[f],{layerIndex:m,x:l[m][f][0],y0:i,y:l[m][f][1]*c})}}function FF(t){for(var e=t.length,n=t[0].length,i=[],r=[],a=0,o=0;o<n;++o){for(var s=0,l=0;l<e;++l)s+=t[l][o][1];s>a&&(a=s),i.push(s)}for(var u=0;u<n;++u)r[u]=(a-i[u])/2;a=0;for(var d=0;d<n;++d){var c=i[d]+r[d];c>a&&(a=c)}return{y0:r,max:a}}function VF(t){t.registerChartView(NF),t.registerSeriesModel(zF),t.registerLayout(jF),t.registerProcessor(pk("themeRiver"))}var WF=2,GF=4,UF=function(t){function e(e,n,i,r){var a=t.call(this)||this;a.z2=WF,a.textConfig={inside:!0},Ld(a).seriesIndex=n.seriesIndex;var o=new wd({z2:GF,silent:e.getModel().get(["label","silent"])});return a.setTextContent(o),a.updateData(!0,e,n,i,r),a}return Vt(e,t),e.prototype.updateData=function(t,e,n,i,r){this.node=e,e.piece=this,n=n||this._seriesModel,i=i||this._ecModel;var a=this;Ld(a).dataIndex=e.dataIndex;var o=e.getModel(),s=o.getModel("emphasis"),l=e.getLayout(),u=fe({},l);u.label=null;var d=e.getVisual("style");d.lineJoin="bevel";var c=e.getVisual("decal");c&&(d.decal=KM(c,r));var h=vk(o.getModel("itemStyle"),u);fe(u,h),Me(Cd,(function(t){var e=a.ensureState(t),n=o.getModel([t,"itemStyle"]);e.style=n.getItemStyle();var i=vk(n,u);i&&(e.shape=i)})),t?(a.setShape(u),a.shape.r=l.r0,Tp(a,{shape:{r:l.r}},n,e.dataIndex)):Tp(a,{shape:u},n),a.useStyle(d),this._updateLabel(n);var p=o.getShallow("cursor");p&&a.attr("cursor",p),this._seriesModel=n||this._seriesModel,this._ecModel=i||this._ecModel;var f=s.get("focus"),m="ancestor"===f?e.getAncestorsIndices():"descendant"===f?e.getDescendantIndices():null;xc(this,m||f,s.get("blurScope"))},e.prototype._updateLabel=function(t){var e=this,n=this.node.getModel(),i=n.getModel("label"),r=this.node.getLayout(),a=r.endAngle-r.startAngle,o=(r.startAngle+r.endAngle)/2,s=Math.cos(o),l=Math.sin(o),u=this,d=u.getTextContent(),c=this.node.dataIndex,h=i.get("minAngle")/180*Math.PI,p=i.get("show")&&!(null!=h&&Math.abs(a)<h);function f(t,e){var n=t.get(e);return null==n?i.get(e):n}d.ignore=!p,Me(Ad,(function(i){var a="normal"===i?n.getModel("label"):n.getModel([i,"label"]),h="normal"===i,p=h?d:d.ensureState(i),m=t.getFormattedLabel(c,i);h&&(m=m||e.node.name),p.style=Jp(a,{},null,"normal"!==i,!0),m&&(p.style.text=m);var g=a.get("show");null==g||h||(p.ignore=!g);var y,_=f(a,"position"),v=h?u:u.states[i],x=v.style.fill;v.textConfig={outsideFill:"inherit"===a.get("color")?x:null,inside:"outside"!==_};var M=f(a,"distance")||0,b=f(a,"align");"outside"===_?(y=r.r+M,b=o>Math.PI/2?"right":"left"):b&&"center"!==b?"left"===b?(y=r.r0+M,o>Math.PI/2&&(b="right")):"right"===b&&(y=r.r-M,o>Math.PI/2&&(b="left")):(y=(r.r+r.r0)/2,b="center"),p.style.align=b,p.style.verticalAlign=f(a,"verticalAlign")||"middle",p.x=y*s+r.cx,p.y=y*l+r.cy;var w=f(a,"rotate"),L=0;"radial"===w?(L=-o,L<-Math.PI/2&&(L+=Math.PI)):"tangential"===w?(L=Math.PI/2-o,L>Math.PI/2?L-=Math.PI:L<-Math.PI/2&&(L+=Math.PI)):"number"===typeof w&&(L=w*Math.PI/180),p.rotation=L})),d.dirtyStyle()},e}(Mh),XF=UF,ZF="sunburstRootToNode",qF="sunburstHighlight",$F="sunburstUnhighlight";function JF(t){t.registerAction({type:ZF,update:"updateView"},(function(t,e){function n(e,n){var i=xO(t,[ZF],e);if(i){var r=e.getViewRoot();r&&(t.direction=bO(r,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}}e.eachComponent({mainType:"series",subType:"sunburst",query:t},n)})),t.registerAction({type:qF,update:"none"},(function(t,e,n){function i(e){var n=xO(t,[qF],e);n&&(t.dataIndex=n.node.dataIndex)}t=fe({},t),e.eachComponent({mainType:"series",subType:"sunburst",query:t},i),n.dispatchAction(fe(t,{type:"highlight"}))})),t.registerAction({type:$F,update:"updateView"},(function(t,e,n){t=fe({},t),n.dispatchAction(fe(t,{type:"downplay"}))}))}var KF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.render=function(t,e,n,i){var r=this;this.seriesModel=t,this.api=n,this.ecModel=e;var a=t.getData(),o=a.tree.root,s=t.getViewRoot(),l=this.group,u=t.get("renderLabelForZeroData"),d=[];s.eachNode((function(t){d.push(t)}));var c=this._oldChildren||[];function h(t,e){function n(t){return t.getId()}function i(n,i){var r=null==n?null:t[n],a=null==i?null:e[i];p(r,a)}0===t.length&&0===e.length||new yS(e,t,n,n).add(i).update(i).remove(Ye(i,null)).execute()}function p(i,r){if(u||!i||i.getValue()||(i=null),i!==o&&r!==o)if(r&&r.piece)i?(r.piece.updateData(!1,i,t,e,n),a.setItemGraphicEl(i.dataIndex,r.piece)):f(r);else if(i){var s=new XF(i,t,e,n);l.add(s),a.setItemGraphicEl(i.dataIndex,s)}}function f(t){t&&t.piece&&(l.remove(t.piece),t.piece=null)}function m(i,a){a.depth>0?(r.virtualPiece?r.virtualPiece.updateData(!1,i,t,e,n):(r.virtualPiece=new XF(i,t,e,n),l.add(r.virtualPiece)),a.piece.off("click"),r.virtualPiece.on("click",(function(t){r._rootToNode(a.parentNode)}))):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null)}h(d,c),m(o,s),this._initEvents(),this._oldChildren=d},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var n=!1,i=t.seriesModel.getViewRoot();i.eachNode((function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var a=i.getModel(),o=a.get("link");if(o){var s=a.get("target",!0)||"_blank";Im(o,s)}}n=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:ZF,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData(),i=n.getItemLayout(0);if(i){var r=t[0]-i.cx,a=t[1]-i.cy,o=Math.sqrt(r*r+a*a);return o<=i.r&&o>=i.r0}},e.type="sunburst",e}(gv),QF=KF,tV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return Vt(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};eV(n);var i=be(t.levels||[],(function(t){return new Mf(t,this,e)}),this),r=dO.createTree(n,this,a);function a(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e),a=i[n.depth];return a&&(t.parentModel=a),t}))}return r.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=wO(i,this),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){TO(this)},e.type="series.sunburst",e.defaultOption={zlevel:0,z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],levels:[],sort:"desc"},e}(rv);function eV(t){var e=0;Me(t.children,(function(t){eV(t);var n=t.value;Ie(n)&&(n=n[0]),e+=n}));var n=t.value;Ie(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),Ie(t.value)?t.value[0]=n:t.value=n}var nV=tV,iV=Math.PI/180;function rV(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),i=t.get("radius");Ie(i)||(i=[0,i]),Ie(e)||(e=[e,e]);var r=n.getWidth(),a=n.getHeight(),o=Math.min(r,a),s=yo(e[0],r),l=yo(e[1],a),u=yo(i[0],o/2),d=yo(i[1],o/2),c=-t.get("startAngle")*iV,h=t.get("minAngle")*iV,p=t.getData().tree.root,f=t.getViewRoot(),m=f.depth,g=t.get("sort");null!=g&&aV(f,g);var y=0;Me(f.children,(function(t){!isNaN(t.getValue())&&y++}));var _=f.getValue(),v=Math.PI/(_||y)*2,x=f.depth>0,M=f.height-(x?-1:1),b=(d-u)/(M||1),w=t.get("clockwise"),L=t.get("stillShowZeroSum"),S=w?1:-1,D=function(t,e){if(t){var n=e;if(t!==p){var i=t.getValue(),r=0===_&&L?v:i*v;r<h&&(r=h),n=e+S*r;var a=t.depth-m-(x?-1:1),d=u+b*a,c=u+b*(a+1),f=t.getModel();null!=f.get("r0")&&(d=yo(f.get("r0"),o/2)),null!=f.get("r")&&(c=yo(f.get("r"),o/2)),t.setLayout({angle:r,startAngle:e,endAngle:n,clockwise:w,cx:s,cy:l,r0:d,r:c})}if(t.children&&t.children.length){var g=0;Me(t.children,(function(t){g+=D(t,e+g)}))}return n-e}};if(x){var T=u,k=u+b,Y=2*Math.PI;p.setLayout({angle:Y,startAngle:c,endAngle:c+Y,clockwise:w,cx:s,cy:l,r0:T,r:k})}D(f,c)}))}function aV(t,e){var n=t.children||[];t.children=oV(n,e),n.length&&Me(t.children,(function(t){aV(t,e)}))}function oV(t,e){if("function"===typeof e){var n=be(t,(function(t,e){var n=t.getValue();return{params:{depth:t.depth,height:t.height,dataIndex:t.dataIndex,getValue:function(){return n}},index:e}}));return n.sort((function(t,n){return e(t.params,n.params)})),be(n,(function(e){return t[e.index]}))}var i="asc"===e;return t.sort((function(t,e){var n=(t.getValue()-e.getValue())*(i?1:-1);return 0===n?(t.dataIndex-e.dataIndex)*(i?-1:1):n}))}function sV(t){var e={};function n(t,n,i){var r=t;while(r&&r.depth>1)r=r.parentNode;var a=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&"string"===typeof a&&(a=nr(a,(t.depth-1)/(i-1)*.5)),a}t.eachSeriesByType("sunburst",(function(t){var e=t.getData(),i=e.tree;i.eachNode((function(r){var a=r.getModel(),o=a.getModel("itemStyle").getItemStyle();o.fill||(o.fill=n(r,t,i.root.height));var s=e.ensureUniqueItemVisual(r.dataIndex,"style");fe(s,o)}))}))}function lV(t){t.registerChartView(QF),t.registerSeriesModel(nV),t.registerLayout(Ye(rV,"sunburst")),t.registerProcessor(Ye(pk,"sunburst")),t.registerVisual(sV),JF(t)}function uV(t,e){return e=e||[0,0],be(["x","y"],(function(n,i){var r=this.getAxis(n),a=e[i],o=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(a-o)-r.dataToCoord(a+o))}),this)}function dV(t){var e=t.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:ke(uV,t)}}}function cV(t,e){return e=e||[0,0],be([0,1],(function(n){var i=e[n],r=t[n]/2,a=[],o=[];return a[n]=i-r,o[n]=i+r,a[1-n]=o[1-n]=e[1-n],Math.abs(this.dataToPoint(a)[n]-this.dataToPoint(o)[n])}),this)}function hV(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:ke(cV,t)}}}function pV(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function fV(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:ke(pV,t)}}}function mV(t,e){return e=e||[0,0],be(["Radius","Angle"],(function(n,i){var r="get"+n+"Axis",a=this[r](),o=e[i],s=t[i]/2,l="category"===a.type?a.getBandWidth():Math.abs(a.dataToCoord(o-s)-a.dataToCoord(o+s));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}function gV(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),i=e.getExtent();return i[0]>i[1]&&i.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),a=n.dataToAngle(i[1]),o=t.coordToPoint([r,a]);return o.push(r,a*Math.PI/180),o},size:ke(mV,t)}}}function yV(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}function _V(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||rn(t,"text")))}function vV(t,e,n){var i,r,a,o=t;if("text"===e)a=o;else{a={},rn(o,"text")&&(a.text=o.text),rn(o,"rich")&&(a.rich=o.rich),rn(o,"textFill")&&(a.fill=o.textFill),rn(o,"textStroke")&&(a.stroke=o.textStroke),r={type:"text",style:a,silent:!0},i={};var s=rn(o,"textPosition");n?i.position=s?o.textPosition:"inside":s&&(i.position=o.textPosition),rn(o,"textPosition")&&(i.position=o.textPosition),rn(o,"textOffset")&&(i.offset=o.textOffset),rn(o,"textRotation")&&(i.rotation=o.textRotation),rn(o,"textDistance")&&(i.distance=o.textDistance)}return xV(a,t),Me(a.rich,(function(t){xV(t,t)})),{textConfig:i,textContent:r}}function xV(t,e){e&&(e.font=e.textFont||e.font,rn(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),rn(e,"textAlign")&&(t.align=e.textAlign),rn(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),rn(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),rn(e,"textWidth")&&(t.width=e.textWidth),rn(e,"textHeight")&&(t.height=e.textHeight),rn(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),rn(e,"textPadding")&&(t.padding=e.textPadding),rn(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),rn(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),rn(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),rn(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),rn(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),rn(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),rn(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function MV(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,a=t.fill||"#000";bV(i,e);var o=null==i.textFill;return r?o&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=a),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(o&&(i.textFill=n.outsideFill||a),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,Me(e.rich,(function(t){bV(t,t)})),i}function bV(t,e){e&&(rn(e,"fill")&&(t.textFill=e.fill),rn(e,"stroke")&&(t.textStroke=e.fill),rn(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),rn(e,"font")&&(t.font=e.font),rn(e,"fontStyle")&&(t.fontStyle=e.fontStyle),rn(e,"fontWeight")&&(t.fontWeight=e.fontWeight),rn(e,"fontSize")&&(t.fontSize=e.fontSize),rn(e,"fontFamily")&&(t.fontFamily=e.fontFamily),rn(e,"align")&&(t.textAlign=e.align),rn(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),rn(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),rn(e,"width")&&(t.textWidth=e.width),rn(e,"height")&&(t.textHeight=e.height),rn(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),rn(e,"padding")&&(t.textPadding=e.padding),rn(e,"borderColor")&&(t.textBorderColor=e.borderColor),rn(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),rn(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),rn(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),rn(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),rn(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),rn(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),rn(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),rn(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),rn(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),rn(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var wV=xu.CMD,LV=2*Math.PI,SV=["x","y"],DV=["width","height"],TV=[];function kV(t,e){return Math.abs(t-e)<1e-5}function YV(t){var e,n,i,r,a,o=t.data,s=t.len(),l=[],u=0,d=0,c=0,h=0;function p(t,n){e&&e.length>2&&l.push(e),e=[t,n]}function f(t,n,i,r){kV(t,i)&&kV(n,r)||e.push(t,n,i,r,i,r)}function m(t,n,i,r,a,o){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,u=n<t?-1:1,d=Math.cos(t),c=Math.sin(t),h=Math.cos(n),p=Math.sin(n),f=d*a+i,m=c*o+r,g=h*a+i,y=p*o+r,_=a*l*u,v=o*l*u;e.push(f-_*c,m+v*d,g+_*p,y-v*h,g,y)}for(var g=0;g<s;){var y=o[g++],_=1===g;switch(_&&(u=o[g],d=o[g+1],c=u,h=d,y!==wV.L&&y!==wV.C&&y!==wV.Q||(e=[c,h])),y){case wV.M:u=c=o[g++],d=h=o[g++],p(c,h);break;case wV.L:n=o[g++],i=o[g++],f(u,d,n,i),u=n,d=i;break;case wV.C:e.push(o[g++],o[g++],o[g++],o[g++],u=o[g++],d=o[g++]);break;case wV.Q:n=o[g++],i=o[g++],r=o[g++],a=o[g++],e.push(u+2/3*(n-u),d+2/3*(i-d),r+2/3*(n-r),a+2/3*(i-a),r,a),u=r,d=a;break;case wV.A:var v=o[g++],x=o[g++],M=o[g++],b=o[g++],w=o[g++],L=o[g++]+w;g+=1;var S=!o[g++];n=Math.cos(w)*M+v,i=Math.sin(w)*b+x,_?(c=n,h=i,p(c,h)):f(u,d,n,i),u=Math.cos(L)*M+v,d=Math.sin(L)*b+x;for(var D=(S?-1:1)*Math.PI/2,T=w;S?T>L:T<L;T+=D){var k=S?Math.max(T+D,L):Math.min(T+D,L);m(T,k,v,x,M,b)}break;case wV.R:c=u=o[g++],h=d=o[g++],n=c+o[g++],i=h+o[g++],p(n,h),f(n,h,n,i),f(n,i,c,i),f(c,i,c,h),f(c,h,n,h);break;case wV.Z:e&&f(u,d,c,h),u=c,d=h;break}}return e&&e.length>2&&l.push(e),l}function IV(t,e){var n=t.length,i=e.length;if(n===i)return[t,e];for(var r=n<i?t:e,a=Math.min(n,i),o=Math.abs(i-n)/6,s=(a-2)/6,l=Math.ceil(o/s)+1,u=[r[0],r[1]],d=o,c=[],h=[],p=2;p<a;){var f=r[p-2],m=r[p-1],g=r[p++],y=r[p++],_=r[p++],v=r[p++],x=r[p++],M=r[p++];if(d<=0)u.push(g,y,_,v,x,M);else{for(var b=Math.min(d,l-1)+1,w=1;w<=b;w++){var L=w/b;Yl(f,g,_,x,L,c),Yl(m,y,v,M,L,h),f=c[3],m=h[3],u.push(c[1],h[1],c[2],h[2],f,m),g=c[5],y=h[5],_=c[6],v=h[6]}d-=b-1}}return r===t?[u,e]:[t,u]}function CV(t,e){for(var n=t.length,i=t[n-2],r=t[n-1],a=[],o=0;o<e.length;)a[o++]=i,a[o++]=r;return a}function AV(t,e){for(var n,i,r,a=[],o=[],s=0;s<Math.max(t.length,e.length);s++){var l=t[s],u=e[s],d=void 0,c=void 0;l?u?(n=IV(l,u),d=n[0],c=n[1],i=d,r=c):(c=CV(r||l,l),d=l):(d=CV(i||u,u),c=u),a.push(d),o.push(c)}return[a,o]}function PV(t){for(var e=0,n=0,i=0,r=t.length,a=0,o=r-2;a<r;o=a,a+=2){var s=t[o],l=t[o+1],u=t[a],d=t[a+1],c=s*d-u*l;e+=c,n+=(s+u)*c,i+=(l+d)*c}return 0===e?[t[0]||0,t[1]||0]:[n/e/3,i/e/3,e]}function OV(t,e,n,i){for(var r=(t.length-2)/6,a=1/0,o=0,s=t.length,l=s-2,u=0;u<r;u++){for(var d=6*u,c=0,h=0;h<s;h+=2){var p=0===h?d:(d+h-2)%l+2,f=t[p]-n[0],m=t[p+1]-n[1],g=e[h]-i[0],y=e[h+1]-i[1],_=g-f,v=y-m;c+=_*_+v*v}c<a&&(a=c,o=u)}return o}function HV(t){for(var e=[],n=t.length,i=0;i<n;i+=2)e[i]=t[n-i-2],e[i+1]=t[n-i-1];return e}function NV(t,e,n,i){for(var r,a=[],o=0;o<t.length;o++){var s=t[o],l=e[o],u=PV(s),d=PV(l);null==r&&(r=u[2]<0!==d[2]<0);var c=[],h=[],p=0,f=1/0,m=[],g=s.length;r&&(s=HV(s));for(var y=6*OV(s,l,u,d),_=g-2,v=0;v<_;v+=2){var x=(y+v)%_+2;c[v+2]=s[x]-u[0],c[v+3]=s[x+1]-u[1]}if(c[0]=s[y]-u[0],c[1]=s[y+1]-u[1],n>0)for(var M=i/n,b=-i/2;b<=i/2;b+=M){var w=Math.sin(b),L=Math.cos(b),S=0;for(v=0;v<s.length;v+=2){var D=c[v],T=c[v+1],k=l[v]-d[0],Y=l[v+1]-d[1],I=k*L-Y*w,C=k*w+Y*L;m[v]=I,m[v+1]=C;var A=I-D,P=C-T;S+=A*A+P*P}if(S<f){f=S,p=b;for(var O=0;O<m.length;O++)h[O]=m[O]}}else for(var H=0;H<g;H+=2)h[H]=l[H]-d[0],h[H+1]=l[H+1]-d[1];a.push({from:c,to:h,fromCp:u,toCp:d,rotation:-p})}return a}function EV(t,e,n){var i,r;if(!t||!e)return e;!t.path&&t.createPathProxy(),i=t.path,i.beginPath(),t.buildPath(i,t.shape),!e.path&&e.createPathProxy(),r=e.path,r===i&&(r=new xu(!1)),r.beginPath(),FV(e)?e.__oldBuildPath(r,e.shape):e.buildPath(r,e.shape);var a=AV(YV(i),YV(r)),o=a[0],s=a[1],l=NV(o,s,10,Math.PI);zV(e,l,0);var u=n&&n.done,d=n&&n.aborted,c=n&&n.during;return e.animateTo({__morphT:1},me({during:function(t){e.dirtyShape(),c&&c(t)},done:function(){BV(e),e.createPathProxy(),e.dirtyShape(),u&&u()},aborted:function(){d&&d()}},n)),e}function RV(t){for(var e=this.__morphingData,n=this.__morphT,i=1-n,r=[],a=0;a<e.length;a++){var o=e[a],s=o.from,l=o.to,u=o.rotation*n,d=o.fromCp,c=o.toCp,h=Math.sin(u),p=Math.cos(u);wn(r,d,c,n);for(var f=0;f<s.length;f+=2){var m=s[f],g=s[f+1],y=l[f],_=l[f+1],v=m*i+y*n,x=g*i+_*n;TV[f]=v*p-x*h+r[0],TV[f+1]=v*h+x*p+r[1]}for(f=0;f<s.length;)0===f&&t.moveTo(TV[f++],TV[f++]),t.bezierCurveTo(TV[f++],TV[f++],TV[f++],TV[f++],TV[f++],TV[f++])}}function zV(t,e,n){if(FV(t))jV(t,e,n);else{var i=t;i.__oldBuildPath=i.buildPath,i.buildPath=RV,jV(i,e,n)}}function jV(t,e,n){t.__morphingData=e,t.__morphT=n}function BV(t){FV(t)&&(t.buildPath=t.__oldBuildPath,t.__oldBuildPath=t.__morphingData=null)}function FV(t){return null!=t.__oldBuildPath}function VV(t){return!!t.__combiningSubList}function WV(t){return FV(t)||VV(t)}function GV(t,e,n,i){for(var r=[],a=0,o=0;o<t.length;o++){var s=t[o];if(VV(s)){for(var l=s.__combiningSubList,u=0;u<l.length;u++)r.push(l[u]);a+=l.length}else r.push(s),a++}if(a){var d=n?n.dividingMethod:null,c=tW(e,a,d);Ze(c.length===a);var h=n&&n.done,p=n&&n.aborted,f=n&&n.during,m=0,g=!1,y=me({during:function(t){f&&f(t)},done:function(){m++,m===c.length&&(XV(e),h&&h())},aborted:function(){g||(g=!0,p&&p())}},n);for(o=0;o<a;o++){var _=r[o],v=c[o];i&&i(e,v,!0),EV(_,v,y)}return UV(e,c),{fromIndividuals:r,toIndividuals:c,count:a}}}function UV(t,e){if(VV(t))ZV(t,e);else{var n=t;ZV(n,e),n.__oldAddSelfToZr=t.addSelfToZr,n.__oldRemoveSelfFromZr=t.removeSelfFromZr,n.addSelfToZr=qV,n.removeSelfFromZr=JV,n.__oldBuildPath=n.buildPath,n.buildPath=an,n.childrenRef=KV}}function XV(t){if(VV(t)){var e=t;ZV(e,null),e.addSelfToZr=e.__oldAddSelfToZr,e.removeSelfFromZr=e.__oldRemoveSelfFromZr,e.buildPath=e.__oldBuildPath,e.childrenRef=e.__combiningSubList=e.__oldAddSelfToZr=e.__oldRemoveSelfFromZr=e.__oldBuildPath=null}}function ZV(t,e){if(t.__combiningSubList!==e){if($V(t,"removeSelfFromZr"),t.__combiningSubList=e,e)for(var n=0;n<e.length;n++)e[n].parent=t;$V(t,"addSelfToZr")}}function qV(t){this.__oldAddSelfToZr(t),$V(this,"addSelfToZr")}function $V(t,e){var n=t.__combiningSubList,i=t.__zr;if(n&&i)for(var r=0;r<n.length;r++){var a=n[r];a[e](i)}}function JV(t){this.__oldRemoveSelfFromZr(t);for(var e=this.__combiningSubList,n=0;n<e.length;n++){var i=e[n];i.removeSelfFromZr(t)}}function KV(){return this.__combiningSubList}function QV(t,e,n,i){var r,a=e.length,o=n?n.dividingMethod:null,s=!1;if(VV(t)){var l=t.__combiningSubList;l.length===a?r=l:(r=tW(t,a,o),s=!0)}else r=tW(t,a,o),s=!0;Ze(r.length===a);for(var u=0;u<a;u++)s&&i&&i(t,r[u],!1),EV(r[u],e[u],n);return{fromIndividuals:r,toIndividuals:e,count:a}}function tW(t,e,n){return"duplicate"===n?nW(t,e):eW(t,e)}function eW(t,e){var n=[];if(e<=0)return n;if(1===e)return nW(t,e);if(t instanceof ud)for(var i=t.shape,r=i.height>i.width?1:0,a=DV[r],o=SV[r],s=i[a]/e,l=i[o],u=0;u<e;u++,l+=s){var d={x:i.x,y:i.y,width:i.width,height:i.height};d[o]=l,d[a]=u<e-1?s:i[o]+i[a]-l;var c=new ud({shape:d});n.push(c)}else{if(!(t instanceof Mh))return nW(t,e);i=t.shape;var h=i.clockwise,p=i.startAngle,f=i.endAngle,m=iW(p,i.endAngle,h),g=(m-p)/e,y=p;for(u=0;u<e;u++,y+=g){c=new Mh({shape:{cx:i.cx,cy:i.cy,r:i.r,r0:i.r0,clockwise:h,startAngle:y,endAngle:u===e-1?f:y+g}});n.push(c)}}return n}function nW(t,e){var n=[];if(e<=0)return n;for(var i=t.constructor,r=0;r<e;r++){var a=new i({shape:ce(t.shape)});n.push(a)}return n}function iW(t,e,n){return e+LV*Math[n?"ceil":"floor"]((t-e)/LV)}var rW=us(),aW={x:1,y:1,scaleX:1,scaleY:1,originX:1,originY:1,rotation:1},oW=(De(aW).join(", "),{color:"fill",borderColor:"stroke"}),sW={symbol:1,symbolSize:1,symbolKeepAspect:1,legendSymbol:1,visualMeta:1,liftZ:1,decal:1},lW="emphasis",uW="normal",dW="blur",cW="select",hW=[uW,lW,dW,cW],pW={normal:["itemStyle"],emphasis:[lW,"itemStyle"],blur:[dW,"itemStyle"],select:[cW,"itemStyle"]},fW={normal:["label"],emphasis:[lW,"label"],blur:[dW,"label"],select:[cW,"label"]},mW="e\0\0",gW={normal:{},emphasis:{},blur:{},select:{}},yW={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},_W=new Ci,vW={cartesian2d:dV,geo:hV,singleAxis:fV,polar:gV,calendar:yV},xW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return pD(this.getSource(),this)},e.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=rW(i).info),r},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,clip:!1},e}(rv),MW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.render=function(t,e,n,i){var r=this._data,a=t.getData(),o=this.group,s=WW(t,a,e,n),l=t.__transientTransitionOpt;if(!l||null!=l.from&&null!=l.to){var u=new dG(t,l),d=l?"multiple":"oneToOne";new yS(r?r.getIndices():[],a.getIndices(),bW(r,d,l&&l.from),bW(a,d,l&&l.to),null,d).add((function(e){UW(n,null,e,s(e,i),t,o,a,null)})).remove((function(e){aG(r.getItemGraphicEl(e),t,o)})).update((function(e,l){u.reset("oneToOne");var d=r.getItemGraphicEl(l);u.findAndAddFrom(d),u.hasFrom()&&(uG(d,o),d=null),UW(n,d,e,s(e,i),t,o,a,u),u.applyMorphing()})).updateManyToOne((function(e,l){u.reset("manyToOne");for(var d=0;d<l.length;d++){var c=r.getItemGraphicEl(l[d]);u.findAndAddFrom(c),uG(c,o)}UW(n,null,e,s(e,i),t,o,a,u),u.applyMorphing()})).updateOneToMany((function(e,l){u.reset("oneToMany");var d=e.length,c=r.getItemGraphicEl(l);u.findAndAddFrom(c),uG(c,o);for(var h=0;h<d;h++)UW(n,null,e[h],s(e[h],i),t,o,a,u);u.applyMorphing()})).execute()}else r&&r.each((function(e){aG(r.getItemGraphicEl(e),t,o)})),a.each((function(e){UW(n,null,e,s(e,i),t,o,a,null)}));var c=t.get("clip",!0)?WD(t.coordinateSystem,!1,t):null;c?o.setClipPath(c):o.removeClipPath(),this._data=a},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,i,r){var a=e.getData(),o=WW(e,a,n,i);function s(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var l=t.start;l<t.end;l++){var u=UW(null,null,l,o(l,r),e,this.group,a,null);u.traverse(s)}},e.prototype.filterForExposedEvent=function(t,e,n,i){var r=e.element;if(null==r||n.name===r)return!0;while((n=n.__hostTarget||n.parent)&&n!==this.group)if(n.name===r)return!0;return!1},e.type="custom",e}(gv);function bW(t,e,n){if(t){if("oneToOne"===e)return function(e,n){return t.getId(n)};var i=t.getDimension(n),r=t.getDimensionInfo(i);if(!r){var a="";0,i_(a)}var o=r.ordinalMeta;return function(e,n){var r=t.get(i,n);return o&&(r=o.categories[r]),null==r||Fe(r)?e+"":"_ec_"+r}}}function wW(t){var e,n=t.type;if("path"===n){var i=t.shape,r=null!=i.width&&null!=i.height?{x:i.x||0,y:i.y||0,width:i.width,height:i.height}:null,a=oG(i);e=_p(a,null,r,i.layout||"center"),rW(e).customPathData=a}else if("image"===n)e=new td({}),rW(e).customImagePath=t.style.image;else if("text"===n)e=new wd({});else if("group"===n)e=new ro;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var o=yp(n);if(!o){var s="";0,i_(s)}e=new o}return rW(e).customGraphicType=n,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function LW(t,e,n,i,r,a,o,s,l,u){var d={},c={},h=e.isGroup?null:e;!n&&TW("shape",e,null,r,d,l),kW("shape",r,c),!n&&TW("extra",e,null,r,d,l),kW("extra",r,c),!n&&YW(e,null,r,d,l),IW(r,c);var p=o&&o.normal.cfg;if(p&&e.setTextConfig(p),"text"===e.type&&a){var f=a;rn(f,"textFill")&&(f.fill=f.textFill),rn(f,"textStroke")&&(f.stroke=f.textStroke)}if(a){var m=void 0,g=lG(e)?a.decal:null;t&&g&&(g.dirty=!0,m=KM(g,t)),a.__decalPattern=m}return!n&&CW(e,null,r,a,d,l),h&&rn(r,"invisible")&&(h.invisible=r.invisible),n||(SW(e,c,a),DW(e,i,r,s,d,l)),rn(r,"silent")&&(e.silent=r.silent),rn(r,"ignore")&&(e.ignore=r.ignore),u||rn(r,"info")&&(rW(e).info=r.info),a?e.dirty():e.markRedraw(),n?c:null}function SW(t,e,n){var i=t.isGroup?null:t;if(i&&n){var r=n.__decalPattern,a=void 0;r&&(a=n.decal,n.decal=r),i.useStyle(n),r&&(n.decal=a);for(var o=i.animators,s=0;s<o.length;s++){var l=o[s];"style"===l.targetName&&l.changeTarget(i.style)}}e&&t.attr(e)}function DW(t,e,n,i,r,a){if(r){var o=n.during;rW(t).userDuring=o;var s=o?ke(EW,{el:t,userDuring:o}):null,l={dataIndex:e,isFrom:!0,during:s};a?kp(t,r,i,l):Tp(t,r,i,l)}}function TW(t,e,n,i,r,a){var o=i[t];if(o){var s,l=e[t],u=o.enterFrom;if(a&&u){!s&&(s=r[t]={});for(var d=De(u),c=0;c<d.length;c++){var h=d[c];s[h]=u[h]}}if(!a&&l&&(null==n||"shape"!==t))if(o.transition){!s&&(s=r[t]={});var p=Bo(o.transition);for(c=0;c<p.length;c++){h=p[c];var f=l[h];0,s[h]=f}}else if(ye(i.transition,t)>=0){!s&&(s=r[t]={});var m=De(l);for(c=0;c<m.length;c++){h=m[c],f=l[h];PW(o[h],f)&&(s[h]=f)}}var g=o.leaveTo;if(g){var y=OW(e),_=y[t]||(y[t]={}),v=De(g);for(c=0;c<v.length;c++){h=v[c];_[h]=g[h]}}}}function kW(t,e,n){var i=e[t];if(i)for(var r=n[t]={},a=De(i),o=0;o<a.length;o++){var s=a[o];r[s]=Mr(i[s])}}function YW(t,e,n,i,r){var a=n.enterFrom;if(r&&a)for(var o=De(a),s=0;s<o.length;s++){var l=o[s];0,i[l]=a[l]}if(!r)if(e){var u=AW(e,t);VW(i,"x",u),VW(i,"y",u),VW(i,"scaleX",u),VW(i,"scaleY",u),VW(i,"originX",u),VW(i,"originY",u),VW(i,"rotation",u)}else if(n.transition){var d=Bo(n.transition);for(s=0;s<d.length;s++){l=d[s];if("style"!==l&&"shape"!==l&&"extra"!==l){var c=t[l];0,i[l]=c}}}else VW(i,"x",t),VW(i,"y",t);var h=n.leaveTo;if(h){var p=OW(t),f=De(h);for(s=0;s<f.length;s++){l=f[s];0,p[l]=h[l]}}}function IW(t,e){BW(t,e,"position"),BW(t,e,"scale"),BW(t,e,"origin"),FW(t,e,"x"),FW(t,e,"y"),FW(t,e,"scaleX"),FW(t,e,"scaleY"),FW(t,e,"originX"),FW(t,e,"originY"),FW(t,e,"rotation")}function CW(t,e,n,i,r,a){if(i){var o,s=e||t,l=s.style,u=i.enterFrom;if(a&&u){var d=De(u);!o&&(o=r.style={});for(var c=0;c<d.length;c++){var h=d[c];o[h]=u[h]}}if(!a&&l)if(i.transition){var p=Bo(i.transition);!o&&(o=r.style={});for(c=0;c<p.length;c++){h=p[c];var f=l[h];o[h]=f}}else if(t.getAnimationStyleProps&&ye(n.transition,"style")>=0){var m=t.getAnimationStyleProps(),g=m?m.style:null;if(g){!o&&(o=r.style={});var y=De(i);for(c=0;c<y.length;c++){h=y[c];if(g[h]){f=l[h];o[h]=f}}}}var _=i.leaveTo;if(_){var v=De(_),x=OW(t),M=x.style||(x.style={});for(c=0;c<v.length;c++){h=v[c];M[h]=_[h]}}}}function AW(t,e){if(!t||t===e||t.parent===e.parent)return t;var n=_W.transform||(_W.transform=mi([])),i=t.getComputedTransform();i?gi(n,i):mi(n);var r=e.parent;return r&&r.getComputedTransform(),_W.originX=t.originX,_W.originY=t.originY,_W.parent=r,_W.decomposeTransform(),_W}function PW(t,e){return xe(t)?t!==e:null!=t&&isFinite(t)}function OW(t){var e=rW(t);return e.leaveToProps||(e.leaveToProps={})}var HW={},NW={setTransform:function(t,e){return HW.el[t]=e,this},getTransform:function(t){return HW.el[t]},setShape:function(t,e){var n=HW.el.shape||(HW.el.shape={});return n[t]=e,HW.isShapeDirty=!0,this},getShape:function(t){var e=HW.el.shape;if(e)return e[t]},setStyle:function(t,e){var n=HW.el.style;return n&&(n[t]=e,HW.isStyleDirty=!0),this},getStyle:function(t){var e=HW.el.style;if(e)return e[t]},setExtra:function(t,e){var n=HW.el.extra||(HW.el.extra={});return n[t]=e,this},getExtra:function(t){var e=HW.el.extra;if(e)return e[t]}};function EW(){var t=this,e=t.el;if(e){var n=rW(e).userDuring,i=t.userDuring;n===i?(HW.el=e,HW.isShapeDirty=!1,HW.isStyleDirty=!1,i(NW),HW.isShapeDirty&&e.dirtyShape&&e.dirtyShape(),HW.isStyleDirty&&e.dirtyStyle&&e.dirtyStyle()):t.el=t.userDuring=null}}function RW(t,e,n,i,r,a,o){var s=e.isGroup?null:e,l=r&&r[t].cfg;if(s){var u=s.ensureState(t);if(!1===i){var d=s.getState(t);d&&(d.style=null)}else u.style=i||null;l&&(u.textConfig=l),rc(s)}}function zW(t,e,n,i){if(!t.isGroup){var r=t,a=n.currentZ,o=n.currentZLevel;r.z=a,r.zlevel=o;var s=e.z2;null!=s&&(r.z2=s||0);for(var l=0;l<hW.length;l++)jW(r,e,hW[l])}}function jW(t,e,n){var i,r=n===uW,a=r?e:KW(e,n),o=a?a.z2:null;null!=o&&(i=r?t:t.ensureState(n),i.z2=o||0)}function BW(t,e,n,i){var r=t[n],a=yW[n];r&&(i?(e[a[0]]=i[a[0]],e[a[1]]=i[a[1]]):(e[a[0]]=r[0],e[a[1]]=r[1]))}function FW(t,e,n,i){null!=t[n]&&(e[n]=i?i[n]:t[n])}function VW(t,e,n){n&&(t[e]=n[e])}function WW(t,e,n,i){var r=t.get("renderItem"),a=t.coordinateSystem,o={};a&&(o=a.prepareCustoms?a.prepareCustoms(a):vW[a.type](a));for(var s,l,u=me({getWidth:i.getWidth,getHeight:i.getHeight,getZr:i.getZr,getDevicePixelRatio:i.getDevicePixelRatio,value:x,style:b,ordinalRawValue:M,styleEmphasis:w,visual:D,barLayout:T,currentSeriesIndices:k,font:Y},o.api||{}),d={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:o.coordSys,dataInsideLength:e.count(),encode:GW(t.getData())},c={},h={},p={},f={},m=0;m<hW.length;m++){var g=hW[m];p[g]=t.getModel(pW[g]),f[g]=t.getModel(fW[g])}function y(t){return t===s?l||(l=e.getItemModel(t)):e.getItemModel(t)}function _(t,n){return e.hasItemOption?t===s?c[n]||(c[n]=y(t).getModel(pW[n])):y(t).getModel(pW[n]):p[n]}function v(t,n){return e.hasItemOption?t===s?h[n]||(h[n]=y(t).getModel(fW[n])):y(t).getModel(fW[n]):f[n]}return function(t,n){return s=t,l=null,c={},h={},r&&r(me({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:n?n.type:null},d),u)};function x(t,n){return null==n&&(n=s),e.get(e.getDimension(t||0),n)}function M(t,n){null==n&&(n=s);var i=e.getDimensionInfo(t||0);if(i){var r=e.get(i.name,n),a=i&&i.ordinalMeta;return a?a.categories[r]:r}}function b(n,i){null==i&&(i=s);var r=e.getItemVisual(i,"style"),a=r&&r.fill,o=r&&r.opacity,l=_(i,uW).getItemStyle();null!=a&&(l.fill=a),null!=o&&(l.opacity=o);var u={inheritColor:Ae(a)?a:"#000"},d=v(i,uW),c=Jp(d,null,u,!1,!0);c.text=d.getShallow("show")?We(t.getFormattedLabel(i,uW),gD(e,i)):null;var h=Kp(d,u,!1);return S(n,l),l=MV(l,c,h),n&&L(l,n),l.legacy=!0,l}function w(n,i){null==i&&(i=s);var r=_(i,lW).getItemStyle(),a=v(i,lW),o=Jp(a,null,null,!0,!0);o.text=a.getShallow("show")?Ge(t.getFormattedLabel(i,lW),t.getFormattedLabel(i,uW),gD(e,i)):null;var l=Kp(a,null,!0);return S(n,r),r=MV(r,o,l),n&&L(r,n),r.legacy=!0,r}function L(t,e){for(var n in e)rn(e,n)&&(t[n]=e[n])}function S(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}function D(t,n){if(null==n&&(n=s),rn(oW,t)){var i=e.getItemVisual(n,"style");return i?i[oW[t]]:null}if(rn(sW,t))return e.getItemVisual(n,t)}function T(t){if("cartesian2d"===a.type){var e=a.getBaseAxis();return vT(me({axis:e},t))}}function k(){return n.getCurrentSeriesIndices()}function Y(t){return of(t,n)}}function GW(t){var e={};return Me(t.dimensions,(function(n,i){var r=t.getDimensionInfo(n);if(!r.isExtraCoord){var a=r.coordDim,o=e[a]=e[a]||[];o[r.coordDimIndex]=i}})),e}function UW(t,e,n,i,r,a,o,s){if(i)return e=XW(t,e,n,i,r,a,!0,s),e&&o.setItemGraphicEl(n,e),xc(e,i.focus,i.blurScope),e;uG(e,a)}function XW(t,e,n,i,r,a,o,s){var l=-1;e&&ZW(e,i)&&(l=a.childrenRef().indexOf(e),e=null);var u=!e;e?e.clearStates():e=wW(i);var d=rW(e).canMorph=i.morph&&lG(e),c=d&&s&&s.hasFrom(),h=u&&!c;gW.normal.cfg=gW.normal.conOpt=gW.emphasis.cfg=gW.emphasis.conOpt=gW.blur.cfg=gW.blur.conOpt=gW.select.cfg=gW.select.conOpt=null,gW.isLegacy=!1,$W(e,n,i,r,h,gW),qW(e,n,i,r,h);var p=LW(t,e,c,n,i,i.style,gW,r,h,!1);c&&s.addTo(e,i,n,p);for(var f=0;f<hW.length;f++){var m=hW[f];if(m!==uW){var g=KW(i,m),y=QW(i,g,m);RW(m,e,g,y,gW,o,!1)}}return zW(e,i,r,gW),"group"===i.type&&tG(t,e,n,i,r,s),l>=0?a.replaceAt(e,l):a.add(e),e}function ZW(t,e){var n=rW(t),i=e.type,r=e.shape,a=e.style;return null!=i&&i!==n.customGraphicType||"path"===i&&sG(r)&&oG(r)!==n.customPathData||"image"===i&&rn(a,"image")&&a.image!==n.customImagePath}function qW(t,e,n,i,r){var a=n.clipPath;if(!1===a)t&&t.getClipPath()&&t.removeClipPath();else if(a){var o=t.getClipPath();o&&ZW(o,a)&&(o=null),o||(o=wW(a),t.setClipPath(o)),LW(null,o,null,e,a,null,null,i,r,!1)}}function $W(t,e,n,i,r,a){if(!t.isGroup){JW(n,null,a),JW(n,lW,a);var o=a.normal.conOpt,s=a.emphasis.conOpt,l=a.blur.conOpt,u=a.select.conOpt;if(null!=o||null!=s||null!=u||null!=l){var d=t.getTextContent();if(!1===o)d&&t.removeTextContent();else{o=a.normal.conOpt=o||{type:"text"},d?d.clearStates():(d=wW(o),t.setTextContent(d));var c=o&&o.style;LW(null,d,null,e,o,c,null,i,r,!0);for(var h=0;h<hW.length;h++){var p=hW[h];if(p!==uW){var f=a[p].conOpt;RW(p,d,f,QW(o,f,p),null,!1,!0)}}c?d.dirty():d.markRedraw()}}}}function JW(t,e,n){var i=e?KW(t,e):t,r=e?QW(t,i,lW):t.style,a=t.type,o=i?i.textConfig:null,s=t.textContent,l=s?e?KW(s,e):s:null;if(r&&(n.isLegacy||_V(r,a,!!o,!!l))){n.isLegacy=!0;var u=vV(r,a,!e);!o&&u.textConfig&&(o=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var d=l;!d.type&&(d.type="text")}var c=e?n[e]:n.normal;c.cfg=o,c.conOpt=l}function KW(t,e){return e?t?t[e]:null:t}function QW(t,e,n){var i=e&&e.style;return null==i&&n===lW&&t&&(i=t.styleEmphasis),i}function tG(t,e,n,i,r,a){var o=i.children,s=o?o.length:0,l=i.$mergeChildren,u="byName"===l||i.diffChildrenByName,d=!1===l;if(s||u||d)if(u)eG({api:t,oldChildren:e.children()||[],newChildren:o||[],dataIndex:n,seriesModel:r,group:e,morphPreparation:a});else{d&&e.removeAll();for(var c=0;c<s;c++)o[c]&&XW(t,e.childAt(c),n,o[c],r,e,!1,a);for(var h=e.childCount()-1;h>=c;h--)aG(e.childAt(h),r,e)}}function eG(t){new yS(t.oldChildren,t.newChildren,nG,nG,t).add(iG).update(iG).remove(rG).execute()}function nG(t,e){var n=t&&t.name;return null!=n?n:mW+e}function iG(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;XW(n.api,r,n.dataIndex,i,n.seriesModel,n.group,!1,n.morphPreparation)}function rG(t){var e=this.context,n=e.oldChildren[t];aG(n,e.seriesModel,e.group)}function aG(t,e,n){if(t){var i=rW(t).leaveToProps;i?Tp(t,i,e,{cb:function(){n.remove(t)}}):n.remove(t)}}function oG(t){return t&&(t.pathData||t.d)}function sG(t){return t&&(rn(t,"pathData")||rn(t,"d"))}function lG(t){return t&&t instanceof Uu}function uG(t,e){t&&e.remove(t)}var dG=function(){function t(t,e){this._fromList=[],this._toList=[],this._toElOptionList=[],this._allPropsFinalList=[],this._toDataIndices=[],this._morphConfigList=[],this._seriesModel=t,this._transOpt=e}return t.prototype.hasFrom=function(){return!!this._fromList.length},t.prototype.findAndAddFrom=function(t){if(t&&(rW(t).canMorph&&this._fromList.push(t),t.isGroup))for(var e=t.childrenRef(),n=0;n<e.length;n++)this.findAndAddFrom(e[n])},t.prototype.addTo=function(t,e,n,i){t&&(this._toList.push(t),this._toElOptionList.push(e),this._toDataIndices.push(n),this._allPropsFinalList.push(i))},t.prototype.applyMorphing=function(){var t=this._type,e=this._fromList,n=this._toList,i=n.length,r=e.length;if(r&&i)if("oneToOne"===t)for(var a=0;a<i;a++)this._oneToOneForSingleTo(a,a);else if("manyToOne"===t)for(var o=Math.max(1,Math.floor(r/i)),s=(a=0,0);a<i;a++,s+=o){var l=a+1>=i?r-s:o;this._manyToOneForSingleTo(a,s>=r?null:s,l)}else if("oneToMany"===t)for(var u=Math.max(1,Math.floor(i/r)),d=0,c=0;d<i;d+=u,c++){var h=d+u>=i?i-d:u;this._oneToManyForSingleFrom(d,h,c>=r?null:c)}},t.prototype._oneToOneForSingleTo=function(t,e){var n=this._toList[t],i=this._toElOptionList[t],r=this._toDataIndices[t],a=this._allPropsFinalList[t],o=this._fromList[e],s=this._getOrCreateMorphConfig(r),l=s.duration;if(o&&VV(o)){if(SW(n,a,i.style),l){var u=GV([o],n,s,cG);this._processResultIndividuals(u,t,null)}}else{var d=l&&o&&(o!==n||WV(o))?o:null,c={};TW("shape",n,d,i,c,!1),TW("extra",n,d,i,c,!1),YW(n,d,i,c,!1),CW(n,d,i,i.style,c,!1),SW(n,a,i.style),d&&EV(d,n,s),DW(n,r,i,this._seriesModel,c,!1)}},t.prototype._manyToOneForSingleTo=function(t,e,n){var i=this._toList[t],r=this._toElOptionList[t],a=this._allPropsFinalList[t];SW(i,a,r.style);var o=this._getOrCreateMorphConfig(this._toDataIndices[t]);if(o.duration&&null!=e){for(var s=[],l=e;l<n;l++)s.push(this._fromList[l]);var u=GV(s,i,o,cG);this._processResultIndividuals(u,t,null)}},t.prototype._oneToManyForSingleFrom=function(t,e,n){for(var i=null==n?null:this._fromList[n],r=this._toList,a=[],o=t;o<e;o++){var s=r[o];SW(s,this._allPropsFinalList[o],this._toElOptionList[o].style),a.push(s)}var l=this._getOrCreateMorphConfig(this._toDataIndices[t]);if(l.duration&&i){var u=QV(i,a,l,cG);this._processResultIndividuals(u,t,e)}},t.prototype._processResultIndividuals=function(t,e,n){for(var i=null!=n,r=0;r<t.count;r++){var a=t.fromIndividuals[r],o=t.toIndividuals[r],s=e+(i?r:0),l=this._toElOptionList[s],u=this._toDataIndices[s],d={};YW(o,a,l,d,!1),CW(o,a,l,l.style,d,!1),DW(o,u,l,this._seriesModel,d,!1)}},t.prototype._getOrCreateMorphConfig=function(t){var e,n,i,r=this._morphConfigList,a=r[t];if(a)return a;var o=this._seriesModel,s=this._transOpt;if(o.isAnimationEnabled()){var l=void 0;if(o&&o.ecModel){var u=o.ecModel.getUpdatePayload();l=u&&u.animation}if(l)e=l.duration||0,n=l.easing||"cubicOut",i=l.delay||0;else{n=o.get("animationEasingUpdate");var d=o.get("animationDelayUpdate");i=Ce(d)?d(t):d;var c=o.get("animationDurationUpdate");e=Ce(c)?c(t):c}}return a={duration:e||0,delay:i,easing:n,dividingMethod:s?s.dividingMethod:null},r[t]=a,a},t.prototype.reset=function(t){this._type=t,this._fromList.length=this._toList.length=this._toElOptionList.length=this._allPropsFinalList.length=this._toDataIndices.length=0},t}();function cG(t,e,n){e.style=n?ce(t.style):t.style,e.zlevel=t.zlevel,e.z=t.z,e.z2=t.z2}function hG(t){t.registerChartView(MW),t.registerSeriesModel(xW)}var pG=us(),fG=ce,mG=ke,gG=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),a=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==a){this._lastValue=r,this._lastStatus=a;var o=this._group,s=this._handle;if(!a||"hide"===a)return o&&o.hide(),void(s&&s.hide());o&&o.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var d=this._moveAnimation=this.determineAnimation(t,e);if(o){var c=Ye(yG,e,d);this.updatePointerEl(o,l,c),this.updateLabelEl(o,l,c,e)}else o=this._group=new ro,this.createPointerEl(o,l,t,e),this.createLabelEl(o,l,t,e),n.getZr().add(o);MG(o,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,a=e.get("snap");if(!a&&!r)return!1;if("auto"===n||null==n){var o=this.animationThreshold;if(r&&i.getBandWidth()>o)return!0;if(a){var s=oC(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>o}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,r){var a=e.pointer;if(a){var o=pG(t).pointerEl=new i[a.type](fG(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=pG(t).labelEl=new wd(fG(e.label));t.add(r),vG(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=pG(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=pG(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),vG(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,a=n.getModel("handle"),o=n.get("status");if(!a.get("show")||!o||"hide"===o)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=Bp(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){Kn(t.event)},onmousedown:mG(this._onHandleDragMove,this,0,0),drift:mG(this._onHandleDragMove,this),ondragend:mG(this._onHandleDragEnd,this)}),i.add(r)),MG(r,n,!1),r.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=a.get("size");Ie(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,Mv(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){yG(this._axisPointerModel,!e&&this._moveAnimation,this._handle,xG(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(xG(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(xG(i)),pG(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var e=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null)},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}},t}();function yG(t,e,n,i){_G(pG(n).lastProp,i)||(pG(n).lastProp=i,e?Tp(n,i,t):(n.stopAnimation(),n.attr(i)))}function _G(t,e){if(He(t)&&He(e)){var n=!0;return Me(e,(function(e,i){n=n&&_G(t[i],e)})),!!n}return t===e}function vG(t,e){t[e.get(["label","show"])?"show":"hide"]()}function xG(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function MG(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}var bG=gG;function wG(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle(),e.fill=null):"shadow"===n&&(e=i.getAreaStyle(),e.stroke=null),e}function LG(t,e,n,i,r){var a=n.get("value"),o=DG(a,e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),s=n.getModel("label"),l=vm(s.get("padding")||0),u=s.getFont(),d=Zr(o,u),c=r.position,h=d.width+l[1]+l[3],p=d.height+l[0]+l[2],f=r.align;"right"===f&&(c[0]-=h),"center"===f&&(c[0]-=h/2);var m=r.verticalAlign;"bottom"===m&&(c[1]-=p),"middle"===m&&(c[1]-=p/2),SG(c,h,p,i);var g=s.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:c[0],y:c[1],style:Jp(s,{text:o,font:u,fill:s.getTextColor(),padding:l,backgroundColor:g}),z2:10}}function SG(t,e,n,i){var r=i.getWidth(),a=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,a)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function DG(t,e,n,i,r){t=e.scale.parse(t);var a=e.scale.getLabel({value:t},{precision:r.precision}),o=r.formatter;if(o){var s={value:$Y(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};Me(i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)})),Ae(o)?a=o.replace("{value}",a):Ce(o)&&(a=o(s))}return a}function TG(t,e,n){var i=fi();return vi(i,i,n.rotation),_i(i,i,n.position),Op([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function kG(t,e,n,i,r,a){var o=KI.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),LG(e,i,r,a,{position:TG(i.axis,t,n),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function YG(t,e,n){return n=n||0,{x1:t[n],y1:t[1-n],x2:e[n],y2:e[1-n]}}function IG(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}function CG(t,e,n,i,r,a){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:a,clockwise:!0}}var AG=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vt(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var a=n.axis,o=a.grid,s=i.get("type"),l=PG(o,a).getOtherAxis(a).getGlobalExtent(),u=a.toGlobalCoord(a.dataToCoord(e,!0));if(s&&"none"!==s){var d=wG(i),c=OG[s](a,u,l);c.style=d,t.graphicKey=c.type,t.pointer=c}var h=CI(o.model,n);kG(e,t,h,n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=CI(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=TG(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,a=r.grid,o=r.getGlobalExtent(!0),s=PG(a,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(o[1],u[l]),u[l]=Math.max(o[0],u[l]);var d=(s[1]+s[0])/2,c=[d,d];c[l]=u[l];var h=[{verticalAlign:"middle"},{align:"center"}];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:c,tooltipOption:h[l]}},e}(bG);function PG(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var OG={line:function(t,e,n){var i=YG([e,n[0]],[e,n[1]],HG(t));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:IG([e-i/2,n[0]],[i,r],HG(t))}}};function HG(t){return"x"===t.dim?0:1}var NG=AG,EG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.type="axisPointer",e.defaultOption={show:"auto",zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(Xm),RG=EG,zG=us(),jG=Me;function BG(t,e,n){if(!$t.node){var i=e.getZr();zG(i).records||(zG(i).records={}),FG(i,e);var r=zG(i).records[t]||(zG(i).records[t]={});r.handler=n}}function FG(t,e){function n(n,i){t.on(n,(function(n){var r=UG(e);jG(zG(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),VG(r.pendings,e)}))}zG(t).initialized||(zG(t).initialized=!0,n("click",Ye(GG,"click")),n("mousemove",Ye(GG,"mousemove")),n("globalout",WG))}function VG(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}function WG(t,e,n){t.handler("leave",null,n)}function GG(t,e,n,i){e.handler(t,n,i)}function UG(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}function XG(t,e){if(!$t.node){var n=e.getZr(),i=(zG(n).records||{})[t];i&&(zG(n).records[t]=null)}}var ZG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";BG("axisPointer",n,(function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){XG("axisPointer",e)},e.prototype.dispose=function(t,e){XG("axisPointer",e)},e.type="axisPointer",e}(ov),qG=ZG;function $G(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var a=n.getData(),o=ls(a,t);if(null==o||o<0||Ie(o))return{point:[]};var s=a.getItemGraphicEl(o),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(o)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),d=l.getOtherAxis(u),c=d.dim,h=u.dim,p="x"===c||"radius"===c?1:0,f=a.mapDimension(h),m=[];m[p]=a.get(f,o),m[1-p]=a.get(a.getCalculationInfo("stackResultDimension"),o),i=l.dataToPoint(m)||[]}else i=l.dataToPoint(a.getValues(be(l.dimensions,(function(t){return a.mapDimension(t)})),o))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),i=[g.x+g.width/2,g.y+g.height/2]}return{point:i,el:s}}var JG=us();function KG(t,e,n){var i=t.currTrigger,r=[t.x,t.y],a=t,o=t.dispatchAction||ke(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){lU(r)&&(r=$G({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},e).point);var l=lU(r),u=a.axesInfo,d=s.axesInfo,c="leave"===i||lU(r),h={},p={},f={list:[],map:{}},m={showPointer:Ye(eU,p),showTooltip:Ye(nU,f)};Me(s.coordSysMap,(function(t,e){var n=l||t.containPoint(r);Me(s.coordSysAxesInfo[e],(function(t,e){var i=t.axis,a=oU(u,t);if(!c&&n&&(!u||a)){var o=a&&a.value;null!=o||l||(o=i.pointToData(r)),null!=o&&QG(t,o,m,!1,h)}}))}));var g={};return Me(d,(function(t,e){var n=t.linkGroup;n&&!p[e]&&Me(n.axesInfo,(function(e,i){var r=p[i];if(e!==t&&r){var a=r.value;n.mapper&&(a=t.axis.scale.parse(n.mapper(a,sU(e),sU(t)))),g[t.key]=a}}))})),Me(g,(function(t,e){QG(d[e],t,m,!0,h)})),iU(p,d,h),rU(f,r,t,o),aU(d,o,n),h}}function QG(t,e,n,i,r){var a=t.axis;if(!a.scale.isBlank()&&a.containData(e))if(t.involveSeries){var o=tU(e,t),s=o.payloadBatch,l=o.snapToValue;s[0]&&null==r.seriesIndex&&fe(r,s[0]),!i&&t.snap&&a.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,o,l)}else n.showPointer(t,e)}function tU(t,e){var n=e.axis,i=n.dim,r=t,a=[],o=Number.MAX_VALUE,s=-1;return Me(e.seriesModels,(function(e,l){var u,d,c=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var h=e.getAxisTooltipData(c,t,n);d=h.dataIndices,u=h.nestestValue}else{if(d=e.getData().indicesOfNearest(c[0],t,"category"===n.type?.5:null),!d.length)return;u=e.getData().get(c[0],d[0])}if(null!=u&&isFinite(u)){var p=t-u,f=Math.abs(p);f<=o&&((f<o||p>=0&&s<0)&&(o=f,s=p,r=u,a.length=0),Me(d,(function(t){a.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:a,snapToValue:r}}function eU(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function nU(t,e,n,i){var r=n.payloadBatch,a=e.axis,o=a.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=uC(l),d=t.map[u];d||(d=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(d)),d.dataByAxis.push({axisDim:a.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function iU(t,e,n){var i=n.axesInfo=[];Me(e,(function(e,n){var r=e.axisPointerModel.option,a=t[n];a?(!e.useHandle&&(r.status="show"),r.value=a.value,r.seriesDataIndices=(a.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}function rU(t,e,n,i){if(!lU(e)&&t.list.length){var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else i({type:"hideTip"})}function aU(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",a=JG(i)[r]||{},o=JG(i)[r]={};Me(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&Me(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;o[e]=t}))}));var s=[],l=[];Me(a,(function(t,e){!o[e]&&l.push(t)})),Me(o,(function(t,e){!a[e]&&s.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function oU(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}function sU(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function lU(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function uU(t){hC.registerAxisPointerClass("CartesianAxisPointer",NG),t.registerComponentModel(RG),t.registerComponentView(qG),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!Ie(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=QI(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},KG)}function dU(t){Vw(LC),Vw(uU)}var cU=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vt(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var a=n.axis;"angle"===a.dim&&(this.animationThreshold=Math.PI/18);var o=a.polar,s=o.getOtherAxis(a),l=s.getExtent(),u=a.dataToCoord(e),d=i.get("type");if(d&&"none"!==d){var c=wG(i),h=pU[d](a,o,u,l);h.style=c,t.graphicKey=h.type,t.pointer=h}var p=i.get(["label","margin"]),f=hU(e,n,i,o,p);LG(t,n,i,r,f)},e}(bG);function hU(t,e,n,i,r){var a=e.axis,o=a.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,d,c=i.getRadiusAxis().getExtent();if("radius"===a.dim){var h=fi();vi(h,h,s),_i(h,h,[i.cx,i.cy]),l=Op([o,-r],h);var p=e.getModel("axisLabel").get("rotate")||0,f=KI.innerTextLayout(s,p*Math.PI/180,-1);u=f.textAlign,d=f.textVerticalAlign}else{var m=c[1];l=i.coordToPoint([m+r,o]);var g=i.cx,y=i.cy;u=Math.abs(l[0]-g)/m<.3?"center":l[0]>g?"left":"right",d=Math.abs(l[1]-y)/m<.3?"middle":l[1]>y?"top":"bottom"}return{position:l,align:u,verticalAlign:d}}var pU={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:YG(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),a=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:CG(e.cx,e.cy,i[0],i[1],(-n-r/2)*a,(r/2-n)*a)}:{type:"Sector",shape:CG(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},fU=cU,mU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.findAxisModel=function(t){var e,n=this.ecModel;return n.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={zlevel:0,z:0,center:["50%","50%"],radius:"80%"},e}(Xm),gU=mU,yU=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vt(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",hs).models[0]},e.type="polarAxis",e}(Xm);ve(yU,jk);var _U=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.type="angleAxis",e}(yU),vU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.type="radiusAxis",e}(yU),xU=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return Vt(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(kI);xU.prototype.dataToRadius=kI.prototype.dataToCoord,xU.prototype.radiusToData=kI.prototype.coordToData;var MU=xU,bU=us(),wU=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return Vt(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var a=i[0],o=t.dataToCoord(a+1)-t.dataToCoord(a),s=Math.abs(o),l=Zr(null==a?"":a+"",e.getFont(),"center","top"),u=Math.max(l.height,7),d=u/s;isNaN(d)&&(d=1/0);var c=Math.max(0,Math.floor(d)),h=bU(t.model),p=h.lastAutoInterval,f=h.lastTickCount;return null!=p&&null!=f&&Math.abs(p-c)<=1&&Math.abs(f-r)<=1&&p>c?c=p:(h.lastTickCount=r,h.lastAutoInterval=c),c},e}(kI);wU.prototype.dataToAngle=kI.prototype.dataToCoord,wU.prototype.angleToData=kI.prototype.coordToData;var LU=wU,SU=function(){function t(t){this.dimensions=["radius","angle"],this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new MU,this._angleAxis=new LU,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){var e="_"+t+"Axis";return this[e]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),a=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);i.inverse?a=o-360:o=a+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;var l=Math.atan2(-n,e)/Math.PI*180,u=l<a?1:-1;while(l<a||l>o)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI,i=Math.cos(n)*e+this.cx,r=-Math.sin(n)*e+this.cy;return[i,r]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis(),n=e.getExtent().slice();n[0]>n[1]&&n.reverse();var i=t.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:n[0],r:n[1],startAngle:-i[0]*r,endAngle:-i[1]*r,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,r=n*n+i*i,a=this.r,o=this.r0;return r<=a*a&&r>=o*o}}},t.prototype.convertToPixel=function(t,e,n){var i=DU(e);return i===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=DU(e);return i===this?this.pointToData(n):null},t}();function DU(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var TU=SU;function kU(t,e,n){var i=e.get("center"),r=n.getWidth(),a=n.getHeight();t.cx=yo(i[0],r),t.cy=yo(i[1],a);var o=t.getRadiusAxis(),s=Math.min(r,a)/2,l=e.get("radius");null==l?l=[0,"100%"]:Ie(l)||(l=[0,l]);var u=[yo(l[0],s),yo(l[1],s)];o.inverse?o.setExtent(u[1],u[0]):o.setExtent(u[0],u[1])}function YU(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();Me(eI(e,"radius"),(function(t){r.scale.unionExtentFromData(e,t)})),Me(eI(e,"angle"),(function(t){i.scale.unionExtentFromData(e,t)}))}})),UY(i.scale,i.model),UY(r.scale,r.model),"category"===i.type&&!i.onBand){var a=i.getExtent(),o=360/i.scale.count();i.inverse?a[1]+=o:a[1]-=o,i.setExtent(a[0],a[1])}}function IU(t){return"angleAxis"===t.mainType}function CU(t,e){if(t.type=e.get("type"),t.scale=XY(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),IU(e)){t.inverse=t.inverse!==e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}var AU={dimensions:TU.prototype.dimensions,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,i){var r=new TU(i+"");r.update=YU;var a=r.getRadiusAxis(),o=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");CU(a,s),CU(o,l),kU(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",hs).models[0];0,t.coordinateSystem=e.coordinateSystem}})),n}},PU=AU,OU=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function HU(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function NU(t){var e=t.getRadiusAxis();return e.inverse?0:1}function EU(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var RU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return Vt(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),a=n.getTicksCoords(),o=n.getMinorTicksCoords(),s=be(n.getViewLabels(),(function(t){t=ce(t);var e=n.scale,i="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t}));EU(s),EU(a),Me(OU,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||zU[e](this.group,t,i,a,o,r,s)}),this)}},e.type="angleAxis",e}(hC),zU={axisLine:function(t,e,n,i,r,a){var o,s=e.getModel(["axisLine","lineStyle"]),l=NU(n),u=l?0:1;o=0===a[u]?new eh({shape:{cx:n.cx,cy:n.cy,r:a[l]},style:s.getLineStyle(),z2:1,silent:!0}):new Lh({shape:{cx:n.cx,cy:n.cy,r:a[l],r0:a[u]},style:s.getLineStyle(),z2:1,silent:!0}),o.style.fill=null,t.add(o)},axisTick:function(t,e,n,i,r,a){var o=e.getModel("axisTick"),s=(o.get("inside")?-1:1)*o.get("length"),l=a[NU(n)],u=be(i,(function(t){return new Rh({shape:HU(n,[l,l+s],t.coord)})}));t.add(Mp(u,{style:me(o.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,a){if(r.length){for(var o=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(o.get("inside")?-1:1)*s.get("length"),u=a[NU(n)],d=[],c=0;c<r.length;c++)for(var h=0;h<r[c].length;h++)d.push(new Rh({shape:HU(n,[u,u+l],r[c][h].coord)}));t.add(Mp(d,{style:me(s.getModel("lineStyle").getLineStyle(),me(o.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(t,e,n,i,r,a,o){var s=e.getCategories(!0),l=e.getModel("axisLabel"),u=l.get("margin"),d=e.get("triggerEvent");Me(o,(function(i,r){var o=l,c=i.tickValue,h=a[NU(n)],p=n.coordToPoint([h+u,i.coord]),f=n.cx,m=n.cy,g=Math.abs(p[0]-f)/h<.3?"center":p[0]>f?"left":"right",y=Math.abs(p[1]-m)/h<.3?"middle":p[1]>m?"top":"bottom";if(s&&s[c]){var _=s[c];He(_)&&_.textStyle&&(o=new Mf(_.textStyle,l,l.ecModel))}var v=new wd({silent:KI.isLabelSilent(e),style:Jp(o,{x:p[0],y:p[1],fill:o.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:g,verticalAlign:y})});if(t.add(v),d){var x=KI.makeAxisEventDataBase(e);x.targetType="axisLabel",x.value=i.rawLabel,Ld(v).eventData=x}}),this)},splitLine:function(t,e,n,i,r,a){var o=e.getModel("splitLine"),s=o.getModel("lineStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var d=[],c=0;c<i.length;c++){var h=u++%l.length;d[h]=d[h]||[],d[h].push(new Rh({shape:HU(n,a,i[c].coord)}))}for(c=0;c<d.length;c++)t.add(Mp(d[c],{style:me({stroke:l[c%l.length]},s.getLineStyle()),silent:!0,z:e.get("z")}))},minorSplitLine:function(t,e,n,i,r,a){if(r.length){for(var o=e.getModel("minorSplitLine"),s=o.getModel("lineStyle"),l=[],u=0;u<r.length;u++)for(var d=0;d<r[u].length;d++)l.push(new Rh({shape:HU(n,a,r[u][d].coord)}));t.add(Mp(l,{style:s.getLineStyle(),silent:!0,z:e.get("z")}))}},splitArea:function(t,e,n,i,r,a){if(i.length){var o=e.getModel("splitArea"),s=o.getModel("areaStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var d=[],c=Math.PI/180,h=-i[0].coord*c,p=Math.min(a[0],a[1]),f=Math.max(a[0],a[1]),m=e.get("clockwise"),g=1,y=i.length;g<=y;g++){var _=g===y?i[0].coord:i[g].coord,v=u++%l.length;d[v]=d[v]||[],d[v].push(new Mh({shape:{cx:n.cx,cy:n.cy,r0:p,r:f,startAngle:h,endAngle:-_*c,clockwise:m},silent:!0})),h=-_*c}for(g=0;g<d.length;g++)t.add(Mp(d[g],{style:me({fill:l[g%l.length]},s.getAreaStyle()),silent:!0}))}}},jU=RU,BU=["axisLine","axisTickLabel","axisName"],FU=["splitLine","splitArea","minorSplitLine"],VU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return Vt(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=this._axisGroup,i=this._axisGroup=new ro;this.group.add(i);var r=t.axis,a=r.polar,o=a.getAngleAxis(),s=r.getTicksCoords(),l=r.getMinorTicksCoords(),u=o.getExtent()[0],d=r.getExtent(),c=GU(a,t,u),h=new KI(t,c);Me(BU,h.add,h),i.add(h.getGroup()),Rp(n,i,t),Me(FU,(function(e){t.get([e,"show"])&&!r.scale.isBlank()&&WU[e](this.group,t,a,u,d,s,l)}),this)}},e.type="radiusAxis",e}(hC),WU={splitLine:function(t,e,n,i,r,a){var o=e.getModel("splitLine"),s=o.getModel("lineStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var d=[],c=0;c<a.length;c++){var h=u++%l.length;d[h]=d[h]||[],d[h].push(new eh({shape:{cx:n.cx,cy:n.cy,r:a[c].coord}}))}for(c=0;c<d.length;c++)t.add(Mp(d[c],{style:me({stroke:l[c%l.length],fill:null},s.getLineStyle()),silent:!0}))},minorSplitLine:function(t,e,n,i,r,a,o){if(o.length){for(var s=e.getModel("minorSplitLine"),l=s.getModel("lineStyle"),u=[],d=0;d<o.length;d++)for(var c=0;c<o[d].length;c++)u.push(new eh({shape:{cx:n.cx,cy:n.cy,r:o[d][c].coord}}));t.add(Mp(u,{style:me({fill:null},l.getLineStyle()),silent:!0}))}},splitArea:function(t,e,n,i,r,a){if(a.length){var o=e.getModel("splitArea"),s=o.getModel("areaStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var d=[],c=a[0].coord,h=1;h<a.length;h++){var p=u++%l.length;d[p]=d[p]||[],d[p].push(new Mh({shape:{cx:n.cx,cy:n.cy,r0:c,r:a[h].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),c=a[h].coord}for(h=0;h<d.length;h++)t.add(Mp(d[h],{style:me({fill:l[h%l.length]},s.getAreaStyle()),silent:!0}))}}};function GU(t,e,n){return{position:[t.cx,t.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}var UU=VU;function XU(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function ZU(t,e){return e.dim+t.model.componentIndex}function qU(t,e,n){var i={},r=$U(Le(e.getSeriesByType(t),(function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type})));e.eachSeriesByType(t,(function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),n=t.coordinateSystem,a=n.getBaseAxis(),o=ZU(n,a),s=XU(t),l=r[o][s],u=l.offset,d=l.width,c=n.getOtherAxis(a),h=t.coordinateSystem.cx,p=t.coordinateSystem.cy,f=t.get("barMinHeight")||0,m=t.get("barMinAngle")||0;i[s]=i[s]||[];for(var g=e.mapDimension(c.dim),y=e.mapDimension(a.dim),_=lD(e,g),v="radius"!==a.dim||!t.get("roundCap",!0),x=c.dataToCoord(0),M=0,b=e.count();M<b;M++){var w=e.get(g,M),L=e.get(y,M),S=w>=0?"p":"n",D=x;_&&(i[s][L]||(i[s][L]={p:x,n:x}),D=i[s][L][S]);var T=void 0,k=void 0,Y=void 0,I=void 0;if("radius"===c.dim){var C=c.dataToCoord(w)-x,A=a.dataToCoord(L);Math.abs(C)<f&&(C=(C<0?-1:1)*f),T=D,k=D+C,Y=A-u,I=Y-d,_&&(i[s][L][S]=k)}else{var P=c.dataToCoord(w,v)-x,O=a.dataToCoord(L);Math.abs(P)<m&&(P=(P<0?-1:1)*m),T=O+u,k=T+d,Y=D,I=D+P,_&&(i[s][L][S]=I)}e.setItemLayout(M,{cx:h,cy:p,r0:T,r:k,startAngle:-Y*Math.PI/180,endAngle:-I*Math.PI/180})}}}))}function $U(t){var e={};Me(t,(function(t,n){var i=t.getData(),r=t.coordinateSystem,a=r.getBaseAxis(),o=ZU(r,a),s=a.getExtent(),l="category"===a.type?a.getBandWidth():Math.abs(s[1]-s[0])/i.count(),u=e[o]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},d=u.stacks;e[o]=u;var c=XU(t);d[c]||u.autoWidthCount++,d[c]=d[c]||{width:0,maxWidth:0};var h=yo(t.get("barWidth"),l),p=yo(t.get("barMaxWidth"),l),f=t.get("barGap"),m=t.get("barCategoryGap");h&&!d[c].width&&(h=Math.min(u.remainedWidth,h),d[c].width=h,u.remainedWidth-=h),p&&(d[c].maxWidth=p),null!=f&&(u.gap=f),null!=m&&(u.categoryGap=m)}));var n={};return Me(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,a=yo(t.categoryGap,r),o=yo(t.gap,1),s=t.remainedWidth,l=t.autoWidthCount,u=(s-a)/(l+(l-1)*o);u=Math.max(u,0),Me(i,(function(t,e){var n=t.maxWidth;n&&n<u&&(n=Math.min(n,s),t.width&&(n=Math.min(n,t.width)),s-=n,t.width=n,l--)})),u=(s-a)/(l+(l-1)*o),u=Math.max(u,0);var d,c=0;Me(i,(function(t,e){t.width||(t.width=u),d=t,c+=t.width*(1+o)})),d&&(c-=d.width*o);var h=-c/2;Me(i,(function(t,i){n[e][i]=n[e][i]||{offset:h,width:t.width},h+=t.width*(1+o)}))})),n}var JU=qU,KU={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},QU={splitNumber:5},tX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.type="polar",e}(ov);function eX(t){Vw(uU),hC.registerAxisPointerClass("PolarAxisPointer",fU),t.registerCoordinateSystem("polar",PU),t.registerComponentModel(gU),t.registerComponentView(tX),Kk(t,"angle",_U,KU),Kk(t,"radius",vU,QU),t.registerComponentView(jU),t.registerComponentView(UU),t.registerLayout(Ye(JU,"bar"))}function nX(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,r={},a=i.position,o=i.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};r.position=["vertical"===o?u.vertical[a]:l[0],"horizontal"===o?u.horizontal[a]:l[3]];var d={horizontal:0,vertical:1};r.rotation=Math.PI/2*d[o];var c={top:-1,bottom:1,right:1,left:-1};r.labelDirection=r.tickDirection=r.nameDirection=c[a],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),Ve(e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var h=e.rotate;return null==h&&(h=t.get(["axisLabel","rotate"])),r.labelRotation="top"===a?-h:h,r.z2=1,r}var iX=["axisLine","axisTickLabel","axisName"],rX=["splitArea","splitLine"],aX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return Vt(e,t),e.prototype.render=function(e,n,i,r){var a=this.group;a.removeAll();var o=this._axisGroup;this._axisGroup=new ro;var s=nX(e),l=new KI(e,s);Me(iX,l.add,l),a.add(this._axisGroup),a.add(l.getGroup()),Me(rX,(function(t){e.get([t,"show"])&&oX[t](this,this.group,this._axisGroup,e)}),this),Rp(o,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)},e.prototype.remove=function(){mC(this)},e.type="singleAxis",e}(hC),oX={splitLine:function(t,e,n,i){var r=i.axis;if(!r.scale.isBlank()){var a=i.getModel("splitLine"),o=a.getModel("lineStyle"),s=o.get("color");s=s instanceof Array?s:[s];for(var l=i.coordinateSystem.getRect(),u=r.isHorizontal(),d=[],c=0,h=r.getTicksCoords({tickModel:a}),p=[],f=[],m=0;m<h.length;++m){var g=r.toGlobalCoord(h[m].coord);u?(p[0]=g,p[1]=l.y,f[0]=g,f[1]=l.y+l.height):(p[0]=l.x,p[1]=g,f[0]=l.x+l.width,f[1]=g);var y=c++%s.length;d[y]=d[y]||[],d[y].push(new Rh({subPixelOptimize:!0,shape:{x1:p[0],y1:p[1],x2:f[0],y2:f[1]},silent:!0}))}var _=o.getLineStyle(["color"]);for(m=0;m<d.length;++m)e.add(Mp(d[m],{style:me({stroke:s[m%s.length]},_),silent:!0}))}},splitArea:function(t,e,n,i){fC(t,n,i,i)}},sX=aX,lX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.getCoordSysModel=function(){return this},e.type="singleAxis",e.layoutMode="box",e.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},e}(Xm);ve(lX,jk.prototype);var uX=lX,dX=function(t){function e(e,n,i,r,a){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o.position=a||"bottom",o}return Vt(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.pointToData=function(t,e){return this.coordinateSystem.pointToData(t)[0]},e}(kI),cX=dX,hX=function(){function t(t,e,n){this.type="single",this.dimension="single",this.dimensions=["single"],this.axisPointerEnabled=!0,this.model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=this.dimension,r=new cX(i,XY(t),[0,0],t.get("type"),t.get("position")),a="category"===r.type;r.onBand=a&&t.get("boundaryGap"),r.inverse=t.get("inverse"),r.orient=t.get("orient"),t.axis=r,r.model=t,r.coordinateSystem=this,this._axis=r},t.prototype.update=function(t,e){t.eachSeries((function(t){if(t.coordinateSystem===this){var e=t.getData();Me(e.mapDimensionsAll(this.dimension),(function(t){this._axis.scale.unionExtentFromData(e,t)}),this),UY(this._axis.scale,this._axis.model)}}),this)},t.prototype.resize=function(t,e){this._rect=Em({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},t.prototype.getRect=function(){return this._rect},t.prototype._adjustAxis=function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),i=n?[0,t.width]:[0,t.height],r=e.reverse?1:0;e.setExtent(i[r],i[1-r]),this._updateAxisTransform(e,n?t.x:t.y)},t.prototype._updateAxisTransform=function(t,e){var n=t.getExtent(),i=n[0]+n[1],r=t.isHorizontal();t.toGlobalCoord=r?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord=r?function(t){return t-e}:function(t){return i-t+e}},t.prototype.getAxis=function(){return this._axis},t.prototype.getBaseAxis=function(){return this._axis},t.prototype.getAxes=function(){return[this._axis]},t.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},t.prototype.containPoint=function(t){var e=this.getRect(),n=this.getAxis(),i=n.orient;return"horizontal"===i?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){var i=pX(e);return i===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=pX(e);return i===this?this.pointToData(n):null},t}();function pX(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var fX=hX;function mX(t,e){var n=[];return t.eachComponent("singleAxis",(function(i,r){var a=new fX(i,t,e);a.name="single_"+r,a.resize(i,e),i.coordinateSystem=a,n.push(a)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",hs).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n}var gX={create:mX,dimensions:fX.prototype.dimensions},yX=gX,_X=["x","y"],vX=["width","height"],xX=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vt(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var a=n.axis,o=a.coordinateSystem,s=wX(o,1-bX(a)),l=o.dataToPoint(e)[0],u=i.get("type");if(u&&"none"!==u){var d=wG(i),c=MX[u](a,l,s);c.style=d,t.graphicKey=c.type,t.pointer=c}var h=nX(n);kG(e,t,h,n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=nX(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=TG(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,a=r.coordinateSystem,o=bX(r),s=wX(a,o),l=[t.x,t.y];l[o]+=e[o],l[o]=Math.min(s[1],l[o]),l[o]=Math.max(s[0],l[o]);var u=wX(a,1-o),d=(u[1]+u[0])/2,c=[d,d];return c[o]=l[o],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}},e}(bG),MX={line:function(t,e,n){var i=YG([e,n[0]],[e,n[1]],bX(t));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:IG([e-i/2,n[0]],[i,r],bX(t))}}};function bX(t){return t.isHorizontal()?0:1}function wX(t,e){var n=t.getRect();return[n[_X[e]],n[_X[e]]+n[vX[e]]]}var LX=xX,SX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.type="single",e}(ov);function DX(t){Vw(uU),hC.registerAxisPointerClass("SingleAxisPointer",LX),t.registerComponentView(SX),t.registerComponentView(sX),t.registerComponentModel(uX),Kk(t,"single",uX,uX.defaultOption),t.registerCoordinateSystem("single",yX)}var TX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.init=function(e,n,i){var r=Fm(e);t.prototype.init.apply(this,arguments),kX(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),kX(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(Xm);function kX(t,e){var n,i=t.cellSize;n=Ie(i)?i:t.cellSize=[i,i],1===n.length&&(n[1]=n[0]);var r=be([0,1],(function(t){return zm(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));Bm(t,e,{type:"box",ignoreSize:r})}var YX=TX,IX={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},CX={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},AX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,a=r.getRangeInfo(),o=r.getOrient();this._renderDayRect(t,a,i),this._renderLines(t,a,o,i),this._renderYearText(t,a,o,i),this._renderMonthText(t,o,i),this._renderWeekText(t,a,o,i)},e.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),a=i.getCellWidth(),o=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,u=new ud({shape:{x:l[0],y:l[1],width:a,height:o},cursor:"default",style:r});n.add(u)}},e.prototype._renderLines=function(t,e,n,i){var r=this,a=t.coordinateSystem,o=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=o.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,d=0;u.time<=e.end.time;d++){h(u.formatedDate),0===d&&(u=a.getDateInfo(e.start.y+"-"+e.start.m));var c=u.date;c.setMonth(c.getMonth()+1),u=a.getDateInfo(c)}function h(e){r._firstDayOfMonth.push(a.getDateInfo(e)),r._firstDayPoints.push(a.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,o,i)}h(a.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),o,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),o,i)},e.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},e.prototype._drawSplitline=function(t,e,n){var i=new Oh({z2:20,shape:{points:t},style:e});n.add(i)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),a=[],o=0;o<7;o++){var s=i.getNextNDay(r.time,o),l=i.dataToRect([s.time],!1);a[2*s.day]=l.tl,a[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return a},e.prototype._formatterLabel=function(t,e){return"string"===typeof t&&t?Tm(t,e):"function"===typeof t?t(e):e.nameMap},e.prototype._yearTextPositionControl=function(t,e,n,i,r){var a=e[0],o=e[1],s=["center","bottom"];"bottom"===i?(o+=r,s=["center","top"]):"left"===i?a-=r:"right"===i?(a+=r,s=["center","top"]):o-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:a,y:o,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var a=r.get("margin"),o=r.get("position");o||(o="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,d="horizontal"===n?0:1,c={top:[l,s[d][1]],bottom:[l,s[1-d][1]],left:[s[1-d][0],u],right:[s[d][0],u]},h=e.start.y;+e.end.y>+e.start.y&&(h=h+"-"+e.end.y);var p=r.get("formatter"),f={start:e.start.y,end:e.end.y,nameMap:h},m=this._formatterLabel(p,f),g=new wd({z2:30,style:Jp(r,{text:m})});g.attr(this._yearTextPositionControl(g,c[o],n,o,a)),i.add(g)}},e.prototype._monthTextPositionControl=function(t,e,n,i,r){var a="left",o="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(a="center"),"start"===i&&(o="bottom")):(s+=r,e&&(o="middle"),"start"===i&&(a="right")),{x:s,y:l,align:a,verticalAlign:o}},e.prototype._renderMonthText=function(t,e,n){var i=t.getModel("monthLabel");if(i.get("show")){var r=i.get("nameMap"),a=i.get("margin"),o=i.get("position"),s=i.get("align"),l=[this._tlpoints,this._blpoints];Ae(r)&&(r=IX[r.toUpperCase()]||[]);var u="start"===o?0:1,d="horizontal"===e?0:1;a="start"===o?-a:a;for(var c="center"===s,h=0;h<l[u].length-1;h++){var p=l[u][h].slice(),f=this._firstDayOfMonth[h];if(c){var m=this._firstDayPoints[h];p[d]=(m[d]+l[0][h+1][d])/2}var g=i.get("formatter"),y=r[+f.m-1],_={yyyy:f.y,yy:(f.y+"").slice(2),MM:f.m,M:+f.m,nameMap:y},v=this._formatterLabel(g,_),x=new wd({z2:30,style:fe(Jp(i,{text:v}),this._monthTextPositionControl(p,c,e,o,a))});n.add(x)}}},e.prototype._weekTextPositionControl=function(t,e,n,i,r){var a="center",o="middle",s=t[0],l=t[1],u="start"===n;return"horizontal"===e?(s=s+i+(u?1:-1)*r[0]/2,a=u?"right":"left"):(l=l+i+(u?1:-1)*r[1]/2,o=u?"bottom":"top"),{x:s,y:l,align:a,verticalAlign:o}},e.prototype._renderWeekText=function(t,e,n,i){var r=t.getModel("dayLabel");if(r.get("show")){var a=t.coordinateSystem,o=r.get("position"),s=r.get("nameMap"),l=r.get("margin"),u=a.getFirstDayOfWeek();Ae(s)&&(s=CX[s.toUpperCase()]||[]);var d=a.getNextNDay(e.end.time,7-e.lweek).time,c=[a.getCellWidth(),a.getCellHeight()];l=yo(l,c["horizontal"===n?0:1]),"start"===o&&(d=a.getNextNDay(e.start.time,-(7+e.fweek)).time,l=-l);for(var h=0;h<7;h++){var p=a.getNextNDay(d,h),f=a.dataToRect([p.time],!1).center,m=h;m=Math.abs((h+u)%7);var g=new wd({z2:30,style:fe(Jp(r,{text:s[m]}),this._weekTextPositionControl(f,n,o,l,c))});i.add(g)}}},e.type="calendar",e}(ov),PX=AX,OX=864e5,HX=function(){function t(e,n,i){this.type="calendar",this.dimensions=t.dimensions,this.getDimensionsInfo=t.getDimensionsInfo,this._model=e}return t.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},t.prototype.getRangeInfo=function(){return this._rangeInfo},t.prototype.getModel=function(){return this._model},t.prototype.getRect=function(){return this._rect},t.prototype.getCellWidth=function(){return this._sw},t.prototype.getCellHeight=function(){return this._sh},t.prototype.getOrient=function(){return this._orient},t.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},t.prototype.getDateInfo=function(t){t=ko(t);var e=t.getFullYear(),n=t.getMonth()+1,i=n<10?"0"+n:""+n,r=t.getDate(),a=r<10?"0"+r:""+r,o=t.getDay();return o=Math.abs((o+7-this.getFirstDayOfWeek())%7),{y:e+"",m:i,d:a,day:o,time:t.getTime(),formatedDate:e+"-"+i+"-"+a,date:t}},t.prototype.getNextNDay=function(t,e){return e=e||0,0===e||(t=new Date(this.getDateInfo(t).time),t.setDate(t.getDate()+e)),this.getDateInfo(t)},t.prototype.update=function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,i=["width","height"],r=this._model.getCellSize().slice(),a=this._model.getBoxLayoutParams(),o="horizontal"===this._orient?[n,7]:[7,n];Me([0,1],(function(t){u(r,t)&&(a[i[t]]=r[t]*o[t])}));var s={width:e.getWidth(),height:e.getHeight()},l=this._rect=Em(a,s);function u(t,e){return null!=t[e]&&"auto"!==t[e]}Me([0,1],(function(t){u(r,t)||(r[t]=l[i[t]]/o[t])})),this._sw=r[0],this._sh=r[1]},t.prototype.dataToPoint=function(t,e){Ie(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),i=this._rangeInfo,r=n.formatedDate;if(e&&!(n.time>=i.start.time&&n.time<i.end.time+OX))return[NaN,NaN];var a=n.day,o=this._getRangeInfo([i.start.time,r]).nthWeek;return"vertical"===this._orient?[this._rect.x+a*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]:[this._rect.x+o*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]},t.prototype.pointToData=function(t){var e=this.pointToDate(t);return e&&e.time},t.prototype.dataToRect=function(t,e){var n=this.dataToPoint(t,e);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},t.prototype.pointToDate=function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,n=Math.floor((t[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,e-1,i):this._getDateByWeeksAndDay(e,n-1,i)},t.prototype.convertToPixel=function(t,e,n){var i=NX(e);return i===this?i.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=NX(e);return i===this?i.pointToData(n):null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.prototype._initRangeOption=function(){var t,e=this._model.get("range");if(Ie(e)&&1===e.length&&(e=e[0]),Ie(e))t=e;else{var n=e.toString();if(/^\d{4}$/.test(n)&&(t=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var i=this.getDateInfo(n),r=i.date;r.setMonth(r.getMonth()+1);var a=this.getNextNDay(r,-1);t=[i.formatedDate,a.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(t=[n,n])}if(!t)return e;var o=this._getRangeInfo(t);return o.start.time>o.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/OX)-Math.floor(n[0].time/OX)+1,r=new Date(n[0].time),a=r.getDate(),o=n[1].date.getDate();r.setDate(a+i-1);var s=r.getDate();if(s!==o){var l=r.getTime()-n[1].time>0?1:-1;while((s=r.getDate())!==o&&(r.getTime()-n[1].time)*l>0)i-=l,r.setDate(s-l)}var u=Math.floor((i+n[0].day+6)/7),d=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:u,nthWeek:d,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&e<i.fweek||t===i.weeks&&e>i.lweek)return null;var r=7*(t-1)-i.fweek+e,a=new Date(i.start.time);return a.setDate(+i.start.d+r),this.getDateInfo(a)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",(function(r){var a=new t(r,e,n);i.push(a),r.coordinateSystem=a})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])})),i},t.dimensions=["time","value"],t}();function NX(t){var e=t.calendarModel,n=t.seriesModel,i=e?e.coordinateSystem:n?n.coordinateSystem:null;return i}var EX=HX;function RX(t){t.registerComponentModel(YX),t.registerComponentView(PX),t.registerCoordinateSystem("calendar",EX)}var zX=us(),jX={path:null,compoundPath:null,group:ro,image:td,text:wd},BX=function(t){var e=t.graphic;Ie(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])},FX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.mergeOption=function(e,n){var i=this.option.elements;this.option.elements=null,t.prototype.mergeOption.call(this,e,n),this.option.elements=i},e.prototype.optionUpdated=function(t,e){var n=this.option,i=(e?n:t).elements,r=n.elements=e?[]:n.elements,a=[];this._flatten(i,a,null);var o=Uo(r,a,"normalMerge"),s=this._elOptionsToUpdate=[];Me(o,(function(t,e){var n=t.newOption;n&&(s.push(n),ZX(t,n),qX(r,e,n),$X(r[e],n))}),this);for(var l=r.length-1;l>=0;l--)null==r[l]?r.splice(l,1):delete r[l].$action},e.prototype._flatten=function(t,e,n){Me(t,(function(t){if(t){n&&(t.parentOption=n),e.push(t);var i=t.children;"group"===t.type&&i&&this._flatten(i,e,t),delete t.children}}),this)},e.prototype.useElOptionsToUpdate=function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t},e.type="graphic",e.defaultOption={elements:[]},e}(Xm),VX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.init=function(){this._elMap=tn()},e.prototype.render=function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},e.prototype._updateElements=function(t){var e=t.useElOptionsToUpdate();if(e){var n=this._elMap,i=this.group;Me(e,(function(e){var r=es(e.id,null),a=null!=r?n.get(r):null,o=es(e.parentId,null),s=null!=o?n.get(o):i,l=e.type,u=e.style;"text"===l&&u&&e.hv&&e.hv[1]&&(u.textVerticalAlign=u.textBaseline=u.verticalAlign=u.align=null);var d=e.textContent,c=e.textConfig;if(u&&_V(u,l,!!c,!!d)){var h=vV(u,l,!0);!c&&h.textConfig&&(c=e.textConfig=h.textConfig),!d&&h.textContent&&(d=h.textContent)}var p=UX(e);var f=e.$action||"merge";"merge"===f?a?a.attr(p):WX(r,s,p,n):"replace"===f?(GX(a,n),WX(r,s,p,n)):"remove"===f&&GX(a,n);var m=n.get(r);if(m&&d)if("merge"===f){var g=m.getTextContent();g?g.attr(d):m.setTextContent(new wd(d))}else"replace"===f&&m.setTextContent(new wd(d));if(m){var y=zX(m);y.__ecGraphicWidthOption=e.width,y.__ecGraphicHeightOption=e.height,JX(m,t,e)}}))}},e.prototype._relocate=function(t,e){for(var n=t.option.elements,i=this.group,r=this._elMap,a=e.getWidth(),o=e.getHeight(),s=0;s<n.length;s++){var l=n[s],u=es(l.id,null),d=null!=u?r.get(u):null;if(d&&d.isGroup){var c=d.parent,h=c===i,p=zX(d),f=zX(c);p.__ecGraphicWidth=yo(p.__ecGraphicWidthOption,h?a:f.__ecGraphicWidth)||0,p.__ecGraphicHeight=yo(p.__ecGraphicHeightOption,h?o:f.__ecGraphicHeight)||0}}for(s=n.length-1;s>=0;s--){l=n[s],u=es(l.id,null),d=null!=u?r.get(u):null;if(d){c=d.parent,f=zX(c);var m=c===i?{width:a,height:o}:{width:f.__ecGraphicWidth,height:f.__ecGraphicHeight};Rm(d,l,m,null,{hv:l.hv,boundingMode:l.bounding})}}},e.prototype._clear=function(){var t=this._elMap;t.each((function(e){GX(e,t)})),this._elMap=tn()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(ov);function WX(t,e,n,i){var r=n.type;var a=rn(jX,r)?jX[r]:yp(r);var o=new a(n);e.add(o),i.set(t,o),zX(o).__ecGraphicId=t}function GX(t,e){var n=t&&t.parent;n&&("group"===t.type&&t.traverse((function(t){GX(t,e)})),e.removeKey(zX(t).__ecGraphicId),n.remove(t))}function UX(t){return t=fe({},t),Me(["id","parentId","$action","hv","bounding","textContent"].concat(Am),(function(e){delete t[e]})),t}function XX(t,e){var n;return Me(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}function ZX(t,e){var n=t.existing;if(e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId){var i=e.parentOption;i?e.parentId=i.id:n&&(e.parentId=n.parentId)}e.parentOption=null}function qX(t,e,n){var i=fe({},n),r=t[e],a=n.$action||"merge";"merge"===a?r?(he(r,i,!0),Bm(r,i,{ignoreSize:!0}),Vm(n,r)):t[e]=i:"replace"===a?t[e]=i:"remove"===a&&r&&(t[e]=null)}function $X(t,e){if(t&&(t.hv=e.hv=[XX(e,["left","right"]),XX(e,["top","bottom"])],"group"===t.type)){var n=t,i=e;null==n.width&&(n.width=i.width=0),null==n.height&&(n.height=i.height=0)}}function JX(t,e,n){var i=Ld(t).eventData;t.silent||t.ignore||i||(i=Ld(t).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),i&&(i.info=n.info)}function KX(t){t.registerComponentModel(FX),t.registerComponentView(VX),t.registerPreprocessor(BX)}var QX=["x","y","radius","angle","single"],tZ=["cartesian2d","polar","singleAxis"];function eZ(t){var e=t.get("coordinateSystem");return ye(tZ,e)>=0}function nZ(t){return t+"Axis"}function iZ(t,e){var n,i=tn(),r=[],a=tn();t.eachComponent({mainType:"dataZoom",query:e},(function(t){a.get(t.uid)||s(t)}));do{n=!1,t.eachComponent("dataZoom",o)}while(n);function o(t){!a.get(t.uid)&&l(t)&&(s(t),n=!0)}function s(t){a.set(t.uid,!0),r.push(t),u(t)}function l(t){var e=!1;return t.eachTargetAxis((function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)})),e}function u(t){t.eachTargetAxis((function(t,e){(i.get(t)||i.set(t,[]))[e]=!0}))}return r}function rZ(t){var e=t.ecModel,n={infoList:[],infoMap:tn()};return t.eachTargetAxis((function(t,i){var r=e.getComponent(nZ(t),i);if(r){var a=r.getCoordSysModel();if(a){var o=a.uid,s=n.infoMap.get(o);s||(s={model:a,axisModels:[]},n.infoList.push(s),n.infoMap.set(o,s)),s.axisModels.push(r)}}})),n}var aZ=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),oZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return Vt(e,t),e.prototype.init=function(t,e,n){var i=sZ(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=sZ(t);he(this.option,t,!0),he(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;Me([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=tn(),n=this._fillSpecifiedTargetAxis(e);n?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return Me(QX,(function(n){var i=this.getReferringComponents(nZ(n),ps);if(i.specified){e=!0;var r=new aZ;Me(i.models,(function(t){r.add(t.componentIndex)})),t.set(n,r)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x",a=n.findComponents({mainType:r+"Axis"});o(a,r)}if(i){a=n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}});o(a,"single")}function o(e,n){var r=e[0];if(r){var a=new aZ;if(a.add(r.componentIndex),t.set(n,a),i=!1,"x"===n||"y"===n){var o=r.getReferringComponents("grid",hs).models[0];o&&Me(e,(function(t){r.componentIndex!==t.componentIndex&&o===t.getReferringComponents("grid",hs).models[0]&&a.add(t.componentIndex)}))}}}i&&Me(QX,(function(e){if(i){var r=n.findComponents({mainType:nZ(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var a=new aZ;a.add(r[0].componentIndex),t.set(e,a),i=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");Me([["start","startValue"],["end","endValue"]],(function(i,r){var a=null!=t[i[0]],o=null!=t[i[1]];a&&!o?e[r]="percent":!a&&o?e[r]="value":n?e[r]=n[r]:a&&(e[r]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(nZ(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,i){Me(n.indexList,(function(n){t.call(e,i,n)}))}))},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(nZ(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;Me([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;Me(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i<n.length;i++)for(var r=n[i],a=this._targetAxisInfoMap.get(r),o=0;o<a.indexList.length;o++){var s=this.getAxisProxy(r,a.indexList[o]);if(s.hostedBy(this))return s;e||(e=s)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={zlevel:0,z:4,filterMode:"filter",start:0,end:100},e}(Xm);function sZ(t){var e={};return Me(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}var lZ=oZ,uZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.type="dataZoom.select",e}(lZ),dZ=uZ,cZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.render=function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(ov),hZ=cZ,pZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.type="dataZoom.select",e}(hZ),fZ=pZ,mZ=Me,gZ=vo,yZ=function(){function t(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries((function(e){if(eZ(e)){var n=nZ(this._dimName),i=e.getReferringComponents(n,hs).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return ce(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel(),r=i.axis.scale,a=this._dataZoomModel.getRangePropMode(),o=[0,100],s=[],l=[];mZ(["start","end"],(function(i,u){var d=t[i],c=t[i+"Value"];"percent"===a[u]?(null==d&&(d=o[u]),c=r.parse(go(d,o,n))):(e=!0,c=null==c?n[u]:r.parse(c),d=go(c,n,o)),l[u]=c,s[u]=d})),gZ(l),gZ(s);var u=this._minMaxSpan;function d(t,e,n,i,a){var o=a?"Span":"ValueSpan";hR(0,t,n,"all",u["min"+o],u["max"+o]);for(var s=0;s<2;s++)e[s]=go(t[s],n,i,!0),a&&(e[s]=r.parse(e[s]))}return e?d(l,s,n,o,!1):d(s,l,o,n,!0),{valueWindow:l,percentWindow:s}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=_Z(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),a=this._valueWindow;"none"!==r&&mZ(i,(function(t){var e=t.getData(),i=e.mapDimensionsAll(n);i.length&&("weakFilter"===r?e.filterSelf((function(t){for(var n,r,o,s=0;s<i.length;s++){var l=e.get(i[s],t),u=!isNaN(l),d=l<a[0],c=l>a[1];if(u&&!d&&!c)return!0;u&&(o=!0),d&&(n=!0),c&&(r=!0)}return o&&n&&r})):mZ(i,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return o(t)?t:NaN})));else{var i={};i[n]=a,e.selectRange(i)}})),mZ(i,(function(t){e.setApproximateExtent(a,t)})))}))}function o(t){return t>=a[0]&&t<=a[1]}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;mZ(["min","max"],(function(i){var r=e.get(i+"Span"),a=e.get(i+"ValueSpan");null!=a&&(a=this.getAxisModel().axis.scale.parse(a)),null!=a?r=go(n[0]+a,n,[0,100],!0):null!=r&&(a=go(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=a}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=bo(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}();function _Z(t,e,n){var i=[1/0,-1/0];mZ(n,(function(t){nI(i,t.getData(),e)}));var r=t.getAxisModel(),a=FY(r.axis.scale,r,i).calculate();return[a.min,a.max]}var vZ=yZ,xZ={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(i,r){var a=t.getComponent(nZ(i),r);e(i,r,a,n)}))}))}e((function(t,e,n,i){n.__dzAxisProxy=null}));var n=[];e((function(e,i,r,a){r.__dzAxisProxy||(r.__dzAxisProxy=new vZ(e,i,a,t),n.push(r.__dzAxisProxy))}));var i=tn();return Me(n,(function(t){Me(t.getTargetSeriesModels(),(function(t){i.set(t.uid,t)}))})),i},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,i){t.getAxisProxy(n,i).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}}))}},MZ=xZ;function bZ(t){t.registerAction("dataZoom",(function(t,e){var n=iZ(e,t);Me(n,(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}var wZ=!1;function LZ(t){wZ||(wZ=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,MZ),bZ(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function SZ(t){t.registerComponentModel(dZ),t.registerComponentView(fZ),LZ(t)}var DZ=function(){function t(){}return t}(),TZ={};function kZ(t,e){TZ[t]=e}function YZ(t){return TZ[t]}var IZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;Me(this.option.feature,(function(t,n){var i=YZ(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),he(t,i.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1}},e}(Xm),CZ=IZ;function AZ(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),a={width:n.getWidth(),height:n.getHeight()},o=Em(i,a,r);Hm(e.get("orient"),t,e.get("itemGap"),o.width,o.height),Rm(t,i,a,r)}function PZ(t,e){var n=vm(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new ud({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1}),t}var OZ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vt(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var a=+t.get("itemSize"),o=t.get("feature")||{},s=this._features||(this._features={}),l=[];Me(o,(function(t,e){l.push(e)})),new yS(this._featureNames||[],l).add(u).update(u).remove(Ye(u,null)).execute(),this._featureNames=l,AZ(r,t,n),r.add(PZ(r.getBoundingRect(),t)),r.eachChild((function(t){var e=t.__title,i=t.ensureState("emphasis"),o=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.states.emphasis;if(l&&!Ce(l)&&e){var u=l.style||(l.style={}),d=Zr(e,wd.makeFont(u)),c=t.x+r.x,h=t.y+r.y+a,p=!1;h+d.height>n.getHeight()&&(o.position="top",p=!0);var f=p?-5-d.height:a+8;c+d.width/2>n.getWidth()?(o.position=["100%",f],u.align="right"):c-d.width/2<0&&(o.position=[0,f],u.align="left")}}))}function u(r,a){var u,c=l[r],h=l[a],p=o[c],f=new Mf(p,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===c&&(p.title=i.newTitle),c&&!h){if(HZ(c))u={onclick:f.option.onclick,featureName:c};else{var m=YZ(c);if(!m)return;u=new m}s[c]=u}else if(u=s[h],!u)return;if(u.uid=wf("toolbox-feature"),u.model=f,u.ecModel=e,u.api=n,u instanceof DZ){if(!c&&h)return void(u.dispose&&u.dispose(e,n));if(!f.get("show")||u.unusable)return void(u.remove&&u.remove(e,n))}d(f,u,c),f.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?sc:lc)(i[t])},u instanceof DZ&&u.render&&u.render(f,e,n,i)}function d(i,o,s){var l,u,d=i.getModel("iconStyle"),c=i.getModel(["emphasis","iconStyle"]),h=o instanceof DZ&&o.getIcons?o.getIcons():i.get("icon"),p=i.get("title")||{};"string"===typeof h?(l={},l[s]=h):l=h,"string"===typeof p?(u={},u[s]=p):u=p;var f=i.iconPaths={};Me(l,(function(s,l){var h=Bp(s,{},{x:-a/2,y:-a/2,width:a,height:a});h.setStyle(d.getItemStyle());var p=h.ensureState("emphasis");p.style=c.getItemStyle();var m=new wd({style:{text:u[l],align:c.get("textAlign"),borderRadius:c.get("textBorderRadius"),padding:c.get("textPadding"),fill:null},ignore:!0});h.setTextContent(m);var g=t.getModel("tooltip");g&&g.get("show")&&(h.tooltip=fe({content:u[l],formatter:g.get("formatter",!0)||function(){return u[l]},formatterParams:{componentType:"toolbox",name:l,title:u[l],$vars:["name","title"]},position:g.get("position",!0)||"bottom"},g.option)),h.__title=u[l],h.on("mouseover",(function(){var e=c.getItemStyle(),n="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";m.setStyle({fill:c.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:c.get("textBackgroundColor")}),h.setTextConfig({position:c.get("textPosition")||n}),m.ignore=!t.get("showTitle"),sc(this)})).on("mouseout",(function(){"emphasis"!==i.get(["iconStatus",l])&&lc(this),m.hide()})),("emphasis"===i.get(["iconStatus",l])?sc:lc)(h),r.add(h),h.on("click",ke(o.onclick,o,e,n,l)),f[l]=h}))}},e.prototype.updateView=function(t,e,n,i){Me(this._features,(function(t){t instanceof DZ&&t.updateView&&t.updateView(t.model,e,n,i)}))},e.prototype.remove=function(t,e){Me(this._features,(function(n){n instanceof DZ&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){Me(this._features,(function(n){n instanceof DZ&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(ov);function HZ(t){return 0===t.indexOf("my")}var NZ=OZ,EZ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vt(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),a=r?"svg":n.get("type",!0)||"png",o=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!==typeof MouseEvent||!$t.browser.newEdge&&($t.browser.ie||$t.browser.edge))if(window.navigator.msSaveOrOpenBlob||r){var s=o.split(","),l=s[0].indexOf("base64")>-1,u=r?decodeURIComponent(s[1]):s[1];l&&(u=atob(u));var d=i+"."+a;if(window.navigator.msSaveOrOpenBlob){var c=u.length,h=new Uint8Array(c);while(c--)h[c]=u.charCodeAt(c);var p=new Blob([h]);window.navigator.msSaveOrOpenBlob(p,d)}else{var f=document.createElement("iframe");document.body.appendChild(f);var m=f.contentWindow,g=m.document;g.open("image/svg+xml","replace"),g.write(u),g.close(),m.focus(),g.execCommand("SaveAs",!0,d),document.body.removeChild(f)}}else{var y=n.get("lang"),_='<body style="margin:0;"><img src="'+o+'" style="max-width:100%;" title="'+(y&&y[0]||"")+'" /></body>',v=window.open();v.document.write(_),v.document.title=i}else{var x=document.createElement("a");x.download=i+"."+a,x.target="_blank",x.href=o;var M=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});x.dispatchEvent(M)}},e.getDefaultOption=function(t){var e={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocale(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocale(["toolbox","saveAsImage","lang"])};return e},e}(DZ);EZ.prototype.unusable=!$t.canvasSupported;var RZ=EZ,zZ="__ec_magicType_stack__",jZ=[["line","bar"],["stack"]],BZ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vt(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return Me(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},e.getDefaultOption=function(t){var e={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocale(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return e},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(FZ[n]){var a,o={series:[]},s=function(t){var e=t.subType,r=t.id,a=FZ[n](e,r,t,i);a&&(me(a,t.option),o.series.push(a));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim,d=u+"Axis",c=t.getReferringComponents(d,hs).models[0],h=c.componentIndex;o[d]=o[d]||[];for(var p=0;p<=h;p++)o[d][h]=o[d][h]||{};o[d][h].boundaryGap="bar"===n}}};Me(jZ,(function(t){ye(t,n)>=0&&Me(t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},s),"stack"===n&&(a=he({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title)),e.dispatchAction({type:"changeMagicType",currentType:n,newOption:o,newTitle:a,featureName:"magicType"})}},e}(DZ),FZ={line:function(t,e,n,i){if("bar"===t)return he({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return he({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===zZ;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),he({id:e,stack:r?"":zZ},i.get(["option","stack"])||{},!0)}};Aw({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var VZ=BZ,WZ=new Array(60).join("-"),GZ="\t";function UZ(t){var e={},n=[],i=[];return t.eachRawSeries((function(t){var r=t.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)n.push(t);else{var a=r.getBaseAxis();if("category"===a.type){var o=a.dim+"_"+a.index;e[o]||(e[o]={categoryAxis:a,valueAxis:r.getOtherAxis(a),series:[]},i.push({axisDim:a.dim,axisIndex:a.index})),e[o].series.push(t)}else n.push(t)}})),{seriesGroupByCategoryAxis:e,other:n,meta:i}}function XZ(t){var e=[];return Me(t,(function(t,n){var i=t.categoryAxis,r=t.valueAxis,a=r.dim,o=[" "].concat(be(t.series,(function(t){return t.name}))),s=[i.model.getCategories()];Me(t.series,(function(t){var e=t.getRawData();s.push(t.getRawData().mapArray(e.mapDimension(a),(function(t){return t})))}));for(var l=[o.join(GZ)],u=0;u<s[0].length;u++){for(var d=[],c=0;c<s.length;c++)d.push(s[c][u]);l.push(d.join(GZ))}e.push(l.join("\n"))})),e.join("\n\n"+WZ+"\n\n")}function ZZ(t){return be(t,(function(t){var e=t.getRawData(),n=[t.name],i=[];return e.each(e.dimensions,(function(){for(var t=arguments.length,r=arguments[t-1],a=e.getName(r),o=0;o<t-1;o++)i[o]=arguments[o];n.push((a?a+GZ:"")+i.join(GZ))})),n.join("\n")})).join("\n\n"+WZ+"\n\n")}function qZ(t){var e=UZ(t);return{value:Le([XZ(e.seriesGroupByCategoryAxis),ZZ(e.other)],(function(t){return!!t.replace(/[\n\t\s]/g,"")})).join("\n\n"+WZ+"\n\n"),meta:e.meta}}function $Z(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function JZ(t){var e=t.slice(0,t.indexOf("\n"));if(e.indexOf(GZ)>=0)return!0}var KZ=new RegExp("["+GZ+"]+","g");function QZ(t){for(var e=t.split(/\n+/g),n=$Z(e.shift()).split(KZ),i=[],r=be(n,(function(t){return{name:t,data:[]}})),a=0;a<e.length;a++){var o=$Z(e[a]).split(KZ);i.push(o.shift());for(var s=0;s<o.length;s++)r[s]&&(r[s].data[a]=o[s])}return{series:r,categories:i}}function tq(t){for(var e=t.split(/\n+/g),n=$Z(e.shift()),i=[],r=0;r<e.length;r++){var a=$Z(e[r]);if(a){var o=a.split(KZ),s="",l=void 0,u=!1;isNaN(o[0])?(u=!0,s=o[0],o=o.slice(1),i[r]={name:s,value:[]},l=i[r].value):l=i[r]=[];for(var d=0;d<o.length;d++)l.push(+o[d]);1===l.length&&(u?i[r].value=l[0]:i[r]=l[0])}}return{name:n,data:i}}function eq(t,e){var n=t.split(new RegExp("\n*"+WZ+"\n*","g")),i={series:[]};return Me(n,(function(t,n){if(JZ(t)){var r=QZ(t),a=e[n],o=a.axisDim+"Axis";a&&(i[o]=i[o]||[],i[o][a.axisIndex]={data:r.categories},i.series=i.series.concat(r.series))}else{r=tq(t);i.series.push(r)}})),i}var nq=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vt(e,t),e.prototype.onclick=function(t,e){var n=e.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var r=document.createElement("div");r.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",r.style.backgroundColor=i.get("backgroundColor")||"#fff";var a=document.createElement("h4"),o=i.get("lang")||[];a.innerHTML=o[0]||i.get("title"),a.style.cssText="margin: 10px 20px;",a.style.color=i.get("textColor");var s=document.createElement("div"),l=document.createElement("textarea");s.style.cssText="display:block;width:100%;overflow:auto;";var u=i.get("optionToContent"),d=i.get("contentToOption"),c=qZ(t);if("function"===typeof u){var h=u(e.getOption());"string"===typeof h?s.innerHTML=h:Re(h)&&s.appendChild(h)}else s.appendChild(l),l.readOnly=i.get("readOnly"),l.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",l.style.color=i.get("textColor"),l.style.borderColor=i.get("textareaBorderColor"),l.style.backgroundColor=i.get("textareaColor"),l.value=c.value;var p=c.meta,f=document.createElement("div");f.style.cssText="position:absolute;bottom:0;left:0;right:0;";var m="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",g=document.createElement("div"),y=document.createElement("div");m+=";background-color:"+i.get("buttonColor"),m+=";color:"+i.get("buttonTextColor");var _=this;function v(){n.removeChild(r),_._dom=null}$n(g,"click",v),$n(y,"click",(function(){if(null==d&&null!=u||null!=d&&null==u)v();else{var t;try{t="function"===typeof d?d(s,e.getOption()):eq(l.value,p)}catch(n){throw v(),new Error("Data view format error "+n)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),v()}})),g.innerHTML=o[1],y.innerHTML=o[2],y.style.cssText=m,g.style.cssText=m,!i.get("readOnly")&&f.appendChild(y),f.appendChild(g),r.appendChild(a),r.appendChild(s),r.appendChild(f),s.style.height=n.clientHeight-80+"px",n.appendChild(r),this._dom=r},e.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.getDefaultOption=function(t){var e={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:t.getLocale(["toolbox","dataView","title"]),lang:t.getLocale(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return e},e}(DZ);function iq(t,e){return be(t,(function(t,n){var i=e&&e[n];if(He(i)&&!Ie(i)){var r=He(t)&&!Ie(t);r||(t={value:t});var a=null!=i.name&&null==t.name;return t=me(t,i),a&&delete t.name,t}return t}))}Aw({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(t,e){var n=[];Me(t.newOption.series,(function(t){var i=e.getSeriesByName(t.name)[0];if(i){var r=i.get("data");n.push({name:t.name,data:iq(t.data,r)})}else n.push(fe({type:"scatter"},t))})),e.mergeOption(me({series:n},t.newOption))}));var rq=nq,aq=Me,oq=us();function sq(t,e){var n=cq(t);aq(e,(function(e,i){for(var r=n.length-1;r>=0;r--){var a=n[r];if(a[i])break}if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var s=o.getPercentRange();n[0][i]={dataZoomId:i,start:s[0],end:s[1]}}}})),n.push(e)}function lq(t){var e=cq(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return aq(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n],t){i[n]=t;break}})),i}function uq(t){oq(t).snapshots=null}function dq(t){return cq(t).length}function cq(t){var e=oq(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var hq=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vt(e,t),e.prototype.onclick=function(t,e){uq(t),e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){var e={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.getLocale(["toolbox","restore","title"])};return e},e}(DZ);Aw({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));var pq=hq,fq=["dataToPoint","pointToData"],mq=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],gq=function(){function t(t,e,n){var i=this;this._targetInfoList=[];var r=_q(e,t);Me(vq,(function(t,e){(!n||!n.include||ye(n.include,e)>=0)&&t(r,i._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=bq[t.brushType](0,n,e);t.__rangeOffset={offset:Lq[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){Me(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&Me(i.coordSyses,(function(i){var r=bq[t.brushType](1,i,t.range);n(t,r.values,i,e)}))}),this)},t.prototype.setInputRanges=function(t,e){Me(t,(function(t){var n=this.findTargetInfo(t,e);if(t.range=t.range||[],n&&!0!==n){t.panelId=n.panelId;var i=bq[t.brushType](0,n.coordSys,t.coordRange),r=t.__rangeOffset;t.range=r?Lq[t.brushType](i.values,r.offset,Dq(i.xyMinMax,r.xyMinMax)):i.values}}),this)},t.prototype.makePanelOpts=function(t,e){return be(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:kz(i),isTargetByCursor:Iz(i,t,n.coordSysModel),getLinearBrushOtherExtent:Yz(i)}}))},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&ye(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=_q(e,t),r=0;r<n.length;r++){var a=n[r],o=t.panelId;if(o){if(a.panelId===o)return a}else for(var s=0;s<xq.length;s++)if(xq[s](i,a))return a}return!0},t}();function yq(t){return t[0]>t[1]&&t.reverse(),t}function _q(t,e){return cs(t,e,{includeMainTypes:mq})}var vq={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,a=tn(),o={},s={};(n||i||r)&&(Me(n,(function(t){var e=t.axis.grid.model;a.set(e.id,e),o[e.id]=!0})),Me(i,(function(t){var e=t.axis.grid.model;a.set(e.id,e),s[e.id]=!0})),Me(r,(function(t){a.set(t.id,t),o[t.id]=!0,s[t.id]=!0})),a.each((function(t){var r=t.coordinateSystem,a=[];Me(r.getCartesians(),(function(t,e){(ye(n,t.getAxis("x").model)>=0||ye(i,t.getAxis("y").model)>=0)&&a.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:a[0],coordSyses:a,getPanelRect:Mq.grid,xAxisDeclared:o[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){Me(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:Mq.geo})}))}},xq=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],Mq={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(Pp(t)),e}},bq={lineX:Ye(wq,0),lineY:Ye(wq,1),rect:function(t,e,n){var i=e[fq[t]]([n[0][0],n[1][0]]),r=e[fq[t]]([n[0][1],n[1][1]]),a=[yq([i[0],r[0]]),yq([i[1],r[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n){var i=[[1/0,-1/0],[1/0,-1/0]],r=be(n,(function(n){var r=e[fq[t]](n);return i[0][0]=Math.min(i[0][0],r[0]),i[1][0]=Math.min(i[1][0],r[1]),i[0][1]=Math.max(i[0][1],r[0]),i[1][1]=Math.max(i[1][1],r[1]),r}));return{values:r,xyMinMax:i}}};function wq(t,e,n,i){var r=n.getAxis(["x","y"][t]),a=yq(be([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(i[t])):r.toGlobalCoord(r.dataToCoord(i[t]))}))),o=[];return o[t]=a,o[1-t]=[NaN,NaN],{values:a,xyMinMax:o}}var Lq={lineX:Ye(Sq,0),lineY:Ye(Sq,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return be(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function Sq(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function Dq(t,e){var n=Tq(t),i=Tq(e),r=[n[0]/i[0],n[1]/i[1]];return isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r}function Tq(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var kq=gq,Yq=Me,Iq=rs("toolbox-dataZoom_"),Cq=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vt(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new Tz(n.getZr()),this._brushController.on("brush",ke(this._onBrush,this)).mount()),Hq(t,e,this,i,n),Oq(t,e)},e.prototype.onclick=function(t,e,n){Aq[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]);var r=new kq(Pq(this.model),i,{include:["grid"]});r.matchOutputRanges(e,i,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(a("x",n,e[0]),a("y",n,e[1])):a({lineX:"x",lineY:"y"}[i],n,e)}})),sq(i,n),this._dispatchZoomAction(n)}function a(t,e,r){var a=e.getAxis(t),s=a.model,l=o(t,s,i),u=l.findRepresentativeAxisProxy(s).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(r=hR(0,r.slice(),a.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),l&&(n[l.id]={dataZoomId:l.id,startValue:r[0],endValue:r[1]})}function o(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){var r=n.getAxisModel(t,e.componentIndex);r&&(i=n)})),i}},e.prototype._dispatchZoomAction=function(t){var e=[];Yq(t,(function(t,n){e.push(ce(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){var e={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocale(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return e},e}(DZ),Aq={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(lq(this.ecModel))}};function Pq(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}function Oq(t,e){t.setIconStatus("back",dq(e)>1?"emphasis":"normal")}function Hq(t,e,n,i,r){var a=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(a="dataZoomSelect"===i.key&&i.dataZoomSelectActive),n._isZoomActive=a,t.setIconStatus("zoom",a?"emphasis":"normal");var o=new kq(Pq(t),e,{include:["grid"]}),s=o.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!a||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}gg("dataZoom",(function(t){var e=t.getComponent("toolbox",0);if(e){var n=e.getModel(["feature","dataZoom"]),i=[],r=Pq(n),a=cs(t,r);return Yq(a.xAxisModels,(function(t){return o(t,"xAxis","xAxisIndex")})),Yq(a.yAxisModels,(function(t){return o(t,"yAxis","yAxisIndex")})),i}function o(t,e,r){var a=t.componentIndex,o={type:"select",$fromToolbox:!0,filterMode:n.get("filterMode",!0)||"filter",id:Iq+e+a};o[r]=a,i.push(o)}}));var Nq=Cq;function Eq(t){t.registerComponentModel(CZ),t.registerComponentView(NZ),kZ("saveAsImage",RZ),kZ("magicType",VZ),kZ("dataView",rq),kZ("dataZoom",Nq),kZ("restore",pq),Vw(SZ)}var Rq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(Xm),zq=Rq;function jq(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}var Bq=["-ms-","-moz-","-o-","-webkit-",""],Fq="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function Vq(t){return t="left"===t?"right":"right"===t?"left":"top"===t?"bottom":"top",t}function Wq(t,e,n){if(!Ae(n)||"inside"===n)return"";e=Ym(e);var i=Vq(n),r="",a="";ye(["left","right"],i)>-1?(r=i+":-6px;top:50%;",a="translateY(-50%) rotate("+("left"===i?-225:-45)+"deg)"):(r=i+":-6px;left:50%;",a="translateX(-50%) rotate("+("top"===i?225:45)+"deg)"),a=be(Bq,(function(t){return t+"transform:"+a})).join(";");var o=["position:absolute;width:10px;height:10px;",""+r+a+";","border-bottom: "+e+" solid 1px;","border-right: "+e+" solid 1px;","background-color: "+t+";","box-shadow: 8px 8px 16px -3px #000;"];return'<div style="'+o.join("")+'"></div>'}function Gq(t,e){var n="cubic-bezier(0.23, 1, 0.32, 1)",i="opacity "+t/2+"s "+n+",visibility "+t/2+"s "+n;return e||(i+=",left "+t+"s "+n+",top "+t+"s "+n),be(Bq,(function(t){return t+"transition:"+i})).join(";")}function Uq(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();i&&e.push("color:"+i),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px");var r=t.get("textShadowColor"),a=t.get("textShadowBlur")||0,o=t.get("textShadowOffsetX")||0,s=t.get("textShadowOffsetY")||0;return r&&a&&e.push("text-shadow:"+o+"px "+s+"px "+a+"px "+r),Me(["decoration","align"],(function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)})),e.join(";")}function Xq(t,e,n){var i=[],r=t.get("transitionDuration"),a=t.get("backgroundColor"),o=t.get("shadowBlur"),s=t.get("shadowColor"),l=t.get("shadowOffsetX"),u=t.get("shadowOffsetY"),d=t.getModel("textStyle"),c=V_(t,"html"),h=l+"px "+u+"px "+o+"px "+s;return i.push("box-shadow:"+h),e&&r&&i.push(Gq(r,n)),a&&($t.canvasSupported?i.push("background-Color:"+a):(i.push("background-Color:#"+ir(a)),i.push("filter:alpha(opacity=70)"))),Me(["width","color","radius"],(function(e){var n="border-"+e,r=_m(n),a=t.get(r);null!=a&&i.push(n+":"+a+("color"===e?"":"px"))})),i.push(Uq(d)),null!=c&&i.push("padding:"+vm(c).join("px ")+"px"),i.join(";")+";"}function Zq(t,e,n,i,r){var a=e&&e.painter;if(n){var o=a&&a.getViewportRoot();o&&En(t,o,document.body,i,r)}else{t[0]=i,t[1]=r;var s=a&&a.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var qq=function(){function t(t,e,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._firstShow=!0,this._longHide=!0,$t.wxa)return null;var i=document.createElement("div");i.domBelongToZr=!0,this.el=i;var r=this._zr=e.getZr(),a=this._appendToBody=n&&n.appendToBody;Zq(this._styleCoord,r,a,e.getWidth()/2,e.getHeight()/2),a?document.body.appendChild(i):t.appendChild(i),this._container=t;var o=this;i.onmouseenter=function(){o._enterable&&(clearTimeout(o._hideTimeout),o._show=!0),o._inContent=!0},i.onmousemove=function(t){if(t=t||window.event,!o._enterable){var e=r.handler,n=r.painter.getViewportRoot();Zn(n,t,!0),e.dispatch("mousemove",t)}},i.onmouseleave=function(){o._inContent=!1,o._enterable&&o._show&&o.hideLater(o._hideDelay)}}return t.prototype.update=function(t){var e=this._container,n=e.currentStyle||document.defaultView.getComputedStyle(e),i=e.style;"absolute"!==i.position&&"absolute"!==n.position&&(i.position="relative");var r=t.get("alwaysShowContent");r&&this._moveIfResized(),this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=this._styleCoord,r=n.offsetHeight/2;e=Ym(e),n.style.cssText=Fq+Xq(t,!this._firstShow,this._longHide)+";left:"+i[0]+"px;top:"+(i[1]-r)+"px;border-color: "+e+";"+(t.get("extraCssText")||""),n.style.display=n.innerHTML?"block":"none",n.style.pointerEvents=this._enterable?"auto":"none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){if(null!=t){var a=this.el;if(Ae(r)&&"item"===n.get("trigger")&&!jq(n)&&(t+=Wq(n.get("backgroundColor"),i,r)),Ae(t))a.innerHTML=t;else if(t){a.innerHTML="",Ie(t)||(t=[t]);for(var o=0;o<t.length;o++)Re(t[o])&&t[o].parentNode!==a&&a.appendChild(t[o])}}},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return[t.clientWidth,t.clientHeight]},t.prototype.moveTo=function(t,e){var n=this._styleCoord;if(Zq(n,this._zr,this._appendToBody,t,e),null!=n[0]&&null!=n[1]){var i=this.el.style;i.left=n[0].toFixed(0)+"px",i.top=n[1].toFixed(0)+"px"}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this;this.el.style.visibility="hidden",this.el.style.opacity="0",this._show=!1,this._longHideTimeout=setTimeout((function(){return t._longHide=!0}),500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(ke(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},t.prototype.getOuterSize=function(){var t=this.el.clientWidth,e=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var n=document.defaultView.getComputedStyle(this.el);n&&(t+=parseInt(n.borderLeftWidth,10)+parseInt(n.borderRightWidth,10),e+=parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10))}return{width:t,height:e}},t}(),$q=qq,Jq=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._zr=t.getZr(),t$(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized()},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,i,r){He(t)&&i_(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new wd({style:{rich:e.richTextStyles,text:t,lineHeight:22,backgroundColor:n.get("backgroundColor"),borderRadius:n.get("borderRadius"),borderWidth:1,borderColor:i,shadowColor:n.get("shadowColor"),shadowBlur:n.get("shadowBlur"),shadowOffsetX:n.get("shadowOffsetX"),shadowOffsetY:n.get("shadowOffsetY"),textShadowColor:a.get("textShadowColor"),textShadowBlur:a.get("textShadowBlur")||0,textShadowOffsetX:a.get("textShadowOffsetX")||0,textShadowOffsetY:a.get("textShadowOffsetY")||0,fill:n.get(["textStyle","color"]),padding:V_(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),this._zr.add(this.el);var o=this;this.el.on("mouseover",(function(){o._enterable&&(clearTimeout(o._hideTimeout),o._show=!0),o._inContent=!0})),this.el.on("mouseout",(function(){o._enterable&&o._show&&o.hideLater(o._hideDelay),o._inContent=!1}))},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=Qq(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var i=this._styleCoord;t$(i,this._zr,t,e),t=i[0],e=i[1];var r=n.style,a=Kq(r.borderWidth||0),o=Qq(r);n.x=t+a+o.left,n.y=e+a+o.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(ke(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.getOuterSize=function(){var t=this.getSize();return{width:t[0],height:t[1]}},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function Kq(t){return Math.max(0,t)}function Qq(t){var e=Kq(t.shadowBlur||0),n=Kq(t.shadowOffsetX||0),i=Kq(t.shadowOffsetY||0);return{left:Kq(e-n),right:Kq(e+n),top:Kq(e-i),bottom:Kq(e+i)}}function t$(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var e$=Jq,n$=ke,i$=Me,r$=yo,a$=new ud({shape:{x:-1,y:-1,width:2,height:2}}),o$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.init=function(t,e){if(!$t.node){var n=t.getComponent("tooltip"),i=n.get("renderMode");this._renderMode=ys(i),this._tooltipContent="richText"===this._renderMode?new e$(e):new $q(e.getDom(),e,{appendToBody:n.get("appendToBody",!0)})}},e.prototype.render=function(t,e,n){if(!$t.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n,this._alwaysShowContent=t.get("alwaysShowContent");var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel,e=t.get("triggerOn");BG("itemTooltip",this._api,n$((function(t,n,i){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(n,i):"leave"===t&&this._hide(i))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&i.manuallyShowTip(t,e,n,{x:i._lastX,y:i._lastY,dataByCoordSys:i._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!$t.node){var r=l$(i,n);this._ticket="";var a=i.dataByCoordSys;if(i.tooltip&&null!=i.x&&null!=i.y){var o=a$;o.x=i.x,o.y=i.y,o.update(),o.tooltip=i.tooltip,this._tryShow({offsetX:i.x,offsetY:i.y,target:o},r)}else if(a)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:a,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var s=$G(i,e),l=s.point[0],u=s.point[1];null!=l&&null!=u&&this._tryShow({offsetX:l,offsetY:u,position:i.position,target:s.el},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(l$(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,a=i.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=a&&null!=o){var s=e.getSeriesByIndex(r);if(s){var l=s.getData(),u=s$([l.getItemModel(a),s,(s.coordinateSystem||{}).model,t]);if("axis"===u.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:a,position:i.position}),!0}}},e.prototype._tryShow=function(t,e){var n=t.target,i=this._tooltipModel;if(i){this._lastX=t.offsetX,this._lastY=t.offsetY;var r=t.dataByCoordSys;r&&r.length?this._showAxisTooltip(r,t):n&&iM(n,(function(t){return null!=Ld(t).dataIndex}),!0)?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,n,e)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,n,e)):(this._lastDataByCoordSys=null,this._hide(e))}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=ke(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],a=s$([e.tooltipOption,i]),o=this._renderMode,s=[],l=C_("section",{blocks:[],noHeader:!0}),u=[],d=new W_;i$(t,(function(t){i$(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),i=t.value;if(e&&null!=i){var r=DG(i,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),a=C_("section",{header:r,noHeader:!qe(r),sortBlocks:!0,blocks:[]});l.blocks.push(a),Me(t.seriesDataIndices,(function(l){var c=n.getSeriesByIndex(l.seriesIndex),h=l.dataIndexInside,p=c.getDataParams(h);p.axisDim=t.axisDim,p.axisIndex=t.axisIndex,p.axisType=t.axisType,p.axisId=t.axisId,p.axisValue=$Y(e.axis,{value:i}),p.axisValueLabel=r,p.marker=d.makeTooltipMarker("item",Ym(p.color),o);var f=Ky(c.formatTooltip(h,!0,null));f.markupFragment&&a.blocks.push(f.markupFragment),f.markupText&&u.push(f.markupText),s.push(p)}))}}))})),l.blocks.reverse(),u.reverse();var c=e.position,h=a.get("order"),p=H_(l,d,o,h,n.get("useUTC"),a.get("textStyle"));p&&u.unshift(p);var f="richText"===o?"\n\n":"<br/>",m=u.join(f);this._showOrMove(a,(function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(a,c,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(a,m,s,Math.random()+"",r[0],r[1],c,null,d)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=iM(e,(function(t){return null!=Ld(t).dataIndex}),!0),r=this._ecModel,a=Ld(i),o=a.seriesIndex,s=r.getSeriesByIndex(o),l=a.dataModel||s,u=a.dataIndex,d=a.dataType,c=l.getData(d),h=this._renderMode,p=s$([c.getItemModel(u),l,s&&(s.coordinateSystem||{}).model,this._tooltipModel]),f=p.get("trigger");if(null==f||"item"===f){var m=l.getDataParams(u,d),g=new W_;m.marker=g.makeTooltipMarker("item",Ym(m.color),h);var y=Ky(l.formatTooltip(u,!1,d)),_=p.get("order"),v=y.markupFragment?H_(y.markupFragment,g,h,_,r.get("useUTC"),p.get("textStyle")):y.markupText,x="item_"+l.name+"_"+u;this._showOrMove(p,(function(){this._showTooltipContent(p,v,m,x,t.offsetX,t.offsetY,t.position,t.target,g)})),n({type:"showTip",dataIndexInside:u,dataIndex:c.getRawIndex(u),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i=e.tooltip;if(Ae(i)){var r=i;i={content:r,formatter:r}}var a=new Mf(i,this._tooltipModel,this._ecModel),o=a.get("content"),s=Math.random()+"",l=new W_;this._showOrMove(a,(function(){this._showTooltipContent(a,o,a.get("formatterParams")||{},s,t.offsetX,t.offsetY,t.position,e,l)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,a,o,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent,d=t.get("formatter");o=o||t.get("position");var c=e,h=this._getNearestPoint([r,a],n,t.get("trigger"),t.get("borderColor"));if(d&&Ae(d)){var p=t.ecModel.get("useUTC"),f=Ie(n)?n[0]:n,m=f&&f.axisType&&f.axisType.indexOf("time")>=0;c=d,m&&(c=Qf(f.axisValue,c,p)),c=Dm(c,n,!0)}else if(Ce(d)){var g=n$((function(e,i){e===this._ticket&&(u.setContent(i,l,t,h.color,o),this._updatePosition(t,o,r,a,u,n,s))}),this);this._ticket=i,c=d(n,i,g)}u.setContent(c,l,t,h.color,o),u.show(t,h.color),this._updatePosition(t,o,r,a,u,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||Ie(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:Ie(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,a,o){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),d=t.get("align"),c=t.get("verticalAlign"),h=o&&o.getBoundingRect().clone();if(o&&h.applyTransform(o.transform),Ce(e)&&(e=e([n,i],a,r.el,h,{viewSize:[s,l],contentSize:u.slice()})),Ie(e))n=r$(e[0],s),i=r$(e[1],l);else if(He(e)){var p=e;p.width=u[0],p.height=u[1];var f=Em(p,{width:s,height:l});n=f.x,i=f.y,d=null,c=null}else if(Ae(e)&&o){var m=c$(e,h,u);n=m[0],i=m[1]}else{m=u$(n,i,r,s,l,d?null:20,c?null:20);n=m[0],i=m[1]}if(d&&(n-=h$(d)?u[0]/2:"right"===d?u[0]:0),c&&(i-=h$(c)?u[1]/2:"bottom"===c?u[1]:0),jq(t)){m=d$(n,i,r,s,l);n=m[0],i=m[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t){var e=this._lastDataByCoordSys,n=!!e&&e.length===t.length;return n&&i$(e,(function(e,i){var r=e.dataByAxis||[],a=t[i]||{},o=a.dataByAxis||[];n=n&&r.length===o.length,n&&i$(r,(function(t,e){var i=o[e]||{},r=t.seriesDataIndices||[],a=i.seriesDataIndices||[];n=n&&t.value===i.value&&t.axisType===i.axisType&&t.axisId===i.axisId&&r.length===a.length,n&&i$(r,(function(t,e){var i=a[e];n=n&&t.seriesIndex===i.seriesIndex&&t.dataIndex===i.dataIndex}))}))})),this._lastDataByCoordSys=t,!!n},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){$t.node||(this._tooltipContent.dispose(),XG("itemTooltip",e))},e.type="tooltip",e}(ov);function s$(t){var e=t.pop();while(t.length){var n=t.pop();n&&(n instanceof Mf&&(n=n.get("tooltip",!0)),Ae(n)&&(n={formatter:n}),e=new Mf(n,e,e.ecModel))}return e}function l$(t,e){return t.dispatchAction||ke(e.dispatchAction,e)}function u$(t,e,n,i,r,a,o){var s=n.getOuterSize(),l=s.width,u=s.height;return null!=a&&(t+l+a+2>i?t-=l+a:t+=a),null!=o&&(e+u+o>r?e-=u+o:e+=o),[t,e]}function d$(t,e,n,i,r){var a=n.getOuterSize(),o=a.width,s=a.height;return t=Math.min(t+o,i)-o,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function c$(t,e,n){var i=n[0],r=n[1],a=10,o=5,s=0,l=0,u=e.width,d=e.height;switch(t){case"inside":s=e.x+u/2-i/2,l=e.y+d/2-r/2;break;case"top":s=e.x+u/2-i/2,l=e.y-r-a;break;case"bottom":s=e.x+u/2-i/2,l=e.y+d+a;break;case"left":s=e.x-i-a-o,l=e.y+d/2-r/2;break;case"right":s=e.x+u+a+o,l=e.y+d/2-r/2}return[s,l]}function h$(t){return"center"===t||"middle"===t}var p$=o$;function f$(t){Vw(uU),t.registerComponentModel(zq),t.registerComponentView(p$),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))}var m$=["rect","polygon","keep","clear"];function g$(t,e){var n=Bo(t?t.brush:[]);if(n.length){var i=[];Me(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))}));var r=t&&t.toolbox;Ie(r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var a=r.feature||(r.feature={}),o=a.brush||(a.brush={}),s=o.type||(o.type=[]);s.push.apply(s,i),y$(s),e&&!s.length&&s.push.apply(s,m$)}}function y$(t){var e={};Me(t,(function(t){e[t]=1})),t.length=0,Me(e,(function(e,n){t.push(n)}))}var _$=Me;function v$(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function x$(t,e,n){var i={};return _$(e,(function(e){var a=i[e]=r();_$(t[e],(function(t,i){if(xH.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),a[i]=new xH(r),"opacity"===i&&(r=ce(r),r.type="colorAlpha",a.__hidden.__alphaForOpacity=new xH(r))}}))})),i;function r(){var t=function(){};t.prototype.__hidden=t.prototype;var e=new t;return e}}function M$(t,e,n){var i;Me(n,(function(t){e.hasOwnProperty(t)&&v$(e[t])&&(i=!0)})),i&&Me(n,(function(n){e.hasOwnProperty(n)&&v$(e[n])?t[n]=ce(e[n]):delete t[n]}))}function b$(t,e,n,i,r,a){var o,s={};function l(t){return cx(n,o,t)}function u(t,e){px(n,o,t,e)}function d(t,d){o=null==a?t:d;var c=n.getRawDataItem(o);if(!c||!1!==c.visualMap)for(var h=i.call(r,t),p=e[h],f=s[h],m=0,g=f.length;m<g;m++){var y=f[m];p[y]&&p[y].applyVisual(t,l,u)}}Me(t,(function(t){var n=xH.prepareVisualTypes(e[t]);s[t]=n})),null==a?n.each(d):n.each([a],d)}function w$(t,e,n,i){var r={};return Me(t,(function(t){var n=xH.prepareVisualTypes(e[t]);r[t]=n})),{progress:function(t,a){var o,s;function l(t){return cx(a,s,t)}function u(t,e){px(a,s,t,e)}null!=i&&(o=a.getDimension(i));while(null!=(s=t.next())){var d=a.getRawDataItem(s);if(!d||!1!==d.visualMap)for(var c=null!=i?a.get(o,s):s,h=n(c),p=e[h],f=r[h],m=0,g=f.length;m<g;m++){var y=f[m];p[y]&&p[y].applyVisual(c,l,u)}}}}}function L$(t){var e=t.brushType,n={point:function(i){return S$[e].point(i,n,t)},rect:function(i){return S$[e].rect(i,n,t)}};return n}var S$={lineX:D$(0),lineY:D$(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&dA(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var r=t.x,a=t.y,o=t.width,s=t.height,l=i[0];return!!(dA(i,r,a)||dA(i,r+o,a)||dA(i,r,a+s)||dA(i,r+o,a+s)||Br.create(t).contain(l[0],l[1])||Fp(r,a,r+o,a,i)||Fp(r,a,r,a+s,i)||Fp(r+o,a,r+o,a+s,i)||Fp(r,a+s,r+o,a+s,i))||void 0}}};function D$(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var r=i.range,a=e[t];return T$(a,r)}},rect:function(i,r,a){if(i){var o=a.range,s=[i[e[t]],i[e[t]]+i[n[t]]];return s[1]<s[0]&&s.reverse(),T$(s[0],o)||T$(s[1],o)||T$(o[0],s)||T$(o[1],s)}}}}function T$(t,e){return e[0]<=t&&t<=e[1]}var k$=["inBrush","outOfBrush"],Y$="__ecBrushSelect",I$="__ecInBrushSelectEvent";function C$(t){t.eachComponent({mainType:"brush"},(function(e){var n=e.brushTargetManager=new kq(e.option,t);n.setInputRanges(e.areas,t)}))}function A$(t,e,n){var i,r,a=[];t.eachComponent({mainType:"brush"},(function(t){n&&"takeGlobalCursor"===n.type&&t.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),C$(t),t.eachComponent({mainType:"brush"},(function(e,n){var o={brushId:e.id,brushIndex:n,brushName:e.name,areas:ce(e.areas),selected:[]};a.push(o);var s=e.option,l=s.brushLink,u=[],d=[],c=[],h=!1;n||(i=s.throttleType,r=s.throttleDelay);var p=be(e.areas,(function(t){var e=E$[t.brushType],n=me({boundingRect:e?e(t):void 0},t);return n.selectors=L$(n),n})),f=x$(e.option,k$,(function(t){t.mappingMethod="fixed"}));function m(t){return"all"===l||!!u[t]}function g(t){return!!t.length}function y(t,e){var n=t.coordinateSystem;h=h||n.hasAxisBrushed(),m(e)&&n.eachActiveState(t.getData(),(function(t,e){"active"===t&&(d[e]=1)}))}function _(n,i,r){if(n.brushSelector&&!N$(e,i)&&(Me(p,(function(i){e.brushTargetManager.controlSeries(i,n,t)&&r.push(i),h=h||g(r)})),m(i)&&g(r))){var a=n.getData();a.each((function(t){H$(n,r,a,t)&&(d[t]=1)}))}}Ie(l)&&Me(l,(function(t){u[t]=1})),t.eachSeries((function(t,e){var n=c[e]=[];"parallel"===t.subType?y(t,e):_(t,e,n)})),t.eachSeries((function(t,e){var n={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};o.selected.push(n);var i=c[e],r=t.getData(),a=m(e)?function(t){return d[t]?(n.dataIndex.push(r.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(e){return H$(t,i,r,e)?(n.dataIndex.push(r.getRawIndex(e)),"inBrush"):"outOfBrush"};(m(e)?h:g(i))&&b$(k$,f,r,a)}))})),P$(e,i,r,a,n)}function P$(t,e,n,i,r){if(r){var a=t.getZr();if(!a[I$]){a[Y$]||(a[Y$]=O$);var o=Mv(a,Y$,n,e);o(t,i)}}}function O$(t,e){if(!t.isDisposed()){var n=t.getZr();n[I$]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[I$]=!1}}function H$(t,e,n,i){for(var r=0,a=e.length;r<a;r++){var o=e[r];if(t.brushSelector(i,n,o.selectors,o))return!0}}function N$(t,e){var n=t.option.seriesIndex;return null!=n&&"all"!==n&&(Ie(n)?ye(n,e)<0:e!==n)}var E$={rect:function(t){return R$(t.range)},polygon:function(t){for(var e,n=t.range,i=0,r=n.length;i<r;i++){e=e||[[1/0,-1/0],[1/0,-1/0]];var a=n[i];a[0]<e[0][0]&&(e[0][0]=a[0]),a[0]>e[0][1]&&(e[0][1]=a[0]),a[1]<e[1][0]&&(e[1][0]=a[1]),a[1]>e[1][1]&&(e[1][1]=a[1])}return e&&R$(e)}};function R$(t){return new Br(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var z$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new Tz(e.getZr())).on("brush",ke(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},e.prototype.updateTransform=function(t,e,n,i){C$(e),this._updateController(t,e,n,i)},e.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},e.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},e.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:ce(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:ce(n),$from:e})},e.type="brush",e}(ov),j$=z$,B$="#ddd",F$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return Vt(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&M$(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:B$},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=be(t,(function(t){return V$(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=V$(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(Xm);function V$(t,e){return he({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new Mf(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var W$=F$,G$=["rect","polygon","lineX","lineY","keep","clear"],U$=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Vt(e,t),e.prototype.render=function(t,e,n){var i,r,a;e.eachComponent({mainType:"brush"},(function(t){i=t.brushType,r=t.brushOption.brushMode||"single",a=a||!!t.areas.length})),this._brushType=i,this._brushMode=r,Me(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?a:e===i)?"emphasis":"normal")}))},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return Me(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},e.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},e.getDefaultOption=function(t){var e={show:!0,type:G$.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocale(["toolbox","brush","title"])};return e},e}(DZ),X$=U$;function Z$(t){t.registerComponentView(j$),t.registerComponentModel(W$),t.registerPreprocessor(g$),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,A$),t.registerAction({type:"brush",event:"brush",update:"updateVisual"},(function(t,e){e.eachComponent({mainType:"brush",query:t},(function(e){e.setAreas(t.areas)}))})),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},(function(){})),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},(function(){})),kZ("brush",X$)}var q$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return Vt(e,t),e.type="title",e.defaultOption={zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(Xm),$$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),a=t.getModel("subtextStyle"),o=t.get("textAlign"),s=We(t.get("textBaseline"),t.get("textVerticalAlign")),l=new wd({style:Jp(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),d=t.get("subtext"),c=new wd({style:Jp(a,{text:d,fill:a.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),h=t.get("link"),p=t.get("sublink"),f=t.get("triggerEvent",!0);l.silent=!h&&!f,c.silent=!p&&!f,h&&l.on("click",(function(){Im(h,"_"+t.get("target"))})),p&&c.on("click",(function(){Im(p,"_"+t.get("subtarget"))})),Ld(l).eventData=Ld(c).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),d&&i.add(c);var m=i.getBoundingRect(),g=t.getBoxLayoutParams();g.width=m.width,g.height=m.height;var y=Em(g,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));o||(o=t.get("left")||t.get("right"),"middle"===o&&(o="center"),"right"===o?y.x+=y.width:"center"===o&&(y.x+=y.width/2)),s||(s=t.get("top")||t.get("bottom"),"center"===s&&(s="middle"),"bottom"===s?y.y+=y.height:"middle"===s&&(y.y+=y.height/2),s=s||"top"),i.x=y.x,i.y=y.y,i.markRedraw();var _={align:o,verticalAlign:s};l.setStyle(_),c.setStyle(_),m=i.getBoundingRect();var v=y.margin,x=t.getItemStyle(["color","opacity"]);x.fill=t.get("backgroundColor");var M=new ud({shape:{x:m.x-v[3],y:m.y-v[0],width:m.width+v[1]+v[3],height:m.height+v[0]+v[2],r:t.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});i.add(M)}},e.type="title",e}(ov);function J$(t){t.registerComponentModel(q$),t.registerComponentView($$)}var K$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return Vt(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],Me(n,(function(e,n){var i,a=es(Wo(e),"");He(e)?(i=ce(e),i.value=n):i=n,t.push(i),r.push(a)}))):t=n;var a={category:"ordinal",time:"time",value:"number"}[i]||"number",o=this._data=new JS([{name:"value",type:a}],this);o.initData(t,r)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(Xm),Q$=K$,tJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.type="timeline.slider",e.defaultOption=Df(Q$.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(Q$);ve(tJ,Jy.prototype);var eJ=tJ,nJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.type="timeline",e}(ov),iJ=nJ,rJ=function(t){function e(e,n,i,r){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a}return Vt(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(kI),aJ=rJ,oJ=Math.PI,sJ=us(),lJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),a=this._createGroup("_labelGroup"),o=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){var e=o.scale.getLabel({value:t});return C_("nameValue",{noName:!0,value:e})},Me(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](i,r,o,t)}),this),this._renderAxisLabel(i,a,o,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var n,i=t.get(["label","position"]),r=t.get("orient"),a=dJ(t,e);n=null==i||"auto"===i?"horizontal"===r?a.y+a.height/2<e.getHeight()/2?"-":"+":a.x+a.width/2<e.getWidth()/2?"+":"-":Ae(i)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[r][i]:i;var o,s,l,u={horizontal:"center",vertical:n>=0||"+"===n?"left":"right"},d={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:oJ/2},h="vertical"===r?a.height:a.width,p=t.getModel("controlStyle"),f=p.get("show",!0),m=f?p.get("itemSize"):0,g=f?p.get("itemGap"):0,y=m+g,_=t.get(["label","rotate"])||0;_=_*oJ/180;var v=p.get("position",!0),x=f&&p.get("showPlayBtn",!0),M=f&&p.get("showPrevBtn",!0),b=f&&p.get("showNextBtn",!0),w=0,L=h;"left"===v||"bottom"===v?(x&&(o=[0,0],w+=y),M&&(s=[w,0],w+=y),b&&(l=[L-m,0],L-=y)):(x&&(o=[L-m,0],L-=y),M&&(s=[0,0],w+=y),b&&(l=[L-m,0],L-=y));var S=[w,L];return t.get("inverse")&&S.reverse(),{viewRect:a,mainLength:h,orient:r,rotation:c[r],labelRotation:_,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[r],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||d[r],playPosition:o,prevBtnPosition:s,nextBtnPosition:l,axisExtent:S,controlSize:m,controlGap:g}},e.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var a=fi(),o=r.x,s=r.y+r.height;_i(a,a,[-o,-s]),vi(a,a,-oJ/2),_i(a,a,[o,s]),r=r.clone(),r.applyTransform(a)}var l=g(r),u=g(n.getBoundingRect()),d=g(i.getBoundingRect()),c=[n.x,n.y],h=[i.x,i.y];h[0]=c[0]=l[0][0];var p=t.labelPosOpt;if(null==p||Ae(p)){var f="+"===p?0:1;y(c,u,l,1,f),y(h,d,l,1,1-f)}else{f=p>=0?0:1;y(c,u,l,1,f),h[1]=c[1]+p}function m(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function g(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function y(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}n.setPosition(c),i.setPosition(h),n.rotation=i.rotation=t.rotation,m(n),m(i)},e.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=uJ(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var a=n.getDataExtent("value");r.setExtent(a[0],a[1]),r.niceTicks();var o=new aJ("value",r,t.axisExtent,i);return o.model=e,o},e.prototype._createGroup=function(t){var e=this[t]=new ro;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var a=new Rh({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:fe({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(a);var o=this._progressLine=new Rh({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:me({lineCap:"round",lineWidth:a.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(o)}},e.prototype._renderAxisTick=function(t,e,n,i){var r=this,a=i.getData(),o=n.scale.getTicks();this._tickSymbols=[],Me(o,(function(t){var o=n.dataToCoord(t.value),s=a.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),d=s.getModel(["progress","itemStyle"]),c={x:o,y:0,onclick:ke(r._changeTimeline,r,t.value)},h=hJ(s,l,e,c);h.ensureState("emphasis").style=u.getItemStyle(),h.ensureState("progress").style=d.getItemStyle(),xc(h);var p=Ld(h);s.get("tooltip")?(p.dataIndex=t.value,p.dataModel=i):p.dataIndex=p.dataModel=null,r._tickSymbols.push(h)}))},e.prototype._renderAxisLabel=function(t,e,n,i){var r=this,a=n.getLabelModel();if(a.get("show")){var o=i.getData(),s=n.getViewLabels();this._tickLabels=[],Me(s,(function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),d=s.getModel(["progress","label"]),c=n.dataToCoord(i.tickValue),h=new wd({x:c,y:0,rotation:t.labelRotation-t.rotation,onclick:ke(r._changeTimeline,r,a),silent:!1,style:Jp(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});h.ensureState("emphasis").style=Jp(u),h.ensureState("progress").style=Jp(d),e.add(h),xc(h),sJ(h).dataIndex=a,r._tickLabels.push(h)}))}},e.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,a=t.rotation,o=i.getModel("controlStyle").getItemStyle(),s=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),u=i.get("inverse",!0);function d(t,n,l,u){if(t){var d=Kr(We(i.get(["controlStyle",n+"BtnSize"]),r),r),c=[0,-d/2,d,d],h={position:t,origin:[r/2,0],rotation:u?-a:0,rectHover:!0,style:o,onclick:l},p=cJ(i,n+"Icon",c,h);p.ensureState("emphasis").style=s,e.add(p),xc(p)}}d(t.nextBtnPosition,"next",ke(this._changeTimeline,this,u?"-":"+")),d(t.prevBtnPosition,"prev",ke(this._changeTimeline,this,u?"+":"-")),d(t.playPosition,l?"stop":"play",ke(this._handlePlayClick,this,!l),!0)},e.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),a=i.getCurrentIndex(),o=r.getItemModel(a).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=ke(s._handlePointerDrag,s),t.ondragend=ke(s._handlePointerDragend,s),pJ(t,s._progressLine,a,n,i,!0)},onUpdate:function(t){pJ(t,s._progressLine,a,n,i)}};this._currentPointer=hJ(o,o,this._mainGroup,{},this._currentPointer,l)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=this._axis,r=vo(i.getExtent().slice());n>r[1]&&(n=r[1]),n<r[0]&&(n=r[0]),this._currentPointer.x=n,this._currentPointer.markRedraw(),this._progressLine.shape.x2=n,this._progressLine.dirty();var a=this._findNearestTick(n),o=this.model;(e||a!==o.getCurrentIndex()&&o.get("realtime"))&&this._changeTimeline(a)},e.prototype._doPlayStop=function(){var t=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout((function(){var e=t.model;t._changeTimeline(e.getCurrentIndex()+(e.get("rewind",!0)?-1:1))}),this.model.get("playInterval")))},e.prototype._toAxisCoord=function(t){var e=this._mainGroup.getLocalTransform();return Op(t,e,!0)},e.prototype._findNearestTick=function(t){var e,n=this.model.getData(),i=1/0,r=this._axis;return n.each(["value"],(function(n,a){var o=r.dataToCoord(n),s=Math.abs(o-t);s<i&&(i=s,e=a)})),e},e.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},e.prototype._changeTimeline=function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})},e.prototype._updateTicksStatus=function(){var t=this.model.getCurrentIndex(),e=this._tickSymbols,n=this._tickLabels;if(e)for(var i=0;i<e.length;i++)e&&e[i]&&e[i].toggleState("progress",i<t);if(n)for(i=0;i<n.length;i++)n&&n[i]&&n[i].toggleState("progress",sJ(n[i]).dataIndex<=t)},e.type="timeline.slider",e}(iJ);function uJ(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new cY({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new DY({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new fY}}function dJ(t,e){return Em(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}function cJ(t,e,n,i){var r=i.style,a=Bp(t.get(["controlStyle",e]),i||{},new Br(n[0],n[1],n[2],n[3]));return r&&a.setStyle(r),a}function hJ(t,e,n,i,r,a){var o=e.get("color");if(r)r.setColor(o),n.add(r),a&&a.onUpdate(r);else{var s=t.get("symbol");r=gM(s,-1,-1,2,2,o),r.setStyle("strokeNoScale",!0),n.add(r),a&&a.onCreate(r)}var l=e.getItemStyle(["color"]);r.setStyle(l),i=he({rectHover:!0,z2:100},i,!0);var u=t.get("symbolSize");u=u instanceof Array?u.slice():[+u,+u],i.scaleX=u[0]/2,i.scaleY=u[1]/2;var d=t.get("symbolOffset");d&&(i.x=i.x||0,i.y=i.y||0,i.x+=yo(d[0],u[0]),i.y+=yo(d[1],u[1]));var c=t.get("symbolRotate");return i.rotation=(c||0)*Math.PI/180||0,r.attr(i),r.updateTransform(),r}function pJ(t,e,n,i,r,a){if(!t.dragging){var o=r.getModel("checkpointStyle"),s=i.dataToCoord(r.getData().get("value",n));if(a||!o.get("animation",!0))t.attr({x:s,y:0}),e&&e.attr({shape:{x2:s}});else{var l={duration:o.get("animationDuration",!0),easing:o.get("animationEasing",!0)};t.stopAnimation(null,!0),t.animateTo({x:s,y:0},l),e&&e.animateTo({shape:{x2:s}},l)}}}var fJ=lJ;function mJ(t){t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,e){var n=e.getComponent("timeline");return n&&null!=t.currentIndex&&(n.setCurrentIndex(t.currentIndex),!n.get("loop",!0)&&n.isIndexMax()&&n.setPlayState(!1)),e.resetOption("timeline",{replaceMerge:n.get("replaceMerge",!0)}),me({currentIndex:n.option.currentIndex},t)})),t.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(t,e){var n=e.getComponent("timeline");n&&null!=t.playState&&n.setPlayState(t.playState)}))}function gJ(t){var e=t&&t.timeline;Ie(e)||(e=e?[e]:[]),Me(e,(function(t){t&&yJ(t)}))}function yJ(t){var e=t.type,n={number:"value",time:"time"};if(n[e]&&(t.axisType=n[e],delete t.type),_J(t),vJ(t,"controlPosition")){var i=t.controlStyle||(t.controlStyle={});vJ(i,"position")||(i.position=t.controlPosition),"none"!==i.position||vJ(i,"show")||(i.show=!1,delete i.position),delete t.controlPosition}Me(t.data||[],(function(t){He(t)&&!Ie(t)&&(!vJ(t,"value")&&vJ(t,"name")&&(t.value=t.name),_J(t))}))}function _J(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),i=t.label||t.label||{},r=i.normal||(i.normal={}),a={normal:1,emphasis:1};Me(i,(function(t,e){a[e]||vJ(r,e)||(r[e]=t)})),n.label&&!vJ(i,"emphasis")&&(i.emphasis=n.label,delete n.label)}function vJ(t,e){return t.hasOwnProperty(e)}function xJ(t){t.registerComponentModel(eJ),t.registerComponentView(fJ),t.registerSubTypeDefaulter("timeline",(function(){return"slider"})),mJ(t),t.registerPreprocessor(gJ)}function MJ(t){Fo(t,"label",["show"])}var bJ=us(),wJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.createdBySelf=!1,n}return Vt(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},e.prototype.isAnimationEnabled=function(){if($t.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},e.prototype.mergeOption=function(t,e){this._mergeOption(t,e,!1,!1)},e.prototype._mergeOption=function(t,e,n,i){var r=this.mainType;n||e.eachSeries((function(t){var n=t.get(this.mainType,!0),a=bJ(t)[r];n&&n.data?(a?a._mergeOption(n,e,!0):(i&&MJ(n),Me(n.data,(function(t){t instanceof Array?(MJ(t[0]),MJ(t[1])):MJ(t)})),a=this.createMarkerModelFromSeries(n,this,e),fe(a,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),a.__hostSeries=t),bJ(t)[r]=a):bJ(t)[r]=null}),this)},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t),a=i.getName(t);return C_("section",{header:this.name,blocks:[C_("nameValue",{name:a,value:r,noName:!a,noValue:null==r})]})},e.prototype.getData=function(){return this._data},e.prototype.setData=function(t){this._data=t},e.getMarkerModelFromSeries=function(t,e){return bJ(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(Xm);ve(wJ,Jy.prototype);var LJ=wJ,SJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markPoint",e.defaultOption={zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(LJ),DJ=SJ;function TJ(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function kJ(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}function YJ(t,e,n,i,r,a){var o=[],s=lD(e,i),l=s?e.getCalculationInfo("stackResultDimension"):i,u=NJ(e,l,t),d=e.indicesOfNearest(l,u)[0];o[r]=e.get(n,d),o[a]=e.get(l,d);var c=e.get(i,d),h=xo(e.get(i,d));return h=Math.min(h,20),h>=0&&(o[a]=+o[a].toFixed(h)),[o,c]}var IJ={min:Ye(YJ,"min"),max:Ye(YJ,"max"),average:Ye(YJ,"average"),median:Ye(YJ,"median")};function CJ(t,e){var n=t.getData(),i=t.coordinateSystem;if(e&&!kJ(e)&&!Ie(e.coord)&&i){var r=i.dimensions,a=AJ(e,n,i,t);if(e=ce(e),e.type&&IJ[e.type]&&a.baseAxis&&a.valueAxis){var o=ye(r,a.baseAxis.dim),s=ye(r,a.valueAxis.dim),l=IJ[e.type](n,a.baseDataDim,a.valueDataDim,o,s);e.coord=l[0],e.value=l[1]}else{for(var u=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],d=0;d<2;d++)IJ[u[d]]&&(u[d]=NJ(n,n.mapDimension(r[d]),u[d]));e.coord=u}}return e}function AJ(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(PJ(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function PJ(t,e){var n=t.getData(),i=n.dimensions;e=n.getDimension(e);for(var r=0;r<i.length;r++){var a=n.getDimensionInfo(i[r]);if(a.name===e)return a.coordDim}}function OJ(t,e){return!(t&&t.containData&&e.coord&&!TJ(e))||t.containData(e.coord)}function HJ(t,e,n,i){return i<2?t.coord&&t.coord[i]:t.value}function NJ(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(i+=t,r++)})),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var EJ=us(),RJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.init=function(){this.markerGroupMap=tn()},e.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each((function(t){EJ(t).keep=!1})),e.eachSeries((function(t){var r=LJ.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)})),r.each((function(t){!EJ(t).keep&&i.group.remove(t.group)}))},e.prototype.markKeep=function(t){EJ(t).keep=!0},e.prototype.blurSeries=function(t){var e=this;Me(t,(function(t){var n=LJ.getMarkerModelFromSeries(t,e.type);if(n){var i=n.getData();i.eachItemGraphicEl((function(t){t&&uc(t)}))}}))},e.type="marker",e}(ov),zJ=RJ;function jJ(t,e,n){var i=e.coordinateSystem;t.each((function(r){var a,o=t.getItemModel(r),s=yo(o.get("x"),n.getWidth()),l=yo(o.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)a=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var u=t.get(i.dimensions[0],r),d=t.get(i.dimensions[1],r);a=i.dataToPoint([u,d])}}else a=[s,l];isNaN(s)||(a[0]=s),isNaN(l)||(a[1]=l),t.setItemLayout(r,a)}))}var BJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=LJ.getMarkerModelFromSeries(t,"markPoint");e&&(jJ(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,a=t.id,o=t.getData(),s=this.markerGroupMap,l=s.get(a)||s.set(a,new SD),u=FJ(r,t,e);e.setData(u),jJ(e.getData(),t,i),u.each((function(t){var n=u.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),a=n.getShallow("symbolRotate");if(Ce(i)||Ce(r)||Ce(a)){var s=e.getRawValue(t),l=e.getDataParams(t);Ce(i)&&(i=i(s,l)),Ce(r)&&(r=r(s,l)),Ce(a)&&(a=a(s,l))}var d=n.getModel("itemStyle").getItemStyle(),c=hx(o,"color");d.fill||(d.fill=c),u.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:a,style:d})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){Ld(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(zJ);function FJ(t,e,n){var i;i=t?be(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return me({name:t},n)})):[{name:"value",type:"float"}];var r=new JS(i,n),a=be(n.get("data"),Ye(CJ,e));return t&&(a=Le(a,Ye(OJ,t))),r.initData(a,null,t?HJ:function(t){return t.value}),r}var VJ=BJ;function WJ(t){t.registerComponentModel(DJ),t.registerComponentView(VJ),t.registerPreprocessor((function(t){t.markPoint=t.markPoint||{}}))}var GJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markLine",e.defaultOption={zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(LJ),UJ=GJ,XJ=us(),ZJ=function(t,e,n,i){var r,a=t.getData();if(Ie(i))r=i;else{var o=i.type;if("min"===o||"max"===o||"average"===o||"median"===o||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=Ve(i.yAxis,i.xAxis);else{var u=AJ(i,a,e,t);s=u.valueAxis;var d=uD(a,u.valueDataDim);l=NJ(a,d,o)}var c="x"===s.dim?0:1,h=1-c,p=ce(i),f={coord:[]};p.type=null,p.coord=[],p.coord[h]=-1/0,f.coord[h]=1/0;var m=n.get("precision");m>=0&&"number"===typeof l&&(l=+l.toFixed(Math.min(m,20))),p.coord[c]=f.coord[c]=l,r=[p,f,{type:o,valueIndex:i.valueIndex,value:l}]}else r=[]}var g=[CJ(t,r[0]),CJ(t,r[1]),fe({},r[2])];return g[2].type=g[2].type||null,he(g[2],g[0]),he(g[2],g[1]),g};function qJ(t){return!isNaN(t)&&!isFinite(t)}function $J(t,e,n,i){var r=1-t,a=i.dimensions[t];return qJ(e[r])&&qJ(n[r])&&e[t]===n[t]&&i.getAxis(a).containData(e[t])}function JJ(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&($J(1,n,i,t)||$J(0,n,i,t)))return!0}return OJ(t,e[0])&&OJ(t,e[1])}function KJ(t,e,n,i,r){var a,o=i.coordinateSystem,s=t.getItemModel(e),l=yo(s.get("x"),r.getWidth()),u=yo(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)a=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var d=o.dimensions,c=t.get(d[0],e),h=t.get(d[1],e);a=o.dataToPoint([c,h])}if(GD(o,"cartesian2d")){var p=o.getAxis("x"),f=o.getAxis("y");d=o.dimensions;qJ(t.get(d[0],e))?a[0]=p.toGlobalCoord(p.getExtent()[n?0:1]):qJ(t.get(d[1],e))&&(a[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(l)||(a[0]=l),isNaN(u)||(a[1]=u)}else a=[l,u];t.setItemLayout(e,a)}var QJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=LJ.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=XJ(e).from,a=XJ(e).to;r.each((function(e){KJ(r,e,!0,t,n),KJ(a,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),a.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,a=t.id,o=t.getData(),s=this.markerGroupMap,l=s.get(a)||s.set(a,new XN);this.group.add(l.group);var u=tK(r,t,e),d=u.from,c=u.to,h=u.line;XJ(e).from=d,XJ(e).to=c,e.setData(h);var p=e.get("symbol"),f=e.get("symbolSize");function m(e,n,r){var a=e.getItemModel(n);KJ(e,n,r,t,i);var s=a.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=hx(o,"color")),e.setItemVisual(n,{symbolRotate:a.get("symbolRotate"),symbolSize:a.get("symbolSize")||f[r?0:1],symbol:a.get("symbol",!0)||p[r?0:1],style:s})}Ie(p)||(p=[p,p]),Ie(f)||(f=[f,f]),u.from.each((function(t){m(d,t,!0),m(c,t,!1)})),h.each((function(t){var e=h.getItemModel(t).getModel("lineStyle").getLineStyle();h.setItemLayout(t,[d.getItemLayout(t),c.getItemLayout(t)]),null==e.stroke&&(e.stroke=d.getItemVisual(t,"style").fill),h.setItemVisual(t,{fromSymbolRotate:d.getItemVisual(t,"symbolRotate"),fromSymbolSize:d.getItemVisual(t,"symbolSize"),fromSymbol:d.getItemVisual(t,"symbol"),toSymbolRotate:c.getItemVisual(t,"symbolRotate"),toSymbolSize:c.getItemVisual(t,"symbolSize"),toSymbol:c.getItemVisual(t,"symbol"),style:e})})),l.updateData(h),u.line.eachItemGraphicEl((function(t,n){t.traverse((function(t){Ld(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(zJ);function tK(t,e,n){var i;i=t?be(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return me({name:t},n)})):[{name:"value",type:"float"}];var r=new JS(i,n),a=new JS(i,n),o=new JS([],n),s=be(n.get("data"),Ye(ZJ,e,t,n));t&&(s=Le(s,Ye(JJ,t)));var l=t?HJ:function(t){return t.value};return r.initData(be(s,(function(t){return t[0]})),null,l),a.initData(be(s,(function(t){return t[1]})),null,l),o.initData(be(s,(function(t){return t[2]}))),o.hasItemOption=!0,{from:r,to:a,line:o}}var eK=QJ;function nK(t){t.registerComponentModel(UJ),t.registerComponentView(eK),t.registerPreprocessor((function(t){t.markLine=t.markLine||{}}))}var iK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markArea",e.defaultOption={zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(LJ),rK=iK,aK=us(),oK=function(t,e,n,i){var r=CJ(t,i[0]),a=CJ(t,i[1]),o=r.coord,s=a.coord;o[0]=Ve(o[0],-1/0),o[1]=Ve(o[1],-1/0),s[0]=Ve(s[0],1/0),s[1]=Ve(s[1],1/0);var l=pe([{},r,a]);return l.coord=[r.coord,a.coord],l.x0=r.x,l.y0=r.y,l.x1=a.x,l.y1=a.y,l};function sK(t){return!isNaN(t)&&!isFinite(t)}function lK(t,e,n,i){var r=1-t;return sK(e[r])&&sK(n[r])}function uK(t,e){var n=e.coord[0],i=e.coord[1];return!!(GD(t,"cartesian2d")&&n&&i&&(lK(1,n,i,t)||lK(0,n,i,t)))||(OJ(t,{coord:n,x:e.x0,y:e.y0})||OJ(t,{coord:i,x:e.x1,y:e.y1}))}function dK(t,e,n,i,r){var a,o=i.coordinateSystem,s=t.getItemModel(e),l=yo(s.get(n[0]),r.getWidth()),u=yo(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)a=i.getMarkerPosition(t.getValues(n,e));else{var d=t.get(n[0],e),c=t.get(n[1],e),h=[d,c];o.clampData&&o.clampData(h,h),a=o.dataToPoint(h,!0)}if(GD(o,"cartesian2d")){var p=o.getAxis("x"),f=o.getAxis("y");d=t.get(n[0],e),c=t.get(n[1],e);sK(d)?a[0]=p.toGlobalCoord(p.getExtent()["x0"===n[0]?0:1]):sK(c)&&(a[1]=f.toGlobalCoord(f.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(a[0]=l),isNaN(u)||(a[1]=u)}else a=[l,u];return a}var cK=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],hK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=LJ.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each((function(e){var r=be(cK,(function(r){return dK(i,e,r,t,n)}));i.setItemLayout(e,r);var a=i.getItemGraphicEl(e);a.setShape("points",r)}))}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,a=t.id,o=t.getData(),s=this.markerGroupMap,l=s.get(a)||s.set(a,{group:new ro});this.group.add(l.group),this.markKeep(l);var u=pK(r,t,e);e.setData(u),u.each((function(e){var n=be(cK,(function(n){return dK(u,e,n,t,i)})),a=!0;Me(cK,(function(t){if(a){var n=u.get(t[0],e),i=u.get(t[1],e);(sK(n)||r.getAxis("x").containData(n))&&(sK(i)||r.getAxis("y").containData(i))&&(a=!1)}})),u.setItemLayout(e,{points:n,allClipped:a});var s=u.getItemModel(e).getModel("itemStyle").getItemStyle(),l=hx(o,"color");s.fill||(s.fill=l,"string"===typeof s.fill&&(s.fill=or(s.fill,.4))),s.stroke||(s.stroke=l),u.setItemVisual(e,"style",s)})),u.diff(aK(l).data).add((function(t){var e=u.getItemLayout(t);if(!e.allClipped){var n=new Ch({shape:{points:e.points}});u.setItemGraphicEl(t,n),l.group.add(n)}})).update((function(t,n){var i=aK(l).data.getItemGraphicEl(n),r=u.getItemLayout(t);r.allClipped?i&&l.group.remove(i):(i?Tp(i,{shape:{points:r.points}},e,t):i=new Ch({shape:{points:r.points}}),u.setItemGraphicEl(t,i),l.group.add(i))})).remove((function(t){var e=aK(l).data.getItemGraphicEl(t);l.group.remove(e)})).execute(),u.eachItemGraphicEl((function(t,n){var i=u.getItemModel(n),r=u.getItemVisual(n,"style");t.useStyle(u.getItemVisual(n,"style")),qp(t,$p(i),{labelFetcher:e,labelDataIndex:n,defaultText:u.getName(n)||"",inheritColor:"string"===typeof r.fill?or(r.fill,1):"#000"}),Lc(t,i),xc(t),Ld(t).dataModel=e})),aK(l).data=u,l.group.silent=e.get("silent")||t.get("silent")},e.type="markArea",e}(zJ);function pK(t,e,n){var i,r,a=["x0","y0","x1","y1"];t?(i=be(t&&t.dimensions,(function(t){var n=e.getData(),i=n.getDimensionInfo(n.mapDimension(t))||{};return me({name:t},i)})),r=new JS(be(a,(function(t,e){return{name:t,type:i[e%2].type}})),n)):(i=[{name:"value",type:"float"}],r=new JS(i,n));var o=be(n.get("data"),Ye(oK,e,t,n));t&&(o=Le(o,Ye(uK,t)));var s=t?function(t,e,n,i){return t.coord[Math.floor(i/2)][i%2]}:function(t){return t.value};return r.initData(o,null,s),r.hasItemOption=!0,r}var fK=hK;function mK(t){t.registerComponentModel(rK),t.registerComponentView(fK),t.registerPreprocessor((function(t){t.markArea=t.markArea||{}}))}var gK=function(t,e){return"all"===e?{type:"all",title:t.getLocale(["legend","selector","all"])}:"inverse"===e?{type:"inverse",title:t.getLocale(["legend","selector","inverse"])}:void 0},yK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return Vt(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},e.prototype._updateSelector=function(t){var e=t.selector,n=this.ecModel;!0===e&&(e=t.selector=["all","inverse"]),Ie(e)&&Me(e,(function(t,i){Ae(t)&&(t={type:t}),e[i]=he(t,gK(n,t.type))}))},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),e=!0;break}}!e&&this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],n=[];t.eachRawSeries((function(i){var r,a=i.name;if(n.push(a),i.legendVisualProvider){var o=i.legendVisualProvider,s=o.getAllNames();t.isSeriesFiltered(i)||(n=n.concat(s)),s.length?e=e.concat(s):r=!0}else r=!0;r&&ns(i)&&e.push(i.name)})),this._availableNames=n;var i=this.get("data")||e,r=be(i,(function(t){return"string"!==typeof t&&"number"!==typeof t||(t={name:t}),new Mf(t,this,this.ecModel)}),this);this._data=r},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected,n=this.get("selectedMode");if("single"===n){var i=this._data;Me(i,(function(t){e[t.get("name")]=!1}))}e[t]=!0},e.prototype.unSelect=function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this._data,e=this.option.selected;Me(t,(function(t){e[t.get("name",!0)]=!0}))},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;Me(t,(function(t){var n=t.get("name",!0);e.hasOwnProperty(n)||(e[n]=!0),e[n]=!e[n]}))},e.prototype.isSelected=function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&ye(this._availableNames,t)>=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(Xm),_K=yK,vK=Ye,xK=Me,MK=ro,bK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return Vt(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new MK),this.group.add(this._selectorGroup=new MK),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),a=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===a?"right":"left");var o=t.get("selector",!0),s=t.get("selectorPosition",!0);!o||s&&"auto"!==s||(s="horizontal"===a?"end":"start"),this.renderInner(r,t,e,n,o,a,s);var l=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},d=t.get("padding"),c=Em(l,u,d),h=this.layoutInner(t,r,c,i,o,s),p=Em(me({width:h.width,height:h.height},l),u,d);this.group.x=p.x-h.x,this.group.y=p.y-h.y,this.group.markRedraw(),this.group.add(this._backgroundEl=PZ(h,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,a,o){var s=this.getContentGroup(),l=tn(),u=e.get("selectedMode"),d=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&d.push(t.id)})),xK(e.getData(),(function(r,a){var o=r.get("name");if(!this.newlineDisabled&&(""===o||"\n"===o)){var c=new MK;return c.newline=!0,void s.add(c)}var h=n.getSeriesByName(o)[0];if(!l.get(o)){if(h){var p=h.getData(),f=p.getVisual("style"),m=f[p.getVisual("drawType")]||f.fill,g=f.stroke,y=f.decal,_=p.getVisual("legendSymbol")||"roundRect",v=p.getVisual("symbol"),x=this._createItem(o,a,r,e,_,v,t,m,g,y,u);x.on("click",vK(LK,o,null,i,d)).on("mouseover",vK(DK,h.name,null,i,d)).on("mouseout",vK(TK,h.name,null,i,d)),l.set(o,!0)}else n.eachRawSeries((function(n){if(!l.get(o)&&n.legendVisualProvider){var s=n.legendVisualProvider;if(!s.containName(o))return;var c=s.indexOfName(o),h=s.getItemVisual(c,"style"),p=h.stroke,f=h.decal,m=h.fill,g=Qi(h.fill);g&&0===g[3]&&(g[3]=.2,m=sr(g,"rgba"));var y="roundRect",_=this._createItem(o,a,r,e,y,null,t,m,p,f,u);_.on("click",vK(LK,null,o,i,d)).on("mouseover",vK(DK,null,o,i,d)).on("mouseout",vK(TK,null,o,i,d)),l.set(o,!0)}}),this);0}}),this),r&&this._createSelector(r,e,i,a,o)},e.prototype._createSelector=function(t,e,n,i,r){var a=this.getSelectorGroup();xK(t,(function(t){var i=t.type,r=new wd({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});a.add(r);var o=e.getModel("selectorLabel"),s=e.getModel(["emphasis","selectorLabel"]);qp(r,{normal:o,emphasis:s},{defaultText:t.title}),xc(r)}))},e.prototype._createItem=function(t,e,n,i,r,a,o,s,l,u,d){var c=i.get("itemWidth"),h=i.get("itemHeight"),p=i.get("inactiveColor"),f=i.get("inactiveBorderColor"),m=i.get("symbolKeepAspect"),g=i.getModel("itemStyle"),y=i.isSelected(t),_=new MK,v=n.getModel("textStyle"),x=n.get("icon"),M=n.getModel("tooltip"),b=M.parentModel;r=x||r;var w=gM(r,0,0,c,h,y?s:p,null==m||m);if(_.add(wK(w,r,g,l,f,u,y)),!x&&a&&(a!==r||"none"===a)){var L=.8*h;"none"===a&&(a="circle");var S=gM(a,(c-L)/2,(h-L)/2,L,L,y?s:p,null==m||m);_.add(wK(S,a,g,l,f,u,y))}var D="left"===o?c+5:-5,T=o,k=i.get("formatter"),Y=t;"string"===typeof k&&k?Y=k.replace("{name}",null!=t?t:""):"function"===typeof k&&(Y=k(t)),_.add(new wd({style:Jp(v,{text:Y,x:D,y:h/2,fill:y?v.getTextColor():p,align:T,verticalAlign:"middle"})}));var I=new ud({shape:_.getBoundingRect(),invisible:!0});if(M.get("show")){var C={componentType:"legend",legendIndex:i.componentIndex,name:t,$vars:["name"]};I.tooltip=fe({content:t,formatter:b.get("formatter",!0)||function(t){return t.name},formatterParams:C},M.option)}return _.add(I),_.eachChild((function(t){t.silent=!0})),I.silent=!d,this.getContentGroup().add(_),xc(_),_.__legendDataIndex=e,_},e.prototype.layoutInner=function(t,e,n,i,r,a){var o=this.getContentGroup(),s=this.getSelectorGroup();Hm(t.get("orient"),o,t.get("itemGap"),n.width,n.height);var l=o.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),o.markRedraw(),r){Hm("horizontal",s,t.get("selectorItemGap",!0));var d=s.getBoundingRect(),c=[-d.x,-d.y],h=t.get("selectorButtonGap",!0),p=t.getOrient().index,f=0===p?"width":"height",m=0===p?"height":"width",g=0===p?"y":"x";"end"===a?c[p]+=l[f]+h:u[p]+=d[f]+h,c[1-p]+=l[m]/2-d[m]/2,s.x=c[0],s.y=c[1],o.x=u[0],o.y=u[1];var y={x:0,y:0};return y[f]=l[f]+h+d[f],y[m]=Math.max(l[m],d[m]),y[g]=Math.min(0,d[g]+c[1-p]),y}return o.x=u[0],o.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(ov);function wK(t,e,n,i,r,a,o){var s;return"line"!==e&&e.indexOf("empty")<0?(s=n.getItemStyle(),t.style.stroke=i,t.style.decal=a,o||(s.stroke=r)):s=n.getItemStyle(["borderWidth","borderColor"]),t.setStyle(s),t}function LK(t,e,n,i){TK(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),DK(t,e,n,i)}function SK(t){var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;while(i<r&&!(e=n[i].states.emphasis))i++;return e&&e.hoverLayer}function DK(t,e,n,i){SK(n)||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function TK(t,e,n,i){SK(n)||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}var kK=bK;function YK(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var n=0;n<e.length;n++)if(!e[n].isSelected(t.name))return!1;return!0}))}function IK(t,e,n){var i,r={},a="toggleSelected"===t;return n.eachComponent("legend",(function(n){a&&null!=i?n[i?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?n[t]():(n[t](e.name),i=n.isSelected(e.name));var o=n.getData();Me(o,(function(t){var e=t.get("name");if("\n"!==e&&""!==e){var i=n.isSelected(e);r.hasOwnProperty(e)?r[e]=r[e]&&i:r[e]=i}}))})),"allSelect"===t||"inverseSelect"===t?{selected:r}:{name:e.name,selected:r}}function CK(t){t.registerAction("legendToggleSelect","legendselectchanged",Ye(IK,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",Ye(IK,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",Ye(IK,"inverseSelect")),t.registerAction("legendSelect","legendselected",Ye(IK,"select")),t.registerAction("legendUnSelect","legendunselected",Ye(IK,"unSelect"))}function AK(t){t.registerComponentModel(_K),t.registerComponentView(kK),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,YK),t.registerSubTypeDefaulter("legend",(function(){return"plain"})),CK(t)}var PK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,i){var r=Fm(e);t.prototype.init.call(this,e,n,i),OK(this,e,r)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),OK(this,this.option,e)},e.type="legend.scroll",e.defaultOption=Df(_K.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),e}(_K);function OK(t,e,n){var i=t.getOrient(),r=[1,1];r[i.index]=0,Bm(e,n,{type:"box",ignoreSize:!!r})}var HK=PK,NK=ro,EK=["width","height"],RK=["x","y"],zK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!0,n._currentIndex=0,n}return Vt(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new NK),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new NK)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,n,i,r,a,o,s){var l=this;t.prototype.renderInner.call(this,e,n,i,r,a,o,s);var u=this._controllerGroup,d=n.get("pageIconSize",!0),c=Ie(d)?d:[d,d];p("pagePrev",0);var h=n.getModel("pageTextStyle");function p(t,e){var i=t+"DataIndex",a=Bp(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:ke(l._pageGo,l,i,n,r)},{x:-c[0]/2,y:-c[1]/2,width:c[0],height:c[1]});a.name=t,u.add(a)}u.add(new wd({name:"pageText",style:{text:"xx/xx",fill:h.getTextColor(),font:h.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),p("pageNext",1)},e.prototype.layoutInner=function(t,e,n,i,r,a){var o=this.getSelectorGroup(),s=t.getOrient().index,l=EK[s],u=RK[s],d=EK[1-s],c=RK[1-s];r&&Hm("horizontal",o,t.get("selectorItemGap",!0));var h=t.get("selectorButtonGap",!0),p=o.getBoundingRect(),f=[-p.x,-p.y],m=ce(n);r&&(m[l]=n[l]-p[l]-h);var g=this._layoutContentAndController(t,i,m,s,l,d,c,u);if(r){if("end"===a)f[s]+=g[l]+h;else{var y=p[l]+h;f[s]-=y,g[u]-=y}g[l]+=p[l]+h,f[1-s]+=g[c]+g[d]/2-p[d]/2,g[d]=Math.max(g[d],p[d]),g[c]=Math.min(g[c],p[c]+f[1-s]),o.x=f[0],o.y=f[1],o.markRedraw()}return g},e.prototype._layoutContentAndController=function(t,e,n,i,r,a,o,s){var l=this.getContentGroup(),u=this._containerGroup,d=this._controllerGroup;Hm(t.get("orient"),l,t.get("itemGap"),i?n.width:null,i?null:n.height),Hm("horizontal",d,t.get("pageButtonItemGap",!0));var c=l.getBoundingRect(),h=d.getBoundingRect(),p=this._showController=c[r]>n[r],f=[-c.x,-c.y];e||(f[i]=l[s]);var m=[0,0],g=[-h.x,-h.y],y=We(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(p){var _=t.get("pageButtonPosition",!0);"end"===_?g[i]+=n[r]-h[r]:m[i]+=h[r]+y}g[1-i]+=c[a]/2-h[a]/2,l.setPosition(f),u.setPosition(m),d.setPosition(g);var v={x:0,y:0};if(v[r]=p?n[r]:c[r],v[a]=Math.max(c[a],h[a]),v[o]=Math.min(0,h[o]+g[1-i]),u.__rectSize=n[r],p){var x={x:0,y:0};x[r]=Math.max(n[r]-h[r]-y,0),x[a]=v[a],u.setClipPath(new ud({shape:x})),u.__rectSize=x[r]}else d.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var M=this._getPageInfo(t);return null!=M.pageIndex&&Tp(l,{x:M.contentPosition[0],y:M.contentPosition[1]},p?t:null),this._updatePageInfoView(t,M),v},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;Me(["pagePrev","pageNext"],(function(i){var r=i+"DataIndex",a=null!=e[r],o=n.childOfName(i);o&&(o.setStyle("fill",a?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=a?"pointer":"default")}));var i=n.childOfName("pageText"),r=t.get("pageFormatter"),a=e.pageIndex,o=null!=a?a+1:0,s=e.pageCount;i&&r&&i.setStyle("text",Ae(r)?r.replace("{current}",null==o?"":o+"").replace("{total}",null==s?"":s+""):r({current:o,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,a=EK[r],o=RK[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],d=l.length,c=d?1:0,h={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return h;var p=_(u);h.contentPosition[r]=-p.s;for(var f=s+1,m=p,g=p,y=null;f<=d;++f)y=_(l[f]),(!y&&g.e>m.s+i||y&&!v(y,m.s))&&(m=g.i>m.i?g:y,m&&(null==h.pageNextDataIndex&&(h.pageNextDataIndex=m.i),++h.pageCount)),g=y;for(f=s-1,m=p,g=p,y=null;f>=-1;--f)y=_(l[f]),y&&v(g,y.s)||!(m.i<g.i)||(g=m,null==h.pagePrevDataIndex&&(h.pagePrevDataIndex=m.i),++h.pageCount,++h.pageIndex),m=y;return h;function _(t){if(t){var e=t.getBoundingRect(),n=e[o]+t[o];return{s:n,e:n+e[a],i:t.__legendDataIndex}}}function v(t,e){return t.e>=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){if(!this._showController)return 0;var e,n,i=this.getContentGroup();return i.eachChild((function(i,r){var a=i.__legendDataIndex;null==n&&null!=a&&(n=r),a===t&&(e=r)})),null!=e?e:n},e.type="legend.scroll",e}(kK),jK=zK;function BK(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}function FK(t){Vw(AK),t.registerComponentModel(HK),t.registerComponentView(jK),BK(t)}function VK(t){Vw(AK),Vw(FK)}var WK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.type="dataZoom.inside",e.defaultOption=Df(lZ.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(lZ),GK=WK,UK=us();function XK(t,e,n){UK(t).coordSysRecordMap.each((function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)}))}function ZK(t,e){for(var n=UK(t).coordSysRecordMap,i=n.keys(),r=0;r<i.length;r++){var a=i[r],o=n.get(a),s=o.dataZoomInfoMap;if(s){var l=e.uid,u=s.get(l);u&&(s.removeKey(l),s.keys().length||qK(n,o))}}}function qK(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function $K(t,e){var n={model:e,containsPoint:Ye(KK,e),dispatchAction:Ye(JK,t),dataZoomInfoMap:null,controller:null},i=n.controller=new iA(t.getZr());return Me(["pan","zoom","scrollMove"],(function(t){i.on(t,(function(e){var i=[];n.dataZoomInfoMap.each((function(r){if(e.isAvailableBehavior(r.model.option)){var a=(r.getRange||{})[t],o=a&&a(r.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!r.model.get("disabled",!0)&&o&&i.push({dataZoomId:r.model.id,start:o[0],end:o[1]})}})),i.length&&n.dispatchAction(i)}))})),n}function JK(t,e){t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function KK(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}function QK(t){var e,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return t.each((function(t){var a=t.model,o=!a.get("disabled",!0)&&(!a.get("zoomLock",!0)||"move");i[n+o]>i[n+e]&&(e=o),r=r&&a.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}function tQ(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=UK(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=tn());i.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){var n=rZ(t);Me(n.infoList,(function(n){var r=n.model.uid,a=i.get(r)||i.set(r,$K(e,n.model)),o=a.dataZoomInfoMap||(a.dataZoomInfoMap=tn());o.set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),i.each((function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var a=r.keys()[0];null!=a&&(e=r.get(a))}if(e){var o=QK(r);n.enable(o.controlType,o.opt),n.setPointerChecker(t.containsPoint),Mv(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else qK(i,t)}))}))}var eQ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return Vt(e,t),e.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),XK(i,e,{pan:ke(nQ.pan,this),zoom:ke(nQ.zoom,this),scrollMove:ke(nQ.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){ZK(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(hZ),nQ={zoom:function(t,e,n,i){var r=this.range,a=r.slice(),o=t.axisModels[0];if(o){var s=rQ[e](null,[i.originX,i.originY],o,n,t),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(a[1]-a[0])+a[0],u=Math.max(1/i.scale,0);a[0]=(a[0]-l)*u+l,a[1]=(a[1]-l)*u+l;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return hR(0,a,[0,100],0,d.minSpan,d.maxSpan),this.range=a,r[0]!==a[0]||r[1]!==a[1]?a:void 0}},pan:iQ((function(t,e,n,i,r,a){var o=rQ[i]([a.oldX,a.oldY],[a.newX,a.newY],e,r,n);return o.signal*(t[1]-t[0])*o.pixel/o.pixelLength})),scrollMove:iQ((function(t,e,n,i,r,a){var o=rQ[i]([0,0],[a.scrollDelta,a.scrollDelta],e,r,n);return o.signal*(t[1]-t[0])*a.scrollDelta}))};function iQ(t){return function(e,n,i,r){var a=this.range,o=a.slice(),s=e.axisModels[0];if(s){var l=t(o,s,e,n,i,r);return hR(l,o,[0,100],"all"),this.range=o,a[0]!==o[0]||a[1]!==o[1]?o:void 0}}}var rQ={grid:function(t,e,n,i,r){var a=n.axis,o={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===a.dim?(o.pixel=e[0]-t[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=a.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=a.inverse?-1:1),o},polar:function(t,e,n,i,r){var a=n.axis,o={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(o.pixel=e[0]-t[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=a.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=a.inverse?-1:1),o},singleAxis:function(t,e,n,i,r){var a=n.axis,o=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===a.orient?(s.pixel=e[0]-t[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=a.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=a.inverse?-1:1),s}},aQ=eQ;function oQ(t){LZ(t),t.registerComponentModel(GK),t.registerComponentView(aQ),tQ(t)}var sQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=Df(lZ.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(lZ),lQ=sQ,uQ=ud,dQ=7,cQ=1,hQ=30,pQ=7,fQ="horizontal",mQ="vertical",gQ=5,yQ=["line","bar","candlestick","scatter"],_Q={easing:"cubicOut",duration:100},vQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return Vt(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=ke(this._onBrush,this),this._onBrushEnd=ke(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),Mv(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){bv(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new ro;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect"),i=n?pQ:0,r=this._findCoordRect(),a={width:e.getWidth(),height:e.getHeight()},o=this._orient===fQ?{right:a.width-r.x-r.width,top:a.height-hQ-dQ-i,width:r.width,height:hQ}:{right:dQ,top:r.y,width:hQ,height:r.height},s=Fm(t.option);Me(["right","top","width","height"],(function(t){"ph"===s[t]&&(s[t]=o[t])}));var l=Em(s,a);this._location={x:l.x,y:l.y},this._size=[l.width,l.height],this._orient===mQ&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),a=this._displayables.sliderGroup,o=(this._dataShadowInfo||{}).otherAxisInverse;a.attr(n!==fQ||r?n===fQ&&r?{scaleY:o?1:-1,scaleX:-1}:n!==mQ||r?{scaleY:o?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:o?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:o?1:-1,scaleX:1});var s=t.getBoundingRect([a]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new uQ({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new uQ({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:ke(this._onClickPanel,this)}),a=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",a.on("mousemove",this._onBrush),a.on("mouseup",this._onBrushEnd)):(a.off("mousemove",this._onBrush),a.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=t.series,i=n.getRawData(),r=n.getShadowDim?n.getShadowDim():t.otherDim;if(null!=r){var a=i.getDataExtent(r),o=.3*(a[1]-a[0]);a=[a[0]-o,a[1]+o];var s,l=[0,e[1]],u=[0,e[0]],d=[[e[0],0],[0,0]],c=[],h=u[1]/(i.count()-1),p=0,f=Math.round(i.count()/e[0]);i.each([r],(function(t,e){if(f>0&&e%f)p+=h;else{var n=null==t||isNaN(t)||""===t,i=n?0:go(t,a,l,!0);n&&!s&&e?(d.push([d[d.length-1][0],0]),c.push([c[c.length-1][0],0])):!n&&s&&(d.push([p,0]),c.push([p,0])),d.push([p,i]),c.push([p,i]),p+=h,s=n}}));for(var m=this.dataZoomModel,g=0;g<3;g++){var y=_(1===g);this._displayables.sliderGroup.add(y),this._displayables.dataShadowSegs.push(y)}}}function _(t){var e=m.getModel(t?"selectedDataBackground":"dataBackground"),n=new ro,i=new Ch({shape:{points:d},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new Oh({shape:{points:c},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis((function(r,a){var o=t.getAxisProxy(r,a).getTargetSeriesModels();Me(o,(function(t){if(!n&&!(!0!==e&&ye(yQ,t.get("type"))<0)){var o,s=i.getComponent(nZ(r),a).axis,l=xQ(r),u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(o=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:r,otherDim:l,otherAxisInverse:o}}}),this)}),this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,a=this._size,o=this.dataZoomModel,s=this.api,l=o.get("borderRadius")||0,u=o.get("brushSelect"),d=e.filler=new uQ({silent:u,style:{fill:o.get("fillerColor")},textConfig:{position:"inside"}});r.add(d),r.add(new uQ({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:a[0],height:a[1],r:l},style:{stroke:o.get("dataBackgroundColor")||o.get("borderColor"),lineWidth:cQ,fill:"rgba(0,0,0,0)"}})),Me([0,1],(function(e){var a=o.get("handleIcon");!pM[a]&&a.indexOf("path://")<0&&a.indexOf("image://")<0&&(a="path://"+a);var s=gM(a,-1,0,2,2,null,!0);s.attr({cursor:MQ(this._orient),draggable:!0,drift:ke(this._onDragMove,this,e),ondragend:ke(this._onDragEnd,this),onmouseover:ke(this._showDataInfo,this,!0),onmouseout:ke(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=o.get("handleSize");this._handleHeight=yo(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(o.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=o.getModel(["emphasis","handleStyle"]).getItemStyle(),xc(s);var d=o.get("handleColor");null!=d&&(s.style.fill=d),r.add(n[e]=s);var c=o.getModel("textStyle");t.add(i[e]=new wd({silent:!0,invisible:!0,style:{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:c.getTextColor(),font:c.getFont()},z2:10}))}),this);var c=d;if(u){var h=yo(o.get("moveHandleSize"),a[1]),p=e.moveHandle=new ud({style:o.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:a[1]-.5,height:h}}),f=.8*h,m=e.moveHandleIcon=gM(o.get("moveHandleIcon"),-f/2,-f/2,f,f,"#fff",!0);m.silent=!0,m.y=a[1]+h/2-.5,p.ensureState("emphasis").style=o.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var g=Math.min(a[1]/2,Math.max(h,10));c=e.moveZone=new ud({invisible:!0,shape:{y:a[1]-g,height:h+g}}),c.on("mouseover",(function(){s.enterEmphasis(p)})).on("mouseout",(function(){s.leaveEmphasis(p)})),r.add(p),r.add(m),r.add(c)}c.attr({draggable:!0,cursor:MQ(this._orient),drift:ke(this._onDragMove,this,"all"),ondragstart:ke(this._showDataInfo,this,!0),ondragend:ke(this._onDragEnd,this),onmouseover:ke(this._showDataInfo,this,!0),onmouseout:ke(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[go(t[0],[0,100],e,!0),go(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),a=n.findRepresentativeAxisProxy().getMinMaxSpan(),o=[0,100];hR(e,i,r,n.get("zoomLock")?"all":t,null!=a.minSpan?go(a.minSpan,o,r,!0):null,null!=a.maxSpan?go(a.maxSpan,o,r,!0):null);var s=this._range,l=this._range=vo([go(i[0],r,o,!0),go(i[1],r,o,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=vo(n.slice()),r=this._size;Me([0,1],(function(t){var i=e.handles[t],a=this._handleHeight;i.attr({scaleX:a/2,scaleY:a/2,x:n[t]+(t?-1:1),y:r[1]/2-a/2})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var a={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(a),e.moveZone.setShape(a),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",a.x+a.width/2));for(var o=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;l<o.length;l++){var u=o[l],d=u.getClipPath();d||(d=new ud,u.setClipPath(d)),d.setShape({x:s[l],y:0,width:s[l+1]-s[l],height:r[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,n=this._displayables,i=n.handleLabels,r=this._orient,a=["",""];if(e.get("showDetail")){var o=e.findRepresentativeAxisProxy();if(o){var s=o.getAxisModel().axis,l=this._range,u=t?o.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:o.getDataValueWindow();a=[this._formatLabel(u[0],s),this._formatLabel(u[1],s)]}}var d=vo(this._handleEnds.slice());function c(t){var e=Pp(n.handles[t].parent,this.group),o=Hp(0===t?"right":"left",e),s=this._handleWidth/2+gQ,l=Op([d[t]+(0===t?-s:s),this._size[1]/2],e);i[t].setStyle({x:l[0],y:l[1],verticalAlign:r===fQ?"middle":o,align:r===fQ?o:"center",text:a[t]})}c.call(this,0),c.call(this,1)},e.prototype._formatLabel=function(t,e){var n=this.dataZoomModel,i=n.get("labelFormatter"),r=n.get("labelPrecision");null!=r&&"auto"!==r||(r=e.getPixelPrecision());var a=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(r,20));return Ce(i)?i(t,a):Ae(i)?i.replace("{value}",a):a},e.prototype._showDataInfo=function(t){t=this._dragging||t;var e=this._displayables,n=e.handleLabels;n[0].attr("invisible",!t),n[1].attr("invisible",!t),e.moveHandle&&this.api[t?"enterEmphasis":"leaveEmphasis"](e.moveHandle,1)},e.prototype._onDragMove=function(t,e,n,i){this._dragging=!0,Kn(i.event);var r=this._displayables.sliderGroup.getLocalTransform(),a=Op([e,n],r,!0),o=this._updateInterval(t,a[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),o&&s&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var t=this.dataZoomModel.get("realtime");!t&&this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,a=this._updateInterval("all",n[0]-r);this._updateView(),a&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new Cr(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape,i=+new Date;if(!(i-this._brushStartTime<200&&Math.abs(n.width)<5)){var r=this._getViewExtent(),a=[0,100];this._range=vo([go(n.x,r,a,!0),go(n.x+n.width,r,a,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(Kn(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new uQ({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var a=this._brushStart,o=this._displayables.sliderGroup,s=o.transformCoordToLocal(t,e),l=o.transformCoordToLocal(a.x,a.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?_Q:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=rZ(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(hZ);function xQ(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}function MQ(t){return"vertical"===t?"ns-resize":"ew-resize"}var bQ=vQ;function wQ(t){t.registerComponentModel(lQ),t.registerComponentView(bQ),LZ(t)}function LQ(t){Vw(oQ),Vw(wQ)}var SQ={get:function(t,e,n){var i=ce((DQ[t]||{})[e]);return n&&Ie(i)?i[i.length-1]:i}},DQ={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},TQ=SQ,kQ=xH.mapVisual,YQ=xH.eachVisual,IQ=Ie,CQ=Me,AQ=vo,PQ=go,OQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return Vt(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;$t.canvasSupported||(n.realtime=!1),!e&&M$(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=ke(t,this),this.controllerVisuals=x$(this.option.controller,e,t),this.targetVisuals=x$(this.option.target,e,t)},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=Bo(t),e},e.prototype.eachTargetSeries=function(t,e){Me(this.getTargetSeriesIndices(),(function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)}),this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},e.prototype.formatValueText=function(t,e,n){var i,r=this.option,a=r.precision,o=this.dataBound,s=r.formatter;n=n||["<",">"],Ie(t)&&(t=t.slice(),i=!0);var l=e?t:i?[u(t[0]),u(t[1])]:u(t);return Ae(s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):Ce(s)?i?s(t[0],t[1]):s(t):i?t[0]===o[0]?n[0]+" "+l[1]:t[1]===o[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(t){return t===o[0]?"min":t===o[1]?"max":(+t).toFixed(Math.min(a,20))}},e.prototype.resetExtent=function(){var t=this.option,e=AQ([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimension=function(t){var e=this.option.dimension,n=t.dimensions;if(null!=e||n.length){if(null!=e)return t.getDimension(e);for(var i=t.dimensions,r=i.length-1;r>=0;r--){var a=i[r],o=t.getDimensionInfo(a);if(!o.isCalculationCoord)return a}}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});he(i,n),he(r,n);var a=this.isCategory();function o(n){IQ(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}function s(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},CQ(i,(function(t,e){if(xH.isValidType(e)){var n=TQ.get(e,"inactive",a);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}function l(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor");CQ(this.stateList,(function(r){var o=this.itemSize,s=t[r];s||(s=t[r]={color:a?i:[i]}),null==s.symbol&&(s.symbol=e&&ce(e)||(a?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=n&&ce(n)||(a?o[0]:[o[0],o[0]])),s.symbol=kQ(s.symbol,(function(t){return"none"===t||"square"===t?"roundRect":t}));var l=s.symbolSize;if(null!=l){var u=-1/0;YQ(l,(function(t){t>u&&(u=t)})),s.symbolSize=kQ(l,(function(t){return PQ(t,[0,u],[0,o[0]],!0)}))}}),this)}o.call(this,i),o.call(this,r),s.call(this,i,"inRange","outOfRange"),l.call(this,r)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,zlevel:0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(Xm),HQ=OQ,NQ=[20,140],EQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=NQ[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=NQ[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):Ie(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),Me(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=vo((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},e.prototype.getValueState=function(t){var e=this.option.range,n=this.getExtent();return(e[0]<=n[0]||e[0]<=t)&&(e[1]>=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimension(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},e.prototype.getVisualMeta=function(t){var e=RQ(this,"outOfRange",this.getExtent()),n=RQ(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var a=0,o=0,s=n.length,l=e.length;o<l&&(!n.length||e[o]<=n[0]);o++)e[o]<n[a]&&r(e[o],"outOfRange");for(var u=1;a<s;a++,u=0)u&&i.length&&r(n[a],"outOfRange"),r(n[a],"inRange");for(u=1;o<l;o++)(!n.length||n[n.length-1]<e[o])&&(u&&(i.length&&r(i[i.length-1].value,"outOfRange"),u=0),r(e[o],"outOfRange"));var d=i.length;return{stops:i,outerColors:[d?i[0].color:"transparent",d?i[d-1].color:"transparent"]}},e.type="visualMap.continuous",e.defaultOption=Df(HQ.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),e}(HQ);function RQ(t,e,n){if(n[0]===n[1])return n.slice();for(var i=200,r=(n[1]-n[0])/i,a=n[0],o=[],s=0;s<=i&&a<n[1];s++)o.push(a),a+=r;return o.push(n[1]),o}var zQ=EQ,jQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return Vt(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e},e.prototype.render=function(t,e,n,i){this.visualMapModel=t,!1!==t.get("show")?this.doRender(t,e,n,i):this.group.removeAll()},e.prototype.renderBackground=function(t){var e=this.visualMapModel,n=vm(e.get("padding")||0),i=t.getBoundingRect();t.add(new ud({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},e.prototype.getControllerVisual=function(t,e,n){n=n||{};var i=n.forceState,r=this.visualMapModel,a={};if("symbol"===e&&(a.symbol=r.get("itemSymbol")),"color"===e){var o=r.get("contentColor");a.color=o}function s(t){return a[t]}function l(t,e){a[t]=e}var u=r.controllerVisuals[i||r.getValueState(t)],d=xH.prepareVisualTypes(u);return Me(d,(function(i){var r=u[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",r=u.__alphaForOpacity),xH.dependsOn(i,e)&&r&&r.applyVisual(t,s,l)})),a[e]},e.prototype.positionGroup=function(t){var e=this.visualMapModel,n=this.api;Rm(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},e.prototype.doRender=function(t,e,n,i){},e.type="visualMap",e}(ov),BQ=jQ,FQ=[["left","right","width"],["top","bottom","height"]];function VQ(t,e,n){var i=t.option,r=i.align;if(null!=r&&"auto"!==r)return r;for(var a={width:e.getWidth(),height:e.getHeight()},o="horizontal"===i.orient?1:0,s=FQ[o],l=[0,null,10],u={},d=0;d<3;d++)u[FQ[1-o][d]]=l[d],u[s[d]]=2===d?n[0]:i[s[d]];var c=[["x","width",3],["y","height",0]][o],h=Em(u,a,i.padding);return s[(h.margin[c[2]]||0)+h[c[0]]+.5*h[c[1]]<.5*a[c[1]]?0:1]}function WQ(t,e){return Me(t||[],(function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")})),t}var GQ=go,UQ=Me,XQ=Math.min,ZQ=Math.max,qQ=12,$Q=6,JQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return Vt(e,t),e.prototype.doRender=function(t,e,n,i){this._api=n,i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},e.prototype._buildView=function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var n=t.get("text");this._renderEndsText(e,n,0),this._renderEndsText(e,n,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},e.prototype._renderEndsText=function(t,e,n){if(e){var i=e[1-n];i=null!=i?i+"":"";var r=this.visualMapModel,a=r.get("textGap"),o=r.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([o[0]/2,0===n?-a:o[1]+a],s),u=this._applyTransform(0===n?"bottom":"top",s),d=this._orient,c=this.visualMapModel.textStyleModel;this.group.add(new wd({style:{x:l[0],y:l[1],verticalAlign:"horizontal"===d?"middle":u,align:"horizontal"===d?u:"center",text:i,font:c.getFont(),fill:c.getTextColor()}}))}},e.prototype._renderBar=function(t){var e=this.visualMapModel,n=this._shapes,i=e.itemSize,r=this._orient,a=this._useHandle,o=VQ(e,this.api,i),s=n.mainGroup=this._createBarGroup(o),l=new ro;s.add(l),l.add(n.outOfRange=KQ()),l.add(n.inRange=KQ(null,a?e0(this._orient):null,ke(this._dragHandle,this,"all",!1),ke(this._dragHandle,this,"all",!0))),l.setClipPath(new ud({shape:{x:0,y:0,width:i[0],height:i[1],r:3}}));var u=e.textStyleModel.getTextRect("国"),d=ZQ(u.width,u.height);a&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(e,s,0,i,d,r),this._createHandle(e,s,1,i,d,r)),this._createIndicator(e,s,i,d,r),t.add(s)},e.prototype._createHandle=function(t,e,n,i,r,a){var o=ke(this._dragHandle,this,n,!1),s=ke(this._dragHandle,this,n,!0),l=Kr(t.get("handleSize"),i[0]),u=gM(t.get("handleIcon"),-l/2,-l/2,l,l,null,!0),d=e0(this._orient);u.attr({cursor:d,draggable:!0,drift:o,ondragend:s,onmousemove:function(t){Kn(t.event)}}),u.x=i[0]/2,u.useStyle(t.getModel("handleStyle").getItemStyle()),u.setStyle({strokeNoScale:!0,strokeFirst:!0}),u.style.lineWidth*=2,u.ensureState("emphasis").style=t.getModel(["emphasis","handleStyle"]).getItemStyle(),Sc(u,!0),e.add(u);var c=this.visualMapModel.textStyleModel,h=new wd({cursor:d,draggable:!0,drift:o,onmousemove:function(t){Kn(t.event)},ondragend:s,style:{x:0,y:0,text:"",font:c.getFont(),fill:c.getTextColor()}});h.ensureState("blur").style={opacity:.1},h.stateTransition={duration:200},this.group.add(h);var p=[l,0],f=this._shapes;f.handleThumbs[n]=u,f.handleLabelPoints[n]=p,f.handleLabels[n]=h},e.prototype._createIndicator=function(t,e,n,i,r){var a=Kr(t.get("indicatorSize"),n[0]),o=gM(t.get("indicatorIcon"),-a/2,-a/2,a,a,null,!0);o.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var s=t.getModel("indicatorStyle").getItemStyle();if(o instanceof td){var l=o.style;o.useStyle(fe({image:l.image,x:l.x,y:l.y,width:l.width,height:l.height},s))}else o.useStyle(s);e.add(o);var u=this.visualMapModel.textStyleModel,d=new wd({silent:!0,invisible:!0,style:{x:0,y:0,text:"",font:u.getFont(),fill:u.getTextColor()}});this.group.add(d);var c=[("horizontal"===r?i/2:$Q)+n[0]/2,0],h=this._shapes;h.indicator=o,h.indicatorLabel=d,h.indicatorLabelPoint=c,this._firstShowIndicator=!0},e.prototype._dragHandle=function(t,e,n,i){if(this._useHandle){if(this._dragging=!e,!e){var r=this._applyTransform([n,i],this._shapes.mainGroup,!0);this._updateInterval(t,r[1]),this._hideIndicator(),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():t0(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},e.prototype._resetInterval=function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),i=[0,t.itemSize[1]];this._handleEnds=[GQ(e[0],n,i,!0),GQ(e[1],n,i,!0)]},e.prototype._updateInterval=function(t,e){e=e||0;var n=this.visualMapModel,i=this._handleEnds,r=[0,n.itemSize[1]];hR(e,i,r,t,0);var a=n.getExtent();this._dataInterval=[GQ(i[0],r,a,!0),GQ(i[1],r,a,!0)]},e.prototype._updateView=function(t){var e=this.visualMapModel,n=e.getExtent(),i=this._shapes,r=[0,e.itemSize[1]],a=t?r:this._handleEnds,o=this._createBarVisual(this._dataInterval,n,a,"inRange"),s=this._createBarVisual(n,n,r,"outOfRange");i.inRange.setStyle({fill:o.barColor}).setShape("points",o.barPoints),i.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(a,o)},e.prototype._createBarVisual=function(t,e,n,i){var r={forceState:i,convertOpacityToAlpha:!0},a=this._makeColorGradient(t,r),o=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],s=this._createBarPoints(n,o);return{barColor:new Kh(0,0,0,1,a),barPoints:s,handlesColor:[a[0].color,a[a.length-1].color]}},e.prototype._makeColorGradient=function(t,e){var n=100,i=[],r=(t[1]-t[0])/n;i.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var a=1;a<n;a++){var o=t[0]+r*a;if(o>t[1])break;i.push({color:this.getControllerVisual(o,"color",e),offset:a/n})}return i.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),i},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new ro("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,a=n.handleLabels,o=i.itemSize,s=i.getExtent();UQ([0,1],(function(l){var u=r[l];u.setStyle("fill",e.handlesColor[l]),u.y=t[l];var d=GQ(t[l],[0,o[1]],s,!0),c=this.getControllerVisual(d,"symbolSize");u.scaleX=u.scaleY=c/o[0],u.x=o[0]-c/2;var h=Op(n.handleLabelPoints[l],Pp(u,this.group));a[l].setStyle({x:h[0],y:h[1],text:i.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,a=r.getExtent(),o=r.itemSize,s=[0,o[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var d={convertOpacityToAlpha:!0},c=this.getControllerVisual(t,"color",d),h=this.getControllerVisual(t,"symbolSize"),p=GQ(t,a,s,!0),f=o[0]-h/2,m={x:u.x,y:u.y};u.y=p,u.x=f;var g=Op(l.indicatorLabelPoint,Pp(u,this.group)),y=l.indicatorLabel;y.attr("invisible",!1);var _=this._applyTransform("left",l.mainGroup),v=this._orient,x="horizontal"===v;y.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:x?_:"middle",align:x?"center":_});var M={x:f,y:p,style:{fill:c}},b={style:{x:g[0],y:g[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var w={duration:100,easing:"cubicInOut",additive:!0};u.x=m.x,u.y=m.y,u.animateTo(M,w),y.animateTo(b,w)}else u.attr(M),y.attr(b);this._firstShowIndicator=!1;var L=this._shapes.handleLabels;if(L)for(var S=0;S<L.length;S++)this._api.enterBlur(L[S])}},e.prototype._enableHoverLinkToSeries=function(){var t=this;this._shapes.mainGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,i=t._applyTransform([e.offsetX,e.offsetY],t._shapes.mainGroup,!0,!0);i[1]=XQ(ZQ(0,i[1]),n[1]),t._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}})).on("mouseout",(function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()}))},e.prototype._enableHoverLinkFromSeries=function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},e.prototype._doHoverLinkToSeries=function(t,e){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var r=[0,i[1]],a=n.getExtent();t=XQ(ZQ(r[0],t),r[1]);var o=QQ(n,a,r),s=[t-o,t+o],l=GQ(t,r,a,!0),u=[GQ(s[0],r,a,!0),GQ(s[1],r,a,!0)];s[0]<r[0]&&(u[0]=-1/0),s[1]>r[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",o):u[1]===1/0?this._showIndicator(l,u[0],"> ",o):this._showIndicator(l,l,"≈ ",o));var d=this._hoverLinkDataIndices,c=[];(e||t0(n))&&(c=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var h=ss(d,c);this._dispatchHighDown("downplay",WQ(h[0],n)),this._dispatchHighDown("highlight",WQ(h[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e=t.target,n=this.visualMapModel;if(e&&null!=Ld(e).dataIndex){var i=Ld(e),r=this.ecModel.getSeriesByIndex(i.seriesIndex);if(n.isTargetSeries(r)){var a=r.getData(i.dataType),o=a.get(n.getDataDimension(a),i.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var e=this._shapes.handleLabels;if(e)for(var n=0;n<e.length;n++)this._api.leaveBlur(e[n])},e.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",WQ(t,this.visualMapModel)),t.length=0},e.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},e.prototype._applyTransform=function(t,e,n,i){var r=Pp(e,i?null:this.group);return Ie(t)?Op(t,r,n):Hp(t,r,n)},e.prototype._dispatchHighDown=function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},e.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.prototype.remove=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.type="visualMap.continuous",e}(BQ);function KQ(t,e,n,i){return new Ch({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){Kn(t.event)},ondragend:i})}function QQ(t,e,n){var i=qQ/2,r=t.get("hoverLinkDataSize");return r&&(i=GQ(r,e,n,!0)/2),i}function t0(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function e0(t){return"vertical"===t?"ns-resize":"ew-resize"}var n0=JQ,i0={type:"selectDataRange",event:"dataRangeSelected",update:"update"},r0=function(t,e){e.eachComponent({mainType:"visualMap",query:t},(function(e){e.setSelected(t.selected)}))},a0=[{createOnAllSeries:!0,reset:function(t,e){var n=[];return e.eachComponent("visualMap",(function(e){var i=t.pipelineContext;!e.isTargetSeries(t)||i&&i.large||n.push(w$(e.stateList,e.targetVisuals,ke(e.getValueState,e),e.getDataDimension(t.getData())))})),n}},{createOnAllSeries:!0,reset:function(t,e){var n=t.getData(),i=[];e.eachComponent("visualMap",(function(e){if(e.isTargetSeries(t)){var r=e.getVisualMeta(ke(o0,null,t,e))||{stops:[],outerColors:[]},a=e.getDataDimension(n),o=n.getDimensionInfo(a);null!=o&&(r.dimension=o.index,i.push(r))}})),t.getData().setVisual("visualMeta",i)}}];function o0(t,e,n,i){for(var r=e.targetVisuals[i],a=xH.prepareVisualTypes(r),o={color:hx(t.getData(),"color")},s=0,l=a.length;s<l;s++){var u=a[s],d=r["opacity"===u?"__alphaForOpacity":u];d&&d.applyVisual(n,c,h)}return o.color;function c(t){return o[t]}function h(t,e){o[t]=e}}var s0=Me;function l0(t){var e=t&&t.visualMap;Ie(e)||(e=e?[e]:[]),s0(e,(function(t){if(t){u0(t,"splitList")&&!u0(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&Ie(e)&&s0(e,(function(t){He(t)&&(u0(t,"start")&&!u0(t,"min")&&(t.min=t.start),u0(t,"end")&&!u0(t,"max")&&(t.max=t.end))}))}}))}function u0(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var d0=!1;function c0(t){d0||(d0=!0,t.registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(i0,r0),Me(a0,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(l0))}function h0(t){t.registerComponentModel(zQ),t.registerComponentView(n0),c0(t)}var p0=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return Vt(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],f0[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual((function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=ce(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=be(this._pieceList,(function(t){return t=ce(t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},i=xH.listVisualTypes(),r=this.isCategory();function a(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}Me(e.pieces,(function(t){Me(i,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),Me(n,(function(t,n){var i=!1;Me(this.stateList,(function(t){i=i||a(e,t,n)||a(e.target,t,n)}),this),!i&&Me(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=TQ.get(n,"inRange"===t?"active":"inactive",r)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,Me(i,(function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)}),this),"single"===n.selectedMode){var a=!1;Me(i,(function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(a?r[n]=!1:a=!0)}),this)}},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=ce(t)},e.prototype.getValueState=function(t){var e=xH.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(i){var r=[],a=i.getData();a.each(this.getDataDimension(a),(function(e,i){var a=xH.findPieceIndex(e,n);a===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var a=r[0].interval[0];a!==-1/0&&r.unshift({interval:[-1/0,a]}),a=r[r.length-1].interval[1],a!==1/0&&r.push({interval:[a,1/0]})}else r.push({interval:[-1/0,1/0]});var o=-1/0;return Me(r,(function(t){var e=t.interval;e&&(e[0]>o&&s([o,e[0]],"outOfRange"),s(e.slice()),o=e[1])}),this),{stops:e,outerColors:n}}function s(r,a){var o=i.getRepresentValue({interval:r});a||(a=i.getValueState(o));var s=t(o,a);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=Df(HQ.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(HQ),f0={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;var a=(i[1]-i[0])/r;while(+a.toFixed(n)!==a&&n<5)n++;e.precision=n,a=+a.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var o=0,s=i[0];o<r;s+=a,o++){var l=o===r-1?i[1]:s+a;t.push({interval:[s,l],close:[1,1]})}e.maxOpen&&t.push({interval:[i[1],1/0],close:[0,0]}),Po(t),Me(t,(function(t,e){t.index=e,t.text=this.formatValueText(t.interval)}),this)},categories:function(t){var e=this.option;Me(e.categories,(function(e){t.push({text:this.formatValueText(e,!0),value:e})}),this),m0(e,t)},pieces:function(t){var e=this.option;Me(e.pieces,(function(e,n){He(e)||(e={value:e});var i={text:"",index:n};if(null!=e.label&&(i.text=e.label),e.hasOwnProperty("value")){var r=i.value=e.value;i.interval=[r,r],i.close=[1,1]}else{for(var a=i.interval=[],o=i.close=[0,0],s=[1,0,1],l=[-1/0,1/0],u=[],d=0;d<2;d++){for(var c=[["gte","gt","min"],["lte","lt","max"]][d],h=0;h<3&&null==a[d];h++)a[d]=e[c[h]],o[d]=s[h],u[d]=2===h;null==a[d]&&(a[d]=l[d])}u[0]&&a[1]===1/0&&(o[0]=0),u[1]&&a[0]===-1/0&&(o[1]=0),a[0]===a[1]&&o[0]&&o[1]&&(i.value=a[0])}i.visual=xH.retrieveVisuals(e),t.push(i)}),this),m0(e,t),Po(t),Me(t,(function(t){var e=t.close,n=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function m0(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var g0=p0,y0=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Vt(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),a=i.getTextColor(),o=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,d=Ve(e.get("showLabel",!0),!u);u&&this._renderEndsText(t,u[0],s,d,o),Me(l.viewPieceList,(function(i){var l=i.piece,u=new ro;u.onclick=ke(this._onItemClick,this,l),this._enableHoverLink(u,i.indexInModelPieceList);var c=e.getRepresentValue(l);if(this._createItemSymbol(u,c,[0,0,s[0],s[1]]),d){var h=this.visualMapModel.getValueState(c);u.add(new wd({style:{x:"right"===o?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:o,font:r,fill:a,opacity:"outOfRange"===h?.5:1}}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],s,d,o),Hm(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return i("highlight")})).on("mouseout",(function(){return i("downplay")}));var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:WQ(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return VQ(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,i,r){if(e){var a=new ro,o=this.visualMapModel.textStyleModel;a.add(new wd({style:{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e,font:o.getFont(),fill:o.getTextColor()}})),t.add(a)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=be(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n){t.add(gM(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=ce(n.selected),r=e.getSelectedMapKey(t);"single"===n.selectedMode?(i[r]=!0,Me(i,(function(t,e){i[e]=e===r}))):i[r]=!i[r],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})},e.type="visualMap.piecewise",e}(BQ),_0=y0;function v0(t){t.registerComponentModel(g0),t.registerComponentView(_0),c0(t)}function x0(t){Vw(h0),Vw(v0)}var M0={label:{enabled:!0},decal:{show:!1}},b0=us(),w0={};function L0(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=ce(M0);he(i.label,t.getLocaleModel().get("aria"),!1),he(n.option,i,!1),r(),a()}function r(){var e=n.getModel("decal"),i=e.get("show");if(i){var r=tn();t.eachSeries((function(t){if(t.useColorPaletteOnData){var e=r.get(t.type);e||(e={},r.set(t.type,e)),b0(t).scope=e}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if("function"!==typeof e.enableAriaDecal){var n=e.getData();if(e.useColorPaletteOnData){var i=e.getRawData(),r={},a=b0(e).scope;n.each((function(t){var e=n.getRawIndex(t);r[e]=t}));var o=i.count();i.each((function(t){var s=r[t],l=i.getName(t)||t+"",d=Lg(e.ecModel,l,a,o),c=n.getItemVisual(s,"decal");n.setItemVisual(s,"decal",u(c,d))}))}else{var s=Lg(e.ecModel,e.name,w0,t.getSeriesCount()),l=n.getVisual("decal");n.setVisual("decal",u(l,s))}}else e.enableAriaDecal();function u(t,e){var n=t?fe(fe({},e),t):e;return n.dirty=!0,n}}))}}function a(){var i=t.getLocaleModel().get("aria"),r=n.getModel("label");if(r.option=me(r.option,i),r.get("enabled")){var a=e.getZr().dom;if(r.get("description"))a.setAttribute("aria-label",r.get("description"));else{var u,d=t.getSeriesCount(),c=r.get(["data","maxCount"])||10,h=r.get(["series","maxCount"])||10,p=Math.min(d,h);if(!(d<1)){var f=s();if(f){var m=r.get(["general","withTitle"]);u=o(m,{title:f})}else u=r.get(["general","withoutTitle"]);var g=[],y=d>1?r.get(["series","multiple","prefix"]):r.get(["series","single","prefix"]);u+=o(y,{seriesCount:d}),t.eachSeries((function(t,e){if(e<p){var n=void 0,i=t.get("name"),a=i?"withName":"withoutName";n=d>1?r.get(["series","multiple",a]):r.get(["series","single",a]),n=o(n,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:l(t.subType)});var s=t.getData();if(s.count()>c){var u=r.get(["data","partialData"]);n+=o(u,{displayCnt:c})}else n+=r.get(["data","allData"]);for(var h=[],f=0;f<s.count();f++)if(f<c){var m=s.getName(f),y=qy(s,f),_=r.get(["data",m?"withName":"withoutName"]);h.push(o(_,{name:m,value:y}))}var v=r.get(["data","separator","middle"]),x=r.get(["data","separator","end"]);n+=h.join(v)+x,g.push(n)}}));var _=r.getModel(["series","multiple","separator"]),v=_.get("middle"),x=_.get("end");u+=g.join(v)+x,a.setAttribute("aria-label",u)}}}}function o(t,e){if("string"!==typeof t)return t;var n=t;return Me(e,(function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)})),n}function s(){var e=t.get("title");return e&&e.length&&(e=e[0]),e&&e.text}function l(e){return t.getLocaleModel().get(["series","typeNames"])[e]||"自定义图"}}function S0(t){if(t&&t.aria){var e=t.aria;null!=e.show&&(e.enabled=e.show),e.label=e.label||{},Me(["description","general","series","data"],(function(t){null!=e[t]&&(e.label[t]=e[t])}))}}function D0(t){t.registerPreprocessor(S0),t.registerVisual(t.PRIORITY.VISUAL.ARIA,L0)}var T0={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},k0=function(){function t(t){var e=this._condVal=Ae(t)?new RegExp(t):Be(t)?t:null;if(null==e){var n="";0,i_(n)}}return t.prototype.evaluate=function(t){var e=typeof t;return"string"===e?this._condVal.test(t):"number"===e&&this._condVal.test(t+"")},t}(),Y0=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),I0=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(!t[e].evaluate())return!1;return!0},t}(),C0=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(t[e].evaluate())return!0;return!1},t}(),A0=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),P0=function(){function t(){}return t.prototype.evaluate=function(){for(var t=!!this.valueParser,e=this.getValue,n=e(this.valueGetterParam),i=t?this.valueParser(n):null,r=0;r<this.subCondList.length;r++)if(!this.subCondList[r].evaluate(t?i:n))return!1;return!0},t}();function O0(t,e){if(!0===t||!1===t){var n=new Y0;return n.value=t,n}var i="";return R0(t)||i_(i),t.and?H0("and",t,e):t.or?H0("or",t,e):t.not?N0(t,e):E0(t,e)}function H0(t,e,n){var i=e[t],r="";Ie(i)||i_(r),i.length||i_(r);var a="and"===t?new I0:new C0;return a.children=be(i,(function(t){return O0(t,n)})),a.children.length||i_(r),a}function N0(t,e){var n=t.not,i="";R0(n)||i_(i);var r=new A0;return r.child=O0(n,e),r.child||i_(i),r}function E0(t,e){for(var n="",i=e.prepareGetValue(t),r=[],a=De(t),o=t.parser,s=o?o_(o):null,l=0;l<a.length;l++){var u=a[l];if("parser"!==u&&!e.valueGetterAttrMap.get(u)){var d=rn(T0,u)?T0[u]:u,c=t[u],h=s?s(c):c,p=c_(d,h)||"reg"===d&&new k0(h);p||i_(n),r.push(p)}}r.length||i_(n);var f=new P0;return f.valueGetterParam=i,f.valueParser=s,f.getValue=e.getValue,f.subCondList=r,f}function R0(t){return He(t)&&!xe(t)}var z0=function(){function t(t,e){this._cond=O0(t,e)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}();function j0(t,e){return new z0(t,e)}var B0={type:"echarts:filter",transform:function(t){for(var e,n=t.upstream,i=j0(t.config,{valueGetterAttrMap:tn({dimension:!0}),prepareGetValue:function(t){var e="",i=t.dimension;rn(t,"dimension")||i_(e);var r=n.getDimensionInfo(i);return r||i_(e),{dimIdx:r.index}},getValue:function(t){return n.retrieveValueFromItem(e,t.dimIdx)}}),r=[],a=0,o=n.count();a<o;a++)e=n.getRawDataItem(a),i.evaluate()&&r.push(e);return{data:r}}};var F0={type:"echarts:sort",transform:function(t){var e=t.upstream,n=t.config,i="",r=Bo(n);r.length||i_(i);var a=[];Me(r,(function(t){var n=t.dimension,r=t.order,o=t.parser,s=t.incomparable;if(null==n&&i_(i),"asc"!==r&&"desc"!==r&&i_(i),s&&"min"!==s&&"max"!==s){var l="";0,i_(l)}if("asc"!==r&&"desc"!==r){var u="";0,i_(u)}var d=e.getDimensionInfo(n);d||i_(i);var c=o?o_(o):null;o&&!c&&i_(i),a.push({dimIdx:d.index,parser:c,comparator:new u_(r,s)})}));var o=e.sourceFormat;o!==Qm&&o!==tg&&i_(i);for(var s=[],l=0,u=e.count();l<u;l++)s.push(e.getRawDataItem(l));return s.sort((function(t,n){for(var i=0;i<a.length;i++){var r=a[i],o=e.retrieveValueFromItem(t,r.dimIdx),s=e.retrieveValueFromItem(n,r.dimIdx);r.parser&&(o=r.parser(o),s=r.parser(s));var l=r.comparator.evaluate(o,s);if(0!==l)return l}return 0})),{data:s}}};function V0(t){t.registerTransform(B0),t.registerTransform(F0)}var W0=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return Vt(e,t),e.prototype.init=function(e,n,i){t.prototype.init.call(this,e,n,i),this._sourceManager=new w_(this),L_(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),L_(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:rg},e}(Xm),G0=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return Vt(e,t),e.type="dataset",e}(ov);function U0(t){t.registerComponentModel(W0),t.registerComponentView(G0)}Vw([iL]),Vw([pS]),Vw([pT,lk,kk,SC,XC,TP,vO,KH,mE,DE,EE,Fz,xj,zj,pB,wB,UB,iF,PF,VF,lV,hG]),Vw(dU),Vw(eX),Vw(DP),Vw(DX),Vw(Bz),Vw(RX),Vw(KX),Vw(Eq),Vw(f$),Vw(uU),Vw(Z$),Vw(J$),Vw(xJ),Vw(WJ),Vw(nK),Vw(mK),Vw(VK),Vw(LQ),Vw(oQ),Vw(wQ),Vw(x0),Vw(h0),Vw(v0),Vw(D0),Vw(V0),Vw(U0);var X0={name:"EchartAnnular",props:{echartOption:{type:Object,default:function(){return{tooltipFormatter:null,title:"",seriesData:[],contractType:[],yAxisName:"",yAxisFormatter:null}}}},data:function(){return{}},watch:{echartOption:{deep:!0,handler:function(){this.creatEcharts()}}},mounted:function(){this.creatEcharts()},methods:{creatEcharts:function(){var t=Sw(this.$refs.myCharts),e=!!this.echartOption.seriesData.length,n={tooltip:{trigger:"item",show:e,formatter:this.echartOption.tooltipFormatter},legend:{bottom:"1%",left:"center"},series:[{type:"pie",radius:["25%","47%"],center:["50%","50%"],label:{position:e?"outside":"center",overflow:"truncate",formatter:function(t){return e?"".concat(t.name,"\n").concat(parseFloat(t.percent).toFixed(2),"%"):t.name}},color:["#2F88C9","#975CF8","#3DBC85","#2FC7C9","#5AB1EF","#D89F62","#EA7B7B","#CD85DF"],data:e?this.echartOption.seriesData:[{value:0,name:"无数据"}]}]};t.setOption(n,!0)}}},Z0=X0,q0=c(Z0,jt,Bt,!1,null,"30a9dce4",null),$0=q0.exports,J0=function(){var t=this,e=t._self._c;return e("div",{staticClass:"task-item"},[e("task-item",{attrs:{"wf-code":"htgl","show-footer-nav-bar":!0,addnewflow:!0,"show-nav-tab-list":t.navTabList,advancedsearch:t.advancedSearch,"start-wflow-list":t.startWflowLists}})],1)},K0=[],Q0={data:function(){return{navTabList:[{status:"myTodo",datafilter:"module:htsp,fksq,jysq,htbg,kpsq",name:"待处理"},{status:"myDone",datafilter:"module:htsp,fksq,jysq,htbg,kpsq",name:"已处理"},{status:"myCreated",datafilter:"module:htsp,fksq,jysq,htbg,kpsq",name:"我申请的"}],advancedSearch:{show:!0,optionName:"文件类型",selectiveType:"radio",option:[{name:"合同审批",filed:"module",code:"htsp"},{name:"合同变更",filed:"module",code:"htbg"},{name:"合同借阅",filed:"module",code:"jysq"},{name:"合同付款",filed:"module",code:"fksq"},{name:"开票申请",filed:"module",code:"kpsq"}]},startWflowLists:[{name:"合同审批",img:"./images/m-imgs/htgl/htsp.png",wfName:"合同审批",wfEngineUrl:"htgl/htsp",wfNodeName:"",busiCode:"htsp"},{name:"合同付款",img:"./images/m-imgs/htgl/fksq.png",wfName:"合同付款",wfEngineUrl:"htgl/fksq",wfNodeName:"",busiCode:"fksq"},{name:"合同借阅",img:"./images/m-imgs/htgl/jysq.png",wfName:"合同借阅",wfEngineUrl:"htgl/jysq",wfNodeName:"",busiCode:"jysq"},{name:"合同变更",img:"./images/m-imgs/htgl/htbg.png",wfName:"合同变更",wfEngineUrl:"htgl/htbg",wfNodeName:"",busiCode:"htbg"},{name:"开票申请",img:"./images/m-imgs/htgl/kpsq.png",wfName:"开票申请",wfEngineUrl:"htgl/kpsq",wfNodeName:"",busiCode:"kpsq"}]}},created:function(){this.$options.components["TaskItem"]=this.$loadComponent("@/mapp/workflow/wfTaskItem/index"),this.$wv.setTitle({bool:!0,text:"审批",color:"#000000"})},methods:{}},t1=Q0,e1=c(t1,J0,K0,!1,null,"4e0604bd",null),n1=e1.exports,i1=function(){var t=this,e=t._self._c;return e("div",[t.htdaFileVo.passenger?e("Attachment",{ref:"htdaAttachments",attrs:{"cur-t-n":t.curTN,vo:t.htdaFileVo,"can-edit":!1,attachments:t.htdaFileVo.passenger.attachments,"batch-save-namefield":"batchFiles","show-attachments":!0,"component-type":""}}):t._e()],1)},r1=[],a1={components:{},props:{vo:{type:Object,default:function(){return{}}}},data:function(){return{htdaFileVo:{passenger:{attachments:[]}},moduleInfo:{listDataUrl:"/htgl/htda/listdata",addNewUrl:"/htgl/htda/addNew",insertUrl:"/htgl/htda/insert",updateUrl:"/htgl/htda/update",getByIdUrl:"/htgl/htda/getById",delUrl:"/htgl/htda/delete"}}},computed:{},watch:{"vo.id":{immediate:!0,handler:function(t){t&&this.gethtdaFileList()}}},created:function(){},beforeDestroy:function(){},mounted:function(){},methods:{gethtdaFileList:function(){var t=this;t.$http({url:"/htgl/htda/queryAttachList",method:"get",contentType:"application/x-www-form-urlencoded",params:{htdaId:this.vo.contractId}}).then((function(e){Object.assign(t.htdaFileVo,t.vo),t.htdaFileVo.passenger={},t.htdaFileVo.passenger.attachments=e.body.listdata}))}}},o1=a1,s1=(n("7f94"),c(o1,i1,r1,!1,null,"7c853140",null)),l1=s1.exports;function u1(t){return u1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u1(t)}function d1(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function c1(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d1(Object(n),!0).forEach((function(e){h1(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d1(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function h1(t,e,n){return e=p1(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function p1(t){var e=f1(t,"string");return"symbol"==u1(e)?e:e+""}function f1(t,e){if("object"!=u1(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=u1(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var m1={HtglIndex:p,HtglIndexList:Y,HtglTableCell:H,HtglHtcx:F,HtglHtdaHtdaPopup:St,HtglHtglHome:zt,HtglEchartHTQY:$0,HtglJyglGhsj:S,HtglTaskItem:n1,HtglWdjy:l1},g1=function t(e){t.installed||(t.installed=!0,Object.keys(m1).forEach((function(t){e.component(t,m1[t])})))};"undefined"!==typeof window&&window.Vue&&g1(window.Vue);var y1=c1({install:g1},m1);e["default"]=y1},fd7e:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e}))},ffff:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";var e=t.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))}})}));
31
+ //# sourceMappingURL=ecmoahtgl.umd.min.js.map