调解部署包

chunk-b505b666.da805bc1.js 1.6MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b505b666"],{"010e":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  2. //! moment.js locale configuration
  3. 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}))},"02fb":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  4. //! moment.js locale configuration
  5. 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";
  6. //! moment.js locale configuration
  7. 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}))},"0558":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  8. //! moment.js locale configuration
  9. 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";
  10. //! moment.js locale configuration
  11. 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";
  12. //! moment.js locale configuration
  13. var e=t.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(t,e){return"元"===e[1]?1:parseInt(e[1]||t,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,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"y":return 1===t?"元年":t+"年";case"d":case"D":case"DDD":return t+"日";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}});return e}))},"0a3c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  14. //! moment.js locale configuration
  15. 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",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return a}))},"0a84":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  16. //! moment.js locale configuration
  17. var e=t.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return e}))},"0caa":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  18. //! moment.js locale configuration
  19. function e(t,e,n,i){var r={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return i?r[n][0]:r[n][1]}var n=t.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokallim":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";
  20. //! moment.js locale configuration
  21. var e=t.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}});return e}))},"0e6b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  22. //! moment.js locale configuration
  23. 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:0,doy:4}});return e}))},"0e81":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  24. //! moment.js locale configuration
  25. 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_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(t,e,n){return t<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(t){return"ös"===t||"ÖS"===t},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(t,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";
  26. //! moment.js locale configuration
  27. var e=t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))},"0f38":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  28. //! moment.js locale configuration
  29. 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";
  30. //! moment.js locale configuration
  31. 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";
  32. //! moment.js locale configuration
  33. 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 วัน",w:"1 สัปดาห์",ww:"%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";
  34. //! moment.js locale configuration
  35. var e={words:{ss:["секунда","секунде","секунди"],m:["један минут","једног минута"],mm:["минут","минута","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],d:["један дан","једног дана"],dd:["дан","дана","дана"],M:["један месец","једног месеца"],MM:["месец","месеца","месеци"],y:["једну годину","једне године"],yy:["годину","године","година"]},correctGrammaticalCase:function(t,e){return t%10>=1&&t%10<=4&&(t%100<10||t%100>=20)?t%10===1?e[0]:e[1]:e[2]},translate:function(t,n,i,r){var a,o=e.words[i];return 1===i.length?"y"===i&&n?"једна година":r||n?o[0]:o[1]:(a=e.correctGrammaticalCase(t,o),"yy"===i&&n&&"годину"===a?t+" година":t+" "+a)}},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:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var t=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:e.translate,dd:e.translate,M:e.translate,MM:e.translate,y:e.translate,yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"167b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  36. //! moment.js locale configuration
  37. var e=t.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var 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}))},"1b45":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  38. //! moment.js locale configuration
  39. 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";
  40. //! moment.js locale configuration
  41. 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}))},"1fc1":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  42. //! moment.js locale configuration
  43. 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";
  44. //! moment.js locale configuration
  45. var e=t.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(t){return t.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(t,e,n){return"ი"===n?e+"ში":e+n+"ში"}))},past:function(t){return/(წამი|წუთი|საათი|დღე|თვე)/.test(t)?t.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(t)?t.replace(/წელი$/,"წლის წინ"):t},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(t){return 0===t?t:1===t?t+"-ლი":t<20||t<=100&&t%20===0||t%100===0?"მე-"+t:t+"-ე"},week:{dow:1,doy:7}});return e}))},"22d1":function(t,e,n){"use strict";var i=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),r=function(){function t(){this.browser=new i,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!==typeof window}return t}(),a=new r;function o(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.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;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}"object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?(a.wxa=!0,a.touchEventsSupported=!0):"undefined"===typeof document&&"undefined"!==typeof self?a.worker=!0:"undefined"===typeof navigator?(a.node=!0,a.svgSupported=!0):o(navigator.userAgent,a),e["a"]=a},"22f8":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  46. //! moment.js locale configuration
  47. 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}))},2421:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  48. //! moment.js locale configuration
  49. 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}))},25548:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  50. //! moment.js locale configuration
  51. function e(t,e,n,i){switch(n){case"m":return e?"jedna minuta":i?"jednu minutu":"jedne minute"}}function n(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"mm":return i+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta",i;case"h":return"jedan sat";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 i=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:n,m:e,mm:n,h:n,hh:n,d:"dan",dd:n,M:"mjesec",MM:n,y:"godinu",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return i}))},"26f9":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  52. //! moment.js locale configuration
  53. 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}))},"28a0":function(t,e){"function"===typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},2921:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  54. //! moment.js locale configuration
  55. var e=t.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,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 trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}});return e}))},"293c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  56. //! moment.js locale configuration
  57. 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}))},"2b3d":function(t,e,n){n("4002")},"2bfb":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  58. //! moment.js locale configuration
  59. 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";
  60. //! moment.js locale configuration
  61. var e=t.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}});return e}))},"2ef0":function(t,e,n){(function(t,i){var r;
  62. /**
  63. * @license
  64. * Lodash <https://lodash.com/>
  65. * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
  66. * Released under MIT license <https://lodash.com/license>
  67. * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
  68. * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
  69. */(function(){var a,o="4.17.21",s=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",c="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",h=500,p="__lodash_placeholder__",f=1,_=2,g=4,m=1,y=2,v=1,b=2,x=4,M=8,w=16,S=32,L=64,k=128,T=256,D=512,O=30,A="...",I=800,Y=16,C=1,j=2,P=3,E=1/0,R=9007199254740991,N=17976931348623157e292,H=NaN,z=4294967295,B=z-1,F=z>>>1,W=[["ary",k],["bind",v],["bindKey",b],["curry",M],["curryRight",w],["flip",D],["partial",S],["partialRight",L],["rearg",T]],V="[object Arguments]",G="[object Array]",U="[object AsyncFunction]",X="[object Boolean]",Z="[object Date]",q="[object DOMException]",K="[object Error]",J="[object Function]",$="[object GeneratorFunction]",Q="[object Map]",tt="[object Number]",et="[object Null]",nt="[object Object]",it="[object Promise]",rt="[object Proxy]",at="[object RegExp]",ot="[object Set]",st="[object String]",lt="[object Symbol]",ut="[object Undefined]",ct="[object WeakMap]",dt="[object WeakSet]",ht="[object ArrayBuffer]",pt="[object DataView]",ft="[object Float32Array]",_t="[object Float64Array]",gt="[object Int8Array]",mt="[object Int16Array]",yt="[object Int32Array]",vt="[object Uint8Array]",bt="[object Uint8ClampedArray]",xt="[object Uint16Array]",Mt="[object Uint32Array]",wt=/\b__p \+= '';/g,St=/\b(__p \+=) '' \+/g,Lt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,kt=/&(?:amp|lt|gt|quot|#39);/g,Tt=/[&<>"']/g,Dt=RegExp(kt.source),Ot=RegExp(Tt.source),At=/<%-([\s\S]+?)%>/g,It=/<%([\s\S]+?)%>/g,Yt=/<%=([\s\S]+?)%>/g,Ct=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,jt=/^\w*$/,Pt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Et=/[\\^$.*+?()[\]{}|]/g,Rt=RegExp(Et.source),Nt=/^\s+/,Ht=/\s/,zt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bt=/\{\n\/\* \[wrapped with (.+)\] \*/,Ft=/,? & /,Wt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Vt=/[()=,{}\[\]\/\s]/,Gt=/\\(\\)?/g,Ut=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Xt=/\w*$/,Zt=/^[-+]0x[0-9a-f]+$/i,qt=/^0b[01]+$/i,Kt=/^\[object .+?Constructor\]$/,Jt=/^0o[0-7]+$/i,$t=/^(?:0|[1-9]\d*)$/,Qt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,te=/($^)/,ee=/['\n\r\u2028\u2029\\]/g,ne="\\ud800-\\udfff",ie="\\u0300-\\u036f",re="\\ufe20-\\ufe2f",ae="\\u20d0-\\u20ff",oe=ie+re+ae,se="\\u2700-\\u27bf",le="a-z\\xdf-\\xf6\\xf8-\\xff",ue="\\xac\\xb1\\xd7\\xf7",ce="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",de="\\u2000-\\u206f",he=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pe="A-Z\\xc0-\\xd6\\xd8-\\xde",fe="\\ufe0e\\ufe0f",_e=ue+ce+de+he,ge="['’]",me="["+ne+"]",ye="["+_e+"]",ve="["+oe+"]",be="\\d+",xe="["+se+"]",Me="["+le+"]",we="[^"+ne+_e+be+se+le+pe+"]",Se="\\ud83c[\\udffb-\\udfff]",Le="(?:"+ve+"|"+Se+")",ke="[^"+ne+"]",Te="(?:\\ud83c[\\udde6-\\uddff]){2}",De="[\\ud800-\\udbff][\\udc00-\\udfff]",Oe="["+pe+"]",Ae="\\u200d",Ie="(?:"+Me+"|"+we+")",Ye="(?:"+Oe+"|"+we+")",Ce="(?:"+ge+"(?:d|ll|m|re|s|t|ve))?",je="(?:"+ge+"(?:D|LL|M|RE|S|T|VE))?",Pe=Le+"?",Ee="["+fe+"]?",Re="(?:"+Ae+"(?:"+[ke,Te,De].join("|")+")"+Ee+Pe+")*",Ne="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",He="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ze=Ee+Pe+Re,Be="(?:"+[xe,Te,De].join("|")+")"+ze,Fe="(?:"+[ke+ve+"?",ve,Te,De,me].join("|")+")",We=RegExp(ge,"g"),Ve=RegExp(ve,"g"),Ge=RegExp(Se+"(?="+Se+")|"+Fe+ze,"g"),Ue=RegExp([Oe+"?"+Me+"+"+Ce+"(?="+[ye,Oe,"$"].join("|")+")",Ye+"+"+je+"(?="+[ye,Oe+Ie,"$"].join("|")+")",Oe+"?"+Ie+"+"+Ce,Oe+"+"+je,He,Ne,be,Be].join("|"),"g"),Xe=RegExp("["+Ae+ne+oe+fe+"]"),Ze=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,qe=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ke=-1,Je={};Je[ft]=Je[_t]=Je[gt]=Je[mt]=Je[yt]=Je[vt]=Je[bt]=Je[xt]=Je[Mt]=!0,Je[V]=Je[G]=Je[ht]=Je[X]=Je[pt]=Je[Z]=Je[K]=Je[J]=Je[Q]=Je[tt]=Je[nt]=Je[at]=Je[ot]=Je[st]=Je[ct]=!1;var $e={};$e[V]=$e[G]=$e[ht]=$e[pt]=$e[X]=$e[Z]=$e[ft]=$e[_t]=$e[gt]=$e[mt]=$e[yt]=$e[Q]=$e[tt]=$e[nt]=$e[at]=$e[ot]=$e[st]=$e[lt]=$e[vt]=$e[bt]=$e[xt]=$e[Mt]=!0,$e[K]=$e[J]=$e[ct]=!1;var Qe={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},tn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},en={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},nn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rn=parseFloat,an=parseInt,on="object"==typeof t&&t&&t.Object===Object&&t,sn="object"==typeof self&&self&&self.Object===Object&&self,ln=on||sn||Function("return this")(),un=e&&!e.nodeType&&e,cn=un&&"object"==typeof i&&i&&!i.nodeType&&i,dn=cn&&cn.exports===un,hn=dn&&on.process,pn=function(){try{var t=cn&&cn.require&&cn.require("util").types;return t||hn&&hn.binding&&hn.binding("util")}catch(e){}}(),fn=pn&&pn.isArrayBuffer,_n=pn&&pn.isDate,gn=pn&&pn.isMap,mn=pn&&pn.isRegExp,yn=pn&&pn.isSet,vn=pn&&pn.isTypedArray;function bn(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function xn(t,e,n,i){var r=-1,a=null==t?0:t.length;while(++r<a){var o=t[r];e(i,o,n(o),t)}return i}function Mn(t,e){var n=-1,i=null==t?0:t.length;while(++n<i)if(!1===e(t[n],n,t))break;return t}function wn(t,e){var n=null==t?0:t.length;while(n--)if(!1===e(t[n],n,t))break;return t}function Sn(t,e){var n=-1,i=null==t?0:t.length;while(++n<i)if(!e(t[n],n,t))return!1;return!0}function Ln(t,e){var n=-1,i=null==t?0:t.length,r=0,a=[];while(++n<i){var o=t[n];e(o,n,t)&&(a[r++]=o)}return a}function kn(t,e){var n=null==t?0:t.length;return!!n&&Nn(t,e,0)>-1}function Tn(t,e,n){var i=-1,r=null==t?0:t.length;while(++i<r)if(n(e,t[i]))return!0;return!1}function Dn(t,e){var n=-1,i=null==t?0:t.length,r=Array(i);while(++n<i)r[n]=e(t[n],n,t);return r}function On(t,e){var n=-1,i=e.length,r=t.length;while(++n<i)t[r+n]=e[n];return t}function An(t,e,n,i){var r=-1,a=null==t?0:t.length;i&&a&&(n=t[++r]);while(++r<a)n=e(n,t[r],r,t);return n}function In(t,e,n,i){var r=null==t?0:t.length;i&&r&&(n=t[--r]);while(r--)n=e(n,t[r],r,t);return n}function Yn(t,e){var n=-1,i=null==t?0:t.length;while(++n<i)if(e(t[n],n,t))return!0;return!1}var Cn=Fn("length");function jn(t){return t.split("")}function Pn(t){return t.match(Wt)||[]}function En(t,e,n){var i;return n(t,(function(t,n,r){if(e(t,n,r))return i=n,!1})),i}function Rn(t,e,n,i){var r=t.length,a=n+(i?1:-1);while(i?a--:++a<r)if(e(t[a],a,t))return a;return-1}function Nn(t,e,n){return e===e?fi(t,e,n):Rn(t,zn,n)}function Hn(t,e,n,i){var r=n-1,a=t.length;while(++r<a)if(i(t[r],e))return r;return-1}function zn(t){return t!==t}function Bn(t,e){var n=null==t?0:t.length;return n?Un(t,e)/n:H}function Fn(t){return function(e){return null==e?a:e[t]}}function Wn(t){return function(e){return null==t?a:t[e]}}function Vn(t,e,n,i,r){return r(t,(function(t,r,a){n=i?(i=!1,t):e(n,t,r,a)})),n}function Gn(t,e){var n=t.length;t.sort(e);while(n--)t[n]=t[n].value;return t}function Un(t,e){var n,i=-1,r=t.length;while(++i<r){var o=e(t[i]);o!==a&&(n=n===a?o:n+o)}return n}function Xn(t,e){var n=-1,i=Array(t);while(++n<t)i[n]=e(n);return i}function Zn(t,e){return Dn(e,(function(e){return[e,t[e]]}))}function qn(t){return t?t.slice(0,yi(t)+1).replace(Nt,""):t}function Kn(t){return function(e){return t(e)}}function Jn(t,e){return Dn(e,(function(e){return t[e]}))}function $n(t,e){return t.has(e)}function Qn(t,e){var n=-1,i=t.length;while(++n<i&&Nn(e,t[n],0)>-1);return n}function ti(t,e){var n=t.length;while(n--&&Nn(e,t[n],0)>-1);return n}function ei(t,e){var n=t.length,i=0;while(n--)t[n]===e&&++i;return i}var ni=Wn(Qe),ii=Wn(tn);function ri(t){return"\\"+nn[t]}function ai(t,e){return null==t?a:t[e]}function oi(t){return Xe.test(t)}function si(t){return Ze.test(t)}function li(t){var e,n=[];while(!(e=t.next()).done)n.push(e.value);return n}function ui(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}function ci(t,e){return function(n){return t(e(n))}}function di(t,e){var n=-1,i=t.length,r=0,a=[];while(++n<i){var o=t[n];o!==e&&o!==p||(t[n]=p,a[r++]=n)}return a}function hi(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function pi(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function fi(t,e,n){var i=n-1,r=t.length;while(++i<r)if(t[i]===e)return i;return-1}function _i(t,e,n){var i=n+1;while(i--)if(t[i]===e)return i;return i}function gi(t){return oi(t)?bi(t):Cn(t)}function mi(t){return oi(t)?xi(t):jn(t)}function yi(t){var e=t.length;while(e--&&Ht.test(t.charAt(e)));return e}var vi=Wn(en);function bi(t){var e=Ge.lastIndex=0;while(Ge.test(t))++e;return e}function xi(t){return t.match(Ge)||[]}function Mi(t){return t.match(Ue)||[]}var wi=function t(e){e=null==e?ln:Si.defaults(ln.Object(),e,Si.pick(ln,qe));var n=e.Array,i=e.Date,r=e.Error,Ht=e.Function,Wt=e.Math,ne=e.Object,ie=e.RegExp,re=e.String,ae=e.TypeError,oe=n.prototype,se=Ht.prototype,le=ne.prototype,ue=e["__core-js_shared__"],ce=se.toString,de=le.hasOwnProperty,he=0,pe=function(){var t=/[^.]+$/.exec(ue&&ue.keys&&ue.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),fe=le.toString,_e=ce.call(ne),ge=ln._,me=ie("^"+ce.call(de).replace(Et,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ye=dn?e.Buffer:a,ve=e.Symbol,be=e.Uint8Array,xe=ye?ye.allocUnsafe:a,Me=ci(ne.getPrototypeOf,ne),we=ne.create,Se=le.propertyIsEnumerable,Le=oe.splice,ke=ve?ve.isConcatSpreadable:a,Te=ve?ve.iterator:a,De=ve?ve.toStringTag:a,Oe=function(){try{var t=Xo(ne,"defineProperty");return t({},"",{}),t}catch(e){}}(),Ae=e.clearTimeout!==ln.clearTimeout&&e.clearTimeout,Ie=i&&i.now!==ln.Date.now&&i.now,Ye=e.setTimeout!==ln.setTimeout&&e.setTimeout,Ce=Wt.ceil,je=Wt.floor,Pe=ne.getOwnPropertySymbols,Ee=ye?ye.isBuffer:a,Re=e.isFinite,Ne=oe.join,He=ci(ne.keys,ne),ze=Wt.max,Be=Wt.min,Fe=i.now,Ge=e.parseInt,Ue=Wt.random,Xe=oe.reverse,Ze=Xo(e,"DataView"),Qe=Xo(e,"Map"),tn=Xo(e,"Promise"),en=Xo(e,"Set"),nn=Xo(e,"WeakMap"),on=Xo(ne,"create"),sn=nn&&new nn,un={},cn=Ys(Ze),hn=Ys(Qe),pn=Ys(tn),Cn=Ys(en),jn=Ys(nn),Wn=ve?ve.prototype:a,fi=Wn?Wn.valueOf:a,bi=Wn?Wn.toString:a;function xi(t){if(Lc(t)&&!lc(t)&&!(t instanceof Ti)){if(t instanceof ki)return t;if(de.call(t,"__wrapped__"))return js(t)}return new ki(t)}var wi=function(){function t(){}return function(e){if(!Sc(e))return{};if(we)return we(e);t.prototype=e;var n=new t;return t.prototype=a,n}}();function Li(){}function ki(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=a}function Ti(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=z,this.__views__=[]}function Di(){var t=new Ti(this.__wrapped__);return t.__actions__=io(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=io(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=io(this.__views__),t}function Oi(){if(this.__filtered__){var t=new Ti(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function Ai(){var t=this.__wrapped__.value(),e=this.__dir__,n=lc(t),i=e<0,r=n?t.length:0,a=$o(0,r,this.__views__),o=a.start,s=a.end,l=s-o,u=i?s:o-1,c=this.__iteratees__,d=c.length,h=0,p=Be(l,this.__takeCount__);if(!n||!i&&r==l&&p==l)return Na(t,this.__actions__);var f=[];t:while(l--&&h<p){u+=e;var _=-1,g=t[u];while(++_<d){var m=c[_],y=m.iteratee,v=m.type,b=y(g);if(v==j)g=b;else if(!b){if(v==C)continue t;break t}}f[h++]=g}return f}function Ii(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var i=t[e];this.set(i[0],i[1])}}function Yi(){this.__data__=on?on(null):{},this.size=0}function Ci(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function ji(t){var e=this.__data__;if(on){var n=e[t];return n===d?a:n}return de.call(e,t)?e[t]:a}function Pi(t){var e=this.__data__;return on?e[t]!==a:de.call(e,t)}function Ei(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=on&&e===a?d:e,this}function Ri(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var i=t[e];this.set(i[0],i[1])}}function Ni(){this.__data__=[],this.size=0}function Hi(t){var e=this.__data__,n=cr(e,t);if(n<0)return!1;var i=e.length-1;return n==i?e.pop():Le.call(e,n,1),--this.size,!0}function zi(t){var e=this.__data__,n=cr(e,t);return n<0?a:e[n][1]}function Bi(t){return cr(this.__data__,t)>-1}function Fi(t,e){var n=this.__data__,i=cr(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}function Wi(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var i=t[e];this.set(i[0],i[1])}}function Vi(){this.size=0,this.__data__={hash:new Ii,map:new(Qe||Ri),string:new Ii}}function Gi(t){var e=Go(this,t)["delete"](t);return this.size-=e?1:0,e}function Ui(t){return Go(this,t).get(t)}function Xi(t){return Go(this,t).has(t)}function Zi(t,e){var n=Go(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}function qi(t){var e=-1,n=null==t?0:t.length;this.__data__=new Wi;while(++e<n)this.add(t[e])}function Ki(t){return this.__data__.set(t,d),this}function Ji(t){return this.__data__.has(t)}function $i(t){var e=this.__data__=new Ri(t);this.size=e.size}function Qi(){this.__data__=new Ri,this.size=0}function tr(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}function er(t){return this.__data__.get(t)}function nr(t){return this.__data__.has(t)}function ir(t,e){var n=this.__data__;if(n instanceof Ri){var i=n.__data__;if(!Qe||i.length<s-1)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Wi(i)}return n.set(t,e),this.size=n.size,this}function rr(t,e){var n=lc(t),i=!n&&sc(t),r=!n&&!i&&pc(t),a=!n&&!i&&!r&&zc(t),o=n||i||r||a,s=o?Xn(t.length,re):[],l=s.length;for(var u in t)!e&&!de.call(t,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||os(u,l))||s.push(u);return s}function ar(t){var e=t.length;return e?t[ma(0,e-1)]:a}function or(t,e){return Os(io(t),gr(e,0,t.length))}function sr(t){return Os(io(t))}function lr(t,e,n){(n!==a&&!rc(t[e],n)||n===a&&!(e in t))&&fr(t,e,n)}function ur(t,e,n){var i=t[e];de.call(t,e)&&rc(i,n)&&(n!==a||e in t)||fr(t,e,n)}function cr(t,e){var n=t.length;while(n--)if(rc(t[n][0],e))return n;return-1}function dr(t,e,n,i){return Mr(t,(function(t,r,a){e(i,t,n(t),a)})),i}function hr(t,e){return t&&ro(e,Md(e),t)}function pr(t,e){return t&&ro(e,wd(e),t)}function fr(t,e,n){"__proto__"==e&&Oe?Oe(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function _r(t,e){var i=-1,r=e.length,o=n(r),s=null==t;while(++i<r)o[i]=s?a:gd(t,e[i]);return o}function gr(t,e,n){return t===t&&(n!==a&&(t=t<=n?t:n),e!==a&&(t=t>=e?t:e)),t}function mr(t,e,n,i,r,o){var s,l=e&f,u=e&_,c=e&g;if(n&&(s=r?n(t,i,r,o):n(t)),s!==a)return s;if(!Sc(t))return t;var d=lc(t);if(d){if(s=es(t),!l)return io(t,s)}else{var h=Jo(t),p=h==J||h==$;if(pc(t))return Xa(t,l);if(h==nt||h==V||p&&!r){if(s=u||p?{}:ns(t),!l)return u?oo(t,pr(s,t)):ao(t,hr(s,t))}else{if(!$e[h])return r?t:{};s=is(t,h,l)}}o||(o=new $i);var m=o.get(t);if(m)return m;o.set(t,s),Rc(t)?t.forEach((function(i){s.add(mr(i,e,n,i,t,o))})):kc(t)&&t.forEach((function(i,r){s.set(r,mr(i,e,n,r,t,o))}));var y=c?u?zo:Ho:u?wd:Md,v=d?a:y(t);return Mn(v||t,(function(i,r){v&&(r=i,i=t[r]),ur(s,r,mr(i,e,n,r,t,o))})),s}function yr(t){var e=Md(t);return function(n){return vr(n,t,e)}}function vr(t,e,n){var i=n.length;if(null==t)return!i;t=ne(t);while(i--){var r=n[i],o=e[r],s=t[r];if(s===a&&!(r in t)||!o(s))return!1}return!0}function br(t,e,n){if("function"!=typeof t)throw new ae(u);return Ls((function(){t.apply(a,n)}),e)}function xr(t,e,n,i){var r=-1,a=kn,o=!0,l=t.length,u=[],c=e.length;if(!l)return u;n&&(e=Dn(e,Kn(n))),i?(a=Tn,o=!1):e.length>=s&&(a=$n,o=!1,e=new qi(e));t:while(++r<l){var d=t[r],h=null==n?d:n(d);if(d=i||0!==d?d:0,o&&h===h){var p=c;while(p--)if(e[p]===h)continue t;u.push(d)}else a(e,h,i)||u.push(d)}return u}xi.templateSettings={escape:At,evaluate:It,interpolate:Yt,variable:"",imports:{_:xi}},xi.prototype=Li.prototype,xi.prototype.constructor=xi,ki.prototype=wi(Li.prototype),ki.prototype.constructor=ki,Ti.prototype=wi(Li.prototype),Ti.prototype.constructor=Ti,Ii.prototype.clear=Yi,Ii.prototype["delete"]=Ci,Ii.prototype.get=ji,Ii.prototype.has=Pi,Ii.prototype.set=Ei,Ri.prototype.clear=Ni,Ri.prototype["delete"]=Hi,Ri.prototype.get=zi,Ri.prototype.has=Bi,Ri.prototype.set=Fi,Wi.prototype.clear=Vi,Wi.prototype["delete"]=Gi,Wi.prototype.get=Ui,Wi.prototype.has=Xi,Wi.prototype.set=Zi,qi.prototype.add=qi.prototype.push=Ki,qi.prototype.has=Ji,$i.prototype.clear=Qi,$i.prototype["delete"]=tr,$i.prototype.get=er,$i.prototype.has=nr,$i.prototype.set=ir;var Mr=uo(Ir),wr=uo(Yr,!0);function Sr(t,e){var n=!0;return Mr(t,(function(t,i,r){return n=!!e(t,i,r),n})),n}function Lr(t,e,n){var i=-1,r=t.length;while(++i<r){var o=t[i],s=e(o);if(null!=s&&(l===a?s===s&&!Hc(s):n(s,l)))var l=s,u=o}return u}function kr(t,e,n,i){var r=t.length;n=Zc(n),n<0&&(n=-n>r?0:r+n),i=i===a||i>r?r:Zc(i),i<0&&(i+=r),i=n>i?0:qc(i);while(n<i)t[n++]=e;return t}function Tr(t,e){var n=[];return Mr(t,(function(t,i,r){e(t,i,r)&&n.push(t)})),n}function Dr(t,e,n,i,r){var a=-1,o=t.length;n||(n=as),r||(r=[]);while(++a<o){var s=t[a];e>0&&n(s)?e>1?Dr(s,e-1,n,i,r):On(r,s):i||(r[r.length]=s)}return r}var Or=co(),Ar=co(!0);function Ir(t,e){return t&&Or(t,e,Md)}function Yr(t,e){return t&&Ar(t,e,Md)}function Cr(t,e){return Ln(e,(function(e){return xc(t[e])}))}function jr(t,e){e=Wa(e,t);var n=0,i=e.length;while(null!=t&&n<i)t=t[Is(e[n++])];return n&&n==i?t:a}function Pr(t,e,n){var i=e(t);return lc(t)?i:On(i,n(t))}function Er(t){return null==t?t===a?ut:et:De&&De in ne(t)?Zo(t):vs(t)}function Rr(t,e){return t>e}function Nr(t,e){return null!=t&&de.call(t,e)}function Hr(t,e){return null!=t&&e in ne(t)}function zr(t,e,n){return t>=Be(e,n)&&t<ze(e,n)}function Br(t,e,i){var r=i?Tn:kn,o=t[0].length,s=t.length,l=s,u=n(s),c=1/0,d=[];while(l--){var h=t[l];l&&e&&(h=Dn(h,Kn(e))),c=Be(h.length,c),u[l]=!i&&(e||o>=120&&h.length>=120)?new qi(l&&h):a}h=t[0];var p=-1,f=u[0];t:while(++p<o&&d.length<c){var _=h[p],g=e?e(_):_;if(_=i||0!==_?_:0,!(f?$n(f,g):r(d,g,i))){l=s;while(--l){var m=u[l];if(!(m?$n(m,g):r(t[l],g,i)))continue t}f&&f.push(g),d.push(_)}}return d}function Fr(t,e,n,i){return Ir(t,(function(t,r,a){e(i,n(t),r,a)})),i}function Wr(t,e,n){e=Wa(e,t),t=xs(t,e);var i=null==t?t:t[Is(al(e))];return null==i?a:bn(i,t,n)}function Vr(t){return Lc(t)&&Er(t)==V}function Gr(t){return Lc(t)&&Er(t)==ht}function Ur(t){return Lc(t)&&Er(t)==Z}function Xr(t,e,n,i,r){return t===e||(null==t||null==e||!Lc(t)&&!Lc(e)?t!==t&&e!==e:Zr(t,e,n,i,Xr,r))}function Zr(t,e,n,i,r,a){var o=lc(t),s=lc(e),l=o?G:Jo(t),u=s?G:Jo(e);l=l==V?nt:l,u=u==V?nt:u;var c=l==nt,d=u==nt,h=l==u;if(h&&pc(t)){if(!pc(e))return!1;o=!0,c=!1}if(h&&!c)return a||(a=new $i),o||zc(t)?Po(t,e,n,i,r,a):Eo(t,e,l,n,i,r,a);if(!(n&m)){var p=c&&de.call(t,"__wrapped__"),f=d&&de.call(e,"__wrapped__");if(p||f){var _=p?t.value():t,g=f?e.value():e;return a||(a=new $i),r(_,g,n,i,a)}}return!!h&&(a||(a=new $i),Ro(t,e,n,i,r,a))}function qr(t){return Lc(t)&&Jo(t)==Q}function Kr(t,e,n,i){var r=n.length,o=r,s=!i;if(null==t)return!o;t=ne(t);while(r--){var l=n[r];if(s&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}while(++r<o){l=n[r];var u=l[0],c=t[u],d=l[1];if(s&&l[2]){if(c===a&&!(u in t))return!1}else{var h=new $i;if(i)var p=i(c,d,u,t,e,h);if(!(p===a?Xr(d,c,m|y,i,h):p))return!1}}return!0}function Jr(t){if(!Sc(t)||ds(t))return!1;var e=xc(t)?me:Kt;return e.test(Ys(t))}function $r(t){return Lc(t)&&Er(t)==at}function Qr(t){return Lc(t)&&Jo(t)==ot}function ta(t){return Lc(t)&&wc(t.length)&&!!Je[Er(t)]}function ea(t){return"function"==typeof t?t:null==t?Ah:"object"==typeof t?lc(t)?sa(t[0],t[1]):oa(t):Wh(t)}function na(t){if(!ps(t))return He(t);var e=[];for(var n in ne(t))de.call(t,n)&&"constructor"!=n&&e.push(n);return e}function ia(t){if(!Sc(t))return ys(t);var e=ps(t),n=[];for(var i in t)("constructor"!=i||!e&&de.call(t,i))&&n.push(i);return n}function ra(t,e){return t<e}function aa(t,e){var i=-1,r=cc(t)?n(t.length):[];return Mr(t,(function(t,n,a){r[++i]=e(t,n,a)})),r}function oa(t){var e=Uo(t);return 1==e.length&&e[0][2]?_s(e[0][0],e[0][1]):function(n){return n===t||Kr(n,t,e)}}function sa(t,e){return ls(t)&&fs(e)?_s(Is(t),e):function(n){var i=gd(n,t);return i===a&&i===e?yd(n,t):Xr(e,i,m|y)}}function la(t,e,n,i,r){t!==e&&Or(e,(function(o,s){if(r||(r=new $i),Sc(o))ua(t,e,s,n,la,i,r);else{var l=i?i(ws(t,s),o,s+"",t,e,r):a;l===a&&(l=o),lr(t,s,l)}}),wd)}function ua(t,e,n,i,r,o,s){var l=ws(t,n),u=ws(e,n),c=s.get(u);if(c)lr(t,n,c);else{var d=o?o(l,u,n+"",t,e,s):a,h=d===a;if(h){var p=lc(u),f=!p&&pc(u),_=!p&&!f&&zc(u);d=u,p||f||_?lc(l)?d=l:dc(l)?d=io(l):f?(h=!1,d=Xa(u,!0)):_?(h=!1,d=$a(u,!0)):d=[]:jc(u)||sc(u)?(d=l,sc(l)?d=Jc(l):Sc(l)&&!xc(l)||(d=ns(u))):h=!1}h&&(s.set(u,d),r(d,u,i,o,s),s["delete"](u)),lr(t,n,d)}}function ca(t,e){var n=t.length;if(n)return e+=e<0?n:0,os(e,n)?t[e]:a}function da(t,e,n){e=e.length?Dn(e,(function(t){return lc(t)?function(e){return jr(e,1===t.length?t[0]:t)}:t})):[Ah];var i=-1;e=Dn(e,Kn(Vo()));var r=aa(t,(function(t,n,r){var a=Dn(e,(function(e){return e(t)}));return{criteria:a,index:++i,value:t}}));return Gn(r,(function(t,e){return to(t,e,n)}))}function ha(t,e){return pa(t,e,(function(e,n){return yd(t,n)}))}function pa(t,e,n){var i=-1,r=e.length,a={};while(++i<r){var o=e[i],s=jr(t,o);n(s,o)&&wa(a,Wa(o,t),s)}return a}function fa(t){return function(e){return jr(e,t)}}function _a(t,e,n,i){var r=i?Hn:Nn,a=-1,o=e.length,s=t;t===e&&(e=io(e)),n&&(s=Dn(t,Kn(n)));while(++a<o){var l=0,u=e[a],c=n?n(u):u;while((l=r(s,c,l,i))>-1)s!==t&&Le.call(s,l,1),Le.call(t,l,1)}return t}function ga(t,e){var n=t?e.length:0,i=n-1;while(n--){var r=e[n];if(n==i||r!==a){var a=r;os(r)?Le.call(t,r,1):Pa(t,r)}}return t}function ma(t,e){return t+je(Ue()*(e-t+1))}function ya(t,e,i,r){var a=-1,o=ze(Ce((e-t)/(i||1)),0),s=n(o);while(o--)s[r?o:++a]=t,t+=i;return s}function va(t,e){var n="";if(!t||e<1||e>R)return n;do{e%2&&(n+=t),e=je(e/2),e&&(t+=t)}while(e);return n}function ba(t,e){return ks(bs(t,e,Ah),t+"")}function xa(t){return ar(Bd(t))}function Ma(t,e){var n=Bd(t);return Os(n,gr(e,0,n.length))}function wa(t,e,n,i){if(!Sc(t))return t;e=Wa(e,t);var r=-1,o=e.length,s=o-1,l=t;while(null!=l&&++r<o){var u=Is(e[r]),c=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return t;if(r!=s){var d=l[u];c=i?i(d,u,l):a,c===a&&(c=Sc(d)?d:os(e[r+1])?[]:{})}ur(l,u,c),l=l[u]}return t}var Sa=sn?function(t,e){return sn.set(t,e),t}:Ah,La=Oe?function(t,e){return Oe(t,"toString",{configurable:!0,enumerable:!1,value:kh(e),writable:!0})}:Ah;function ka(t){return Os(Bd(t))}function Ta(t,e,i){var r=-1,a=t.length;e<0&&(e=-e>a?0:a+e),i=i>a?a:i,i<0&&(i+=a),a=e>i?0:i-e>>>0,e>>>=0;var o=n(a);while(++r<a)o[r]=t[r+e];return o}function Da(t,e){var n;return Mr(t,(function(t,i,r){return n=e(t,i,r),!n})),!!n}function Oa(t,e,n){var i=0,r=null==t?i:t.length;if("number"==typeof e&&e===e&&r<=F){while(i<r){var a=i+r>>>1,o=t[a];null!==o&&!Hc(o)&&(n?o<=e:o<e)?i=a+1:r=a}return r}return Aa(t,e,Ah,n)}function Aa(t,e,n,i){var r=0,o=null==t?0:t.length;if(0===o)return 0;e=n(e);var s=e!==e,l=null===e,u=Hc(e),c=e===a;while(r<o){var d=je((r+o)/2),h=n(t[d]),p=h!==a,f=null===h,_=h===h,g=Hc(h);if(s)var m=i||_;else m=c?_&&(i||p):l?_&&p&&(i||!f):u?_&&p&&!f&&(i||!g):!f&&!g&&(i?h<=e:h<e);m?r=d+1:o=d}return Be(o,B)}function Ia(t,e){var n=-1,i=t.length,r=0,a=[];while(++n<i){var o=t[n],s=e?e(o):o;if(!n||!rc(s,l)){var l=s;a[r++]=0===o?0:o}}return a}function Ya(t){return"number"==typeof t?t:Hc(t)?H:+t}function Ca(t){if("string"==typeof t)return t;if(lc(t))return Dn(t,Ca)+"";if(Hc(t))return bi?bi.call(t):"";var e=t+"";return"0"==e&&1/t==-E?"-0":e}function ja(t,e,n){var i=-1,r=kn,a=t.length,o=!0,l=[],u=l;if(n)o=!1,r=Tn;else if(a>=s){var c=e?null:Oo(t);if(c)return hi(c);o=!1,r=$n,u=new qi}else u=e?[]:l;t:while(++i<a){var d=t[i],h=e?e(d):d;if(d=n||0!==d?d:0,o&&h===h){var p=u.length;while(p--)if(u[p]===h)continue t;e&&u.push(h),l.push(d)}else r(u,h,n)||(u!==l&&u.push(h),l.push(d))}return l}function Pa(t,e){return e=Wa(e,t),t=xs(t,e),null==t||delete t[Is(al(e))]}function Ea(t,e,n,i){return wa(t,e,n(jr(t,e)),i)}function Ra(t,e,n,i){var r=t.length,a=i?r:-1;while((i?a--:++a<r)&&e(t[a],a,t));return n?Ta(t,i?0:a,i?a+1:r):Ta(t,i?a+1:0,i?r:a)}function Na(t,e){var n=t;return n instanceof Ti&&(n=n.value()),An(e,(function(t,e){return e.func.apply(e.thisArg,On([t],e.args))}),n)}function Ha(t,e,i){var r=t.length;if(r<2)return r?ja(t[0]):[];var a=-1,o=n(r);while(++a<r){var s=t[a],l=-1;while(++l<r)l!=a&&(o[a]=xr(o[a]||s,t[l],e,i))}return ja(Dr(o,1),e,i)}function za(t,e,n){var i=-1,r=t.length,o=e.length,s={};while(++i<r){var l=i<o?e[i]:a;n(s,t[i],l)}return s}function Ba(t){return dc(t)?t:[]}function Fa(t){return"function"==typeof t?t:Ah}function Wa(t,e){return lc(t)?t:ls(t,e)?[t]:As(Qc(t))}var Va=ba;function Ga(t,e,n){var i=t.length;return n=n===a?i:n,!e&&n>=i?t:Ta(t,e,n)}var Ua=Ae||function(t){return ln.clearTimeout(t)};function Xa(t,e){if(e)return t.slice();var n=t.length,i=xe?xe(n):new t.constructor(n);return t.copy(i),i}function Za(t){var e=new t.constructor(t.byteLength);return new be(e).set(new be(t)),e}function qa(t,e){var n=e?Za(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function Ka(t){var e=new t.constructor(t.source,Xt.exec(t));return e.lastIndex=t.lastIndex,e}function Ja(t){return fi?ne(fi.call(t)):{}}function $a(t,e){var n=e?Za(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Qa(t,e){if(t!==e){var n=t!==a,i=null===t,r=t===t,o=Hc(t),s=e!==a,l=null===e,u=e===e,c=Hc(e);if(!l&&!c&&!o&&t>e||o&&s&&u&&!l&&!c||i&&s&&u||!n&&u||!r)return 1;if(!i&&!o&&!c&&t<e||c&&n&&r&&!i&&!o||l&&n&&r||!s&&r||!u)return-1}return 0}function to(t,e,n){var i=-1,r=t.criteria,a=e.criteria,o=r.length,s=n.length;while(++i<o){var l=Qa(r[i],a[i]);if(l){if(i>=s)return l;var u=n[i];return l*("desc"==u?-1:1)}}return t.index-e.index}function eo(t,e,i,r){var a=-1,o=t.length,s=i.length,l=-1,u=e.length,c=ze(o-s,0),d=n(u+c),h=!r;while(++l<u)d[l]=e[l];while(++a<s)(h||a<o)&&(d[i[a]]=t[a]);while(c--)d[l++]=t[a++];return d}function no(t,e,i,r){var a=-1,o=t.length,s=-1,l=i.length,u=-1,c=e.length,d=ze(o-l,0),h=n(d+c),p=!r;while(++a<d)h[a]=t[a];var f=a;while(++u<c)h[f+u]=e[u];while(++s<l)(p||a<o)&&(h[f+i[s]]=t[a++]);return h}function io(t,e){var i=-1,r=t.length;e||(e=n(r));while(++i<r)e[i]=t[i];return e}function ro(t,e,n,i){var r=!n;n||(n={});var o=-1,s=e.length;while(++o<s){var l=e[o],u=i?i(n[l],t[l],l,n,t):a;u===a&&(u=t[l]),r?fr(n,l,u):ur(n,l,u)}return n}function ao(t,e){return ro(t,qo(t),e)}function oo(t,e){return ro(t,Ko(t),e)}function so(t,e){return function(n,i){var r=lc(n)?xn:dr,a=e?e():{};return r(n,t,Vo(i,2),a)}}function lo(t){return ba((function(e,n){var i=-1,r=n.length,o=r>1?n[r-1]:a,s=r>2?n[2]:a;o=t.length>3&&"function"==typeof o?(r--,o):a,s&&ss(n[0],n[1],s)&&(o=r<3?a:o,r=1),e=ne(e);while(++i<r){var l=n[i];l&&t(e,l,i,o)}return e}))}function uo(t,e){return function(n,i){if(null==n)return n;if(!cc(n))return t(n,i);var r=n.length,a=e?r:-1,o=ne(n);while(e?a--:++a<r)if(!1===i(o[a],a,o))break;return n}}function co(t){return function(e,n,i){var r=-1,a=ne(e),o=i(e),s=o.length;while(s--){var l=o[t?s:++r];if(!1===n(a[l],l,a))break}return e}}function ho(t,e,n){var i=e&v,r=_o(t);function a(){var e=this&&this!==ln&&this instanceof a?r:t;return e.apply(i?n:this,arguments)}return a}function po(t){return function(e){e=Qc(e);var n=oi(e)?mi(e):a,i=n?n[0]:e.charAt(0),r=n?Ga(n,1).join(""):e.slice(1);return i[t]()+r}}function fo(t){return function(e){return An(xh(Zd(e).replace(We,"")),t,"")}}function _o(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=wi(t.prototype),i=t.apply(n,e);return Sc(i)?i:n}}function go(t,e,i){var r=_o(t);function o(){var s=arguments.length,l=n(s),u=s,c=Wo(o);while(u--)l[u]=arguments[u];var d=s<3&&l[0]!==c&&l[s-1]!==c?[]:di(l,c);if(s-=d.length,s<i)return To(t,e,vo,o.placeholder,a,l,d,a,a,i-s);var h=this&&this!==ln&&this instanceof o?r:t;return bn(h,this,l)}return o}function mo(t){return function(e,n,i){var r=ne(e);if(!cc(e)){var o=Vo(n,3);e=Md(e),n=function(t){return o(r[t],t,r)}}var s=t(e,n,i);return s>-1?r[o?e[s]:s]:a}}function yo(t){return No((function(e){var n=e.length,i=n,r=ki.prototype.thru;t&&e.reverse();while(i--){var o=e[i];if("function"!=typeof o)throw new ae(u);if(r&&!s&&"wrapper"==Fo(o))var s=new ki([],!0)}i=s?i:n;while(++i<n){o=e[i];var l=Fo(o),c="wrapper"==l?Bo(o):a;s=c&&cs(c[0])&&c[1]==(k|M|S|T)&&!c[4].length&&1==c[9]?s[Fo(c[0])].apply(s,c[3]):1==o.length&&cs(o)?s[l]():s.thru(o)}return function(){var t=arguments,i=t[0];if(s&&1==t.length&&lc(i))return s.plant(i).value();var r=0,a=n?e[r].apply(this,t):i;while(++r<n)a=e[r].call(this,a);return a}}))}function vo(t,e,i,r,o,s,l,u,c,d){var h=e&k,p=e&v,f=e&b,_=e&(M|w),g=e&D,m=f?a:_o(t);function y(){var a=arguments.length,v=n(a),b=a;while(b--)v[b]=arguments[b];if(_)var x=Wo(y),M=ei(v,x);if(r&&(v=eo(v,r,o,_)),s&&(v=no(v,s,l,_)),a-=M,_&&a<d){var w=di(v,x);return To(t,e,vo,y.placeholder,i,v,w,u,c,d-a)}var S=p?i:this,L=f?S[t]:t;return a=v.length,u?v=Ms(v,u):g&&a>1&&v.reverse(),h&&c<a&&(v.length=c),this&&this!==ln&&this instanceof y&&(L=m||_o(L)),L.apply(S,v)}return y}function bo(t,e){return function(n,i){return Fr(n,t,e(i),{})}}function xo(t,e){return function(n,i){var r;if(n===a&&i===a)return e;if(n!==a&&(r=n),i!==a){if(r===a)return i;"string"==typeof n||"string"==typeof i?(n=Ca(n),i=Ca(i)):(n=Ya(n),i=Ya(i)),r=t(n,i)}return r}}function Mo(t){return No((function(e){return e=Dn(e,Kn(Vo())),ba((function(n){var i=this;return t(e,(function(t){return bn(t,i,n)}))}))}))}function wo(t,e){e=e===a?" ":Ca(e);var n=e.length;if(n<2)return n?va(e,t):e;var i=va(e,Ce(t/gi(e)));return oi(e)?Ga(mi(i),0,t).join(""):i.slice(0,t)}function So(t,e,i,r){var a=e&v,o=_o(t);function s(){var e=-1,l=arguments.length,u=-1,c=r.length,d=n(c+l),h=this&&this!==ln&&this instanceof s?o:t;while(++u<c)d[u]=r[u];while(l--)d[u++]=arguments[++e];return bn(h,a?i:this,d)}return s}function Lo(t){return function(e,n,i){return i&&"number"!=typeof i&&ss(e,n,i)&&(n=i=a),e=Xc(e),n===a?(n=e,e=0):n=Xc(n),i=i===a?e<n?1:-1:Xc(i),ya(e,n,i,t)}}function ko(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Kc(e),n=Kc(n)),t(e,n)}}function To(t,e,n,i,r,o,s,l,u,c){var d=e&M,h=d?s:a,p=d?a:s,f=d?o:a,_=d?a:o;e|=d?S:L,e&=~(d?L:S),e&x||(e&=~(v|b));var g=[t,e,r,f,h,_,p,l,u,c],m=n.apply(a,g);return cs(t)&&Ss(m,g),m.placeholder=i,Ts(m,t,e)}function Do(t){var e=Wt[t];return function(t,n){if(t=Kc(t),n=null==n?0:Be(Zc(n),292),n&&Re(t)){var i=(Qc(t)+"e").split("e"),r=e(i[0]+"e"+(+i[1]+n));return i=(Qc(r)+"e").split("e"),+(i[0]+"e"+(+i[1]-n))}return e(t)}}var Oo=en&&1/hi(new en([,-0]))[1]==E?function(t){return new en(t)}:Nh;function Ao(t){return function(e){var n=Jo(e);return n==Q?ui(e):n==ot?pi(e):Zn(e,t(e))}}function Io(t,e,n,i,r,o,s,l){var c=e&b;if(!c&&"function"!=typeof t)throw new ae(u);var d=i?i.length:0;if(d||(e&=~(S|L),i=r=a),s=s===a?s:ze(Zc(s),0),l=l===a?l:Zc(l),d-=r?r.length:0,e&L){var h=i,p=r;i=r=a}var f=c?a:Bo(t),_=[t,e,n,i,r,h,p,o,s,l];if(f&&ms(_,f),t=_[0],e=_[1],n=_[2],i=_[3],r=_[4],l=_[9]=_[9]===a?c?0:t.length:ze(_[9]-d,0),!l&&e&(M|w)&&(e&=~(M|w)),e&&e!=v)g=e==M||e==w?go(t,e,l):e!=S&&e!=(v|S)||r.length?vo.apply(a,_):So(t,e,n,i);else var g=ho(t,e,n);var m=f?Sa:Ss;return Ts(m(g,_),t,e)}function Yo(t,e,n,i){return t===a||rc(t,le[n])&&!de.call(i,n)?e:t}function Co(t,e,n,i,r,o){return Sc(t)&&Sc(e)&&(o.set(e,t),la(t,e,a,Co,o),o["delete"](e)),t}function jo(t){return jc(t)?a:t}function Po(t,e,n,i,r,o){var s=n&m,l=t.length,u=e.length;if(l!=u&&!(s&&u>l))return!1;var c=o.get(t),d=o.get(e);if(c&&d)return c==e&&d==t;var h=-1,p=!0,f=n&y?new qi:a;o.set(t,e),o.set(e,t);while(++h<l){var _=t[h],g=e[h];if(i)var v=s?i(g,_,h,e,t,o):i(_,g,h,t,e,o);if(v!==a){if(v)continue;p=!1;break}if(f){if(!Yn(e,(function(t,e){if(!$n(f,e)&&(_===t||r(_,t,n,i,o)))return f.push(e)}))){p=!1;break}}else if(_!==g&&!r(_,g,n,i,o)){p=!1;break}}return o["delete"](t),o["delete"](e),p}function Eo(t,e,n,i,r,a,o){switch(n){case pt:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ht:return!(t.byteLength!=e.byteLength||!a(new be(t),new be(e)));case X:case Z:case tt:return rc(+t,+e);case K:return t.name==e.name&&t.message==e.message;case at:case st:return t==e+"";case Q:var s=ui;case ot:var l=i&m;if(s||(s=hi),t.size!=e.size&&!l)return!1;var u=o.get(t);if(u)return u==e;i|=y,o.set(t,e);var c=Po(s(t),s(e),i,r,a,o);return o["delete"](t),c;case lt:if(fi)return fi.call(t)==fi.call(e)}return!1}function Ro(t,e,n,i,r,o){var s=n&m,l=Ho(t),u=l.length,c=Ho(e),d=c.length;if(u!=d&&!s)return!1;var h=u;while(h--){var p=l[h];if(!(s?p in e:de.call(e,p)))return!1}var f=o.get(t),_=o.get(e);if(f&&_)return f==e&&_==t;var g=!0;o.set(t,e),o.set(e,t);var y=s;while(++h<u){p=l[h];var v=t[p],b=e[p];if(i)var x=s?i(b,v,p,e,t,o):i(v,b,p,t,e,o);if(!(x===a?v===b||r(v,b,n,i,o):x)){g=!1;break}y||(y="constructor"==p)}if(g&&!y){var M=t.constructor,w=e.constructor;M==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof M&&M instanceof M&&"function"==typeof w&&w instanceof w||(g=!1)}return o["delete"](t),o["delete"](e),g}function No(t){return ks(bs(t,a,Zs),t+"")}function Ho(t){return Pr(t,Md,qo)}function zo(t){return Pr(t,wd,Ko)}var Bo=sn?function(t){return sn.get(t)}:Nh;function Fo(t){var e=t.name+"",n=un[e],i=de.call(un,e)?n.length:0;while(i--){var r=n[i],a=r.func;if(null==a||a==t)return r.name}return e}function Wo(t){var e=de.call(xi,"placeholder")?xi:t;return e.placeholder}function Vo(){var t=xi.iteratee||Ih;return t=t===Ih?ea:t,arguments.length?t(arguments[0],arguments[1]):t}function Go(t,e){var n=t.__data__;return us(e)?n["string"==typeof e?"string":"hash"]:n.map}function Uo(t){var e=Md(t),n=e.length;while(n--){var i=e[n],r=t[i];e[n]=[i,r,fs(r)]}return e}function Xo(t,e){var n=ai(t,e);return Jr(n)?n:a}function Zo(t){var e=de.call(t,De),n=t[De];try{t[De]=a;var i=!0}catch(o){}var r=fe.call(t);return i&&(e?t[De]=n:delete t[De]),r}var qo=Pe?function(t){return null==t?[]:(t=ne(t),Ln(Pe(t),(function(e){return Se.call(t,e)})))}:Xh,Ko=Pe?function(t){var e=[];while(t)On(e,qo(t)),t=Me(t);return e}:Xh,Jo=Er;function $o(t,e,n){var i=-1,r=n.length;while(++i<r){var a=n[i],o=a.size;switch(a.type){case"drop":t+=o;break;case"dropRight":e-=o;break;case"take":e=Be(e,t+o);break;case"takeRight":t=ze(t,e-o);break}}return{start:t,end:e}}function Qo(t){var e=t.match(Bt);return e?e[1].split(Ft):[]}function ts(t,e,n){e=Wa(e,t);var i=-1,r=e.length,a=!1;while(++i<r){var o=Is(e[i]);if(!(a=null!=t&&n(t,o)))break;t=t[o]}return a||++i!=r?a:(r=null==t?0:t.length,!!r&&wc(r)&&os(o,r)&&(lc(t)||sc(t)))}function es(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&de.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function ns(t){return"function"!=typeof t.constructor||ps(t)?{}:wi(Me(t))}function is(t,e,n){var i=t.constructor;switch(e){case ht:return Za(t);case X:case Z:return new i(+t);case pt:return qa(t,n);case ft:case _t:case gt:case mt:case yt:case vt:case bt:case xt:case Mt:return $a(t,n);case Q:return new i;case tt:case st:return new i(t);case at:return Ka(t);case ot:return new i;case lt:return Ja(t)}}function rs(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(n>1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(zt,"{\n/* [wrapped with "+e+"] */\n")}function as(t){return lc(t)||sc(t)||!!(ke&&t&&t[ke])}function os(t,e){var n=typeof t;return e=null==e?R:e,!!e&&("number"==n||"symbol"!=n&&$t.test(t))&&t>-1&&t%1==0&&t<e}function ss(t,e,n){if(!Sc(n))return!1;var i=typeof e;return!!("number"==i?cc(n)&&os(e,n.length):"string"==i&&e in n)&&rc(n[e],t)}function ls(t,e){if(lc(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Hc(t))||(jt.test(t)||!Ct.test(t)||null!=e&&t in ne(e))}function us(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function cs(t){var e=Fo(t),n=xi[e];if("function"!=typeof n||!(e in Ti.prototype))return!1;if(t===n)return!0;var i=Bo(n);return!!i&&t===i[0]}function ds(t){return!!pe&&pe in t}(Ze&&Jo(new Ze(new ArrayBuffer(1)))!=pt||Qe&&Jo(new Qe)!=Q||tn&&Jo(tn.resolve())!=it||en&&Jo(new en)!=ot||nn&&Jo(new nn)!=ct)&&(Jo=function(t){var e=Er(t),n=e==nt?t.constructor:a,i=n?Ys(n):"";if(i)switch(i){case cn:return pt;case hn:return Q;case pn:return it;case Cn:return ot;case jn:return ct}return e});var hs=ue?xc:Zh;function ps(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||le;return t===n}function fs(t){return t===t&&!Sc(t)}function _s(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==a||t in ne(n)))}}function gs(t){var e=zu(t,(function(t){return n.size===h&&n.clear(),t})),n=e.cache;return e}function ms(t,e){var n=t[1],i=e[1],r=n|i,a=r<(v|b|k),o=i==k&&n==M||i==k&&n==T&&t[7].length<=e[8]||i==(k|T)&&e[7].length<=e[8]&&n==M;if(!a&&!o)return t;i&v&&(t[2]=e[2],r|=n&v?0:x);var s=e[3];if(s){var l=t[3];t[3]=l?eo(l,s,e[4]):s,t[4]=l?di(t[3],p):e[4]}return s=e[5],s&&(l=t[5],t[5]=l?no(l,s,e[6]):s,t[6]=l?di(t[5],p):e[6]),s=e[7],s&&(t[7]=s),i&k&&(t[8]=null==t[8]?e[8]:Be(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=r,t}function ys(t){var e=[];if(null!=t)for(var n in ne(t))e.push(n);return e}function vs(t){return fe.call(t)}function bs(t,e,i){return e=ze(e===a?t.length-1:e,0),function(){var r=arguments,a=-1,o=ze(r.length-e,0),s=n(o);while(++a<o)s[a]=r[e+a];a=-1;var l=n(e+1);while(++a<e)l[a]=r[a];return l[e]=i(s),bn(t,this,l)}}function xs(t,e){return e.length<2?t:jr(t,Ta(e,0,-1))}function Ms(t,e){var n=t.length,i=Be(e.length,n),r=io(t);while(i--){var o=e[i];t[i]=os(o,n)?r[o]:a}return t}function ws(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}var Ss=Ds(Sa),Ls=Ye||function(t,e){return ln.setTimeout(t,e)},ks=Ds(La);function Ts(t,e,n){var i=e+"";return ks(t,rs(i,Cs(Qo(i),n)))}function Ds(t){var e=0,n=0;return function(){var i=Fe(),r=Y-(i-n);if(n=i,r>0){if(++e>=I)return arguments[0]}else e=0;return t.apply(a,arguments)}}function Os(t,e){var n=-1,i=t.length,r=i-1;e=e===a?i:e;while(++n<e){var o=ma(n,r),s=t[o];t[o]=t[n],t[n]=s}return t.length=e,t}var As=gs((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Pt,(function(t,n,i,r){e.push(i?r.replace(Gt,"$1"):n||t)})),e}));function Is(t){if("string"==typeof t||Hc(t))return t;var e=t+"";return"0"==e&&1/t==-E?"-0":e}function Ys(t){if(null!=t){try{return ce.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Cs(t,e){return Mn(W,(function(n){var i="_."+n[0];e&n[1]&&!kn(t,i)&&t.push(i)})),t.sort()}function js(t){if(t instanceof Ti)return t.clone();var e=new ki(t.__wrapped__,t.__chain__);return e.__actions__=io(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function Ps(t,e,i){e=(i?ss(t,e,i):e===a)?1:ze(Zc(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];var o=0,s=0,l=n(Ce(r/e));while(o<r)l[s++]=Ta(t,o,o+=e);return l}function Es(t){var e=-1,n=null==t?0:t.length,i=0,r=[];while(++e<n){var a=t[e];a&&(r[i++]=a)}return r}function Rs(){var t=arguments.length;if(!t)return[];var e=n(t-1),i=arguments[0],r=t;while(r--)e[r-1]=arguments[r];return On(lc(i)?io(i):[i],Dr(e,1))}var Ns=ba((function(t,e){return dc(t)?xr(t,Dr(e,1,dc,!0)):[]})),Hs=ba((function(t,e){var n=al(e);return dc(n)&&(n=a),dc(t)?xr(t,Dr(e,1,dc,!0),Vo(n,2)):[]})),zs=ba((function(t,e){var n=al(e);return dc(n)&&(n=a),dc(t)?xr(t,Dr(e,1,dc,!0),a,n):[]}));function Bs(t,e,n){var i=null==t?0:t.length;return i?(e=n||e===a?1:Zc(e),Ta(t,e<0?0:e,i)):[]}function Fs(t,e,n){var i=null==t?0:t.length;return i?(e=n||e===a?1:Zc(e),e=i-e,Ta(t,0,e<0?0:e)):[]}function Ws(t,e){return t&&t.length?Ra(t,Vo(e,3),!0,!0):[]}function Vs(t,e){return t&&t.length?Ra(t,Vo(e,3),!0):[]}function Gs(t,e,n,i){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&ss(t,e,n)&&(n=0,i=r),kr(t,e,n,i)):[]}function Us(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:Zc(n);return r<0&&(r=ze(i+r,0)),Rn(t,Vo(e,3),r)}function Xs(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i-1;return n!==a&&(r=Zc(n),r=n<0?ze(i+r,0):Be(r,i-1)),Rn(t,Vo(e,3),r,!0)}function Zs(t){var e=null==t?0:t.length;return e?Dr(t,1):[]}function qs(t){var e=null==t?0:t.length;return e?Dr(t,E):[]}function Ks(t,e){var n=null==t?0:t.length;return n?(e=e===a?1:Zc(e),Dr(t,e)):[]}function Js(t){var e=-1,n=null==t?0:t.length,i={};while(++e<n){var r=t[e];i[r[0]]=r[1]}return i}function $s(t){return t&&t.length?t[0]:a}function Qs(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:Zc(n);return r<0&&(r=ze(i+r,0)),Nn(t,e,r)}function tl(t){var e=null==t?0:t.length;return e?Ta(t,0,-1):[]}var el=ba((function(t){var e=Dn(t,Ba);return e.length&&e[0]===t[0]?Br(e):[]})),nl=ba((function(t){var e=al(t),n=Dn(t,Ba);return e===al(n)?e=a:n.pop(),n.length&&n[0]===t[0]?Br(n,Vo(e,2)):[]})),il=ba((function(t){var e=al(t),n=Dn(t,Ba);return e="function"==typeof e?e:a,e&&n.pop(),n.length&&n[0]===t[0]?Br(n,a,e):[]}));function rl(t,e){return null==t?"":Ne.call(t,e)}function al(t){var e=null==t?0:t.length;return e?t[e-1]:a}function ol(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i;return n!==a&&(r=Zc(n),r=r<0?ze(i+r,0):Be(r,i-1)),e===e?_i(t,e,r):Rn(t,zn,r,!0)}function sl(t,e){return t&&t.length?ca(t,Zc(e)):a}var ll=ba(ul);function ul(t,e){return t&&t.length&&e&&e.length?_a(t,e):t}function cl(t,e,n){return t&&t.length&&e&&e.length?_a(t,e,Vo(n,2)):t}function dl(t,e,n){return t&&t.length&&e&&e.length?_a(t,e,a,n):t}var hl=No((function(t,e){var n=null==t?0:t.length,i=_r(t,e);return ga(t,Dn(e,(function(t){return os(t,n)?+t:t})).sort(Qa)),i}));function pl(t,e){var n=[];if(!t||!t.length)return n;var i=-1,r=[],a=t.length;e=Vo(e,3);while(++i<a){var o=t[i];e(o,i,t)&&(n.push(o),r.push(i))}return ga(t,r),n}function fl(t){return null==t?t:Xe.call(t)}function _l(t,e,n){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&ss(t,e,n)?(e=0,n=i):(e=null==e?0:Zc(e),n=n===a?i:Zc(n)),Ta(t,e,n)):[]}function gl(t,e){return Oa(t,e)}function ml(t,e,n){return Aa(t,e,Vo(n,2))}function yl(t,e){var n=null==t?0:t.length;if(n){var i=Oa(t,e);if(i<n&&rc(t[i],e))return i}return-1}function vl(t,e){return Oa(t,e,!0)}function bl(t,e,n){return Aa(t,e,Vo(n,2),!0)}function xl(t,e){var n=null==t?0:t.length;if(n){var i=Oa(t,e,!0)-1;if(rc(t[i],e))return i}return-1}function Ml(t){return t&&t.length?Ia(t):[]}function wl(t,e){return t&&t.length?Ia(t,Vo(e,2)):[]}function Sl(t){var e=null==t?0:t.length;return e?Ta(t,1,e):[]}function Ll(t,e,n){return t&&t.length?(e=n||e===a?1:Zc(e),Ta(t,0,e<0?0:e)):[]}function kl(t,e,n){var i=null==t?0:t.length;return i?(e=n||e===a?1:Zc(e),e=i-e,Ta(t,e<0?0:e,i)):[]}function Tl(t,e){return t&&t.length?Ra(t,Vo(e,3),!1,!0):[]}function Dl(t,e){return t&&t.length?Ra(t,Vo(e,3)):[]}var Ol=ba((function(t){return ja(Dr(t,1,dc,!0))})),Al=ba((function(t){var e=al(t);return dc(e)&&(e=a),ja(Dr(t,1,dc,!0),Vo(e,2))})),Il=ba((function(t){var e=al(t);return e="function"==typeof e?e:a,ja(Dr(t,1,dc,!0),a,e)}));function Yl(t){return t&&t.length?ja(t):[]}function Cl(t,e){return t&&t.length?ja(t,Vo(e,2)):[]}function jl(t,e){return e="function"==typeof e?e:a,t&&t.length?ja(t,a,e):[]}function Pl(t){if(!t||!t.length)return[];var e=0;return t=Ln(t,(function(t){if(dc(t))return e=ze(t.length,e),!0})),Xn(e,(function(e){return Dn(t,Fn(e))}))}function El(t,e){if(!t||!t.length)return[];var n=Pl(t);return null==e?n:Dn(n,(function(t){return bn(e,a,t)}))}var Rl=ba((function(t,e){return dc(t)?xr(t,e):[]})),Nl=ba((function(t){return Ha(Ln(t,dc))})),Hl=ba((function(t){var e=al(t);return dc(e)&&(e=a),Ha(Ln(t,dc),Vo(e,2))})),zl=ba((function(t){var e=al(t);return e="function"==typeof e?e:a,Ha(Ln(t,dc),a,e)})),Bl=ba(Pl);function Fl(t,e){return za(t||[],e||[],ur)}function Wl(t,e){return za(t||[],e||[],wa)}var Vl=ba((function(t){var e=t.length,n=e>1?t[e-1]:a;return n="function"==typeof n?(t.pop(),n):a,El(t,n)}));function Gl(t){var e=xi(t);return e.__chain__=!0,e}function Ul(t,e){return e(t),t}function Xl(t,e){return e(t)}var Zl=No((function(t){var e=t.length,n=e?t[0]:0,i=this.__wrapped__,r=function(e){return _r(e,t)};return!(e>1||this.__actions__.length)&&i instanceof Ti&&os(n)?(i=i.slice(n,+n+(e?1:0)),i.__actions__.push({func:Xl,args:[r],thisArg:a}),new ki(i,this.__chain__).thru((function(t){return e&&!t.length&&t.push(a),t}))):this.thru(r)}));function ql(){return Gl(this)}function Kl(){return new ki(this.value(),this.__chain__)}function Jl(){this.__values__===a&&(this.__values__=Uc(this.value()));var t=this.__index__>=this.__values__.length,e=t?a:this.__values__[this.__index__++];return{done:t,value:e}}function $l(){return this}function Ql(t){var e,n=this;while(n instanceof Li){var i=js(n);i.__index__=0,i.__values__=a,e?r.__wrapped__=i:e=i;var r=i;n=n.__wrapped__}return r.__wrapped__=t,e}function tu(){var t=this.__wrapped__;if(t instanceof Ti){var e=t;return this.__actions__.length&&(e=new Ti(this)),e=e.reverse(),e.__actions__.push({func:Xl,args:[fl],thisArg:a}),new ki(e,this.__chain__)}return this.thru(fl)}function eu(){return Na(this.__wrapped__,this.__actions__)}var nu=so((function(t,e,n){de.call(t,n)?++t[n]:fr(t,n,1)}));function iu(t,e,n){var i=lc(t)?Sn:Sr;return n&&ss(t,e,n)&&(e=a),i(t,Vo(e,3))}function ru(t,e){var n=lc(t)?Ln:Tr;return n(t,Vo(e,3))}var au=mo(Us),ou=mo(Xs);function su(t,e){return Dr(gu(t,e),1)}function lu(t,e){return Dr(gu(t,e),E)}function uu(t,e,n){return n=n===a?1:Zc(n),Dr(gu(t,e),n)}function cu(t,e){var n=lc(t)?Mn:Mr;return n(t,Vo(e,3))}function du(t,e){var n=lc(t)?wn:wr;return n(t,Vo(e,3))}var hu=so((function(t,e,n){de.call(t,n)?t[n].push(e):fr(t,n,[e])}));function pu(t,e,n,i){t=cc(t)?t:Bd(t),n=n&&!i?Zc(n):0;var r=t.length;return n<0&&(n=ze(r+n,0)),Nc(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&Nn(t,e,n)>-1}var fu=ba((function(t,e,i){var r=-1,a="function"==typeof e,o=cc(t)?n(t.length):[];return Mr(t,(function(t){o[++r]=a?bn(e,t,i):Wr(t,e,i)})),o})),_u=so((function(t,e,n){fr(t,n,e)}));function gu(t,e){var n=lc(t)?Dn:aa;return n(t,Vo(e,3))}function mu(t,e,n,i){return null==t?[]:(lc(e)||(e=null==e?[]:[e]),n=i?a:n,lc(n)||(n=null==n?[]:[n]),da(t,e,n))}var yu=so((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));function vu(t,e,n){var i=lc(t)?An:Vn,r=arguments.length<3;return i(t,Vo(e,4),n,r,Mr)}function bu(t,e,n){var i=lc(t)?In:Vn,r=arguments.length<3;return i(t,Vo(e,4),n,r,wr)}function xu(t,e){var n=lc(t)?Ln:Tr;return n(t,Bu(Vo(e,3)))}function Mu(t){var e=lc(t)?ar:xa;return e(t)}function wu(t,e,n){e=(n?ss(t,e,n):e===a)?1:Zc(e);var i=lc(t)?or:Ma;return i(t,e)}function Su(t){var e=lc(t)?sr:ka;return e(t)}function Lu(t){if(null==t)return 0;if(cc(t))return Nc(t)?gi(t):t.length;var e=Jo(t);return e==Q||e==ot?t.size:na(t).length}function ku(t,e,n){var i=lc(t)?Yn:Da;return n&&ss(t,e,n)&&(e=a),i(t,Vo(e,3))}var Tu=ba((function(t,e){if(null==t)return[];var n=e.length;return n>1&&ss(t,e[0],e[1])?e=[]:n>2&&ss(e[0],e[1],e[2])&&(e=[e[0]]),da(t,Dr(e,1),[])})),Du=Ie||function(){return ln.Date.now()};function Ou(t,e){if("function"!=typeof e)throw new ae(u);return t=Zc(t),function(){if(--t<1)return e.apply(this,arguments)}}function Au(t,e,n){return e=n?a:e,e=t&&null==e?t.length:e,Io(t,k,a,a,a,a,e)}function Iu(t,e){var n;if("function"!=typeof e)throw new ae(u);return t=Zc(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=a),n}}var Yu=ba((function(t,e,n){var i=v;if(n.length){var r=di(n,Wo(Yu));i|=S}return Io(t,i,e,n,r)})),Cu=ba((function(t,e,n){var i=v|b;if(n.length){var r=di(n,Wo(Cu));i|=S}return Io(e,i,t,n,r)}));function ju(t,e,n){e=n?a:e;var i=Io(t,M,a,a,a,a,a,e);return i.placeholder=ju.placeholder,i}function Pu(t,e,n){e=n?a:e;var i=Io(t,w,a,a,a,a,a,e);return i.placeholder=Pu.placeholder,i}function Eu(t,e,n){var i,r,o,s,l,c,d=0,h=!1,p=!1,f=!0;if("function"!=typeof t)throw new ae(u);function _(e){var n=i,o=r;return i=r=a,d=e,s=t.apply(o,n),s}function g(t){return d=t,l=Ls(v,e),h?_(t):s}function m(t){var n=t-c,i=t-d,r=e-n;return p?Be(r,o-i):r}function y(t){var n=t-c,i=t-d;return c===a||n>=e||n<0||p&&i>=o}function v(){var t=Du();if(y(t))return b(t);l=Ls(v,m(t))}function b(t){return l=a,f&&i?_(t):(i=r=a,s)}function x(){l!==a&&Ua(l),d=0,i=c=r=l=a}function M(){return l===a?s:b(Du())}function w(){var t=Du(),n=y(t);if(i=arguments,r=this,c=t,n){if(l===a)return g(c);if(p)return Ua(l),l=Ls(v,e),_(c)}return l===a&&(l=Ls(v,e)),s}return e=Kc(e)||0,Sc(n)&&(h=!!n.leading,p="maxWait"in n,o=p?ze(Kc(n.maxWait)||0,e):o,f="trailing"in n?!!n.trailing:f),w.cancel=x,w.flush=M,w}var Ru=ba((function(t,e){return br(t,1,e)})),Nu=ba((function(t,e,n){return br(t,Kc(e)||0,n)}));function Hu(t){return Io(t,D)}function zu(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new ae(u);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=t.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(zu.Cache||Wi),n}function Bu(t){if("function"!=typeof t)throw new ae(u);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Fu(t){return Iu(2,t)}zu.Cache=Wi;var Wu=Va((function(t,e){e=1==e.length&&lc(e[0])?Dn(e[0],Kn(Vo())):Dn(Dr(e,1),Kn(Vo()));var n=e.length;return ba((function(i){var r=-1,a=Be(i.length,n);while(++r<a)i[r]=e[r].call(this,i[r]);return bn(t,this,i)}))})),Vu=ba((function(t,e){var n=di(e,Wo(Vu));return Io(t,S,a,e,n)})),Gu=ba((function(t,e){var n=di(e,Wo(Gu));return Io(t,L,a,e,n)})),Uu=No((function(t,e){return Io(t,T,a,a,a,e)}));function Xu(t,e){if("function"!=typeof t)throw new ae(u);return e=e===a?e:Zc(e),ba(t,e)}function Zu(t,e){if("function"!=typeof t)throw new ae(u);return e=null==e?0:ze(Zc(e),0),ba((function(n){var i=n[e],r=Ga(n,0,e);return i&&On(r,i),bn(t,this,r)}))}function qu(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new ae(u);return Sc(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Eu(t,e,{leading:i,maxWait:e,trailing:r})}function Ku(t){return Au(t,1)}function Ju(t,e){return Vu(Fa(e),t)}function $u(){if(!arguments.length)return[];var t=arguments[0];return lc(t)?t:[t]}function Qu(t){return mr(t,g)}function tc(t,e){return e="function"==typeof e?e:a,mr(t,g,e)}function ec(t){return mr(t,f|g)}function nc(t,e){return e="function"==typeof e?e:a,mr(t,f|g,e)}function ic(t,e){return null==e||vr(t,e,Md(e))}function rc(t,e){return t===e||t!==t&&e!==e}var ac=ko(Rr),oc=ko((function(t,e){return t>=e})),sc=Vr(function(){return arguments}())?Vr:function(t){return Lc(t)&&de.call(t,"callee")&&!Se.call(t,"callee")},lc=n.isArray,uc=fn?Kn(fn):Gr;function cc(t){return null!=t&&wc(t.length)&&!xc(t)}function dc(t){return Lc(t)&&cc(t)}function hc(t){return!0===t||!1===t||Lc(t)&&Er(t)==X}var pc=Ee||Zh,fc=_n?Kn(_n):Ur;function _c(t){return Lc(t)&&1===t.nodeType&&!jc(t)}function gc(t){if(null==t)return!0;if(cc(t)&&(lc(t)||"string"==typeof t||"function"==typeof t.splice||pc(t)||zc(t)||sc(t)))return!t.length;var e=Jo(t);if(e==Q||e==ot)return!t.size;if(ps(t))return!na(t).length;for(var n in t)if(de.call(t,n))return!1;return!0}function mc(t,e){return Xr(t,e)}function yc(t,e,n){n="function"==typeof n?n:a;var i=n?n(t,e):a;return i===a?Xr(t,e,a,n):!!i}function vc(t){if(!Lc(t))return!1;var e=Er(t);return e==K||e==q||"string"==typeof t.message&&"string"==typeof t.name&&!jc(t)}function bc(t){return"number"==typeof t&&Re(t)}function xc(t){if(!Sc(t))return!1;var e=Er(t);return e==J||e==$||e==U||e==rt}function Mc(t){return"number"==typeof t&&t==Zc(t)}function wc(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=R}function Sc(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Lc(t){return null!=t&&"object"==typeof t}var kc=gn?Kn(gn):qr;function Tc(t,e){return t===e||Kr(t,e,Uo(e))}function Dc(t,e,n){return n="function"==typeof n?n:a,Kr(t,e,Uo(e),n)}function Oc(t){return Cc(t)&&t!=+t}function Ac(t){if(hs(t))throw new r(l);return Jr(t)}function Ic(t){return null===t}function Yc(t){return null==t}function Cc(t){return"number"==typeof t||Lc(t)&&Er(t)==tt}function jc(t){if(!Lc(t)||Er(t)!=nt)return!1;var e=Me(t);if(null===e)return!0;var n=de.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&ce.call(n)==_e}var Pc=mn?Kn(mn):$r;function Ec(t){return Mc(t)&&t>=-R&&t<=R}var Rc=yn?Kn(yn):Qr;function Nc(t){return"string"==typeof t||!lc(t)&&Lc(t)&&Er(t)==st}function Hc(t){return"symbol"==typeof t||Lc(t)&&Er(t)==lt}var zc=vn?Kn(vn):ta;function Bc(t){return t===a}function Fc(t){return Lc(t)&&Jo(t)==ct}function Wc(t){return Lc(t)&&Er(t)==dt}var Vc=ko(ra),Gc=ko((function(t,e){return t<=e}));function Uc(t){if(!t)return[];if(cc(t))return Nc(t)?mi(t):io(t);if(Te&&t[Te])return li(t[Te]());var e=Jo(t),n=e==Q?ui:e==ot?hi:Bd;return n(t)}function Xc(t){if(!t)return 0===t?t:0;if(t=Kc(t),t===E||t===-E){var e=t<0?-1:1;return e*N}return t===t?t:0}function Zc(t){var e=Xc(t),n=e%1;return e===e?n?e-n:e:0}function qc(t){return t?gr(Zc(t),0,z):0}function Kc(t){if("number"==typeof t)return t;if(Hc(t))return H;if(Sc(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Sc(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=qn(t);var n=qt.test(t);return n||Jt.test(t)?an(t.slice(2),n?2:8):Zt.test(t)?H:+t}function Jc(t){return ro(t,wd(t))}function $c(t){return t?gr(Zc(t),-R,R):0===t?t:0}function Qc(t){return null==t?"":Ca(t)}var td=lo((function(t,e){if(ps(e)||cc(e))ro(e,Md(e),t);else for(var n in e)de.call(e,n)&&ur(t,n,e[n])})),ed=lo((function(t,e){ro(e,wd(e),t)})),nd=lo((function(t,e,n,i){ro(e,wd(e),t,i)})),id=lo((function(t,e,n,i){ro(e,Md(e),t,i)})),rd=No(_r);function ad(t,e){var n=wi(t);return null==e?n:hr(n,e)}var od=ba((function(t,e){t=ne(t);var n=-1,i=e.length,r=i>2?e[2]:a;r&&ss(e[0],e[1],r)&&(i=1);while(++n<i){var o=e[n],s=wd(o),l=-1,u=s.length;while(++l<u){var c=s[l],d=t[c];(d===a||rc(d,le[c])&&!de.call(t,c))&&(t[c]=o[c])}}return t})),sd=ba((function(t){return t.push(a,Co),bn(Td,a,t)}));function ld(t,e){return En(t,Vo(e,3),Ir)}function ud(t,e){return En(t,Vo(e,3),Yr)}function cd(t,e){return null==t?t:Or(t,Vo(e,3),wd)}function dd(t,e){return null==t?t:Ar(t,Vo(e,3),wd)}function hd(t,e){return t&&Ir(t,Vo(e,3))}function pd(t,e){return t&&Yr(t,Vo(e,3))}function fd(t){return null==t?[]:Cr(t,Md(t))}function _d(t){return null==t?[]:Cr(t,wd(t))}function gd(t,e,n){var i=null==t?a:jr(t,e);return i===a?n:i}function md(t,e){return null!=t&&ts(t,e,Nr)}function yd(t,e){return null!=t&&ts(t,e,Hr)}var vd=bo((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=fe.call(e)),t[e]=n}),kh(Ah)),bd=bo((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=fe.call(e)),de.call(t,e)?t[e].push(n):t[e]=[n]}),Vo),xd=ba(Wr);function Md(t){return cc(t)?rr(t):na(t)}function wd(t){return cc(t)?rr(t,!0):ia(t)}function Sd(t,e){var n={};return e=Vo(e,3),Ir(t,(function(t,i,r){fr(n,e(t,i,r),t)})),n}function Ld(t,e){var n={};return e=Vo(e,3),Ir(t,(function(t,i,r){fr(n,i,e(t,i,r))})),n}var kd=lo((function(t,e,n){la(t,e,n)})),Td=lo((function(t,e,n,i){la(t,e,n,i)})),Dd=No((function(t,e){var n={};if(null==t)return n;var i=!1;e=Dn(e,(function(e){return e=Wa(e,t),i||(i=e.length>1),e})),ro(t,zo(t),n),i&&(n=mr(n,f|_|g,jo));var r=e.length;while(r--)Pa(n,e[r]);return n}));function Od(t,e){return Id(t,Bu(Vo(e)))}var Ad=No((function(t,e){return null==t?{}:ha(t,e)}));function Id(t,e){if(null==t)return{};var n=Dn(zo(t),(function(t){return[t]}));return e=Vo(e),pa(t,n,(function(t,n){return e(t,n[0])}))}function Yd(t,e,n){e=Wa(e,t);var i=-1,r=e.length;r||(r=1,t=a);while(++i<r){var o=null==t?a:t[Is(e[i])];o===a&&(i=r,o=n),t=xc(o)?o.call(t):o}return t}function Cd(t,e,n){return null==t?t:wa(t,e,n)}function jd(t,e,n,i){return i="function"==typeof i?i:a,null==t?t:wa(t,e,n,i)}var Pd=Ao(Md),Ed=Ao(wd);function Rd(t,e,n){var i=lc(t),r=i||pc(t)||zc(t);if(e=Vo(e,4),null==n){var a=t&&t.constructor;n=r?i?new a:[]:Sc(t)&&xc(a)?wi(Me(t)):{}}return(r?Mn:Ir)(t,(function(t,i,r){return e(n,t,i,r)})),n}function Nd(t,e){return null==t||Pa(t,e)}function Hd(t,e,n){return null==t?t:Ea(t,e,Fa(n))}function zd(t,e,n,i){return i="function"==typeof i?i:a,null==t?t:Ea(t,e,Fa(n),i)}function Bd(t){return null==t?[]:Jn(t,Md(t))}function Fd(t){return null==t?[]:Jn(t,wd(t))}function Wd(t,e,n){return n===a&&(n=e,e=a),n!==a&&(n=Kc(n),n=n===n?n:0),e!==a&&(e=Kc(e),e=e===e?e:0),gr(Kc(t),e,n)}function Vd(t,e,n){return e=Xc(e),n===a?(n=e,e=0):n=Xc(n),t=Kc(t),zr(t,e,n)}function Gd(t,e,n){if(n&&"boolean"!=typeof n&&ss(t,e,n)&&(e=n=a),n===a&&("boolean"==typeof e?(n=e,e=a):"boolean"==typeof t&&(n=t,t=a)),t===a&&e===a?(t=0,e=1):(t=Xc(t),e===a?(e=t,t=0):e=Xc(e)),t>e){var i=t;t=e,e=i}if(n||t%1||e%1){var r=Ue();return Be(t+r*(e-t+rn("1e-"+((r+"").length-1))),e)}return ma(t,e)}var Ud=fo((function(t,e,n){return e=e.toLowerCase(),t+(n?Xd(e):e)}));function Xd(t){return bh(Qc(t).toLowerCase())}function Zd(t){return t=Qc(t),t&&t.replace(Qt,ni).replace(Ve,"")}function qd(t,e,n){t=Qc(t),e=Ca(e);var i=t.length;n=n===a?i:gr(Zc(n),0,i);var r=n;return n-=e.length,n>=0&&t.slice(n,r)==e}function Kd(t){return t=Qc(t),t&&Ot.test(t)?t.replace(Tt,ii):t}function Jd(t){return t=Qc(t),t&&Rt.test(t)?t.replace(Et,"\\$&"):t}var $d=fo((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Qd=fo((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),th=po("toLowerCase");function eh(t,e,n){t=Qc(t),e=Zc(e);var i=e?gi(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return wo(je(r),n)+t+wo(Ce(r),n)}function nh(t,e,n){t=Qc(t),e=Zc(e);var i=e?gi(t):0;return e&&i<e?t+wo(e-i,n):t}function ih(t,e,n){t=Qc(t),e=Zc(e);var i=e?gi(t):0;return e&&i<e?wo(e-i,n)+t:t}function rh(t,e,n){return n||null==e?e=0:e&&(e=+e),Ge(Qc(t).replace(Nt,""),e||0)}function ah(t,e,n){return e=(n?ss(t,e,n):e===a)?1:Zc(e),va(Qc(t),e)}function oh(){var t=arguments,e=Qc(t[0]);return t.length<3?e:e.replace(t[1],t[2])}var sh=fo((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));function lh(t,e,n){return n&&"number"!=typeof n&&ss(t,e,n)&&(e=n=a),n=n===a?z:n>>>0,n?(t=Qc(t),t&&("string"==typeof e||null!=e&&!Pc(e))&&(e=Ca(e),!e&&oi(t))?Ga(mi(t),0,n):t.split(e,n)):[]}var uh=fo((function(t,e,n){return t+(n?" ":"")+bh(e)}));function ch(t,e,n){return t=Qc(t),n=null==n?0:gr(Zc(n),0,t.length),e=Ca(e),t.slice(n,n+e.length)==e}function dh(t,e,n){var i=xi.templateSettings;n&&ss(t,e,n)&&(e=a),t=Qc(t),e=nd({},e,i,Yo);var o,s,l=nd({},e.imports,i.imports,Yo),u=Md(l),d=Jn(l,u),h=0,p=e.interpolate||te,f="__p += '",_=ie((e.escape||te).source+"|"+p.source+"|"+(p===Yt?Ut:te).source+"|"+(e.evaluate||te).source+"|$","g"),g="//# sourceURL="+(de.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ke+"]")+"\n";t.replace(_,(function(e,n,i,r,a,l){return i||(i=r),f+=t.slice(h,l).replace(ee,ri),n&&(o=!0,f+="' +\n__e("+n+") +\n'"),a&&(s=!0,f+="';\n"+a+";\n__p += '"),i&&(f+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),h=l+e.length,e})),f+="';\n";var m=de.call(e,"variable")&&e.variable;if(m){if(Vt.test(m))throw new r(c)}else f="with (obj) {\n"+f+"\n}\n";f=(s?f.replace(wt,""):f).replace(St,"$1").replace(Lt,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var y=Mh((function(){return Ht(u,g+"return "+f).apply(a,d)}));if(y.source=f,vc(y))throw y;return y}function hh(t){return Qc(t).toLowerCase()}function ph(t){return Qc(t).toUpperCase()}function fh(t,e,n){if(t=Qc(t),t&&(n||e===a))return qn(t);if(!t||!(e=Ca(e)))return t;var i=mi(t),r=mi(e),o=Qn(i,r),s=ti(i,r)+1;return Ga(i,o,s).join("")}function _h(t,e,n){if(t=Qc(t),t&&(n||e===a))return t.slice(0,yi(t)+1);if(!t||!(e=Ca(e)))return t;var i=mi(t),r=ti(i,mi(e))+1;return Ga(i,0,r).join("")}function gh(t,e,n){if(t=Qc(t),t&&(n||e===a))return t.replace(Nt,"");if(!t||!(e=Ca(e)))return t;var i=mi(t),r=Qn(i,mi(e));return Ga(i,r).join("")}function mh(t,e){var n=O,i=A;if(Sc(e)){var r="separator"in e?e.separator:r;n="length"in e?Zc(e.length):n,i="omission"in e?Ca(e.omission):i}t=Qc(t);var o=t.length;if(oi(t)){var s=mi(t);o=s.length}if(n>=o)return t;var l=n-gi(i);if(l<1)return i;var u=s?Ga(s,0,l).join(""):t.slice(0,l);if(r===a)return u+i;if(s&&(l+=u.length-l),Pc(r)){if(t.slice(l).search(r)){var c,d=u;r.global||(r=ie(r.source,Qc(Xt.exec(r))+"g")),r.lastIndex=0;while(c=r.exec(d))var h=c.index;u=u.slice(0,h===a?l:h)}}else if(t.indexOf(Ca(r),l)!=l){var p=u.lastIndexOf(r);p>-1&&(u=u.slice(0,p))}return u+i}function yh(t){return t=Qc(t),t&&Dt.test(t)?t.replace(kt,vi):t}var vh=fo((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),bh=po("toUpperCase");function xh(t,e,n){return t=Qc(t),e=n?a:e,e===a?si(t)?Mi(t):Pn(t):t.match(e)||[]}var Mh=ba((function(t,e){try{return bn(t,a,e)}catch(n){return vc(n)?n:new r(n)}})),wh=No((function(t,e){return Mn(e,(function(e){e=Is(e),fr(t,e,Yu(t[e],t))})),t}));function Sh(t){var e=null==t?0:t.length,n=Vo();return t=e?Dn(t,(function(t){if("function"!=typeof t[1])throw new ae(u);return[n(t[0]),t[1]]})):[],ba((function(n){var i=-1;while(++i<e){var r=t[i];if(bn(r[0],this,n))return bn(r[1],this,n)}}))}function Lh(t){return yr(mr(t,f))}function kh(t){return function(){return t}}function Th(t,e){return null==t||t!==t?e:t}var Dh=yo(),Oh=yo(!0);function Ah(t){return t}function Ih(t){return ea("function"==typeof t?t:mr(t,f))}function Yh(t){return oa(mr(t,f))}function Ch(t,e){return sa(t,mr(e,f))}var jh=ba((function(t,e){return function(n){return Wr(n,t,e)}})),Ph=ba((function(t,e){return function(n){return Wr(t,n,e)}}));function Eh(t,e,n){var i=Md(e),r=Cr(e,i);null!=n||Sc(e)&&(r.length||!i.length)||(n=e,e=t,t=this,r=Cr(e,Md(e)));var a=!(Sc(n)&&"chain"in n)||!!n.chain,o=xc(t);return Mn(r,(function(n){var i=e[n];t[n]=i,o&&(t.prototype[n]=function(){var e=this.__chain__;if(a||e){var n=t(this.__wrapped__),r=n.__actions__=io(this.__actions__);return r.push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,On([this.value()],arguments))})})),t}function Rh(){return ln._===this&&(ln._=ge),this}function Nh(){}function Hh(t){return t=Zc(t),ba((function(e){return ca(e,t)}))}var zh=Mo(Dn),Bh=Mo(Sn),Fh=Mo(Yn);function Wh(t){return ls(t)?Fn(Is(t)):fa(t)}function Vh(t){return function(e){return null==t?a:jr(t,e)}}var Gh=Lo(),Uh=Lo(!0);function Xh(){return[]}function Zh(){return!1}function qh(){return{}}function Kh(){return""}function Jh(){return!0}function $h(t,e){if(t=Zc(t),t<1||t>R)return[];var n=z,i=Be(t,z);e=Vo(e),t-=z;var r=Xn(i,e);while(++n<t)e(n);return r}function Qh(t){return lc(t)?Dn(t,Is):Hc(t)?[t]:io(As(Qc(t)))}function tp(t){var e=++he;return Qc(t)+e}var ep=xo((function(t,e){return t+e}),0),np=Do("ceil"),ip=xo((function(t,e){return t/e}),1),rp=Do("floor");function ap(t){return t&&t.length?Lr(t,Ah,Rr):a}function op(t,e){return t&&t.length?Lr(t,Vo(e,2),Rr):a}function sp(t){return Bn(t,Ah)}function lp(t,e){return Bn(t,Vo(e,2))}function up(t){return t&&t.length?Lr(t,Ah,ra):a}function cp(t,e){return t&&t.length?Lr(t,Vo(e,2),ra):a}var dp=xo((function(t,e){return t*e}),1),hp=Do("round"),pp=xo((function(t,e){return t-e}),0);function fp(t){return t&&t.length?Un(t,Ah):0}function _p(t,e){return t&&t.length?Un(t,Vo(e,2)):0}return xi.after=Ou,xi.ary=Au,xi.assign=td,xi.assignIn=ed,xi.assignInWith=nd,xi.assignWith=id,xi.at=rd,xi.before=Iu,xi.bind=Yu,xi.bindAll=wh,xi.bindKey=Cu,xi.castArray=$u,xi.chain=Gl,xi.chunk=Ps,xi.compact=Es,xi.concat=Rs,xi.cond=Sh,xi.conforms=Lh,xi.constant=kh,xi.countBy=nu,xi.create=ad,xi.curry=ju,xi.curryRight=Pu,xi.debounce=Eu,xi.defaults=od,xi.defaultsDeep=sd,xi.defer=Ru,xi.delay=Nu,xi.difference=Ns,xi.differenceBy=Hs,xi.differenceWith=zs,xi.drop=Bs,xi.dropRight=Fs,xi.dropRightWhile=Ws,xi.dropWhile=Vs,xi.fill=Gs,xi.filter=ru,xi.flatMap=su,xi.flatMapDeep=lu,xi.flatMapDepth=uu,xi.flatten=Zs,xi.flattenDeep=qs,xi.flattenDepth=Ks,xi.flip=Hu,xi.flow=Dh,xi.flowRight=Oh,xi.fromPairs=Js,xi.functions=fd,xi.functionsIn=_d,xi.groupBy=hu,xi.initial=tl,xi.intersection=el,xi.intersectionBy=nl,xi.intersectionWith=il,xi.invert=vd,xi.invertBy=bd,xi.invokeMap=fu,xi.iteratee=Ih,xi.keyBy=_u,xi.keys=Md,xi.keysIn=wd,xi.map=gu,xi.mapKeys=Sd,xi.mapValues=Ld,xi.matches=Yh,xi.matchesProperty=Ch,xi.memoize=zu,xi.merge=kd,xi.mergeWith=Td,xi.method=jh,xi.methodOf=Ph,xi.mixin=Eh,xi.negate=Bu,xi.nthArg=Hh,xi.omit=Dd,xi.omitBy=Od,xi.once=Fu,xi.orderBy=mu,xi.over=zh,xi.overArgs=Wu,xi.overEvery=Bh,xi.overSome=Fh,xi.partial=Vu,xi.partialRight=Gu,xi.partition=yu,xi.pick=Ad,xi.pickBy=Id,xi.property=Wh,xi.propertyOf=Vh,xi.pull=ll,xi.pullAll=ul,xi.pullAllBy=cl,xi.pullAllWith=dl,xi.pullAt=hl,xi.range=Gh,xi.rangeRight=Uh,xi.rearg=Uu,xi.reject=xu,xi.remove=pl,xi.rest=Xu,xi.reverse=fl,xi.sampleSize=wu,xi.set=Cd,xi.setWith=jd,xi.shuffle=Su,xi.slice=_l,xi.sortBy=Tu,xi.sortedUniq=Ml,xi.sortedUniqBy=wl,xi.split=lh,xi.spread=Zu,xi.tail=Sl,xi.take=Ll,xi.takeRight=kl,xi.takeRightWhile=Tl,xi.takeWhile=Dl,xi.tap=Ul,xi.throttle=qu,xi.thru=Xl,xi.toArray=Uc,xi.toPairs=Pd,xi.toPairsIn=Ed,xi.toPath=Qh,xi.toPlainObject=Jc,xi.transform=Rd,xi.unary=Ku,xi.union=Ol,xi.unionBy=Al,xi.unionWith=Il,xi.uniq=Yl,xi.uniqBy=Cl,xi.uniqWith=jl,xi.unset=Nd,xi.unzip=Pl,xi.unzipWith=El,xi.update=Hd,xi.updateWith=zd,xi.values=Bd,xi.valuesIn=Fd,xi.without=Rl,xi.words=xh,xi.wrap=Ju,xi.xor=Nl,xi.xorBy=Hl,xi.xorWith=zl,xi.zip=Bl,xi.zipObject=Fl,xi.zipObjectDeep=Wl,xi.zipWith=Vl,xi.entries=Pd,xi.entriesIn=Ed,xi.extend=ed,xi.extendWith=nd,Eh(xi,xi),xi.add=ep,xi.attempt=Mh,xi.camelCase=Ud,xi.capitalize=Xd,xi.ceil=np,xi.clamp=Wd,xi.clone=Qu,xi.cloneDeep=ec,xi.cloneDeepWith=nc,xi.cloneWith=tc,xi.conformsTo=ic,xi.deburr=Zd,xi.defaultTo=Th,xi.divide=ip,xi.endsWith=qd,xi.eq=rc,xi.escape=Kd,xi.escapeRegExp=Jd,xi.every=iu,xi.find=au,xi.findIndex=Us,xi.findKey=ld,xi.findLast=ou,xi.findLastIndex=Xs,xi.findLastKey=ud,xi.floor=rp,xi.forEach=cu,xi.forEachRight=du,xi.forIn=cd,xi.forInRight=dd,xi.forOwn=hd,xi.forOwnRight=pd,xi.get=gd,xi.gt=ac,xi.gte=oc,xi.has=md,xi.hasIn=yd,xi.head=$s,xi.identity=Ah,xi.includes=pu,xi.indexOf=Qs,xi.inRange=Vd,xi.invoke=xd,xi.isArguments=sc,xi.isArray=lc,xi.isArrayBuffer=uc,xi.isArrayLike=cc,xi.isArrayLikeObject=dc,xi.isBoolean=hc,xi.isBuffer=pc,xi.isDate=fc,xi.isElement=_c,xi.isEmpty=gc,xi.isEqual=mc,xi.isEqualWith=yc,xi.isError=vc,xi.isFinite=bc,xi.isFunction=xc,xi.isInteger=Mc,xi.isLength=wc,xi.isMap=kc,xi.isMatch=Tc,xi.isMatchWith=Dc,xi.isNaN=Oc,xi.isNative=Ac,xi.isNil=Yc,xi.isNull=Ic,xi.isNumber=Cc,xi.isObject=Sc,xi.isObjectLike=Lc,xi.isPlainObject=jc,xi.isRegExp=Pc,xi.isSafeInteger=Ec,xi.isSet=Rc,xi.isString=Nc,xi.isSymbol=Hc,xi.isTypedArray=zc,xi.isUndefined=Bc,xi.isWeakMap=Fc,xi.isWeakSet=Wc,xi.join=rl,xi.kebabCase=$d,xi.last=al,xi.lastIndexOf=ol,xi.lowerCase=Qd,xi.lowerFirst=th,xi.lt=Vc,xi.lte=Gc,xi.max=ap,xi.maxBy=op,xi.mean=sp,xi.meanBy=lp,xi.min=up,xi.minBy=cp,xi.stubArray=Xh,xi.stubFalse=Zh,xi.stubObject=qh,xi.stubString=Kh,xi.stubTrue=Jh,xi.multiply=dp,xi.nth=sl,xi.noConflict=Rh,xi.noop=Nh,xi.now=Du,xi.pad=eh,xi.padEnd=nh,xi.padStart=ih,xi.parseInt=rh,xi.random=Gd,xi.reduce=vu,xi.reduceRight=bu,xi.repeat=ah,xi.replace=oh,xi.result=Yd,xi.round=hp,xi.runInContext=t,xi.sample=Mu,xi.size=Lu,xi.snakeCase=sh,xi.some=ku,xi.sortedIndex=gl,xi.sortedIndexBy=ml,xi.sortedIndexOf=yl,xi.sortedLastIndex=vl,xi.sortedLastIndexBy=bl,xi.sortedLastIndexOf=xl,xi.startCase=uh,xi.startsWith=ch,xi.subtract=pp,xi.sum=fp,xi.sumBy=_p,xi.template=dh,xi.times=$h,xi.toFinite=Xc,xi.toInteger=Zc,xi.toLength=qc,xi.toLower=hh,xi.toNumber=Kc,xi.toSafeInteger=$c,xi.toString=Qc,xi.toUpper=ph,xi.trim=fh,xi.trimEnd=_h,xi.trimStart=gh,xi.truncate=mh,xi.unescape=yh,xi.uniqueId=tp,xi.upperCase=vh,xi.upperFirst=bh,xi.each=cu,xi.eachRight=du,xi.first=$s,Eh(xi,function(){var t={};return Ir(xi,(function(e,n){de.call(xi.prototype,n)||(t[n]=e)})),t}(),{chain:!1}),xi.VERSION=o,Mn(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){xi[t].placeholder=xi})),Mn(["drop","take"],(function(t,e){Ti.prototype[t]=function(n){n=n===a?1:ze(Zc(n),0);var i=this.__filtered__&&!e?new Ti(this):this.clone();return i.__filtered__?i.__takeCount__=Be(n,i.__takeCount__):i.__views__.push({size:Be(n,z),type:t+(i.__dir__<0?"Right":"")}),i},Ti.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),Mn(["filter","map","takeWhile"],(function(t,e){var n=e+1,i=n==C||n==P;Ti.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Vo(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}})),Mn(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Ti.prototype[t]=function(){return this[n](1).value()[0]}})),Mn(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Ti.prototype[t]=function(){return this.__filtered__?new Ti(this):this[n](1)}})),Ti.prototype.compact=function(){return this.filter(Ah)},Ti.prototype.find=function(t){return this.filter(t).head()},Ti.prototype.findLast=function(t){return this.reverse().find(t)},Ti.prototype.invokeMap=ba((function(t,e){return"function"==typeof t?new Ti(this):this.map((function(n){return Wr(n,t,e)}))})),Ti.prototype.reject=function(t){return this.filter(Bu(Vo(t)))},Ti.prototype.slice=function(t,e){t=Zc(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Ti(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==a&&(e=Zc(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},Ti.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Ti.prototype.toArray=function(){return this.take(z)},Ir(Ti.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),r=xi[i?"take"+("last"==e?"Right":""):e],o=i||/^find/.test(e);r&&(xi.prototype[e]=function(){var e=this.__wrapped__,s=i?[1]:arguments,l=e instanceof Ti,u=s[0],c=l||lc(e),d=function(t){var e=r.apply(xi,On([t],s));return i&&h?e[0]:e};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var h=this.__chain__,p=!!this.__actions__.length,f=o&&!h,_=l&&!p;if(!o&&c){e=_?e:new Ti(this);var g=t.apply(e,s);return g.__actions__.push({func:Xl,args:[d],thisArg:a}),new ki(g,h)}return f&&_?t.apply(this,s):(g=this.thru(d),f?i?g.value()[0]:g.value():g)})})),Mn(["pop","push","shift","sort","splice","unshift"],(function(t){var e=oe[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);xi.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(lc(r)?r:[],t)}return this[n]((function(n){return e.apply(lc(n)?n:[],t)}))}})),Ir(Ti.prototype,(function(t,e){var n=xi[e];if(n){var i=n.name+"";de.call(un,i)||(un[i]=[]),un[i].push({name:e,func:n})}})),un[vo(a,b).name]=[{name:"wrapper",func:a}],Ti.prototype.clone=Di,Ti.prototype.reverse=Oi,Ti.prototype.value=Ai,xi.prototype.at=Zl,xi.prototype.chain=ql,xi.prototype.commit=Kl,xi.prototype.next=Jl,xi.prototype.plant=Ql,xi.prototype.reverse=tu,xi.prototype.toJSON=xi.prototype.valueOf=xi.prototype.value=eu,xi.prototype.first=xi.prototype.head,Te&&(xi.prototype[Te]=$l),xi},Si=wi();ln._=Si,r=function(){return Si}.call(e,n,e,i),r===a||(i.exports=r)}).call(this)}).call(this,n("c8ba"),n("62e4")(t))},3022:function(t,e,n){(function(t){var i=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),n={},i=0;i<e.length;i++)n[e[i]]=Object.getOwnPropertyDescriptor(t,e[i]);return n},r=/%[sdj%]/g;e.format=function(t){if(!M(t)){for(var e=[],n=0;n<arguments.length;n++)e.push(s(arguments[n]));return e.join(" ")}n=1;for(var i=arguments,a=i.length,o=String(t).replace(r,(function(t){if("%%"===t)return"%";if(n>=a)return t;switch(t){case"%s":return String(i[n++]);case"%d":return Number(i[n++]);case"%j":try{return JSON.stringify(i[n++])}catch(e){return"[Circular]"}default:return t}})),l=i[n];n<a;l=i[++n])v(l)||!k(l)?o+=" "+l:o+=" "+s(l);return o},e.deprecate=function(n,i){if("undefined"!==typeof t&&!0===t.noDeprecation)return n;if("undefined"===typeof t)return function(){return e.deprecate(n,i).apply(this,arguments)};var r=!1;function a(){if(!r){if(t.throwDeprecation)throw new Error(i);t.traceDeprecation?console.trace(i):console.error(i),r=!0}return n.apply(this,arguments)}return a};var a,o={};function s(t,n){var i={seen:[],stylize:u};return arguments.length>=3&&(i.depth=arguments[2]),arguments.length>=4&&(i.colors=arguments[3]),y(n)?i.showHidden=n:n&&e._extend(i,n),S(i.showHidden)&&(i.showHidden=!1),S(i.depth)&&(i.depth=2),S(i.colors)&&(i.colors=!1),S(i.customInspect)&&(i.customInspect=!0),i.colors&&(i.stylize=l),d(i,t,i.depth)}function l(t,e){var n=s.styles[e];return n?"["+s.colors[n][0]+"m"+t+"["+s.colors[n][1]+"m":t}function u(t,e){return t}function c(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}function d(t,n,i){if(t.customInspect&&n&&O(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var r=n.inspect(i,t);return M(r)||(r=d(t,r,i)),r}var a=h(t,n);if(a)return a;var o=Object.keys(n),s=c(o);if(t.showHidden&&(o=Object.getOwnPropertyNames(n)),D(n)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return p(n);if(0===o.length){if(O(n)){var l=n.name?": "+n.name:"";return t.stylize("[Function"+l+"]","special")}if(L(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(T(n))return t.stylize(Date.prototype.toString.call(n),"date");if(D(n))return p(n)}var u,y="",v=!1,b=["{","}"];if(m(n)&&(v=!0,b=["[","]"]),O(n)){var x=n.name?": "+n.name:"";y=" [Function"+x+"]"}return L(n)&&(y=" "+RegExp.prototype.toString.call(n)),T(n)&&(y=" "+Date.prototype.toUTCString.call(n)),D(n)&&(y=" "+p(n)),0!==o.length||v&&0!=n.length?i<0?L(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special"):(t.seen.push(n),u=v?f(t,n,i,s,o):o.map((function(e){return _(t,n,i,s,e,v)})),t.seen.pop(),g(u,y,b)):b[0]+y+b[1]}function h(t,e){if(S(e))return t.stylize("undefined","undefined");if(M(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return x(e)?t.stylize(""+e,"number"):y(e)?t.stylize(""+e,"boolean"):v(e)?t.stylize("null","null"):void 0}function p(t){return"["+Error.prototype.toString.call(t)+"]"}function f(t,e,n,i,r){for(var a=[],o=0,s=e.length;o<s;++o)P(e,String(o))?a.push(_(t,e,n,i,String(o),!0)):a.push("");return r.forEach((function(r){r.match(/^\d+$/)||a.push(_(t,e,n,i,r,!0))})),a}function _(t,e,n,i,r,a){var o,s,l;if(l=Object.getOwnPropertyDescriptor(e,r)||{value:e[r]},l.get?s=l.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):l.set&&(s=t.stylize("[Setter]","special")),P(i,r)||(o="["+r+"]"),s||(t.seen.indexOf(l.value)<0?(s=v(n)?d(t,l.value,null):d(t,l.value,n-1),s.indexOf("\n")>-1&&(s=a?s.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n"))):s=t.stylize("[Circular]","special")),S(o)){if(a&&r.match(/^\d+$/))return s;o=JSON.stringify(""+r),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+s}function g(t,e,n){var i=t.reduce((function(t,e){return e.indexOf("\n")>=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0);return i>60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}function m(t){return Array.isArray(t)}function y(t){return"boolean"===typeof t}function v(t){return null===t}function b(t){return null==t}function x(t){return"number"===typeof t}function M(t){return"string"===typeof t}function w(t){return"symbol"===typeof t}function S(t){return void 0===t}function L(t){return k(t)&&"[object RegExp]"===I(t)}function k(t){return"object"===typeof t&&null!==t}function T(t){return k(t)&&"[object Date]"===I(t)}function D(t){return k(t)&&("[object Error]"===I(t)||t instanceof Error)}function O(t){return"function"===typeof t}function A(t){return null===t||"boolean"===typeof t||"number"===typeof t||"string"===typeof t||"symbol"===typeof t||"undefined"===typeof t}function I(t){return Object.prototype.toString.call(t)}function Y(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(n){if(S(a)&&(a=Object({NODE_ENV:"production",VUE_APP_BASE_API:"/API",VUE_APP_TITLE:"调解系统",BASE_URL:"/"}).NODE_DEBUG||""),n=n.toUpperCase(),!o[n])if(new RegExp("\\b"+n+"\\b","i").test(a)){var i=t.pid;o[n]=function(){var t=e.format.apply(e,arguments);console.error("%s %d: %s",n,i,t)}}else o[n]=function(){};return o[n]},e.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=m,e.isBoolean=y,e.isNull=v,e.isNullOrUndefined=b,e.isNumber=x,e.isString=M,e.isSymbol=w,e.isUndefined=S,e.isRegExp=L,e.isObject=k,e.isDate=T,e.isError=D,e.isFunction=O,e.isPrimitive=A,e.isBuffer=n("d60a");var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function j(){var t=new Date,e=[Y(t.getHours()),Y(t.getMinutes()),Y(t.getSeconds())].join(":");return[t.getDate(),C[t.getMonth()],e].join(" ")}function P(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){console.log("%s - %s",j(),e.format.apply(e,arguments))},e.inherits=n("28a0"),e._extend=function(t,e){if(!e||!k(e))return t;var n=Object.keys(e),i=n.length;while(i--)t[n[i]]=e[n[i]];return t};var E="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function R(t,e){if(!t){var n=new Error("Promise was rejected with a falsy value");n.reason=t,t=n}return e(t)}function N(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],i=0;i<arguments.length;i++)n.push(arguments[i]);var r=n.pop();if("function"!==typeof r)throw new TypeError("The last argument must be of type Function");var a=this,o=function(){return r.apply(a,arguments)};e.apply(this,n).then((function(e){t.nextTick(o,null,e)}),(function(e){t.nextTick(R,e,o)}))}return Object.setPrototypeOf(n,Object.getPrototypeOf(e)),Object.defineProperties(n,i(e)),n}e.promisify=function(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');if(E&&t[E]){var e=t[E];if("function"!==typeof e)throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,E,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,n,i=new Promise((function(t,i){e=t,n=i})),r=[],a=0;a<arguments.length;a++)r.push(arguments[a]);r.push((function(t,i){t?n(t):e(i)}));try{t.apply(this,r)}catch(o){n(o)}return i}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),E&&Object.defineProperty(e,E,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,i(t))},e.promisify.custom=E,e.callbackify=N}).call(this,n("4362"))},"313e":function(t,e,n){"use strict";n.r(e),n.d(e,"version",(function(){return Dv})),n.d(e,"dependencies",(function(){return Ov})),n.d(e,"PRIORITY",(function(){return Uv})),n.d(e,"init",(function(){return zb})),n.d(e,"connect",(function(){return Bb})),n.d(e,"disConnect",(function(){return Fb})),n.d(e,"disconnect",(function(){return Wb})),n.d(e,"dispose",(function(){return Vb})),n.d(e,"getInstanceByDom",(function(){return Gb})),n.d(e,"getInstanceById",(function(){return Ub})),n.d(e,"registerTheme",(function(){return Xb})),n.d(e,"registerPreprocessor",(function(){return Zb})),n.d(e,"registerProcessor",(function(){return qb})),n.d(e,"registerPostInit",(function(){return Kb})),n.d(e,"registerPostUpdate",(function(){return Jb})),n.d(e,"registerUpdateLifecycle",(function(){return $b})),n.d(e,"registerAction",(function(){return Qb})),n.d(e,"registerCoordinateSystem",(function(){return tx})),n.d(e,"getCoordinateSystemDimensions",(function(){return ex})),n.d(e,"registerLocale",(function(){return ac})),n.d(e,"registerLayout",(function(){return nx})),n.d(e,"registerVisual",(function(){return ix})),n.d(e,"registerLoading",(function(){return ox})),n.d(e,"setCanvasCreator",(function(){return sx})),n.d(e,"registerMap",(function(){return lx})),n.d(e,"getMap",(function(){return ux})),n.d(e,"registerTransform",(function(){return cx})),n.d(e,"dataTool",(function(){return dx})),n.d(e,"zrender",(function(){return a})),n.d(e,"matrix",(function(){return r})),n.d(e,"vector",(function(){return i})),n.d(e,"zrUtil",(function(){return g})),n.d(e,"color",(function(){return $e})),n.d(e,"throttle",(function(){return mm})),n.d(e,"helper",(function(){return s})),n.d(e,"use",(function(){return fx})),n.d(e,"setPlatformAPI",(function(){return hi["e"]})),n.d(e,"parseGeoJSON",(function(){return aS})),n.d(e,"parseGeoJson",(function(){return aS})),n.d(e,"number",(function(){return l})),n.d(e,"time",(function(){return u})),n.d(e,"graphic",(function(){return c})),n.d(e,"format",(function(){return d})),n.d(e,"util",(function(){return h})),n.d(e,"env",(function(){return _["a"]})),n.d(e,"List",(function(){return Zx})),n.d(e,"Model",(function(){return Gu})),n.d(e,"Axis",(function(){return kS})),n.d(e,"ComponentModel",(function(){return gd})),n.d(e,"ComponentView",(function(){return Uf})),n.d(e,"SeriesModel",(function(){return Vf})),n.d(e,"ChartView",(function(){return pm})),n.d(e,"innerDrawElementOnCanvas",(function(){return uv})),n.d(e,"extendComponentModel",(function(){return TS})),n.d(e,"extendComponentView",(function(){return DS})),n.d(e,"extendSeriesModel",(function(){return OS})),n.d(e,"extendChartView",(function(){return AS}));var i={};n.r(i),n.d(i,"create",(function(){return m})),n.d(i,"copy",(function(){return y})),n.d(i,"clone",(function(){return v})),n.d(i,"set",(function(){return b})),n.d(i,"add",(function(){return x})),n.d(i,"scaleAndAdd",(function(){return M})),n.d(i,"sub",(function(){return w})),n.d(i,"len",(function(){return S})),n.d(i,"length",(function(){return L})),n.d(i,"lenSquare",(function(){return k})),n.d(i,"lengthSquare",(function(){return T})),n.d(i,"mul",(function(){return D})),n.d(i,"div",(function(){return O})),n.d(i,"dot",(function(){return A})),n.d(i,"scale",(function(){return I})),n.d(i,"normalize",(function(){return Y})),n.d(i,"distance",(function(){return C})),n.d(i,"dist",(function(){return j})),n.d(i,"distanceSquare",(function(){return P})),n.d(i,"distSquare",(function(){return E})),n.d(i,"negate",(function(){return R})),n.d(i,"lerp",(function(){return N})),n.d(i,"applyTransform",(function(){return H})),n.d(i,"min",(function(){return z})),n.d(i,"max",(function(){return B}));var r={};n.r(r),n.d(r,"create",(function(){return Mt})),n.d(r,"identity",(function(){return wt})),n.d(r,"copy",(function(){return St})),n.d(r,"mul",(function(){return Lt})),n.d(r,"translate",(function(){return kt})),n.d(r,"rotate",(function(){return Tt})),n.d(r,"scale",(function(){return Dt})),n.d(r,"invert",(function(){return Ot})),n.d(r,"clone",(function(){return At}));var a={};n.r(a),n.d(a,"init",(function(){return Wi})),n.d(a,"dispose",(function(){return Vi})),n.d(a,"disposeAll",(function(){return Gi})),n.d(a,"getInstance",(function(){return Ui})),n.d(a,"registerPainter",(function(){return Xi})),n.d(a,"version",(function(){return Zi}));var o={};n.r(o),n.d(o,"updateProps",(function(){return lu})),n.d(o,"initProps",(function(){return uu})),n.d(o,"removeElement",(function(){return du})),n.d(o,"removeElementWithFadeOut",(function(){return pu})),n.d(o,"isElementRemoved",(function(){return cu})),n.d(o,"extendShape",(function(){return Ag})),n.d(o,"extendPath",(function(){return Yg})),n.d(o,"registerShape",(function(){return Cg})),n.d(o,"getShapeClass",(function(){return jg})),n.d(o,"makePath",(function(){return Pg})),n.d(o,"makeImage",(function(){return Eg})),n.d(o,"mergePath",(function(){return Ng})),n.d(o,"resizePath",(function(){return Hg})),n.d(o,"subPixelOptimizeLine",(function(){return zg})),n.d(o,"subPixelOptimizeRect",(function(){return Bg})),n.d(o,"subPixelOptimize",(function(){return Fg})),n.d(o,"getTransform",(function(){return Wg})),n.d(o,"applyTransform",(function(){return Vg})),n.d(o,"transformDirection",(function(){return Gg})),n.d(o,"groupTransition",(function(){return Zg})),n.d(o,"clipPointsByRect",(function(){return qg})),n.d(o,"clipRectByRect",(function(){return Kg})),n.d(o,"createIcon",(function(){return Jg})),n.d(o,"linePolygonIntersect",(function(){return $g})),n.d(o,"lineLineIntersect",(function(){return Qg})),n.d(o,"setTooltipConfig",(function(){return nm})),n.d(o,"traverseElements",(function(){return rm})),n.d(o,"Group",(function(){return Ri})),n.d(o,"Image",(function(){return _s})),n.d(o,"Text",(function(){return Fs})),n.d(o,"Circle",(function(){return v_})),n.d(o,"Ellipse",(function(){return M_})),n.d(o,"Sector",(function(){return z_})),n.d(o,"Ring",(function(){return W_})),n.d(o,"Polygon",(function(){return Z_})),n.d(o,"Polyline",(function(){return J_})),n.d(o,"Rect",(function(){return Ss})),n.d(o,"Line",(function(){return eg})),n.d(o,"BezierCurve",(function(){return og})),n.d(o,"Arc",(function(){return ug})),n.d(o,"IncrementalDisplayable",(function(){return kg})),n.d(o,"CompoundPath",(function(){return dg})),n.d(o,"LinearGradient",(function(){return _g})),n.d(o,"RadialGradient",(function(){return mg})),n.d(o,"BoundingRect",(function(){return Ft})),n.d(o,"OrientedBoundingRect",(function(){return wg})),n.d(o,"Point",(function(){return Yt})),n.d(o,"Path",(function(){return ss}));var s={};n.r(s),n.d(s,"createList",(function(){return Hw})),n.d(s,"getLayoutRect",(function(){return od})),n.d(s,"createDimensions",(function(){return qx})),n.d(s,"dataStack",(function(){return zw})),n.d(s,"createSymbol",(function(){return ky})),n.d(s,"createScale",(function(){return Bw})),n.d(s,"mixinAxisModelCommonMethods",(function(){return Fw})),n.d(s,"getECData",(function(){return Ws})),n.d(s,"enableHoverEmphasis",(function(){return Gl})),n.d(s,"createTextStyle",(function(){return Ww}));var l={};n.r(l),n.d(l,"linearMap",(function(){return $i})),n.d(l,"round",(function(){return tr})),n.d(l,"asc",(function(){return er})),n.d(l,"getPrecision",(function(){return nr})),n.d(l,"getPrecisionSafe",(function(){return ir})),n.d(l,"getPixelPrecision",(function(){return rr})),n.d(l,"getPercentWithPrecision",(function(){return ar})),n.d(l,"MAX_SAFE_INTEGER",(function(){return lr})),n.d(l,"remRadian",(function(){return ur})),n.d(l,"isRadianAroundZero",(function(){return cr})),n.d(l,"parseDate",(function(){return hr})),n.d(l,"quantity",(function(){return pr})),n.d(l,"quantityExponent",(function(){return fr})),n.d(l,"nice",(function(){return _r})),n.d(l,"quantile",(function(){return gr})),n.d(l,"reformIntervals",(function(){return mr})),n.d(l,"isNumeric",(function(){return vr})),n.d(l,"numericToNumber",(function(){return yr}));var u={};n.r(u),n.d(u,"parse",(function(){return hr})),n.d(u,"format",(function(){return wc}));var c={};n.r(c),n.d(c,"extendShape",(function(){return Ag})),n.d(c,"extendPath",(function(){return Yg})),n.d(c,"makePath",(function(){return Pg})),n.d(c,"makeImage",(function(){return Eg})),n.d(c,"mergePath",(function(){return Ng})),n.d(c,"resizePath",(function(){return Hg})),n.d(c,"createIcon",(function(){return Jg})),n.d(c,"updateProps",(function(){return lu})),n.d(c,"initProps",(function(){return uu})),n.d(c,"getTransform",(function(){return Wg})),n.d(c,"clipPointsByRect",(function(){return qg})),n.d(c,"clipRectByRect",(function(){return Kg})),n.d(c,"registerShape",(function(){return Cg})),n.d(c,"getShapeClass",(function(){return jg})),n.d(c,"Group",(function(){return Ri})),n.d(c,"Image",(function(){return _s})),n.d(c,"Text",(function(){return Fs})),n.d(c,"Circle",(function(){return v_})),n.d(c,"Ellipse",(function(){return M_})),n.d(c,"Sector",(function(){return z_})),n.d(c,"Ring",(function(){return W_})),n.d(c,"Polygon",(function(){return Z_})),n.d(c,"Polyline",(function(){return J_})),n.d(c,"Rect",(function(){return Ss})),n.d(c,"Line",(function(){return eg})),n.d(c,"BezierCurve",(function(){return og})),n.d(c,"Arc",(function(){return ug})),n.d(c,"IncrementalDisplayable",(function(){return kg})),n.d(c,"CompoundPath",(function(){return dg})),n.d(c,"LinearGradient",(function(){return _g})),n.d(c,"RadialGradient",(function(){return mg})),n.d(c,"BoundingRect",(function(){return Ft}));var d={};n.r(d),n.d(d,"addCommas",(function(){return Bc})),n.d(d,"toCamelCase",(function(){return Fc})),n.d(d,"normalizeCssArray",(function(){return Wc})),n.d(d,"encodeHTML",(function(){return at})),n.d(d,"formatTpl",(function(){return Xc})),n.d(d,"getTooltipMarker",(function(){return qc})),n.d(d,"formatTime",(function(){return Kc})),n.d(d,"capitalFirst",(function(){return Jc})),n.d(d,"truncateText",(function(){return Aa})),n.d(d,"getTextRect",(function(){return oS}));var h={};n.r(h),n.d(h,"map",(function(){return g["map"]})),n.d(h,"each",(function(){return g["each"]})),n.d(h,"indexOf",(function(){return g["indexOf"]})),n.d(h,"inherits",(function(){return g["inherits"]})),n.d(h,"reduce",(function(){return g["reduce"]})),n.d(h,"filter",(function(){return g["filter"]})),n.d(h,"bind",(function(){return g["bind"]})),n.d(h,"curry",(function(){return g["curry"]})),n.d(h,"isArray",(function(){return g["isArray"]})),n.d(h,"isString",(function(){return g["isString"]})),n.d(h,"isObject",(function(){return g["isObject"]})),n.d(h,"isFunction",(function(){return g["isFunction"]})),n.d(h,"extend",(function(){return g["extend"]})),n.d(h,"defaults",(function(){return g["defaults"]})),n.d(h,"clone",(function(){return g["clone"]})),n.d(h,"merge",(function(){return g["merge"]}));
  70. /*! *****************************************************************************
  71. Copyright (c) Microsoft Corporation.
  72. Permission to use, copy, modify, and/or distribute this software for any
  73. purpose with or without fee is hereby granted.
  74. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  75. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  76. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  77. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  78. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  79. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  80. PERFORMANCE OF THIS SOFTWARE.
  81. ***************************************************************************** */
  82. var p=function(t,e){return p=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])},p(t,e)};function f(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}p(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;Object.create;var _=n("22d1"),g=n("6d8b");function m(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function y(t,e){return t[0]=e[0],t[1]=e[1],t}function v(t){return[t[0],t[1]]}function b(t,e,n){return t[0]=e,t[1]=n,t}function x(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function M(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t}function w(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function S(t){return Math.sqrt(k(t))}var L=S;function k(t){return t[0]*t[0]+t[1]*t[1]}var T=k;function D(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t}function O(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t}function A(t,e){return t[0]*e[0]+t[1]*e[1]}function I(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function Y(t,e){var n=S(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function C(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var j=C;function P(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var E=P;function R(t,e){return t[0]=-e[0],t[1]=-e[1],t}function N(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 H(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 z(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function B(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var F=function(){function t(t,e){this.target=t,this.topTarget=e&&e.topTarget}return t}(),W=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.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new F(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 F(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 F(s,t),"dragleave",t.event),o&&o!==s&&this.handler.dispatchToElement(new F(o,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new F(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new F(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),V=W,G=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){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=e[a-1],s=i.length,l=0;l<s;l++){var u=i[l];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(a){case 0:u.h.call(o);break;case 1:u.h.call(o,e[0]);break;case 2:u.h.call(o,e[0],e[1]);break;default:u.h.apply(o,e.slice(1,a-1));break}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}(),U=G,X=Math.log(2);function Z(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)/X);return t[n][l]}var u=i|1<<n,c=n+1;while(i&1<<c)c++;for(var d=0,h=0,p=0;h<s;h++){var f=1<<h;f&r||(d+=(p%2?-1:1)*t[n][h]*Z(t,e-1,c,u,r|f,a),p++)}return a[o]=d,d}function q(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=Z(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)*Z(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 K="___zrEVENTSAVED",J=[];function $(t,e,n,i,r){return Q(J,e,i,r,!0)&&Q(t,n,J[0],J[1])}function Q(t,e,n,i,r){if(e.getBoundingClientRect&&_["a"].domSupported&&!nt(e)){var a=e[K]||(e[K]={}),o=tt(e,a),s=et(o,a,r);if(s)return s(t,n,i),!0}return!1}function tt(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 et(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 c=t[u].getBoundingClientRect(),d=2*u,h=c.left,p=c.top;o.push(h,p),l=l&&a&&h===a[d]&&p===a[d+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=o,e[i]=n?q(s,o):q(o,s))}function nt(t){return"CANVAS"===t.nodeName.toUpperCase()}var it=/([&<>"'])/g,rt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function at(t){return null==t?"":(t+"").replace(it,(function(t,e){return rt[e]}))}var ot=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,st=[],lt=_["a"].browser.firefox&&+_["a"].browser.version.split(".")[0]<39;function ut(t,e,n,i){return n=n||{},i?ct(t,e,n):lt&&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):ct(t,e,n),n}function ct(t,e,n){if(_["a"].domSupported&&t.getBoundingClientRect){var i=e.clientX,r=e.clientY;if(nt(t)){var a=t.getBoundingClientRect();return n.zrX=i-a.left,void(n.zrY=r-a.top)}if(Q(st,t,i,r))return n.zrX=st[0],void(n.zrY=st[1])}n.zrX=n.zrY=0}function dt(t){return t||window.event}function ht(t,e,n){if(e=dt(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&&ut(t,a,e,n)}else{ut(t,e,e,n);var o=pt(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&ot.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function pt(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 ft(t,e,n,i){t.addEventListener(e,n,i)}function _t(t,e,n,i){t.removeEventListener(e,n,i)}var gt=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function mt(t){return 2===t.which||3===t.which}var yt=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=ut(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 xt)if(xt.hasOwnProperty(e)){var n=xt[e](this._track,t);if(n)return n}},t}();function vt(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}function bt(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}var xt={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=vt(i)/vt(r);!isFinite(a)&&(a=1),e.pinchScale=a;var o=bt(i);return e.pinchX=o[0],e.pinchY=o[1],{type:"pinch",target:t[0].target,event:e}}}}};function Mt(){return[1,0,0,1,0,0]}function wt(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function St(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 Lt(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 kt(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 Tt(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),c=Math.cos(n);return t[0]=i*c+o*u,t[1]=-i*u+o*c,t[2]=r*c+s*u,t[3]=-r*u+c*s,t[4]=c*a+u*l,t[5]=c*l-u*a,t}function Dt(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 Ot(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 At(t){var e=Mt();return St(e,t),e}var It=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}(),Yt=It,Ct=Math.min,jt=Math.max,Pt=new Yt,Et=new Yt,Rt=new Yt,Nt=new Yt,Ht=new Yt,zt=new Yt,Bt=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=Ct(t.x,this.x),n=Ct(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=jt(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=jt(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=Mt();return kt(r,r,[-e.x,-e.y]),Dt(r,r,[n,i]),kt(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,c=e.y,d=e.y+e.height,h=!(a<l||u<r||s<c||d<o);if(n){var p=1/0,f=0,_=Math.abs(a-l),g=Math.abs(u-r),m=Math.abs(s-c),y=Math.abs(d-o),v=Math.min(_,g),b=Math.min(m,y);a<l||u<r?v>f&&(f=v,_<g?Yt.set(zt,-_,0):Yt.set(zt,g,0)):v<p&&(p=v,_<g?Yt.set(Ht,_,0):Yt.set(Ht,-g,0)),s<c||d<o?b>f&&(f=b,m<y?Yt.set(zt,0,-m):Yt.set(zt,0,y)):v<p&&(p=v,m<y?Yt.set(Ht,0,m):Yt.set(Ht,0,-y))}return n&&Yt.copy(n,h?Ht:zt),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))}Pt.x=Rt.x=n.x,Pt.y=Nt.y=n.y,Et.x=Nt.x=n.x+n.width,Et.y=Rt.y=n.y+n.height,Pt.transform(i),Nt.transform(i),Et.transform(i),Rt.transform(i),e.x=Ct(Pt.x,Et.x,Rt.x,Nt.x),e.y=Ct(Pt.y,Et.y,Rt.y,Nt.y);var l=jt(Pt.x,Et.x,Rt.x,Nt.x),u=jt(Pt.y,Et.y,Rt.y,Nt.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),Ft=Bt,Wt="silent";function Vt(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:Gt}}function Gt(){gt(this.event)}var Ut=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return f(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(U),Xt=function(){function t(t,e){this.x=t,this.y=e}return t}(),Zt=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],qt=new Ft(0,0,0,0),Kt=function(t){function e(e,n,i,r,a){var o=t.call(this)||this;return o._hovered=new Xt(0,0),o.storage=e,o.painter=n,o.painterRoot=r,o._pointerSize=a,i=i||new Ut,o.proxy=null,o.setHandlerProxy(i),o._draggingMgr=new V(o),o}return f(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(g["each"](Zt,(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=Qt(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 Xt(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 Xt(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=Vt(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){var i=this.storage.getDisplayList(),r=new Xt(t,e);if($t(i,r,t,e,n),this._pointerSize&&!r.target){for(var a=[],o=this._pointerSize,s=o/2,l=new Ft(t-s,e-s,o,o),u=i.length-1;u>=0;u--){var c=i[u];c===n||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(qt.copy(c.getBoundingRect()),c.transform&&qt.applyTransform(c.transform),qt.intersect(l)&&a.push(c))}if(a.length)for(var d=4,h=Math.PI/12,p=2*Math.PI,f=0;f<s;f+=d)for(var _=0;_<p;_+=h){var g=t+f*Math.cos(_),m=e+f*Math.sin(_);if($t(a,r,g,m,n),r.target)return r}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new yt);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 Xt;a.target=i.target,this.dispatchToElement(a,r,i.event)}},e}(U);function Jt(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||Wt}return!1}function $t(t,e,n,i,r){for(var a=t.length-1;a>=0;a--){var o=t[a],s=void 0;if(o!==r&&!o.ignore&&(s=Jt(o,n,i))&&(!e.topTarget&&(e.topTarget=o),s!==Wt)){e.target=o;break}}}function Qt(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}g["each"](["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){Kt.prototype[t]=function(e){var n,i,r=e.zrX,a=e.zrY,o=Qt(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||j(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var te=Kt,ee=32,ne=7;function ie(t){var e=0;while(t>=ee)e|=1&t,t>>=1;return t+e}function re(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++;ae(t,e,r)}else while(r<n&&i(t[r],t[r-1])>=0)r++;return r-e}function ae(t,e,n){n--;while(e<n){var i=t[e];t[e++]=t[n],t[n--]=i}}function oe(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 se(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 c=o+(l-o>>>1);a(t,e[n+c])>0?o=c+1:l=c}return l}function le(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 c=o+(l-o>>>1);a(t,e[n+c])<0?l=c:o=c+1}return l}function ue(t,e){var n,i,r=ne,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;d(t)}}function c(){while(o>1){var t=o-2;t>0&&i[t-1]<i[t+1]&&t--,d(t)}}function d(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 c=le(t[l],t,a,s,0,e);a+=c,s-=c,0!==s&&(u=se(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,c=a,d=n;if(t[d++]=t[c++],0!==--o)if(1!==i){var h,p,f,_=r;while(1){h=0,p=0,f=!1;do{if(e(t[c],s[u])<0){if(t[d++]=t[c++],p++,h=0,0===--o){f=!0;break}}else if(t[d++]=s[u++],h++,p=0,1===--i){f=!0;break}}while((h|p)<_);if(f)break;do{if(h=le(t[c],s,u,i,0,e),0!==h){for(l=0;l<h;l++)t[d+l]=s[u+l];if(d+=h,u+=h,i-=h,i<=1){f=!0;break}}if(t[d++]=t[c++],0===--o){f=!0;break}if(p=se(s[u],t,c,o,0,e),0!==p){for(l=0;l<p;l++)t[d+l]=t[c+l];if(d+=p,c+=p,o-=p,0===o){f=!0;break}}if(t[d++]=s[u++],1===--i){f=!0;break}_--}while(h>=ne||p>=ne);if(f)break;_<0&&(_=0),_+=2}if(r=_,r<1&&(r=1),1===i){for(l=0;l<o;l++)t[d+l]=t[c+l];t[d+o]=s[u]}else{if(0===i)throw new Error;for(l=0;l<i;l++)t[d+l]=s[u+l]}}else{for(l=0;l<o;l++)t[d+l]=t[c+l];t[d+o]=s[u]}else for(l=0;l<i;l++)t[d+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,c=o-1,d=a+o-1,h=0,p=0;if(t[d--]=t[u--],0!==--i)if(1!==o){var f=r;while(1){var _=0,g=0,m=!1;do{if(e(s[c],t[u])<0){if(t[d--]=t[u--],_++,g=0,0===--i){m=!0;break}}else if(t[d--]=s[c--],g++,_=0,1===--o){m=!0;break}}while((_|g)<f);if(m)break;do{if(_=i-le(s[c],t,n,i,i-1,e),0!==_){for(d-=_,u-=_,i-=_,p=d+1,h=u+1,l=_-1;l>=0;l--)t[p+l]=t[h+l];if(0===i){m=!0;break}}if(t[d--]=s[c--],1===--o){m=!0;break}if(g=o-se(t[u],s,0,o,o-1,e),0!==g){for(d-=g,c-=g,o-=g,p=d+1,h=c+1,l=0;l<g;l++)t[p+l]=s[h+l];if(o<=1){m=!0;break}}if(t[d--]=t[u--],0===--i){m=!0;break}f--}while(_>=ne||g>=ne);if(m)break;f<0&&(f=0),f+=2}if(r=f,r<1&&(r=1),1===o){for(d-=i,u-=i,p=d+1,h=u+1,l=i-1;l>=0;l--)t[p+l]=t[h+l];t[d]=s[c]}else{if(0===o)throw new Error;for(h=d-(o-1),l=0;l<o;l++)t[h+l]=s[l]}}else{for(d-=i,u-=i,p=d+1,h=u+1,l=i-1;l>=0;l--)t[p+l]=t[h+l];t[d]=s[c]}else for(h=d-(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:c,pushRun:l}}function ce(t,e,n,i){n||(n=0),i||(i=t.length);var r=i-n;if(!(r<2)){var a=0;if(r<ee)return a=re(t,n,i,e),void oe(t,n,i,n+a,e);var o=ue(t,e),s=ie(r);do{if(a=re(t,n,i,e),a<s){var l=r;l>s&&(l=s),oe(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 de=1,he=2,pe=4,fe=!1;function _e(){fe||(fe=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function ge(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var me,ye=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=ge}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,ce(n,ge)},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|=de),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)&&(_e(),u.z=0),isNaN(u.z2)&&(_e(),u.z2=0),isNaN(u.zlevel)&&(_e(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var c=t.getDecalElement&&t.getDecalElement();c&&this._updateAndAddDisplayable(c,e,n);var d=t.getTextGuideLine();d&&this._updateAndAddDisplayable(d,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=g["indexOf"](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}(),ve=ye;me=_["a"].hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};var be=me,xe={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-xe.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*xe.bounceIn(2*t):.5*xe.bounceOut(2*t-1)+.5}},Me=xe,we=Math.pow,Se=Math.sqrt,Le=1e-8,ke=1e-4,Te=Se(3),De=1/3,Oe=m(),Ae=m(),Ie=m();function Ye(t){return t>-Le&&t<Le}function Ce(t){return t>Le||t<-Le}function je(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 Pe(t,e,n,i,r){var a=1-r;return 3*(((e-t)*a+2*(n-e)*r)*a+(i-n)*r*r)}function Ee(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,c=s*s-3*o*l,d=s*l-9*o*u,h=l*l-3*s*u,p=0;if(Ye(c)&&Ye(d))if(Ye(s))a[0]=0;else{var f=-l/s;f>=0&&f<=1&&(a[p++]=f)}else{var _=d*d-4*c*h;if(Ye(_)){var g=d/c,m=(f=-s/o+g,-g/2);f>=0&&f<=1&&(a[p++]=f),m>=0&&m<=1&&(a[p++]=m)}else if(_>0){var y=Se(_),v=c*s+1.5*o*(-d+y),b=c*s+1.5*o*(-d-y);v=v<0?-we(-v,De):we(v,De),b=b<0?-we(-b,De):we(b,De);f=(-s-(v+b))/(3*o);f>=0&&f<=1&&(a[p++]=f)}else{var x=(2*c*s-3*o*d)/(2*Se(c*c*c)),M=Math.acos(x)/3,w=Se(c),S=Math.cos(M),L=(f=(-s-2*w*S)/(3*o),m=(-s+w*(S+Te*Math.sin(M)))/(3*o),(-s+w*(S-Te*Math.sin(M)))/(3*o));f>=0&&f<=1&&(a[p++]=f),m>=0&&m<=1&&(a[p++]=m),L>=0&&L<=1&&(a[p++]=L)}}return p}function Re(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(Ye(o)){if(Ce(a)){var u=-s/a;u>=0&&u<=1&&(r[l++]=u)}}else{var c=a*a-4*o*s;if(Ye(c))r[0]=-a/(2*o);else if(c>0){var d=Se(c),h=(u=(-a+d)/(2*o),(-a-d)/(2*o));u>=0&&u<=1&&(r[l++]=u),h>=0&&h<=1&&(r[l++]=h)}}return l}function Ne(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,c=(l-s)*r+s,d=(c-u)*r+u;a[0]=t,a[1]=o,a[2]=u,a[3]=d,a[4]=d,a[5]=c,a[6]=l,a[7]=i}function He(t,e,n,i,r,a,o,s,l,u,c){var d,h,p,f,_,g=.005,m=1/0;Oe[0]=l,Oe[1]=u;for(var y=0;y<1;y+=.05)Ae[0]=je(t,n,r,o,y),Ae[1]=je(e,i,a,s,y),f=E(Oe,Ae),f<m&&(d=y,m=f);m=1/0;for(var v=0;v<32;v++){if(g<ke)break;h=d-g,p=d+g,Ae[0]=je(t,n,r,o,h),Ae[1]=je(e,i,a,s,h),f=E(Ae,Oe),h>=0&&f<m?(d=h,m=f):(Ie[0]=je(t,n,r,o,p),Ie[1]=je(e,i,a,s,p),_=E(Ie,Oe),p<=1&&_<m?(d=p,m=_):g*=.5)}return c&&(c[0]=je(t,n,r,o,d),c[1]=je(e,i,a,s,d)),Se(m)}function ze(t,e,n,i,r,a,o,s,l){for(var u=t,c=e,d=0,h=1/l,p=1;p<=l;p++){var f=p*h,_=je(t,n,r,o,f),g=je(e,i,a,s,f),m=_-u,y=g-c;d+=Math.sqrt(m*m+y*y),u=_,c=g}return d}function Be(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function Fe(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function We(t,e,n,i,r){var a=t-2*e+n,o=2*(e-t),s=t-i,l=0;if(Ye(a)){if(Ce(o)){var u=-s/o;u>=0&&u<=1&&(r[l++]=u)}}else{var c=o*o-4*a*s;if(Ye(c)){u=-o/(2*a);u>=0&&u<=1&&(r[l++]=u)}else if(c>0){var d=Se(c),h=(u=(-o+d)/(2*a),(-o-d)/(2*a));u>=0&&u<=1&&(r[l++]=u),h>=0&&h<=1&&(r[l++]=h)}}return l}function Ve(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function Ge(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 Ue(t,e,n,i,r,a,o,s,l){var u,c=.005,d=1/0;Oe[0]=o,Oe[1]=s;for(var h=0;h<1;h+=.05){Ae[0]=Be(t,n,r,h),Ae[1]=Be(e,i,a,h);var p=E(Oe,Ae);p<d&&(u=h,d=p)}d=1/0;for(var f=0;f<32;f++){if(c<ke)break;var _=u-c,g=u+c;Ae[0]=Be(t,n,r,_),Ae[1]=Be(e,i,a,_);p=E(Ae,Oe);if(_>=0&&p<d)u=_,d=p;else{Ie[0]=Be(t,n,r,g),Ie[1]=Be(e,i,a,g);var m=E(Ie,Oe);g<=1&&m<d?(u=g,d=m):c*=.5}}return l&&(l[0]=Be(t,n,r,u),l[1]=Be(e,i,a,u)),Se(d)}function Xe(t,e,n,i,r,a,o){for(var s=t,l=e,u=0,c=1/o,d=1;d<=o;d++){var h=d*c,p=Be(t,n,r,h),f=Be(e,i,a,h),_=p-s,g=f-l;u+=Math.sqrt(_*_+g*g),s=p,l=f}return u}var Ze=/cubic-bezier\(([0-9,\.e ]+)\)/;function qe(t){var e=t&&Ze.exec(t);if(e){var n=e[1].split(","),i=+Object(g["trim"])(n[0]),r=+Object(g["trim"])(n[1]),a=+Object(g["trim"])(n[2]),o=+Object(g["trim"])(n[3]);if(isNaN(i+r+a+o))return;var s=[];return function(t){return t<=0?0:t>=1?1:Ee(0,i,a,1,t,s)&&je(0,r,o,1,s[0])}}}var Ke=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||g["noop"],this.ondestroy=t.ondestroy||g["noop"],this.onrestart=t.onrestart||g["noop"],t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var a=this.easingFunc,o=a?a(r):r;if(this.onframe(o),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Object(g["isFunction"])(t)?t:Me[t]||qe(t)},t}(),Je=Ke,$e=n("41ef"),Qe=n("7a29"),tn=Array.prototype.slice;function en(t,e,n){return(e-t)*n+t}function nn(t,e,n,i){for(var r=e.length,a=0;a<r;a++)t[a]=en(e[a],n[a],i);return t}function rn(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]=en(e[o][s],n[o][s],i)}return t}function an(t,e,n,i){for(var r=e.length,a=0;a<r;a++)t[a]=e[a]+n[a]*i;return t}function on(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 sn(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,a=Math.min(n,i),o=r[a-1]||{color:[0,0,0,0],offset:0},s=a;s<Math.max(n,i);s++)r.push({offset:o.offset,color:o.color.slice()})}function ln(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]:tn.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 c=0;c<u;c++)isNaN(i[l][c])&&(i[l][c]=r[l][c])}}function un(t){if(Object(g["isArrayLike"])(t)){var e=t.length;if(Object(g["isArrayLike"])(t[0])){for(var n=[],i=0;i<e;i++)n.push(tn.call(t[i]));return n}return tn.call(t)}return t}function cn(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function dn(t){return Object(g["isArrayLike"])(t&&t[0])?2:1}var hn=0,pn=1,fn=2,_n=3,gn=4,mn=5,yn=6;function vn(t){return t===gn||t===mn}function bn(t){return t===pn||t===fn}var xn=[0,0,0,0],Mn=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=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.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,a=!1,o=yn,s=e;if(Object(g["isArrayLike"])(e)){var l=dn(e);o=l,(1===l&&!Object(g["isNumber"])(e[0])||2===l&&!Object(g["isNumber"])(e[0][0]))&&(a=!0)}else if(Object(g["isNumber"])(e)&&!Object(g["eqNaN"])(e))o=hn;else if(Object(g["isString"])(e))if(isNaN(+e)){var u=$e["parse"](e);u&&(s=u,o=_n)}else o=hn;else if(Object(g["isGradientObject"])(e)){var c=Object(g["extend"])({},s);c.colorStops=Object(g["map"])(e.colorStops,(function(t){return{offset:t.offset,color:$e["parse"](t.color)}})),Object(Qe["m"])(e)?o=gn:Object(Qe["o"])(e)&&(o=mn),s=c}0===r?this.valType=o:o===this.valType&&o!==yn||(a=!0),this.discrete=this.discrete||a;var d={time:t,value:s,rawValue:e,percent:0};return n&&(d.easing=n,d.easingFunc=Object(g["isFunction"])(n)?n:Me[n]||qe(n)),i.push(d),d},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,a=n[r-1],o=this.discrete,s=bn(i),l=vn(i),u=0;u<r;u++){var c=n[u],d=c.value,h=a.value;c.percent=c.time/t,o||(s&&u!==r-1?ln(d,h,i):l&&sn(d.colorStops,h.colorStops))}if(!o&&i!==mn&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;var p=n[0].value;for(u=0;u<r;u++)i===hn?n[u].additiveValue=n[u].value-p:i===_n?n[u].additiveValue=an([],n[u].value,p,-1):bn(i)&&(n[u].additiveValue=i===pn?an([],n[u].value,p,-1):on([],n[u].value,p,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i,r,a=null!=this._additiveTrack,o=a?"additiveValue":"value",s=this.valType,l=this.keyframes,u=l.length,c=this.propName,d=s===_n,h=this._lastFr,p=Math.min;if(1===u)i=r=l[0];else{if(e<0)n=0;else if(e<this._lastFrP){var f=p(h+1,u-1);for(n=f;n>=0;n--)if(l[n].percent<=e)break;n=p(n,u-2)}else{for(n=h;n<u;n++)if(l[n].percent>e)break;n=p(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var _=r.percent-i.percent,m=0===_?1:p((e-i.percent)/_,1);r.easingFunc&&(m=r.easingFunc(m));var y=a?this._additiveValue:d?xn:t[c];if(!bn(s)&&!d||y||(y=this._additiveValue=[]),this.discrete)t[c]=m<1?i.rawValue:r.rawValue;else if(bn(s))s===pn?nn(y,i[o],r[o],m):rn(y,i[o],r[o],m);else if(vn(s)){var v=i[o],b=r[o],x=s===gn;t[c]={type:x?"linear":"radial",x:en(v.x,b.x,m),y:en(v.y,b.y,m),colorStops:Object(g["map"])(v.colorStops,(function(t,e){var n=b.colorStops[e];return{offset:en(t.offset,n.offset,m),color:cn(nn([],t.color,n.color,m))}})),global:b.global},x?(t[c].x2=en(v.x2,b.x2,m),t[c].y2=en(v.y2,b.y2,m)):t[c].r=en(v.r,b.r,m)}else if(d)nn(y,i[o],r[o],m),a||(t[c]=cn(y));else{var M=en(i[o],r[o],m);a?this._additiveValue=M:t[c]=M}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;e===hn?t[n]=t[n]+i:e===_n?($e["parse"](t[n],xn),an(xn,xn,i,1),t[n]=cn(xn)):e===pn?an(t[n],t[n],i,1):e===fn&&on(t[n],t[n],i,1)},t}(),wn=function(){function t(t,e,n,i){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i?Object(g["logError"])("Can' use additive animation on looped animation."):(this._additiveAnimators=i,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,Object(g["keys"])(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,a=0;a<n.length;a++){var o=n[a],s=r[o];if(!s){s=r[o]=new Mn(o);var l=void 0,u=this._getAdditiveTrack(o);if(u){var c=u.keyframes,d=c[c.length-1];l=d&&d.value,u.valType===_n&&l&&(l=cn(l))}else l=this._target[o];if(null==l)continue;t>0&&s.addKeyframe(0,un(l),i),this._trackKeys.push(o)}s.addKeyframe(t,un(e[o]),i)}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.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;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._abortedCbs;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){if(!(this._started>0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var a=this._trackKeys[r],o=this._tracks[a],s=this._getAdditiveTrack(a),l=o.keyframes,u=l.length;if(o.prepare(i,s),o.needsAnimate())if(!this._allowDiscrete&&o.discrete){var c=l[u-1];c&&(e._target[o.propName]=c.rawValue),o.setFinished()}else n.push(o)}if(n.length||this._force){var d=new Je({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,a=0;a<i.length;a++)if(i[a]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(a=0;a<n.length;a++)n[a].step(e._target,t);var o=e._onframeCbs;if(o)for(a=0;a<o.length;a++)o[a](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=d,this.animation&&this.animation.addClip(d),t&&d.setEasing(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._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return Object(g["map"])(this._trackKeys,(function(e){return t._tracks[e]}))},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&&!a.isFinished()&&(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.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],a=this._tracks[r];if(a&&!a.isFinished()){var o=a.keyframes,s=o[n?0:o.length-1];s&&(t[r]=un(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||Object(g["keys"])(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(this._maxTime,r.getAdditiveTrack())}}}},t}(),Sn=wn;function Ln(){return(new Date).getTime()}var kn=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}return f(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=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._head=n,n?n.prev=e:this._tail=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=Ln()-this._pausedTime,n=e-this._time,i=this._head;while(i){var r=i.next,a=i.step(e,n);a?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;function e(){t._running&&(be(e),!t._paused&&t.update())}this._running=!0,be(e)},e.prototype.start=function(){this._running||(this._time=Ln(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Ln(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Ln()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){var t=this._head;while(t){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new Sn(t,e.loop);return this.addAnimator(n),n},e}(U),Tn=kn,Dn=300,On=_["a"].domSupported,An=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=g["map"](t,(function(t){var e=t.replace("mouse","pointer");return n.hasOwnProperty(e)?e:t}));return{mouse:t,touch:e,pointer:i}}(),In={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},Yn=!1;function Cn(t){var e=t.pointerType;return"pen"===e||"touch"===e}function jn(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 Pn(t){t&&(t.zrByTouch=!0)}function En(t,e){return ht(t.dom,new Nn(t,e),!0)}function Rn(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 Nn=function(){function t(t,e){this.stopPropagation=g["noop"],this.stopImmediatePropagation=g["noop"],this.preventDefault=g["noop"],this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return t}(),Hn={mousedown:function(t){t=ht(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=ht(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=ht(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=ht(this.dom,t);var e=t.toElement||t.relatedTarget;Rn(this,e)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Yn=!0,t=ht(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Yn||(t=ht(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=ht(this.dom,t),Pn(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Hn.mousemove.call(this,t),Hn.mousedown.call(this,t)},touchmove:function(t){t=ht(this.dom,t),Pn(t),this.handler.processGesture(t,"change"),Hn.mousemove.call(this,t)},touchend:function(t){t=ht(this.dom,t),Pn(t),this.handler.processGesture(t,"end"),Hn.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<Dn&&Hn.click.call(this,t)},pointerdown:function(t){Hn.mousedown.call(this,t)},pointermove:function(t){Cn(t)||Hn.mousemove.call(this,t)},pointerup:function(t){Hn.mouseup.call(this,t)},pointerout:function(t){Cn(t)||Hn.mouseout.call(this,t)}};g["each"](["click","dblclick","contextmenu"],(function(t){Hn[t]=function(e){e=ht(this.dom,e),this.trigger(t,e)}}));var zn={pointermove:function(t){Cn(t)||zn.mousemove.call(this,t)},pointerup:function(t){zn.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 Bn(t,e){var n=e.domHandlers;_["a"].pointerEventsSupported?g["each"](An.pointer,(function(i){Wn(e,i,(function(e){n[i].call(t,e)}))})):(_["a"].touchEventsSupported&&g["each"](An.touch,(function(i){Wn(e,i,(function(r){n[i].call(t,r),jn(e)}))})),g["each"](An.mouse,(function(i){Wn(e,i,(function(r){r=dt(r),e.touching||n[i].call(t,r)}))})))}function Fn(t,e){function n(n){function i(i){i=dt(i),Rn(t,i.target)||(i=En(t,i),e.domHandlers[n].call(t,i))}Wn(e,n,i,{capture:!0})}_["a"].pointerEventsSupported?g["each"](In.pointer,n):_["a"].touchEventsSupported||g["each"](In.mouse,n)}function Wn(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,ft(t.domTarget,e,n,i)}function Vn(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&_t(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var Gn=function(){function t(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e}return t}(),Un=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 Gn(e,Hn),On&&(i._globalHandlerScope=new Gn(document,zn)),Bn(i,i._localHandlerScope),i}return f(e,t),e.prototype.dispose=function(){Vn(this._localHandlerScope),On&&Vn(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,On&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?Fn(this,e):Vn(e)}},e}(U),Xn=Un,Zn=1;_["a"].hasGlobalWindow&&(Zn=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var qn=Zn,Kn=.4,Jn="#333",$n="#ccc",Qn="#eee",ti=wt,ei=5e-5;function ni(t){return t>ei||t<-ei}var ii=[],ri=[],ai=Mt(),oi=Math.abs,si=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},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.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return ni(this.rotation)||ni(this.x)||ni(this.y)||ni(this.scaleX-1)||ni(this.scaleY-1)||ni(this.skewX)||ni(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||Mt(),e?this.getLocalTransform(n):ti(n),t&&(e?Lt(n,t,n):St(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&ti(n)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(ii);var n=ii[0]<0?-1:1,i=ii[1]<0?-1:1,r=((ii[0]-n)*e+n)/ii[0]||0,a=((ii[1]-i)*e+i)/ii[1]||0;t[0]*=r,t[1]*=r,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||Mt(),Ot(this.invTransform,t)},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],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(Lt(ri,t.invTransform,e),e=ri);var n=this.originX,i=this.originY;(n||i)&&(ai[4]=n,ai[5]=i,Lt(ri,e,ai),ri[4]-=n,ri[5]-=i,e=ri),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&&H(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&H(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&oi(t[0]-1)>1e-10&&oi(t[3]-1)>1e-10?Math.sqrt(oi(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){ui(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,a=t.scaleY,o=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,c=t.y,d=t.skewX?Math.tan(t.skewX):0,h=t.skewY?Math.tan(-t.skewY):0;if(n||i||o||s){var p=n+o,f=i+s;e[4]=-p*r-d*f*a,e[5]=-f*a-h*p*r}else e[4]=e[5]=0;return e[0]=r,e[3]=a,e[1]=h*r,e[2]=d*a,l&&Tt(e,e,l),e[4]+=n+u,e[5]+=i+c,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),li=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function ui(t,e){for(var n=0;n<li.length;n++){var i=li[n];t[i]=e[i]}}var ci=si,di=n("d51b"),hi=n("726e"),pi={};function fi(t,e){e=e||hi["a"];var n=pi[e];n||(n=pi[e]=new di["a"](500));var i=n.get(t);return null==i&&(i=hi["d"].measureText(t,e).width,n.put(t,i)),i}function _i(t,e,n,i){var r=fi(t,e),a=vi(e),o=mi(0,r,n),s=yi(0,a,i),l=new Ft(o,s,r,a);return l}function gi(t,e,n,i){var r=((t||"")+"").split("\n"),a=r.length;if(1===a)return _i(r[0],e,n,i);for(var o=new Ft(0,0,0,0),s=0;s<r.length;s++){var l=_i(r[s],e,n,i);0===s?o.copy(l):o.union(l)}return o}function mi(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function yi(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function vi(t){return fi("国",t)}function bi(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function xi(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,c="left",d="top";if(i instanceof Array)l+=bi(i[0],n.width),u+=bi(i[1],n.height),c=null,d=null;else switch(i){case"left":l-=r,u+=s,c="right",d="middle";break;case"right":l+=r+o,u+=s,d="middle";break;case"top":l+=o/2,u-=r,c="center",d="bottom";break;case"bottom":l+=o/2,u+=a+r,c="center";break;case"inside":l+=o/2,u+=s,c="center",d="middle";break;case"insideLeft":l+=r,u+=s,d="middle";break;case"insideRight":l+=o-r,u+=s,c="right",d="middle";break;case"insideTop":l+=o/2,u+=r,c="center";break;case"insideBottom":l+=o/2,u+=a-r,c="center",d="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=o-r,u+=r,c="right";break;case"insideBottomLeft":l+=r,u+=a-r,d="bottom";break;case"insideBottomRight":l+=o-r,u+=a-r,c="right",d="bottom";break}return t=t||{},t.x=l,t.y=u,t.align=c,t.verticalAlign=d,t}var Mi="__zr_normal__",wi=li.concat(["ignore"]),Si=Object(g["reduce"])(li,(function(t,e){return t[e]=!0,t}),{ignore:!1}),Li={},ki=new Ft(0,0,0,0),Ti=function(){function t(t){this.id=Object(g["guid"])(),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.innerTransformable,a=void 0,o=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=ki;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Li,n,u):xi(Li,n,u),r.x=Li.x,r.y=Li.y,a=Li.align,o=Li.verticalAlign;var c=n.origin;if(c&&null!=n.rotation){var d=void 0,h=void 0;"center"===c?(d=.5*u.width,h=.5*u.height):(d=bi(c[0],u.width),h=bi(c[1],u.height)),l=!0,r.originX=-r.x+d+(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,_=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),g=void 0,m=void 0,y=void 0;f&&this.canBeInsideText()?(g=n.insideFill,m=n.insideStroke,null!=g&&"auto"!==g||(g=this.getInsideTextFill()),null!=m&&"auto"!==m||(m=this.getInsideTextStroke(g),y=!0)):(g=n.outsideFill,m=n.outsideStroke,null!=g&&"auto"!==g||(g=this.getOutsideFill()),null!=m&&"auto"!==m||(m=this.getOutsideStroke(g),y=!0)),g=g||"#000",g===_.fill&&m===_.stroke&&y===_.autoStroke&&a===_.align&&o===_.verticalAlign||(s=!0,_.fill=g,_.stroke=m,_.autoStroke=y,_.align=a,_.verticalAlign=o,e.setDefaultTextStyle(_)),e.__dirty|=de,s&&e.dirtyStyle(!0)}},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()?$n:Jn},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"===typeof e&&Object($e["parse"])(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,Object($e["stringify"])(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||{},Object(g["extend"])(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(Object(g["isObject"])(t))for(var n=t,i=Object(g["keys"])(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(!(i.getLoop()||r&&r!==Mi)){var a=i.targetName,o=a?e[a]:e;i.saveTo(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,wi)},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(Mi,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===Mi,a=this.hasState();if(a||!r){var o=this.currentStates,s=this.stateTransition;if(!(Object(g["indexOf"])(o,t)>=0)||!e&&1!==o.length){var l;if(this.stateProxy&&!r&&(l=this.stateProxy(t)),l||(l=this.states&&this.states[t]),l||r){r||this.saveCurrentToNormalState(l);var u=!!(l&&l.hoverLayer||i);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,l,this._normalState,e,!n&&!this.__inHover&&s&&s.duration>0,s);var c=this._textContent,d=this._textGuide;return c&&c.useState(t,e,n,u),d&&d.useState(t,e,n,u),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~de),l}Object(g["logError"])("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,a=t.length,o=a===r.length;if(o)for(var s=0;s<a;s++)if(t[s]!==r[s]){o=!1;break}if(o)return;for(s=0;s<a;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&i.push(u)}var c=i[a-1],d=!!(c&&c.hoverLayer||n);d&&this._toggleHoverLayerFlag(!0);var h=this._mergeStates(i),p=this.stateTransition;this.saveCurrentToNormalState(h),this._applyStateObj(t.join(","),h,this._normalState,!1,!e&&!this.__inHover&&p&&p.duration>0,p);var f=this._textContent,_=this._textGuide;f&&f.useStates(t,e,d),_&&_.useStates(t,e,d),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!d&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~de)}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=Object(g["indexOf"])(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=Object(g["indexOf"])(i,t),a=Object(g["indexOf"])(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];Object(g["extend"])(n,r),r.textConfig&&(e=e||{},Object(g["extend"])(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=Object(g["extend"])({},i?this.textConfig:n.textConfig),Object(g["extend"])(this.textConfig,e.textConfig)):o&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},l=!1,u=0;u<wi.length;u++){var c=wi[u],d=r&&Si[c];e&&null!=e[c]?d?(l=!0,s[c]=e[c]):this[c]=e[c]:o&&null!=n[c]&&(d?(l=!0,s[c]=n[c]):this[c]=n[c])}if(!r)for(u=0;u<this.animators.length;u++){var h=this.animators[u],p=h.targetName;h.getLoop()||h.__changeFinalValue(p?(e||n)[p]:e||n)}l&&this._transitionState(t,s,a)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){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;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new ci,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),Object(g["extend"])(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=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|=de;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.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){if(this.__zr!==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){if(this.__zr){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,n){var i=t?this[t]:this;var r=new Sn(i,e,n);return t&&(r.targetName=t),this.addAnimator(r,t),r},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=Object(g["indexOf"])(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){Di(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){Di(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=Di(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.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=de;function n(t,n,i,r){function a(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}Object.defineProperty(e,t,{get:function(){if(!this[n]){var t=this[n]=[];a(this,t)}return this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,a(this,t)}})}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function Di(t,e,n,i,r){n=n||{};var a=[];ji(t,"",t,e,n,i,a,r);var o=a.length,s=!1,l=n.done,u=n.aborted,c=function(){s=!0,o--,o<=0&&(s?l&&l():u&&u())},d=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];c&&p.done(c),d&&p.aborted(d),n.force&&p.duration(n.duration),p.start(n.easing)}return a}function Oi(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}function Ai(t){return Object(g["isArrayLike"])(t[0])}function Ii(t,e,n){if(Object(g["isArrayLike"])(e[n]))if(Object(g["isArrayLike"])(t[n])||(t[n]=[]),Object(g["isTypedArray"])(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),Oi(t[n],e[n],i))}else{var r=e[n],a=t[n],o=r.length;if(Ai(r))for(var s=r[0].length,l=0;l<o;l++)a[l]?Oi(a[l],r[l],s):a[l]=Array.prototype.slice.call(r[l]);else Oi(a,r,o);a.length=r.length}else t[n]=e[n]}function Yi(t,e){return t===e||Object(g["isArrayLike"])(t)&&Object(g["isArrayLike"])(e)&&Ci(t,e)}function Ci(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 ji(t,e,n,i,r,a,o,s){for(var l=Object(g["keys"])(i),u=r.duration,c=r.delay,d=r.additive,h=r.setToFinal,p=!Object(g["isObject"])(a),f=t.animators,_=[],m=0;m<l.length;m++){var y=l[m],v=i[y];if(null!=v&&null!=n[y]&&(p||a[y]))if(!Object(g["isObject"])(v)||Object(g["isArrayLike"])(v)||Object(g["isGradientObject"])(v))_.push(y);else{if(e){s||(n[y]=v,t.updateDuringAnimation(e));continue}ji(t,y,n[y],v,r,a&&a[y],o,s)}else s||(n[y]=v,t.updateDuringAnimation(e),_.push(y))}var b=_.length;if(!d&&b)for(var x=0;x<f.length;x++){var M=f[x];if(M.targetName===e){var w=M.stopTracks(_);if(w){var S=Object(g["indexOf"])(f,M);f.splice(S,1)}}}if(r.force||(_=Object(g["filter"])(_,(function(t){return!Yi(i[t],n[t])})),b=_.length),b>0||r.force&&!o.length){var L=void 0,k=void 0,T=void 0;if(s){k={},h&&(L={});for(x=0;x<b;x++){y=_[x];k[y]=n[y],h?L[y]=i[y]:n[y]=i[y]}}else if(h){T={};for(x=0;x<b;x++){y=_[x];T[y]=un(n[y]),Ii(n,i,y)}}M=new Sn(n,!1,!1,d?Object(g["filter"])(f,(function(t){return t.targetName===e})):null);M.targetName=e,r.scope&&(M.scope=r.scope),h&&L&&M.whenWithKeys(0,L,_),T&&M.whenWithKeys(0,T,_),M.whenWithKeys(null==u?500:u,s?k:i,_).delay(c||0),t.addAnimator(M,e),o.push(M)}}Object(g["mixin"])(Ti,U),Object(g["mixin"])(Ti,ci);var Pi=Ti,Ei=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return f(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){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),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.replace=function(t,e){var n=g["indexOf"](this._children,t);return n>=0&&this.replaceAt(e,n),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=g["indexOf"](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 Ft(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?(Ft.applyTransform(e,s,l),r=r||e.clone(),r.union(e)):(r=r||s.clone(),r.union(s))}}return r||e},e}(Pi);Ei.prototype.type="group";var Ri=Ei,Ni={},Hi={};
  83. /*!
  84. * ZRender, a high performance 2d drawing library.
  85. *
  86. * Copyright (c) 2013, Baidu Inc.
  87. * All rights reserved.
  88. *
  89. * LICENSE
  90. * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
  91. */function zi(t){delete Hi[t]}function Bi(t){if(!t)return!1;if("string"===typeof t)return Object($e["lum"])(t,1)<Kn;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r<i;r++)n+=Object($e["lum"])(e[r].color,1);return n/=i,n<Kn}return!1}var Fi=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 ve,a=n.renderer||"canvas";Ni[a]||(a=g["keys"](Ni)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var o=new Ni[a](e,r,n,t),s=n.ssr||o.ssrOnly;this.storage=r,this.painter=o;var l,u=_["a"].node||_["a"].worker||s?null:new Xn(o.getViewportRoot(),o.root),c=n.useCoarsePointer,d=null==c||"auto"===c?_["a"].touchEventsSupported:!!c,h=44;d&&(l=g["retrieve2"](n.pointerSize,h)),this.handler=new te(r,o,u,o.root,l),this.animation=new Tn({stage:{update:s?null:function(){return i._flush(!0)}}}),s||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=Bi(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=Ln();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=Ln();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.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.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 Ri&&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,zi(this.id)},t}();function Wi(t,e){var n=new Fi(g["guid"](),t,e);return Hi[n.id]=n,n}function Vi(t){t.dispose()}function Gi(){for(var t in Hi)Hi.hasOwnProperty(t)&&Hi[t].dispose();Hi={}}function Ui(t){return Hi[t]}function Xi(t,e){Ni[t]=e}var Zi="5.4.0",qi=1e-4,Ki=20;function Ji(t){return t.replace(/^\s+|\s+$/g,"")}function $i(t,e,n,i){var r=e[0],a=e[1],o=n[0],s=n[1],l=a-r,u=s-o;if(0===l)return 0===u?o:(o+s)/2;if(i)if(l>0){if(t<=r)return o;if(t>=a)return s}else{if(t>=r)return o;if(t<=a)return s}else{if(t===r)return o;if(t===a)return s}return(t-r)/l*u+o}function Qi(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 g["isString"](t)?Ji(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function tr(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),Ki),t=(+t).toFixed(e),n?t:+t}function er(t){return t.sort((function(t,e){return t-e})),t}function nr(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return ir(t)}function ir(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,a=e.indexOf("."),o=a<0?0:r-1-a;return Math.max(0,o-i)}function rr(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 ar(t,e,n){if(!t[e])return 0;var i=or(t,n);return i[e]||0}function or(t,e){var n=g["reduce"](t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];var i=Math.pow(10,e),r=g["map"](t,(function(t){return(isNaN(t)?0:t)/n*i*100})),a=100*i,o=g["map"](r,(function(t){return Math.floor(t)})),s=g["reduce"](o,(function(t,e){return t+e}),0),l=g["map"](r,(function(t,e){return t-o[e]}));while(s<a){for(var u=Number.NEGATIVE_INFINITY,c=null,d=0,h=l.length;d<h;++d)l[d]>u&&(u=l[d],c=d);++o[c],l[c]=0,++s}return g["map"](o,(function(t){return t/i}))}function sr(t,e){var n=Math.max(nr(t),nr(e)),i=t+e;return n>Ki?i:tr(i,n)}var lr=9007199254740991;function ur(t){var e=2*Math.PI;return(t%e+e)%e}function cr(t){return t>-qi&&t<qi}var dr=/^(?:(\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 hr(t){if(t instanceof Date)return t;if(g["isString"](t)){var e=dr.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]?+e[7].substring(0,3):0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}return null==t?new Date(NaN):new Date(Math.round(t))}function pr(t){return Math.pow(10,fr(t))}function fr(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 _r(t,e){var n,i=fr(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 gr(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 mr(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 yr(t){var e=parseFloat(t);return e==t&&(0!==e||!g["isString"](t)||t.indexOf("x")<=0)?e:NaN}function vr(t){return!isNaN(yr(t))}function br(){return Math.round(9*Math.random())}function xr(t,e){return 0===e?t:xr(e,t%e)}function Mr(t,e){return null==t?e:null==e?t:t*e/xr(t,e)}function wr(t,e,n){return(e-t)*n+t}var Sr="series\0",Lr="\0_ec_\0";function kr(t){return t instanceof Array?t:null==t?[]:[t]}function Tr(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 Dr=["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 Or(t){return!Object(g["isObject"])(t)||Object(g["isArray"])(t)||t instanceof Date?t:t.value}function Ar(t){return Object(g["isObject"])(t)&&!(t instanceof Array)}function Ir(t,e,n){var i="normalMerge"===n,r="replaceMerge"===n,a="replaceAll"===n;t=t||[],e=(e||[]).slice();var o=Object(g["createHashMap"])();Object(g["each"])(e,(function(t,n){Object(g["isObject"])(t)||(e[n]=null)}));var s=Yr(t,o,n);return(i||r)&&Cr(s,t,o,e),i&&jr(s,e),i||r?Pr(s,e,r):a&&Er(s,e),Rr(s),s}function Yr(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||Fr(a)?null:a,newOption:null,keyInfo:null,brandNew:null})}return i}function Cr(t,e,n,i){Object(g["each"])(i,(function(r,a){if(r&&null!=r.id){var o=Hr(r.id),s=n.get(o);if(null!=s){var l=t[s];Object(g["assert"])(!l.newOption,'Duplicated option on id "'+o+'".'),l.newOption=r,l.existing=e[s],i[a]=null}}}))}function jr(t,e){Object(g["each"])(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)&&!Fr(n)&&!Fr(a)&&Nr("name",a,n))return t[r].newOption=n,void(e[i]=null)}}))}function Pr(t,e,n){Object(g["each"])(e,(function(e){if(e){var i,r=0;while((i=t[r])&&(i.newOption||Fr(i.existing)||i.existing&&null!=e.id&&!Nr("id",e,i.existing)))r++;i?(i.newOption=e,i.brandNew=n):t.push({newOption:e,brandNew:n,existing:null,keyInfo:null}),r++}}))}function Er(t,e){Object(g["each"])(e,(function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})}))}function Rr(t){var e=Object(g["createHashMap"])();Object(g["each"])(t,(function(t){var n=t.existing;n&&e.set(n.id,t)})),Object(g["each"])(t,(function(t){var n=t.newOption;Object(g["assert"])(!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={})})),Object(g["each"])(t,(function(t,n){var i=t.existing,r=t.newOption,a=t.keyInfo;if(Object(g["isObject"])(r)){if(a.name=null!=r.name?Hr(r.name):i?i.name:Sr+n,i)a.id=Hr(i.id);else if(null!=r.id)a.id=Hr(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 Nr(t,e,n){var i=zr(e[t],null),r=zr(n[t],null);return null!=i&&null!=r&&i===r}function Hr(t){return zr(t,"")}function zr(t,e){return null==t?e:Object(g["isString"])(t)?t:Object(g["isNumber"])(t)||Object(g["isStringSafe"])(t)?t+"":e}function Br(t){var e=t.name;return!(!e||!e.indexOf(Sr))}function Fr(t){return t&&null!=t.id&&0===Hr(t.id).indexOf(Lr)}function Wr(t){return Lr+t}function Vr(t,e,n){Object(g["each"])(t,(function(t){var i=t.newOption;Object(g["isObject"])(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=Gr(e,i,t.existing,n))}))}function Gr(t,e,n,i){var r=e.type?e.type:n?n.subType:i.determineSubType(t,e);return r}function Ur(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=zr(t[i].seriesId,null);if(null==a)return;for(var o=kr(t[i].dataIndex),s=n&&n[a],l=0,u=o.length;l<u;l++){var c=o[l];s&&s[c]?s[c]=null:(e[a]||(e[a]={}))[c]=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 Xr(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?Object(g["isArray"])(e.dataIndex)?Object(g["map"])(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?Object(g["isArray"])(e.name)?Object(g["map"])(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function Zr(){var t="__ec_inner_"+qr++;return function(e){return e[t]||(e[t]={})}}var qr=br();function Kr(t,e,n){var i=Jr(e,n),r=i.mainTypeSpecified,a=i.queryOptionMap,o=i.others,s=o,l=n?n.defaultMainType:null;return!r&&l&&a.set(l,{}),a.each((function(e,i){var r=ta(t,i,e,{useDefault:l===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});s[i+"Models"]=r.models,s[i+"Model"]=r.models[0]})),s}function Jr(t,e){var n;if(Object(g["isString"])(t)){var i={};i[t+"Index"]=0,n=i}else n=t;var r=Object(g["createHashMap"])(),a={},o=!1;return Object(g["each"])(n,(function(t,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var i=n.match(/^(\w+)(Index|Id|Name)$/)||[],s=i[1],l=(i[2]||"").toLowerCase();if(s&&l&&!(e&&e.includeMainTypes&&Object(g["indexOf"])(e.includeMainTypes,s)<0)){o=o||!!s;var u=r.get(s)||r.set(s,{});u[l]=t}}else a[n]=t})),{mainTypeSpecified:o,queryOptionMap:r,others:a}}var $r={useDefault:!0,enableAll:!1,enableNone:!1},Qr={useDefault:!1,enableAll:!0,enableNone:!0};function ta(t,e,n,i){i=i||$r;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?(Object(g["assert"])(i.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):("all"===r&&(Object(g["assert"])(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 ea(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function na(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function ia(t){return"auto"===t?_["a"].domSupported?"html":"richText":t||"html"}function ra(t,e){var n=Object(g["createHashMap"])(),i=[];return Object(g["each"])(t,(function(t){var r=e(t);(n.get(r)||(i.push(r),n.set(r,[]))).push(t)})),{keys:i,buckets:n}}function aa(t,e,n,i,r){var a=null==e||"auto"===e;if(null==i)return i;if(Object(g["isNumber"])(i)){var o=wr(n||0,i,r);return tr(o,a?Math.max(nr(n||0),nr(i)):e)}if(Object(g["isString"])(i))return r<1?n:i;for(var s=[],l=n,u=i,c=Math.max(l?l.length:0,u.length),d=0;d<c;++d){var h=t.getDimensionInfo(d);if(h&&"ordinal"===h.type)s[d]=(r<1&&l?l:u)[d];else{var p=l&&l[d]?l[d]:0,f=u[d];o=wr(p,f,r);s[d]=tr(o,a?Math.max(nr(p),nr(f)):e)}}return s}var oa=".",sa="___EC__COMPONENT__CONTAINER___",la="___EC__EXTENDED_CLASS___";function ua(t){var e={main:"",sub:""};if(t){var n=t.split(oa);e.main=n[0]||"",e.sub=n[1]||""}return e}function ca(t){g["assert"](/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function da(t){return!(!t||!t[la])}function ha(t,e){t.$constructor=t,t.extend=function(t){var e,n=this;return pa(n)?e=function(t){function e(){return t.apply(this,arguments)||this}return f(e,t),e}(n):(e=function(){(t.$constructor||n).apply(this,arguments)},g["inherits"](e,this)),g["extend"](e.prototype,t),e[la]=!0,e.extend=this.extend,e.superCall=ma,e.superApply=ya,e.superClass=n,e}}function pa(t){return g["isFunction"](t)&&/^class\s/.test(Function.prototype.toString.call(t))}function fa(t,e){t.extend=e.extend}var _a=Math.round(10*Math.random());function ga(t){var e=["__\0is_clz",_a++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function ma(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 ya(t,e,n){return this.superClass.prototype[e].apply(t,n)}function va(t){var e={};function n(t){var n=e[t.main];return n&&n[sa]||(n=e[t.main]={},n[sa]=!0),n}t.registerClass=function(t){var i=t.type||t.prototype.type;if(i){ca(i),t.prototype.type=i;var r=ua(i);if(r.sub){if(r.sub!==sa){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[sa]&&(r=n?r[n]:null),i&&!r)throw new Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=ua(t),i=[],r=e[n.main];return r&&r[sa]?g["each"](r,(function(t,e){e!==sa&&i.push(t)})):i.push(r),i},t.hasClass=function(t){var n=ua(t);return!!e[n.main]},t.getAllClassMainTypes=function(){var t=[];return g["each"](e,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){var n=ua(t),i=e[n.main];return i&&i[sa]}}function ba(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&&g["indexOf"](i,s)>=0||r&&g["indexOf"](r,s)<0)){var l=n.getShallow(s,e);null!=l&&(a[t[o][0]]=l)}}return a}}var xa=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],Ma=ba(xa),wa=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return Ma(this,t,e)},t}(),Sa=new di["a"](50);function La(t){if("string"===typeof t){var e=Sa.get(t);return e&&e.image}return t}function ka(t,e,n,i,r){if(t){if("string"===typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var a=Sa.get(t),o={hostEl:n,cb:i,cbPayload:r};return a?(e=a.image,!Da(e)&&a.pending.push(o)):(e=hi["d"].loadImage(t,Ta,Ta),e.__zrImageSrc=t,Sa.put(t,e.__cachedImgObj={image:e,pending:[o]})),e}return t}return e}function Ta(){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 Da(t){return t&&t.width&&t.height}var Oa=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function Aa(t,e,n,i,r){if(!e)return"";var a=(t+"").split("\n");r=Ia(e,n,i,r);for(var o=0,s=a.length;o<s;o++)a[o]=Ya(a[o],r);return a.join("\n")}function Ia(t,e,n,i){i=i||{};var r=Object(g["extend"])({},i);r.font=e,n=Object(g["retrieve2"])(n,"..."),r.maxIterations=Object(g["retrieve2"])(i.maxIterations,2);var a=r.minChar=Object(g["retrieve2"])(i.minChar,0);r.cnCharWidth=fi("国",e);var o=r.ascCharWidth=fi("a",e);r.placeholder=Object(g["retrieve2"])(i.placeholder,"");for(var s=t=Math.max(0,t-1),l=0;l<a&&s>=o;l++)s-=o;var u=fi(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 Ya(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var a=fi(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?Ca(t,r,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*r/a):0;t=t.substr(0,s),a=fi(t,i)}return""===t&&(t=e.placeholder),t}function Ca(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 ja(t,e){null!=t&&(t+="");var n,i=e.overflow,r=e.padding,a=e.font,o="truncate"===i,s=vi(a),l=Object(g["retrieve2"])(e.lineHeight,s),u=!!e.backgroundColor,c="truncate"===e.lineOverflow,d=e.width;n=null==d||"break"!==i&&"breakAll"!==i?t?t.split("\n"):[]:t?Wa(t,e.font,d,"breakAll"===i,0).lines:[];var h=n.length*l,p=Object(g["retrieve2"])(e.height,h);if(h>p&&c){var f=Math.floor(p/l);n=n.slice(0,f)}if(t&&o&&null!=d)for(var _=Ia(d,a,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),m=0;m<n.length;m++)n[m]=Ya(n[m],_);var y=p,v=0;for(m=0;m<n.length;m++)v=Math.max(fi(n[m],a),v);null==d&&(d=v);var b=v;return r&&(y+=r[0]+r[2],b+=r[1]+r[3],d+=r[1]+r[3]),u&&(b=d),{lines:n,height:p,outerWidth:b,outerHeight:y,lineHeight:l,calculatedLineHeight:s,contentWidth:v,contentHeight:h,width:d}}var Pa=function(){function t(){}return t}(),Ea=function(){function t(t){this.tokens=[],t&&(this.tokens=t)}return t}(),Ra=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 Na(t,e){var n=new Ra;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=Oa.lastIndex=0;while(null!=(i=Oa.exec(t))){var u=i.index;u>l&&Ha(n,t.substring(l,u),e,s),Ha(n,i[2],e,s,i[1]),l=Oa.lastIndex}l<t.length&&Ha(n,t.substring(l,t.length),e,s);var c=[],d=0,h=0,p=e.padding,f="truncate"===o,_="truncate"===e.lineOverflow;function m(t,e,n){t.width=e,t.lineHeight=n,d+=n,h=Math.max(h,e)}t:for(var y=0;y<n.lines.length;y++){for(var v=n.lines[y],b=0,x=0,M=0;M<v.tokens.length;M++){var w=v.tokens[M],S=w.styleName&&e.rich[w.styleName]||{},L=w.textPadding=S.padding,k=L?L[1]+L[3]:0,T=w.font=S.font||e.font;w.contentHeight=vi(T);var D=Object(g["retrieve2"])(S.height,w.contentHeight);if(w.innerHeight=D,L&&(D+=L[0]+L[2]),w.height=D,w.lineHeight=Object(g["retrieve3"])(S.lineHeight,e.lineHeight,D),w.align=S&&S.align||e.align,w.verticalAlign=S&&S.verticalAlign||"middle",_&&null!=a&&d+w.lineHeight>a){M>0?(v.tokens=v.tokens.slice(0,M),m(v,x,b),n.lines=n.lines.slice(0,y+1)):n.lines=n.lines.slice(0,y);break t}var O=S.width,A=null==O||"auto"===O;if("string"===typeof O&&"%"===O.charAt(O.length-1))w.percentWidth=O,c.push(w),w.contentWidth=fi(w.text,T);else{if(A){var I=S.backgroundColor,Y=I&&I.image;Y&&(Y=La(Y),Da(Y)&&(w.width=Math.max(w.width,Y.width*D/Y.height)))}var C=f&&null!=r?r-x:null;null!=C&&C<w.width?!A||C<k?(w.text="",w.width=w.contentWidth=0):(w.text=Aa(w.text,C-k,T,e.ellipsis,{minChar:e.truncateMinChar}),w.width=w.contentWidth=fi(w.text,T)):w.contentWidth=fi(w.text,T)}w.width+=k,x+=w.width,S&&(b=Math.max(b,w.lineHeight))}m(v,x,b)}n.outerWidth=n.width=Object(g["retrieve2"])(r,h),n.outerHeight=n.height=Object(g["retrieve2"])(a,d),n.contentHeight=d,n.contentWidth=h,p&&(n.outerWidth+=p[1]+p[3],n.outerHeight+=p[0]+p[2]);for(y=0;y<c.length;y++){w=c[y];var j=w.percentWidth;w.width=parseInt(j,10)/100*n.width}return n}function Ha(t,e,n,i,r){var a,o,s=""===e,l=r&&n.rich[r]||{},u=t.lines,c=l.font||n.font,d=!1;if(i){var h=l.padding,p=h?h[1]+h[3]:0;if(null!=l.width&&"auto"!==l.width){var f=bi(l.width,i.width)+p;u.length>0&&f+i.accumWidth>i.width&&(a=e.split("\n"),d=!0),i.accumWidth=f}else{var _=Wa(e,c,i.width,i.breakAll,i.accumWidth);i.accumWidth=_.accumWidth+p,o=_.linesWidths,a=_.lines}}else a=e.split("\n");for(var g=0;g<a.length;g++){var m=a[g],y=new Pa;if(y.styleName=r,y.text=m,y.isLineHolder=!m&&!s,"number"===typeof l.width?y.width=l.width:y.width=o?o[g]:fi(m,c),g||d)u.push(new Ea([y]));else{var v=(u[u.length-1]||(u[0]=new Ea)).tokens,b=v.length;1===b&&v[0].isLineHolder?v[0]=y:(m||!b||s)&&v.push(y)}}}function za(t){var e=t.charCodeAt(0);return e>=33&&e<=383}var Ba=Object(g["reduce"])(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function Fa(t){return!za(t)||!!Ba[t]}function Wa(t,e,n,i,r){for(var a=[],o=[],s="",l="",u=0,c=0,d=0;d<t.length;d++){var h=t.charAt(d);if("\n"!==h){var p=fi(h,e),f=!i&&!Fa(h);(a.length?c+p>n:r+c+p>n)?c?(s||l)&&(f?(s||(s=l,l="",u=0,c=u),a.push(s),o.push(c-u),l+=h,u+=p,s="",c=u):(l&&(s+=l,l="",u=0),a.push(s),o.push(c),s=h,c=p)):f?(a.push(l),o.push(u),l=h,u=p):(a.push(h),o.push(p)):(c+=p,f?(l+=h,u+=p):(l&&(s+=l,l="",u=0),s+=h))}else l&&(s+=l,c+=u),a.push(s),o.push(c),s="",l="",u=0,c=0}return a.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(a.push(s),o.push(c)),1===a.length&&(c+=r),{accumWidth:c,lines:a,linesWidths:o}}var Va="__zr_style_"+Math.round(10*Math.random()),Ga={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Ua={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Ga[Va]=!0;var Xa=["z","z2","invisible"],Za=["invisible"],qa=function(t){function e(e){return t.call(this,e)||this}return f(e,t),e.prototype._init=function(e){for(var n=Object(g["keys"])(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&&$a(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 Ft(0,0,0,0)),e?Ft.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 Ft(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:Object(g["extend"])(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=he,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&he)},e.prototype.styleUpdated=function(){this.__dirty&=~he},e.prototype.createStyle=function(t){return Object(g["createObject"])(Ga,t)},e.prototype.useStyle=function(t){t[Va]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[Va]},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,Xa)},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 c=Object(g["keys"])(u),d=0;d<c.length;d++){var h=c[d];h in s&&(s[h]=s[h],this.style[h]=u[h])}var p=Object(g["keys"])(s);for(d=0;d<p.length;d++){h=p[d];this.style[h]=this.style[h]}this._transitionState(e,{style:s},o,this.getAnimationStyleProps())}else this.useStyle(s);var f=this.__inHover?Za:Xa;for(d=0;d<f.length;d++){h=f[d];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 Object(g["extend"])(t,e),t},e.prototype.getAnimationStyleProps=function(){return Ua},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=de|he}(),e}(Pi),Ka=new Ft(0,0,0,0),Ja=new Ft(0,0,0,0);function $a(t,e,n){return Ka.copy(t.getBoundingRect()),t.transform&&Ka.applyTransform(t.transform),Ja.width=e,Ja.height=n,!Ka.intersect(Ja)}var Qa=qa,to=Math.min,eo=Math.max,no=Math.sin,io=Math.cos,ro=2*Math.PI,ao=m(),oo=m(),so=m();function lo(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=to(r,i[0]),a=eo(a,i[0]),o=to(o,i[1]),s=eo(s,i[1]);e[0]=r,e[1]=o,n[0]=a,n[1]=s}}function uo(t,e,n,i,r,a){r[0]=to(t,n),r[1]=to(e,i),a[0]=eo(t,n),a[1]=eo(e,i)}var co=[],ho=[];function po(t,e,n,i,r,a,o,s,l,u){var c=Re,d=je,h=c(t,n,r,o,co);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=d(t,n,r,o,co[p]);l[0]=to(f,l[0]),u[0]=eo(f,u[0])}h=c(e,i,a,s,ho);for(p=0;p<h;p++){var _=d(e,i,a,s,ho[p]);l[1]=to(_,l[1]),u[1]=eo(_,u[1])}l[0]=to(t,l[0]),u[0]=eo(t,u[0]),l[0]=to(o,l[0]),u[0]=eo(o,u[0]),l[1]=to(e,l[1]),u[1]=eo(e,u[1]),l[1]=to(s,l[1]),u[1]=eo(s,u[1])}function fo(t,e,n,i,r,a,o,s){var l=Ve,u=Be,c=eo(to(l(t,n,r),1),0),d=eo(to(l(e,i,a),1),0),h=u(t,n,r,c),p=u(e,i,a,d);o[0]=to(t,r,h),o[1]=to(e,a,p),s[0]=eo(t,r,h),s[1]=eo(e,a,p)}function _o(t,e,n,i,r,a,o,s,l){var u=z,c=B,d=Math.abs(r-a);if(d%ro<1e-4&&d>1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(ao[0]=io(r)*n+t,ao[1]=no(r)*i+e,oo[0]=io(a)*n+t,oo[1]=no(a)*i+e,u(s,ao,oo),c(l,ao,oo),r%=ro,r<0&&(r+=ro),a%=ro,a<0&&(a+=ro),r>a&&!o?a+=ro:r<a&&o&&(r+=ro),o){var h=a;a=r,r=h}for(var p=0;p<a;p+=Math.PI/2)p>r&&(so[0]=io(p)*n+t,so[1]=no(p)*i+e,u(s,so,s),c(l,so,l))}var go={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},mo=[],yo=[],vo=[],bo=[],xo=[],Mo=[],wo=Math.min,So=Math.max,Lo=Math.cos,ko=Math.sin,To=Math.abs,Do=Math.PI,Oo=2*Do,Ao="undefined"!==typeof Float32Array,Io=[];function Yo(t){var e=Math.round(t/Do*1e8)/1e8;return e%2*Do}function Co(t,e){var n=Yo(t[0]);n<0&&(n+=Oo);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=Oo?r=n+Oo:e&&n-r>=Oo?r=n-Oo:!e&&n>r?r=n+(Oo-Yo(n-r)):e&&n<r&&(r=n-(Oo-Yo(r-n))),t[0]=n,t[1]=r}var jo=function(){function t(t){this.dpr=1,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=To(n/qn/t)||0,this._uy=To(n/qn/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._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(go.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=To(t-this._xi),i=To(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(go.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var a=n*n+i*i;a>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=a)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,a){return this._drawPendingPt(),this.addData(go.C,t,e,n,i,r,a),this._ctx&&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._drawPendingPt(),this.addData(go.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,a){this._drawPendingPt(),Io[0]=i,Io[1]=r,Co(Io,a),i=Io[0],r=Io[1];var o=r-i;return this.addData(go.A,t,e,n,n,i,o,0,a?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,a),this._xi=Lo(r)*n+t,this._yi=ko(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(go.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(go.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&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.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!Ao||(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();Ao&&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 c=0;c<arguments.length;c++)u[this._len++]=arguments[c]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},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.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,Ao&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){vo[0]=vo[1]=xo[0]=xo[1]=Number.MAX_VALUE,bo[0]=bo[1]=Mo[0]=Mo[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 go.M:n=r=e[t++],i=a=e[t++],xo[0]=r,xo[1]=a,Mo[0]=r,Mo[1]=a;break;case go.L:uo(n,i,e[t],e[t+1],xo,Mo),n=e[t++],i=e[t++];break;case go.C:po(n,i,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],xo,Mo),n=e[t++],i=e[t++];break;case go.Q:fo(n,i,e[t++],e[t++],e[t],e[t+1],xo,Mo),n=e[t++],i=e[t++];break;case go.A:var l=e[t++],u=e[t++],c=e[t++],d=e[t++],h=e[t++],p=e[t++]+h;t+=1;var f=!e[t++];s&&(r=Lo(h)*c+l,a=ko(h)*d+u),_o(l,u,c,d,h,p,f,xo,Mo),n=Lo(p)*c+l,i=ko(p)*d+u;break;case go.R:r=n=e[t++],a=i=e[t++];var _=e[t++],g=e[t++];uo(r,a,r+_,a+g,xo,Mo);break;case go.Z:n=r,i=a;break}z(vo,vo,xo),B(bo,bo,Mo)}return 0===t&&(vo[0]=vo[1]=bo[0]=bo[1]=0),new Ft(vo[0],vo[1],bo[0]-vo[0],bo[1]-vo[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,c=0,d=0;d<e;){var h=t[d++],p=1===d;p&&(r=t[d],a=t[d+1],o=r,s=a);var f=-1;switch(h){case go.M:r=o=t[d++],a=s=t[d++];break;case go.L:var _=t[d++],g=t[d++],m=_-r,y=g-a;(To(m)>n||To(y)>i||d===e-1)&&(f=Math.sqrt(m*m+y*y),r=_,a=g);break;case go.C:var v=t[d++],b=t[d++],x=(_=t[d++],g=t[d++],t[d++]),M=t[d++];f=ze(r,a,v,b,_,g,x,M,10),r=x,a=M;break;case go.Q:v=t[d++],b=t[d++],_=t[d++],g=t[d++];f=Xe(r,a,v,b,_,g,10),r=_,a=g;break;case go.A:var w=t[d++],S=t[d++],L=t[d++],k=t[d++],T=t[d++],D=t[d++],O=D+T;d+=1;t[d++];p&&(o=Lo(T)*L+w,s=ko(T)*k+S),f=So(L,k)*wo(Oo,Math.abs(D)),r=Lo(O)*L+w,a=ko(O)*k+S;break;case go.R:o=r=t[d++],s=a=t[d++];var A=t[d++],I=t[d++];f=2*A+2*I;break;case go.Z:m=o-r,y=s-a;f=Math.sqrt(m*m+y*y),r=o,a=s;break}f>=0&&(l[c++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,a,o,s,l,u,c,d,h,p=this.data,f=this._ux,_=this._uy,g=this._len,m=e<1,y=0,v=0,b=0;if(!m||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=this._pathLen,c=e*u,c))t:for(var x=0;x<g;){var M=p[x++],w=1===x;switch(w&&(r=p[x],a=p[x+1],n=r,i=a),M!==go.L&&b>0&&(t.lineTo(d,h),b=0),M){case go.M:n=r=p[x++],i=a=p[x++],t.moveTo(r,a);break;case go.L:o=p[x++],s=p[x++];var S=To(o-r),L=To(s-a);if(S>f||L>_){if(m){var k=l[v++];if(y+k>c){var T=(c-y)/k;t.lineTo(r*(1-T)+o*T,a*(1-T)+s*T);break t}y+=k}t.lineTo(o,s),r=o,a=s,b=0}else{var D=S*S+L*L;D>b&&(d=o,h=s,b=D)}break;case go.C:var O=p[x++],A=p[x++],I=p[x++],Y=p[x++],C=p[x++],j=p[x++];if(m){k=l[v++];if(y+k>c){T=(c-y)/k;Ne(r,O,I,C,T,mo),Ne(a,A,Y,j,T,yo),t.bezierCurveTo(mo[1],yo[1],mo[2],yo[2],mo[3],yo[3]);break t}y+=k}t.bezierCurveTo(O,A,I,Y,C,j),r=C,a=j;break;case go.Q:O=p[x++],A=p[x++],I=p[x++],Y=p[x++];if(m){k=l[v++];if(y+k>c){T=(c-y)/k;Ge(r,O,I,T,mo),Ge(a,A,Y,T,yo),t.quadraticCurveTo(mo[1],yo[1],mo[2],yo[2]);break t}y+=k}t.quadraticCurveTo(O,A,I,Y),r=I,a=Y;break;case go.A:var P=p[x++],E=p[x++],R=p[x++],N=p[x++],H=p[x++],z=p[x++],B=p[x++],F=!p[x++],W=R>N?R:N,V=To(R-N)>.001,G=H+z,U=!1;if(m){k=l[v++];y+k>c&&(G=H+z*(c-y)/k,U=!0),y+=k}if(V&&t.ellipse?t.ellipse(P,E,R,N,B,H,G,F):t.arc(P,E,W,H,G,F),U)break t;w&&(n=Lo(H)*R+P,i=ko(H)*N+E),r=Lo(G)*R+P,a=ko(G)*N+E;break;case go.R:n=r=p[x],i=a=p[x+1],o=p[x++],s=p[x++];var X=p[x++],Z=p[x++];if(m){k=l[v++];if(y+k>c){var q=c-y;t.moveTo(o,s),t.lineTo(o+wo(q,X),s),q-=X,q>0&&t.lineTo(o+X,s+wo(q,Z)),q-=Z,q>0&&t.lineTo(o+So(X-q,0),s+Z),q-=X,q>0&&t.lineTo(o,s+So(Z-q,0));break t}y+=k}t.rect(o,s,X,Z);break;case go.Z:if(m){k=l[v++];if(y+k>c){T=(c-y)/k;t.lineTo(r*(1-T)+n*T,a*(1-T)+i*T);break t}y+=k}t.closePath(),r=n,a=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=go,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}(),Po=jo;function Eo(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 c=l*a-o+u,d=c*c/(l*l+1);return d<=s/2*s/2}function Ro(t,e,n,i,r,a,o,s,l,u,c){if(0===l)return!1;var d=l;if(c>e+d&&c>i+d&&c>a+d&&c>s+d||c<e-d&&c<i-d&&c<a-d&&c<s-d||u>t+d&&u>n+d&&u>r+d&&u>o+d||u<t-d&&u<n-d&&u<r-d&&u<o-d)return!1;var h=He(t,e,n,i,r,a,o,s,u,c,null);return h<=d/2}function No(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 c=Ue(t,e,n,i,r,a,s,l,null);return c<=u/2}var Ho=2*Math.PI;function zo(t){return t%=Ho,t<0&&(t+=Ho),t}var Bo=2*Math.PI;function Fo(t,e,n,i,r,a,o,s,l){if(0===o)return!1;var u=o;s-=t,l-=e;var c=Math.sqrt(s*s+l*l);if(c-u>n||c+u<n)return!1;if(Math.abs(i-r)%Bo<1e-4)return!0;if(a){var d=i;i=zo(r),r=zo(d)}else i=zo(i),r=zo(r);i>r&&(r+=Bo);var h=Math.atan2(l,s);return h<0&&(h+=Bo),h>=i&&h<=r||h+Bo>=i&&h+Bo<=r}function Wo(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 Vo=Po.CMD,Go=2*Math.PI,Uo=1e-4;function Xo(t,e){return Math.abs(t-e)<Uo}var Zo=[-1,-1,-1],qo=[-1,-1];function Ko(){var t=qo[0];qo[0]=qo[1],qo[1]=t}function Jo(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 c=Ee(e,i,a,s,u,Zo);if(0===c)return 0;for(var d=0,h=-1,p=void 0,f=void 0,_=0;_<c;_++){var g=Zo[_],m=0===g||1===g?.5:1,y=je(t,n,r,o,g);y<l||(h<0&&(h=Re(e,i,a,s,qo),qo[1]<qo[0]&&h>1&&Ko(),p=je(e,i,a,s,qo[0]),h>1&&(f=je(e,i,a,s,qo[1]))),2===h?g<qo[0]?d+=p<e?m:-m:g<qo[1]?d+=f<p?m:-m:d+=s<f?m:-m:g<qo[0]?d+=p<e?m:-m:d+=s<p?m:-m)}return d}function $o(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=We(e,i,a,s,Zo);if(0===l)return 0;var u=Ve(e,i,a);if(u>=0&&u<=1){for(var c=0,d=Be(e,i,a,u),h=0;h<l;h++){var p=0===Zo[h]||1===Zo[h]?.5:1,f=Be(t,n,r,Zo[h]);f<o||(Zo[h]<u?c+=d<e?p:-p:c+=a<d?p:-p)}return c}p=0===Zo[0]||1===Zo[0]?.5:1,f=Be(t,n,r,Zo[0]);return f<o?0:a<e?p:-p}function Qo(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);Zo[0]=-l,Zo[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=Go-1e-4){i=0,r=Go;var c=a?1:-1;return o>=Zo[0]+t&&o<=Zo[1]+t?c:0}if(i>r){var d=i;i=r,r=d}i<0&&(i+=Go,r+=Go);for(var h=0,p=0;p<2;p++){var f=Zo[p];if(f+t>o){var _=Math.atan2(s,f);c=a?1:-1;_<0&&(_=Go+_),(_>=i&&_<=r||_+Go>=i&&_+Go<=r)&&(_>Math.PI/2&&_<1.5*Math.PI&&(c=-c),h+=c)}}return h}function ts(t,e,n,i,r){for(var a,o,s=t.data,l=t.len(),u=0,c=0,d=0,h=0,p=0,f=0;f<l;){var _=s[f++],g=1===f;switch(_===Vo.M&&f>1&&(n||(u+=Wo(c,d,h,p,i,r))),g&&(c=s[f],d=s[f+1],h=c,p=d),_){case Vo.M:h=s[f++],p=s[f++],c=h,d=p;break;case Vo.L:if(n){if(Eo(c,d,s[f],s[f+1],e,i,r))return!0}else u+=Wo(c,d,s[f],s[f+1],i,r)||0;c=s[f++],d=s[f++];break;case Vo.C:if(n){if(Ro(c,d,s[f++],s[f++],s[f++],s[f++],s[f],s[f+1],e,i,r))return!0}else u+=Jo(c,d,s[f++],s[f++],s[f++],s[f++],s[f],s[f+1],i,r)||0;c=s[f++],d=s[f++];break;case Vo.Q:if(n){if(No(c,d,s[f++],s[f++],s[f],s[f+1],e,i,r))return!0}else u+=$o(c,d,s[f++],s[f++],s[f],s[f+1],i,r)||0;c=s[f++],d=s[f++];break;case Vo.A:var m=s[f++],y=s[f++],v=s[f++],b=s[f++],x=s[f++],M=s[f++];f+=1;var w=!!(1-s[f++]);a=Math.cos(x)*v+m,o=Math.sin(x)*b+y,g?(h=a,p=o):u+=Wo(c,d,a,o,i,r);var S=(i-m)*b/v+m;if(n){if(Fo(m,y,b,x,x+M,w,e,S,r))return!0}else u+=Qo(m,y,b,x,x+M,w,S,r);c=Math.cos(x+M)*v+m,d=Math.sin(x+M)*b+y;break;case Vo.R:h=c=s[f++],p=d=s[f++];var L=s[f++],k=s[f++];if(a=h+L,o=p+k,n){if(Eo(h,p,a,p,e,i,r)||Eo(a,p,a,o,e,i,r)||Eo(a,o,h,o,e,i,r)||Eo(h,o,h,p,e,i,r))return!0}else u+=Wo(a,p,a,o,i,r),u+=Wo(h,o,h,p,i,r);break;case Vo.Z:if(n){if(Eo(c,d,h,p,e,i,r))return!0}else u+=Wo(c,d,h,p,i,r);c=h,d=p;break}}return n||Xo(d,p)||(u+=Wo(c,d,h,p,i,r)||0),0!==u}function es(t,e,n){return ts(t,0,!1,e,n)}function ns(t,e,n,i){return ts(t,e,!0,n,i)}var is=Object(g["defaults"])({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Ga),rs={style:Object(g["defaults"])({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Ua.style)},as=li.concat(["invisible","culling","z","z2","zlevel","parent"]),os=function(t){function e(e){return t.call(this,e)||this}return f(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<as.length;++s)r[as[s]]=this[as[s]];r.__dirty|=de}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=Object(g["keys"])(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?Object(g["extend"])(this.style,o):this.useStyle(o):"shape"===a?Object(g["extend"])(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(Object(g["isString"])(t)){var e=Object($e["lum"])(t,0);return e>.5?Jn:e>.2?Qn:$n}if(t)return $n}return Jn},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(Object(g["isString"])(e)){var n=this.__zr,i=!(!n||!n.isDarkMode()),r=Object($e["lum"])(t,0)<Kn;if(i===r)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=~pe},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new Po(!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,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&pe)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var a=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){a.copy(t);var o=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}o>1e-10&&(a.width+=s/o,a.height+=s/o,a.x-=s/o/2,a.y-=s/o/2)}return a}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)),ns(a,o/s,t,e)))return!0}if(this.hasFill())return es(a,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=pe,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:Object(g["extend"])(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&pe)},e.prototype.createStyle=function(t){return Object(g["createObject"])(is,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=Object(g["extend"])({},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=Object(g["extend"])({},i.shape),Object(g["extend"])(s,n.shape)):(s=Object(g["extend"])({},r?this.shape:i.shape),Object(g["extend"])(s,n.shape)):l&&(s=i.shape),s)if(a){this.shape=Object(g["extend"])({},this.shape);for(var u={},c=Object(g["keys"])(s),d=0;d<c.length;d++){var h=c[d];"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 rs},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 f(n,e),n.prototype.getDefaultStyle=function(){return Object(g["clone"])(t.style)},n.prototype.getDefaultShape=function(){return Object(g["clone"])(t.shape)},n}(e);for(var i in t)"function"===typeof t[i]&&(n.prototype[i]=t[i]);return n},e.initDefaultProps=function(){var t=e.prototype;t.type="path",t.strokeContainThreshold=5,t.segmentIgnoreThreshold=0,t.subPixelOptimize=!1,t.autoBatch=!1,t.__dirty=de|he|pe}(),e}(Qa),ss=os,ls=Object(g["defaults"])({strokeFirst:!0,font:hi["a"],x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},is),us=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(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 Object(g["createObject"])(ls,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=gi(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}(Qa);us.prototype.type="tspan";var cs=us,ds=Object(g["defaults"])({x:0,y:0},Ga),hs={style:Object(g["defaults"])({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Ua.style)};function ps(t){return!!(t&&"string"!==typeof t&&t.width&&t.height)}var fs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.createStyle=function(t){return Object(g["createObject"])(ds,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i=ps(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 hs},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Ft(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(Qa);fs.prototype.type="image";var _s=fs;function gs(t,e){var n,i,r,a,o,s=e.x,l=e.y,u=e.width,c=e.height,d=e.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"===typeof d?n=i=r=a=d:d instanceof Array?1===d.length?n=i=r=a=d[0]:2===d.length?(n=r=d[0],i=a=d[1]):3===d.length?(n=d[0],i=a=d[1],r=d[2]):(n=d[0],i=d[1],r=d[2],a=d[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>c&&(o=i+r,i*=c/o,r*=c/o),n+a>c&&(o=n+a,n*=c/o,a*=c/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+c-r),0!==r&&t.arc(s+u-r,l+c-r,r,0,Math.PI/2),t.lineTo(s+a,l+c),0!==a&&t.arc(s+a,l+c-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 ms=Math.round;function ys(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?(ms(2*i)===ms(2*r)&&(t.x1=t.x2=bs(i,s,!0)),ms(2*a)===ms(2*o)&&(t.y1=t.y2=bs(a,s,!0)),t):t}}function vs(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=bs(i,s,!0),t.y=bs(r,s,!0),t.width=Math.max(bs(i+a,s,!1)-t.x,0===a?0:1),t.height=Math.max(bs(r+o,s,!1)-t.y,0===o?0:1),t):t}}function bs(t,e,n){if(!e)return t;var i=ms(2*t);return(i+ms(e))%2===0?i/2:(i+(n?1:-1))/2}var xs=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),Ms={},ws=function(t){function e(e){return t.call(this,e)||this}return f(e,t),e.prototype.getDefaultShape=function(){return new xs},e.prototype.buildPath=function(t,e){var n,i,r,a;if(this.subPixelOptimize){var o=vs(Ms,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?gs(t,e):t.rect(n,i,r,a)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(ss);ws.prototype.type="rect";var Ss=ws,Ls={fill:"#000"},ks=2,Ts={style:Object(g["defaults"])({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},Ua.style)},Ds=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Ls,n.attr(e),n}return f(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),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}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){this._childCursor=0,Ps(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 Ft(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||Ls},e.prototype.setTextContent=function(t){0},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,i=t.rich||n&&{};return Object(g["extend"])(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=Object(g["keys"])(e),i=0;i<n.length;i++){var r=n[i];t[r]=t[r]||{},Object(g["extend"])(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return Ts},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||hi["a"],n=t.padding,i=zs(t),r=ja(i,t),a=Bs(t),o=!!t.backgroundColor,s=r.outerHeight,l=r.outerWidth,u=r.contentWidth,c=r.lines,d=r.lineHeight,h=this._defaultStyle,p=t.x||0,f=t.y||0,_=t.align||h.align||"left",g=t.verticalAlign||h.verticalAlign||"top",m=p,y=yi(f,r.contentHeight,g);if(a||n){var v=mi(p,l,_),b=yi(f,s,g);a&&this._renderBackground(t,t,v,b,l,s)}y+=d/2,n&&(m=Hs(p,_,n),"top"===g?y+=n[0]:"bottom"===g&&(y-=n[2]));for(var x=0,M=!1,w=(Ns("fill"in t?t.fill:(M=!0,h.fill))),S=(Rs("stroke"in t?t.stroke:o||h.autoStroke&&!M?null:(x=ks,h.stroke))),L=t.textShadowBlur>0,k=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),T=r.calculatedLineHeight,D=0;D<c.length;D++){var O=this._getOrCreateChild(cs),A=O.createStyle();O.useStyle(A),A.text=c[D],A.x=m,A.y=y,_&&(A.textAlign=_),A.textBaseline="middle",A.opacity=t.opacity,A.strokeFirst=!0,L&&(A.shadowBlur=t.textShadowBlur||0,A.shadowColor=t.textShadowColor||"transparent",A.shadowOffsetX=t.textShadowOffsetX||0,A.shadowOffsetY=t.textShadowOffsetY||0),A.stroke=S,A.fill=w,S&&(A.lineWidth=t.lineWidth||x,A.lineDash=t.lineDash,A.lineDashOffset=t.lineDashOffset||0),A.font=e,Cs(A,t),y+=d,k&&O.setBoundingRect(new Ft(mi(A.x,t.width,A.textAlign),yi(A.y,T,A.textBaseline),u,T))}},e.prototype._updateRichTexts=function(){var t=this.style,e=zs(t),n=Na(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,c=t.align||u.align,d=t.verticalAlign||u.verticalAlign,h=mi(s,r,c),p=yi(l,a,d),f=h,_=p;o&&(f+=o[3],_+=o[0]);var g=f+i;Bs(t)&&this._renderBackground(t,t,h,p,r,a);for(var m=!!t.backgroundColor,y=0;y<n.lines.length;y++){var v=n.lines[y],b=v.tokens,x=b.length,M=v.lineHeight,w=v.width,S=0,L=f,k=g,T=x-1,D=void 0;while(S<x&&(D=b[S],!D.align||"left"===D.align))this._placeToken(D,t,M,_,L,"left",m),w-=D.width,L+=D.width,S++;while(T>=0&&(D=b[T],"right"===D.align))this._placeToken(D,t,M,_,k,"right",m),w-=D.width,k-=D.width,T--;L+=(i-(L-f)-(g-k)-w)/2;while(S<=T)D=b[S],this._placeToken(D,t,M,_,L+D.width/2,"center",m),L+=D.width,S++;_+=M}},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 c=!t.isLineHolder&&Bs(s);c&&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 d=!!s.backgroundColor,h=t.textPadding;h&&(r=Hs(r,a,h),u-=t.height/2-h[0]-t.innerHeight/2);var p=this._getOrCreateChild(cs),f=p.createStyle();p.useStyle(f);var _=this._defaultStyle,m=!1,y=0,v=Ns("fill"in s?s.fill:"fill"in e?e.fill:(m=!0,_.fill)),b=Rs("stroke"in s?s.stroke:"stroke"in e?e.stroke:d||o||_.autoStroke&&!m?null:(y=ks,_.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||hi["a"],f.opacity=Object(g["retrieve3"])(s.opacity,e.opacity,1),Cs(f,s),b&&(f.lineWidth=Object(g["retrieve3"])(s.lineWidth,e.lineWidth,y),f.lineDash=Object(g["retrieve2"])(s.lineDash,e.lineDash),f.lineDashOffset=e.lineDashOffset||0,f.stroke=b),v&&(f.fill=v);var M=t.contentWidth,w=t.contentHeight;p.setBoundingRect(new Ft(mi(f.x,M,f.textAlign),yi(f.y,w,f.textBaseline),M,w))},e.prototype._renderBackground=function(t,e,n,i,r,a){var o,s,l=t.backgroundColor,u=t.borderWidth,c=t.borderColor,d=l&&l.image,h=l&&!d,p=t.borderRadius,f=this;if(h||t.lineHeight||u&&c){o=this._getOrCreateChild(Ss),o.useStyle(o.createStyle()),o.style.fill=null;var _=o.shape;_.x=n,_.y=i,_.width=r,_.height=a,_.r=p,o.dirtyShape()}if(h){var m=o.style;m.fill=l||null,m.fillOpacity=Object(g["retrieve2"])(t.fillOpacity,1)}else if(d){s=this._getOrCreateChild(_s),s.onload=function(){f.dirtyStyle()};var y=s.style;y.image=l.image,y.x=n,y.y=i,y.width=r,y.height=a}if(u&&c){m=o.style;m.lineWidth=u,m.stroke=c,m.strokeOpacity=Object(g["retrieve2"])(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 v=(o||s).style;v.shadowBlur=t.shadowBlur||0,v.shadowColor=t.shadowColor||"transparent",v.shadowOffsetX=t.shadowOffsetX||0,v.shadowOffsetY=t.shadowOffsetY||0,v.opacity=Object(g["retrieve3"])(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return js(t)&&(e=[t.fontStyle,t.fontWeight,Ys(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&Object(g["trim"])(e)||t.textFont||t.font},e}(Qa),Os={left:!0,right:1,center:1},As={top:1,bottom:1,middle:1},Is=["fontStyle","fontWeight","fontSize","fontFamily"];function Ys(t){return"string"!==typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?hi["c"]+"px":t+"px":t}function Cs(t,e){for(var n=0;n<Is.length;n++){var i=Is[n],r=e[i];null!=r&&(t[i]=r)}}function js(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}function Ps(t){return Es(t),Object(g["each"])(t.rich,Es),t}function Es(t){if(t){t.font=Ds.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||Os[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||As[n]?n:"top";var i=t.padding;i&&(t.padding=Object(g["normalizeCssArray"])(t.padding))}}function Rs(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function Ns(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function Hs(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function zs(t){var e=t.text;return null!=e&&(e+=""),e}function Bs(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}var Fs=Ds,Ws=Zr(),Vs=function(t,e,n,i){if(i){var r=Ws(i);r.dataIndex=n,r.dataType=e,r.seriesIndex=t,"group"===i.type&&i.traverse((function(i){var r=Ws(i);r.seriesIndex=t,r.dataIndex=n,r.dataType=e}))}},Gs=1,Us={},Xs=Zr(),Zs=Zr(),qs=0,Ks=1,Js=2,$s=["emphasis","blur","select"],Qs=["normal","emphasis","blur","select"],tl=10,el=9,nl="highlight",il="downplay",rl="select",al="unselect",ol="toggleSelect";function sl(t){return null!=t&&"none"!==t}var ll=new di["a"](100);function ul(t){if(Object(g["isString"])(t)){var e=ll.get(t);return e||(e=$e["lift"](t,-.1),ll.put(t,e)),e}if(Object(g["isGradientObject"])(t)){var n=Object(g["extend"])({},t);return n.colorStops=Object(g["map"])(t.colorStops,(function(t){return{offset:t.offset,color:$e["lift"](t.color,-.1)}})),n}return t}function cl(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function dl(t){cl(t,"emphasis",Js)}function hl(t){t.hoverState===Js&&cl(t,"normal",qs)}function pl(t){cl(t,"blur",Ks)}function fl(t){t.hoverState===Ks&&cl(t,"normal",qs)}function _l(t){t.selected=!0}function gl(t){t.selected=!1}function ml(t,e,n){e(t,n)}function yl(t,e,n){ml(t,e,n),t.isGroup&&t.traverse((function(t){ml(t,e,n)}))}function vl(t,e){switch(e){case"emphasis":t.hoverState=Js;break;case"normal":t.hoverState=qs;break;case"blur":t.hoverState=Ks;break;case"select":t.selected=!0}}function bl(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.saveTo(a,e)}return a}function xl(t,e,n,i){var r=n&&Object(g["indexOf"])(n,"select")>=0,a=!1;if(t instanceof ss){var o=Xs(t),s=r&&o.selectFill||o.normalFill,l=r&&o.selectStroke||o.normalStroke;if(sl(s)||sl(l)){i=i||{};var u=i.style||{};"inherit"===u.fill?(a=!0,i=Object(g["extend"])({},i),u=Object(g["extend"])({},u),u.fill=s):!sl(u.fill)&&sl(s)?(a=!0,i=Object(g["extend"])({},i),u=Object(g["extend"])({},u),u.fill=ul(s)):!sl(u.stroke)&&sl(l)&&(a||(i=Object(g["extend"])({},i),u=Object(g["extend"])({},u)),u.stroke=ul(l)),i.style=u}}if(i&&null==i.z2){a||(i=Object(g["extend"])({},i));var c=t.z2EmphasisLift;i.z2=t.z2+(null!=c?c:tl)}return i}function Ml(t,e,n){if(n&&null==n.z2){n=Object(g["extend"])({},n);var i=t.z2SelectLift;n.z2=t.z2+(null!=i?i:el)}return n}function wl(t,e,n){var i=Object(g["indexOf"])(t.currentStates,e)>=0,r=t.style.opacity,a=i?null:bl(t,["opacity"],e,{opacity:1});n=n||{};var o=n.style||{};return null==o.opacity&&(n=Object(g["extend"])({},n),o=Object(g["extend"])({opacity:i?r:.1*a.opacity},o),n.style=o),n}function Sl(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return xl(this,t,e,n);if("blur"===t)return wl(this,t,n);if("select"===t)return Ml(this,t,n)}return n}function Ll(t){t.stateProxy=Sl;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=Sl),n&&(n.stateProxy=Sl)}function kl(t,e){!jl(t,e)&&!t.__highByOuter&&yl(t,dl)}function Tl(t,e){!jl(t,e)&&!t.__highByOuter&&yl(t,hl)}function Dl(t,e){t.__highByOuter|=1<<(e||0),yl(t,dl)}function Ol(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&yl(t,hl)}function Al(t){yl(t,pl)}function Il(t){yl(t,fl)}function Yl(t){yl(t,_l)}function Cl(t){yl(t,gl)}function jl(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function Pl(t){var e=t.getModel(),n=[],i=[];e.eachComponent((function(e,r){var a=Zs(r),o="series"===e,s=o?t.getViewOfSeriesModel(r):t.getViewOfComponentModel(r);!o&&i.push(s),a.isBlured&&(s.group.traverse((function(t){fl(t)})),o&&n.push(r)),a.isBlured=!1})),Object(g["each"])(i,(function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)}))}function El(t,e,n,i){var r=i.getModel();function a(t,e){for(var n=0;n<e.length;n++){var i=t.getItemGraphicEl(e[n]);i&&Il(i)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var o=r.getSeriesByIndex(t),s=o.coordinateSystem;s&&s.master&&(s=s.master);var l=[];r.eachSeries((function(t){var r=o===t,u=t.coordinateSystem;u&&u.master&&(u=u.master);var c=u&&s?u===s:r;if(!("series"===n&&!r||"coordinateSystem"===n&&!c||"series"===e&&r)){var d=i.getViewOfSeriesModel(t);if(d.group.traverse((function(t){pl(t)})),Object(g["isArrayLike"])(e))a(t.getData(),e);else if(Object(g["isObject"])(e))for(var h=Object(g["keys"])(e),p=0;p<h.length;p++)a(t.getData(h[p]),e[h[p]]);l.push(t),Zs(t).isBlured=!0}})),r.eachComponent((function(t,e){if("series"!==t){var n=i.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(l,!0,r)}}))}}function Rl(t,e,n){if(null!=t&&null!=e){var i=n.getModel().getComponent(t,e);if(i){Zs(i).isBlured=!0;var r=n.getViewOfComponentModel(i);r&&r.focusBlurEnabled&&r.group.traverse((function(t){pl(t)}))}}}function Nl(t,e,n){var i=t.seriesIndex,r=t.getData(e.dataType);if(r){var a=Xr(r,e);a=(Object(g["isArray"])(a)?a[0]:a)||0;var o=r.getItemGraphicEl(a);if(!o){var s=r.count(),l=0;while(!o&&l<s)o=r.getItemGraphicEl(l++)}if(o){var u=Ws(o);El(i,u.focus,u.blurScope,n)}else{var c=t.get(["emphasis","focus"]),d=t.get(["emphasis","blurScope"]);null!=c&&El(i,c,d,n)}}}function Hl(t,e,n,i){var r={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return r;var a=i.getModel().getComponent(t,e);if(!a)return r;var o=i.getViewOfComponentModel(a);if(!o||!o.findHighDownDispatchers)return r;for(var s,l=o.findHighDownDispatchers(n),u=0;u<l.length;u++)if("self"===Ws(l[u]).focus){s=!0;break}return{focusSelf:s,dispatchers:l}}function zl(t,e,n){var i=Ws(t),r=Hl(i.componentMainType,i.componentIndex,i.componentHighDownName,n),a=r.dispatchers,o=r.focusSelf;a?(o&&Rl(i.componentMainType,i.componentIndex,n),Object(g["each"])(a,(function(t){return kl(t,e)}))):(El(i.seriesIndex,i.focus,i.blurScope,n),"self"===i.focus&&Rl(i.componentMainType,i.componentIndex,n),kl(t,e))}function Bl(t,e,n){Pl(n);var i=Ws(t),r=Hl(i.componentMainType,i.componentIndex,i.componentHighDownName,n).dispatchers;r?Object(g["each"])(r,(function(t){return Tl(t,e)})):Tl(t,e)}function Fl(t,e,n){if(nu(e)){var i=e.dataType,r=t.getData(i),a=Xr(r,e);Object(g["isArray"])(a)||(a=[a]),t[e.type===ol?"toggleSelect":e.type===rl?"select":"unselect"](a,i)}}function Wl(t){var e=t.getAllData();Object(g["each"])(e,(function(e){var n=e.data,i=e.type;n.eachItemGraphicEl((function(e,n){t.isSelected(n,i)?Yl(e):Cl(e)}))}))}function Vl(t){var e=[];return t.eachSeries((function(t){var n=t.getAllData();Object(g["each"])(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 Gl(t,e,n){$l(t,!0),yl(t,Ll),Zl(t,e,n)}function Ul(t){$l(t,!1)}function Xl(t,e,n,i){i?Ul(t):Gl(t,e,n)}function Zl(t,e,n){var i=Ws(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var ql=["emphasis","blur","select"],Kl={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Jl(t,e,n,i){n=n||"itemStyle";for(var r=0;r<ql.length;r++){var a=ql[r],o=e.getModel([a,n]),s=t.ensureState(a);s.style=i?i(o):o[Kl[n]]()}}function $l(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 Ql(t){return!(!t||!t.__highDownDispatcher)}function tu(t,e,n){var i=Ws(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n}function eu(t){var e=Us[t];return null==e&&Gs<=32&&(e=Us[t]=Gs++),e}function nu(t){var e=t.type;return e===rl||e===al||e===ol}function iu(t){var e=t.type;return e===nl||e===il}function ru(t){var e=Xs(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 au=Zr();function ou(t,e,n,i,r){var a;if(e&&e.ecModel){var o=e.ecModel.getUpdatePayload();a=o&&o.animation}var s=e&&e.isAnimationEnabled(),l="update"===t;if(s){var u=void 0,c=void 0,d=void 0;i?(u=Object(g["retrieve2"])(i.duration,200),c=Object(g["retrieve2"])(i.easing,"cubicOut"),d=0):(u=e.getShallow(l?"animationDurationUpdate":"animationDuration"),c=e.getShallow(l?"animationEasingUpdate":"animationEasing"),d=e.getShallow(l?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(u=a.duration),null!=a.easing&&(c=a.easing),null!=a.delay&&(d=a.delay)),Object(g["isFunction"])(d)&&(d=d(n,r)),Object(g["isFunction"])(u)&&(u=u(n));var h={duration:u||0,delay:d,easing:c};return h}return null}function su(t,e,n,i,r,a,o){var s,l=!1;Object(g["isFunction"])(r)?(o=a,a=r,r=null):Object(g["isObject"])(r)&&(a=r.cb,o=r.during,l=r.isFrom,s=r.removeOpt,r=r.dataIndex);var u="leave"===t;u||e.stopAnimation("leave");var c=ou(t,i,r,u?s||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null);if(c&&c.duration>0){var d=c.duration,h=c.delay,p=c.easing,f={duration:d,delay:h||0,easing:p,done:a,force:!!a||!!o,setToFinal:!u,scope:t,during:o};l?e.animateFrom(n,f):e.animateTo(n,f)}else e.stopAnimation(),!l&&e.attr(n),o&&o(1),a&&a()}function lu(t,e,n,i,r,a){su("update",t,e,n,i,r,a)}function uu(t,e,n,i,r,a){su("enter",t,e,n,i,r,a)}function cu(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){var n=t.animators[e];if("leave"===n.scope)return!0}return!1}function du(t,e,n,i,r,a){cu(t)||su("leave",t,e,n,i,r,a)}function hu(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),du(t,{style:{opacity:0}},e,n,i)}function pu(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse((function(t){t.isGroup||hu(t,e,n,i)})):hu(t,e,n,i)}function fu(t){au(t).oldStyle=t.style}function _u(t){return au(t).oldStyle}var gu={};function mu(t,e){for(var n=0;n<$s.length;n++){var i=$s[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 yu(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=Object(g["isFunction"])(t.defaultText)?t.defaultText(a,t,n):t.defaultText);for(var l={normal:i},u=0;u<$s.length;u++){var c=$s[u],d=e[c];l[c]=Object(g["retrieve2"])(r?r.getFormattedLabel(a,c,null,o,d&&d.get("formatter")):null,i)}return l}function vu(t,e,n,i){n=n||gu;for(var r=t instanceof Fs,a=!1,o=0;o<Qs.length;o++){var s=e[Qs[o]];if(s&&s.getShallow("show")){a=!0;break}}var l=r?t:t.getTextContent();if(a){r||(l||(l=new Fs,t.setTextContent(l)),t.stateProxy&&(l.stateProxy=t.stateProxy));var u=yu(n,e),c=e.normal,d=!!c.getShallow("show"),h=xu(c,i&&i.normal,n,!1,!r);h.text=u.normal,r||t.setTextConfig(Mu(c,n,!1));for(o=0;o<$s.length;o++){var p=$s[o];s=e[p];if(s){var f=l.ensureState(p),_=!!Object(g["retrieve2"])(s.getShallow("show"),d);if(_!==d&&(f.ignore=!_),f.style=xu(s,i&&i[p],n,!0,!r),f.style.text=u[p],!r){var m=t.ensureState(p);m.textConfig=Mu(s,n,!0)}}}l.silent=!!c.getShallow("silent"),null!=l.style.x&&(h.x=l.style.x),null!=l.style.y&&(h.y=l.style.y),l.ignore=!d,l.useStyle(h),l.dirty(),n.enableTextSetter&&(Au(l).setLabelText=function(t){var i=yu(n,e,t);mu(l,i)})}else l&&(l.ignore=!0);t.dirty()}function bu(t,e){e=e||"label";for(var n={normal:t.getModel(e)},i=0;i<$s.length;i++){var r=$s[i];n[r]=t.getModel([r,e])}return n}function xu(t,e,n,i,r){var a={};return wu(a,t,n,i,r),e&&Object(g["extend"])(a,e),a}function Mu(t,e,n){e=e||{};var i,r={},a=t.getShallow("rotate"),o=Object(g["retrieve2"])(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 wu(t,e,n,i,r){n=n||gu;var a,o=e.ecModel,s=o&&o.option.textStyle,l=Su(e);if(l)for(var u in a={},l)if(l.hasOwnProperty(u)){var c=e.getModel(["rich",u]);Du(a[u]={},c,s,n,i,r,!1,!0)}a&&(t.rich=a);var d=e.get("overflow");d&&(t.overflow=d);var h=e.get("minMargin");null!=h&&(t.margin=h),Du(t,e,s,n,i,r,!0,!1)}function Su(t){var e;while(t&&t!==t.ecModel){var n=(t.option||gu).rich;if(n){e=e||{};for(var i=Object(g["keys"])(n),r=0;r<i.length;r++){var a=i[r];e[a]=1}}t=t.parentModel}return e}var Lu=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],ku=["align","lineHeight","width","height","tag","verticalAlign"],Tu=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function Du(t,e,n,i,r,a,o,s){n=!r&&n||gu;var l=i&&i.inheritColor,u=e.getShallow("color"),c=e.getShallow("textBorderColor"),d=Object(g["retrieve2"])(e.getShallow("opacity"),n.opacity);"inherit"!==u&&"auto"!==u||(u=l||null),"inherit"!==c&&"auto"!==c||(c=l||null),a||(u=u||n.color,c=c||n.textBorderColor),null!=u&&(t.fill=u),null!=c&&(t.stroke=c);var h=Object(g["retrieve2"])(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=h&&(t.lineWidth=h);var p=Object(g["retrieve2"])(e.getShallow("textBorderType"),n.textBorderType);null!=p&&(t.lineDash=p);var f=Object(g["retrieve2"])(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=f&&(t.lineDashOffset=f),r||null!=d||s||(d=i&&i.defaultOpacity),null!=d&&(t.opacity=d),r||a||null==t.fill&&i.inheritColor&&(t.fill=i.inheritColor);for(var _=0;_<Lu.length;_++){var m=Lu[_],y=Object(g["retrieve2"])(e.getShallow(m),n[m]);null!=y&&(t[m]=y)}for(_=0;_<ku.length;_++){m=ku[_],y=e.getShallow(m);null!=y&&(t[m]=y)}if(null==t.verticalAlign){var v=e.getShallow("baseline");null!=v&&(t.verticalAlign=v)}if(!o||!i.disableBox){for(_=0;_<Tu.length;_++){m=Tu[_],y=e.getShallow(m);null!=y&&(t[m]=y)}var b=e.getShallow("borderType");null!=b&&(t.borderDash=b),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!l||(t.backgroundColor=l),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!l||(t.borderColor=l)}}function Ou(t,e){var n=e&&e.getModel("textStyle");return Object(g["trim"])([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 Au=Zr();function Iu(t,e,n,i){if(t){var r=Au(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 Yu(t,e,n,i,r){var a=Au(t);if(a.valueAnimation&&a.prevValue!==a.value){var o=a.defaultInterpolatedText,s=Object(g["retrieve2"])(a.interpolatedValue,a.prevValue),l=a.value;t.percent=0,(null==a.prevValue?uu:lu)(t,{percent:1},i,e,null,u)}function u(i){var u=aa(n,a.precision,s,l,i);a.interpolatedValue=1===i?null:u;var c=yu({labelDataIndex:e,labelFetcher:r,defaultText:o?o(u):u+""},a.statesModels,u);mu(t,c)}}var Cu=["textStyle","color"],ju=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Pu=new Fs,Eu=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(Cu):null)},t.prototype.getFont=function(){return Ou({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<ju.length;n++)e[ju[n]]=this.getShallow(ju[n]);return Pu.useStyle(e),Pu.update(),Pu.getBoundingRect()},t}(),Ru=Eu,Nu=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],Hu=ba(Nu),zu=function(){function t(){}return t.prototype.getLineStyle=function(t){return Hu(this,t)},t}(),Bu=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],Fu=ba(Bu),Wu=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return Fu(this,t,e)},t}(),Vu=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){Object(g["merge"])(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(Object(g["clone"])(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(!_["a"].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}();ha(Vu),ga(Vu),Object(g["mixin"])(Vu,zu),Object(g["mixin"])(Vu,Wu),Object(g["mixin"])(Vu,wa),Object(g["mixin"])(Vu,Ru);var Gu=Vu,Uu=Math.round(10*Math.random());function Xu(t){return[t||"",Uu++].join("_")}function Zu(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=ua(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var a=ua(n).main;t.hasSubTypes(n)&&e[a]&&(r=e[a](i))}return r}}function qu(t,e){function n(t){var n={},a=[];return g["each"](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),g["each"](u,(function(t){g["indexOf"](s.predecessor,t)<0&&s.predecessor.push(t);var e=i(n,t);g["indexOf"](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 g["each"](t,(function(t){g["indexOf"](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={};g["each"](t,(function(t){l[t]=!0}));while(s.length){var u=s.pop(),c=o[u],d=!!l[u];d&&(i.call(r,u,c.originalDeps.slice()),delete l[u]),g["each"](c.successor,d?p:h)}g["each"](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 Ku(t,e){return g["merge"](g["merge"]({},t,!0),e,!0)}var Ju={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:"Gauge",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:". "}}}},$u={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:""}}}},Qu="ZH",tc="EN",ec=tc,nc={},ic={},rc=_["a"].domSupported?function(){var t=(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase();return t.indexOf(Qu)>-1?Qu:ec}():ec;function ac(t,e){t=t.toUpperCase(),ic[t]=new Gu(e),nc[t]=e}function oc(t){if(Object(g["isString"])(t)){var e=nc[t.toUpperCase()]||{};return t===Qu||t===tc?Object(g["clone"])(e):Object(g["merge"])(Object(g["clone"])(e),Object(g["clone"])(nc[ec]),!1)}return Object(g["merge"])(Object(g["clone"])(t),Object(g["clone"])(nc[ec]),!1)}function sc(t){return ic[t]}function lc(){return ic[ec]}ac(tc,Ju),ac(Qu,$u);var uc=1e3,cc=60*uc,dc=60*cc,hc=24*dc,pc=365*hc,fc={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}"},_c="{yyyy}-{MM}-{dd}",gc={year:"{yyyy}",month:"{yyyy}-{MM}",day:_c,hour:_c+" "+fc.hour,minute:_c+" "+fc.minute,second:_c+" "+fc.second,millisecond:fc.none},mc=["year","month","day","hour","minute","second","millisecond"],yc=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function vc(t,e){return t+="","0000".substr(0,e-t.length)+t}function bc(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 xc(t){return t===bc(t)}function Mc(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function wc(t,e,n,i){var r=hr(t),a=r[Tc(n)](),o=r[Dc(n)]()+1,s=Math.floor((o-1)/3)+1,l=r[Oc(n)](),u=r["get"+(n?"UTC":"")+"Day"](),c=r[Ac(n)](),d=(c-1)%12+1,h=r[Ic(n)](),p=r[Yc(n)](),f=r[Cc(n)](),_=i instanceof Gu?i:sc(i||rc)||lc(),g=_.getModel("time"),m=g.get("month"),y=g.get("monthAbbr"),v=g.get("dayOfWeek"),b=g.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,a+"").replace(/{yy}/g,a%100+"").replace(/{Q}/g,s+"").replace(/{MMMM}/g,m[o-1]).replace(/{MMM}/g,y[o-1]).replace(/{MM}/g,vc(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,vc(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,v[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,vc(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,vc(d+"",2)).replace(/{h}/g,d+"").replace(/{mm}/g,vc(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,vc(p,2)).replace(/{s}/g,p+"").replace(/{SSS}/g,vc(f,3)).replace(/{S}/g,f+"")}function Sc(t,e,n,i,r){var a=null;if(g["isString"](n))a=n;else if(g["isFunction"](n))a=n(t.value,e,{level:t.level});else{var o=g["extend"]({},fc);if(t.level>0)for(var s=0;s<mc.length;++s)o[mc[s]]="{primary|"+o[mc[s]]+"}";var l=n?!1===n.inherit?n:g["defaults"](n,o):o,u=Lc(t.value,r);if(l[u])a=l[u];else if(l.inherit){var c=yc.indexOf(u);for(s=c-1;s>=0;--s)if(l[u]){a=l[u];break}a=a||o.none}if(g["isArray"](a)){var d=null==t.level?0:t.level>=0?t.level:a.length+t.level;d=Math.min(d,a.length-1),a=a[d]}}return wc(new Date(t.value),a,r,i)}function Lc(t,e){var n=hr(t),i=n[Dc(e)]()+1,r=n[Oc(e)](),a=n[Ac(e)](),o=n[Ic(e)](),s=n[Yc(e)](),l=n[Cc(e)](),u=0===l,c=u&&0===s,d=c&&0===o,h=d&&0===a,p=h&&1===r,f=p&&1===i;return f?"year":p?"month":h?"day":d?"hour":c?"minute":u?"second":"millisecond"}function kc(t,e,n){var i=g["isNumber"](t)?hr(t):t;switch(e=e||Lc(t,n),e){case"year":return i[Tc(n)]();case"half-year":return i[Dc(n)]()>=6?1:0;case"quarter":return Math.floor((i[Dc(n)]()+1)/4);case"month":return i[Dc(n)]();case"day":return i[Oc(n)]();case"half-day":return i[Ac(n)]()/24;case"hour":return i[Ac(n)]();case"minute":return i[Ic(n)]();case"second":return i[Yc(n)]();case"millisecond":return i[Cc(n)]()}}function Tc(t){return t?"getUTCFullYear":"getFullYear"}function Dc(t){return t?"getUTCMonth":"getMonth"}function Oc(t){return t?"getUTCDate":"getDate"}function Ac(t){return t?"getUTCHours":"getHours"}function Ic(t){return t?"getUTCMinutes":"getMinutes"}function Yc(t){return t?"getUTCSeconds":"getSeconds"}function Cc(t){return t?"getUTCMilliseconds":"getMilliseconds"}function jc(t){return t?"setUTCFullYear":"setFullYear"}function Pc(t){return t?"setUTCMonth":"setMonth"}function Ec(t){return t?"setUTCDate":"setDate"}function Rc(t){return t?"setUTCHours":"setHours"}function Nc(t){return t?"setUTCMinutes":"setMinutes"}function Hc(t){return t?"setUTCSeconds":"setSeconds"}function zc(t){return t?"setUTCMilliseconds":"setMilliseconds"}function Bc(t){if(!vr(t))return g["isString"](t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function Fc(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 Wc=g["normalizeCssArray"];function Vc(t,e,n){var i="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function r(t){return t&&g["trim"](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?hr(t):t;if(!isNaN(+l))return wc(l,i,n);if(s)return"-"}if("ordinal"===e)return g["isStringSafe"](t)?r(t):g["isNumber"](t)&&a(t)?t+"":"-";var u=yr(t);return a(u)?Bc(u):g["isStringSafe"](t)?r(t):"boolean"===typeof t?t+"":"-"}var Gc=["a","b","c","d","e","f","g"],Uc=function(t,e){return"{"+t+(null==e?"":e)+"}"};function Xc(t,e,n){g["isArray"](e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],a=0;a<r.length;a++){var o=Gc[a];t=t.replace(Uc(o),Uc(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(Uc(Gc[l],s),n?at(u):u)}return t}function Zc(t,e,n){return g["each"](e,(function(e,i){t=t.replace("{"+i+"}",n?at(e):e)})),t}function qc(t,e){var n=g["isString"](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:'+at(i)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+at(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 Kc(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=hr(e),r=n?"getUTC":"get",a=i[r+"FullYear"](),o=i[r+"Month"]()+1,s=i[r+"Date"](),l=i[r+"Hours"](),u=i[r+"Minutes"](),c=i[r+"Seconds"](),d=i[r+"Milliseconds"]();return t=t.replace("MM",vc(o,2)).replace("M",o).replace("yyyy",a).replace("yy",vc(a%100+"",2)).replace("dd",vc(s,2)).replace("d",s).replace("hh",vc(l,2)).replace("h",l).replace("mm",vc(u,2)).replace("m",u).replace("ss",vc(c,2)).replace("s",c).replace("SSS",vc(d,3)),t}function Jc(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}function $c(t,e){return e=e||"transparent",g["isString"](t)?t:g["isObject"](t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Qc(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var td=g["each"],ed=["left","right","top","bottom","width","height"],nd=[["width","left","right"],["height","top","bottom"]];function id(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 c,d,h=l.getBoundingRect(),p=e.childAt(u+1),f=p&&p.getBoundingRect();if("horizontal"===t){var _=h.width+(f?-f.x+h.x:0);c=a+_,c>i||l.newline?(a=0,c=_,o+=s+n,s=h.height):s=Math.max(s,h.height)}else{var g=h.height+(f?-f.y+h.y:0);d=o+g,d>r||l.newline?(a+=s+n,o=0,d=g,s=h.width):s=Math.max(s,h.width)}l.newline||(l.x=a,l.y=o,l.markRedraw(),"horizontal"===t?a=c+n:o=d+n)}))}var rd=id;g["curry"](id,"vertical"),g["curry"](id,"horizontal");function ad(t,e,n){var i=e.width,r=e.height,a=Qi(t.left,i),o=Qi(t.top,r),s=Qi(t.right,i),l=Qi(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=Wc(n||0),{width:Math.max(s-a-n[1]-n[3],0),height:Math.max(l-o-n[0]-n[2],0)}}function od(t,e,n){n=Wc(n||0);var i=e.width,r=e.height,a=Qi(t.left,i),o=Qi(t.top,r),s=Qi(t.right,i),l=Qi(t.bottom,r),u=Qi(t.width,i),c=Qi(t.height,r),d=n[2]+n[0],h=n[1]+n[3],p=t.aspect;switch(isNaN(u)&&(u=i-s-h-a),isNaN(c)&&(c=r-l-d-o),null!=p&&(isNaN(u)&&isNaN(c)&&(p>i/r?u=.8*i:c=.8*r),isNaN(u)&&(u=p*c),isNaN(c)&&(c=u/p)),isNaN(a)&&(a=i-s-u-h),isNaN(o)&&(o=r-l-c-d),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-c/2-n[0];break;case"bottom":o=r-c-d;break}a=a||0,o=o||0,isNaN(u)&&(u=i-h-a-(s||0)),isNaN(c)&&(c=r-d-o-(l||0));var f=new Ft(a+n[3],o+n[0],u,c);return f.margin=n,f}function sd(t,e,n,i,r,a){var o,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if(a=a||t,a.x=t.x,a.y=t.y,!s&&!l)return!1;if("raw"===u)o="group"===t.type?new Ft(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(o=t.getBoundingRect(),t.needLocalTransform()){var c=t.getLocalTransform();o=o.clone(),o.applyTransform(c)}var d=od(g["defaults"]({width:o.width,height:o.height},e),n,i),h=s?d.x-o.x:0,p=l?d.y-o.y:0;return"raw"===u?(a.x=h,a.y=p):(a.x+=h,a.y+=p),a===t&&t.markRedraw(),!0}function ld(t,e){return null!=t[nd[e][0]]||null!=t[nd[e][1]]&&null!=t[nd[e][2]]}function ud(t){var e=t.layoutMode||t.constructor.layoutMode;return g["isObject"](e)?e:e?{type:e}:null}function cd(t,e,n){var i=n&&n.ignoreSize;!g["isArray"](i)&&(i=[i,i]);var r=o(nd[0],0),a=o(nd[1],1);function o(n,r){var a={},o=0,u={},c=0,d=2;if(td(n,(function(e){u[e]=t[e]})),td(n,(function(t){s(e,t)&&(a[t]=u[t]=e[t]),l(a,t)&&o++,l(u,t)&&c++})),i[r])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(c!==d&&o){if(o>=d)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){td(t,(function(t){e[t]=n[t]}))}u(nd[0],t,r),u(nd[1],t,a)}function dd(t){return hd({},t)}function hd(t,e){return e&&t&&td(ed,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}var pd=Zr(),fd=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=Xu("ec_cpt_model"),r}return f(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=ud(this),i=n?dd(t):{},r=e.getTheme();g["merge"](t,r.get(this.mainType)),g["merge"](t,this.getDefaultOption()),n&&cd(t,i,n)},e.prototype.mergeOption=function(t,e){g["merge"](this.option,t,!0);var n=ud(this);n&&cd(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!da(t))return t.defaultOption;var e=pd(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=g["merge"](a,n[o],!0);e.defaultOption=a}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return ta(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.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(Gu);function _d(t){var e=[];return g["each"](fd.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=g["map"](e,(function(t){return ua(t).main})),"dataset"!==t&&g["indexOf"](e,"dataset")<=0&&e.unshift("dataset"),e}fa(fd,Gu),va(fd),Zu(fd),qu(fd,_d);var gd=fd,md="";"undefined"!==typeof navigator&&(md=navigator.platform||"");var yd="rgba(0, 0, 0, 0.2)",vd={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:yd,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:yd,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:yd,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:yd,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:yd,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:yd,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:md.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},bd=Object(g["createHashMap"])(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),xd="original",Md="arrayRows",wd="objectRows",Sd="keyedColumns",Ld="typedArray",kd="unknown",Td="column",Dd="row",Od={Must:1,Might:2,Not:3},Ad=Zr();function Id(t){Ad(t).datasetMap=Object(g["createHashMap"])()}function Yd(t,e,n){var i={},r=jd(e);if(!r||!t)return i;var a,o,s=[],l=[],u=e.ecModel,c=Ad(u).datasetMap,d=r.uid+"_"+n.seriesLayoutBy;t=t.slice(),Object(g["each"])(t,(function(e,n){var r=Object(g["isObject"])(e)?e:t[n]={name:e};"ordinal"===r.type&&null==a&&(a=n,o=f(r)),i[r.name]=[]}));var h=c.get(d)||c.set(d,{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 Object(g["each"])(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 Cd(t,e,n){var i={},r=jd(t);if(!r)return i;var a,o=e.sourceFormat,s=e.dimensionsDefine;o!==wd&&o!==Sd||Object(g["each"])(s,(function(t,e){"name"===(Object(g["isObject"])(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 c=Rd(e.data,o,e.seriesLayoutBy,s,e.startIndex,l);r.push(c);var d=c===Od.Not;if(d&&null==t.v&&l!==a&&(t.v=l),(null==t.n||t.n===t.v||!d&&r[t.n]===Od.Not)&&(t.n=l),h(t)&&r[t.n]!==Od.Not)return t;d||(c===Od.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 jd(t){var e=t.get("data",!0);if(!e)return ta(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},$r).models[0]}function Pd(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?ta(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},$r).models:[]}function Ed(t,e){return Rd(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function Rd(t,e,n,i,r,a){var o,s,l,u=5;if(Object(g["isTypedArray"])(t))return Od.Not;if(i){var c=i[a];Object(g["isObject"])(c)?(s=c.name,l=c.type):Object(g["isString"])(c)&&(s=c)}if(null!=l)return"ordinal"===l?Od.Must:Od.Not;if(e===Md){var d=t;if(n===Dd){for(var h=d[a],p=0;p<(h||[]).length&&p<u;p++)if(null!=(o=x(h[r+p])))return o}else for(p=0;p<d.length&&p<u;p++){var f=d[r+p];if(f&&null!=(o=x(f[a])))return o}}else if(e===wd){var _=t;if(!s)return Od.Not;for(p=0;p<_.length&&p<u;p++){var m=_[p];if(m&&null!=(o=x(m[s])))return o}}else if(e===Sd){var y=t;if(!s)return Od.Not;h=y[s];if(!h||Object(g["isTypedArray"])(h))return Od.Not;for(p=0;p<h.length&&p<u;p++)if(null!=(o=x(h[p])))return o}else if(e===xd){var v=t;for(p=0;p<v.length&&p<u;p++){m=v[p];var b=Or(m);if(!Object(g["isArray"])(b))return Od.Not;if(null!=(o=x(b[a])))return o}}function x(t){var e=Object(g["isString"])(t);return null!=t&&isFinite(t)&&""!==t?e?Od.Might:Od.Not:e&&"-"!==t?Od.Must:void 0}return Od.Not}var Nd=Object(g["createHashMap"])();function Hd(t,e){Object(g["assert"])(null==Nd.get(t)&&e),Nd.set(t,e)}function zd(t,e,n){var i=Nd.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}var Bd=Zr(),Fd=Zr(),Wd=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var i=kr(this.get("color",!0)),r=this.get("colorLayer",!0);return Ud(this,Bd,i,r,t,e,n)},t.prototype.clearColorPalette=function(){Xd(this,Bd)},t}();function Vd(t,e,n,i){var r=kr(t.get(["aria","decal","decals"]));return Ud(t,Fd,r,null,e,n,i)}function Gd(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 Ud(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 c=null!=o&&i?Gd(i,o):n;if(c=c||n,c&&c.length){var d=c[l];return r&&(u[r]=d),s.paletteIdx=(l+1)%c.length,d}}function Xd(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}var Zd,qd,Kd;"undefined"!==typeof console&&console.warn&&console.log;function Jd(t){0}function $d(t){throw new Error(t)}var Qd="\0_ec_inner",th=1;var eh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.init=function(t,e,n,i,r,a){i=i||{},this.option=null,this._theme=new Gu(i),this._locale=new Gu(r),this._optionManager=a},e.prototype.setOption=function(t,e,n){var i=oh(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,oh(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);0,this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):Kd(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&&Object(g["each"])(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=Object(g["createHashMap"])(),s=e&&e.replaceMergeMainTypeMap;function l(e){var a=zd(this,e,kr(t[e])),o=i.get(e),l=o?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=Ir(o,a,l);Vr(u,e,gd),n[e]=null,i.set(e,null),r.set(e,0);var c,d=[],h=[],p=0;Object(g["each"])(u,(function(t,n){var i=t.existing,r=t.newOption;if(r){var a="series"===e,o=gd.getClass(e,t.keyInfo.subType,!a);if(!o)return;if("tooltip"===e){if(c)return void 0;c=!0}if(i&&i.constructor===o)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var s=Object(g["extend"])({componentIndex:n},t.keyInfo);i=new o(r,this,this,s),Object(g["extend"])(i,s),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),h.push(i),p++):(d.push(void 0),h.push(void 0))}),this),n[e]=d,i.set(e,h),r.set(e,p),"series"===e&&Zd(this)}Id(this),Object(g["each"])(t,(function(t,e){null!=t&&(gd.hasClass(e)?e&&(a.push(e),o.set(e,!0)):n[e]=null==n[e]?Object(g["clone"])(t):Object(g["merge"])(n[e],t,!0))})),s&&s.each((function(t,e){gd.hasClass(e)&&!o.get(e)&&(a.push(e),o.set(e,!0))})),gd.topologicalTravel(a,gd.getAllClassMainTypes(),l,this),this._seriesIndices||Zd(this)},e.prototype.getOption=function(){var t=Object(g["clone"])(this.option);return Object(g["each"])(t,(function(e,n){if(gd.hasClass(n)){for(var i=kr(e),r=i.length,a=!1,o=r-1;o>=0;o--)i[o]&&!Fr(i[o])?a=!0:(i[o]=null,!a&&r--);i.length=r,t[n]=i}})),delete t[Qd],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},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=[],Object(g["each"])(kr(i),(function(t){o[t]&&n.push(o[t])}))):n=null!=r?rh("id",r,o):null!=a?rh("name",a,o):Object(g["filter"])(o,(function(t){return!!t})),ah(n,t)):[]},e.prototype.findComponents=function(t){var e=t.query,n=t.mainType,i=a(e),r=i?this.queryComponents(i):Object(g["filter"])(this._componentsMap.get(n),(function(t){return!!t}));return o(ah(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?Object(g["filter"])(e,t.filter):e}},e.prototype.eachComponent=function(t,e,n){var i=this._componentsMap;if(Object(g["isFunction"])(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=Object(g["isString"])(t)?i.get(t):Object(g["isObject"])(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=zr(t,null);return Object(g["filter"])(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 Object(g["filter"])(this._componentsMap.get("series"),(function(e){return!!e&&e.subType===t}))},e.prototype.getSeries=function(){return Object(g["filter"])(this._componentsMap.get("series"),(function(t){return!!t}))},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){qd(this),Object(g["each"])(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)}),this)},e.prototype.eachRawSeries=function(t,e){Object(g["each"])(this._componentsMap.get("series"),(function(n){n&&t.call(e,n,n.componentIndex)}))},e.prototype.eachSeriesByType=function(t,e,n){qd(this),Object(g["each"])(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 Object(g["each"])(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return qd(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){qd(this);var n=[];Object(g["each"])(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=Object(g["createHashMap"])(n)},e.prototype.restoreData=function(t){Zd(this);var e=this._componentsMap,n=[];e.each((function(t,e){gd.hasClass(e)&&n.push(e)})),gd.topologicalTravel(n,gd.getAllClassMainTypes(),(function(n){Object(g["each"])(e.get(n),(function(e){!e||"series"===n&&nh(e,t)||e.restoreData()}))}))},e.internalField=function(){Zd=function(t){var e=t._seriesIndices=[];Object(g["each"])(t._componentsMap.get("series"),(function(t){t&&e.push(t.componentIndex)})),t._seriesIndicesMap=Object(g["createHashMap"])(e)},qd=function(t){0},Kd=function(t,e){t.option={},t.option[Qd]=th,t._componentsMap=Object(g["createHashMap"])({series:[]}),t._componentsCount=Object(g["createHashMap"])();var n=e.aria;Object(g["isObject"])(n)&&null==n.enabled&&(n.enabled=!0),ih(e,t._theme.option),Object(g["merge"])(e,vd,!1),t._mergeOption(e,null)}}(),e}(Gu);function nh(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 ih(t,e){var n=t.color&&!t.colorLayer;Object(g["each"])(e,(function(e,i){"colorLayer"===i&&n||gd.hasClass(i)||("object"===typeof e?t[i]=t[i]?Object(g["merge"])(t[i],e,!1):Object(g["clone"])(e):null==t[i]&&(t[i]=e))}))}function rh(t,e,n){if(Object(g["isArray"])(e)){var i=Object(g["createHashMap"])();return Object(g["each"])(e,(function(t){if(null!=t){var e=zr(t,null);null!=e&&i.set(t,!0)}})),Object(g["filter"])(n,(function(e){return e&&i.get(e[t])}))}var r=zr(e,null);return Object(g["filter"])(n,(function(e){return e&&null!=r&&e[t]===r}))}function ah(t,e){return e.hasOwnProperty("subType")?Object(g["filter"])(t,(function(t){return t&&t.subType===e.subType})):t}function oh(t){var e=Object(g["createHashMap"])();return t&&Object(g["each"])(kr(t.replaceMerge),(function(t){e.set(t,!0)})),{replaceMergeMainTypeMap:e}}Object(g["mixin"])(eh,Wd);var sh=eh,lh=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],uh=function(){function t(t){g["each"](lh,(function(e){this[e]=g["bind"](t[e],t)}),this)}return t}(),ch=uh,dh={},hh=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];g["each"](dh,(function(i,r){var a=i.create(t,e);n=n.concat(a||[])})),this._coordinateSystems=n},t.prototype.update=function(t,e){g["each"](this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){dh[t]=e},t.get=function(t){return dh[t]},t}(),ph=hh,fh=/^(min|max)?(.+)$/,_h=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&(Object(g["each"])(kr(t.series),(function(t){t&&t.data&&Object(g["isTypedArray"])(t.data)&&Object(g["setAsPrimitive"])(t.data)})),Object(g["each"])(kr(t.dataset),(function(t){t&&t.source&&Object(g["isTypedArray"])(t.source)&&Object(g["setAsPrimitive"])(t.source)}))),t=Object(g["clone"])(t);var i=this._optionBackup,r=gh(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=[],Object(g["clone"])(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=Object(g["clone"])(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++)mh(i[s].query,e,n)&&a.push(s);return!a.length&&r&&(a=[-1]),a.length&&!vh(a,this._currentMediaIndices)&&(o=Object(g["map"])(a,(function(t){return Object(g["clone"])(-1===t?r.option:i[t].option)}))),this._currentMediaIndices=a,o},t}();function gh(t,e,n){var i,r,a=[],o=t.baseOption,s=t.timeline,l=t.options,u=t.media,c=!!t.media,d=!!(l||s||o&&o.timeline);function h(t){Object(g["each"])(e,(function(e){e(t,n)}))}return o?(r=o,r.timeline||(r.timeline=s)):((d||c)&&(t.options=t.media=null),r=t),c&&Object(g["isArray"])(u)&&Object(g["each"])(u,(function(t){t&&t.option&&(t.query?a.push(t):i||(i=t))})),h(r),Object(g["each"])(l,(function(t){return h(t)})),Object(g["each"])(a,(function(t){return h(t.option)})),{baseOption:r,timelineOptions:l||[],mediaDefault:i,mediaList:a}}function mh(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return Object(g["each"])(t,(function(t,e){var n=e.match(fh);if(n&&n[1]&&n[2]){var a=n[1],o=n[2].toLowerCase();yh(i[o],t,a)||(r=!1)}})),r}function yh(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e}function vh(t,e){return t.join(",")===e.join(",")}var bh=_h,xh=g["each"],Mh=g["isObject"],wh=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Sh(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=wh.length;n<i;n++){var r=wh[n],a=e.normal,o=e.emphasis;a&&a[r]&&(t[r]=t[r]||{},t[r].normal?g["merge"](t[r].normal,a[r]):t[r].normal=a[r],a[r]=null),o&&o[r]&&(t[r]=t[r]||{},t[r].emphasis?g["merge"](t[r].emphasis,o[r]):t[r].emphasis=o[r],o[r]=null)}}function Lh(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,g["defaults"](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 kh(t){Lh(t,"itemStyle"),Lh(t,"lineStyle"),Lh(t,"areaStyle"),Lh(t,"label"),Lh(t,"labelLine"),Lh(t,"upperLabel"),Lh(t,"edgeLabel")}function Th(t,e){var n=Mh(t)&&t[e],i=Mh(n)&&n.textStyle;if(i){0;for(var r=0,a=Dr.length;r<a;r++){var o=Dr[r];i.hasOwnProperty(o)&&(n[o]=i[o])}}}function Dh(t){t&&(kh(t),Th(t,"label"),t.emphasis&&Th(t.emphasis,"label"))}function Oh(t){if(Mh(t)){Sh(t),kh(t),Th(t,"label"),Th(t,"upperLabel"),Th(t,"edgeLabel"),t.emphasis&&(Th(t.emphasis,"label"),Th(t.emphasis,"upperLabel"),Th(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(Sh(e),Dh(e));var n=t.markLine;n&&(Sh(n),Dh(n));var i=t.markArea;i&&Dh(i);var r=t.data;if("graph"===t.type){r=r||t.nodes;var a=t.links||t.edges;if(a&&!g["isTypedArray"](a))for(var o=0;o<a.length;o++)Dh(a[o]);g["each"](t.categories,(function(t){kh(t)}))}if(r&&!g["isTypedArray"](r))for(o=0;o<r.length;o++)Dh(r[o]);if(e=t.markPoint,e&&e.data){var s=e.data;for(o=0;o<s.length;o++)Dh(s[o])}if(n=t.markLine,n&&n.data){var l=n.data;for(o=0;o<l.length;o++)g["isArray"](l[o])?(Dh(l[o][0]),Dh(l[o][1])):Dh(l[o])}"gauge"===t.type?(Th(t,"axisLabel"),Th(t,"title"),Th(t,"detail")):"treemap"===t.type?(Lh(t.breadcrumb,"itemStyle"),g["each"](t.levels,(function(t){kh(t)}))):"tree"===t.type&&kh(t.leaves)}}function Ah(t){return g["isArray"](t)?t:t?[t]:[]}function Ih(t){return(g["isArray"](t)?t[0]:t)||{}}function Yh(t,e){xh(Ah(t.series),(function(t){Mh(t)&&Oh(t)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),xh(n,(function(e){xh(Ah(t[e]),(function(t){t&&(Th(t,"axisLabel"),Th(t.axisPointer,"label"))}))})),xh(Ah(t.parallel),(function(t){var e=t&&t.parallelAxisDefault;Th(e,"axisLabel"),Th(e&&e.axisPointer,"label")})),xh(Ah(t.calendar),(function(t){Lh(t,"itemStyle"),Th(t,"dayLabel"),Th(t,"monthLabel"),Th(t,"yearLabel")})),xh(Ah(t.radar),(function(t){Th(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)})),xh(Ah(t.geo),(function(t){Mh(t)&&(Dh(t),xh(Ah(t.regions),(function(t){Dh(t)})))})),xh(Ah(t.timeline),(function(t){Dh(t),Lh(t,"label"),Lh(t,"itemStyle"),Lh(t,"controlStyle",!0);var e=t.data;g["isArray"](e)&&g["each"](e,(function(t){g["isObject"](t)&&(Lh(t,"label"),Lh(t,"itemStyle"))}))})),xh(Ah(t.toolbox),(function(t){Lh(t,"iconStyle"),xh(t.feature,(function(t){Lh(t,"iconStyle")}))})),Th(Ih(t.axisPointer),"label"),Th(Ih(t.tooltip).axisPointer,"label")}function Ch(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 jh(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 Ph(t){t&&Object(g["each"])(Eh,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var Eh=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],Rh=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],Nh=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function Hh(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<Nh.length;n++){var i=Nh[n][1],r=Nh[n][0];null!=e[i]&&(e[r]=e[i])}}function zh(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function Bh(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function Fh(t){t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency"))}function Wh(t,e){if(t)for(var n=0;n<t.length;n++)e(t[n]),t[n]&&Wh(t[n].children,e)}function Vh(t,e){Yh(t,e),t.series=kr(t.series),Object(g["each"])(t.series,(function(t){if(Object(g["isObject"])(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),zh(t.label);var n=t.data;if(n&&!Object(g["isTypedArray"])(n))for(var i=0;i<n.length;i++)zh(n[i]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if("gauge"===e){var r=Ch(t,"pointer.color");null!=r&&jh(t,"itemStyle.color",r)}else if("bar"===e){Hh(t),Hh(t.backgroundStyle),Hh(t.emphasis);n=t.data;if(n&&!Object(g["isTypedArray"])(n))for(i=0;i<n.length;i++)"object"===typeof n[i]&&(Hh(n[i]),Hh(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)),Bh(t),Wh(t.data,Bh)}else"graph"===e||"sankey"===e?Fh(t):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&Object(g["defaults"])(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),Ph(t)}})),t.dataRange&&(t.visualMap=t.dataRange),Object(g["each"])(Rh,(function(e){var n=t[e];n&&(Object(g["isArray"])(n)||(n=[n]),Object(g["each"])(n,(function(t){Ph(t)})))}))}function Gh(t){var e=Object(g["createHashMap"])();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(Uh)}function Uh(t){Object(g["each"])(t,(function(e,n){var i=[],r=[NaN,NaN],a=[e.stackResultDimension,e.stackedOverDimension],o=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";o.modify(a,(function(a,u,c){var d,h,p=o.get(e.stackedDimension,c);if(isNaN(p))return r;s?h=o.getRawIndex(c):d=o.get(e.stackedByDimension,c);for(var f=NaN,_=n-1;_>=0;_--){var g=t[_];if(s||(h=g.data.rawIndexOf(g.stackedByDimension,d)),h>=0){var m=g.data.getByRawIndex(g.stackResultDimension,h);if("all"===l||"positive"===l&&m>0||"negative"===l&&m<0||"samesign"===l&&p>=0&&m>0||"samesign"===l&&p<=0&&m<0){p=sr(p,m),f=m;break}}}return i[0]=p,i[1]=f,i}))}))}var Xh,Zh,qh,Kh,Jh,$h=function(){function t(t){this.data=t.data||(t.sourceFormat===Sd?{}:[]),this.sourceFormat=t.sourceFormat||kd,this.seriesLayoutBy=t.seriesLayoutBy||Td,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var i=e[n];null==i.type&&Ed(this,n)===Od.Must&&(i.type="ordinal")}}return t}();function Qh(t){return t instanceof $h}function tp(t,e,n){n=n||ip(t);var i=e.seriesLayoutBy,r=rp(t,n,i,e.sourceHeader,e.dimensions),a=new $h({data:t,sourceFormat:n,seriesLayoutBy:i,dimensionsDefine:r.dimensionsDefine,startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount,metaRawOption:Object(g["clone"])(e)});return a}function ep(t){return new $h({data:t,sourceFormat:Object(g["isTypedArray"])(t)?Ld:xd})}function np(t){return new $h({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:Object(g["clone"])(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function ip(t){var e=kd;if(Object(g["isTypedArray"])(t))e=Ld;else if(Object(g["isArray"])(t)){0===t.length&&(e=Md);for(var n=0,i=t.length;n<i;n++){var r=t[n];if(null!=r){if(Object(g["isArray"])(r)){e=Md;break}if(Object(g["isObject"])(r)){e=wd;break}}}}else if(Object(g["isObject"])(t))for(var a in t)if(Object(g["hasOwn"])(t,a)&&Object(g["isArrayLike"])(t[a])){e=Sd;break}return e}function rp(t,e,n,i,r){var a,o;if(!t)return{dimensionsDefine:op(r),startIndex:o,dimensionsDetectedCount:a};if(e===Md){var s=t;"auto"===i||null==i?sp((function(t){null!=t&&"-"!==t&&(Object(g["isString"])(t)?null==o&&(o=1):o=0)}),n,s,10):o=Object(g["isNumber"])(i)?i:i?1:0,r||1!==o||(r=[],sp((function(t,e){r[e]=null!=t?t+"":""}),n,s,1/0)),a=r?r.length:n===Dd?s.length:s[0]?s[0].length:null}else if(e===wd)r||(r=ap(t));else if(e===Sd)r||(r=[],Object(g["each"])(t,(function(t,e){r.push(e)})));else if(e===xd){var l=Or(t[0]);a=Object(g["isArray"])(l)&&l.length||1}return{startIndex:o,dimensionsDefine:op(r),dimensionsDetectedCount:a}}function ap(t){var e,n=0;while(n<t.length&&!(e=t[n++]));if(e){var i=[];return Object(g["each"])(e,(function(t,e){i.push(e)})),i}}function op(t){if(t){var e=Object(g["createHashMap"])();return Object(g["map"])(t,(function(t,n){t=Object(g["isObject"])(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 sp(t,e,n,i){if(e===Dd)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)}}function lp(t){var e=t.sourceFormat;return e===wd||e===Sd}var up=function(){function t(t,e){var n=Qh(t)?t:ep(t);this._source=n;var i=this._data=n.data;n.sourceFormat===Ld&&(this._offset=0,this._dimSize=e,this._data=i),Jh(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;Jh=function(t,r,a){var o=a.sourceFormat,s=a.seriesLayoutBy,l=a.startIndex,u=a.dimensionsDefine,c=Kh[vp(o,s)];if(Object(g["extend"])(t,c),o===Ld)t.getItem=e,t.count=i,t.fillStorage=n;else{var d=hp(o,s);t.getItem=Object(g["bind"])(d,null,r,l,u);var h=_p(o,s);t.count=Object(g["bind"])(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],c=e-t,d=n[o],h=0;h<c;h++){var p=r[h*a+o];d[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[Md+"_"+Td]={pure:!0,appendData:r},t[Md+"_"+Dd]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[wd]={pure:!0,appendData:r},t[Sd]={pure:!0,appendData:function(t){var e=this._data;Object(g["each"])(t,(function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])}))}},t[xd]={appendData:r},t[Ld]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},Kh=t}(),t}(),cp=function(t,e,n,i){return t[i]},dp=(Xh={},Xh[Md+"_"+Td]=function(t,e,n,i){return t[i+e]},Xh[Md+"_"+Dd]=function(t,e,n,i,r){i+=e;for(var a=r||[],o=t,s=0;s<o.length;s++){var l=o[s];a[s]=l?l[i]:null}return a},Xh[wd]=cp,Xh[Sd]=function(t,e,n,i,r){for(var a=r||[],o=0;o<n.length;o++){var s=n[o].name;0;var l=t[s];a[o]=l?l[i]:null}return a},Xh[xd]=cp,Xh);function hp(t,e){var n=dp[vp(t,e)];return n}var pp=function(t,e,n){return t.length},fp=(Zh={},Zh[Md+"_"+Td]=function(t,e,n){return Math.max(0,t.length-e)},Zh[Md+"_"+Dd]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},Zh[wd]=pp,Zh[Sd]=function(t,e,n){var i=n[0].name;var r=t[i];return r?r.length:0},Zh[xd]=pp,Zh);function _p(t,e){var n=fp[vp(t,e)];return n}var gp=function(t,e,n){return t[e]},mp=(qh={},qh[Md]=gp,qh[wd]=function(t,e,n){return t[n]},qh[Sd]=gp,qh[xd]=function(t,e,n){var i=Or(t);return i instanceof Array?i[e]:i},qh[Ld]=gp,qh);function yp(t){var e=mp[t];return e}function vp(t,e){return t===Md?t+"_"+e:t}function bp(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.getStore(),a=r.getSource().sourceFormat;if(null!=n){var o=t.getDimensionIndex(n),s=r.getDimensionProperty(o);return yp(a)(i,o,s)}var l=i;return a===xd&&(l=Or(i)),l}}}var xp=/\{@(.+?)\}/g,Mp=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,c=this.mainType,d="series"===c,h=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:d?this.subType:null,seriesIndex:this.seriesIndex,seriesId:d?this.id:null,seriesName:d?this.name:null,name:a,dataIndex:r,data:o,dataType:e,value:i,color:l,borderColor:u,dimensionNames:h?h.fullDimensions: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&&g["isArray"](s.value)&&(s.value=s.value[i]),!r){var l=o.getItemModel(t);r=l.get("normal"===e?["label","formatter"]:[e,"label","formatter"])}if(g["isFunction"](r))return s.status=e,s.dimensionIndex=i,r(s);if(g["isString"](r)){var u=Xc(r,s);return u.replace(xp,(function(e,n){var i=n.length,r=n;"["===r.charAt(0)&&"]"===r.charAt(i-1)&&(r=+r.slice(1,i-1));var s=bp(o,t,r);if(a&&g["isArray"](a.interpolatedValue)){var l=o.getDimensionIndex(r);l>=0&&(s=a.interpolatedValue[l])}return null!=s?s+"":""}))}},t.prototype.getRawValue=function(t,e){return bp(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function wp(t){var e,n;return g["isObject"](t)?t.type&&(n=t):e=t,{text:e,frag:n}}function Sp(t){return new Lp(t)}var Lp=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=c(this._modBy),s=this._modDataCount||0,l=c(t&&t.modBy),u=t&&t.modDataCount||0;function c(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 d=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!=d?this._dueIndex+d:1/0,this._dueEnd);if(!i&&(a||h<p)){var f=this._progress;if(Object(g["isArray"])(f))for(var _=0;_<f.length;_++)this._doProgress(f[_],h,p,l,u);else this._doProgress(f,h,p,l,u)}this._dueIndex=p;var m=null!=this._settedOutputEnd?this._settedOutputEnd:p;0,this._outputDueEnd=m}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){kp.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:kp.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),Object(g["isArray"])(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}(),kp=function(){var t,e,n,i,r,a={reset:function(l,u,c,d){e=l,t=u,n=c,i=d,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}}();function Tp(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||Object(g["isNumber"])(t)||null==t||"-"===t||(t=+hr(t)),null==t||""===t?NaN:+t)}var Dp=Object(g["createHashMap"])({number:function(t){return parseFloat(t)},time:function(t){return+hr(t)},trim:function(t){return Object(g["isString"])(t)?Object(g["trim"])(t):t}});function Op(t){return Dp.get(t)}var Ap={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}},Ip=function(){function t(t,e){if(!Object(g["isNumber"])(e)){var n="";0,$d(n)}this._opFn=Ap[t],this._rvalFloat=yr(e)}return t.prototype.evaluate=function(t){return Object(g["isNumber"])(t)?this._opFn(t,this._rvalFloat):this._opFn(yr(t),this._rvalFloat)},t}(),Yp=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=Object(g["isNumber"])(t)?t:yr(t),i=Object(g["isNumber"])(e)?e:yr(e),r=isNaN(n),a=isNaN(i);if(r&&(n=this._incomparable),a&&(i=this._incomparable),r&&a){var o=Object(g["isString"])(t),s=Object(g["isString"])(e);o&&(n=s?t:0),s&&(i=o?e:0)}return n<i?this._resultLT:n>i?-this._resultLT:0},t}(),Cp=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=yr(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=yr(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function jp(t,e){return"eq"===t||"ne"===t?new Cp("eq"===t,e):Object(g["hasOwn"])(Ap,t)?new Ip(t,e):null}var Pp=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 Tp(t,e)},t}();function Ep(t,e){var n=new Pp,i=t.data,r=n.sourceFormat=t.sourceFormat,a=t.startIndex,o="";t.seriesLayoutBy!==Td&&$d(o);var s=[],l={},u=t.dimensionsDefine;if(u)Object(g["each"])(u,(function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};if(s.push(i),null!=n){var r="";Object(g["hasOwn"])(l,n)&&$d(r),l[n]=i}}));else for(var c=0;c<t.dimensionsDetectedCount;c++)s.push({index:c});var d=hp(r,Td);e.__isBuiltIn&&(n.getRawDataItem=function(t){return d(i,a,s,t)},n.getRawData=Object(g["bind"])(Rp,null,t)),n.cloneRawData=Object(g["bind"])(Np,null,t);var h=_p(r,Td);n.count=Object(g["bind"])(h,null,i,a,s);var p=yp(r);n.retrieveValue=function(t,e){var n=d(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=Object(g["bind"])(Hp,null,s,l),n.cloneAllDimensionInfo=Object(g["bind"])(zp,null,s),n}function Rp(t){var e=t.sourceFormat;if(!Gp(e)){var n="";0,$d(n)}return t.data}function Np(t){var e=t.sourceFormat,n=t.data;if(!Gp(e)){var i="";0,$d(i)}if(e===Md){for(var r=[],a=0,o=n.length;a<o;a++)r.push(n[a].slice());return r}if(e===wd){for(r=[],a=0,o=n.length;a<o;a++)r.push(Object(g["extend"])({},n[a]));return r}}function Hp(t,e,n){if(null!=n)return Object(g["isNumber"])(n)||!isNaN(n)&&!Object(g["hasOwn"])(e,n)?t[n]:Object(g["hasOwn"])(e,n)?e[n]:void 0}function zp(t){return Object(g["clone"])(t)}var Bp=Object(g["createHashMap"])();function Fp(t){t=Object(g["clone"])(t);var e=t.type,n="";e||$d(n);var i=e.split(":");2!==i.length&&$d(n);var r=!1;"echarts"===i[0]&&(e=i[1],r=!0),t.__isBuiltIn=r,Bp.set(e,t)}function Wp(t,e,n){var i=kr(t),r=i.length,a="";r||$d(a);for(var o=0,s=r;o<s;o++){var l=i[o];e=Vp(l,e,n,1===r?null:o),o!==s-1&&(e.length=Math.max(e.length,1))}return e}function Vp(t,e,n,i){var r="";e.length||$d(r),Object(g["isObject"])(t)||$d(r);var a=t.type,o=Bp.get(a);o||$d(r);var s=Object(g["map"])(e,(function(t){return Ep(t,o)})),l=kr(o.transform({upstream:s[0],upstreamList:s,config:Object(g["clone"])(t.config)}));return Object(g["map"])(l,(function(t,n){var i="";Object(g["isObject"])(t)||$d(i),t.data||$d(i);var r,a=ip(t.data);Gp(a)||$d(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:Td,sourceHeader:s,dimensions:o.metaRawOption.dimensions}}else r={seriesLayoutBy:Td,sourceHeader:0,dimensions:t.dimensions};return tp(t.data,r,null)}))}function Gp(t){return t===Md||t===wd}var Up,Xp="undefined",Zp=typeof Uint32Array===Xp?Array:Uint32Array,qp=typeof Uint16Array===Xp?Array:Uint16Array,Kp=typeof Int32Array===Xp?Array:Int32Array,Jp=typeof Float64Array===Xp?Array:Float64Array,$p={float:Jp,int:Kp,ordinal:Array,number:Array,time:Jp};function Qp(t){return t>65535?Zp:qp}function tf(){return[1/0,-1/0]}function ef(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function nf(t,e,n,i,r){var a=$p[n||"float"];if(r){var o=t[e],s=o&&o.length;if(s!==i){for(var l=new a(i),u=0;u<s;u++)l[u]=o[u];t[e]=l}}else t[e]=new a(i)}var rf=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=Object(g["createHashMap"])()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var i=t.getSource(),r=this.defaultDimValueGetter=Up[i.sourceFormat];this._dimValueGetter=n||r,this._rawExtent=[];lp(i);this._dimensions=Object(g["map"])(e,(function(t){return{type:t.type,property:t.property}})),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new $p[e||"float"](this._rawCount),this._rawExtent[r]=tf(),r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,a=i.ordinalOffset||0,o=n.length;0===a&&(r[t]=tf());for(var s=r[t],l=a;l<o;l++){var u=n[l]=e.parseAndCollect(n[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}i.ordinalMeta=e,i.ordinalOffset=o,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){var e=this._dimensions[t],n=e.ordinalMeta;return n},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,i=this._dimensions,r=i.length,a=this._rawExtent,o=this.count(),s=o+Math.max(t.length,e||0),l=0;l<r;l++){var u=i[l];nf(n,l,u.type,s,!0)}for(var c=[],d=o;d<s;d++)for(var h=d-o,p=0;p<r;p++){u=i[p];var f=Up.arrayRows.call(this,t[h]||c,u.property,h,p);n[p][d]=f;var _=a[p];f<_[0]&&(_[0]=f),f>_[1]&&(_[1]=f)}return this._rawCount=this._count=s,{start:o,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,a=this._dimensions,o=a.length,s=this._rawExtent,l=Object(g["map"])(a,(function(t){return t.property})),u=0;u<o;u++){var c=a[u];s[u]||(s[u]=tf()),nf(r,u,c.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,r,s);else for(var d=[],h=t;h<e;h++){d=i.getItem(h,d);for(var p=0;p<o;p++){var f=r[p],_=this._dimValueGetter(d,l[p],h,p);f[h]=_;var m=s[p];_<m[0]&&(m[0]=_),_>m[1]&&(m[1]=_)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],i=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)i.push(r)}else i=t;r=0;for(var a=i.length;r<a;r++)n.push(this.get(i[r],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=this._chunks[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.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._chunks,r=i[t],a=[];if(!r)return a;null==n&&(n=1/0);for(var o=1/0,s=-1,l=0,u=0,c=this.count();u<c;u++){var d=this.getRawIndex(u),h=e-r[d],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.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=Qp(this._rawCount);t=new n(this.count());for(r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),r=Qp(n._rawCount),a=new r(i),o=[],s=t.length,l=0,u=t[0],c=n._chunks,d=0;d<i;d++){var h=void 0,p=n.getRawIndex(d);if(0===s)h=e(d);else if(1===s){var f=c[u][p];h=e(f,d)}else{for(var _=0;_<s;_++)o[_]=c[t[_]][p];o[_]=d,h=e.apply(null,o)}h&&(a[l++]=p)}return l<i&&(n._indices=a),n._count=l,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=Object(g["keys"])(t),r=i.length;if(!r)return this;var a=e.count(),o=Qp(e._rawCount),s=new o(a),l=0,u=i[0],c=t[u][0],d=t[u][1],h=e._chunks,p=!1;if(!e._indices){var f=0;if(1===r){for(var _=h[i[0]],m=0;m<n;m++){var y=_[m];(y>=c&&y<=d||isNaN(y))&&(s[l++]=f),f++}p=!0}else if(2===r){_=h[i[0]];var v=h[i[1]],b=t[i[1]][0],x=t[i[1]][1];for(m=0;m<n;m++){y=_[m];var M=v[m];(y>=c&&y<=d||isNaN(y))&&(M>=b&&M<=x||isNaN(M))&&(s[l++]=f),f++}p=!0}}if(!p)if(1===r)for(m=0;m<a;m++){var w=e.getRawIndex(m);y=h[i[0]][w];(y>=c&&y<=d||isNaN(y))&&(s[l++]=w)}else for(m=0;m<a;m++){for(var S=!0,L=(w=e.getRawIndex(m),0);L<r;L++){var k=i[L];y=h[k][w];(y<t[k][0]||y>t[k][1])&&(S=!1)}S&&(s[l++]=e.getRawIndex(m))}return l<a&&(e._indices=s),e._count=l,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var i=t._chunks,r=[],a=e.length,o=t.count(),s=[],l=t._rawExtent,u=0;u<e.length;u++)l[e[u]]=tf();for(var c=0;c<o;c++){for(var d=t.getRawIndex(c),h=0;h<a;h++)s[h]=i[e[h]][d];s[a]=c;var p=n&&n.apply(null,s);if(null!=p){"object"!==typeof p&&(r[0]=p,p=r);for(u=0;u<p.length;u++){var f=e[u],_=p[u],g=l[f],m=i[f];m&&(m[d]=_),_<g[0]&&(g[0]=_),_>g[1]&&(g[1]=_)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,a=this.clone([t],!0),o=a._chunks,s=o[t],l=this.count(),u=0,c=Math.floor(1/e),d=this.getRawIndex(0),h=new(Qp(this._rawCount))(Math.min(2*(Math.ceil(l/c)+2),l));h[u++]=d;for(var p=1;p<l-1;p+=c){for(var f=Math.min(p+c,l-1),_=Math.min(p+2*c,l),g=(_+f)/2,m=0,y=f;y<_;y++){var v=this.getRawIndex(y),b=s[v];isNaN(b)||(m+=b)}m/=_-f;var x=p,M=Math.min(p+c,l),w=p-1,S=s[d];n=-1,r=x;var L=-1,k=0;for(y=x;y<M;y++){v=this.getRawIndex(y),b=s[v];isNaN(b)?(k++,L<0&&(L=v)):(i=Math.abs((w-g)*(b-S)-(w-y)*(m-S)),i>n&&(n=i,r=v))}k>0&&k<M-x&&(h[u++]=Math.min(L,r),r=Math.max(L,r)),h[u++]=r,d=r}return h[u++]=this.getRawIndex(l-1),a._count=u,a._indices=h,a.getRawIndex=this._getRawIdx,a},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),a=r._chunks,o=[],s=Math.floor(1/e),l=a[t],u=this.count(),c=r._rawExtent[t]=tf(),d=new(Qp(this._rawCount))(Math.ceil(u/s)),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 _=this.getRawIndex(p+f);o[f]=l[_]}var g=n(o),m=this.getRawIndex(Math.min(p+i(o,g)||0,u-1));l[m]=g,g<c[0]&&(c[0]=g),g>c[1]&&(c[1]=g),d[h++]=m}return r._count=h,r._indices=d,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,a=this.count();r<a;r++){var o=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][o],r);break;case 2:e(i[t[0]][o],i[t[1]][o],r);break;default:for(var s=0,l=[];s<n;s++)l[s]=i[t[s]][o];l[s]=r,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],n=tf();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),c=e[u];c<o&&(o=c),c>s&&(s=c)}return i=[o,s],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r<i.length;r++)n.push(i[r][e]);return n},t.prototype.clone=function(e,n){var i=new t,r=this._chunks,a=e&&Object(g["reduce"])(e,(function(t,e){return t[e]=!0,t}),{});if(a)for(var o=0;o<r.length;o++)i._chunks[o]=a[o]?ef(r[o]):r[o];else i._chunks=r;return this._copyCommonProps(i),n||(i._indices=this._cloneIndices()),i._updateGetRawIdx(),i},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=Object(g["clone"])(this._extent),t._rawExtent=Object(g["clone"])(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var i=0;i<n;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return Tp(t[i],this._dimensions[i])}Up={arrayRows:t,objectRows:function(t,e,n,i){return Tp(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return Tp(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),af=rf,of=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},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(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(lf(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=Object(g["isTypedArray"])(o)?Ld:xd,e=[];var c=this._getSourceMetaRawOption()||{},d=l&&l.metaRawOption||{},h=Object(g["retrieve2"])(c.seriesLayoutBy,d.seriesLayoutBy)||null,p=Object(g["retrieve2"])(c.sourceHeader,d.sourceHeader),f=Object(g["retrieve2"])(c.dimensions,d.dimensions),_=h!==d.seriesLayoutBy||!!p!==!!d.sourceHeader||f;t=_?[tp(o,{seriesLayoutBy:h,sourceHeader:p,dimensions:f},s)]:[]}else{var m=n;if(r){var y=this._applyTransform(i);t=y.sourceList,e=y.upstreamSignList}else{var v=m.get("source",!0);t=[tp(v,this._getSourceMetaRawOption(),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&&uf(a)}var o=[],s=[];return Object(g["each"])(t,(function(t){t.prepareSource();var e=t.getSource(r||0),n="";null==r||e||uf(n),o.push(e),s.push(t._getVersionSign())})),i?e=Wp(i,o,{datasetIndex:n.componentIndex}):null!=r&&(e=[np(o[0])]),{sourceList:e,upstreamSignList:s}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var i=0,r=this._storeList,a=r[i];a||(a=r[i]={});var o=a[n];if(!o){var s=this._getUpstreamSourceManagers()[0];lf(this._sourceHost)&&s?o=s._innerGetDataStore(t,e,n):(o=new af,o.initData(new up(e,t.length),t)),a[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(lf(t)){var e=jd(t);return e?[e.getSourceManager()]:[]}return Object(g["map"])(Pd(t),(function(t){return t.getSourceManager()}))},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;if(lf(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 sf(t){var e=t.option.transform;e&&Object(g["setAsPrimitive"])(t.option.transform)}function lf(t){return"series"===t.mainType}function uf(t){throw new Error(t)}var cf="line-height:1";function df(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:"+at(i+"")+"px;color:"+at(n)+";font-weight:"+at(r+""),valueStyle:"font-size:"+at(o+"")+"px;color:"+at(a)+";font-weight:"+at(s+"")}:{nameStyle:{fontSize:i,fill:n,fontWeight:r},valueStyle:{fontSize:o,fill:a,fontWeight:s}}}var hf=[0,10,20,30],pf=["","\n","\n\n","\n\n\n"];function ff(t,e){return e.type=t,e}function _f(t){return"section"===t.type}function gf(t){return _f(t)?yf:vf}function mf(t){if(_f(t)){var e=0,n=t.blocks.length,i=n>1||n>0&&!t.noHeader;return Object(g["each"])(t.blocks,(function(t){var n=mf(t);n>=e&&(e=n+ +(i&&(!n||_f(t)&&!t.noHeader)))})),e}return 0}function yf(t,e,n,i){var r=e.noHeader,a=xf(mf(e)),o=[],s=e.blocks||[];Object(g["assert"])(!s||Object(g["isArray"])(s)),s=s||[];var l=t.orderMode;if(e.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Object(g["hasOwn"])(u,l)){var c=new Yp(u[l],null);s.sort((function(t,e){return c.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===l&&s.reverse()}Object(g["each"])(s,(function(n,r){var s=e.valueFormatter,l=gf(n)(s?Object(g["extend"])(Object(g["extend"])({},t),{valueFormatter:s}):t,n,r>0?a.html:0,i);null!=l&&o.push(l)}));var d="richText"===t.renderMode?o.join(a.richText):Mf(o.join(""),r?n:a.html);if(r)return d;var h=Vc(e.header,"ordinal",t.useUTC),p=df(i,t.renderMode).nameStyle;return"richText"===t.renderMode?Lf(t,h,p)+a.richText+d:Mf('<div style="'+p+";"+cf+';">'+at(h)+"</div>"+d,n)}function vf(t,e,n,i){var r=t.renderMode,a=e.noName,o=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,c=e.valueFormatter||t.valueFormatter||function(t){return t=Object(g["isArray"])(t)?t:[t],Object(g["map"])(t,(function(t,e){return Vc(t,Object(g["isArray"])(p)?p[e]:p,u)}))};if(!a||!o){var d=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),h=a?"":Vc(l,"ordinal",u),p=e.valueType,f=o?[]:c(e.value),_=!s||!a,m=!s&&a,y=df(i,r),v=y.nameStyle,b=y.valueStyle;return"richText"===r?(s?"":d)+(a?"":Lf(t,h,v))+(o?"":kf(t,f,_,m,b)):Mf((s?"":d)+(a?"":wf(h,!s,v))+(o?"":Sf(f,_,m,b)),n)}}function bf(t,e,n,i,r,a){if(t){var o=gf(t),s={useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter};return o(s,t,0,a)}}function xf(t){return{html:hf[t],richText:pf[t]}}function Mf(t,e){var n='<div style="clear:both"></div>',i="margin: "+e+"px 0 0";return'<div style="'+i+";"+cf+';">'+t+n+"</div>"}function wf(t,e,n){var i=e?"margin-left:2px":"";return'<span style="'+n+";"+i+'">'+at(t)+"</span>"}function Sf(t,e,n,i){var r=n?"10px":"20px",a=e?"float:right;margin-left:"+r:"";return t=Object(g["isArray"])(t)?t:[t],'<span style="'+a+";"+i+'">'+Object(g["map"])(t,(function(t){return at(t)})).join("&nbsp;&nbsp;")+"</span>"}function Lf(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function kf(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(Object(g["isArray"])(e)?e.join(" "):e,a)}function Tf(t,e){var n=t.getData().getItemVisual(e,"style"),i=n[t.visualDrawType];return $c(i)}function Df(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var Of=function(){function t(){this.richTextStyles={},this._nextStyleNameId=br()}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=qc({color:e,type:t,renderMode:n,markerId:i});return Object(g["isString"])(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};Object(g["isArray"])(e)?Object(g["each"])(e,(function(t){return Object(g["extend"])(n,t)})):Object(g["extend"])(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function Af(t){var e,n,i,r,a=t.series,o=t.dataIndex,s=t.multipleSeries,l=a.getData(),u=l.mapDimensionsAll("defaultedTooltip"),c=u.length,d=a.getRawValue(o),h=Object(g["isArray"])(d),p=Tf(a,o);if(c>1||h&&!c){var f=If(d,a,o,u,p);e=f.inlineValues,n=f.inlineValueTypes,i=f.blocks,r=f.inlineValues[0]}else if(c){var _=l.getDimensionInfo(u[0]);r=e=bp(l,o,u[0]),n=_.type}else r=e=h?d[0]:d;var m=Br(a),y=m&&a.name||"",v=l.getName(o),b=s?y:v;return ff("section",{header:y,noHeader:s||!m,sortParam:r,blocks:[ff("nameValue",{markerType:"item",markerColor:p,name:b,noName:!Object(g["trim"])(b),value:e,valueType:n})].concat(i||[])})}function If(t,e,n,i,r){var a=e.getData(),o=Object(g["reduce"])(t,(function(t,e,n){var i=a.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),s=[],l=[],u=[];function c(t,e){var n=a.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(o?u.push(ff("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?Object(g["each"])(i,(function(t){c(bp(a,n,t),t)})):Object(g["each"])(t,c),{inlineValues:s,inlineValueTypes:l,blocks:u}}var Yf=Zr();function Cf(t,e){return t.getName(e)||t.getId(e)}var jf="__universalTransitionEnabled",Pf=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return f(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=Sp({count:Nf,reset:Hf}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n);var i=Yf(this).sourceManager=new of(this);i.prepareSource();var r=this.getInitialData(t,n);Bf(r,this),this.dataTask.context.data=r,Yf(this).dataBeforeProcessed=r,Ef(this),this._initSelectedMapFromData(r)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=ud(this),i=n?dd(t):{},r=this.subType;gd.hasClass(r)&&(r+="Series"),g["merge"](t,e.getTheme().get(this.subType)),g["merge"](t,this.getDefaultOption()),Tr(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&cd(t,i,n)},e.prototype.mergeOption=function(t,e){t=g["merge"](this.option,t,!0),this.fillDataTextStyle(t.data);var n=ud(this);n&&cd(this.option,t,n);var i=Yf(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);Bf(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,Yf(this).dataBeforeProcessed=r,Ef(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!g["isTypedArray"](t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&Tr(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=Wf(this);if(e){var n=e.context.data;return null==t?n:n.getLinkedData(t)}return Yf(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=Wf(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}Yf(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return g["createHashMap"](t)},e.prototype.getSourceManager=function(){return Yf(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return Yf(this).dataBeforeProcessed},e.prototype.getColorBy=function(){var t=this.get("colorBy");return t||"series"},e.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.formatTooltip=function(t,e,n){return Af({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(_["a"].node&&(!t||!t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=Wd.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){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var a=0;a<t.length;a++){var o=t[a],s=Cf(r,o);n[s]=!1,this._selectedDataIndicesMap[s]=-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(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=g["keys"](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);return("all"===n||n[Cf(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[jf])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option,a=r.selectedMode,o=e.length;if(a&&o)if("series"===a)r.selectedMap="all";else if("multiple"===a){g["isObject"](r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l<o;l++){var u=e[l],c=Cf(t,u);s[c]=!0,this._selectedDataIndicesMap[c]=t.getRawIndex(u)}}else if("single"===a||!0===a){var d=e[o-1];c=Cf(t,d);r.selectedMap=(n={},n[c]=!0,n),this._selectedDataIndicesMap=(i={},i[c]=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);i&&i.selected&&e.push(n)})),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return gd.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(gd);function Ef(t){var e=t.name;Br(t)||(t.name=Rf(t)||e)}function Rf(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return g["each"](n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}function Nf(t){return t.model.getRawData().count()}function Hf(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),zf}function zf(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Bf(t,e){g["each"](g["concatArray"](t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,g["curry"](Ff,e))}))}function Ff(t,e){var n=Wf(t);return n&&n.setOutputEnd((e||this).count()),e}function Wf(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}}g["mixin"](Pf,Mp),g["mixin"](Pf,Wd),fa(Pf,gd);var Vf=Pf,Gf=function(){function t(){this.group=new Ri,this.uid=Xu("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.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();ha(Gf),va(Gf);var Uf=Gf;function Xf(){var t=Zr();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 Zf=Po.CMD,qf=[[],[],[]],Kf=Math.sqrt,Jf=Math.atan2;function $f(t,e){if(e){var n,i,r,a,o,s,l=t.data,u=t.len(),c=Zf.M,d=Zf.C,h=Zf.L,p=Zf.R,f=Zf.A,_=Zf.Q;for(r=0,a=0;r<u;){switch(n=l[r++],a=r,i=0,n){case c:i=1;break;case h:i=1;break;case d:i=3;break;case _:i=2;break;case f:var g=e[4],m=e[5],y=Kf(e[0]*e[0]+e[1]*e[1]),v=Kf(e[2]*e[2]+e[3]*e[3]),b=Jf(-e[1]/v,e[0]/y);l[r]*=y,l[r++]+=g,l[r]*=v,l[r++]+=m,l[r++]*=y,l[r++]*=v,l[r++]+=b,l[r++]+=b,r+=2,a=r;break;case p:s[0]=l[r++],s[1]=l[r++],H(s,s,e),l[a++]=s[0],l[a++]=s[1],s[0]+=l[r++],s[1]+=l[r++],H(s,s,e),l[a++]=s[0],l[a++]=s[1]}for(o=0;o<i;o++){var x=qf[o];x[0]=l[r++],x[1]=l[r++],H(x,x,e),l[a++]=x[0],l[a++]=x[1]}}t.increaseVersion()}}var Qf=Math.sqrt,t_=Math.sin,e_=Math.cos,n_=Math.PI;function i_(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function r_(t,e){return(t[0]*e[0]+t[1]*e[1])/(i_(t)*i_(e))}function a_(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(r_(t,e))}function o_(t,e,n,i,r,a,o,s,l,u,c){var d=l*(n_/180),h=e_(d)*(t-n)/2+t_(d)*(e-i)/2,p=-1*t_(d)*(t-n)/2+e_(d)*(e-i)/2,f=h*h/(o*o)+p*p/(s*s);f>1&&(o*=Qf(f),s*=Qf(f));var _=(r===a?-1:1)*Qf((o*o*(s*s)-o*o*(p*p)-s*s*(h*h))/(o*o*(p*p)+s*s*(h*h)))||0,g=_*o*p/s,m=_*-s*h/o,y=(t+n)/2+e_(d)*g-t_(d)*m,v=(e+i)/2+t_(d)*g+e_(d)*m,b=a_([1,0],[(h-g)/o,(p-m)/s]),x=[(h-g)/o,(p-m)/s],M=[(-1*h-g)/o,(-1*p-m)/s],w=a_(x,M);if(r_(x,M)<=-1&&(w=n_),r_(x,M)>=1&&(w=0),w<0){var S=Math.round(w/n_*1e6)/1e6;w=2*n_+S%2*n_}c.addData(u,y,v,o,s,b,w,d,a)}var s_=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,l_=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function u_(t){var e=new Po;if(!t)return e;var n,i=0,r=0,a=i,o=r,s=Po.CMD,l=t.match(s_);if(!l)return e;for(var u=0;u<l.length;u++){for(var c=l[u],d=c.charAt(0),h=void 0,p=c.match(l_)||[],f=p.length,_=0;_<f;_++)p[_]=parseFloat(p[_]);var g=0;while(g<f){var m=void 0,y=void 0,v=void 0,b=void 0,x=void 0,M=void 0,w=void 0,S=i,L=r,k=void 0,T=void 0;switch(d){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,d="l";break;case"M":i=p[g++],r=p[g++],h=s.M,e.addData(h,i,r),a=i,o=r,d="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":m=i,y=r,k=e.len(),T=e.data,n===s.C&&(m+=i-T[k-4],y+=r-T[k-3]),h=s.C,S=p[g++],L=p[g++],i=p[g++],r=p[g++],e.addData(h,m,y,S,L,i,r);break;case"s":m=i,y=r,k=e.len(),T=e.data,n===s.C&&(m+=i-T[k-4],y+=r-T[k-3]),h=s.C,S=i+p[g++],L=r+p[g++],i+=p[g++],r+=p[g++],e.addData(h,m,y,S,L,i,r);break;case"Q":S=p[g++],L=p[g++],i=p[g++],r=p[g++],h=s.Q,e.addData(h,S,L,i,r);break;case"q":S=p[g++]+i,L=p[g++]+r,i+=p[g++],r+=p[g++],h=s.Q,e.addData(h,S,L,i,r);break;case"T":m=i,y=r,k=e.len(),T=e.data,n===s.Q&&(m+=i-T[k-4],y+=r-T[k-3]),i=p[g++],r=p[g++],h=s.Q,e.addData(h,m,y,i,r);break;case"t":m=i,y=r,k=e.len(),T=e.data,n===s.Q&&(m+=i-T[k-4],y+=r-T[k-3]),i+=p[g++],r+=p[g++],h=s.Q,e.addData(h,m,y,i,r);break;case"A":v=p[g++],b=p[g++],x=p[g++],M=p[g++],w=p[g++],S=i,L=r,i=p[g++],r=p[g++],h=s.A,o_(S,L,i,r,M,w,v,b,x,h,e);break;case"a":v=p[g++],b=p[g++],x=p[g++],M=p[g++],w=p[g++],S=i,L=r,i+=p[g++],r+=p[g++],h=s.A,o_(S,L,i,r,M,w,v,b,x,h,e);break}}"z"!==d&&"Z"!==d||(h=s.Z,e.addData(h),i=a,r=o),n=h}return e.toStatic(),e}var c_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.applyTransform=function(t){},e}(ss);function d_(t){return null!=t.setData}function h_(t,e){var n=u_(t),i=Object(g["extend"])({},e);return i.buildPath=function(t){if(d_(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){$f(n,t),this.dirtyShape()},i}function p_(t,e){return new c_(h_(t,e))}function f_(t,e){var n=h_(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 f(e,t),e}(c_);return i}function __(t,e){for(var n=[],i=t.length,r=0;r<i;r++){var a=t[r];n.push(a.getUpdatedPathProxy(!0))}var o=new ss(e);return o.createPathProxy(),o.buildPath=function(t){if(d_(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},o}function g_(t,e){e=e||{};var n=new ss;return t.shape&&n.setShape(t.shape),n.setStyle(t.style),e.bakeTransform?$f(n.path,t.getComputedTransform()):e.toLocal?n.setLocalTransform(t.getComputedTransform()):n.copyTransform(t),n.buildPath=t.buildPath,n.applyTransform=n.applyTransform,n.z=t.z,n.z2=t.z2,n.zlevel=t.zlevel,n}var m_=function(){function t(){this.cx=0,this.cy=0,this.r=0}return t}(),y_=function(t){function e(e){return t.call(this,e)||this}return f(e,t),e.prototype.getDefaultShape=function(){return new m_},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(ss);y_.prototype.type="circle";var v_=y_,b_=function(){function t(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return t}(),x_=function(t){function e(e){return t.call(this,e)||this}return f(e,t),e.prototype.getDefaultShape=function(){return new b_},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}(ss);x_.prototype.type="ellipse";var M_=x_,w_=Math.PI,S_=2*w_,L_=Math.sin,k_=Math.cos,T_=Math.acos,D_=Math.atan2,O_=Math.abs,A_=Math.sqrt,I_=Math.max,Y_=Math.min,C_=1e-4;function j_(t,e,n,i,r,a,o,s){var l=n-t,u=i-e,c=o-r,d=s-a,h=d*l-c*u;if(!(h*h<C_))return h=(c*(e-a)-d*(t-r))/h,[t+h*l,e+h*u]}function P_(t,e,n,i,r,a,o){var s=t-n,l=e-i,u=(o?a:-a)/A_(s*s+l*l),c=u*l,d=-u*s,h=t+c,p=e+d,f=n+c,_=i+d,g=(h+f)/2,m=(p+_)/2,y=f-h,v=_-p,b=y*y+v*v,x=r-a,M=h*_-f*p,w=(v<0?-1:1)*A_(I_(0,x*x*b-M*M)),S=(M*v-y*w)/b,L=(-M*y-v*w)/b,k=(M*v+y*w)/b,T=(-M*y+v*w)/b,D=S-g,O=L-m,A=k-g,I=T-m;return D*D+O*O>A*A+I*I&&(S=k,L=T),{cx:S,cy:L,x0:-c,y0:-d,x1:S*(r/x-1),y1:L*(r/x-1)}}function E_(t){var e;if(Object(g["isArray"])(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}function R_(t,e){var n,i=I_(e.r,0),r=I_(e.r0||0,0),a=i>0,o=r>0;if(a||o){if(a||(i=r,r=0),r>i){var s=i;i=r,r=s}var l=e.startAngle,u=e.endAngle;if(!isNaN(l)&&!isNaN(u)){var c=e.cx,d=e.cy,h=!!e.clockwise,p=O_(u-l),f=p>S_&&p%S_;if(f>C_&&(p=f),i>C_)if(p>S_-C_)t.moveTo(c+i*k_(l),d+i*L_(l)),t.arc(c,d,i,l,u,!h),r>C_&&(t.moveTo(c+r*k_(u),d+r*L_(u)),t.arc(c,d,r,u,l,h));else{var _=void 0,g=void 0,m=void 0,y=void 0,v=void 0,b=void 0,x=void 0,M=void 0,w=void 0,S=void 0,L=void 0,k=void 0,T=void 0,D=void 0,O=void 0,A=void 0,I=i*k_(l),Y=i*L_(l),C=r*k_(u),j=r*L_(u),P=p>C_;if(P){var E=e.cornerRadius;E&&(n=E_(E),_=n[0],g=n[1],m=n[2],y=n[3]);var R=O_(i-r)/2;if(v=Y_(R,m),b=Y_(R,y),x=Y_(R,_),M=Y_(R,g),L=w=I_(v,b),k=S=I_(x,M),(w>C_||S>C_)&&(T=i*k_(u),D=i*L_(u),O=r*k_(l),A=r*L_(l),p<w_)){var N=j_(I,Y,O,A,T,D,C,j);if(N){var H=I-N[0],z=Y-N[1],B=T-N[0],F=D-N[1],W=1/L_(T_((H*B+z*F)/(A_(H*H+z*z)*A_(B*B+F*F)))/2),V=A_(N[0]*N[0]+N[1]*N[1]);L=Y_(w,(i-V)/(W+1)),k=Y_(S,(r-V)/(W-1))}}}if(P)if(L>C_){var G=Y_(m,L),U=Y_(y,L),X=P_(O,A,I,Y,i,G,h),Z=P_(T,D,C,j,i,U,h);t.moveTo(c+X.cx+X.x0,d+X.cy+X.y0),L<w&&G===U?t.arc(c+X.cx,d+X.cy,L,D_(X.y0,X.x0),D_(Z.y0,Z.x0),!h):(G>0&&t.arc(c+X.cx,d+X.cy,G,D_(X.y0,X.x0),D_(X.y1,X.x1),!h),t.arc(c,d,i,D_(X.cy+X.y1,X.cx+X.x1),D_(Z.cy+Z.y1,Z.cx+Z.x1),!h),U>0&&t.arc(c+Z.cx,d+Z.cy,U,D_(Z.y1,Z.x1),D_(Z.y0,Z.x0),!h))}else t.moveTo(c+I,d+Y),t.arc(c,d,i,l,u,!h);else t.moveTo(c+I,d+Y);if(r>C_&&P)if(k>C_){G=Y_(_,k),U=Y_(g,k),X=P_(C,j,T,D,r,-U,h),Z=P_(I,Y,O,A,r,-G,h);t.lineTo(c+X.cx+X.x0,d+X.cy+X.y0),k<S&&G===U?t.arc(c+X.cx,d+X.cy,k,D_(X.y0,X.x0),D_(Z.y0,Z.x0),!h):(U>0&&t.arc(c+X.cx,d+X.cy,U,D_(X.y0,X.x0),D_(X.y1,X.x1),!h),t.arc(c,d,r,D_(X.cy+X.y1,X.cx+X.x1),D_(Z.cy+Z.y1,Z.cx+Z.x1),h),G>0&&t.arc(c+Z.cx,d+Z.cy,G,D_(Z.y1,Z.x1),D_(Z.y0,Z.x0),!h))}else t.lineTo(c+C,d+j),t.arc(c,d,r,u,l,h);else t.lineTo(c+C,d+j)}else t.moveTo(c,d);t.closePath()}}}var N_=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}return t}(),H_=function(t){function e(e){return t.call(this,e)||this}return f(e,t),e.prototype.getDefaultShape=function(){return new N_},e.prototype.buildPath=function(t,e){R_(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(ss);H_.prototype.type="sector";var z_=H_,B_=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return t}(),F_=function(t){function e(e){return t.call(this,e)||this}return f(e,t),e.prototype.getDefaultShape=function(){return new B_},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}(ss);F_.prototype.type="ring";var W_=F_;function V_(t,e,n,i){var r,a,o,s,l=[],u=[],c=[],d=[];if(i){o=[1/0,1/0],s=[-1/0,-1/0];for(var h=0,p=t.length;h<p;h++)z(o,o,t[h]),B(s,s,t[h]);z(o,o,i[0]),B(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(v(t[h]));continue}r=t[h-1],a=t[h+1]}w(u,a,r),I(u,u,e);var _=C(f,r),g=C(f,a),m=_+g;0!==m&&(_/=m,g/=m),I(c,u,-_),I(d,u,g);var y=x([],f,c),b=x([],f,d);i&&(B(y,y,o),z(y,y,s),B(b,b,o),z(b,b,s)),l.push(y),l.push(b)}return n&&l.push(l.shift()),l}function G_(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var a=V_(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],c=r[(s+1)%o];t.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{t.moveTo(r[0][0],r[0][1]);s=1;for(var d=r.length;s<d;s++)t.lineTo(r[s][0],r[s][1])}n&&t.closePath()}}var U_=function(){function t(){this.points=null,this.smooth=0,this.smoothConstraint=null}return t}(),X_=function(t){function e(e){return t.call(this,e)||this}return f(e,t),e.prototype.getDefaultShape=function(){return new U_},e.prototype.buildPath=function(t,e){G_(t,e,!0)},e}(ss);X_.prototype.type="polygon";var Z_=X_,q_=function(){function t(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return t}(),K_=function(t){function e(e){return t.call(this,e)||this}return f(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new q_},e.prototype.buildPath=function(t,e){G_(t,e,!1)},e}(ss);K_.prototype.type="polyline";var J_=K_,$_={},Q_=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return t}(),tg=function(t){function e(e){return t.call(this,e)||this}return f(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Q_},e.prototype.buildPath=function(t,e){var n,i,r,a;if(this.subPixelOptimize){var o=ys($_,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}(ss);tg.prototype.type="line";var eg=tg,ng=[],ig=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 rg(t,e,n){var i=t.cpx2,r=t.cpy2;return null!=i||null!=r?[(n?Pe:je)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?Pe:je)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?Fe:Be)(t.x1,t.cpx1,t.x2,e),(n?Fe:Be)(t.y1,t.cpy1,t.y2,e)]}var ag=function(t){function e(e){return t.call(this,e)||this}return f(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new ig},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,c=e.percent;0!==c&&(t.moveTo(n,i),null==l||null==u?(c<1&&(Ge(n,o,r,c,ng),o=ng[1],r=ng[2],Ge(i,s,a,c,ng),s=ng[1],a=ng[2]),t.quadraticCurveTo(o,s,r,a)):(c<1&&(Ne(n,o,l,r,c,ng),o=ng[1],l=ng[2],r=ng[3],Ne(i,s,u,a,c,ng),s=ng[1],u=ng[2],a=ng[3]),t.bezierCurveTo(o,s,l,u,r,a)))},e.prototype.pointAt=function(t){return rg(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=rg(this.shape,t,!0);return Y(e,e)},e}(ss);ag.prototype.type="bezier-curve";var og=ag,sg=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}(),lg=function(t){function e(e){return t.call(this,e)||this}return f(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new sg},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}(ss);lg.prototype.type="arc";var ug=lg,cg=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return f(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),ss.prototype.getBoundingRect.call(this)},e}(ss),dg=cg,hg=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}(),pg=hg,fg=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 f(e,t),e}(pg),_g=fg,gg=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 f(e,t),e}(pg),mg=gg,yg=[0,0],vg=[0,0],bg=new Yt,xg=new Yt,Mg=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new Yt;for(n=0;n<2;n++)this._axes[n]=new Yt;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);Yt.sub(i[0],n[1],n[0]),Yt.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 bg.set(1/0,1/0),xg.set(0,0),!this._intersectCheckOneSide(this,t,bg,xg,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(t,this,bg,xg,i,-1)&&(n=!1,i)||i||Yt.copy(e,n?bg:xg),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,yg),this._getProjMinMaxOnAxis(s,e._corners,vg),yg[1]<vg[0]||yg[0]>vg[1]){if(o=!1,r)return o;var u=Math.abs(vg[0]-yg[1]),c=Math.abs(yg[0]-vg[1]);Math.min(u,c)>i.len()&&(u<c?Yt.scale(i,l,-u*a):Yt.scale(i,l,c*a))}else if(n){u=Math.abs(vg[0]-yg[1]),c=Math.abs(yg[0]-vg[1]);Math.min(u,c)<n.len()&&(u<c?Yt.scale(n,l,u*a):Yt.scale(n,l,-c*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}(),wg=Mg,Sg=[],Lg=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 f(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 Ft(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(Sg)),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}(Qa),kg=Lg,Tg=Math.max,Dg=Math.min,Og={};function Ag(t){return ss.extend(t)}var Ig=f_;function Yg(t,e){return Ig(t,e)}function Cg(t,e){Og[t]=e}function jg(t){if(Og.hasOwnProperty(t))return Og[t]}function Pg(t,e,n,i){var r=p_(t,e);return n&&("center"===i&&(n=Rg(n,r.getBoundingRect())),Hg(r,n)),r}function Eg(t,e,n){var i=new _s({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(Rg(e,r))}}});return i}function Rg(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 Ng=__;function Hg(t,e){if(t.applyTransform){var n=t.getBoundingRect(),i=n.calculateTransform(e);t.applyTransform(i)}}function zg(t,e){return ys(t,t,{lineWidth:e}),t}function Bg(t){return vs(t.shape,t.shape,t.style),t}var Fg=bs;function Wg(t,e){var n=wt([]);while(t&&t!==e)Lt(n,t.getLocalTransform(),n),t=t.parent;return n}function Vg(t,e,n){return e&&!Object(g["isArrayLike"])(e)&&(e=ci.getLocalTransform(e)),n&&(e=Ot([],e)),H([],t,e)}function Gg(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=Vg(a,e,n),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function Ug(t){return!t.isGroup}function Xg(t){return null!=t.shape}function Zg(t,e,n){if(t&&e){var i=r(t);e.traverse((function(t){if(Ug(t)&&t.anid){var e=i[t.anid];if(e){var r=a(t);t.attr(a(e)),lu(t,r,n,Ws(t).dataIndex)}}}))}function r(t){var e={};return t.traverse((function(t){Ug(t)&&t.anid&&(e[t.anid]=t)})),e}function a(t){var e={x:t.x,y:t.y,rotation:t.rotation};return Xg(t)&&(e.shape=Object(g["extend"])({},t.shape)),e}}function qg(t,e){return Object(g["map"])(t,(function(t){var n=t[0];n=Tg(n,e.x),n=Dg(n,e.x+e.width);var i=t[1];return i=Tg(i,e.y),i=Dg(i,e.y+e.height),[n,i]}))}function Kg(t,e){var n=Tg(t.x,e.x),i=Dg(t.x+t.width,e.x+e.width),r=Tg(t.y,e.y),a=Dg(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 Jg(t,e,n){var i=Object(g["extend"])({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),Object(g["defaults"])(r,n),new _s(i)):Pg(t.replace("path://",""),i,n,"center")}function $g(t,e,n,i,r){for(var a=0,o=r[r.length-1];a<r.length;a++){var s=r[a];if(Qg(t,e,n,i,s[0],s[1],o[0],o[1]))return!0;o=s}}function Qg(t,e,n,i,r,a,o,s){var l=n-t,u=i-e,c=o-r,d=s-a,h=tm(c,d,l,u);if(em(h))return!1;var p=t-r,f=e-a,_=tm(p,f,l,u)/h;if(_<0||_>1)return!1;var g=tm(p,f,c,d)/h;return!(g<0||g>1)}function tm(t,e,n,i){return t*i-n*e}function em(t){return t<=1e-6&&t>=-1e-6}function nm(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=Object(g["isString"])(e)?{formatter:e}:e,a=n.mainType,o=n.componentIndex,s={componentType:a,name:i,$vars:["name"]};s[a+"Index"]=o;var l=t.formatterParamsExtra;l&&Object(g["each"])(Object(g["keys"])(l),(function(t){Object(g["hasOwn"])(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=Ws(t.el);u.componentMainType=a,u.componentIndex=o,u.tooltipConfig={name:i,option:Object(g["defaults"])({content:i,formatterParams:s},r)}}function im(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function rm(t,e){if(t)if(Object(g["isArray"])(t))for(var n=0;n<t.length;n++)im(t[n],e);else im(t,e)}Cg("circle",v_),Cg("ellipse",M_),Cg("sector",z_),Cg("ring",W_),Cg("polygon",Z_),Cg("polyline",J_),Cg("rect",Ss),Cg("line",eg),Cg("bezierCurve",og),Cg("arc",ug);var am=Zr(),om=Xf(),sm=function(){function t(){this.group=new Ri,this.uid=Xu("viewChart"),this.renderTask=Sp({plan:cm,reset:dm}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){0},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&um(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&um(r,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.prototype.eachRendered=function(t){rm(this.group,t)},t.markUpdateMethod=function(t,e){am(t).updateMethod=e},t.protoInitialize=function(){var e=t.prototype;e.type="chart"}(),t}();function lm(t,e,n){t&&Ql(t)&&("emphasis"===e?Dl:Ol)(t,n)}function um(t,e,n){var i=Xr(t,e),r=e&&null!=e.highlightKey?eu(e.highlightKey):null;null!=i?Object(g["each"])(kr(i),(function(e){lm(t.getItemGraphicEl(e),n,r)})):t.eachItemGraphicEl((function(t){lm(t,n,r)}))}function cm(t){return om(t.model)}function dm(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,a=e.pipelineContext.progressiveRender,o=t.view,s=r&&am(r).updateMethod,l=a?"incrementalPrepareRender":s&&o[s]?s:"render";return"render"!==l&&o[l](e,n,i,r),hm[l]}ha(sm,["dispose"]),va(sm);var hm={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)}}},pm=sm,fm="\0__throttleOriginMethod",_m="\0__throttleRate",gm="\0__throttleType";function mm(t,e,n){var i,r,a,o,s,l=0,u=0,c=null;function d(){u=(new Date).getTime(),c=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(c),f?c=setTimeout(d,p):r>=0?d():c=setTimeout(d,-r),l=i};return h.clear=function(){c&&(clearTimeout(c),c=null)},h.debounceNextCall=function(t){s=t},h}function ym(t,e,n,i){var r=t[e];if(r){var a=r[fm]||r,o=r[gm],s=r[_m];if(s!==n||o!==i){if(null==n||!i)return t[e]=a;r=t[e]=mm(a,n,"debounce"===i),r[fm]=a,r[gm]=i,r[_m]=n}return r}}function vm(t,e){var n=t[e];n&&n[fm]&&(n.clear&&n.clear(),t[e]=n[fm])}var bm=Zr(),xm={itemStyle:ba(Bu,!0),lineStyle:ba(Nu,!0)},Mm={lineStyle:"stroke",itemStyle:"fill"};function wm(t,e){var n=t.visualStyleMapper||xm[e];return n||(console.warn("Unkown style type '"+e+"'."),xm.itemStyle)}function Sm(t,e){var n=t.visualDrawType||Mm[e];return n||(console.warn("Unkown style type '"+e+"'."),"fill")}var Lm={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),a=wm(t,i),o=a(r),s=r.getShallow("decal");s&&(n.setVisual("decal",s),s.dirty=!0);var l=Sm(t,i),u=o[l],c=Object(g["isFunction"])(u)?u:null,d="auto"===o.fill||"auto"===o.stroke;if(!o[l]||c||d){var h=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[l]||(o[l]=h,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||Object(g["isFunction"])(o.fill)?h:o.fill,o.stroke="auto"===o.stroke||Object(g["isFunction"])(o.stroke)?h:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",l),!e.isSeriesFiltered(t)&&c)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=Object(g["extend"])({},o);r[l]=c(i),e.setItemVisual(n,"style",r)}}}},km=new Gu,Tm={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=wm(t,i),a=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){km.option=n[i];var o=r(km),s=t.ensureUniqueItemVisual(e,"style");Object(g["extend"])(s,o),km.option.decal&&(t.setItemVisual(e,"decal",km.option.decal),km.option.decal.dirty=!0),a in o&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},Dm={performRawSeries:!0,overallReset:function(t){var e=Object(g["createHashMap"])();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),bm(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),a=bm(e).scope,o=e.visualStyleAccessPath||"itemStyle",s=Sm(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"),c=n.getName(t)||t+"",d=n.count();u[s]=e.getColorFromPalette(c,a,d)}}))}}))}},Om=Math.PI;function Am(t,e){e=e||{},g["defaults"](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 Ri,i=new Ss({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,a=new Fs({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),o=new Ss({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(o),e.showSpinner&&(r=new ug({shape:{startAngle:-Om/2,endAngle:-Om/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*Om/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*Om/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 Im=function(){function t(t,e,n,i){this._stageTaskMap=Object(g["createHashMap"])(),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=Object(g["createHashMap"])();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;Object(g["each"])(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{}),a="";Object(g["assert"])(!(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))}Object(g["each"])(t,(function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=a._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var d,h=c.agentStubMap;h.each((function(t){o(i,t)&&(t.dirty(),d=!0)})),d&&c.dirty(),a.updatePayload(c,n);var p=a.getPerformArgs(c,i.block);h.each((function(t){t.perform(p)})),c.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=Object(g["createHashMap"])(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=o.set(s,a&&a.get(s)||Sp({plan:Em,reset:Rm,count:zm}));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||Sp({reset:Ym});a.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var o=a.agentStubMap,s=a.agentStubMap=Object(g["createHashMap"])(),l=t.seriesType,u=t.getTargetSeries,c=!0,d=!1,h="";function p(t){var e=t.uid,n=s.set(e,o&&o.get(e)||(d=!0,Sp({reset:Cm,onDirty:Pm})));n.context={model:t,overallProgress:c},n.agent=a,n.__block=c,r._pipe(t,n)}Object(g["assert"])(!t.createOnAllSeries,h),l?n.eachRawSeriesByType(l,p):u?u(n,i).each(p):(c=!1,Object(g["each"])(n.getSeries(),p)),d&&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 Object(g["isFunction"])(t)&&(t={overallReset:t,seriesType:Bm(t)}),t.uid=Xu("stageHandler"),e&&(t.visualType=e),t},t}();function Ym(t){t.overallReset(t.ecModel,t.api,t.payload)}function Cm(t){return t.overallProgress&&jm}function jm(){this.agent.dirty(),this.getDownstream().dirty()}function Pm(){this.agent&&this.agent.dirty()}function Em(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Rm(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=kr(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?Object(g["map"])(e,(function(t,e){return Hm(e)})):Nm}var Nm=Hm(0);function Hm(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 zm(t){return t.data.count()}function Bm(t){Fm=null;try{t(Wm,Vm)}catch(e){}return Fm}var Fm,Wm={},Vm={};function Gm(t,e){for(var n in e.prototype)t[n]=g["noop"]}Gm(Wm,sh),Gm(Vm,ch),Wm.eachSeriesByType=Wm.eachRawSeriesByType=function(t){Fm=t},Wm.eachComponent=function(t){"series"===t.mainType&&t.subType&&(Fm=t.subType)};var Um=Im,Xm=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],Zm={color:Xm,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],Xm]},qm="#B9B8CE",Km="#100C2A",Jm=function(){return{axisLine:{lineStyle:{color:qm}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},$m=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Qm={darkMode:!0,color:$m,backgroundColor:Km,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:qm}},textStyle:{color:qm},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:qm}},dataZoom:{borderColor:"#71708A",textStyle:{color:qm},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:qm}},timeline:{lineStyle:{color:qm},label:{color:qm},controlStyle:{color:qm,borderColor:qm}},calendar:{itemStyle:{color:Km},dayLabel:{color:qm},monthLabel:{color:qm},yearLabel:{color:qm}},timeAxis:Jm(),logAxis:Jm(),valueAxis:Jm(),categoryAxis:Jm(),line:{symbol:"circle"},graph:{color:$m},gauge:{title:{color:qm},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:qm},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};Qm.categoryAxis.splitLine.show=!1;var ty=Qm,ey=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},i={};if(g["isString"](t)){var r=ua(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var a=["Index","Name","Id"],o={name:1,dataIndex:1,dataType:1};g["each"](t,(function(t,r){for(var s=!1,l=0;l<a.length;l++){var u=a[l],c=r.lastIndexOf(u);if(c>0&&c===r.length-u.length){var d=r.slice(0,c);"data"!==d&&(e.mainType=d,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}(),ny=["symbol","symbolSize","symbolRotate","symbolOffset"],iy=ny.concat(["symbolKeepAspect"]),ry={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},a=!1,o=0;o<ny.length;o++){var s=ny[o],l=t.get(s);Object(g["isFunction"])(l)?(a=!0,r[s]=l):i[s]=l}if(i.symbol=i.symbol||t.defaultSymbol,n.setVisual(Object(g["extend"])({legendIcon:t.legendIcon||i.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},i)),!e.isSeriesFiltered(t)){var u=Object(g["keys"])(r);return{dataEach:a?c:null}}}function c(e,n){for(var i=t.getRawValue(n),a=t.getDataParams(n),o=0;o<u.length;o++){var s=u[o];e.setItemVisual(n,s,r[s](i,a))}}}},ay={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){for(var n=t.getItemModel(e),i=0;i<iy.length;i++){var r=iy[i],a=n.getShallow(r,!0);null!=a&&t.setItemVisual(e,r,a)}}}};function oy(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 sy(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 ly(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}}function uy(t,e){function n(e,n){var i=[];return e.eachComponent({mainType:"series",subType:t,query:n},(function(t){i.push(t.seriesIndex)})),i}Object(g["each"])([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],(function(t){e(t[0],(function(e,i,r){e=Object(g["extend"])({},e),r.dispatchAction(Object(g["extend"])(e,{type:t[1],seriesIndex:n(i,e)}))}))}))}function cy(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=t.option.selectedMap,o=r.selected,s=0;s<o.length;s++)if(o[s].seriesIndex===e){var l=t.getData(),u=Xr(l,r.fromActionPayload);n.trigger(a,{type:a,seriesId:t.id,name:Object(g["isArray"])(u)?l.getName(u[0]):l.getName(u),selected:Object(g["isString"])(i)?i:Object(g["extend"])({},i)})}}))}function dy(t,e,n){t.on("selectchanged",(function(t){var i=n.getModel();t.isFromClick?(cy("map","selectchanged",e,i,t),cy("pie","selectchanged",e,i,t)):"select"===t.fromAction?(cy("map","selected",e,i,t),cy("pie","selected",e,i,t)):"unselect"===t.fromAction&&(cy("map","unselected",e,i,t),cy("pie","unselected",e,i,t))}))}function hy(t,e,n){var i;while(t){if(e(t)&&(i=t,n))break;t=t.__hostTarget||t.parent}return i}var py=Math.round(9*Math.random()),fy="function"===typeof Object.defineProperty,_y=function(){function t(){this._id="__ec_inner_"+py++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return fy?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}(),gy=_y,my=ss.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()}}),yy=ss.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()}}),vy=ss.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),c=Math.cos(u)*o,d=Math.sin(u),h=Math.cos(u),p=.6*o,f=.7*o;t.moveTo(n-c,l+s),t.arc(n,l,o,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+c-d*p,l+s+h*p,n,i-f,n,i),t.bezierCurveTo(n,i-f,n-c+d*p,l+s+h*p,n-c,l+s),t.closePath()}}),by=ss.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()}}),xy={line:eg,rect:Ss,roundRect:Ss,square:Ss,circle:v_,diamond:yy,pin:vy,arrow:by,triangle:my},My={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},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}},wy={};Object(g["each"])(xy,(function(t,e){wy[e]=new t}));var Sy=ss.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=xi(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=wy[i];r||(i="rect",r=wy[i]),My[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function Ly(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function ky(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://")?Eg(t.slice(8),new Ft(e,n,i,r),o?"center":"cover"):0===t.indexOf("path://")?Pg(t.slice(7),{},new Ft(e,n,i,r),o?"center":"cover"):new Sy({shape:{symbolType:t,x:e,y:n,width:i,height:r}}),s.__isEmptyBrush=l,s.setColor=Ly,a&&s.setColor(a),s}function Ty(t){return Object(g["isArray"])(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function Dy(t,e){if(null!=t)return Object(g["isArray"])(t)||(t=[t,t]),[Qi(t[0],e[0])||0,Qi(Object(g["retrieve2"])(t[1],t[0]),e[1])||0]}function Oy(t){return isFinite(t)}function Ay(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=Oy(i)?i:0,r=Oy(r)?r:1,a=Oy(a)?a:0,o=Oy(o)?o:0;var s=t.createLinearGradient(i,a,r,o);return s}function Iy(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),o=Oy(o)?o:.5,s=Oy(s)?s:.5,l=l>=0&&Oy(l)?l:.5;var u=t.createRadialGradient(o,s,0,o,s,l);return u}function Yy(t,e,n){for(var i="radial"===e.type?Iy(t,e,n):Ay(t,e,n),r=e.colorStops,a=0;a<r.length;a++)i.addColorStop(r[a].offset,r[a].color);return i}function Cy(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 jy(t){return parseInt(t,10)}function Py(t,e,n){var i=["width","height"][e],r=["clientWidth","clientHeight"][e],a=["paddingLeft","paddingTop"][e],o=["paddingRight","paddingBottom"][e];if(null!=n[i]&&"auto"!==n[i])return parseFloat(n[i]);var s=document.defaultView.getComputedStyle(t);return(t[r]||jy(s[i])||jy(t.style[i]))-(jy(s[a])||0)-(jy(s[o])||0)|0}function Ey(t,e){return t&&"solid"!==t&&e>0?"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:Object(g["isNumber"])(t)?[t]:Object(g["isArray"])(t)?t:null:null}function Ry(t){var e=t.style,n=e.lineDash&&e.lineWidth>0&&Ey(e.lineDash,e.lineWidth),i=e.lineDashOffset;if(n){var r=e.strokeNoScale&&t.getLineScale?t.getLineScale():1;r&&1!==r&&(n=Object(g["map"])(n,(function(t){return t/r})),i/=r)}return[n,i]}var Ny=new Po(!0);function Hy(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function zy(t){return"string"===typeof t&&"none"!==t}function By(t){var e=t.fill;return null!=e&&"none"!==e}function Fy(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 Wy(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 Vy(t,e,n){var i=ka(e.image,e.__image,n);if(Da(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"===typeof DOMMatrix&&r&&r.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*g["RADIAN_TO_DEGREE"]),a.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(a)}return r}}function Gy(t,e,n,i){var r,a=Hy(n),o=By(n),s=n.strokePercent,l=s<1,u=!e.path;e.silent&&!l||!u||e.createPathProxy();var c=e.path||Ny,d=e.__dirty;if(!i){var h=n.fill,p=n.stroke,f=o&&!!h.colorStops,_=a&&!!p.colorStops,g=o&&!!h.image,m=a&&!!p.image,y=void 0,v=void 0,b=void 0,x=void 0,M=void 0;(f||_)&&(M=e.getBoundingRect()),f&&(y=d?Yy(t,h,M):e.__canvasFillGradient,e.__canvasFillGradient=y),_&&(v=d?Yy(t,p,M):e.__canvasStrokeGradient,e.__canvasStrokeGradient=v),g&&(b=d||!e.__canvasFillPattern?Vy(t,h,e):e.__canvasFillPattern,e.__canvasFillPattern=b),m&&(x=d||!e.__canvasStrokePattern?Vy(t,p,e):e.__canvasStrokePattern,e.__canvasStrokePattern=b),f?t.fillStyle=y:g&&(b?t.fillStyle=b:o=!1),_?t.strokeStyle=v:m&&(x?t.strokeStyle=x:a=!1)}var w,S,L=e.getGlobalScale();c.setScale(L[0],L[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(r=Ry(e),w=r[0],S=r[1]);var k=!0;(u||d&pe)&&(c.setDPR(t.dpr),l?c.setContext(null):(c.setContext(t),k=!1),c.reset(),e.buildPath(c,e.shape,i),c.toStatic(),e.pathUpdated()),k&&c.rebuildPath(t,l?s:1),w&&(t.setLineDash(w),t.lineDashOffset=S),i||(n.strokeFirst?(a&&Wy(t,n),o&&Fy(t,n)):(o&&Fy(t,n),a&&Wy(t,n))),w&&t.setLineDash([])}function Uy(t,e,n){var i=e.__image=ka(n.image,e.__image,e,e.onload);if(i&&Da(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,c=n.sy||0;t.drawImage(i,u,c,n.sWidth,n.sHeight,r,a,o,s)}else if(n.sx&&n.sy){u=n.sx,c=n.sy;var d=o-u,h=s-c;t.drawImage(i,u,c,d,h,r,a,o,s)}else t.drawImage(i,r,a,o,s)}}function Xy(t,e,n){var i,r=n.text;if(null!=r&&(r+=""),r){t.font=n.font||hi["a"],t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var a=void 0,o=void 0;t.setLineDash&&n.lineDash&&(i=Ry(e),a=i[0],o=i[1]),a&&(t.setLineDash(a),t.lineDashOffset=o),n.strokeFirst?(Hy(n)&&t.strokeText(r,n.x,n.y),By(n)&&t.fillText(r,n.x,n.y)):(By(n)&&t.fillText(r,n.x,n.y),Hy(n)&&t.strokeText(r,n.x,n.y)),a&&t.setLineDash([])}}var Zy=["shadowBlur","shadowOffsetX","shadowOffsetY"],qy=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Ky(t,e,n,i,r){var a=!1;if(!i&&(n=n||{},e===n))return!1;if(i||e.opacity!==n.opacity){sv(t,r),a=!0;var o=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(o)?Ga.opacity:o}(i||e.blend!==n.blend)&&(a||(sv(t,r),a=!0),t.globalCompositeOperation=e.blend||Ga.blend);for(var s=0;s<Zy.length;s++){var l=Zy[s];(i||e[l]!==n[l])&&(a||(sv(t,r),a=!0),t[l]=t.dpr*(e[l]||0))}return(i||e.shadowColor!==n.shadowColor)&&(a||(sv(t,r),a=!0),t.shadowColor=e.shadowColor||Ga.shadowColor),a}function Jy(t,e,n,i,r){var a=lv(e,r.inHover),o=i?null:n&&lv(n,r.inHover)||{};if(a===o)return!1;var s=Ky(t,a,o,i,r);if((i||a.fill!==o.fill)&&(s||(sv(t,r),s=!0),zy(a.fill)&&(t.fillStyle=a.fill)),(i||a.stroke!==o.stroke)&&(s||(sv(t,r),s=!0),zy(a.stroke)&&(t.strokeStyle=a.stroke)),(i||a.opacity!==o.opacity)&&(s||(sv(t,r),s=!0),t.globalAlpha=null==a.opacity?1:a.opacity),e.hasStroke()){var l=a.lineWidth,u=l/(a.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==u&&(s||(sv(t,r),s=!0),t.lineWidth=u)}for(var c=0;c<qy.length;c++){var d=qy[c],h=d[0];(i||a[h]!==o[h])&&(s||(sv(t,r),s=!0),t[h]=a[h]||d[1])}return s}function $y(t,e,n,i,r){return Ky(t,lv(e,r.inHover),n&&lv(n,r.inHover),i,r)}function Qy(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 tv(t,e,n){for(var i=!1,r=0;r<t.length;r++){var a=t[r];i=i||a.isZeroArea(),Qy(e,a),e.beginPath(),a.buildPath(e,a.shape),e.clip()}n.allClipped=i}function ev(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 nv=1,iv=2,rv=3,av=4;function ov(t){var e=By(t),n=Hy(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 sv(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function lv(t,e){return e&&t.__hoverStyle||t.style}function uv(t,e){cv(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function cv(t,e,n,i){var r=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return e.__dirty&=~de,void(e.__isRendered=!1);var a=e.__clipPaths,o=n.prevElClipPaths,s=!1,l=!1;if(o&&!Cy(a,o)||(o&&o.length&&(sv(t,n),t.restore(),l=s=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),a&&a.length&&(sv(t,n),t.save(),tv(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 c=e instanceof ss&&e.autoBatch&&ov(e.style);s||ev(r,u.transform)?(sv(t,n),Qy(t,e)):c||sv(t,n);var d=lv(e,n.inHover);e instanceof ss?(n.lastDrawType!==nv&&(l=!0,n.lastDrawType=nv),Jy(t,e,u,l,n),c&&(n.batchFill||n.batchStroke)||t.beginPath(),Gy(t,e,d,c),c&&(n.batchFill=d.fill||"",n.batchStroke=d.stroke||"")):e instanceof cs?(n.lastDrawType!==rv&&(l=!0,n.lastDrawType=rv),Jy(t,e,u,l,n),Xy(t,e,d)):e instanceof _s?(n.lastDrawType!==iv&&(l=!0,n.lastDrawType=iv),$y(t,e,u,l,n),Uy(t,e,d)):e.getTemporalDisplayables&&(n.lastDrawType!==av&&(l=!0,n.lastDrawType=av),dv(t,e,n)),c&&i&&sv(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}}function dv(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(),cv(t,l,s,a===o-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var u=0,c=r.length;u<c;u++){l=r[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),cv(t,l,s,u===c-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}var hv=new gy,pv=new di["a"](100),fv=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function _v(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),i=e.getZr(),r="svg"===i.painter.type;t.dirty&&hv["delete"](t);var a=hv.get(t);if(a)return a;var o=Object(g["defaults"])(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,hv.set(t,s),t.dirty=!1,s;function l(t){for(var e,a=[n],s=!0,l=0;l<fv.length;++l){var u=o[fv[l]];if(null!=u&&!Object(g["isArray"])(u)&&!Object(g["isString"])(u)&&!Object(g["isNumber"])(u)&&"boolean"!==typeof u){s=!1;break}a.push(u)}if(s){e=a.join(",")+(r?"-svg":"");var c=pv.get(e);c&&(r?t.svgElement=c:t.image=c)}var d,h=mv(o.dashArrayX),p=yv(o.dashArrayY),f=gv(o.symbol),_=vv(h),m=bv(p),y=!r&&hi["d"].createCanvas(),v=r&&{tag:"g",attrs:{},key:"dcl",children:[]},b=x();function x(){for(var t=1,e=0,n=_.length;e<n;++e)t=Mr(t,_[e]);var i=1;for(e=0,n=f.length;e<n;++e)i=Mr(i,f[e].length);t*=i;var r=m*_.length*f.length;return{width:Math.max(1,Math.min(t,o.maxTileWidth)),height:Math.max(1,Math.min(r,o.maxTileHeight))}}function M(){d&&(d.clearRect(0,0,y.width,y.height),o.backgroundColor&&(d.fillStyle=o.backgroundColor,d.fillRect(0,0,y.width,y.height)));for(var t=0,e=0;e<p.length;++e)t+=p[e];if(!(t<=0)){var a=-m,s=0,l=0,u=0;while(a<b.height){if(s%2===0){var c=l/2%f.length,_=0,g=0,x=0;while(_<2*b.width){var M=0;for(e=0;e<h[u].length;++e)M+=h[u][e];if(M<=0)break;if(g%2===0){var w=.5*(1-o.symbolSize),S=_+h[u][g]*w,L=a+p[s]*w,k=h[u][g]*o.symbolSize,T=p[s]*o.symbolSize,D=x/2%f[c].length;O(S,L,k,T,f[c][D])}_+=h[u][g],++x,++g,g===h[u].length&&(g=0)}++u,u===h.length&&(u=0)}a+=p[s],++l,++s,s===p.length&&(s=0)}}function O(t,e,a,s,l){var u=r?1:n,c=ky(l,t*u,e*u,a*u,s*u,o.color,o.symbolKeepAspect);if(r){var h=i.painter.renderOneToVNode(c);h&&v.children.push(h)}else uv(d,c)}}y&&(y.width=b.width*n,y.height=b.height*n,d=y.getContext("2d")),M(),s&&pv.put(e,y||v),t.image=y,t.svgElement=v,t.svgWidth=b.width,t.svgHeight=b.height}}function gv(t){if(!t||0===t.length)return[["rect"]];if(Object(g["isString"])(t))return[[t]];for(var e=!0,n=0;n<t.length;++n)if(!Object(g["isString"])(t[n])){e=!1;break}if(e)return gv([t]);var i=[];for(n=0;n<t.length;++n)Object(g["isString"])(t[n])?i.push([t[n]]):i.push(t[n]);return i}function mv(t){if(!t||0===t.length)return[[0,0]];if(Object(g["isNumber"])(t)){var e=Math.ceil(t);return[[e,e]]}for(var n=!0,i=0;i<t.length;++i)if(!Object(g["isNumber"])(t[i])){n=!1;break}if(n)return mv([t]);var r=[];for(i=0;i<t.length;++i)if(Object(g["isNumber"])(t[i])){e=Math.ceil(t[i]);r.push([e,e])}else{e=Object(g["map"])(t[i],(function(t){return Math.ceil(t)}));e.length%2===1?r.push(e.concat(e)):r.push(e)}return r}function yv(t){if(!t||"object"===typeof t&&0===t.length)return[0,0];if(Object(g["isNumber"])(t)){var e=Math.ceil(t);return[e,e]}var n=Object(g["map"])(t,(function(t){return Math.ceil(t)}));return t.length%2?n.concat(n):n}function vv(t){return Object(g["map"])(t,(function(t){return bv(t)}))}function bv(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2===1?2*e:e}function xv(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=_v(n,e)}}));var r=i.getVisual("decal");if(r){var a=i.getVisual("style");a.decal=_v(r,e)}}}))}var Mv=new U,wv=Mv,Sv={};function Lv(t,e){Sv[t]=e}function kv(t){return Sv[t]}var Tv="undefined"!==typeof window,Dv="5.4.0",Ov={zrender:"5.4.0"},Av=1,Iv=800,Yv=900,Cv=1e3,jv=2e3,Pv=5e3,Ev=1e3,Rv=1100,Nv=2e3,Hv=3e3,zv=4e3,Bv=4500,Fv=4600,Wv=5e3,Vv=6e3,Gv=7e3,Uv={PROCESSOR:{FILTER:Cv,SERIES_FILTER:Iv,STATISTIC:Pv},VISUAL:{LAYOUT:Ev,PROGRESSIVE_LAYOUT:Rv,GLOBAL:Nv,CHART:Hv,POST_CHART_LAYOUT:Fv,COMPONENT:zv,BRUSH:Wv,CHART_ITEM:Bv,ARIA:Vv,DECAL:Gv}},Xv="__flagInMainProcess",Zv="__pendingUpdate",qv="__needsUpdateStatus",Kv=/^[a-zA-Z0-9_]+$/,Jv="__connectUpdateStatus",$v=0,Qv=1,tb=2;function eb(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(!this.isDisposed())return ib(this,t,e);Tb(this.id)}}function nb(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return ib(this,t,e)}}function ib(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),U.prototype[e].apply(t,n)}var rb,ab,ob,sb,lb,ub,cb,db,hb,pb,fb,_b,gb,mb,yb,vb,bb,xb,Mb=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e}(U),wb=Mb.prototype;wb.on=nb("on"),wb.off=nb("off");var Sb=function(t){function e(e,n,i){var r=t.call(this,new ey)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],i=i||{},Object(g["isString"])(n)&&(n=Cb[n]),r._dom=e;var a="canvas",o="auto",s=!1,l=r._zr=Wi(e,{renderer:i.renderer||a,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:Object(g["retrieve2"])(i.useDirtyRect,s),useCoarsePointer:Object(g["retrieve2"])(i.useCoarsePointer,o),pointerSize:i.pointerSize});r._ssr=i.ssr,r._throttledZrFlush=mm(Object(g["bind"])(l.flush,l),17),n=Object(g["clone"])(n),n&&Vh(n,!0),r._theme=n,r._locale=oc(i.locale||rc),r._coordSysMgr=new ph;var u=r._api=yb(r);function c(t,e){return t.__prio-e.__prio}return ce(Yb,c),ce(Ab,c),r._scheduler=new Um(r,u,Ab,Yb),r._messageCenter=new Mb,r._initEvents(),r.resize=Object(g["bind"])(r.resize,r),l.animation.on("frame",r._onframe,r),pb(l,r),fb(l,r),Object(g["setAsPrimitive"])(r),r}return f(e,t),e.prototype._onframe=function(){if(!this._disposed){xb(this);var t=this._scheduler;if(this[Zv]){var e=this[Zv].silent;this[Xv]=!0;try{rb(this),sb.update.call(this,null,this[Zv].updateParams)}catch(o){throw this[Xv]=!1,this[Zv]=null,o}this._zr.flush(),this[Xv]=!1,this[Zv]=null,db.call(this,e),hb.call(this,e)}else if(t.unfinished){var n=Av,i=this._model,r=this._api;t.unfinished=!1;do{var a=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),ub(this,i),t.performVisualTasks(i),mb(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.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[Xv])if(this._disposed)Tb(this.id);else{var i,r,a;if(Object(g["isObject"])(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,a=e.transition,e=e.notMerge),this[Xv]=!0,!this._model||e){var o=new bh(this._api),s=this._theme,l=this._model=new sh;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,o)}this._model.setOption(t,{replaceMerge:r},Ib);var u={seriesTransition:a,optionChanged:!0};if(n)this[Zv]={silent:i,updateParams:u},this[Xv]=!1,this.getZr().wakeUp();else{try{rb(this),sb.update.call(this,null,u)}catch(c){throw this[Zv]=null,this[Xv]=!1,c}this._ssr||this._zr.flush(),this[Zv]=null,this[Xv]=!1,db.call(this,i),hb.call(this,i)}}},e.prototype.setTheme=function(){Jd("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||Tv&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var e=this._zr.painter;return e.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var e=this._zr.painter;return e.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(_["a"].svgSupported){var t=this._zr,e=t.storage.getDisplayList();return Object(g["each"])(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;Object(g["each"])(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.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return Object(g["each"])(i,(function(t){t.group.ignore=!1})),a}Tb(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,a=1/0;if(Eb[n]){var o=a,s=a,l=-a,u=-a,c=[],d=t&&t.pixelRatio||this.getDevicePixelRatio();Object(g["each"])(Pb,(function(a,d){if(a.group===n){var h=e?a.getZr().painter.getSvgDom().innerHTML:a.renderToCanvas(Object(g["clone"])(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),c.push({dom:h,left:p.left,top:p.top})}})),o*=d,s*=d,l*=d,u*=d;var h=l-o,p=u-s,f=hi["d"].createCanvas(),_=Wi(f,{renderer:e?"svg":"canvas"});if(_.resize({width:h,height:p}),e){var m="";return Object(g["each"])(c,(function(t){var e=t.left-o,n=t.top-s;m+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"})),_.painter.getSvgRoot().innerHTML=m,t.connectedBackgroundColor&&_.painter.setBackgroundColor(t.connectedBackgroundColor),_.refreshImmediately(),_.painter.toDataURL()}return t.connectedBackgroundColor&&_.add(new Ss({shape:{x:0,y:0,width:h,height:p},style:{fill:t.connectedBackgroundColor}})),Object(g["each"])(c,(function(t){var e=new _s({style:{x:t.left*d-o,y:t.top*d-s,image:t.dom}});_.add(e)})),_.refreshImmediately(),f.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}Tb(this.id)},e.prototype.convertToPixel=function(t,e){return lb(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return lb(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(!this._disposed){var n,i=this._model,r=Kr(i,t);return Object(g["each"])(r,(function(t,i){i.indexOf("Models")>=0&&Object(g["each"])(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}Tb(this.id)},e.prototype.getVisual=function(t,e){var n=this._model,i=Kr(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?oy(a,o,e):sy(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;Object(g["each"])(kb,(function(e){var n=function(n){var i,r=t.getModel(),a=n.target,o="globalout"===e;if(o?i={}:a&&hy(a,(function(t){var e=Ws(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=Object(g["extend"])({},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),c=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:c},t.trigger(e,i)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)})),Object(g["each"])(Ob,(function(e,n){t._messageCenter.on(n,(function(t){this.trigger(n,t)}),t)})),Object(g["each"])(["selectchanged"],(function(e){t._messageCenter.on(e,(function(t){this.trigger(e,t)}),t)})),dy(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?Tb(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)Tb(this.id);else{this._disposed=!0;var t=this.getDom();t&&ea(this.getDom(),Hb,"");var e=this,n=e._api,i=e._model;Object(g["each"])(e._componentsViews,(function(t){t.dispose(i,n)})),Object(g["each"])(e._chartsViews,(function(t){t.dispose(i,n)})),e._zr.dispose(),e._dom=e._model=e._chartsMap=e._componentsMap=e._chartsViews=e._componentsViews=e._scheduler=e._api=e._zr=e._throttledZrFlush=e._theme=e._coordSysMgr=e._messageCenter=null,delete Pb[e.id]}},e.prototype.resize=function(t){if(!this[Xv])if(this._disposed)Tb(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[Zv]&&(null==i&&(i=this[Zv].silent),n=!0,this[Zv]=null),this[Xv]=!0;try{n&&rb(this),sb.update.call(this,{type:"resize",animation:Object(g["extend"])({duration:0},t&&t.animation)})}catch(r){throw this[Xv]=!1,r}this[Xv]=!1,db.call(this,i),hb.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)Tb(this.id);else if(Object(g["isObject"])(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),jb[t]){var n=jb[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?Tb(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=Object(g["extend"])({},t);return e.type=Ob[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)Tb(this.id);else if(Object(g["isObject"])(e)||(e={silent:!!e}),Db[t.type]&&this._model)if(this[Xv])this._pendingActions.push(t);else{var n=e.silent;cb.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&_["a"].browser.weChat&&this._throttledZrFlush(),db.call(this,n),hb.call(this,n)}},e.prototype.updateLabelLayout=function(){wv.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)Tb(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){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){var e=[],n=[],i=!1;if(t.eachComponent((function(t,r){var a=r.get("zlevel")||0,o=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:a,z:o,idx:r.componentIndex,type:t,key:s})})),i){var r,a,o=e.concat(n);ce(o,(function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel})),Object(g["each"])(o,(function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,o=e.key;null!=r&&(i=Math.max(r,i)),o?(i===r&&o!==a&&i++,a=o):a&&(i===r&&i++,a=""),r=i,n.setZLevel(i)}))}}function n(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===Js&&t.states.emphasis?e.push("emphasis"):t.hoverState===Ks&&t.states.blur&&e.push("blur"),t.useStates(e)}function i(t,e){var n=t._zr,i=n.storage,r=0;i.traverse((function(t){t.isGroup||r++})),r>e.get("hoverLayerThreshold")&&!_["a"].node&&!_["a"].worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}function r(t,e){var n=t.get("blendMode")||null;e.eachRendered((function(t){t.isGroup||(t.style.blend=n)}))}function a(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,i=t.get("zlevel")||0;e.eachRendered((function(t){return o(t,n,i,-1/0),!0}))}}function o(t,e,n,i){var r=t.getTextContent(),a=t.getTextGuideLine(),s=t.isGroup;if(s)for(var l=t.childrenRef(),u=0;u<l.length;u++)i=Math.max(o(l[u],e,n,i),i);else t.z=e,t.zlevel=n,i=Math.max(t.z2,i);if(r&&(r.z=e,r.zlevel=n,isFinite(i)&&(r.z2=i+2)),a){var c=t.textGuideLineConfig;a.z=e,a.zlevel=n,isFinite(i)&&(a.z2=i+(c&&c.showAbove?1:-1))}return i}function s(t,e){e.eachRendered((function(t){if(!cu(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 l(t,e){var i=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),a=i.get("duration"),o=a>0?{duration:a,delay:i.get("delay"),easing:i.get("easing")}:null;e.eachRendered((function(t){if(t.states&&t.states.emphasis){if(cu(t))return;if(t instanceof ss&&ru(t),t.__dirty){var e=t.prevStates;e&&t.useStates(e)}if(r){t.stateTransition=o;var i=t.getTextContent(),a=t.getTextGuideLine();i&&(i.stateTransition=o),a&&(a.stateTransition=o)}t.__dirty&&n(t)}}))}rb=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),ab(t,!0),ab(t,!1),e.plan()},ab=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,c=!l&&a[u];if(!c){var d=ua(t.type),h=e?Uf.getClass(d.main,d.sub):pm.getClass(d.sub);0,c=new h,c.init(n,s),a[u]=c,r.push(c),o.add(c.group)}t.__viewId=c.__id=u,c.__alive=!0,c.__model=t,c.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!e&&i.prepareView(c,t,n,s)}e?n.eachComponent((function(t,e){"series"!==t&&u(e)})):n.eachSeries(u);for(l=0;l<r.length;){var c=r[l];c.__alive?l++:(!e&&c.renderTask.dispose(),o.remove(c.group),c.dispose(n,s),r.splice(l,1),a[c.__id]===c&&delete a[c.__id],c.__id=c.group.__ecComponentInfo=null)}},ob=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=Object(g["createHashMap"])(),Object(g["each"])(kr(u),(function(t){var e=zr(t,null);null!=e&&l.set(e,!0)}))),a&&a.eachComponent(s,(function(e){var i=l&&null!==l.get(e.id);if(!i)if(iu(n))if(e instanceof Vf)n.type!==nl||n.notBlur||e.get(["emphasis","disabled"])||Nl(e,n,t._api);else{var r=Hl(e.mainType,e.componentIndex,n.name,t._api),a=r.focusSelf,o=r.dispatchers;n.type===nl&&a&&!n.notBlur&&Rl(e.mainType,e.componentIndex,t._api),o&&Object(g["each"])(o,(function(t){n.type===nl?Dl(t):Ol(t)}))}else nu(n)&&e instanceof Vf&&(Fl(e,n,t._api),Wl(e),bb(t))}),t),a&&a.eachComponent(s,(function(e){var n=l&&null!==l.get(e.id);n||c(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else Object(g["each"])([].concat(t._componentsViews).concat(t._chartsViews),c);function c(i){i&&i.__alive&&i[e]&&i[e](i.__model,a,t._api,n)}},sb={prepareAndUpdate:function(t){rb(this),sb.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,n){var i=this._model,r=this._api,a=this._zr,o=this._coordSysMgr,s=this._scheduler;if(i){i.setUpdatePayload(e),s.restoreData(i,e),s.performSeriesTasks(i),o.create(i,r),s.performDataProcessorTasks(i,e),ub(this,i),o.update(i,r),t(i),s.performVisualTasks(i,e),_b(this,i,r,e,n);var l=i.get("backgroundColor")||"transparent",u=i.get("darkMode");a.setBackgroundColor(l),null!=u&&"auto"!==u&&a.setDarkMode(u),wv.trigger("afterupdate",i,r)}},updateTransform:function(e){var n=this,i=this._model,r=this._api;if(i){i.setUpdatePayload(e);var a=[];i.eachComponent((function(t,o){if("series"!==t){var s=n.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,i,r,e);l&&l.update&&a.push(s)}else a.push(s)}}));var o=Object(g["createHashMap"])();i.eachSeries((function(t){var a=n._chartsMap[t.__viewId];if(a.updateTransform){var s=a.updateTransform(t,i,r,e);s&&s.update&&o.set(t.uid,1)}else o.set(t.uid,1)})),t(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0,dirtyMap:o}),mb(this,i,r,e,{},o),wv.trigger("afterupdate",i,r)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),pm.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),_b(this,n,this._api,e,{}),wv.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,i=this._model;i&&(i.setUpdatePayload(e),i.eachSeries((function(t){t.getData().clearAllVisual()})),pm.markUpdateMethod(e,"updateVisual"),t(i),this._scheduler.performVisualTasks(i,e,{visualType:"visual",setDirty:!0}),i.eachComponent((function(t,r){if("series"!==t){var a=n.getViewOfComponentModel(r);a&&a.__alive&&a.updateVisual(r,i,n._api,e)}})),i.eachSeries((function(t){var r=n._chartsMap[t.__viewId];r.updateVisual(t,i,n._api,e)})),wv.trigger("afterupdate",i,this._api))},updateLayout:function(t){sb.update.call(this,t)}},lb=function(t,e,n,i){if(t._disposed)Tb(t.id);else{for(var r,a=t._model,o=t._coordSysMgr.getCoordinateSystems(),s=Kr(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}},ub=function(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries((function(t){i.updateStreamModes(t,n[t.__viewId])}))},cb=function(t,e){var n=this,i=this.getModel(),r=t.type,a=t.escapeConnect,o=Db[r],s=o.actionInfo,l=(s.update||"update").split(":"),u=l.pop(),c=null!=l[0]&&ua(l[0]);this[Xv]=!0;var d=[t],h=!1;t.batch&&(h=!0,d=Object(g["map"])(t.batch,(function(e){return e=Object(g["defaults"])(Object(g["extend"])({},e),t),e.batch=null,e})));var p,f=[],_=nu(t),m=iu(t);if(m&&Pl(this._api),Object(g["each"])(d,(function(e){if(p=o.action(e,n._model,n._api),p=p||Object(g["extend"])({},e),p.type=s.event||p.type,f.push(p),m){var i=Jr(t),r=i.queryOptionMap,a=i.mainTypeSpecified,l=a?r.keys()[0]:"series";ob(n,u,e,l),bb(n)}else _?(ob(n,u,e,"series"),bb(n)):c&&ob(n,u,e,c.main,c.sub)})),"none"!==u&&!m&&!_&&!c)try{this[Zv]?(rb(this),sb.update.call(this,t),this[Zv]=null):sb[u].call(this,t)}catch(b){throw this[Xv]=!1,b}if(p=h?{type:s.event||r,escapeConnect:a,batch:f}:f[0],this[Xv]=!1,!e){var y=this._messageCenter;if(y.trigger(p.type,p),_){var v={type:"selectchanged",escapeConnect:a,selected:Vl(i),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};y.trigger(v.type,v)}}},db=function(t){var e=this._pendingActions;while(e.length){var n=e.shift();cb.call(this,n,t)}},hb=function(t){!t&&this.trigger("updated")},pb=function(t,e){t.on("rendered",(function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[Zv]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))},fb=function(t,e){t.on("mouseover",(function(t){var n=t.target,i=hy(n,Ql);i&&(zl(i,t,e._api),bb(e))})).on("mouseout",(function(t){var n=t.target,i=hy(n,Ql);i&&(Bl(i,t,e._api),bb(e))})).on("click",(function(t){var n=t.target,i=hy(n,(function(t){return null!=Ws(t).dataIndex}),!0);if(i){var r=i.selected?"unselect":"select",a=Ws(i);e._api.dispatchAction({type:r,dataType:a.dataType,dataIndexInside:a.dataIndex,seriesIndex:a.seriesIndex,isFromClick:!0})}}))},_b=function(t,n,i,r,a){e(n),gb(t,n,i,r,a),Object(g["each"])(t._chartsViews,(function(t){t.__alive=!1})),mb(t,n,i,r,a),Object(g["each"])(t._chartsViews,(function(t){t.__alive||t.remove(n,i)}))},gb=function(t,e,n,i,r,o){Object(g["each"])(o||t._componentsViews,(function(t){var r=t.__model;s(r,t),t.render(r,e,n,i),a(r,t),l(r,t)}))},mb=function(t,e,n,o,u,c){var d=t._scheduler;u=Object(g["extend"])(u||{},{updatedSeries:e.getSeries()}),wv.trigger("series:beforeupdate",e,n,u);var h=!1;e.eachSeries((function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var i=n.renderTask;d.updatePayload(i,o),s(e,n),c&&c.get(e.uid)&&i.dirty(),i.perform(d.getPerformArgs(i))&&(h=!0),n.group.silent=!!e.get("silent"),r(e,n),Wl(e)})),d.unfinished=h||d.unfinished,wv.trigger("series:layoutlabels",e,n,u),wv.trigger("series:transition",e,n,u),e.eachSeries((function(e){var n=t._chartsMap[e.__viewId];a(e,n),l(e,n)})),i(t,e),wv.trigger("series:afterupdate",e,n,u)},bb=function(t){t[qv]=!0,t.getZr().wakeUp()},xb=function(t){t[qv]&&(t.getZr().storage.traverse((function(t){cu(t)||n(t)})),t[qv]=!1)},yb=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return f(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){Dl(e,n),bb(t)},n.prototype.leaveEmphasis=function(e,n){Ol(e,n),bb(t)},n.prototype.enterBlur=function(e){Al(e),bb(t)},n.prototype.leaveBlur=function(e){Il(e),bb(t)},n.prototype.enterSelect=function(e){Yl(e),bb(t)},n.prototype.leaveSelect=function(e){Cl(e),bb(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}(ch))(t)},vb=function(t){function e(t,e){for(var n=0;n<t.length;n++){var i=t[n];i[Jv]=e}}Object(g["each"])(Ob,(function(n,i){t._messageCenter.on(i,(function(n){if(Eb[t.group]&&t[Jv]!==$v){if(n&&n.escapeConnect)return;var i=t.makeActionFromEvent(n),r=[];Object(g["each"])(Pb,(function(e){e!==t&&e.group===t.group&&r.push(e)})),e(r,$v),Object(g["each"])(r,(function(t){t[Jv]!==Qv&&t.dispatchAction(i)})),e(r,tb)}}))}))}}(),e}(U),Lb=Sb.prototype;Lb.on=eb("on"),Lb.off=eb("off"),Lb.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)}Jd("ECharts#one is deprecated."),this.on.call(this,t,r,n)};var kb=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function Tb(t){0}var Db={},Ob={},Ab=[],Ib=[],Yb=[],Cb={},jb={},Pb={},Eb={},Rb=+new Date-0,Nb=+new Date-0,Hb="_echarts_instance_";function zb(t,e,n){var i=!(n&&n.ssr);if(i){0;var r=Gb(t);if(r)return r;0}var a=new Sb(t,e,n);return a.id="ec_"+Rb++,Pb[a.id]=a,i&&ea(t,Hb,a.id),vb(a),wv.trigger("afterinit",a),a}function Bb(t){if(Object(g["isArray"])(t)){var e=t;t=null,Object(g["each"])(e,(function(e){null!=e.group&&(t=e.group)})),t=t||"g_"+Nb++,Object(g["each"])(e,(function(e){e.group=t}))}return Eb[t]=!0,t}function Fb(t){Eb[t]=!1}var Wb=Fb;function Vb(t){Object(g["isString"])(t)?t=Pb[t]:t instanceof Sb||(t=Gb(t)),t instanceof Sb&&!t.isDisposed()&&t.dispose()}function Gb(t){return Pb[na(t,Hb)]}function Ub(t){return Pb[t]}function Xb(t,e){Cb[t]=e}function Zb(t){Object(g["indexOf"])(Ib,t)<0&&Ib.push(t)}function qb(t,e){ax(Ab,t,e,jv)}function Kb(t){$b("afterinit",t)}function Jb(t){$b("afterupdate",t)}function $b(t,e){wv.on(t,e)}function Qb(t,e,n){Object(g["isFunction"])(e)&&(n=e,e="");var i=Object(g["isObject"])(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,Ob[e]||(Object(g["assert"])(Kv.test(i)&&Kv.test(e)),Db[i]||(Db[i]={action:n,actionInfo:t}),Ob[e]=i)}function tx(t,e){ph.register(t,e)}function ex(t){var e=ph.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()}function nx(t,e){ax(Yb,t,e,Ev,"layout")}function ix(t,e){ax(Yb,t,e,Hv,"visual")}var rx=[];function ax(t,e,n,i,r){if((Object(g["isFunction"])(e)||Object(g["isObject"])(e))&&(n=e,e=i),!(Object(g["indexOf"])(rx,n)>=0)){rx.push(n);var a=Um.wrapStageHandler(n,r);a.__prio=e,a.__raw=n,t.push(a)}}function ox(t,e){jb[t]=e}function sx(t){Object(hi["e"])({createCanvas:t})}function lx(t,e,n){var i=kv("registerMap");i&&i(t,e,n)}function ux(t){var e=kv("getMap");return e&&e(t)}var cx=Fp;ix(Nv,Lm),ix(Bv,Tm),ix(Bv,Dm),ix(Nv,ry),ix(Bv,ay),ix(Gv,xv),Zb(Vh),qb(Yv,Gh),ox("default",Am),Qb({type:nl,event:nl,update:nl},g["noop"]),Qb({type:il,event:il,update:il},g["noop"]),Qb({type:rl,event:rl,update:rl},g["noop"]),Qb({type:al,event:al,update:al},g["noop"]),Qb({type:ol,event:ol,update:ol},g["noop"]),Xb("light",Zm),Xb("dark",ty);var dx={},hx=[],px={registerPreprocessor:Zb,registerProcessor:qb,registerPostInit:Kb,registerPostUpdate:Jb,registerUpdateLifecycle:$b,registerAction:Qb,registerCoordinateSystem:tx,registerLayout:nx,registerVisual:ix,registerTransform:cx,registerLoading:ox,registerMap:lx,registerImpl:Lv,PRIORITY:Uv,ComponentModel:gd,ComponentView:Uf,SeriesModel:Vf,ChartView:pm,registerComponentModel:function(t){gd.registerClass(t)},registerComponentView:function(t){Uf.registerClass(t)},registerSeriesModel:function(t){Vf.registerClass(t)},registerChartView:function(t){pm.registerClass(t)},registerSubTypeDefaulter:function(t,e){gd.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){Xi(t,e)}};function fx(t){Object(g["isArray"])(t)?Object(g["each"])(t,(function(t){fx(t)})):Object(g["indexOf"])(hx,t)>=0||(hx.push(t),Object(g["isFunction"])(t)&&(t={install:t}),t.install(px))}function _x(t){return null==t?0:t.length||1}function gx(t){return t}var mx=function(){function t(t,e,n,i,r,a){this._old=t,this._new=e,this._oldKeyGetter=n||gx,this._newKeyGetter=i||gx,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.updateManyToMany=function(t){return this._updateManyToMany=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=_x(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],c=_x(l),d=_x(u);if(c>1&&1===d)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===c&&d>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===c&&1===d)this._update&&this._update(u,l),i[s]=null;else if(c>1&&d>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(c>1)for(var h=0;h<c;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=_x(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=_x(s);0===l?(e[o]=a,r&&n.push(o)):1===l?e[o]=[s,a]:s.push(a)}}},t}(),yx=mx,vx=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function bx(t,e){var n={},i=n.encode={},r=Object(g["createHashMap"])(),a=[],o=[],s={};Object(g["each"])(t.dimensions,(function(e){var n=t.getDimensionInfo(e),l=n.coordDim;if(l){0;var u=n.coordDimIndex;xx(i,l)[u]=e,n.isExtraCoord||(r.set(l,1),wx(n.type)&&(a[0]=e),xx(s,l)[u]=t.getDimensionIndex(n.name)),n.defaultTooltip&&o.push(e)}bd.each((function(t,e){var r=xx(i,e),a=n.otherDims[e];null!=a&&!1!==a&&(r[a]=n.name)}))}));var l=[],u={};r.each((function(t,e){var n=i[e];u[e]=n[0],l=l.concat(n)})),n.dataDimsOnCoord=l,n.dataDimIndicesOnCoord=Object(g["map"])(l,(function(e){return t.getDimensionInfo(e).storeDimIndex})),n.encodeFirstDimNotExtra=u;var c=i.label;c&&c.length&&(a=c.slice());var d=i.tooltip;return d&&d.length?o=d.slice():o.length||(o=a.slice()),i.defaultedLabel=a,i.defaultedTooltip=o,n.userOutput=new vx(s,e),n}function xx(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function Mx(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function wx(t){return!("ordinal"===t||"time"===t)}var Sx=function(){function t(t){this.otherDims={},null!=t&&g["extend"](this,t)}return t}(),Lx=Sx,kx=Zr(),Tx={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},Dx=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=Ix(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return Object(g["retrieve2"])(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=lp(this.source),n=!Yx(t),i="",r=[],a=0,o=0;a<t;a++){var s=void 0,l=void 0,u=void 0,c=this.dimensions[o];if(c&&c.storeDimIndex===a)s=e?c.name:null,l=c.type,u=c.ordinalMeta,o++;else{var d=this.getSourceDimension(a);d&&(s=e?d.name:null,l=d.type)}r.push({property:s,type:l,ordinalMeta:u}),!e||null==s||c&&c.isCalculationCoord||(i+=n?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),i+="$",i+=Tx[l]||"f",u&&(i+=u.uid),i+="$"}var h=this.source,p=[h.seriesLayoutBy,h.startIndex,i].join("$$");return{dimensions:r,hash:p}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var a=this.getSourceDimension(e);a&&(i=a.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function Ox(t){return t instanceof Dx}function Ax(t){for(var e=Object(g["createHashMap"])(),n=0;n<(t||[]).length;n++){var i=t[n],r=Object(g["isObject"])(i)?i.name:i;null!=r&&null==e.get(r)&&e.set(r,n)}return e}function Ix(t){var e=kx(t);return e.dimNameMap||(e.dimNameMap=Ax(t.dimensionsDefine))}function Yx(t){return t>30}var Cx,jx,Px,Ex,Rx,Nx,Hx,zx=g["isObject"],Bx=g["map"],Fx="undefined"===typeof Int32Array?Array:Int32Array,Wx="e\0\0",Vx=-1,Gx=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],Ux=["_approximateExtent"],Xx=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var i=!1;Ox(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},a=[],o={},s=!1,l={},u=0;u<n.length;u++){var c=n[u],d=g["isString"](c)?new Lx({name:c}):c instanceof Lx?c:new Lx(c),h=d.name;d.type=d.type||"float",d.coordDim||(d.coordDim=h,d.coordDimIndex=0);var p=d.otherDims=d.otherDims||{};a.push(h),r[h]=d,null!=l[h]&&(s=!0),d.createInvertedIndices&&(o[h]=[]),0===p.itemName&&(this._nameDimIdx=u),0===p.itemId&&(this._idDimIdx=u),i&&(d.storeDimIndex=u)}if(this.dimensions=a,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=o,this._dimOmitted){var f=this._dimIdxToName=g["createHashMap"]();g["each"](a,(function(t){f.set(r[t].storeDimIndex,t)}))}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);return i?i.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(g["isNumber"](t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},t.prototype._getStoreDimIndex=function(t){var e=this.getDimensionIndex(t);return e},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;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._dimSummary,n=e.encode[t];return(n||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,r=this;if(t instanceof af&&(i=t),!i){var a=this.dimensions,o=Qh(t)||g["isArrayLike"](t)?new up(t,a.length):t;i=new af;var s=Bx(a,(function(t){return{type:r._dimInfos[t].type,property:t}}));i.initData(o,s,n)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=bx(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e.length),i=n.start,r=n.end,a=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var o=i;o<r;o++){var s=o-i;this._nameList[o]=e[s],a&&Hx(this,o)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==Ld&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store,i=n.getProvider();this._updateOrdinalMeta();var r=this._nameList,a=this._idList,o=i.getSource().sourceFormat,s=o===xd;if(s&&!i.pure)for(var l=[],u=t;u<e;u++){var c=i.getItem(u,l);if(!this.hasItemOption&&Ar(c)&&(this.hasItemOption=!0),c){var d=c.name;null==r[u]&&null!=d&&(r[u]=zr(d,null));var h=c.id;null==a[u]&&null!=h&&(a[u]=zr(h,null))}}if(this._shouldMakeIdFromName())for(u=t;u<e;u++)Hx(this,u);Cx(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(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){zx(t)?g["extend"](this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=Px(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return jx(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,i=this._store;return g["isArray"](t)?i.getValues(Bx(t,(function(t){return n._getStoreDimIndex(t)})),e):i.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return-1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t];var i=n[e];return null==i||isNaN(i)?Vx:i},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){g["isFunction"](t)&&(n=e,e=t,t=[]);var i=n||this,r=Bx(Ex(t),this._getStoreDimIndex,this);this._store.each(r,i?g["bind"](e,i):e)},t.prototype.filterSelf=function(t,e,n){g["isFunction"](t)&&(n=e,e=t,t=[]);var i=n||this,r=Bx(Ex(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,i?g["bind"](e,i):e),this},t.prototype.selectRange=function(t){var e=this,n={},i=g["keys"](t),r=[];return g["each"](i,(function(i){var a=e._getStoreDimIndex(i);n[a]=t[i],r.push(a)})),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){g["isFunction"](t)&&(n=e,e=t,t=[]),n=n||this;var i=[];return this.each(t,(function(){i.push(e&&e.apply(this,arguments))}),n),i},t.prototype.map=function(t,e,n,i){var r=n||i||this,a=Bx(Ex(t),this._getStoreDimIndex,this),o=Nx(this);return o._store=this._store.map(a,r?g["bind"](e,r):e),o},t.prototype.modify=function(t,e,n,i){var r=n||i||this;var a=Bx(Ex(t),this._getStoreDimIndex,this);this._store.modify(a,r?g["bind"](e,r):e)},t.prototype.downSample=function(t,e,n,i){var r=Nx(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),r},t.prototype.lttbDownSample=function(t,e){var n=Nx(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new Gu(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new yx(t?t.getStore().getIndices():[],this.getStore().getIndices(),(function(e){return jx(t,e)}),(function(t){return jx(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||{},zx(t)?g["extend"](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),g["isArray"](r)?r=r.slice():zx(r)&&(r=g["extend"]({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,zx(e)?g["extend"](i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){zx(t)?g["extend"](this._layout,t):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?g["extend"](this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;Vs(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){g["each"](this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:Bx(this.dimensions,this._getDimInfo,this),this.hostModel)),Rx(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];g["isFunction"](n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(g["slice"](arguments)))})},t.internalField=function(){Cx=function(t){var e=t._invertedIndicesMap;g["each"](e,(function(n,i){var r=t._dimInfos[i],a=r.ordinalMeta,o=t._store;if(a){n=e[i]=new Fx(a.categories.length);for(var s=0;s<n.length;s++)n[s]=Vx;for(s=0;s<o.count();s++)n[o.get(r.storeDimIndex,s)]=s}}))},Px=function(t,e,n){return zr(t._getCategory(e,n),null)},jx=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=Px(t,t._idDimIdx,e)),null==n&&(n=Wx+e),n},Ex=function(t){return g["isArray"](t)||(t=null!=t?[t]:[]),t},Nx=function(e){var n=new t(e._schema?e._schema:Bx(e.dimensions,e._getDimInfo,e),e.hostModel);return Rx(n,e),n},Rx=function(t,e){g["each"](Gx.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,g["each"](Ux,(function(n){t[n]=g["clone"](e[n])})),t._calculationInfo=g["extend"]({},e._calculationInfo)},Hx=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=Px(t,r,e)),null==s&&null!=a&&(i[e]=s=Px(t,a,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}(),Zx=Xx;function qx(t,e){return Kx(t,e).dimensions}function Kx(t,e){Qh(t)||(t=ep(t)),e=e||{};var n=e.coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=Object(g["createHashMap"])(),a=[],o=$x(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&Yx(o),l=i===t.dimensionsDefine,u=l?Ix(t):Ax(i),c=e.encodeDefine;!c&&e.encodeDefaulter&&(c=e.encodeDefaulter(t,o));for(var d=Object(g["createHashMap"])(c),h=new Kp(o),p=0;p<h.length;p++)h[p]=-1;function f(t){var e=h[t];if(e<0){var n=i[t],r=Object(g["isObject"])(n)?n:{name:n},o=new Lx,s=r.name;null!=s&&null!=u.get(s)&&(o.name=o.displayName=s),null!=r.type&&(o.type=r.type),null!=r.displayName&&(o.displayName=r.displayName);var l=a.length;return h[t]=l,o.storeDimIndex=t,a.push(o),o}return a[e]}if(!s)for(p=0;p<o;p++)f(p);d.each((function(t,e){var n=kr(t).slice();if(1===n.length&&!Object(g["isString"])(n[0])&&n[0]<0)d.set(e,!1);else{var i=d.set(e,[]);Object(g["each"])(n,(function(t,n){var r=Object(g["isString"])(t)?u.get(t):t;null!=r&&r<o&&(i[n]=r,m(f(r),e,n))}))}}));var _=0;function m(t,e,n){null!=bd.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,r.set(e,!0))}Object(g["each"])(n,(function(t){var e,n,i,r;if(Object(g["isString"])(t))e=t,r={};else{r=t,e=r.name;var a=r.ordinalMeta;r.ordinalMeta=null,r=Object(g["extend"])({},r),r.ordinalMeta=a,n=r.dimsDef,i=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var s=d.get(e);if(!1!==s){if(s=kr(s),!s.length)for(var u=0;u<(n&&n.length||1);u++){while(_<o&&null!=f(_).coordDim)_++;_<o&&s.push(_++)}Object(g["each"])(s,(function(t,a){var o=f(t);if(l&&null!=r.type&&(o.type=r.type),m(Object(g["defaults"])(o,r),e,a),null==o.name&&n){var s=n[a];!Object(g["isObject"])(s)&&(s={name:s}),o.name=o.displayName=s.name,o.defaultTooltip=s.defaultTooltip}i&&Object(g["defaults"])(o.otherDims,i)}))}}));var y=e.generateCoord,v=e.generateCoordCount,b=null!=v;v=y?v||1:0;var x=y||"value";function M(t){null==t.name&&(t.name=t.coordDim)}if(s)Object(g["each"])(a,(function(t){M(t)})),a.sort((function(t,e){return t.storeDimIndex-e.storeDimIndex}));else for(var w=0;w<o;w++){var S=f(w),L=S.coordDim;null==L&&(S.coordDim=Qx(x,r,b),S.coordDimIndex=0,(!y||v<=0)&&(S.isExtraCoord=!0),v--),M(S),null!=S.type||Ed(t,w)!==Od.Must&&(!S.isExtraCoord||null==S.otherDims.itemName&&null==S.otherDims.seriesName)||(S.type="ordinal")}return Jx(a),new Dx({source:t,dimensions:a,fullDimensionCount:o,dimensionOmitted:s})}function Jx(t){for(var e=Object(g["createHashMap"])(),n=0;n<t.length;n++){var i=t[n],r=i.name,a=e.get(r)||0;a>0&&(i.name=r+(a-1)),a++,e.set(r,a)}}function $x(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return Object(g["each"])(e,(function(t){var e;Object(g["isObject"])(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}function Qx(t,e,n){var i=e.data;if(n||i.hasOwnProperty(t)){var r=0;while(i.hasOwnProperty(t+r))r++;t+=r}return e.set(t,!0),t}var tM=function(){function t(t){this.coordSysDims=[],this.axisMap=Object(g["createHashMap"])(),this.categoryAxisMap=Object(g["createHashMap"])(),this.coordSysName=t}return t}();function eM(t){var e=t.get("coordinateSystem"),n=new tM(e),i=nM[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}var nM={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",$r).models[0],a=t.getReferringComponents("yAxis",$r).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",a),iM(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),iM(a)&&(i.set("y",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",$r).models[0];e.coordSysDims=["single"],n.set("single",r),iM(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",$r).models[0],a=r.findAxisModel("radiusAxis"),o=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",a),n.set("angle",o),iM(a)&&(i.set("radius",a),e.firstCategoryDimIndex=0),iM(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();Object(g["each"])(a.parallelAxisIndex,(function(t,a){var s=r.getComponent("parallelAxis",t),l=o[a];n.set(l,s),iM(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=a))}))}};function iM(t){return"category"===t.get("type")}function rM(t,e,n){n=n||{};var i,r,a,o=n.byIndex,s=n.stackedCoordDimension;aM(e)?i=e:(r=e.schema,i=r.dimensions,a=e.store);var l,u,c,d,h=!(!t||!t.get("stack"));if(Object(g["each"])(i,(function(t,e){Object(g["isString"])(t)&&(i[e]=t={name:t}),h&&!t.isExtraCoord&&(o||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))})),!u||o||l||(o=!0),u){c="__\0ecstackresult_"+t.id,d="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var p=u.coordDim,f=u.type,_=0;Object(g["each"])(i,(function(t){t.coordDim===p&&_++}));var m={name:c,coordDim:p,coordDimIndex:_,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},y={name:d,coordDim:d,coordDimIndex:_+1,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(a&&(m.storeDimIndex=a.ensureCalculationDimension(d,f),y.storeDimIndex=a.ensureCalculationDimension(c,f)),r.appendCalculationDimension(m),r.appendCalculationDimension(y)):(i.push(m),i.push(y))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:o,stackedOverDimension:d,stackResultDimension:c}}function aM(t){return!Ox(t.schema)}function oM(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function sM(t,e){return oM(t,e)?t.getCalculationInfo("stackResultDimension"):e}function lM(t,e){var n,i=t.get("coordinateSystem"),r=ph.get(i);return e&&e.coordSysDims&&(n=g["map"](e.coordSysDims,(function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=Mx(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}function uM(t,e,n){var i,r;return n&&g["each"](t,(function(t,a){var o=t.coordDim,s=n.categoryAxisMap.get(o);s&&(null==i&&(i=a),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==i||(t[i].otherDims.itemName=0),i}function cM(t,e,n){n=n||{};var i,r=e.getSourceManager(),a=!1;t?(a=!0,i=ep(t)):(i=r.getSource(),a=i.sourceFormat===xd);var o=eM(e),s=lM(e,o),l=n.useEncodeDefaulter,u=g["isFunction"](l)?l:l?g["curry"](Yd,s,e):null,c={coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!a},d=Kx(i,c),h=uM(d.dimensions,n.createInvertedIndices,o),p=a?null:r.getSharedDataStore(d),f=rM(e,{schema:d,store:p}),_=new Zx(d,e);_.setCalculationInfo(f);var m=null!=h&&dM(i)?function(t,e,n,i){return i===h?n:this.defaultDimValueGetter(t,e,n,i)}:null;return _.hasItemOption=!1,_.initData(a?i:p,null,m),_}function dM(t){if(t.sourceFormat===xd){var e=hM(t.data||[]);return!g["isArray"](Or(e))}}function hM(t){var e=0;while(e<t.length&&null==t[e])e++;return t[e]}var pM=cM,fM=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}();va(fM);var _M=fM,gM=0,mM=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++gM}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&Object(g["map"])(i,yM);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(!Object(g["isString"])(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=Object(g["createHashMap"])(this.categories))},t}();function yM(t){return Object(g["isObject"])(t)&&null!=t.value?t.value:t+""}var vM=mM;function bM(t){return"interval"===t.type||"log"===t.type}function xM(t,e,n,i){var r={},a=t[1]-t[0],o=r.interval=_r(a/e,!0);null!=n&&o<n&&(o=r.interval=n),null!=i&&o>i&&(o=r.interval=i);var s=r.intervalPrecision=wM(o),l=r.niceTickExtent=[tr(Math.ceil(t[0]/o)*o,s),tr(Math.floor(t[1]/o)*o,s)];return LM(l,t),r}function MM(t){var e=Math.pow(10,fr(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,tr(n*e)}function wM(t){return nr(t)+2}function SM(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function LM(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),SM(t,0,e),SM(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function kM(t,e){return t>=e[0]&&t<=e[1]}function TM(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function DM(t,e){return t*(e[1]-e[0])+e[0]}var OM=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new vM({})),Object(g["isArray"])(i)&&(i=new vM({categories:Object(g["map"])(i,(function(t){return Object(g["isObject"])(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return f(e,t),e.prototype.parse=function(t){return null==t?NaN:Object(g["isString"])(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return t=this.parse(t),kM(t,this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return t=this._getTickNumber(this.parse(t)),TM(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(DM(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.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(_M);_M.registerClass(OM);var AM=OM,IM=tr,YM=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 f(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return kM(t,this._extent)},e.prototype.normalize=function(t){return TM(t,this._extent)},e.prototype.scale=function(t){return DM(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=wM(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:IM(i[0]-e,r)}):a.push({value:n[0]}));var s=i[0];while(s<=i[1]){if(a.push({value:s}),s=IM(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:IM(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,c=u/t;while(s<t-1){var d=IM(o.value+(s+1)*c);d>i[0]&&d<i[1]&&l.push(d),s++}n.push(l)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;null==n?n=nr(t.value)||0:"auto"===n&&(n=this._intervalPrecision);var i=IM(t.value,n,!0);return Bc(i)},e.prototype.calcNiceTicks=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=xM(i,t,e,n);this._intervalPrecision=a.intervalPrecision,this._interval=a.interval,this._niceExtent=a.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=Math.abs(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.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=IM(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=IM(Math.ceil(e[1]/r)*r))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(_M);_M.registerClass(YM);var CM=YM,jM="undefined"!==typeof Float32Array,PM=jM?Float32Array:Array;function EM(t){return Object(g["isArray"])(t)?jM?new Float32Array(t):t:new PM(t)}var RM="__ec_stack_";function NM(t){return t.get("stack")||RM+t.seriesIndex}function HM(t){return t.dim+t.index}function zM(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(Object(g["defaults"])({bandWidth:r,axisKey:i,stackId:RM+a},t));var o=VM(e),s=[];for(a=0;a<t.count;a++){var l=o[i][RM+a];l.offsetCenter=l.offset+l.width/2,s.push(l)}return s}}function BM(t,e){var n=[];return e.eachSeriesByType(t,(function(t){ZM(t)&&n.push(t)})),n}function FM(t){var e={};Object(g["each"])(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.getDimensionIndex(r.mapDimension(i.dim)),s=r.getStore(),l=0,u=s.count();l<u;++l){var c=s.get(o,l);e[a]?e[a].push(c):e[a]=[c]}}));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 WM(t){var e=FM(t),n=[];return Object(g["each"])(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]),c=a.scale.getExtent(),d=Math.abs(c[1]-c[0]);i=l?u/d*l:u}else{var h=t.getData();i=Math.abs(o[1]-o[0])/h.count()}var p=Qi(t.get("barWidth"),i),f=Qi(t.get("barMaxWidth"),i),_=Qi(t.get("barMinWidth")||(qM(t)?.5:1),i),g=t.get("barGap"),m=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:p,barMaxWidth:f,barMinWidth:_,barGap:g,barCategoryGap:m,axisKey:HM(a),stackId:NM(t)})})),VM(n)}function VM(t){var e={};Object(g["each"])(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 c=t.barMinWidth;c&&(o[s].minWidth=c);var d=t.barGap;null!=d&&(a.gap=d);var h=t.barCategoryGap;null!=h&&(a.categoryGap=h)}));var n={};return Object(g["each"])(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,a=t.categoryGap;if(null==a){var o=Object(g["keys"])(i).length;a=Math.max(35-4*o,15)+"%"}var s=Qi(a,r),l=Qi(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,d=(u-s)/(c+(c-1)*l);d=Math.max(d,0),Object(g["each"])(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,c--}else{var i=d;e&&e<i&&(i=Math.min(e,u)),n&&n>i&&(i=n),i!==d&&(t.width=i,u-=i+l*i,c--)}})),d=(u-s)/(c+(c-1)*l),d=Math.max(d,0);var h,p=0;Object(g["each"])(i,(function(t,e){t.width||(t.width=d),h=t,p+=t.width*(1+l)})),h&&(p-=h.width*l);var f=-p/2;Object(g["each"])(i,(function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:f,width:t.width},f+=t.width*(1+l)}))})),n}function GM(t,e,n){if(t&&e){var i=t[HM(e)];return null!=i&&null!=n?i[NM(n)]:i}}function UM(t,e){var n=BM(t,e),i=WM(n);Object(g["each"])(n,(function(t){var e=t.getData(),n=t.coordinateSystem,r=n.getBaseAxis(),a=NM(t),o=i[HM(r)][a],s=o.offset,l=o.width;e.setLayout({bandWidth:o.bandWidth,offset:s,size:l})}))}function XM(t){return{seriesType:t,plan:Xf(),reset:function(t){if(ZM(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),a=e.getDimensionIndex(e.mapDimension(r.dim)),o=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),u=e.getCalculationInfo("stackResultDimension"),c=oM(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),d=r.isHorizontal(),h=KM(i,r),p=qM(t),f=t.get("barMinHeight")||0,_=u&&e.getDimensionIndex(u),g=e.getLayout("size"),m=e.getLayout("offset");return{progress:function(t,e){var i,r=t.count,l=p&&EM(3*r),u=p&&s&&EM(3*r),y=p&&EM(r),v=n.master.getRect(),b=d?v.width:v.height,x=e.getStore(),M=0;while(null!=(i=t.next())){var w=x.get(c?_:a,i),S=x.get(o,i),L=h,k=void 0;c&&(k=+w-x.get(a,i));var T=void 0,D=void 0,O=void 0,A=void 0;if(d){var I=n.dataToPoint([w,S]);if(c){var Y=n.dataToPoint([k,S]);L=Y[0]}T=L,D=I[1]+m,O=I[0]-L,A=g,Math.abs(O)<f&&(O=(O<0?-1:1)*f)}else{I=n.dataToPoint([S,w]);if(c){Y=n.dataToPoint([S,k]);L=Y[1]}T=I[0]+m,D=L,O=g,A=I[1]-L,Math.abs(A)<f&&(A=(A<=0?-1:1)*f)}p?(l[M]=T,l[M+1]=D,l[M+2]=d?O:A,u&&(u[M]=d?v.x:T,u[M+1]=d?D:v.y,u[M+2]=b),y[i]=i):e.setItemLayout(i,{x:T,y:D,width:O,height:A}),M+=3}p&&e.setLayout({largePoints:l,largeDataIndices:y,largeBackgroundPoints:u,valueAxisHorizontal:d})}}}}}}function ZM(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function qM(t){return t.pipelineContext&&t.pipelineContext.large}function KM(t,e){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}var JM=function(t,e,n,i){while(n<i){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n},$M=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return f(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return wc(t.value,gc[Mc(bc(this._minLevelUnit))]||gc.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var i=this.getSetting("useUTC"),r=this.getSetting("locale");return Sc(t,e,n,r,i)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),r=sw(this._minLevelUnit,this._approxInterval,i,e);return n=n.concat(r),n.push({value:e[1],level:0}),n},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=hc,e[1]+=hc),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]-hc}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=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=QM.length,o=Math.min(JM(QM,this._approxInterval,0,a),a-1);this._interval=QM[o][1],this._minLevelUnit=QM[Math.max(o-1,0)][0]},e.prototype.parse=function(t){return Object(g["isNumber"])(t)?t:+hr(t)},e.prototype.contain=function(t){return kM(this.parse(t),this._extent)},e.prototype.normalize=function(t){return TM(this.parse(t),this._extent)},e.prototype.scale=function(t){return DM(t,this._extent)},e.type="time",e}(CM),QM=[["second",uc],["minute",cc],["hour",dc],["quarter-day",6*dc],["half-day",12*dc],["day",1.2*hc],["half-week",3.5*hc],["week",7*hc],["month",31*hc],["quarter",95*hc],["half-year",pc/2],["year",pc]];function tw(t,e,n,i){var r=hr(e),a=hr(n),o=function(t){return kc(r,t,i)===kc(a,t,i)},s=function(){return o("year")},l=function(){return s()&&o("month")},u=function(){return l()&&o("day")},c=function(){return u()&&o("hour")},d=function(){return c()&&o("minute")},h=function(){return d()&&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 c();case"minute":return d();case"second":return h();case"millisecond":return p()}}function ew(t,e){return t/=hc,t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function nw(t){var e=30*hc;return t/=e,t>6?6:t>3?3:t>2?2:1}function iw(t){return t/=dc,t>12?12:t>6?6:t>3.5?4:t>2?2:1}function rw(t,e){return t/=e?cc:uc,t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function aw(t){return _r(t,!0)}function ow(t,e,n){var i=new Date(t);switch(bc(e)){case"year":case"month":i[Pc(n)](0);case"day":i[Ec(n)](1);case"hour":i[Rc(n)](0);case"minute":i[Nc(n)](0);case"second":i[Hc(n)](0),i[zc(n)](0)}return i.getTime()}function sw(t,e,n,i){var r=1e4,a=yc,o=0;function s(t,e,n,r,a,o,s){var l=new Date(e),u=e,c=l[r]();while(u<n&&u<=i[1])s.push({value:u}),c+=t,l[a](c),u=l.getTime();s.push({value:u,notAdd:!0})}function l(t,r,a){var o=[],l=!r.length;if(!tw(bc(t),i[0],i[1],n)){l&&(r=[{value:ow(new Date(i[0]),t,n)},{value:i[1]}]);for(var u=0;u<r.length-1;u++){var c=r[u].value,d=r[u+1].value;if(c!==d){var h=void 0,p=void 0,f=void 0,_=!1;switch(t){case"year":h=Math.max(1,Math.round(e/hc/365)),p=Tc(n),f=jc(n);break;case"half-year":case"quarter":case"month":h=nw(e),p=Dc(n),f=Pc(n);break;case"week":case"half-week":case"day":h=ew(e,31),p=Oc(n),f=Ec(n),_=!0;break;case"half-day":case"quarter-day":case"hour":h=iw(e),p=Ac(n),f=Rc(n);break;case"minute":h=rw(e,!0),p=Ic(n),f=Nc(n);break;case"second":h=rw(e,!1),p=Yc(n),f=Hc(n);break;case"millisecond":h=aw(e),p=Cc(n),f=zc(n);break}s(h,c,d,p,f,_,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=[],c=[],d=0,h=0,p=0;p<a.length&&o++<r;++p){var f=bc(a[p]);if(xc(a[p])){l(a[p],u[u.length-1]||[],c);var _=a[p+1]?bc(a[p+1]):null;if(f!==_){if(c.length){h=d,c.sort((function(t,e){return t.value-e.value}));for(var m=[],y=0;y<c.length;++y){var v=c[y].value;0!==y&&c[y-1].value===v||(m.push(c[y]),v>=i[0]&&v<=i[1]&&d++)}var b=(i[1]-i[0])/e;if(d>1.5*b&&h>b/1.5)break;if(u.push(m),d>b||t===a[p])break}c=[]}}}var x=Object(g["filter"])(Object(g["map"])(u,(function(t){return Object(g["filter"])(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),M=[],w=x.length-1;for(p=0;p<x.length;++p)for(var S=x[p],L=0;L<S.length;++L)M.push({value:S[L].value,level:w-p});M.sort((function(t,e){return t.value-e.value}));var k=[];for(p=0;p<M.length;++p)0!==p&&M[p].value===M[p-1].value||k.push(M[p]);return k}_M.registerClass($M);var lw=$M,uw=_M.prototype,cw=CM.prototype,dw=tr,hw=Math.floor,pw=Math.ceil,fw=Math.pow,_w=Math.log,gw=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new CM,e._interval=0,e}return f(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent(),r=cw.getTicks.call(this,t);return g["map"](r,(function(t){var e=t.value,r=tr(fw(this.base,e));return r=e===n[0]&&this._fixMin?yw(r,i[0]):r,r=e===n[1]&&this._fixMax?yw(r,i[1]):r,{value:r}}),this)},e.prototype.setExtent=function(t,e){var n=_w(this.base);t=_w(Math.max(0,t))/n,e=_w(Math.max(0,e))/n,cw.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=uw.getExtent.call(this);e[0]=fw(t,e[0]),e[1]=fw(t,e[1]);var n=this._originalScale,i=n.getExtent();return this._fixMin&&(e[0]=yw(e[0],i[0])),this._fixMax&&(e[1]=yw(e[1],i[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=_w(t[0])/_w(e),t[1]=_w(t[1])/_w(e),uw.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=pr(n),r=t/n*i;r<=.5&&(i*=10);while(!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0)i*=10;var a=[tr(pw(e[0]/i)*i),tr(hw(e[1]/i)*i)];this._interval=i,this._niceExtent=a}},e.prototype.calcNiceExtent=function(t){cw.calcNiceExtent.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=_w(t)/_w(this.base),kM(t,this._extent)},e.prototype.normalize=function(t){return t=_w(t)/_w(this.base),TM(t,this._extent)},e.prototype.scale=function(t){return t=DM(t,this._extent),fw(this.base,t)},e.type="log",e}(_M),mw=gw.prototype;function yw(t,e){return dw(t,nr(e))}mw.getMinorTicks=cw.getMinorTicks,mw.getLabel=cw.getLabel,_M.registerClass(gw);var vw=gw,bw=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="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var r=this._modelMinRaw=e.get("min",!0);Object(g["isFunction"])(r)?this._modelMinNum=Sw(t,r({min:n[0],max:n[1]})):"dataMin"!==r&&(this._modelMinNum=Sw(t,r));var a=this._modelMaxRaw=e.get("max",!0);if(Object(g["isFunction"])(a)?this._modelMaxNum=Sw(t,a({min:n[0],max:n[1]})):"dataMax"!==a&&(this._modelMaxNum=Sw(t,a)),i)this._axisDataLen=e.getCategories().length;else{var o=e.get("boundaryGap"),s=Object(g["isArray"])(o)?o:[o||0,o||0];"boolean"===typeof s[0]||"boolean"===typeof s[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[bi(s[0],1),bi(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);var c=Object(g["eqNaN"])(o)||Object(g["eqNaN"])(s)||t&&!i;this._needCrossZero&&(o>0&&s>0&&!l&&(o=0),o<0&&s<0&&!u&&(s=0));var d=this._determinedMin,h=this._determinedMax;return null!=d&&(o=d,l=!0),null!=h&&(s=h,u=!0),{min:o,max:s,minFixed:l,maxFixed:u,isBlank:c}},t.prototype.modifyDataMinMax=function(t,e){this[Mw[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){var n=xw[t];this[n]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),xw={min:"_determinedMin",max:"_determinedMax"},Mw={min:"_dataMin",max:"_dataMax"};function ww(t,e,n){var i=t.rawExtentInfo;return i||(i=new bw(t,e,n),t.rawExtentInfo=i,i)}function Sw(t,e){return null==e?null:Object(g["eqNaN"])(e)?NaN:t.parse(e)}function Lw(t,e){var n=t.type,i=ww(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=BM("bar",o),l=!1;if(g["each"](s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=WM(s),c=kw(r,a,e,u);r=c.min,a=c.max}}return{extent:[r,a],fixMin:i.minFixed,fixMax:i.maxFixed}}function kw(t,e,n,i){var r=n.axis.getExtent(),a=r[1]-r[0],o=GM(i,n.axis);if(void 0===o)return{min:t,max:e};var s=1/0;g["each"](o,(function(t){s=Math.min(t.offset,s)}));var l=-1/0;g["each"](o,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,c=e-t,d=1-(s+l)/a,h=c/d-c;return e+=h*(l/u),t-=h*(s/u),{min:t,max:e}}function Tw(t,e){var n=e,i=Lw(t,n),r=i.extent,a=n.get("splitNumber");t instanceof vw&&(t.base=n.get("logBase"));var o=t.type,s=n.get("interval"),l="interval"===o||"time"===o;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:a,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function Dw(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new AM({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new lw({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(_M.getClass(e)||CM)}}function Ow(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}function Aw(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):g["isString"](e)?function(e){return function(n){var i=t.scale.getLabel(n),r=e.replace("{value}",null!=i?i:"");return r}}(e):g["isFunction"](e)?function(e){return function(i,r){return null!=n&&(r=i.value-n),e(Iw(t,i),r,null!=i.level?{level:i.level}:null)}}(e):function(e){return t.scale.getLabel(e)}}function Iw(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function Yw(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,a=n.getExtent();n instanceof AM?r=n.count():(i=n.getTicks(),r=i.length);var o,s=t.getLabelModel(),l=Aw(t),u=1;r>40&&(u=Math.ceil(r/40));for(var c=0;c<r;c+=u){var d=i?i[c]:{value:a[0]+c},h=l(d,c),p=s.getTextRect(h),f=Cw(p,s.get("rotate")||0);o?o.union(f):o=f}return o}}function Cw(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 Ft(t.x,t.y,a,o);return s}function jw(t){var e=t.get("interval");return null==e?"auto":e}function Pw(t){return"category"===t.type&&0===jw(t.getLabelModel())}function Ew(t,e){var n={};return g["each"](t.mapDimensionsAll(e),(function(e){n[sM(t,e)]=!0})),g["keys"](n)}function Rw(t,e,n){e&&g["each"](Ew(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 Nw=function(){function t(){}return t.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},t.prototype.getCoordSysModel=function(){},t}();function Hw(t){return pM(null,t)}var zw={isDimensionStacked:oM,enableDataStack:rM,getStackedDimension:sM};function Bw(t,e){var n=e;e instanceof Gu||(n=new Gu(e));var i=Dw(n);return i.setExtent(t[0],t[1]),Tw(i,n),i}function Fw(t){g["mixin"](t,Nw)}function Ww(t,e){return e=e||{},xu(t,null,null,"normal"!==e.state)}var Vw=1e-8;function Gw(t,e){return Math.abs(t-e)<Vw}function Uw(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+=Wo(r[0],r[1],o[0],o[1],e,n),r=o}var s=t[0];return Gw(r[0],s[0])&&Gw(r[1],s[1])||(i+=Wo(r[0],r[1],s[0],s[1],e,n)),0!==i}var Xw=[];function Zw(t,e){for(var n=0;n<t.length;n++)H(t[n],t[n],e)}function qw(t,e,n,i){for(var r=0;r<t.length;r++){var a=t[r];i&&(a=i.project(a)),a&&isFinite(a[0])&&isFinite(a[1])&&(z(e,e,a),B(n,n,a))}}function Kw(t){for(var e=0,n=0,i=0,r=t.length,a=t[r-1][0],o=t[r-1][1],s=0;s<r;s++){var l=t[s][0],u=t[s][1],c=a*u-l*o;e+=c,n+=(a+l)*c,i+=(o+u)*c,a=l,o=u}return e?[n/e/3,i/e/3,e]:[t[0][0]||0,t[0][1]||0]}var Jw=function(){function t(t){this.name=t}return t.prototype.setCenter=function(t){this._center=t},t.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},t}(),$w=function(){function t(t,e){this.type="polygon",this.exterior=t,this.interiors=e}return t}(),Qw=function(){function t(t){this.type="linestring",this.points=t}return t}(),tS=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.type="geoJSON",r.geometries=n,r._center=i&&[i[0],i[1]],r}return f(e,t),e.prototype.calcCenter=function(){for(var t,e=this.geometries,n=0,i=0;i<e.length;i++){var r=e[i],a=r.exterior,o=a&&a.length;o>n&&(t=r,n=o)}if(t)return Kw(t.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},e.prototype.getBoundingRect=function(t){var e=this._rect;if(e&&!t)return e;var n=[1/0,1/0],i=[-1/0,-1/0],r=this.geometries;return Object(g["each"])(r,(function(e){"polygon"===e.type?qw(e.exterior,n,i,t):Object(g["each"])(e.points,(function(e){qw(e,n,i,t)}))})),isFinite(n[0])&&isFinite(n[1])&&isFinite(i[0])&&isFinite(i[1])||(n[0]=n[1]=i[0]=i[1]=0),e=new Ft(n[0],n[1],i[0]-n[0],i[1]-n[1]),t||(this._rect=e),e},e.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++){var a=n[i];if("polygon"===a.type){var o=a.exterior,s=a.interiors;if(Uw(o,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(Uw(s[l],t[0],t[1]))continue t;return!0}}}return!1},e.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 Ft(t,e,n,i),s=r.calculateTransform(o),l=this.geometries,u=0;u<l.length;u++){var c=l[u];"polygon"===c.type?(Zw(c.exterior,s),Object(g["each"])(c.interiors,(function(t){Zw(t,s)}))):Object(g["each"])(c.points,(function(t){Zw(t,s)}))}r=this._rect,r.copy(o),this._center=[r.x+r.width/2,r.y+r.height/2]},e.prototype.cloneShallow=function(t){null==t&&(t=this.name);var n=new e(t,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},e}(Jw),eS=function(t){function e(e,n){var i=t.call(this,e)||this;return i.type="geoSVG",i._elOnlyForCalculate=n,i}return f(e,t),e.prototype.calcCenter=function(){var t=this._elOnlyForCalculate,e=t.getBoundingRect(),n=[e.x+e.width/2,e.y+e.height/2],i=wt(Xw),r=t;while(r&&!r.isGeoSVGGraphicRoot)Lt(i,r.getLocalTransform(),i),r=r.parent;return Ot(i,i),H(n,n,i),n},e}(Jw);function nS(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;null==n&&(n=1024);var i=e.features;return g["each"](i,(function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=rS(r,i,n);break;case"Polygon":iS(r,i,n);break;case"MultiLineString":iS(r,i,n);break;case"MultiPolygon":g["each"](r,(function(t,e){return iS(t,i[e],n)}))}})),e.UTF8Encoding=!1,e}function iS(t,e,n){for(var i=0;i<t.length;i++)t[i]=rS(t[i],e[i],n)}function rS(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 aS(t,e){return t=nS(t),g["map"](g["filter"](t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var a=i.coordinates;r.push(new $w(a[0],a.slice(1)));break;case"MultiPolygon":g["each"](i.coordinates,(function(t){t[0]&&r.push(new $w(t[0],t.slice(1)))}));break;case"LineString":r.push(new Qw([i.coordinates]));break;case"MultiLineString":r.push(new Qw(i.coordinates))}var o=new tS(n[e||"name"],r,n.cp);return o.properties=n,o}))}function oS(t,e,n,i,r,a,o,s){var l=new Fs({style:{text:t,font:e,align:n,verticalAlign:i,padding:r,rich:a,overflow:o?"truncate":null,lineHeight:s}});return l.getBoundingRect()}var sS=Zr();function lS(t){return"category"===t.type?cS(t):pS(t)}function uS(t,e){return"category"===t.type?hS(t,e):{ticks:g["map"](t.scale.getTicks(),(function(t){return t.value}))}}function cS(t){var e=t.getLabelModel(),n=dS(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function dS(t,e){var n,i,r=fS(t,"labels"),a=jw(e),o=_S(r,a);return o||(g["isFunction"](a)?n=xS(t,a):(i="auto"===a?mS(t):a,n=bS(t,i)),gS(r,a,{labels:n,labelCategoryInterval:i}))}function hS(t,e){var n,i,r=fS(t,"ticks"),a=jw(e),o=_S(r,a);if(o)return o;if(e.get("show")&&!t.scale.isBlank()||(n=[]),g["isFunction"](a))n=xS(t,a,!0);else if("auto"===a){var s=dS(t,t.getLabelModel());i=s.labelCategoryInterval,n=g["map"](s.labels,(function(t){return t.tickValue}))}else i=a,n=bS(t,i,!0);return gS(r,a,{ticks:n,tickCategoryInterval:i})}function pS(t){var e=t.scale.getTicks(),n=Aw(t);return{labels:g["map"](e,(function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}function fS(t,e){return sS(t)[e]||(sS(t)[e]=[])}function _S(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function gS(t,e,n){return t.push({key:e,value:n}),n}function mS(t){var e=sS(t).autoInterval;return null!=e?e:sS(t).autoInterval=t.calculateCategoryInterval()}function yS(t){var e=vS(t),n=Aw(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),c=Math.abs(u*Math.cos(i)),d=Math.abs(u*Math.sin(i)),h=0,p=0;l<=a[1];l+=s){var f=0,_=0,g=gi(n({value:l}),e.font,"center","top");f=1.3*g.width,_=1.3*g.height,h=Math.max(h,f,7),p=Math.max(p,_,7)}var m=h/c,y=p/d;isNaN(m)&&(m=1/0),isNaN(y)&&(y=1/0);var v=Math.max(0,Math.floor(Math.min(m,y))),b=sS(t.model),x=t.getExtent(),M=b.lastAutoInterval,w=b.lastTickCount;return null!=M&&null!=w&&Math.abs(M-v)<=1&&Math.abs(w-o)<=1&&M>v&&b.axisExtent0===x[0]&&b.axisExtent1===x[1]?v=M:(b.lastTickCount=o,b.lastAutoInterval=v,b.axisExtent0=x[0],b.axisExtent1=x[1]),v}function vS(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 bS(t,e,n){var i=Aw(t),r=t.scale,a=r.getExtent(),o=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=a[0],c=r.count();0!==u&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var d=Pw(t),h=o.get("showMinLabel")||d,p=o.get("showMaxLabel")||d;h&&u!==a[0]&&_(a[0]);for(var f=u;f<=a[1];f+=l)_(f);function _(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return p&&f-l!==a[1]&&_(a[1]),s}function xS(t,e,n){var i=t.scale,r=Aw(t),a=[];return g["each"](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 MS=[0,1],wS=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 rr(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(),SS(n,i.count())),$i(t,MS,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&(n=n.slice(),SS(n,i.count()));var r=$i(t,n,MS,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=uS(this,e),i=n.ticks,r=Object(g["map"])(i,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this),a=e.get("alignWithLabel");return LS(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=Object(g["map"])(n,(function(t){return Object(g["map"])(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this);return i},t.prototype.getViewLabels=function(){return lS(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 yS(this)},t}();function SS(t,e){var n=t[1]-t[0],i=e,r=n/i/2;t[0]+=r,t[1]-=r}function LS(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;Object(g["each"])(e,(function(t){t.coord-=u/2}));var c=t.scale.getExtent();o=1+c[1]-e[r-1].tickValue,a={coord:e[r-1].coord+u*o},e.push(a)}var d=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=tr(t),e=tr(e),d?t>e:t<e}}var kS=wS;function TS(t){var e=gd.extend(t);return gd.registerClass(e),e}function DS(t){var e=Uf.extend(t);return Uf.registerClass(e),e}function OS(t){var e=Vf.extend(t);return Vf.registerClass(e),e}function AS(t){var e=pm.extend(t);return pm.registerClass(e),e}var IS=2*Math.PI,YS=Po.CMD,CS=["top","right","bottom","left"];function jS(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 PS(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 c=o*n+t,d=s*n+e;if(Math.abs(i-r)%IS<1e-4)return l[0]=c,l[1]=d,u-n;if(a){var h=i;i=zo(r),r=zo(h)}else i=zo(i),r=zo(r);i>r&&(r+=IS);var p=Math.atan2(s,o);if(p<0&&(p+=IS),p>=i&&p<=r||p+IS>=i&&p+IS<=r)return l[0]=c,l[1]=d,u-n;var f=n*Math.cos(i)+t,_=n*Math.sin(i)+e,g=n*Math.cos(r)+t,m=n*Math.sin(r)+e,y=(f-o)*(f-o)+(_-s)*(_-s),v=(g-o)*(g-o)+(m-s)*(m-s);return y<v?(l[0]=f,l[1]=_,Math.sqrt(y)):(l[0]=g,l[1]=m,Math.sqrt(v))}function ES(t,e,n,i,r,a,o,s){var l=r-t,u=a-e,c=n-t,d=i-e,h=Math.sqrt(c*c+d*d);c/=h,d/=h;var p=l*c+u*d,f=p/h;s&&(f=Math.min(Math.max(f,0),1)),f*=h;var _=o[0]=t+f*c,g=o[1]=e+f*d;return Math.sqrt((_-r)*(_-r)+(g-a)*(g-a))}function RS(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),c=o[1]=Math.min(Math.max(a,e),l);return Math.sqrt((u-r)*(u-r)+(c-a)*(c-a))}var NS=[];function HS(t,e,n){var i=RS(e.x,e.y,e.width,e.height,t.x,t.y,NS);return n.set(NS[0],NS[1]),i}function zS(t,e,n){for(var i,r,a=0,o=0,s=0,l=0,u=1/0,c=e.data,d=t.x,h=t.y,p=0;p<c.length;){var f=c[p++];1===p&&(a=c[p],o=c[p+1],s=a,l=o);var _=u;switch(f){case YS.M:s=c[p++],l=c[p++],a=s,o=l;break;case YS.L:_=ES(a,o,c[p],c[p+1],d,h,NS,!0),a=c[p++],o=c[p++];break;case YS.C:_=He(a,o,c[p++],c[p++],c[p++],c[p++],c[p],c[p+1],d,h,NS),a=c[p++],o=c[p++];break;case YS.Q:_=Ue(a,o,c[p++],c[p++],c[p],c[p+1],d,h,NS),a=c[p++],o=c[p++];break;case YS.A:var g=c[p++],m=c[p++],y=c[p++],v=c[p++],b=c[p++],x=c[p++];p+=1;var M=!!(1-c[p++]);i=Math.cos(b)*y+g,r=Math.sin(b)*v+m,p<=1&&(s=i,l=r);var w=(d-g)*v/y+g;_=PS(g,m,v,b,b+x,M,w,h,NS),a=Math.cos(b+x)*y+g,o=Math.sin(b+x)*v+m;break;case YS.R:s=a=c[p++],l=o=c[p++];var S=c[p++],L=c[p++];_=RS(s,l,S,L,d,h,NS);break;case YS.Z:_=ES(a,o,s,l,d,h,NS,!0),a=s,o=l;break}_<u&&(u=_,n.set(NS[0],NS[1]))}return u}var BS=new Yt,FS=new Yt,WS=new Yt,VS=new Yt,GS=new Yt;function US(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||CS,s=i.getBoundingRect().clone();s.applyTransform(i.getComputedTransform());var l=1/0,u=r.anchor,c=t.getComputedTransform(),d=c&&Ot([],c),h=e.get("length2")||0;u&&WS.copy(u);for(var p=0;p<o.length;p++){var f=o[p];jS(f,0,s,BS,VS),Yt.scaleAndAdd(FS,BS,VS,h),FS.transform(d);var _=t.getBoundingRect(),g=u?u.distance(FS):t instanceof ss?zS(FS,t.path,WS):HS(FS,_,WS);g<l&&(l=g,FS.transform(c),WS.transform(c),WS.toArray(a[0]),FS.toArray(a[1]),BS.toArray(a[2]))}qS(a,e.get("minTurnAngle")),n.setShape({points:a})}}}var XS=[],ZS=new Yt;function qS(t,e){if(e<=180&&e>0){e=e/180*Math.PI,BS.fromArray(t[0]),FS.fromArray(t[1]),WS.fromArray(t[2]),Yt.sub(VS,BS,FS),Yt.sub(GS,WS,FS);var n=VS.len(),i=GS.len();if(!(n<.001||i<.001)){VS.scale(1/n),GS.scale(1/i);var r=VS.dot(GS),a=Math.cos(e);if(a<r){var o=ES(FS.x,FS.y,WS.x,WS.y,BS.x,BS.y,XS,!1);ZS.fromArray(XS),ZS.scaleAndAdd(GS,o/Math.tan(Math.PI-e));var s=WS.x!==FS.x?(ZS.x-FS.x)/(WS.x-FS.x):(ZS.y-FS.y)/(WS.y-FS.y);if(isNaN(s))return;s<0?Yt.copy(ZS,FS):s>1&&Yt.copy(ZS,WS),ZS.toArray(t[1])}}}}function KS(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,BS.fromArray(t[0]),FS.fromArray(t[1]),WS.fromArray(t[2]),Yt.sub(VS,FS,BS),Yt.sub(GS,WS,FS);var i=VS.len(),r=GS.len();if(!(i<.001||r<.001)){VS.scale(1/i),GS.scale(1/r);var a=VS.dot(e),o=Math.cos(n);if(a<o){var s=ES(FS.x,FS.y,WS.x,WS.y,BS.x,BS.y,XS,!1);ZS.fromArray(XS);var l=Math.PI/2,u=Math.acos(GS.dot(e)),c=l+u-n;if(c>=l)Yt.copy(ZS,WS);else{ZS.scaleAndAdd(GS,s/Math.tan(Math.PI/2-c));var d=WS.x!==FS.x?(ZS.x-FS.x)/(WS.x-FS.x):(ZS.y-FS.y)/(WS.y-FS.y);if(isNaN(d))return;d<0?Yt.copy(ZS,FS):d>1&&Yt.copy(ZS,WS)}ZS.toArray(t[1])}}}}function JS(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 $S(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=j(i[0],i[1]),a=j(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=N([],i[1],i[0],o/r),l=N([],i[1],i[2],o/a),u=N([],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 c=1;c<i.length;c++)t.lineTo(i[c][0],i[c][1])}function QS(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<Qs.length;l++){var u=Qs[l],c=e[u],d="normal"===u;if(c){var h=c.get("show"),p=d?s:Object(g["retrieve2"])(r.states[u]&&r.states[u].ignore,s);if(p||!Object(g["retrieve2"])(h,o)){var f=d?i:i&&i.states[u];f&&(f.ignore=!0);continue}i||(i=new J_,t.setTextGuideLine(i),d||!s&&o||JS(i,!0,"normal",e.normal),t.stateProxy&&(i.stateProxy=t.stateProxy)),JS(i,!1,u,c)}}if(i){Object(g["defaults"])(i.style,n),i.style.fill=null;var _=a.get("showAbove"),m=t.textGuideLineConfig=t.textGuideLineConfig||{};m.showAbove=_||!1,i.buildPath=$S}}else i&&t.removeTextGuideLine()}function tL(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},i=0;i<$s.length;i++){var r=$s[i];n[r]=t.getModel([r,e])}return n}function eL(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 c=s?new wg(o,a):null;e.push({label:r,labelLine:i.labelLine,rect:u,localRect:o,obb:c,priority:i.priority,defaultAttr:i.defaultAttr,layoutOption:i.computedLayoutOption,axisAligned:s,transform:a})}}return e}function nL(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,c=[],d=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 _=Math.max(-s,0);c.push(_),d+=_,l=f[e]+f[n]}d>0&&a&&M(-d/o,0,o);var g,m,y=t[0],v=t[o-1];return b(),g<0&&w(-g,.8),m<0&&w(m,.8),b(),x(g,m,1),x(m,g,-1),b(),g<0&&S(-g),m<0&&S(m),u}function b(){g=y.rect[e]-i,m=r-v.rect[e]-v.rect[n]}function x(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){M(i*n,0,o);var r=i+t;r<0&&w(-r*n,1)}else w(-t*n,1)}}function M(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,c=Math.max(t[l].rect[e]-u[e]-u[n],0);a.push(c),s+=c}if(s){var d=Math.min(Math.abs(i)/s,r);if(i>0)for(l=0;l<o-1;l++){var h=a[l]*d;M(h,0,l+1)}else for(l=o-1;l>0;l--){h=a[l-1]*d;M(-h,l,o)}}}function S(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?M(n,0,i+1):M(-n,o-i-1,o),t-=n,t<=0)return}}function iL(t,e,n,i){return nL(t,"x","width",e,n,i)}function rL(t,e,n,i){return nL(t,"y","height",e,n,i)}function aL(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new Ft(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,c=a.labelLine;n.copy(a.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var d=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 wg(f.localRect,f.transform)),d||(d=new wg(s,l)),d.intersect(f.obb)){h=!0;break}}}h?(i(u),c&&i(c)):(u.attr("ignore",a.defaultAttr.ignore),c&&c.attr("ignore",a.defaultAttr.labelGuideIgnore),e.push(a))}}function oL(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function sL(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:oL(i&&i.shape.points)}}var lL=["align","verticalAlign","width","height","fontSize"],uL=new ci,cL=Zr(),dL=Zr();function hL(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null!=e[r]&&(t[r]=e[r])}}var pL=["x","y","rotation"],fL=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();Ft.applyTransform(u,u,l),l?uL.setLocalTransform(l):(uL.x=uL.y=uL.rotation=uL.originX=uL.originY=0,uL.scaleX=uL.scaleY=1);var c,d=i.__hostTarget;if(d){c=d.getBoundingRect().plain();var h=d.getComputedTransform();Ft.applyTransform(c,c,h)}var p=c&&d.getTextGuideLine();this._labelList.push({label:i,labelLine:p,seriesModel:n,dataIndex:t,dataType:e,layoutOption:r,computedLayoutOption:null,rect:u,hostRect:c,priority:c?c.width*c.height:0,defaultAttr:{ignore:i.ignore,labelGuideIgnore:p&&p.ignore,x:uL.x,y:uL.y,scaleX:uL.scaleX,scaleY:uL.scaleY,rotation:uL.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");(Object(g["isFunction"])(i)||Object(g["keys"])(i).length)&&t.group.traverse((function(t){if(t.ignore)return!0;var r=t.getTextContent(),a=Ws(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(){US(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=Object(g["isFunction"])(a.layoutOption)?a.layoutOption(sL(a,s)):a.layoutOption,u=u||{},a.computedLayoutOption=u;var c=Math.PI/180;s&&s.setTextConfig({local:!1,position:null!=u.x||null!=u.y?null:l.attachedPos,rotation:null!=u.rotate?u.rotate*c:l.attachedRot,offset:[u.dx||0,u.dy||0]});var d=!1;if(null!=u.x?(o.x=Qi(u.x,e),o.setStyle("x",0),d=!0):(o.x=l.x,o.setStyle("x",l.style.x)),null!=u.y?(o.y=Qi(u.y,n),o.setStyle("y",0),d=!0):(o.y=l.y,o.setStyle("y",l.style.y)),u.labelLinePoints){var h=s.getTextGuideLine();h&&(h.setShape({points:u.labelLinePoints}),d=!1)}var p=cL(o);p.needsUpdateLabelLine=d,o.rotation=null!=u.rotate?u.rotate*c:l.rotation,o.scaleX=l.scaleX,o.scaleY=l.scaleY;for(var f=0;f<lL.length;f++){var _=lL[f];o.setStyle(_,null!=u[_]?u[_]:l.style[_])}if(u.draggable){if(o.draggable=!0,o.cursor="move",s){var m=a.seriesModel;if(null!=a.dataIndex){var y=a.seriesModel.getData(a.dataType);m=y.getItemModel(a.dataIndex)}o.on("drag",i(s,m.getModel("labelLine")))}}else o.off("drag"),o.cursor=l.cursor}},t.prototype.layout=function(t){var e=t.getWidth(),n=t.getHeight(),i=eL(this._labelList),r=Object(g["filter"])(i,(function(t){return"shiftX"===t.layoutOption.moveOverlap})),a=Object(g["filter"])(i,(function(t){return"shiftY"===t.layoutOption.moveOverlap}));iL(r,0,e),rL(a,0,n);var o=Object(g["filter"])(i,(function(t){return t.layoutOption.hideOverlap}));aL(o)},t.prototype.processLabelsOverall=function(){var t=this;Object(g["each"])(this._chartViewList,(function(e){var n=e.__model,i=e.ignoreLabelLineUpdate,r=n.isAnimationEnabled();e.group.traverse((function(e){if(e.ignore&&!e.forceLabelAnimation)return!0;var a=!i,o=e.getTextContent();!a&&o&&(a=cL(o).needsUpdateLabelLine),a&&t._updateLabelLine(e,n),r&&t._animateLabels(e,n)}))}))},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),i=Ws(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 c=o.getModel("labelLine");QS(t,tL(o),s),US(t,c)}},t.prototype._animateLabels=function(t,e){var n=t.getTextContent(),i=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!cu(t))){var r=cL(n),a=r.oldLayout,o=Ws(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 c=t.prevStates;c&&(Object(g["indexOf"])(c,"select")>=0&&n.attr(r.oldLayoutSelect),Object(g["indexOf"])(c,"emphasis")>=0&&n.attr(r.oldLayoutEmphasis)),lu(n,l,e,s)}else if(n.attr(l),!Au(n).valueAnimation){var d=Object(g["retrieve2"])(n.style.opacity,1);n.style.opacity=0,uu(n,{style:{opacity:d}},e,s)}if(r.oldLayout=l,n.states.select){var h=r.oldLayoutSelect={};hL(h,l,pL),hL(h,n.states.select,pL)}if(n.states.emphasis){var p=r.oldLayoutEmphasis={};hL(p,l,pL),hL(p,n.states.emphasis,pL)}Yu(n,s,u,e,e)}if(i&&!i.ignore&&!i.invisible){r=dL(i),a=r.oldLayout;var f={points:i.shape.points};a?(i.attr({shape:a}),lu(i,{shape:f},e)):(i.setShape(f),i.style.strokePercent=0,uu(i,{style:{strokePercent:1}},e)),r.oldLayout=f}},t}(),_L=fL,gL=Zr();function mL(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var i=gL(e).labelManager;i||(i=gL(e).labelManager=new _L),i.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var i=gL(e).labelManager;n.updatedSeries.forEach((function(t){i.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()}))}function yL(t,e,n){var i=hi["d"].createCanvas(),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}fx(mL);var vL=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||qn,"string"===typeof e?r=yL(e,n,i):g["isObject"](e)&&(r=e,e=r.id),a.id=e,a.dom=r;var o=r.style;return o&&(g["disableUserSelect"](r),r.onselectstart=function(){return!1},o.padding="0",o.margin="0",o.borderWidth="0"),a.painter=n,a.dpr=i,a}return f(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=yL("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 Ft(0,0,0,0);function u(t){if(t.isFinite()&&!t.isZero())if(0===a.length){var e=new Ft(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 c=a[u];if(c.intersect(t)){var d=new Ft(0,0,0,0);d.copy(c),d.union(t),a[u]=d,n=!0;break}if(s){l.copy(t),l.union(c);var h=t.width*t.height,p=c.width*c.height,f=l.width*l.height,_=f-h-p;_<i&&(i=_,r=u)}}if(s&&(a[r].union(t),n=!0),!n){e=new Ft(0,0,0,0);e.copy(t),a.push(e)}s||(s=a.length>=o)}}for(var c=this.__startIndex;c<this.__endIndex;++c){var d=t[c];if(d){var h=d.shouldBePainted(n,i,!0,!0),p=d.__isRendered&&(d.__dirty&de||!h)?d.getPrevPaintRect():null;p&&u(p);var f=h&&(d.__dirty&de||!d.__isRendered)?d.getPaintRect():null;f&&u(f)}}for(c=this.__prevStartIndex;c<this.__prevEndIndex;++c){d=e[c],h=d.shouldBePainted(n,i,!0,!0);if(d&&(!h||!d.__zr)&&d.__isRendered){p=d.getPrevPaintRect();p&&u(p)}}do{r=!1;for(c=0;c<a.length;)if(a[c].isZero())a.splice(c,1);else{for(var _=c+1;_<a.length;)a[c].intersect(a[_])?(r=!0,a[c].union(a[_]),a.splice(_,1)):_++;c++}}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,c=this;s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,a/u,o/u));var d=this.domBack;function h(t,n,i,a){if(r.clearRect(t,n,i,a),e&&"transparent"!==e){var o=void 0;g["isGradientObject"](e)?(o=e.__canvasGradient||Yy(r,e,{x:0,y:0,width:i,height:a}),e.__canvasGradient=o):g["isImagePatternObject"](e)&&(e.scaleX=e.scaleX||u,e.scaleY=e.scaleY||u,o=Vy(r,e,{dirty:function(){c.setUnpainted(),c.__painter.refresh()}})),r.save(),r.fillStyle=o||e,r.fillRect(t,n,i,a),r.restore()}s&&(r.save(),r.globalAlpha=l,r.drawImage(d,t,n,i,a),r.restore())}!n||s?h(0,0,a,o):n.length&&g["each"](n,(function(t){h(t.x*u,t.y*u,t.width*u,t.height*u)}))},e}(U),bL=vL,xL=1e5,ML=314159,wL=.01,SL=.001;function LL(t){return!!t&&(!!t.__builtin__||"function"===typeof t.resize&&"function"===typeof t.refresh)}function kL(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 TL=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=g["extend"]({},n||{}),this.dpr=n.devicePixelRatio||qn,this._singleCanvas=r,this.root=t;var a=t.style;a&&(g["disableUserSelect"](t),t.innerHTML=""),this.storage=e;var o=this._zlevelList;this._prevDisplayList=[];var s=this._layers;if(r){var l=t,u=l.width,c=l.height;null!=n.width&&(u=n.width),null!=n.height&&(c=n.height),this.dpr=n.devicePixelRatio||1,l.width=u*this.dpr,l.height=c*this.dpr,this._width=u,this._height=c;var d=new bL(l,this,this.dpr);d.__builtin__=!0,d.initContext(),s[ML]=d,d.zlevel=ML,o.push(ML),this._domRoot=t}else{this._width=Py(t,0,n),this._height=Py(t,1,n);var h=this._domRoot=kL(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(xL)),i||(i=n.ctx,i.save()),cv(i,o,r,a===e-1))}i&&i.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(xL)},t.prototype.paintOne=function(t,e){uv(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;be((function(){s._paintList(t,e,n,i)}))}}},t.prototype._compositeManually=function(){var t=this.getLayer(ML).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,c=!1,d=function(o){var s,l=r[o],d=l.ctx,p=a&&l.createRepaintRects(t,e,h._width,h._height),f=n?l.__startIndex:l.__drawIndex,_=!n&&l.incremental&&Date.now,g=_&&Date.now(),m=l.zlevel===h._zlevelList[0]?h._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,m,p);else if(f===l.__startIndex){var y=t[f];y.incremental&&y.notClear&&!n||l.clear(!1,m,p)}-1===f&&(console.error("For some unknown reason. drawIndex is -1"),f=l.__startIndex);var v=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(s=f;s<l.__endIndex;s++){var r=t[s];if(r.__inHover&&(c=!0),i._doPaintEl(r,l,a,e,n,s===l.__endIndex-1),_){var o=Date.now()-g;if(o>15)break}}n.prevElClipPaths&&d.restore()};if(p)if(0===p.length)s=l.__endIndex;else for(var b=h.dpr,x=0;x<p.length;++x){var M=p[x];d.save(),d.beginPath(),d.rect(M.x*b,M.y*b,M.width*b,M.height*b),d.clip(),v(M),d.restore()}else d.save(),v(),d.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(u=!1)},h=this,p=0;p<r.length;p++)d(p);return _["a"].wxa&&g["each"](this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),{finished:u,needsRefreshHover:c}},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))&&(cv(o,t,r,a),t.setPrevPaintRect(s))}else cv(o,t,r,a)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=ML);var n=this._layers[t];return n||(n=new bL("zr_"+t,this,this.dpr),n.zlevel=t,n.__builtin__=!0,this._layerConfig[t]?g["merge"](n,this._layerConfig[t],!0):this._layerConfig[t-wL]&&g["merge"](n,this._layerConfig[t-wL],!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]&&LL(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}},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+SL,this._needsManuallyCompositing),u.incremental=!0,s=1):u=this.getLayer(l+(s>0?wL:0),this._needsManuallyCompositing),u.__builtin__||g["logError"]("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&de&&!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,g["each"](this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?g["merge"](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+wL){var a=this._layers[r];g["merge"](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(g["indexOf"](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,r=this.root;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=Py(r,0,i),e=Py(r,1,i),n.style.display="",this._width!==t||e!==this._height){for(var a in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(a)&&this._layers[a].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(ML).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[ML].dom;var e=new bL("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];cv(n,u,a,s===l-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}(),DL=TL;function OL(t){t.registerPainter("canvas",DL)}var AL=Math.sin,IL=Math.cos,YL=Math.PI,CL=2*Math.PI,jL=180/YL,PL=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},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=o-a,u=!s,c=Math.abs(l),d=Object(Qe["j"])(c-CL)||(u?l>=CL:-l>=CL),h=l>0?l%CL:l%CL+CL,p=!1;p=!!d||!Object(Qe["j"])(c)&&h>=YL===!!u;var f=t+n*IL(a),_=e+i*AL(a);this._start&&this._add("M",f,_);var g=Math.round(r*jL);if(d){var m=1/this._p,y=(u?1:-1)*(CL-m);this._add("A",n,i,g,1,+u,t+n*IL(a+y),e+i*AL(a+y)),m>.01&&this._add("A",n,i,g,0,+u,f,_)}else{var v=t+n*IL(o),b=e+i*AL(o);this._add("A",n,i,g,+p,+u,v,b)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,a,o,s,l){for(var u=[],c=this._p,d=1;d<arguments.length;d++){var h=arguments[d];if(isNaN(h))return void(this._invalid=!0);u.push(Math.round(h*c)/c)}this._d.push(t+u.join(" ")),this._start="Z"===t},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},t.prototype.getStr=function(){return this._str},t}(),EL=PL,RL="none",NL=Math.round;function HL(t){var e=t.fill;return null!=e&&e!==RL}function zL(t){var e=t.stroke;return null!=e&&e!==RL}var BL=["lineCap","miterLimit","lineJoin"],FL=Object(g["map"])(BL,(function(t){return"stroke-"+t.toLowerCase()}));function WL(t,e,n,i){var r=null==e.opacity?1:e.opacity;if(n instanceof _s)t("opacity",r);else{if(HL(e)){var a=Object(Qe["p"])(e.fill);t("fill",a.color);var o=null!=e.fillOpacity?e.fillOpacity*a.opacity*r:a.opacity*r;(i||o<1)&&t("fill-opacity",o)}else t("fill",RL);if(zL(e)){var s=Object(Qe["p"])(e.stroke);t("stroke",s.color);var l=e.strokeNoScale?n.getLineScale():1,u=l?(e.lineWidth||0)/l:0,c=null!=e.strokeOpacity?e.strokeOpacity*s.opacity*r:s.opacity*r,d=e.strokeFirst;if((i||1!==u)&&t("stroke-width",u),(i||d)&&t("paint-order",d?"stroke":"fill"),(i||c<1)&&t("stroke-opacity",c),e.lineDash){var h=Ry(n),p=h[0],f=h[1];p&&(f=NL(f||0),t("stroke-dasharray",p.join(",")),(f||i)&&t("stroke-dashoffset",f))}else i&&t("stroke-dasharray",RL);for(var _=0;_<BL.length;_++){var g=BL[_];if(i||e[g]!==is[g]){var m=e[g]||is[g];m&&t(FL[_],m)}}}else i&&t("stroke",RL)}}var VL="http://www.w3.org/2000/svg",GL="http://www.w3.org/1999/xlink",UL="http://www.w3.org/2000/xmlns/",XL="http://www.w3.org/XML/1998/namespace";function ZL(t){return document.createElementNS(VL,t)}function qL(t,e,n,i,r){return{tag:t,attrs:n||{},children:i,text:r,key:e}}function KL(t,e){var n=[];if(e)for(var i in e){var r=e[i],a=i;!1!==r&&(!0!==r&&null!=r&&(a+='="'+r+'"'),n.push(a))}return"<"+t+" "+n.join(" ")+">"}function JL(t){return"</"+t+">"}function $L(t,e){e=e||{};var n=e.newline?"\n":"";function i(t){var e=t.children,r=t.tag,a=t.attrs;return KL(r,a)+at(t.text)+(e?""+n+Object(g["map"])(e,(function(t){return i(t)})).join(n)+n:"")+JL(r)}return i(t)}function QL(t,e,n){n=n||{};var i=n.newline?"\n":"",r=" {"+i,a=i+"}",o=Object(g["map"])(Object(g["keys"])(t),(function(e){return e+r+Object(g["map"])(Object(g["keys"])(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(i)+a})).join(i),s=Object(g["map"])(Object(g["keys"])(e),(function(t){return"@keyframes "+t+r+Object(g["map"])(Object(g["keys"])(e[t]),(function(n){return n+r+Object(g["map"])(Object(g["keys"])(e[t][n]),(function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"})).join(i)+a})).join(i)+a})).join(i);return o||s?["<![CDATA[",o,s,"]]>"].join(i):""}function tk(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function ek(t,e,n,i){return qL("svg","root",{width:t,height:e,xmlns:VL,"xmlns:xlink":GL,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var nk={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},ik="transform-origin";function rk(t,e,n){var i=Object(g["extend"])({},t.shape);Object(g["extend"])(i,e),t.buildPath(n,i);var r=new EL;return r.reset(Object(Qe["f"])(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function ak(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[ik]=n+"px "+i+"px")}var ok={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function sk(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function lk(t,e,n){var i,r,a=t.shape.paths,o={};if(Object(g["each"])(a,(function(t){var e=tk(n.zrId);e.animation=!0,ck(t,{},e,!0);var a=e.cssAnims,s=e.cssNodes,l=Object(g["keys"])(a),u=l.length;if(u){r=l[u-1];var c=a[r];for(var d in c){var h=c[d];o[d]=o[d]||{d:""},o[d].d+=h.d||""}for(var p in s){var f=s[p].animation;f.indexOf(r)>=0&&(i=f)}}})),i){e.d=!1;var s=sk(o,n);return i.replace(r,s)}}function uk(t){return Object(g["isString"])(t)?nk[t]?"cubic-bezier("+nk[t]+")":qe(t)?t:"":""}function ck(t,e,n,i){var r=t.animators,a=r.length,o=[];if(t instanceof dg){var s=lk(t,e,n);if(s)o.push(s);else if(!a)return}else if(!a)return;for(var l={},u=0;u<a;u++){var c=r[u],d=[c.getMaxTime()/1e3+"s"],h=uk(c.getClip().easing),p=c.getDelay();h?d.push(h):d.push("linear"),p&&d.push(p/1e3+"s"),c.getLoop()&&d.push("infinite");var f=d.join(" ");l[f]=l[f]||[f,[]],l[f][1].push(c)}function _(r){var a,o=r[1],s=o.length,l={},u={},c={},d="animation-timing-function";function h(t,e,n){for(var i=t.getTracks(),r=t.getMaxTime(),a=0;a<i.length;a++){var o=i[a];if(o.needsAnimate()){var s=o.keyframes,l=o.propName;if(n&&(l=n(l)),l)for(var u=0;u<s.length;u++){var c=s[u],h=Math.round(c.time/r*100)+"%",p=uk(c.easing),f=c.rawValue;(Object(g["isString"])(f)||Object(g["isNumber"])(f))&&(e[h]=e[h]||{},e[h][l]=c.rawValue,p&&(e[h][d]=p))}}}}for(var p=0;p<s;p++){var f=o[p],_=f.targetName;_?"shape"===_&&h(f,u):!i&&h(f,l)}for(var m in l){var y={};ui(y,t),Object(g["extend"])(y,l[m]);var v=Object(Qe["g"])(y),b=l[m][d];c[m]=v?{transform:v}:{},ak(c[m],y),b&&(c[m][d]=b)}var x=!0;for(var m in u){c[m]=c[m]||{};var M=!a;b=u[m][d];M&&(a=new Po);var w=a.len();a.reset(),c[m].d=rk(t,u[m],a);var S=a.len();if(!M&&w!==S){x=!1;break}b&&(c[m][d]=b)}if(!x)for(var m in c)delete c[m].d;if(!i)for(p=0;p<s;p++){f=o[p],_=f.targetName;"style"===_&&h(f,c,(function(t){return ok[t]}))}var L,k=Object(g["keys"])(c),T=!0;for(p=1;p<k.length;p++){var D=k[p-1],O=k[p];if(c[D][ik]!==c[O][ik]){T=!1;break}L=c[D][ik]}if(T&&L){for(var m in c)c[m][ik]&&delete c[m][ik];e[ik]=L}if(Object(g["filter"])(k,(function(t){return Object(g["keys"])(c[t]).length>0})).length){var A=sk(c,n);return A+" "+r[0]+" both"}}for(var m in l){s=_(l[m]);s&&o.push(s)}if(o.length){var y=n.zrId+"-cls-"+n.cssClassIdx++;n.cssNodes["."+y]={animation:o.join(",")},e["class"]=y}}var dk=Math.round;function hk(t){return t&&Object(g["isString"])(t.src)}function pk(t){return t&&Object(g["isFunction"])(t.toDataURL)}function fk(t,e,n,i){WL((function(r,a){var o="fill"===r||"stroke"===r;o&&Object(Qe["k"])(a)?Dk(e,t,r,i):o&&Object(Qe["n"])(a)?Ok(n,t,r,i):t[r]=a}),e,n,!1),Tk(n,t,i)}function _k(t){return Object(Qe["j"])(t[0]-1)&&Object(Qe["j"])(t[1])&&Object(Qe["j"])(t[2])&&Object(Qe["j"])(t[3]-1)}function gk(t){return Object(Qe["j"])(t[4])&&Object(Qe["j"])(t[5])}function mk(t,e,n){if(e&&(!gk(e)||!_k(e))){var i=n?10:1e4;t.transform=_k(e)?"translate("+dk(e[4]*i)/i+" "+dk(e[5]*i)/i+")":Object(Qe["e"])(e)}}function yk(t,e,n){for(var i=t.points,r=[],a=0;a<i.length;a++)r.push(dk(i[a][0]*n)/n),r.push(dk(i[a][1]*n)/n);e.points=r.join(" ")}function vk(t){return!t.smooth}function bk(t){var e=Object(g["map"])(t,(function(t){return"string"===typeof t?[t,t]:t}));return function(t,n,i){for(var r=0;r<e.length;r++){var a=e[r],o=t[a[0]];null!=o&&(n[a[1]]=dk(o*i)/i)}}}var xk={circle:[bk(["cx","cy","r"])],polyline:[yk,vk],polygon:[yk,vk]};function Mk(t){for(var e=t.animators,n=0;n<e.length;n++)if("shape"===e[n].targetName)return!0;return!1}function wk(t,e){var n=t.style,i=t.shape,r=xk[t.type],a={},o=e.animation,s="path",l=t.style.strokePercent,u=e.compress&&Object(Qe["f"])(t)||4;if(!r||e.willUpdate||r[1]&&!r[1](i)||o&&Mk(t)||l<1){t.path||t.createPathProxy();var c=t.path;t.shapeChanged()&&(c.beginPath(),t.buildPath(c,t.shape),t.pathUpdated());var d=c.getVersion(),h=t,p=h.__svgPathBuilder;h.__svgPathVersion===d&&p&&l===h.__svgPathStrokePercent||(p||(p=h.__svgPathBuilder=new EL),p.reset(u),c.rebuildPath(p,l),p.generateStr(),h.__svgPathVersion=d,h.__svgPathStrokePercent=l),a.d=p.getStr()}else{s=t.type;var f=Math.pow(10,u);r[0](i,a,f)}return mk(a,t.transform),fk(a,n,t,e),e.animation&&ck(t,a,e),qL(s,t.id+"",a)}function Sk(t,e){var n=t.style,i=n.image;if(i&&!Object(g["isString"])(i)&&(hk(i)?i=i.src:pk(i)&&(i=i.toDataURL())),i){var r=n.x||0,a=n.y||0,o=n.width,s=n.height,l={href:i,width:o,height:s};return r&&(l.x=r),a&&(l.y=a),mk(l,t.transform),fk(l,n,t,e),e.animation&&ck(t,l,e),qL("image",t.id+"",l)}}function Lk(t,e){var n=t.style,i=n.text;if(null!=i&&(i+=""),i&&!isNaN(n.x)&&!isNaN(n.y)){var r=n.font||hi["a"],a=n.x||0,o=Object(Qe["b"])(n.y||0,vi(r),n.textBaseline),s=Qe["a"][n.textAlign]||n.textAlign,l={"dominant-baseline":"central","text-anchor":s};if(js(n)){var u="",c=n.fontStyle,d=Ys(n.fontSize);if(!parseFloat(d))return;var h=n.fontFamily||hi["b"],p=n.fontWeight;u+="font-size:"+d+";font-family:"+h+";",c&&"normal"!==c&&(u+="font-style:"+c+";"),p&&"normal"!==p&&(u+="font-weight:"+p+";"),l.style=u}else l.style="font: "+r;return i.match(/\s/)&&(l["xml:space"]="preserve"),a&&(l.x=a),o&&(l.y=o),mk(l,t.transform),fk(l,n,t,e),e.animation&&ck(t,l,e),qL("text",t.id+"",l,void 0,i)}}function kk(t,e){return t instanceof ss?wk(t,e):t instanceof _s?Sk(t,e):t instanceof cs?Lk(t,e):void 0}function Tk(t,e,n){var i=t.style;if(Object(Qe["i"])(i)){var r=Object(Qe["h"])(t),a=n.shadowCache,o=a[r];if(!o){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var c=i.shadowOffsetX||0,d=i.shadowOffsetY||0,h=i.shadowBlur,p=Object(Qe["p"])(i.shadowColor),f=p.opacity,_=p.color,g=h/2/l,m=h/2/u,y=g+" "+m;o=n.zrId+"-s"+n.shadowIdx++,n.defs[o]=qL("filter",o,{id:o,x:"-100%",y:"-100%",width:"300%",height:"300%"},[qL("feDropShadow","",{dx:c/l,dy:d/u,stdDeviation:y,"flood-color":_,"flood-opacity":f})]),a[r]=o}e.filter=Object(Qe["d"])(o)}}function Dk(t,e,n,i){var r,a=t[n],o={gradientUnits:a.global?"userSpaceOnUse":"objectBoundingBox"};if(Object(Qe["m"])(a))r="linearGradient",o.x1=a.x,o.y1=a.y,o.x2=a.x2,o.y2=a.y2;else{if(!Object(Qe["o"])(a))return void 0;r="radialGradient",o.cx=Object(g["retrieve2"])(a.x,.5),o.cy=Object(g["retrieve2"])(a.y,.5),o.r=Object(g["retrieve2"])(a.r,.5)}for(var s=a.colorStops,l=[],u=0,c=s.length;u<c;++u){var d=100*Object(Qe["q"])(s[u].offset)+"%",h=s[u].color,p=Object(Qe["p"])(h),f=p.color,_=p.opacity,m={offset:d};m["stop-color"]=f,_<1&&(m["stop-opacity"]=_),l.push(qL("stop",u+"",m))}var y=qL(r,"",o,l),v=$L(y),b=i.gradientCache,x=b[v];x||(x=i.zrId+"-g"+i.gradientIdx++,b[v]=x,o.id=x,i.defs[x]=qL(r,x,o,l)),e[n]=Object(Qe["d"])(x)}function Ok(t,e,n,i){var r,a=t.style[n],o={patternUnits:"userSpaceOnUse"};if(Object(Qe["l"])(a)){var s=a.imageWidth,l=a.imageHeight,u=void 0,c=a.image;if(Object(g["isString"])(c)?u=c:hk(c)?u=c.src:pk(c)&&(u=c.toDataURL()),"undefined"===typeof Image){var d="Image width/height must been given explictly in svg-ssr renderer.";Object(g["assert"])(s,d),Object(g["assert"])(l,d)}else if(null==s||null==l){var h=function(t,e){if(t){var n=t.elm,i=t.attrs.width=s||e.width,r=t.attrs.height=l||e.height;n&&(n.setAttribute("width",i),n.setAttribute("height",r))}},p=ka(u,null,t,(function(t){h(f,t),h(r,t)}));p&&p.width&&p.height&&(s=s||p.width,l=l||p.height)}r=qL("image","img",{href:u,width:s,height:l}),o.width=s,o.height=l}else a.svgElement&&(r=Object(g["clone"])(a.svgElement),o.width=a.svgWidth,o.height=a.svgHeight);if(r){o.patternTransform=Object(Qe["g"])(a);var f=qL("pattern","",o,[r]),_=$L(f),m=i.patternCache,y=m[_];y||(y=i.zrId+"-p"+i.patternIdx++,m[_]=y,o.id=y,f=i.defs[y]=qL("pattern",y,o,[r])),e[n]=Object(Qe["d"])(y)}}function Ak(t,e,n){var i=n.clipPathCache,r=n.defs,a=i[t.id];if(!a){a=n.zrId+"-c"+n.clipPathIdx++;var o={id:a};i[t.id]=a,r[a]=qL("clipPath",a,o,[wk(t,n)])}e["clip-path"]=Object(Qe["d"])(a)}function Ik(t){return document.createTextNode(t)}function Yk(t,e,n){t.insertBefore(e,n)}function Ck(t,e){t.removeChild(e)}function jk(t,e){t.appendChild(e)}function Pk(t){return t.parentNode}function Ek(t){return t.nextSibling}function Rk(t,e){t.textContent=e}var Nk=58,Hk=120,zk=qL("","");function Bk(t){return void 0===t}function Fk(t){return void 0!==t}function Wk(t,e,n){for(var i={},r=e;r<=n;++r){var a=t[r].key;void 0!==a&&(i[a]=r)}return i}function Vk(t,e){var n=t.key===e.key,i=t.tag===e.tag;return i&&n}function Gk(t){var e,n=t.children,i=t.tag;if(Fk(i)){var r=t.elm=ZL(i);if(Zk(zk,t),Object(g["isArray"])(n))for(e=0;e<n.length;++e){var a=n[e];null!=a&&jk(r,Gk(a))}else Fk(t.text)&&!Object(g["isObject"])(t.text)&&jk(r,Ik(t.text))}else t.elm=Ik(t.text);return t.elm}function Uk(t,e,n,i,r){for(;i<=r;++i){var a=n[i];null!=a&&Yk(t,Gk(a),e)}}function Xk(t,e,n,i){for(;n<=i;++n){var r=e[n];if(null!=r)if(Fk(r.tag)){var a=Pk(r.elm);Ck(a,r.elm)}else Ck(t,r.elm)}}function Zk(t,e){var n,i=e.elm,r=t&&t.attrs||{},a=e.attrs||{};if(r!==a){for(n in a){var o=a[n],s=r[n];s!==o&&(!0===o?i.setAttribute(n,""):!1===o?i.removeAttribute(n):n.charCodeAt(0)!==Hk?i.setAttribute(n,o):"xmlns:xlink"===n||"xmlns"===n?i.setAttributeNS(UL,n,o):n.charCodeAt(3)===Nk?i.setAttributeNS(XL,n,o):n.charCodeAt(5)===Nk?i.setAttributeNS(GL,n,o):i.setAttribute(n,o))}for(n in r)n in a||i.removeAttribute(n)}}function qk(t,e,n){var i,r,a,o,s=0,l=0,u=e.length-1,c=e[0],d=e[u],h=n.length-1,p=n[0],f=n[h];while(s<=u&&l<=h)null==c?c=e[++s]:null==d?d=e[--u]:null==p?p=n[++l]:null==f?f=n[--h]:Vk(c,p)?(Kk(c,p),c=e[++s],p=n[++l]):Vk(d,f)?(Kk(d,f),d=e[--u],f=n[--h]):Vk(c,f)?(Kk(c,f),Yk(t,c.elm,Ek(d.elm)),c=e[++s],f=n[--h]):Vk(d,p)?(Kk(d,p),Yk(t,d.elm,c.elm),d=e[--u],p=n[++l]):(Bk(i)&&(i=Wk(e,s,u)),r=i[p.key],Bk(r)?Yk(t,Gk(p),c.elm):(a=e[r],a.tag!==p.tag?Yk(t,Gk(p),c.elm):(Kk(a,p),e[r]=void 0,Yk(t,a.elm,c.elm))),p=n[++l]);(s<=u||l<=h)&&(s>u?(o=null==n[h+1]?null:n[h+1].elm,Uk(t,o,n,l,h)):Xk(t,e,s,u))}function Kk(t,e){var n=e.elm=t.elm,i=t.children,r=e.children;t!==e&&(Zk(t,e),Bk(e.text)?Fk(i)&&Fk(r)?i!==r&&qk(n,i,r):Fk(r)?(Fk(t.text)&&Rk(n,""),Uk(n,null,r,0,r.length-1)):Fk(i)?Xk(n,i,0,i.length-1):Fk(t.text)&&Rk(n,""):t.text!==e.text&&(Fk(i)&&Xk(n,i,0,i.length-1),Rk(n,e.text)))}function Jk(t,e){if(Vk(t,e))Kk(t,e);else{var n=t.elm,i=Pk(n);Gk(e),null!==i&&(Yk(i,e.elm,Ek(n)),Xk(i,[t],0,0))}return e}var $k=0,Qk=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=tT("refreshHover"),this.configLayer=tT("configLayer"),this.storage=e,this._opts=n=Object(g["extend"])({},n),this.root=t,this._id="zr"+$k++,this._oldVNode=ek(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=ZL("svg");Zk(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",Jk(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return kk(t,tk(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._backgroundColor,i=this._width,r=this._height,a=tk(this._id);a.animation=t.animation,a.willUpdate=t.willUpdate,a.compress=t.compress;var o=[];if(n&&"none"!==n){var s=Object(Qe["p"])(n),l=s.color,u=s.opacity;this._bgVNode=qL("rect","bg",{width:i,height:r,x:"0",y:"0",id:"0",fill:l,"fill-opacity":u}),o.push(this._bgVNode)}else this._bgVNode=null;var c=t.compress?null:this._mainVNode=qL("g","main",{},[]);this._paintList(e,a,c?c.children:o),c&&o.push(c);var d=Object(g["map"])(Object(g["keys"])(a.defs),(function(t){return a.defs[t]}));if(d.length&&o.push(qL("defs","defs",{},d)),t.animation){var h=QL(a.cssNodes,a.cssAnims,{newline:!0});if(h){var p=qL("style","stl",{},[],h);o.push(p)}}return ek(i,r,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},$L(this.renderToVNode({animation:Object(g["retrieve2"])(t.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:Object(g["retrieve2"])(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t;var e=this._bgVNode;if(e&&e.elm){var n=Object(Qe["p"])(t),i=n.color,r=n.opacity;e.elm.setAttribute("fill",i),r<1&&e.elm.setAttribute("fill-opacity",r)}},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,a=t.length,o=[],s=0,l=0,u=0;u<a;u++){var c=t[u];if(!c.invisible){var d=c.__clipPaths,h=d&&d.length||0,p=r&&r.length||0,f=void 0;for(f=Math.max(h-1,p-1);f>=0;f--)if(d&&r&&d[f]===r[f])break;for(var _=p-1;_>f;_--)s--,i=o[s-1];for(var g=f+1;g<h;g++){var m={};Ak(d[g],m,e);var y=qL("g","clip-g-"+l++,m,[]);(i?i.children:n).push(y),o[s++]=y,i=y}r=d;var v=kk(c,e);v&&(i?i.children:n).push(v)}}},t.prototype.resize=function(t,e){var n=this._opts,i=this.root,r=this._viewport;if(null!=t&&(n.width=t),null!=e&&(n.height=e),i&&r&&(r.style.display="none",t=Py(i,0,n),e=Py(i,1,n),r.style.display=""),this._width!==t||this._height!==e){if(this._width=t,this._height=e,r){var a=r.style;a.width=t+"px",a.height=e+"px"}var o=this._svgDom;o&&(o.setAttribute("width",t),o.setAttribute("height",e))}},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},t.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},t.prototype.toDataURL=function(t){var e=encodeURIComponent(this.renderToString()),n="data:image/svg+xml;";return t?(e=Object(Qe["c"])(e),e&&n+"base64,"+e):n+"charset=UTF-8,"+e},t}();function tT(t){return function(){0}}var eT=Qk;function nT(t){t.registerPainter("svg",eT)}var iT=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return f(e,t),e.prototype.getInitialData=function(t){return pM(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new Ri,n=ky("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),a="none"===i?"circle":i,o=.8*t.itemHeight,s=ky(a,(t.itemWidth-o)/2,(t.itemHeight-o)/2,o,o,t.itemStyle.fill);e.add(s),s.setStyle(t.itemStyle);var l="inherit"===t.iconRotate?r:t.iconRotate||0;return s.rotation=l*Math.PI/180,s.setOrigin([t.itemWidth/2,t.itemHeight/2]),a.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={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},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,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(Vf),rT=iT;function aT(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=bp(t,e,n[0]);return null!=r?r+"":null}if(i){for(var a=[],o=0;o<n.length;o++)a.push(bp(t,e,n[o]));return a.join(" ")}}function oT(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!Object(g["isArray"])(e))return e+"";for(var i=[],r=0;r<n.length;r++){var a=t.getDimensionIndex(n[r]);a>=0&&i.push(e[a])}return i.join(" ")}var sT=function(t){function e(e,n,i,r){var a=t.call(this)||this;return a.updateData(e,n,i,r),a}return f(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var a=ky(t,-1,-1,2,2,null,r);a.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),a.drift=lT,this._symbolType=t,this.add(a)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){Dl(this.childAt(0))},e.prototype.downplay=function(){Ol(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,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.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 c=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(a,t,n,s,c)}else{var d=this.childAt(0);d.silent=!1;var h={scaleX:s[0]/2,scaleY:s[1]/2};u?d.attr(h):lu(d,h,o,n),fu(d)}if(this._updateCommon(t,n,s,i,r),l){d=this.childAt(0);if(!u){h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}};d.scaleX=d.scaleY=0,d.style.opacity=0,uu(d,h,o,n)}}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var a,o,s,l,u,c,d,h,p,f=this.childAt(0),_=t.hostModel;if(i&&(a=i.emphasisItemStyle,o=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,d=i.labelStatesModels,h=i.hoverScale,p=i.cursorStyle,c=i.emphasisDisabled),!i||t.hasItemOption){var m=i&&i.itemModel?i.itemModel:t.getItemModel(e),y=m.getModel("emphasis");a=y.getModel("itemStyle").getItemStyle(),s=m.getModel(["select","itemStyle"]).getItemStyle(),o=m.getModel(["blur","itemStyle"]).getItemStyle(),l=y.get("focus"),u=y.get("blurScope"),c=y.get("disabled"),d=bu(m),h=y.getShallow("scale"),p=m.getShallow("cursor")}var v=t.getItemVisual(e,"symbolRotate");f.attr("rotation",(v||0)*Math.PI/180||0);var b=Dy(t.getItemVisual(e,"symbolOffset"),n);b&&(f.x=b[0],f.y=b[1]),p&&f.attr("cursor",p);var x=t.getItemVisual(e,"style"),M=x.fill;if(f instanceof _s){var w=f.style;f.useStyle(Object(g["extend"])({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},x))}else f.__isEmptyBrush?f.useStyle(Object(g["extend"])({},x)):f.useStyle(x),f.style.decal=null,f.setColor(M,r&&r.symbolInnerColor),f.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),L=this._z2;null!=S?null==L&&(this._z2=f.z2,f.z2+=S):null!=L&&(f.z2=L,this._z2=null);var k=r&&r.useNameLabel;function T(e){return k?t.getName(e):aT(t,e)}vu(f,d,{labelFetcher:_,labelDataIndex:e,defaultText:T,inheritColor:M,defaultOpacity:x.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var D=f.ensureState("emphasis");D.style=a,f.ensureState("select").style=s,f.ensureState("blur").style=o;var O=null==h||!0===h?Math.max(1.1,3/this._sizeY):isFinite(h)&&h>0?+h:1;D.scaleX=this._sizeX*O,D.scaleY=this._sizeY*O,this.setSymbolScale(1),Xl(this,l,u,c)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=Ws(this).dataIndex,a=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var o=i.getTextContent();o&&du(o,{style:{opacity:0}},e,{dataIndex:r,removeOpt:a,cb:function(){i.removeTextContent()}})}else i.removeTextContent();du(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:a})},e.getSymbolSize=function(t,e){return Ty(t.getItemVisual(e,"symbolSize"))},e}(Ri);function lT(t,e){this.parent.drift(t,e)}var uT=sT;function cT(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 dT(t){return null==t||Object(g["isObject"])(t)||(t={isIgnore:t}),t||{}}function hT(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"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:bu(e),cursorStyle:e.get("cursor")}}var pT=function(){function t(t){this.group=new Ri,this._SymbolCtor=t||uT}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=dT(e);var n=this.group,i=t.hostModel,r=this._data,a=this._SymbolCtor,o=e.disableAnimation,s=hT(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(cT(t,r,i,e)){var o=new a(t,i,s,l);o.setPosition(r),t.setItemGraphicEl(i,o),n.add(o)}})).update((function(c,d){var h=r.getItemGraphicEl(d),p=u(c);if(cT(t,p,c,e)){var f=t.getItemVisual(c,"symbol")||"circle",_=h&&h.getSymbolType&&h.getSymbolType();if(!h||_&&_!==f)n.remove(h),h=new a(t,c,s,l),h.setPosition(p);else{h.updateData(t,c,s,l);var g={x:p[0],y:p[1]};o?h.attr(g):lu(h,g,i)}n.add(h),t.setItemGraphicEl(c,h)}else n.remove(h)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),i)})).execute(),this._getSymbolPoint=u,this._data=t},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=hT(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)}this._progressiveEls=[],n=dT(n);for(var r=t.start;r<t.end;r++){var a=e.getItemLayout(r);if(cT(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),this._progressiveEls.push(o)}}},t.prototype.eachRendered=function(t){rm(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl((function(t){t.fadeOut((function(){e.remove(t)}),n.hostModel)})):e.removeAll()},t}(),fT=pT;function _T(t,e,n){var i=t.getBaseAxis(),r=t.getOtherAxis(i),a=gT(r,n),o=i.dim,s=r.dim,l=e.mapDimension(s),u=e.mapDimension(o),c="x"===s||"radius"===s?1:0,d=Object(g["map"])(t.dimensions,(function(t){return e.mapDimension(t)})),h=!1,p=e.getCalculationInfo("stackResultDimension");return oM(e,d[0])&&(h=!0,d[0]=p),oM(e,d[1])&&(h=!0,d[1]=p),{dataDimsForPoint:d,valueStart:a,valueAxisDim:s,baseAxisDim:o,stacked:!!h,valueDim:l,baseDim:u,baseDataOffset:c,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function gT(t,e){var n=0,i=t.scale.getExtent();return"start"===e?n=i[0]:"end"===e?n=i[1]:Object(g["isNumber"])(e)&&!isNaN(e)?n=e:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]),n}function mT(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)}function yT(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 vT(t,e,n,i,r,a,o,s){for(var l=yT(t,e),u=[],c=[],d=[],h=[],p=[],f=[],_=[],g=_T(r,e,o),m=t.getLayout("points")||[],y=e.getLayout("points")||[],v=0;v<l.length;v++){var b=l[v],x=!0,M=void 0,w=void 0;switch(b.cmd){case"=":M=2*b.idx,w=2*b.idx1;var S=m[M],L=m[M+1],k=y[w],T=y[w+1];(isNaN(S)||isNaN(L))&&(S=k,L=T),u.push(S,L),c.push(k,T),d.push(n[M],n[M+1]),h.push(i[w],i[w+1]),_.push(e.getRawIndex(b.idx1));break;case"+":var D=b.idx,O=g.dataDimsForPoint,A=r.dataToPoint([e.get(O[0],D),e.get(O[1],D)]);w=2*D,u.push(A[0],A[1]),c.push(y[w],y[w+1]);var I=mT(g,r,e,D);d.push(I[0],I[1]),h.push(i[w],i[w+1]),_.push(e.getRawIndex(D));break;case"-":x=!1}x&&(p.push(b),f.push(f.length))}f.sort((function(t,e){return _[t]-_[e]}));var Y=u.length,C=EM(Y),j=EM(Y),P=EM(Y),E=EM(Y),R=[];for(v=0;v<f.length;v++){var N=f[v],H=2*v,z=2*N;C[H]=u[z],C[H+1]=u[z+1],j[H]=c[z],j[H+1]=c[z+1],P[H]=d[z],P[H+1]=d[z+1],E[H]=h[z],E[H+1]=h[z+1],R[v]=p[N]}return{current:C,next:j,stackedOnCurrent:P,stackedOnNext:E,status:R}}var bT=Math.min,xT=Math.max;function MT(t,e){return isNaN(t)||isNaN(e)}function wT(t,e,n,i,r,a,o,s,l){for(var u,c,d,h,p,f,_=n,g=0;g<i;g++){var m=e[2*_],y=e[2*_+1];if(_>=r||_<0)break;if(MT(m,y)){if(l){_+=a;continue}break}if(_===n)t[a>0?"moveTo":"lineTo"](m,y),d=m,h=y;else{var v=m-u,b=y-c;if(v*v+b*b<.5){_+=a;continue}if(o>0){var x=_+a,M=e[2*x],w=e[2*x+1];while(M===m&&w===y&&g<i)g++,x+=a,_+=a,M=e[2*x],w=e[2*x+1],m=e[2*_],y=e[2*_+1],v=m-u,b=y-c;var S=g+1;if(l)while(MT(M,w)&&S<i)S++,x+=a,M=e[2*x],w=e[2*x+1];var L=.5,k=0,T=0,D=void 0,O=void 0;if(S>=i||MT(M,w))p=m,f=y;else{k=M-u,T=w-c;var A=m-u,I=M-m,Y=y-c,C=w-y,j=void 0,P=void 0;if("x"===s){j=Math.abs(A),P=Math.abs(I);var E=k>0?1:-1;p=m-E*j*o,f=y,D=m+E*P*o,O=y}else if("y"===s){j=Math.abs(Y),P=Math.abs(C);var R=T>0?1:-1;p=m,f=y-R*j*o,D=m,O=y+R*P*o}else j=Math.sqrt(A*A+Y*Y),P=Math.sqrt(I*I+C*C),L=P/(P+j),p=m-k*o*(1-L),f=y-T*o*(1-L),D=m+k*o*L,O=y+T*o*L,D=bT(D,xT(M,m)),O=bT(O,xT(w,y)),D=xT(D,bT(M,m)),O=xT(O,bT(w,y)),k=D-m,T=O-y,p=m-k*j/P,f=y-T*j/P,p=bT(p,xT(u,m)),f=bT(f,xT(c,y)),p=xT(p,bT(u,m)),f=xT(f,bT(c,y)),k=m-p,T=y-f,D=m+k*P/j,O=y+T*P/j}t.bezierCurveTo(d,h,p,f,m,y),d=D,h=O}else t.lineTo(m,y)}u=m,c=y,_+=a}return g}var ST=function(){function t(){this.smooth=0,this.smoothConstraint=!0}return t}(),LT=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return f(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new ST},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0;r--)if(!MT(n[2*r-2],n[2*r-1]))break;for(;i<r;i++)if(!MT(n[2*i],n[2*i+1]))break}while(i<r)i+=wT(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=Po.CMD,s="x"===e,l=[],u=0;u<a.length;){var c=a[u++],d=void 0,h=void 0,p=void 0,f=void 0,_=void 0,g=void 0,m=void 0;switch(c){case o.M:n=a[u++],i=a[u++];break;case o.L:if(d=a[u++],h=a[u++],m=s?(t-n)/(d-n):(t-i)/(h-i),m<=1&&m>=0){var y=s?(h-i)*m+i:(d-n)*m+n;return s?[t,y]:[y,t]}n=d,i=h;break;case o.C:d=a[u++],h=a[u++],p=a[u++],f=a[u++],_=a[u++],g=a[u++];var v=s?Ee(n,d,p,_,t,l):Ee(i,h,f,g,t,l);if(v>0)for(var b=0;b<v;b++){var x=l[b];if(x<=1&&x>=0){y=s?je(i,h,f,g,x):je(n,d,p,_,x);return s?[t,y]:[y,t]}}n=_,i=g;break}}},e}(ss),kT=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e}(ST),TT=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return f(e,t),e.prototype.getDefaultShape=function(){return new kT},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(!MT(n[2*a-2],n[2*a-1]))break;for(;r<a;r++)if(!MT(n[2*r],n[2*r+1]))break}while(r<a){var s=wT(t,n,r,a,a,1,e.smooth,o,e.connectNulls);wT(t,i,r+s-1,s,a,-1,e.stackedOnSmooth,o,e.connectNulls),r+=s+1,t.closePath()}},e}(ss);function DT(t,e,n,i,r){var a=t.getArea(),o=a.x,s=a.y,l=a.width,u=a.height,c=n.get(["lineStyle","width"])||2;o-=c/2,s-=c/2,l+=c,u+=c,o=Math.floor(o),l=Math.round(l);var d=new Ss({shape:{x:o,y:s,width:l,height:u}});if(e){var h=t.getBaseAxis(),p=h.isHorizontal(),f=h.inverse;p?(f&&(d.shape.x+=l),d.shape.width=0):(f||(d.shape.y+=u),d.shape.height=0);var _=Object(g["isFunction"])(r)?function(t){r(t,d)}:null;uu(d,{shape:{width:l,height:u,x:o,y:s}},n,null,i,_)}return d}function OT(t,e,n){var i=t.getArea(),r=tr(i.r0,1),a=tr(i.r,1),o=new z_({shape:{cx:tr(t.cx,1),cy:tr(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,uu(o,{shape:{endAngle:i.endAngle,r:a}},n)}return o}function AT(t,e,n,i,r){return t?"polar"===t.type?OT(t,e,n):"cartesian2d"===t.type?DT(t,e,n,i,r):null:null}function IT(t,e){return t.type===e}function YT(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return;return!0}}function CT(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 jT(t,e){var n=CT(t),i=n[0],r=n[1],a=CT(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 PT(t){return g["isNumber"](t)?t:t?.5:0}function ET(t,e,n){if(!n.valueDim)return[];for(var i=e.count(),r=EM(2*i),a=0;a<i;a++){var o=mT(n,t,e,a);r[2*a]=o[0],r[2*a+1]=o[1]}return r}function RT(t,e,n,i){var r=e.getBaseAxis(),a="x"===r.dim||"radius"===r.dim?0:1,o=[],s=0,l=[],u=[],c=[],d=[];if(i){for(s=0;s<t.length;s+=2)isNaN(t[s])||isNaN(t[s+1])||d.push(t[s],t[s+1]);t=d}for(s=0;s<t.length-2;s+=2)switch(c[0]=t[s+2],c[1]=t[s+3],u[0]=t[s],u[1]=t[s+1],o.push(u[0],u[1]),n){case"end":l[a]=c[a],l[1-a]=u[1-a],o.push(l[0],l[1]);break;case"middle":var h=(u[a]+c[a])/2,p=[];l[a]=p[a]=h,l[1-a]=u[1-a],p[1-a]=c[1-a],o.push(l[0],l[1]),o.push(p[0],p[1]);break;default:l[a]=u[a],l[1-a]=c[1-a],o.push(l[0],l[1])}return o.push(t[s++],t[s++]),o}function NT(t,e){var n,i,r=[],a=t.length;function o(t,e,n){var i=t.coord,r=(n-i)/(e.coord-i),a=Object($e["lerp"])(r,[t.color,e.color]);return{coord:n,color:a}}for(var s=0;s<a;s++){var l=t[s],u=l.coord;if(u<0)n=l;else{if(u>e){i?r.push(o(i,l,e)):n&&r.push(o(n,l,0),o(n,l,e));break}n&&(r.push(o(n,l,0)),n=null),r.push(l),i=l}}return r}function HT(t,e,n){var i=t.getVisual("visualMeta");if(i&&i.length&&t.count()&&"cartesian2d"===e.type){for(var r,a,o=i.length-1;o>=0;o--){var s=t.getDimensionInfo(i[o].dimension);if(r=s&&s.coordDim,"x"===r||"y"===r){a=i[o];break}}if(a){var l=e.getAxis(r),u=g["map"](a.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),c=u.length,d=a.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),d.reverse());var h=NT(u,"x"===r?n.getWidth():n.getHeight()),p=h.length;if(!p&&c)return u[0].coord<0?d[1]?d[1]:u[c-1].color:d[0]?d[0]:u[0].color;var f=10,_=h[0].coord-f,m=h[p-1].coord+f,y=m-_;if(y<.001)return"transparent";g["each"](h,(function(t){t.offset=(t.coord-_)/y})),h.push({offset:p?h[p-1].offset:.5,color:d[1]||"transparent"}),h.unshift({offset:p?h[0].offset:.5,color:d[0]||"transparent"});var v=new _g(0,0,0,0,h,!0);return v[r]=_,v[r+"2"]=m,v}}}function zT(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var a=n.getAxesByScale("ordinal")[0];if(a&&(!r||!BT(a,e))){var o=e.mapDimension(a.dim),s={};return g["each"](a.getViewLabels(),(function(t){var e=a.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(o,t))}}}}function BT(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*uT.getSymbolSize(e,o)[t.isHorizontal()?1:0]>i)return!1;return!0}function FT(t,e){return isNaN(t)||isNaN(e)}function WT(t){for(var e=t.length/2;e>0;e--)if(!FT(t[2*e-2],t[2*e-1]))break;return e-1}function VT(t,e){return[t[2*e],t[2*e+1]]}function GT(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 UT(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<$s.length;e++)if(t.get([$s[e],"endLabel","show"]))return!0;return!1}function XT(t,e,n,i){if(IT(e,"cartesian2d")){var r=i.getModel("endLabel"),a=r.get("valueAnimation"),o=i.getData(),s={lastFrameIndex:0},l=UT(i)?function(n,i){t._endLabelOnDuring(n,i,o,s,a,r,e)}:null,u=e.getBaseAxis().isHorizontal(),c=DT(e,n,i,(function(){var e=t._endLabel;e&&n&&null!=s.originalX&&e.attr({x:s.originalX,y:s.originalY})}),l);if(!i.get("clip",!0)){var d=c.shape,h=Math.max(d.width,d.height);u?(d.y-=h,d.height+=2*h):(d.x-=h,d.width+=2*h)}return l&&l(1,c),c}return OT(e,n,i)}function ZT(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 qT=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.init=function(){var t=new Ri,e=new fT;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")||[],c="polar"===r.type,d=this._coordSys,h=this._symbolDraw,p=this._polyline,f=this._polygon,_=this._lineGroup,m=t.get("animation"),y=!l.isEmpty(),v=l.get("origin"),b=_T(r,o,v),x=y&&ET(r,o,b),M=t.get("showSymbol"),w=t.get("connectNulls"),S=M&&!c&&zT(t,o,r),L=this._data;L&&L.eachItemGraphicEl((function(t,e){t.__temp&&(a.remove(t),L.setItemGraphicEl(e,null))})),M||h.remove(),a.add(_);var k,T=!c&&t.get("step");r&&r.getArea&&t.get("clip",!0)&&(k=r.getArea(),null!=k.width?(k.x-=.1,k.y-=.1,k.width+=.2,k.height+=.2):k.r0&&(k.r0-=.5,k.r+=.5)),this._clipShapeForSymbol=k;var D=HT(o,r,n)||o.getVisual("style")[o.getVisual("drawType")];if(p&&d.type===r.type&&T===this._step){y&&!f?f=this._newPolygon(u,x):f&&!y&&(_.remove(f),f=this._polygon=null),c||this._initOrUpdateEndLabel(t,r,$c(D));var O=_.getClipPath();if(O){var A=XT(this,r,!1,t);uu(O,{shape:A.shape},t)}else _.setClipPath(XT(this,r,!0,t));M&&h.updateData(o,{isIgnore:S,clipShape:k,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),YT(this._stackedOnPoints,x)&&YT(this._points,u)||(m?this._doUpdateAnimation(o,x,r,n,T,v,w):(T&&(u=RT(u,r,T,w),x&&(x=RT(x,r,T,w))),p.setShape({points:u}),f&&f.setShape({points:u,stackedOnPoints:x})))}else M&&h.updateData(o,{isIgnore:S,clipShape:k,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),m&&this._initSymbolLabelAnimation(o,r,k),T&&(u=RT(u,r,T,w),x&&(x=RT(x,r,T,w))),p=this._newPolyline(u),y?f=this._newPolygon(u,x):f&&(_.remove(f),f=this._polygon=null),c||this._initOrUpdateEndLabel(t,r,$c(D)),_.setClipPath(XT(this,r,!0,t));var I=t.getModel("emphasis"),Y=I.get("focus"),C=I.get("blurScope"),j=I.get("disabled");if(p.useStyle(g["defaults"](s.getLineStyle(),{fill:"none",stroke:D,lineJoin:"bevel"})),Jl(p,t,"lineStyle"),p.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"])){var P=p.getState("emphasis").style;P.lineWidth=+p.style.lineWidth+1}Ws(p).seriesIndex=t.seriesIndex,Xl(p,Y,C,j);var E=PT(t.get("smooth")),R=t.get("smoothMonotone");if(p.setShape({smooth:E,smoothMonotone:R,connectNulls:w}),f){var N=o.getCalculationInfo("stackedOnSeries"),H=0;f.useStyle(g["defaults"](l.getAreaStyle(),{fill:D,opacity:.7,lineJoin:"bevel",decal:o.getVisual("style").decal})),N&&(H=PT(N.get("smooth"))),f.setShape({smooth:E,stackedOnSmooth:H,smoothMonotone:R,connectNulls:w}),Jl(f,t,"areaStyle"),Ws(f).seriesIndex=t.seriesIndex,Xl(f,Y,C,j)}var z=function(t){i._changePolyState(t)};o.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=z)})),this._polyline.onHoverStateChange=z,this._data=o,this._coordSys=r,this._stackedOnPoints=x,this._points=u,this._step=T,this._valueOrigin=v,t.get("triggerLineEvent")&&(this.packEventData(t,p),f&&this.packEventData(t,f))},e.prototype.packEventData=function(t,e){Ws(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),a=Xr(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;var c=t.get("zlevel")||0,d=t.get("z")||0;s=new uT(r,a),s.x=l,s.y=u,s.setZ(c,d);var h=s.getSymbolPath().getTextContent();h&&(h.zlevel=c,h.z=d,h.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(a,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else pm.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),a=Xr(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 pm.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;vl(this._polyline,t),e&&vl(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new LT({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 TT({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");g["isFunction"](l)&&(l=l(null));var u=s.get("animationDelay")||0,c=g["isFunction"](u)?u(null):u;t.eachItemGraphicEl((function(t,a){var s=t;if(s){var d=[t.x,t.y],h=void 0,p=void 0,f=void 0;if(n)if(r){var _=n,m=e.pointToCoord(d);i?(h=_.startAngle,p=_.endAngle,f=-m[1]/180*Math.PI):(h=_.r0,p=_.r,f=m[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 v=p===h?0:(f-h)/(p-h);o&&(v=1-v);var b=g["isFunction"](u)?u(a):l*v+c,x=s.getSymbolPath(),M=x.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:b}),M&&M.animateFrom({style:{opacity:0}},{duration:300,delay:b}),x.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(UT(t)){var r=t.getData(),a=this._polyline,o=r.getLayout("points");if(!o)return a.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||(s=this._endLabel=new Fs({z2:200}),s.ignoreClip=!0,a.setTextContent(this._endLabel),a.disableLabelAnimation=!0);var l=WT(o);l>=0&&(vu(a,bu(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?oT(r,n):aT(r,t)},enableTextSetter:!0},ZT(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"),c=n.hostModel,d=c.get("connectNulls"),h=a.get("precision"),p=a.get("distance")||0,f=o.getBaseAxis(),_=f.isHorizontal(),g=f.inverse,m=e.shape,y=g?_?m.x:m.y+m.height:_?m.x+m.width:m.y,v=(_?p:0)*(g?-1:1),b=(_?0:-p)*(g?-1:1),x=_?"x":"y",M=GT(u,y,x),w=M.range,S=w[1]-w[0],L=void 0;if(S>=1){if(S>1&&!d){var k=VT(u,w[0]);s.attr({x:k[0]+v,y:k[1]+b}),r&&(L=c.getRawValue(w[0]))}else{k=l.getPointOn(y,x);k&&s.attr({x:k[0]+v,y:k[1]+b});var T=c.getRawValue(w[0]),D=c.getRawValue(w[1]);r&&(L=aa(n,h,T,D,M.t))}i.lastFrameIndex=w[0]}else{var O=1===t||i.lastFrameIndex>0?w[0]:0;k=VT(u,O);r&&(L=c.getRawValue(O)),s.attr({x:k[0]+v,y:k[1]+b})}r&&Au(s).setLabelText(L)}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,a,o){var s=this._polyline,l=this._polygon,u=t.hostModel,c=vT(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,a),d=c.current,h=c.stackedOnCurrent,p=c.next,f=c.stackedOnNext;if(r&&(d=RT(c.current,n,r,o),h=RT(c.stackedOnCurrent,n,r,o),p=RT(c.next,n,r,o),f=RT(c.stackedOnNext,n,r,o)),jT(d,p)>3e3||l&&jT(h,f)>3e3)return s.stopAnimation(),s.setShape({points:p}),void(l&&(l.stopAnimation(),l.setShape({points:p,stackedOnPoints:f})));s.shape.__points=c.current,s.shape.points=d;var _={shape:{points:p}};c.current!==d&&(_.shape.__points=c.next),s.stopAnimation(),lu(s,_,u),l&&(l.setShape({points:d,stackedOnPoints:h}),l.stopAnimation(),lu(l,{shape:{stackedOnPoints:f}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var g=[],m=c.status,y=0;y<m.length;y++){var v=m[y].cmd;if("="===v){var b=t.getItemGraphicEl(m[y].idx1);b&&g.push({el:b,ptIdx:y})}}s.animators&&s.animators.length&&s.animators[0].during((function(){l&&l.dirtyShape();for(var t=s.shape.__points,e=0;e<g.length;e++){var n=g[e].el,i=2*g[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}(pm),KT=qT;function JT(t,e){return{seriesType:t,plan:Xf(),reset:function(t){var n=t.getData(),i=t.coordinateSystem,r=t.pipelineContext,a=e||r.large;if(i){var o=Object(g["map"])(i.dimensions,(function(t){return n.mapDimension(t)})).slice(0,2),s=o.length,l=n.getCalculationInfo("stackResultDimension");oM(n,o[0])&&(o[0]=l),oM(n,o[1])&&(o[1]=l);var u=n.getStore(),c=n.getDimensionIndex(o[0]),d=n.getDimensionIndex(o[1]);return s&&{progress:function(t,e){for(var n=t.end-t.start,r=a&&EM(n*s),o=[],l=[],h=t.start,p=0;h<t.end;h++){var f=void 0;if(1===s){var _=u.get(c,h);f=i.dataToPoint(_,null,l)}else o[0]=u.get(c,h),o[1]=u.get(d,h),f=i.dataToPoint(o,null,l);a?(r[p++]=f[0],r[p++]=f[1]):e.setItemLayout(h,f.slice())}a&&e.setLayout("points",r)}}}}}}var $T={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]}},QT=function(t){return Math.round(t.length/2)};function tD(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(),c=n.getDevicePixelRatio(),d=Math.abs(u[1]-u[0])*(c||1),h=Math.round(o/d);if(isFinite(h)&&h>1){"lttb"===r&&t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/h));var p=void 0;Object(g["isString"])(r)?p=$T[r]:Object(g["isFunction"])(r)&&(p=r),p&&t.setData(i.downSample(i.mapDimension(l.dim),1/h,p,QT))}}}}}function eD(t){t.registerChartView(KT),t.registerSeriesModel(rT),t.registerLayout(JT("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,tD("line"))}var nD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.getInitialData=function(t,e){return pM(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t){var e=this.coordinateSystem;if(e&&e.clampData){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={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(Vf);Vf.registerClass(nD);var iD=nD,rD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.getInitialData=function(){return pM(null,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=Ku(iD.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}(iD),aD=rD,oD=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}(),sD=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return f(e,t),e.prototype.getDefaultShape=function(){return new oD},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,c=e.clockwise,d=2*Math.PI,h=c?u-l<d:l-u<d;h||(l=u-(c?d:-d));var p=Math.cos(l),f=Math.sin(l),_=Math.cos(u),g=Math.sin(u);h?(t.moveTo(p*r+n,f*r+i),t.arc(p*s+n,f*s+i,o,-Math.PI+l,l,!c)):t.moveTo(p*a+n,f*a+i),t.arc(n,i,a,l,u,!c),t.arc(_*s+n,g*s+i,o,u-2*Math.PI,u-Math.PI,!c),0!==r&&t.arc(n,i,r,u,l,c)},e}(ss),lD=sD;function uD(t,e){e=e||{};var n=e.isRoundCap;return function(e,i,r){var a=i.position;if(!a||a instanceof Array)return xi(e,i,r);var o=t(a),s=null!=i.distance?i.distance:5,l=this.shape,u=l.cx,c=l.cy,d=l.r,h=l.r0,p=(d+h)/2,f=l.startAngle,_=l.endAngle,g=(f+_)/2,m=n?Math.abs(d-h)/2:0,y=Math.cos,v=Math.sin,b=u+d*y(f),x=c+d*v(f),M="left",w="top";switch(o){case"startArc":b=u+(h-s)*y(g),x=c+(h-s)*v(g),M="center",w="top";break;case"insideStartArc":b=u+(h+s)*y(g),x=c+(h+s)*v(g),M="center",w="bottom";break;case"startAngle":b=u+p*y(f)+dD(f,s+m,!1),x=c+p*v(f)+hD(f,s+m,!1),M="right",w="middle";break;case"insideStartAngle":b=u+p*y(f)+dD(f,-s+m,!1),x=c+p*v(f)+hD(f,-s+m,!1),M="left",w="middle";break;case"middle":b=u+p*y(g),x=c+p*v(g),M="center",w="middle";break;case"endArc":b=u+(d+s)*y(g),x=c+(d+s)*v(g),M="center",w="bottom";break;case"insideEndArc":b=u+(d-s)*y(g),x=c+(d-s)*v(g),M="center",w="top";break;case"endAngle":b=u+p*y(_)+dD(_,s+m,!0),x=c+p*v(_)+hD(_,s+m,!0),M="left",w="middle";break;case"insideEndAngle":b=u+p*y(_)+dD(_,-s+m,!0),x=c+p*v(_)+hD(_,-s+m,!0),M="right",w="middle";break;default:return xi(e,i,r)}return e=e||{},e.x=b,e.y=x,e.align=M,e.verticalAlign=w,e}}function cD(t,e,n,i){if(Object(g["isNumber"])(i))t.setTextConfig({rotation:i});else if(Object(g["isArray"])(e))t.setTextConfig({rotation:0});else{var r,a=t.shape,o=a.clockwise?a.startAngle:a.endAngle,s=a.clockwise?a.endAngle:a.startAngle,l=(o+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=o;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var c=1.5*Math.PI-r;"middle"===u&&c>Math.PI/2&&c<1.5*Math.PI&&(c-=Math.PI),t.setTextConfig({rotation:c})}}function dD(t,e,n){return e*Math.sin(t)*(n?-1:1)}function hD(t,e,n){return e*Math.cos(t)*(n?1:-1)}var pD=Math.max,fD=Math.min;function _D(t,e){var n=t.getArea&&t.getArea();if(IT(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 gD=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return f(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._progressiveEls=null,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._progressiveEls=[],this._incrementalRenderLarge(t,e)},e.prototype.eachRendered=function(t){rm(this._progressiveEls||this.group,t)},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 c=t.isAnimationEnabled()?t:null,d=vD(t,l);d&&this._enableRealtimeSort(d,o,n);var h=t.get("clip",!0)||d,p=_D(l,o);a.removeClipPath();var f=t.get("roundCap",!0),_=t.get("showBackground",!0),g=t.getModel("backgroundStyle"),m=g.get("borderRadius")||0,y=[],v=this._backgroundEls,b=i&&i.isInitSort,x=i&&"changeAxisOrder"===i.type;function M(t){var e=LD[l.type](o,t),n=ED(l,r,e);return n.useStyle(g.getItemStyle()),"cartesian2d"===l.type&&n.setShape("r",m),y[t]=n,n}o.diff(s).add((function(e){var n=o.getItemModel(e),i=LD[l.type](o,e,n);if(_&&M(e),o.hasValue(e)&&SD[l.type](i)){var s=!1;h&&(s=mD[l.type](p,i));var g=yD[l.type](t,o,e,i,r,c,u.model,!1,f);d&&(g.forceLabelAnimation=!0),DD(g,o,e,n,i,t,r,"polar"===l.type),b?g.attr({shape:i}):d?bD(d,c,g,i,e,r,!1,!1):uu(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=LD[l.type](o,e,i);if(_){var S=void 0;0===v.length?S=M(n):(S=v[n],S.useStyle(g.getItemStyle()),"cartesian2d"===l.type&&S.setShape("r",m),y[e]=S);var L=LD[l.type](o,e),k=PD(r,L,l);lu(S,{shape:k},c,e)}var T=s.getItemGraphicEl(n);if(o.hasValue(e)&&SD[l.type](w)){var D=!1;if(h&&(D=mD[l.type](p,w),D&&a.remove(T)),T?fu(T):T=yD[l.type](t,o,e,w,r,c,u.model,!!T,f),d&&(T.forceLabelAnimation=!0),x){var O=T.getTextContent();if(O){var A=Au(O);null!=A.prevValue&&(A.prevValue=A.value)}}else DD(T,o,e,i,w,t,r,"polar"===l.type);b?T.attr({shape:w}):d?bD(d,c,T,w,e,r,!0,x):lu(T,{shape:w},t,e,null),o.setItemGraphicEl(e,T),T.ignore=D,a.add(T)}else a.remove(T)})).remove((function(e){var n=s.getItemGraphicEl(e);n&&pu(n,t,e)})).execute();var w=this._backgroundGroup||(this._backgroundGroup=new Ri);w.removeAll();for(var S=0;S<y.length;++S)w.add(y[S]);a.add(w),this._backgroundEls=y,this._data=o},e.prototype._renderLarge=function(t,e,n){this._clear(),YD(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),YD(e,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)&&AT(t.coordinateSystem,!1,t),n=this.group;e?n.setClipPath(e):n.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),i=n&&n.shape;return i&&Math.abs(r.isHorizontal()?i.height:i.width)||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:Object(g["map"])(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})},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){pu(e,t,Ws(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}(pm),mD={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=pD(e.x,t.x),s=fD(e.x+e.width,r),l=pD(e.y,t.y),u=fD(e.y+e.height,a),c=s<o,d=u<l;return e.x=c&&o>r?s:o,e.y=d&&l>a?u:l,e.width=c?0:s-o,e.height=d?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),c||d},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=fD(e.r,t.r),a=pD(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}},yD={cartesian2d:function(t,e,n,i,r,a,o,s,l){var u=new Ss({shape:Object(g["extend"])({},i),z2:1});if(u.__dataIndex=n,u.name="item",a){var c=u.shape,d=r?"height":"width";c[d]=0}return u},polar:function(t,e,n,i,r,a,o,s,l){var u=!r&&l?lD:z_,c=new u({shape:i,z2:1});c.name="item";var d=TD(r);if(c.calculateTextPosition=uD(d,{isRoundCap:u===lD}),a){var h=c.shape,p=r?"r":"endAngle",f={};h[p]=r?0:i.startAngle,f[p]=i[p],(s?lu:uu)(c,{shape:f},a)}return c}};function vD(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 bD(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?lu:uu)(n,{shape:l},e,r,null);var c=e?t.baseAxis.model:null;(o?lu:uu)(n,{shape:u},c,r)}function xD(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return!0;return!1}var MD=["x","y","width","height"],wD=["cx","cy","r","startAngle","endAngle"],SD={cartesian2d:function(t){return!xD(t,MD)},polar:function(t){return!xD(t,wD)}},LD={cartesian2d:function(t,e,n){var i=t.getItemLayout(e),r=n?OD(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,clockwise:i.clockwise}}};function kD(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function TD(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function DD(t,e,n,i,r,a,o,s){var l=e.getItemVisual(n,"style");s||t.setShape("r",i.get(["itemStyle","borderRadius"])||0),t.useStyle(l);var u=i.getShallow("cursor");u&&t.attr("cursor",u);var c=s?o?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":o?r.height>=0?"bottom":"top":r.width>=0?"right":"left",d=bu(i);vu(t,d,{labelFetcher:a,labelDataIndex:n,defaultText:aT(a.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:c});var h=t.getTextContent();if(s&&h){var p=i.get(["label","position"]);t.textConfig.inside="middle"===p||null,cD(t,"outside"===p?c:p,TD(o),i.get(["label","rotate"]))}Iu(h,d,a.getRawValue(n),(function(t){return oT(e,t)}));var f=i.getModel(["emphasis"]);Xl(t,f.get("focus"),f.get("blurScope"),f.get("disabled")),Jl(t,i),kD(r)&&(t.style.fill="none",t.style.stroke="none",Object(g["each"])(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}function OD(t,e){var n=t.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var i=t.get(["itemStyle","borderWidth"])||0,r=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),a=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(i,r,a)}var AD=function(){function t(){}return t}(),ID=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return f(e,t),e.prototype.getDefaultShape=function(){return new AD},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,a=[],o=[],s=this.barWidth,l=0;l<n.length;l+=3)o[i]=s,o[r]=n[l+2],a[i]=n[l+i],a[r]=n[l+r],t.rect(a[0],a[1],o[0],o[1])},e}(ss);function YD(t,e,n,i){var r=t.getData(),a=r.getLayout("valueAxisHorizontal")?1:0,o=r.getLayout("largeDataIndices"),s=r.getLayout("size"),l=t.getModel("backgroundStyle"),u=r.getLayout("largeBackgroundPoints");if(u){var c=new ID({shape:{points:u},incremental:!!i,silent:!0,z2:0});c.baseDimIdx=a,c.largeDataIndices=o,c.barWidth=s,c.useStyle(l.getItemStyle()),e.add(c),n&&n.push(c)}var d=new ID({shape:{points:r.getLayout("largePoints")},incremental:!!i,ignoreCoarsePointer:!0,z2:1});d.baseDimIdx=a,d.largeDataIndices=o,d.barWidth=s,e.add(d),d.useStyle(r.getVisual("style")),Ws(d).seriesIndex=t.seriesIndex,t.get("silent")||(d.on("mousedown",CD),d.on("mousemove",CD)),n&&n.push(d)}var CD=mm((function(t){var e=this,n=jD(e,t.offsetX,t.offsetY);Ws(e).dataIndex=n>=0?n:null}),30,!1);function jD(t,e,n){for(var i=t.baseDimIdx,r=1-i,a=t.shape.points,o=t.largeDataIndices,s=[],l=[],u=t.barWidth,c=0,d=a.length/3;c<d;c++){var h=3*c;if(l[i]=u,l[r]=a[h+2],s[i]=a[h+i],s[r]=a[h+r],l[r]<0&&(s[r]+=l[r],l[r]=-l[r]),e>=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return o[c]}return-1}function PD(t,e,n){if(IT(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 ED(t,e,n){var i="polar"===t.type?z_:Ss;return new i({shape:PD(e,n,t),silent:!0,z2:0})}var RD=gD;function ND(t){t.registerChartView(RD),t.registerSeriesModel(aD),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,g["curry"](UM,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,XM("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,tD("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 HD=2*Math.PI,zD=Math.PI/180;function BD(t,e){return od(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function FD(t,e){var n=BD(t,e),i=t.get("center"),r=t.get("radius");g["isArray"](r)||(r=[0,r]),g["isArray"](i)||(i=[i,i]);var a,o,s=Qi(n.width,e.getWidth()),l=Qi(n.height,e.getHeight()),u=Math.min(s,l),c=Qi(r[0],u/2),d=Qi(r[1],u/2),h=t.coordinateSystem;if(h){var p=h.dataToPoint(i);a=p[0]||0,o=p[1]||0}else a=Qi(i[0],s)+n.x,o=Qi(i[1],l)+n.y;return{cx:a,cy:o,r0:c,r:d}}function WD(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),r=BD(t,n),a=FD(t,n),o=a.cx,s=a.cy,l=a.r,u=a.r0,c=-t.get("startAngle")*zD,d=t.get("minAngle")*zD,h=0;e.each(i,(function(t){!isNaN(t)&&h++}));var p=e.getSum(i),f=Math.PI/(p||h)*2,_=t.get("clockwise"),g=t.get("roseType"),m=t.get("stillShowZeroSum"),y=e.getDataExtent(i);y[0]=0;var v=HD,b=0,x=c,M=_?1:-1;if(e.setLayout({viewRect:r,r:l}),e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:_,cx:o,cy:s,r0:u,r:g?NaN:l});else{i="area"!==g?0===p&&m?f:t*f:HD/h,i<d?(i=d,v-=d):b+=t;var r=x+M*i;e.setItemLayout(n,{angle:i,startAngle:x,endAngle:r,clockwise:_,cx:o,cy:s,r0:u,r:g?$i(t,y,[u,l]):l}),x=r}})),v<HD&&h)if(v<=.001){var w=HD/h;e.each(i,(function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n);i.angle=w,i.startAngle=c+M*n*w,i.endAngle=c+M*(n+1)*w}}))}else f=v/b,x=c,e.each(i,(function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n),r=i.angle===d?d:t*f;i.startAngle=x,i.endAngle=x+M*r,x+=M*r}}))}))}function VD(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 GD=Math.PI/180;function UD(t,e,n,i,r,a,o,s,l,u){if(!(t.length<2)){for(var c=t.length,d=0;d<c;d++)if("outer"===t[d].position&&"labelLine"===t[d].labelAlignTo){var h=t[d].label.x-u;t[d].linePoints[1][0]+=h,t[d].label.x=u}rL(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),c=i+l.len,d=c*c,h=Math.sqrt((1-Math.abs(u*u/o))*d),p=e+(h+l.len2)*r,f=p-l.label.x,_=l.targetTextWidth-f*r;ZD(l,_,!0),l.label.x=p}}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,c=Math.abs(l.label.y-n);if(c>=u.maxY){var d=l.label.x-e-l.len2*r,h=i+l.len,f=Math.abs(d)<h?Math.sqrt(c*c/(1-d*d/h/h)):h;u.rB=f,u.maxY=c}u.list.push(l)}p(a),p(o)}}function XD(t,e,n,i,r,a,o,s){for(var l=[],u=[],c=Number.MAX_VALUE,d=-Number.MAX_VALUE,h=0;h<t.length;h++){var p=t[h].label;qD(t[h])||(p.x<e?(c=Math.min(c,p.x),l.push(t[h])):(d=Math.max(d,p.x),u.push(t[h])))}for(h=0;h<t.length;h++){var f=t[h];if(!qD(f)&&f.linePoints){if(null!=f.labelStyleWidth)continue;p=f.label;var _=f.linePoints,g=void 0;g="edge"===f.labelAlignTo?p.x<e?_[2][0]-f.labelDistance-o-f.edgeDistance:o+r-f.edgeDistance-_[2][0]-f.labelDistance:"labelLine"===f.labelAlignTo?p.x<e?c-o-f.bleedMargin:o+r-d-f.bleedMargin:p.x<e?p.x-o-f.bleedMargin:o+r-p.x-f.bleedMargin,f.targetTextWidth=g,ZD(f,g)}}UD(u,e,n,i,1,r,a,o,s,d),UD(l,e,n,i,-1,r,a,o,s,c);for(h=0;h<t.length;h++){f=t[h];if(!qD(f)&&f.linePoints){p=f.label,_=f.linePoints;var m="edge"===f.labelAlignTo,y=p.style.padding,v=y?y[1]+y[3]:0,b=p.style.backgroundColor?0:v,x=f.rect.width+b,M=_[1][0]-_[2][0];m?p.x<e?_[2][0]=o+f.edgeDistance+x+f.labelDistance:_[2][0]=o+r-f.edgeDistance-x-f.labelDistance:(p.x<e?_[2][0]=p.x+f.labelDistance:_[2][0]=p.x-f.labelDistance,_[1][0]=_[2][0]+M),_[1][1]=_[2][1]=p.y}}}function ZD(t,e,n){if(void 0===n&&(n=!1),null==t.labelStyleWidth){var i=t.label,r=i.style,a=t.rect,o=r.backgroundColor,s=r.padding,l=s?s[1]+s[3]:0,u=r.overflow,c=a.width+(o?0:l);if(e<c||n){var d=a.height;if(u&&u.match("break")){i.setStyle("backgroundColor",null),i.setStyle("width",e-l);var h=i.getBoundingRect();i.setStyle("width",Math.ceil(h.width)),i.setStyle("backgroundColor",o)}else{var p=e-l,f=e<c?p:n?p>t.unconstrainedWidth?null:p:null;i.setStyle("width",f)}var _=i.getBoundingRect();a.width=_.width;var g=(i.style.margin||0)+2.1;a.height=_.height+g,a.y-=(a.height-d)/2}}}function qD(t){return"center"===t.position}function KD(t){var e,n,i=t.getData(),r=[],a=!1,o=(t.get("minShowLabelAngle")||0)*GD,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,c=s.x,d=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),d=s.shape,h=s.getTextContent(),_=s.getTextGuideLine(),m=i.getItemModel(t),y=m.getModel("label"),v=y.get("position")||m.get(["emphasis","label","position"]),b=y.get("distanceToLabelLine"),x=y.get("alignTo"),M=Qi(y.get("edgeDistance"),u),w=y.get("bleedMargin"),S=m.getModel("labelLine"),L=S.get("length");L=Qi(L,u);var k=S.get("length2");if(k=Qi(k,u),Math.abs(d.endAngle-d.startAngle)<o)return Object(g["each"])(h.states,p),Object(g["each"])(_.states,p),void(h.ignore=_.ignore=!0);if(f(h)){var T,D,O,A,I=(d.startAngle+d.endAngle)/2,Y=Math.cos(I),C=Math.sin(I);e=d.cx,n=d.cy;var j="inside"===v||"inner"===v;if("center"===v)T=d.cx,D=d.cy,A="center";else{var P=(j?(d.r+d.r0)/2*Y:d.r*Y)+e,E=(j?(d.r+d.r0)/2*C:d.r*C)+n;if(T=P+3*Y,D=E+3*C,!j){var R=P+Y*(L+l-d.r),N=E+C*(L+l-d.r),H=R+(Y<0?-1:1)*k,z=N;T="edge"===x?Y<0?c+M:c+u-M:H+(Y<0?-b:b),D=z,O=[[P,E],[R,N],[H,z]]}A=j?"center":"edge"===x?Y>0?"right":"left":Y>0?"left":"right"}var B=Math.PI,F=0,W=y.get("rotate");if(Object(g["isNumber"])(W))F=W*(B/180);else if("center"===v)F=0;else if("radial"===W||!0===W){var V=Y<0?-I+B:-I;F=V}else if("tangential"===W&&"outside"!==v&&"outer"!==v){var G=Math.atan2(Y,C);G<0&&(G=2*B+G);var U=C>0;U&&(G=B+G),F=G-B}if(a=!!F,h.x=T,h.y=D,h.rotation=F,h.setStyle({verticalAlign:"middle"}),j){h.setStyle({align:A});var X=h.states.select;X&&(X.x+=h.x,X.y+=h.y)}else{var Z=h.getBoundingRect().clone();Z.applyTransform(h.getComputedTransform());var q=(h.style.margin||0)+2.1;Z.y-=q/2,Z.height+=q,r.push({label:h,labelLine:_,position:v,len:L,len2:k,minTurnAngle:S.get("minTurnAngle"),maxSurfaceAngle:S.get("maxSurfaceAngle"),surfaceNormal:new Yt(Y,C),linePoints:O,textAlign:A,labelDistance:b,labelAlignTo:x,edgeDistance:M,bleedMargin:w,rect:Z,unconstrainedWidth:Z.width,labelStyleWidth:h.style.width})}s.setTextConfig({inside:j})}})),!a&&t.get("avoidLabelOverlap")&&XD(r,e,n,l,u,h,c,d);for(var _=0;_<r.length;_++){var m=r[_],y=m.label,v=m.labelLine,b=isNaN(y.x)||isNaN(y.y);if(y){y.setStyle({align:m.textAlign}),b&&(Object(g["each"])(y.states,p),y.ignore=!0);var x=y.states.select;x&&(x.x+=y.x,x.y+=y.y)}if(v){var M=m.linePoints;b||!M?(Object(g["each"])(v.states,p),v.ignore=!0):(qS(M,m.minTurnAngle),KS(M,m.surfaceNormal,m.maxSurfaceAngle),v.setShape({points:M}),y.__hostTarget.textGuideLineConfig={anchor:new Yt(M[0][0],M[0][1])})}}}function JD(t,e,n){var i=t.get("borderRadius");if(null==i)return n?{cornerRadius:0}:null;Object(g["isArray"])(i)||(i=[i,i,i,i]);var r=Math.abs(e.r||0-e.r0||0);return{cornerRadius:Object(g["map"])(i,(function(t){return bi(t,r)}))}}var $D=function(t){function e(e,n,i){var r=t.call(this)||this;r.z2=2;var a=new Fs;return r.setTextContent(a),r.updateData(e,n,i,!0),r}return f(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=Object(g["extend"])(JD(o.getModel("itemStyle"),l,!0),l);if(isNaN(u.startAngle))r.setShape(u);else{if(i){r.setShape(u);var c=a.getShallow("animationType");a.ecModel.ssr?(uu(r,{scaleX:0,scaleY:0},a,{dataIndex:e,isFrom:!0}),r.originX=u.cx,r.originY=u.cy):"scale"===c?(r.shape.r=l.r0,uu(r,{shape:{r:l.r}},a,e)):null!=n?(r.setShape({startAngle:n,endAngle:n}),uu(r,{shape:{startAngle:l.startAngle,endAngle:l.endAngle}},a,e)):(r.shape.endAngle=l.startAngle,lu(r,{shape:{endAngle:l.endAngle}},a,e))}else fu(r),lu(r,{shape:u},a,e);r.useStyle(t.getItemVisual(e,"style")),Jl(r,o);var d=(l.startAngle+l.endAngle)/2,h=a.get("selectedOffset"),p=Math.cos(d)*h,f=Math.sin(d)*h,_=o.getShallow("cursor");_&&r.attr("cursor",_),this._updateLabel(a,t,e),r.ensureState("emphasis").shape=Object(g["extend"])({r:l.r+(s.get("scale")&&s.get("scaleSize")||0)},JD(s.getModel("itemStyle"),l)),Object(g["extend"])(r.ensureState("select"),{x:p,y:f,shape:JD(o.getModel(["select","itemStyle"]),l)}),Object(g["extend"])(r.ensureState("blur"),{shape:JD(o.getModel(["blur","itemStyle"]),l)});var m=r.getTextGuideLine(),y=r.getTextContent();m&&Object(g["extend"])(m.ensureState("select"),{x:p,y:f}),Object(g["extend"])(y.ensureState("select"),{x:p,y:f}),Xl(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))}},e.prototype._updateLabel=function(t,e,n){var i=this,r=e.getItemModel(n),a=r.getModel("labelLine"),o=e.getItemVisual(n,"style"),s=o&&o.fill,l=o&&o.opacity;vu(i,bu(r),{labelFetcher:e.hostModel,labelDataIndex:n,inheritColor:s,defaultOpacity:l,defaultText:t.getFormattedLabel(n,"normal")||e.getName(n)});var u=i.getTextContent();i.setTextConfig({position:null,rotation:null}),u.attr({z2:10});var c=t.get(["label","position"]);if("outside"!==c&&"outer"!==c)i.removeTextGuideLine();else{var d=this.getTextGuideLine();d||(d=new J_,this.setTextGuideLine(d)),QS(this,tL(r),{stroke:s,opacity:Object(g["retrieve3"])(a.get(["lineStyle","opacity"]),l,1)})}},e}(z_),QD=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return f(e,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)}if(this._emptyCircleSector&&s.remove(this._emptyCircleSector),0===a.count()&&t.get("showEmptyCircle")){var c=new z_({shape:FD(t,n)});c.useStyle(t.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=c,s.add(c)}a.diff(o).add((function(t){var e=new $D(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);pu(n,t,e)})).execute(),KD(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}(pm),tO=QD;function eO(t,e,n){e=Object(g["isArray"])(e)&&{coordDimensions:e}||Object(g["extend"])({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=Kx(i,e).dimensions,a=new Zx(r,t);return a.initData(i,n),a}var nO=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}(),iO=nO,rO=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new iO(g["bind"](this.getData,this),g["bind"](this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){var t=eO(this,{coordDimensions:["value"],encodeDefaulter:g["curry"](Cd,this)}),e=[];return t.each(t.mapDimension("value"),(function(t){e.push(t)})),this.seats=or(e,t.hostModel.get("percentPrecision")),t},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.call(this,e);return n.percent=this.seats[e],n.$vars.push("percent"),n},e.prototype._defaultLabelLine=function(t){Tr(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={z:2,legendHoverLink:!0,colorBy:"data",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,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(Vf),aO=rO;function oO(t){return{seriesType:t,reset:function(t,e){var n=t.getData();n.filterSelf((function(t){var e=n.mapDimension("value"),i=n.get(e,t);return!(Object(g["isNumber"])(i)&&!isNaN(i)&&i<0)}))}}}function sO(t){t.registerChartView(tO),t.registerSeriesModel(aO),uy("pie",t.registerAction),t.registerLayout(Object(g["curry"])(WD,"pie")),t.registerProcessor(VD("pie")),t.registerProcessor(oO("pie"))}var lO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return f(e,t),e.prototype.getInitialData=function(t,e){return pM(null,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.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(Vf),uO=lO,cO=4,dO=function(){function t(){}return t}(),hO=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return f(e,t),e.prototype.getDefaultShape=function(){return new dO},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,a=this.symbolProxy,o=a.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<cO,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n<i.length;){var c=i[n++],d=i[n++];isNaN(c)||isNaN(d)||(u&&!u.contain(c,d)||(o.x=c-r[0]/2,o.y=d-r[1]/2,o.width=r[0],o.height=r[1],a.buildPath(t,o,!0)))}this.incremental&&(this._off=n,this.notClear=!0)}},e.prototype.afterBrush=function(){var t,e=this.shape,n=e.points,i=e.size,r=this._ctx,a=this.softClipShape;if(r){for(t=this._off;t<n.length;){var o=n[t++],s=n[t++];isNaN(o)||isNaN(s)||(a&&!a.contain(o,s)||r.fillRect(o-i[0]/2,s-i[1]/2,i[0],i[1]))}this.incremental&&(this._off=t,this.notClear=!0)}},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,c=i[l+1]-o/2;if(t>=u&&e>=c&&t<=u+a&&e<=c+o)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();if(t=n[0],e=n[1],i.contain(t,e)){var r=this.hoverDataIdx=this.findDataIndex(t,e);return r>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],a=i[1],o=1/0,s=1/0,l=-1/0,u=-1/0,c=0;c<n.length;){var d=n[c++],h=n[c++];o=Math.min(d,o),l=Math.max(d,l),s=Math.min(h,s),u=Math.max(h,u)}t=this._rect=new Ft(o-r/2,s-a/2,l-o+r,u-s+a)}return t},e}(ss),pO=function(){function t(){this.group=new Ri}return t.prototype.updateData=function(t,e){this._clear();var n=this._create();n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,e)},t.prototype.updateLayout=function(t){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.reset()}))},t.prototype.incrementalPrepareUpdate=function(t){this._clear()},t.prototype.incrementalUpdate=function(t,e,n){var i=this._newAdded[0],r=e.getLayout("points"),a=i&&i.shape.points;if(a&&a.length<2e4){var o=a.length,s=new Float32Array(o+r.length);s.set(a),s.set(r,o),i.endIndex=t.end,i.setShape({points:s})}else{this._newAdded=[];var l=this._create();l.startIndex=t.start,l.endIndex=t.end,l.incremental=!0,l.setShape({points:r}),this._setCommon(l,e,n)}},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new hO({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;n=n||{};var r=e.getVisual("symbolSize");t.setShape("size",r instanceof Array?r:[r,r]),t.softClipShape=n.clipShape||null,t.symbolProxy=ky(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var a=t.shape.size[0]<cO;t.useStyle(i.getModel("itemStyle").getItemStyle(a?["color","shadowBlur","shadowColor"]:["color"]));var o=e.getVisual("style"),s=o&&o.fill;s&&t.setColor(s);var l=Ws(t);l.seriesIndex=i.seriesIndex,t.on("mousemove",(function(e){l.dataIndex=null;var n=t.hoverDataIdx;n>=0&&(l.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),fO=pO,_O=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(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)return{update:!0};var r=JT("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},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 fO:new fT,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}(pm),gO=_O,mO=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(gd),yO=mO,vO=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",$r).models[0]},e.type="cartesian2dAxis",e}(gd);g["mixin"](vO,Nw);var bO={show:!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)"]}}},xO=g["merge"]({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},bO),MO=g["merge"]({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}}},bO),wO=g["merge"]({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},MO),SO=g["defaults"]({logBase:10},MO),LO={category:xO,value:MO,time:wO,log:SO},kO={value:1,category:1,time:1,log:1};function TO(t,e,n,i){Object(g["each"])(kO,(function(r,a){var o=Object(g["merge"])(Object(g["merge"])({},LO[a],!0),i,!0),s=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+a,n}return f(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=ud(this),i=n?dd(t):{},r=e.getTheme();Object(g["merge"])(t,r.get(a+"Axis")),Object(g["merge"])(t,this.getDefaultOption()),t.type=DO(t),n&&cd(t,i,n)},n.prototype.optionUpdated=function(){var t=this.option;"category"===t.type&&(this.__ordinalMeta=vM.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",DO)}function DO(t){return t.type||(t.data?"category":"value")}var OO=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 g["map"](this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),g["filter"](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}(),AO=OO,IO=["x","y"];function YO(t){return"interval"===t.type||"time"===t.type}var CO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=IO,e}return f(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(YO(t)&&YO(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,c=r[0]-n[0]*l,d=r[1]-i[0]*u,h=this._transform=[l,0,0,u,c,d];this._invTransform=Ot([],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.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),a=new Ft(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(a)},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 H(n,t,this._transform);var a=this.getAxis("x"),o=this.getAxis("y");return n[0]=a.toGlobalCoord(a.dataToCoord(i,e)),n[1]=o.toGlobalCoord(o.dataToCoord(r,e)),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){var n=[];if(this._invTransform)return H(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},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 Ft(n,i,r,a)},e}(AO),jO=CO,PO=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 f(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}(kS),EO=PO;function RO(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,c=i.getRect(),d=[c.x,c.x+c.width,c.y,c.y+c.height],h={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,f="x"===u?[d[2]-p,d[3]+p]:[d[0]-p,d[1]+p];if(o){var _=o.toGlobalCoord(o.dataToCoord(0));f[h.onZero]=Math.max(Math.min(_,f[1]),f[0])}a.position=["y"===u?f[h[l]]:d[0],"x"===u?f[h[l]]:d[3]],a.rotation=Math.PI/2*("x"===u?0:1);var m={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=m[s],a.labelOffset=o?f[h[s]]-f[h.onZero]:0,e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),g["retrieve"](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 NO(t){return"cartesian2d"===t.get("coordinateSystem")}function HO(t){var e={xAxisModel:null,yAxisModel:null};return g["each"](e,(function(n,i){var r=i.replace(/Model$/,""),a=t.getReferringComponents(r,$r).models[0];e[i]=a})),e}var zO=Math.log;function BO(t,e,n){var i=CM.prototype,r=i.getTicks.call(n),a=i.getTicks.call(n,!0),o=r.length-1,s=i.getInterval.call(n),l=Lw(t,e),u=l.extent,c=l.fixMin,d=l.fixMax;if("log"===t.type){var h=zO(t.base);u=[zO(u[0])/h,zO(u[1])/h]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:o,fixMin:c,fixMax:d});var p=i.getExtent.call(t);c&&(u[0]=p[0]),d&&(u[1]=p[1]);var f=i.getInterval.call(t),_=u[0],g=u[1];if(c&&d)f=(g-_)/o;else if(c){g=u[0]+f*o;while(g<u[1]&&isFinite(g)&&isFinite(u[1]))f=MM(f),g=u[0]+f*o}else if(d){_=u[1]-f*o;while(_>u[0]&&isFinite(_)&&isFinite(u[0]))f=MM(f),_=u[1]-f*o}else{var m=t.getTicks().length-1;m>o&&(f=MM(f));var y=f*o;g=Math.ceil(u[1]/f)*f,_=tr(g-y),_<0&&u[0]>=0?(_=0,g=tr(y)):g>0&&u[1]<=0&&(g=0,_=-tr(y))}var v=(r[0].value-a[0].value)/s,b=(r[o].value-a[o].value)/s;i.setExtent.call(t,_+f*v,g+f*b),i.setInterval.call(t,f),(v||b)&&i.setNiceExtent.call(t,_+f,g-f)}var FO=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=IO,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;function i(t){var e,n=Object(g["keys"])(t),i=n.length;if(i){for(var r=[],a=i-1;a>=0;a--){var o=+n[a],s=t[o],l=s.model,u=s.scale;bM(u)&&l.get("alignTicks")&&null==l.get("interval")?r.push(s):(Tw(u,l),bM(u)&&(e=s))}r.length&&(e||(e=r.pop(),Tw(e.scale,e.model)),Object(g["each"])(r,(function(t){BO(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};Object(g["each"])(n.x,(function(t){VO(n,"y",t,r)})),Object(g["each"])(n.y,(function(t){VO(n,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),a=od(i,{width:e.getWidth(),height:e.getHeight()});this._rect=a;var o=this._axesList;function s(){Object(g["each"])(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]),UO(t,e?a.x:a.y)}))}s(),r&&(Object(g["each"])(o,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=Yw(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()),Object(g["each"])(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]}Object(g["isObject"])(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",$r).models[0],a=t.yAxisModel||i&&i.getReferringComponents("yAxis",$r).models[0],o=t.gridModel,s=this._coordsList;if(i)e=i.coordinateSystem,Object(g["indexOf"])(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(WO(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 EO(e,Dw(n),[0,0],n.get("type"),l),c="category"===u.type;u.onBand=c&&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,Object(g["each"])(o.x,(function(e,n){Object(g["each"])(o.y,(function(r,a){var o="x"+n+"y"+a,s=new jO(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){Object(g["each"])(Ew(t,e.dim),(function(n){e.scale.unionExtentFromData(t,n)}))}Object(g["each"])(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(NO(t)){var i=HO(t),r=i.xAxisModel,a=i.yAxisModel;if(!WO(r,e)||!WO(a,e))return;var o=this.getCartesian(r.componentIndex,a.componentIndex),s=t.getData(),l=o.getAxis("x"),u=o.getAxis("y");n(s,l),n(s,u)}}),this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return Object(g["each"])(this.getCartesians(),(function(i){var r=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),a=i.getOtherAxis(r);Object(g["indexOf"])(e,r)<0&&e.push(r),Object(g["indexOf"])(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(NO(t)){var e=HO(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=IO,t}();function WO(t,e){return t.getCoordSysModel()===e}function VO(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)GO(a[l])&&(r=a[l]);else for(var u in a)if(a.hasOwnProperty(u)&&GO(a[u])&&!i[c(a[u])]){r=a[u];break}r&&(i[c(r)]=!0)}function c(t){return t.dim+"_"+t.index}}function GO(t){return t&&"category"!==t.type&&"time"!==t.type&&Ow(t)}function UO(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 XO=FO,ZO=Math.PI,qO=function(){function t(t,e){this.group=new Ri,this.opt=e,this.axisModel=t,Object(g["defaults"])(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new Ri({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!KO[t]},t.prototype.add=function(t){KO[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=ur(e-t);return cr(a)?(r=n>0?"top":"bottom",i="center"):cr(a-ZO)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=a>0&&a<ZO?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}(),KO={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],u=s[0]>l[0];o&&(H(s,s,o),H(l,l,o));var c=Object(g["extend"])({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),d=new eg({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:c,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});zg(d.shape,d.style.lineWidth),d.anid="line",n.add(d);var h=e.get(["axisLine","symbol"]);if(null!=h){var p=e.get(["axisLine","symbolSize"]);Object(g["isString"])(h)&&(h=[h,h]),(Object(g["isString"])(p)||Object(g["isNumber"])(p))&&(p=[p,p]);var f=Dy(e.get(["axisLine","symbolOffset"])||0,p),_=p[0],m=p[1];Object(g["each"])([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[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"!==h[i]&&null!=h[i]){var r=ky(h[i],-_/2,-m/2,_,m,c.stroke,!0),a=e.r+e.offset,o=u?l:s;r.attr({rotation:e.rotate,x:o[0]+a*Math.cos(t.rotation),y:o[1]-a*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=iA(n,i,e,t),a=aA(n,i,e,t);if($O(e,a,r),rA(n,i,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var o=eL(Object(g["map"])(a,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}})));aL(o)}},axisName:function(t,e,n,i){var r=Object(g["retrieve"])(t.axisName,e.get("name"));if(r){var a,o,s=e.get("nameLocation"),l=t.nameDirection,u=e.getModel("nameTextStyle"),c=e.get("nameGap")||0,d=e.axis.getExtent(),h=d[0]>d[1]?-1:1,p=["start"===s?d[0]-h*c:"end"===s?d[1]+h*c:(d[0]+d[1])/2,eA(s)?t.labelOffset+l*c:0],f=e.get("nameRotate");null!=f&&(f=f*ZO/180),eA(s)?a=qO.innerTextLayout(t.rotation,null!=f?f:t.rotation,l):(a=JO(t.rotation,s,f||0,d),o=t.axisNameAvailableWidth,null!=o&&(o=Math.abs(o/Math.sin(a.rotation)),!isFinite(o)&&(o=null)));var _=u.getFont(),m=e.get("nameTruncate",!0)||{},y=m.ellipsis,v=Object(g["retrieve"])(t.nameTruncateMaxWidth,m.maxWidth,o),b=new Fs({x:p[0],y:p[1],rotation:a.rotation,silent:qO.isLabelSilent(e),style:xu(u,{text:r,font:_,overflow:"truncate",width:v,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(nm({el:b,componentModel:e,itemName:r}),b.__fullText=r,b.anid="name",e.get("triggerEvent")){var x=qO.makeAxisEventDataBase(e);x.targetType="axisName",x.name=r,Ws(b).eventData=x}i.add(b),b.updateTransform(),n.add(b),b.decomposeTransform()}}};function JO(t,e,n,i){var r,a,o=ur(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;return cr(o-ZO/2)?(a=l?"bottom":"top",r="center"):cr(o-1.5*ZO)?(a=l?"top":"bottom",r="center"):(a="middle",r=o<1.5*ZO&&o>ZO/2?l?"left":"right":l?"right":"left"),{rotation:o,textAlign:r,textVerticalAlign:a}}function $O(t,e,n){if(!Pw(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],c=n[1],d=n[n.length-1],h=n[n.length-2];!1===i?(QO(a),QO(u)):tA(a,o)&&(i?(QO(o),QO(c)):(QO(a),QO(u))),!1===r?(QO(s),QO(d)):tA(l,s)&&(r?(QO(l),QO(h)):(QO(s),QO(d)))}}function QO(t){t&&(t.ignore=!0)}function tA(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=wt([]);return Tt(r,r,-t.rotation),n.applyTransform(Lt([],r,t.getLocalTransform())),i.applyTransform(Lt([],r,e.getLocalTransform())),n.intersect(i)}}function eA(t){return"middle"===t||"center"===t}function nA(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&&(H(o,o,e),H(s,s,e));var c=new eg({shape:{x1:o[0],y1:o[1],x2:s[0],y2:s[1]},style:i,z2:2,autoBatch:!0,silent:!0});zg(c.shape,c.style.lineWidth),c.anid=r+"_"+t[l].tickValue,a.push(c)}return a}function iA(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(),c=nA(u,e.transform,l,Object(g["defaults"])(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),d=0;d<c.length;d++)t.add(c[d]);return c}}function rA(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=Object(g["defaults"])(s.getLineStyle(),Object(g["defaults"])(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),c=0;c<o.length;c++)for(var d=nA(o[c],e.transform,l,u,"minorticks_"+c),h=0;h<d.length;h++)t.add(d[h])}}function aA(t,e,n,i){var r=n.axis,a=Object(g["retrieve"])(i.axisLabelShow,n.get(["axisLabel","show"]));if(a&&!r.scale.isBlank()){var o=n.getModel("axisLabel"),s=o.get("margin"),l=r.getViewLabels(),u=(Object(g["retrieve"])(i.labelRotate,o.get("rotate"))||0)*ZO/180,c=qO.innerTextLayout(i.rotation,u,i.labelDirection),d=n.getCategories&&n.getCategories(!0),h=[],p=qO.isLabelSilent(n),f=n.get("triggerEvent");return Object(g["each"])(l,(function(a,l){var u="ordinal"===r.scale.type?r.scale.getRawOrdinalNumber(a.tickValue):a.tickValue,_=a.formattedLabel,m=a.rawLabel,y=o;if(d&&d[u]){var v=d[u];Object(g["isObject"])(v)&&v.textStyle&&(y=new Gu(v.textStyle,o,n.ecModel))}var b=y.getTextColor()||n.get(["axisLine","lineStyle","color"]),x=r.dataToCoord(u),M=new Fs({x:x,y:i.labelOffset+i.labelDirection*s,rotation:c.rotation,silent:p,z2:10+(a.level||0),style:xu(y,{text:_,align:y.getShallow("align",!0)||c.textAlign,verticalAlign:y.getShallow("verticalAlign",!0)||y.getShallow("baseline",!0)||c.textVerticalAlign,fill:Object(g["isFunction"])(b)?b("category"===r.type?m:"value"===r.type?u+"":u,l):b})});if(M.anid="label_"+u,f){var w=qO.makeAxisEventDataBase(n);w.targetType="axisLabel",w.value=m,w.tickIndex=l,"category"===r.type&&(w.dataIndex=u),Ws(M).eventData=w}e.add(M),M.updateTransform(),h.push(M),t.add(M),M.decomposeTransform()})),h}}var oA=qO;function sA(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return lA(n,t,e),n.seriesInvolved&&cA(n,t),n}function lA(t,e,n){var i=e.getComponent("tooltip"),r=e.getComponent("axisPointer"),a=r.get("link",!0)||[],o=[];Object(g["each"])(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var s=mA(n.model),l=t.coordSysAxesInfo[s]={};t.coordSysMap[s]=n;var u=n.model,c=u.getModel("tooltip",i);if(Object(g["each"])(n.getAxes(),Object(g["curry"])(f,!1,null)),n.getTooltipAxes&&i&&c.get("show")){var d="axis"===c.get("trigger"),h="cross"===c.get(["axisPointer","type"]),p=n.getTooltipAxes(c.get(["axisPointer","axis"]));(d||h)&&Object(g["each"])(p.baseAxes,Object(g["curry"])(f,!h||"cross",d)),h&&Object(g["each"])(p.otherAxes,Object(g["curry"])(f,"cross",!1))}}function f(i,s,u){var d=u.model.getModel("axisPointer",r),h=d.get("show");if(h&&("auto"!==h||i||gA(d))){null==s&&(s=d.get("triggerTooltip")),d=i?uA(u,c,r,e,i,s):d;var p=d.get("snap"),f=mA(u.model),_=s||p||"category"===u.type,g=t.axesInfo[f]={key:f,axis:u,coordSys:n,axisPointerModel:d,triggerTooltip:s,involveSeries:_,snap:p,useHandle:gA(d),seriesModels:[],linkGroup:null};l[f]=g,t.seriesInvolved=t.seriesInvolved||_;var m=dA(a,u);if(null!=m){var y=o[m]||(o[m]={axesInfo:{}});y.axesInfo[f]=g,y.mapper=a[m].mapper,g.linkGroup=y}}}}))}function uA(t,e,n,i,r,a){var o=e.getModel("axisPointer"),s=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],l={};Object(g["each"])(s,(function(t){l[t]=Object(g["clone"])(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 c=o.get(["label","show"]);if(u.show=null==c||c,!a){var d=l.lineStyle=o.get("crossStyle");d&&Object(g["defaults"])(u,d.textStyle)}}return t.model.getModel("axisPointer",new Gu(l,n,i))}function cA(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)&&Object(g["each"])(t.coordSysAxesInfo[mA(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 dA(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var a=t[r]||{};if(hA(a[i+"AxisId"],n.id)||hA(a[i+"AxisIndex"],n.componentIndex)||hA(a[i+"AxisName"],n.name))return r}}function hA(t,e){return"all"===t||Object(g["isArray"])(t)&&Object(g["indexOf"])(t,e)>=0||t===e}function pA(t){var e=fA(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=gA(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 fA(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[mA(t)]}function _A(t){var e=fA(t);return e&&e.axisPointerModel}function gA(t){return!!t.get(["handle","show"])}function mA(t){return t.type+"||"+t.id}var yA={},vA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.render=function(e,n,i,r){this.axisPointerClass&&pA(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=_A(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){yA[t]=e},e.getAxisPointerClass=function(t){return t&&yA[t]},e.type="axis",e}(Uf),bA=vA,xA=Zr();function MA(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 c=s.length,d=xA(t).splitAreaColors,h=g["createHashMap"](),p=0;if(d)for(var f=0;f<u.length;f++){var _=d.get(u[f].tickValue);if(null!=_){p=(_+(c-1)*f)%c;break}}var m=r.toGlobalCoord(u[0].coord),y=o.getAreaStyle();s=g["isArray"](s)?s:[s];for(f=1;f<u.length;f++){var v=r.toGlobalCoord(u[f].coord),b=void 0,x=void 0,M=void 0,w=void 0;r.isHorizontal()?(b=m,x=l.y,M=v-b,w=l.height,m=b+M):(b=l.x,x=m,M=l.width,w=v-x,m=x+w);var S=u[f-1].tickValue;null!=S&&h.set(S,p),e.add(new Ss({anid:null!=S?"area_"+S:null,shape:{x:b,y:x,width:M,height:w},style:g["defaults"]({fill:s[p]},y),autoBatch:!0,silent:!0})),p=(p+1)%c}xA(t).splitAreaColors=h}}}function wA(t){xA(t).splitAreaColors=null}var SA=["axisLine","axisTickLabel","axisName"],LA=["splitArea","splitLine","minorSplitLine"],kA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return f(e,t),e.prototype.render=function(e,n,i,r){this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new Ri,this.group.add(this._axisGroup),e.get("show")){var o=e.getCoordSysModel(),s=RO(o,e),l=new oA(e,g["extend"]({handleAutoShown:function(t){for(var n=o.coordinateSystem.getCartesians(),i=0;i<n.length;i++)if(bM(n[i].getOtherAxis(e.axis).scale))return!0;return!1}},s));g["each"](SA,l.add,l),this._axisGroup.add(l.getGroup()),g["each"](LA,(function(t){e.get([t,"show"])&&TA[t](this,this._axisGroup,e,o)}),this);var u=r&&"changeAxisOrder"===r.type&&r.isInitSort;u||Zg(a,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)}},e.prototype.remove=function(){wA(this)},e.type="cartesianAxis",e}(bA),TA={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=g["isArray"](s)?s:[s];for(var l=i.coordinateSystem.getRect(),u=r.isHorizontal(),c=0,d=r.getTicksCoords({tickModel:a}),h=[],p=[],f=o.getLineStyle(),_=0;_<d.length;_++){var m=r.toGlobalCoord(d[_].coord);u?(h[0]=m,h[1]=l.y,p[0]=m,p[1]=l.y+l.height):(h[0]=l.x,h[1]=m,p[0]=l.x+l.width,p[1]=m);var y=c++%s.length,v=d[_].tickValue,b=new eg({anid:null!=v?"line_"+d[_].tickValue:null,autoBatch:!0,shape:{x1:h[0],y1:h[1],x2:p[0],y2:p[1]},style:g["defaults"]({stroke:s[y]},f),silent:!0});zg(b.shape,f.lineWidth),e.add(b)}}},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 c=[],d=[],h=o.getLineStyle(),p=0;p<u.length;p++)for(var f=0;f<u[p].length;f++){var _=r.toGlobalCoord(u[p][f].coord);l?(c[0]=_,c[1]=s.y,d[0]=_,d[1]=s.y+s.height):(c[0]=s.x,c[1]=_,d[0]=s.x+s.width,d[1]=_);var g=new eg({anid:"minor_line_"+u[p][f].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:d[0],y2:d[1]},style:h,silent:!0});zg(g.shape,h.lineWidth),e.add(g)}},splitArea:function(t,e,n,i){MA(t,e,n,i)}},DA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.type="xAxis",e}(kA),OA=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=DA.type,e}return f(e,t),e.type="yAxis",e}(kA),AA=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return f(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new Ss({shape:t.coordinateSystem.getRect(),style:Object(g["defaults"])({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(Uf),IA={offset:0};function YA(t){t.registerComponentView(AA),t.registerComponentModel(yO),t.registerCoordinateSystem("cartesian2d",XO),TO(t,"x",vO,IA),TO(t,"y",vO,IA),t.registerComponentView(DA),t.registerComponentView(OA),t.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))}function CA(t){fx(YA),t.registerSeriesModel(uO),t.registerChartView(gO),t.registerLayout(JT("scatter"))}function jA(t){t.eachSeriesByType("radar",(function(t){var e=t.getData(),n=[],i=t.coordinateSystem;if(i){var r=i.getIndicatorAxes();g["each"](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]=PA(r)?r:EA(i)}))})),e.each((function(t){var r=g["find"](n[t],(function(t){return PA(t)}))||EA(i);n[t].push(r.slice()),e.setItemLayout(t,n[t])}))}}))}function PA(t){return!isNaN(t[0])&&!isNaN(t[1])}function EA(t){return[t.cx,t.cy]}function RA(t){var e=t.polar;if(e){g["isArray"](e)||(e=[e]);var n=[];g["each"](e,(function(e,i){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],g["isArray"](t.radar)||(t.radar=[t.radar]),t.radar.push(e)):n.push(e)})),t.polar=n}g["each"](t.series,(function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)}))}var NA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.render=function(t,e,n){var i=t.coordinateSystem,r=this.group,a=t.getData(),s=this._data;function l(t,e){var n=t.getItemVisual(e,"symbol")||"circle";if("none"!==n){var i=Ty(t.getItemVisual(e,"symbolSize")),r=ky(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,i,r,a,s){i.removeAll();for(var u=0;u<n.length-1;u++){var c=l(r,a);c&&(c.__dimIdx=u,e[u]?(c.setPosition(e[u]),o[s?"initProps":"updateProps"](c,{x:n[u][0],y:n[u][1]},t,a)):c.setPosition(n[u]),i.add(c))}}function c(t){return g["map"](t,(function(t){return[i.cx,i.cy]}))}a.diff(s).add((function(e){var n=a.getItemLayout(e);if(n){var i=new Z_,r=new J_,o={shape:{points:n}};i.shape.points=c(n),r.shape.points=c(n),uu(i,o,t,e),uu(r,o,t,e);var s=new Ri,l=new Ri;s.add(r),s.add(i),s.add(l),u(r.shape.points,n,l,a,e,!0),a.setItemGraphicEl(e,s)}})).update((function(e,n){var i=s.getItemGraphicEl(n),r=i.childAt(0),o=i.childAt(1),l=i.childAt(2),c={shape:{points:a.getItemLayout(e)}};c.shape.points&&(u(r.shape.points,c.shape.points,l,a,e,!1),fu(o),fu(r),lu(r,c,t),lu(o,c,t),a.setItemGraphicEl(e,i))})).remove((function(t){r.remove(s.getItemGraphicEl(t))})).execute(),a.eachItemGraphicEl((function(t,e){var n=a.getItemModel(e),i=t.childAt(0),o=t.childAt(1),s=t.childAt(2),l=a.getItemVisual(e,"style"),u=l.fill;r.add(t),i.useStyle(g["defaults"](n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:u})),Jl(i,n,"lineStyle"),Jl(o,n,"areaStyle");var c=n.getModel("areaStyle"),d=c.isEmpty()&&c.parentModel.isEmpty();o.ignore=d,g["each"](["emphasis","select","blur"],(function(t){var e=n.getModel([t,"areaStyle"]),i=e.isEmpty()&&e.parentModel.isEmpty();o.ensureState(t).ignore=i&&d})),o.useStyle(g["defaults"](c.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 _s){var i=t.style;t.useStyle(g["extend"]({image:i.image,x:i.x,y:i.y,width:i.width,height:i.height},l))}else t.useStyle(l),t.setColor(u),t.style.strokeNoScale=!0;var r=t.ensureState("emphasis");r.style=g["clone"](p);var o=a.getStore().get(a.getDimensionIndex(t.__dimIdx),e);(null==o||isNaN(o))&&(o=""),vu(t,bu(n),{labelFetcher:a.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:o,inheritColor:u,defaultOpacity:l.opacity})})),Xl(t,h.get("focus"),h.get("blurScope"),h.get("disabled"))})),this._data=a},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.type="radar",e}(pm),HA=NA,zA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return f(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new iO(g["bind"](this.getData,this),g["bind"](this.getRawData,this))},e.prototype.getInitialData=function(t,e){return eO(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=Tf(this,t);return ff("section",{header:s,sortBlocks:!0,blocks:g["map"](a,(function(e){var n=i.get(i.mapDimension(e.dim),t);return ff("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(g["map"](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={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},e}(Vf),BA=zA,FA=LO.value;function WA(t,e){return g["defaults"]({show:e},t)}var VA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(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"),c=this.get("triggerEvent"),d=g["map"](this.get("indicator")||[],(function(d){null!=d.max&&d.max>0&&!d.min?d.min=0:null!=d.min&&d.min<0&&!d.max&&(d.max=0);var h=o;null!=d.color&&(h=g["defaults"]({color:d.color},o));var p=g["merge"](g["clone"](d),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:a,name:d.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:h,triggerEvent:c},!1);if(g["isString"](l)){var f=p.name;p.name=l.replace("{value}",null!=f?f:"")}else g["isFunction"](l)&&(p.name=l(p.name,p));var _=new Gu(p,null,this.ecModel);return g["mixin"](_,Nw.prototype),_.mainType="radar",_.componentIndex=this.componentIndex,_}),this);this._indicatorModels=d},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:g["merge"]({lineStyle:{color:"#bbb"}},FA.axisLine),axisLabel:WA(FA.axisLabel,!1),axisTick:WA(FA.axisTick,!1),splitLine:WA(FA.splitLine,!0),splitArea:WA(FA.splitArea,!0),indicator:[]},e}(gd),GA=VA,UA=["axisLine","axisTickLabel","axisName"],XA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(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=g["map"](n,(function(t){var n=t.model.get("showName")?t.name:"",i=new oA(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return i}));g["each"](i,(function(t){g["each"](UA,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"),c=o.get("color"),d=s.get("color"),h=g["isArray"](c)?c:[c],p=g["isArray"](d)?d:[d],f=[],_=[];if("circle"===i)for(var m=n[0].getTicksCoords(),y=e.cx,v=e.cy,b=0;b<m.length;b++){if(l){var x=O(f,h,b);f[x].push(new v_({shape:{cx:y,cy:v,r:m[b].coord}}))}if(u&&b<m.length-1){x=O(_,p,b);_[x].push(new W_({shape:{cx:y,cy:v,r0:m[b].coord,r:m[b+1].coord}}))}}else{var M,w=g["map"](n,(function(t,n){var i=t.getTicksCoords();return M=null==M?i.length-1:Math.min(i.length-1,M),g["map"](i,(function(t){return e.coordToPoint(t.coord,n)}))})),S=[];for(b=0;b<=M;b++){for(var L=[],k=0;k<n.length;k++)L.push(w[k][b]);if(L[0]&&L.push(L[0].slice()),l){x=O(f,h,b);f[x].push(new J_({shape:{points:L}}))}if(u&&S){x=O(_,p,b-1);_[x].push(new Z_({shape:{points:L.concat(S)}}))}S=L.slice().reverse()}}var T=o.getLineStyle(),D=s.getAreaStyle();g["each"](_,(function(t,e){this.group.add(Ng(t,{style:g["defaults"]({stroke:"none",fill:p[e%p.length]},D),silent:!0}))}),this),g["each"](f,(function(t,e){this.group.add(Ng(t,{style:g["defaults"]({fill:"none",stroke:h[e%h.length]},T),silent:!0}))}),this)}function O(t,e,n){var i=n%e.length;return t[i]=t[i]||[],i}},e.type="radar",e}(Uf),ZA=XA,qA=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 f(e,t),e}(kS),KA=qA,JA=function(){function t(t,e,n){this.dimensions=[],this._model=t,this._indicatorAxes=Object(g["map"])(t.getIndicatorModels(),(function(t,e){var n="indicator_"+e,i=new KA(n,new CM);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],c=Math.abs(a-u.angle);c<o&&(r=u,s=l,o=c)}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=Qi(n[0],i),this.cy=Qi(n[1],r),this.startAngle=t.get("startAngle")*Math.PI/180;var o=t.get("radius");(Object(g["isString"])(o)||Object(g["isNumber"])(o))&&(o=[0,o]),this.r0=Qi(o[0],a),this.r=Qi(o[1],a),Object(g["each"])(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;Object(g["each"])(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();Object(g["each"])(n,(function(t){t.scale.unionExtentFromData(a,a.mapDimension(t.dim))}))}}),this);var r=i.get("splitNumber"),a=new CM;a.setExtent(0,r),a.setInterval(1),Object(g["each"])(n,(function(t,e){BO(t.scale,t.model,a)}))},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}(),$A=JA;function QA(t){t.registerCoordinateSystem("radar",$A),t.registerComponentModel(GA),t.registerComponentView(ZA),t.registerVisual({seriesType:"radar",reset:function(t){var e=t.getData();e.each((function(t){e.setItemVisual(t,"legendIcon","roundRect")})),e.setVisual("legendIcon","roundRect")}})}function tI(t){fx(QA),t.registerChartView(HA),t.registerSeriesModel(BA),t.registerLayout(jA),t.registerProcessor(VD("radar")),t.registerPreprocessor(RA)}var eI="\0_ec_interaction_mutex";function nI(t,e,n){var i=aI(t);i[e]=n}function iI(t,e,n){var i=aI(t),r=i[e];r===n&&(i[e]=null)}function rI(t,e){return!!aI(t)[e]}function aI(t){return t[eI]||(t[eI]={})}Qb({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},g["noop"]);var oI=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var i=Object(g["bind"])(n._mousedownHandler,n),r=Object(g["bind"])(n._mousemoveHandler,n),a=Object(g["bind"])(n._mouseupHandler,n),o=Object(g["bind"])(n._mousewheelHandler,n),s=Object(g["bind"])(n._pinchHandler,n);return n.enable=function(t,n){this.disable(),this._opt=Object(g["defaults"])(Object(g["clone"])(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 f(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(!mt(t)){var e=t.target;while(e){if(e.draggable)return;e=e.__hostTarget||e.parent}var n=t.offsetX,i=t.offsetY;this.pointerChecker&&this.pointerChecker(t,n,i)&&(this._x=n,this._y=i,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(this._dragging&&uI("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!rI(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&&gt(t.event),lI(this,"pan","moveOnMouseMove",t,{dx:a,dy:o,oldX:i,oldY:r,newX:e,newY:n,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){mt(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=uI("zoomOnMouseWheel",t,this._opt),n=uI("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;sI(this,"zoom","zoomOnMouseWheel",t,{scale:l,originX:a,originY:o,isAvailableBehavior:null})}if(n){var u=Math.abs(i),c=(i>0?1:-1)*(u>3?.4:u>1?.15:.05);sI(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:c,originX:a,originY:o,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){if(!rI(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;sI(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e}(U);function sI(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(gt(i.event),lI(t,e,n,i,r))}function lI(t,e,n,i,r){r.isAvailableBehavior=Object(g["bind"])(uI,null,n,i),t.trigger(e,r)}function uI(t,e,n){var i=n[t];return!t||i&&(!Object(g["isString"])(i)||e.event[i+"Key"])}var cI=oI;function dI(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function hI(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 pI,fI={axisPointer:1,tooltip:1,brush:1};function _I(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!fI.hasOwnProperty(i.mainType)&&r&&r.model!==n}function gI(t){if(Object(g["isString"])(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 mI={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-anchor":"textAlign",visibility:"visibility",display:"display"},yI=Object(g["keys"])(mI),vI={"alignment-baseline":"textBaseline","stop-color":"stopColor"},bI=Object(g["keys"])(vI),xI=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=gI(t);this._defsUsePending=[];var i=new Ri;this._root=i;var r=[],a=n.getAttribute("viewBox")||"",o=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(o)&&(o=null),isNaN(s)&&(s=null),TI(n,i,null,!0,!1);var l,u,c=n.firstChild;while(c)this._parseNode(c,i,r,null,!1,!1),c=c.nextSibling;if(II(this._defs,this._defsUsePending),this._defsUsePending=[],a){var d=CI(a);d.length>=4&&(l={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(l&&null!=o&&null!=s&&(u=zI(l,{x:0,y:0,width:o,height:s}),!e.ignoreViewBox)){var h=i;i=new Ri,i.add(h),h.scaleX=h.scaleY=u.scale,h.x=u.x,h.y=u.y}return e.ignoreRootClip||null==o||null==s||i.setClipPath(new Ss({shape:{x:0,y:0,width:o,height:s}})),{root:i,width:o,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,n,i,r,a){var o,s=t.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(a=!0),"defs"===s||"switch"===s)o=e;else{if(!r){var u=pI[s];if(u&&Object(g["hasOwn"])(pI,s)){o=u.call(this,t,e);var c=t.getAttribute("name");if(c){var d={name:c,namedFrom:null,svgNodeTagLower:s,el:o};n.push(d),"g"===s&&(l=d)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:o});e.add(o)}}var h=MI[s];if(h&&Object(g["hasOwn"])(MI,s)){var p=h.call(this,t),f=t.getAttribute("id");f&&(this._defs[f]=p)}}if(o&&o.isGroup){var _=t.firstChild;while(_)1===_.nodeType?this._parseNode(_,o,n,l,r,a):3===_.nodeType&&a&&this._parseText(_,o),_=_.nextSibling}},t.prototype._parseText=function(t,e){var n=new cs({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});LI(e,n),TI(t,n,this._defsUsePending,!1,!1),DI(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var a=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=a;var o=n.getBoundingRect();return this._textX+=o.width,e.add(n),n},t.internalField=function(){pI={g:function(t,e){var n=new Ri;return LI(e,n),TI(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new Ss;return LI(e,n),TI(t,n,this._defsUsePending,!1,!1),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.silent=!0,n},circle:function(t,e){var n=new v_;return LI(e,n),TI(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new eg;return LI(e,n),TI(t,n,this._defsUsePending,!1,!1),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.silent=!0,n},ellipse:function(t,e){var n=new M_;return LI(e,n),TI(t,n,this._defsUsePending,!1,!1),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.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=kI(i));var r=new Z_({shape:{points:n||[]},silent:!0});return LI(e,r),TI(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=kI(i));var r=new J_({shape:{points:n||[]},silent:!0});return LI(e,r),TI(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new _s;return LI(e,n),TI(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,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 Ri;return LI(e,o),TI(t,o,this._defsUsePending,!1,!0),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 Ri;return LI(e,o),TI(t,o,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(a),o},path:function(t,e){var n=t.getAttribute("d")||"",i=p_(n);return LI(e,i),TI(t,i,this._defsUsePending,!1,!1),i.silent=!0,i}}}(),t}(),MI={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 _g(e,n,i,r);return wI(t,a),SI(t,a),a},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new mg(e,n,i);return wI(t,r),SI(t,r),r}};function wI(t,e){var n=t.getAttribute("gradientUnits");"userSpaceOnUse"===n&&(e.global=!0)}function SI(t,e){var n=t.firstChild;while(n){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute("offset"),r=void 0;r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var a={};NI(n,a,a);var o=a.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:o})}n=n.nextSibling}}function LI(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),Object(g["defaults"])(e.__inheritedStyle,t.__inheritedStyle))}function kI(t){for(var e=CI(t),n=[],i=0;i<e.length;i+=2){var r=parseFloat(e[i]),a=parseFloat(e[i+1]);n.push([r,a])}return n}function TI(t,e,n,i,r){var a=e,o=a.__inheritedStyle=a.__inheritedStyle||{},s={};1===t.nodeType&&(EI(t,e),NI(t,o,s),i||HI(t,o,s)),a.style=a.style||{},null!=o.fill&&(a.style.fill=AI(a,"fill",o.fill,n)),null!=o.stroke&&(a.style.stroke=AI(a,"stroke",o.stroke,n)),Object(g["each"])(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){null!=o[t]&&(a.style[t]=parseFloat(o[t]))})),Object(g["each"])(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(t){null!=o[t]&&(a.style[t]=o[t])})),r&&(a.__selfStyle=s),o.lineDash&&(a.style.lineDash=Object(g["map"])(CI(o.lineDash),(function(t){return parseFloat(t)}))),"hidden"!==o.visibility&&"collapse"!==o.visibility||(a.invisible=!0),"none"===o.display&&(a.ignore=!0)}function DI(t,e){var n=e.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(r="middle"):r="alphabetic",t.style.textBaseline=r}var a=e.__inheritedStyle;if(a){var o=a.textAlign,s=o;o&&("middle"===o&&(s="center"),t.style.textAlign=s)}}var OI=/^url\(\s*#(.*?)\)/;function AI(t,e,n,i){var r=n&&n.match(OI);if(!r)return"none"===n&&(n=null),n;var a=Object(g["trim"])(r[1]);i.push([t,e,a])}function II(t,e){for(var n=0;n<e.length;n++){var i=e[n];i[0].style[i[1]]=t[i[2]]}}var YI=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function CI(t){return t.match(YI)||[]}var jI=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,PI=Math.PI/180;function EI(t,e){var n=t.getAttribute("transform");if(n){n=n.replace(/,/g," ");var i=[],r=null;n.replace(jI,(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=CI(o);switch(r=r||Mt(),s){case"translate":kt(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":Dt(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":Tt(r,r,-parseFloat(l[0])*PI);break;case"skewX":var u=Math.tan(parseFloat(l[0])*PI);Lt(r,[1,0,u,1,0,0],r);break;case"skewY":var c=Math.tan(parseFloat(l[0])*PI);Lt(r,[1,c,0,1,0,0],r);break;case"matrix":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 RI=/([^\s:;]+)\s*:\s*([^:;]+)/g;function NI(t,e,n){var i=t.getAttribute("style");if(i){var r;RI.lastIndex=0;while(null!=(r=RI.exec(i))){var a=r[1],o=Object(g["hasOwn"])(mI,a)?mI[a]:null;o&&(e[o]=r[2]);var s=Object(g["hasOwn"])(vI,a)?vI[a]:null;s&&(n[s]=r[2])}}}function HI(t,e,n){for(var i=0;i<yI.length;i++){var r=yI[i],a=t.getAttribute(r);null!=a&&(e[mI[r]]=a)}for(i=0;i<bI.length;i++){r=bI[i],a=t.getAttribute(r);null!=a&&(n[vI[r]]=a)}}function zI(t,e){var n=e.width/t.width,i=e.height/t.height,r=Math.min(n,i);return{scale:r,x:-(t.x+t.width/2)*r+(e.x+e.width/2),y:-(t.y+t.height/2)*r+(e.y+e.height/2)}}function BI(t,e){var n=new xI;return n.parse(t,e)}var FI=Object(g["createHashMap"])(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),WI=function(){function t(t,e){this.type="geoSVG",this._usedGraphicMap=Object(g["createHashMap"])(),this._freedGraphics=[],this._mapName=t,this._parsedXML=gI(e)}return t.prototype.load=function(){var t=this._firstGraphic;if(!t){t=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(t),this._boundingRect=this._firstGraphic.boundingRect.clone();var e=GI(t.named),n=e.regions,i=e.regionsMap;this._regions=n,this._regionsMap=i}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},t.prototype._buildGraphic=function(t){var e,n;try{e=t&&BI(t,{ignoreViewBox:!0,ignoreRootClip:!0})||{},n=e.root,Object(g["assert"])(null!=n)}catch(_){throw new Error("Invalid svg format\n"+_.message)}var i=new Ri;i.add(n),i.isGeoSVGGraphicRoot=!0;var r=e.width,a=e.height,o=e.viewBoxRect,s=this._boundingRect;if(!s){var l=void 0,u=void 0,c=void 0,d=void 0;if(null!=r?(l=0,c=r):o&&(l=o.x,c=o.width),null!=a?(u=0,d=a):o&&(u=o.y,d=o.height),null==l||null==u){var h=n.getBoundingRect();null==l&&(l=h.x,c=h.width),null==u&&(u=h.y,d=h.height)}s=this._boundingRect=new Ft(l,u,c,d)}if(o){var p=zI(o,s);n.scaleX=n.scaleY=p.scale,n.x=p.x,n.y=p.y}i.setClipPath(new Ss({shape:s.plain()}));var f=[];return Object(g["each"])(e.named,(function(t){null!=FI.get(t.svgNodeTagLower)&&(f.push(t),VI(t.el))})),{root:i,boundingRect:s,named:f}},t.prototype.useGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),e.set(t,n),n)},t.prototype.freeGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);n&&(e.removeKey(t),this._freedGraphics.push(n))},t}();function VI(t){t.silent=!1,t.isGroup&&t.traverse((function(t){t.silent=!1}))}function GI(t){var e=[],n=Object(g["createHashMap"])();return Object(g["each"])(t,(function(t){if(null==t.namedFrom){var i=new eS(t.name,t.el);e.push(i),n.set(t.name,i)}})),{regions:e,regionsMap:n}}for(var UI=[126,25],XI="南海诸岛",ZI=[[[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]]],qI=0;qI<ZI.length;qI++)for(var KI=0;KI<ZI[qI].length;KI++)ZI[qI][KI][0]/=10.5,ZI[qI][KI][1]/=-14,ZI[qI][KI][0]+=UI[0],ZI[qI][KI][1]+=UI[1];function JI(t,e){if("china"===t){for(var n=0;n<e.length;n++)if(e[n].name===XI)return;e.push(new tS(XI,g["map"](ZI,(function(t){return{type:"polygon",exterior:t}})),UI))}}var $I={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function QI(t,e){if("china"===t){var n=$I[e.name];if(n){var i=e.getCenter();i[0]+=n[0]/10.5,i[1]+=-n[1]/14,e.setCenter(i)}}}var tY=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function eY(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:tY[0]})}var nY="name",iY=function(){function t(t,e,n){this.type="geoJSON",this._parsedMap=Object(g["createHashMap"])(),this._mapName=t,this._specialAreas=n,this._geoJSON=aY(e)}return t.prototype.load=function(t,e){e=e||nY;var n=this._parsedMap.get(e);if(!n){var i=this._parseToRegions(e);n=this._parsedMap.set(e,{regions:i,boundingRect:rY(i)})}var r=Object(g["createHashMap"])(),a=[];return Object(g["each"])(n.regions,(function(e){var n=e.name;t&&Object(g["hasOwn"])(t,n)&&(e=e.cloneShallow(n=t[n])),a.push(e),r.set(n,e)})),{regions:a,boundingRect:n.boundingRect||new Ft(0,0,0,0),regionsMap:r}},t.prototype._parseToRegions=function(t){var e,n=this._mapName,i=this._geoJSON;try{e=i?aS(i,t):[]}catch(r){throw new Error("Invalid geoJson format\n"+r.message)}return JI(n,e),Object(g["each"])(e,(function(t){var e=t.name;QI(n,t),eY(n,t);var i=this._specialAreas&&this._specialAreas[e];i&&t.transformTo(i.left,i.top,i.width,i.height)}),this),e},t.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},t}();function rY(t){for(var e,n=0;n<t.length;n++){var i=t[n].getBoundingRect();e=e||i.clone(),e.union(i)}return e}function aY(t){return Object(g["isString"])(t)?"undefined"!==typeof JSON&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t}var oY=Object(g["createHashMap"])(),sY={registerMap:function(t,e,n){if(e.svg){var i=new WI(t,e.svg);oY.set(t,i)}else{var r=e.geoJson||e.geoJSON;r&&!e.features?n=e.specialAreas:r=e;i=new iY(t,r,n);oY.set(t,i)}},getGeoResource:function(t){return oY.get(t)},getMapForUser:function(t){var e=oY.get(t);return e&&"geoJSON"===e.type&&e.getMapForUser()},load:function(t,e,n){var i=oY.get(t);if(i)return i.load(e,n)}},lY=["rect","circle","line","ellipse","polygon","polyline","path"],uY=g["createHashMap"](lY),cY=g["createHashMap"](lY.concat(["g"])),dY=g["createHashMap"](lY.concat(["g"])),hY=Zr();function pY(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}function fY(t){var e=t.style;e&&(e.stroke=e.stroke||e.fill,e.fill=null)}var _Y=function(){function t(t){var e=new Ri;this.uid=Xu("ec_map_draw"),this._controller=new cI(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new Ri),e.add(this._svgGroup=new Ri)}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,l=this._regionsGroup,u=this.group,c=s.getTransformInfo(),d=c.raw,h=c.roam,p=!l.childAt(0)||r;p?(u.x=h.x,u.y=h.y,u.scaleX=h.scaleX,u.scaleY=h.scaleY,u.dirty()):lu(u,h,t);var f=o&&o.getVisual("visualMeta")&&o.getVisual("visualMeta").length>0,_={api:n,geo:s,mapOrGeoModel:t,data:o,isVisualEncodedByVisualMap:f,isGeo:a,transformInfoRaw:d};"geoJSON"===s.resourceType?this._buildGeoJSON(_):"geoSVG"===s.resourceType&&this._buildSVG(_),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=g["createHashMap"](),n=g["createHashMap"](),i=this._regionsGroup,r=t.transformInfoRaw,a=t.mapOrGeoModel,o=t.data,s=t.geo.projection,l=s&&s.stream;function u(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function c(t){for(var e=[],n=!l&&s&&s.project,i=0;i<t.length;++i){var r=u(t[i],n);r&&e.push(r)}return e}function d(t){return{shape:{points:c(t)}}}i.removeAll(),g["each"](t.geo.regions,(function(r){var c=r.name,h=e.get(c),p=n.get(c)||{},f=p.dataIdx,_=p.regionModel;h||(h=e.set(c,new Ri),i.add(h),f=o?o.indexOfName(c):null,_=t.isGeo?a.getRegionModel(c):o?o.getItemModel(f):null,n.set(c,{dataIdx:f,regionModel:_}));var m=[],y=[];g["each"](r.geometries,(function(t){if("polygon"===t.type){var e=[t.exterior].concat(t.interiors||[]);l&&(e=xY(e,l)),g["each"](e,(function(t){m.push(new Z_(d(t)))}))}else{var n=t.points;l&&(n=xY(n,l,!0)),g["each"](n,(function(t){y.push(new J_(d(t)))}))}}));var v=u(r.getCenter(),s&&s.project);function b(e,n){if(e.length){var i=new dg({culling:!0,segmentIgnoreThreshold:1,shape:{paths:e}});h.add(i),gY(t,i,f,_),mY(t,i,c,_,a,f,v),n&&(fY(i),g["each"](i.states,fY))}}b(m),b(y,!0)})),e.each((function(e,i){var r=n.get(i),o=r.dataIdx,s=r.regionModel;yY(t,e,i,s,a,o),vY(t,e,i,s,a),bY(t,e,i,s,a)}),this)},t.prototype._buildSVG=function(t){var e=t.geo.map,n=t.transformInfoRaw;this._svgGroup.x=n.x,this._svgGroup.y=n.y,this._svgGroup.scaleX=n.scaleX,this._svgGroup.scaleY=n.scaleY,this._svgResourceChanged(e)&&(this._freeSVG(),this._useSVG(e));var i=this._svgDispatcherMap=g["createHashMap"](),r=!1;g["each"](this._svgGraphicRecord.named,(function(e){var n=e.name,a=t.mapOrGeoModel,o=t.data,s=e.svgNodeTagLower,l=e.el,u=o?o.indexOfName(n):null,c=a.getRegionModel(n);if(null!=uY.get(s)&&l instanceof Qa&&gY(t,l,u,c),l instanceof Qa&&(l.culling=!0),l.z2EmphasisLift=0,!e.namedFrom&&(null!=dY.get(s)&&mY(t,l,n,c,a,u,null),yY(t,l,n,c,a,u),vY(t,l,n,c,a),null!=cY.get(s))){var d=bY(t,l,n,c,a);"self"===d&&(r=!0);var h=i.get(n)||i.set(n,[]);h.push(l)}}),this),this._enableBlurEntireSVG(r,t)},t.prototype._enableBlurEntireSVG=function(t,e){if(t&&e.isGeo){var n=e.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle(),i=n.opacity;this._svgGraphicRecord.root.traverse((function(t){if(!t.isGroup){Ll(t);var e=t.ensureState("blur").style||{};null==e.opacity&&null!=i&&(e.opacity=i),t.ensureState("emphasis")}}))}},t.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},t.prototype.findHighDownDispatchers=function(t,e){if(null==t)return[];var n=e.coordinateSystem;if("geoJSON"===n.resourceType){var i=this._regionsGroupByName;if(i){var r=i.get(t);return r?[r]:[]}}else if("geoSVG"===n.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(t)||[]},t.prototype._svgResourceChanged=function(t){return this._svgMapName!==t},t.prototype._useSVG=function(t){var e=sY.getGeoResource(t);if(e&&"geoSVG"===e.type){var n=e.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=t}},t.prototype._freeSVG=function(){var t=this._svgMapName;if(null!=t){var e=sY.getGeoResource(t);e&&"geoSVG"===e.type&&e.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},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,dI(a,t.dx,t.dy),n.dispatchAction(g["extend"](s(),{dx:t.dx,dy:t.dy,animation:{duration:0}}))}),this),r.off("zoom").on("zoom",(function(t){this._mouseDownFlag=!1,hI(a,t.scale,t.originX,t.originY),n.dispatchAction(g["extend"](s(),{zoom:t.scale,originX:t.originX,originY:t.originY,animation:{duration:0}}))}),this),r.setPointerChecker((function(e,r,a){return i.containPoint([r,a])&&!_I(e,n,t)}))},t.prototype.resetForLabelLayout=function(){this.group.traverse((function(t){var e=t.getTextContent();e&&(e.ignore=hY(e).ignore)}))},t.prototype._updateMapSelectHandler=function(t,e,n,i){var r=this;e.off("mousedown"),e.off("click"),t.get("selectedMode")&&(e.on("mousedown",(function(){r._mouseDownFlag=!0})),e.on("click",(function(t){r._mouseDownFlag&&(r._mouseDownFlag=!1)})))},t}();function gY(t,e,n,i){var r=i.getModel("itemStyle"),a=i.getModel(["emphasis","itemStyle"]),o=i.getModel(["blur","itemStyle"]),s=i.getModel(["select","itemStyle"]),l=pY(r),u=pY(a),c=pY(s),d=pY(o),h=t.data;if(h){var p=h.getItemVisual(n,"style"),f=h.getItemVisual(n,"decal");t.isVisualEncodedByVisualMap&&p.fill&&(l.fill=p.fill),f&&(l.decal=_v(f,t.api))}e.setStyle(l),e.style.strokeNoScale=!0,e.ensureState("emphasis").style=u,e.ensureState("select").style=c,e.ensureState("blur").style=d,Ll(e)}function mY(t,e,n,i,r,a,o){var s=t.data,l=t.isGeo,u=s&&isNaN(s.get(s.mapDimension("value"),a)),c=s&&s.getItemLayout(a);if(l||u||c&&c.showLabel){var d=l?n:a,h=void 0;(!s||a>=0)&&(h=r);var p=o?{normal:{align:"center",verticalAlign:"middle"}}:null;vu(e,bu(i),{labelFetcher:h,labelDataIndex:d,defaultText:n},p);var f=e.getTextContent();if(f&&(hY(f).ignore=f.ignore,e.textConfig&&o)){var _=e.getBoundingRect().clone();e.textConfig.layoutRect=_,e.textConfig.position=[(o[0]-_.x)/_.width*100+"%",(o[1]-_.y)/_.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function yY(t,e,n,i,r,a){t.data?t.data.setItemGraphicEl(a,e):Ws(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function vY(t,e,n,i,r){t.data||nm({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function bY(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var a=i.getModel("emphasis"),o=a.get("focus");return Xl(e,o,a.get("blurScope"),a.get("disabled")),t.isGeo&&tu(e,r,n),o}function xY(t,e,n){var i,r=[];function a(){i=[]}function o(){i.length&&(r.push(i),i=[])}var s=e({polygonStart:a,polygonEnd:o,lineStart:a,lineEnd:o,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),g["each"](t,(function(t){s.lineStart();for(var e=0;e<t.length;e++)s.point(t[e][0],t[e][1]);s.lineEnd()})),!n&&s.polygonEnd(),r}var MY=_Y,wY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(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(this._mapDraw&&i&&"geoRoam"===i.type&&this._mapDraw.resetForLabelLayout(),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 MY(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 v_({style:{fill:t.getData().getVisual("style").fill},shape:{cx:o[0]+9*s,cy:o[1],r:3},silent:!0,z2:8+(s?0:tl+1)});if(!s){var u=t.mainSeries.getData(),c=i.getName(n),d=u.indexOfName(c),h=i.getItemModel(n),p=h.getModel("label"),f=u.getItemGraphicEl(d);vu(l,bu(h),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(d,n)}},defaultText:c}),l.disableLabelAnimation=!0,p.get("position")||l.setTextConfig({position:"bottom"}),f.onHoverStateChange=function(t){vl(l,t)}}r.add(l)}}}))},e.type="map",e}(pm),SY=wY,LY=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.getCenter())}},n}return f(e,t),e.prototype.getInitialData=function(t){for(var e=eO(this,{coordDimensions:["value"],encodeDefaulter:g["curry"](Cd,this)}),n=g["createHashMap"](),i=[],r=0,a=e.count();r<a;r++){var o=e.getName(r);n.set(o,!0)}var s=sY.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return g["each"](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),c=i.mapDimension("value");isNaN(o[l].originalData.get(c,u))||s.push(o[l].name)}return ff("section",{header:s.join(", "),noHeader:!s.length,blocks:[ff("nameValue",{name:a,value:r})]})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.getLegendIcon=function(t){var e=t.icon||"roundRect",n=ky(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill);return n.setStyle(t.itemStyle),n.style.stroke="none",e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,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}(Vf),kY=LY;function TY(t,e){var n={};return g["each"](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,c=n[o].length,d=0;d<c;d++)l=Math.min(l,n[o][d]),u=Math.max(u,n[o][d]),s+=n[o][d];return a="min"===e?l:"max"===e?u:"average"===e?s/c:s,0===c?NaN:a}))}function DY(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)})),g["each"](e,(function(t,e){for(var n=TY(g["map"](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 OY(t){var e={};t.eachSeriesByType("map",(function(n){var i=n.getMapType();if(!n.getHostGeoModel()&&!e[i]){var r={};g["each"](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.getCenter());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 AY=H,IY=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 f(e,t),e.prototype.setBoundingRect=function(t,e,n,i){return this._rect=new Ft(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 Ft(t,e,n,i)},e.prototype._transformTo=function(t,e,n,i){var r=this.getBoundingRect(),a=this._rawTransformable;a.transform=r.calculateTransform(new Ft(t,e,n,i));var o=a.parent;a.parent=null,a.decomposeTransform(),a.parent=o,this._updateTransform()},e.prototype.setCenter=function(t,e){t&&(this._center=[Qi(t[0],e.getWidth()),Qi(t[1],e.getHeight())],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=H([],i,t),n=H([],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(),St(this.transform||(this.transform=[]),e.transform||Mt()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],Ot(this.invTransform,this.transform),this.decomposeTransform()},e.prototype.getTransformInfo=function(){var t=this._rawTransformable,e=this._roamTransformable,n=new ci;return n.transform=e.transform,n.decomposeTransform(),{roam:{x:n.x,y:n.y,scaleX:n.scaleX,scaleY:n.scaleY},raw:{x:t.x,y:t.y,scaleX:t.scaleX,scaleY:t.scaleY}}},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?AY(n,t,i):y(n,t)},e.prototype.pointToData=function(t){var e=this.invTransform;return e?AY([],t,e):[t[0],t[1]]},e.prototype.convertToPixel=function(t,e,n){var i=YY(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=YY(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 YY(t){var e=t.seriesModel;return e?e.coordinateSystem:null}var CY=IY,jY={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},PY=["lng","lat"],EY=function(t){function e(e,n,i){var r=t.call(this,e)||this;r.dimensions=PY,r.type="geo",r._nameCoordMap=g["createHashMap"](),r.map=n;var a,o=i.projection,s=sY.load(n,i.nameMap,i.nameProperty),l=sY.getGeoResource(n),u=(r.resourceType=l?l.type:null,r.regions=s.regions),c=jY[l.type];if(r._regionsMap=s.regionsMap,r.regions=s.regions,r.projection=o,o)for(var d=0;d<u.length;d++){var h=u[d].getBoundingRect(o);a=a||h.clone(),a.union(h)}else a=s.boundingRect;return r.setBoundingRect(a.x,a.y,a.width,a.height),r.aspectScale=o?1:g["retrieve2"](i.aspectScale,c.aspectScale),r._invertLongitute=!o&&c.invertLongitute,r}return f(e,t),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 Ft(t,e,n,i));var s=o.parent;o.parent=null,o.decomposeTransform(),o.parent=s,a&&(o.scaleY=-o.scaleY),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++){var i=e[n];if("geoJSON"===i.type&&i.contain(t))return e[n]}},e.prototype.addGeoCoord=function(t,e){this._nameCoordMap.set(t,e)},e.prototype.getGeoCoord=function(t){var e=this._regionsMap.get(t);return this._nameCoordMap.get(t)||e&&e.getCenter()},e.prototype.dataToPoint=function(t,e,n){if(g["isString"](t)&&(t=this.getGeoCoord(t)),t){var i=this.projection;return i&&(t=i.project(t)),t&&this.projectedToPoint(t,e,n)}},e.prototype.pointToData=function(t){var e=this.projection;return e&&(t=e.unproject(t)),t&&this.pointToProjected(t)},e.prototype.pointToProjected=function(e){return t.prototype.pointToData.call(this,e)},e.prototype.projectedToPoint=function(e,n,i){return t.prototype.dataToPoint.call(this,e,n,i)},e.prototype.convertToPixel=function(t,e,n){var i=RY(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=RY(e);return i===this?i.pointToData(n):null},e}(CY);function RY(t){var e=t.geoModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",$r).models[0]||{}).coordinateSystem:null}g["mixin"](EY,CY);var NY=EY;function HY(t,e){var n=t.get("boundingCoords");if(null!=n){var i=n[0],r=n[1];if(isFinite(i[0])&&isFinite(i[1])&&isFinite(r[0])&&isFinite(r[1])){var a=this.projection;if(a){var o=i[0],s=i[1],l=r[0],u=r[1];i=[1/0,1/0],r=[-1/0,-1/0];var c=function(t,e,n,o){for(var s=n-t,l=o-e,u=0;u<=100;u++){var c=u/100,d=a.project([t+s*c,e+l*c]);z(i,i,d),B(r,r,d)}};c(o,s,l,s),c(l,s,l,u),c(l,u,o,u),c(o,u,l,s)}this.setBoundingRect(i[0],i[1],r[0]-i[0],r[1]-i[1])}else 0}var d,h,p,f=this.getBoundingRect(),_=t.get("layoutCenter"),g=t.get("layoutSize"),m=e.getWidth(),y=e.getHeight(),v=f.width/f.height*this.aspectScale,b=!1;if(_&&g&&(d=[Qi(_[0],m),Qi(_[1],y)],h=Qi(g,Math.min(m,y)),isNaN(d[0])||isNaN(d[1])||isNaN(h)||(b=!0)),b)p={},v>1?(p.width=h,p.height=h/v):(p.height=h,p.width=h*v),p.y=d[1]-p.height/2,p.x=d[0]-p.width/2;else{var x=t.getBoxLayoutParams();x.aspect=v,p=od(x,{width:m,height:y})}this.setViewRect(p.x,p.y,p.width,p.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}function zY(t,e){g["each"](e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}var BY=function(){function t(){this.dimensions=PY}return t.prototype.create=function(t,e){var n=[];function i(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,r){var a=t.get("map"),o=new NY(a+r,a,g["extend"]({nameMap:t.get("nameMap")},i(t)));o.zoomLimit=t.get("scaleLimit"),n.push(o),t.coordinateSystem=o,o.model=t,o.resize=HY,o.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 r={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),g["each"](r,(function(t,r){var a=g["map"](t,(function(t){return t.get("nameMap")})),o=new NY(r,r,g["extend"]({nameMap:g["mergeAll"](a)},i(t[0])));o.zoomLimit=g["retrieve"].apply(null,g["map"](t,(function(t){return t.get("scaleLimit")}))),n.push(o),o.resize=HY,o.resize(t[0],e),g["each"](t,(function(t){t.coordinateSystem=o,zY(o,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),a=g["createHashMap"](),o=0;o<r.length;o++)a.set(r[o].name,r[o]);var s=sY.load(e,n,i);return g["each"](s.regions,(function(t){var e=t.name;!a.get(e)&&r.push({name:e})})),r},t}(),FY=new BY,WY=FY,VY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.init=function(t,e,n){var i=sY.getGeoResource(t.map);if(i&&"geoJSON"===i.type){var r=t.itemStyle=t.itemStyle||{};"color"in r||(r.color="#eee")}this.mergeDefaultAndTheme(t,n),Tr(t,"label",["show"])},e.prototype.optionUpdated=function(){var t=this,e=this.option;e.regions=WY.getFilledRegions(e.regions,e.map,e.nameMap,e.nameProperty);var n={};this._optionModelMap=g["reduce"](e.regions||[],(function(e,i){var r=i.name;return r&&(e.set(r,new Gu(i,t,t.ecModel)),i.selected&&(n[r]=!0)),e}),g["createHashMap"]()),e.selectedMap||(e.selectedMap=n)},e.prototype.getRegionModel=function(t){return this._optionModelMap.get(t)||new Gu(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 g["isFunction"](i)?(r.status=e,i(r)):g["isString"](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.type="geo",e.layoutMode="box",e.defaultOption={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"},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}(gd),GY=VY;function UY(t,e){return t.pointToProjected?t.pointToProjected(e):t.pointToData(e)}function XY(t,e,n,i){var r=t.getZoom(),a=t.getCenter(),o=e.zoom,s=t.projectedToPoint?t.projectedToPoint(a):t.dataToPoint(a);if(null!=e.dx&&null!=e.dy&&(s[0]-=e.dx,s[1]-=e.dy,t.setCenter(UY(t,s),i)),null!=o){if(n){var l=n.min||0,u=n.max||1/0;o=Math.max(Math.min(r*o,u),l)/r}t.scaleX*=o,t.scaleY*=o;var c=(e.originX-t.x)*(o-1),d=(e.originY-t.y)*(o-1);t.x-=c,t.y-=d,t.updateTransform(),t.setCenter(UY(t,s),i),t.setZoom(o*r)}return{center:t.getCenter(),zoom:t.getZoom()}}var ZY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.focusBlurEnabled=!0,n}return f(e,t),e.prototype.init=function(t,e){this._api=e},e.prototype.render=function(t,e,n,i){if(this._model=t,!t.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new MY(n));var r=this._mapDraw;r.draw(t,e,n,this,i),r.group.on("click",this._handleRegionClick,this),r.group.silent=t.get("silent"),this.group.add(r.group),this.updateSelectStatus(t,e,n)},e.prototype._handleRegionClick=function(t){var e;hy(t.target,(function(t){return null!=(e=Ws(t).eventData)}),!0),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=Ws(t).eventData;if(e)return i._model.isSelected(e.name)?n.enterSelect(t):n.leaveSelect(t),!0}))},e.prototype.findHighDownDispatchers=function(t){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(t,this._model)},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},e.type="geo",e}(Uf),qY=ZY;function KY(t,e,n){sY.registerMap(t,e,n)}function JY(t){function e(e,n){n.update="geo:updateSelectStatus",t.registerAction(n,(function(t,n){var i={},r=[];return n.eachComponent({mainType:"geo",query:t},(function(n){n[e](t.name);var a=n.coordinateSystem;Object(g["each"])(a.regions,(function(t){i[t.name]=n.isSelected(t.name)||!1}));var o=[];Object(g["each"])(i,(function(t,e){i[e]&&o.push(e)})),r.push({geoIndex:n.componentIndex,name:o})})),{selected:i,allSelected:r,name:t.name}}))}t.registerCoordinateSystem("geo",WY),t.registerComponentModel(GY),t.registerComponentView(qY),t.registerImpl("registerMap",KY),t.registerImpl("getMap",(function(t){return sY.getMapForUser(t)})),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,n){var i=t.componentType||"series";e.eachComponent({mainType:i,query:t},(function(e){var r=e.coordinateSystem;if("geo"===r.type){var a=XY(r,t,e.get("scaleLimit"),n);e.setCenter&&e.setCenter(a.center),e.setZoom&&e.setZoom(a.zoom),"series"===i&&Object(g["each"])(e.seriesGroup,(function(t){t.setCenter(a.center),t.setZoom(a.zoom)}))}}))}))}function $Y(t){fx(JY),t.registerChartView(SY),t.registerSeriesModel(kY),t.registerLayout(OY),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,DY),uy("map",t.registerAction)}function QY(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 tC(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){aC(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=oC(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function eC(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function nC(t){return arguments.length?t:dC}function iC(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function rC(t,e){return od(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function aC(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 oC(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,c=o.hierNode.modifier,d=s.hierNode.modifier;while(s=sC(s),a=lC(a),s&&a){r=sC(r),o=lC(o),r.hierNode.ancestor=t;var h=s.hierNode.prelim+d-a.hierNode.prelim-u+i(s,a);h>0&&(cC(uC(s,t,n),t,h),u+=h,l+=h),d+=s.hierNode.modifier,u+=a.hierNode.modifier,l+=r.hierNode.modifier,c+=o.hierNode.modifier}s&&!sC(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=d-l),a&&!lC(o)&&(o.hierNode.thread=a,o.hierNode.modifier+=u-c,n=t)}return n}function sC(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function lC(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function uC(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function cC(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 dC(t,e){return t.parentNode===e.parentNode?1:2}var hC=function(){function t(){this.parentPoint=[],this.childPoints=[]}return t}(),pC=function(t){function e(e){return t.call(this,e)||this}return f(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new hC},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,c=Qi(e.forkPosition,1),d=[];d[l]=r[l],d[u]=r[u]+(o[u]-r[u])*c,t.moveTo(r[0],r[1]),t.lineTo(d[0],d[1]),t.moveTo(a[0],a[1]),d[l]=a[l],t.lineTo(d[0],d[1]),d[l]=o[l],t.lineTo(d[0],d[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]),d[l]=p[l],t.lineTo(d[0],d[1])}},e}(ss),fC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._mainGroup=new Ri,n}return f(e,t),e.prototype.init=function(t,e){this._controller=new cI(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,n),this._updateController(t,e,n);var s=this._data;i.diff(s).add((function(e){_C(i,e)&&gC(i,e,null,a,t)})).update((function(e,n){var r=s.getItemGraphicEl(n);_C(i,e)?gC(i,e,r,a,t):r&&bC(s,n,r,a,t)})).remove((function(e){var n=s.getItemGraphicEl(e);n&&bC(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,e){var n=t.getData(),i=[];n.each((function(t){var e=n.getItemLayout(t);!e||isNaN(e.x)||isNaN(e.y)||i.push([+e.x,+e.y])}));var r=[],a=[];lo(i,r,a);var o=this._min,s=this._max;a[0]-r[0]===0&&(r[0]=o?o[0]:r[0]-1,a[0]=s?s[0]:a[0]+1),a[1]-r[1]===0&&(r[1]=o?o[1]:r[1]-1,a[1]=s?s[1]:a[1]+1);var l=t.coordinateSystem=new CY;l.zoomLimit=t.get("scaleLimit"),l.setBoundingRect(r[0],r[1],a[0]-r[0],a[1]-r[1]),l.setCenter(t.get("center"),e),l.setZoom(t.get("zoom")),this.group.attr({x:l.x,y:l.y,scaleX:l.scaleX,scaleY:l.scaleY}),this._min=r,this._max=a},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)&&!_I(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){dI(a,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){hI(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}(pm);function _C(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(n.y)}function gC(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",c=t.tree.root,d=o.parentNode===c?o:o.parentNode||o,h=t.getItemGraphicEl(d.dataIndex),p=d.getLayout(),f=h?{x:h.__oldX,y:h.__oldY,rawX:h.__radialOldRawX,rawY:h.__radialOldRawY}:p,_=o.getLayout();a?(n=new uT(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=_.rawX,n.__radialRawY=_.rawY,i.add(n),t.setItemGraphicEl(e,n),n.__oldX=n.x,n.__oldY=n.y,lu(n,{x:_.x,y:_.y},r);var m=n.getSymbolPath();if("radial"===r.get("layout")){var y=c.children[0],v=y.getLayout(),b=y.children.length,x=void 0,M=void 0;if(_.x===v.x&&!0===o.isExpand&&y.children.length){var w={x:(y.children[0].getLayout().x+y.children[b-1].getLayout().x)/2,y:(y.children[0].getLayout().y+y.children[b-1].getLayout().y)/2};x=Math.atan2(w.y-v.y,w.x-v.x),x<0&&(x=2*Math.PI+x),M=w.x<v.x,M&&(x-=Math.PI)}else x=Math.atan2(_.y-v.y,_.x-v.x),x<0&&(x=2*Math.PI+x),0===o.children.length||0!==o.children.length&&!1===o.isExpand?(M=_.x<v.x,M&&(x-=Math.PI)):(M=_.x>v.x,M||(x-=Math.PI));var S=M?"left":"right",L=s.getModel("label"),k=L.get("rotate"),T=k*(Math.PI/180),D=m.getTextContent();D&&(m.setTextConfig({position:L.get("position")||S,rotation:null==k?-x:T,origin:"center"}),D.setStyle("verticalAlign","middle"))}var O=s.get(["emphasis","focus"]),A="relative"===O?g["concatArray"](o.getAncestorsIndices(),o.getDescendantIndices()):"ancestor"===O?o.getAncestorsIndices():"descendant"===O?o.getDescendantIndices():null;A&&(Ws(n).focus=A),mC(r,o,c,n,f,p,_,i),n.__edge&&(n.onHoverStateChange=function(e){if("blur"!==e){var i=o.parentNode&&t.getItemGraphicEl(o.parentNode.dataIndex);i&&i.hoverState===Ks||vl(n.__edge,e)}})}function mC(t,e,n,i,r,a,o,s){var l=e.getModel(),u=t.get("edgeShape"),c=t.get("layout"),d=t.getOrient(),h=t.get(["lineStyle","curveness"]),p=t.get("edgeForkPosition"),f=l.getModel("lineStyle").getLineStyle(),_=i.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(_||(_=i.__edge=new og({shape:xC(c,d,h,r,r)})),lu(_,{shape:xC(c,d,h,a,o)},t));else if("polyline"===u)if("orthogonal"===c){if(e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var m=e.children,y=[],v=0;v<m.length;v++){var b=m[v].getLayout();y.push([b.x,b.y])}_||(_=i.__edge=new pC({shape:{parentPoint:[o.x,o.y],childPoints:[[o.x,o.y]],orient:d,forkPosition:p}})),lu(_,{shape:{parentPoint:[o.x,o.y],childPoints:y}},t)}}else 0;_&&("polyline"!==u||e.isExpand)&&(_.useStyle(g["defaults"]({strokeNoScale:!0,fill:null},f)),Jl(_,l,"lineStyle"),Ll(_),s.add(_))}function yC(t,e,n,i,r){var a=e.tree.root,o=vC(a,t),s=o.source,l=o.sourceLayout,u=e.getItemGraphicEl(t.dataIndex);if(u){var c=e.getItemGraphicEl(s.dataIndex),d=c.__edge,h=u.__edge||(!1===s.isExpand||1===s.children.length?d:void 0),p=i.get("edgeShape"),f=i.get("layout"),_=i.get("orient"),g=i.get(["lineStyle","curveness"]);h&&("curve"===p?du(h,{shape:xC(f,_,g,l,l),style:{opacity:0}},i,{cb:function(){n.remove(h)},removeOpt:r}):"polyline"===p&&"orthogonal"===i.get("layout")&&du(h,{shape:{parentPoint:[l.x,l.y],childPoints:[[l.x,l.y]]},style:{opacity:0}},i,{cb:function(){n.remove(h)},removeOpt:r}))}}function vC(t,e){var n,i=e.parentNode===t?e:e.parentNode||e;while(n=i.getLayout(),null==n)i=i.parentNode===t?i:i.parentNode||i;return{source:i,sourceLayout:n}}function bC(t,e,n,i,r){var a=t.tree.getNodeByDataIndex(e),o=t.tree.root,s=vC(o,a).sourceLayout,l={duration:r.get("animationDurationUpdate"),easing:r.get("animationEasingUpdate")};du(n,{x:s.x+1,y:s.y+1},r,{cb:function(){i.remove(n),t.setItemGraphicEl(e,null)},removeOpt:l}),n.fadeOut(null,t.hostModel,{fadeLabel:!0,animation:l}),a.children.forEach((function(e){yC(e,t,i,r,l)})),yC(a,t,i,r,l)}function xC(t,e,n,i,r){var a,o,s,l,u,c,d,h;if("radial"===t){u=i.rawX,d=i.rawY,c=r.rawX,h=r.rawY;var p=iC(u,d),f=iC(u,d+(h-d)*n),_=iC(c,h+(d-h)*n),g=iC(c,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:_.x||0,cpy2:_.y||0}}return u=i.x,d=i.y,c=r.x,h=r.y,"LR"!==e&&"RL"!==e||(a=u+(c-u)*n,o=d,s=c+(u-c)*n,l=h),"TB"!==e&&"BT"!==e||(a=u,o=d+(h-d)*n,s=c,l=h+(d-h)*n),{x1:u,y1:d,x2:c,y2:h,cpx1:a,cpy1:o,cpx2:s,cpy2:l}}var MC=fC,wC=Zr();function SC(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,IC(e,n,t),Object(g["each"])(n,(function(n){Object(g["each"])(e.TRANSFERABLE_METHODS,(function(e){n.wrapMethod(e,Object(g["curry"])(LC,t))}))})),e.wrapMethod("cloneShallow",Object(g["curry"])(TC,t)),Object(g["each"])(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,Object(g["curry"])(kC,t))})),Object(g["assert"])(n[e.dataType]===e)}function LC(t,e){if(AC(this)){var n=Object(g["extend"])({},wC(this).datas);n[this.dataType]=e,IC(e,n,t)}else YC(e,this.dataType,wC(this).mainData,t);return e}function kC(t,e){return t.struct&&t.struct.update(),e}function TC(t,e){return Object(g["each"])(wC(e).datas,(function(n,i){n!==e&&YC(n.cloneShallow(),i,e,t)})),e}function DC(t){var e=wC(this).mainData;return null==t||null==e?e:wC(e).datas[t]}function OC(){var t=wC(this).mainData;return null==t?[{data:t}]:Object(g["map"])(Object(g["keys"])(wC(t).datas),(function(e){return{type:e,data:wC(t).datas[e]}}))}function AC(t){return wC(t).mainData===t}function IC(t,e,n){wC(t).datas={},Object(g["each"])(e,(function(e,i){YC(e,i,t,n)}))}function YC(t,e,n,i){wC(n).datas[e]=t,wC(t).mainData=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=DC,t.getLinkedDataAll=OC}var CC=SC,jC=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){g["isFunction"](t)&&(n=e,e=t,t=null),t=t||{},g["isString"](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.getStore().get(e.getDimensionIndex(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.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e<t.length;++e)if(t[e]===this)return e;return-1}return-1},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}(),PC=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,g["isArray"](n)?n.length:1),a.push(t);var i=new jC(zr(t.name,""),r);e?EC(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=Kx(a,{coordDimensions:["value"],dimensionsCount:o}).dimensions,u=new Zx(l,n);return u.initData(a),i&&i(u),CC({mainData:u,struct:r,structAttr:"tree"}),r.update(),r},t}();function EC(t,e){var n=e.children;t.parentNode!==e&&(n.push(t),t.parentNode=e)}var RC=PC;function NC(t,e,n){if(t&&g["indexOf"](e,t.type)>=0){var i=n.getData().tree.root,r=t.targetNode;if(g["isString"](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 HC(t){var e=[];while(t)t=t.parentNode,t&&e.push(t);return e.reverse()}function zC(t,e){var n=HC(t);return g["indexOf"](n,e)>=0}function BC(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 FC=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return f(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new Gu(n,this,this.ecModel),r=RC.createTree(e,this,a);function a(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e);return n&&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 ff("nameValue",{name:s,value:o,noValue:isNaN(o)||null==o})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=BC(i,this),n.collapsed=!i.isExpand,n},e.type="series.tree",e.layoutMode="box",e.defaultOption={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",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(Vf),WC=FC;function VC(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 GC(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 UC(t,e){t.eachSeriesByType("tree",(function(t){XC(t,e)}))}function XC(t,e){var n=rC(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=nC((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(r=n.width,a=n.height,o=nC());var s=t.getData().tree.root,l=s.children[0];if(l){QY(s),VC(l,tC,o),s.hierNode.modifier=-l.hierNode.prelim,GC(l,eC);var u=l,c=l,d=l;GC(l,(function(t){var e=t.getLayout().x;e<u.getLayout().x&&(u=t),e>c.getLayout().x&&(c=t),t.depth>d.depth&&(d=t)}));var h=u===c?1:o(u,c)/2,p=h-u.getLayout().x,f=0,_=0,g=0,m=0;if("radial"===i)f=r/(c.getLayout().x+h+p),_=a/(d.depth-1||1),GC(l,(function(t){g=(t.getLayout().x+p)*f,m=(t.depth-1)*_;var e=iC(g,m);t.setLayout({x:e.x,y:e.y,rawX:g,rawY:m},!0)}));else{var y=t.getOrient();"RL"===y||"LR"===y?(_=a/(c.getLayout().x+h+p),f=r/(d.depth-1||1),GC(l,(function(t){m=(t.getLayout().x+p)*_,g="LR"===y?(t.depth-1)*f:r-(t.depth-1)*f,t.setLayout({x:g,y:m},!0)}))):"TB"!==y&&"BT"!==y||(f=r/(c.getLayout().x+h+p),_=a/(d.depth-1||1),GC(l,(function(t){g=(t.getLayout().x+p)*f,m="TB"===y?(t.depth-1)*_:a-(t.depth-1)*_,t.setLayout({x:g,y:m},!0)})))}}}function ZC(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");Object(g["extend"])(r,i)}))}))}function qC(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,n){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var i=e.coordinateSystem,r=XY(i,t,void 0,n);e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom)}))}))}function KC(t){t.registerChartView(MC),t.registerSeriesModel(WC),t.registerLayout(UC),t.registerVisual(ZC),qC(t)}var JC=["treemapZoomToNode","treemapRender","treemapMove"];function $C(t){for(var e=0;e<JC.length;e++)t.registerAction({type:JC[e],update:"updateView"},g["noop"]);t.registerAction({type:"treemapRootToNode",update:"updateView"},(function(t,e){function n(e,n){var i=["treemapZoomToNode","treemapRootToNode"],r=NC(t,i,e);if(r){var a=e.getViewRoot();a&&(t.direction=zC(a,r.node)?"rollUp":"drillDown"),e.resetViewRoot(r.node)}}e.eachComponent({mainType:"series",subType:"treemap",query:t},n)}))}function QC(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=Vd(t.ecModel,n.name||n.dataIndex+"",i);e.setVisual("decal",r)}))}var tj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return f(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};ej(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},a=new Gu({itemStyle:r},this,e);i=t.levels=nj(i,e);var o=g["map"](i||[],(function(t){return new Gu(t,a,e)}),this),s=RC.createTree(n,this,l);function l(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),i=n?o[n.depth]:null;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 ff("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.treeAncestors=BC(i,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},g["extend"](this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=g["createHashMap"](),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(){QC(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"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},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%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(Vf);function ej(t){var e=0;g["each"](t.children,(function(t){ej(t);var n=t.value;g["isArray"](n)&&(n=n[0]),e+=n}));var n=t.value;g["isArray"](n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),g["isArray"](t.value)?t.value[0]=n:t.value=n}function nj(t,e){var n=kr(e.get("color")),i=kr(e.get(["aria","decal","decals"]));if(n){var r,a;t=t||[],g["each"](t,(function(t){var e=new Gu(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 ij=tj,rj=8,aj=8,oj=5,sj=function(){function t(t){this.group=new Ri,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=r.getModel("emphasis"),l=o.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),c={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,c,l),this._renderContent(t,c,o,s,l,u,i),sd(a,c.pos,c.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=zr(i.getModel().get("name"),""),a=n.getTextRect(r),o=Math.max(a.width+2*rj,e.emptyItemWidth);e.totalWidth+=o+aj,e.renderList.push({node:i,text:r,width:o})}},t.prototype._renderContent=function(t,e,n,i,r,a,o){for(var s=0,l=e.emptyItemWidth,u=t.get(["breadcrumb","height"]),c=ad(e.pos,e.box),d=e.totalWidth,h=e.renderList,p=i.getModel("itemStyle").getItemStyle(),f=h.length-1;f>=0;f--){var _=h[f],m=_.node,y=_.width,v=_.text;d>c.width&&(d-=y-l,y=l,v=null);var b=new Z_({shape:{points:lj(s,0,y,u,f===h.length-1,0===f)},style:Object(g["defaults"])(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new Fs({style:xu(r,{text:v})}),textConfig:{position:"inside"},z2:1e4*tl,onclick:Object(g["curry"])(o,m)});b.disableLabelAnimation=!0,b.getTextContent().ensureState("emphasis").style=xu(a,{text:v}),b.ensureState("emphasis").style=p,Xl(b,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(b),uj(b,t,m),s+=y+aj}},t.prototype.remove=function(){this.group.removeAll()},t}();function lj(t,e,n,i,r,a){var o=[[r?t:t-oj,e],[t+n,e],[t+n,e+i],[r?t:t-oj,e+i]];return!a&&o.splice(2,0,[t+n+oj,e+i/2]),!r&&o.push([t,e+i/2]),o}function uj(t,e,n){Ws(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&BC(n,e)}}var cj=sj,dj=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 hj(){return new dj}var pj=Ri,fj=Ss,_j=3,gj="label",mj="upperLabel",yj=10*tl,vj=2*tl,bj=3*tl,xj=ba([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),Mj=function(t){var e=xj(t);return e.stroke=e.fill=e.lineWidth=null,e},wj=Zr(),Sj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._state="ready",n._storage=Lj(),n}return f(e,t),e.prototype.render=function(t,e,n,i){var r=e.findComponents({mainType:"series",subType:"treemap",query:i});if(!(Object(g["indexOf"])(r,t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var a=["treemapZoomToNode","treemapRootToNode"],o=NC(i,a,t),s=i&&i.type,l=t.layoutInfo,u=!this._oldTree,c=this._storage,d="treemapRootToNode"===s&&o&&c?{rootNodeGroup:c.nodeGroup[o.node.getRawIndex()],direction:i.direction}:null,h=this._giveContainerGroup(l),p=t.get("animation"),f=this._doRender(h,t,d);!p||u||s&&"treemapZoomToNode"!==s&&"treemapRootToNode"!==s?f.renderFinally():this._doAnimation(h,f,t,d),this._resetController(n),this._renderBreadcrumb(t,n,o)}},e.prototype._giveContainerGroup=function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new pj,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=Lj(),o=Lj(),s=this._storage,l=[];function u(t,i,r,u){return kj(e,o,s,n,a,l,t,i,r,u)}d(i.root?[i.root]:[],r&&r.root?[r.root]:[],t,i===r||!r,0);var c=h(s);return this._oldTree=i,this._storage=o,{lastsForAnimation:a,willDeleteEls:c,renderFinally:p};function d(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,c=u(s,l,n,r);c&&d(s&&s.viewChildren||[],l&&l.viewChildren||[],c,i,r+1)}i?(e=t,Object(g["each"])(t,(function(t,e){!t.isRemoved()&&o(e,e)}))):new yx(e,t,a,a).add(o).update(o).remove(Object(g["curry"])(o,null)).execute()}function h(t){var e=Lj();return t&&Object(g["each"])(t,(function(t,n){var i=e[n];Object(g["each"])(t,(function(t){t&&(i.push(t),wj(t).willDelete=!0)}))})),e}function p(){Object(g["each"])(c,(function(t){Object(g["each"])(t,(function(t){t.parent&&t.parent.remove(t)}))})),Object(g["each"])(l,(function(t){t.invisible=!0,t.dirty()}))}},e.prototype._doAnimation=function(t,e,n,i){var r=n.get("animationDurationUpdate"),a=n.get("animationEasing"),o=(Object(g["isFunction"])(r)?0:r)||0,s=(Object(g["isFunction"])(a)?null:a)||"cubicOut",l=hj();Object(g["each"])(e.willDeleteEls,(function(t,e){Object(g["each"])(t,(function(t,n){if(!t.invisible){var r,a=t.parent,u=wj(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 c=0,d=0;u.willDelete||(c=u.nodeWidth/2,d=u.nodeHeight/2),r="nodeGroup"===e?{x:c,y:d,style:{opacity:0}}:{shape:{x:c,y:d,width:0,height:0},style:{opacity:0}}}r&&l.add(t,r,o,0,s)}}))})),Object(g["each"])(this._storage,(function(t,n){Object(g["each"])(t,(function(t,i){var r=e.lastsForAnimation[n][i],a={};r&&(t instanceof Ri?null!=r.oldX&&(a.x=t.x,a.y=t.y,t.x=r.oldX,t.y=r.oldY):(r.oldShape&&(a.shape=Object(g["extend"])({},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(Object(g["bind"])((function(){this._state="ready",e.renderFinally()}),this)).start()},e.prototype._resetController=function(t){var e=this._controller;e||(e=this._controller=new cI(t.getZr()),e.enable(this.seriesModel.get("roam")),e.on("pan",Object(g["bind"])(this._onPan,this)),e.on("zoom",Object(g["bind"])(this._onZoom,this)));var n=new Ft(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)>_j||Math.abs(t.dy)>_j)){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 Ft(r.x,r.y,r.width,r.height),o=this.seriesModel.layoutInfo;e-=o.x,n-=o.y;var s=Mt();kt(s,s,[-e,-n]),Dt(s,s,[t.scale,t.scale]),kt(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&&Qc(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 cj(this.group))).render(t,e,n.node,(function(e){"animating"!==i._state&&(zC(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))}))},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=Lj(),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}(pm);function Lj(){return{nodeGroup:[],background:[],content:[]}}function kj(t,e,n,i,r,a,o,s,l,u){if(o){var c=o.getLayout(),d=t.getData(),h=o.getModel();if(d.setItemGraphicEl(o.dataIndex,null),c&&c.isInView){var p=c.width,f=c.height,_=c.borderWidth,m=c.invisible,y=o.getRawIndex(),v=s&&s.getRawIndex(),b=o.viewChildren,x=c.upperHeight,M=b&&b.length,w=h.getModel("itemStyle"),S=h.getModel(["emphasis","itemStyle"]),L=h.getModel(["blur","itemStyle"]),k=h.getModel(["select","itemStyle"]),T=w.get("borderRadius")||0,D=B("nodeGroup",pj);if(D){if(l.add(D),D.x=c.x||0,D.y=c.y||0,D.markRedraw(),wj(D).nodeWidth=p,wj(D).nodeHeight=f,c.isAboveViewRoot)return D;var O=B("background",fj,u,vj);O&&E(D,O,M&&c.upperLabelHeight);var A=h.getModel("emphasis"),I=A.get("focus"),Y=A.get("blurScope"),C=A.get("disabled"),j="ancestor"===I?o.getAncestorsIndices():"descendant"===I?o.getDescendantIndices():I;if(M)Ql(D)&&$l(D,!1),O&&($l(O,!C),d.setItemGraphicEl(o.dataIndex,O),Zl(O,j,Y));else{var P=B("content",fj,u,bj);P&&R(D,P),O.disableMorphing=!0,O&&Ql(O)&&$l(O,!1),$l(D,!C),d.setItemGraphicEl(o.dataIndex,D),Zl(D,j,Y)}return D}}}function E(e,n,i){var r=Ws(n);if(r.dataIndex=o.dataIndex,r.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:p,height:f,r:T}),m)N(n);else{n.invisible=!1;var a=o.getVisual("style"),s=a.stroke,l=Mj(w);l.fill=s;var u=xj(S);u.fill=S.get("borderColor");var c=xj(L);c.fill=L.get("borderColor");var d=xj(k);if(d.fill=k.get("borderColor"),i){var h=p-2*_;H(n,s,a.opacity,{x:_,y:0,width:h,height:x})}else n.removeTextContent();n.setStyle(l),n.ensureState("emphasis").style=u,n.ensureState("blur").style=c,n.ensureState("select").style=d,Ll(n)}e.add(n)}function R(e,n){var i=Ws(n);i.dataIndex=o.dataIndex,i.seriesIndex=t.seriesIndex;var r=Math.max(p-2*_,0),a=Math.max(f-2*_,0);if(n.culling=!0,n.setShape({x:_,y:_,width:r,height:a,r:T}),m)N(n);else{n.invisible=!1;var s=o.getVisual("style"),l=s.fill,u=Mj(w);u.fill=l,u.decal=s.decal;var c=xj(S),d=xj(L),h=xj(k);H(n,l,s.opacity,null),n.setStyle(u),n.ensureState("emphasis").style=c,n.ensureState("blur").style=d,n.ensureState("select").style=h,Ll(n)}e.add(n)}function N(t){!t.invisible&&a.push(t)}function H(e,n,i,r){var a=h.getModel(r?mj:gj),s=zr(h.get("name"),null),l=a.getShallow("show");vu(e,bu(h,r?mj:gj),{defaultText:l?s:null,inheritColor:n,defaultOpacity:i,labelFetcher:t,labelDataIndex:o.dataIndex});var u=e.getTextContent();if(u){var d=u.style,p=Object(g["normalizeCssArray"])(d.padding||0);r&&(e.setTextConfig({layoutRect:r}),u.disableLabelLayout=!0),u.beforeUpdate=function(){var t=Math.max((r?r.width:e.shape.width)-p[1]-p[3],0),n=Math.max((r?r.height:e.shape.height)-p[0]-p[2],0);d.width===t&&d.height===n||u.setStyle({width:t,height:n})},d.truncateMinChar=2,d.lineOverflow="truncate",z(d,r,c);var f=u.getState("emphasis");z(f?f.style:null,r,c)}}function z(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 B(t,i,a,o){var s=null!=v&&n[t][v],l=r[t];return s?(n[t][v]=null,F(l,s)):m||(s=new i,s instanceof Qa&&(s.z2=Tj(a,o)),W(l,s)),e[t][y]=s}function F(t,e){var n=t[y]={};e instanceof pj?(n.oldX=e.x,n.oldY=e.y):n.oldShape=Object(g["extend"])({},e.shape)}function W(t,e){var n=t[y]={},a=o.parentNode,s=e instanceof Ri;if(a&&(!i||"drillDown"===i.direction)){var l=0,u=0,c=r.background[a.getRawIndex()];!i&&c&&c.oldShape&&(l=c.oldShape.width,u=c.oldShape.height),s?(n.oldX=0,n.oldY=u):n.oldShape={x:l,y:u,width:0,height:0}}n.fadein=!s}}function Tj(t,e){return t*yj+e}var Dj=Sj,Oj=g["each"],Aj=g["isObject"],Ij=-1,Yj=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=g["clone"](e);this.type=i,this.mappingMethod=n,this._normalizeData=Vj[n];var a=t.visualHandlers[i];this.applyVisual=a.applyVisual,this.getColorMapper=a.getColorMapper,this._normalizedToVisual=a._normalizedToVisual[n],"piecewise"===n?(Pj(r),Cj(r)):"category"===n?r.categories?jj(r):Pj(r,!0):(g["assert"]("linear"!==n||r.dataExtent),Pj(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return g["bind"](this._normalizeData,this)},t.listVisualTypes=function(){return g["keys"](t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){g["isObject"](t)?g["each"](t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,a=g["isArray"](e)?[]:g["isObject"](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&&Oj(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)})),n?i:null},t.prepareVisualTypes=function(t){if(g["isArray"](t))t=t.slice();else{if(!Aj(t))return[];var e=[];Oj(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||g["isString"](s)&&s===t+"")return a;n&&d(s,a)}}for(a=0,o=e.length;a<o;a++){var l=e[a],u=l.interval,c=l.close;if(u){if(u[0]===-1/0){if(Gj(c[1],t,u[1]))return a}else if(u[1]===1/0){if(Gj(c[0],u[0],t))return a}else if(Gj(c[0],u[0],t)&&Gj(c[1],t,u[1]))return a;n&&d(u[0],a),n&&d(u[1],a)}}if(n)return t===1/0?e.length-1:t===-1/0?0:i;function d(e,n){var a=Math.abs(e-t);a<r&&(r=a,i=n)}},t.visualHandlers={color:{applyVisual:Nj("color"),getColorMapper:function(){var t=this.option;return g["bind"]("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),Hj.call(this,t)}:function(e,n,i){var r=!!i;return!n&&(e=this._normalizeData(e)),i=$e["fastLerp"](e,t.parsedVisual,i),r?i:$e["stringify"](i,"rgba")},this)},_normalizedToVisual:{linear:function(t){return $e["stringify"]($e["fastLerp"](t,this.option.parsedVisual),"rgba")},category:Hj,piecewise:function(t,e){var n=Fj.call(this,e);return null==n&&(n=$e["stringify"]($e["fastLerp"](t,this.option.parsedVisual),"rgba")),n},fixed:zj}},colorHue:Ej((function(t,e){return $e["modifyHSL"](t,e)})),colorSaturation:Ej((function(t,e){return $e["modifyHSL"](t,null,e)})),colorLightness:Ej((function(t,e){return $e["modifyHSL"](t,null,null,e)})),colorAlpha:Ej((function(t,e){return $e["modifyAlpha"](t,e)})),decal:{applyVisual:Nj("decal"),_normalizedToVisual:{linear:null,category:Hj,piecewise:null,fixed:null}},opacity:{applyVisual:Nj("opacity"),_normalizedToVisual:Bj([0,1])},liftZ:{applyVisual:Nj("liftZ"),_normalizedToVisual:{linear:zj,category:zj,piecewise:zj,fixed:zj}},symbol:{applyVisual:function(t,e,n){var i=this.mapValueToVisual(t);n("symbol",i)},_normalizedToVisual:{linear:Rj,category:Hj,piecewise:function(t,e){var n=Fj.call(this,e);return null==n&&(n=Rj.call(this,t)),n},fixed:zj}},symbolSize:{applyVisual:Nj("symbolSize"),_normalizedToVisual:Bj([0,1])}},t}();function Cj(t){var e=t.pieceList;t.hasSpecialVisual=!1,g["each"](e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}function jj(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(Oj(e,(function(t,e){n[t]=e})),!g["isArray"](i)){var r=[];g["isObject"](i)?Oj(i,(function(t,e){var i=n[e];r[null!=i?i:Ij]=t})):r[Ij]=i,i=Wj(t,r)}for(var a=e.length-1;a>=0;a--)null==i[a]&&(delete n[e[a]],e.pop())}function Pj(t,e){var n=t.visual,i=[];g["isObject"](n)?Oj(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]),Wj(t,i)}function Ej(t){return{applyVisual:function(e,n,i){var r=this.mapValueToVisual(e);i("color",t(n("color"),r))},_normalizedToVisual:Bj([0,1])}}function Rj(t){var e=this.option.visual;return e[Math.round($i(t,[0,1],[0,e.length-1],!0))]||{}}function Nj(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function Hj(t){var e=this.option.visual;return e[this.option.loop&&t!==Ij?t%e.length:t]}function zj(){return this.option.visual[0]}function Bj(t){return{linear:function(e){return $i(e,t,this.option.visual,!0)},category:Hj,piecewise:function(e,n){var i=Fj.call(this,n);return null==i&&(i=$i(e,t,this.option.visual,!0)),i},fixed:zj}}function Fj(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=Yj.findPieceIndex(t,n),r=n[i];if(r&&r.visual)return r.visual[this.type]}}function Wj(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=g["map"](e,(function(t){var e=$e["parse"](t);return e||[0,0,0,1]}))),e}var Vj={linear:function(t){return $i(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=Yj.findPieceIndex(t,e,!0);if(null!=n)return $i(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?Ij:e},fixed:g["noop"]};function Gj(t,e,n){return t?e<=n:e<n}var Uj=Yj,Xj="itemStyle",Zj=Zr(),qj={seriesType:"treemap",reset:function(t){var e=t.getData().tree,n=e.root;n.isRemoved()||Kj(n,{},t.getViewRoot().getAncestors(),t)}};function Kj(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(Xj),u=Jj(l,e,i),c=o.ensureUniqueItemVisual(t.dataIndex,"style"),d=l.get("borderColor"),h=l.get("borderColorSaturation");null!=h&&(s=$j(u),d=Qj(h,s)),c.stroke=d;var p=t.viewChildren;if(p&&p.length){var f=eP(t,r,a,l,u,p);Object(g["each"])(p,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var a=iP(r,u,t,e,f,i);Kj(t,a,n,i)}}))}else s=$j(u),c.fill=s}}function Jj(t,e,n){var i=Object(g["extend"])({},e),r=n.designatedVisualItemStyle;return Object(g["each"])(["color","colorAlpha","colorSaturation"],(function(n){r[n]=e[n];var a=t.get(n);r[n]=null,null!=a&&(i[n]=a)})),i}function $j(t){var e=tP(t,"color");if(e){var n=tP(t,"colorAlpha"),i=tP(t,"colorSaturation");return i&&(e=Object($e["modifyHSL"])(e,null,null,i)),n&&(e=Object($e["modifyAlpha"])(e,n)),e}}function Qj(t,e){return null!=e?Object($e["modifyHSL"])(e,null,null,t):null}function tP(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function eP(t,e,n,i,r,a){if(a&&a.length){var o=nP(e,"color")||null!=r.color&&"none"!==r.color&&(nP(e,"colorAlpha")||nP(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 c=e.get("colorMappingBy"),d={type:o.name,dataExtent:u,visual:o.range};"color"!==d.type||"index"!==c&&"id"!==c?d.mappingMethod="linear":(d.mappingMethod="category",d.loop=!0);var h=new Uj(d);return Zj(h).drColorMappingBy=c,h}}}function nP(t,e){var n=t.get(e);return Object(g["isArray"])(n)&&n.length?{name:e,range:n}:null}function iP(t,e,n,i,r,a){var o=Object(g["extend"])({},e);if(r){var s=r.type,l="color"===s&&Zj(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 rP=Math.max,aP=Math.min,oP=g["retrieve"],sP=g["each"],lP=["itemStyle","borderWidth"],uP=["itemStyle","gapWidth"],cP=["upperLabel","show"],dP=["upperLabel","height"],hP={seriesType:"treemap",reset:function(t,e,n,i){var r=n.getWidth(),a=n.getHeight(),o=t.option,s=od(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=o.size||[],u=Qi(oP(s.width,l[0]),r),c=Qi(oP(s.height,l[1]),a),d=i&&i.type,h=["treemapZoomToNode","treemapRootToNode"],p=NC(i,h,t),f="treemapRender"===d||"treemapMove"===d?i.rootRect:null,_=t.getViewRoot(),m=HC(_);if("treemapMove"!==d){var y="treemapZoomToNode"===d?bP(t,p,_,u,c):f?[f.width,f.height]:[u,c],v=o.sort;v&&"asc"!==v&&"desc"!==v&&(v="desc");var b={squareRatio:o.squareRatio,sort:v,leafDepth:o.leafDepth};_.hostTree.clearLayouts();var x={x:0,y:0,width:y[0],height:y[1],area:y[0]*y[1]};_.setLayout(x),pP(_,b,!1,0),x=_.getLayout(),sP(m,(function(t,e){var n=(m[e+1]||_).getValue();t.setLayout(g["extend"]({dataExtent:[n,n],borderWidth:0,upperHeight:0},x))}))}var M=t.getData().tree.root;M.setLayout(xP(s,f,p),!0),t.setLayoutInfo(s),MP(M,new Ft(-s.x,-s.y,r,a),m,_,0)}};function pP(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(lP),u=s.get(uP)/2,c=wP(s),d=Math.max(l,c),h=l-u,p=d-u;t.setLayout({borderWidth:l,upperHeight:d,upperLabelHeight:c},!0),r=rP(r-2*h,0),a=rP(a-h-p,0);var f=r*a,_=fP(t,s,f,e,n,i);if(_.length){var g={x:h,y:p,width:r,height:a},m=aP(r,a),y=1/0,v=[];v.area=0;for(var b=0,x=_.length;b<x;){var M=_[b];v.push(M),v.area+=M.getLayout().area;var w=yP(v,m,e.squareRatio);w<=y?(b++,y=w):(v.area-=v.pop().getLayout().area,vP(v,m,g,u,!1),m=aP(g.width,g.height),v.length=v.area=0,y=1/0)}if(v.length&&vP(v,m,g,u,!0),!n){var S=s.get("childrenVisibleMin");null!=S&&f<S&&(n=!0)}for(b=0,x=_.length;b<x;b++)pP(_[b],e,n,i+1)}}}function fP(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=g["filter"](o,(function(t){return!t.isRemoved()})),gP(o,s);var u=mP(e,o,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=_P(e,n,u.sum,s,o),0===u.sum)return t.viewChildren=[];for(var c=0,d=o.length;c<d;c++){var h=o[c].getValue()/u.sum*n;o[c].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 _P(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 gP(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 mP(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],sP(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 yP(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?rP(u*i/l,l/(u*r)):1/0}function vP(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]],c=e?t.area/e:0;(r||c>n[l[o]])&&(c=n[l[o]]);for(var d=0,h=t.length;d<h;d++){var p=t[d],f={},_=c?p.getLayout().area/c:0,g=f[l[o]]=rP(c-2*i,0),m=n[s[a]]+n[l[a]]-u,y=d===h-1||m<_?m:_,v=f[l[a]]=rP(y-2*i,0);f[s[o]]=n[s[o]]+aP(i,g/2),f[s[a]]=u+aP(i,v/2),u+=y,p.setLayout(f,!0)}n[s[o]]+=c,n[l[o]]-=c}function bP(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 c=0,d=a.children,h=0,p=d.length;h<p;h++)c+=d[h].getValue();var f=o.getValue();if(0===f)return s;u*=c/f;var _=a.getModel(),g=_.get(lP),m=Math.max(g,wP(_));u+=4*g*g+(3*g+m)*Math.pow(u,.5),u>lr&&(u=lr),o=a}u<l&&(u=l);var y=Math.pow(u/l,.5);return[i*y,r*y]}function xP(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 MP(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 Ft(e.x-a.x,e.y-a.y,e.width,e.height);sP(t.viewChildren||[],(function(t){MP(t,l,n,i,r+1)}))}}function wP(t){return t.get(cP)?t.get(dP):0}function SP(t){t.registerSeriesModel(ij),t.registerChartView(Dj),t.registerVisual(qj),t.registerLayout(hP),$C(t)}function LP(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){Object(g["isNumber"])(i)&&(i=a[i]);for(var o=0;o<e.length;o++)if(!e[o].isSelected(i))return!1}return!0}))}))}function kP(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 c=o.getShallow(l[u],!0);null!=c&&n.setItemVisual(i,l[u],c)}})),n.count()&&i.each((function(t){var e=i.getItemModel(t),a=e.getShallow("category");if(null!=a){Object(g["isString"])(a)&&(a=r["ec-"+a]);var o=n.getItemVisual(a,"style"),s=i.ensureUniqueItemVisual(t,"style");Object(g["extend"])(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 TP(t){return t instanceof Array||(t=[t,t]),t}function DP(t){t.eachSeriesByType("graph",(function(t){var e=t.getGraph(),n=t.getEdgeData(),i=TP(t.get("edgeSymbol")),r=TP(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=TP(i.getShallow("symbol",!0)),o=TP(i.getShallow("symbolSize",!0)),s=i.getModel("lineStyle").getLineStyle(),l=n.ensureUniqueItemVisual(t,"style");switch(Object(g["extend"])(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 OP="--\x3e",AP=function(t){return t.get("autoCurveness")||null},IP=function(t,e){var n=AP(t),i=20,r=[];if(g["isNumber"](n))i=n;else if(g["isArray"](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},YP=function(t,e,n){var i=[t.id,t.dataIndex].join("."),r=[e.id,e.dataIndex].join(".");return[n.uid,i,r].join(OP)},CP=function(t){var e=t.split(OP);return[e[0],e[2],e[1]].join(OP)},jP=function(t,e){var n=YP(t.node1,t.node2,e);return e.__edgeMap[n]},PP=function(t,e){var n=EP(YP(t.node1,t.node2,e),e),i=EP(YP(t.node2,t.node1,e),e);return n+i},EP=function(t,e){var n=e.__edgeMap;return n[t]?n[t].length:0};function RP(t){AP(t)&&(t.__curvenessList=[],t.__edgeMap={},IP(t))}function NP(t,e,n,i){if(AP(n)){var r=YP(t,e,n),a=n.__edgeMap,o=a[CP(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 HP(t,e,n,i){var r=AP(e),a=g["isArray"](r);if(!r)return null;var o=jP(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=PP(t,e);IP(e,u),t.lineStyle=t.lineStyle||{};var c=YP(t.node1,t.node2,e),d=e.__curvenessList,h=a||u%2?0:1;if(o.isForward)return d[h+s];var p=CP(c),f=EP(p,e),_=d[s+f+h];return i?a?r&&0===r[0]?(f+h)%2?_:-_:((f%2?0:1)+h)%2?_:-_:(f+h)%2?_:-_:d[s+f+h]}function zP(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")])})),BP(n,t)}}function BP(t,e){t.eachEdge((function(t,n){var i=g["retrieve3"](t.getModel().get(["lineStyle","curveness"]),-HP(t,e,n,!0),0),r=v(t.node1.getLayout()),a=v(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 FP(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=[];Object(g["each"])(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])}BP(i.graph,t)}else e&&"none"!==e||zP(t)}))}function WP(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 VP(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}var GP=Math.PI,UP=[];function XP(t,e,n,i){var r=t.coordinateSystem;if(!r||"view"===r.type){var a=r.getBoundingRect(),o=t.getData(),s=o.graph,l=a.width/2+a.x,u=a.height/2+a.y,c=Math.min(a.width,a.height)/2,d=o.count();if(o.setLayout({cx:l,cy:u}),d){if(n){var h=r.pointToData(i),p=h[0],f=h[1],_=[p-l,f-u];Y(_,_),I(_,_,c),n.setLayout([l+_[0],u+_[1]],!0);var m=t.get(["circular","rotateLabel"]);qP(n,m,l,u)}ZP[e](t,s,o,c,l,u,d),s.eachEdge((function(e,n){var i,r=g["retrieve3"](e.getModel().get(["lineStyle","curveness"]),HP(e,t,n),0),a=v(e.node1.getLayout()),o=v(e.node2.getLayout()),s=(a[0]+o[0])/2,c=(a[1]+o[1])/2;+r&&(r*=3,i=[l*r+s*(1-r),u*r+c*(1-r)]),e.setLayout([a,o,i])}))}}}var ZP={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;UP.length=o;var l=WP(t);e.eachNode((function(t){var e=VP(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=l;var n=Math.asin(e/2/i);isNaN(n)&&(n=GP/2),UP[t.dataIndex]=n,s+=2*n}));var u=(2*GP-s)/o/2,c=0;e.eachNode((function(t){var e=u+UP[t.dataIndex];c+=e,(!t.getLayout()||!t.getLayout().fixed)&&t.setLayout([i*Math.cos(c)+r,i*Math.sin(c)+a]),c+=e}))}};function qP(t,e,n,i){var r=t.getGraphicEl();if(r){var a=t.getModel(),o=a.get(["label","rotate"])||0,s=r.getSymbolPath();if(e){var l=t.getLayout(),u=Math.atan2(l[1]-i,l[0]-n);u<0&&(u=2*Math.PI+u);var c=l[0]<n;c&&(u-=Math.PI);var d=c?"left":"right";s.setTextConfig({rotation:-u,position:d,origin:"center"});var h=s.ensureState("emphasis");g["extend"](h.textConfig||(h.textConfig={}),{position:d})}else s.setTextConfig({rotation:o*=Math.PI/180})}}function KP(t){t.eachSeriesByType("graph",(function(t){"circular"===t.get("layout")&&XP(t,"symbolSize")}))}var JP=M;function $P(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,c=0;c<i.length;c++){var d=i[c];d.p||(d.p=m(o*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),d.pp=v(d.p),d.edges=null}var h,p,f=null==n.friction?.6:n.friction,_=f;return{warmUp:function(){_=.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,c=o.n2;w(e,c.p,s.p);var d=S(e)-o.d,f=c.w/(s.w+c.w);isNaN(f)&&(f=0),Y(e,e),!s.fixed&&JP(s.p,s.p,e,f*d*_),!c.fixed&&JP(c.p,c.p,e,-(1-f)*d*_)}}for(a=0;a<n;a++){var g=i[a];g.fixed||(w(e,l,g.p),JP(g.p,g.p,e,u*_))}for(a=0;a<n;a++){s=i[a];for(var m=a+1;m<n;m++){c=i[m];w(e,c.p,s.p);d=S(e);0===d&&(b(e,Math.random()-.5,Math.random()-.5),d=1);var v=(s.rep+c.rep)/d/d;!s.fixed&&JP(s.pp,s.pp,e,v),!c.fixed&&JP(c.pp,c.pp,e,-v)}}var x=[];for(a=0;a<n;a++){g=i[a];g.fixed||(w(x,g.p,g.pp),JP(g.p,g.p,x,_),y(g.pp,g.p))}_*=.992;var M=_<.01;p&&p(i,r,M),t&&t(M)}}}function QP(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&&XP(t,"value"):zP(t);var l=r.getDataExtent("value"),u=a.getDataExtent("value"),c=o.get("repulsion"),d=o.get("edgeLength"),h=g["isArray"](c)?c:[c,c],p=g["isArray"](d)?d:[d,d];p=[p[1],p[0]];var f=r.mapArray("value",(function(t,e){var n=r.getItemLayout(e),i=$i(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}})),_=a.mapArray("value",(function(e,n){var r=i.getEdgeByIndex(n),a=$i(e,u,p);isNaN(a)&&(a=(p[0]+p[1])/2);var o=r.getModel(),s=g["retrieve3"](r.getModel().get(["lineStyle","curveness"]),-HP(r,t,n,!0),0);return{n1:f[r.node1.dataIndex],n2:f[r.node2.dataIndex],d:a,curveness:s,ignoreForceLayout:o.get("ignoreForceLayout")}})),m=e.getBoundingRect(),v=$P(f,_,{rect:m,gravity:o.get("gravity"),friction:o.get("friction")});v.beforeStep((function(t,e){for(var n=0,r=t.length;n<r;n++)t[n].fixed&&y(t[n].p,i.getNodeByIndex(n).getLayout())})),v.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),c=l.n1.p,d=l.n2.p,h=u.getLayout();h=h?h.slice():[],h[0]=h[0]||[],h[1]=h[1]||[],y(h[0],c),y(h[1],d),+l.curveness&&(h[2]=[(c[0]+d[0])/2-(c[1]-d[1])*l.curveness,(c[1]+d[1])/2-(d[0]-c[0])*l.curveness]),u.setLayout(h)}})),t.forceLayout=v,t.preservedPoints=n,v.step()}else t.forceLayout=null}))}function tE(t,e,n){var i=Object(g["extend"])(t.getBoxLayoutParams(),{aspect:n});return od(i,{width:e.getWidth(),height:e.getHeight()})}function eE(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=[];lo(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=tE(t,e,l);isNaN(l)&&(o=[u.x,u.y],s=[u.x+u.width,u.y+u.height]);var c=s[0]-o[0],d=s[1]-o[1],h=u.width,p=u.height,f=t.coordinateSystem=new CY;f.zoomLimit=t.get("scaleLimit"),f.setBoundingRect(o[0],o[1],c,d),f.setViewRect(u.x,u.y,h,p),f.setCenter(t.get("center"),e),f.setZoom(t.get("zoom")),n.push(f)}})),n}var nE=eg.prototype,iE=og.prototype,rE=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}f(e,t)})(rE);function aE(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var oE=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}return f(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new rE},e.prototype.buildPath=function(t,e){aE(e)?nE.buildPath.call(this,t,e):iE.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return aE(this.shape)?nE.pointAt.call(this,t):iE.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,n=aE(e)?[e.x2-e.x1,e.y2-e.y1]:iE.tangentAt.call(this,t);return Y(n,n)},e}(ss),sE=oE,lE=["fromSymbol","toSymbol"];function uE(t){return"_"+t+"Type"}function cE(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=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),l=Ty(r),u=Dy(o||0,l),c=ky(i,-l[0]/2+u[0],-l[1]/2+u[1],l[0],l[1],null,s);return c.__specifiedRotation=null==a||isNaN(a)?void 0:+a*Math.PI/180||0,c.name=t,c}}function dE(t){var e=new sE({name:"line",subPixelOptimize:!0});return hE(e.shape,t),e}function hE(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 pE=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createLine(e,n,i),r}return f(e,t),e.prototype._createLine=function(t,e,n){var i=t.hostModel,r=t.getItemLayout(e),a=dE(r);a.shape.percent=0,uu(a,{shape:{percent:1}},i,e),this.add(a),Object(g["each"])(lE,(function(n){var i=cE(n,t,e);this.add(i),this[uE(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:{}};hE(o.shape,a),lu(r,o,i,e),Object(g["each"])(lE,(function(n){var i=t.getItemVisual(e,n),r=uE(n);if(this[r]!==i){this.remove(this.childOfName(n));var a=cE(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,u=n&&n.emphasisDisabled,c=n&&n.focus,d=n&&n.blurScope;if(!n||t.hasItemOption){var h=t.getItemModel(e),p=h.getModel("emphasis");a=p.getModel("lineStyle").getLineStyle(),o=h.getModel(["blur","lineStyle"]).getLineStyle(),s=h.getModel(["select","lineStyle"]).getLineStyle(),u=p.get("disabled"),c=p.get("focus"),d=p.get("blurScope"),l=bu(h)}var f=t.getItemVisual(e,"style"),_=f.stroke;r.useStyle(f),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=a,r.ensureState("blur").style=o,r.ensureState("select").style=s,Object(g["each"])(lE,(function(t){var e=this.childOfName(t);if(e){e.setColor(_),e.style.opacity=f.opacity;for(var n=0;n<$s.length;n++){var i=$s[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 m=i.getRawValue(e);vu(this,l,{labelDataIndex:e,labelFetcher:{getFormattedLabel:function(e,n){return i.getFormattedLabel(e,n,t.dataType)}},inheritColor:_||"#000",defaultOpacity:f.opacity,defaultText:(null==m?t.getName(e):isFinite(m)?tr(m):m)+""});var y=this.getTextContent();if(y){var v=l.normal;y.__align=y.style.align,y.__verticalAlign=y.style.verticalAlign,y.__position=v.get("position")||"middle";var b=v.get("distance");Object(g["isArray"])(b)||(b=[b,b]),y.__labelDistance=b}this.setTextConfig({position:null,local:!0,inside:!1}),Xl(this,c,d,u)},e.prototype.highlight=function(){Dl(this)},e.prototype.downplay=function(){Ol(this)},e.prototype.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},e.prototype.setLinePoints=function(t){var e=this.childOfName("line");hE(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),c=w([],u,l);if(Y(c,c),e&&(e.setPosition(l),S(e,0),e.scaleX=e.scaleY=r*s,e.markRedraw()),n&&(n.setPosition(u),S(n,1),n.scaleX=n.scaleY=r*s,n.markRedraw()),i&&!i.ignore){i.x=i.y=0,i.originX=i.originY=0;var d=void 0,h=void 0,p=i.__labelDistance,f=p[0]*r,_=p[1]*r,g=s/2,m=o.tangentAt(g),y=[m[1],-m[0]],v=o.pointAt(g);y[1]>0&&(y[0]=-y[0],y[1]=-y[1]);var b=m[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var x=-Math.atan2(m[1],m[0]);u[0]<l[0]&&(x=Math.PI+x),i.rotation=x}var M=void 0;switch(i.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":M=-_,h="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":M=_,h="top";break;default:M=0,h="middle"}switch(i.__position){case"end":i.x=c[0]*f+u[0],i.y=c[1]*_+u[1],d=c[0]>.8?"left":c[0]<-.8?"right":"center",h=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":i.x=-c[0]*f+l[0],i.y=-c[1]*_+l[1],d=c[0]>.8?"right":c[0]<-.8?"left":"center",h=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=f*b+l[0],i.y=l[1]+M,d=m[0]<0?"right":"left",i.originX=-f*b,i.originY=-M;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=v[0],i.y=v[1]+M,d="center",i.originY=-M;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-f*b+u[0],i.y=u[1]+M,d=m[0]>=0?"right":"left",i.originX=f*b,i.originY=-M;break}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||h,align:i.__align||d})}}}function S(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}(Ri),fE=pE,_E=function(){function t(t){this.group=new Ri,this._LineCtor=t||fE}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var a=mE(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=mE(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||gE(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i<t.end;i++){var r=e.getItemLayout(i);if(vE(r)){var a=new this._LineCtor(e,i,this._seriesScope);a.traverse(n),this.group.add(a),e.setItemGraphicEl(i,a),this._progressiveEls.push(a)}}},t.prototype.remove=function(){this.group.removeAll()},t.prototype.eachRendered=function(t){rm(this._progressiveEls||this.group,t)},t.prototype._doAdd=function(t,e,n){var i=t.getItemLayout(e);if(vE(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);vE(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 gE(t){return t.animators&&t.animators.length>0}function mE(t){var e=t.hostModel,n=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:bu(e)}}function yE(t){return isNaN(t[0])||isNaN(t[1])}function vE(t){return t&&!yE(t[0])&&!yE(t[1])}var bE=_E,xE=[],ME=[],wE=[],SE=Be,LE=E,kE=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,c=.1;c<=.9;c+=.1){xE[0]=SE(r[0],a[0],o[0],c),xE[1]=SE(r[1],a[1],o[1],c);var d=kE(LE(xE,e)-l);d<s&&(s=d,i=c)}for(var h=0;h<32;h++){var p=i+u;ME[0]=SE(r[0],a[0],o[0],i),ME[1]=SE(r[1],a[1],o[1],i),wE[0]=SE(r[0],a[0],o[0],p),wE[1]=SE(r[1],a[1],o[1],p);d=LE(ME,e)-l;if(kE(d)<.01)break;var f=LE(wE,e)-l;u/=2,d<0?f>=0?i+=u:i-=u:f>=0?i-=u:i+=u}return i}function DE(t,e){var n=[],i=Ge,r=[[],[],[]],a=[[],[]],o=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),c=t.getVisual("toSymbol");l.__original||(l.__original=[v(l[0]),v(l[1])],l[2]&&l.__original.push(v(l[2])));var d=l.__original;if(null!=l[2]){if(y(r[0],d[0]),y(r[1],d[2]),y(r[2],d[1]),u&&"none"!==u){var h=VP(t.node1),p=TE(r,d[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(c&&"none"!==c){h=VP(t.node2),p=TE(r,d[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]}y(l[0],r[0]),y(l[1],r[2]),y(l[2],r[1])}else{if(y(a[0],d[0]),y(a[1],d[1]),w(o,a[1],a[0]),Y(o,o),u&&"none"!==u){h=VP(t.node1);M(a[0],a[0],o,h*e)}if(c&&"none"!==c){h=VP(t.node2);M(a[1],a[1],o,-h*e)}y(l[0],a[0]),y(l[1],a[1])}}))}function OE(t){return"view"===t.type}var AE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.init=function(t,e){var n=new fT,i=new bE,r=this.group;this._controller=new cI(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(OE(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):lu(s,l,t)}DE(t.getGraph(),WP(t));var u=t.getData();a.updateData(u);var c=t.getEdgeData();o.updateData(c),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var d=t.forceLayout,h=t.get(["force","layoutAnimation"]);d&&this._startForceLayoutIteration(d,h);var p=t.get("layout");u.graph.eachNode((function(e){var n=e.dataIndex,r=e.getGraphicEl(),a=e.getModel();if(r){r.off("drag").off("dragend");var o=a.get("draggable");o&&r.on("drag",(function(a){switch(p){case"force":d.warmUp(),!i._layouting&&i._startForceLayoutIteration(d,h),d.setFixed(n),u.setItemLayout(n,[r.x,r.y]);break;case"circular":u.setItemLayout(n,[r.x,r.y]),e.setLayout({fixed:!0},!0),XP(t,"symbolSize",e,[a.offsetX,a.offsetY]),i.updateLayout(t);break;case"none":default:u.setItemLayout(n,[r.x,r.y]),BP(t.getGraph(),t),i.updateLayout(t);break}})).on("dragend",(function(){d&&d.setUnfixed(n)})),r.setDraggable(o&&!!d,!!a.get("cursor"));var s=a.get(["emphasis","focus"]);"adjacency"===s&&(Ws(r).focus=e.getAdjacentDataIndices())}})),u.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(Ws(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var f="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),_=u.getLayout("cx"),g=u.getLayout("cy");u.graph.eachNode((function(t){qP(t,f,_,g)})),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)&&!_I(e,n,t)})),OE(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){dI(a,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){hI(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(),DE(t.getGraph(),WP(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=WP(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(n)}))},e.prototype.updateLayout=function(t){DE(t.getGraph(),WP(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}(pm),IE=AE;function YE(t){return"_EC_"+t}var CE=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[YE(t)]){var i=new jE(t,e);return i.hostGraph=this,this.nodes.push(i),n[YE(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[YE(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if(g["isNumber"](t)&&(t=this.nodes[t]),g["isNumber"](e)&&(e=this.nodes[e]),t instanceof jE||(t=i[YE(t)]),e instanceof jE||(e=i[YE(e)]),t&&e){var a=t.id+"-"+e.id,o=new PE(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 jE&&(t=t.id),e instanceof jE&&(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 jE||(e=this._nodesMap[YE(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],c=u.node1===s?u.node2:u.node1;if(!c.__visited){if(t.call(i,c,s))return;o.push(c),c.__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}(),jE=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}(),PE=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 EE(t,e){return{getValue:function(n){var i=this[t][e];return i.getStore().get(i.getDimensionIndex(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)}}}g["mixin"](jE,EE("hostGraph","data")),g["mixin"](PE,EE("hostGraph","edgeData"));var RE=CE;function NE(t,e,n,i,r){for(var a=new RE(i),o=0;o<t.length;o++)a.addNode(g["retrieve"](t[o].id,t[o].name,o),o);var s=[],l=[],u=0;for(o=0;o<e.length;o++){var c=e[o],d=c.source,h=c.target;a.addEdge(d,h,u)&&(l.push(c),s.push(g["retrieve"](zr(c.id,null),d+" > "+h)),u++)}var p,f=n.get("coordinateSystem");if("cartesian2d"===f||"polar"===f)p=pM(t,n);else{var _=ph.get(f),m=_&&_.dimensions||[];g["indexOf"](m,"value")<0&&m.concat(["value"]);var y=Kx(t,{coordDimensions:m,encodeDefine:n.getEncode()}).dimensions;p=new Zx(y,n),p.initData(t)}var v=new Zx(["value"],n);return v.initData(l,s),r&&r(p,v),CC({mainData:p,struct:a,structAttr:"graph",datas:{node:p,edge:v},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 f(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new iO(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),Tr(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){RP(this);var a=NE(i,n,this,!0,o);return g["each"](a.edges,(function(t){NP(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=Gu.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),ff("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}var u=Af({series:this,dataIndex:t,multipleSeries:e});return u},e.prototype._updateCategoriesData=function(){var t=g["map"](this.option.categories||[],(function(t){return null!=t.value?t:g["extend"]({value:0},t)})),e=new Zx(["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={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}(Vf),zE=HE,BE={type:"graphRoam",event:"graphRoam",update:"none"};function FE(t){t.registerChartView(IE),t.registerSeriesModel(zE),t.registerProcessor(LP),t.registerVisual(kP),t.registerVisual(DP),t.registerLayout(FP),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,KP),t.registerLayout(QP),t.registerCoordinateSystem("graphView",{dimensions:CY.dimensions,create:eE}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},g["noop"]),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},g["noop"]),t.registerAction(BE,(function(t,e,n){e.eachComponent({mainType:"series",query:t},(function(e){var i=e.coordinateSystem,r=XY(i,t,void 0,n);e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom)}))}))}var WE=function(){function t(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return t}(),VE=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return f(e,t),e.prototype.getDefaultShape=function(){return new WE},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}(ss),GE=VE;function UE(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),a=Math.min(i,r),o=Qi(n[0],e.getWidth()),s=Qi(n[1],e.getHeight()),l=Qi(t.get("radius"),a/2);return{cx:o,cy:s,r:l}}function XE(t,e){var n=null==t?"":t+"";return e&&(Object(g["isString"])(e)?n=e.replace("{value}",n):Object(g["isFunction"])(e)&&(n=e(t))),n}var ZE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=UE(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){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"),c=u.get("roundCap"),d=c?lD:z_,h=u.get("show"),p=u.getModel("lineStyle"),f=p.get("width"),_=[s,l];Co(_,!o),s=_[0],l=_[1];for(var g=l-s,m=s,y=0;h&&y<i.length;y++){var v=Math.min(Math.max(i[y][0],0),1);l=s+g*v;var b=new d({shape:{startAngle:m,endAngle:l,cx:r.cx,cy:r.cy,clockwise:o,r0:r.r-f,r:r.r},silent:!0});b.setStyle({fill:i[y][1]}),b.setStyle(p.getLineStyle(["color","width"])),a.add(b),m=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]};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,c,d=this.group,h=r.cx,p=r.cy,f=r.r,_=+t.get("min"),m=+t.get("max"),y=t.getModel("splitLine"),v=t.getModel("axisTick"),b=t.getModel("axisLabel"),x=t.get("splitNumber"),M=v.get("splitNumber"),w=Qi(y.get("length"),f),S=Qi(v.get("length"),f),L=a,k=(o-a)/x,T=k/M,D=y.getModel("lineStyle").getLineStyle(),O=v.getModel("lineStyle").getLineStyle(),A=y.get("distance"),I=0;I<=x;I++){if(u=Math.cos(L),c=Math.sin(L),y.get("show")){var Y=A?A+l:l,C=new eg({shape:{x1:u*(f-Y)+h,y1:c*(f-Y)+p,x2:u*(f-w-Y)+h,y2:c*(f-w-Y)+p},style:D,silent:!0});"auto"===D.stroke&&C.setStyle({stroke:i(I/x)}),d.add(C)}if(b.get("show")){Y=b.get("distance")+A;var j=XE(tr(I/x*(m-_)+_),b.get("formatter")),P=i(I/x),E=u*(f-w-Y)+h,R=c*(f-w-Y)+p,N=b.get("rotate"),H=0;"radial"===N?(H=-L+2*Math.PI,H>Math.PI/2&&(H+=Math.PI)):"tangential"===N?H=-L-Math.PI/2:Object(g["isNumber"])(N)&&(H=N*Math.PI/180),0===H?d.add(new Fs({style:xu(b,{text:j,x:E,y:R,verticalAlign:c<-.8?"top":c>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:P}),silent:!0})):d.add(new Fs({style:xu(b,{text:j,x:E,y:R,verticalAlign:"middle",align:"center"},{inheritColor:P}),silent:!0,originX:E,originY:R,rotation:H}))}if(v.get("show")&&I!==x){Y=v.get("distance");Y=Y?Y+l:l;for(var z=0;z<=M;z++){u=Math.cos(L),c=Math.sin(L);var B=new eg({shape:{x1:u*(f-Y)+h,y1:c*(f-Y)+p,x2:u*(f-S-Y)+h,y2:c*(f-S-Y)+p},silent:!0,style:O});"auto"===O.stroke&&B.setStyle({stroke:i((I+z/M)/x)}),d.add(B),L+=T}L-=T}else L+=k}},e.prototype._renderPointer=function(t,e,n,i,r,a,o,s,l){var u=this.group,c=this._data,d=this._progressEls,h=[],p=t.get(["pointer","show"]),f=t.getModel("progress"),_=f.get("show"),m=t.getData(),y=m.mapDimension("value"),v=+t.get("min"),b=+t.get("max"),x=[v,b],M=[a,o];function w(e,n){var i,a=m.getItemModel(e),o=a.getModel("pointer"),s=Qi(o.get("width"),r.r),l=Qi(o.get("length"),r.r),u=t.get(["pointer","icon"]),c=o.get("offsetCenter"),d=Qi(c[0],r.r),h=Qi(c[1],r.r),p=o.get("keepAspect");return i=u?ky(u,d-s/2,h-l,s,l,null,p):new GE({shape:{angle:-Math.PI/2,width:s,r:l,x:d,y:h}}),i.rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function S(t,e){var n=f.get("roundCap"),i=n?lD:z_,o=f.get("overlap"),u=o?f.get("width"):l/m.count(),c=o?r.r-u:r.r-(t+1)*u,d=o?r.r:r.r-t*u,h=new i({shape:{startAngle:a,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:c,r:d}});return o&&(h.z2=b-m.get(y,t)%b),h}(_||p)&&(m.diff(c).add((function(e){var n=m.get(y,e);if(p){var i=w(e,a);uu(i,{rotation:-((isNaN(+n)?M[0]:$i(n,x,M,!0))+Math.PI/2)},t),u.add(i),m.setItemGraphicEl(e,i)}if(_){var r=S(e,a),o=f.get("clip");uu(r,{shape:{endAngle:$i(n,x,M,o)}},t),u.add(r),Vs(t.seriesIndex,m.dataType,e,r),h[e]=r}})).update((function(e,n){var i=m.get(y,e);if(p){var r=c.getItemGraphicEl(n),o=r?r.rotation:a,s=w(e,o);s.rotation=o,lu(s,{rotation:-((isNaN(+i)?M[0]:$i(i,x,M,!0))+Math.PI/2)},t),u.add(s),m.setItemGraphicEl(e,s)}if(_){var l=d[n],g=l?l.shape.endAngle:a,v=S(e,g),b=f.get("clip");lu(v,{shape:{endAngle:$i(i,x,M,b)}},t),u.add(v),Vs(t.seriesIndex,m.dataType,e,v),h[e]=v}})).execute(),m.each((function(t){var e=m.getItemModel(t),n=e.getModel("emphasis"),r=n.get("focus"),a=n.get("blurScope"),o=n.get("disabled");if(p){var s=m.getItemGraphicEl(t),l=m.getItemVisual(t,"style"),u=l.fill;if(s instanceof _s){var c=s.style;s.useStyle(Object(g["extend"])({image:c.image,x:c.x,y:c.y,width:c.width,height:c.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i($i(m.get(y,t),x,[0,1],!0))),s.z2EmphasisLift=0,Jl(s,e),Xl(s,r,a,o)}if(_){var d=h[t];d.useStyle(m.getItemVisual(t,"style")),d.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),d.z2EmphasisLift=0,Jl(d,e),Xl(d,r,a,o)}})),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=ky(a,e.cx-r/2+Qi(o[0],e.r),e.cy-r/2+Qi(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"),c=new Ri,d=[],h=[],p=t.isAnimationEnabled(),f=t.get(["pointer","showAbove"]);o.diff(this._data).add((function(t){d[t]=new Fs({silent:!0}),h[t]=new Fs({silent:!0})})).update((function(t,e){d[t]=a._titleEls[e],h[t]=a._detailEls[e]})).execute(),o.each((function(e){var n=o.getItemModel(e),a=o.get(s,e),_=new Ri,g=i($i(a,[l,u],[0,1],!0)),m=n.getModel("title");if(m.get("show")){var y=m.get("offsetCenter"),v=r.cx+Qi(y[0],r.r),b=r.cy+Qi(y[1],r.r),x=d[e];x.attr({z2:f?0:2,style:xu(m,{x:v,y:b,text:o.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:g})}),_.add(x)}var M=n.getModel("detail");if(M.get("show")){var w=M.get("offsetCenter"),S=r.cx+Qi(w[0],r.r),L=r.cy+Qi(w[1],r.r),k=Qi(M.get("width"),r.r),T=Qi(M.get("height"),r.r),D=t.get(["progress","show"])?o.getItemVisual(e,"style").fill:g,O=(x=h[e],M.get("formatter"));x.attr({z2:f?0:2,style:xu(M,{x:S,y:L,text:XE(a,O),width:isNaN(k)?null:k,height:isNaN(T)?null:T,align:"center",verticalAlign:"middle"},{inheritColor:D})}),Iu(x,{normal:M},a,(function(t){return XE(t,O)})),p&&Yu(x,e,o,t,{getFormattedLabel:function(t,e,n,i,r,o){return XE(o?o.interpolatedValue:a,O)}}),_.add(x)}c.add(_)})),this.group.add(c),this._titleEls=d,this._detailEls=h},e.type="gauge",e}(pm),qE=ZE,KE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return f(e,t),e.prototype.getInitialData=function(t,e){return eO(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",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,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!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}(Vf),JE=KE;function $E(t){t.registerChartView(qE),t.registerSeriesModel(JE)}var QE=["itemStyle","opacity"],tR=function(t){function e(e,n){var i=t.call(this)||this,r=i,a=new J_,o=new Fs;return r.setTextContent(o),i.setTextGuideLine(a),i.updateData(e,n,!0),i}return f(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(QE);l=null==l?1:l,n||fu(i),i.useStyle(t.getItemVisual(e,"style")),i.style.lineJoin="round",n?(i.setShape({points:o.points}),i.style.opacity=0,uu(i,{style:{opacity:l}},r,e)):lu(i,{style:{opacity:l},shape:{points:o.points}},r,e),Jl(i,a),this._updateLabel(t,e),Xl(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},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"),c=u.fill;vu(r,bu(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:c,outsideFill:c});var d=l.linePoints;i.setShape({points:d}),n.textGuideLineConfig={anchor:d?new Yt(d[0][0],d[0][1]):null},lu(r,{style:{x:l.x,y:l.y}},a,e),r.attr({rotation:l.rotation,originX:l.x,originY:l.y,z2:10}),QS(n,tL(o),{stroke:c})},e}(Z_),eR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return f(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 tR(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);pu(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}(pm),nR=eR,iR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new iO(g["bind"](this.getData,this),g["bind"](this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return eO(this,{coordDimensions:["value"],encodeDefaulter:g["curry"](Cd,this)})},e.prototype._defaultLabelLine=function(t){Tr(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={z:2,legendHoverLink:!0,colorBy:"data",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}(Vf),rR=iR;function aR(t,e){return od(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function oR(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 Object(g["isFunction"])(e)?r.sort(e):"none"!==e&&r.sort((function(t,e){return a?i[t]-i[e]:i[e]-i[t]})),r}function sR(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"),c=s.getModel("labelLine"),d=t.getItemLayout(e),h=d.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,_=void 0,g=void 0,m=void 0,y=c.get("length");0,"left"===u?(f=(h[3][0]+h[0][0])/2,_=(h[3][1]+h[0][1])/2,g=f-y,r=g-5,i="right"):"right"===u?(f=(h[1][0]+h[2][0])/2,_=(h[1][1]+h[2][1])/2,g=f+y,r=g+5,i="left"):"top"===u?(f=(h[3][0]+h[0][0])/2,_=(h[3][1]+h[0][1])/2,m=_-y,a=m-5,i="center"):"bottom"===u?(f=(h[1][0]+h[2][0])/2,_=(h[1][1]+h[2][1])/2,m=_+y,a=m+5,i="center"):"rightTop"===u?(f="horizontal"===n?h[3][0]:h[1][0],_="horizontal"===n?h[3][1]:h[1][1],"horizontal"===n?(m=_-y,a=m-5,i="center"):(g=f+y,r=g+5,i="top")):"rightBottom"===u?(f=h[2][0],_=h[2][1],"horizontal"===n?(m=_+y,a=m+5,i="center"):(g=f+y,r=g+5,i="bottom")):"leftTop"===u?(f=h[0][0],_="horizontal"===n?h[0][1]:h[1][1],"horizontal"===n?(m=_-y,a=m-5,i="center"):(g=f-y,r=g-5,i="right")):"leftBottom"===u?(f="horizontal"===n?h[1][0]:h[3][0],_="horizontal"===n?h[1][1]:h[2][1],"horizontal"===n?(m=_+y,a=m+5,i="center"):(g=f-y,r=g-5,i="right")):(f=(h[1][0]+h[2][0])/2,_=(h[1][1]+h[2][1])/2,"horizontal"===n?(m=_+y,a=m+5,i="center"):(g=f+y,r=g+5,i="left")),"horizontal"===n?(g=f,r=g):(m=_,a=m),o=[[f,_],[g,m]]}d.label={linePoints:o,x:r,y:a,verticalAlign:"middle",textAlign:i,inside:p}}))}function lR(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),a=aR(t,e),o=t.get("orient"),s=a.width,l=a.height,u=oR(n,r),c=a.x,d=a.y,h="horizontal"===o?[Qi(t.get("minSize"),l),Qi(t.get("maxSize"),l)]:[Qi(t.get("minSize"),s),Qi(t.get("maxSize"),s)],p=n.getDataExtent(i),f=t.get("min"),_=t.get("max");null==f&&(f=Math.min(p[0],0)),null==_&&(_=p[1]);var g=t.get("funnelAlign"),m=t.get("gap"),y="horizontal"===o?s:l,v=(y-m*(n.count()-1))/n.count(),b=function(t,e){if("horizontal"===o){var r=n.get(i,t)||0,a=$i(r,[f,_],h,!0),u=void 0;switch(g){case"top":u=d;break;case"center":u=d+(l-a)/2;break;case"bottom":u=d+(l-a);break}return[[e,u],[e,u+a]]}var p,m=n.get(i,t)||0,y=$i(m,[f,_],h,!0);switch(g){case"left":p=c;break;case"center":p=c+(s-y)/2;break;case"right":p=c+s-y;break}return[[p,e],[p+y,e]]};"ascending"===r&&(v=-v,m=-m,"horizontal"===o?c+=s:d+=l,u=u.reverse());for(var x=0;x<u.length;x++){var M=u[x],w=u[x+1],S=n.getItemModel(M);if("horizontal"===o){var L=S.get(["itemStyle","width"]);null==L?L=v:(L=Qi(L,s),"ascending"===r&&(L=-L));var k=b(M,c),T=b(w,c+L);c+=L+m,n.setItemLayout(M,{points:k.concat(T.slice().reverse())})}else{var D=S.get(["itemStyle","height"]);null==D?D=v:(D=Qi(D,l),"ascending"===r&&(D=-D));k=b(M,d),T=b(w,d+D);d+=D+m,n.setItemLayout(M,{points:k.concat(T.slice().reverse())})}}sR(n)}))}function uR(t){t.registerChartView(nR),t.registerSeriesModel(rR),t.registerLayout(lR),t.registerProcessor(VD("funnel"))}var cR=.3,dR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._dataGroup=new Ri,n._initialized=!1,n}return f(e,t),e.prototype.init=function(){this.group.add(this._dataGroup)},e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._dataGroup,a=t.getData(),o=this._data,s=t.coordinateSystem,l=s.dimensions,u=_R(t);function c(t){var e=fR(a,r,t,l,s);gR(e,a,t,u)}function d(e,n){var i=o.getItemGraphicEl(n),r=pR(a,e,l,s);a.setItemGraphicEl(e,i),lu(i,{shape:{points:r}},t,e),fu(i),gR(i,a,e,u)}function h(t){var e=o.getItemGraphicEl(t);r.remove(e)}if(a.diff(o).add(c).update(d).remove(h).execute(),!this._initialized){this._initialized=!0;var p=hR(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=_R(e),s=this._progressiveEls=[],l=t.start;l<t.end;l++){var u=fR(i,this._dataGroup,l,a,r);u.incremental=!0,gR(u,i,l,o),s.push(u)}},e.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},e.type="parallel",e}(pm);function hR(t,e,n){var i=t.model,r=t.getRect(),a=new Ss({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),uu(a,{shape:{width:r.width,height:r.height}},e,n),a}function pR(t,e,n,i){for(var r=[],a=0;a<n.length;a++){var o=n[a],s=t.get(t.mapDimension(o),e);mR(s,i.getAxis(o).type)||r.push(i.dataToPoint(s,o))}return r}function fR(t,e,n,i,r){var a=pR(t,n,i,r),o=new J_({shape:{points:a},z2:10});return e.add(o),t.setItemGraphicEl(n,o),o}function _R(t){var e=t.get("smooth",!0);return!0===e&&(e=cR),e=yr(e),Object(g["eqNaN"])(e)&&(e=0),{smooth:e}}function gR(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");Jl(t,r,"lineStyle"),Xl(t,a.get("focus"),a.get("blurScope"),a.get("disabled"))}function mR(t,e){return"category"===e?null==t:null==t||isNaN(t)}var yR=dR,vR=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 f(e,t),e.prototype.getInitialData=function(t,e){return pM(null,this,{useEncodeDefaulter:Object(g["bind"])(bR,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={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}(Vf);function bR(t){var e=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(e){var n={};return Object(g["each"])(e.dimensions,(function(t){var e=xR(t);n[t]=e})),n}}function xR(t){return+t.replace("dim","")}var MR=vR,wR=["lineStyle","opacity"],SR={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(wR,!0);null!=a&&(r=a)}var o=e.ensureUniqueItemVisual(n,"style");o.opacity=r}),t.start,t.end)}}}},LR=SR;function kR(t){TR(t),DR(t)}function TR(t){if(!t.parallel){var e=!1;g["each"](t.series,(function(t){t&&"parallel"===t.type&&(e=!0)})),e&&(t.parallel=[{}])}}function DR(t){var e=kr(t.parallelAxis);g["each"](e,(function(e){if(g["isObject"](e)){var n=e.parallelIndex||0,i=kr(t.parallel)[n];i&&i.parallelAxisDefault&&g["merge"](e,i.parallelAxisDefault,!1)}}))}var OR=5,AR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.render=function(t,e,n){this._model=t,this._api=n,this._handlers||(this._handlers={},Object(g["each"])(IR,(function(t,e){n.getZr().on(e,this._handlers[e]=Object(g["bind"])(t,this))}),this)),ym(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},e.prototype.dispose=function(t,e){vm(this,"_throttledDispatchExpand"),Object(g["each"])(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(Object(g["extend"])({type:"parallelAxisExpand"},t))},e.type="parallel",e}(Uf),IR={mousedown:function(t){YR(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(YR(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>OR)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&&YR(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 YR(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var CR=AR,jR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&g["merge"](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){g["each"](["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=g["filter"](this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this);g["each"](n,(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={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}(gd),PR=jR,ER=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 f(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(kS),RR=ER;function NR(t,e,n,i,r,a){t=t||0;var o=n[1]-n[0];if(null!=r&&(r=zR(r,[0,o])),null!=a&&(a=Math.max(a,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=zR(s,[0,o]),r=a=zR(s,[r,a]),i=0}e[0]=zR(e[0],n),e[1]=zR(e[1],n);var l=HR(e,i);e[i]+=t;var u,c=r||0,d=n.slice();return l.sign<0?d[0]+=c:d[1]-=c,e[i]=zR(e[i],d),u=HR(e,i),null!=r&&(u.sign!==l.sign||u.span<r)&&(e[1-i]=e[i]+l.sign*r),u=HR(e,i),null!=a&&u.span>a&&(e[1-i]=e[i]+u.sign*a),e}function HR(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 zR(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var BR=g["each"],FR=Math.min,WR=Math.max,VR=Math.floor,GR=Math.ceil,UR=tr,XR=Math.PI,ZR=function(){function t(t,e,n){this.type="parallel",this._axesMap=g["createHashMap"](),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;BR(i,(function(t,n){var i=r[n],a=e.getComponent("parallelAxis",i),o=this._axesMap.set(t,new RR(t,Dw(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();BR(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),Tw(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=od(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,c=qR(e.get("axisExpandWidth"),l),d=qR(e.get("axisExpandCount")||0,[0,u]),h=e.get("axisExpandable")&&u>3&&u>d&&d>1&&c>0&&s>0,p=e.get("axisExpandWindow");if(p)t=qR(p[1]-p[0],l),p[1]=p[0]+t;else{t=qR(c*(d-1),l);var f=e.get("axisExpandCenter")||VR(u/2);p=[c*f-t/2],p[1]=p[0]+t}var _=(s-t)/(u-d);_<3&&(_=0);var g=[VR(UR(p[0]/c,1))+1,GR(UR(p[1]/c,1))-1],m=_/c*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:c,axisCollapseWidth:_,axisExpandWindow:p,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:m}},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])})),BR(n,(function(e,n){var a=(i.axisExpandable?JR:KR)(n,i),o={horizontal:{x:a.position,y:i.axisLength},vertical:{x:0,y:a.position}},s={horizontal:XR/2,vertical:0},l=[o[r].x+t.x,o[r].y+t.y],u=s[r],c=Mt();Tt(c,c,u),kt(c,c,l),this._axesLayout[e]={position:l,rotation:u,transform:c,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=[];g["each"](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 c=void 0;if(l){c="active";for(var d=t.getValues(o,u),h=0,p=a.length;h<p;h++){var f=s[h].getActiveState(d[h]);if("inactive"===f){c="inactive";break}}}else c="normal";e(c,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 Vg([t,0],n.transform)},t.prototype.getAxisLayout=function(t){return g["clone"](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,c=this._model.get("axisExpandSlideTriggerArea"),d=null!=c[0];if(u)d&&u&&s<r*c[0]?(l="jump",o=s-r*c[2]):d&&u&&s>r*(1-c[0])?(l="jump",o=s-r*(1-c[2])):(o=s-r*c[1])>=0&&(o=s-r*(1-c[1]))<=0&&(o=0),o*=e.axisExpandWidth/u,o?NR(o,i,a,"all"):l="none";else{var h=i[1]-i[0],p=a[1]*s/h;i=[WR(0,p-h/2)],i[1]=FR(a[1],i[0]+h),i[0]=i[1]-h}return{axisExpandWindow:i,behavior:l}},t}();function qR(t,e){return FR(WR(t,e[0]),e[1])}function KR(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function JR(t,e){var n,i,r=e.layoutLength,a=e.axisExpandWidth,o=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,c=!1;return t<l[0]?(n=t*s,i=s):t<=l[1]?(n=e.axisExpandWindow0Pos+t*a-e.axisExpandWindow[0],u=a,c=!0):(n=r-(o-1-t)*s,i=s),{position:n,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:i}}var $R=ZR;function QR(t,e){var n=[];return t.eachComponent("parallel",(function(i,r){var a=new $R(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",$r).models[0];t.coordinateSystem=e.coordinateSystem}})),n}var tN={create:QR},eN=tN,nN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.activeIntervals=[],n}return f(e,t),e.prototype.getAreaSelectStyle=function(){return ba([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},e.prototype.setActiveIntervals=function(t){var e=this.activeIntervals=g["clone"](t);if(e)for(var n=e.length-1;n>=0;n--)er(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}(gd);g["mixin"](nN,Nw);var iN=nN,rN=!0,aN=Math.min,oN=Math.max,sN=Math.pow,lN=1e4,uN=6,cN=6,dN="globalPan",hN={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},pN={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},fN={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},_N=0,gN=function(t){function e(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new Ri,n._uid="brushController_"+_N++,Object(g["each"])(ZN,(function(t,e){this._handlers[e]=Object(g["bind"])(t,this)}),n),n}return f(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||nI(e,dN,this._uid),Object(g["each"])(this._handlers,(function(t,n){e.on(n,t)})),this._brushType=t.brushType,this._brushOption=Object(g["merge"])(Object(g["clone"])(fN),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;iI(t,dN,this._uid),Object(g["each"])(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={};Object(g["each"])(t,(function(t){e[t.panelId]=Object(g["clone"])(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=Object(g["map"])(t,(function(t){return Object(g["merge"])(Object(g["clone"])(fN),t,!0)}));var e="\0-brush-index-",n=this._covers,i=this._covers=[],r=this,a=this._creatingCover;return new yx(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]):yN(r,mN(r,s));xN(r,l)}}function u(t){n[t]!==a&&r.group.remove(n[t])}},e.prototype.unmount=function(){return this.enableBrush(!1),LN(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(U);function mN(t,e){var n=JN[e.brushType].createCover(t,e);return n.__brushOption=e,bN(n,e),t.group.add(n),n}function yN(t,e){var n=MN(e);return n.endCreating&&(n.endCreating(t,e),bN(e,e.__brushOption)),e}function vN(t,e){var n=e.__brushOption;MN(e).updateCoverShape(t,e,n.range,n)}function bN(t,e){var n=e.z;null==n&&(n=lN),t.traverse((function(t){t.z=n,t.z2=n}))}function xN(t,e){MN(e).updateCommon(t,e),vN(t,e)}function MN(t){return JN[t.__brushOption.brushType]}function wN(t,e,n){var i,r=t._panels;if(!r)return rN;var a=t._transform;return Object(g["each"])(r,(function(t){t.isTargetByCursor(e,n,a)&&(i=t)})),i}function SN(t,e){var n=t._panels;if(!n)return rN;var i=e.__brushOption.panelId;return null!=i?n[i]:rN}function LN(t){var e=t._covers,n=e.length;return Object(g["each"])(e,(function(e){t.group.remove(e)}),t),e.length=0,!!n}function kN(t,e){var n=Object(g["map"])(t._covers,(function(t){var e=t.__brushOption,n=Object(g["clone"])(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}}));t.trigger("brush",{areas:n,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function TN(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=sN(r*r+a*a,.5);return o>uN}function DN(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function ON(t,e,n,i){var r=new Ri;return r.add(new Ss({name:"main",style:CN(n),silent:!0,draggable:!0,cursor:"move",drift:Object(g["curry"])(NN,t,e,r,["n","s","w","e"]),ondragend:Object(g["curry"])(kN,e,{isEnd:!0})})),Object(g["each"])(i,(function(n){r.add(new Ss({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Object(g["curry"])(NN,t,e,r,n),ondragend:Object(g["curry"])(kN,e,{isEnd:!0})}))})),r}function AN(t,e,n,i){var r=i.brushStyle.lineWidth||0,a=oN(r,cN),o=n[0][0],s=n[1][0],l=o-r/2,u=s-r/2,c=n[0][1],d=n[1][1],h=c-a+r/2,p=d-a+r/2,f=c-o,_=d-s,g=f+r,m=_+r;YN(t,e,"main",o,s,f,_),i.transformable&&(YN(t,e,"w",l,u,a,m),YN(t,e,"e",h,u,a,m),YN(t,e,"n",l,u,g,a),YN(t,e,"s",l,p,g,a),YN(t,e,"nw",l,u,a,a),YN(t,e,"ne",h,u,a,a),YN(t,e,"sw",l,p,a,a),YN(t,e,"se",h,p,a,a))}function IN(t,e){var n=e.__brushOption,i=n.transformable,r=e.childAt(0);r.useStyle(CN(n)),r.attr({silent:!i,cursor:i?"move":"default"}),Object(g["each"])([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var r=e.childOfName(n.join("")),a=1===n.length?EN(t,n[0]):RN(t,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?pN[a]+"-resize":null})}))}function YN(t,e,n,i,r,a,o){var s=e.childOfName(n);s&&s.setShape(FN(BN(t,e,[[i,r],[i+a,r+o]])))}function CN(t){return Object(g["defaults"])({strokeNoScale:!0},t.brushStyle)}function jN(t,e,n,i){var r=[aN(t,n),aN(e,i)],a=[oN(t,n),oN(e,i)];return[[r[0],a[0]],[r[1],a[1]]]}function PN(t){return Wg(t.group)}function EN(t,e){var n={w:"left",e:"right",n:"top",s:"bottom"},i={left:"w",right:"e",top:"n",bottom:"s"},r=Gg(n[e],PN(t));return i[r]}function RN(t,e){var n=[EN(t,e[0]),EN(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}function NN(t,e,n,i,r,a){var o=n.__brushOption,s=t.toRectRange(o.range),l=zN(e,r,a);Object(g["each"])(i,(function(t){var e=hN[t];s[e[0]][e[1]]+=l[e[0]]})),o.range=t.fromRectRange(jN(s[0][0],s[1][0],s[0][1],s[1][1])),xN(e,n),kN(e,{isEnd:!1})}function HN(t,e,n,i){var r=e.__brushOption.range,a=zN(t,n,i);Object(g["each"])(r,(function(t){t[0]+=a[0],t[1]+=a[1]})),xN(t,e),kN(t,{isEnd:!1})}function zN(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 BN(t,e,n){var i=SN(t,e);return i&&i!==rN?i.clipPath(n,t._transform):Object(g["clone"])(n)}function FN(t){var e=aN(t[0][0],t[1][0]),n=aN(t[0][1],t[1][1]),i=oN(t[0][0],t[1][0]),r=oN(t[0][1],t[1][1]);return{x:e,y:n,width:i-e,height:r-n}}function WN(t,e,n){if(t._brushType&&!KN(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,a=wN(t,e,n);if(!t._dragging)for(var o=0;o<r.length;o++){var s=r[o].__brushOption;if(a&&(a===rN||s.panelId===a.panelId)&&JN[s.brushType].contain(r[o],n[0],n[1]))return}a&&i.setCursorStyle("crosshair")}}function VN(t){var e=t.event;e.preventDefault&&e.preventDefault()}function GN(t,e,n){return t.childOfName("main").contain(e,n)}function UN(t,e,n,i){var r,a=t._creatingCover,o=t._creatingPanel,s=t._brushOption;if(t._track.push(n.slice()),TN(t)||a){if(o&&!a){"single"===s.brushMode&&LN(t);var l=Object(g["clone"])(s);l.brushType=XN(l.brushType,o),l.panelId=o===rN?null:o.panelId,a=t._creatingCover=mN(t,l),t._covers.push(a)}if(a){var u=JN[XN(t._brushType,o)],c=a.__brushOption;c.range=u.getCreatingRange(BN(t,a,t._track)),i&&(yN(t,a),u.updateCommon(t,a)),vN(t,a),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&wN(t,e,n)&&LN(t)&&(r={isEnd:i,removeOnClick:!0});return r}function XN(t,e){return"auto"===t?e.defaultBrushType:t}var ZN={mousedown:function(t){if(this._dragging)qN(this,t);else if(!t.target||!t.target.draggable){VN(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null;var n=this._creatingPanel=wN(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(WN(this,t,i),this._dragging){VN(t);var r=UN(this,t,i,!1);r&&kN(this,r)}},mouseup:function(t){qN(this,t)}};function qN(t,e){if(t._dragging){VN(e);var n=e.offsetX,i=e.offsetY,r=t.group.transformCoordToLocal(n,i),a=UN(t,e,r,!0);t._dragging=!1,t._track=[],t._creatingCover=null,a&&kN(t,a)}}function KN(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}var JN={lineX:$N(0),lineY:$N(1),rect:{createCover:function(t,e){function n(t){return t}return ON({toRectRange:n,fromRectRange:n},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=DN(t);return jN(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,i){AN(t,e,n,i)},updateCommon:IN,contain:GN},polygon:{createCover:function(t,e){var n=new Ri;return n.add(new J_({name:"main",style:CN(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new Z_({name:"main",draggable:!0,drift:Object(g["curry"])(HN,t,e),ondragend:Object(g["curry"])(kN,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:BN(t,e,n)})},updateCommon:IN,contain:GN}};function $N(t){return{createCover:function(e,n){return ON({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=DN(e),i=aN(n[0][t],n[1][t]),r=oN(n[0][t],n[1][t]);return[i,r]},updateCoverShape:function(e,n,i,r){var a,o=SN(e,n);if(o!==rN&&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(),AN(e,n,l,r)},updateCommon:IN,contain:GN}}var QN=gN;function tH(t){return t=iH(t),function(e){return qg(e,t)}}function eH(t,e){return t=iH(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 nH(t,e,n){var i=iH(t);return function(t,r){return i.contain(r[0],r[1])&&!_I(t,e,n)}}function iH(t){return Ft.create(t)}var rH=["axisLine","axisTickLabel","axisName"],aH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments),(this._brushController=new QN(n.getZr())).on("brush",g["bind"](this._onBrush,this))},e.prototype.render=function(t,e,n,i){if(!oH(t,e,i)){this.axisModel=t,this.api=n,this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new Ri,this.group.add(this._axisGroup),t.get("show")){var a=lH(t,e),o=a.coordinateSystem,s=t.getAreaSelectStyle(),l=s.width,u=t.axis.dim,c=o.getAxisLayout(u),d=g["extend"]({strokeContainThreshold:l},c),h=new oA(t,d);g["each"](rH,h.add,h),this._axisGroup.add(h.getGroup()),this._refreshBrushController(d,s,t,a,l,n),Zg(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=Ft.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:tH(u),isTargetByCursor:nH(u,a,i),getLinearBrushOtherExtent:eH(u,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(sH(n))},e.prototype._onBrush=function(t){var e=t.areas,n=this.axisModel,i=n.axis,r=g["map"](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}(Uf);function oH(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}function sH(t){var e=t.axis;return g["map"](t.activeIntervals,(function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}}))}function lH(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}var uH=aH,cH={type:"axisAreaSelect",event:"axisAreaSelected"};function dH(t){t.registerAction(cH,(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 hH={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function pH(t){t.registerComponentView(CR),t.registerComponentModel(PR),t.registerCoordinateSystem("parallel",eN),t.registerPreprocessor(kR),t.registerComponentModel(iN),t.registerComponentView(uH),TO(t,"parallel",iN,hH),dH(t)}function fH(t){fx(pH),t.registerChartView(yR),t.registerSeriesModel(MR),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,LR)}var _H=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}(),gH=function(t){function e(e){return t.call(this,e)||this}return f(e,t),e.prototype.getDefaultShape=function(){return new _H},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(){Dl(this)},e.prototype.downplay=function(){Ol(this)},e}(ss),mH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._focusAdjacencyDisabled=!1,n}return f(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(),c=t.getData("edge"),d=t.get("orient");this._model=t,a.removeAll(),a.x=o.x,a.y=o.y,r.eachEdge((function(e){var n=new gH,i=Ws(n);i.dataIndex=e.dataIndex,i.seriesIndex=t.seriesIndex,i.dataType="edge";var r,o,u,h,p,f,_,m,y=e.getModel(),v=y.getModel("lineStyle"),b=v.get("curveness"),x=e.node1.getLayout(),M=e.node1.getModel(),w=M.get("localX"),S=M.get("localY"),L=e.node2.getLayout(),k=e.node2.getModel(),T=k.get("localX"),D=k.get("localY"),O=e.getLayout();switch(n.shape.extent=Math.max(1,O.dy),n.shape.orient=d,"vertical"===d?(r=(null!=w?w*s:x.x)+O.sy,o=(null!=S?S*l:x.y)+x.dy,u=(null!=T?T*s:L.x)+O.ty,h=null!=D?D*l:L.y,p=r,f=o*(1-b)+h*b,_=u,m=o*b+h*(1-b)):(r=(null!=w?w*s:x.x)+x.dx,o=(null!=S?S*l:x.y)+O.sy,u=null!=T?T*s:L.x,h=(null!=D?D*l:L.y)+O.ty,p=r*(1-b)+u*b,f=o,_=r*b+u*(1-b),m=h),n.setShape({x1:r,y1:o,x2:u,y2:h,cpx1:p,cpy1:f,cpx2:_,cpy2:m}),n.useStyle(v.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 A=e.node1.getVisual("color"),I=e.node2.getVisual("color");Object(g["isString"])(A)&&Object(g["isString"])(I)&&(n.style.fill=new _g(0,0,+("horizontal"===d),+("vertical"===d),[{color:A,offset:0},{color:I,offset:1}]))}var Y=y.getModel("emphasis");Jl(n,y,"lineStyle",(function(t){return t.getItemStyle()})),a.add(n),c.setItemGraphicEl(e.dataIndex,n);var C=Y.get("focus");Xl(n,"adjacency"===C?e.getAdjacentDataIndices():C,Y.get("blurScope"),Y.get("disabled")),Ws(n).dataType="edge"})),r.eachNode((function(e){var n=e.getLayout(),i=e.getModel(),r=i.get("localX"),o=i.get("localY"),c=i.getModel("emphasis"),d=new Ss({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(),z2:10});vu(d,bu(i),{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id}),d.disableLabelAnimation=!0,d.setStyle("fill",e.getVisual("color")),d.setStyle("decal",e.getVisual("style").decal),Jl(d,i),a.add(d),u.setItemGraphicEl(e.dataIndex,d),Ws(d).dataType="node";var h=c.get("focus");Xl(d,"adjacency"===h?e.getAdjacentDataIndices():h,c.get("blurScope"),c.get("disabled"))})),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(yH(a.getBoundingRect(),t,(function(){a.removeClipPath()}))),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(pm);function yH(t,e,n){var i=new Ss({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return uu(i,{shape:{width:t.width+20}},e,n),i}var vH=mH,bH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(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 Gu(r[o],this,e));if(i&&n){var s=NE(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||this.option.nodes,i=n[t];i.localX=e[0],i.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 ff("nameValue",{name:s,value:o,noValue:i(o)})}var l=this.getGraph().getNodeByIndex(t),u=l.getLayout().value,c=this.getDataParams(t,n).data.name;return ff("nameValue",{name:null!=c?c+"":null,value:u,noValue:i(u)})},e.prototype.optionUpdated=function(){},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={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}(Vf),xH=bH;function MH(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=wH(t,e);t.layoutInfo=r;var a=r.width,o=r.height,s=t.getGraph(),l=s.nodes,u=s.edges;LH(l);var c=g["filter"](l,(function(t){return 0===t.getLayout().value})),d=0!==c.length?0:t.get("layoutIterations"),h=t.get("orient"),p=t.get("nodeAlign");SH(l,u,n,i,a,o,d,h,p)}))}function wH(t,e){return od(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function SH(t,e,n,i,r,a,o,s,l){kH(t,e,n,r,a,s,l),IH(t,e,a,r,i,o,s),VH(t,s)}function LH(t){g["each"](t,(function(t){var e=FH(t.outEdges,BH),n=FH(t.inEdges,BH),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)}))}function kH(t,e,n,i,r,a,o){for(var s=[],l=[],u=[],c=[],d=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 _=u[f],g=_.hostGraph.data.getRawDataItem(_.dataIndex),m=null!=g.depth&&g.depth>=0;m&&g.depth>p&&(p=g.depth),_.setLayout({depth:m?g.depth:d},!0),"vertical"===a?_.setLayout({dy:n},!0):_.setLayout({dx:n},!0);for(var y=0;y<_.outEdges.length;y++){var v=_.outEdges[y],b=e.indexOf(v);s[b]=0;var x=v.node2,M=t.indexOf(x);0===--l[M]&&c.indexOf(x)<0&&c.push(x)}}++d,u=c,c=[]}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>d-1?p:d-1;o&&"left"!==o&&DH(t,o,a,w);var S="vertical"===a?(r-n)/w:(i-n)/w;AH(t,S,a)}function TH(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function DH(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 c=l.inEdges[u];r.indexOf(c.node1)<0&&r.push(c.node1)}}a=r,r=[],++o}g["each"](t,(function(t){TH(t)||t.setLayout({depth:Math.max(0,i-t.getLayout().skNodeHeight)},!0)}))}else"justify"===e&&OH(t,i)}function OH(t,e){g["each"](t,(function(t){TH(t)||t.outEdges.length||t.setLayout({depth:e},!0)}))}function AH(t,e,n){g["each"](t,(function(t){var i=t.getLayout().depth*e;"vertical"===n?t.setLayout({y:i},!0):t.setLayout({x:i},!0)}))}function IH(t,e,n,i,r,a,o){var s=YH(t,o);CH(s,e,n,i,r,o),jH(s,r,n,i,o);for(var l=1;a>0;a--)l*=.99,PH(s,l,o),jH(s,r,n,i,o),WH(s,l,o),jH(s,r,n,i,o)}function YH(t,e){var n=[],i="vertical"===e?"y":"x",r=ra(t,(function(t){return t.getLayout()[i]}));return r.keys.sort((function(t,e){return t-e})),g["each"](r.keys,(function(t){n.push(r.buckets.get(t))})),n}function CH(t,e,n,i,r,a){var o=1/0;g["each"](t,(function(t){var e=t.length,s=0;g["each"](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)})),g["each"](t,(function(t){g["each"](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))}))})),g["each"](e,(function(t){var e=+t.getValue()*o;t.setLayout({dy:e},!0)}))}function jH(t,e,n,i,r){var a="vertical"===r?"x":"y";g["each"](t,(function(t){var o,s,l;t.sort((function(t,e){return t.getLayout()[a]-e.getLayout()[a]}));for(var u=0,c=t.length,d="vertical"===r?"dx":"dy",h=0;h<c;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()[d]+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=c-2;h>=0;--h)s=t[h],l=s.getLayout()[a]+s.getLayout()[d]+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 PH(t,e,n){g["each"](t.slice().reverse(),(function(t){g["each"](t,(function(t){if(t.outEdges.length){var i=FH(t.outEdges,EH,n)/FH(t.outEdges,BH);if(isNaN(i)){var r=t.outEdges.length;i=r?FH(t.outEdges,RH,n)/r:0}if("vertical"===n){var a=t.getLayout().x+(i-zH(t,n))*e;t.setLayout({x:a},!0)}else{var o=t.getLayout().y+(i-zH(t,n))*e;t.setLayout({y:o},!0)}}}))}))}function EH(t,e){return zH(t.node2,e)*t.getValue()}function RH(t,e){return zH(t.node2,e)}function NH(t,e){return zH(t.node1,e)*t.getValue()}function HH(t,e){return zH(t.node1,e)}function zH(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function BH(t){return t.getValue()}function FH(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 WH(t,e,n){g["each"](t,(function(t){g["each"](t,(function(t){if(t.inEdges.length){var i=FH(t.inEdges,NH,n)/FH(t.inEdges,BH);if(isNaN(i)){var r=t.inEdges.length;i=r?FH(t.inEdges,HH,n)/r:0}if("vertical"===n){var a=t.getLayout().x+(i-zH(t,n))*e;t.setLayout({x:a},!0)}else{var o=t.getLayout().y+(i-zH(t,n))*e;t.setLayout({y:o},!0)}}}))}))}function VH(t,e){var n="vertical"===e?"x":"y";g["each"](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]}))})),g["each"](t,(function(t){var e=0,n=0;g["each"](t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),g["each"](t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}function GH(t){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph(),n=e.nodes;if(n.length){var i=1/0,r=-1/0;g["each"](n,(function(t){var e=t.getLayout().value;e<i&&(i=e),e>r&&(r=e)})),g["each"](n,(function(e){var n=new Uj({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 UH(t){t.registerChartView(vH),t.registerSeriesModel(xH),t.registerLayout(MH),t.registerVisual(GH),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 XH=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,c=this._baseAxisDim=l[u],d=l[1-u],h=[r,a],p=h[u].get("type"),f=h[1-u].get("type"),_=t.data;if(_&&i){var m=[];g["each"](_,(function(t,e){var n;g["isArray"](t)?(n=t.slice(),t.unshift(e)):g["isArray"](t.value)?(n=g["extend"]({},t),n.value=n.value.slice(),t.value.unshift(e)):n=t,m.push(n)})),t.data=m}var y=this.defaultValueDimensions,v=[{name:c,type:Mx(p),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:d,type:Mx(f),dimsDef:y.slice()}];return eO(this,{coordDimensions:v,dimensionsCount:y.length+1,encodeDefaulter:g["curry"](Yd,v,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),ZH=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 f(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={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}(Vf);Object(g["mixin"])(ZH,XH,!0);var qH=ZH,KH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(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=QH(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?(fu(n),tz(s,n,i,t)):n=QH(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}(pm),JH=function(){function t(){}return t}(),$H=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return f(e,t),e.prototype.getDefaultShape=function(){return new JH},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}(ss);function QH(t,e,n,i,r){var a=t.ends,o=new $H({shape:{points:r?ez(a,i,t):a}});return tz(t,o,e,n,r),o}function tz(t,e,n,i,r){var a=n.hostModel,s=o[r?"initProps":"updateProps"];s(e,{shape:{points:t.ends}},a,i),e.useStyle(n.getItemVisual(i,"style")),e.style.strokeNoScale=!0,e.z2=100;var l=n.getItemModel(i),u=l.getModel("emphasis");Jl(e,l),Xl(e,u.get("focus"),u.get("blurScope"),u.get("disabled"))}function ez(t,e,n){return g["map"](t,(function(t){return t=t.slice(),t[e]=n.initBaseline,t}))}var nz=KH;function iz(t,e){}var rz=g["each"];function az(t){var e=oz(t);rz(e,(function(t){var e=t.seriesModels;e.length&&(sz(t),rz(e,(function(e,n){lz(e,t.boxOffsetList[n],t.boxWidthList[n])})))}))}function oz(t){var e=[],n=[];return t.eachSeriesByType("boxplot",(function(t){var i=t.getBaseAxis(),r=g["indexOf"](n,i);r<0&&(r=n.length,n[r]=i,e[r]={axis:i,seriesModels:[]}),e[r].seriesModels.push(t)})),e}function sz(t){var e,n=t.axis,i=t.seriesModels,r=i.length,a=t.boxWidthList=[],o=t.boxOffsetList=[],s=[];if("category"===n.type)e=n.getBandWidth();else{var l=0;rz(i,(function(t){l=Math.max(l,t.getData().count())}));var u=n.getExtent();e=Math.abs(u[1]-u[0])/l}rz(i,(function(t){var n=t.get("boxWidth");g["isArray"](n)||(n=[n,n]),s.push([Qi(n[0],e)||0,Qi(n[1],e)||0])}));var c=.8*e-2,d=c/r*.3,h=(c-d*(r-1))/r,p=h/2-c/2;rz(i,(function(t,e){o.push(p),p+=d+h,a.push(Math.min(Math.max(h,s[e][0]),s[e][1]))}))}function lz(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]),c=r.mapDimensionsAll(l[s]);if(!(null==u||c.length<5))for(var d=0;d<r.count();d++){var h=r.get(u,d),p=v(h,c[2],d),f=v(h,c[0],d),_=v(h,c[1],d),g=v(h,c[3],d),m=v(h,c[4],d),y=[];b(y,_,!1),b(y,g,!0),y.push(f,_,m,g),x(y,f),x(y,m),x(y,p),r.setItemLayout(d,{initBaseline:p[s],ends:y})}function v(t,n,a){var l,u=r.get(n,a),c=[];return c[o]=t,c[s]=u,isNaN(t)||isNaN(u)?l=[NaN,NaN]:(l=i.dataToPoint(c),l[o]+=e),l}function b(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 x(t,e){var n=e.slice(),i=e.slice();n[o]-=a,i[o]+=a,t.push(n,i)}}function uz(t,e){e=e||{};for(var n=[],i=[],r=e.boundIQR,a="none"===r||0===r,o=0;o<t.length;o++){var s=er(t[o].slice()),l=gr(s,.25),u=gr(s,.5),c=gr(s,.75),d=s[0],h=s[s.length-1],p=(null==r?1.5:r)*(c-l),f=a?d:Math.max(d,l-p),_=a?h:Math.min(h,c+p),m=e.itemNameFormatter,y=Object(g["isFunction"])(m)?m({value:o}):Object(g["isString"])(m)?m.replace("{value}",o+""):o+"";n.push([y,f,l,u,c,_]);for(var v=0;v<s.length;v++){var b=s[v];if(b<f||b>_){var x=[y,b];i.push(x)}}}return{boxData:n,outliers:i}}var cz={type:"echarts:boxplot",transform:function(t){var e=t.upstream;if(e.sourceFormat!==Md){var n="";0,$d(n)}var i=uz(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:i.boxData},{data:i.outliers}]}};function dz(t){t.registerSeriesModel(qH),t.registerChartView(nz),t.registerVisual(iz),t.registerLayout(az),t.registerTransform(cz)}var hz=["color","borderColor"],pz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,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._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){rm(this._progressiveEls||this.group,t)},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&&mz(s,o))return;var l=gz(o,n,!0);uu(l,{shape:{points:o.ends}},t,n),yz(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 c=e.getItemLayout(o);a&&mz(s,c)?i.remove(u):(u?(lu(u,{shape:{points:c.ends}},t,o),fu(u)):u=gz(c,o),yz(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(),Mz(t,this.group);var e=t.get("clip",!0)?AT(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=gz(a,n);yz(o,i,n,r),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},e.prototype._incrementalRenderLarge=function(t,e){Mz(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(pm),fz=function(){function t(){}return t}(),_z=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return f(e,t),e.prototype.getDefaultShape=function(){return new fz},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}(ss);function gz(t,e,n){var i=t.ends;return new _z({shape:{points:n?vz(i,t):i},z2:100})}function mz(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 yz(t,e,n,i){var r=e.getItemModel(n);t.useStyle(e.getItemVisual(n,"style")),t.style.strokeNoScale=!0,t.__simpleBox=i,Jl(t,r)}function vz(t,e){return g["map"](t,(function(t){return t=t.slice(),t[1]=e.initBaseline,t}))}var bz=function(){function t(){}return t}(),xz=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeCandlestickBox",n}return f(e,t),e.prototype.getDefaultShape=function(){return new bz},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}(ss);function Mz(t,e,n,i){var r=t.getData(),a=r.getLayout("largePoints"),o=new xz({shape:{points:a},__sign:1,ignoreCoarsePointer:!0});e.add(o);var s=new xz({shape:{points:a},__sign:-1,ignoreCoarsePointer:!0});e.add(s),wz(1,o,t,r),wz(-1,s,t,r),i&&(o.incremental=!0,s.incremental=!0),n&&n.push(o,s)}function wz(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(hz);e.useStyle(a),e.style.fill=null,e.style.stroke=r}var Sz=pz,Lz=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 f(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={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}(Vf);Object(g["mixin"])(Lz,XH,!0);var kz=Lz;function Tz(t){t&&g["isArray"](t.series)&&g["each"](t.series,(function(t){g["isObject"](t)&&"k"===t.type&&(t.type="candlestick")}))}var Dz=["itemStyle","borderColor"],Oz=["itemStyle","borderColor0"],Az=["itemStyle","color"],Iz=["itemStyle","color0"],Yz={seriesType:"candlestick",plan:Xf(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?Az:Iz)}function i(t,e){return e.get(t>0?Dz:Oz)}if(!e.isSeriesFiltered(t)){var r=t.pipelineContext.large;return!r&&{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");Object(g["extend"])(l,s)}}}}}},Cz=Yz,jz={seriesType:"candlestick",plan:Xf(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),i=Ez(t,n),r=0,a=1,o=["x","y"],s=n.getDimensionIndex(n.mapDimension(o[r])),l=Object(g["map"])(n.mapDimensionsAll(o[a]),n.getDimensionIndex,n),u=l[0],c=l[1],d=l[2],h=l[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(s<0||l.length<4))return{progress:t.pipelineContext.large?f:p};function p(t,n){var o,l=n.getStore();while(null!=(o=t.next())){var p=l.get(s,o),f=l.get(u,o),_=l.get(c,o),g=l.get(d,o),m=l.get(h,o),y=Math.min(f,_),v=Math.max(f,_),b=L(y,p),x=L(v,p),M=L(g,p),w=L(m,p),S=[];k(S,x,0),k(S,b,1),S.push(D(w),D(x),D(M),D(b)),n.setItemLayout(o,{sign:Pz(l,o,f,_,c),initBaseline:f>_?x[a]:b[a],ends:S,brushRect:T(g,m,p)})}function L(t,n){var i=[];return i[r]=n,i[a]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function k(t,e,n){var a=e.slice(),o=e.slice();a[r]=Fg(a[r]+i/2,1,!1),o[r]=Fg(o[r]-i/2,1,!0),n?t.push(a,o):t.push(o,a)}function T(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 D(t){return t[r]=Fg(t[r],1),t}}function f(t,n){var i,o,l=EM(4*t.count),p=0,f=[],_=[],g=n.getStore();while(null!=(o=t.next())){var m=g.get(s,o),y=g.get(u,o),v=g.get(c,o),b=g.get(d,o),x=g.get(h,o);isNaN(m)||isNaN(b)||isNaN(x)?(l[p++]=NaN,p+=3):(l[p++]=Pz(g,o,y,v,c),f[r]=m,f[a]=b,i=e.dataToPoint(f,null,_),l[p++]=i?i[0]:NaN,l[p++]=i?i[1]:NaN,f[a]=x,i=e.dataToPoint(f,null,_),l[p++]=i?i[1]:NaN)}n.setLayout("largePoints",l)}}};function Pz(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 Ez(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=Qi(Object(g["retrieve2"])(t.get("barMaxWidth"),r),r),o=Qi(Object(g["retrieve2"])(t.get("barMinWidth"),1),r),s=t.get("barWidth");return null!=s?Qi(s,r):Math.max(Math.min(r/2,a),o)}var Rz=jz;function Nz(t){t.registerChartView(Sz),t.registerSeriesModel(kz),t.registerPreprocessor(Tz),t.registerVisual(Cz),t.registerLayout(Rz)}function Hz(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 zz=function(t){function e(e,n){var i=t.call(this)||this,r=new uT(e,n),a=new Ri;return i.add(r),i.add(a),i.updateData(e,n),i}return f(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),a=0;a<i;a++){var o=ky(e,-1,-1,2,2,n);o.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var s=-a/i*t.period+t.effectOffset;o.animate("",!0).when(t.period,{scaleX:t.rippleScale/2,scaleY:t.rippleScale/2}).delay(s).start(),o.animateStyle(!0).when(t.period,{opacity:0}).delay(s).start(),r.add(o)}Hz(r,t)},e.prototype.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale","rippleNumber"],r=0;r<i.length;r++){var a=i[r];if(e[a]!==t[a])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}Hz(n,t)},e.prototype.highlight=function(){Dl(this)},e.prototype.downplay=function(){Ol(this)},e.prototype.getSymbolType=function(){var t=this.childAt(0);return t&&t.getSymbolType()},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=Ty(t.getItemVisual(e,"symbolSize")),l=t.getItemVisual(e,"style"),u=l&&l.fill,c=a.getModel("emphasis");r.setScale(s),r.traverse((function(t){t.setStyle("fill",u)}));var d=Dy(t.getItemVisual(e,"symbolOffset"),s);d&&(r.x=d[0],r.y=d[1]);var h=t.getItemVisual(e,"symbolRotate");r.rotation=(h||0)*Math.PI/180||0;var p={};p.showEffectOn=i.get("showEffectOn"),p.rippleScale=a.get(["rippleEffect","scale"]),p.brushType=a.get(["rippleEffect","brushType"]),p.period=1e3*a.get(["rippleEffect","period"]),p.effectOffset=e/t.count(),p.z=i.getShallow("z")||0,p.zlevel=i.getShallow("zlevel")||0,p.symbolType=o,p.color=u,p.rippleEffectColor=a.get(["rippleEffect","color"]),p.rippleNumber=a.get(["rippleEffect","number"]),"render"===p.showEffectOn?(this._effectCfg?this.updateEffectAnimation(p):this.startEffectAnimation(p),this._effectCfg=p):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(t){"emphasis"===t?"render"!==p.showEffectOn&&n.startEffectAnimation(p):"normal"===t&&"render"!==p.showEffectOn&&n.stopEffectAnimation()}),this._effectCfg=p,Xl(this,c.get("focus"),c.get("blurScope"),c.get("disabled"))},e.prototype.fadeOut=function(t){t&&t()},e}(Ri),Bz=zz,Fz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.init=function(){this._symbolDraw=new fT(Bz)},e.prototype.render=function(t,e,n){var i=t.getData(),r=this._symbolDraw;r.updateData(i,{clipShape:this._getClipShape(t)}),this.group.add(r.group)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype.updateTransform=function(t,e,n){var i=t.getData();this.group.dirty();var r=JT("").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=At(e.getRoamTransform()),this.group.decomposeTransform())},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0)},e.type="effectScatter",e}(pm),Wz=Fz,Vz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return f(e,t),e.prototype.getInitialData=function(t,e){return pM(null,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",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},e}(Vf),Gz=Vz;function Uz(t){t.registerChartView(Wz),t.registerSeriesModel(Gz),t.registerLayout(JT("effectScatter"))}var Xz=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 f(e,t),e.prototype.createLine=function(t,e,n){return new fE(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");g["isArray"](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=ky(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=t.getItemLayout(n),a=1e3*e.get("period"),o=e.get("loop"),s=e.get("roundTrip"),l=e.get("constantSpeed"),u=g["retrieve"](e.get("delay"),(function(e){return e/t.count()*a/3}));if(i.ignore=!0,this._updateAnimationPoints(i,r),l>0&&(a=this._getLineLength(i)/l*1e3),a!==this._period||o!==this._loop||s!==this._roundTrip){i.stopAnimation();var c=void 0;c=g["isFunction"](u)?u(n):u,i.__t>0&&(c=-a*i.__t),this._animateSymbol(i,a,c,o,s)}this._period=a,this._loop=o,this._roundTrip=s}},e.prototype._animateSymbol=function(t,e,n,i,r){if(e>0){t.__t=0;var a=this,o=t.animate("",i).when(r?2*e:e,{__t:r?2:1}).delay(n).during((function(){a._updateSymbolPosition(t)}));i||o.done((function(){a.remove(t)})),o.start()}},e.prototype._getLineLength=function(t){return j(t.__p1,t.__cp1)+j(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<1?t.__t:2-t.__t,a=[t.x,t.y],o=a.slice(),s=Be,l=Fe;a[0]=s(e[0],i[0],n[0],r),a[1]=s(e[1],i[1],n[1],r);var u=t.__t<1?l(e[0],i[0],n[0],r):l(n[0],i[0],e[0],1-r),c=t.__t<1?l(e[1],i[1],n[1],r):l(n[1],i[1],e[1],1-r);t.rotation=-Math.atan2(c,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*j(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*j(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}(Ri),Zz=Xz,qz=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createPolyline(e,n,i),r}return f(e,t),e.prototype._createPolyline=function(t,e,n){var i=t.getItemLayout(e),r=new J_({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)}};lu(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,o=n&&n.focus,s=n&&n.blurScope,l=n&&n.emphasisDisabled;if(!n||t.hasItemOption){var u=r.getModel("emphasis");a=u.getModel("lineStyle").getLineStyle(),l=u.get("disabled"),o=u.get("focus"),s=u.get("blurScope")}i.useStyle(t.getItemVisual(e,"style")),i.style.fill=null,i.style.strokeNoScale=!0;var c=i.ensureState("emphasis");c.style=a,Xl(this,o,s,l)},e.prototype.updateLayout=function(t,e){var n=this.childAt(0);n.setShape("points",t.getItemLayout(e))},e}(Ri),Kz=qz,Jz=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return f(e,t),e.prototype.createLine=function(t,e,n){return new Kz(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+=j(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<1?t.__t:2-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],c=n[a+1];t.x=u[0]*(1-l)+l*c[0],t.y=u[1]*(1-l)+l*c[1];var d=t.__t<1?c[0]-u[0]:u[0]-c[0],h=t.__t<1?c[1]-u[1]:u[1]-c[1];t.rotation=-Math.atan2(h,d)-Math.PI/2,this._lastFrame=a,this._lastFramePercent=e,t.ignore=!1}},e}(Zz),$z=Jz,Qz=function(){function t(){this.polyline=!1,this.curveness=0,this.segs=[]}return t}(),tB=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return f(e,t),e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Qz},e.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n<i.length;){var a=i[n++];if(a>0){t.moveTo(i[n++],i[n++]);for(var o=1;o<a;o++)t.lineTo(i[n++],i[n++])}}else for(n=this._off;n<i.length;){var s=i[n++],l=i[n++],u=i[n++],c=i[n++];if(t.moveTo(s,l),r>0){var d=(s+u)/2-(l-c)*r,h=(l+c)/2-(u-s)*r;t.quadraticCurveTo(d,h,u,c)}else t.lineTo(u,c)}this.incremental&&(this._off=n,this.notClear=!0)},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++],c=i[s++],d=1;d<l;d++){var h=i[s++],p=i[s++];if(Eo(u,c,h,p,a,t,e))return o}o++}else for(o=0,s=0;s<i.length;){u=i[s++],c=i[s++],h=i[s++],p=i[s++];if(r>0){var f=(u+h)/2-(c-p)*r,_=(c+p)/2-(h-u)*r;if(No(u,c,f,_,h,p,a,t,e))return o}else if(Eo(u,c,h,p,a,t,e))return o;o++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();if(t=n[0],e=n[1],i.contain(t,e)){var r=this.hoverDataIdx=this.findDataIndex(t,e);return r>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.segs,i=1/0,r=1/0,a=-1/0,o=-1/0,s=0;s<n.length;){var l=n[s++],u=n[s++];i=Math.min(l,i),a=Math.max(l,a),r=Math.min(u,r),o=Math.max(u,o)}t=this._rect=new Ft(i,r,a,o)}return t},e}(ss),eB=function(){function t(){this.group=new Ri}return t.prototype.updateData=function(t){this._clear();var e=this._create();e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t)},t.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clear()},t.prototype.incrementalUpdate=function(t,e){var n=this._newAdded[0],i=e.getLayout("linesPoints"),r=n&&n.shape.segs;if(r&&r.length<2e4){var a=r.length,o=new Float32Array(a+i.length);o.set(r),o.set(i,a),n.setShape({segs:o})}else{this._newAdded=[];var s=this._create();s.incremental=!0,s.setShape({segs:i}),this._setCommon(s,e),s.__startIndex=t.start}},t.prototype.remove=function(){this._clear()},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new tB({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(t),this.group.add(t),t},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");r&&r.stroke&&t.setStyle("stroke",r.stroke),t.setStyle("fill",null);var a=Ws(t);a.seriesIndex=i.seriesIndex,t.on("mousemove",(function(e){a.dataIndex=null;var n=t.hoverDataIdx;n>0&&(a.dataIndex=n+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),nB=eB,iB={seriesType:"lines",plan:Xf(),reset:function(t){var e=t.coordinateSystem;if(e){var 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,c=r.start;c<r.end;c++)u+=t.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var d=0,h=[];for(c=r.start;c<r.end;c++){var p=t.getLineCoords(c,o);n&&(s[d++]=p);for(var f=0;f<p;f++)h=e.dataToPoint(o[f],!1,h),s[d++]=h[0],s[d++]=h[1]}a.setLayout("linesPoints",s)}else for(c=r.start;c<r.end;c++){var _=a.getItemModel(c),g=(p=t.getLineCoords(c,o),[]);if(n)for(var m=0;m<p;m++)g.push(e.dataToPoint(o[m]));else{g[0]=e.dataToPoint(o[0]),g[1]=e.dataToPoint(o[1]);var y=_.get(["lineStyle","curveness"]);+y&&(g[2]=[(g[0][0]+g[1][0])/2-(g[0][1]-g[1][1])*y,(g[0][1]+g[1][1])/2-(g[1][0]-g[0][0])*y])}a.setItemLayout(c,g)}}}}}},rB=iB,aB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(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>0&&(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)&&AT(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.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},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=rB.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 nB:new bE(r?i?$z:Kz:i?Zz:fE),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=o),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.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(pm),oB=aB,sB="undefined"===typeof Uint32Array?Array:Uint32Array,lB="undefined"===typeof Float64Array?Array:Float64Array;function uB(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=Object(g["map"])(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),Object(g["mergeAll"])([n,t[0],t[1]])})))}var cB=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 f(e,t),e.prototype.init=function(e){e.data=e.data||[],uB(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(uB(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=Object(g["concatArray"])(this._flatCoords,e.flatCoords),this._flatCoordsOffset=Object(g["concatArray"])(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),Object(g["isNumber"])(t[0])){for(var n=t.length,i=new sB(n),r=new lB(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 c=0;c<u;c++){var d=t[l++],h=t[l++];r[a++]=d,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 Zx(["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),ff("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.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",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}(Vf),dB=cB;function hB(t){return t instanceof Array||(t=[t,t]),t}var pB={seriesType:"lines",reset:function(t){var e=hB(t.get("symbol")),n=hB(t.get("symbolSize")),i=t.getData();function r(t,e){var n=t.getItemModel(e),i=hB(n.getShallow("symbol",!0)),r=hB(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}}},fB=pB;function _B(t){t.registerChartView(oB),t.registerSeriesModel(dB),t.registerLayout(rB),t.registerVisual(fB)}var gB=256,mB=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=hi["d"].createCanvas();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,c=this.canvas,d=c.getContext("2d"),h=t.length;c.width=e,c.height=n;for(var p=0;p<h;++p){var f=t[p],_=f[0],g=f[1],m=f[2],y=i(m);d.globalAlpha=y,d.drawImage(o,_-u,g-u)}if(!c.width||!c.height)return c;var v=d.getImageData(0,0,c.width,c.height),b=v.data,x=0,M=b.length,w=this.minOpacity,S=this.maxOpacity,L=S-w;while(x<M){y=b[x+3]/256;var k=4*Math.floor(y*(gB-1));if(y>0){var T=a(y)?s:l;y>0&&(y=y*L+w),b[x++]=T[k],b[x++]=T[k+1],b[x++]=T[k+2],b[x++]=T[k+3]*y*256}else x+=4}return d.putImageData(v,0,0),c},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=hi["d"].createCanvas()),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}(),yB=mB;function vB(t,e,n){var i=t[1]-t[0];e=g["map"](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 bB(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 xB(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var MB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(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._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):xB(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&&(xB(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){rm(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var a,o,s,l,u=t.coordinateSystem,c=IT(u,"cartesian2d");if(c){var d=u.getAxis("x"),h=u.getAxis("y");0,a=d.getBandWidth()+.5,o=h.getBandWidth()+.5,s=d.scale.getExtent(),l=h.scale.getExtent()}for(var p=this.group,f=t.getData(),_=t.getModel(["emphasis","itemStyle"]).getItemStyle(),g=t.getModel(["blur","itemStyle"]).getItemStyle(),m=t.getModel(["select","itemStyle"]).getItemStyle(),y=t.get(["itemStyle","borderRadius"]),v=bu(t),b=t.getModel("emphasis"),x=b.get("focus"),M=b.get("blurScope"),w=b.get("disabled"),S=c?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],L=n;L<i;L++){var k=void 0,T=f.getItemVisual(L,"style");if(c){var D=f.get(S[0],L),O=f.get(S[1],L);if(isNaN(f.get(S[2],L))||D<s[0]||D>s[1]||O<l[0]||O>l[1])continue;var A=u.dataToPoint([D,O]);k=new Ss({shape:{x:A[0]-a/2,y:A[1]-o/2,width:a,height:o},style:T})}else{if(isNaN(f.get(S[1],L)))continue;k=new Ss({z2:1,shape:u.dataToRect([f.get(S[0],L)]).contentShape,style:T})}if(f.hasItemOption){var I=f.getItemModel(L),Y=I.getModel("emphasis");_=Y.getModel("itemStyle").getItemStyle(),g=I.getModel(["blur","itemStyle"]).getItemStyle(),m=I.getModel(["select","itemStyle"]).getItemStyle(),y=I.get(["itemStyle","borderRadius"]),x=Y.get("focus"),M=Y.get("blurScope"),w=Y.get("disabled"),v=bu(I)}k.shape.r=y;var C=t.getRawValue(L),j="-";C&&null!=C[2]&&(j=C[2]+""),vu(k,v,{labelFetcher:t,labelDataIndex:L,defaultOpacity:T.opacity,defaultText:j}),k.ensureState("emphasis").style=_,k.ensureState("blur").style=g,k.ensureState("select").style=m,Xl(k,x,M,w),k.incremental=r,r&&(k.states.emphasis.hoverLayer=!0),p.add(k),f.setItemGraphicEl(L,k),this._progressiveEls&&this._progressiveEls.push(k)}},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 yB;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 c=Math.max(l.x,0),d=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-c,_=p-d,g=[o.mapDimension("lng"),o.mapDimension("lat"),o.mapDimension("value")],m=o.mapArray(g,(function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=c,r[1]-=d,r.push(i),r})),y=n.getExtent(),v="visualMap.continuous"===n.type?bB(y,n.option.range):vB(y,n.getPieceList(),n.option.selected);s.update(m,f,_,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:a.color.getColorMapper()},v);var b=new _s({style:{width:f,height:_,x:c,y:d,image:s.canvas},silent:!0});this.group.add(b)},e.type="heatmap",e}(pm),wB=MB,SB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.getInitialData=function(t,e){return pM(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=ph.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",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(Vf),LB=SB;function kB(t){t.registerChartView(wB),t.registerSeriesModel(LB)}var TB=["itemStyle","borderWidth"],DB=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],OB=new v_,AB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(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(),c={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:DB[+l],categoryDim:DB[1-+l]};return r.diff(a).add((function(t){if(r.hasValue(t)){var e=FB(r,t),n=IB(r,t,e,c),a=GB(r,c,n);r.setItemGraphicEl(t,a),i.add(a),JB(a,c,n)}})).update((function(t,e){var n=a.getItemGraphicEl(e);if(r.hasValue(t)){var o=FB(r,t),s=IB(r,t,o,c),l=ZB(r,s);n&&l!==n.__pictorialShapeStr&&(i.remove(n),r.setItemGraphicEl(t,null),n=null),n?UB(n,c,s):n=GB(r,c,s,!0),r.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=s,i.add(n),JB(n,c,s)}else i.remove(n)})).remove((function(t){var e=a.getItemGraphicEl(t);e&&XB(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){XB(i,Ws(e).dataIndex,t,e)})):n.removeAll()},e.type="pictorialBar",e}(pm);function IB(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,c=n.get("symbolPatternSize")||2,d=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:c,rotation:u,animationModel:d?n:null,hoverScale:d&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};YB(n,a,r,i,h),jB(t,e,r,a,o,h.boundingLength,h.pxSign,c,i,h),PB(n,h.symbolScale,u,i,h);var p=h.symbolSize,f=Dy(n.get("symbolOffset"),p);return EB(n,p,r,a,o,f,s,h.valueLineWidth,h.boundingLength,h.repeatCutLength,i,h),h}function YB(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)),c=1-+(n[o.wh]<=0);if(g["isArray"](s)){var d=[CB(l,s[0])-u,CB(l,s[1])-u];d[1]<d[0]&&d.reverse(),a=d[c]}else a=null!=s?CB(l,s)-u:e?i.coordSysExtent[o.index][c]-u:n[o.wh];r.boundingLength=a,e&&(r.repeatCutLength=n[o.wh]),r.pxSign=a>0?1:-1}function CB(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function jB(t,e,n,i,r,a,o,s,l,u){var c,d=l.valueDim,h=l.categoryDim,p=Math.abs(n[h.wh]),f=t.getItemVisual(e,"symbolSize");c=g["isArray"](f)?f.slice():null==f?["100%","100%"]:[f,f],c[h.index]=Qi(c[h.index],p),c[d.index]=Qi(c[d.index],i?p:Math.abs(a)),u.symbolSize=c;var _=u.symbolScale=[c[0]/s,c[1]/s];_[d.index]*=(l.isHorizontal?-1:1)*o}function PB(t,e,n,i,r){var a=t.get(TB)||0;a&&(OB.attr({scaleX:e[0],scaleY:e[1],rotation:n}),OB.updateTransform(),a/=OB.getLineScale(),a*=e[i.valueDim.index]),r.valueLineWidth=a||0}function EB(t,e,n,i,r,a,o,s,l,u,c,d){var h=c.categoryDim,p=c.valueDim,f=d.pxSign,_=Math.max(e[p.index]+s,0),m=_;if(i){var y=Math.abs(l),v=g["retrieve"](t.get("symbolMargin"),"15%")+"",b=!1;v.lastIndexOf("!")===v.length-1&&(b=!0,v=v.slice(0,v.length-1));var x=Qi(v,e[p.index]),M=Math.max(_+2*x,0),w=b?0:2*x,S=vr(i),L=S?i:$B((y+w)/M),k=y-L*_;x=k/2/(b?L:Math.max(L-1,1)),M=_+2*x,w=b?0:2*x,S||"fixed"===i||(L=u?$B((Math.abs(u)+w)/M):0),m=L*M-w,d.repeatTimes=L,d.symbolMargin=x}var T=f*(m/2),D=d.pathPosition=[];D[h.index]=n[h.wh]/2,D[p.index]="start"===o?T:"end"===o?l-T:l/2,a&&(D[0]+=a[0],D[1]+=a[1]);var O=d.bundlePosition=[];O[h.index]=n[h.xy],O[p.index]=n[p.xy];var A=d.barRectShape=g["extend"]({},n);A[p.wh]=f*Math.max(Math.abs(n[p.wh]),Math.abs(D[p.index]+T)),A[h.wh]=n[h.wh];var I=d.clipShape={};I[h.xy]=-n[h.xy],I[h.wh]=c.ecSize[h.wh],I[p.xy]=0,I[p.wh]=n[p.wh]}function RB(t){var e=t.symbolPatternSize,n=ky(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function NB(t,e,n,i){var r=t.__pictorialBundle,a=n.symbolSize,o=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,c=0,d=a[e.valueDim.index]+o+2*n.symbolMargin;for(qB(t,(function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c<u?KB(t,null,f(c),n,i):KB(t,null,{scaleX:0,scaleY:0},n,i,(function(){r.remove(t)})),c++}));c<u;c++){var h=RB(n);h.__pictorialAnimationIndex=c,h.__pictorialRepeatTimes=u,r.add(h);var p=f(c);KB(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]=d*(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 HB(t,e,n,i){var r=t.__pictorialBundle,a=t.__pictorialMainPath;a?KB(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=RB(n),r.add(a),KB(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 zB(t,e,n){var i=g["extend"]({},e.barRectShape),r=t.__pictorialBarRect;r?KB(r,null,{shape:i},e,n):(r=t.__pictorialBarRect=new Ss({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),r.disableMorphing=!0,t.add(r))}function BB(t,e,n,i){if(n.symbolClip){var r=t.__pictorialClipPath,a=g["extend"]({},n.clipShape),s=e.valueDim,l=n.animationModel,u=n.dataIndex;if(r)lu(r,{shape:a},l,u);else{a[s.wh]=0,r=new Ss({shape:a}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var c={};c[s.wh]=n.clipShape[s.wh],o[i?"updateProps":"initProps"](r,{shape:c},l,u)}}}function FB(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=WB,n.isAnimationEnabled=VB,n}function WB(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function VB(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function GB(t,e,n,i){var r=new Ri,a=new Ri;return r.add(a),r.__pictorialBundle=a,a.x=n.bundlePosition[0],a.y=n.bundlePosition[1],n.symbolRepeat?NB(r,e,n):HB(r,e,n),zB(r,n,i),BB(r,e,n,i),r.__pictorialShapeStr=ZB(t,n),r.__pictorialSymbolMeta=n,r}function UB(t,e,n){var i=n.animationModel,r=n.dataIndex,a=t.__pictorialBundle;lu(a,{x:n.bundlePosition[0],y:n.bundlePosition[1]},i,r),n.symbolRepeat?NB(t,e,n,!0):HB(t,e,n,!0),zB(t,n,!0),BB(t,e,n,!0)}function XB(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var a=[];qB(i,(function(t){a.push(t)})),i.__pictorialMainPath&&a.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),g["each"](a,(function(t){du(t,{scaleX:0,scaleY:0},n,e,(function(){i.parent&&i.parent.remove(i)}))})),t.setItemGraphicEl(e,null)}function ZB(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function qB(t,e,n){g["each"](t.__pictorialBundle.children(),(function(i){i!==t.__pictorialBarRect&&e.call(n,i)}))}function KB(t,e,n,i,r,a){e&&t.attr(e),i.symbolClip&&!r?n&&t.attr(n):n&&o[r?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,a)}function JB(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"),c=a.get("focus"),d=a.get("blurScope"),h=a.get("scale");qB(t,(function(t){if(t instanceof _s){var e=t.style;t.useStyle(g["extend"]({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;vu(f,bu(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:aT(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:p}),Xl(t,c,d,a.get("disabled"))}function $B(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var QB=AB,tF=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 f(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=Ku(iD.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}(iD),eF=tF;function nF(t){t.registerChartView(QB),t.registerSeriesModel(eF),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,Object(g["curry"])(UM,"pictorialBar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,XM("pictorialBar"))}var iF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return f(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 c(t){return t.name}a.x=0,a.y=l.y+u[0];var d=new yx(this._layersSeries||[],o,c,c),h=[];function p(e,n,s){var l=r._layers;if("remove"!==e){for(var u,c,d=[],p=[],f=o[n].indices,_=0;_<f.length;_++){var g=i.getItemLayout(f[_]),m=g.x,y=g.y0,v=g.y;d.push(m,y),p.push(m,y+v),u=i.getItemVisual(f[_],"style")}var b=i.getItemLayout(f[0]),x=t.getModel("label"),M=x.get("margin"),w=t.getModel("emphasis");if("add"===e){var S=h[n]=new Ri;c=new TT({shape:{points:d,stackedOnPoints:p,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),S.add(c),a.add(S),t.isAnimationEnabled()&&c.setClipPath(rF(c.getBoundingRect(),t,(function(){c.removeClipPath()})))}else{S=l[s];c=S.childAt(0),a.add(S),h[n]=S,lu(c,{shape:{points:d,stackedOnPoints:p}},t),fu(c)}vu(c,bu(t),{labelDataIndex:f[_-1],defaultText:i.getName(f[_-1]),inheritColor:u.fill},{normal:{verticalAlign:"middle"}}),c.setTextConfig({position:null,local:!0});var L=c.getTextContent();L&&(L.x=b.x-M,L.y=b.y0+b.y/2),c.useStyle(u),i.setItemGraphicEl(n,c),Jl(c,t),Xl(c,w.get("focus"),w.get("blurScope"),w.get("disabled"))}else a.remove(l[n])}d.add(Object(g["bind"])(p,this,"add")).update(Object(g["bind"])(p,this,"update")).remove(Object(g["bind"])(p,this,"remove")).execute(),this._layersSeries=o,this._layers=h},e.type="themeRiver",e}(pm);function rF(t,e,n){var i=new Ss({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return uu(i,{shape:{x:t.x-50,width:t.width+100,height:t.height+20}},e,n),i}var aF=iF,oF=2,sF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new iO(g["bind"](this.getData,this),g["bind"](this.getRawData,this))},e.prototype.fixData=function(t){var e=t.length,n={},i=ra(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",$r).models[0],i=n.get("type"),r=g["filter"](t.data,(function(t){return void 0!==t[2]})),a=this.fixData(r||[]),o=[],s=this.nameMap=g["createHashMap"](),l=0,u=0;u<a.length;++u)o.push(a[u][oF]),s.get(a[u][oF])||(s.set(a[u][oF],l),l++);var c=Kx(a,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:Mx(i)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,d=new Zx(c,this);return d.initData(a),d},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=ra(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){g["isArray"](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,c=-1,d=a[l].indices.length,h=0;h<d;++h){var p=r.get(t[0],a[l].indices[h]),f=Math.abs(p-e);f<=u&&(i=p,u=f,c=a[l].indices[h])}o.push(c)}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 ff("nameValue",{name:r,value:a})},e.type="series.themeRiver",e.dependencies=["singleAxis"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},e}(Vf),lF=sF;function uF(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]=Qi(a[0],r.height),a[1]=Qi(a[1],r.height);var s=r.height-a[0]-a[1];cF(e,t,s)}else{a[0]=Qi(a[0],r.width),a[1]=Qi(a[1],r.width);var l=r.width-a[0]-a[1];cF(e,t,l)}e.setLayout("layoutInfo",i)}))}function cF(t,e,n){if(t.count())for(var i,r=e.coordinateSystem,a=e.getLayerSeries(),o=t.mapDimension("single"),s=t.mapDimension("value"),l=g["map"](a,(function(e){return g["map"](e.indices,(function(e){var n=r.dataToPoint(t.get(o,e));return n[1]=t.get(s,e),n}))})),u=dF(l),c=u.y0,d=n/u.max,h=a.length,p=a[0].indices.length,f=0;f<p;++f){i=c[f]*d,t.setItemLayout(a[0].indices[f],{layerIndex:0,x:l[0][f][0],y0:i,y:l[0][f][1]*d});for(var _=1;_<h;++_)i+=l[_-1][f][1]*d,t.setItemLayout(a[_].indices[f],{layerIndex:_,x:l[_][f][0],y0:i,y:l[_][f][1]*d})}}function dF(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 c=0;c<n;++c){var d=i[c]+r[c];d>a&&(a=d)}return{y0:r,max:a}}function hF(t){t.registerChartView(aF),t.registerSeriesModel(lF),t.registerLayout(uF),t.registerProcessor(VD("themeRiver"))}var pF=2,fF=4,_F=function(t){function e(e,n,i,r){var a=t.call(this)||this;a.z2=pF,a.textConfig={inside:!0},Ws(a).seriesIndex=n.seriesIndex;var o=new Fs({z2:fF,silent:e.getModel().get(["label","silent"])});return a.setTextContent(o),a.updateData(!0,e,n,i,r),a}return f(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;Ws(a).dataIndex=e.dataIndex;var o=e.getModel(),s=o.getModel("emphasis"),l=e.getLayout(),u=g["extend"]({},l);u.label=null;var c=e.getVisual("style");c.lineJoin="bevel";var d=e.getVisual("decal");d&&(c.decal=_v(d,r));var h=JD(o.getModel("itemStyle"),u,!0);g["extend"](u,h),g["each"]($s,(function(t){var e=a.ensureState(t),n=o.getModel([t,"itemStyle"]);e.style=n.getItemStyle();var i=JD(n,u);i&&(e.shape=i)})),t?(a.setShape(u),a.shape.r=l.r0,lu(a,{shape:{r:l.r}},n,e.dataIndex)):(lu(a,{shape:u},n),fu(a)),a.useStyle(c),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"),_="ancestor"===f?e.getAncestorsIndices():"descendant"===f?e.getDescendantIndices():f;Xl(this,_,s.get("blurScope"),s.get("disabled"))},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,c=u.getTextContent(),d=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}c.ignore=!p,g["each"](Qs,(function(i){var h="normal"===i?n.getModel("label"):n.getModel([i,"label"]),p="normal"===i,_=p?c:c.ensureState(i),m=t.getFormattedLabel(d,i);p&&(m=m||e.node.name),_.style=xu(h,{},null,"normal"!==i,!0),m&&(_.style.text=m);var y=h.get("show");null==y||p||(_.ignore=!y);var v,b=f(h,"position"),x=p?u:u.states[i],M=x.style.fill;x.textConfig={outsideFill:"inherit"===h.get("color")?M:null,inside:"outside"!==b};var w=f(h,"distance")||0,S=f(h,"align");"outside"===b?(v=r.r+w,S=o>Math.PI/2?"right":"left"):S&&"center"!==S?"left"===S?(v=r.r0+w,o>Math.PI/2&&(S="right")):"right"===S&&(v=r.r-w,o>Math.PI/2&&(S="left")):(v=a===2*Math.PI&&0===r.r0?0:(r.r+r.r0)/2,S="center"),_.style.align=S,_.style.verticalAlign=f(h,"verticalAlign")||"middle",_.x=v*s+r.cx,_.y=v*l+r.cy;var L=f(h,"rotate"),k=0;"radial"===L?(k=-o,k<-Math.PI/2&&(k+=Math.PI)):"tangential"===L?(k=Math.PI/2-o,k>Math.PI/2?k-=Math.PI:k<-Math.PI/2&&(k+=Math.PI)):g["isNumber"](L)&&(k=L*Math.PI/180),_.rotation=k})),c.dirtyStyle()},e}(z_),gF=_F,mF="sunburstRootToNode",yF="sunburstHighlight",vF="sunburstUnhighlight";function bF(t){t.registerAction({type:mF,update:"updateView"},(function(t,e){function n(e,n){var i=NC(t,[mF],e);if(i){var r=e.getViewRoot();r&&(t.direction=zC(r,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}}e.eachComponent({mainType:"series",subType:"sunburst",query:t},n)})),t.registerAction({type:yF,update:"none"},(function(t,e,n){function i(e){var n=NC(t,[yF],e);n&&(t.dataIndex=n.node.dataIndex)}t=Object(g["extend"])({},t),e.eachComponent({mainType:"series",subType:"sunburst",query:t},i),n.dispatchAction(Object(g["extend"])(t,{type:"highlight"}))})),t.registerAction({type:vF,update:"updateView"},(function(t,e,n){t=Object(g["extend"])({},t),n.dispatchAction(Object(g["extend"])(t,{type:"downplay"}))}))}var xF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(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"),c=[];s.eachNode((function(t){c.push(t)}));var d=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 yx(e,t,n,n).add(i).update(i).remove(g["curry"](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 gF(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 _(i,a){a.depth>0?(r.virtualPiece?r.virtualPiece.updateData(!1,i,t,e,n):(r.virtualPiece=new gF(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(c,d),_(o,s),this._initEvents(),this._oldChildren=c},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";Qc(o,s)}}n=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:mF,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}(pm),MF=xF,wF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return f(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};SF(n);var i=this._levelModels=g["map"](t.levels||[],(function(t){return new Gu(t,this,e)}),this),r=RC.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=BC(i,this),n},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},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(){QC(this)},e.type="series.sunburst",e.defaultOption={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:[],sort:"desc"},e}(Vf);function SF(t){var e=0;g["each"](t.children,(function(t){SF(t);var n=t.value;g["isArray"](n)&&(n=n[0]),e+=n}));var n=t.value;g["isArray"](n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),g["isArray"](t.value)?t.value[0]=n:t.value=n}var LF=wF,kF=Math.PI/180;function TF(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),i=t.get("radius");g["isArray"](i)||(i=[0,i]),g["isArray"](e)||(e=[e,e]);var r=n.getWidth(),a=n.getHeight(),o=Math.min(r,a),s=Qi(e[0],r),l=Qi(e[1],a),u=Qi(i[0],o/2),c=Qi(i[1],o/2),d=-t.get("startAngle")*kF,h=t.get("minAngle")*kF,p=t.getData().tree.root,f=t.getViewRoot(),_=f.depth,m=t.get("sort");null!=m&&DF(f,m);var y=0;g["each"](f.children,(function(t){!isNaN(t.getValue())&&y++}));var v=f.getValue(),b=Math.PI/(v||y)*2,x=f.depth>0,M=f.height-(x?-1:1),w=(c-u)/(M||1),S=t.get("clockwise"),L=t.get("stillShowZeroSum"),k=S?1:-1,T=function(e,n){if(e){var i=n;if(e!==p){var r=e.getValue(),a=0===v&&L?b:r*b;a<h&&(a=h),i=n+k*a;var c=e.depth-_-(x?-1:1),d=u+w*c,f=u+w*(c+1),m=t.getLevelModel(e);if(m){var y=m.get("r0",!0),M=m.get("r",!0),D=m.get("radius",!0);null!=D&&(y=D[0],M=D[1]),null!=y&&(d=Qi(y,o/2)),null!=M&&(f=Qi(M,o/2))}e.setLayout({angle:a,startAngle:n,endAngle:i,clockwise:S,cx:s,cy:l,r0:d,r:f})}if(e.children&&e.children.length){var O=0;g["each"](e.children,(function(t){O+=T(t,n+O)}))}return i-n}};if(x){var D=u,O=u+w,A=2*Math.PI;p.setLayout({angle:A,startAngle:d,endAngle:d+A,clockwise:S,cx:s,cy:l,r0:D,r:O})}T(f,d)}))}function DF(t,e){var n=t.children||[];t.children=OF(n,e),n.length&&g["each"](t.children,(function(t){DF(t,e)}))}function OF(t,e){if(g["isFunction"](e)){var n=g["map"](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)})),g["map"](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 AF(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&&Object(g["isString"])(a)&&(a=Object($e["lift"])(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");Object(g["extend"])(s,o)}))}))}function IF(t){t.registerChartView(MF),t.registerSeriesModel(LF),t.registerLayout(Object(g["curry"])(TF,"sunburst")),t.registerProcessor(Object(g["curry"])(VD,"sunburst")),t.registerVisual(AF),bF(t)}var YF={color:"fill",borderColor:"stroke"},CF={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},jF=Zr(),PF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(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 pM(null,this)},e.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=jF(i).info),r},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(Vf),EF=PF;function RF(t,e){return e=e||[0,0],g["map"](["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 NF(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:g["bind"](RF,t)}}}function HF(t,e){return e=e||[0,0],g["map"]([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 zF(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:g["bind"](HF,t)}}}function BF(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 FF(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:Object(g["bind"])(BF,t)}}}function WF(t,e){return e=e||[0,0],g["map"](["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 VF(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:g["bind"](WF,t)}}}function GF(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 UF(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||Object(g["hasOwn"])(t,"text")))}function XF(t,e,n){var i,r,a,o=t;if("text"===e)a=o;else{a={},Object(g["hasOwn"])(o,"text")&&(a.text=o.text),Object(g["hasOwn"])(o,"rich")&&(a.rich=o.rich),Object(g["hasOwn"])(o,"textFill")&&(a.fill=o.textFill),Object(g["hasOwn"])(o,"textStroke")&&(a.stroke=o.textStroke),Object(g["hasOwn"])(o,"fontFamily")&&(a.fontFamily=o.fontFamily),Object(g["hasOwn"])(o,"fontSize")&&(a.fontSize=o.fontSize),Object(g["hasOwn"])(o,"fontStyle")&&(a.fontStyle=o.fontStyle),Object(g["hasOwn"])(o,"fontWeight")&&(a.fontWeight=o.fontWeight),r={type:"text",style:a,silent:!0},i={};var s=Object(g["hasOwn"])(o,"textPosition");n?i.position=s?o.textPosition:"inside":s&&(i.position=o.textPosition),Object(g["hasOwn"])(o,"textPosition")&&(i.position=o.textPosition),Object(g["hasOwn"])(o,"textOffset")&&(i.offset=o.textOffset),Object(g["hasOwn"])(o,"textRotation")&&(i.rotation=o.textRotation),Object(g["hasOwn"])(o,"textDistance")&&(i.distance=o.textDistance)}return ZF(a,t),Object(g["each"])(a.rich,(function(t){ZF(t,t)})),{textConfig:i,textContent:r}}function ZF(t,e){e&&(e.font=e.textFont||e.font,Object(g["hasOwn"])(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),Object(g["hasOwn"])(e,"textAlign")&&(t.align=e.textAlign),Object(g["hasOwn"])(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),Object(g["hasOwn"])(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),Object(g["hasOwn"])(e,"textWidth")&&(t.width=e.textWidth),Object(g["hasOwn"])(e,"textHeight")&&(t.height=e.textHeight),Object(g["hasOwn"])(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),Object(g["hasOwn"])(e,"textPadding")&&(t.padding=e.textPadding),Object(g["hasOwn"])(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),Object(g["hasOwn"])(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),Object(g["hasOwn"])(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),Object(g["hasOwn"])(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),Object(g["hasOwn"])(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),Object(g["hasOwn"])(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),Object(g["hasOwn"])(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function qF(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";KF(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=t.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,Object(g["each"])(e.rich,(function(t){KF(t,t)})),i}function KF(t,e){e&&(Object(g["hasOwn"])(e,"fill")&&(t.textFill=e.fill),Object(g["hasOwn"])(e,"stroke")&&(t.textStroke=e.fill),Object(g["hasOwn"])(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),Object(g["hasOwn"])(e,"font")&&(t.font=e.font),Object(g["hasOwn"])(e,"fontStyle")&&(t.fontStyle=e.fontStyle),Object(g["hasOwn"])(e,"fontWeight")&&(t.fontWeight=e.fontWeight),Object(g["hasOwn"])(e,"fontSize")&&(t.fontSize=e.fontSize),Object(g["hasOwn"])(e,"fontFamily")&&(t.fontFamily=e.fontFamily),Object(g["hasOwn"])(e,"align")&&(t.textAlign=e.align),Object(g["hasOwn"])(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),Object(g["hasOwn"])(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),Object(g["hasOwn"])(e,"width")&&(t.textWidth=e.width),Object(g["hasOwn"])(e,"height")&&(t.textHeight=e.height),Object(g["hasOwn"])(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),Object(g["hasOwn"])(e,"padding")&&(t.textPadding=e.padding),Object(g["hasOwn"])(e,"borderColor")&&(t.textBorderColor=e.borderColor),Object(g["hasOwn"])(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),Object(g["hasOwn"])(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),Object(g["hasOwn"])(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),Object(g["hasOwn"])(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),Object(g["hasOwn"])(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),Object(g["hasOwn"])(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),Object(g["hasOwn"])(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),Object(g["hasOwn"])(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),Object(g["hasOwn"])(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),Object(g["hasOwn"])(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var JF={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},$F=Object(g["keys"])(JF),QF=(Object(g["reduce"])(li,(function(t,e){return t[e]=1,t}),{}),li.join(", "),["","style","shape","extra"]),tW=Zr();function eW(t,e,n,i,r){var a=t+"Animation",o=ou(t,i,r)||{},s=tW(e).userDuring;return o.duration>0&&(o.during=s?Object(g["bind"])(dW,{el:e,userDuring:s}):null,o.setToFinal=!0,o.scope=t),Object(g["extend"])(o,n[a]),o}function nW(t,e,n,i){i=i||{};var r=i.dataIndex,a=i.isInit,o=i.clearStyle,s=n.isAnimationEnabled(),l=tW(t),u=e.style;l.userDuring=e.during;var c={},d={};if(_W(t,e,d),pW("shape",e,d),pW("extra",e,d),!a&&s&&(fW(t,e,c),hW("shape",t,e,c),hW("extra",t,e,c),gW(t,e,u,c)),d.style=u,oW(t,d,o),lW(t,e),s)if(a){var h={};Object(g["each"])(QF,(function(t){var n=t?e[t]:e;n&&n.enterFrom&&(t&&(h[t]=h[t]||{}),Object(g["extend"])(t?h[t]:h,n.enterFrom))}));var p=eW("enter",t,e,n,r);p.duration>0&&t.animateFrom(h,p)}else sW(t,e,r||0,n,c);iW(t,e),u?t.dirty():t.markRedraw()}function iW(t,e){for(var n=tW(t).leaveToProps,i=0;i<QF.length;i++){var r=QF[i],a=r?e[r]:e;a&&a.leaveTo&&(n||(n=tW(t).leaveToProps={}),r&&(n[r]=n[r]||{}),Object(g["extend"])(r?n[r]:n,a.leaveTo))}}function rW(t,e,n,i){if(t){var r=t.parent,a=tW(t).leaveToProps;if(a){var o=eW("update",t,e,n,0);o.done=function(){r.remove(t),i&&i()},t.animateTo(a,o)}else r.remove(t),i&&i()}}function aW(t){return"all"===t}function oW(t,e,n){var i=e.style;if(!t.isGroup&&i){if(n){t.useStyle({});for(var r=t.animators,a=0;a<r.length;a++){var o=r[a];"style"===o.targetName&&o.changeTarget(t.style)}}t.setStyle(i)}e&&(e.style=null,e&&t.attr(e),e.style=i)}function sW(t,e,n,i,r){if(r){var a=eW("update",t,e,i,n);a.duration>0&&t.animateFrom(r,a)}}function lW(t,e){Object(g["hasOwn"])(e,"silent")&&(t.silent=e.silent),Object(g["hasOwn"])(e,"ignore")&&(t.ignore=e.ignore),t instanceof Qa&&Object(g["hasOwn"])(e,"invisible")&&(t.invisible=e.invisible),t instanceof ss&&Object(g["hasOwn"])(e,"autoBatch")&&(t.autoBatch=e.autoBatch)}var uW={},cW={setTransform:function(t,e){return uW.el[t]=e,this},getTransform:function(t){return uW.el[t]},setShape:function(t,e){var n=uW.el,i=n.shape||(n.shape={});return i[t]=e,n.dirtyShape&&n.dirtyShape(),this},getShape:function(t){var e=uW.el.shape;if(e)return e[t]},setStyle:function(t,e){var n=uW.el,i=n.style;return i&&(i[t]=e,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(t){var e=uW.el.style;if(e)return e[t]},setExtra:function(t,e){var n=uW.el.extra||(uW.el.extra={});return n[t]=e,this},getExtra:function(t){var e=uW.el.extra;if(e)return e[t]}};function dW(){var t=this,e=t.el;if(e){var n=tW(e).userDuring,i=t.userDuring;n===i?(uW.el=e,i(cW)):t.el=t.userDuring=null}}function hW(t,e,n,i){var r=n[t];if(r){var a,o=e[t];if(o){var s=n.transition,l=r.transition;if(l)if(!a&&(a=i[t]={}),aW(l))Object(g["extend"])(a,o);else for(var u=kr(l),c=0;c<u.length;c++){var d=u[c],h=o[d];a[d]=h}else if(aW(s)||Object(g["indexOf"])(s,t)>=0){!a&&(a=i[t]={});var p=Object(g["keys"])(o);for(c=0;c<p.length;c++){d=p[c],h=o[d];mW(r[d],h)&&(a[d]=h)}}}}}function pW(t,e,n){var i=e[t];if(i)for(var r=n[t]={},a=Object(g["keys"])(i),o=0;o<a.length;o++){var s=a[o];r[s]=un(i[s])}}function fW(t,e,n){for(var i=e.transition,r=aW(i)?li:kr(i||[]),a=0;a<r.length;a++){var o=r[a];if("style"!==o&&"shape"!==o&&"extra"!==o){var s=t[o];0,n[o]=s}}}function _W(t,e,n){for(var i=0;i<$F.length;i++){var r=$F[i],a=JF[r],o=e[r];o&&(n[a[0]]=o[0],n[a[1]]=o[1])}for(i=0;i<li.length;i++){var s=li[i];null!=e[s]&&(n[s]=e[s])}}function gW(t,e,n,i){if(n){var r,a=t.style;if(a){var o=n.transition,s=e.transition;if(o&&!aW(o)){var l=kr(o);!r&&(r=i.style={});for(var u=0;u<l.length;u++){var c=l[u],d=a[c];r[c]=d}}else if(t.getAnimationStyleProps&&(aW(s)||aW(o)||Object(g["indexOf"])(s,"style")>=0)){var h=t.getAnimationStyleProps(),p=h?h.style:null;if(p){!r&&(r=i.style={});var f=Object(g["keys"])(n);for(u=0;u<f.length;u++){c=f[u];if(p[c]){d=a[c];r[c]=d}}}}}}}function mW(t,e){return Object(g["isArrayLike"])(t)?t!==e:null!=t&&isFinite(t)}var yW=Zr(),vW=["percent","easing","shape","style","extra"];function bW(t){t.stopAnimation("keyframe"),t.attr(yW(t))}function xW(t,e,n){if(n.isAnimationEnabled()&&e)if(Object(g["isArray"])(e))Object(g["each"])(e,(function(e){xW(t,e,n)}));else{var i=e.keyframes,r=e.duration;if(n&&null==r){var a=ou("enter",n,0);r=a&&a.duration}if(i&&r){var o=yW(t);Object(g["each"])(QF,(function(n){if(!n||t[n]){var a;i.sort((function(t,e){return t.percent-e.percent})),Object(g["each"])(i,(function(i){var s=t.animators,l=n?i[n]:i;if(l){var u=Object(g["keys"])(l);if(n||(u=Object(g["filter"])(u,(function(t){return Object(g["indexOf"])(vW,t)<0}))),u.length){a||(a=t.animate(n,e.loop,!0),a.scope="keyframe");for(var c=0;c<s.length;c++)s[c]!==a&&s[c].targetName===a.targetName&&s[c].stopTracks(u);n&&(o[n]=o[n]||{});var d=n?o[n]:o;Object(g["each"])(u,(function(e){d[e]=((n?t[n]:t)||{})[e]})),a.whenWithKeys(r*i.percent,l,u,i.easing)}}})),a&&a.delay(e.delay||0).duration(r).start(e.easing)}}))}}}var MW="emphasis",wW="normal",SW="blur",LW="select",kW=[wW,MW,SW,LW],TW={normal:["itemStyle"],emphasis:[MW,"itemStyle"],blur:[SW,"itemStyle"],select:[LW,"itemStyle"]},DW={normal:["label"],emphasis:[MW,"label"],blur:[SW,"label"],select:[LW,"label"]},OW=["x","y"],AW="e\0\0",IW={normal:{},emphasis:{},blur:{},select:{}},YW={cartesian2d:NF,geo:zF,single:FF,polar:VF,calendar:GF};function CW(t){return t instanceof ss}function jW(t){return t instanceof Qa}function PW(t,e){e.copyTransform(t),jW(e)&&jW(t)&&(e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel,e.invisible=t.invisible,e.ignore=t.ignore,CW(e)&&CW(t)&&e.setShape(t.shape))}var EW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._data,a=t.getData(),o=this.group,s=WW(t,a,e,n);r||o.removeAll(),a.diff(r).add((function(e){GW(n,null,e,s(e,i),t,o,a)})).remove((function(e){var n=r.getItemGraphicEl(e);n&&rW(n,jF(n).option,t)})).update((function(e,l){var u=r.getItemGraphicEl(l);GW(n,u,e,s(e,i),t,o,a)})).execute();var l=t.get("clip",!0)?AT(t.coordinateSystem,!1,t):null;l?o.setClipPath(l):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),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u<t.end;u++){var c=GW(null,null,u,o(u,r),e,this.group,a);c&&(c.traverse(l),s.push(c))}},e.prototype.eachRendered=function(t){rm(this._progressiveEls||this.group,t)},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}(pm),RW=EW;function NW(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=aV(i);e=Pg(a,null,r,i.layout||"center"),jF(e).customPathData=a}else if("image"===n)e=new _s({}),jF(e).customImagePath=t.style.image;else if("text"===n)e=new Fs({});else if("group"===n)e=new Ri;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var o=jg(n);if(!o){var s="";0,$d(s)}e=new o}return jF(e).customGraphicType=n,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function HW(t,e,n,i,r,a,o){bW(e);var s=r&&r.normal.cfg;s&&e.setTextConfig(s),i&&null==i.transition&&(i.transition=OW);var l=i&&i.style;if(l){if("text"===e.type){var u=l;Object(g["hasOwn"])(u,"textFill")&&(u.fill=u.textFill),Object(g["hasOwn"])(u,"textStroke")&&(u.stroke=u.textStroke)}var c=void 0,d=CW(e)?l.decal:null;t&&d&&(d.dirty=!0,c=_v(d,t)),l.__decalPattern=c}if(jW(e)&&l){c=l.__decalPattern;c&&(l.decal=c)}nW(e,i,a,{dataIndex:n,isInit:o,clearStyle:!0}),xW(e,i.keyframeAnimation,a)}function zW(t,e,n,i,r){var a=e.isGroup?null:e,o=r&&r[t].cfg;if(a){var s=a.ensureState(t);if(!1===i){var l=a.getState(t);l&&(l.style=null)}else s.style=i||null;o&&(s.textConfig=o),Ll(a)}}function BW(t,e,n){if(!t.isGroup){var i=t,r=n.currentZ,a=n.currentZLevel;i.z=r,i.zlevel=a;var o=e.z2;null!=o&&(i.z2=o||0);for(var s=0;s<kW.length;s++)FW(i,e,kW[s])}}function FW(t,e,n){var i,r=n===wW,a=r?e:JW(e,n),o=a?a.z2:null;null!=o&&(i=r?t:t.ensureState(n),i.z2=o||0)}function WW(t,e,n,i){var r=t.get("renderItem"),a=t.coordinateSystem,o={};a&&(o=a.prepareCustoms?a.prepareCustoms(a):YW[a.type](a));for(var s,l,u=Object(g["defaults"])({getWidth:i.getWidth,getHeight:i.getHeight,getZr:i.getZr,getDevicePixelRatio:i.getDevicePixelRatio,value:x,style:w,ordinalRawValue:M,styleEmphasis:S,visual:T,barLayout:D,currentSeriesIndices:O,font:A},o.api||{}),c={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:o.coordSys,dataInsideLength:e.count(),encode:VW(t.getData())},d={},h={},p={},f={},_=0;_<kW.length;_++){var m=kW[_];p[m]=t.getModel(TW[m]),f[m]=t.getModel(DW[m])}function y(t){return t===s?l||(l=e.getItemModel(t)):e.getItemModel(t)}function v(t,n){return e.hasItemOption?t===s?d[n]||(d[n]=y(t).getModel(TW[n])):y(t).getModel(TW[n]):p[n]}function b(t,n){return e.hasItemOption?t===s?h[n]||(h[n]=y(t).getModel(DW[n])):y(t).getModel(DW[n]):f[n]}return function(t,n){return s=t,l=null,d={},h={},r&&r(Object(g["defaults"])({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:n?n.type:null},c),u)};function x(t,n){return null==n&&(n=s),e.getStore().get(e.getDimensionIndex(t||0),n)}function M(t,n){null==n&&(n=s),t=t||0;var i=e.getDimensionInfo(t);if(!i){var r=e.getDimensionIndex(t);return r>=0?e.getStore().get(r,n):void 0}var a=e.get(i.name,n),o=i&&i.ordinalMeta;return o?o.categories[a]:a}function w(n,i){null==i&&(i=s);var r=e.getItemVisual(i,"style"),a=r&&r.fill,o=r&&r.opacity,l=v(i,wW).getItemStyle();null!=a&&(l.fill=a),null!=o&&(l.opacity=o);var u={inheritColor:Object(g["isString"])(a)?a:"#000"},c=b(i,wW),d=xu(c,null,u,!1,!0);d.text=c.getShallow("show")?Object(g["retrieve2"])(t.getFormattedLabel(i,wW),aT(e,i)):null;var h=Mu(c,u,!1);return k(n,l),l=qF(l,d,h),n&&L(l,n),l.legacy=!0,l}function S(n,i){null==i&&(i=s);var r=v(i,MW).getItemStyle(),a=b(i,MW),o=xu(a,null,null,!0,!0);o.text=a.getShallow("show")?Object(g["retrieve3"])(t.getFormattedLabel(i,MW),t.getFormattedLabel(i,wW),aT(e,i)):null;var l=Mu(a,null,!0);return k(n,r),r=qF(r,o,l),n&&L(r,n),r.legacy=!0,r}function L(t,e){for(var n in e)Object(g["hasOwn"])(e,n)&&(t[n]=e[n])}function k(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}function T(t,n){if(null==n&&(n=s),Object(g["hasOwn"])(YF,t)){var i=e.getItemVisual(n,"style");return i?i[YF[t]]:null}if(Object(g["hasOwn"])(CF,t))return e.getItemVisual(n,t)}function D(t){if("cartesian2d"===a.type){var e=a.getBaseAxis();return zM(Object(g["defaults"])({axis:e},t))}}function O(){return n.getCurrentSeriesIndices()}function A(t){return Ou(t,n)}}function VW(t){var e={};return Object(g["each"])(t.dimensions,(function(n){var i=t.getDimensionInfo(n);if(!i.isExtraCoord){var r=i.coordDim,a=e[r]=e[r]||[];a[i.coordDimIndex]=t.getDimensionIndex(n)}})),e}function GW(t,e,n,i,r,a,o){if(i){var s=UW(t,e,n,i,r,a);return s&&o.setItemGraphicEl(n,s),s&&Xl(s,i.focus,i.blurScope,i.emphasisDisabled),s}a.remove(e)}function UW(t,e,n,i,r,a){var o=-1,s=e;e&&XW(e,i,r)&&(o=Object(g["indexOf"])(a.childrenRef(),e),e=null);var l=!e,u=e;u?u.clearStates():(u=NW(i),s&&PW(s,u)),!1===i.morph?u.disableMorphing=!0:u.disableMorphing&&(u.disableMorphing=!1),IW.normal.cfg=IW.normal.conOpt=IW.emphasis.cfg=IW.emphasis.conOpt=IW.blur.cfg=IW.blur.conOpt=IW.select.cfg=IW.select.conOpt=null,IW.isLegacy=!1,qW(u,n,i,r,l,IW),ZW(u,n,i,r,l),HW(t,u,n,i,IW,r,l),Object(g["hasOwn"])(i,"info")&&(jF(u).info=i.info);for(var c=0;c<kW.length;c++){var d=kW[c];if(d!==wW){var h=JW(i,d),p=$W(i,h,d);zW(d,u,h,p,IW)}}return BW(u,i,r),"group"===i.type&&QW(t,u,n,i,r),o>=0?a.replaceAt(u,o):a.add(u),u}function XW(t,e,n){var i=jF(t),r=e.type,a=e.shape,o=e.style;return n.isUniversalTransitionEnabled()||null!=r&&r!==i.customGraphicType||"path"===r&&oV(a)&&aV(a)!==i.customPathData||"image"===r&&Object(g["hasOwn"])(o,"image")&&o.image!==i.customImagePath}function ZW(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&&XW(o,a,i)&&(o=null),o||(o=NW(a),t.setClipPath(o)),HW(null,o,e,a,null,i,r)}}function qW(t,e,n,i,r,a){if(!t.isGroup){KW(n,null,a),KW(n,MW,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 c=t.getTextContent();if(!1===o)c&&t.removeTextContent();else{o=a.normal.conOpt=o||{type:"text"},c?c.clearStates():(c=NW(o),t.setTextContent(c)),HW(null,c,e,o,null,i,r);for(var d=o&&o.style,h=0;h<kW.length;h++){var p=kW[h];if(p!==wW){var f=a[p].conOpt;zW(p,c,f,$W(o,f,p),null)}}d?c.dirty():c.markRedraw()}}}}function KW(t,e,n){var i=e?JW(t,e):t,r=e?$W(t,i,MW):t.style,a=t.type,o=i?i.textConfig:null,s=t.textContent,l=s?e?JW(s,e):s:null;if(r&&(n.isLegacy||UF(r,a,!!o,!!l))){n.isLegacy=!0;var u=XF(r,a,!e);!o&&u.textConfig&&(o=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var c=l;!c.type&&(c.type="text")}var d=e?n[e]:n.normal;d.cfg=o,d.conOpt=l}function JW(t,e){return e?t?t[e]:null:t}function $W(t,e,n){var i=e&&e.style;return null==i&&n===MW&&t&&(i=t.styleEmphasis),i}function QW(t,e,n,i,r){var a=i.children,o=a?a.length:0,s=i.$mergeChildren,l="byName"===s||i.diffChildrenByName,u=!1===s;if(o||l||u)if(l)eV({api:t,oldChildren:e.children()||[],newChildren:a||[],dataIndex:n,seriesModel:r,group:e});else{u&&e.removeAll();for(var c=0;c<o;c++){var d=a[c],h=e.childAt(c);d?(null==d.ignore&&(d.ignore=!1),UW(t,h,n,d,r,e)):h.ignore=!0}for(var p=e.childCount()-1;p>=c;p--){var f=e.childAt(p);tV(e,f,r)}}}function tV(t,e,n){e&&rW(e,jF(t).option,n)}function eV(t){new yx(t.oldChildren,t.newChildren,nV,nV,t).add(iV).update(iV).remove(rV).execute()}function nV(t,e){var n=t&&t.name;return null!=n?n:AW+e}function iV(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;UW(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function rV(t){var e=this.context,n=e.oldChildren[t];n&&rW(n,jF(n).option,e.seriesModel)}function aV(t){return t&&(t.pathData||t.d)}function oV(t){return t&&(Object(g["hasOwn"])(t,"pathData")||Object(g["hasOwn"])(t,"d"))}function sV(t){t.registerChartView(RW),t.registerSeriesModel(EF)}var lV=Zr(),uV=g["clone"],cV=g["bind"],dV=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 c=this._moveAnimation=this.determineAnimation(t,e);if(o){var d=g["curry"](hV,e,c);this.updatePointerEl(o,l,d),this.updateLabelEl(o,l,d,e)}else o=this._group=new Ri,this.createPointerEl(o,l,t,e),this.createLabelEl(o,l,t,e),n.getZr().add(o);gV(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=fA(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,i){var r=e.pointer;if(r){var a=lV(t).pointerEl=new o[r.type](uV(e.pointer));t.add(a)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=lV(t).labelEl=new Fs(uV(e.label));t.add(r),fV(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=lV(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=lV(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),fV(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=Jg(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){gt(t.event)},onmousedown:cV(this._onHandleDragMove,this,0,0),drift:cV(this._onHandleDragMove,this),ondragend:cV(this._onHandleDragEnd,this)}),i.add(r)),gV(r,n,!1),r.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=a.get("size");g["isArray"](s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,ym(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){hV(this._axisPointerModel,!e&&this._moveAnimation,this._handle,_V(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(_V(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(_V(i)),lV(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),vm(this,"_doDispatchAxisPointer")},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 hV(t,e,n,i){pV(lV(n).lastProp,i)||(lV(n).lastProp=i,e?lu(n,i,t):(n.stopAnimation(),n.attr(i)))}function pV(t,e){if(g["isObject"](t)&&g["isObject"](e)){var n=!0;return g["each"](e,(function(e,i){n=n&&pV(t[i],e)})),!!n}return t===e}function fV(t,e){t[e.get(["label","show"])?"show":"hide"]()}function _V(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function gV(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 mV=dV;function yV(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 vV(t,e,n,i,r){var a=n.get("value"),o=xV(a,e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),s=n.getModel("label"),l=Wc(s.get("padding")||0),u=s.getFont(),c=gi(o,u),d=r.position,h=c.width+l[1]+l[3],p=c.height+l[0]+l[2],f=r.align;"right"===f&&(d[0]-=h),"center"===f&&(d[0]-=h/2);var _=r.verticalAlign;"bottom"===_&&(d[1]-=p),"middle"===_&&(d[1]-=p/2),bV(d,h,p,i);var g=s.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:d[0],y:d[1],style:xu(s,{text:o,font:u,fill:s.getTextColor(),padding:l,backgroundColor:g}),z2:10}}function bV(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 xV(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:Iw(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};g["each"](i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)})),g["isString"](o)?a=o.replace("{value}",a):g["isFunction"](o)&&(a=o(s))}return a}function MV(t,e,n){var i=Mt();return Tt(i,i,n.rotation),kt(i,i,n.position),Vg([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function wV(t,e,n,i,r,a){var o=oA.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),vV(e,i,r,a,{position:MV(i.axis,t,n),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function SV(t,e,n){return n=n||0,{x1:t[n],y1:t[1-n],x2:e[n],y2:e[1-n]}}function LV(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}function kV(t,e,n,i,r,a){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:a,clockwise:!0}}var TV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var a=n.axis,o=a.grid,s=i.get("type"),l=DV(o,a).getOtherAxis(a).getGlobalExtent(),u=a.toGlobalCoord(a.dataToCoord(e,!0));if(s&&"none"!==s){var c=yV(i),d=OV[s](a,u,l);d.style=c,t.graphicKey=d.type,t.pointer=d}var h=RO(o.model,n);wV(e,t,h,n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=RO(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=MV(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=DV(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 c=(s[1]+s[0])/2,d=[c,c];d[l]=u[l];var h=[{verticalAlign:"middle"},{align:"center"}];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:d,tooltipOption:h[l]}},e}(mV);function DV(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var OV={line:function(t,e,n){var i=SV([e,n[0]],[e,n[1]],AV(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:LV([e-i/2,n[0]],[i,r],AV(t))}}};function AV(t){return"x"===t.dim?0:1}var IV=TV,YV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.type="axisPointer",e.defaultOption={show:"auto",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}(gd),CV=YV,jV=Zr(),PV=g["each"];function EV(t,e,n){if(!_["a"].node){var i=e.getZr();jV(i).records||(jV(i).records={}),RV(i,e);var r=jV(i).records[t]||(jV(i).records[t]={});r.handler=n}}function RV(t,e){function n(n,i){t.on(n,(function(n){var r=BV(e);PV(jV(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),NV(r.pendings,e)}))}jV(t).initialized||(jV(t).initialized=!0,n("click",g["curry"](zV,"click")),n("mousemove",g["curry"](zV,"mousemove")),n("globalout",HV))}function NV(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 HV(t,e,n){t.handler("leave",null,n)}function zV(t,e,n,i){e.handler(t,n,i)}function BV(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 FV(t,e){if(!_["a"].node){var n=e.getZr(),i=(jV(n).records||{})[t];i&&(jV(n).records[t]=null)}}var WV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";EV("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){FV("axisPointer",e)},e.prototype.dispose=function(t,e){FV("axisPointer",e)},e.type="axisPointer",e}(Uf),VV=WV;function GV(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var a=n.getData(),o=Xr(a,t);if(null==o||o<0||g["isArray"](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(),c=l.getOtherAxis(u),d=c.dim,h=u.dim,p="x"===d||"radius"===d?1:0,f=a.mapDimension(h),_=[];_[p]=a.get(f,o),_[1-p]=a.get(a.getCalculationInfo("stackResultDimension"),o),i=l.dataToPoint(_)||[]}else i=l.dataToPoint(a.getValues(g["map"](l.dimensions,(function(t){return a.mapDimension(t)})),o))||[];else if(s){var m=s.getBoundingRect().clone();m.applyTransform(s.transform),i=[m.x+m.width/2,m.y+m.height/2]}return{point:i,el:s}}var UV=Zr();function XV(t,e,n){var i=t.currTrigger,r=[t.x,t.y],a=t,o=t.dispatchAction||Object(g["bind"])(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){iG(r)&&(r=GV({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},e).point);var l=iG(r),u=a.axesInfo,c=s.axesInfo,d="leave"===i||iG(r),h={},p={},f={list:[],map:{}},_={showPointer:Object(g["curry"])(KV,p),showTooltip:Object(g["curry"])(JV,f)};Object(g["each"])(s.coordSysMap,(function(t,e){var n=l||t.containPoint(r);Object(g["each"])(s.coordSysAxesInfo[e],(function(t,e){var i=t.axis,a=eG(u,t);if(!d&&n&&(!u||a)){var o=a&&a.value;null!=o||l||(o=i.pointToData(r)),null!=o&&ZV(t,o,_,!1,h)}}))}));var m={};return Object(g["each"])(c,(function(t,e){var n=t.linkGroup;n&&!p[e]&&Object(g["each"])(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,nG(e),nG(t)))),m[t.key]=a}}))})),Object(g["each"])(m,(function(t,e){ZV(c[e],t,_,!0,h)})),$V(p,c,h),QV(f,r,t,o),tG(c,o,n),h}}function ZV(t,e,n,i,r){var a=t.axis;if(!a.scale.isBlank()&&a.containData(e))if(t.involveSeries){var o=qV(e,t),s=o.payloadBatch,l=o.snapToValue;s[0]&&null==r.seriesIndex&&Object(g["extend"])(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 qV(t,e){var n=e.axis,i=n.dim,r=t,a=[],o=Number.MAX_VALUE,s=-1;return Object(g["each"])(e.seriesModels,(function(e,l){var u,c,d=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var h=e.getAxisTooltipData(d,t,n);c=h.dataIndices,u=h.nestestValue}else{if(c=e.getData().indicesOfNearest(d[0],t,"category"===n.type?.5:null),!c.length)return;u=e.getData().get(d[0],c[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),Object(g["each"])(c,(function(t){a.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:a,snapToValue:r}}function KV(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function JV(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=mA(l),c=t.map[u];c||(c=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(c)),c.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 $V(t,e,n){var i=n.axesInfo=[];Object(g["each"])(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 QV(t,e,n,i){if(!iG(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 tG(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",a=UV(i)[r]||{},o=UV(i)[r]={};Object(g["each"])(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&Object(g["each"])(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;o[e]=t}))}));var s=[],l=[];Object(g["each"])(a,(function(t,e){!o[e]&&l.push(t)})),Object(g["each"])(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 eG(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 nG(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 iG(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function rG(t){bA.registerAxisPointerClass("CartesianAxisPointer",IV),t.registerComponentModel(CV),t.registerComponentView(VV),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!Object(g["isArray"])(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=sA(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},XV)}function aG(t){fx(YA),fx(rG)}var oG=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(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),c=i.get("type");if(c&&"none"!==c){var d=yV(i),h=lG[c](a,o,u,l);h.style=d,t.graphicKey=h.type,t.pointer=h}var p=i.get(["label","margin"]),f=sG(e,n,i,o,p);vV(t,n,i,r,f)},e}(mV);function sG(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,c,d=i.getRadiusAxis().getExtent();if("radius"===a.dim){var h=Mt();Tt(h,h,s),kt(h,h,[i.cx,i.cy]),l=Vg([o,-r],h);var p=e.getModel("axisLabel").get("rotate")||0,f=oA.innerTextLayout(s,p*Math.PI/180,-1);u=f.textAlign,c=f.textVerticalAlign}else{var _=d[1];l=i.coordToPoint([_+r,o]);var g=i.cx,m=i.cy;u=Math.abs(l[0]-g)/_<.3?"center":l[0]>g?"left":"right",c=Math.abs(l[1]-m)/_<.3?"middle":l[1]>m?"top":"bottom"}return{position:l,align:u,verticalAlign:c}}var lG={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:SV(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:kV(e.cx,e.cy,i[0],i[1],(-n-r/2)*a,(r/2-n)*a)}:{type:"Sector",shape:kV(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},uG=oG,cG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(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={z:0,center:["50%","50%"],radius:"80%"},e}(gd),dG=cG,hG=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",$r).models[0]},e.type="polarAxis",e}(gd);g["mixin"](hG,Nw);var pG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.type="angleAxis",e}(hG),fG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.type="radiusAxis",e}(hG),_G=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return f(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(kS);_G.prototype.dataToRadius=kS.prototype.dataToCoord,_G.prototype.radiusToData=kS.prototype.coordToData;var gG=_G,mG=Zr(),yG=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return f(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=gi(null==a?"":a+"",e.getFont(),"center","top"),u=Math.max(l.height,7),c=u/s;isNaN(c)&&(c=1/0);var d=Math.max(0,Math.floor(c)),h=mG(t.model),p=h.lastAutoInterval,f=h.lastTickCount;return null!=p&&null!=f&&Math.abs(p-d)<=1&&Math.abs(f-r)<=1&&p>d?d=p:(h.lastTickCount=r,h.lastAutoInterval=d),d},e}(kS);yG.prototype.dataToAngle=kS.prototype.dataToCoord,yG.prototype.angleToData=kS.prototype.coordToData;var vG=yG,bG=["radius","angle"],xG=function(){function t(t){this.dimensions=bG,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new gG,this._angleAxis=new vG,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-1e-4,a=this.r,o=this.r0;return r<=a*a&&r>=o*o}}},t.prototype.convertToPixel=function(t,e,n){var i=MG(e);return i===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=MG(e);return i===this?this.pointToData(n):null},t}();function MG(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var wG=xG;function SG(t,e,n){var i=e.get("center"),r=n.getWidth(),a=n.getHeight();t.cx=Qi(i[0],r),t.cy=Qi(i[1],a);var o=t.getRadiusAxis(),s=Math.min(r,a)/2,l=e.get("radius");null==l?l=[0,"100%"]:g["isArray"](l)||(l=[0,l]);var u=[Qi(l[0],s),Qi(l[1],s)];o.inverse?o.setExtent(u[1],u[0]):o.setExtent(u[0],u[1])}function LG(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();g["each"](Ew(e,"radius"),(function(t){r.scale.unionExtentFromData(e,t)})),g["each"](Ew(e,"angle"),(function(t){i.scale.unionExtentFromData(e,t)}))}})),Tw(i.scale,i.model),Tw(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 kG(t){return"angleAxis"===t.mainType}function TG(t,e){if(t.type=e.get("type"),t.scale=Dw(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),kG(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 DG={dimensions:bG,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,i){var r=new wG(i+"");r.update=LG;var a=r.getRadiusAxis(),o=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");TG(a,s),TG(o,l),SG(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",$r).models[0];0,t.coordinateSystem=e.coordinateSystem}})),n}},OG=DG,AG=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function IG(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 YG(t){var e=t.getRadiusAxis();return e.inverse?0:1}function CG(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 jG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return f(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=g["map"](n.getViewLabels(),(function(t){t=g["clone"](t);var e=n.scale,i="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t}));CG(s),CG(a),g["each"](AG,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||PG[e](this.group,t,i,a,o,r,s)}),this)}},e.type="angleAxis",e}(bA),PG={axisLine:function(t,e,n,i,r,a){var o,s=e.getModel(["axisLine","lineStyle"]),l=YG(n),u=l?0:1;o=0===a[u]?new v_({shape:{cx:n.cx,cy:n.cy,r:a[l]},style:s.getLineStyle(),z2:1,silent:!0}):new W_({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[YG(n)],u=g["map"](i,(function(t){return new eg({shape:IG(n,[l,l+s],t.coord)})}));t.add(Ng(u,{style:g["defaults"](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[YG(n)],c=[],d=0;d<r.length;d++)for(var h=0;h<r[d].length;h++)c.push(new eg({shape:IG(n,[u,u+l],r[d][h].coord)}));t.add(Ng(c,{style:g["defaults"](s.getModel("lineStyle").getLineStyle(),g["defaults"](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"),c=e.get("triggerEvent");g["each"](o,(function(i,r){var o=l,d=i.tickValue,h=a[YG(n)],p=n.coordToPoint([h+u,i.coord]),f=n.cx,_=n.cy,m=Math.abs(p[0]-f)/h<.3?"center":p[0]>f?"left":"right",y=Math.abs(p[1]-_)/h<.3?"middle":p[1]>_?"top":"bottom";if(s&&s[d]){var v=s[d];g["isObject"](v)&&v.textStyle&&(o=new Gu(v.textStyle,l,l.ecModel))}var b=new Fs({silent:oA.isLabelSilent(e),style:xu(o,{x:p[0],y:p[1],fill:o.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:m,verticalAlign:y})});if(t.add(b),c){var x=oA.makeAxisEventDataBase(e);x.targetType="axisLabel",x.value=i.rawLabel,Ws(b).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 c=[],d=0;d<i.length;d++){var h=u++%l.length;c[h]=c[h]||[],c[h].push(new eg({shape:IG(n,a,i[d].coord)}))}for(d=0;d<c.length;d++)t.add(Ng(c[d],{style:g["defaults"]({stroke:l[d%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 c=0;c<r[u].length;c++)l.push(new eg({shape:IG(n,a,r[u][c].coord)}));t.add(Ng(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 c=[],d=Math.PI/180,h=-i[0].coord*d,p=Math.min(a[0],a[1]),f=Math.max(a[0],a[1]),_=e.get("clockwise"),m=1,y=i.length;m<=y;m++){var v=m===y?i[0].coord:i[m].coord,b=u++%l.length;c[b]=c[b]||[],c[b].push(new z_({shape:{cx:n.cx,cy:n.cy,r0:p,r:f,startAngle:h,endAngle:-v*d,clockwise:_},silent:!0})),h=-v*d}for(m=0;m<c.length;m++)t.add(Ng(c[m],{style:g["defaults"]({fill:l[m%l.length]},s.getAreaStyle()),silent:!0}))}}},EG=jG,RG=["axisLine","axisTickLabel","axisName"],NG=["splitLine","splitArea","minorSplitLine"],HG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return f(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=this._axisGroup,i=this._axisGroup=new Ri;this.group.add(i);var r=t.axis,a=r.polar,o=a.getAngleAxis(),s=r.getTicksCoords(),l=r.getMinorTicksCoords(),u=o.getExtent()[0],c=r.getExtent(),d=BG(a,t,u),h=new oA(t,d);g["each"](RG,h.add,h),i.add(h.getGroup()),Zg(n,i,t),g["each"](NG,(function(e){t.get([e,"show"])&&!r.scale.isBlank()&&zG[e](this.group,t,a,u,c,s,l)}),this)}},e.type="radiusAxis",e}(bA),zG={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 c=[],d=0;d<a.length;d++){var h=u++%l.length;c[h]=c[h]||[],c[h].push(new v_({shape:{cx:n.cx,cy:n.cy,r:Math.max(a[d].coord,0)}}))}for(d=0;d<c.length;d++)t.add(Ng(c[d],{style:g["defaults"]({stroke:l[d%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=[],c=0;c<o.length;c++)for(var d=0;d<o[c].length;d++)u.push(new v_({shape:{cx:n.cx,cy:n.cy,r:o[c][d].coord}}));t.add(Ng(u,{style:g["defaults"]({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 c=[],d=a[0].coord,h=1;h<a.length;h++){var p=u++%l.length;c[p]=c[p]||[],c[p].push(new z_({shape:{cx:n.cx,cy:n.cy,r0:d,r:a[h].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),d=a[h].coord}for(h=0;h<c.length;h++)t.add(Ng(c[h],{style:g["defaults"]({fill:l[h%l.length]},s.getAreaStyle()),silent:!0}))}}};function BG(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 FG=HG;function WG(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function VG(t,e){return e.dim+t.model.componentIndex}function GG(t,e,n){var i={},r=UG(g["filter"](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=VG(n,a),s=WG(t),l=r[o][s],u=l.offset,c=l.width,d=n.getOtherAxis(a),h=t.coordinateSystem.cx,p=t.coordinateSystem.cy,f=t.get("barMinHeight")||0,_=t.get("barMinAngle")||0;i[s]=i[s]||[];for(var g=e.mapDimension(d.dim),m=e.mapDimension(a.dim),y=oM(e,g),v="radius"!==a.dim||!t.get("roundCap",!0),b=d.dataToCoord(0),x=0,M=e.count();x<M;x++){var w=e.get(g,x),S=e.get(m,x),L=w>=0?"p":"n",k=b;y&&(i[s][S]||(i[s][S]={p:b,n:b}),k=i[s][S][L]);var T=void 0,D=void 0,O=void 0,A=void 0;if("radius"===d.dim){var I=d.dataToCoord(w)-b,Y=a.dataToCoord(S);Math.abs(I)<f&&(I=(I<0?-1:1)*f),T=k,D=k+I,O=Y-u,A=O-c,y&&(i[s][S][L]=D)}else{var C=d.dataToCoord(w,v)-b,j=a.dataToCoord(S);Math.abs(C)<_&&(C=(C<0?-1:1)*_),T=j+u,D=T+c,O=k,A=k+C,y&&(i[s][S][L]=A)}e.setItemLayout(x,{cx:h,cy:p,r0:T,r:D,startAngle:-O*Math.PI/180,endAngle:-A*Math.PI/180,clockwise:O>=A})}}}))}function UG(t){var e={};g["each"](t,(function(t,n){var i=t.getData(),r=t.coordinateSystem,a=r.getBaseAxis(),o=VG(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:{}},c=u.stacks;e[o]=u;var d=WG(t);c[d]||u.autoWidthCount++,c[d]=c[d]||{width:0,maxWidth:0};var h=Qi(t.get("barWidth"),l),p=Qi(t.get("barMaxWidth"),l),f=t.get("barGap"),_=t.get("barCategoryGap");h&&!c[d].width&&(h=Math.min(u.remainedWidth,h),c[d].width=h,u.remainedWidth-=h),p&&(c[d].maxWidth=p),null!=f&&(u.gap=f),null!=_&&(u.categoryGap=_)}));var n={};return g["each"](e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,a=Qi(t.categoryGap,r),o=Qi(t.gap,1),s=t.remainedWidth,l=t.autoWidthCount,u=(s-a)/(l+(l-1)*o);u=Math.max(u,0),g["each"](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 c,d=0;g["each"](i,(function(t,e){t.width||(t.width=u),c=t,d+=t.width*(1+o)})),c&&(d-=c.width*o);var h=-d/2;g["each"](i,(function(t,i){n[e][i]=n[e][i]||{offset:h,width:t.width},h+=t.width*(1+o)}))})),n}var XG=GG,ZG={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},qG={splitNumber:5},KG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.type="polar",e}(Uf);function JG(t){fx(rG),bA.registerAxisPointerClass("PolarAxisPointer",uG),t.registerCoordinateSystem("polar",OG),t.registerComponentModel(dG),t.registerComponentView(KG),TO(t,"angle",pG,ZG),TO(t,"radius",fG,qG),t.registerComponentView(EG),t.registerComponentView(FG),t.registerLayout(Object(g["curry"])(XG,"bar"))}function $G(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 c={horizontal:0,vertical:1};r.rotation=Math.PI/2*c[o];var d={top:-1,bottom:1,right:1,left:-1};r.labelDirection=r.tickDirection=r.nameDirection=d[a],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),g["retrieve"](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 QG=["axisLine","axisTickLabel","axisName"],tU=["splitArea","splitLine"],eU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return f(e,t),e.prototype.render=function(e,n,i,r){var a=this.group;a.removeAll();var o=this._axisGroup;this._axisGroup=new Ri;var s=$G(e),l=new oA(e,s);g["each"](QG,l.add,l),a.add(this._axisGroup),a.add(l.getGroup()),g["each"](tU,(function(t){e.get([t,"show"])&&nU[t](this,this.group,this._axisGroup,e)}),this),Zg(o,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)},e.prototype.remove=function(){wA(this)},e.type="singleAxis",e}(bA),nU={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=o.get("width"),u=i.coordinateSystem.getRect(),c=r.isHorizontal(),d=[],h=0,p=r.getTicksCoords({tickModel:a}),f=[],_=[],m=0;m<p.length;++m){var y=r.toGlobalCoord(p[m].coord);c?(f[0]=y,f[1]=u.y,_[0]=y,_[1]=u.y+u.height):(f[0]=u.x,f[1]=y,_[0]=u.x+u.width,_[1]=y);var v=new eg({shape:{x1:f[0],y1:f[1],x2:_[0],y2:_[1]},silent:!0});zg(v.shape,l);var b=h++%s.length;d[b]=d[b]||[],d[b].push(v)}var x=o.getLineStyle(["color"]);for(m=0;m<d.length;++m)e.add(Ng(d[m],{style:g["defaults"]({stroke:s[m%s.length]},x),silent:!0}))}},splitArea:function(t,e,n,i){MA(t,n,i,i)}},iU=eU,rU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(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}(gd);Object(g["mixin"])(rU,Nw.prototype);var aU=rU,oU=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 f(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}(kS),sU=oU,lU=["single"],uU=function(){function t(t,e,n){this.type="single",this.dimension="single",this.dimensions=lU,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 sU(i,Dw(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();Object(g["each"])(e.mapDimensionsAll(this.dimension),(function(t){this._axis.scale.unionExtentFromData(e,t)}),this),Tw(this._axis.scale,this._axis.model)}}),this)},t.prototype.resize=function(t,e){this._rect=od({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.inverse?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=cU(e);return i===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=cU(e);return i===this?this.pointToData(n):null},t}();function cU(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var dU=uU;function hU(t,e){var n=[];return t.eachComponent("singleAxis",(function(i,r){var a=new dU(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",$r).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n}var pU={create:hU,dimensions:lU},fU=pU,_U=["x","y"],gU=["width","height"],mU=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var a=n.axis,o=a.coordinateSystem,s=bU(o,1-vU(a)),l=o.dataToPoint(e)[0],u=i.get("type");if(u&&"none"!==u){var c=yV(i),d=yU[u](a,l,s);d.style=c,t.graphicKey=d.type,t.pointer=d}var h=$G(n);wV(e,t,h,n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=$G(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=MV(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=vU(r),s=bU(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=bU(a,1-o),c=(u[1]+u[0])/2,d=[c,c];return d[o]=l[o],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:d,tooltipOption:{verticalAlign:"middle"}}},e}(mV),yU={line:function(t,e,n){var i=SV([e,n[0]],[e,n[1]],vU(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:LV([e-i/2,n[0]],[i,r],vU(t))}}};function vU(t){return t.isHorizontal()?0:1}function bU(t,e){var n=t.getRect();return[n[_U[e]],n[_U[e]]+n[gU[e]]]}var xU=mU,MU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.type="single",e}(Uf);function wU(t){fx(rG),bA.registerAxisPointerClass("SingleAxisPointer",xU),t.registerComponentView(MU),t.registerComponentView(iU),t.registerComponentModel(aU),TO(t,"single",aU,aU.defaultOption),t.registerCoordinateSystem("single",fU)}var SU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.init=function(e,n,i){var r=dd(e);t.prototype.init.apply(this,arguments),LU(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),LU(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={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%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(gd);function LU(t,e){var n,i=t.cellSize;n=g["isArray"](i)?i:t.cellSize=[i,i],1===n.length&&(n[1]=n[0]);var r=g["map"]([0,1],(function(t){return ld(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));cd(t,e,{type:"box",ignoreSize:r})}var kU=SU,TU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(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(),s=e.getLocaleModel();this._renderDayRect(t,a,i),this._renderLines(t,a,o,i),this._renderYearText(t,a,o,i),this._renderMonthText(t,s,o,i),this._renderWeekText(t,s,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 Ss({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,c=0;u.time<=e.end.time;c++){h(u.formatedDate),0===c&&(u=a.getDateInfo(e.start.y+"-"+e.start.m));var d=u.date;d.setMonth(d.getMonth()+1),u=a.getDateInfo(d)}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 J_({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 Object(g["isString"])(t)&&t?Zc(t,e):Object(g["isFunction"])(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,c="horizontal"===n?0:1,d={top:[l,s[c][1]],bottom:[l,s[1-c][1]],left:[s[1-c][0],u],right:[s[c][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},_=this._formatterLabel(p,f),g=new Fs({z2:30,style:xu(r,{text:_})});g.attr(this._yearTextPositionControl(g,d[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,i){var r=t.getModel("monthLabel");if(r.get("show")){var a=r.get("nameMap"),o=r.get("margin"),s=r.get("position"),l=r.get("align"),u=[this._tlpoints,this._blpoints];a&&!Object(g["isString"])(a)||(a&&(e=sc(a)||e),a=e.get(["time","monthAbbr"])||[]);var c="start"===s?0:1,d="horizontal"===n?0:1;o="start"===s?-o:o;for(var h="center"===l,p=0;p<u[c].length-1;p++){var f=u[c][p].slice(),_=this._firstDayOfMonth[p];if(h){var m=this._firstDayPoints[p];f[d]=(m[d]+u[0][p+1][d])/2}var y=r.get("formatter"),v=a[+_.m-1],b={yyyy:_.y,yy:(_.y+"").slice(2),MM:_.m,M:+_.m,nameMap:v},x=this._formatterLabel(y,b),M=new Fs({z2:30,style:Object(g["extend"])(xu(r,{text:x}),this._monthTextPositionControl(f,h,n,s,o))});i.add(M)}}},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,r){var a=t.getModel("dayLabel");if(a.get("show")){var o=t.coordinateSystem,s=a.get("position"),l=a.get("nameMap"),u=a.get("margin"),c=o.getFirstDayOfWeek();if(!l||Object(g["isString"])(l)){l&&(e=sc(l)||e);var d=e.get(["time","dayOfWeekShort"]);l=d||Object(g["map"])(e.get(["time","dayOfWeekAbbr"]),(function(t){return t[0]}))}var h=o.getNextNDay(n.end.time,7-n.lweek).time,p=[o.getCellWidth(),o.getCellHeight()];u=Qi(u,Math.min(p[1],p[0])),"start"===s&&(h=o.getNextNDay(n.start.time,-(7+n.fweek)).time,u=-u);for(var f=0;f<7;f++){var _=o.getNextNDay(h,f),m=o.dataToRect([_.time],!1).center,y=f;y=Math.abs((f+c)%7);var v=new Fs({z2:30,style:Object(g["extend"])(xu(a,{text:l[y]}),this._weekTextPositionControl(m,i,s,u,p))});r.add(v)}}},e.type="calendar",e}(Uf),DU=TU,OU=864e5,AU=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=hr(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];g["each"]([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=od(a,s);function u(t,e){return null!=t[e]&&"auto"!==t[e]}g["each"]([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){g["isArray"](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+OU))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=IU(e);return i===this?i.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=IU(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(g["isArray"](e)&&1===e.length&&(e=e[0]),g["isArray"](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/OU)-Math.floor(n[0].time/OU)+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),c=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:c,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 IU(t){var e=t.calendarModel,n=t.seriesModel,i=e?e.coordinateSystem:n?n.coordinateSystem:null;return i}var YU=AU;function CU(t){t.registerComponentModel(kU),t.registerComponentView(DU),t.registerCoordinateSystem("calendar",YU)}function jU(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 PU(t,e){var n;return g["each"](e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}function EU(t,e,n){var i=g["extend"]({},n),r=t[e],a=n.$action||"merge";"merge"===a?r?(g["merge"](r,i,!0),cd(r,i,{ignoreSize:!0}),hd(n,r),HU(n,r),HU(n,r,"shape"),HU(n,r,"style"),HU(n,r,"extra"),n.clipPath=r.clipPath):t[e]=i:"replace"===a?t[e]=i:"remove"===a&&r&&(t[e]=null)}var RU=["transition","enterFrom","leaveTo"],NU=RU.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function HU(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?RU:NU,r=0;r<i.length;r++){var a=i[r];null==t[a]&&null!=e[a]&&(t[a]=e[a])}}function zU(t,e){if(t&&(t.hv=e.hv=[PU(e,["left","right"]),PU(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)}}var BU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventAutoZ=!0,n}return f(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=Ir(r,a,"normalMerge"),s=this._elOptionsToUpdate=[];g["each"](o,(function(t,e){var n=t.newOption;n&&(s.push(n),jU(t,n),EU(r,e,n),zU(r[e],n))}),this),n.elements=g["filter"](r,(function(t){return t&&delete t.$action,null!=t}))},e.prototype._flatten=function(t,e,n){g["each"](t,(function(t){if(t){n&&(t.parentOption=n),e.push(t);var i=t.children;i&&i.length&&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}(gd),FU={path:null,compoundPath:null,group:Ri,image:_s,text:Fs},WU=Zr(),VU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.init=function(){this._elMap=g["createHashMap"]()},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,r=t.get("z"),a=t.get("zlevel");g["each"](e,(function(e){var o=zr(e.id,null),s=null!=o?n.get(o):null,l=zr(e.parentId,null),u=null!=l?n.get(l):i,c=e.type,d=e.style;"text"===c&&d&&e.hv&&e.hv[1]&&(d.textVerticalAlign=d.textBaseline=d.verticalAlign=d.align=null);var h=e.textContent,p=e.textConfig;if(d&&UF(d,c,!!p,!!h)){var f=XF(d,c,!0);!p&&f.textConfig&&(p=e.textConfig=f.textConfig),!h&&f.textContent&&(h=f.textContent)}var _=qU(e);var g=e.$action||"merge",m="merge"===g,y="replace"===g;if(m){var v=!s,b=s;v?b=UU(o,u,e.type,n):(b&&(WU(b).isNew=!1),bW(b)),b&&(nW(b,_,t,{isInit:v}),ZU(b,e,r,a))}else if(y){XU(s,e,n,t);var x=UU(o,u,e.type,n);x&&(nW(x,_,t,{isInit:!0}),ZU(x,e,r,a))}else"remove"===g&&(iW(s,e),XU(s,e,n,t));var M=n.get(o);if(M&&h)if(m){var w=M.getTextContent();w?w.attr(h):M.setTextContent(new Fs(h))}else y&&M.setTextContent(new Fs(h));if(M){var S=e.clipPath;if(S){var L=S.type,k=void 0;v=!1;if(m){var T=M.getClipPath();v=!T||WU(T).type!==L,k=v?GU(L):T}else y&&(v=!0,k=GU(L));M.setClipPath(k),nW(k,S,t,{isInit:v}),xW(k,S.keyframeAnimation,t)}var D=WU(M);M.setTextConfig(p),D.option=e,KU(M,t,e),nm({el:M,componentModel:t,itemName:M.name,itemTooltipOption:e.tooltip}),xW(M,e.keyframeAnimation,t)}}))}},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=["x","y"],l=0;l<n.length;l++){var u=n[l],c=zr(u.id,null),d=null!=c?r.get(c):null;if(d&&d.isGroup){var h=d.parent,p=h===i,f=WU(d),_=WU(h);f.width=Qi(f.option.width,p?a:_.width)||0,f.height=Qi(f.option.height,p?o:_.height)||0}}for(l=n.length-1;l>=0;l--){u=n[l],c=zr(u.id,null),d=null!=c?r.get(c):null;if(d){h=d.parent,_=WU(h);var m=h===i?{width:a,height:o}:{width:_.width,height:_.height},y={},v=sd(d,u,m,null,{hv:u.hv,boundingMode:u.bounding},y);if(!WU(d).isNew&&v){for(var b=u.transition,x={},M=0;M<s.length;M++){var w=s[M],S=y[w];b&&(aW(b)||g["indexOf"](b,w)>=0)?x[w]=S:d[w]=S}lu(d,x,t,0)}else d.attr(y)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){XU(n,WU(n).option,e,t._lastGraphicModel)})),this._elMap=g["createHashMap"]()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(Uf);function GU(t){var e=g["hasOwn"](FU,t)?FU[t]:jg(t);var n=new e({});return WU(n).type=t,n}function UU(t,e,n,i){var r=GU(n);return e.add(r),i.set(t,r),WU(r).id=t,WU(r).isNew=!0,r}function XU(t,e,n,i){var r=t&&t.parent;r&&("group"===t.type&&t.traverse((function(t){XU(t,e,n,i)})),rW(t,e,i),n.removeKey(WU(t).id))}function ZU(t,e,n,i){t.isGroup||g["each"]([["cursor",Qa.prototype.cursor],["zlevel",i||0],["z",n||0],["z2",0]],(function(n){var i=n[0];g["hasOwn"](e,i)?t[i]=g["retrieve2"](e[i],n[1]):null==t[i]&&(t[i]=n[1])})),g["each"](g["keys"](e),(function(n){if(0===n.indexOf("on")){var i=e[n];t[n]=g["isFunction"](i)?i:null}})),g["hasOwn"](e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}function qU(t){return t=g["extend"]({},t),g["each"](["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(ed),(function(e){delete t[e]})),t}function KU(t,e,n){var i=Ws(t).eventData;t.silent||t.ignore||i||(i=Ws(t).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),i&&(i.info=n.info)}function JU(t){t.registerComponentModel(BU),t.registerComponentView(VU),t.registerPreprocessor((function(t){var e=t.graphic;Object(g["isArray"])(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])}))}var $U=["x","y","radius","angle","single"],QU=["cartesian2d","polar","singleAxis"];function tX(t){var e=t.get("coordinateSystem");return Object(g["indexOf"])(QU,e)>=0}function eX(t){return t+"Axis"}function nX(t,e){var n,i=Object(g["createHashMap"])(),r=[],a=Object(g["createHashMap"])();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 iX(t){var e=t.ecModel,n={infoList:[],infoMap:Object(g["createHashMap"])()};return t.eachTargetAxis((function(t,i){var r=e.getComponent(eX(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 rX=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}(),aX=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 f(e,t),e.prototype.init=function(t,e,n){var i=oX(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=oX(t);Object(g["merge"])(this.option,t,!0),Object(g["merge"])(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;Object(g["each"])([["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=Object(g["createHashMap"])(),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 Object(g["each"])($U,(function(n){var i=this.getReferringComponents(eX(n),Qr);if(i.specified){e=!0;var r=new rX;Object(g["each"])(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 rX;if(a.add(r.componentIndex),t.set(n,a),i=!1,"x"===n||"y"===n){var o=r.getReferringComponents("grid",$r).models[0];o&&Object(g["each"])(e,(function(t){r.componentIndex!==t.componentIndex&&o===t.getReferringComponents("grid",$r).models[0]&&a.add(t.componentIndex)}))}}}i&&Object(g["each"])($U,(function(e){if(i){var r=n.findComponents({mainType:eX(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var a=new rX;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");Object(g["each"])([["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(eX(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,i){Object(g["each"])(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(eX(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;Object(g["each"])([["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;Object(g["each"])(["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={z:4,filterMode:"filter",start:0,end:100},e}(gd);function oX(t){var e={};return Object(g["each"])(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}var sX=aX,lX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.type="dataZoom.select",e}(sX),uX=lX,cX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.render=function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(Uf),dX=cX,hX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.type="dataZoom.select",e}(dX),pX=hX,fX=g["each"],_X=er,gX=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(tX(e)){var n=eX(this._dimName),i=e.getReferringComponents(n,$r).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 g["clone"](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=[];fX(["start","end"],(function(i,u){var c=t[i],d=t[i+"Value"];"percent"===a[u]?(null==c&&(c=o[u]),d=r.parse($i(c,o,n))):(e=!0,d=null==d?n[u]:r.parse(d),c=$i(d,n,o)),l[u]=d,s[u]=c})),_X(l),_X(s);var u=this._minMaxSpan;function c(t,e,n,i,a){var o=a?"Span":"ValueSpan";NR(0,t,n,"all",u["min"+o],u["max"+o]);for(var s=0;s<2;s++)e[s]=$i(t[s],n,i,!0),a&&(e[s]=r.parse(e[s]))}return e?c(l,s,n,o,!1):c(s,l,o,n,!0),{valueWindow:l,percentWindow:s}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=mX(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&&fX(i,(function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var s=e.getStore(),l=g["map"](i,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,r,o=0;o<i.length;o++){var u=s.get(l[o],t),c=!isNaN(u),d=u<a[0],h=u>a[1];if(c&&!d&&!h)return!0;c&&(r=!0),d&&(e=!0),h&&(n=!0)}return r&&e&&n}))}else fX(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)}}));fX(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;fX(["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=$i(n[0]+a,n,[0,100],!0):null!=r&&(a=$i(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=rr(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 mX(t,e,n){var i=[1/0,-1/0];fX(n,(function(t){Rw(i,t.getData(),e)}));var r=t.getAxisModel(),a=ww(r.axis.scale,r,i).calculate();return[a.min,a.max]}var yX=gX,vX={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(i,r){var a=t.getComponent(eX(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 yX(e,i,a,t),n.push(r.__dzAxisProxy))}));var i=Object(g["createHashMap"])();return Object(g["each"])(n,(function(t){Object(g["each"])(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]})}}))}},bX=vX;function xX(t){t.registerAction("dataZoom",(function(t,e){var n=nX(e,t);Object(g["each"])(n,(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}var MX=!1;function wX(t){MX||(MX=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,bX),xX(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function SX(t){t.registerComponentModel(uX),t.registerComponentView(pX),wX(t)}var LX=function(){function t(){}return t}(),kX={};function TX(t,e){kX[t]=e}function DX(t){return kX[t]}var OX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;g["each"](this.option.feature,(function(t,n){var i=DX(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),g["merge"](t,i.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,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,position:"bottom"}},e}(gd),AX=OX;function IX(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),a={width:n.getWidth(),height:n.getHeight()},o=od(i,a,r);rd(e.get("orient"),t,e.get("itemGap"),o.width,o.height),sd(t,i,a,r)}function YX(t,e){var n=Wc(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new Ss({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 CX=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(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="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),u=[];g["each"](s,(function(t,e){u.push(e)})),new yx(this._featureNames||[],u).add(c).update(c).remove(g["curry"](c,null)).execute(),this._featureNames=u,IX(r,t,n),r.add(YX(r.getBoundingRect(),t)),o||r.eachChild((function(t){var e=t.__title,i=t.ensureState("emphasis"),o=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!g["isFunction"](l)&&e){var u=l.style||(l.style={}),c=gi(e,Fs.makeFont(u)),d=t.x+r.x,h=t.y+r.y+a,p=!1;h+c.height>n.getHeight()&&(o.position="top",p=!0);var f=p?-5-c.height:a+10;d+c.width/2>n.getWidth()?(o.position=["100%",f],u.align="right"):d-c.width/2<0&&(o.position=[0,f],u.align="left")}}))}function c(r,a){var o,c=u[r],h=u[a],p=s[c],f=new Gu(p,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===c&&(p.title=i.newTitle),c&&!h){if(jX(c))o={onclick:f.option.onclick,featureName:c};else{var _=DX(c);if(!_)return;o=new _}l[c]=o}else if(o=l[h],!o)return;o.uid=Xu("toolbox-feature"),o.model=f,o.ecModel=e,o.api=n;var g=o instanceof LX;c||!h?!f.get("show")||g&&o.unusable?g&&o.remove&&o.remove(e,n):(d(f,o,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?Dl:Ol)(i[t])},o instanceof LX&&o.render&&o.render(f,e,n,i)):g&&o.dispose&&o.dispose(e,n)}function d(i,s,l){var u,c,d=i.getModel("iconStyle"),h=i.getModel(["emphasis","iconStyle"]),p=s instanceof LX&&s.getIcons?s.getIcons():i.get("icon"),f=i.get("title")||{};g["isString"](p)?(u={},u[l]=p):u=p,g["isString"](f)?(c={},c[l]=f):c=f;var _=i.iconPaths={};g["each"](u,(function(l,u){var p=Jg(l,{},{x:-a/2,y:-a/2,width:a,height:a});p.setStyle(d.getItemStyle());var f=p.ensureState("emphasis");f.style=h.getItemStyle();var m=new Fs({style:{text:c[u],align:h.get("textAlign"),borderRadius:h.get("textBorderRadius"),padding:h.get("textPadding"),fill:null},ignore:!0});p.setTextContent(m),nm({el:p,componentModel:t,itemName:u,formatterParamsExtra:{title:c[u]}}),p.__title=c[u],p.on("mouseover",(function(){var e=h.getItemStyle(),i=o?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";m.setStyle({fill:h.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:h.get("textBackgroundColor")}),p.setTextConfig({position:h.get("textPosition")||i}),m.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==i.get(["iconStatus",u])&&n.leaveEmphasis(this),m.hide()})),("emphasis"===i.get(["iconStatus",u])?Dl:Ol)(p),r.add(p),p.on("click",g["bind"](s.onclick,s,e,n,u)),_[u]=p}))}},e.prototype.updateView=function(t,e,n,i){g["each"](this._features,(function(t){t instanceof LX&&t.updateView&&t.updateView(t.model,e,n,i)}))},e.prototype.remove=function(t,e){g["each"](this._features,(function(n){n instanceof LX&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){g["each"](this._features,(function(n){n instanceof LX&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(Uf);function jX(t){return 0===t.indexOf("my")}var PX=CX,EX=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(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")}),s=_["a"].browser;if(Object(g["isFunction"])(MouseEvent)&&(s.newEdge||!s.ie&&!s.edge)){var l=document.createElement("a");l.download=i+"."+a,l.target="_blank",l.href=o;var u=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});l.dispatchEvent(u)}else if(window.navigator.msSaveOrOpenBlob||r){var c=o.split(","),d=c[0].indexOf("base64")>-1,h=r?decodeURIComponent(c[1]):c[1];d&&(h=window.atob(h));var p=i+"."+a;if(window.navigator.msSaveOrOpenBlob){var f=h.length,m=new Uint8Array(f);while(f--)m[f]=h.charCodeAt(f);var y=new Blob([m]);window.navigator.msSaveOrOpenBlob(y,p)}else{var v=document.createElement("iframe");document.body.appendChild(v);var b=v.contentWindow,x=b.document;x.open("image/svg+xml","replace"),x.write(h),x.close(),b.focus(),x.execCommand("SaveAs",!0,p),document.body.removeChild(v)}}else{var M=n.get("lang"),w='<body style="margin:0;"><img src="'+o+'" style="max-width:100%;" title="'+(M&&M[0]||"")+'" /></body>',S=window.open();S.document.write(w),S.document.title=i}},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.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return e},e}(LX),RX=EX,NX="__ec_magicType_stack__",HX=[["line","bar"],["stack"]],zX=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return g["each"](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.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return e},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(BX[n]){var a,o={series:[]},s=function(t){var e=t.subType,r=t.id,a=BX[n](e,r,t,i);a&&(g["defaults"](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,c=u+"Axis",d=t.getReferringComponents(c,$r).models[0],h=d.componentIndex;o[c]=o[c]||[];for(var p=0;p<=h;p++)o[c][h]=o[c][h]||{};o[c][h].boundaryGap="bar"===n}}};g["each"](HX,(function(t){g["indexOf"](t,n)>=0&&g["each"](t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},s);var l=n;"stack"===n&&(a=g["merge"]({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(l="tiled")),e.dispatchAction({type:"changeMagicType",currentType:l,newOption:o,newTitle:a,featureName:"magicType"})}},e}(LX),BX={line:function(t,e,n,i){if("bar"===t)return g["merge"]({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 g["merge"]({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")===NX;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),g["merge"]({id:e,stack:r?"":NX},i.get(["option","stack"])||{},!0)}};Qb({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var FX=zX,WX=new Array(60).join("-"),VX="\t";function GX(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 UX(t){var e=[];return g["each"](t,(function(t,n){var i=t.categoryAxis,r=t.valueAxis,a=r.dim,o=[" "].concat(g["map"](t.series,(function(t){return t.name}))),s=[i.model.getCategories()];g["each"](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(VX)],u=0;u<s[0].length;u++){for(var c=[],d=0;d<s.length;d++)c.push(s[d][u]);l.push(c.join(VX))}e.push(l.join("\n"))})),e.join("\n\n"+WX+"\n\n")}function XX(t){return g["map"](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+VX:"")+i.join(VX))})),n.join("\n")})).join("\n\n"+WX+"\n\n")}function ZX(t){var e=GX(t);return{value:g["filter"]([UX(e.seriesGroupByCategoryAxis),XX(e.other)],(function(t){return!!t.replace(/[\n\t\s]/g,"")})).join("\n\n"+WX+"\n\n"),meta:e.meta}}function qX(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function KX(t){var e=t.slice(0,t.indexOf("\n"));if(e.indexOf(VX)>=0)return!0}var JX=new RegExp("["+VX+"]+","g");function $X(t){for(var e=t.split(/\n+/g),n=qX(e.shift()).split(JX),i=[],r=g["map"](n,(function(t){return{name:t,data:[]}})),a=0;a<e.length;a++){var o=qX(e[a]).split(JX);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 QX(t){for(var e=t.split(/\n+/g),n=qX(e.shift()),i=[],r=0;r<e.length;r++){var a=qX(e[r]);if(a){var o=a.split(JX),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 c=0;c<o.length;c++)l.push(+o[c]);1===l.length&&(u?i[r].value=l[0]:i[r]=l[0])}}return{name:n,data:i}}function tZ(t,e){var n=t.split(new RegExp("\n*"+WX+"\n*","g")),i={series:[]};return g["each"](n,(function(t,n){if(KX(t)){var r=$X(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=QX(t);i.series.push(r)}})),i}var eZ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.onclick=function(t,e){setTimeout((function(){e.dispatchAction({type:"hideTip"})}));var n=e.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var r=document.createElement("div");r.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding: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="overflow:auto";var u=i.get("optionToContent"),c=i.get("contentToOption"),d=ZX(t);if(g["isFunction"](u)){var h=u(e.getOption());g["isString"](h)?s.innerHTML=h:g["isDom"](h)&&s.appendChild(h)}else{l.readOnly=i.get("readOnly");var p=l.style;p.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",p.color=i.get("textColor"),p.borderColor=i.get("textareaBorderColor"),p.backgroundColor=i.get("textareaColor"),l.value=d.value,s.appendChild(l)}var f=d.meta,_=document.createElement("div");_.style.cssText="position:absolute;bottom:5px;left:0;right:0";var m="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",y=document.createElement("div"),v=document.createElement("div");m+=";background-color:"+i.get("buttonColor"),m+=";color:"+i.get("buttonTextColor");var b=this;function x(){n.removeChild(r),b._dom=null}ft(y,"click",x),ft(v,"click",(function(){if(null==c&&null!=u||null!=c&&null==u)x();else{var t;try{t=g["isFunction"](c)?c(s,e.getOption()):tZ(l.value,f)}catch(n){throw x(),new Error("Data view format error "+n)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),x()}})),y.innerHTML=o[1],v.innerHTML=o[2],v.style.cssText=y.style.cssText=m,!i.get("readOnly")&&_.appendChild(v),_.appendChild(y),r.appendChild(a),r.appendChild(s),r.appendChild(_),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.getLocaleModel().get(["toolbox","dataView","title"]),lang:t.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return e},e}(LX);function nZ(t,e){return g["map"](t,(function(t,n){var i=e&&e[n];if(g["isObject"](i)&&!g["isArray"](i)){var r=g["isObject"](t)&&!g["isArray"](t);r||(t={value:t});var a=null!=i.name&&null==t.name;return t=g["defaults"](t,i),a&&delete t.name,t}return t}))}Qb({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(t,e){var n=[];g["each"](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:nZ(t.data,r)})}else n.push(g["extend"]({type:"scatter"},t))})),e.mergeOption(g["defaults"]({series:n},t.newOption))}));var iZ=eZ,rZ=g["each"],aZ=Zr();function oZ(t,e){var n=cZ(t);rZ(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 sZ(t){var e=cZ(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return rZ(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 lZ(t){aZ(t).snapshots=null}function uZ(t){return cZ(t).length}function cZ(t){var e=aZ(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var dZ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.onclick=function(t,e){lZ(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.getLocaleModel().get(["toolbox","restore","title"])};return e},e}(LX);Qb({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));var hZ=dZ,pZ=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],fZ=function(){function t(t,e,n){var i=this;this._targetInfoList=[];var r=gZ(e,t);Object(g["each"])(mZ,(function(t,e){(!n||!n.include||Object(g["indexOf"])(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=bZ[t.brushType](0,n,e);t.__rangeOffset={offset:MZ[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){Object(g["each"])(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&Object(g["each"])(i.coordSyses,(function(i){var r=bZ[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)}))}),this)},t.prototype.setInputRanges=function(t,e){Object(g["each"])(t,(function(t){var n=this.findTargetInfo(t,e);if(t.range=t.range||[],n&&!0!==n){t.panelId=n.panelId;var i=bZ[t.brushType](0,n.coordSys,t.coordRange),r=t.__rangeOffset;t.range=r?MZ[t.brushType](i.values,r.offset,SZ(i.xyMinMax,r.xyMinMax)):i.values}}),this)},t.prototype.makePanelOpts=function(t,e){return Object(g["map"])(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:tH(i),isTargetByCursor:nH(i,t,n.coordSysModel),getLinearBrushOtherExtent:eH(i)}}))},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&Object(g["indexOf"])(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=gZ(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<yZ.length;s++)if(yZ[s](i,a))return a}return!0},t}();function _Z(t){return t[0]>t[1]&&t.reverse(),t}function gZ(t,e){return Kr(t,e,{includeMainTypes:pZ})}var mZ={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,a=Object(g["createHashMap"])(),o={},s={};(n||i||r)&&(Object(g["each"])(n,(function(t){var e=t.axis.grid.model;a.set(e.id,e),o[e.id]=!0})),Object(g["each"])(i,(function(t){var e=t.axis.grid.model;a.set(e.id,e),s[e.id]=!0})),Object(g["each"])(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=[];Object(g["each"])(r.getCartesians(),(function(t,e){(Object(g["indexOf"])(n,t.getAxis("x").model)>=0||Object(g["indexOf"])(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:vZ.grid,xAxisDeclared:o[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){Object(g["each"])(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:vZ.geo})}))}},yZ=[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}],vZ={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(Wg(t)),e}},bZ={lineX:Object(g["curry"])(xZ,0),lineY:Object(g["curry"])(xZ,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),a=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),o=[_Z([r[0],a[0]]),_Z([r[1],a[1]])];return{values:o,xyMinMax:o}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]],a=Object(g["map"])(n,(function(n){var a=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],a[0]),r[1][0]=Math.min(r[1][0],a[1]),r[0][1]=Math.max(r[0][1],a[0]),r[1][1]=Math.max(r[1][1],a[1]),a}));return{values:a,xyMinMax:r}}};function xZ(t,e,n,i){var r=n.getAxis(["x","y"][t]),a=_Z(Object(g["map"])([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))}))),o=[];return o[t]=a,o[1-t]=[NaN,NaN],{values:a,xyMinMax:o}}var MZ={lineX:Object(g["curry"])(wZ,0),lineY:Object(g["curry"])(wZ,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 Object(g["map"])(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function wZ(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function SZ(t,e){var n=LZ(t),i=LZ(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 LZ(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var kZ=fZ,TZ=g["each"],DZ=Wr("toolbox-dataZoom_"),OZ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new QN(n.getZr()),this._brushController.on("brush",g["bind"](this._onBrush,this)).mount()),CZ(t,e,this,i,n),YZ(t,e)},e.prototype.onclick=function(t,e,n){AZ[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 kZ(IZ(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)}})),oZ(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=NR(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=[];TZ(t,(function(t,n){e.push(g["clone"](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.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return e},e}(LX),AZ={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(sZ(this.ecModel))}};function IZ(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 YZ(t,e){t.setIconStatus("back",uZ(e)>1?"emphasis":"normal")}function CZ(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 kZ(IZ(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()})}Hd("dataZoom",(function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],a=IZ(i),o=Kr(t,a);return TZ(o.xAxisModels,(function(t){return s(t,"xAxis","xAxisIndex")})),TZ(o.yAxisModels,(function(t){return s(t,"yAxis","yAxisIndex")})),r}function s(t,e,n){var a=t.componentIndex,o={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:DZ+e+a};o[n]=a,r.push(o)}}));var jZ=OZ;function PZ(t){t.registerComponentModel(AX),t.registerComponentView(PX),TX("saveAsImage",RX),TX("magicType",FX),TX("dataView",iZ),TX("dataZoom",jZ),TX("restore",hZ),fx(SX)}var EZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={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}(gd),RZ=EZ;function NZ(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function HZ(t){if(_["a"].domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n<i;n++)if(t[n]in e)return t[n]}var zZ=HZ(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),BZ=HZ(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function FZ(t,e){if(!t)return e;e=Fc(e,!0);var n=t.indexOf(e);return t=-1===n?e:"-"+t.slice(0,n)+"-"+e,t.toLowerCase()}function WZ(t,e){var n=t.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(t);return n?e?n[e]:n:null}var VZ=FZ(BZ,"transition"),GZ=FZ(zZ,"transform"),UZ="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(_["a"].transform3dSupported?"will-change:transform;":"");function XZ(t){return t="left"===t?"right":"right"===t?"left":"top"===t?"bottom":"top",t}function ZZ(t,e,n){if(!Object(g["isString"])(n)||"inside"===n)return"";var i=t.get("backgroundColor"),r=t.get("borderWidth");e=$c(e);var a,o=XZ(n),s=Math.max(1.5*Math.round(r),6),l="",u=GZ+":";Object(g["indexOf"])(["left","right"],o)>-1?(l+="top:50%",u+="translateY(-50%) rotate("+(a="left"===o?-225:-45)+"deg)"):(l+="left:50%",u+="translateX(-50%) rotate("+(a="top"===o?225:45)+"deg)");var c=a*Math.PI/180,d=s+r,h=d*Math.abs(Math.cos(c))+d*Math.abs(Math.sin(c)),p=Math.round(100*((h-Math.SQRT2*r)/2+Math.SQRT2*r-(h-d)/2))/100;l+=";"+o+":-"+p+"px";var f=e+" solid "+r+"px;",_=["position:absolute;width:"+s+"px;height:"+s+"px;",l+";"+u+";","border-bottom:"+f,"border-right:"+f,"background-color:"+i+";"];return'<div style="'+_.join("")+'"></div>'}function qZ(t,e){var n="cubic-bezier(0.23,1,0.32,1)",i=" "+t/2+"s "+n,r="opacity"+i+",visibility"+i;return e||(i=" "+t+"s "+n,r+=_["a"].transformSupported?","+GZ+i:",left"+i+",top"+i),VZ+":"+r}function KZ(t,e,n){var i=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!_["a"].transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var a=_["a"].transform3dSupported,o="translate"+(a?"3d":"")+"("+i+","+r+(a?",0":"")+")";return n?"top:0;left:0;"+GZ+":"+o+";":[["top",0],["left",0],[zZ,o]]}function JZ(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),Object(g["each"])(["decoration","align"],(function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)})),e.join(";")}function $Z(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"),c=t.getModel("textStyle"),d=Df(t,"html"),h=l+"px "+u+"px "+o+"px "+s;return i.push("box-shadow:"+h),e&&r&&i.push(qZ(r,n)),a&&i.push("background-color:"+a),Object(g["each"])(["width","color","radius"],(function(e){var n="border-"+e,r=Fc(n),a=t.get(r);null!=a&&i.push(n+":"+a+("color"===e?"":"px"))})),i.push(JZ(c)),null!=d&&i.push("padding:"+Wc(d).join("px ")+"px"),i.join(";")+";"}function QZ(t,e,n,i,r){var a=e&&e.painter;if(n){var o=a&&a.getViewportRoot();o&&$(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 tq=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,_["a"].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;QZ(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();ht(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=WZ(e,"position"),i=e.style;"absolute"!==i.position&&"absolute"!==n&&(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=n.style,r=this._styleCoord;n.innerHTML?i.cssText=UZ+$Z(t,!this._firstShow,this._longHide)+KZ(r[0],r[1],!0)+"border-color:"+$c(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var a=this.el;if(null!=t){var o="";if(Object(g["isString"])(r)&&"item"===n.get("trigger")&&!NZ(n)&&(o=ZZ(n,i,r)),Object(g["isString"])(t))a.innerHTML=t+o;else if(t){a.innerHTML="",Object(g["isArray"])(t)||(t=[t]);for(var s=0;s<t.length;s++)Object(g["isDom"])(t[s])&&t[s].parentNode!==a&&a.appendChild(t[s]);if(o&&a.childNodes.length){var l=document.createElement("div");l.innerHTML=o,a.appendChild(l)}}}else a.innerHTML=""},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},t.prototype.moveTo=function(t,e){var n=this._styleCoord;if(QZ(n,this._zr,this._appendToBody,t,e),null!=n[0]&&null!=n[1]){var i=this.el.style,r=KZ(n[0],n[1]);Object(g["each"])(r,(function(t){i[t[0]]=t[1]}))}},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,e=this.el.style;e.visibility="hidden",e.opacity="0",_["a"].transform3dSupported&&(e.willChange=""),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(Object(g["bind"])(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},t}(),eq=tq,nq=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._zr=t.getZr(),aq(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){var a=this;g["isObject"](t)&&$d(""),this.el&&this._zr.remove(this.el);var o=n.getModel("textStyle");this.el=new Fs({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:o.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:Df(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),g["each"](["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(t){a.el.style[t]=n.get(t)})),g["each"](["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(t){a.el.style[t]=o.get(t)||0})),this._zr.add(this.el);var s=this;this.el.on("mouseover",(function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0})),this.el.on("mouseout",(function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1}))},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=rq(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;aq(i,this._zr,t,e),t=i[0],e=i[1];var r=n.style,a=iq(r.borderWidth||0),o=rq(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(g["bind"](this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function iq(t){return Math.max(0,t)}function rq(t){var e=iq(t.shadowBlur||0),n=iq(t.shadowOffsetX||0),i=iq(t.shadowOffsetY||0);return{left:iq(e-n),right:iq(e+n),top:iq(e-i),bottom:iq(e+i)}}function aq(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var oq=nq,sq=new Ss({shape:{x:-1,y:-1,width:2,height:2}}),lq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.init=function(t,e){if(!_["a"].node&&e.getDom()){var n=t.getComponent("tooltip"),i=this._renderMode=ia(n.get("renderMode"));this._tooltipContent="richText"===i?new oq(e):new eq(e.getDom(),e,{appendToBody:n.get("appendToBody",!0)})}},e.prototype.render=function(t,e,n){if(!_["a"].node&&n.getDom()){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(),"richText"!==this._renderMode&&t.get("transitionDuration")?ym(this,"_updatePosition",50,"fixRate"):vm(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel,e=t.get("triggerOn");EV("itemTooltip",this._api,Object(g["bind"])((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,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!_["a"].node&&n.getDom()){var r=cq(i,n);this._ticket="";var a=i.dataByCoordSys,o=_q(i,e,n);if(o){var s=o.el.getBoundingRect().clone();s.applyTransform(o.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:o.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var l=sq;l.x=i.x,l.y=i.y,l.update(),Ws(l).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:l},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 u=GV(i,e),c=u.point[0],d=u.point[1];null!=c&&null!=d&&this._tryShow({offsetX:c,offsetY:d,target:u.el,position:i.position,positionDefault:"bottom"},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(cq(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=uq([l.getItemModel(a),s,(s.coordinateSystem||{}).model],this._tooltipModel);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;if(r&&r.length)this._showAxisTooltip(r,t);else if(n){var a,o;this._lastDataByCoordSys=null,hy(n,(function(t){return null!=Ws(t).dataIndex?(a=t,!0):null!=Ws(t).tooltipConfig?(o=t,!0):void 0}),!0),a?this._showSeriesItemTooltip(t,a,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=Object(g["bind"])(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=uq([e.tooltipOption],i),o=this._renderMode,s=[],l=ff("section",{blocks:[],noHeader:!0}),u=[],c=new Of;Object(g["each"])(t,(function(t){Object(g["each"])(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var a=xV(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),d=ff("section",{header:a,noHeader:!Object(g["trim"])(a),sortBlocks:!0,blocks:[]});l.blocks.push(d),Object(g["each"])(t.seriesDataIndices,(function(l){var h=n.getSeriesByIndex(l.seriesIndex),p=l.dataIndexInside,f=h.getDataParams(p);if(!(f.dataIndex<0)){f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=Iw(e.axis,{value:r}),f.axisValueLabel=a,f.marker=c.makeTooltipMarker("item",$c(f.color),o);var _=wp(h.formatTooltip(p,!0,null)),m=_.frag;if(m){var y=uq([h],i).get("valueFormatter");d.blocks.push(y?Object(g["extend"])({valueFormatter:y},m):m)}_.text&&u.push(_.text),s.push(f)}}))}}))})),l.blocks.reverse(),u.reverse();var d=e.position,h=a.get("order"),p=bf(l,c,o,h,n.get("useUTC"),a.get("textStyle"));p&&u.unshift(p);var f="richText"===o?"\n\n":"<br/>",_=u.join(f);this._showOrMove(a,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(a,d,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(a,_,s,Math.random()+"",r[0],r[1],d,null,c)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=Ws(e),a=r.seriesIndex,o=i.getSeriesByIndex(a),s=r.dataModel||o,l=r.dataIndex,u=r.dataType,c=s.getData(u),d=this._renderMode,h=t.positionDefault,p=uq([c.getItemModel(l),s,o&&(o.coordinateSystem||{}).model],this._tooltipModel,h?{position:h}:null),f=p.get("trigger");if(null==f||"item"===f){var _=s.getDataParams(l,u),m=new Of;_.marker=m.makeTooltipMarker("item",$c(_.color),d);var y=wp(s.formatTooltip(l,!1,u)),v=p.get("order"),b=p.get("valueFormatter"),x=y.frag,M=x?bf(b?Object(g["extend"])({valueFormatter:b},x):x,m,d,v,i.get("useUTC"),p.get("textStyle")):y.text,w="item_"+s.name+"_"+l;this._showOrMove(p,(function(){this._showTooltipContent(p,M,_,w,t.offsetX,t.offsetY,t.position,t.target,m)})),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:a,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i=Ws(e),r=i.tooltipConfig,a=r.option||{};if(Object(g["isString"])(a)){var o=a;a={content:o,formatter:o}}var s=[a],l=this._ecModel.getComponent(i.componentMainType,i.componentIndex);l&&s.push(l),s.push({formatter:a.content});var u=t.positionDefault,c=uq(s,this._tooltipModel,u?{position:u}:null),d=c.get("content"),h=Math.random()+"",p=new Of;this._showOrMove(c,(function(){var n=Object(g["clone"])(c.get("formatterParams")||{});this._showTooltipContent(c,d,n,h,t.offsetX,t.offsetY,t.position,e,p)})),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;u.setEnterable(t.get("enterable"));var c=t.get("formatter");o=o||t.get("position");var d=e,h=this._getNearestPoint([r,a],n,t.get("trigger"),t.get("borderColor")),p=h.color;if(c)if(Object(g["isString"])(c)){var f=t.ecModel.get("useUTC"),_=Object(g["isArray"])(n)?n[0]:n,m=_&&_.axisType&&_.axisType.indexOf("time")>=0;d=c,m&&(d=wc(_.axisValue,d,f)),d=Xc(d,n,!0)}else if(Object(g["isFunction"])(c)){var y=Object(g["bind"])((function(e,i){e===this._ticket&&(u.setContent(i,l,t,p,o),this._updatePosition(t,o,r,a,u,n,s))}),this);this._ticket=i,d=c(n,i,y)}else d=c;u.setContent(d,l,t,p,o),u.show(t,p),this._updatePosition(t,o,r,a,u,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||Object(g["isArray"])(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:Object(g["isArray"])(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(),c=t.get("align"),d=t.get("verticalAlign"),h=o&&o.getBoundingRect().clone();if(o&&h.applyTransform(o.transform),Object(g["isFunction"])(e)&&(e=e([n,i],a,r.el,h,{viewSize:[s,l],contentSize:u.slice()})),Object(g["isArray"])(e))n=Qi(e[0],s),i=Qi(e[1],l);else if(Object(g["isObject"])(e)){var p=e;p.width=u[0],p.height=u[1];var f=od(p,{width:s,height:l});n=f.x,i=f.y,c=null,d=null}else if(Object(g["isString"])(e)&&o){var _=pq(e,h,u,t.get("borderWidth"));n=_[0],i=_[1]}else{_=dq(n,i,r,s,l,c?null:20,d?null:20);n=_[0],i=_[1]}if(c&&(n-=fq(c)?u[0]/2:"right"===c?u[0]:0),d&&(i-=fq(d)?u[1]/2:"bottom"===d?u[1]:0),NZ(t)){_=hq(n,i,r,s,l);n=_[0],i=_[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&Object(g["each"])(n,(function(n,a){var o=n.dataByAxis||[],s=t[a]||{},l=s.dataByAxis||[];r=r&&o.length===l.length,r&&Object(g["each"])(o,(function(t,n){var a=l[n]||{},o=t.seriesDataIndices||[],s=a.seriesDataIndices||[];r=r&&t.value===a.value&&t.axisType===a.axisType&&t.axisId===a.axisId&&o.length===s.length,r&&Object(g["each"])(o,(function(t,e){var n=s[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&Object(g["each"])(t.seriesDataIndices,(function(t){var n=t.seriesIndex,a=e[n],o=i[n];a&&o&&o.data!==a.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!_["a"].node&&e.getDom()&&(vm(this,"_updatePosition"),this._tooltipContent.dispose(),FV("itemTooltip",e))},e.type="tooltip",e}(Uf);function uq(t,e,n){var i,r=e.ecModel;n?(i=new Gu(n,r,r),i=new Gu(e.option,i,r)):i=e;for(var a=t.length-1;a>=0;a--){var o=t[a];o&&(o instanceof Gu&&(o=o.get("tooltip",!0)),Object(g["isString"])(o)&&(o={formatter:o}),o&&(i=new Gu(o,i,r)))}return i}function cq(t,e){return t.dispatchAction||Object(g["bind"])(e.dispatchAction,e)}function dq(t,e,n,i,r,a,o){var s=n.getSize(),l=s[0],u=s[1];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 hq(t,e,n,i,r){var a=n.getSize(),o=a[0],s=a[1];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 pq(t,e,n,i){var r=n[0],a=n[1],o=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,c=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+c/2-a/2;break;case"top":s=e.x+u/2-r/2,l=e.y-a-o;break;case"bottom":s=e.x+u/2-r/2,l=e.y+c+o;break;case"left":s=e.x-r-o,l=e.y+c/2-a/2;break;case"right":s=e.x+u+o,l=e.y+c/2-a/2}return[s,l]}function fq(t){return"center"===t||"middle"===t}function _q(t,e,n){var i=Jr(t).queryOptionMap,r=i.keys()[0];if(r&&"series"!==r){var a=ta(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),o=a.models[0];if(o){var s,l=n.getViewOfComponentModel(o);return l.group.traverse((function(e){var n=Ws(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s?{componentMainType:r,componentIndex:o.componentIndex,el:s}:void 0}}}var gq=lq;function mq(t){fx(rG),t.registerComponentModel(RZ),t.registerComponentView(gq),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},g["noop"]),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},g["noop"])}var yq=["rect","polygon","keep","clear"];function vq(t,e){var n=kr(t?t.brush:[]);if(n.length){var i=[];g["each"](n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))}));var r=t&&t.toolbox;g["isArray"](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),bq(s),e&&!s.length&&s.push.apply(s,yq)}}function bq(t){var e={};g["each"](t,(function(t){e[t]=1})),t.length=0,g["each"](e,(function(e,n){t.push(n)}))}var xq=g["each"];function Mq(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function wq(t,e,n){var i={};return xq(e,(function(e){var a=i[e]=r();xq(t[e],(function(t,i){if(Uj.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),a[i]=new Uj(r),"opacity"===i&&(r=g["clone"](r),r.type="colorAlpha",a.__hidden.__alphaForOpacity=new Uj(r))}}))})),i;function r(){var t=function(){};t.prototype.__hidden=t.prototype;var e=new t;return e}}function Sq(t,e,n){var i;g["each"](n,(function(t){e.hasOwnProperty(t)&&Mq(e[t])&&(i=!0)})),i&&g["each"](n,(function(n){e.hasOwnProperty(n)&&Mq(e[n])?t[n]=g["clone"](e[n]):delete t[n]}))}function Lq(t,e,n,i,r,a){var o,s={};function l(t){return oy(n,o,t)}function u(t,e){ly(n,o,t,e)}function c(t,c){o=null==a?t:c;var d=n.getRawDataItem(o);if(!d||!1!==d.visualMap)for(var h=i.call(r,t),p=e[h],f=s[h],_=0,g=f.length;_<g;_++){var m=f[_];p[m]&&p[m].applyVisual(t,l,u)}}g["each"](t,(function(t){var n=Uj.prepareVisualTypes(e[t]);s[t]=n})),null==a?n.each(c):n.each([a],c)}function kq(t,e,n,i){var r={};return g["each"](t,(function(t){var n=Uj.prepareVisualTypes(e[t]);r[t]=n})),{progress:function(t,a){var o,s;function l(t){return oy(a,s,t)}function u(t,e){ly(a,s,t,e)}null!=i&&(o=a.getDimensionIndex(i));var c=a.getStore();while(null!=(s=t.next())){var d=a.getRawDataItem(s);if(!d||!1!==d.visualMap)for(var h=null!=i?c.get(o,s):s,p=n(h),f=e[p],_=r[p],g=0,m=_.length;g<m;g++){var y=_[g];f[y]&&f[y].applyVisual(h,l,u)}}}}}function Tq(t){var e=t.brushType,n={point:function(i){return Dq[e].point(i,n,t)},rect:function(i){return Dq[e].rect(i,n,t)}};return n}var Dq={lineX:Oq(0),lineY:Oq(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])&&Uw(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!!(Uw(i,r,a)||Uw(i,r+o,a)||Uw(i,r,a+s)||Uw(i,r+o,a+s)||Ft.create(t).contain(l[0],l[1])||$g(r,a,r+o,a,i)||$g(r,a,r,a+s,i)||$g(r+o,a,r+o,a+s,i)||$g(r,a+s,r+o,a+s,i))||void 0}}};function Oq(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var r=i.range,a=e[t];return Aq(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(),Aq(s[0],o)||Aq(s[1],o)||Aq(o[0],s)||Aq(o[1],s)}}}}function Aq(t,e){return e[0]<=t&&t<=e[1]}var Iq=["inBrush","outOfBrush"],Yq="__ecBrushSelect",Cq="__ecInBrushSelectEvent";function jq(t){t.eachComponent({mainType:"brush"},(function(e){var n=e.brushTargetManager=new kZ(e.option,t);n.setInputRanges(e.areas,t)}))}function Pq(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})})),jq(t),t.eachComponent({mainType:"brush"},(function(e,n){var o={brushId:e.id,brushIndex:n,brushName:e.name,areas:g["clone"](e.areas),selected:[]};a.push(o);var s=e.option,l=s.brushLink,u=[],c=[],d=[],h=!1;n||(i=s.throttleType,r=s.throttleDelay);var p=g["map"](e.areas,(function(t){var e=zq[t.brushType],n=g["defaults"]({boundingRect:e?e(t):void 0},t);return n.selectors=Tq(n),n})),f=wq(e.option,Iq,(function(t){t.mappingMethod="fixed"}));function _(t){return"all"===l||!!u[t]}function m(t){return!!t.length}function y(t,e){var n=t.coordinateSystem;h=h||n.hasAxisBrushed(),_(e)&&n.eachActiveState(t.getData(),(function(t,e){"active"===t&&(c[e]=1)}))}function v(n,i,r){if(n.brushSelector&&!Hq(e,i)&&(g["each"](p,(function(i){e.brushTargetManager.controlSeries(i,n,t)&&r.push(i),h=h||m(r)})),_(i)&&m(r))){var a=n.getData();a.each((function(t){Nq(n,r,a,t)&&(c[t]=1)}))}}g["isArray"](l)&&g["each"](l,(function(t){u[t]=1})),t.eachSeries((function(t,e){var n=d[e]=[];"parallel"===t.subType?y(t,e):v(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=d[e],r=t.getData(),a=_(e)?function(t){return c[t]?(n.dataIndex.push(r.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(e){return Nq(t,i,r,e)?(n.dataIndex.push(r.getRawIndex(e)),"inBrush"):"outOfBrush"};(_(e)?h:m(i))&&Lq(Iq,f,r,a)}))})),Eq(e,i,r,a,n)}function Eq(t,e,n,i,r){if(r){var a=t.getZr();if(!a[Cq]){a[Yq]||(a[Yq]=Rq);var o=ym(a,Yq,n,e);o(t,i)}}}function Rq(t,e){if(!t.isDisposed()){var n=t.getZr();n[Cq]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[Cq]=!1}}function Nq(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 Hq(t,e){var n=t.option.seriesIndex;return null!=n&&"all"!==n&&(g["isArray"](n)?g["indexOf"](n,e)<0:e!==n)}var zq={rect:function(t){return Bq(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&&Bq(e)}};function Bq(t){return new Ft(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var Fq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new QN(e.getZr())).on("brush",g["bind"](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){jq(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:g["clone"](n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:g["clone"](n),$from:e})},e.type="brush",e}(Uf),Wq=Fq,Vq="#ddd",Gq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return f(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&Sq(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:Vq},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=g["map"](t,(function(t){return Uq(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=Uq(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}(gd);function Uq(t,e){return g["merge"]({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new Gu(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var Xq=Gq,Zq=["rect","polygon","lineX","lineY","keep","clear"],qq=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(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,g["each"](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 g["each"](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:Zq.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.getLocaleModel().get(["toolbox","brush","title"])};return e},e}(LX),Kq=qq;function Jq(t){t.registerComponentView(Wq),t.registerComponentModel(Xq),t.registerPreprocessor(vq),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,Pq),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"},g["noop"]),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},g["noop"]),TX("brush",Kq)}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 f(e,t),e.type="title",e.defaultOption={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}(gd),Qq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(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=g["retrieve2"](t.get("textBaseline"),t.get("textVerticalAlign")),l=new Fs({style:xu(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),c=t.get("subtext"),d=new Fs({style:xu(a,{text:c,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,d.silent=!p&&!f,h&&l.on("click",(function(){Qc(h,"_"+t.get("target"))})),p&&d.on("click",(function(){Qc(p,"_"+t.get("subtarget"))})),Ws(l).eventData=Ws(d).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),c&&i.add(d);var _=i.getBoundingRect(),m=t.getBoxLayoutParams();m.width=_.width,m.height=_.height;var y=od(m,{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 v={align:o,verticalAlign:s};l.setStyle(v),d.setStyle(v),_=i.getBoundingRect();var b=y.margin,x=t.getItemStyle(["color","opacity"]);x.fill=t.get("backgroundColor");var M=new Ss({shape:{x:_.x-b[3],y:_.y-b[0],width:_.width+b[1]+b[3],height:_.height+b[0]+b[2],r:t.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});i.add(M)}},e.type="title",e}(Uf);function tK(t){t.registerComponentModel($q),t.registerComponentView(Qq)}var eK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return f(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=[],Object(g["each"])(n,(function(e,n){var i,a=zr(Or(e),"");Object(g["isObject"])(e)?(i=Object(g["clone"])(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 Zx([{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={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}(gd),nK=eK,iK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.type="timeline.slider",e.defaultOption=Ku(nK.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}(nK);Object(g["mixin"])(iK,Mp.prototype);var rK=iK,aK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.type="timeline",e}(Uf),oK=aK,sK=function(t){function e(e,n,i,r){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a}return f(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(kS),lK=sK,uK=Math.PI,cK=Zr(),dK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(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 ff("nameValue",{noName:!0,value:e})},Object(g["each"])(["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=pK(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?"+":"-":Object(g["isString"])(i)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[r][i]:i;var o,s,l,u={horizontal:"center",vertical:n>=0||"+"===n?"left":"right"},c={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:uK/2},h="vertical"===r?a.height:a.width,p=t.getModel("controlStyle"),f=p.get("show",!0),_=f?p.get("itemSize"):0,m=f?p.get("itemGap"):0,y=_+m,v=t.get(["label","rotate"])||0;v=v*uK/180;var b=p.get("position",!0),x=f&&p.get("showPlayBtn",!0),M=f&&p.get("showPrevBtn",!0),w=f&&p.get("showNextBtn",!0),S=0,L=h;"left"===b||"bottom"===b?(x&&(o=[0,0],S+=y),M&&(s=[S,0],S+=y),w&&(l=[L-_,0],L-=y)):(x&&(o=[L-_,0],L-=y),M&&(s=[0,0],S+=y),w&&(l=[L-_,0],L-=y));var k=[S,L];return t.get("inverse")&&k.reverse(),{viewRect:a,mainLength:h,orient:r,rotation:d[r],labelRotation:v,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[r],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||c[r],playPosition:o,prevBtnPosition:s,nextBtnPosition:l,axisExtent:k,controlSize:_,controlGap:m}},e.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var a=Mt(),o=r.x,s=r.y+r.height;kt(a,a,[-o,-s]),Tt(a,a,-uK/2),kt(a,a,[o,s]),r=r.clone(),r.applyTransform(a)}var l=m(r),u=m(n.getBoundingRect()),c=m(i.getBoundingRect()),d=[n.x,n.y],h=[i.x,i.y];h[0]=d[0]=l[0][0];var p=t.labelPosOpt;if(null==p||Object(g["isString"])(p)){var f="+"===p?0:1;y(d,u,l,1,f),y(h,c,l,1,1-f)}else{f=p>=0?0:1;y(d,u,l,1,f),h[1]=d[1]+p}function _(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function m(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(d),i.setPosition(h),n.rotation=i.rotation=t.rotation,_(n),_(i)},e.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=hK(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.calcNiceTicks();var o=new lK("value",r,t.axisExtent,i);return o.model=e,o},e.prototype._createGroup=function(t){var e=this[t]=new Ri;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 eg({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:Object(g["extend"])({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(a);var o=this._progressLine=new eg({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:Object(g["defaults"])({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=[],Object(g["each"])(o,(function(t){var o=n.dataToCoord(t.value),s=a.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),c=s.getModel(["progress","itemStyle"]),d={x:o,y:0,onclick:Object(g["bind"])(r._changeTimeline,r,t.value)},h=_K(s,l,e,d);h.ensureState("emphasis").style=u.getItemStyle(),h.ensureState("progress").style=c.getItemStyle(),Gl(h);var p=Ws(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=[],Object(g["each"])(s,(function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),c=s.getModel(["progress","label"]),d=n.dataToCoord(i.tickValue),h=new Fs({x:d,y:0,rotation:t.labelRotation-t.rotation,onclick:Object(g["bind"])(r._changeTimeline,r,a),silent:!1,style:xu(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});h.ensureState("emphasis").style=xu(u),h.ensureState("progress").style=xu(c),e.add(h),Gl(h),cK(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 c(t,n,l,u){if(t){var c=bi(Object(g["retrieve2"])(i.get(["controlStyle",n+"BtnSize"]),r),r),d=[0,-c/2,c,c],h=fK(i,n+"Icon",d,{x:t[0],y:t[1],originX:r/2,originY:0,rotation:u?-a:0,rectHover:!0,style:o,onclick:l});h.ensureState("emphasis").style=s,e.add(h),Gl(h)}}c(t.nextBtnPosition,"next",Object(g["bind"])(this._changeTimeline,this,u?"-":"+")),c(t.prevBtnPosition,"prev",Object(g["bind"])(this._changeTimeline,this,u?"+":"-")),c(t.playPosition,l?"stop":"play",Object(g["bind"])(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=Object(g["bind"])(s._handlePointerDrag,s),t.ondragend=Object(g["bind"])(s._handlePointerDragend,s),gK(t,s._progressLine,a,n,i,!0)},onUpdate:function(t){gK(t,s._progressLine,a,n,i)}};this._currentPointer=_K(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=er(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 Vg(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",cK(n[i]).dataIndex<=t)},e.type="timeline.slider",e}(oK);function hK(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new AM({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new lw({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new CM}}function pK(t,e){return od(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}function fK(t,e,n,i){var r=i.style,a=Jg(t.get(["controlStyle",e]),i||{},new Ft(n[0],n[1],n[2],n[3]));return r&&a.setStyle(r),a}function _K(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=ky(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=Object(g["merge"])({rectHover:!0,z2:100},i,!0);var u=Ty(t.get("symbolSize"));i.scaleX=u[0]/2,i.scaleY=u[1]/2;var c=Dy(t.get("symbolOffset"),u);c&&(i.x=(i.x||0)+c[0],i.y=(i.y||0)+c[1]);var d=t.get("symbolRotate");return i.rotation=(d||0)*Math.PI/180||0,r.attr(i),r.updateTransform(),r}function gK(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 mK=dK;function yK(t){t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,e,n){var i=e.getComponent("timeline");return i&&null!=t.currentIndex&&(i.setCurrentIndex(t.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.getPlayState()&&(i.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),e.resetOption("timeline",{replaceMerge:i.get("replaceMerge",!0)}),Object(g["defaults"])({currentIndex:i.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 vK(t){var e=t&&t.timeline;g["isArray"](e)||(e=e?[e]:[]),g["each"](e,(function(t){t&&bK(t)}))}function bK(t){var e=t.type,n={number:"value",time:"time"};if(n[e]&&(t.axisType=n[e],delete t.type),xK(t),MK(t,"controlPosition")){var i=t.controlStyle||(t.controlStyle={});MK(i,"position")||(i.position=t.controlPosition),"none"!==i.position||MK(i,"show")||(i.show=!1,delete i.position),delete t.controlPosition}g["each"](t.data||[],(function(t){g["isObject"](t)&&!g["isArray"](t)&&(!MK(t,"value")&&MK(t,"name")&&(t.value=t.name),xK(t))}))}function xK(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};g["each"](i,(function(t,e){a[e]||MK(r,e)||(r[e]=t)})),n.label&&!MK(i,"emphasis")&&(i.emphasis=n.label,delete n.label)}function MK(t,e){return t.hasOwnProperty(e)}function wK(t){t.registerComponentModel(rK),t.registerComponentView(mK),t.registerSubTypeDefaulter("timeline",(function(){return"slider"})),yK(t),t.registerPreprocessor(vK)}function SK(t,e){if(!t)return!1;for(var n=Object(g["isArray"])(t)?t:[t],i=0;i<n.length;i++)if(n[i]&&n[i][e])return!0;return!1}function LK(t){Tr(t,"label",["show"])}var kK=Zr(),TK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.createdBySelf=!1,n}return f(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},e.prototype.isAnimationEnabled=function(){if(_["a"].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=kK(t)[r];n&&n.data?(a?a._mergeOption(n,e,!0):(i&&LK(n),g["each"](n.data,(function(t){t instanceof Array?(LK(t[0]),LK(t[1])):LK(t)})),a=this.createMarkerModelFromSeries(n,this,e),g["extend"](a,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),a.__hostSeries=t),kK(t)[r]=a):kK(t)[r]=null}),this)},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t),a=i.getName(t);return ff("section",{header:this.name,blocks:[ff("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 kK(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(gd);g["mixin"](TK,Mp.prototype);var DK=TK,OK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markPoint",e.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(DK),AK=OK;function IK(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function YK(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}function CK(t,e,n,i,r,a){var o=[],s=oM(e,i),l=s?e.getCalculationInfo("stackResultDimension"):i,u=BK(e,l,t),c=e.indicesOfNearest(l,u)[0];o[r]=e.get(n,c),o[a]=e.get(l,c);var d=e.get(i,c),h=nr(e.get(i,c));return h=Math.min(h,20),h>=0&&(o[a]=+o[a].toFixed(h)),[o,d]}var jK={min:Object(g["curry"])(CK,"min"),max:Object(g["curry"])(CK,"max"),average:Object(g["curry"])(CK,"average"),median:Object(g["curry"])(CK,"median")};function PK(t,e){var n=t.getData(),i=t.coordinateSystem;if(e&&!YK(e)&&!Object(g["isArray"])(e.coord)&&i){var r=i.dimensions,a=EK(e,n,i,t);if(e=Object(g["clone"])(e),e.type&&jK[e.type]&&a.baseAxis&&a.valueAxis){var o=Object(g["indexOf"])(r,a.baseAxis.dim),s=Object(g["indexOf"])(r,a.valueAxis.dim),l=jK[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],c=0;c<2;c++)jK[u[c]]&&(u[c]=BK(n,n.mapDimension(r[c]),u[c]));e.coord=u}}return e}function EK(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(RK(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 RK(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}function NK(t,e){return!(t&&t.containData&&e.coord&&!IK(e))||t.containData(e.coord)}function HK(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!IK(e)&&!IK(n))||t.containZone(e.coord,n.coord)}function zK(t,e){return t?function(t,n,i,r){var a=r<2?t.coord&&t.coord[r]:t.value;return Tp(a,e[r])}:function(t,n,i,r){return Tp(t.value,e[r])}}function BK(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 FK=Zr(),WK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.init=function(){this.markerGroupMap=Object(g["createHashMap"])()},e.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each((function(t){FK(t).keep=!1})),e.eachSeries((function(t){var r=DK.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)})),r.each((function(t){!FK(t).keep&&i.group.remove(t.group)}))},e.prototype.markKeep=function(t){FK(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;Object(g["each"])(t,(function(t){var i=DK.getMarkerModelFromSeries(t,n.type);if(i){var r=i.getData();r.eachItemGraphicEl((function(t){t&&(e?Al(t):Il(t))}))}}))},e.type="marker",e}(Uf),VK=WK;function GK(t,e,n){var i=e.coordinateSystem;t.each((function(r){var a,o=t.getItemModel(r),s=Qi(o.get("x"),n.getWidth()),l=Qi(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),c=t.get(i.dimensions[1],r);a=i.dataToPoint([u,c])}}else a=[s,l];isNaN(s)||(a[0]=s),isNaN(l)||(a[1]=l),t.setItemLayout(r,a)}))}var UK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=DK.getMarkerModelFromSeries(t,"markPoint");e&&(GK(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 fT),u=XK(r,t,e);e.setData(u),GK(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"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(Object(g["isFunction"])(i)||Object(g["isFunction"])(r)||Object(g["isFunction"])(a)||Object(g["isFunction"])(s)){var c=e.getRawValue(t),d=e.getDataParams(t);Object(g["isFunction"])(i)&&(i=i(c,d)),Object(g["isFunction"])(r)&&(r=r(c,d)),Object(g["isFunction"])(a)&&(a=a(c,d)),Object(g["isFunction"])(s)&&(s=s(c,d))}var h=n.getModel("itemStyle").getItemStyle(),p=sy(o,"color");h.fill||(h.fill=p),u.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:a,symbolOffset:s,symbolKeepAspect:l,style:h})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){Ws(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(VK);function XK(t,e,n){var i;i=t?Object(g["map"])(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return Object(g["extend"])(Object(g["extend"])({},n),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new Zx(i,n),a=Object(g["map"])(n.get("data"),Object(g["curry"])(PK,e));t&&(a=Object(g["filter"])(a,Object(g["curry"])(NK,t)));var o=zK(!!t,i);return r.initData(a,null,o),r}var ZK=UK;function qK(t){t.registerComponentModel(AK),t.registerComponentView(ZK),t.registerPreprocessor((function(t){SK(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})}))}var KK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,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}(DK),JK=KK,$K=Zr(),QK=function(t,e,n,i){var r,a=t.getData();if(Object(g["isArray"])(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=Object(g["retrieve"])(i.yAxis,i.xAxis);else{var u=EK(i,a,e,t);s=u.valueAxis;var c=sM(a,u.valueDataDim);l=BK(a,c,o)}var d="x"===s.dim?0:1,h=1-d,p=Object(g["clone"])(i),f={coord:[]};p.type=null,p.coord=[],p.coord[h]=-1/0,f.coord[h]=1/0;var _=n.get("precision");_>=0&&Object(g["isNumber"])(l)&&(l=+l.toFixed(Math.min(_,20))),p.coord[d]=f.coord[d]=l,r=[p,f,{type:o,valueIndex:i.valueIndex,value:l}]}else r=[]}var m=[PK(t,r[0]),PK(t,r[1]),Object(g["extend"])({},r[2])];return m[2].type=m[2].type||null,Object(g["merge"])(m[2],m[0]),Object(g["merge"])(m[2],m[1]),m};function tJ(t){return!isNaN(t)&&!isFinite(t)}function eJ(t,e,n,i){var r=1-t,a=i.dimensions[t];return tJ(e[r])&&tJ(n[r])&&e[t]===n[t]&&i.getAxis(a).containData(e[t])}function nJ(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(eJ(1,n,i,t)||eJ(0,n,i,t)))return!0}return NK(t,e[0])&&NK(t,e[1])}function iJ(t,e,n,i,r){var a,o=i.coordinateSystem,s=t.getItemModel(e),l=Qi(s.get("x"),r.getWidth()),u=Qi(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)a=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var c=o.dimensions,d=t.get(c[0],e),h=t.get(c[1],e);a=o.dataToPoint([d,h])}if(IT(o,"cartesian2d")){var p=o.getAxis("x"),f=o.getAxis("y");c=o.dimensions;tJ(t.get(c[0],e))?a[0]=p.toGlobalCoord(p.getExtent()[n?0:1]):tJ(t.get(c[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 rJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=DK.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=$K(e).from,a=$K(e).to;r.each((function(e){iJ(r,e,!0,t,n),iJ(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 bE);this.group.add(l.group);var u=aJ(r,t,e),c=u.from,d=u.to,h=u.line;$K(e).from=c,$K(e).to=d,e.setData(h);var p=e.get("symbol"),f=e.get("symbolSize"),_=e.get("symbolRotate"),m=e.get("symbolOffset");function y(e,n,r){var a=e.getItemModel(n);iJ(e,n,r,t,i);var s=a.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=sy(o,"color")),e.setItemVisual(n,{symbolKeepAspect:a.get("symbolKeepAspect"),symbolOffset:Object(g["retrieve2"])(a.get("symbolOffset",!0),m[r?0:1]),symbolRotate:Object(g["retrieve2"])(a.get("symbolRotate",!0),_[r?0:1]),symbolSize:Object(g["retrieve2"])(a.get("symbolSize"),f[r?0:1]),symbol:Object(g["retrieve2"])(a.get("symbol",!0),p[r?0:1]),style:s})}Object(g["isArray"])(p)||(p=[p,p]),Object(g["isArray"])(f)||(f=[f,f]),Object(g["isArray"])(_)||(_=[_,_]),Object(g["isArray"])(m)||(m=[m,m]),u.from.each((function(t){y(c,t,!0),y(d,t,!1)})),h.each((function(t){var e=h.getItemModel(t).getModel("lineStyle").getLineStyle();h.setItemLayout(t,[c.getItemLayout(t),d.getItemLayout(t)]),null==e.stroke&&(e.stroke=c.getItemVisual(t,"style").fill),h.setItemVisual(t,{fromSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:c.getItemVisual(t,"symbolOffset"),fromSymbolRotate:c.getItemVisual(t,"symbolRotate"),fromSymbolSize:c.getItemVisual(t,"symbolSize"),fromSymbol:c.getItemVisual(t,"symbol"),toSymbolKeepAspect:d.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:d.getItemVisual(t,"symbolOffset"),toSymbolRotate:d.getItemVisual(t,"symbolRotate"),toSymbolSize:d.getItemVisual(t,"symbolSize"),toSymbol:d.getItemVisual(t,"symbol"),style:e})})),l.updateData(h),u.line.eachItemGraphicEl((function(t){Ws(t).dataModel=e,t.traverse((function(t){Ws(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(VK);function aJ(t,e,n){var i;i=t?Object(g["map"])(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return Object(g["extend"])(Object(g["extend"])({},n),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new Zx(i,n),a=new Zx(i,n),o=new Zx([],n),s=Object(g["map"])(n.get("data"),Object(g["curry"])(QK,e,t,n));t&&(s=Object(g["filter"])(s,Object(g["curry"])(nJ,t)));var l=zK(!!t,i);return r.initData(Object(g["map"])(s,(function(t){return t[0]})),null,l),a.initData(Object(g["map"])(s,(function(t){return t[1]})),null,l),o.initData(Object(g["map"])(s,(function(t){return t[2]}))),o.hasItemOption=!0,{from:r,to:a,line:o}}var oJ=rJ;function sJ(t){t.registerComponentModel(JK),t.registerComponentView(oJ),t.registerPreprocessor((function(t){SK(t.series,"markLine")&&(t.markLine=t.markLine||{})}))}var lJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(DK),uJ=lJ,cJ=Zr(),dJ=function(t,e,n,i){var r=PK(t,i[0]),a=PK(t,i[1]),o=r.coord,s=a.coord;o[0]=Object(g["retrieve"])(o[0],-1/0),o[1]=Object(g["retrieve"])(o[1],-1/0),s[0]=Object(g["retrieve"])(s[0],1/0),s[1]=Object(g["retrieve"])(s[1],1/0);var l=Object(g["mergeAll"])([{},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 hJ(t){return!isNaN(t)&&!isFinite(t)}function pJ(t,e,n,i){var r=1-t;return hJ(e[r])&&hJ(n[r])}function fJ(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},a={coord:i,x:e.x1,y:e.y1};return IT(t,"cartesian2d")?!(!n||!i||!pJ(1,n,i,t)&&!pJ(0,n,i,t))||HK(t,r,a):NK(t,r)||NK(t,a)}function _J(t,e,n,i,r){var a,o=i.coordinateSystem,s=t.getItemModel(e),l=Qi(s.get(n[0]),r.getWidth()),u=Qi(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)a=i.getMarkerPosition(t.getValues(n,e));else{var c=t.get(n[0],e),d=t.get(n[1],e),h=[c,d];o.clampData&&o.clampData(h,h),a=o.dataToPoint(h,!0)}if(IT(o,"cartesian2d")){var p=o.getAxis("x"),f=o.getAxis("y");c=t.get(n[0],e),d=t.get(n[1],e);hJ(c)?a[0]=p.toGlobalCoord(p.getExtent()["x0"===n[0]?0:1]):hJ(d)&&(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 gJ=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],mJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=DK.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each((function(e){var r=Object(g["map"])(gJ,(function(r){return _J(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 Ri});this.group.add(l.group),this.markKeep(l);var u=yJ(r,t,e);e.setData(u),u.each((function(e){var n=Object(g["map"])(gJ,(function(n){return _J(u,e,n,t,i)})),a=r.getAxis("x").scale,s=r.getAxis("y").scale,l=a.getExtent(),c=s.getExtent(),d=[a.parse(u.get("x0",e)),a.parse(u.get("x1",e))],h=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];er(d),er(h);var p=!(l[0]>d[1]||l[1]<d[0]||c[0]>h[1]||c[1]<h[0]),f=!p;u.setItemLayout(e,{points:n,allClipped:f});var _=u.getItemModel(e).getModel("itemStyle").getItemStyle(),m=sy(o,"color");_.fill||(_.fill=m,Object(g["isString"])(_.fill)&&(_.fill=$e["modifyAlpha"](_.fill,.4))),_.stroke||(_.stroke=m),u.setItemVisual(e,"style",_)})),u.diff(cJ(l).data).add((function(t){var e=u.getItemLayout(t);if(!e.allClipped){var n=new Z_({shape:{points:e.points}});u.setItemGraphicEl(t,n),l.group.add(n)}})).update((function(t,n){var i=cJ(l).data.getItemGraphicEl(n),r=u.getItemLayout(t);r.allClipped?i&&l.group.remove(i):(i?lu(i,{shape:{points:r.points}},e,t):i=new Z_({shape:{points:r.points}}),u.setItemGraphicEl(t,i),l.group.add(i))})).remove((function(t){var e=cJ(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")),vu(t,bu(i),{labelFetcher:e,labelDataIndex:n,defaultText:u.getName(n)||"",inheritColor:Object(g["isString"])(r.fill)?$e["modifyAlpha"](r.fill,1):"#000"}),Jl(t,i),Xl(t,null,null,i.get(["emphasis","disabled"])),Ws(t).dataModel=e})),cJ(l).data=u,l.group.silent=e.get("silent")||t.get("silent")},e.type="markArea",e}(VK);function yJ(t,e,n){var i,r,a=["x0","y0","x1","y1"];if(t){var o=Object(g["map"])(t&&t.dimensions,(function(t){var n=e.getData(),i=n.getDimensionInfo(n.mapDimension(t))||{};return Object(g["extend"])(Object(g["extend"])({},i),{name:t,ordinalMeta:null})}));r=Object(g["map"])(a,(function(t,e){return{name:t,type:o[e%2].type}})),i=new Zx(r,n)}else r=[{name:"value",type:"float"}],i=new Zx(r,n);var s=Object(g["map"])(n.get("data"),Object(g["curry"])(dJ,e,t,n));t&&(s=Object(g["filter"])(s,Object(g["curry"])(fJ,t)));var l=t?function(t,e,n,i){var a=t.coord[Math.floor(i/2)][i%2];return Tp(a,r[i])}:function(t,e,n,i){return Tp(t.value,r[i])};return i.initData(s,null,l),i.hasItemOption=!0,i}var vJ=mJ;function bJ(t){t.registerComponentModel(uJ),t.registerComponentView(vJ),t.registerPreprocessor((function(t){SK(t.series,"markArea")&&(t.markArea=t.markArea||{})}))}var xJ=function(t,e){return"all"===e?{type:"all",title:t.getLocaleModel().get(["legend","selector","all"])}:"inverse"===e?{type:"inverse",title:t.getLocaleModel().get(["legend","selector","inverse"])}:void 0},MJ=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 f(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"]),g["isArray"](e)&&g["each"](e,(function(t,i){g["isString"](t)&&(t={type:t}),e[i]=g["merge"](t,xJ(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&&Br(i)&&e.push(i.name)})),this._availableNames=n;var i=this.get("data")||e,r=g["map"](i,(function(t){return(g["isString"](t)||g["isNumber"](t))&&(t={name:t}),new Gu(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;g["each"](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;g["each"](t,(function(t){e[t.get("name",!0)]=!0}))},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;g["each"](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])&&g["indexOf"](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={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,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},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}(gd),wJ=MJ,SJ=g["curry"],LJ=g["each"],kJ=Ri,TJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return f(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new kJ),this.group.add(this._selectorGroup=new kJ),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()},c=t.get("padding"),d=od(l,u,c),h=this.layoutInner(t,r,d,i,o,s),p=od(g["defaults"]({width:h.width,height:h.height},l),u,c);this.group.x=p.x-h.x,this.group.y=p.y-h.y,this.group.markRedraw(),this.group.add(this._backgroundEl=YX(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=g["createHashMap"](),u=e.get("selectedMode"),c=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&c.push(t.id)})),LJ(e.getData(),(function(r,a){var o=r.get("name");if(!this.newlineDisabled&&(""===o||"\n"===o)){var d=new kJ;return d.newline=!0,void s.add(d)}var h=n.getSeriesByName(o)[0];if(!l.get(o)){if(h){var p=h.getData(),f=p.getVisual("legendLineStyle")||{},_=p.getVisual("legendIcon"),m=p.getVisual("style"),y=this._createItem(h,o,a,r,e,t,f,m,_,u,i);y.on("click",SJ(AJ,o,null,i,c)).on("mouseover",SJ(YJ,h.name,null,i,c)).on("mouseout",SJ(CJ,h.name,null,i,c)),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 d=s.indexOfName(o),h=s.getItemVisual(d,"style"),p=s.getItemVisual(d,"legendIcon"),f=Object($e["parse"])(h.fill);f&&0===f[3]&&(f[3]=.2,h=g["extend"](g["extend"]({},h),{fill:Object($e["stringify"])(f,"rgba")}));var _=this._createItem(n,o,a,r,e,t,{},h,p,u,i);_.on("click",SJ(AJ,null,o,i,c)).on("mouseover",SJ(YJ,null,o,i,c)).on("mouseout",SJ(CJ,null,o,i,c)),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();LJ(t,(function(t){var i=t.type,r=new Fs({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"]);vu(r,{normal:o,emphasis:s},{defaultText:t.title}),Gl(r)}))},e.prototype._createItem=function(t,e,n,i,r,a,o,s,l,u,c){var d=t.visualDrawType,h=r.get("itemWidth"),p=r.get("itemHeight"),f=r.isSelected(e),_=i.get("symbolRotate"),m=i.get("symbolKeepAspect"),y=i.get("icon");l=y||l||"roundRect";var v=DJ(l,i,o,s,d,f,c),b=new kJ,x=i.getModel("textStyle");if(!g["isFunction"](t.getLegendIcon)||y&&"inherit"!==y){var M="inherit"===y&&t.getData().getVisual("symbol")?"inherit"===_?t.getData().getVisual("symbolRotate"):_:0;b.add(OJ({itemWidth:h,itemHeight:p,icon:l,iconRotate:M,itemStyle:v.itemStyle,lineStyle:v.lineStyle,symbolKeepAspect:m}))}else b.add(t.getLegendIcon({itemWidth:h,itemHeight:p,icon:l,iconRotate:_,itemStyle:v.itemStyle,lineStyle:v.lineStyle,symbolKeepAspect:m}));var w="left"===a?h+5:-5,S=a,L=r.get("formatter"),k=e;g["isString"](L)&&L?k=L.replace("{name}",null!=e?e:""):g["isFunction"](L)&&(k=L(e));var T=i.get("inactiveColor");b.add(new Fs({style:xu(x,{text:k,x:w,y:p/2,fill:f?x.getTextColor():T,align:S,verticalAlign:"middle"})}));var D=new Ss({shape:b.getBoundingRect(),invisible:!0}),O=i.getModel("tooltip");return O.get("show")&&nm({el:D,componentModel:r,itemName:e,itemTooltipOption:O.option}),b.add(D),b.eachChild((function(t){t.silent=!0})),D.silent=!u,this.getContentGroup().add(b),Gl(b),b.__legendDataIndex=n,b},e.prototype.layoutInner=function(t,e,n,i,r,a){var o=this.getContentGroup(),s=this.getSelectorGroup();rd(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){rd("horizontal",s,t.get("selectorItemGap",!0));var c=s.getBoundingRect(),d=[-c.x,-c.y],h=t.get("selectorButtonGap",!0),p=t.getOrient().index,f=0===p?"width":"height",_=0===p?"height":"width",g=0===p?"y":"x";"end"===a?d[p]+=l[f]+h:u[p]+=c[f]+h,d[1-p]+=l[_]/2-c[_]/2,s.x=d[0],s.y=d[1],o.x=u[0],o.y=u[1];var m={x:0,y:0};return m[f]=l[f]+h+c[f],m[_]=Math.max(l[_],c[_]),m[g]=Math.min(0,c[g]+d[1-p]),m}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}(Uf);function DJ(t,e,n,i,r,a,o){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),LJ(t,(function(n,i){"inherit"===t[i]&&(t[i]=e[i])}))}var l=e.getModel("itemStyle"),u=l.getItemStyle(),c=0===t.lastIndexOf("empty",0)?"fill":"stroke",d=l.getShallow("decal");u.decal=d&&"inherit"!==d?_v(d,o):i.decal,"inherit"===u.fill&&(u.fill=i[r]),"inherit"===u.stroke&&(u.stroke=i[c]),"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity),s(u,i);var h=e.getModel("lineStyle"),p=h.getLineStyle();if(s(p,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===p.stroke&&(p.stroke=i.fill),!a){var f=e.get("inactiveBorderWidth"),_=u[c];u.lineWidth="auto"===f?i.lineWidth>0&&_?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),p.stroke=h.get("inactiveColor"),p.lineWidth=h.get("inactiveWidth")}return{itemStyle:u,lineStyle:p}}function OJ(t){var e=t.icon||"roundRect",n=ky(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function AJ(t,e,n,i){CJ(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),YJ(t,e,n,i)}function IJ(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 YJ(t,e,n,i){IJ(n)||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function CJ(t,e,n,i){IJ(n)||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}var jJ=TJ;function PJ(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 EJ(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();Object(g["each"])(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 RJ(t){t.registerAction("legendToggleSelect","legendselectchanged",Object(g["curry"])(EJ,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",Object(g["curry"])(EJ,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",Object(g["curry"])(EJ,"inverseSelect")),t.registerAction("legendSelect","legendselected",Object(g["curry"])(EJ,"select")),t.registerAction("legendUnSelect","legendunselected",Object(g["curry"])(EJ,"unSelect"))}function NJ(t){t.registerComponentModel(wJ),t.registerComponentView(jJ),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,PJ),t.registerSubTypeDefaulter("legend",(function(){return"plain"})),RJ(t)}var HJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,i){var r=dd(e);t.prototype.init.call(this,e,n,i),zJ(this,e,r)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),zJ(this,this.option,e)},e.type="legend.scroll",e.defaultOption=Ku(wJ.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}(wJ);function zJ(t,e,n){var i=t.getOrient(),r=[1,1];r[i.index]=0,cd(e,n,{type:"box",ignoreSize:!!r})}var BJ=HJ,FJ=Ri,WJ=["width","height"],VJ=["x","y"],GJ=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 f(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new FJ),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new FJ)},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,c=n.get("pageIconSize",!0),d=g["isArray"](c)?c:[c,c];p("pagePrev",0);var h=n.getModel("pageTextStyle");function p(t,e){var i=t+"DataIndex",a=Jg(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:g["bind"](l._pageGo,l,i,n,r)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});a.name=t,u.add(a)}u.add(new Fs({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=WJ[s],u=VJ[s],c=WJ[1-s],d=VJ[1-s];r&&rd("horizontal",o,t.get("selectorItemGap",!0));var h=t.get("selectorButtonGap",!0),p=o.getBoundingRect(),f=[-p.x,-p.y],_=g["clone"](n);r&&(_[l]=n[l]-p[l]-h);var m=this._layoutContentAndController(t,i,_,s,l,c,d,u);if(r){if("end"===a)f[s]+=m[l]+h;else{var y=p[l]+h;f[s]-=y,m[u]-=y}m[l]+=p[l]+h,f[1-s]+=m[d]+m[c]/2-p[c]/2,m[c]=Math.max(m[c],p[c]),m[d]=Math.min(m[d],p[d]+f[1-s]),o.x=f[0],o.y=f[1],o.markRedraw()}return m},e.prototype._layoutContentAndController=function(t,e,n,i,r,a,o,s){var l=this.getContentGroup(),u=this._containerGroup,c=this._controllerGroup;rd(t.get("orient"),l,t.get("itemGap"),i?n.width:null,i?null:n.height),rd("horizontal",c,t.get("pageButtonItemGap",!0));var d=l.getBoundingRect(),h=c.getBoundingRect(),p=this._showController=d[r]>n[r],f=[-d.x,-d.y];e||(f[i]=l[s]);var _=[0,0],m=[-h.x,-h.y],y=g["retrieve2"](t.get("pageButtonGap",!0),t.get("itemGap",!0));if(p){var v=t.get("pageButtonPosition",!0);"end"===v?m[i]+=n[r]-h[r]:_[i]+=h[r]+y}m[1-i]+=d[a]/2-h[a]/2,l.setPosition(f),u.setPosition(_),c.setPosition(m);var b={x:0,y:0};if(b[r]=p?n[r]:d[r],b[a]=Math.max(d[a],h[a]),b[o]=Math.min(0,h[o]+m[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]=b[a],u.setClipPath(new Ss({shape:x})),u.__rectSize=x[r]}else c.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var M=this._getPageInfo(t);return null!=M.pageIndex&&lu(l,{x:M.contentPosition[0],y:M.contentPosition[1]},p?t:null),this._updatePageInfoView(t,M),b},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;g["each"](["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",g["isString"](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=WJ[r],o=VJ[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],c=l.length,d=c?1:0,h={contentPosition:[n.x,n.y],pageCount:d,pageIndex:d-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return h;var p=y(u);h.contentPosition[r]=-p.s;for(var f=s+1,_=p,g=p,m=null;f<=c;++f)m=y(l[f]),(!m&&g.e>_.s+i||m&&!v(m,_.s))&&(_=g.i>_.i?g:m,_&&(null==h.pageNextDataIndex&&(h.pageNextDataIndex=_.i),++h.pageCount)),g=m;for(f=s-1,_=p,g=p,m=null;f>=-1;--f)m=y(l[f]),m&&v(g,m.s)||!(_.i<g.i)||(g=_,null==h.pagePrevDataIndex&&(h.pagePrevDataIndex=_.i),++h.pageCount,++h.pageIndex),_=m;return h;function y(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}(jJ),UJ=GJ;function XJ(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 ZJ(t){fx(NJ),t.registerComponentModel(BJ),t.registerComponentView(UJ),XJ(t)}function qJ(t){fx(NJ),fx(ZJ)}var KJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.type="dataZoom.inside",e.defaultOption=Ku(sX.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(sX),JJ=KJ,$J=Zr();function QJ(t,e,n){$J(t).coordSysRecordMap.each((function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)}))}function t$(t,e){for(var n=$J(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||e$(n,o))}}}function e$(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function n$(t,e){var n={model:e,containsPoint:Object(g["curry"])(r$,e),dispatchAction:Object(g["curry"])(i$,t),dataZoomInfoMap:null,controller:null},i=n.controller=new cI(t.getZr());return Object(g["each"])(["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 i$(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function r$(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}function a$(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 o$(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=$J(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=Object(g["createHashMap"])());i.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){var n=iX(t);Object(g["each"])(n.infoList,(function(n){var r=n.model.uid,a=i.get(r)||i.set(r,n$(e,n.model)),o=a.dataZoomInfoMap||(a.dataZoomInfoMap=Object(g["createHashMap"])());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=a$(r);n.enable(o.controlType,o.opt),n.setPointerChecker(t.containsPoint),ym(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else e$(i,t)}))}))}var s$=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return f(e,t),e.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),QJ(i,e,{pan:Object(g["bind"])(l$.pan,this),zoom:Object(g["bind"])(l$.zoom,this),scrollMove:Object(g["bind"])(l$.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){t$(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(dX),l$={zoom:function(t,e,n,i){var r=this.range,a=r.slice(),o=t.axisModels[0];if(o){var s=c$[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 c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return NR(0,a,[0,100],0,c.minSpan,c.maxSpan),this.range=a,r[0]!==a[0]||r[1]!==a[1]?a:void 0}},pan:u$((function(t,e,n,i,r,a){var o=c$[i]([a.oldX,a.oldY],[a.newX,a.newY],e,r,n);return o.signal*(t[1]-t[0])*o.pixel/o.pixelLength})),scrollMove:u$((function(t,e,n,i,r,a){var o=c$[i]([0,0],[a.scrollDelta,a.scrollDelta],e,r,n);return o.signal*(t[1]-t[0])*a.scrollDelta}))};function u$(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 NR(l,o,[0,100],"all"),this.range=o,a[0]!==o[0]||a[1]!==o[1]?o:void 0}}}var c$={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}},d$=s$;function h$(t){wX(t),t.registerComponentModel(JJ),t.registerComponentView(d$),o$(t)}var p$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=Ku(sX.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}(sX),f$=p$,_$=Ss,g$=7,m$=1,y$=30,v$=7,b$="horizontal",x$="vertical",M$=5,w$=["line","bar","candlestick","scatter"],S$={easing:"cubicOut",duration:100,delay:0},L$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return f(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=Object(g["bind"])(this._onBrush,this),this._onBrushEnd=Object(g["bind"])(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),ym(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(){vm(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 Ri;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?v$:0,r=this._findCoordRect(),a={width:e.getWidth(),height:e.getHeight()},o=this._orient===b$?{right:a.width-r.x-r.width,top:a.height-y$-g$-i,width:r.width,height:y$}:{right:g$,top:r.y,width:y$,height:r.height},s=dd(t.option);Object(g["each"])(["right","top","width","height"],(function(t){"ph"===s[t]&&(s[t]=o[t])}));var l=od(s,a);this._location={x:l.x,y:l.y},this._size=[l.width,l.height],this._orient===x$&&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!==b$||r?n===b$&&r?{scaleY:o?1:-1,scaleX:-1}:n!==x$||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 _$({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new _$({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:Object(g["bind"])(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=this._shadowSize||[],i=t.series,r=i.getRawData(),a=i.getShadowDim&&i.getShadowDim(),o=a&&r.getDimensionInfo(a)?i.getShadowDim():t.otherDim;if(null!=o){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||o!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u=r.getDataExtent(o),c=.3*(u[1]-u[0]);u=[u[0]-c,u[1]+c];var d,h=[0,e[1]],p=[0,e[0]],f=[[e[0],0],[0,0]],_=[],g=p[1]/(r.count()-1),m=0,y=Math.round(r.count()/e[0]);r.each([o],(function(t,e){if(y>0&&e%y)m+=g;else{var n=null==t||isNaN(t)||""===t,i=n?0:$i(t,u,h,!0);n&&!d&&e?(f.push([f[f.length-1][0],0]),_.push([_[_.length-1][0],0])):!n&&d&&(f.push([m,0]),_.push([m,0])),f.push([m,i]),_.push([m,i]),m+=g,d=n}})),s=this._shadowPolygonPts=f,l=this._shadowPolylinePts=_}this._shadowData=r,this._shadowDim=o,this._shadowSize=[e[0],e[1]];for(var v=this.dataZoomModel,b=0;b<3;b++){var x=M(1===b);this._displayables.sliderGroup.add(x),this._displayables.dataShadowSegs.push(x)}}}function M(t){var e=v.getModel(t?"selectedDataBackground":"dataBackground"),n=new Ri,i=new Z_({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new J_({shape:{points:l},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();Object(g["each"])(o,(function(t){if(!n&&!(!0!==e&&Object(g["indexOf"])(w$,t.get("type"))<0)){var o,s=i.getComponent(eX(r),a).axis,l=k$(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"),c=e.filler=new _$({silent:u,style:{fill:o.get("fillerColor")},textConfig:{position:"inside"}});r.add(c),r.add(new _$({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:m$,fill:"rgba(0,0,0,0)"}})),Object(g["each"])([0,1],(function(e){var a=o.get("handleIcon");!wy[a]&&a.indexOf("path://")<0&&a.indexOf("image://")<0&&(a="path://"+a);var s=ky(a,-1,0,2,2,null,!0);s.attr({cursor:T$(this._orient),draggable:!0,drift:Object(g["bind"])(this._onDragMove,this,e),ondragend:Object(g["bind"])(this._onDragEnd,this),onmouseover:Object(g["bind"])(this._showDataInfo,this,!0),onmouseout:Object(g["bind"])(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=o.get("handleSize");this._handleHeight=Qi(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(),Gl(s);var c=o.get("handleColor");null!=c&&(s.style.fill=c),r.add(n[e]=s);var d=o.getModel("textStyle");t.add(i[e]=new Fs({silent:!0,invisible:!0,style:xu(d,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:d.getTextColor(),font:d.getFont()}),z2:10}))}),this);var d=c;if(u){var h=Qi(o.get("moveHandleSize"),a[1]),p=e.moveHandle=new Ss({style:o.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:a[1]-.5,height:h}}),f=.8*h,_=e.moveHandleIcon=ky(o.get("moveHandleIcon"),-f/2,-f/2,f,f,"#fff",!0);_.silent=!0,_.y=a[1]+h/2-.5,p.ensureState("emphasis").style=o.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var m=Math.min(a[1]/2,Math.max(h,10));d=e.moveZone=new Ss({invisible:!0,shape:{y:a[1]-m,height:h+m}}),d.on("mouseover",(function(){s.enterEmphasis(p)})).on("mouseout",(function(){s.leaveEmphasis(p)})),r.add(p),r.add(_),r.add(d)}d.attr({draggable:!0,cursor:T$(this._orient),drift:Object(g["bind"])(this._onDragMove,this,"all"),ondragstart:Object(g["bind"])(this._showDataInfo,this,!0),ondragend:Object(g["bind"])(this._onDragEnd,this),onmouseover:Object(g["bind"])(this._showDataInfo,this,!0),onmouseout:Object(g["bind"])(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[$i(t[0],[0,100],e,!0),$i(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];NR(e,i,r,n.get("zoomLock")?"all":t,null!=a.minSpan?$i(a.minSpan,o,r,!0):null,null!=a.maxSpan?$i(a.maxSpan,o,r,!0):null);var s=this._range,l=this._range=er([$i(i[0],r,o,!0),$i(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=er(n.slice()),r=this._size;Object(g["each"])([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],c=u.getClipPath();c||(c=new Ss,u.setClipPath(c)),c.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 c=er(this._handleEnds.slice());function d(t){var e=Wg(n.handles[t].parent,this.group),o=Gg(0===t?"right":"left",e),s=this._handleWidth/2+M$,l=Vg([c[t]+(0===t?-s:s),this._size[1]/2],e);i[t].setStyle({x:l[0],y:l[1],verticalAlign:r===b$?"middle":o,align:r===b$?o:"center",text:a[t]})}d.call(this,0),d.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 Object(g["isFunction"])(i)?i(t,a):Object(g["isString"])(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,gt(i.event);var r=this._displayables.sliderGroup.getLocalTransform(),a=Vg([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 Yt(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=er([$i(n.x,r,a,!0),$i(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&&(gt(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 _$({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?S$:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=iX(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}(dX);function k$(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}function T$(t){return"vertical"===t?"ns-resize":"ew-resize"}var D$=L$;function O$(t){t.registerComponentModel(f$),t.registerComponentView(D$),wX(t)}function A$(t){fx(h$),fx(O$)}var I$={get:function(t,e,n){var i=g["clone"]((Y$[t]||{})[e]);return n&&g["isArray"](i)?i[i.length-1]:i}},Y$={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]}},C$=I$,j$=Uj.mapVisual,P$=Uj.eachVisual,E$=g["isArray"],R$=g["each"],N$=er,H$=$i,z$=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 f(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&Sq(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=g["bind"](t,this),this.controllerVisuals=wq(this.option.controller,e,t),this.targetVisuals=wq(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},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=kr(t),e},e.prototype.eachTargetSeries=function(t,e){g["each"](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||["<",">"],g["isArray"](t)&&(t=t.slice(),i=!0);var l=e?t:i?[u(t[0]),u(t[1])]:u(t);return g["isString"](s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):g["isFunction"](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=N$([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=n[i],a=t.getDimensionInfo(r);if(!a.isCalculationCoord)return a.storeDimIndex}},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={});g["merge"](i,n),g["merge"](r,n);var a=this.isCategory();function o(n){E$(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]={},R$(i,(function(t,e){if(Uj.isValidType(e)){var n=C$.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"),r=this.getItemSymbol(),o=r||"roundRect";R$(this.stateList,(function(r){var s=this.itemSize,l=t[r];l||(l=t[r]={color:a?i:[i]}),null==l.symbol&&(l.symbol=e&&g["clone"](e)||(a?o:[o])),null==l.symbolSize&&(l.symbolSize=n&&g["clone"](n)||(a?s[0]:[s[0],s[0]])),l.symbol=j$(l.symbol,(function(t){return"none"===t?o:t}));var u=l.symbolSize;if(null!=u){var c=-1/0;P$(u,(function(t){t>c&&(c=t)})),l.symbolSize=j$(u,(function(t){return H$(t,[0,c],[0,s[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,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}(gd),B$=z$,F$=[20,140],W$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(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]=F$[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=F$[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):g["isArray"](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),g["each"](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=er((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.getDataDimensionIndex(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=V$(this,"outOfRange",this.getExtent()),n=V$(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 c=i.length;return{stops:i,outerColors:[c?i[0].color:"transparent",c?i[c-1].color:"transparent"]}},e.type="visualMap.continuous",e.defaultOption=Ku(B$.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}(B$);function V$(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 G$=W$,U$=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 f(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=Wc(e.get("padding")||0),i=t.getBoundingRect();t.add(new Ss({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("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)],c=Uj.prepareVisualTypes(u);return g["each"](c,(function(i){var r=u[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",r=u.__alphaForOpacity),Uj.dependsOn(i,e)&&r&&r.applyVisual(t,s,l)})),a[e]},e.prototype.positionGroup=function(t){var e=this.visualMapModel,n=this.api;sd(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},e.prototype.doRender=function(t,e,n,i){},e.type="visualMap",e}(Uf),X$=U$,Z$=[["left","right","width"],["top","bottom","height"]];function q$(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=Z$[o],l=[0,null,10],u={},c=0;c<3;c++)u[Z$[1-o][c]]=l[c],u[s[c]]=2===c?n[0]:i[s[c]];var d=[["x","width",3],["y","height",0]][o],h=od(u,a,i.padding);return s[(h.margin[d[2]]||0)+h[d[0]]+.5*h[d[1]]<.5*a[d[1]]?0:1]}function K$(t,e){return g["each"](t||[],(function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")})),t}var J$=$i,$$=g["each"],Q$=Math.min,tQ=Math.max,eQ=12,nQ=6,iQ=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 f(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),c=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new Fs({style:xu(d,{x:l[0],y:l[1],verticalAlign:"horizontal"===c?"middle":u,align:"horizontal"===c?u:"center",text:i})}))}},e.prototype._renderBar=function(t){var e=this.visualMapModel,n=this._shapes,i=e.itemSize,r=this._orient,a=this._useHandle,o=q$(e,this.api,i),s=n.mainGroup=this._createBarGroup(o),l=new Ri;s.add(l),l.add(n.outOfRange=rQ()),l.add(n.inRange=rQ(null,a?sQ(this._orient):null,g["bind"](this._dragHandle,this,"all",!1),g["bind"](this._dragHandle,this,"all",!0))),l.setClipPath(new Ss({shape:{x:0,y:0,width:i[0],height:i[1],r:3}}));var u=e.textStyleModel.getTextRect("国"),c=tQ(u.width,u.height);a&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(e,s,0,i,c,r),this._createHandle(e,s,1,i,c,r)),this._createIndicator(e,s,i,c,r),t.add(s)},e.prototype._createHandle=function(t,e,n,i,r,a){var o=g["bind"](this._dragHandle,this,n,!1),s=g["bind"](this._dragHandle,this,n,!0),l=bi(t.get("handleSize"),i[0]),u=ky(t.get("handleIcon"),-l/2,-l/2,l,l,null,!0),c=sQ(this._orient);u.attr({cursor:c,draggable:!0,drift:o,ondragend:s,onmousemove:function(t){gt(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(),$l(u,!0),e.add(u);var d=this.visualMapModel.textStyleModel,h=new Fs({cursor:c,draggable:!0,drift:o,onmousemove:function(t){gt(t.event)},ondragend:s,style:xu(d,{x:0,y:0,text:""})});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=bi(t.get("indicatorSize"),n[0]),o=ky(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 _s){var l=o.style;o.useStyle(g["extend"]({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,c=new Fs({silent:!0,invisible:!0,style:xu(u,{x:0,y:0,text:""})});this.group.add(c);var d=[("horizontal"===r?i/2:nQ)+n[0]/2,0],h=this._shapes;h.indicator=o,h.indicatorLabel=c,h.indicatorLabelPoint=d,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():oQ(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=[J$(e[0],n,i,!0),J$(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]];NR(e,i,r,t,0);var a=n.getExtent();this._dataInterval=[J$(i[0],r,a,!0),J$(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 _g(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 Ri("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();$$([0,1],(function(l){var u=r[l];u.setStyle("fill",e.handlesColor[l]),u.y=t[l];var c=J$(t[l],[0,o[1]],s,!0),d=this.getControllerVisual(c,"symbolSize");u.scaleX=u.scaleY=d/o[0],u.x=o[0]-d/2;var h=Vg(n.handleLabelPoints[l],Wg(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 c={convertOpacityToAlpha:!0},d=this.getControllerVisual(t,"color",c),h=this.getControllerVisual(t,"symbolSize"),p=J$(t,a,s,!0),f=o[0]-h/2,_={x:u.x,y:u.y};u.y=p,u.x=f;var g=Vg(l.indicatorLabelPoint,Wg(u,this.group)),m=l.indicatorLabel;m.attr("invisible",!1);var y=this._applyTransform("left",l.mainGroup),v=this._orient,b="horizontal"===v;m.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:b?y:"middle",align:b?"center":y});var x={x:f,y:p,style:{fill:d}},M={style:{x:g[0],y:g[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var w={duration:100,easing:"cubicInOut",additive:!0};u.x=_.x,u.y=_.y,u.animateTo(x,w),m.animateTo(M,w)}else u.attr(x),m.attr(M);this._firstShowIndicator=!1;var S=this._shapes.handleLabels;if(S)for(var L=0;L<S.length;L++)this._api.enterBlur(S[L])}},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]=Q$(tQ(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=Q$(tQ(r[0],t),r[1]);var o=aQ(n,a,r),s=[t-o,t+o],l=J$(t,r,a,!0),u=[J$(s[0],r,a,!0),J$(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 c=this._hoverLinkDataIndices,d=[];(e||oQ(n))&&(d=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var h=Ur(c,d);this._dispatchHighDown("downplay",K$(h[0],n)),this._dispatchHighDown("highlight",K$(h[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e;if(hy(t.target,(function(t){var n=Ws(t);if(null!=n.dataIndex)return e=n,!0}),!0),e){var n=this.ecModel.getSeriesByIndex(e.seriesIndex),i=this.visualMapModel;if(i.isTargetSeries(n)){var r=n.getData(e.dataType),a=r.getStore().get(i.getDataDimensionIndex(r),e.dataIndex);isNaN(a)||this._showIndicator(a,a)}}},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",K$(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=Wg(e,i?null:this.group);return g["isArray"](t)?Vg(t,r,n):Gg(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}(X$);function rQ(t,e,n,i){return new Z_({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){gt(t.event)},ondragend:i})}function aQ(t,e,n){var i=eQ/2,r=t.get("hoverLinkDataSize");return r&&(i=J$(r,e,n,!0)/2),i}function oQ(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function sQ(t){return"vertical"===t?"ns-resize":"ew-resize"}var lQ=iQ,uQ={type:"selectDataRange",event:"dataRangeSelected",update:"update"},cQ=function(t,e){e.eachComponent({mainType:"visualMap",query:t},(function(e){e.setSelected(t.selected)}))},dQ=[{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(kq(e.stateList,e.targetVisuals,g["bind"](e.getValueState,e),e.getDataDimensionIndex(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(g["bind"](hQ,null,t,e))||{stops:[],outerColors:[]},a=e.getDataDimensionIndex(n);a>=0&&(r.dimension=a,i.push(r))}})),t.getData().setVisual("visualMeta",i)}}];function hQ(t,e,n,i){for(var r=e.targetVisuals[i],a=Uj.prepareVisualTypes(r),o={color:sy(t.getData(),"color")},s=0,l=a.length;s<l;s++){var u=a[s],c=r["opacity"===u?"__alphaForOpacity":u];c&&c.applyVisual(n,d,h)}return o.color;function d(t){return o[t]}function h(t,e){o[t]=e}}var pQ=g["each"];function fQ(t){var e=t&&t.visualMap;g["isArray"](e)||(e=e?[e]:[]),pQ(e,(function(t){if(t){_Q(t,"splitList")&&!_Q(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&g["isArray"](e)&&pQ(e,(function(t){g["isObject"](t)&&(_Q(t,"start")&&!_Q(t,"min")&&(t.min=t.start),_Q(t,"end")&&!_Q(t,"max")&&(t.max=t.end))}))}}))}function _Q(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var gQ=!1;function mQ(t){gQ||(gQ=!0,t.registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(uQ,cQ),Object(g["each"])(dQ,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(fQ))}function yQ(t){t.registerComponentModel(G$),t.registerComponentView(lQ),mQ(t)}var vQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return f(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],bQ[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=g["clone"](r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=g["map"](this._pieceList,(function(t){return t=g["clone"](t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},i=Uj.listVisualTypes(),r=this.isCategory();function a(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}g["each"](e.pieces,(function(t){g["each"](i,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),g["each"](n,(function(t,n){var i=!1;g["each"](this.stateList,(function(t){i=i||a(e,t,n)||a(e.target,t,n)}),this),!i&&g["each"](this.stateList,(function(t){(e[t]||(e[t]={}))[n]=C$.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,g["each"](i,(function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)}),this),"single"===n.selectedMode){var a=!1;g["each"](i,(function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(a?r[n]=!1:a=!0)}),this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},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=g["clone"](t)},e.prototype.getValueState=function(t){var e=Uj.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.getDataDimensionIndex(a),(function(e,i){var a=Uj.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 g["each"](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=Ku(B$.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}(B$),bQ={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]}),mr(t),g["each"](t,(function(t,e){t.index=e,t.text=this.formatValueText(t.interval)}),this)},categories:function(t){var e=this.option;g["each"](e.categories,(function(e){t.push({text:this.formatValueText(e,!0),value:e})}),this),xQ(e,t)},pieces:function(t){var e=this.option;g["each"](e.pieces,(function(e,n){g["isObject"](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=[],c=0;c<2;c++){for(var d=[["gte","gt","min"],["lte","lt","max"]][c],h=0;h<3&&null==a[c];h++)a[c]=e[d[h]],o[c]=s[h],u[c]=2===h;null==a[c]&&(a[c]=l[c])}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=Uj.retrieveVisuals(e),t.push(i)}),this),xQ(e,t),mr(t),g["each"](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 xQ(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var MQ=vQ,wQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return f(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,c=g["retrieve"](e.get("showLabel",!0),!u);u&&this._renderEndsText(t,u[0],s,c,o),g["each"](l.viewPieceList,(function(i){var l=i.piece,u=new Ri;u.onclick=g["bind"](this._onItemClick,this,l),this._enableHoverLink(u,i.indexInModelPieceList);var d=e.getRepresentValue(l);if(this._createItemSymbol(u,d,[0,0,s[0],s[1]]),c){var h=this.visualMapModel.getValueState(d);u.add(new Fs({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,c,o),rd(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:K$(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return q$(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 Ri,o=this.visualMapModel.textStyleModel;a.add(new Fs({style:xu(o,{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e})})),t.add(a)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=g["map"](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(ky(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=n.selectedMode;if(i){var r=g["clone"](n.selected),a=e.getSelectedMapKey(t);"single"===i||!0===i?(r[a]=!0,g["each"](r,(function(t,e){r[e]=e===a}))):r[a]=!r[a],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},e.type="visualMap.piecewise",e}(X$),SQ=wQ;function LQ(t){t.registerComponentModel(MQ),t.registerComponentView(SQ),mQ(t)}function kQ(t){fx(yQ),fx(LQ)}var TQ={label:{enabled:!0},decal:{show:!1}},DQ=Zr(),OQ={};function AQ(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=g["clone"](TQ);g["merge"](i.label,t.getLocaleModel().get("aria"),!1),g["merge"](n.option,i,!1),r(),a()}function r(){var e=n.getModel("decal"),i=e.get("show");if(i){var r=g["createHashMap"]();t.eachSeries((function(t){if(!t.isColorBySeries()){var e=r.get(t.type);e||(e={},r.set(t.type,e)),DQ(t).scope=e}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(g["isFunction"](e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=Vd(e.ecModel,e.name,OQ,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",u(r,i))}else{var a=e.getRawData(),o={},s=DQ(e).scope;n.each((function(t){var e=n.getRawIndex(t);o[e]=t}));var l=a.count();a.each((function(t){var i=o[t],r=a.getName(t)||t+"",c=Vd(e.ecModel,r,s,l),d=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",u(d,c))}))}}function u(t,e){var n=t?g["extend"](g["extend"]({},e),t):e;return n.dirty=!0,n}}))}}function a(){var i=t.getLocaleModel().get("aria"),r=n.getModel("label");if(r.option=g["defaults"](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,c=t.getSeriesCount(),d=r.get(["data","maxCount"])||10,h=r.get(["series","maxCount"])||10,p=Math.min(c,h);if(!(c<1)){var f=s();if(f){var _=r.get(["general","withTitle"]);u=o(_,{title:f})}else u=r.get(["general","withoutTitle"]);var m=[],y=c>1?r.get(["series","multiple","prefix"]):r.get(["series","single","prefix"]);u+=o(y,{seriesCount:c}),t.eachSeries((function(t,e){if(e<p){var n=void 0,i=t.get("name"),a=i?"withName":"withoutName";n=c>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()>d){var u=r.get(["data","partialData"]);n+=o(u,{displayCnt:d})}else n+=r.get(["data","allData"]);for(var h=r.get(["data","separator","middle"]),f=r.get(["data","separator","end"]),_=[],g=0;g<s.count();g++)if(g<d){var y=s.getName(g),v=s.getValues(g),b=r.get(["data",y?"withName":"withoutName"]);_.push(o(b,{name:y,value:v.join(h)}))}n+=_.join(h)+f,m.push(n)}}));var v=r.getModel(["series","multiple","separator"]),b=v.get("middle"),x=v.get("end");u+=m.join(b)+x,a.setAttribute("aria-label",u)}}}}function o(t,e){if(!g["isString"](t))return t;var n=t;return g["each"](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 IQ(t){if(t&&t.aria){var e=t.aria;null!=e.show&&(e.enabled=e.show),e.label=e.label||{},g["each"](["description","general","series","data"],(function(t){null!=e[t]&&(e.label[t]=e[t])}))}}function YQ(t){t.registerPreprocessor(IQ),t.registerVisual(t.PRIORITY.VISUAL.ARIA,AQ)}var CQ={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},jQ=function(){function t(t){var e=this._condVal=Object(g["isString"])(t)?new RegExp(t):Object(g["isRegExp"])(t)?t:null;if(null==e){var n="";0,$d(n)}}return t.prototype.evaluate=function(t){var e=typeof t;return Object(g["isString"])(e)?this._condVal.test(t):!!Object(g["isNumber"])(e)&&this._condVal.test(t+"")},t}(),PQ=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),EQ=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}(),RQ=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}(),NQ=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),HQ=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 zQ(t,e){if(!0===t||!1===t){var n=new PQ;return n.value=t,n}var i="";return VQ(t)||$d(i),t.and?BQ("and",t,e):t.or?BQ("or",t,e):t.not?FQ(t,e):WQ(t,e)}function BQ(t,e,n){var i=e[t],r="";Object(g["isArray"])(i)||$d(r),i.length||$d(r);var a="and"===t?new EQ:new RQ;return a.children=Object(g["map"])(i,(function(t){return zQ(t,n)})),a.children.length||$d(r),a}function FQ(t,e){var n=t.not,i="";VQ(n)||$d(i);var r=new NQ;return r.child=zQ(n,e),r.child||$d(i),r}function WQ(t,e){for(var n="",i=e.prepareGetValue(t),r=[],a=Object(g["keys"])(t),o=t.parser,s=o?Op(o):null,l=0;l<a.length;l++){var u=a[l];if("parser"!==u&&!e.valueGetterAttrMap.get(u)){var c=Object(g["hasOwn"])(CQ,u)?CQ[u]:u,d=t[u],h=s?s(d):d,p=jp(c,h)||"reg"===c&&new jQ(h);p||$d(n),r.push(p)}}r.length||$d(n);var f=new HQ;return f.valueGetterParam=i,f.valueParser=s,f.getValue=e.getValue,f.subCondList=r,f}function VQ(t){return Object(g["isObject"])(t)&&!Object(g["isArrayLike"])(t)}var GQ=function(){function t(t,e){this._cond=zQ(t,e)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}();function UQ(t,e){return new GQ(t,e)}var XQ={type:"echarts:filter",transform:function(t){for(var e,n=t.upstream,i=UQ(t.config,{valueGetterAttrMap:Object(g["createHashMap"])({dimension:!0}),prepareGetValue:function(t){var e="",i=t.dimension;Object(g["hasOwn"])(t,"dimension")||$d(e);var r=n.getDimensionInfo(i);return r||$d(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 ZQ={type:"echarts:sort",transform:function(t){var e=t.upstream,n=t.config,i="",r=kr(n);r.length||$d(i);var a=[];Object(g["each"])(r,(function(t){var n=t.dimension,r=t.order,o=t.parser,s=t.incomparable;if(null==n&&$d(i),"asc"!==r&&"desc"!==r&&$d(i),s&&"min"!==s&&"max"!==s){var l="";0,$d(l)}if("asc"!==r&&"desc"!==r){var u="";0,$d(u)}var c=e.getDimensionInfo(n);c||$d(i);var d=o?Op(o):null;o&&!d&&$d(i),a.push({dimIdx:c.index,parser:d,comparator:new Yp(r,s)})}));var o=e.sourceFormat;o!==Md&&o!==wd&&$d(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 qQ(t){t.registerTransform(XQ),t.registerTransform(ZQ)}var KQ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return f(e,t),e.prototype.init=function(e,n,i){t.prototype.init.call(this,e,n,i),this._sourceManager=new of(this),sf(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),sf(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:Td},e}(gd),JQ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return f(e,t),e.type="dataset",e}(Uf);function $Q(t){t.registerComponentModel(KQ),t.registerComponentView(JQ)}var QQ=Po.CMD;function t0(t,e){return Math.abs(t-e)<1e-5}function e0(t){var e,n,i,r,a,o=t.data,s=t.len(),l=[],u=0,c=0,d=0,h=0;function p(t,n){e&&e.length>2&&l.push(e),e=[t,n]}function f(t,n,i,r){t0(t,i)&&t0(n,r)||e.push(t,n,i,r,i,r)}function _(t,n,i,r,a,o){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,u=n<t?-1:1,c=Math.cos(t),d=Math.sin(t),h=Math.cos(n),p=Math.sin(n),f=c*a+i,_=d*o+r,g=h*a+i,m=p*o+r,y=a*l*u,v=o*l*u;e.push(f-y*d,_+v*c,g+y*p,m-v*h,g,m)}for(var g=0;g<s;){var m=o[g++],y=1===g;switch(y&&(u=o[g],c=o[g+1],d=u,h=c,m!==QQ.L&&m!==QQ.C&&m!==QQ.Q||(e=[d,h])),m){case QQ.M:u=d=o[g++],c=h=o[g++],p(d,h);break;case QQ.L:n=o[g++],i=o[g++],f(u,c,n,i),u=n,c=i;break;case QQ.C:e.push(o[g++],o[g++],o[g++],o[g++],u=o[g++],c=o[g++]);break;case QQ.Q:n=o[g++],i=o[g++],r=o[g++],a=o[g++],e.push(u+2/3*(n-u),c+2/3*(i-c),r+2/3*(n-r),a+2/3*(i-a),r,a),u=r,c=a;break;case QQ.A:var v=o[g++],b=o[g++],x=o[g++],M=o[g++],w=o[g++],S=o[g++]+w;g+=1;var L=!o[g++];n=Math.cos(w)*x+v,i=Math.sin(w)*M+b,y?(d=n,h=i,p(d,h)):f(u,c,n,i),u=Math.cos(S)*x+v,c=Math.sin(S)*M+b;for(var k=(L?-1:1)*Math.PI/2,T=w;L?T>S:T<S;T+=k){var D=L?Math.max(T+k,S):Math.min(T+k,S);_(T,D,v,b,x,M)}break;case QQ.R:d=u=o[g++],h=c=o[g++],n=d+o[g++],i=h+o[g++],p(n,h),f(n,h,n,i),f(n,i,d,i),f(d,i,d,h),f(d,h,n,h);break;case QQ.Z:e&&f(u,c,d,h),u=d,c=h;break}}return e&&e.length>2&&l.push(e),l}function n0(t,e,n,i,r,a,o,s,l,u){if(t0(t,n)&&t0(e,i)&&t0(r,o)&&t0(a,s))l.push(o,s);else{var c=2/u,d=c*c,h=o-t,p=s-e,f=Math.sqrt(h*h+p*p);h/=f,p/=f;var _=n-t,g=i-e,m=r-o,y=a-s,v=_*_+g*g,b=m*m+y*y;if(v<d&&b<d)l.push(o,s);else{var x=h*_+p*g,M=-h*m-p*y,w=v-x*x,S=b-M*M;if(w<d&&x>=0&&S<d&&M>=0)l.push(o,s);else{var L=[],k=[];Ne(t,n,r,o,.5,L),Ne(e,i,a,s,.5,k),n0(L[0],k[0],L[1],k[1],L[2],k[2],L[3],k[3],l,u),n0(L[4],k[4],L[5],k[5],L[6],k[6],L[7],k[7],l,u)}}}}function i0(t,e){var n=e0(t),i=[];e=e||1;for(var r=0;r<n.length;r++){var a=n[r],o=[],s=a[0],l=a[1];o.push(s,l);for(var u=2;u<a.length;){var c=a[u++],d=a[u++],h=a[u++],p=a[u++],f=a[u++],_=a[u++];n0(s,l,c,d,h,p,f,_,o,e),s=f,l=_}i.push(o)}return i}function r0(t,e,n){var i=t[e],r=t[1-e],a=Math.abs(i/r),o=Math.ceil(Math.sqrt(a*n)),s=Math.floor(n/o);0===s&&(s=1,o=n);for(var l=[],u=0;u<o;u++)l.push(s);var c=o*s,d=n-c;if(d>0)for(u=0;u<d;u++)l[u%o]+=1;return l}function a0(t,e,n){for(var i=t.r0,r=t.r,a=t.startAngle,o=t.endAngle,s=Math.abs(o-a),l=s*r,u=r-i,c=l>Math.abs(u),d=r0([l,u],c?0:1,e),h=(c?s:u)/d.length,p=0;p<d.length;p++)for(var f=(c?u:s)/d[p],_=0;_<d[p];_++){var g={};c?(g.startAngle=a+h*p,g.endAngle=a+h*(p+1),g.r0=i+f*_,g.r=i+f*(_+1)):(g.startAngle=a+f*_,g.endAngle=a+f*(_+1),g.r0=i+h*p,g.r=i+h*(p+1)),g.clockwise=t.clockwise,g.cx=t.cx,g.cy=t.cy,n.push(g)}}function o0(t,e,n){for(var i=t.width,r=t.height,a=i>r,o=r0([i,r],a?0:1,e),s=a?"width":"height",l=a?"height":"width",u=a?"x":"y",c=a?"y":"x",d=t[s]/o.length,h=0;h<o.length;h++)for(var p=t[l]/o[h],f=0;f<o[h];f++){var _={};_[u]=h*d,_[c]=f*p,_[s]=d,_[l]=p,_.x+=t.x,_.y+=t.y,n.push(_)}}function s0(t,e,n,i){return t*i-n*e}function l0(t,e,n,i,r,a,o,s){var l=n-t,u=i-e,c=o-r,d=s-a,h=s0(c,d,l,u);if(Math.abs(h)<1e-6)return null;var p=t-r,f=e-a,_=s0(p,f,c,d)/h;return _<0||_>1?null:new Yt(_*l+t,_*u+e)}function u0(t,e,n){var i=new Yt;Yt.sub(i,n,e),i.normalize();var r=new Yt;Yt.sub(r,t,e);var a=r.dot(i);return a}function c0(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function d0(t,e,n){for(var i=t.length,r=[],a=0;a<i;a++){var o=t[a],s=t[(a+1)%i],l=l0(o[0],o[1],s[0],s[1],e.x,e.y,n.x,n.y);l&&r.push({projPt:u0(l,e,n),pt:l,idx:a})}if(r.length<2)return[{points:t},{points:t}];r.sort((function(t,e){return t.projPt-e.projPt}));var u=r[0],c=r[r.length-1];if(c.idx<u.idx){var d=u;u=c,c=d}var h=[u.pt.x,u.pt.y],p=[c.pt.x,c.pt.y],f=[h],_=[p];for(a=u.idx+1;a<=c.idx;a++)c0(f,t[a].slice());c0(f,p),c0(f,h);for(a=c.idx+1;a<=u.idx+i;a++)c0(_,t[a%i].slice());return c0(_,h),c0(_,p),[{points:f},{points:_}]}function h0(t){var e=t.points,n=[],i=[];lo(e,n,i);var r=new Ft(n[0],n[1],i[0]-n[0],i[1]-n[1]),a=r.width,o=r.height,s=r.x,l=r.y,u=new Yt,c=new Yt;return a>o?(u.x=c.x=s+a/2,u.y=l,c.y=l+o):(u.y=c.y=l+o/2,u.x=s,c.x=s+a),d0(e,u,c)}function p0(t,e,n,i){if(1===n)i.push(e);else{var r=Math.floor(n/2),a=t(e);p0(t,a[0],r,i),p0(t,a[1],n-r,i)}return i}function f0(t,e){for(var n=[],i=0;i<e;i++)n.push(g_(t));return n}function _0(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}function g0(t){for(var e=[],n=0;n<t.length;)e.push([t[n++],t[n++]]);return e}function m0(t,e){var n,i=[],r=t.shape;switch(t.type){case"rect":o0(r,e,i),n=Ss;break;case"sector":a0(r,e,i),n=z_;break;case"circle":a0({r0:0,r:r.r,startAngle:0,endAngle:2*Math.PI,cx:r.cx,cy:r.cy},e,i),n=z_;break;default:var a=t.getComputedTransform(),o=a?Math.sqrt(Math.max(a[0]*a[0]+a[1]*a[1],a[2]*a[2]+a[3]*a[3])):1,s=Object(g["map"])(i0(t.getUpdatedPathProxy(),o),(function(t){return g0(t)})),l=s.length;if(0===l)p0(h0,{points:s[0]},e,i);else if(l===e)for(var u=0;u<l;u++)i.push({points:s[u]});else{var c=0,d=Object(g["map"])(s,(function(t){var e=[],n=[];lo(t,e,n);var i=(n[1]-e[1])*(n[0]-e[0]);return c+=i,{poly:t,area:i}}));d.sort((function(t,e){return e.area-t.area}));var h=e;for(u=0;u<l;u++){var p=d[u];if(h<=0)break;var f=u===l-1?h:Math.ceil(p.area/c*e);f<0||(p0(h0,{points:p.poly},f,i),h-=f)}}n=Z_;break}if(!n)return f0(t,e);var _=[];for(u=0;u<i.length;u++){var m=new n;m.setShape(i[u]),_0(t,m),_.push(m)}return _}function y0(t,e){var n=t.length,i=e.length;if(n===i)return[t,e];for(var r=[],a=[],o=n<i?t:e,s=Math.min(n,i),l=Math.abs(i-n)/6,u=(s-2)/6,c=Math.ceil(l/u)+1,d=[o[0],o[1]],h=l,p=2;p<s;){var f=o[p-2],_=o[p-1],g=o[p++],m=o[p++],y=o[p++],v=o[p++],b=o[p++],x=o[p++];if(h<=0)d.push(g,m,y,v,b,x);else{for(var M=Math.min(h,c-1)+1,w=1;w<=M;w++){var S=w/M;Ne(f,g,y,b,S,r),Ne(_,m,v,x,S,a),f=r[3],_=a[3],d.push(r[1],a[1],r[2],a[2],f,_),g=r[5],m=a[5],y=r[6],v=a[6]}h-=M-1}}return o===t?[d,e]:[t,d]}function v0(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 b0(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],c=void 0,d=void 0;l?u?(n=y0(l,u),c=n[0],d=n[1],i=c,r=d):(d=v0(r||l,l),c=l):(c=v0(i||u,u),d=u),a.push(c),o.push(d)}return[a,o]}function x0(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],c=t[a+1],d=s*c-u*l;e+=d,n+=(s+u)*d,i+=(l+c)*d}return 0===e?[t[0]||0,t[1]||0]:[n/e/3,i/e/3,e]}function M0(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 c=6*u,d=0,h=0;h<s;h+=2){var p=0===h?c:(c+h-2)%l+2,f=t[p]-n[0],_=t[p+1]-n[1],g=e[h]-i[0],m=e[h+1]-i[1],y=g-f,v=m-_;d+=y*y+v*v}d<a&&(a=d,o=u)}return o}function w0(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 S0(t,e,n,i){for(var r,a=[],o=0;o<t.length;o++){var s=t[o],l=e[o],u=x0(s),c=x0(l);null==r&&(r=u[2]<0!==c[2]<0);var d=[],h=[],p=0,f=1/0,_=[],g=s.length;r&&(s=w0(s));for(var m=6*M0(s,l,u,c),y=g-2,v=0;v<y;v+=2){var b=(m+v)%y+2;d[v+2]=s[b]-u[0],d[v+3]=s[b+1]-u[1]}if(d[0]=s[m]-u[0],d[1]=s[m+1]-u[1],n>0)for(var x=i/n,M=-i/2;M<=i/2;M+=x){var w=Math.sin(M),S=Math.cos(M),L=0;for(v=0;v<s.length;v+=2){var k=d[v],T=d[v+1],D=l[v]-c[0],O=l[v+1]-c[1],A=D*S-O*w,I=D*w+O*S;_[v]=A,_[v+1]=I;var Y=A-k,C=I-T;L+=Y*Y+C*C}if(L<f){f=L,p=M;for(var j=0;j<_.length;j++)h[j]=_[j]}}else for(var P=0;P<g;P+=2)h[P]=l[P]-c[0],h[P+1]=l[P+1]-c[1];a.push({from:d,to:h,fromCp:u,toCp:c,rotation:-p})}return a}function L0(t){return t.__isCombineMorphing}var k0="__mOriginal_";function T0(t,e,n){var i=k0+e,r=t[i]||t[e];t[i]||(t[i]=t[e]);var a=n.replace,o=n.after,s=n.before;t[e]=function(){var t,e=arguments;return s&&s.apply(this,e),t=a?a.apply(this,e):r.apply(this,e),o&&o.apply(this,e),t}}function D0(t,e){var n=k0+e;t[n]&&(t[e]=t[n],t[n]=null)}function O0(t,e){for(var n=0;n<t.length;n++)for(var i=t[n],r=0;r<i.length;){var a=i[r],o=i[r+1];i[r++]=e[0]*a+e[2]*o+e[4],i[r++]=e[1]*a+e[3]*o+e[5]}}function A0(t,e){var n=t.getUpdatedPathProxy(),i=e.getUpdatedPathProxy(),r=b0(e0(n),e0(i)),a=r[0],o=r[1],s=t.getComputedTransform(),l=e.getComputedTransform();function u(){this.transform=null}s&&O0(a,s),l&&O0(o,l),T0(e,"updateTransform",{replace:u}),e.transform=null;var c=S0(a,o,10,Math.PI),d=[];T0(e,"buildPath",{replace:function(t){for(var n=e.__morphT,i=1-n,r=[],a=0;a<c.length;a++){var o=c[a],s=o.from,l=o.to,u=o.rotation*n,h=o.fromCp,p=o.toCp,f=Math.sin(u),_=Math.cos(u);N(r,h,p,n);for(var g=0;g<s.length;g+=2){var m=s[g],y=s[g+1],v=l[g],b=l[g+1],x=m*i+v*n,M=y*i+b*n;d[g]=x*_-M*f+r[0],d[g+1]=x*f+M*_+r[1]}var w=d[0],S=d[1];t.moveTo(w,S);for(g=2;g<s.length;){v=d[g++],b=d[g++];var L=d[g++],k=d[g++],T=d[g++],D=d[g++];w===v&&S===b&&L===T&&k===D?t.lineTo(T,D):t.bezierCurveTo(v,b,L,k,T,D),w=T,S=D}}}})}function I0(t,e,n){if(!t||!e)return e;var i=n.done,r=n.during;function a(){D0(e,"buildPath"),D0(e,"updateTransform"),e.__morphT=-1,e.createPathProxy(),e.dirtyShape()}return A0(t,e),e.__morphT=0,e.animateTo({__morphT:1},Object(g["defaults"])({during:function(t){e.dirtyShape(),r&&r(t)},done:function(){a(),i&&i()}},n)),e}function Y0(t,e,n,i,r,a){var o=16;t=r===n?0:Math.round(32767*(t-n)/(r-n)),e=a===i?0:Math.round(32767*(e-i)/(a-i));for(var s,l=0,u=(1<<o)/2;u>0;u/=2){var c=0,d=0;(t&u)>0&&(c=1),(e&u)>0&&(d=1),l+=u*u*(3*c^d),0===d&&(1===c&&(t=u-1-t,e=u-1-e),s=t,t=e,e=s)}return l}function C0(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,a=Object(g["map"])(t,(function(t){var a=t.getBoundingRect(),o=t.getComputedTransform(),s=a.x+a.width/2+(o?o[4]:0),l=a.y+a.height/2+(o?o[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]})),o=Object(g["map"])(a,(function(a,o){return{cp:a,z:Y0(a[0],a[1],e,n,i,r),path:t[o]}}));return o.sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function j0(t){return m0(t.path,t.count)}function P0(){return{fromIndividuals:[],toIndividuals:[],count:0}}function E0(t,e,n){var i=[];function r(t){for(var e=0;e<t.length;e++){var n=t[e];L0(n)?r(n.childrenRef()):n instanceof ss&&i.push(n)}}r(t);var a=i.length;if(!a)return P0();var o=n.dividePath||j0,s=o({path:e,count:a});if(s.length!==a)return console.error("Invalid morphing: unmatched splitted path"),P0();i=C0(i),s=C0(s);for(var l=n.done,u=n.during,c=n.individualDelay,d=new ci,h=0;h<a;h++){var p=i[h],f=s[h];f.parent=e,f.copyTransform(d),c||A0(p,f)}function _(t){for(var e=0;e<s.length;e++)s[e].addSelfToZr(t)}function m(){e.__isCombineMorphing=!1,e.__morphT=-1,e.childrenRef=null,D0(e,"addSelfToZr"),D0(e,"removeSelfFromZr")}e.__isCombineMorphing=!0,e.childrenRef=function(){return s},T0(e,"addSelfToZr",{after:function(t){_(t)}}),T0(e,"removeSelfFromZr",{after:function(t){for(var e=0;e<s.length;e++)s[e].removeSelfFromZr(t)}});var y=s.length;if(c){var v=y,b=function(){v--,0===v&&(m(),l&&l())};for(h=0;h<y;h++){var x=c?Object(g["defaults"])({delay:(n.delay||0)+c(h,y,i[h],s[h]),done:b},n):n;I0(i[h],s[h],x)}}else e.__morphT=0,e.animateTo({__morphT:1},Object(g["defaults"])({during:function(t){for(var n=0;n<y;n++){var i=s[n];i.__morphT=e.__morphT,i.dirtyShape()}u&&u(t)},done:function(){m();for(var e=0;e<t.length;e++)D0(t[e],"updateTransform");l&&l()}},n));return e.__zr&&_(e.__zr),{fromIndividuals:i,toIndividuals:s,count:y}}function R0(t,e,n){var i=e.length,r=[],a=n.dividePath||j0;function o(t){for(var e=0;e<t.length;e++){var n=t[e];L0(n)?o(n.childrenRef()):n instanceof ss&&r.push(n)}}if(L0(t)){o(t.childrenRef());var s=r.length;if(s<i)for(var l=0,u=s;u<i;u++)r.push(g_(r[l++%s]));r.length=i}else{r=a({path:t,count:i});var c=t.getComputedTransform();for(u=0;u<r.length;u++)r[u].setLocalTransform(c);if(r.length!==i)return console.error("Invalid morphing: unmatched splitted path"),P0()}r=C0(r),e=C0(e);var d=n.individualDelay;for(u=0;u<i;u++){var h=d?Object(g["defaults"])({delay:(n.delay||0)+d(u,i,r[u],e[u])},n):n;I0(r[u],e[u],h)}return{fromIndividuals:r,toIndividuals:e,count:e.length}}function N0(t){return Object(g["isArray"])(t[0])}function H0(t,e){for(var n=[],i=t.length,r=0;r<i;r++)n.push({one:t[r],many:[]});for(r=0;r<e.length;r++){var a=e[r].length,o=void 0;for(o=0;o<a;o++)n[o%i].many.push(e[r][o])}var s=0;for(r=i-1;r>=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}a=l.length;var u=Math.ceil(a/2);n[r].many=l.slice(u,a),n[s].many=l.slice(0,u),s++}return n}var z0={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i<t.count;i++){var r=g_(t.path);r.setStyle("opacity",n),e.push(r)}return e},split:null};function B0(t,e,n,i,r,a){if(t.length&&e.length){var o=ou("update",i,r);if(o&&o.duration>0){var s,l,u=i.getModel("universalTransition").get("delay"),c=Object.assign({setToFinal:!0},o);N0(t)&&(s=t,l=e),N0(e)&&(s=e,l=t);for(var d=s?s===t:t.length>e.length,h=s?H0(l,s):H0(d?e:t,[d?t:e]),p=0,f=0;f<h.length;f++)p+=h[f].many.length;var _=0;for(f=0;f<h.length;f++)m(h[f],d,_,p),_+=h[f].many.length}}function m(t,e,i,r,o){var s=t.many,l=t.one;if(1!==s.length||o)for(var d=Object(g["defaults"])({dividePath:z0[n],individualDelay:u&&function(t,e,n,a){return u(t+i,r)}},c),h=e?E0(s,l,d):R0(l,s,d),p=h.fromIndividuals,f=h.toIndividuals,_=p.length,y=0;y<_;y++){x=u?Object(g["defaults"])({delay:u(y,_)},c):c;a(p[y],f[y],e?s[y]:t.one,e?t.one:s[y],x)}else{var v=e?s[0]:l,b=e?l:s[0];if(L0(v))m({many:[v],one:b},!0,i,r,!0);else{var x=u?Object(g["defaults"])({delay:u(i,r)},c):c;I0(v,b,x),a(v,b,v,b,x)}}}}function F0(t){if(!t)return[];if(Object(g["isArray"])(t)){for(var e=[],n=0;n<t.length;n++)e.push(F0(t[n]));return e}var i=[];return t.traverse((function(t){t instanceof ss&&!t.disableMorphing&&!t.invisible&&!t.ignore&&i.push(t)})),i}var W0=1e4,V0=Zr();function G0(t){for(var e=t.dimensions,n=0;n<e.length;n++){var i=t.getDimensionInfo(e[n]);if(i&&0===i.otherDims.itemGroupId)return e[n]}}function U0(t){var e=[];return Object(g["each"])(t,(function(t){var n=t.data;if(!(n.count()>W0))for(var i=n.getIndices(),r=G0(n),a=0;a<i.length;a++)e.push({data:n,dim:t.dim||r,divide:t.divide,dataIndex:a})})),e}function X0(t,e,n){t.traverse((function(t){t instanceof ss&&uu(t,{style:{opacity:0}},e,{dataIndex:n,isFrom:!0})}))}function Z0(t){if(t.parent){var e=t.getComputedTransform();t.setLocalTransform(e),t.parent.remove(t)}}function q0(t){t.stopAnimation(),t.isGroup&&t.traverse((function(t){t.stopAnimation()}))}function K0(t,e,n){var i=ou("update",n,e);i&&t.traverse((function(t){if(t instanceof Qa){var e=_u(t);e&&t.animateFrom({style:e},i)}}))}function J0(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++){var r=t[i],a=e[i];if(r.data.getId(r.dataIndex)!==a.data.getId(a.dataIndex))return!1}return!0}function $0(t,e,n){var i=U0(t),r=U0(e);function a(t,e,n,i,r){(n||t)&&e.animateFrom({style:n&&n!==t?Object(g["extend"])(Object(g["extend"])({},n.style),t.style):t.style},r)}function o(t){for(var e=0;e<t.length;e++)if(t[e].dim)return t[e].dim}var s=o(i),l=o(r),u=!1;function c(t,e){return function(n){var i=n.data,r=n.dataIndex;if(e)return i.getId(r);var a=i.hostModel&&i.hostModel.get("dataGroupId"),o=t?s||l:l||s,u=o&&i.getDimensionInfo(o),c=u&&u.ordinalMeta;if(u){var d=i.get(u.name,r);return c&&c.categories[d]||d+""}var h=i.getRawDataItem(r);return h&&h.groupId?h.groupId+"":a||i.getId(r)}}var d=J0(i,r),h={};if(!d)for(var p=0;p<r.length;p++){var f=r[p],_=f.data.getItemGraphicEl(f.dataIndex);_&&(h[_.id]=!0)}function m(t,e){var n=i[e],o=r[t],s=o.data.hostModel,l=n.data.getItemGraphicEl(n.dataIndex),c=o.data.getItemGraphicEl(o.dataIndex);l!==c?l&&h[l.id]||c&&(q0(c),l?(q0(l),Z0(l),u=!0,B0(F0(l),F0(c),o.divide,s,t,a)):X0(c,s,t)):c&&K0(c,o.dataIndex,s)}new yx(i,r,c(!0,d),c(!1,d),null,"multiple").update(m).updateManyToOne((function(t,e){var n=r[t],o=n.data,s=o.hostModel,l=o.getItemGraphicEl(n.dataIndex),c=Object(g["filter"])(Object(g["map"])(e,(function(t){return i[t].data.getItemGraphicEl(i[t].dataIndex)})),(function(t){return t&&t!==l&&!h[t.id]}));l&&(q0(l),c.length?(Object(g["each"])(c,(function(t){q0(t),Z0(t)})),u=!0,B0(F0(c),F0(l),n.divide,s,t,a)):X0(l,s,n.dataIndex))})).updateOneToMany((function(t,e){var n=i[e],o=n.data.getItemGraphicEl(n.dataIndex);if(!o||!h[o.id]){var s=Object(g["filter"])(Object(g["map"])(t,(function(t){return r[t].data.getItemGraphicEl(r[t].dataIndex)})),(function(t){return t&&t!==o})),l=r[t[0]].data.hostModel;s.length&&(Object(g["each"])(s,(function(t){return q0(t)})),o?(q0(o),Z0(o),u=!0,B0(F0(o),F0(s),n.divide,l,t[0],a)):Object(g["each"])(s,(function(e){return X0(e,l,t[0])})))}})).updateManyToMany((function(t,e){new yx(e,t,(function(t){return i[t].data.getId(i[t].dataIndex)}),(function(t){return r[t].data.getId(r[t].dataIndex)})).update((function(n,i){m(t[n],e[i])})).execute()})).execute(),u&&Object(g["each"])(e,(function(t){var e=t.data,i=e.hostModel,r=i&&n.getViewOfSeriesModel(i),a=ou("update",i,0);r&&i.isAnimationEnabled()&&a&&a.duration>0&&r.group.traverse((function(t){t instanceof ss&&!t.animators.length&&t.animateFrom({style:{opacity:0}},a)}))}))}function Q0(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function t1(t){return Object(g["isArray"])(t)?t.sort().join(","):t}function e1(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function n1(t,e){var n=Object(g["createHashMap"])(),i=Object(g["createHashMap"])(),r=Object(g["createHashMap"])();return Object(g["each"])(t.oldSeries,(function(e,n){var a=t.oldData[n],o=Q0(e),s=t1(o);i.set(s,a),Object(g["isArray"])(o)&&Object(g["each"])(o,(function(t){r.set(t,{data:a,key:s})}))})),Object(g["each"])(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.getData(),a=Q0(t),o=t1(a),s=i.get(o);if(s)n.set(o,{oldSeries:[{divide:e1(s),data:s}],newSeries:[{divide:e1(e),data:e}]});else if(Object(g["isArray"])(a)){0;var l=[];Object(g["each"])(a,(function(t){var e=i.get(t);e&&l.push({divide:e1(e),data:e})})),l.length&&n.set(o,{oldSeries:l,newSeries:[{data:e,divide:e1(e)}]})}else{var u=r.get(a);if(u){var c=n.get(u.key);c||(c={oldSeries:[{data:u.data,divide:e1(u.data)}],newSeries:[]},n.set(u.key,c)),c.newSeries.push({data:e,divide:e1(e)})}}}})),n}function i1(t,e){for(var n=0;n<t.length;n++){var i=null!=e.seriesIndex&&e.seriesIndex===t[n].seriesIndex||null!=e.seriesId&&e.seriesId===t[n].id;if(i)return n}}function r1(t,e,n,i){var r=[],a=[];Object(g["each"])(kr(t.from),(function(t){var n=i1(e.oldSeries,t);n>=0&&r.push({data:e.oldData[n],divide:e1(e.oldData[n]),dim:t.dimension})})),Object(g["each"])(kr(t.to),(function(t){var e=i1(n.updatedSeries,t);if(e>=0){var i=n.updatedSeries[e].getData();a.push({data:i,divide:e1(i),dim:t.dimension})}})),r.length>0&&a.length>0&&$0(r,a,i)}function a1(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){Object(g["each"])(kr(n.seriesTransition),(function(t){Object(g["each"])(kr(t.to),(function(t){for(var e=n.updatedSeries,i=0;i<e.length;i++)(null!=t.seriesIndex&&t.seriesIndex===e[i].seriesIndex||null!=t.seriesId&&t.seriesId===e[i].id)&&(e[i][jf]=!0)}))}))})),t.registerUpdateLifecycle("series:transition",(function(t,e,n){var i=V0(e);if(i.oldSeries&&n.updatedSeries&&n.optionChanged){var r=n.seriesTransition;if(r)Object(g["each"])(kr(r),(function(t){r1(t,i,n,e)}));else{var a=n1(i,n);Object(g["each"])(a.keys(),(function(t){var n=a.get(t);$0(n.oldSeries,n.newSeries,e)}))}Object(g["each"])(n.updatedSeries,(function(t){t[jf]&&(t[jf]=!1)}))}for(var o=t.getSeries(),s=i.oldSeries=[],l=i.oldData=[],u=0;u<o.length;u++){var c=o[u].getData();c.count()<W0&&(s.push(o[u]),l.push(c))}}))}fx([OL]),fx([nT]),fx([eD,ND,sO,CA,tI,$Y,KC,SP,FE,$E,uR,fH,UH,dz,Nz,Uz,_B,kB,nF,hF,IF,sV]),fx(aG),fx(JG),fx(JY),fx(wU),fx(pH),fx(CU),fx(JU),fx(PZ),fx(mq),fx(rG),fx(Jq),fx(tK),fx(wK),fx(qK),fx(sJ),fx(bJ),fx(qJ),fx(A$),fx(h$),fx(O$),fx(kQ),fx(yQ),fx(LQ),fx(YQ),fx(qQ),fx($Q),fx(a1),fx(mL)},"332f":function(t,e){t.exports=function(t){var e="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",n=e+"(<"+e+"(\\s*,\\s*"+e+")*>)?",i="false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",r="\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",a={className:"number",begin:r,relevance:0};return{aliases:["jsp"],keywords:i,illegal:/<\/|#/,contains:[t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"new throw return else",relevance:0},{className:"function",begin:"("+n+"\\s+)+"+t.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:i,contains:[{begin:t.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[t.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},a,{className:"meta",begin:"@[A-Za-z]+"}]}}},3886:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  92. //! moment.js locale configuration
  93. 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";
  94. //! moment.js locale configuration
  95. 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";
  96. //! moment.js locale configuration
  97. 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||"सकाळी"===e?t:"दुपारी"===e||"सायंकाळी"===e||"रात्री"===e?t>=12?t:t+12:void 0},meridiem:function(t,e,n){return t>=0&&t<6?"पहाटे":t<12?"सकाळी":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";
  98. //! moment.js locale configuration
  99. 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}))},"3a6c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  100. //! moment.js locale configuration
  101. var e=t.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?t>=11?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,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}))},"3b1b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  102. //! moment.js locale configuration
  103. 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:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(t,e){return 12===t&&(t=0),"шаб"===e?t<4?t:t+12:"субҳ"===e?t:"рӯз"===e?t>=11?t:t+12:"бегоҳ"===e?t+12:void 0},meridiem:function(t,e,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";
  104. //! moment.js locale configuration
  105. var e={standalone:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),format:"ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},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}))},"3de5":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  106. //! moment.js locale configuration
  107. 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";
  108. //! moment.js locale configuration
  109. 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}))},4002:function(t,e,n){"use strict";n("3ca3");var i,r=n("23e7"),a=n("83ab"),o=n("f354"),s=n("da84"),l=n("0366"),u=n("e330"),c=n("cb2d"),d=n("edd0"),h=n("19aa"),p=n("1a2d"),f=n("60da"),_=n("4df4"),g=n("4dae"),m=n("6547").codeAt,y=n("5fb2"),v=n("577e"),b=n("d44e"),x=n("d6d6"),M=n("5352"),w=n("69f3"),S=w.set,L=w.getterFor("URL"),k=M.URLSearchParams,T=M.getState,D=s.URL,O=s.TypeError,A=s.parseInt,I=Math.floor,Y=Math.pow,C=u("".charAt),j=u(/./.exec),P=u([].join),E=u(1..toString),R=u([].pop),N=u([].push),H=u("".replace),z=u([].shift),B=u("".split),F=u("".slice),W=u("".toLowerCase),V=u([].unshift),G="Invalid authority",U="Invalid scheme",X="Invalid host",Z="Invalid port",q=/[a-z]/i,K=/[\d+-.a-z]/i,J=/\d/,$=/^0x/i,Q=/^[0-7]+$/,tt=/^\d+$/,et=/^[\da-f]+$/i,nt=/[\0\t\n\r #%/:<>?@[\\\]^|]/,it=/[\0\t\n\r #/:<>?@[\\\]^|]/,rt=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,at=/[\t\n\r]/g,ot=function(t){var e,n,i,r,a,o,s,l=B(t,".");if(l.length&&""==l[l.length-1]&&l.length--,e=l.length,e>4)return t;for(n=[],i=0;i<e;i++){if(r=l[i],""==r)return t;if(a=10,r.length>1&&"0"==C(r,0)&&(a=j($,r)?16:8,r=F(r,8==a?1:2)),""===r)o=0;else{if(!j(10==a?tt:8==a?Q:et,r))return t;o=A(r,a)}N(n,o)}for(i=0;i<e;i++)if(o=n[i],i==e-1){if(o>=Y(256,5-e))return null}else if(o>255)return null;for(s=R(n),i=0;i<n.length;i++)s+=n[i]*Y(256,3-i);return s},st=function(t){var e,n,i,r,a,o,s,l=[0,0,0,0,0,0,0,0],u=0,c=null,d=0,h=function(){return C(t,d)};if(":"==h()){if(":"!=C(t,1))return;d+=2,u++,c=u}while(h()){if(8==u)return;if(":"!=h()){e=n=0;while(n<4&&j(et,h()))e=16*e+A(h(),16),d++,n++;if("."==h()){if(0==n)return;if(d-=n,u>6)return;i=0;while(h()){if(r=null,i>0){if(!("."==h()&&i<4))return;d++}if(!j(J,h()))return;while(j(J,h())){if(a=A(h(),10),null===r)r=a;else{if(0==r)return;r=10*r+a}if(r>255)return;d++}l[u]=256*l[u]+r,i++,2!=i&&4!=i||u++}if(4!=i)return;break}if(":"==h()){if(d++,!h())return}else if(h())return;l[u++]=e}else{if(null!==c)return;d++,u++,c=u}}if(null!==c){o=u-c,u=7;while(0!=u&&o>0)s=l[u],l[u--]=l[c+o-1],l[c+--o]=s}else if(8!=u)return;return l},lt=function(t){for(var e=null,n=1,i=null,r=0,a=0;a<8;a++)0!==t[a]?(r>n&&(e=i,n=r),i=null,r=0):(null===i&&(i=a),++r);return r>n&&(e=i,n=r),e},ut=function(t){var e,n,i,r;if("number"==typeof t){for(e=[],n=0;n<4;n++)V(e,t%256),t=I(t/256);return P(e,".")}if("object"==typeof t){for(e="",i=lt(t),n=0;n<8;n++)r&&0===t[n]||(r&&(r=!1),i===n?(e+=n?":":"::",r=!0):(e+=E(t[n],16),n<7&&(e+=":")));return"["+e+"]"}return t},ct={},dt=f({},ct,{" ":1,'"':1,"<":1,">":1,"`":1}),ht=f({},dt,{"#":1,"?":1,"{":1,"}":1}),pt=f({},ht,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ft=function(t,e){var n=m(t,0);return n>32&&n<127&&!p(e,t)?t:encodeURIComponent(t)},_t={ftp:21,file:null,http:80,https:443,ws:80,wss:443},gt=function(t,e){var n;return 2==t.length&&j(q,C(t,0))&&(":"==(n=C(t,1))||!e&&"|"==n)},mt=function(t){var e;return t.length>1&&gt(F(t,0,2))&&(2==t.length||"/"===(e=C(t,2))||"\\"===e||"?"===e||"#"===e)},yt=function(t){return"."===t||"%2e"===W(t)},vt=function(t){return t=W(t),".."===t||"%2e."===t||".%2e"===t||"%2e%2e"===t},bt={},xt={},Mt={},wt={},St={},Lt={},kt={},Tt={},Dt={},Ot={},At={},It={},Yt={},Ct={},jt={},Pt={},Et={},Rt={},Nt={},Ht={},zt={},Bt=function(t,e,n){var i,r,a,o=v(t);if(e){if(r=this.parse(o),r)throw O(r);this.searchParams=null}else{if(void 0!==n&&(i=new Bt(n,!0)),r=this.parse(o,null,i),r)throw O(r);a=T(new k),a.bindURL(this),this.searchParams=a}};Bt.prototype={type:"URL",parse:function(t,e,n){var r,a,o,s,l=this,u=e||bt,c=0,d="",h=!1,f=!1,m=!1;t=v(t),e||(l.scheme="",l.username="",l.password="",l.host=null,l.port=null,l.path=[],l.query=null,l.fragment=null,l.cannotBeABaseURL=!1,t=H(t,rt,"")),t=H(t,at,""),r=_(t);while(c<=r.length){switch(a=r[c],u){case bt:if(!a||!j(q,a)){if(e)return U;u=Mt;continue}d+=W(a),u=xt;break;case xt:if(a&&(j(K,a)||"+"==a||"-"==a||"."==a))d+=W(a);else{if(":"!=a){if(e)return U;d="",u=Mt,c=0;continue}if(e&&(l.isSpecial()!=p(_t,d)||"file"==d&&(l.includesCredentials()||null!==l.port)||"file"==l.scheme&&!l.host))return;if(l.scheme=d,e)return void(l.isSpecial()&&_t[l.scheme]==l.port&&(l.port=null));d="","file"==l.scheme?u=Ct:l.isSpecial()&&n&&n.scheme==l.scheme?u=wt:l.isSpecial()?u=Tt:"/"==r[c+1]?(u=St,c++):(l.cannotBeABaseURL=!0,N(l.path,""),u=Nt)}break;case Mt:if(!n||n.cannotBeABaseURL&&"#"!=a)return U;if(n.cannotBeABaseURL&&"#"==a){l.scheme=n.scheme,l.path=g(n.path),l.query=n.query,l.fragment="",l.cannotBeABaseURL=!0,u=zt;break}u="file"==n.scheme?Ct:Lt;continue;case wt:if("/"!=a||"/"!=r[c+1]){u=Lt;continue}u=Dt,c++;break;case St:if("/"==a){u=Ot;break}u=Rt;continue;case Lt:if(l.scheme=n.scheme,a==i)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=g(n.path),l.query=n.query;else if("/"==a||"\\"==a&&l.isSpecial())u=kt;else if("?"==a)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=g(n.path),l.query="",u=Ht;else{if("#"!=a){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=g(n.path),l.path.length--,u=Rt;continue}l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=g(n.path),l.query=n.query,l.fragment="",u=zt}break;case kt:if(!l.isSpecial()||"/"!=a&&"\\"!=a){if("/"!=a){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,u=Rt;continue}u=Ot}else u=Dt;break;case Tt:if(u=Dt,"/"!=a||"/"!=C(d,c+1))continue;c++;break;case Dt:if("/"!=a&&"\\"!=a){u=Ot;continue}break;case Ot:if("@"==a){h&&(d="%40"+d),h=!0,o=_(d);for(var y=0;y<o.length;y++){var b=o[y];if(":"!=b||m){var x=ft(b,pt);m?l.password+=x:l.username+=x}else m=!0}d=""}else if(a==i||"/"==a||"?"==a||"#"==a||"\\"==a&&l.isSpecial()){if(h&&""==d)return G;c-=_(d).length+1,d="",u=At}else d+=a;break;case At:case It:if(e&&"file"==l.scheme){u=Pt;continue}if(":"!=a||f){if(a==i||"/"==a||"?"==a||"#"==a||"\\"==a&&l.isSpecial()){if(l.isSpecial()&&""==d)return X;if(e&&""==d&&(l.includesCredentials()||null!==l.port))return;if(s=l.parseHost(d),s)return s;if(d="",u=Et,e)return;continue}"["==a?f=!0:"]"==a&&(f=!1),d+=a}else{if(""==d)return X;if(s=l.parseHost(d),s)return s;if(d="",u=Yt,e==It)return}break;case Yt:if(!j(J,a)){if(a==i||"/"==a||"?"==a||"#"==a||"\\"==a&&l.isSpecial()||e){if(""!=d){var M=A(d,10);if(M>65535)return Z;l.port=l.isSpecial()&&M===_t[l.scheme]?null:M,d=""}if(e)return;u=Et;continue}return Z}d+=a;break;case Ct:if(l.scheme="file","/"==a||"\\"==a)u=jt;else{if(!n||"file"!=n.scheme){u=Rt;continue}if(a==i)l.host=n.host,l.path=g(n.path),l.query=n.query;else if("?"==a)l.host=n.host,l.path=g(n.path),l.query="",u=Ht;else{if("#"!=a){mt(P(g(r,c),""))||(l.host=n.host,l.path=g(n.path),l.shortenPath()),u=Rt;continue}l.host=n.host,l.path=g(n.path),l.query=n.query,l.fragment="",u=zt}}break;case jt:if("/"==a||"\\"==a){u=Pt;break}n&&"file"==n.scheme&&!mt(P(g(r,c),""))&&(gt(n.path[0],!0)?N(l.path,n.path[0]):l.host=n.host),u=Rt;continue;case Pt:if(a==i||"/"==a||"\\"==a||"?"==a||"#"==a){if(!e&&gt(d))u=Rt;else if(""==d){if(l.host="",e)return;u=Et}else{if(s=l.parseHost(d),s)return s;if("localhost"==l.host&&(l.host=""),e)return;d="",u=Et}continue}d+=a;break;case Et:if(l.isSpecial()){if(u=Rt,"/"!=a&&"\\"!=a)continue}else if(e||"?"!=a)if(e||"#"!=a){if(a!=i&&(u=Rt,"/"!=a))continue}else l.fragment="",u=zt;else l.query="",u=Ht;break;case Rt:if(a==i||"/"==a||"\\"==a&&l.isSpecial()||!e&&("?"==a||"#"==a)){if(vt(d)?(l.shortenPath(),"/"==a||"\\"==a&&l.isSpecial()||N(l.path,"")):yt(d)?"/"==a||"\\"==a&&l.isSpecial()||N(l.path,""):("file"==l.scheme&&!l.path.length&&gt(d)&&(l.host&&(l.host=""),d=C(d,0)+":"),N(l.path,d)),d="","file"==l.scheme&&(a==i||"?"==a||"#"==a))while(l.path.length>1&&""===l.path[0])z(l.path);"?"==a?(l.query="",u=Ht):"#"==a&&(l.fragment="",u=zt)}else d+=ft(a,ht);break;case Nt:"?"==a?(l.query="",u=Ht):"#"==a?(l.fragment="",u=zt):a!=i&&(l.path[0]+=ft(a,ct));break;case Ht:e||"#"!=a?a!=i&&("'"==a&&l.isSpecial()?l.query+="%27":l.query+="#"==a?"%23":ft(a,ct)):(l.fragment="",u=zt);break;case zt:a!=i&&(l.fragment+=ft(a,dt));break}c++}},parseHost:function(t){var e,n,i;if("["==C(t,0)){if("]"!=C(t,t.length-1))return X;if(e=st(F(t,1,-1)),!e)return X;this.host=e}else if(this.isSpecial()){if(t=y(t),j(nt,t))return X;if(e=ot(t),null===e)return X;this.host=e}else{if(j(it,t))return X;for(e="",n=_(t),i=0;i<n.length;i++)e+=ft(n[i],ct);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return p(_t,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"==this.scheme&&1==e&&gt(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,n=t.username,i=t.password,r=t.host,a=t.port,o=t.path,s=t.query,l=t.fragment,u=e+":";return null!==r?(u+="//",t.includesCredentials()&&(u+=n+(i?":"+i:"")+"@"),u+=ut(r),null!==a&&(u+=":"+a)):"file"==e&&(u+="//"),u+=t.cannotBeABaseURL?o[0]:o.length?"/"+P(o,"/"):"",null!==s&&(u+="?"+s),null!==l&&(u+="#"+l),u},setHref:function(t){var e=this.parse(t);if(e)throw O(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"==t)try{return new Ft(t.path[0]).origin}catch(n){return"null"}return"file"!=t&&this.isSpecial()?t+"://"+ut(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(v(t)+":",bt)},getUsername:function(){return this.username},setUsername:function(t){var e=_(v(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<e.length;n++)this.username+=ft(e[n],pt)}},getPassword:function(){return this.password},setPassword:function(t){var e=_(v(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<e.length;n++)this.password+=ft(e[n],pt)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?ut(t):ut(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,At)},getHostname:function(){var t=this.host;return null===t?"":ut(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,It)},getPort:function(){var t=this.port;return null===t?"":v(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(t=v(t),""==t?this.port=null:this.parse(t,Yt))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+P(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,Et))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){t=v(t),""==t?this.query=null:("?"==C(t,0)&&(t=F(t,1)),this.query="",this.parse(t,Ht)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){t=v(t),""!=t?("#"==C(t,0)&&(t=F(t,1)),this.fragment="",this.parse(t,zt)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ft=function(t){var e=h(this,Wt),n=x(arguments.length,1)>1?arguments[1]:void 0,i=S(e,new Bt(t,!1,n));a||(e.href=i.serialize(),e.origin=i.getOrigin(),e.protocol=i.getProtocol(),e.username=i.getUsername(),e.password=i.getPassword(),e.host=i.getHost(),e.hostname=i.getHostname(),e.port=i.getPort(),e.pathname=i.getPathname(),e.search=i.getSearch(),e.searchParams=i.getSearchParams(),e.hash=i.getHash())},Wt=Ft.prototype,Vt=function(t,e){return{get:function(){return L(this)[t]()},set:e&&function(t){return L(this)[e](t)},configurable:!0,enumerable:!0}};if(a&&(d(Wt,"href",Vt("serialize","setHref")),d(Wt,"origin",Vt("getOrigin")),d(Wt,"protocol",Vt("getProtocol","setProtocol")),d(Wt,"username",Vt("getUsername","setUsername")),d(Wt,"password",Vt("getPassword","setPassword")),d(Wt,"host",Vt("getHost","setHost")),d(Wt,"hostname",Vt("getHostname","setHostname")),d(Wt,"port",Vt("getPort","setPort")),d(Wt,"pathname",Vt("getPathname","setPathname")),d(Wt,"search",Vt("getSearch","setSearch")),d(Wt,"searchParams",Vt("getSearchParams")),d(Wt,"hash",Vt("getHash","setHash"))),c(Wt,"toJSON",(function(){return L(this).serialize()}),{enumerable:!0}),c(Wt,"toString",(function(){return L(this).serialize()}),{enumerable:!0}),D){var Gt=D.createObjectURL,Ut=D.revokeObjectURL;Gt&&c(Ft,"createObjectURL",l(Gt,D)),Ut&&c(Ft,"revokeObjectURL",l(Ut,D))}b(Ft,"URL"),r({global:!0,constructor:!0,forced:!o,sham:!a},{URL:Ft})},"41ef":function(t,e,n){"use strict";n.r(e),n.d(e,"parse",(function(){return m})),n.d(e,"lift",(function(){return b})),n.d(e,"toHex",(function(){return x})),n.d(e,"fastLerp",(function(){return M})),n.d(e,"fastMapToColor",(function(){return w})),n.d(e,"lerp",(function(){return S})),n.d(e,"mapToColor",(function(){return L})),n.d(e,"modifyHSL",(function(){return k})),n.d(e,"modifyAlpha",(function(){return T})),n.d(e,"stringify",(function(){return D})),n.d(e,"lum",(function(){return O})),n.d(e,"random",(function(){return A}));var i=n("d51b"),r={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 a(t){return t=Math.round(t),t<0?0:t>255?255:t}function o(t){return t=Math.round(t),t<0?0:t>360?360:t}function s(t){return t<0?0:t>1?1:t}function l(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?a(parseFloat(e)/100*255):a(parseInt(e,10))}function u(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}function c(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 d(t,e,n){return t+(e-t)*n}function h(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var f=new i["a"](20),_=null;function g(t,e){_&&p(_,e),_=f.put(t,_||e.slice())}function m(t,e){if(t){e=e||[];var n=f.get(t);if(n)return p(e,n);t+="";var i=t.replace(/ /g,"").toLowerCase();if(i in r)return p(e,r[i]),g(t,e),e;var a=i.length;if("#"!==i.charAt(0)){var o=i.indexOf("("),s=i.indexOf(")");if(-1!==o&&s+1===a){var c=i.substr(0,o),d=i.substr(o+1,s-(o+1)).split(","),_=1;switch(c){case"rgba":if(4!==d.length)return 3===d.length?h(e,+d[0],+d[1],+d[2],1):h(e,0,0,0,1);_=u(d.pop());case"rgb":return d.length>=3?(h(e,l(d[0]),l(d[1]),l(d[2]),3===d.length?_:u(d[3])),g(t,e),e):void h(e,0,0,0,1);case"hsla":return 4!==d.length?void h(e,0,0,0,1):(d[3]=u(d[3]),y(d,e),g(t,e),e);case"hsl":return 3!==d.length?void h(e,0,0,0,1):(y(d,e),g(t,e),e);default:return}}h(e,0,0,0,1)}else{if(4===a||5===a){var m=parseInt(i.slice(1,4),16);return m>=0&&m<=4095?(h(e,(3840&m)>>4|(3840&m)>>8,240&m|(240&m)>>4,15&m|(15&m)<<4,5===a?parseInt(i.slice(4),16)/15:1),g(t,e),e):void h(e,0,0,0,1)}if(7===a||9===a){m=parseInt(i.slice(1,7),16);return m>=0&&m<=16777215?(h(e,(16711680&m)>>16,(65280&m)>>8,255&m,9===a?parseInt(i.slice(7),16)/255:1),g(t,e),e):void h(e,0,0,0,1)}}}}function y(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=u(t[1]),r=u(t[2]),o=r<=.5?r*(i+1):r+i-r*i,s=2*r-o;return e=e||[],h(e,a(255*c(s,o,n+1/3)),a(255*c(s,o,n)),a(255*c(s,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function v(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 c=((s-i)/6+l/2)/l,d=((s-r)/6+l/2)/l,h=((s-a)/6+l/2)/l;i===s?e=h-d:r===s?e=1/3+c-h:a===s&&(e=2/3+d-c),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,n,u];return null!=t[3]&&p.push(t[3]),p}}function b(t,e){var n=m(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 D(n,4===n.length?"rgba":"rgb")}}function x(t){var e=m(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function M(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),l=e[r],u=e[o],c=i-r;return n[0]=a(d(l[0],u[0],c)),n[1]=a(d(l[1],u[1],c)),n[2]=a(d(l[2],u[2],c)),n[3]=s(d(l[3],u[3],c)),n}}var w=M;function S(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),l=m(e[r]),u=m(e[o]),c=i-r,h=D([a(d(l[0],u[0],c)),a(d(l[1],u[1],c)),a(d(l[2],u[2],c)),s(d(l[3],u[3],c))],"rgba");return n?{color:h,leftIndex:r,rightIndex:o,value:i}:h}}var L=S;function k(t,e,n,i){var r=m(t);if(t)return r=v(r),null!=e&&(r[0]=o(e)),null!=n&&(r[1]=u(n)),null!=i&&(r[2]=u(i)),D(y(r),"rgba")}function T(t,e){var n=m(t);if(n&&null!=e)return n[3]=s(e),D(n,"rgba")}function D(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 O(t,e){var n=m(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}function A(){return D([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}},"423e":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  110. //! moment.js locale configuration
  111. 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";
  112. //! moment.js locale configuration
  113. 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}))},"485c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  114. //! moment.js locale configuration
  115. 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:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(t){return/^(gündüz|axşam)$/.test(t)},meridiem:function(t,e,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}))},"49ab":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  116. //! moment.js locale configuration
  117. 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<1200?"上午":1200===i?"中午":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";
  118. //! moment.js locale configuration
  119. 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:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},"4c98":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  120. //! moment.js locale configuration
  121. 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-ps",{months:"كانون الثاني_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_تشري الأوّل_تشرين الثاني_كانون الأوّل".split("_"),monthsShort:"ك٢_شباط_آذار_نيسان_أيّار_حزيران_تمّوز_آب_أيلول_ت١_ت٢_ك١".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,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]})).split("").reverse().join("").replace(/[١٢](?![\u062a\u0643])/g,(function(t){return n[t]})).split("").reverse().join("").replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:0,doy:6}});return i}))},"4d7c":function(t,e,n){var i,r;(function(){var n=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=15)}([,,function(t,e,n){"use strict";function i(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function r(t,e){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),e=e||"",t.indent_level>0&&(e=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=e,this.__base_string_length=e.length}function a(t,e){this.__indent_cache=new r(t,e),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var t=new i(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},i.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},i.prototype.has_match=function(t){for(var e=this.__items.length-1;e>=0;e--)if(this.__items[e].match(t))return!0;return!1},i.prototype.set_indent=function(t,e){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=e||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===t.__items[0]&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf("\n");-1!==e?this.__character_count=t.length-e:this.__character_count+=t.length},i.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){while(" "===this.last())this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t},r.prototype.get_indent_size=function(t,e){var n=this.__base_string_length;return e=e||0,t<0&&(n=0),n+=t*this.__indent_size,n+=e,n},r.prototype.get_indent_string=function(t,e){var n=this.__base_string;return e=e||0,t<0&&(t=0,n=""),e+=t*this.__indent_size,this.__ensure_cache(e),n+=this.__cache[e],n},r.prototype.__ensure_cache=function(t){while(t>=this.__cache.length)this.__add_column()},r.prototype.__add_column=function(){var t=this.__cache.length,e=0,n="";this.__indent_size&&t>=this.__indent_size&&(e=Math.floor(t/this.__indent_size),t-=e*this.__indent_size,n=new Array(e+1).join(this.__indent_string)),t&&(n+=new Array(t+1).join(" ")),this.__cache.push(n)},a.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},a.prototype.get_line_number=function(){return this.__lines.length},a.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)},a.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)},a.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},a.prototype.add_new_line=function(t){return!(this.is_empty()||!t&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},a.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==t&&(n=n.replace(/[\n]/g,t)),n},a.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},a.prototype.set_indent=function(t,e){return t=t||0,e=e||0,this.next_line.set_indent(t,e),this.__lines.length>1?(this.current_line.set_indent(t,e),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(t){for(var e=0;e<t.newlines;e++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},a.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},a.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},a.prototype.remove_indent=function(t){var e=this.__lines.length;while(t<e)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()},a.prototype.trim=function(t){t=void 0!==t&&t,this.current_line.trim();while(t&&this.__lines.length>1&&this.current_line.is_empty())this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},a.prototype.just_added_newline=function(){return this.current_line.is_empty()},a.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},a.prototype.ensure_empty_line_above=function(t,e){var n=this.__lines.length-2;while(n>=0){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(t)&&r.item(-1)!==e){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},t.exports.Output=a},,,,function(t,e,n){"use strict";function i(t,e){this.raw_options=r(t,e),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function r(t,e){var n,i={};for(n in t=a(t),t)n!==e&&(i[n]=t[n]);if(e&&t[e])for(n in t[e])i[n]=t[e][n];return i}function a(t){var e,n={};for(e in t){var i=e.replace(/-/g,"_");n[i]=t[e]}return n}i.prototype._get_array=function(t,e){var n=this.raw_options[t],i=e||[];return"object"===typeof n?null!==n&&"function"===typeof n.concat&&(i=n.concat()):"string"===typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(t,e){var n=this.raw_options[t],i=void 0===n?!!e:!!n;return i},i.prototype._get_characters=function(t,e){var n=this.raw_options[t],i=e||"";return"string"===typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(t,e){var n=this.raw_options[t];e=parseInt(e,10),isNaN(e)&&(e=0);var i=parseInt(n,10);return isNaN(i)&&(i=e),i},i.prototype._get_selection=function(t,e,n){var i=this._get_selection_list(t,e,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+t+"' can only be one of the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return i[0]},i.prototype._get_selection_list=function(t,e,n){if(!e||0===e.length)throw new Error("Selection list cannot be empty.");if(n=n||[e[0]],!this._is_valid_selection(n,e))throw new Error("Invalid Default Value!");var i=this._get_array(t,n);if(!this._is_valid_selection(i,e))throw new Error("Invalid Option Value: The option '"+t+"' can contain only the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return i},i.prototype._is_valid_selection=function(t,e){return t.length&&e.length&&!t.some((function(t){return-1===e.indexOf(t)}))},t.exports.Options=i,t.exports.normalizeOpts=a,t.exports.mergeOpts=r},,function(t,e,n){"use strict";var i=RegExp.prototype.hasOwnProperty("sticky");function r(t){this.__input=t||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__input.charAt(this.__position),this.__position+=1),t},r.prototype.peek=function(t){var e=null;return t=t||0,t+=this.__position,t>=0&&t<this.__input_length&&(e=this.__input.charAt(t)),e},r.prototype.__match=function(t,e){t.lastIndex=e;var n=t.exec(this.__input);return!n||i&&t.sticky||n.index!==e&&(n=null),n},r.prototype.test=function(t,e){return e=e||0,e+=this.__position,e>=0&&e<this.__input_length&&!!this.__match(t,e)},r.prototype.testChar=function(t,e){var n=this.peek(e);return t.lastIndex=0,null!==n&&t.test(n)},r.prototype.match=function(t){var e=this.__match(t,this.__position);return e?this.__position+=e[0].length:e=null,e},r.prototype.read=function(t,e,n){var i,r="";return t&&(i=this.match(t),i&&(r+=i[0])),!e||!i&&t||(r+=this.readUntil(e,n)),r},r.prototype.readUntil=function(t,e){var n="",i=this.__position;t.lastIndex=this.__position;var r=t.exec(this.__input);return r?(i=r.index,e&&(i+=r[0].length)):i=this.__input_length,n=this.__input.substring(this.__position,i),this.__position=i,n},r.prototype.readUntilAfter=function(t){return this.readUntil(t,!0)},r.prototype.get_regexp=function(t,e){var n=null,r="g";return e&&i&&(r="y"),"string"===typeof t&&""!==t?n=new RegExp(t,r):t&&(n=new RegExp(t.source,r)),n},r.prototype.get_literal_regexp=function(t){return RegExp(t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(t){var e=this.__position,n=this.readUntilAfter(t);return this.__position=e,n},r.prototype.lookBack=function(t){var e=this.__position-1;return e>=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t},t.exports.InputScanner=r},,,,,function(t,e,n){"use strict";function i(t,e){t="string"===typeof t?t:t.source,e="string"===typeof e?e:e.source,this.__directives_block_pattern=new RegExp(t+/ beautify( \w+[:]\w+)+ /.source+e,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(t+/\sbeautify\signore:end\s/.source+e,"g")}i.prototype.get_directives=function(t){if(!t.match(this.__directives_block_pattern))return null;var e={};this.__directive_pattern.lastIndex=0;var n=this.__directive_pattern.exec(t);while(n)e[n[1]]=n[2],n=this.__directive_pattern.exec(t);return e},i.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)},t.exports.Directives=i},,function(t,e,n){"use strict";var i=n(16).Beautifier,r=n(17).Options;function a(t,e){var n=new i(t,e);return n.beautify()}t.exports=a,t.exports.defaultOptions=function(){return new r}},function(t,e,n){"use strict";var i=n(17).Options,r=n(2).Output,a=n(8).InputScanner,o=n(13).Directives,s=new o(/\/\*/,/\*\//),l=/\r\n|[\r\n]/,u=/\r\n|[\r\n]/g,c=/\s/,d=/(?:\s|\n)+/g,h=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,p=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function f(t,e){this._source_text=t||"",this._options=new i(e),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}f.prototype.eatString=function(t){var e="";this._ch=this._input.next();while(this._ch){if(e+=this._ch,"\\"===this._ch)e+=this._input.next();else if(-1!==t.indexOf(this._ch)||"\n"===this._ch)break;this._ch=this._input.next()}return e},f.prototype.eatWhitespace=function(t){var e=c.test(this._input.peek()),n=!0;while(c.test(this._input.peek()))this._ch=this._input.next(),t&&"\n"===this._ch&&(this._options.preserve_newlines||n)&&(n=!1,this._output.add_new_line(!0));return e},f.prototype.foundNestedPseudoClass=function(){var t=0,e=1,n=this._input.peek(e);while(n){if("{"===n)return!0;if("("===n)t+=1;else if(")"===n){if(0===t)return!1;t-=1}else if(";"===n||"}"===n)return!1;e++,n=this._input.peek(e)}return!1},f.prototype.print_string=function(t){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(t)},f.prototype.preserveSingleSpace=function(t){t&&(this._output.space_before_token=!0)},f.prototype.indent=function(){this._indentLevel++},f.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},f.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t=this._source_text,e=this._options.eol;"auto"===e&&(e="\n",t&&l.test(t||"")&&(e=t.match(l)[0])),t=t.replace(u,"\n");var n=t.match(/^[\t ]*/)[0];this._output=new r(this._options,n),this._input=new a(t),this._indentLevel=0,this._nestedLevel=0,this._ch=null;var i,o,f,_=0,g=!1,m=!1,y=!1,v=!1,b=!1,x=this._ch;while(1){if(i=this._input.read(d),o=""!==i,f=x,this._ch=this._input.next(),"\\"===this._ch&&this._input.hasNext()&&(this._ch+=this._input.next()),x=this._ch,!this._ch)break;if("/"===this._ch&&"*"===this._input.peek()){this._output.add_new_line(),this._input.back();var M=this._input.read(h),w=s.get_directives(M);w&&"start"===w.ignore&&(M+=s.readIgnored(this._input)),this.print_string(M),this.eatWhitespace(!0),this._output.add_new_line()}else if("/"===this._ch&&"/"===this._input.peek())this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(p)),this.eatWhitespace(!0);else if("@"===this._ch)if(this.preserveSingleSpace(o),"{"===this._input.peek())this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var S=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);S.match(/[ :]$/)&&(S=this.eatString(": ").replace(/\s$/,""),this.print_string(S),this._output.space_before_token=!0),S=S.replace(/\s$/,""),"extend"===S?v=!0:"import"===S&&(b=!0),S in this.NESTED_AT_RULE?(this._nestedLevel+=1,S in this.CONDITIONAL_GROUP_RULE&&(y=!0)):g||0!==_||-1===S.indexOf(":")||(m=!0,this.indent())}else"#"===this._ch&&"{"===this._input.peek()?(this.preserveSingleSpace(o),this.print_string(this._ch+this.eatString("}"))):"{"===this._ch?(m&&(m=!1,this.outdent()),y?(y=!1,g=this._indentLevel>=this._nestedLevel):g=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&g&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,"expand"===this._options.brace_style?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line()):"}"===this._ch?(this.outdent(),this._output.add_new_line(),"{"===f&&this._output.trim(!0),b=!1,v=!1,m&&(this.outdent(),m=!1),this.print_string(this._ch),g=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&"}"!==this._input.peek()&&this._output.add_new_line(!0)):":"===this._ch?!g&&!y||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||v||0!==_?(this._input.lookBack(" ")&&(this._output.space_before_token=!0),":"===this._input.peek()?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):(this.print_string(":"),m||(m=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):'"'===this._ch||"'"===this._ch?(this.preserveSingleSpace(o),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)):";"===this._ch?0===_?(m&&(this.outdent(),m=!1),v=!1,b=!1,this.print_string(this._ch),this.eatWhitespace(!0),"/"!==this._input.peek()&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0):"("===this._ch?this._input.lookBack("url")?(this.print_string(this._ch),this.eatWhitespace(),_++,this.indent(),this._ch=this._input.next(),")"===this._ch||'"'===this._ch||"'"===this._ch?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),_&&(_--,this.outdent()))):(this.preserveSingleSpace(o),this.print_string(this._ch),this.eatWhitespace(),_++,this.indent()):")"===this._ch?(_&&(_--,this.outdent()),this.print_string(this._ch)):","===this._ch?(this.print_string(this._ch),this.eatWhitespace(!0),!this._options.selector_separator_newline||m||0!==_||b?this._output.space_before_token=!0:this._output.add_new_line()):">"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||m||0!==_?"]"===this._ch?this.print_string(this._ch):"["===this._ch?(this.preserveSingleSpace(o),this.print_string(this._ch)):"="===this._ch?(this.eatWhitespace(),this.print_string("="),c.test(this._ch)&&(this._ch="")):"!"!==this._ch||this._input.lookBack("\\")?(this.preserveSingleSpace(o),this.print_string(this._ch)):(this.print_string(" "),this.print_string(this._ch)):this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&c.test(this._ch)&&(this._ch=""))}var L=this._output.get_code(e);return L},t.exports.Beautifier=f},function(t,e,n){"use strict";var i=n(6).Options;function r(t){i.call(this,t,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var e=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||e;var n=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var r=0;r<n.length;r++)"expand"!==n[r]?this.brace_style="collapse":this.brace_style=n[r]}r.prototype=new i,t.exports.Options=r}]),a=n;i=[],r=function(){return{css_beautify:a}}.apply(e,i),void 0===r||(t.exports=r)})()},"4dd1":function(t,e){t.exports=function(t){var e={begin:"<>",end:"</>"},n={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/},i="[A-Za-z$_][0-9A-Za-z$_]*",r={keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},a={className:"number",variants:[{begin:"\\b(0[bB][01]+)n?"},{begin:"\\b(0[oO][0-7]+)n?"},{begin:t.C_NUMBER_RE+"n?"}],relevance:0},o={className:"subst",begin:"\\$\\{",end:"\\}",keywords:r,contains:[]},s={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,o],subLanguage:"xml"}},l={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,o],subLanguage:"css"}},u={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,o]};o.contains=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,s,l,u,a,t.REGEXP_MODE];var c=o.contains.concat([t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]);return{aliases:["js","jsx","mjs","cjs"],keywords:r,contains:[{className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},{className:"meta",begin:/^#!/,end:/$/},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,s,l,u,t.C_LINE_COMMENT_MODE,t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:i+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,a,{begin:/[{,\n]\s*/,relevance:0,contains:[{begin:i+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:i,relevance:0}]}]},{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+i+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:i},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:c}]}]},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:e.begin,end:e.end},{begin:n.begin,end:n.end}],subLanguage:"xml",contains:[{begin:n.begin,end:n.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[t.inherit(t.TITLE_MODE,{begin:i}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:c}],illegal:/\[|%/},{begin:/\$[(.]/},t.METHOD_GUARD,{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"constructor get set",end:/\{/,excludeEnd:!0}],illegal:/#(?!!)/}}},5038:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  122. //! moment.js locale configuration
  123. 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:0,doy:6}});return e}))},5120:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  124. //! moment.js locale configuration
  125. var e=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],n=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],i=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],r=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],a=["Do","Lu","Má","Cé","Dé","A","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é ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){var e=1===t?"d":t%10===2?"na":"mh";return t+e},week:{dow:1,doy:4}});return o}))},5294:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  126. //! moment.js locale configuration
  127. 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";
  128. //! moment.js locale configuration
  129. 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}))},5352:function(t,e,n){"use strict";n("e260");var i=n("23e7"),r=n("da84"),a=n("c65b"),o=n("e330"),s=n("83ab"),l=n("f354"),u=n("cb2d"),c=n("6964"),d=n("d44e"),h=n("dcc3"),p=n("69f3"),f=n("19aa"),_=n("1626"),g=n("1a2d"),m=n("0366"),y=n("f5df"),v=n("825a"),b=n("861d"),x=n("577e"),M=n("7c73"),w=n("5c6c"),S=n("9a1f"),L=n("35a1"),k=n("d6d6"),T=n("b622"),D=n("addb"),O=T("iterator"),A="URLSearchParams",I=A+"Iterator",Y=p.set,C=p.getterFor(A),j=p.getterFor(I),P=Object.getOwnPropertyDescriptor,E=function(t){if(!s)return r[t];var e=P(r,t);return e&&e.value},R=E("fetch"),N=E("Request"),H=E("Headers"),z=N&&N.prototype,B=H&&H.prototype,F=r.RegExp,W=r.TypeError,V=r.decodeURIComponent,G=r.encodeURIComponent,U=o("".charAt),X=o([].join),Z=o([].push),q=o("".replace),K=o([].shift),J=o([].splice),$=o("".split),Q=o("".slice),tt=/\+/g,et=Array(4),nt=function(t){return et[t-1]||(et[t-1]=F("((?:%[\\da-f]{2}){"+t+"})","gi"))},it=function(t){try{return V(t)}catch(e){return t}},rt=function(t){var e=q(t,tt," "),n=4;try{return V(e)}catch(i){while(n)e=q(e,nt(n--),it);return e}},at=/[!'()~]|%20/g,ot={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},st=function(t){return ot[t]},lt=function(t){return q(G(t),at,st)},ut=h((function(t,e){Y(this,{type:I,iterator:S(C(t).entries),kind:e})}),"Iterator",(function(){var t=j(this),e=t.kind,n=t.iterator.next(),i=n.value;return n.done||(n.value="keys"===e?i.key:"values"===e?i.value:[i.key,i.value]),n}),!0),ct=function(t){this.entries=[],this.url=null,void 0!==t&&(b(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===U(t,0)?Q(t,1):t:x(t)))};ct.prototype={type:A,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,n,i,r,o,s,l,u=L(t);if(u){e=S(t,u),n=e.next;while(!(i=a(n,e)).done){if(r=S(v(i.value)),o=r.next,(s=a(o,r)).done||(l=a(o,r)).done||!a(o,r).done)throw W("Expected sequence with length 2");Z(this.entries,{key:x(s.value),value:x(l.value)})}}else for(var c in t)g(t,c)&&Z(this.entries,{key:c,value:x(t[c])})},parseQuery:function(t){if(t){var e,n,i=$(t,"&"),r=0;while(r<i.length)e=i[r++],e.length&&(n=$(e,"="),Z(this.entries,{key:rt(K(n)),value:rt(X(n,"="))}))}},serialize:function(){var t,e=this.entries,n=[],i=0;while(i<e.length)t=e[i++],Z(n,lt(t.key)+"="+lt(t.value));return X(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var dt=function(){f(this,ht);var t=arguments.length>0?arguments[0]:void 0;Y(this,new ct(t))},ht=dt.prototype;if(c(ht,{append:function(t,e){k(arguments.length,2);var n=C(this);Z(n.entries,{key:x(t),value:x(e)}),n.updateURL()},delete:function(t){k(arguments.length,1);var e=C(this),n=e.entries,i=x(t),r=0;while(r<n.length)n[r].key===i?J(n,r,1):r++;e.updateURL()},get:function(t){k(arguments.length,1);for(var e=C(this).entries,n=x(t),i=0;i<e.length;i++)if(e[i].key===n)return e[i].value;return null},getAll:function(t){k(arguments.length,1);for(var e=C(this).entries,n=x(t),i=[],r=0;r<e.length;r++)e[r].key===n&&Z(i,e[r].value);return i},has:function(t){k(arguments.length,1);var e=C(this).entries,n=x(t),i=0;while(i<e.length)if(e[i++].key===n)return!0;return!1},set:function(t,e){k(arguments.length,1);for(var n,i=C(this),r=i.entries,a=!1,o=x(t),s=x(e),l=0;l<r.length;l++)n=r[l],n.key===o&&(a?J(r,l--,1):(a=!0,n.value=s));a||Z(r,{key:o,value:s}),i.updateURL()},sort:function(){var t=C(this);D(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){var e,n=C(this).entries,i=m(t,arguments.length>1?arguments[1]:void 0),r=0;while(r<n.length)e=n[r++],i(e.value,e.key,this)},keys:function(){return new ut(this,"keys")},values:function(){return new ut(this,"values")},entries:function(){return new ut(this,"entries")}},{enumerable:!0}),u(ht,O,ht.entries,{name:"entries"}),u(ht,"toString",(function(){return C(this).serialize()}),{enumerable:!0}),d(dt,A),i({global:!0,constructor:!0,forced:!l},{URLSearchParams:dt}),!l&&_(H)){var pt=o(B.has),ft=o(B.set),_t=function(t){if(b(t)){var e,n=t.body;if(y(n)===A)return e=t.headers?new H(t.headers):new H,pt(e,"content-type")||ft(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),M(t,{body:w(0,x(n)),headers:w(0,e)})}return t};if(_(R)&&i({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return R(t,arguments.length>1?_t(arguments[1]):{})}}),_(N)){var gt=function(t){return f(this,z),new N(t,arguments.length>1?_t(arguments[1]):{})};z.constructor=gt,gt.prototype=z,i({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:gt})}}t.exports={URLSearchParams:dt,getState:C}},"55c9":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  130. //! moment.js locale configuration
  131. 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",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}});return a}))},"576c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  132. //! moment.js locale configuration
  133. var e=t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,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}))},"598a":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  134. //! moment.js locale configuration
  135. 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}))},"5aff":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  136. //! moment.js locale configuration
  137. var e={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"},n=t.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'unjy";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}))},"5b14":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  138. //! moment.js locale configuration
  139. 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("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,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";
  140. //! moment.js locale configuration
  141. 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:function(t){return t.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(t){return this.week()!==t.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}});return e}))},"5cbb":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  142. //! moment.js locale configuration
  143. 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}))},"5fb2":function(t,e,n){"use strict";var i=n("e330"),r=2147483647,a=36,o=1,s=26,l=38,u=700,c=72,d=128,h="-",p=/[^\0-\u007E]/,f=/[.\u3002\uFF0E\uFF61]/g,_="Overflow: input needs wider integers to process",g=a-o,m=RangeError,y=i(f.exec),v=Math.floor,b=String.fromCharCode,x=i("".charCodeAt),M=i([].join),w=i([].push),S=i("".replace),L=i("".split),k=i("".toLowerCase),T=function(t){var e=[],n=0,i=t.length;while(n<i){var r=x(t,n++);if(r>=55296&&r<=56319&&n<i){var a=x(t,n++);56320==(64512&a)?w(e,((1023&r)<<10)+(1023&a)+65536):(w(e,r),n--)}else w(e,r)}return e},D=function(t){return t+22+75*(t<26)},O=function(t,e,n){var i=0;t=n?v(t/u):t>>1,t+=v(t/e);while(t>g*s>>1)t=v(t/g),i+=a;return v(i+(g+1)*t/(t+l))},A=function(t){var e=[];t=T(t);var n,i,l=t.length,u=d,p=0,f=c;for(n=0;n<t.length;n++)i=t[n],i<128&&w(e,b(i));var g=e.length,y=g;g&&w(e,h);while(y<l){var x=r;for(n=0;n<t.length;n++)i=t[n],i>=u&&i<x&&(x=i);var S=y+1;if(x-u>v((r-p)/S))throw m(_);for(p+=(x-u)*S,u=x,n=0;n<t.length;n++){if(i=t[n],i<u&&++p>r)throw m(_);if(i==u){var L=p,k=a;while(1){var A=k<=f?o:k>=f+s?s:k-f;if(L<A)break;var I=L-A,Y=a-A;w(e,b(D(A+I%Y))),L=v(I/Y),k+=a}w(e,b(D(L))),f=O(p,S,y==g),p=0,y++}}p++,u++}return M(e,"")};t.exports=function(t){var e,n,i=[],r=L(S(k(t),f,"."),".");for(e=0;e<r.length;e++)n=r[e],w(i,y(p,n)?"xn--"+A(n):n);return M(i,".")}},"5fbd":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  144. //! moment.js locale configuration
  145. 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";
  146. //! moment.js locale configuration
  147. 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}))},6403:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  148. //! moment.js locale configuration
  149. 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";
  150. //! moment.js locale configuration
  151. var e=t.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,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[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});return e}))},6784:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  152. //! moment.js locale configuration
  153. 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}))},6887:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  154. //! moment.js locale configuration
  155. 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=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],s=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,l=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,u=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,c=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],d=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],h=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i],p=t.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:h,fullWeekdaysParse:c,shortWeekdaysParse:d,minWeekdaysParse:h,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:l,monthsShortStrictRegex:u,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:n},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){var e=1===t?"añ":"vet";return t+e},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(t){return"g.m."===t},meridiem:function(t,e,n){return t<12?"a.m.":"g.m."}});return p}))},"688b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  156. //! moment.js locale configuration
  157. 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";
  158. //! moment.js locale configuration
  159. 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}))},"6ce3":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  160. //! moment.js locale configuration
  161. var e=t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"én time",hh:"%d timer",d:"én dag",dd:"%d dager",w:"én uke",ww:"%d uker",M:"én måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))},"6d79":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  162. //! moment.js locale configuration
  163. 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";
  164. //! moment.js locale configuration
  165. 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}))},"6d8b":function(t,e,n){"use strict";n.r(e),n.d(e,"guid",(function(){return g})),n.d(e,"logError",(function(){return m})),n.d(e,"clone",(function(){return y})),n.d(e,"merge",(function(){return v})),n.d(e,"mergeAll",(function(){return b})),n.d(e,"extend",(function(){return x})),n.d(e,"defaults",(function(){return M})),n.d(e,"createCanvas",(function(){return w})),n.d(e,"indexOf",(function(){return S})),n.d(e,"inherits",(function(){return L})),n.d(e,"mixin",(function(){return k})),n.d(e,"isArrayLike",(function(){return T})),n.d(e,"each",(function(){return D})),n.d(e,"map",(function(){return O})),n.d(e,"reduce",(function(){return A})),n.d(e,"filter",(function(){return I})),n.d(e,"find",(function(){return Y})),n.d(e,"keys",(function(){return C})),n.d(e,"bind",(function(){return P})),n.d(e,"curry",(function(){return E})),n.d(e,"isArray",(function(){return R})),n.d(e,"isFunction",(function(){return N})),n.d(e,"isString",(function(){return H})),n.d(e,"isStringSafe",(function(){return z})),n.d(e,"isNumber",(function(){return B})),n.d(e,"isObject",(function(){return F})),n.d(e,"isBuiltInObject",(function(){return W})),n.d(e,"isTypedArray",(function(){return V})),n.d(e,"isDom",(function(){return G})),n.d(e,"isGradientObject",(function(){return U})),n.d(e,"isImagePatternObject",(function(){return X})),n.d(e,"isRegExp",(function(){return Z})),n.d(e,"eqNaN",(function(){return q})),n.d(e,"retrieve",(function(){return K})),n.d(e,"retrieve2",(function(){return J})),n.d(e,"retrieve3",(function(){return $})),n.d(e,"slice",(function(){return Q})),n.d(e,"normalizeCssArray",(function(){return tt})),n.d(e,"assert",(function(){return et})),n.d(e,"trim",(function(){return nt})),n.d(e,"setAsPrimitive",(function(){return rt})),n.d(e,"isPrimitive",(function(){return at})),n.d(e,"HashMap",(function(){return ot})),n.d(e,"createHashMap",(function(){return st})),n.d(e,"concatArray",(function(){return lt})),n.d(e,"createObject",(function(){return ut})),n.d(e,"disableUserSelect",(function(){return ct})),n.d(e,"hasOwn",(function(){return dt})),n.d(e,"noop",(function(){return ht})),n.d(e,"RADIAN_TO_DEGREE",(function(){return pt}));var i=n("726e"),r=A(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),a=A(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{}),o=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,c=s.slice,d=s.map,h=function(){}.constructor,p=h?h.prototype:null,f="__proto__",_=2311;function g(){return _++}function m(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!==typeof console&&console.error.apply(console,t)}function y(t){if(null==t||"object"!==typeof t)return t;var e=t,n=o.call(t);if("[object Array]"===n){if(!at(t)){e=[];for(var i=0,s=t.length;i<s;i++)e[i]=y(t[i])}}else if(a[n]){if(!at(t)){var l=t.constructor;if(l.from)e=l.from(t);else{e=new l(t.length);for(i=0,s=t.length;i<s;i++)e[i]=t[i]}}}else if(!r[n]&&!at(t)&&!G(t))for(var u in e={},t)t.hasOwnProperty(u)&&u!==f&&(e[u]=y(t[u]));return e}function v(t,e,n){if(!F(e)||!F(t))return n?y(e):t;for(var i in e)if(e.hasOwnProperty(i)&&i!==f){var r=t[i],a=e[i];!F(a)||!F(r)||R(a)||R(r)||G(a)||G(r)||W(a)||W(r)||at(a)||at(r)?!n&&i in t||(t[i]=y(e[i])):v(r,a,n)}return t}function b(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=v(n,t[i],e);return n}function x(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==f&&(t[n]=e[n]);return t}function M(t,e,n){for(var i=C(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 w=i["d"].createCanvas;function S(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 L(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 k(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 M(t,e,n)}function T(t){return!!t&&("string"!==typeof t&&"number"===typeof t.length)}function D(t,e,n){if(t&&e)if(t.forEach&&t.forEach===l)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 O(t,e,n){if(!t)return[];if(!e)return Q(t);if(t.map&&t.map===d)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 A(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 I(t,e,n){if(!t)return[];if(!e)return Q(t);if(t.filter&&t.filter===u)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 Y(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 C(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 j(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return t.apply(e,n.concat(c.call(arguments)))}}var P=p&&N(p.bind)?p.call.bind(p.bind):j;function E(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(c.call(arguments)))}}function R(t){return Array.isArray?Array.isArray(t):"[object Array]"===o.call(t)}function N(t){return"function"===typeof t}function H(t){return"string"===typeof t}function z(t){return"[object String]"===o.call(t)}function B(t){return"number"===typeof t}function F(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function W(t){return!!r[o.call(t)]}function V(t){return!!a[o.call(t)]}function G(t){return"object"===typeof t&&"number"===typeof t.nodeType&&"object"===typeof t.ownerDocument}function U(t){return null!=t.colorStops}function X(t){return null!=t.image}function Z(t){return"[object RegExp]"===o.call(t)}function q(t){return t!==t}function K(){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 J(t,e){return null!=t?t:e}function $(t,e,n){return null!=t?t:null!=e?e:n}function Q(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return c.apply(t,e)}function tt(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 et(t,e){if(!t)throw new Error(e)}function nt(t){return null==t?null:"function"===typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var it="__ec_primitive__";function rt(t){t[it]=!0}function at(t){return t[it]}var ot=function(){function t(e){this.data={};var n=R(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&&D(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 C(this.data)},t.prototype.removeKey=function(t){delete this.data[t]},t}();function st(t){return new ot(t)}function lt(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 ut(t,e){var n;if(Object.create)n=Object.create(t);else{var i=function(){};i.prototype=t,n=new i}return e&&x(n,e),n}function ct(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function dt(t,e){return t.hasOwnProperty(e)}function ht(){}var pt=180/Math.PI},"6e98":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  166. //! moment.js locale configuration
  167. var e=t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},"6f12":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  168. //! moment.js locale configuration
  169. 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";
  170. //! moment.js locale configuration
  171. 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";
  172. //! moment.js locale configuration
  173. 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}))},"726e":function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return a})),n.d(e,"d",(function(){return d})),n.d(e,"e",(function(){return h}));var i=12,r="sans-serif",a=i+"px "+r,o=20,s=100,l="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function u(t){var e={};if("undefined"===typeof JSON)return e;for(var n=0;n<t.length;n++){var i=String.fromCharCode(n+32),r=(t.charCodeAt(n)-o)/s;e[i]=r}return e}var c=u(l),d={createCanvas:function(){return"undefined"!==typeof document&&document.createElement("canvas")},measureText:function(){var t,e;return function(n,r){if(!t){var o=d.createCanvas();t=o&&o.getContext("2d")}if(t)return e!==r&&(e=t.font=r||a),t.measureText(n);n=n||"",r=r||a;var s=/^([0-9]*?)px$/.exec(r),l=+(s&&s[1])||i,u=0;if(r.indexOf("mono")>=0)u=l*n.length;else for(var h=0;h<n.length;h++){var p=c[n[h]];u+=null==p?l:p*l}return{width:u}}}(),loadImage:function(t,e,n){var i=new Image;return i.onload=e,i.onerror=n,i.src=t,i}};function h(t){for(var e in d)t[e]&&(d[e]=t[e])}},7333:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  174. //! moment.js locale configuration
  175. var e=t.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}});return e}))},"74dc":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  176. //! moment.js locale configuration
  177. var e=t.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});return e}))},7558:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  178. //! moment.js locale configuration
  179. function e(t,e,n,i){var r={s:["çend sanîye","çend sanîyeyan"],ss:[t+" sanîye",t+" sanîyeyan"],m:["deqîqeyek","deqîqeyekê"],mm:[t+" deqîqe",t+" deqîqeyan"],h:["saetek","saetekê"],hh:[t+" saet",t+" saetan"],d:["rojek","rojekê"],dd:[t+" roj",t+" rojan"],w:["hefteyek","hefteyekê"],ww:[t+" hefte",t+" hefteyan"],M:["mehek","mehekê"],MM:[t+" meh",t+" mehan"],y:["salek","salekê"],yy:[t+" sal",t+" salan"]};return e?r[n][0]:r[n][1]}function n(t){t=""+t;var e=t.substring(t.length-1),n=t.length>1?t.substring(t.length-2):"";return 12==n||13==n||"2"!=e&&"3"!=e&&"50"!=n&&"70"!=e&&"80"!=e?"ê":"yê"}var i=t.defineLocale("ku-kmr",{months:"Rêbendan_Sibat_Adar_Nîsan_Gulan_Hezîran_Tîrmeh_Tebax_Îlon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"Rêb_Sib_Ada_Nîs_Gul_Hez_Tîr_Teb_Îlo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yekşem_Duşem_Sêşem_Çarşem_Pêncşem_În_Şemî".split("_"),weekdaysShort:"Yek_Du_Sê_Çar_Pên_În_Şem".split("_"),weekdaysMin:"Ye_Du_Sê_Ça_Pê_În_Şe".split("_"),meridiem:function(t,e,n){return t<12?n?"bn":"BN":n?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[Îro di saet] LT [de]",nextDay:"[Sibê di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a borî di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"berî %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,w:e,ww:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(?:yê|ê|\.)/,ordinal:function(t,e){var i=e.toLowerCase();return i.includes("w")||i.includes("m")?t+".":t+n(t)},week:{dow:1,doy:4}});return i}))},"7a29":function(t,e,n){"use strict";(function(t){n.d(e,"p",(function(){return s})),n.d(e,"j",(function(){return u})),n.d(e,"q",(function(){return d})),n.d(e,"e",(function(){return h})),n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return f})),n.d(e,"i",(function(){return _})),n.d(e,"h",(function(){return g})),n.d(e,"l",(function(){return m})),n.d(e,"n",(function(){return v})),n.d(e,"m",(function(){return b})),n.d(e,"o",(function(){return x})),n.d(e,"k",(function(){return M})),n.d(e,"d",(function(){return w})),n.d(e,"f",(function(){return S})),n.d(e,"g",(function(){return L})),n.d(e,"c",(function(){return k}));var i=n("6d8b"),r=n("41ef"),a=n("22d1"),o=Math.round;function s(t){var e;if(t&&"transparent"!==t){if("string"===typeof t&&t.indexOf("rgba")>-1){var n=Object(r["parse"])(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var l=1e-4;function u(t){return t<l&&t>-l}function c(t){return o(1e3*t)/1e3}function d(t){return o(1e4*t)/1e4}function h(t){return"matrix("+c(t[0])+","+c(t[1])+","+c(t[2])+","+c(t[3])+","+d(t[4])+","+d(t[5])+")"}var p={left:"start",right:"end",center:"middle",middle:"middle"};function f(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}function _(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}function g(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 m(t){return t&&!!t.image}function y(t){return t&&!!t.svgElement}function v(t){return m(t)||y(t)}function b(t){return"linear"===t.type}function x(t){return"radial"===t.type}function M(t){return t&&("linear"===t.type||"radial"===t.type)}function w(t){return"url(#"+t+")"}function S(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function L(t){var e=t.x||0,n=t.y||0,r=(t.rotation||0)*i["RADIAN_TO_DEGREE"],a=Object(i["retrieve2"])(t.scaleX,1),s=Object(i["retrieve2"])(t.scaleY,1),l=t.skewX||0,u=t.skewY||0,c=[];return(e||n)&&c.push("translate("+e+"px,"+n+"px)"),r&&c.push("rotate("+r+")"),1===a&&1===s||c.push("scale("+a+","+s+")"),(l||u)&&c.push("skew("+o(l*i["RADIAN_TO_DEGREE"])+"deg, "+o(u*i["RADIAN_TO_DEGREE"])+"deg)"),c.join(" ")}var k=function(){return a["a"].hasGlobalWindow&&Object(i["isFunction"])(window.btoa)?function(t){return window.btoa(unescape(t))}:"undefined"!==typeof t?function(e){return t.from(e).toString("base64")}:function(t){return null}}()}).call(this,n("b639").Buffer)},"7be6":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  180. //! moment.js locale configuration
  181. 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";
  182. //! moment.js locale configuration
  183. 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}))},8155:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  184. //! moment.js locale configuration
  185. 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}))},"817d":function(t,e,n){var i,r,a;(function(o,s){r=[e,n("313e")],i=s,a="function"===typeof i?i.apply(e,r):i,void 0===a||(t.exports=a)})(0,(function(t,e){var n=function(t){"undefined"!==typeof console&&console&&console.error&&console.error(t)};if(e){var i=["#2ec7c9","#b6a2de","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],r={color:i,title:{textStyle:{fontWeight:"normal",color:"#008acd"}},visualMap:{itemWidth:15,color:["#5ab1ef","#e0ffff"]},toolbox:{iconStyle:{borderColor:i[0]}},tooltip:{borderWidth:0,backgroundColor:"rgba(50,50,50,0.5)",textStyle:{color:"#FFF"},axisPointer:{type:"line",lineStyle:{color:"#008acd"},crossStyle:{color:"#008acd"},shadowStyle:{color:"rgba(200,200,200,0.2)"}}},dataZoom:{dataBackgroundColor:"#efefff",fillerColor:"rgba(182,162,222,0.2)",handleColor:"#008acd"},grid:{borderColor:"#eee"},categoryAxis:{axisLine:{lineStyle:{color:"#008acd"}},splitLine:{lineStyle:{color:["#eee"]}}},valueAxis:{axisLine:{lineStyle:{color:"#008acd"}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.1)","rgba(200,200,200,0.1)"]}},splitLine:{lineStyle:{color:["#eee"]}}},timeline:{lineStyle:{color:"#008acd"},controlStyle:{color:"#008acd",borderColor:"#008acd"},symbol:"emptyCircle",symbolSize:3},line:{smooth:!0,symbol:"emptyCircle",symbolSize:3},candlestick:{itemStyle:{color:"#d87a80",color0:"#2ec7c9"},lineStyle:{width:1,color:"#d87a80",color0:"#2ec7c9"},areaStyle:{color:"#2ec7c9",color0:"#b6a2de"}},scatter:{symbol:"circle",symbolSize:4},map:{itemStyle:{color:"#ddd"},areaStyle:{color:"#fe994e"},label:{color:"#d87a80"}},graph:{itemStyle:{color:"#d87a80"},linkStyle:{color:"#2ec7c9"}},gauge:{axisLine:{lineStyle:{color:[[.2,"#2ec7c9"],[.8,"#5ab1ef"],[1,"#d87a80"]],width:10}},axisTick:{splitNumber:10,length:15,lineStyle:{color:"auto"}},splitLine:{length:22,lineStyle:{color:"auto"}},pointer:{width:5}}};e.registerTheme("macarons",r)}else n("ECharts is not Loaded")}))},"81e9":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  186. //! moment.js locale configuration
  187. 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":a=i?"sekunnin":"sekuntia";break;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";
  188. //! moment.js locale configuration
  189. 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";
  190. //! moment.js locale configuration
  191. var e=t.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,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";
  192. //! moment.js locale configuration
  193. 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}))},8840:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  194. //! moment.js locale configuration
  195. 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}))},"898b":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  196. //! moment.js locale configuration
  197. 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",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"});return a}))},"8d47":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  198. //! moment.js locale configuration
  199. function e(t){return"undefined"!==typeof Function&&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";
  200. //! moment.js locale configuration
  201. 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("_"),i=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function r(t){return t%10<5&&t%10>1&&~~(t/10)%10!==1}function a(t,e,n){var i=t+" ";switch(n){case"ss":return i+(r(t)?"sekundy":"sekund");case"m":return e?"minuta":"minutę";case"mm":return i+(r(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return i+(r(t)?"godziny":"godzin");case"ww":return i+(r(t)?"tygodnie":"tygodni");case"MM":return i+(r(t)?"miesiące":"miesięcy");case"yy":return i+(r(t)?"lata":"lat")}}var o=t.defineLocale("pl",{months:function(t,i){return t?/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("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,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:a,m:a,mm:a,h:a,hh:a,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:a,M:"miesiąc",MM:a,y:"rok",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o}))},"8dcb":function(t,e){t.exports=function(t){var e="[A-Za-z0-9\\._:-]+",n={className:"symbol",begin:"&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;"},i={begin:"\\s",contains:[{className:"meta-keyword",begin:"#?[a-z_][a-z1-9_-]+",illegal:"\\n"}]},r=t.inherit(i,{begin:"\\(",end:"\\)"}),a=t.inherit(t.APOS_STRING_MODE,{className:"meta-string"}),o=t.inherit(t.QUOTE_STRING_MODE,{className:"meta-string"}),s={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:e,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[n]},{begin:/'/,end:/'/,contains:[n]},{begin:/[^\s"'=<>`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:"<![a-z]",end:">",relevance:10,contains:[i,o,a,r,{begin:"\\[",end:"\\]",contains:[{className:"meta",begin:"<![a-z]",end:">",contains:[i,r,o,a]}]}]},t.COMMENT("\x3c!--","--\x3e",{relevance:10}),{begin:"<\\!\\[CDATA\\[",end:"\\]\\]>",relevance:10},n,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{begin:/<\?(php)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},t.inherit(t.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]},{className:"tag",begin:"<style(?=\\s|>)",end:">",keywords:{name:"style"},contains:[s],starts:{end:"</style>",returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:"<script(?=\\s|>)",end:">",keywords:{name:"script"},contains:[s],starts:{end:"<\/script>",returnEnd:!0,subLanguage:["actionscript","javascript","handlebars","xml"]}},{className:"tag",begin:"</?",end:"/?>",contains:[{className:"name",begin:/[^\/><\s]+/,relevance:0},s]}]}}},"8df48":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  202. //! moment.js locale configuration
  203. 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}))},"8e73":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  204. //! moment.js locale configuration
  205. 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";
  206. //! moment.js locale configuration
  207. 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";
  208. //! moment.js locale configuration
  209. 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}))},"957c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  210. //! moment.js locale configuration
  211. 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:"день_дня_дней",ww:"неделя_недели_недель",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,w:"неделя",ww: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";
  212. //! moment.js locale configuration
  213. 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";
  214. //! moment.js locale configuration
  215. 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}))},9686:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  216. //! moment.js locale configuration
  217. 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-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(t){return 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||"সকাল"===e?t:"দুপুর"===e?t>=3?t:t+12:"বিকাল"===e||"সন্ধ্যা"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"রাত":t<6?"ভোর":t<12?"সকাল":t<15?"দুপুর":t<18?"বিকাল":t<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}});return i}))},"972c":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  218. //! moment.js locale configuration
  219. function e(t,e,n){var i={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",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._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:e,m:"un minut",mm:e,h:"o oră",hh:e,d:"o zi",dd:e,w:"o săptămână",ww:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}});return n}))},9797:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  220. //! moment.js locale configuration
  221. 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}))},9861:function(t,e,n){n("5352")},"9f26":function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  222. //! moment.js locale configuration
  223. var e=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,i=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,r=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],a=t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:e,monthsShortStrictRegex:n,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}});return a}))},a356:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  224. //! moment.js locale configuration
  225. var e=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(t){return function(i,r,a,o){var s=e(i),l=n[t][e(i)];return 2===s&&(l=l[r?0:1]),l.replace(/%d/i,i)}},r=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],a=t.defineLocale("ar-dz",{months:r,monthsShort:r,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:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:0,doy:4}});return a}))},a6c1:function(t,e,n){var i,r;(function(){var a=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=18)}([,,function(t,e,n){"use strict";function i(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function r(t,e){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),e=e||"",t.indent_level>0&&(e=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=e,this.__base_string_length=e.length}function a(t,e){this.__indent_cache=new r(t,e),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var t=new i(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},i.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},i.prototype.has_match=function(t){for(var e=this.__items.length-1;e>=0;e--)if(this.__items[e].match(t))return!0;return!1},i.prototype.set_indent=function(t,e){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=e||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===t.__items[0]&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf("\n");-1!==e?this.__character_count=t.length-e:this.__character_count+=t.length},i.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){while(" "===this.last())this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t},r.prototype.get_indent_size=function(t,e){var n=this.__base_string_length;return e=e||0,t<0&&(n=0),n+=t*this.__indent_size,n+=e,n},r.prototype.get_indent_string=function(t,e){var n=this.__base_string;return e=e||0,t<0&&(t=0,n=""),e+=t*this.__indent_size,this.__ensure_cache(e),n+=this.__cache[e],n},r.prototype.__ensure_cache=function(t){while(t>=this.__cache.length)this.__add_column()},r.prototype.__add_column=function(){var t=this.__cache.length,e=0,n="";this.__indent_size&&t>=this.__indent_size&&(e=Math.floor(t/this.__indent_size),t-=e*this.__indent_size,n=new Array(e+1).join(this.__indent_string)),t&&(n+=new Array(t+1).join(" ")),this.__cache.push(n)},a.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},a.prototype.get_line_number=function(){return this.__lines.length},a.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)},a.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)},a.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},a.prototype.add_new_line=function(t){return!(this.is_empty()||!t&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},a.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==t&&(n=n.replace(/[\n]/g,t)),n},a.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},a.prototype.set_indent=function(t,e){return t=t||0,e=e||0,this.next_line.set_indent(t,e),this.__lines.length>1?(this.current_line.set_indent(t,e),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(t){for(var e=0;e<t.newlines;e++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},a.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},a.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},a.prototype.remove_indent=function(t){var e=this.__lines.length;while(t<e)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()},a.prototype.trim=function(t){t=void 0!==t&&t,this.current_line.trim();while(t&&this.__lines.length>1&&this.current_line.is_empty())this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},a.prototype.just_added_newline=function(){return this.current_line.is_empty()},a.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},a.prototype.ensure_empty_line_above=function(t,e){var n=this.__lines.length-2;while(n>=0){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(t)&&r.item(-1)!==e){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},t.exports.Output=a},function(t,e,n){"use strict";function i(t,e,n,i){this.type=t,this.text=e,this.comments_before=null,this.newlines=n||0,this.whitespace_before=i||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}t.exports.Token=i},,,function(t,e,n){"use strict";function i(t,e){this.raw_options=r(t,e),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function r(t,e){var n,i={};for(n in t=a(t),t)n!==e&&(i[n]=t[n]);if(e&&t[e])for(n in t[e])i[n]=t[e][n];return i}function a(t){var e,n={};for(e in t){var i=e.replace(/-/g,"_");n[i]=t[e]}return n}i.prototype._get_array=function(t,e){var n=this.raw_options[t],i=e||[];return"object"===typeof n?null!==n&&"function"===typeof n.concat&&(i=n.concat()):"string"===typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(t,e){var n=this.raw_options[t],i=void 0===n?!!e:!!n;return i},i.prototype._get_characters=function(t,e){var n=this.raw_options[t],i=e||"";return"string"===typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(t,e){var n=this.raw_options[t];e=parseInt(e,10),isNaN(e)&&(e=0);var i=parseInt(n,10);return isNaN(i)&&(i=e),i},i.prototype._get_selection=function(t,e,n){var i=this._get_selection_list(t,e,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+t+"' can only be one of the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return i[0]},i.prototype._get_selection_list=function(t,e,n){if(!e||0===e.length)throw new Error("Selection list cannot be empty.");if(n=n||[e[0]],!this._is_valid_selection(n,e))throw new Error("Invalid Default Value!");var i=this._get_array(t,n);if(!this._is_valid_selection(i,e))throw new Error("Invalid Option Value: The option '"+t+"' can contain only the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return i},i.prototype._is_valid_selection=function(t,e){return t.length&&e.length&&!t.some((function(t){return-1===e.indexOf(t)}))},t.exports.Options=i,t.exports.normalizeOpts=a,t.exports.mergeOpts=r},,function(t,e,n){"use strict";var i=RegExp.prototype.hasOwnProperty("sticky");function r(t){this.__input=t||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__input.charAt(this.__position),this.__position+=1),t},r.prototype.peek=function(t){var e=null;return t=t||0,t+=this.__position,t>=0&&t<this.__input_length&&(e=this.__input.charAt(t)),e},r.prototype.__match=function(t,e){t.lastIndex=e;var n=t.exec(this.__input);return!n||i&&t.sticky||n.index!==e&&(n=null),n},r.prototype.test=function(t,e){return e=e||0,e+=this.__position,e>=0&&e<this.__input_length&&!!this.__match(t,e)},r.prototype.testChar=function(t,e){var n=this.peek(e);return t.lastIndex=0,null!==n&&t.test(n)},r.prototype.match=function(t){var e=this.__match(t,this.__position);return e?this.__position+=e[0].length:e=null,e},r.prototype.read=function(t,e,n){var i,r="";return t&&(i=this.match(t),i&&(r+=i[0])),!e||!i&&t||(r+=this.readUntil(e,n)),r},r.prototype.readUntil=function(t,e){var n="",i=this.__position;t.lastIndex=this.__position;var r=t.exec(this.__input);return r?(i=r.index,e&&(i+=r[0].length)):i=this.__input_length,n=this.__input.substring(this.__position,i),this.__position=i,n},r.prototype.readUntilAfter=function(t){return this.readUntil(t,!0)},r.prototype.get_regexp=function(t,e){var n=null,r="g";return e&&i&&(r="y"),"string"===typeof t&&""!==t?n=new RegExp(t,r):t&&(n=new RegExp(t.source,r)),n},r.prototype.get_literal_regexp=function(t){return RegExp(t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(t){var e=this.__position,n=this.readUntilAfter(t);return this.__position=e,n},r.prototype.lookBack=function(t){var e=this.__position-1;return e>=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t},t.exports.InputScanner=r},function(t,e,n){"use strict";var i=n(8).InputScanner,r=n(3).Token,a=n(10).TokenStream,o=n(11).WhitespacePattern,s={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},l=function(t,e){this._input=new i(t),this._options=e||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new o(this._input)};l.prototype.tokenize=function(){var t;this._input.restart(),this.__tokens=new a,this._reset();var e=new r(s.START,""),n=null,i=[],o=new a;while(e.type!==s.EOF){t=this._get_next_token(e,n);while(this._is_comment(t))o.add(t),t=this._get_next_token(e,n);o.isEmpty()||(t.comments_before=o,o=new a),t.parent=n,this._is_opening(t)?(i.push(n),n=t):n&&this._is_closing(t,n)&&(t.opened=n,n.closed=t,n=i.pop(),t.parent=n),t.previous=e,e.next=t,this.__tokens.add(t),e=t}return this.__tokens},l.prototype._is_first_token=function(){return this.__tokens.isEmpty()},l.prototype._reset=function(){},l.prototype._get_next_token=function(t,e){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(s.RAW,n):this._create_token(s.EOF,"")},l.prototype._is_comment=function(t){return!1},l.prototype._is_opening=function(t){return!1},l.prototype._is_closing=function(t,e){return!1},l.prototype._create_token=function(t,e){var n=new r(t,e,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return n},l.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},t.exports.Tokenizer=l,t.exports.TOKEN=s},function(t,e,n){"use strict";function i(t){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=t}i.prototype.restart=function(){this.__position=0},i.prototype.isEmpty=function(){return 0===this.__tokens_length},i.prototype.hasNext=function(){return this.__position<this.__tokens_length},i.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__tokens[this.__position],this.__position+=1),t},i.prototype.peek=function(t){var e=null;return t=t||0,t+=this.__position,t>=0&&t<this.__tokens_length&&(e=this.__tokens[t]),e},i.prototype.add=function(t){this.__parent_token&&(t.parent=this.__parent_token),this.__tokens.push(t),this.__tokens_length+=1},t.exports.TokenStream=i},function(t,e,n){"use strict";var i=n(12).Pattern;function r(t,e){i.call(this,t,e),e?this._line_regexp=this._input.get_regexp(e._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}r.prototype=new i,r.prototype.__set_whitespace_patterns=function(t,e){t+="\\t ",e+="\\n\\r",this._match_pattern=this._input.get_regexp("["+t+e+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+e+"]")},r.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var t=this._input.read(this._match_pattern);if(" "===t)this.whitespace_before_token=" ";else if(t){var e=this.__split(this._newline_regexp,t);this.newline_count=e.length-1,this.whitespace_before_token=e[this.newline_count]}return t},r.prototype.matching=function(t,e){var n=this._create();return n.__set_whitespace_patterns(t,e),n._update(),n},r.prototype._create=function(){return new r(this._input,this)},r.prototype.__split=function(t,e){t.lastIndex=0;var n=0,i=[],r=t.exec(e);while(r)i.push(e.substring(n,r.index)),n=r.index+r[0].length,r=t.exec(e);return n<e.length?i.push(e.substring(n,e.length)):i.push(""),i},t.exports.WhitespacePattern=r},function(t,e,n){"use strict";function i(t,e){this._input=t,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,e&&(this._starting_pattern=this._input.get_regexp(e._starting_pattern,!0),this._match_pattern=this._input.get_regexp(e._match_pattern,!0),this._until_pattern=this._input.get_regexp(e._until_pattern),this._until_after=e._until_after)}i.prototype.read=function(){var t=this._input.read(this._starting_pattern);return this._starting_pattern&&!t||(t+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),t},i.prototype.read_match=function(){return this._input.match(this._match_pattern)},i.prototype.until_after=function(t){var e=this._create();return e._until_after=!0,e._until_pattern=this._input.get_regexp(t),e._update(),e},i.prototype.until=function(t){var e=this._create();return e._until_after=!1,e._until_pattern=this._input.get_regexp(t),e._update(),e},i.prototype.starting_with=function(t){var e=this._create();return e._starting_pattern=this._input.get_regexp(t,!0),e._update(),e},i.prototype.matching=function(t){var e=this._create();return e._match_pattern=this._input.get_regexp(t,!0),e._update(),e},i.prototype._create=function(){return new i(this._input,this)},i.prototype._update=function(){},t.exports.Pattern=i},function(t,e,n){"use strict";function i(t,e){t="string"===typeof t?t:t.source,e="string"===typeof e?e:e.source,this.__directives_block_pattern=new RegExp(t+/ beautify( \w+[:]\w+)+ /.source+e,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(t+/\sbeautify\signore:end\s/.source+e,"g")}i.prototype.get_directives=function(t){if(!t.match(this.__directives_block_pattern))return null;var e={};this.__directive_pattern.lastIndex=0;var n=this.__directive_pattern.exec(t);while(n)e[n[1]]=n[2],n=this.__directive_pattern.exec(t);return e},i.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)},t.exports.Directives=i},function(t,e,n){"use strict";var i=n(12).Pattern,r={django:!1,erb:!1,handlebars:!1,php:!1};function a(t,e){i.call(this,t,e),this.__template_pattern=null,this._disabled=Object.assign({},r),this._excluded=Object.assign({},r),e&&(this.__template_pattern=this._input.get_regexp(e.__template_pattern),this._excluded=Object.assign(this._excluded,e._excluded),this._disabled=Object.assign(this._disabled,e._disabled));var n=new i(t);this.__patterns={handlebars_comment:n.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:n.starting_with(/{{{/).until_after(/}}}/),handlebars:n.starting_with(/{{/).until_after(/}}/),php:n.starting_with(/<\?(?:[=]|php)/).until_after(/\?>/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/)}}a.prototype=new i,a.prototype._create=function(){return new a(this._input,this)},a.prototype._update=function(){this.__set_templated_pattern()},a.prototype.disable=function(t){var e=this._create();return e._disabled[t]=!0,e._update(),e},a.prototype.read_options=function(t){var e=this._create();for(var n in r)e._disabled[n]=-1===t.templating.indexOf(n);return e._update(),e},a.prototype.exclude=function(t){var e=this._create();return e._excluded[t]=!0,e._update(),e},a.prototype.read=function(){var t="";t=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);var e=this._read_template();while(e)this._match_pattern?e+=this._input.read(this._match_pattern):e+=this._input.readUntil(this.__template_pattern),t+=e,e=this._read_template();return this._until_after&&(t+=this._input.readUntilAfter(this._until_pattern)),t},a.prototype.__set_templated_pattern=function(){var t=[];this._disabled.php||t.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||t.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(t.push(this.__patterns.django._starting_pattern.source),t.push(this.__patterns.django_value._starting_pattern.source),t.push(this.__patterns.django_comment._starting_pattern.source)),this._until_pattern&&t.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+t.join("|")+")")},a.prototype._read_template=function(){var t="",e=this._input.peek();if("<"===e){var n=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==n||(t=t||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==n||(t=t||this.__patterns.erb.read())}else"{"===e&&(this._disabled.handlebars||this._excluded.handlebars||(t=t||this.__patterns.handlebars_comment.read(),t=t||this.__patterns.handlebars_unescaped.read(),t=t||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(t=t||this.__patterns.django_value.read()),this._excluded.django||(t=t||this.__patterns.django_comment.read(),t=t||this.__patterns.django.read())));return t},t.exports.TemplatablePattern=a},,,,function(t,e,n){"use strict";var i=n(19).Beautifier,r=n(20).Options;function a(t,e,n,r){var a=new i(t,e,n,r);return a.beautify()}t.exports=a,t.exports.defaultOptions=function(){return new r}},function(t,e,n){"use strict";var i=n(20).Options,r=n(2).Output,a=n(21).Tokenizer,o=n(21).TOKEN,s=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,u=function(t,e){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=t.max_preserve_newlines,this.preserve_newlines=t.preserve_newlines,this._output=new r(t,e)};u.prototype.current_line_has_match=function(t){return this._output.current_line.has_match(t)},u.prototype.set_space_before_token=function(t,e){this._output.space_before_token=t,this._output.non_breaking_space=e},u.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},u.prototype.add_raw_token=function(t){this._output.add_raw_token(t)},u.prototype.print_preserved_newlines=function(t){var e=0;t.type!==o.TEXT&&t.previous.type!==o.TEXT&&(e=t.newlines?1:0),this.preserve_newlines&&(e=t.newlines<this.max_preserve_newlines+1?t.newlines:this.max_preserve_newlines+1);for(var n=0;n<e;n++)this.print_newline(n>0);return 0!==e},u.prototype.traverse_whitespace=function(t){return!(!t.whitespace_before&&!t.newlines)&&(this.print_preserved_newlines(t)||(this._output.space_before_token=!0),!0)},u.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},u.prototype.print_newline=function(t){this._output.add_new_line(t)},u.prototype.print_token=function(t){t.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(t.text))},u.prototype.indent=function(){this.indent_level++},u.prototype.get_full_indent=function(t){return t=this.indent_level+(t||0),t<1?"":this._output.get_indent_string(t)};var c=function(t){var e=null,n=t.next;while(n.type!==o.EOF&&t.closed!==n){if(n.type===o.ATTRIBUTE&&"type"===n.text){n.next&&n.next.type===o.EQUALS&&n.next.next&&n.next.next.type===o.VALUE&&(e=n.next.next.text);break}n=n.next}return e},d=function(t,e){var n=null,i=null;return e.closed?("script"===t?n="text/javascript":"style"===t&&(n="text/css"),n=c(e)||n,n.search("text/css")>-1?i="css":n.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?i="javascript":n.search(/(text|application|dojo)\/(x-)?(html)/)>-1?i="html":n.search(/test\/null/)>-1&&(i="null"),i):null};function h(t,e){return-1!==e.indexOf(t)}function p(t,e,n){this.parent=t||null,this.tag=e?e.tag_name:"",this.indent_level=n||0,this.parser_token=e||null}function f(t){this._printer=t,this._current_frame=null}function _(t,e,n,r){this._source_text=t||"",e=e||{},this._js_beautify=n,this._css_beautify=r,this._tag_stack=null;var a=new i(e,"html");this._options=a,this._is_wrap_attributes_force="force"===this._options.wrap_attributes.substr(0,"force".length),this._is_wrap_attributes_force_expand_multiline="force-expand-multiline"===this._options.wrap_attributes,this._is_wrap_attributes_force_aligned="force-aligned"===this._options.wrap_attributes,this._is_wrap_attributes_aligned_multiple="aligned-multiple"===this._options.wrap_attributes,this._is_wrap_attributes_preserve="preserve"===this._options.wrap_attributes.substr(0,"preserve".length),this._is_wrap_attributes_preserve_aligned="preserve-aligned"===this._options.wrap_attributes}f.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},f.prototype.record_tag=function(t){var e=new p(this._current_frame,t,this._printer.indent_level);this._current_frame=e},f.prototype._try_pop_frame=function(t){var e=null;return t&&(e=t.parser_token,this._printer.indent_level=t.indent_level,this._current_frame=t.parent),e},f.prototype._get_frame=function(t,e){var n=this._current_frame;while(n){if(-1!==t.indexOf(n.tag))break;if(e&&-1!==e.indexOf(n.tag)){n=null;break}n=n.parent}return n},f.prototype.try_pop=function(t,e){var n=this._get_frame([t],e);return this._try_pop_frame(n)},f.prototype.indent_to_tag=function(t){var e=this._get_frame(t);e&&(this._printer.indent_level=e.indent_level)},_.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t=this._source_text,e=this._options.eol;"auto"===this._options.eol&&(e="\n",t&&s.test(t)&&(e=t.match(s)[0])),t=t.replace(l,"\n");var n=t.match(/^[\t ]*/)[0],i={text:"",type:""},r=new g,c=new u(this._options,n),d=new a(t,this._options).tokenize();this._tag_stack=new f(c);var h=null,p=d.next();while(p.type!==o.EOF)p.type===o.TAG_OPEN||p.type===o.COMMENT?(h=this._handle_tag_open(c,p,r,i),r=h):p.type===o.ATTRIBUTE||p.type===o.EQUALS||p.type===o.VALUE||p.type===o.TEXT&&!r.tag_complete?h=this._handle_inside_tag(c,p,r,d):p.type===o.TAG_CLOSE?h=this._handle_tag_close(c,p,r):p.type===o.TEXT?h=this._handle_text(c,p,r):c.add_raw_token(p),i=h,p=d.next();var _=c._output.get_code(e);return _},_.prototype._handle_tag_close=function(t,e,n){var i={text:e.text,type:e.type};return t.alignment_size=0,n.tag_complete=!0,t.set_space_before_token(e.newlines||""!==e.whitespace_before,!0),n.is_unformatted?t.add_raw_token(e):("<"===n.tag_start_char&&(t.set_space_before_token("/"===e.text[0],!0),this._is_wrap_attributes_force_expand_multiline&&n.has_wrapped_attrs&&t.print_newline(!1)),t.print_token(e)),!n.indent_content||n.is_unformatted||n.is_content_unformatted||(t.indent(),n.indent_content=!1),n.is_inline_element||n.is_unformatted||n.is_content_unformatted||t.set_wrap_point(),i},_.prototype._handle_inside_tag=function(t,e,n,i){var r=n.has_wrapped_attrs,a={text:e.text,type:e.type};if(t.set_space_before_token(e.newlines||""!==e.whitespace_before,!0),n.is_unformatted)t.add_raw_token(e);else if("{"===n.tag_start_char&&e.type===o.TEXT)t.print_preserved_newlines(e)?(e.newlines=0,t.add_raw_token(e)):t.print_token(e);else{if(e.type===o.ATTRIBUTE?(t.set_space_before_token(!0),n.attr_count+=1):(e.type===o.EQUALS||e.type===o.VALUE&&e.previous.type===o.EQUALS)&&t.set_space_before_token(!1),e.type===o.ATTRIBUTE&&"<"===n.tag_start_char&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(t.traverse_whitespace(e),r=r||0!==e.newlines),this._is_wrap_attributes_force)){var s=n.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&1===n.attr_count){var l,u=!0,c=0;do{if(l=i.peek(c),l.type===o.ATTRIBUTE){u=!1;break}c+=1}while(c<4&&l.type!==o.EOF&&l.type!==o.TAG_CLOSE);s=!u}s&&(t.print_newline(!1),r=!0)}t.print_token(e),r=r||t.previous_token_wrapped(),n.has_wrapped_attrs=r}return a},_.prototype._handle_text=function(t,e,n){var i={text:e.text,type:"TK_CONTENT"};return n.custom_beautifier_name?this._print_custom_beatifier_text(t,e,n):n.is_unformatted||n.is_content_unformatted?t.add_raw_token(e):(t.traverse_whitespace(e),t.print_token(e)),i},_.prototype._print_custom_beatifier_text=function(t,e,n){var i=this;if(""!==e.text){var r,a=e.text,o=1,s="",l="";"javascript"===n.custom_beautifier_name&&"function"===typeof this._js_beautify?r=this._js_beautify:"css"===n.custom_beautifier_name&&"function"===typeof this._css_beautify?r=this._css_beautify:"html"===n.custom_beautifier_name&&(r=function(t,e){var n=new _(t,e,i._js_beautify,i._css_beautify);return n.beautify()}),"keep"===this._options.indent_scripts?o=0:"separate"===this._options.indent_scripts&&(o=-t.indent_level);var u=t.get_full_indent(o);if(a=a.replace(/\n[ \t]*$/,""),"html"!==n.custom_beautifier_name&&"<"===a[0]&&a.match(/^(<!--|<!\[CDATA\[)/)){var c=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(a);if(!c)return void t.add_raw_token(e);s=u+c[1]+"\n",a=c[4],c[5]&&(l=u+c[5]),a=a.replace(/\n[ \t]*$/,""),(c[2]||-1!==c[3].indexOf("\n"))&&(c=c[3].match(/[ \t]+$/),c&&(e.whitespace_before=c[0]))}if(a)if(r){var d=function(){this.eol="\n"};d.prototype=this._options.raw_options;var h=new d;a=r(u+a,h)}else{var p=e.whitespace_before;p&&(a=a.replace(new RegExp("\n("+p+")?","g"),"\n")),a=u+a.replace(/\n/g,"\n"+u)}s&&(a=a?s+a+"\n"+l:s+l),t.print_newline(!1),a&&(e.text=a,e.whitespace_before="",e.newlines=0,t.add_raw_token(e),t.print_newline(!0))}},_.prototype._handle_tag_open=function(t,e,n,i){var r=this._get_tag_open_token(e);return!n.is_unformatted&&!n.is_content_unformatted||n.is_empty_element||e.type!==o.TAG_OPEN||0!==e.text.indexOf("</")?(t.traverse_whitespace(e),this._set_tag_position(t,e,r,n,i),r.is_inline_element||t.set_wrap_point(),t.print_token(e)):(t.add_raw_token(e),r.start_tag_token=this._tag_stack.try_pop(r.tag_name)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(r.alignment_size=e.text.length+1),r.tag_complete||r.is_unformatted||(t.alignment_size=r.alignment_size),r};var g=function(t,e){var n;(this.parent=t||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",e)?(this.tag_start_char=e.text[0],this.text=e.text,"<"===this.tag_start_char?(n=e.text.match(/^<([^\s>]*)/),this.tag_check=n?n[1]:""):(n=e.text.match(/^{{(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=n?n[1]:"","{{#>"===e.text&&">"===this.tag_check&&null!==e.next&&(this.tag_check=e.next.text)),this.tag_check=this.tag_check.toLowerCase(),e.type===o.COMMENT&&(this.tag_complete=!0),this.is_start_tag="/"!==this.tag_check.charAt(0),this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||e.closed&&"/>"===e.closed.text,this.is_end_tag=this.is_end_tag||"{"===this.tag_start_char&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(2)))):this.tag_complete=!0};_.prototype._get_tag_open_token=function(t){var e=new g(this._tag_stack.get_parser_token(),t);return e.alignment_size=this._options.wrap_attributes_indent_size,e.is_end_tag=e.is_end_tag||h(e.tag_check,this._options.void_elements),e.is_empty_element=e.tag_complete||e.is_start_tag&&e.is_end_tag,e.is_unformatted=!e.tag_complete&&h(e.tag_check,this._options.unformatted),e.is_content_unformatted=!e.is_empty_element&&h(e.tag_check,this._options.content_unformatted),e.is_inline_element=h(e.tag_name,this._options.inline)||"{"===e.tag_start_char,e},_.prototype._set_tag_position=function(t,e,n,i,r){if(n.is_empty_element||(n.is_end_tag?n.start_tag_token=this._tag_stack.try_pop(n.tag_name):(this._do_optional_end_element(n)&&(n.is_inline_element||t.print_newline(!1)),this._tag_stack.record_tag(n),"script"!==n.tag_name&&"style"!==n.tag_name||n.is_unformatted||n.is_content_unformatted||(n.custom_beautifier_name=d(n.tag_check,e)))),h(n.tag_check,this._options.extra_liners)&&(t.print_newline(!1),t._output.just_added_blankline()||t.print_newline(!0)),n.is_empty_element){if("{"===n.tag_start_char&&"else"===n.tag_check){this._tag_stack.indent_to_tag(["if","unless","each"]),n.indent_content=!0;var a=t.current_line_has_match(/{{#if/);a||t.print_newline(!1)}"!--"===n.tag_name&&r.type===o.TAG_CLOSE&&i.is_end_tag&&-1===n.text.indexOf("\n")||(n.is_inline_element||n.is_unformatted||t.print_newline(!1),this._calcluate_parent_multiline(t,n))}else if(n.is_end_tag){var s=!1;s=n.start_tag_token&&n.start_tag_token.multiline_content,s=s||!n.is_inline_element&&!(i.is_inline_element||i.is_unformatted)&&!(r.type===o.TAG_CLOSE&&n.start_tag_token===i)&&"TK_CONTENT"!==r.type,(n.is_content_unformatted||n.is_unformatted)&&(s=!1),s&&t.print_newline(!1)}else n.indent_content=!n.custom_beautifier_name,"<"===n.tag_start_char&&("html"===n.tag_name?n.indent_content=this._options.indent_inner_html:"head"===n.tag_name?n.indent_content=this._options.indent_head_inner_html:"body"===n.tag_name&&(n.indent_content=this._options.indent_body_inner_html)),n.is_inline_element||n.is_unformatted||"TK_CONTENT"===r.type&&!n.is_content_unformatted||t.print_newline(!1),this._calcluate_parent_multiline(t,n)},_.prototype._calcluate_parent_multiline=function(t,e){!e.parent||!t._output.just_added_newline()||(e.is_inline_element||e.is_unformatted)&&e.parent.is_inline_element||(e.parent.multiline_content=!0)};var m=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],y=["a","audio","del","ins","map","noscript","video"];_.prototype._do_optional_end_element=function(t){var e=null;if(!t.is_empty_element&&t.is_start_tag&&t.parent){if("body"===t.tag_name)e=e||this._tag_stack.try_pop("head");else if("li"===t.tag_name)e=e||this._tag_stack.try_pop("li",["ol","ul"]);else if("dd"===t.tag_name||"dt"===t.tag_name)e=e||this._tag_stack.try_pop("dt",["dl"]),e=e||this._tag_stack.try_pop("dd",["dl"]);else if("p"===t.parent.tag_name&&-1!==m.indexOf(t.tag_name)){var n=t.parent.parent;n&&-1!==y.indexOf(n.tag_name)||(e=e||this._tag_stack.try_pop("p"))}else"rp"===t.tag_name||"rt"===t.tag_name?(e=e||this._tag_stack.try_pop("rt",["ruby","rtc"]),e=e||this._tag_stack.try_pop("rp",["ruby","rtc"])):"optgroup"===t.tag_name?e=e||this._tag_stack.try_pop("optgroup",["select"]):"option"===t.tag_name?e=e||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):"colgroup"===t.tag_name?e=e||this._tag_stack.try_pop("caption",["table"]):"thead"===t.tag_name?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"])):"tbody"===t.tag_name||"tfoot"===t.tag_name?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"]),e=e||this._tag_stack.try_pop("thead",["table"]),e=e||this._tag_stack.try_pop("tbody",["table"])):"tr"===t.tag_name?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"]),e=e||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):"th"!==t.tag_name&&"td"!==t.tag_name||(e=e||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),e=e||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return t.parent=this._tag_stack.get_parser_token(),e}},t.exports.Beautifier=_},function(t,e,n){"use strict";var i=n(6).Options;function r(t){i.call(this,t,"html"),1===this.templating.length&&"auto"===this.templating[0]&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}r.prototype=new i,t.exports.Options=r},function(t,e,n){"use strict";var i=n(9).Tokenizer,r=n(9).TOKEN,a=n(13).Directives,o=n(14).TemplatablePattern,s=n(12).Pattern,l={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:r.START,RAW:r.RAW,EOF:r.EOF},u=new a(/<\!--/,/-->/),c=function(t,e){i.call(this,t,e),this._current_tag_name="";var n=new o(this._input).read_options(this._options),r=new s(this._input);if(this.__patterns={word:n.until(/[\n\r\t <]/),single_quote:n.until_after(/'/),double_quote:n.until_after(/"/),attribute:n.until(/[\n\r\t =>]|\/>/),element_name:n.until(/[\n\r\t >\/]/),handlebars_comment:r.starting_with(/{{!--/).until_after(/--}}/),handlebars:r.starting_with(/{{/).until_after(/}}/),handlebars_open:r.until(/[\n\r\t }]/),handlebars_raw_close:r.until(/}}/),comment:r.starting_with(/<!--/).until_after(/-->/),cdata:r.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:r.starting_with(/<!\[/).until_after(/]>/),processing:r.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var a=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=r.matching(a).until_after(a)}};c.prototype=new i,c.prototype._is_comment=function(t){return!1},c.prototype._is_opening=function(t){return t.type===l.TAG_OPEN},c.prototype._is_closing=function(t,e){return t.type===l.TAG_CLOSE&&e&&((">"===t.text||"/>"===t.text)&&"<"===e.text[0]||"}}"===t.text&&"{"===e.text[0]&&"{"===e.text[1])},c.prototype._reset=function(){this._current_tag_name=""},c.prototype._get_next_token=function(t,e){var n=null;this._readWhitespace();var i=this._input.peek();return null===i?this._create_token(l.EOF,""):(n=n||this._read_open_handlebars(i,e),n=n||this._read_attribute(i,t,e),n=n||this._read_close(i,e),n=n||this._read_raw_content(i,t,e),n=n||this._read_content_word(i),n=n||this._read_comment_or_cdata(i),n=n||this._read_processing(i),n=n||this._read_open(i,e),n=n||this._create_token(l.UNKNOWN,this._input.next()),n)},c.prototype._read_comment_or_cdata=function(t){var e=null,n=null,i=null;if("<"===t){var r=this._input.peek(1);"!"===r&&(n=this.__patterns.comment.read(),n?(i=u.get_directives(n),i&&"start"===i.ignore&&(n+=u.readIgnored(this._input))):n=this.__patterns.cdata.read()),n&&(e=this._create_token(l.COMMENT,n),e.directives=i)}return e},c.prototype._read_processing=function(t){var e=null,n=null,i=null;if("<"===t){var r=this._input.peek(1);"!"!==r&&"?"!==r||(n=this.__patterns.conditional_comment.read(),n=n||this.__patterns.processing.read()),n&&(e=this._create_token(l.COMMENT,n),e.directives=i)}return e},c.prototype._read_open=function(t,e){var n=null,i=null;return e||"<"===t&&(n=this._input.next(),"/"===this._input.peek()&&(n+=this._input.next()),n+=this.__patterns.element_name.read(),i=this._create_token(l.TAG_OPEN,n)),i},c.prototype._read_open_handlebars=function(t,e){var n=null,i=null;return e||this._options.indent_handlebars&&"{"===t&&"{"===this._input.peek(1)&&("!"===this._input.peek(2)?(n=this.__patterns.handlebars_comment.read(),n=n||this.__patterns.handlebars.read(),i=this._create_token(l.COMMENT,n)):(n=this.__patterns.handlebars_open.read(),i=this._create_token(l.TAG_OPEN,n))),i},c.prototype._read_close=function(t,e){var n=null,i=null;return e&&("<"===e.text[0]&&(">"===t||"/"===t&&">"===this._input.peek(1))?(n=this._input.next(),"/"===t&&(n+=this._input.next()),i=this._create_token(l.TAG_CLOSE,n)):"{"===e.text[0]&&"}"===t&&"}"===this._input.peek(1)&&(this._input.next(),this._input.next(),i=this._create_token(l.TAG_CLOSE,"}}"))),i},c.prototype._read_attribute=function(t,e,n){var i=null,r="";if(n&&"<"===n.text[0])if("="===t)i=this._create_token(l.EQUALS,this._input.next());else if('"'===t||"'"===t){var a=this._input.next();a+='"'===t?this.__patterns.double_quote.read():this.__patterns.single_quote.read(),i=this._create_token(l.VALUE,a)}else r=this.__patterns.attribute.read(),r&&(i=e.type===l.EQUALS?this._create_token(l.VALUE,r):this._create_token(l.ATTRIBUTE,r));return i},c.prototype._is_content_unformatted=function(t){return-1===this._options.void_elements.indexOf(t)&&(-1!==this._options.content_unformatted.indexOf(t)||-1!==this._options.unformatted.indexOf(t))},c.prototype._read_raw_content=function(t,e,n){var i="";if(n&&"{"===n.text[0])i=this.__patterns.handlebars_raw_close.read();else if(e.type===l.TAG_CLOSE&&"<"===e.opened.text[0]&&"/"!==e.text[0]){var r=e.opened.text.substr(1).toLowerCase();if("script"===r||"style"===r){var a=this._read_comment_or_cdata(t);if(a)return a.type=l.TEXT,a;i=this._input.readUntil(new RegExp("</"+r+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(r)&&(i=this._input.readUntil(new RegExp("</"+r+"[\\n\\r\\t ]*?>","ig")))}return i?this._create_token(l.TEXT,i):null},c.prototype._read_content_word=function(t){var e="";if(this._options.unformatted_content_delimiter&&t===this._options.unformatted_content_delimiter[0]&&(e=this.__patterns.unformatted_content_delimiter.read()),e||(e=this.__patterns.word.read()),e)return this._create_token(l.TEXT,e)},t.exports.Tokenizer=c,t.exports.TOKEN=l}]),o=a;i=[n,n("e943"),n("4d7c")],r=function(t){var e=n("e943"),i=n("4d7c");return{html_beautify:function(t,n){return o(t,n,e.js_beautify,i.css_beautify)}}}.apply(e,i),void 0===r||(t.exports=r)})()},a70e:function(t,e,n){(function(n){var i,r;(function(n){var a="object"===typeof window&&window||"object"===typeof self&&self;e.nodeType?a&&(a.hljs=n({}),i=[],r=function(){return a.hljs}.apply(e,i),void 0===r||(t.exports=r)):n(e)})((function(t){var e,i=!1,r=[],a=Object.keys,o=Object.create(null),s=Object.create(null),l=!0,u=/^(no-?highlight|plain|text)$/i,c=/\blang(?:uage)?-([\w-]+)\b/i,d=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,h="</span>",p="Could not find the language '{}', did you forget to load/include a language module?",f={hideUpgradeWarningAcceptNoSupportOrSecurityUpdates:!1,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0},_="of and for in not or if then".split(" ");function g(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function m(t){return t.nodeName.toLowerCase()}function y(t,e){var n=t&&t.exec(e);return n&&0===n.index}function v(t){return u.test(t)}function b(t){var e,n,i,r,a=t.className+" ";if(a+=t.parentNode?t.parentNode.className:"",n=c.exec(a),n){var o=V(n[1]);return o||(console.warn(p.replace("{}",n[1])),console.warn("Falling back to no-highlight mode for this block.",t)),o?n[1]:"no-highlight"}for(a=a.split(/\s+/),e=0,i=a.length;e<i;e++)if(r=a[e],v(r)||V(r))return r}function x(t){var e,n={},i=Array.prototype.slice.call(arguments,1);for(e in t)n[e]=t[e];return i.forEach((function(t){for(e in t)n[e]=t[e]})),n}function M(t){var e=[];return function t(n,i){for(var r=n.firstChild;r;r=r.nextSibling)3===r.nodeType?i+=r.nodeValue.length:1===r.nodeType&&(e.push({event:"start",offset:i,node:r}),i=t(r,i),m(r).match(/br|hr|img|input/)||e.push({event:"stop",offset:i,node:r}));return i}(t,0),e}function w(t,e,n){var i=0,a="",o=[];function s(){return t.length&&e.length?t[0].offset!==e[0].offset?t[0].offset<e[0].offset?t:e:"start"===e[0].event?t:e:t.length?t:e}function l(t){function e(t){return" "+t.nodeName+'="'+g(t.value).replace(/"/g,"&quot;")+'"'}a+="<"+m(t)+r.map.call(t.attributes,e).join("")+">"}function u(t){a+="</"+m(t)+">"}function c(t){("start"===t.event?l:u)(t.node)}while(t.length||e.length){var d=s();if(a+=g(n.substring(i,d[0].offset)),i=d[0].offset,d===t){o.reverse().forEach(u);do{c(d.splice(0,1)[0]),d=s()}while(d===t&&d.length&&d[0].offset===i);o.reverse().forEach(l)}else"start"===d[0].event?o.push(d[0].node):o.pop(),c(d.splice(0,1)[0])}return a+g(n.substr(i))}function S(t){return!!t&&(t.endsWithParent||S(t.starts))}function L(t){return t.variants&&!t.cached_variants&&(t.cached_variants=t.variants.map((function(e){return x(t,{variants:null},e)}))),t.cached_variants?t.cached_variants:S(t)?[x(t,{starts:t.starts?x(t.starts):null})]:Object.isFrozen(t)?[x(t)]:[t]}function k(t){if(e&&!t.langApiRestored){for(var n in t.langApiRestored=!0,e)t[n]&&(t[e[n]]=t[n]);(t.contains||[]).concat(t.variants||[]).forEach(k)}}function T(t,e){var n={};return"string"===typeof t?i("keyword",t):a(t).forEach((function(e){i(e,t[e])})),n;function i(t,i){e&&(i=i.toLowerCase()),i.split(" ").forEach((function(e){var i=e.split("|");n[i[0]]=[t,D(i[0],i[1])]}))}}function D(t,e){return e?Number(e):O(t)?0:1}function O(t){return-1!=_.indexOf(t.toLowerCase())}function A(t){function e(t){return t&&t.source||t}function n(n,i){return new RegExp(e(n),"m"+(t.case_insensitive?"i":"")+(i?"g":""))}function i(t){return new RegExp(t.toString()+"|").exec("").length-1}function r(t,n){for(var i=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,r=0,a="",o=0;o<t.length;o++){r+=1;var s=r,l=e(t[o]);o>0&&(a+=n),a+="(";while(l.length>0){var u=i.exec(l);if(null==u){a+=l;break}a+=l.substring(0,u.index),l=l.substring(u.index+u[0].length),"\\"==u[0][0]&&u[1]?a+="\\"+String(Number(u[1])+s):(a+=u[0],"("==u[0]&&r++)}a+=")"}return a}function a(t){var e,a,o={},s=[],l={},u=1;function c(t,e){o[u]=t,s.push([t,e]),u+=i(e)+1}for(var d=0;d<t.contains.length;d++){var h;a=t.contains[d],h=a.beginKeywords?"\\.?(?:"+a.begin+")\\.?":a.begin,c(a,h)}t.terminator_end&&c("end",t.terminator_end),t.illegal&&c("illegal",t.illegal);var p=s.map((function(t){return t[1]}));return e=n(r(p,"|"),!0),l.lastIndex=0,l.exec=function(n){var i;if(0===s.length)return null;e.lastIndex=l.lastIndex;var r=e.exec(n);if(!r)return null;for(var a=0;a<r.length;a++)if(void 0!=r[a]&&void 0!=o[""+a]){i=o[""+a];break}return"string"===typeof i?(r.type=i,r.extra=[t.illegal,t.terminator_end]):(r.type="begin",r.rule=i),r},l}function o(i,r){i.compiled||(i.compiled=!0,i.keywords=i.keywords||i.beginKeywords,i.keywords&&(i.keywords=T(i.keywords,t.case_insensitive)),i.lexemesRe=n(i.lexemes||/\w+/,!0),r&&(i.beginKeywords&&(i.begin="\\b("+i.beginKeywords.split(" ").join("|")+")\\b"),i.begin||(i.begin=/\B|\b/),i.beginRe=n(i.begin),i.endSameAsBegin&&(i.end=i.begin),i.end||i.endsWithParent||(i.end=/\B|\b/),i.end&&(i.endRe=n(i.end)),i.terminator_end=e(i.end)||"",i.endsWithParent&&r.terminator_end&&(i.terminator_end+=(i.end?"|":"")+r.terminator_end)),i.illegal&&(i.illegalRe=n(i.illegal)),null==i.relevance&&(i.relevance=1),i.contains||(i.contains=[]),i.contains=Array.prototype.concat.apply([],i.contains.map((function(t){return L("self"===t?i:t)}))),i.contains.forEach((function(t){o(t,i)})),i.starts&&o(i.starts,r),i.terminators=a(i))}if(t.contains&&-1!=t.contains.indexOf("self")){if(!l)throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");t.contains=t.contains.filter((function(t){return"self"!=t}))}o(t)}function I(){return!!f.hideUpgradeWarningAcceptNoSupportOrSecurityUpdates||(!("object"!==typeof n||!Object({NODE_ENV:"production",VUE_APP_BASE_API:"/API",VUE_APP_TITLE:"调解系统",BASE_URL:"/"})["HLJS_HIDE_UPGRADE_WARNING"])||void 0)}function Y(t,e,n,r){I()||i||(i=!0,console.log("Version 9 of Highlight.js has reached EOL and is no longer supported.\nPlease upgrade or ask whatever dependency you are using to upgrade.\nhttps://github.com/highlightjs/highlight.js/issues/2877"));var a=e;function s(t){return new RegExp(t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function u(t,e){if(y(t.endRe,e)){while(t.endsParent&&t.parent)t=t.parent;return t}if(t.endsWithParent)return u(t.parent,e)}function c(t,e){var n=L.case_insensitive?e[0].toLowerCase():e[0];return t.keywords.hasOwnProperty(n)&&t.keywords[n]}function d(t,e,n,i){if(!n&&""===e)return"";if(!t)return e;var r=i?"":f.classPrefix,a='<span class="'+r,o=n?"":h;return a+=t+'">',a+e+o}function _(){var t,e,n,i;if(!T.keywords)return g(j);i="",e=0,T.lexemesRe.lastIndex=0,n=T.lexemesRe.exec(j);while(n)i+=g(j.substring(e,n.index)),t=c(T,n),t?(P+=t[1],i+=d(t[0],g(n[0]))):i+=g(n[0]),e=T.lexemesRe.lastIndex,n=T.lexemesRe.exec(j);return i+g(j.substr(e))}function m(){var t="string"===typeof T.subLanguage;if(t&&!o[T.subLanguage])return g(j);var e=t?Y(T.subLanguage,j,!0,D[T.subLanguage]):C(j,T.subLanguage.length?T.subLanguage:void 0);return T.relevance>0&&(P+=e.relevance),t&&(D[T.subLanguage]=e.top),d(e.language,e.value,!1,!0)}function v(){O+=null!=T.subLanguage?m():_(),j=""}function b(t){O+=t.className?d(t.className,"",!0):"",T=Object.create(t,{parent:{value:T}})}function x(t){var e=t[0],n=t.rule;return n&&n.endSameAsBegin&&(n.endRe=s(e)),n.skip?j+=e:(n.excludeBegin&&(j+=e),v(),n.returnBegin||n.excludeBegin||(j=e)),b(n),n.returnBegin?0:e.length}function M(t){var e=t[0],n=a.substr(t.index),i=u(T,n);if(i){var r=T;r.skip?j+=e:(r.returnEnd||r.excludeEnd||(j+=e),v(),r.excludeEnd&&(j=e));do{T.className&&(O+=h),T.skip||T.subLanguage||(P+=T.relevance),T=T.parent}while(T!==i.parent);return i.starts&&(i.endSameAsBegin&&(i.starts.endRe=i.endRe),b(i.starts)),r.returnEnd?0:e.length}}var w={};function S(t,e){var i=e&&e[0];if(j+=t,null==i)return v(),0;if("begin"==w.type&&"end"==e.type&&w.index==e.index&&""===i)return j+=a.slice(e.index,e.index+1),1;if("illegal"===w.type&&""===i)return j+=a.slice(e.index,e.index+1),1;if(w=e,"begin"===e.type)return x(e);if("illegal"===e.type&&!n)throw new Error('Illegal lexeme "'+i+'" for mode "'+(T.className||"<unnamed>")+'"');if("end"===e.type){var r=M(e);if(void 0!=r)return r}return j+=i,i.length}var L=V(t);if(!L)throw console.error(p.replace("{}",t)),new Error('Unknown language: "'+t+'"');A(L);var k,T=r||L,D={},O="";for(k=T;k!==L;k=k.parent)k.className&&(O=d(k.className,"",!0)+O);var j="",P=0;try{var E,R,N=0;while(1){if(T.terminators.lastIndex=N,E=T.terminators.exec(a),!E)break;R=S(a.substring(N,E.index),E),N=E.index+R}for(S(a.substr(N)),k=T;k.parent;k=k.parent)k.className&&(O+=h);return{relevance:P,value:O,illegal:!1,language:t,top:T}}catch(H){if(H.message&&-1!==H.message.indexOf("Illegal"))return{illegal:!0,relevance:0,value:g(a)};if(l)return{relevance:0,value:g(a),language:t,top:T,errorRaised:H};throw H}}function C(t,e){e=e||f.languages||a(o);var n={relevance:0,value:g(t)},i=n;return e.filter(V).filter(G).forEach((function(e){var r=Y(e,t,!1);r.language=e,r.relevance>i.relevance&&(i=r),r.relevance>n.relevance&&(i=n,n=r)})),i.language&&(n.second_best=i),n}function j(t){return f.tabReplace||f.useBR?t.replace(d,(function(t,e){return f.useBR&&"\n"===t?"<br>":f.tabReplace?e.replace(/\t/g,f.tabReplace):""})):t}function P(t,e,n){var i=e?s[e]:n,r=[t.trim()];return t.match(/\bhljs\b/)||r.push("hljs"),-1===t.indexOf(i)&&r.push(i),r.join(" ").trim()}function E(t){var e,n,i,r,a,o=b(t);v(o)||(f.useBR?(e=document.createElement("div"),e.innerHTML=t.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n")):e=t,a=e.textContent,i=o?Y(o,a,!0):C(a),n=M(e),n.length&&(r=document.createElement("div"),r.innerHTML=i.value,i.value=w(n,M(r),a)),i.value=j(i.value),t.innerHTML=i.value,t.className=P(t.className,o,i.language),t.result={language:i.language,re:i.relevance},i.second_best&&(t.second_best={language:i.second_best.language,re:i.second_best.relevance}))}function R(t){f=x(f,t)}function N(){if(!N.called){N.called=!0;var t=document.querySelectorAll("pre code");r.forEach.call(t,E)}}function H(){window.addEventListener("DOMContentLoaded",N,!1),window.addEventListener("load",N,!1)}var z={disableAutodetect:!0};function B(e,n){var i;try{i=n(t)}catch(r){if(console.error("Language definition for '{}' could not be registered.".replace("{}",e)),!l)throw r;console.error(r),i=z}o[e]=i,k(i),i.rawDefinition=n.bind(null,t),i.aliases&&i.aliases.forEach((function(t){s[t]=e}))}function F(){return a(o)}function W(t){var e=V(t);if(e)return e;var n=new Error("The '{}' language is required, but not loaded.".replace("{}",t));throw n}function V(t){return t=(t||"").toLowerCase(),o[t]||o[s[t]]}function G(t){var e=V(t);return e&&!e.disableAutodetect}t.highlight=Y,t.highlightAuto=C,t.fixMarkup=j,t.highlightBlock=E,t.configure=R,t.initHighlighting=N,t.initHighlightingOnLoad=H,t.registerLanguage=B,t.listLanguages=F,t.getLanguage=V,t.requireLanguage=W,t.autoDetection=G,t.inherit=x,t.debugMode=function(){l=!1},t.IDENT_RE="[a-zA-Z]\\w*",t.UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",t.NUMBER_RE="\\b\\d+(\\.\\d+)?",t.C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",t.BINARY_NUMBER_RE="\\b(0b[01]+)",t.RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",t.BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},t.APOS_STRING_MODE={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},t.QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},t.PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},t.COMMENT=function(e,n,i){var r=t.inherit({className:"comment",begin:e,end:n,contains:[]},i||{});return r.contains.push(t.PHRASAL_WORDS_MODE),r.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|XXX):",relevance:0}),r},t.C_LINE_COMMENT_MODE=t.COMMENT("//","$"),t.C_BLOCK_COMMENT_MODE=t.COMMENT("/\\*","\\*/"),t.HASH_COMMENT_MODE=t.COMMENT("#","$"),t.NUMBER_MODE={className:"number",begin:t.NUMBER_RE,relevance:0},t.C_NUMBER_MODE={className:"number",begin:t.C_NUMBER_RE,relevance:0},t.BINARY_NUMBER_MODE={className:"number",begin:t.BINARY_NUMBER_RE,relevance:0},t.CSS_NUMBER_MODE={className:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},t.REGEXP_MODE={className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[t.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[t.BACKSLASH_ESCAPE]}]},t.TITLE_MODE={className:"title",begin:t.IDENT_RE,relevance:0},t.UNDERSCORE_TITLE_MODE={className:"title",begin:t.UNDERSCORE_IDENT_RE,relevance:0},t.METHOD_GUARD={begin:"\\.\\s*"+t.UNDERSCORE_IDENT_RE,relevance:0};var U=[t.BACKSLASH_ESCAPE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.PHRASAL_WORDS_MODE,t.COMMENT,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.HASH_COMMENT_MODE,t.NUMBER_MODE,t.C_NUMBER_MODE,t.BINARY_NUMBER_MODE,t.CSS_NUMBER_MODE,t.REGEXP_MODE,t.TITLE_MODE,t.UNDERSCORE_TITLE_MODE,t.METHOD_GUARD];function X(t){Object.freeze(t);var e="function"===typeof t;return Object.getOwnPropertyNames(t).forEach((function(n){!t.hasOwnProperty(n)||null===t[n]||"object"!==typeof t[n]&&"function"!==typeof t[n]||e&&("caller"===n||"callee"===n||"arguments"===n)||Object.isFrozen(t[n])||X(t[n])})),t}return U.forEach((function(t){X(t)})),t}))}).call(this,n("4362"))},a7fa:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  226. //! moment.js locale configuration
  227. 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}))},aaf2:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  228. //! moment.js locale configuration
  229. function e(t,e,n,i){var r={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[t+" सॅकंडांनी",t+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[t+" मिणटांनी",t+" मिणटां"],h:["एका वरान","एक वर"],hh:[t+" वरांनी",t+" वरां"],d:["एका दिसान","एक दीस"],dd:[t+" दिसांनी",t+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[t+" म्हयन्यानी",t+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[t+" वर्सांनी",t+" वर्सां"]};return i?r[n][0]:r[n][1]}var n=t.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(t,e){switch(e){case"D":return t+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(t,e){return 12===t&&(t=0),"राती"===e?t<4?t:t+12:"सकाळीं"===e?t:"दनपारां"===e?t>12?t:t+12:"सांजे"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"राती":t<12?"सकाळीं":t<16?"दनपारां":t<20?"सांजे":"राती"}});return n}))},ada2:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  230. //! moment.js locale configuration
  231. 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,i={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===t?i["nominative"].slice(1,7).concat(i["nominative"].slice(0,1)):t?(n=/(\[[ВвУу]\]) ?dddd/.test(e)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(e)?"genitive":"nominative",i[n][t.day()]):i["nominative"]}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}))},b11d:function(t,e,n){},b29d:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  232. //! moment.js locale configuration
  233. 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";
  234. //! moment.js locale configuration
  235. 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"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?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,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},b469:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  236. //! moment.js locale configuration
  237. 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"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?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,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},b53d:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  238. //! moment.js locale configuration
  239. 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";
  240. //! moment.js locale configuration
  241. 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}))},b5b7:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  242. //! moment.js locale configuration
  243. 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-mx",{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",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"});return a}))},b76a:function(t,e,n){(function(e,i){t.exports=i(n("aa47"))})("undefined"!==typeof self&&self,(function(t){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")}({"01f9":function(t,e,n){"use strict";var i=n("2d00"),r=n("5ca1"),a=n("2aba"),o=n("32e9"),s=n("84f2"),l=n("41a0"),u=n("7f20"),c=n("38fd"),d=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),p="@@iterator",f="keys",_="values",g=function(){return this};t.exports=function(t,e,n,m,y,v,b){l(n,e,m);var x,M,w,S=function(t){if(!h&&t in D)return D[t];switch(t){case f:return function(){return new n(this,t)};case _:return function(){return new n(this,t)}}return function(){return new n(this,t)}},L=e+" Iterator",k=y==_,T=!1,D=t.prototype,O=D[d]||D[p]||y&&D[y],A=O||S(y),I=y?k?S("entries"):A:void 0,Y="Array"==e&&D.entries||O;if(Y&&(w=c(Y.call(new t)),w!==Object.prototype&&w.next&&(u(w,L,!0),i||"function"==typeof w[d]||o(w,d,g))),k&&O&&O.name!==_&&(T=!0,A=function(){return O.call(this)}),i&&!b||!h&&!T&&D[d]||o(D,d,A),s[e]=A,s[L]=g,y)if(x={values:k?A:S(_),keys:v?A:S(f),entries:I},b)for(M in x)M in D||a(D,M,x[M]);else r(r.P+r.F*(h||T),e,x);return x}},"02f4":function(t,e,n){var i=n("4588"),r=n("be13");t.exports=function(t){return function(e,n){var a,o,s=String(r(e)),l=i(n),u=s.length;return l<0||l>=u?t?"":void 0:(a=s.charCodeAt(l),a<55296||a>56319||l+1===u||(o=s.charCodeAt(l+1))<56320||o>57343?t?s.charAt(l):a:t?s.slice(l,l+2):o-56320+(a-55296<<10)+65536)}}},"0390":function(t,e,n){"use strict";var i=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"0bfb":function(t,e,n){"use strict";var i=n("cb7c");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,n){var i=n("ce10"),r=n("e11e");t.exports=Object.keys||function(t){return i(t,r)}},1495:function(t,e,n){var i=n("86cc"),r=n("cb7c"),a=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){r(t);var n,o=a(e),s=o.length,l=0;while(s>l)i.f(t,n=o[l++],e[n]);return t}},"214f":function(t,e,n){"use strict";n("b0c5");var i=n("2aba"),r=n("32e9"),a=n("79e5"),o=n("be13"),s=n("2b4c"),l=n("520a"),u=s("species"),c=!a((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),d=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var h=s(t),p=!a((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),f=p?!a((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[u]=function(){return n}),n[h](""),!e})):void 0;if(!p||!f||"replace"===t&&!c||"split"===t&&!d){var _=/./[h],g=n(o,h,""[t],(function(t,e,n,i,r){return e.exec===l?p&&!r?{done:!0,value:_.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}})),m=g[0],y=g[1];i(String.prototype,t,m),r(RegExp.prototype,h,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},"230e":function(t,e,n){var i=n("d3f4"),r=n("7726").document,a=i(r)&&i(r.createElement);t.exports=function(t){return a?r.createElement(t):{}}},"23c6":function(t,e,n){var i=n("2d95"),r=n("2b4c")("toStringTag"),a="Arguments"==i(function(){return arguments}()),o=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=o(e=Object(t),r))?n:a?i(e):"Object"==(s=i(e))&&"function"==typeof e.callee?"Arguments":s}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"2aba":function(t,e,n){var i=n("7726"),r=n("32e9"),a=n("69a8"),o=n("ca5a")("src"),s=n("fa5b"),l="toString",u=(""+s).split(l);n("8378").inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var l="function"==typeof n;l&&(a(n,"name")||r(n,"name",e)),t[e]!==n&&(l&&(a(n,o)||r(n,o,t[e]?""+t[e]:u.join(String(e)))),t===i?t[e]=n:s?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype,l,(function(){return"function"==typeof this&&this[o]||s.call(this)}))},"2aeb":function(t,e,n){var i=n("cb7c"),r=n("1495"),a=n("e11e"),o=n("613b")("IE_PROTO"),s=function(){},l="prototype",u=function(){var t,e=n("230e")("iframe"),i=a.length,r="<",o=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(r+"script"+o+"document.F=Object"+r+"/script"+o),t.close(),u=t.F;while(i--)delete u[l][a[i]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[l]=i(t),n=new s,s[l]=null,n[o]=t):n=u(),void 0===e?n:r(n,e)}},"2b4c":function(t,e,n){var i=n("5537")("wks"),r=n("ca5a"),a=n("7726").Symbol,o="function"==typeof a,s=t.exports=function(t){return i[t]||(i[t]=o&&a[t]||(o?a:r)("Symbol."+t))};s.store=i},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2fdb":function(t,e,n){"use strict";var i=n("5ca1"),r=n("d2c8"),a="includes";i(i.P+i.F*n("5147")(a),"String",{includes:function(t){return!!~r(this,t,a).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(t,e,n){var i=n("86cc"),r=n("4630");t.exports=n("9e1e")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"38fd":function(t,e,n){var i=n("69a8"),r=n("4bf8"),a=n("613b")("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},"41a0":function(t,e,n){"use strict";var i=n("2aeb"),r=n("4630"),a=n("7f20"),o={};n("32e9")(o,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=i(o,{next:r(1,n)}),a(t,e+" Iterator")}},"456d":function(t,e,n){var i=n("4bf8"),r=n("0d58");n("5eda")("keys",(function(){return function(t){return r(i(t))}}))},4588:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"4bf8":function(t,e,n){var i=n("be13");t.exports=function(t){return Object(i(t))}},5147:function(t,e,n){var i=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,!"/./"[t](e)}catch(r){}}return!0}},"520a":function(t,e,n){"use strict";var i=n("0bfb"),r=RegExp.prototype.exec,a=String.prototype.replace,o=r,s="lastIndex",l=function(){var t=/a/,e=/b*/g;return r.call(t,"a"),r.call(e,"a"),0!==t[s]||0!==e[s]}(),u=void 0!==/()??/.exec("")[1],c=l||u;c&&(o=function(t){var e,n,o,c,d=this;return u&&(n=new RegExp("^"+d.source+"$(?!\\s)",i.call(d))),l&&(e=d[s]),o=r.call(d,t),l&&o&&(d[s]=d.global?o.index+o[0].length:e),u&&o&&o.length>1&&a.call(o[0],n,(function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(o[c]=void 0)})),o}),t.exports=o},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5537:function(t,e,n){var i=n("8378"),r=n("7726"),a="__core-js_shared__",o=r[a]||(r[a]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(t,e,n){var i=n("7726"),r=n("8378"),a=n("32e9"),o=n("2aba"),s=n("9b43"),l="prototype",u=function(t,e,n){var c,d,h,p,f=t&u.F,_=t&u.G,g=t&u.S,m=t&u.P,y=t&u.B,v=_?i:g?i[e]||(i[e]={}):(i[e]||{})[l],b=_?r:r[e]||(r[e]={}),x=b[l]||(b[l]={});for(c in _&&(n=e),n)d=!f&&v&&void 0!==v[c],h=(d?v:n)[c],p=y&&d?s(h,i):m&&"function"==typeof h?s(Function.call,h):h,v&&o(v,c,h,t&u.U),b[c]!=h&&a(b,c,p),m&&x[c]!=h&&(x[c]=h)};i.core=r,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},"5eda":function(t,e,n){var i=n("5ca1"),r=n("8378"),a=n("79e5");t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],o={};o[t]=e(n),i(i.S+i.F*a((function(){n(1)})),"Object",o)}},"5f1b":function(t,e,n){"use strict";var i=n("23c6"),r=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var a=n.call(t,e);if("object"!==typeof a)throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==i(t))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},"613b":function(t,e,n){var i=n("5537")("keys"),r=n("ca5a");t.exports=function(t){return i[t]||(i[t]=r(t))}},"626a":function(t,e,n){var i=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},6762:function(t,e,n){"use strict";var i=n("5ca1"),r=n("c366")(!0);i(i.P,"Array",{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},6821:function(t,e,n){var i=n("626a"),r=n("be13");t.exports=function(t){return i(r(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var i=n("d3f4");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},7333:function(t,e,n){"use strict";var i=n("0d58"),r=n("2621"),a=n("52a7"),o=n("4bf8"),s=n("626a"),l=Object.assign;t.exports=!l||n("79e5")((function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=i}))?function(t,e){var n=o(t),l=arguments.length,u=1,c=r.f,d=a.f;while(l>u){var h,p=s(arguments[u++]),f=c?i(p).concat(c(p)):i(p),_=f.length,g=0;while(_>g)d.call(p,h=f[g++])&&(n[h]=p[h])}return n}:l},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var i=n("4588"),r=Math.max,a=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):a(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"7f20":function(t,e,n){var i=n("86cc").f,r=n("69a8"),a=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,a)&&i(t,a,{configurable:!0,value:e})}},8378:function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"84f2":function(t,e){t.exports={}},"86cc":function(t,e,n){var i=n("cb7c"),r=n("c69a"),a=n("6a99"),o=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(i(t),e=a(e,!0),i(n),r)try{return o(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"9b43":function(t,e,n){var i=n("d8e8");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var i=n("2b4c")("unscopables"),r=Array.prototype;void 0==r[i]&&n("32e9")(r,i,{}),t.exports=function(t){r[i][t]=!0}},"9def":function(t,e,n){var i=n("4588"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a352:function(e,n){e.exports=t},a481:function(t,e,n){"use strict";var i=n("cb7c"),r=n("4bf8"),a=n("9def"),o=n("4588"),s=n("0390"),l=n("5f1b"),u=Math.max,c=Math.min,d=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g,f=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,(function(t,e,n,_){return[function(i,r){var a=t(this),o=void 0==i?void 0:i[e];return void 0!==o?o.call(i,a,r):n.call(String(a),i,r)},function(t,e){var r=_(n,t,this,e);if(r.done)return r.value;var d=i(t),h=String(this),p="function"===typeof e;p||(e=String(e));var m=d.global;if(m){var y=d.unicode;d.lastIndex=0}var v=[];while(1){var b=l(d,h);if(null===b)break;if(v.push(b),!m)break;var x=String(b[0]);""===x&&(d.lastIndex=s(h,a(d.lastIndex),y))}for(var M="",w=0,S=0;S<v.length;S++){b=v[S];for(var L=String(b[0]),k=u(c(o(b.index),h.length),0),T=[],D=1;D<b.length;D++)T.push(f(b[D]));var O=b.groups;if(p){var A=[L].concat(T,k,h);void 0!==O&&A.push(O);var I=String(e.apply(void 0,A))}else I=g(L,h,k,T,O,e);k>=w&&(M+=h.slice(w,k)+I,w=k+L.length)}return M+h.slice(w)}];function g(t,e,i,a,o,s){var l=i+t.length,u=a.length,c=p;return void 0!==o&&(o=r(o),c=h),n.call(s,c,(function(n,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,i);case"'":return e.slice(l);case"<":s=o[r.slice(1,-1)];break;default:var c=+r;if(0===c)return n;if(c>u){var h=d(c/10);return 0===h?n:h<=u?void 0===a[h-1]?r.charAt(1):a[h-1]+r.charAt(1):n}s=a[c-1]}return void 0===s?"":s}))}}))},aae3:function(t,e,n){var i=n("d3f4"),r=n("2d95"),a=n("2b4c")("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==r(t))}},ac6a:function(t,e,n){for(var i=n("cadf"),r=n("0d58"),a=n("2aba"),o=n("7726"),s=n("32e9"),l=n("84f2"),u=n("2b4c"),c=u("iterator"),d=u("toStringTag"),h=l.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},f=r(p),_=0;_<f.length;_++){var g,m=f[_],y=p[m],v=o[m],b=v&&v.prototype;if(b&&(b[c]||s(b,c,h),b[d]||s(b,d,m),l[m]=h,y))for(g in i)b[g]||a(b,g,i[g],!0)}},b0c5:function(t,e,n){"use strict";var i=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},c366:function(t,e,n){var i=n("6821"),r=n("9def"),a=n("77f1");t.exports=function(t){return function(e,n,o){var s,l=i(e),u=r(l.length),c=a(o,u);if(t&&n!=n){while(u>c)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}}},c649:function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return l}));n("a481");function i(){return"undefined"!==typeof window?window.console:t.console}var r=i();function a(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var o=/-(\w)/g,s=a((function(t){return t.replace(o,(function(t,e){return e?e.toUpperCase():""}))}));function l(t){null!==t.parentElement&&t.parentElement.removeChild(t)}function u(t,e,n){var i=0===n?t.children[0]:t.children[n-1].nextSibling;t.insertBefore(e,i)}}).call(this,n("c8ba"))},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}t.exports=n},ca5a:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},cadf:function(t,e,n){"use strict";var i=n("9c6c"),r=n("d53b"),a=n("84f2"),o=n("6821");t.exports=n("01f9")(Array,"Array",(function(t,e){this._t=o(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),a.Arguments=a.Array,i("keys"),i("values"),i("entries")},cb7c:function(t,e,n){var i=n("d3f4");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},ce10:function(t,e,n){var i=n("69a8"),r=n("6821"),a=n("c366")(!1),o=n("613b")("IE_PROTO");t.exports=function(t,e){var n,s=r(t),l=0,u=[];for(n in s)n!=o&&i(s,n)&&u.push(n);while(e.length>l)i(s,n=e[l++])&&(~a(u,n)||u.push(n));return u}},d2c8:function(t,e,n){var i=n("aae3"),r=n("be13");t.exports=function(t,e,n){if(i(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(t))}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f559:function(t,e,n){"use strict";var i=n("5ca1"),r=n("9def"),a=n("d2c8"),o="startsWith",s=""[o];i(i.P+i.F*n("5147")(o),"String",{startsWith:function(t){var e=a(this,t,o),n=r(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),i=String(t);return s?s.call(e,i,n):e.slice(n,n+i.length)===i}})},f6fd:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(i){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},f751:function(t,e,n){var i=n("5ca1");i(i.S+i.F,"Object",{assign:n("7333")})},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var i=n("7726").document;t.exports=i&&i.documentElement},fb15:function(t,e,n){"use strict";var i;(n.r(e),"undefined"!==typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));n("f751"),n("f559"),n("ac6a"),n("cadf"),n("456d");function r(t){if(Array.isArray(t))return t}function a(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(i=(o=s.next()).done);i=!0)if(n.push(o.value),e&&n.length===e)break}catch(l){r=!0,a=l}finally{try{i||null==s["return"]||s["return"]()}finally{if(r)throw a}}return n}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function s(t,e){if(t){if("string"===typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(t,e){return r(t)||a(t,e)||s(t,e)||l()}n("6762"),n("2fdb");function c(t){if(Array.isArray(t))return o(t)}function d(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function h(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(t){return c(t)||d(t)||s(t)||h()}var f=n("a352"),_=n.n(f),g=n("c649");function m(t,e,n){return void 0===n||(t=t||{},t[e]=n),t}function y(t,e){return t.map((function(t){return t.elm})).indexOf(e)}function v(t,e,n,i){if(!t)return[];var r=t.map((function(t){return t.elm})),a=e.length-i,o=p(e).map((function(t,e){return e>=a?r.length:r.indexOf(t)}));return n?o.filter((function(t){return-1!==t})):o}function b(t,e){var n=this;this.$nextTick((function(){return n.$emit(t.toLowerCase(),e)}))}function x(t){var e=this;return function(n){null!==e.realList&&e["onDrag"+t](n),b.call(e,t,n)}}function M(t){return["transition-group","TransitionGroup"].includes(t)}function w(t){if(!t||1!==t.length)return!1;var e=u(t,1),n=e[0].componentOptions;return!!n&&M(n.tag)}function S(t,e,n){return t[n]||(e[n]?e[n]():void 0)}function L(t,e,n){var i=0,r=0,a=S(e,n,"header");a&&(i=a.length,t=t?[].concat(p(a),p(t)):p(a));var o=S(e,n,"footer");return o&&(r=o.length,t=t?[].concat(p(t),p(o)):p(o)),{children:t,headerOffset:i,footerOffset:r}}function k(t,e){var n=null,i=function(t,e){n=m(n,t,e)},r=Object.keys(t).filter((function(t){return"id"===t||t.startsWith("data-")})).reduce((function(e,n){return e[n]=t[n],e}),{});if(i("attrs",r),!e)return n;var a=e.on,o=e.props,s=e.attrs;return i("on",a),i("props",o),Object.assign(n.attrs,s),n}var T=["Start","Add","Remove","Update","End"],D=["Choose","Unchoose","Sort","Filter","Clone"],O=["Move"].concat(T,D).map((function(t){return"on"+t})),A=null,I={options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(t){return t}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Y={name:"draggable",inheritAttrs:!1,props:I,data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1}},render:function(t){var e=this.$slots.default;this.transitionMode=w(e);var n=L(e,this.$slots,this.$scopedSlots),i=n.children,r=n.headerOffset,a=n.footerOffset;this.headerOffset=r,this.footerOffset=a;var o=k(this.$attrs,this.componentData);return t(this.getTag(),o,i)},created:function(){null!==this.list&&null!==this.value&&g["b"].error("Value and list props are mutually exclusive! Please set one or another."),"div"!==this.element&&g["b"].warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),void 0!==this.options&&g["b"].warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var t=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase()&&!this.getIsFunctional(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var e={};T.forEach((function(n){e["on"+n]=x.call(t,n)})),D.forEach((function(n){e["on"+n]=b.bind(t,n)}));var n=Object.keys(this.$attrs).reduce((function(e,n){return e[Object(g["a"])(n)]=t.$attrs[n],e}),{}),i=Object.assign({},this.options,n,e,{onMove:function(e,n){return t.onDragMove(e,n)}});!("draggable"in i)&&(i.draggable=">*"),this._sortable=new _.a(this.rootContainer,i),this.computeIndexes()},beforeDestroy:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(t){this.updateOptions(t)},deep:!0},$attrs:{handler:function(t){this.updateOptions(t)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getIsFunctional:function(){var t=this._vnode.fnOptions;return t&&t.functional},getTag:function(){return this.tag||this.element},updateOptions:function(t){for(var e in t){var n=Object(g["a"])(e);-1===O.indexOf(n)&&this._sortable.option(n,t[e])}},getChildrenNodes:function(){if(this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var t=this.$slots.default;return this.transitionMode?t[0].child.$slots.default:t},computeIndexes:function(){var t=this;this.$nextTick((function(){t.visibleIndexes=v(t.getChildrenNodes(),t.rootContainer.children,t.transitionMode,t.footerOffset)}))},getUnderlyingVm:function(t){var e=y(this.getChildrenNodes()||[],t);if(-1===e)return null;var n=this.realList[e];return{index:e,element:n}},getUnderlyingPotencialDraggableComponent:function(t){var e=t.__vue__;return e&&e.$options&&M(e.$options._componentTag)?e.$parent:!("realList"in e)&&1===e.$children.length&&"realList"in e.$children[0]?e.$children[0]:e},emitChanges:function(t){var e=this;this.$nextTick((function(){e.$emit("change",t)}))},alterList:function(t){if(this.list)t(this.list);else{var e=p(this.value);t(e),this.$emit("input",e)}},spliceList:function(){var t=arguments,e=function(e){return e.splice.apply(e,p(t))};this.alterList(e)},updatePosition:function(t,e){var n=function(n){return n.splice(e,0,n.splice(t,1)[0])};this.alterList(n)},getRelatedContextFromMoveEvent:function(t){var e=t.to,n=t.related,i=this.getUnderlyingPotencialDraggableComponent(e);if(!i)return{component:i};var r=i.realList,a={list:r,component:i};if(e!==n&&r&&i.getUnderlyingVm){var o=i.getUnderlyingVm(n);if(o)return Object.assign(o,a)}return a},getVmIndex:function(t){var e=this.visibleIndexes,n=e.length;return t>n-1?n:e[t]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(t){if(this.noTransitionOnDrag&&this.transitionMode){var e=this.getChildrenNodes();e[t].data=null;var n=this.getComponent();n.children=[],n.kept=void 0}},onDragStart:function(t){this.context=this.getUnderlyingVm(t.item),t.item._underlying_vm_=this.clone(this.context.element),A=t.item},onDragAdd:function(t){var e=t.item._underlying_vm_;if(void 0!==e){Object(g["d"])(t.item);var n=this.getVmIndex(t.newIndex);this.spliceList(n,0,e),this.computeIndexes();var i={element:e,newIndex:n};this.emitChanges({added:i})}},onDragRemove:function(t){if(Object(g["c"])(this.rootContainer,t.item,t.oldIndex),"clone"!==t.pullMode){var e=this.context.index;this.spliceList(e,1);var n={element:this.context.element,oldIndex:e};this.resetTransitionData(e),this.emitChanges({removed:n})}else Object(g["d"])(t.clone)},onDragUpdate:function(t){Object(g["d"])(t.item),Object(g["c"])(t.from,t.item,t.oldIndex);var e=this.context.index,n=this.getVmIndex(t.newIndex);this.updatePosition(e,n);var i={element:this.context.element,oldIndex:e,newIndex:n};this.emitChanges({moved:i})},updateProperty:function(t,e){t.hasOwnProperty(e)&&(t[e]+=this.headerOffset)},computeFutureIndex:function(t,e){if(!t.element)return 0;var n=p(e.to.children).filter((function(t){return"none"!==t.style["display"]})),i=n.indexOf(e.related),r=t.component.getVmIndex(i),a=-1!==n.indexOf(A);return a||!e.willInsertAfter?r:r+1},onDragMove:function(t,e){var n=this.move;if(!n||!this.realList)return!0;var i=this.getRelatedContextFromMoveEvent(t),r=this.context,a=this.computeFutureIndex(i,t);Object.assign(r,{futureIndex:a});var o=Object.assign({},t,{relatedContext:i,draggedContext:r});return n(o,e)},onDragEnd:function(){this.computeIndexes(),A=null}}};"undefined"!==typeof window&&"Vue"in window&&window.Vue.component("draggable",Y);var C=Y;e["default"]=C}})["default"]}))},b7e9:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  244. //! moment.js locale configuration
  245. 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}))},b84c:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  246. //! moment.js locale configuration
  247. var e=t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return e}))},b97c:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  248. //! moment.js locale configuration
  249. 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";
  250. //! moment.js locale configuration
  251. 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"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?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,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n}))},c109:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  252. //! moment.js locale configuration
  253. 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){var e;//! moment.js
  254. //! version : 2.30.1
  255. //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
  256. //! license : MIT
  257. //! momentjs.com
  258. (function(e,n){t.exports=n()})(0,(function(){"use strict";var i,r;function a(){return i.apply(null,arguments)}function o(t){i=t}function s(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function l(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function u(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function c(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(u(t,e))return!1;return!0}function d(t){return void 0===t}function h(t){return"number"===typeof t||"[object Number]"===Object.prototype.toString.call(t)}function p(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function f(t,e){var n,i=[],r=t.length;for(n=0;n<r;++n)i.push(e(t[n],n));return i}function _(t,e){for(var n in e)u(e,n)&&(t[n]=e[n]);return u(e,"toString")&&(t.toString=e.toString),u(e,"valueOf")&&(t.valueOf=e.valueOf),t}function g(t,e,n,i){return Kn(t,e,n,i,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function y(t){return null==t._pf&&(t._pf=m()),t._pf}function v(t){var e=null,n=!1,i=t._d&&!isNaN(t._d.getTime());return i&&(e=y(t),n=r.call(e.parsedDateParts,(function(t){return null!=t})),i=e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n),t._strict&&(i=i&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour)),null!=Object.isFrozen&&Object.isFrozen(t)?i:(t._isValid=i,t._isValid)}function b(t){var e=g(NaN);return null!=t?_(y(e),t):y(e).userInvalidated=!0,e}r=Array.prototype.some?Array.prototype.some:function(t){var e,n=Object(this),i=n.length>>>0;for(e=0;e<i;e++)if(e in n&&t.call(this,n[e],e,n))return!0;return!1};var x=a.momentProperties=[],M=!1;function w(t,e){var n,i,r,a=x.length;if(d(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),d(e._i)||(t._i=e._i),d(e._f)||(t._f=e._f),d(e._l)||(t._l=e._l),d(e._strict)||(t._strict=e._strict),d(e._tzm)||(t._tzm=e._tzm),d(e._isUTC)||(t._isUTC=e._isUTC),d(e._offset)||(t._offset=e._offset),d(e._pf)||(t._pf=y(e)),d(e._locale)||(t._locale=e._locale),a>0)for(n=0;n<a;n++)i=x[n],r=e[i],d(r)||(t[i]=r);return t}function S(t){w(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===M&&(M=!0,a.updateOffset(this),M=!1)}function L(t){return t instanceof S||null!=t&&null!=t._isAMomentObject}function k(t){!1===a.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function T(t,e){var n=!0;return _((function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,t),n){var i,r,o,s=[],l=arguments.length;for(r=0;r<l;r++){if(i="","object"===typeof arguments[r]){for(o in i+="\n["+r+"] ",arguments[0])u(arguments[0],o)&&(i+=o+": "+arguments[0][o]+", ");i=i.slice(0,-2)}else i=arguments[r];s.push(i)}k(t+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)}),e)}var D,O={};function A(t,e){null!=a.deprecationHandler&&a.deprecationHandler(t,e),O[t]||(k(e),O[t]=!0)}function I(t){return"undefined"!==typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function Y(t){var e,n;for(n in t)u(t,n)&&(e=t[n],I(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 C(t,e){var n,i=_({},t);for(n in e)u(e,n)&&(l(t[n])&&l(e[n])?(i[n]={},_(i[n],t[n]),_(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)u(t,n)&&!u(e,n)&&l(t[n])&&(i[n]=_({},i[n]));return i}function j(t){null!=t&&this.set(t)}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,D=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)u(t,e)&&n.push(e);return n};var P={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function E(t,e,n){var i=this._calendar[t]||this._calendar["sameElse"];return I(i)?i.call(e,n):i}function R(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 N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,z={},B={};function F(t,e,n,i){var r=i;"string"===typeof i&&(r=function(){return this[i]()}),t&&(B[t]=r),e&&(B[e[0]]=function(){return R(r.apply(this,arguments),e[1],e[2])}),n&&(B[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function W(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function V(t){var e,n,i=t.match(N);for(e=0,n=i.length;e<n;e++)B[i[e]]?i[e]=B[i[e]]:i[e]=W(i[e]);return function(e){var r,a="";for(r=0;r<n;r++)a+=I(i[r])?i[r].call(e,t):i[r];return a}}function G(t,e){return t.isValid()?(e=U(e,t.localeData()),z[e]=z[e]||V(e),z[e](t)):t.localeData().invalidDate()}function U(t,e){var n=5;function i(t){return e.longDateFormat(t)||t}H.lastIndex=0;while(n>=0&&H.test(t))t=t.replace(H,i),H.lastIndex=0,n-=1;return t}var X={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 Z(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(N).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])}var q="Invalid date";function K(){return this._invalidDate}var J="%d",$=/\d{1,2}/;function Q(t){return this._ordinal.replace("%d",t)}var tt={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function et(t,e,n,i){var r=this._relativeTime[n];return I(r)?r(t,e,n,i):r.replace(/%d/i,t)}function nt(t,e){var n=this._relativeTime[t>0?"future":"past"];return I(n)?n(e):n.replace(/%s/i,e)}var it={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function rt(t){return"string"===typeof t?it[t]||it[t.toLowerCase()]:void 0}function at(t){var e,n,i={};for(n in t)u(t,n)&&(e=rt(n),e&&(i[e]=t[n]));return i}var ot={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function st(t){var e,n=[];for(e in t)u(t,e)&&n.push({unit:e,priority:ot[e]});return n.sort((function(t,e){return t.priority-e.priority})),n}var lt,ut=/\d/,ct=/\d\d/,dt=/\d{3}/,ht=/\d{4}/,pt=/[+-]?\d{6}/,ft=/\d\d?/,_t=/\d\d\d\d?/,gt=/\d\d\d\d\d\d?/,mt=/\d{1,3}/,yt=/\d{1,4}/,vt=/[+-]?\d{1,6}/,bt=/\d+/,xt=/[+-]?\d+/,Mt=/Z|[+-]\d\d:?\d\d/gi,wt=/Z|[+-]\d\d(?::?\d\d)?/gi,St=/[+-]?\d+(\.\d{1,3})?/,Lt=/[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,kt=/^[1-9]\d?/,Tt=/^([1-9]\d|\d)/;function Dt(t,e,n){lt[t]=I(e)?e:function(t,i){return t&&n?n:e}}function Ot(t,e){return u(lt,t)?lt[t](e._strict,e._locale):new RegExp(At(t))}function At(t){return It(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,i,r){return e||n||i||r})))}function It(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Yt(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function Ct(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=Yt(e)),n}lt={};var jt={};function Pt(t,e){var n,i,r=e;for("string"===typeof t&&(t=[t]),h(e)&&(r=function(t,n){n[e]=Ct(t)}),i=t.length,n=0;n<i;n++)jt[t[n]]=r}function Et(t,e){Pt(t,(function(t,n,i,r){i._w=i._w||{},e(t,i._w,i,r)}))}function Rt(t,e,n){null!=e&&u(jt,t)&&jt[t](e,n._a,n,t)}function Nt(t){return t%4===0&&t%100!==0||t%400===0}var Ht=0,zt=1,Bt=2,Ft=3,Wt=4,Vt=5,Gt=6,Ut=7,Xt=8;function Zt(t){return Nt(t)?366:365}F("Y",0,0,(function(){var t=this.year();return t<=9999?R(t,4):"+"+t})),F(0,["YY",2],0,(function(){return this.year()%100})),F(0,["YYYY",4],0,"year"),F(0,["YYYYY",5],0,"year"),F(0,["YYYYYY",6,!0],0,"year"),Dt("Y",xt),Dt("YY",ft,ct),Dt("YYYY",yt,ht),Dt("YYYYY",vt,pt),Dt("YYYYYY",vt,pt),Pt(["YYYYY","YYYYYY"],Ht),Pt("YYYY",(function(t,e){e[Ht]=2===t.length?a.parseTwoDigitYear(t):Ct(t)})),Pt("YY",(function(t,e){e[Ht]=a.parseTwoDigitYear(t)})),Pt("Y",(function(t,e){e[Ht]=parseInt(t,10)})),a.parseTwoDigitYear=function(t){return Ct(t)+(Ct(t)>68?1900:2e3)};var qt,Kt=$t("FullYear",!0);function Jt(){return Nt(this.year())}function $t(t,e){return function(n){return null!=n?(te(this,t,n),a.updateOffset(this,e),this):Qt(this,t)}}function Qt(t,e){if(!t.isValid())return NaN;var n=t._d,i=t._isUTC;switch(e){case"Milliseconds":return i?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return i?n.getUTCSeconds():n.getSeconds();case"Minutes":return i?n.getUTCMinutes():n.getMinutes();case"Hours":return i?n.getUTCHours():n.getHours();case"Date":return i?n.getUTCDate():n.getDate();case"Day":return i?n.getUTCDay():n.getDay();case"Month":return i?n.getUTCMonth():n.getMonth();case"FullYear":return i?n.getUTCFullYear():n.getFullYear();default:return NaN}}function te(t,e,n){var i,r,a,o,s;if(t.isValid()&&!isNaN(n)){switch(i=t._d,r=t._isUTC,e){case"Milliseconds":return void(r?i.setUTCMilliseconds(n):i.setMilliseconds(n));case"Seconds":return void(r?i.setUTCSeconds(n):i.setSeconds(n));case"Minutes":return void(r?i.setUTCMinutes(n):i.setMinutes(n));case"Hours":return void(r?i.setUTCHours(n):i.setHours(n));case"Date":return void(r?i.setUTCDate(n):i.setDate(n));case"FullYear":break;default:return}a=n,o=t.month(),s=t.date(),s=29!==s||1!==o||Nt(a)?s:28,r?i.setUTCFullYear(a,o,s):i.setFullYear(a,o,s)}}function ee(t){return t=rt(t),I(this[t])?this[t]():this}function ne(t,e){if("object"===typeof t){t=at(t);var n,i=st(t),r=i.length;for(n=0;n<r;n++)this[i[n].unit](t[i[n].unit])}else if(t=rt(t),I(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?Nt(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},F("M",["MM",2],"Mo",(function(){return this.month()+1})),F("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),F("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),Dt("M",ft,kt),Dt("MM",ft,ct),Dt("MMM",(function(t,e){return e.monthsShortRegex(t)})),Dt("MMMM",(function(t,e){return e.monthsRegex(t)})),Pt(["M","MM"],(function(t,e){e[zt]=Ct(t)-1})),Pt(["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="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),oe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),se=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,le=Lt,ue=Lt;function ce(t,e){return t?s(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||se).test(e)?"format":"standalone"][t.month()]:s(this._months)?this._months:this._months["standalone"]}function de(t,e){return t?s(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[se.test(e)?"format":"standalone"][t.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"]}function he(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=g([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 pe(t,e,n){var i,r,a;if(this._monthsParseExact)return he.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=g([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 fe(t,e){if(!t.isValid())return t;if("string"===typeof e)if(/^\d+$/.test(e))e=Ct(e);else if(e=t.localeData().monthsParse(e),!h(e))return t;var n=e,i=t.date();return i=i<29?i:Math.min(i,re(t.year(),n)),t._isUTC?t._d.setUTCMonth(n,i):t._d.setMonth(n,i),t}function _e(t){return null!=t?(fe(this,t),a.updateOffset(this,!0),this):Qt(this,"Month")}function ge(){return re(this.year(),this.month())}function me(t){return this._monthsParseExact?(u(this,"_monthsRegex")||ve.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=le),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function ye(t){return this._monthsParseExact?(u(this,"_monthsRegex")||ve.call(this),t?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=ue),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function ve(){function t(t,e){return e.length-t.length}var e,n,i,r,a=[],o=[],s=[];for(e=0;e<12;e++)n=g([2e3,e]),i=It(this.monthsShort(n,"")),r=It(this.months(n,"")),a.push(i),o.push(r),s.push(r),s.push(i);a.sort(t),o.sort(t),s.sort(t),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+a.join("|")+")","i")}function be(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 xe(t){var e,n;return t<100&&t>=0?(n=Array.prototype.slice.call(arguments),n[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Me(t,e,n){var i=7+e-n,r=(7+xe(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=Me(t,i,r),u=1+7*(e-1)+s+l;return u<=0?(a=t-1,o=Zt(a)+u):u>Zt(t)?(a=t+1,o=u-Zt(t)):(a=t,o=u),{year:a,dayOfYear:o}}function Se(t,e,n){var i,r,a=Me(t.year(),e,n),o=Math.floor((t.dayOfYear()-a-1)/7)+1;return o<1?(r=t.year()-1,i=o+Le(r,e,n)):o>Le(t.year(),e,n)?(i=o-Le(t.year(),e,n),r=t.year()+1):(r=t.year(),i=o),{week:i,year:r}}function Le(t,e,n){var i=Me(t,e,n),r=Me(t+1,e,n);return(Zt(t)-i+r)/7}function ke(t){return Se(t,this._week.dow,this._week.doy).week}F("w",["ww",2],"wo","week"),F("W",["WW",2],"Wo","isoWeek"),Dt("w",ft,kt),Dt("ww",ft,ct),Dt("W",ft,kt),Dt("WW",ft,ct),Et(["w","ww","W","WW"],(function(t,e,n,i){e[i.substr(0,1)]=Ct(t)}));var Te={dow:0,doy:6};function De(){return this._week.dow}function Oe(){return this._week.doy}function Ae(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Ie(t){var e=Se(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Ye(t,e){return"string"!==typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"===typeof t?t:null):parseInt(t,10)}function Ce(t,e){return"string"===typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function je(t,e){return t.slice(e,7).concat(t.slice(0,e))}F("d",0,"do","day"),F("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),F("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),F("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),F("e",0,0,"weekday"),F("E",0,0,"isoWeekday"),Dt("d",ft),Dt("e",ft),Dt("E",ft),Dt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),Dt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),Dt("dddd",(function(t,e){return e.weekdaysRegex(t)})),Et(["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})),Et(["d","e","E"],(function(t,e,n,i){e[i]=Ct(t)}));var Pe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ee="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Re="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ne=Lt,He=Lt,ze=Lt;function Be(t,e){var n=s(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?je(n,this._week.dow):t?n[t.day()]:n}function Fe(t){return!0===t?je(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function We(t){return!0===t?je(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Ve(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=g([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 Ge(t,e,n){var i,r,a;if(this._weekdaysParseExact)return Ve.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=g([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 Ue(t){if(!this.isValid())return null!=t?this:NaN;var e=Qt(this,"Day");return null!=t?(t=Ye(t,this.localeData()),this.add(t-e,"d")):e}function Xe(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 Ze(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=Ce(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function qe(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||$e.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Ne),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ke(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||$e.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=He),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Je(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||$e.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ze),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function $e(){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=g([2e3,1]).day(e),i=It(this.weekdaysMin(n,"")),r=It(this.weekdaysShort(n,"")),a=It(this.weekdays(n,"")),o.push(i),s.push(r),l.push(a),u.push(i),u.push(r),u.push(a);o.sort(t),s.sort(t),l.sort(t),u.sort(t),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){F(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)}F("H",["HH",2],0,"hour"),F("h",["hh",2],0,Qe),F("k",["kk",2],0,tn),F("hmm",0,0,(function(){return""+Qe.apply(this)+R(this.minutes(),2)})),F("hmmss",0,0,(function(){return""+Qe.apply(this)+R(this.minutes(),2)+R(this.seconds(),2)})),F("Hmm",0,0,(function(){return""+this.hours()+R(this.minutes(),2)})),F("Hmmss",0,0,(function(){return""+this.hours()+R(this.minutes(),2)+R(this.seconds(),2)})),en("a",!0),en("A",!1),Dt("a",nn),Dt("A",nn),Dt("H",ft,Tt),Dt("h",ft,kt),Dt("k",ft,kt),Dt("HH",ft,ct),Dt("hh",ft,ct),Dt("kk",ft,ct),Dt("hmm",_t),Dt("hmmss",gt),Dt("Hmm",_t),Dt("Hmmss",gt),Pt(["H","HH"],Ft),Pt(["k","kk"],(function(t,e,n){var i=Ct(t);e[Ft]=24===i?0:i})),Pt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),Pt(["h","hh"],(function(t,e,n){e[Ft]=Ct(t),y(n).bigHour=!0})),Pt("hmm",(function(t,e,n){var i=t.length-2;e[Ft]=Ct(t.substr(0,i)),e[Wt]=Ct(t.substr(i)),y(n).bigHour=!0})),Pt("hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[Ft]=Ct(t.substr(0,i)),e[Wt]=Ct(t.substr(i,2)),e[Vt]=Ct(t.substr(r)),y(n).bigHour=!0})),Pt("Hmm",(function(t,e,n){var i=t.length-2;e[Ft]=Ct(t.substr(0,i)),e[Wt]=Ct(t.substr(i))})),Pt("Hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[Ft]=Ct(t.substr(0,i)),e[Wt]=Ct(t.substr(i,2)),e[Vt]=Ct(t.substr(r))}));var an=/[ap]\.?m?\.?/i,on=$t("Hours",!0);function sn(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}var ln,un={calendar:P,longDateFormat:X,invalidDate:q,ordinal:J,dayOfMonthOrdinalParse:$,relativeTime:tt,months:ae,monthsShort:oe,week:Te,weekdays:Pe,weekdaysMin:Re,weekdaysShort:Ee,meridiemParse:an},cn={},dn={};function hn(t,e){var n,i=Math.min(t.length,e.length);for(n=0;n<i;n+=1)if(t[n]!==e[n])return n;return i}function pn(t){return t?t.toLowerCase().replace("_","-"):t}function fn(t){var e,n,i,r,a=0;while(a<t.length){r=pn(t[a]).split("-"),e=r.length,n=pn(t[a+1]),n=n?n.split("-"):null;while(e>0){if(i=gn(r.slice(0,e).join("-")),i)return i;if(n&&n.length>=e&&hn(r,n)>=e-1)break;e--}a++}return ln}function _n(t){return!(!t||!t.match("^[^/\\\\]*$"))}function gn(i){var r=null;if(void 0===cn[i]&&"undefined"!==typeof t&&t&&t.exports&&_n(i))try{r=ln._abbr,e,n("4678")("./"+i),mn(r)}catch(a){cn[i]=null}return cn[i]}function mn(t,e){var n;return t&&(n=d(e)?bn(t):yn(t,e),n?ln=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ln._abbr}function yn(t,e){if(null!==e){var n,i=un;if(e.abbr=t,null!=cn[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=cn[t]._config;else if(null!=e.parentLocale)if(null!=cn[e.parentLocale])i=cn[e.parentLocale]._config;else{if(n=gn(e.parentLocale),null==n)return dn[e.parentLocale]||(dn[e.parentLocale]=[]),dn[e.parentLocale].push({name:t,config:e}),null;i=n._config}return cn[t]=new j(C(i,e)),dn[t]&&dn[t].forEach((function(t){yn(t.name,t.config)})),mn(t),cn[t]}return delete cn[t],null}function vn(t,e){if(null!=e){var n,i,r=un;null!=cn[t]&&null!=cn[t].parentLocale?cn[t].set(C(cn[t]._config,e)):(i=gn(t),null!=i&&(r=i._config),e=C(r,e),null==i&&(e.abbr=t),n=new j(e),n.parentLocale=cn[t],cn[t]=n),mn(t)}else null!=cn[t]&&(null!=cn[t].parentLocale?(cn[t]=cn[t].parentLocale,t===mn()&&mn(t)):null!=cn[t]&&delete cn[t]);return cn[t]}function bn(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ln;if(!s(t)){if(e=gn(t),e)return e;t=[t]}return fn(t)}function xn(){return D(cn)}function Mn(t){var e,n=t._a;return n&&-2===y(t).overflow&&(e=n[zt]<0||n[zt]>11?zt:n[Bt]<1||n[Bt]>re(n[Ht],n[zt])?Bt:n[Ft]<0||n[Ft]>24||24===n[Ft]&&(0!==n[Wt]||0!==n[Vt]||0!==n[Gt])?Ft:n[Wt]<0||n[Wt]>59?Wt:n[Vt]<0||n[Vt]>59?Vt:n[Gt]<0||n[Gt]>999?Gt:-1,y(t)._overflowDayOfYear&&(e<Ht||e>Bt)&&(e=Bt),y(t)._overflowWeeks&&-1===e&&(e=Ut),y(t)._overflowWeekday&&-1===e&&(e=Xt),y(t).overflow=e),t}var wn=/^\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)?)?$/,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)?)?$/,Ln=/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}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Tn=[["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/]],Dn=/^\/?Date\((-?\d+)/i,On=/^(?:(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}))$/,An={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function In(t){var e,n,i,r,a,o,s=t._i,l=wn.exec(s)||Sn.exec(s),u=kn.length,c=Tn.length;if(l){for(y(t).iso=!0,e=0,n=u;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=c;e<n;e++)if(Tn[e][1].exec(l[3])){a=(l[2]||" ")+Tn[e][0];break}if(null==a)return void(t._isValid=!1)}if(!i&&null!=a)return void(t._isValid=!1);if(l[4]){if(!Ln.exec(l[4]))return void(t._isValid=!1);o="Z"}t._f=r+(a||"")+(o||""),Wn(t)}else t._isValid=!1}function Yn(t,e,n,i,r,a){var o=[Cn(t),oe.indexOf(e),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return a&&o.push(parseInt(a,10)),o}function Cn(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function jn(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Pn(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}function En(t,e,n){if(t)return An[t];if(e)return 0;var i=parseInt(n,10),r=i%100,a=(i-r)/100;return 60*a+r}function Rn(t){var e,n=On.exec(jn(t._i));if(n){if(e=Yn(n[4],n[3],n[2],n[5],n[6],n[7]),!Pn(n[1],e,t))return;t._a=e,t._tzm=En(n[8],n[9],n[10]),t._d=xe.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),y(t).rfc2822=!0}else t._isValid=!1}function Nn(t){var e=Dn.exec(t._i);null===e?(In(t),!1===t._isValid&&(delete t._isValid,Rn(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:a.createFromInputFallback(t)))):t._d=new Date(+e[1])}function Hn(t,e,n){return null!=t?t:null!=e?e:n}function zn(t){var e=new Date(a.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Bn(t){var e,n,i,r,a,o=[];if(!t._d){for(i=zn(t),t._w&&null==t._a[Bt]&&null==t._a[zt]&&Fn(t),null!=t._dayOfYear&&(a=Hn(t._a[Ht],i[Ht]),(t._dayOfYear>Zt(a)||0===t._dayOfYear)&&(y(t)._overflowDayOfYear=!0),n=xe(a,0,t._dayOfYear),t._a[zt]=n.getUTCMonth(),t._a[Bt]=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[Ft]&&0===t._a[Wt]&&0===t._a[Vt]&&0===t._a[Gt]&&(t._nextDay=!0,t._a[Ft]=0),t._d=(t._useUTC?xe:be).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[Ft]=24),t._w&&"undefined"!==typeof t._w.d&&t._w.d!==r&&(y(t).weekdayMismatch=!0)}}function Fn(t){var e,n,i,r,a,o,s,l,u;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(a=1,o=4,n=Hn(e.GG,t._a[Ht],Se(Jn(),1,4).year),i=Hn(e.W,1),r=Hn(e.E,1),(r<1||r>7)&&(l=!0)):(a=t._locale._week.dow,o=t._locale._week.doy,u=Se(Jn(),a,o),n=Hn(e.gg,t._a[Ht],u.year),i=Hn(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>Le(n,a,o)?y(t)._overflowWeeks=!0:null!=l?y(t)._overflowWeekday=!0:(s=we(n,i,r,a,o),t._a[Ht]=s.year,t._dayOfYear=s.dayOfYear)}function Wn(t){if(t._f!==a.ISO_8601)if(t._f!==a.RFC_2822){t._a=[],y(t).empty=!0;var e,n,i,r,o,s,l,u=""+t._i,c=u.length,d=0;for(i=U(t._f,t._locale).match(N)||[],l=i.length,e=0;e<l;e++)r=i[e],n=(u.match(Ot(r,t))||[])[0],n&&(o=u.substr(0,u.indexOf(n)),o.length>0&&y(t).unusedInput.push(o),u=u.slice(u.indexOf(n)+n.length),d+=n.length),B[r]?(n?y(t).empty=!1:y(t).unusedTokens.push(r),Rt(r,n,t)):t._strict&&!n&&y(t).unusedTokens.push(r);y(t).charsLeftOver=c-d,u.length>0&&y(t).unusedInput.push(u),t._a[Ft]<=12&&!0===y(t).bigHour&&t._a[Ft]>0&&(y(t).bigHour=void 0),y(t).parsedDateParts=t._a.slice(0),y(t).meridiem=t._meridiem,t._a[Ft]=Vn(t._locale,t._a[Ft],t._meridiem),s=y(t).era,null!==s&&(t._a[Ht]=t._locale.erasConvertYear(s,t._a[Ht])),Bn(t),Mn(t)}else Rn(t);else In(t)}function Vn(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 Gn(t){var e,n,i,r,a,o,s=!1,l=t._f.length;if(0===l)return y(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<l;r++)a=0,o=!1,e=w({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Wn(e),v(e)&&(o=!0),a+=y(e).charsLeftOver,a+=10*y(e).unusedTokens.length,y(e).score=a,s?a<i&&(i=a,n=e):(null==i||a<i||o)&&(i=a,n=e,o&&(s=!0));_(t,n||e)}function Un(t){if(!t._d){var e=at(t._i),n=void 0===e.day?e.date:e.day;t._a=f([e.year,e.month,n,e.hour,e.minute,e.second,e.millisecond],(function(t){return t&&parseInt(t,10)})),Bn(t)}}function Xn(t){var e=new S(Mn(Zn(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Zn(t){var e=t._i,n=t._f;return t._locale=t._locale||bn(t._l),null===e||void 0===n&&""===e?b({nullInput:!0}):("string"===typeof e&&(t._i=e=t._locale.preparse(e)),L(e)?new S(Mn(e)):(p(e)?t._d=e:s(n)?Gn(t):n?Wn(t):qn(t),v(t)||(t._d=null),t))}function qn(t){var e=t._i;d(e)?t._d=new Date(a.now()):p(e)?t._d=new Date(e.valueOf()):"string"===typeof e?Nn(t):s(e)?(t._a=f(e.slice(0),(function(t){return parseInt(t,10)})),Bn(t)):l(e)?Un(t):h(e)?t._d=new Date(e):a.createFromInputFallback(t)}function Kn(t,e,n,i,r){var a={};return!0!==e&&!1!==e||(i=e,e=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(l(t)&&c(t)||s(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,Xn(a)}function Jn(t,e,n,i){return Kn(t,e,n,i,!1)}a.createFromInputFallback=T("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),a.ISO_8601=function(){},a.RFC_2822=function(){};var $n=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Jn.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:b()})),Qn=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Jn.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:b()}));function ti(t,e){var n,i;if(1===e.length&&s(e[0])&&(e=e[0]),!e.length)return Jn();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}function ei(){var t=[].slice.call(arguments,0);return ti("isBefore",t)}function ni(){var t=[].slice.call(arguments,0);return ti("isAfter",t)}var ii=function(){return Date.now?Date.now():+new Date},ri=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ai(t){var e,n,i=!1,r=ri.length;for(e in t)if(u(t,e)&&(-1===qt.call(ri,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<r;++n)if(t[ri[n]]){if(i)return!1;parseFloat(t[ri[n]])!==Ct(t[ri[n]])&&(i=!0)}return!0}function oi(){return this._isValid}function si(){return Ai(NaN)}function li(t){var e=at(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,c=e.millisecond||0;this._isValid=ai(e),this._milliseconds=+c+1e3*u+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+r+3*i+12*n,this._data={},this._locale=bn(),this._bubble()}function ui(t){return t instanceof li}function ci(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function di(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&&Ct(t[i])!==Ct(e[i]))&&o++;return o+a}function hi(t,e){F(t,0,0,(function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+R(~~(t/60),2)+e+R(~~t%60,2)}))}hi("Z",":"),hi("ZZ",""),Dt("Z",wt),Dt("ZZ",wt),Pt(["Z","ZZ"],(function(t,e,n){n._useUTC=!0,n._tzm=fi(wt,t)}));var pi=/([\+\-]|\d\d)/gi;function fi(t,e){var n,i,r,a=(e||"").match(t);return null===a?null:(n=a[a.length-1]||[],i=(n+"").match(pi)||["-",0,0],r=60*i[1]+Ct(i[2]),0===r?0:"+"===i[0]?r:-r)}function _i(t,e){var n,i;return e._isUTC?(n=e.clone(),i=(L(t)||p(t)?t.valueOf():Jn(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),a.updateOffset(n,!1),n):Jn(t).local()}function gi(t){return-Math.round(t._d.getTimezoneOffset())}function mi(t,e,n){var i,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"===typeof t){if(t=fi(wt,t),null===t)return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=gi(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!e||this._changeInProgress?Pi(this,Ai(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:gi(this)}function yi(t,e){return null!=t?("string"!==typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function vi(t){return this.utcOffset(0,t)}function bi(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(gi(this),"m")),this}function xi(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var t=fi(Mt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this}function Mi(t){return!!this.isValid()&&(t=t?Jn(t).utcOffset():0,(this.utcOffset()-t)%60===0)}function wi(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Si(){if(!d(this._isDSTShifted))return this._isDSTShifted;var t,e={};return w(e,this),e=Zn(e),e._a?(t=e._isUTC?g(e._a):Jn(e._a),this._isDSTShifted=this.isValid()&&di(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Li(){return!!this.isValid()&&!this._isUTC}function ki(){return!!this.isValid()&&this._isUTC}function Ti(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}a.updateOffset=function(){};var Di=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Oi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ai(t,e){var n,i,r,a=t,o=null;return ui(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:h(t)||!isNaN(+t)?(a={},e?a[e]=+t:a.milliseconds=+t):(o=Di.exec(t))?(n="-"===o[1]?-1:1,a={y:0,d:Ct(o[Bt])*n,h:Ct(o[Ft])*n,m:Ct(o[Wt])*n,s:Ct(o[Vt])*n,ms:Ct(ci(1e3*o[Gt]))*n}):(o=Oi.exec(t))?(n="-"===o[1]?-1:1,a={y:Ii(o[2],n),M:Ii(o[3],n),w:Ii(o[4],n),d:Ii(o[5],n),h:Ii(o[6],n),m:Ii(o[7],n),s:Ii(o[8],n)}):null==a?a={}:"object"===typeof a&&("from"in a||"to"in a)&&(r=Ci(Jn(a.from),Jn(a.to)),a={},a.ms=r.milliseconds,a.M=r.months),i=new li(a),ui(t)&&u(t,"_locale")&&(i._locale=t._locale),ui(t)&&u(t,"_isValid")&&(i._isValid=t._isValid),i}function Ii(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 Ci(t,e){var n;return t.isValid()&&e.isValid()?(e=_i(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 ji(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),r=Ai(n,i),Pi(this,r,t),this}}function Pi(t,e,n,i){var r=e._milliseconds,o=ci(e._days),s=ci(e._months);t.isValid()&&(i=null==i||i,s&&fe(t,Qt(t,"Month")+s*n),o&&te(t,"Date",Qt(t,"Date")+o*n),r&&t._d.setTime(t._d.valueOf()+r*n),i&&a.updateOffset(t,o||s))}Ai.fn=li.prototype,Ai.invalid=si;var Ei=ji(1,"add"),Ri=ji(-1,"subtract");function Ni(t){return"string"===typeof t||t instanceof String}function Hi(t){return L(t)||p(t)||Ni(t)||h(t)||Bi(t)||zi(t)||null===t||void 0===t}function zi(t){var e,n,i=l(t)&&!c(t),r=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=a.length;for(e=0;e<o;e+=1)n=a[e],r=r||u(t,n);return i&&r}function Bi(t){var e=s(t),n=!1;return e&&(n=0===t.filter((function(e){return!h(e)&&Ni(t)})).length),e&&n}function Fi(t){var e,n,i=l(t)&&!c(t),r=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(e=0;e<a.length;e+=1)n=a[e],r=r||u(t,n);return i&&r}function Wi(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 Vi(t,e){1===arguments.length&&(arguments[0]?Hi(arguments[0])?(t=arguments[0],e=void 0):Fi(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||Jn(),i=_i(n,this).startOf("day"),r=a.calendarFormat(this,i)||"sameElse",o=e&&(I(e[r])?e[r].call(this,n):e[r]);return this.format(o||this.localeData().calendar(r,this,Jn(n)))}function Gi(){return new S(this)}function Ui(t,e){var n=L(t)?t:Jn(t);return!(!this.isValid()||!n.isValid())&&(e=rt(e)||"millisecond","millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())}function Xi(t,e){var n=L(t)?t:Jn(t);return!(!this.isValid()||!n.isValid())&&(e=rt(e)||"millisecond","millisecond"===e?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())}function Zi(t,e,n,i){var r=L(t)?t:Jn(t),a=L(e)?e:Jn(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 qi(t,e){var n,i=L(t)?t:Jn(t);return!(!this.isValid()||!i.isValid())&&(e=rt(e)||"millisecond","millisecond"===e?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))}function Ki(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function Ji(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function $i(t,e,n){var i,r,a;if(!this.isValid())return NaN;if(i=_i(t,this),!i.isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=rt(e),e){case"year":a=Qi(this,i)/12;break;case"month":a=Qi(this,i);break;case"quarter":a=Qi(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:Yt(a)}function Qi(t,e){if(t.date()<e.date())return-Qi(e,t);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 tr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function er(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||n.year()>9999?G(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):I(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",G(n,"Z")):G(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function nr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n,i,r="moment",a="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),t="["+r+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",i=a+'[")]',this.format(t+e+n+i)}function ir(t){t||(t=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var e=G(this,t);return this.localeData().postformat(e)}function rr(t,e){return this.isValid()&&(L(t)&&t.isValid()||Jn(t).isValid())?Ai({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ar(t){return this.from(Jn(),t)}function or(t,e){return this.isValid()&&(L(t)&&t.isValid()||Jn(t).isValid())?Ai({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function sr(t){return this.to(Jn(),t)}function lr(t){var e;return void 0===t?this._locale._abbr:(e=bn(t),null!=e&&(this._locale=e),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ur=T("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 cr(){return this._locale}var dr=1e3,hr=60*dr,pr=60*hr,fr=3506328*pr;function _r(t,e){return(t%e+e)%e}function gr(t,e,n){return t<100&&t>=0?new Date(t+400,e,n)-fr:new Date(t,e,n).valueOf()}function mr(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-fr:Date.UTC(t,e,n)}function yr(t){var e,n;if(t=rt(t),void 0===t||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?mr:gr,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-=_r(e+(this._isUTC?0:this.utcOffset()*hr),pr);break;case"minute":e=this._d.valueOf(),e-=_r(e,hr);break;case"second":e=this._d.valueOf(),e-=_r(e,dr);break}return this._d.setTime(e),a.updateOffset(this,!0),this}function vr(t){var e,n;if(t=rt(t),void 0===t||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?mr:gr,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+=pr-_r(e+(this._isUTC?0:this.utcOffset()*hr),pr)-1;break;case"minute":e=this._d.valueOf(),e+=hr-_r(e,hr)-1;break;case"second":e=this._d.valueOf(),e+=dr-_r(e,dr)-1;break}return this._d.setTime(e),a.updateOffset(this,!0),this}function br(){return this._d.valueOf()-6e4*(this._offset||0)}function xr(){return Math.floor(this.valueOf()/1e3)}function Mr(){return new Date(this.valueOf())}function wr(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function Sr(){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 Lr(){return this.isValid()?this.toISOString():null}function kr(){return v(this)}function Tr(){return _({},y(this))}function Dr(){return y(this).overflow}function Or(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ar(t,e){var n,i,r,o=this._eras||bn("en")._eras;for(n=0,i=o.length;n<i;++n){switch(typeof o[n].since){case"string":r=a(o[n].since).startOf("day"),o[n].since=r.valueOf();break}switch(typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":r=a(o[n].until).startOf("day").valueOf(),o[n].until=r.valueOf();break}}return o}function Ir(t,e,n){var i,r,a,o,s,l=this.eras();for(t=t.toUpperCase(),i=0,r=l.length;i<r;++i)if(a=l[i].name.toUpperCase(),o=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(o===t)return l[i];break;case"NNNN":if(a===t)return l[i];break;case"NNNNN":if(s===t)return l[i];break}else if([a,o,s].indexOf(t)>=0)return l[i]}function Yr(t,e){var n=t.since<=t.until?1:-1;return void 0===e?a(t.since).year():a(t.since).year()+(e-t.offset)*n}function Cr(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].name;if(i[t].until<=n&&n<=i[t].since)return i[t].name}return""}function jr(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].narrow;if(i[t].until<=n&&n<=i[t].since)return i[t].narrow}return""}function Pr(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;t<e;++t){if(n=this.clone().startOf("day").valueOf(),i[t].since<=n&&n<=i[t].until)return i[t].abbr;if(i[t].until<=n&&n<=i[t].since)return i[t].abbr}return""}function Er(){var t,e,n,i,r=this.localeData().eras();for(t=0,e=r.length;t<e;++t)if(n=r[t].since<=r[t].until?1:-1,i=this.clone().startOf("day").valueOf(),r[t].since<=i&&i<=r[t].until||r[t].until<=i&&i<=r[t].since)return(this.year()-a(r[t].since).year())*n+r[t].offset;return this.year()}function Rr(t){return u(this,"_erasNameRegex")||Vr.call(this),t?this._erasNameRegex:this._erasRegex}function Nr(t){return u(this,"_erasAbbrRegex")||Vr.call(this),t?this._erasAbbrRegex:this._erasRegex}function Hr(t){return u(this,"_erasNarrowRegex")||Vr.call(this),t?this._erasNarrowRegex:this._erasRegex}function zr(t,e){return e.erasAbbrRegex(t)}function Br(t,e){return e.erasNameRegex(t)}function Fr(t,e){return e.erasNarrowRegex(t)}function Wr(t,e){return e._eraYearOrdinalRegex||bt}function Vr(){var t,e,n,i,r,a=[],o=[],s=[],l=[],u=this.eras();for(t=0,e=u.length;t<e;++t)n=It(u[t].name),i=It(u[t].abbr),r=It(u[t].narrow),o.push(n),a.push(i),s.push(r),l.push(n),l.push(i),l.push(r);this._erasRegex=new RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+o.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function Gr(t,e){F(0,[t,t.length],0,e)}function Ur(t){return $r.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Xr(t){return $r.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function Zr(){return Le(this.year(),1,4)}function qr(){return Le(this.isoWeekYear(),1,4)}function Kr(){var t=this.localeData()._week;return Le(this.year(),t.dow,t.doy)}function Jr(){var t=this.localeData()._week;return Le(this.weekYear(),t.dow,t.doy)}function $r(t,e,n,i,r){var a;return null==t?Se(this,i,r).year:(a=Le(t,i,r),e>a&&(e=a),Qr.call(this,t,e,n,i,r))}function Qr(t,e,n,i,r){var a=we(t,e,n,i,r),o=xe(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function ta(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}F("N",0,0,"eraAbbr"),F("NN",0,0,"eraAbbr"),F("NNN",0,0,"eraAbbr"),F("NNNN",0,0,"eraName"),F("NNNNN",0,0,"eraNarrow"),F("y",["y",1],"yo","eraYear"),F("y",["yy",2],0,"eraYear"),F("y",["yyy",3],0,"eraYear"),F("y",["yyyy",4],0,"eraYear"),Dt("N",zr),Dt("NN",zr),Dt("NNN",zr),Dt("NNNN",Br),Dt("NNNNN",Fr),Pt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,n,i){var r=n._locale.erasParse(t,i,n._strict);r?y(n).era=r:y(n).invalidEra=t})),Dt("y",bt),Dt("yy",bt),Dt("yyy",bt),Dt("yyyy",bt),Dt("yo",Wr),Pt(["y","yy","yyy","yyyy"],Ht),Pt(["yo"],(function(t,e,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[Ht]=n._locale.eraYearOrdinalParse(t,r):e[Ht]=parseInt(t,10)})),F(0,["gg",2],0,(function(){return this.weekYear()%100})),F(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Gr("gggg","weekYear"),Gr("ggggg","weekYear"),Gr("GGGG","isoWeekYear"),Gr("GGGGG","isoWeekYear"),Dt("G",xt),Dt("g",xt),Dt("GG",ft,ct),Dt("gg",ft,ct),Dt("GGGG",yt,ht),Dt("gggg",yt,ht),Dt("GGGGG",vt,pt),Dt("ggggg",vt,pt),Et(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,i){e[i.substr(0,2)]=Ct(t)})),Et(["gg","GG"],(function(t,e,n,i){e[i]=a.parseTwoDigitYear(t)})),F("Q",0,"Qo","quarter"),Dt("Q",ut),Pt("Q",(function(t,e){e[zt]=3*(Ct(t)-1)})),F("D",["DD",2],"Do","date"),Dt("D",ft,kt),Dt("DD",ft,ct),Dt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),Pt(["D","DD"],Bt),Pt("Do",(function(t,e){e[Bt]=Ct(t.match(ft)[0])}));var ea=$t("Date",!0);function na(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}F("DDD",["DDDD",3],"DDDo","dayOfYear"),Dt("DDD",mt),Dt("DDDD",dt),Pt(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=Ct(t)})),F("m",["mm",2],0,"minute"),Dt("m",ft,Tt),Dt("mm",ft,ct),Pt(["m","mm"],Wt);var ia=$t("Minutes",!1);F("s",["ss",2],0,"second"),Dt("s",ft,Tt),Dt("ss",ft,ct),Pt(["s","ss"],Vt);var ra,aa,oa=$t("Seconds",!1);for(F("S",0,0,(function(){return~~(this.millisecond()/100)})),F(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),F(0,["SSS",3],0,"millisecond"),F(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),F(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),F(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),F(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),F(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),F(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),Dt("S",mt,ut),Dt("SS",mt,ct),Dt("SSS",mt,dt),ra="SSSS";ra.length<=9;ra+="S")Dt(ra,bt);function sa(t,e){e[Gt]=Ct(1e3*("0."+t))}for(ra="S";ra.length<=9;ra+="S")Pt(ra,sa);function la(){return this._isUTC?"UTC":""}function ua(){return this._isUTC?"Coordinated Universal Time":""}aa=$t("Milliseconds",!1),F("z",0,0,"zoneAbbr"),F("zz",0,0,"zoneName");var ca=S.prototype;function da(t){return Jn(1e3*t)}function ha(){return Jn.apply(null,arguments).parseZone()}function pa(t){return t}ca.add=Ei,ca.calendar=Vi,ca.clone=Gi,ca.diff=$i,ca.endOf=vr,ca.format=ir,ca.from=rr,ca.fromNow=ar,ca.to=or,ca.toNow=sr,ca.get=ee,ca.invalidAt=Dr,ca.isAfter=Ui,ca.isBefore=Xi,ca.isBetween=Zi,ca.isSame=qi,ca.isSameOrAfter=Ki,ca.isSameOrBefore=Ji,ca.isValid=kr,ca.lang=ur,ca.locale=lr,ca.localeData=cr,ca.max=Qn,ca.min=$n,ca.parsingFlags=Tr,ca.set=ne,ca.startOf=yr,ca.subtract=Ri,ca.toArray=wr,ca.toObject=Sr,ca.toDate=Mr,ca.toISOString=er,ca.inspect=nr,"undefined"!==typeof Symbol&&null!=Symbol.for&&(ca[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ca.toJSON=Lr,ca.toString=tr,ca.unix=xr,ca.valueOf=br,ca.creationData=Or,ca.eraName=Cr,ca.eraNarrow=jr,ca.eraAbbr=Pr,ca.eraYear=Er,ca.year=Kt,ca.isLeapYear=Jt,ca.weekYear=Ur,ca.isoWeekYear=Xr,ca.quarter=ca.quarters=ta,ca.month=_e,ca.daysInMonth=ge,ca.week=ca.weeks=Ae,ca.isoWeek=ca.isoWeeks=Ie,ca.weeksInYear=Kr,ca.weeksInWeekYear=Jr,ca.isoWeeksInYear=Zr,ca.isoWeeksInISOWeekYear=qr,ca.date=ea,ca.day=ca.days=Ue,ca.weekday=Xe,ca.isoWeekday=Ze,ca.dayOfYear=na,ca.hour=ca.hours=on,ca.minute=ca.minutes=ia,ca.second=ca.seconds=oa,ca.millisecond=ca.milliseconds=aa,ca.utcOffset=mi,ca.utc=vi,ca.local=bi,ca.parseZone=xi,ca.hasAlignedHourOffset=Mi,ca.isDST=wi,ca.isLocal=Li,ca.isUtcOffset=ki,ca.isUtc=Ti,ca.isUTC=Ti,ca.zoneAbbr=la,ca.zoneName=ua,ca.dates=T("dates accessor is deprecated. Use date instead.",ea),ca.months=T("months accessor is deprecated. Use month instead",_e),ca.years=T("years accessor is deprecated. Use year instead",Kt),ca.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yi),ca.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Si);var fa=j.prototype;function _a(t,e,n,i){var r=bn(),a=g().set(i,e);return r[n](a,t)}function ga(t,e,n){if(h(t)&&(e=t,t=void 0),t=t||"",null!=e)return _a(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=_a(t,i,n,"month");return r}function ma(t,e,n,i){"boolean"===typeof t?(h(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,h(e)&&(n=e,e=void 0),e=e||"");var r,a=bn(),o=t?a._week.dow:0,s=[];if(null!=n)return _a(e,(n+o)%7,i,"day");for(r=0;r<7;r++)s[r]=_a(e,(r+o)%7,i,"day");return s}function ya(t,e){return ga(t,e,"months")}function va(t,e){return ga(t,e,"monthsShort")}function ba(t,e,n){return ma(t,e,n,"weekdays")}function xa(t,e,n){return ma(t,e,n,"weekdaysShort")}function Ma(t,e,n){return ma(t,e,n,"weekdaysMin")}fa.calendar=E,fa.longDateFormat=Z,fa.invalidDate=K,fa.ordinal=Q,fa.preparse=pa,fa.postformat=pa,fa.relativeTime=et,fa.pastFuture=nt,fa.set=Y,fa.eras=Ar,fa.erasParse=Ir,fa.erasConvertYear=Yr,fa.erasAbbrRegex=Nr,fa.erasNameRegex=Rr,fa.erasNarrowRegex=Hr,fa.months=ce,fa.monthsShort=de,fa.monthsParse=pe,fa.monthsRegex=ye,fa.monthsShortRegex=me,fa.week=ke,fa.firstDayOfYear=Oe,fa.firstDayOfWeek=De,fa.weekdays=Be,fa.weekdaysMin=We,fa.weekdaysShort=Fe,fa.weekdaysParse=Ge,fa.weekdaysRegex=qe,fa.weekdaysShortRegex=Ke,fa.weekdaysMinRegex=Je,fa.isPM=rn,fa.meridiem=sn,mn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===Ct(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),a.lang=T("moment.lang is deprecated. Use moment.locale instead.",mn),a.langData=T("moment.langData is deprecated. Use moment.localeData instead.",bn);var wa=Math.abs;function Sa(){var t=this._data;return this._milliseconds=wa(this._milliseconds),this._days=wa(this._days),this._months=wa(this._months),t.milliseconds=wa(t.milliseconds),t.seconds=wa(t.seconds),t.minutes=wa(t.minutes),t.hours=wa(t.hours),t.months=wa(t.months),t.years=wa(t.years),this}function La(t,e,n,i){var r=Ai(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function ka(t,e){return La(this,t,e,1)}function Ta(t,e){return La(this,t,e,-1)}function Da(t){return t<0?Math.floor(t):Math.ceil(t)}function Oa(){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*Da(Ia(s)+o),o=0,s=0),l.milliseconds=a%1e3,t=Yt(a/1e3),l.seconds=t%60,e=Yt(t/60),l.minutes=e%60,n=Yt(e/60),l.hours=n%24,o+=Yt(n/24),r=Yt(Aa(o)),s+=r,o-=Da(Ia(r)),i=Yt(s/12),s%=12,l.days=o,l.months=s,l.years=i,this}function Aa(t){return 4800*t/146097}function Ia(t){return 146097*t/4800}function Ya(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if(t=rt(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(Ia(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 Ca(t){return function(){return this.as(t)}}var ja=Ca("ms"),Pa=Ca("s"),Ea=Ca("m"),Ra=Ca("h"),Na=Ca("d"),Ha=Ca("w"),za=Ca("M"),Ba=Ca("Q"),Fa=Ca("y"),Wa=ja;function Va(){return Ai(this)}function Ga(t){return t=rt(t),this.isValid()?this[t+"s"]():NaN}function Ua(t){return function(){return this.isValid()?this._data[t]:NaN}}var Xa=Ua("milliseconds"),Za=Ua("seconds"),qa=Ua("minutes"),Ka=Ua("hours"),Ja=Ua("days"),$a=Ua("months"),Qa=Ua("years");function to(){return Yt(this.days()/7)}var eo=Math.round,no={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function io(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}function ro(t,e,n,i){var r=Ai(t).abs(),a=eo(r.as("s")),o=eo(r.as("m")),s=eo(r.as("h")),l=eo(r.as("d")),u=eo(r.as("M")),c=eo(r.as("w")),d=eo(r.as("y")),h=a<=n.ss&&["s",a]||a<n.s&&["ss",a]||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||c<=1&&["w"]||c<n.w&&["ww",c]),h=h||u<=1&&["M"]||u<n.M&&["MM",u]||d<=1&&["y"]||["yy",d],h[2]=e,h[3]=+t>0,h[4]=i,io.apply(null,h)}function ao(t){return void 0===t?eo:"function"===typeof t&&(eo=t,!0)}function oo(t,e){return void 0!==no[t]&&(void 0===e?no[t]:(no[t]=e,"s"===t&&(no.ss=e-1),!0))}function so(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,a=no;return"object"===typeof t&&(e=t,t=!1),"boolean"===typeof t&&(r=t),"object"===typeof e&&(a=Object.assign({},no,e),null!=e.s&&null==e.ss&&(a.ss=e.s-1)),n=this.localeData(),i=ro(this,!r,a,n),r&&(i=n.pastFuture(+this,i)),n.postformat(i)}var lo=Math.abs;function uo(t){return(t>0)-(t<0)||+t}function co(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i,r,a,o,s,l=lo(this._milliseconds)/1e3,u=lo(this._days),c=lo(this._months),d=this.asSeconds();return d?(t=Yt(l/60),e=Yt(t/60),l%=60,t%=60,n=Yt(c/12),c%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",a=uo(this._months)!==uo(d)?"-":"",o=uo(this._days)!==uo(d)?"-":"",s=uo(this._milliseconds)!==uo(d)?"-":"",r+"P"+(n?a+n+"Y":"")+(c?a+c+"M":"")+(u?o+u+"D":"")+(e||t||l?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(l?s+i+"S":"")):"P0D"}var ho=li.prototype;return ho.isValid=oi,ho.abs=Sa,ho.add=ka,ho.subtract=Ta,ho.as=Ya,ho.asMilliseconds=ja,ho.asSeconds=Pa,ho.asMinutes=Ea,ho.asHours=Ra,ho.asDays=Na,ho.asWeeks=Ha,ho.asMonths=za,ho.asQuarters=Ba,ho.asYears=Fa,ho.valueOf=Wa,ho._bubble=Oa,ho.clone=Va,ho.get=Ga,ho.milliseconds=Xa,ho.seconds=Za,ho.minutes=qa,ho.hours=Ka,ho.days=Ja,ho.weeks=to,ho.months=$a,ho.years=Qa,ho.humanize=so,ho.toISOString=co,ho.toString=co,ho.toJSON=co,ho.locale=lr,ho.localeData=cr,ho.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",co),ho.lang=ur,F("X",0,0,"unix"),F("x",0,0,"valueOf"),Dt("x",xt),Dt("X",St),Pt("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t))})),Pt("x",(function(t,e,n){n._d=new Date(Ct(t))})),
  259. //! moment.js
  260. a.version="2.30.1",o(Jn),a.fn=ca,a.min=ei,a.max=ni,a.now=ii,a.utc=g,a.unix=da,a.months=ya,a.isDate=p,a.locale=mn,a.invalid=b,a.duration=Ai,a.isMoment=L,a.weekdays=ba,a.parseZone=ha,a.localeData=bn,a.isDuration=ui,a.monthsShort=va,a.weekdaysMin=Ma,a.defineLocale=yn,a.updateLocale=vn,a.locales=xn,a.weekdaysShort=xa,a.normalizeUnits=rt,a.relativeTimeRounding=ao,a.relativeTimeThreshold=oo,a.calendarFormat=Wi,a.prototype=ca,a.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"},a}))}).call(this,n("62e4")(t))},c7aa:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  261. //! moment.js locale configuration
  262. 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}))},c8f3:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  263. //! moment.js locale configuration
  264. 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}))},cf1e:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  265. //! moment.js locale configuration
  266. var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(t,e){return t%10>=1&&t%10<=4&&(t%100<10||t%100>=20)?t%10===1?e[0]:e[1]:e[2]},translate:function(t,n,i,r){var a,o=e.words[i];return 1===i.length?"y"===i&&n?"jedna godina":r||n?o[0]:o[1]:(a=e.correctGrammaticalCase(t,o),"yy"===i&&n&&"godinu"===a?t+" godina":t+" "+a)}},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:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var t=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return t[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:e.translate,dd:e.translate,M:e.translate,MM:e.translate,y:e.translate,yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},cf51:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  267. //! moment.js locale configuration
  268. 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";
  269. //! moment.js locale configuration
  270. 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}))},d044:function(t,e,n){var i;(function(e,n){t.exports=n()})(0,(function(){function t(t){this.mode=n.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,i=this.data.length;e<i;e++){var r=[],a=this.data.charCodeAt(e);a>65536?(r[0]=240|(1835008&a)>>>18,r[1]=128|(258048&a)>>>12,r[2]=128|(4032&a)>>>6,r[3]=128|63&a):a>2048?(r[0]=224|(61440&a)>>>12,r[1]=128|(4032&a)>>>6,r[2]=128|63&a):a>128?(r[0]=192|(1984&a)>>>6,r[1]=128|63&a):r[0]=a,this.parsedData.push(r)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function e(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}t.prototype={getLength:function(t){return this.parsedData.length},write:function(t){for(var e=0,n=this.parsedData.length;e<n;e++)t.put(this.parsedData[e],8)}},e.prototype={addData:function(e){var n=new t(e);this.dataList.push(n),this.dataCache=null},isDark:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,n){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++){this.modules[i]=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++)this.modules[i][r]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,n),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=e.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,n)},setupPositionProbePattern:function(t,e){for(var n=-1;n<=7;n++)if(!(t+n<=-1||this.moduleCount<=t+n))for(var i=-1;i<=7;i++)e+i<=-1||this.moduleCount<=e+i||(this.modules[t+n][e+i]=0<=n&&n<=6&&(0==i||6==i)||0<=i&&i<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=i&&i<=4)},getBestMaskPattern:function(){for(var t=0,e=0,n=0;n<8;n++){this.makeImpl(!0,n);var i=o.getLostPoint(this);(0==n||t>i)&&(t=i,e=n)}return e},createMovieClip:function(t,e,n){var i=t.createEmptyMovieClip(e,n),r=1;this.make();for(var a=0;a<this.modules.length;a++)for(var o=a*r,s=0;s<this.modules[a].length;s++){var l=s*r,u=this.modules[a][s];u&&(i.beginFill(0,100),i.moveTo(l,o),i.lineTo(l+r,o),i.lineTo(l+r,o+r),i.lineTo(l,o+r),i.endFill())}return i},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=e%2==0)},setupPositionAdjustPattern:function(){for(var t=o.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var n=0;n<t.length;n++){var i=t[e],r=t[n];if(null==this.modules[i][r])for(var a=-2;a<=2;a++)for(var s=-2;s<=2;s++)this.modules[i+a][r+s]=-2==a||2==a||-2==s||2==s||0==a&&0==s}},setupTypeNumber:function(t){for(var e=o.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var i=!t&&1==(e>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=i}for(n=0;n<18;n++){i=!t&&1==(e>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=i}},setupTypeInfo:function(t,e){for(var n=this.errorCorrectLevel<<3|e,i=o.getBCHTypeInfo(n),r=0;r<15;r++){var a=!t&&1==(i>>r&1);r<6?this.modules[r][8]=a:r<8?this.modules[r+1][8]=a:this.modules[this.moduleCount-15+r][8]=a}for(r=0;r<15;r++){a=!t&&1==(i>>r&1);r<8?this.modules[8][this.moduleCount-r-1]=a:r<9?this.modules[8][15-r-1+1]=a:this.modules[8][15-r-1]=a}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var n=-1,i=this.moduleCount-1,r=7,a=0,s=this.moduleCount-1;s>0;s-=2){6==s&&s--;while(1){for(var l=0;l<2;l++)if(null==this.modules[i][s-l]){var u=!1;a<t.length&&(u=1==(t[a]>>>r&1));var c=o.getMask(e,i,s-l);c&&(u=!u),this.modules[i][s-l]=u,r--,-1==r&&(a++,r=7)}if(i+=n,i<0||this.moduleCount<=i){i-=n,n=-n;break}}}}},e.PAD0=236,e.PAD1=17,e.createData=function(t,n,i){for(var r=c.getRSBlocks(t,n),a=new d,s=0;s<i.length;s++){var l=i[s];a.put(l.mode,4),a.put(l.getLength(),o.getLengthInBits(l.mode,t)),l.write(a)}var u=0;for(s=0;s<r.length;s++)u+=r[s].dataCount;if(a.getLengthInBits()>8*u)throw new Error("code length overflow. ("+a.getLengthInBits()+">"+8*u+")");a.getLengthInBits()+4<=8*u&&a.put(0,4);while(a.getLengthInBits()%8!=0)a.putBit(!1);while(1){if(a.getLengthInBits()>=8*u)break;if(a.put(e.PAD0,8),a.getLengthInBits()>=8*u)break;a.put(e.PAD1,8)}return e.createBytes(a,r)},e.createBytes=function(t,e){for(var n=0,i=0,r=0,a=new Array(e.length),s=new Array(e.length),l=0;l<e.length;l++){var c=e[l].dataCount,d=e[l].totalCount-c;i=Math.max(i,c),r=Math.max(r,d),a[l]=new Array(c);for(var h=0;h<a[l].length;h++)a[l][h]=255&t.buffer[h+n];n+=c;var p=o.getErrorCorrectPolynomial(d),f=new u(a[l],p.getLength()-1),_=f.mod(p);s[l]=new Array(p.getLength()-1);for(h=0;h<s[l].length;h++){var g=h+_.getLength()-s[l].length;s[l][h]=g>=0?_.get(g):0}}var m=0;for(h=0;h<e.length;h++)m+=e[h].totalCount;var y=new Array(m),v=0;for(h=0;h<i;h++)for(l=0;l<e.length;l++)h<a[l].length&&(y[v++]=a[l][h]);for(h=0;h<r;h++)for(l=0;l<e.length;l++)h<s[l].length&&(y[v++]=s[l][h]);return y};for(var n={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},r={L:1,M:0,Q:3,H:2},a={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},o={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){var e=t<<10;while(o.getBCHDigit(e)-o.getBCHDigit(o.G15)>=0)e^=o.G15<<o.getBCHDigit(e)-o.getBCHDigit(o.G15);return(t<<10|e)^o.G15_MASK},getBCHTypeNumber:function(t){var e=t<<12;while(o.getBCHDigit(e)-o.getBCHDigit(o.G18)>=0)e^=o.G18<<o.getBCHDigit(e)-o.getBCHDigit(o.G18);return t<<12|e},getBCHDigit:function(t){var e=0;while(0!=t)e++,t>>>=1;return e},getPatternPosition:function(t){return o.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,n){switch(t){case a.PATTERN000:return(e+n)%2==0;case a.PATTERN001:return e%2==0;case a.PATTERN010:return n%3==0;case a.PATTERN011:return(e+n)%3==0;case a.PATTERN100:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case a.PATTERN101:return e*n%2+e*n%3==0;case a.PATTERN110:return(e*n%2+e*n%3)%2==0;case a.PATTERN111:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new u([1],0),n=0;n<t;n++)e=e.multiply(new u([1,s.gexp(n)],0));return e},getLengthInBits:function(t,e){if(1<=e&&e<10)switch(t){case n.MODE_NUMBER:return 10;case n.MODE_ALPHA_NUM:return 9;case n.MODE_8BIT_BYTE:return 8;case n.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case n.MODE_NUMBER:return 12;case n.MODE_ALPHA_NUM:return 11;case n.MODE_8BIT_BYTE:return 16;case n.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case n.MODE_NUMBER:return 14;case n.MODE_ALPHA_NUM:return 13;case n.MODE_8BIT_BYTE:return 16;case n.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),n=0,i=0;i<e;i++)for(var r=0;r<e;r++){for(var a=0,o=t.isDark(i,r),s=-1;s<=1;s++)if(!(i+s<0||e<=i+s))for(var l=-1;l<=1;l++)r+l<0||e<=r+l||0==s&&0==l||o==t.isDark(i+s,r+l)&&a++;a>5&&(n+=3+a-5)}for(i=0;i<e-1;i++)for(r=0;r<e-1;r++){var u=0;t.isDark(i,r)&&u++,t.isDark(i+1,r)&&u++,t.isDark(i,r+1)&&u++,t.isDark(i+1,r+1)&&u++,0!=u&&4!=u||(n+=3)}for(i=0;i<e;i++)for(r=0;r<e-6;r++)t.isDark(i,r)&&!t.isDark(i,r+1)&&t.isDark(i,r+2)&&t.isDark(i,r+3)&&t.isDark(i,r+4)&&!t.isDark(i,r+5)&&t.isDark(i,r+6)&&(n+=40);for(r=0;r<e;r++)for(i=0;i<e-6;i++)t.isDark(i,r)&&!t.isDark(i+1,r)&&t.isDark(i+2,r)&&t.isDark(i+3,r)&&t.isDark(i+4,r)&&!t.isDark(i+5,r)&&t.isDark(i+6,r)&&(n+=40);var c=0;for(r=0;r<e;r++)for(i=0;i<e;i++)t.isDark(i,r)&&c++;var d=Math.abs(100*c/e/e-50)/5;return n+=10*d,n}},s={glog:function(t){if(t<1)throw new Error("glog("+t+")");return s.LOG_TABLE[t]},gexp:function(t){while(t<0)t+=255;while(t>=256)t-=255;return s.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},l=0;l<8;l++)s.EXP_TABLE[l]=1<<l;for(l=8;l<256;l++)s.EXP_TABLE[l]=s.EXP_TABLE[l-4]^s.EXP_TABLE[l-5]^s.EXP_TABLE[l-6]^s.EXP_TABLE[l-8];for(l=0;l<255;l++)s.LOG_TABLE[s.EXP_TABLE[l]]=l;function u(t,e){if(void 0==t.length)throw new Error(t.length+"/"+e);var n=0;while(n<t.length&&0==t[n])n++;this.num=new Array(t.length-n+e);for(var i=0;i<t.length-n;i++)this.num[i]=t[i+n]}function c(t,e){this.totalCount=t,this.dataCount=e}function d(){this.buffer=[],this.length=0}u.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),n=0;n<this.getLength();n++)for(var i=0;i<t.getLength();i++)e[n+i]^=s.gexp(s.glog(this.get(n))+s.glog(t.get(i)));return new u(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=s.glog(this.get(0))-s.glog(t.get(0)),n=new Array(this.getLength()),i=0;i<this.getLength();i++)n[i]=this.get(i);for(i=0;i<t.getLength();i++)n[i]^=s.gexp(s.glog(t.get(i))+e);return new u(n,0).mod(t)}},c.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],c.getRSBlocks=function(t,e){var n=c.getRsBlockTable(t,e);if(void 0==n)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var i=n.length/3,r=[],a=0;a<i;a++)for(var o=n[3*a+0],s=n[3*a+1],l=n[3*a+2],u=0;u<o;u++)r.push(new c(s,l));return r},c.getRsBlockTable=function(t,e){switch(e){case r.L:return c.RS_BLOCK_TABLE[4*(t-1)+0];case r.M:return c.RS_BLOCK_TABLE[4*(t-1)+1];case r.Q:return c.RS_BLOCK_TABLE[4*(t-1)+2];case r.H:return c.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},d.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var n=0;n<e;n++)this.putBit(1==(t>>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var h=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function p(){return"undefined"!=typeof CanvasRenderingContext2D}function f(){var t=!1,e=navigator.userAgent;if(/android/i.test(e)){t=!0;var n=e.toString().match(/android ([0-9]\.[0-9])/i);n&&n[1]&&(t=parseFloat(n[1]))}return t}var _=function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){var e=this._htOption,n=this._el,i=t.getModuleCount();Math.floor(e.width/i),Math.floor(e.height/i);function r(t,e){var n=document.createElementNS("http://www.w3.org/2000/svg",t);for(var i in e)e.hasOwnProperty(i)&&n.setAttribute(i,e[i]);return n}this.clear();var a=r("svg",{viewBox:"0 0 "+String(i)+" "+String(i),width:"100%",height:"100%",fill:e.colorLight});a.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),n.appendChild(a),a.appendChild(r("rect",{fill:e.colorLight,width:"100%",height:"100%"})),a.appendChild(r("rect",{fill:e.colorDark,width:"1",height:"1",id:"template"}));for(var o=0;o<i;o++)for(var s=0;s<i;s++)if(t.isDark(o,s)){var l=r("use",{x:String(s),y:String(o)});l.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),a.appendChild(l)}},t.prototype.clear=function(){while(this._el.hasChildNodes())this._el.removeChild(this._el.lastChild)},t}(),g="svg"===document.documentElement.tagName.toLowerCase(),m=g?_:p()?function(){function t(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}if(this._android&&this._android<=2.1){var e=1/window.devicePixelRatio,n=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(t,i,r,a,o,s,l,u,c){if("nodeName"in t&&/img/i.test(t.nodeName))for(var d=arguments.length-1;d>=1;d--)arguments[d]=arguments[d]*e;else"undefined"==typeof u&&(arguments[1]*=e,arguments[2]*=e,arguments[3]*=e,arguments[4]*=e);n.apply(this,arguments)}}function i(t,e){var n=this;if(n._fFail=e,n._fSuccess=t,null===n._bSupportDataURI){var i=document.createElement("img"),r=function(){n._bSupportDataURI=!1,n._fFail&&n._fFail.call(n)},a=function(){n._bSupportDataURI=!0,n._fSuccess&&n._fSuccess.call(n)};return i.onabort=r,i.onerror=r,i.onload=a,void(i.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===n._bSupportDataURI&&n._fSuccess?n._fSuccess.call(n):!1===n._bSupportDataURI&&n._fFail&&n._fFail.call(n)}var r=function(t,e){this._bIsPainted=!1,this._android=f(),this._htOption=e,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=e.width,this._elCanvas.height=e.height,t.appendChild(this._elCanvas),this._el=t,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return r.prototype.draw=function(t){var e=this._elImage,n=this._oContext,i=this._htOption,r=t.getModuleCount(),a=i.width/r,o=i.height/r,s=Math.round(a),l=Math.round(o);e.style.display="none",this.clear();for(var u=0;u<r;u++)for(var c=0;c<r;c++){var d=t.isDark(u,c),h=c*a,p=u*o;n.strokeStyle=d?i.colorDark:i.colorLight,n.lineWidth=1,n.fillStyle=d?i.colorDark:i.colorLight,n.fillRect(h,p,a,o),n.strokeRect(Math.floor(h)+.5,Math.floor(p)+.5,s,l),n.strokeRect(Math.ceil(h)-.5,Math.ceil(p)-.5,s,l)}this._bIsPainted=!0},r.prototype.makeImage=function(){this._bIsPainted&&i.call(this,t)},r.prototype.isPainted=function(){return this._bIsPainted},r.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},r.prototype.round=function(t){return t?Math.floor(1e3*t)/1e3:t},r}():function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){for(var e=this._htOption,n=this._el,i=t.getModuleCount(),r=Math.floor(e.width/i),a=Math.floor(e.height/i),o=['<table style="border:0;border-collapse:collapse;">'],s=0;s<i;s++){o.push("<tr>");for(var l=0;l<i;l++)o.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+r+"px;height:"+a+"px;background-color:"+(t.isDark(s,l)?e.colorDark:e.colorLight)+';"></td>');o.push("</tr>")}o.push("</table>"),n.innerHTML=o.join("");var u=n.childNodes[0],c=(e.width-u.offsetWidth)/2,d=(e.height-u.offsetHeight)/2;c>0&&d>0&&(u.style.margin=d+"px "+c+"px")},t.prototype.clear=function(){this._el.innerHTML=""},t}();function y(t,e){for(var n=1,i=v(t),a=0,o=h.length;a<=o;a++){var s=0;switch(e){case r.L:s=h[a][0];break;case r.M:s=h[a][1];break;case r.Q:s=h[a][2];break;case r.H:s=h[a][3];break}if(i<=s)break;n++}if(n>h.length)throw new Error("Too long data");return n}function v(t){var e=encodeURI(t).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return e.length+(e.length!=t?3:0)}return i=function(t,e){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:r.H},"string"===typeof e&&(e={text:e}),e)for(var n in e)this._htOption[n]=e[n];"string"==typeof t&&(t=document.getElementById(t)),this._htOption.useSVG&&(m=_),this._android=f(),this._el=t,this._oQRCode=null,this._oDrawing=new m(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)},i.prototype.makeCode=function(t){this._oQRCode=new e(y(t,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(t),this._oQRCode.make(),this._el.title=t,this._oDrawing.draw(this._oQRCode),this.makeImage()},i.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},i.prototype.clear=function(){this._oDrawing.clear()},i.CorrectLevel=r,i}))},d26a:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  271. //! moment.js locale configuration
  272. 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:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(t){return t.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(t){return 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";
  273. //! moment.js locale configuration
  274. var e=t.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"});return e}))},d51b:function(t,e,n){"use strict";var i=function(){function t(t){this.value=t}return t}(),r=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new i(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}(),a=function(){function t(t){this._list=new r,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,r=this._map,a=null;if(null==r[t]){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=n.head;n.remove(l),delete r[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new i(e),s.key=t,n.insertEntry(s),r[t]=s}return a},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}();e["a"]=a},d60a:function(t,e){t.exports=function(t){return t&&"object"===typeof t&&"function"===typeof t.copy&&"function"===typeof t.fill&&"function"===typeof t.readUInt8}},d69a:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  275. //! moment.js locale configuration
  276. var e=t.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}});return e}))},d6b6:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  277. //! moment.js locale configuration
  278. 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";
  279. //! moment.js locale configuration
  280. 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";
  281. //! moment.js locale configuration
  282. 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";
  283. //! moment.js locale configuration
  284. 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";
  285. //! moment.js locale configuration
  286. var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},i=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],r=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],a=t.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:i,longMonthsParse:i,shortMonthsParse:r,monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return 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 a}))},de09:function(t,e){t.exports=function(t){var e=t.COMMENT("--","$");return{case_insensitive:!0,illegal:/[<>{}*]/,contains:[{beginKeywords:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment values with",end:/;/,endsWithParent:!0,lexemes:/[\w\.]+/,keywords:{keyword:"as abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias all allocate allow alter always analyze ancillary and anti any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound bucket buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain explode export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force foreign form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour hours http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lateral lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minutes minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notnull notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second seconds section securefile security seed segment select self semi sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tablesample tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unnest unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace window with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null unknown",built_in:"array bigint binary bit blob bool boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text time timestamp tinyint varchar varchar2 varying void"},contains:[{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:"`",end:"`"},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,e,t.HASH_COMMENT_MODE]},t.C_BLOCK_COMMENT_MODE,e,t.HASH_COMMENT_MODE]}}},e0c5:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  287. //! moment.js locale configuration
  288. 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";
  289. //! moment.js locale configuration
  290. 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}))},e552:function(t,e,n){"use strict";var i,r;function a(t,e,n){var i=function(e,n){return t.js_beautify(e,n)};return i.js=t.js_beautify,i.css=e.css_beautify,i.html=n.html_beautify,i.js_beautify=t.js_beautify,i.css_beautify=e.css_beautify,i.html_beautify=n.html_beautify,i}i=[n("e943"),n("4d7c"),n("a6c1")],r=function(t,e,n){return a(t,e,n)}.apply(e,i),void 0===r||(t.exports=r)},e81d:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  291. //! moment.js locale configuration
  292. 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}))},e943:function(t,e,n){var i,r;(function(){var n=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=0)}([function(t,e,n){"use strict";var i=n(1).Beautifier,r=n(5).Options;function a(t,e){var n=new i(t,e);return n.beautify()}t.exports=a,t.exports.defaultOptions=function(){return new r}},function(t,e,n){"use strict";var i=n(2).Output,r=n(3).Token,a=n(4),o=n(5).Options,s=n(7).Tokenizer,l=n(7).line_starters,u=n(7).positionable_operators,c=n(7).TOKEN;function d(t,e){return-1!==e.indexOf(t)}function h(t){return t.replace(/^\s+/g,"")}function p(t){for(var e={},n=0;n<t.length;n++)e[t[n].replace(/-/g,"_")]=t[n];return e}function f(t,e){return t&&t.type===c.RESERVED&&t.text===e}function _(t,e){return t&&t.type===c.RESERVED&&d(t.text,e)}var g=["case","return","do","if","throw","else","await","break","continue","async"],m=["before-newline","after-newline","preserve-newline"],y=p(m),v=[y.before_newline,y.preserve_newline],b={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function x(t,e){e.multiline_frame||e.mode===b.ForInitializer||e.mode===b.Conditional||t.remove_indent(e.start_line_index)}function M(t){t=t.replace(a.allLineBreaks,"\n");var e=[],n=t.indexOf("\n");while(-1!==n)e.push(t.substring(0,n)),t=t.substring(n+1),n=t.indexOf("\n");return t.length&&e.push(t),e}function w(t){return t===b.ArrayLiteral}function S(t){return d(t,[b.Expression,b.ForInitializer,b.Conditional])}function L(t,e){for(var n=0;n<t.length;n++){var i=t[n].trim();if(i.charAt(0)!==e)return!1}return!0}function k(t,e){for(var n,i=0,r=t.length;i<r;i++)if(n=t[i],n&&0!==n.indexOf(e))return!1;return!0}function T(t,e){e=e||{},this._source_text=t||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new o(e)}T.prototype.create_flags=function(t,e){var n=0;t&&(n=t.indentation_level,!this._output.just_added_newline()&&t.line_indent_level>n&&(n=t.line_indent_level));var i={mode:e,parent:t,last_token:t?t.last_token:new r(c.START_BLOCK,""),last_word:t?t.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:n,alignment:0,line_indent_level:t?t.line_indent_level:n,start_line_index:this._output.get_line_number(),ternary_depth:0};return i},T.prototype._reset=function(t){var e=t.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new i(this._options,e),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(b.BlockStatement);var n=new s(t,this._options);return this._tokens=n.tokenize(),t},T.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t,e=this._reset(this._source_text),n=this._options.eol;"auto"===this._options.eol&&(n="\n",e&&a.lineBreak.test(e||"")&&(n=e.match(a.lineBreak)[0]));var i=this._tokens.next();while(i)this.handle_token(i),this._last_last_text=this._flags.last_token.text,this._flags.last_token=i,i=this._tokens.next();return t=this._output.get_code(n),t},T.prototype.handle_token=function(t,e){t.type===c.START_EXPR?this.handle_start_expr(t):t.type===c.END_EXPR?this.handle_end_expr(t):t.type===c.START_BLOCK?this.handle_start_block(t):t.type===c.END_BLOCK?this.handle_end_block(t):t.type===c.WORD||t.type===c.RESERVED?this.handle_word(t):t.type===c.SEMICOLON?this.handle_semicolon(t):t.type===c.STRING?this.handle_string(t):t.type===c.EQUALS?this.handle_equals(t):t.type===c.OPERATOR?this.handle_operator(t):t.type===c.COMMA?this.handle_comma(t):t.type===c.BLOCK_COMMENT?this.handle_block_comment(t,e):t.type===c.COMMENT?this.handle_comment(t,e):t.type===c.DOT?this.handle_dot(t):t.type===c.EOF?this.handle_eof(t):(t.type,c.UNKNOWN,this.handle_unknown(t,e))},T.prototype.handle_whitespace_and_comments=function(t,e){var n=t.newlines,i=this._options.keep_array_indentation&&w(this._flags.mode);if(t.comments_before){var r=t.comments_before.next();while(r)this.handle_whitespace_and_comments(r,e),this.handle_token(r,e),r=t.comments_before.next()}if(i)for(var a=0;a<n;a+=1)this.print_newline(a>0,e);else if(this._options.max_preserve_newlines&&n>this._options.max_preserve_newlines&&(n=this._options.max_preserve_newlines),this._options.preserve_newlines&&n>1){this.print_newline(!1,e);for(var o=1;o<n;o+=1)this.print_newline(!0,e)}};var D=["async","break","continue","return","throw","yield"];T.prototype.allow_wrap_or_preserved_newline=function(t,e){if(e=void 0!==e&&e,!this._output.just_added_newline()){var n=this._options.preserve_newlines&&t.newlines||e,i=d(this._flags.last_token.text,u)||d(t.text,u);if(i){var r=d(this._flags.last_token.text,u)&&d(this._options.operator_position,v)||d(t.text,u);n=n&&r}if(n)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(_(this._flags.last_token,D))return;this._output.set_wrap_point()}}},T.prototype.print_newline=function(t,e){if(!e&&";"!==this._flags.last_token.text&&","!==this._flags.last_token.text&&"="!==this._flags.last_token.text&&(this._flags.last_token.type!==c.OPERATOR||"--"===this._flags.last_token.text||"++"===this._flags.last_token.text)){var n=this._tokens.peek();while(this._flags.mode===b.Statement&&(!this._flags.if_block||!f(n,"else"))&&!this._flags.do_block)this.restore_mode()}this._output.add_new_line(t)&&(this._flags.multiline_frame=!0)},T.prototype.print_token_line_indentation=function(t){this._output.just_added_newline()&&(this._options.keep_array_indentation&&t.newlines&&("["===t.text||w(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(t.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},T.prototype.print_token=function(t){if(this._output.raw)this._output.add_raw_token(t);else{if(this._options.comma_first&&t.previous&&t.previous.type===c.COMMA&&this._output.just_added_newline()&&","===this._output.previous_line.last()){var e=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(e),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(t),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(t),this._output.non_breaking_space=!0,this._output.add_token(t.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)}},T.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},T.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},T.prototype.set_mode=function(t){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,t),this._flags=this.create_flags(this._previous_flags,t),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},T.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===b.Statement&&x(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},T.prototype.start_of_object_property=function(){return this._flags.parent.mode===b.ObjectLiteral&&this._flags.mode===b.Statement&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||_(this._flags.last_token,["get","set"]))},T.prototype.start_of_statement=function(t){var e=!1;return e=e||_(this._flags.last_token,["var","let","const"])&&t.type===c.WORD,e=e||f(this._flags.last_token,"do"),e=e||!(this._flags.parent.mode===b.ObjectLiteral&&this._flags.mode===b.Statement)&&_(this._flags.last_token,D)&&!t.newlines,e=e||f(this._flags.last_token,"else")&&!(f(t,"if")&&!t.comments_before),e=e||this._flags.last_token.type===c.END_EXPR&&(this._previous_flags.mode===b.ForInitializer||this._previous_flags.mode===b.Conditional),e=e||this._flags.last_token.type===c.WORD&&this._flags.mode===b.BlockStatement&&!this._flags.in_case&&!("--"===t.text||"++"===t.text)&&"function"!==this._last_last_text&&t.type!==c.WORD&&t.type!==c.RESERVED,e=e||this._flags.mode===b.ObjectLiteral&&(":"===this._flags.last_token.text&&0===this._flags.ternary_depth||_(this._flags.last_token,["get","set"])),!!e&&(this.set_mode(b.Statement),this.indent(),this.handle_whitespace_and_comments(t,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t,_(t,["do","for","if","while"])),!0)},T.prototype.handle_start_expr=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t);var e=b.Expression;if("["===t.text){if(this._flags.last_token.type===c.WORD||")"===this._flags.last_token.text)return _(this._flags.last_token,l)&&(this._output.space_before_token=!0),this.print_token(t),this.set_mode(e),this.indent(),void(this._options.space_in_paren&&(this._output.space_before_token=!0));e=b.ArrayLiteral,w(this._flags.mode)&&("["!==this._flags.last_token.text&&(","!==this._flags.last_token.text||"]"!==this._last_last_text&&"}"!==this._last_last_text)||this._options.keep_array_indentation||this.print_newline()),d(this._flags.last_token.type,[c.START_EXPR,c.END_EXPR,c.WORD,c.OPERATOR])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===c.RESERVED)"for"===this._flags.last_token.text?(this._output.space_before_token=this._options.space_before_conditional,e=b.ForInitializer):d(this._flags.last_token.text,["if","while"])?(this._output.space_before_token=this._options.space_before_conditional,e=b.Conditional):d(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:"import"===this._flags.last_token.text&&""===t.whitespace_before?this._output.space_before_token=!1:(d(this._flags.last_token.text,l)||"catch"===this._flags.last_token.text)&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===c.EQUALS||this._flags.last_token.type===c.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t);else if(this._flags.last_token.type===c.WORD){this._output.space_before_token=!1;var n=this._tokens.peek(-3);if(this._options.space_after_named_function&&n){var i=this._tokens.peek(-4);_(n,["async","function"])||"*"===n.text&&_(i,["async","function"])?this._output.space_before_token=!0:this._flags.mode===b.ObjectLiteral&&("{"!==n.text&&","!==n.text&&("*"!==n.text||"{"!==i.text&&","!==i.text)||(this._output.space_before_token=!0))}}else this.allow_wrap_or_preserved_newline(t);(this._flags.last_token.type===c.RESERVED&&("function"===this._flags.last_word||"typeof"===this._flags.last_word)||"*"===this._flags.last_token.text&&(d(this._last_last_text,["function","yield"])||this._flags.mode===b.ObjectLiteral&&d(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}";"===this._flags.last_token.text||this._flags.last_token.type===c.START_BLOCK?this.print_newline():this._flags.last_token.type!==c.END_EXPR&&this._flags.last_token.type!==c.START_EXPR&&this._flags.last_token.type!==c.END_BLOCK&&"."!==this._flags.last_token.text&&this._flags.last_token.type!==c.COMMA||this.allow_wrap_or_preserved_newline(t,t.newlines),this.print_token(t),this.set_mode(e),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},T.prototype.handle_end_expr=function(t){while(this._flags.mode===b.Statement)this.restore_mode();this.handle_whitespace_and_comments(t),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(t,"]"===t.text&&w(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type!==c.START_EXPR||this._options.space_in_empty_paren?this._output.space_before_token=!0:(this._output.trim(),this._output.space_before_token=!1)),this.deindent(),this.print_token(t),this.restore_mode(),x(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===b.Conditional&&(this._previous_flags.mode=b.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},T.prototype.handle_start_block=function(t){this.handle_whitespace_and_comments(t);var e=this._tokens.peek(),n=this._tokens.peek(1);"switch"===this._flags.last_word&&this._flags.last_token.type===c.END_EXPR?(this.set_mode(b.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(b.BlockStatement):n&&(d(n.text,[":",","])&&d(e.type,[c.STRING,c.WORD,c.RESERVED])||d(e.text,["get","set","..."])&&d(n.type,[c.WORD,c.RESERVED]))?d(this._last_last_text,["class","interface"])?this.set_mode(b.BlockStatement):this.set_mode(b.ObjectLiteral):this._flags.last_token.type===c.OPERATOR&&"=>"===this._flags.last_token.text?this.set_mode(b.BlockStatement):d(this._flags.last_token.type,[c.EQUALS,c.START_EXPR,c.COMMA,c.OPERATOR])||_(this._flags.last_token,["return","throw","import","default"])?this.set_mode(b.ObjectLiteral):this.set_mode(b.BlockStatement);var i=!e.comments_before&&"}"===e.text,r=i&&"function"===this._flags.last_word&&this._flags.last_token.type===c.END_EXPR;if(this._options.brace_preserve_inline){var a=0,o=null;this._flags.inline_frame=!0;do{if(a+=1,o=this._tokens.peek(a-1),o.newlines){this._flags.inline_frame=!1;break}}while(o.type!==c.EOF&&(o.type!==c.END_BLOCK||o.opened!==t))}("expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==c.OPERATOR&&(r||this._flags.last_token.type===c.EQUALS||_(this._flags.last_token,g)&&"else"!==this._flags.last_token.text)?this._output.space_before_token=!0:this.print_newline(!1,!0):(!w(this._previous_flags.mode)||this._flags.last_token.type!==c.START_EXPR&&this._flags.last_token.type!==c.COMMA||((this._flags.last_token.type===c.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===c.COMMA||this._flags.last_token.type===c.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(t),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==c.OPERATOR&&this._flags.last_token.type!==c.START_EXPR&&(this._flags.last_token.type!==c.START_BLOCK||this._flags.inline_frame?this._output.space_before_token=!0:this.print_newline())),this.print_token(t),this.indent(),i||this._options.brace_preserve_inline&&this._flags.inline_frame||this.print_newline()},T.prototype.handle_end_block=function(t){this.handle_whitespace_and_comments(t);while(this._flags.mode===b.Statement)this.restore_mode();var e=this._flags.last_token.type===c.START_BLOCK;this._flags.inline_frame&&!e?this._output.space_before_token=!0:"expand"===this._options.brace_style?e||this.print_newline():e||(w(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(t)},T.prototype.handle_word=function(t){if(t.type===c.RESERVED)if(d(t.text,["set","get"])&&this._flags.mode!==b.ObjectLiteral)t.type=c.WORD;else if("import"===t.text&&"("===this._tokens.peek().text)t.type=c.WORD;else if(d(t.text,["as","from"])&&!this._flags.import_block)t.type=c.WORD;else if(this._flags.mode===b.ObjectLiteral){var e=this._tokens.peek();":"===e.text&&(t.type=c.WORD)}if(this.start_of_statement(t)?_(this._flags.last_token,["var","let","const"])&&t.type===c.WORD&&(this._flags.declaration_statement=!0):!t.newlines||S(this._flags.mode)||this._flags.last_token.type===c.OPERATOR&&"--"!==this._flags.last_token.text&&"++"!==this._flags.last_token.text||this._flags.last_token.type===c.EQUALS||!this._options.preserve_newlines&&_(this._flags.last_token,["var","let","const","set","get"])?this.handle_whitespace_and_comments(t):(this.handle_whitespace_and_comments(t),this.print_newline()),this._flags.do_block&&!this._flags.do_while){if(f(t,"while"))return this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0,void(this._flags.do_while=!0);this.print_newline(),this._flags.do_block=!1}if(this._flags.if_block)if(!this._flags.else_block&&f(t,"else"))this._flags.else_block=!0;else{while(this._flags.mode===b.Statement)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&_(t,["case","default"]))return this.print_newline(),this._flags.last_token.type!==c.END_BLOCK&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(t),void(this._flags.in_case=!0);if(this._flags.last_token.type!==c.COMMA&&this._flags.last_token.type!==c.START_EXPR&&this._flags.last_token.type!==c.EQUALS&&this._flags.last_token.type!==c.OPERATOR||this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t),f(t,"function"))return(d(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!d(this._flags.last_token.text,["(","[","{",":","=",","])&&this._flags.last_token.type!==c.OPERATOR)&&(this._output.just_added_blankline()||t.comments_before||(this.print_newline(),this.print_newline(!0))),this._flags.last_token.type===c.RESERVED||this._flags.last_token.type===c.WORD?_(this._flags.last_token,["get","set","new","export"])||_(this._flags.last_token,D)||f(this._flags.last_token,"default")&&"export"===this._last_last_text||"declare"===this._flags.last_token.text?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===c.OPERATOR||"="===this._flags.last_token.text?this._output.space_before_token=!0:(this._flags.multiline_frame||!S(this._flags.mode)&&!w(this._flags.mode))&&this.print_newline(),this.print_token(t),void(this._flags.last_word=t.text);var n="NONE";if(this._flags.last_token.type===c.END_BLOCK?this._previous_flags.inline_frame?n="SPACE":_(t,["else","catch","finally","from"])?"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines?n="NEWLINE":(n="SPACE",this._output.space_before_token=!0):n="NEWLINE":this._flags.last_token.type===c.SEMICOLON&&this._flags.mode===b.BlockStatement?n="NEWLINE":this._flags.last_token.type===c.SEMICOLON&&S(this._flags.mode)?n="SPACE":this._flags.last_token.type===c.STRING?n="NEWLINE":this._flags.last_token.type===c.RESERVED||this._flags.last_token.type===c.WORD||"*"===this._flags.last_token.text&&(d(this._last_last_text,["function","yield"])||this._flags.mode===b.ObjectLiteral&&d(this._last_last_text,["{",","]))?n="SPACE":this._flags.last_token.type===c.START_BLOCK?n=this._flags.inline_frame?"SPACE":"NEWLINE":this._flags.last_token.type===c.END_EXPR&&(this._output.space_before_token=!0,n="NEWLINE"),_(t,l)&&")"!==this._flags.last_token.text&&(n=this._flags.inline_frame||"else"===this._flags.last_token.text||"export"===this._flags.last_token.text?"SPACE":"NEWLINE"),_(t,["else","catch","finally"]))if((this._flags.last_token.type!==c.END_BLOCK||this._previous_flags.mode!==b.BlockStatement||"expand"===this._options.brace_style||"end-expand"===this._options.brace_style||"none"===this._options.brace_style&&t.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var i=this._output.current_line;"}"!==i.last()&&this.print_newline(),this._output.space_before_token=!0}else"NEWLINE"===n?_(this._flags.last_token,g)||"declare"===this._flags.last_token.text&&_(t,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==c.END_EXPR?this._flags.last_token.type===c.START_EXPR&&_(t,["var","let","const"])||":"===this._flags.last_token.text||(f(t,"if")&&f(t.previous,"else")?this._output.space_before_token=!0:this.print_newline()):_(t,l)&&")"!==this._flags.last_token.text&&this.print_newline():this._flags.multiline_frame&&w(this._flags.mode)&&","===this._flags.last_token.text&&"}"===this._last_last_text?this.print_newline():"SPACE"===n&&(this._output.space_before_token=!0);!t.previous||t.previous.type!==c.WORD&&t.previous.type!==c.RESERVED||(this._output.space_before_token=!0),this.print_token(t),this._flags.last_word=t.text,t.type===c.RESERVED&&("do"===t.text?this._flags.do_block=!0:"if"===t.text?this._flags.if_block=!0:"import"===t.text?this._flags.import_block=!0:this._flags.import_block&&f(t,"from")&&(this._flags.import_block=!1))},T.prototype.handle_semicolon=function(t){this.start_of_statement(t)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(t);var e=this._tokens.peek();while(this._flags.mode===b.Statement&&(!this._flags.if_block||!f(e,"else"))&&!this._flags.do_block)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(t)},T.prototype.handle_string=function(t){this.start_of_statement(t)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(t),this._flags.last_token.type===c.RESERVED||this._flags.last_token.type===c.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===c.COMMA||this._flags.last_token.type===c.START_EXPR||this._flags.last_token.type===c.EQUALS||this._flags.last_token.type===c.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t):this.print_newline()),this.print_token(t)},T.prototype.handle_equals=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0},T.prototype.handle_comma=function(t){this.handle_whitespace_and_comments(t,!0),this.print_token(t),this._output.space_before_token=!0,this._flags.declaration_statement?(S(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)):this._flags.mode===b.ObjectLiteral||this._flags.mode===b.Statement&&this._flags.parent.mode===b.ObjectLiteral?(this._flags.mode===b.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)},T.prototype.handle_operator=function(t){var e="*"===t.text&&(_(this._flags.last_token,["function","yield"])||d(this._flags.last_token.type,[c.START_BLOCK,c.COMMA,c.END_BLOCK,c.SEMICOLON])),n=d(t.text,["-","+"])&&(d(this._flags.last_token.type,[c.START_BLOCK,c.START_EXPR,c.EQUALS,c.OPERATOR])||d(this._flags.last_token.text,l)||","===this._flags.last_token.text);if(this.start_of_statement(t));else{var i=!e;this.handle_whitespace_and_comments(t,i)}if(_(this._flags.last_token,g))return this._output.space_before_token=!0,void this.print_token(t);if("*"!==t.text||this._flags.last_token.type!==c.DOT)if("::"!==t.text){if(this._flags.last_token.type===c.OPERATOR&&d(this._options.operator_position,v)&&this.allow_wrap_or_preserved_newline(t),":"===t.text&&this._flags.in_case)return this.print_token(t),this._flags.in_case=!1,this._flags.case_body=!0,void(this._tokens.peek().type!==c.START_BLOCK?(this.indent(),this.print_newline()):this._output.space_before_token=!0);var r=!0,a=!0,o=!1;if(":"===t.text?0===this._flags.ternary_depth?r=!1:(this._flags.ternary_depth-=1,o=!0):"?"===t.text&&(this._flags.ternary_depth+=1),!n&&!e&&this._options.preserve_newlines&&d(t.text,u)){var s=":"===t.text,h=s&&o,p=s&&!o;switch(this._options.operator_position){case y.before_newline:return this._output.space_before_token=!p,this.print_token(t),s&&!h||this.allow_wrap_or_preserved_newline(t),void(this._output.space_before_token=!0);case y.after_newline:return this._output.space_before_token=!0,!s||h?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(t):this._output.space_before_token=!1,this.print_token(t),void(this._output.space_before_token=!0);case y.preserve_newline:return p||this.allow_wrap_or_preserved_newline(t),r=!(this._output.just_added_newline()||p),this._output.space_before_token=r,this.print_token(t),void(this._output.space_before_token=!0)}}if(e){this.allow_wrap_or_preserved_newline(t),r=!1;var f=this._tokens.peek();a=f&&d(f.type,[c.WORD,c.RESERVED])}else"..."===t.text?(this.allow_wrap_or_preserved_newline(t),r=this._flags.last_token.type===c.START_BLOCK,a=!1):(d(t.text,["--","++","!","~"])||n)&&(this._flags.last_token.type!==c.COMMA&&this._flags.last_token.type!==c.START_EXPR||this.allow_wrap_or_preserved_newline(t),r=!1,a=!1,!t.newlines||"--"!==t.text&&"++"!==t.text||this.print_newline(!1,!0),";"===this._flags.last_token.text&&S(this._flags.mode)&&(r=!0),this._flags.last_token.type===c.RESERVED?r=!0:this._flags.last_token.type===c.END_EXPR?r=!("]"===this._flags.last_token.text&&("--"===t.text||"++"===t.text)):this._flags.last_token.type===c.OPERATOR&&(r=d(t.text,["--","-","++","+"])&&d(this._flags.last_token.text,["--","-","++","+"]),d(t.text,["+","-"])&&d(this._flags.last_token.text,["--","++"])&&(a=!0)),(this._flags.mode!==b.BlockStatement||this._flags.inline_frame)&&this._flags.mode!==b.Statement||"{"!==this._flags.last_token.text&&";"!==this._flags.last_token.text||this.print_newline());this._output.space_before_token=this._output.space_before_token||r,this.print_token(t),this._output.space_before_token=a}else this.print_token(t);else this.print_token(t)},T.prototype.handle_block_comment=function(t,e){return this._output.raw?(this._output.add_raw_token(t),void(t.directives&&"end"===t.directives.preserve&&(this._output.raw=this._options.test_output_raw))):t.directives?(this.print_newline(!1,e),this.print_token(t),"start"===t.directives.preserve&&(this._output.raw=!0),void this.print_newline(!1,!0)):a.newline.test(t.text)||t.newlines?void this.print_block_commment(t,e):(this._output.space_before_token=!0,this.print_token(t),void(this._output.space_before_token=!0))},T.prototype.print_block_commment=function(t,e){var n,i=M(t.text),r=!1,a=!1,o=t.whitespace_before,s=o.length;if(this.print_newline(!1,e),this.print_token_line_indentation(t),this._output.add_token(i[0]),this.print_newline(!1,e),i.length>1){for(i=i.slice(1),r=L(i,"*"),a=k(i,o),r&&(this._flags.alignment=1),n=0;n<i.length;n++)r?(this.print_token_line_indentation(t),this._output.add_token(h(i[n]))):a&&i[n]?(this.print_token_line_indentation(t),this._output.add_token(i[n].substring(s))):(this._output.current_line.set_indent(-1),this._output.add_token(i[n])),this.print_newline(!1,e);this._flags.alignment=0}},T.prototype.handle_comment=function(t,e){t.newlines?this.print_newline(!1,e):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(t),this.print_newline(!1,e)},T.prototype.handle_dot=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t,!0),_(this._flags.last_token,g)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(t,")"===this._flags.last_token.text&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(t)},T.prototype.handle_unknown=function(t,e){this.print_token(t),"\n"===t.text[t.text.length-1]&&this.print_newline(!1,e)},T.prototype.handle_eof=function(t){while(this._flags.mode===b.Statement)this.restore_mode();this.handle_whitespace_and_comments(t)},t.exports.Beautifier=T},function(t,e,n){"use strict";function i(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function r(t,e){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),e=e||"",t.indent_level>0&&(e=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=e,this.__base_string_length=e.length}function a(t,e){this.__indent_cache=new r(t,e),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var t=new i(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},i.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},i.prototype.has_match=function(t){for(var e=this.__items.length-1;e>=0;e--)if(this.__items[e].match(t))return!0;return!1},i.prototype.set_indent=function(t,e){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=e||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===t.__items[0]&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf("\n");-1!==e?this.__character_count=t.length-e:this.__character_count+=t.length},i.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){while(" "===this.last())this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t},r.prototype.get_indent_size=function(t,e){var n=this.__base_string_length;return e=e||0,t<0&&(n=0),n+=t*this.__indent_size,n+=e,n},r.prototype.get_indent_string=function(t,e){var n=this.__base_string;return e=e||0,t<0&&(t=0,n=""),e+=t*this.__indent_size,this.__ensure_cache(e),n+=this.__cache[e],n},r.prototype.__ensure_cache=function(t){while(t>=this.__cache.length)this.__add_column()},r.prototype.__add_column=function(){var t=this.__cache.length,e=0,n="";this.__indent_size&&t>=this.__indent_size&&(e=Math.floor(t/this.__indent_size),t-=e*this.__indent_size,n=new Array(e+1).join(this.__indent_string)),t&&(n+=new Array(t+1).join(" ")),this.__cache.push(n)},a.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},a.prototype.get_line_number=function(){return this.__lines.length},a.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)},a.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)},a.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},a.prototype.add_new_line=function(t){return!(this.is_empty()||!t&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},a.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();e&&("\n"===e[e.length-1]&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==t&&(n=n.replace(/[\n]/g,t)),n},a.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},a.prototype.set_indent=function(t,e){return t=t||0,e=e||0,this.next_line.set_indent(t,e),this.__lines.length>1?(this.current_line.set_indent(t,e),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(t){for(var e=0;e<t.newlines;e++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},a.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},a.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},a.prototype.remove_indent=function(t){var e=this.__lines.length;while(t<e)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()},a.prototype.trim=function(t){t=void 0!==t&&t,this.current_line.trim();while(t&&this.__lines.length>1&&this.current_line.is_empty())this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},a.prototype.just_added_newline=function(){return this.current_line.is_empty()},a.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},a.prototype.ensure_empty_line_above=function(t,e){var n=this.__lines.length-2;while(n>=0){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(t)&&r.item(-1)!==e){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},t.exports.Output=a},function(t,e,n){"use strict";function i(t,e,n,i){this.type=t,this.text=e,this.comments_before=null,this.newlines=n||0,this.whitespace_before=i||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}t.exports.Token=i},function(t,e,n){"use strict";var i="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",r="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",a="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",o="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",s="(?:\\\\u[0-9a-fA-F]{4}|["+i+a+"])",l="(?:\\\\u[0-9a-fA-F]{4}|["+r+a+o+"])*";e.identifier=new RegExp(s+l,"g"),e.identifierStart=new RegExp(s),e.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+r+a+o+"])+");e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp("\r\n|"+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")},function(t,e,n){"use strict";var i=n(6).Options,r=["before-newline","after-newline","preserve-newline"];function a(t){i.call(this,t,"js");var e=this.raw_options.brace_style||null;"expand-strict"===e?this.raw_options.brace_style="expand":"collapse-preserve-inline"===e?this.raw_options.brace_style="collapse,preserve-inline":void 0!==this.raw_options.braces_on_own_line&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var n=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var a=0;a<n.length;a++)"preserve-inline"===n[a]?this.brace_preserve_inline=!0:this.brace_style=n[a];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",r),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}a.prototype=new i,t.exports.Options=a},function(t,e,n){"use strict";function i(t,e){this.raw_options=r(t,e),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function r(t,e){var n,i={};for(n in t=a(t),t)n!==e&&(i[n]=t[n]);if(e&&t[e])for(n in t[e])i[n]=t[e][n];return i}function a(t){var e,n={};for(e in t){var i=e.replace(/-/g,"_");n[i]=t[e]}return n}i.prototype._get_array=function(t,e){var n=this.raw_options[t],i=e||[];return"object"===typeof n?null!==n&&"function"===typeof n.concat&&(i=n.concat()):"string"===typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(t,e){var n=this.raw_options[t],i=void 0===n?!!e:!!n;return i},i.prototype._get_characters=function(t,e){var n=this.raw_options[t],i=e||"";return"string"===typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(t,e){var n=this.raw_options[t];e=parseInt(e,10),isNaN(e)&&(e=0);var i=parseInt(n,10);return isNaN(i)&&(i=e),i},i.prototype._get_selection=function(t,e,n){var i=this._get_selection_list(t,e,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+t+"' can only be one of the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return i[0]},i.prototype._get_selection_list=function(t,e,n){if(!e||0===e.length)throw new Error("Selection list cannot be empty.");if(n=n||[e[0]],!this._is_valid_selection(n,e))throw new Error("Invalid Default Value!");var i=this._get_array(t,n);if(!this._is_valid_selection(i,e))throw new Error("Invalid Option Value: The option '"+t+"' can contain only the following values:\n"+e+"\nYou passed in: '"+this.raw_options[t]+"'");return i},i.prototype._is_valid_selection=function(t,e){return t.length&&e.length&&!t.some((function(t){return-1===e.indexOf(t)}))},t.exports.Options=i,t.exports.normalizeOpts=a,t.exports.mergeOpts=r},function(t,e,n){"use strict";var i=n(8).InputScanner,r=n(9).Tokenizer,a=n(9).TOKEN,o=n(13).Directives,s=n(4),l=n(12).Pattern,u=n(14).TemplatablePattern;function c(t,e){return-1!==e.indexOf(t)}var d={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:a.START,RAW:a.RAW,EOF:a.EOF},h=new o(/\/\*/,/\*\//),p=/0[xX][0123456789abcdefABCDEF]*|0[oO][01234567]*|0[bB][01]*|\d+n|(?:\.\d+|\d+\.?\d*)(?:[eE][+-]?\d+)?/,f=/[0-9]/,_=/[^\d\.]/,g=">>> === !== << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),m=">>>= ... >>= <<= === >>> !== **= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";m=m.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),m="\\?\\.(?!\\d) "+m,m=m.replace(/ /g,"|");var y,v=new RegExp(m),b="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),x=b.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as"]),M=new RegExp("^(?:"+x.join("|")+")$"),w=function(t,e){r.call(this,t,e),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var n=new l(this._input),i=new u(this._input).read_options(this._options);this.__patterns={template:i,identifier:i.starting_with(s.identifier).matching(s.identifierMatch),number:n.matching(p),punct:n.matching(v),comment:n.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:n.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:n.matching(/<!--/),html_comment_end:n.matching(/-->/),include:n.starting_with(/#include/).until_after(s.lineBreak),shebang:n.starting_with(/#!/).until_after(s.lineBreak),xml:n.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\])(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/),single_quote:i.until(/['\\\n\r\u2028\u2029]/),double_quote:i.until(/["\\\n\r\u2028\u2029]/),template_text:i.until(/[`\\$]/),template_expression:i.until(/[`}\\]/)}};function S(t){var e="",n=0,r=new i(t),a=null;while(r.hasNext())if(a=r.match(/([\s]|[^\\]|\\\\)+/g),a&&(e+=a[0]),"\\"===r.peek()){if(r.next(),"x"===r.peek())a=r.match(/x([0-9A-Fa-f]{2})/g);else{if("u"!==r.peek()){e+="\\",r.hasNext()&&(e+=r.next());continue}a=r.match(/u([0-9A-Fa-f]{4})/g)}if(!a)return t;if(n=parseInt(a[1],16),n>126&&n<=255&&0===a[0].indexOf("x"))return t;if(n>=0&&n<32){e+="\\"+a[0];continue}e+=34===n||39===n||92===n?"\\"+String.fromCharCode(n):String.fromCharCode(n)}return e}w.prototype=new r,w.prototype._is_comment=function(t){return t.type===d.COMMENT||t.type===d.BLOCK_COMMENT||t.type===d.UNKNOWN},w.prototype._is_opening=function(t){return t.type===d.START_BLOCK||t.type===d.START_EXPR},w.prototype._is_closing=function(t,e){return(t.type===d.END_BLOCK||t.type===d.END_EXPR)&&e&&("]"===t.text&&"["===e.text||")"===t.text&&"("===e.text||"}"===t.text&&"{"===e.text)},w.prototype._reset=function(){y=!1},w.prototype._get_next_token=function(t,e){var n=null;this._readWhitespace();var i=this._input.peek();return null===i?this._create_token(d.EOF,""):(n=n||this._read_non_javascript(i),n=n||this._read_string(i),n=n||this._read_word(t),n=n||this._read_singles(i),n=n||this._read_comment(i),n=n||this._read_regexp(i,t),n=n||this._read_xml(i,t),n=n||this._read_punctuation(),n=n||this._create_token(d.UNKNOWN,this._input.next()),n)},w.prototype._read_word=function(t){var e;return e=this.__patterns.identifier.read(),""!==e?(e=e.replace(s.allLineBreaks,"\n"),t.type!==d.DOT&&(t.type!==d.RESERVED||"set"!==t.text&&"get"!==t.text)&&M.test(e)?"in"===e||"of"===e?this._create_token(d.OPERATOR,e):this._create_token(d.RESERVED,e):this._create_token(d.WORD,e)):(e=this.__patterns.number.read(),""!==e?this._create_token(d.WORD,e):void 0)},w.prototype._read_singles=function(t){var e=null;return"("===t||"["===t?e=this._create_token(d.START_EXPR,t):")"===t||"]"===t?e=this._create_token(d.END_EXPR,t):"{"===t?e=this._create_token(d.START_BLOCK,t):"}"===t?e=this._create_token(d.END_BLOCK,t):";"===t?e=this._create_token(d.SEMICOLON,t):"."===t&&_.test(this._input.peek(1))?e=this._create_token(d.DOT,t):","===t&&(e=this._create_token(d.COMMA,t)),e&&this._input.next(),e},w.prototype._read_punctuation=function(){var t=this.__patterns.punct.read();if(""!==t)return"="===t?this._create_token(d.EQUALS,t):"?."===t?this._create_token(d.DOT,t):this._create_token(d.OPERATOR,t)},w.prototype._read_non_javascript=function(t){var e="";if("#"===t){if(this._is_first_token()&&(e=this.__patterns.shebang.read(),e))return this._create_token(d.UNKNOWN,e.trim()+"\n");if(e=this.__patterns.include.read(),e)return this._create_token(d.UNKNOWN,e.trim()+"\n");t=this._input.next();var n="#";if(this._input.hasNext()&&this._input.testChar(f)){do{t=this._input.next(),n+=t}while(this._input.hasNext()&&"#"!==t&&"="!==t);return"#"===t||("["===this._input.peek()&&"]"===this._input.peek(1)?(n+="[]",this._input.next(),this._input.next()):"{"===this._input.peek()&&"}"===this._input.peek(1)&&(n+="{}",this._input.next(),this._input.next())),this._create_token(d.WORD,n)}this._input.back()}else if("<"===t&&this._is_first_token()){if(e=this.__patterns.html_comment_start.read(),e){while(this._input.hasNext()&&!this._input.testChar(s.newline))e+=this._input.next();return y=!0,this._create_token(d.COMMENT,e)}}else if(y&&"-"===t&&(e=this.__patterns.html_comment_end.read(),e))return y=!1,this._create_token(d.COMMENT,e);return null},w.prototype._read_comment=function(t){var e=null;if("/"===t){var n="";if("*"===this._input.peek(1)){n=this.__patterns.block_comment.read();var i=h.get_directives(n);i&&"start"===i.ignore&&(n+=h.readIgnored(this._input)),n=n.replace(s.allLineBreaks,"\n"),e=this._create_token(d.BLOCK_COMMENT,n),e.directives=i}else"/"===this._input.peek(1)&&(n=this.__patterns.comment.read(),e=this._create_token(d.COMMENT,n))}return e},w.prototype._read_string=function(t){if("`"===t||"'"===t||'"'===t){var e=this._input.next();return this.has_char_escapes=!1,e+="`"===t?this._read_string_recursive("`",!0,"${"):this._read_string_recursive(t),this.has_char_escapes&&this._options.unescape_strings&&(e=S(e)),this._input.peek()===t&&(e+=this._input.next()),e=e.replace(s.allLineBreaks,"\n"),this._create_token(d.STRING,e)}return null},w.prototype._allow_regexp_or_xml=function(t){return t.type===d.RESERVED&&c(t.text,["return","case","throw","else","do","typeof","yield"])||t.type===d.END_EXPR&&")"===t.text&&t.opened.previous.type===d.RESERVED&&c(t.opened.previous.text,["if","while","for"])||c(t.type,[d.COMMENT,d.START_EXPR,d.START_BLOCK,d.START,d.END_BLOCK,d.OPERATOR,d.EQUALS,d.EOF,d.SEMICOLON,d.COMMA])},w.prototype._read_regexp=function(t,e){if("/"===t&&this._allow_regexp_or_xml(e)){var n=this._input.next(),i=!1,r=!1;while(this._input.hasNext()&&(i||r||this._input.peek()!==t)&&!this._input.testChar(s.newline))n+=this._input.peek(),i?i=!1:(i="\\"===this._input.peek(),"["===this._input.peek()?r=!0:"]"===this._input.peek()&&(r=!1)),this._input.next();return this._input.peek()===t&&(n+=this._input.next(),n+=this._input.read(s.identifier)),this._create_token(d.STRING,n)}return null},w.prototype._read_xml=function(t,e){if(this._options.e4x&&"<"===t&&this._allow_regexp_or_xml(e)){var n="",i=this.__patterns.xml.read_match();if(i){var r=i[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),a=0===r.indexOf("{"),o=0;while(i){var l=!!i[1],u=i[2],c=!!i[i.length-1]||"![CDATA["===u.slice(0,8);if(!c&&(u===r||a&&u.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(l?--o:++o),n+=i[0],o<=0)break;i=this.__patterns.xml.read_match()}return i||(n+=this._input.match(/[\s\S]*/g)[0]),n=n.replace(s.allLineBreaks,"\n"),this._create_token(d.STRING,n)}}return null},w.prototype._read_string_recursive=function(t,e,n){var i,r;"'"===t?r=this.__patterns.single_quote:'"'===t?r=this.__patterns.double_quote:"`"===t?r=this.__patterns.template_text:"}"===t&&(r=this.__patterns.template_expression);var a=r.read(),o="";while(this._input.hasNext()){if(o=this._input.next(),o===t||!e&&s.newline.test(o)){this._input.back();break}"\\"===o&&this._input.hasNext()?(i=this._input.peek(),"x"===i||"u"===i?this.has_char_escapes=!0:"\r"===i&&"\n"===this._input.peek(1)&&this._input.next(),o+=this._input.next()):n&&("${"===n&&"$"===o&&"{"===this._input.peek()&&(o+=this._input.next()),n===o&&(o+="`"===t?this._read_string_recursive("}",e,"`"):this._read_string_recursive("`",e,"${"),this._input.hasNext()&&(o+=this._input.next()))),o+=r.read(),a+=o}return a},t.exports.Tokenizer=w,t.exports.TOKEN=d,t.exports.positionable_operators=g.slice(),t.exports.line_starters=b.slice()},function(t,e,n){"use strict";var i=RegExp.prototype.hasOwnProperty("sticky");function r(t){this.__input=t||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__input.charAt(this.__position),this.__position+=1),t},r.prototype.peek=function(t){var e=null;return t=t||0,t+=this.__position,t>=0&&t<this.__input_length&&(e=this.__input.charAt(t)),e},r.prototype.__match=function(t,e){t.lastIndex=e;var n=t.exec(this.__input);return!n||i&&t.sticky||n.index!==e&&(n=null),n},r.prototype.test=function(t,e){return e=e||0,e+=this.__position,e>=0&&e<this.__input_length&&!!this.__match(t,e)},r.prototype.testChar=function(t,e){var n=this.peek(e);return t.lastIndex=0,null!==n&&t.test(n)},r.prototype.match=function(t){var e=this.__match(t,this.__position);return e?this.__position+=e[0].length:e=null,e},r.prototype.read=function(t,e,n){var i,r="";return t&&(i=this.match(t),i&&(r+=i[0])),!e||!i&&t||(r+=this.readUntil(e,n)),r},r.prototype.readUntil=function(t,e){var n="",i=this.__position;t.lastIndex=this.__position;var r=t.exec(this.__input);return r?(i=r.index,e&&(i+=r[0].length)):i=this.__input_length,n=this.__input.substring(this.__position,i),this.__position=i,n},r.prototype.readUntilAfter=function(t){return this.readUntil(t,!0)},r.prototype.get_regexp=function(t,e){var n=null,r="g";return e&&i&&(r="y"),"string"===typeof t&&""!==t?n=new RegExp(t,r):t&&(n=new RegExp(t.source,r)),n},r.prototype.get_literal_regexp=function(t){return RegExp(t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(t){var e=this.__position,n=this.readUntilAfter(t);return this.__position=e,n},r.prototype.lookBack=function(t){var e=this.__position-1;return e>=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t},t.exports.InputScanner=r},function(t,e,n){"use strict";var i=n(8).InputScanner,r=n(3).Token,a=n(10).TokenStream,o=n(11).WhitespacePattern,s={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},l=function(t,e){this._input=new i(t),this._options=e||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new o(this._input)};l.prototype.tokenize=function(){var t;this._input.restart(),this.__tokens=new a,this._reset();var e=new r(s.START,""),n=null,i=[],o=new a;while(e.type!==s.EOF){t=this._get_next_token(e,n);while(this._is_comment(t))o.add(t),t=this._get_next_token(e,n);o.isEmpty()||(t.comments_before=o,o=new a),t.parent=n,this._is_opening(t)?(i.push(n),n=t):n&&this._is_closing(t,n)&&(t.opened=n,n.closed=t,n=i.pop(),t.parent=n),t.previous=e,e.next=t,this.__tokens.add(t),e=t}return this.__tokens},l.prototype._is_first_token=function(){return this.__tokens.isEmpty()},l.prototype._reset=function(){},l.prototype._get_next_token=function(t,e){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(s.RAW,n):this._create_token(s.EOF,"")},l.prototype._is_comment=function(t){return!1},l.prototype._is_opening=function(t){return!1},l.prototype._is_closing=function(t,e){return!1},l.prototype._create_token=function(t,e){var n=new r(t,e,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return n},l.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},t.exports.Tokenizer=l,t.exports.TOKEN=s},function(t,e,n){"use strict";function i(t){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=t}i.prototype.restart=function(){this.__position=0},i.prototype.isEmpty=function(){return 0===this.__tokens_length},i.prototype.hasNext=function(){return this.__position<this.__tokens_length},i.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__tokens[this.__position],this.__position+=1),t},i.prototype.peek=function(t){var e=null;return t=t||0,t+=this.__position,t>=0&&t<this.__tokens_length&&(e=this.__tokens[t]),e},i.prototype.add=function(t){this.__parent_token&&(t.parent=this.__parent_token),this.__tokens.push(t),this.__tokens_length+=1},t.exports.TokenStream=i},function(t,e,n){"use strict";var i=n(12).Pattern;function r(t,e){i.call(this,t,e),e?this._line_regexp=this._input.get_regexp(e._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}r.prototype=new i,r.prototype.__set_whitespace_patterns=function(t,e){t+="\\t ",e+="\\n\\r",this._match_pattern=this._input.get_regexp("["+t+e+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+e+"]")},r.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var t=this._input.read(this._match_pattern);if(" "===t)this.whitespace_before_token=" ";else if(t){var e=this.__split(this._newline_regexp,t);this.newline_count=e.length-1,this.whitespace_before_token=e[this.newline_count]}return t},r.prototype.matching=function(t,e){var n=this._create();return n.__set_whitespace_patterns(t,e),n._update(),n},r.prototype._create=function(){return new r(this._input,this)},r.prototype.__split=function(t,e){t.lastIndex=0;var n=0,i=[],r=t.exec(e);while(r)i.push(e.substring(n,r.index)),n=r.index+r[0].length,r=t.exec(e);return n<e.length?i.push(e.substring(n,e.length)):i.push(""),i},t.exports.WhitespacePattern=r},function(t,e,n){"use strict";function i(t,e){this._input=t,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,e&&(this._starting_pattern=this._input.get_regexp(e._starting_pattern,!0),this._match_pattern=this._input.get_regexp(e._match_pattern,!0),this._until_pattern=this._input.get_regexp(e._until_pattern),this._until_after=e._until_after)}i.prototype.read=function(){var t=this._input.read(this._starting_pattern);return this._starting_pattern&&!t||(t+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),t},i.prototype.read_match=function(){return this._input.match(this._match_pattern)},i.prototype.until_after=function(t){var e=this._create();return e._until_after=!0,e._until_pattern=this._input.get_regexp(t),e._update(),e},i.prototype.until=function(t){var e=this._create();return e._until_after=!1,e._until_pattern=this._input.get_regexp(t),e._update(),e},i.prototype.starting_with=function(t){var e=this._create();return e._starting_pattern=this._input.get_regexp(t,!0),e._update(),e},i.prototype.matching=function(t){var e=this._create();return e._match_pattern=this._input.get_regexp(t,!0),e._update(),e},i.prototype._create=function(){return new i(this._input,this)},i.prototype._update=function(){},t.exports.Pattern=i},function(t,e,n){"use strict";function i(t,e){t="string"===typeof t?t:t.source,e="string"===typeof e?e:e.source,this.__directives_block_pattern=new RegExp(t+/ beautify( \w+[:]\w+)+ /.source+e,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(t+/\sbeautify\signore:end\s/.source+e,"g")}i.prototype.get_directives=function(t){if(!t.match(this.__directives_block_pattern))return null;var e={};this.__directive_pattern.lastIndex=0;var n=this.__directive_pattern.exec(t);while(n)e[n[1]]=n[2],n=this.__directive_pattern.exec(t);return e},i.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)},t.exports.Directives=i},function(t,e,n){"use strict";var i=n(12).Pattern,r={django:!1,erb:!1,handlebars:!1,php:!1};function a(t,e){i.call(this,t,e),this.__template_pattern=null,this._disabled=Object.assign({},r),this._excluded=Object.assign({},r),e&&(this.__template_pattern=this._input.get_regexp(e.__template_pattern),this._excluded=Object.assign(this._excluded,e._excluded),this._disabled=Object.assign(this._disabled,e._disabled));var n=new i(t);this.__patterns={handlebars_comment:n.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:n.starting_with(/{{{/).until_after(/}}}/),handlebars:n.starting_with(/{{/).until_after(/}}/),php:n.starting_with(/<\?(?:[=]|php)/).until_after(/\?>/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/)}}a.prototype=new i,a.prototype._create=function(){return new a(this._input,this)},a.prototype._update=function(){this.__set_templated_pattern()},a.prototype.disable=function(t){var e=this._create();return e._disabled[t]=!0,e._update(),e},a.prototype.read_options=function(t){var e=this._create();for(var n in r)e._disabled[n]=-1===t.templating.indexOf(n);return e._update(),e},a.prototype.exclude=function(t){var e=this._create();return e._excluded[t]=!0,e._update(),e},a.prototype.read=function(){var t="";t=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);var e=this._read_template();while(e)this._match_pattern?e+=this._input.read(this._match_pattern):e+=this._input.readUntil(this.__template_pattern),t+=e,e=this._read_template();return this._until_after&&(t+=this._input.readUntilAfter(this._until_pattern)),t},a.prototype.__set_templated_pattern=function(){var t=[];this._disabled.php||t.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||t.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(t.push(this.__patterns.django._starting_pattern.source),t.push(this.__patterns.django_value._starting_pattern.source),t.push(this.__patterns.django_comment._starting_pattern.source)),this._until_pattern&&t.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+t.join("|")+")")},a.prototype._read_template=function(){var t="",e=this._input.peek();if("<"===e){var n=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==n||(t=t||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==n||(t=t||this.__patterns.erb.read())}else"{"===e&&(this._disabled.handlebars||this._excluded.handlebars||(t=t||this.__patterns.handlebars_comment.read(),t=t||this.__patterns.handlebars_unescaped.read(),t=t||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(t=t||this.__patterns.django_value.read()),this._excluded.django||(t=t||this.__patterns.django_comment.read(),t=t||this.__patterns.django.read())));return t},t.exports.TemplatablePattern=a}]),a=n;i=[],r=function(){return{js_beautify:a}}.apply(e,i),void 0===r||(t.exports=r)})()},ebe4:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  293. //! moment.js locale configuration
  294. 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";
  295. //! moment.js locale configuration
  296. 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}))},ec1b:function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=2)}([function(t,e,n){var i=n(4)(n(1),n(5),null,null);t.exports=i.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3);e.default={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:2017},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator:function(t){return t>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default:function(t,e,n,i){return n*(1-Math.pow(2,-10*t/i))*1024/1023+e}}},data:function(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown:function(){return this.startVal>this.endVal}},watch:{startVal:function(){this.autoplay&&this.start()},endVal:function(){this.autoplay&&this.start()}},mounted:function(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start:function(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=(0,i.requestAnimationFrame)(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){(0,i.cancelAnimationFrame)(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,(0,i.requestAnimationFrame)(this.count)},reset:function(){this.startTime=null,(0,i.cancelAnimationFrame)(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count:function(t){this.startTime||(this.startTime=t),this.timestamp=t;var e=t-this.startTime;this.remaining=this.localDuration-e,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(e,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(e,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(e/this.localDuration):this.printVal=this.localStartVal+(this.localStartVal-this.startVal)*(e/this.localDuration),this.countDown?this.printVal=this.printVal<this.endVal?this.endVal:this.printVal:this.printVal=this.printVal>this.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),e<this.localDuration?this.rAF=(0,i.requestAnimationFrame)(this.count):this.$emit("callback")},isNumber:function(t){return!isNaN(parseFloat(t))},formatNumber:function(t){t=t.toFixed(this.decimals),t+="";var e=t.split("."),n=e[0],i=e.length>1?this.decimal+e[1]:"",r=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;r.test(n);)n=n.replace(r,"$1"+this.separator+"$2");return this.prefix+n+i+this.suffix}},destroyed:function(){(0,i.cancelAnimationFrame)(this.rAF)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default=r.default,"undefined"!=typeof window&&window.Vue&&window.Vue.component("count-to",r.default)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=0,r="webkit moz ms o".split(" "),a=void 0,o=void 0;if("undefined"==typeof window)e.requestAnimationFrame=a=function(){},e.cancelAnimationFrame=o=function(){};else{e.requestAnimationFrame=a=window.requestAnimationFrame,e.cancelAnimationFrame=o=window.cancelAnimationFrame;for(var s=void 0,l=0;l<r.length&&(!a||!o);l++)s=r[l],e.requestAnimationFrame=a=a||window[s+"RequestAnimationFrame"],e.cancelAnimationFrame=o=o||window[s+"CancelAnimationFrame"]||window[s+"CancelRequestAnimationFrame"];a&&o||(e.requestAnimationFrame=a=function(t){var e=(new Date).getTime(),n=Math.max(0,16-(e-i)),r=window.setTimeout((function(){t(e+n)}),n);return i=e+n,r},e.cancelAnimationFrame=o=function(t){window.clearTimeout(t)})}e.requestAnimationFrame=a,e.cancelAnimationFrame=o},function(t,e){t.exports=function(t,e,n,i){var r,a=t=t||{},o=typeof t.default;"object"!==o&&"function"!==o||(r=t,a=t.default);var s="function"==typeof a?a.options:a;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns),n&&(s._scopeId=n),i){var l=Object.create(s.computed||null);Object.keys(i).forEach((function(t){var e=i[t];l[t]=function(){return e}})),s.computed=l}return{esModule:r,exports:a,options:s}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("span",[t._v("\n "+t._s(t.displayValue)+"\n")])},staticRenderFns:[]}}])}))},ec2e:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  297. //! moment.js locale configuration
  298. var e=t.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:0,doy:6}});return e}))},eda5:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  299. //! moment.js locale configuration
  300. 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";
  301. //! moment.js locale configuration
  302. var e=t.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return e}))},f354:function(t,e,n){var i=n("d039"),r=n("b622"),a=n("c430"),o=r("iterator");t.exports=!i((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,i){e["delete"]("b"),n+=i+t})),a&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},f3ff:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  303. //! moment.js locale configuration
  304. 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}))},f6b46:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  305. //! moment.js locale configuration
  306. 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}))},facd:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  307. //! moment.js locale configuration
  308. 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",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}});return a}))},fd7e:function(t,e,n){(function(t,e){e(n("c1df"))})(0,(function(t){"use strict";
  309. //! moment.js locale configuration
  310. 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";
  311. //! moment.js locale configuration
  312. 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}))}}]);